/* Poker room: four-colour deck, felt, rails and player stacks. */
:root{--surface:#17232b;--line:#34464f;--text:#edf3f5;--muted:#a8bcc5;--highlight:#f0ce76;--action:#f0ce76;--action-hover:#f8dfa1;background:#0b141b;color:#edf3f5}
body{background:radial-gradient(ellipse at 75% 0,#18303b66,transparent 55%),#0b141b}.site-header{background:#0c171ff5;border-bottom-color:#2c414c}nav a{color:#b2c2ca}nav a[aria-current],nav a:hover{background:#263943;color:#f6d789}nav a[aria-current]::after{background:#f0ce76}.eyebrow,.text-link{color:#e9cc80}.button.primary{background:#efcd76;border-color:#efcd76;color:#201a0c}.button.primary:hover{background:#ffe2a0;border-color:#ffe2a0}.button.secondary{border-color:#526a76;color:#e0eaee;background:#15232b66}.button.secondary:hover{border-color:#e9cc80;background:#223943;color:#ffe2a0}.brand-symbol{background:#edce7c}.profile,.avatar{background:#20343e;border-color:#3f5662}
.level-card,.track-card,.panel,.practice-strip,.lesson-card,.stage-row,.track-summary,.legend-story,.legend-method,.legend-score{background:#14232c;border-color:#344b57}.level-card:hover,.track-card:hover,.lesson-card:hover,.stage-row:hover{background:#1c323d;border-color:#63848c}.level-card p,.track-card p,.stage-copy>span,.legend-story li p{color:#b5c6cf}.level-icon{background:#253f49!important;color:#f0ce76!important;border-color:#44616e!important}.pill{background:#293e49;border-color:#4c6572;color:#c7d6dd}.lesson-example,.scenario-details div,.ev-list div{background:#20353f;border-color:#3d5864}.lesson-trap{border-left-color:#75baa9}.course-path:before{background:linear-gradient(#efcd76,#36515e 12%,#36515e 92%,transparent)}.course-theme-dot{border-color:#0b141b;background:#efcd76}.course-step{background:#152934;color:#efcd76;border-color:#496776}.course-lesson-body{border-color:#344b57}.course-lesson:hover .course-lesson-body{background:#182e3a}.course-level{background:#1b313b;color:#bcd0d8;border-color:#44606c}.course-overview,.school-numbers{border-color:#344b57}.bootcamp{background:#14252f;border-color:#38535f}.learn-footer{background:#0f1e27;border-color:#344b57}.learn-definition,.learn-feedback{background:#223b46}.legend-ticket{background:linear-gradient(145deg,#1e343f,#13222c);border-color:#3a5563}.legend-ticket:hover{border-color:#efcd76}.legend-ticket-foot{border-color:#38525f}.legends-feature{background:radial-gradient(ellipse at 90% 30%,#327b7244,transparent 65%),#13262f;border-color:#47636b}.bloggers-feature{border-color:#3a525c}.blogger-preview{background:#192e39;border-color:#3c5867}.blogger-preview:hover{background:#223e48}.blogger-chapter:nth-of-type(2n) .legend-ticket{background:linear-gradient(135deg,#273847,#18262f)}.blogger-heading{border-color:#425761}.legend-decision,.legend-result{background:#192d38;border-color:#6a7455}.legend-historical{background:#10202a}.legend-data-note{background:#1b303a;border-color:#d8bd78;color:#b4c9d2}.hand-outcome{background:#182d36;border-color:#49636c}.outcome-hero{border-color:#b29b53}.outcome-emblem,.outcome-replay{background:#263c46}.legend-video p,.legend-source,.legend-game-head .legend-intro{color:#bdcbd2}.progress-overview{background:linear-gradient(120deg,#24434a,#162833);border-color:#44666f}.mastery-ring>div{background:#1a303b}.progress-metrics>div{background:#1b303b}.progress-path{background:#19303b;border-color:#3e5e6c}.achievement{background:#162934;border-color:#3b5360}.achievement.unlocked{background:linear-gradient(135deg,#3b4234,#1a3036);border-color:#9d915e}.achievement-icon{background:#29444f;border-color:#4a6975}.achievement.unlocked .achievement-icon{background:#efcd76;color:#1a2529}.journey-grid a{background:#152832;border-color:#3f6670}.journey-grid a:nth-child(2){background:#1e2d3d}.journey-grid a:nth-child(3){background:#1c3737}.profile,dialog{background:#172a35;color:#edf3f5}dialog input,dialog select{background:#10212c;border-color:#496775}.new-hero{border-color:#36525e}
.table-wrap{border:1px solid #46616c;background:#0f1c25;border-radius:18px;padding:0 14px 18px;box-shadow:0 16px 35px #0004;overflow:hidden}.table-meta{margin:0 -14px 18px;padding:13px 18px;background:#122731;border-color:#36515b;color:#d4e3e9;font-weight:500}.table-meta span:last-child{color:#9ad3c1}
.poker-table{--board-card:clamp(33px,4.3vw,54px);--hole-card:clamp(43px,4.8vw,63px);aspect-ratio:1.45;background:radial-gradient(ellipse at 50% 45%,#286759,#103d38 75%);border:12px solid #2b3a43;border-radius:42%;box-shadow:inset 0 0 0 2px #6a8185,inset 0 0 40px #041e22aa,0 2px 0 3px #101b22,0 10px 20px #0007;overflow:visible;margin:5px 0}.poker-table:before{content:'';position:absolute;inset:11px;border:1px solid #b8d6bf22;border-radius:42%;pointer-events:none}.poker-table:after{content:'ПОКЕРУМ';position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);font:600 28px var(--display);letter-spacing:.16em;color:#9bd0bb12;pointer-events:none;z-index:-1}
.poker-table .board{top:47%;gap:13px;z-index:2}.poker-table .rival{top:3%;gap:5px;z-index:3}.poker-table .hero-seat{bottom:2%;gap:7px;z-index:3}.seat-label,.seat-label.active-seat{display:grid;grid-template-columns:auto auto;gap:3px 9px;min-width:132px;padding:7px 12px;border-radius:9px;background:#0e2028f5;border:1px solid #67818a;color:#eaf2f5;box-shadow:0 5px 12px #0004;font-size:13px}.seat-label.active-seat{border-color:#e9cc80;background:#192b32}.seat-label>strong{background:#35505b;color:#accbd8;font-size:10px;text-align:center;min-width:25px}.seat-label>span{overflow:hidden;text-overflow:ellipsis;max-width:130px}.seat-stack{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:4px;padding:4px 6px;background:#0c1b24;color:#f3df9a;font:700 14px/1.3 system-ui,sans-serif;white-space:nowrap;cursor:pointer;min-height:27px;font-variant-numeric:tabular-nums}.seat-stack:hover:not(:disabled){background:#294b58;outline:1px solid #89b6be}.seat-stack:focus-visible{outline:2px solid #f6db91;outline-offset:2px}.seat-stack:disabled{opacity:.6;cursor:default}.seat-stack small{font-size:10px;color:#b3c9d1}.stack-dot{width:8px;height:6px;flex:none;border:1px solid #e9d48d;border-radius:50%;background:#a98d48;box-shadow:0 2px #6f643d}.table-dealer{position:absolute;transform:translate(-50%,-50%);width:27px;height:27px;border:2px solid #d4dfe0;background:linear-gradient(#fff,#cad5d7);color:#1c3039;font:800 15px system-ui,sans-serif;z-index:4;box-shadow:0 3px 0 #71868b,0 5px 8px #0006}
.pot,.legend-pot{display:flex;align-items:center;justify-content:center;gap:12px;border:0!important;background:#0c252bc9!important;border-radius:28px;padding:9px 17px;color:#e9f2ed;box-shadow:0 4px 14px #0002;white-space:nowrap;line-height:1.2;margin:0}.pot>span:last-child,.legend-pot>span:last-child{display:flex;flex-direction:column;gap:3px;text-align:left}.pot small,.legend-pot small{font:600 9px/1.2 system-ui,sans-serif;letter-spacing:.13em;color:#a1c9bd}.pot b,.legend-pot strong{font:700 clamp(16px,2vw,22px)/1.2 system-ui,sans-serif;color:#f4f2df;margin:0}.pot-chips{position:relative;display:block;width:32px;height:27px;flex:none}.pot-chips i{position:absolute;left:0;bottom:3px;width:18px;height:8px;border:2px dashed #d7e8dc;border-radius:50%;background:#ddc374;box-shadow:0 3px #5c716b,0 5px #d2e0d4,0 7px #294c49}.pot-chips i:nth-child(2){left:13px;bottom:9px;background:#5e8faf;box-shadow:0 3px #294a5c,0 5px #9bb6c3,0 7px #294a5c}.pot-chips i:nth-child(3){left:3px;bottom:14px;background:#b95459;box-shadow:0 3px #632b35,0 5px #dc9a9c}
.ring-table .chair{min-width:75px;border-radius:8px;background:#11232cf5;border-color:#587783;padding:6px;box-shadow:0 5px 10px #0003;color:#e9f0f2;z-index:3}.ring-table .chair.folded{background:#142b32d9;border-color:#385962;color:#97b2ba}.ring-table .chair small{font-size:10px;color:#a1b9c2}.ring-table .chair .seat-stack{font-size:11px;min-height:23px;margin-top:4px;padding:3px}.ring-table .chair .stack-dot{display:none}.ring-table .board{top:48%}.ring-table .hero-seat{bottom:0}.ring-table .outcome-rival{z-index:5}
.card.suit-s,.legend-card.suit-s,.learn-card.suit-s{--suit-bg:#17222b;--suit-edge:#70838f}.card.suit-h,.legend-card.suit-h,.learn-card.suit-h{--suit-bg:#b6334a;--suit-edge:#ef99a5}.card.suit-d,.legend-card.suit-d,.learn-card.suit-d{--suit-bg:#205fa1;--suit-edge:#91b9e8}.card.suit-c,.legend-card.suit-c,.learn-card.suit-c{--suit-bg:#227752;--suit-edge:#8acba9}
.card[class*="suit-"],.legend-card[class*="suit-"],.learn-card[class*="suit-"]{color:#fff!important;background:linear-gradient(135deg,#ffffff17,transparent 60%),var(--suit-bg,#465765)!important;border:1px solid var(--suit-edge,#819198)!important;border-radius:6px;box-shadow:inset 0 0 0 2px #ffffff08,0 3px 0 #091018,0 7px 12px #0005;text-shadow:0 1px 2px #0003}.card .card-corner{color:#fff}.card-corner b{font-family:Arial,sans-serif;font-weight:800}.card .card-pip{color:#fff;font-family:Arial,sans-serif;opacity:.9}.legend-card b,.legend-card i{color:#fff}.card-slot{border-color:#9bc8b633;background:#082c2c55}.backs i,.legend-card.facedown{background:repeating-linear-gradient(45deg,#233d52 0 3px,#182b3c 3px 6px);border-color:#90a8b5;border-radius:5px;color:#dbe6ea}.backs i{width:31px;height:43px;box-shadow:0 4px 9px #0005}
.legend-table{border:1px solid #3d5b66;background:radial-gradient(ellipse,#173a3f,#10212a);border-radius:18px;padding:22px;box-shadow:0 15px 30px #0004;outline:none}.legend-seat{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:13px;position:relative}.legend-seat-info{display:grid;grid-template-columns:1fr;gap:3px;min-width:110px}.legend-seat-info b{font-size:15px;color:#e8f1f4}.legend-seat-info>small{font-size:11px;color:#9ab8c7}.legend-seat-info .seat-stack{justify-content:flex-start;width:fit-content;min-width:100px;margin-top:3px}.legend-avatar{width:39px;height:39px;background:#274751;border-color:#6b968f;color:#f4dca0}.legend-felt{min-height:260px;margin:18px 0;border:10px solid #2c3c45;outline:1px solid #78908d;background:radial-gradient(ellipse,#28695a,#123c36);border-radius:110px;box-shadow:inset 0 0 25px #052c2baa,0 8px 15px #0005;padding:25px 12px;gap:17px}.legend-felt-word{color:#9ac9b2;opacity:.09;top:14px;font-size:26px}.legend-bets{margin-top:0;color:#a0c6b8;background:#0b2b2c66;border-radius:20px;padding:5px 10px;font-size:11px;gap:20px}.legend-bets[hidden]{display:none}.legend-pocket{margin-left:auto}.legend-pocket .legend-card{width:51px;height:72px;font-size:23px}.legend-board .legend-card{width:53px;height:74px;font-size:24px}.legend-playback progress{accent-color:#80c8ae}.legend-playback>div:first-child{color:#9bd7c2}.legend-story li.current{border-color:#80c8ae}
.answer{background:#1d3440;border-color:#486373;color:#e3edf2;font-size:15px;min-height:52px}.answer:hover:not(:disabled){background:#2d4d59;border-color:#89b6c1}.answer.right,.answer.right:hover{background:#a5e6b7;border-color:#a5e6b7;color:#102a18}.answer.neutral,.answer.neutral:hover{background:#ffd43b;border-color:#ffd43b;color:#241c00}.answer:disabled.neutral{color:#241c00}.answer.suboptimal{background:#384650;border-color:#9aa9b2;color:#edf2f4}.answer.wrong{background:#492b35;border-color:#df8d98;color:#ffccd4}.feedback{border-radius:8px;padding:15px}.feedback.right{background:#1b3b35;border-color:#7bc69d}.feedback.neutral{background:#3a3622;border-color:#e6c76b}.feedback.suboptimal{background:#263841}.feedback.wrong{background:#3b2630;border-color:#d48b9b}.feedback p{color:#d8e5e9}.feedback.neutral p{color:#e7dfc4}.feedback.right>strong{color:#9de2bb}.feedback.neutral>strong{color:#ffe2a0}.feedback.wrong>strong{color:#f5b6c4}
@media(min-width:1001px){.poker-table{aspect-ratio:1.28}}
@media(max-width:1000px){.poker-table{aspect-ratio:1.4}.poker-table .board{top:48%}}
@media(max-width:760px){nav{background:#10212a;border-color:#38515b}nav a[aria-current]{background:#28434e}.table-wrap{padding:0 8px 16px;border-radius:13px}.table-meta{margin:0 -8px 15px;padding:10px 12px}.poker-table{border-width:9px;aspect-ratio:1.23;--board-card:clamp(32px,8vw,49px);--hole-card:clamp(40px,10vw,56px);border-radius:38%}.poker-table:before{border-radius:38%;inset:7px}.seat-label{min-width:116px;padding:5px 9px;font-size:12px}.seat-stack{font-size:13px;min-height:25px}.poker-table .rival{top:1%}.poker-table .hero-seat{bottom:0}.poker-table .board{top:46%;gap:10px}.table-dealer{width:24px;height:24px;font-size:13px}.ring-table{aspect-ratio:1.05}.ring-table .chair{min-width:62px;padding:4px}.ring-table .chair .seat-stack{font-size:10px;padding:2px;min-height:20px}.ring-table .board{top:47%}.ring-table .hero-seat{bottom:-1%}.ring-table .chair strong{font-size:11px}.legend-table{padding:16px 11px}.legend-seat{gap:8px}.legend-avatar{width:30px;height:30px;font-size:10px}.legend-seat-info{min-width:0}.legend-seat-info b{font-size:13px;max-width:165px}.legend-seat-info small{font-size:10px}.legend-seat-info .seat-stack{font-size:12px;min-width:85px}.legend-pocket{gap:4px}.legend-pocket .legend-card{width:38px;height:54px;font-size:18px;padding:5px}.legend-felt{border-width:7px;min-height:230px;border-radius:80px;gap:15px}.legend-board{gap:5px}.legend-board .legend-card{width:42px;height:61px;font-size:21px;padding:6px}.legend-pot{padding:8px 13px}.legend-pot strong{font-size:19px}.pot small,.legend-pot small{font-size:9px}.pot-chips{transform:scale(.9)}}
@media(max-width:400px){.poker-table{aspect-ratio:.98}.ring-table{aspect-ratio:.9}.ring-table .chair{min-width:56px}.ring-table .chair .seat-stack{font-size:9px}.ring-table .chair small{font-size:9px}.legend-avatar{display:none}.legend-seat-info b{max-width:155px}.legend-board .legend-card{width:38px;height:55px;font-size:19px}.legend-felt{padding:22px 5px}.legend-bets{font-size:10px;gap:8px}.poker-table .board{top:47%}.poker-table .pot b{font-size:17px}.pot-chips{width:29px}.poker-table .pot{padding:8px 12px;gap:8px}}
@media(max-width:600px){.poker-table{aspect-ratio:.88}.ring-table{aspect-ratio:.82}}
@media(max-width:400px){.poker-table,.ring-table{aspect-ratio:.72}}
.answer-mark{flex-basis:27px;height:24px;font-size:12px;font-weight:800}
.ring-table .chair .seat-stack{font-size:12px;line-height:1.2;white-space:normal;max-width:80px;min-height:28px}.ring-table .chair small{font-size:11px}
