*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,sans-serif;background:radial-gradient(ellipse at 50% 40%,#1a2d42,#152536,#0f1923);color:#e8e8e8;min-height:100vh;overflow-x:hidden}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:0;opacity:.1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E")}#root{position:relative;z-index:1;min-height:100vh}.app{position:relative;z-index:1;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.menu{text-align:center;padding:2rem;max-width:500px}.menu h1{font-family:Teko,sans-serif;font-size:4.5rem;font-weight:700;line-height:1;color:#e8a862;margin-bottom:.25rem;text-shadow:0 2px 4px rgba(0,0,0,.5),0 4px 8px rgba(0,0,0,.3),0 0 20px rgba(232,168,98,.2);text-transform:uppercase;letter-spacing:.05em}.subtitle{color:#aaa;font-size:1.1rem;margin-bottom:2rem}.rules{text-align:left;background:#ffffff14;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.25rem 1.5rem;margin-top:2rem}.rules h3{color:#e8a862;margin-bottom:.75rem;font-size:1rem}.rules ul{list-style:none;padding:0}.rules li{padding:.35rem 0 .35rem 1.25rem;position:relative;font-size:.95rem;color:#ccc}.rules li:before{content:"→";position:absolute;left:0;color:#e8a862}.btn{border:none;cursor:pointer;font-family:inherit;font-weight:600;transition:all .15s ease;display:inline-flex;flex-direction:column;align-items:center;gap:2px}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-large{padding:1rem 3rem;font-size:1.25rem;border-radius:10px}.btn-primary{background:linear-gradient(to bottom,#f0be6e,#e8a862);color:#1a2d42;box-shadow:0 2px 6px #0000004d,inset 0 1px #ffffff4d;border-radius:10px}.btn-primary:hover:not(:disabled){background:linear-gradient(to bottom,#f5cc85,#f0be6e);transform:translateY(-1px);box-shadow:0 4px 10px #00000059,inset 0 1px #ffffff4d}.btn-pass,.btn-take{width:76px;height:76px;border-radius:50%;font-size:.95rem;color:#fff;position:relative;justify-content:center;gap:0}.btn-pass{background:radial-gradient(circle at 40% 35%,#f07a6a,#e85d4a 50%,#c44a3a);box-shadow:0 3px 6px #0f162480,0 6px 12px #0f162440,inset 0 2px 1px #ffffff40,inset 0 -2px 1px #00000026}.btn-pass:hover:not(:disabled){background:radial-gradient(circle at 40% 35%,#f8897a,#f06e5d 50%,#d45545);transform:translateY(-2px);box-shadow:0 5px 10px #0f162480,0 10px 20px #0f162433,inset 0 2px 1px #ffffff40,inset 0 -2px 1px #00000026}.btn-take{background:radial-gradient(circle at 40% 35%,#45cbb8,#2bb5a0 50%,#1f9585);box-shadow:0 3px 6px #0f162480,0 6px 12px #0f162440,inset 0 2px 1px #ffffff40,inset 0 -2px 1px #00000026}.btn-take:hover:not(:disabled){background:radial-gradient(circle at 40% 35%,#55d8c5,#35c9b2 50%,#28a895);transform:translateY(-2px);box-shadow:0 5px 10px #0f162480,0 10px 20px #0f162433,inset 0 2px 1px #ffffff40,inset 0 -2px 1px #00000026}.btn-hint{display:none}.action-buttons-bottom{display:flex;gap:1.5rem;justify-content:center;padding:.75rem 0 1.5rem;position:sticky;bottom:.5rem;z-index:10}.chip-token{width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 50% 50%,transparent 30%,rgba(180,120,60,.3) 32%,rgba(180,120,60,.3) 34%,transparent 36%),radial-gradient(circle at 40% 35%,#ecc088,#d4915e 40%,#a0683a);border:2.5px dashed rgba(255,255,255,.45);box-shadow:0 2px 4px #0f162480,0 4px 8px #0f162433,inset 0 12px 1px #fff3,inset 0 1px 1px #ffffff4d;flex-shrink:0}.chip-hidden{background:radial-gradient(circle at 50% 50%,transparent 30%,rgba(68,68,68,.4) 32%,rgba(68,68,68,.4) 34%,transparent 36%),radial-gradient(circle at 40% 35%,#888,#666 40%,#444);border-color:#ffffff40}.chip-pile{display:flex;align-items:center;gap:6px}.chip-stack,.chip-stack-hidden{display:flex;align-items:center}.chip-label{font-size:.9rem;font-weight:600;color:#ddd;min-width:1.5rem}.chip-pile-hidden .chip-label{color:#888}.chips-on-card-pile{position:relative;height:32px;min-width:80px;display:flex;align-items:center;justify-content:center}.chip-on-card{width:22px;height:22px;animation:chipArrive .35s ease-out}.chips-on-card-count{position:relative;z-index:10;font-size:1rem;font-weight:700;color:#e8a862;text-shadow:0 1px 3px rgba(0,0,0,.8);margin-left:4px}.animation-overlay{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:999}.flying-chip{width:24px;height:24px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));transform:scale(1.1)}.flying-card{transform:scale(1.1);filter:drop-shadow(0 4px 12px rgba(0,0,0,.6))}.game-board{width:100%;max-width:800px;min-height:100vh;display:flex;flex-direction:column;padding:1rem;gap:0}.opponents-row{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.opponent-zone{flex:1;min-width:200px;max-width:360px;background:#ffffff14;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:.75rem 1rem;box-shadow:0 2px 8px #0f16244d}.opponent-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.opponent-name{font-weight:600;color:#ddd;font-size:.9rem}.opponent-cards{display:flex;flex-wrap:wrap;gap:3px;min-height:36px;align-items:center}.center-area{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1.5rem 0}.action-message{background:#e8a86226;color:#e8a862;padding:.5rem 1.25rem;border-radius:8px;font-size:.95rem;font-weight:500;animation:fadeIn .2s ease;text-align:center}.current-card-area{display:flex;flex-direction:column;align-items:center;gap:.5rem;position:relative}.no-card{color:#666;font-size:1.1rem}.waiting{color:#888;font-size:.9rem;animation:pulse 1.5s infinite}.player-area{border-top:1px solid rgba(255,255,255,.1);padding-top:1rem}.player-hand{background:#ffffff14;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1rem;box-shadow:0 2px 8px #0f16244d;transition:box-shadow .3s ease;display:flex;align-items:center;gap:1rem}.player-hand.your-turn{box-shadow:0 2px 8px #0f16244d,0 0 12px #e8a86226,inset 0 0 0 1px #e8a86233}.player-chips-area{flex-shrink:0}.player-cards-area{flex:1;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;min-height:58px}.player-score-area{flex-shrink:0;font-size:1rem;font-weight:600;color:#ddd;white-space:nowrap}.no-cards{color:#666;font-size:.9rem;font-style:italic}.run{display:flex;gap:2px}.run-grouped{background:#ffffff1a;border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:2px}.card{border-radius:6px;display:flex;align-items:center;justify-content:center;font-family:Teko,sans-serif;font-weight:700;font-variant-numeric:tabular-nums;color:#2a2a2a;background-color:#f5f0e8;box-shadow:0 1px 2px #0f162480,0 4px 8px #0f16244d,inset 1px 1px #fff6,inset -1px -1px #0000000d;transition:transform .15s ease;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.card:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.06;border-radius:inherit;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");mix-blend-mode:multiply}.card-ring{display:flex;align-items:center;justify-content:center;border-radius:50%;border:3px solid;position:relative;z-index:1}.card-value{line-height:1;position:relative;z-index:1}.card-small{width:36px;height:48px;font-size:1.1rem;line-height:1}.card-small .card-ring{width:28px;height:28px;border-width:2.5px}.card-medium{width:52px;height:70px;font-size:1.5rem;line-height:1;border-radius:8px}.card-medium .card-ring{width:44px;height:44px;border-width:3px}.card-large{width:90px;height:120px;font-size:2.8rem;line-height:1;border-radius:10px;box-shadow:0 2px 4px #0f162499,0 8px 16px #0f162459,0 16px 32px #0f162426,0 0 20px #e8a86214,inset 1px 1px #fff6,inset -1px -1px #0000000d;animation:revealCard .3s ease-out}.card-large .card-ring{width:70px;height:70px;border-width:3.5px}.card-highlighted{box-shadow:0 0 12px #e8a86299,inset 1px 1px #fff6,inset -1px -1px #0000000d}.game-over{text-align:center;padding:2rem;max-width:500px}.game-over h1{font-family:Teko,sans-serif;font-size:3.5rem;line-height:1;color:#e8a862;margin-bottom:1rem;text-shadow:0 2px 4px rgba(0,0,0,.5),0 0 15px rgba(232,168,98,.2);text-transform:uppercase;letter-spacing:.05em}.winner-banner{font-size:1.5rem;font-weight:700;padding:1rem 2rem;border-radius:12px;margin-bottom:2rem}.you-won{background:#2bb5a033;color:#2bb5a0;border:2px solid #2bb5a0}.you-lost{background:#e85d4a33;color:#e85d4a;border:2px solid #e85d4a}.final-scores{margin-bottom:2rem}.score-row{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;border-radius:8px;margin-bottom:.5rem;background:#ffffff0f}.score-you{background:#e8a8621a;border:1px solid rgba(232,168,98,.3)}.score-row .rank{font-weight:700;color:#e8a862;min-width:2rem}.score-row .name{flex:1;text-align:left}.score-row .score{font-weight:600}.error{background:#e85d4a33;color:#e85d4a;padding:.75rem 1.25rem;border-radius:8px;margin-top:1rem;font-size:.9rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}@keyframes revealCard{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes chipArrive{0%{transform:scale(.5);opacity:0}60%{transform:scale(1.15);opacity:1}to{transform:scale(1)}}@keyframes cardJoin{0%{filter:brightness(1)}40%{filter:brightness(1.4)}to{filter:brightness(1)}}@keyframes chipCountPulse{0%{transform:scale(1)}50%{transform:scale(1.15)}to{transform:scale(1)}}@media (max-width: 600px){.game-board{padding:.5rem}.opponents-row{gap:.5rem}.opponent-zone{min-width:150px;padding:.5rem .75rem}.card-large{width:72px;height:96px;font-size:2.2rem}.card-large .card-ring{width:56px;height:56px}.card-medium{width:44px;height:58px;font-size:1.3rem}.card-medium .card-ring{width:36px;height:36px}.card-small{width:30px;height:40px;font-size:.95rem}.card-small .card-ring{width:24px;height:24px;border-width:2px}.chip-token{width:20px;height:20px}.btn-pass,.btn-take{width:64px;height:64px;font-size:.85rem}.action-buttons-bottom{gap:1rem}.player-hand{flex-direction:column;gap:.75rem;align-items:stretch}.player-cards-area{justify-content:center}.player-score-area{text-align:center}.menu h1{font-size:3.5rem}.game-over h1{font-size:2.75rem}}
