:root { color-scheme: dark; font-family: Inter, system-ui, Arial, sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:#101216; color:#f5f7fa; }
.shell { min-height:100vh; display:grid; place-items:center; padding:24px; }
.qa-banner { position:fixed; z-index:20; top:12px; left:50%; transform:translateX(-50%); padding:7px 12px; border:1px solid #d6aa51; border-radius:999px; color:#f3d98e; background:#302711; font-size:13px; font-weight:800; }
.card { width:min(680px,100%); padding:40px; background:#191d24; border:1px solid #2b313b; border-radius:20px; box-shadow:0 20px 60px rgba(0,0,0,.25); }
h1 { font-size:clamp(32px,4vw,40px); line-height:1.12; margin:8px 0 16px; }
h2 { font-size:clamp(22px,3vw,30px); line-height:1.2; margin:8px 0 16px; }
p { line-height:1.6; color:#c5ccd6; }
a { color:#f5f7fa; }
.context-back { display:inline-block; margin-bottom:10px; color:#b9c1cc; font-size:14px; text-decoration:none; }.context-back:hover,.context-back:focus { color:#fff; text-decoration:underline; }
.eyebrow { font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:#9fa8b6; }
.button { display:inline-block; margin-top:16px; padding:12px 18px; border:1px solid #f5f7fa; border-radius:10px; color:#101216; background:#f5f7fa; text-decoration:none; font:inherit; font-weight:700; cursor:pointer; }
.button-secondary { color:#f5f7fa; background:transparent; }
.button.is-loading,.button:disabled { cursor:wait; opacity:.78; }.entry-loading { display:inline-flex; align-items:center; gap:8px; }.entry-loading[hidden],.entry-loading-help[hidden] { display:none; }.entry-loading-help { display:block; margin-top:7px; color:#9fa8b6; font-size:13px; }.button-spinner { width:15px; height:15px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:spin .7s linear infinite; }
.actions { display:flex; flex-wrap:wrap; gap:12px; }
.auth-card { width:min(520px,100%); }
.form { display:grid; gap:18px; margin-top:24px; }
.field { display:grid; gap:8px; }
.field label, dt { color:#dce1e8; font-weight:700; }
.field input { width:100%; padding:12px 14px; border:1px solid #3b4350; border-radius:10px; color:#f5f7fa; background:#101216; font:inherit; }
.field input:focus { border-color:#f5f7fa; outline:2px solid transparent; }
.help, .help ul { margin:0; padding-left:18px; color:#9fa8b6; font-size:14px; line-height:1.5; }
.error { margin:0; color:#ff9d9d; }
.auth-switch { margin-top:24px; }
.account-details { display:grid; gap:12px; margin:28px 0; }
.account-details div { display:grid; grid-template-columns:minmax(140px, 1fr) 2fr; gap:16px; padding-bottom:12px; border-bottom:1px solid #2b313b; }
.account-details dd { margin:0; overflow-wrap:anywhere; color:#c5ccd6; }
.badge { display:inline-block; padding:3px 8px; border:1px solid #46505f; border-radius:999px; font-size:13px; }
.next-step { margin:24px 0 8px; padding:18px; border-radius:12px; color:#c5ccd6; background:#101216; }
.page-stack { display:grid; width:min(880px,100%); gap:24px; }
.page-stack .card { width:100%; }
.success { padding:12px 14px; border:1px solid #47765b; border-radius:10px; color:#b9f1cd; background:#16281d; }
.imports-list { display:grid; gap:14px; margin-top:24px; }
.import-item { padding:18px; border:1px solid #2b313b; border-radius:12px; background:#14171c; }
.import-heading { display:flex; justify-content:space-between; align-items:start; gap:16px; }
.import-heading strong { overflow-wrap:anywhere; }
.import-item time { display:block; margin-top:6px; color:#9fa8b6; font-size:14px; }
.counters { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; margin:18px 0 0; }
.counters div { display:grid; gap:5px; }
.counters dt { color:#9fa8b6; font-size:13px; }
.counters dd { margin:0; font-size:20px; }
.score-row { display:grid; grid-template-columns:2fr 1fr 1.5fr auto; gap:14px; align-items:center; padding:18px 0; border-bottom:1px solid #2b313b; }
.score-row small { display:block; margin-top:5px; color:#9fa8b6; }
.score { font-size:24px; font-weight:800; }
.hero-score { margin:20px 0; font-size:64px; line-height:1; font-weight:800; }
.hero-score span { margin-left:5px; font-size:18px; color:#9fa8b6; }
.skill-score-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; }.skill-score-heading h1 { margin-bottom:6px; }.skill-score-heading p { max-width:500px; margin:0; }.skill-score-heading .hero-score { flex:0 0 auto; margin:0; }.skill-score-bar { height:11px; margin:20px 0 24px; overflow:hidden; border-radius:999px; background:#303641; }.skill-score-bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#d94a58,#ef7a69); }
.foundation-section { margin-top:34px; }.foundation-section > p { max-width:680px; }.foundation-grid { display:grid; gap:12px; margin:20px 0; }.foundation-card { padding:18px 20px; border:1px solid #3d4653; border-radius:14px; background:#14171c; }.foundation-card-heading { display:flex; align-items:start; justify-content:space-between; gap:18px; }.foundation-card h3 { margin:0; font-size:19px; }.foundation-card p { margin:7px 0; }.foundation-card .foundation-detail { margin-top:10px; color:#929caa; font-size:13px; }.foundation-status { flex:0 0 auto; padding:5px 9px; border-radius:999px; color:#cbd3de; background:#29303a; font-size:11px; font-weight:800; text-transform:uppercase; }.foundation-count { color:#dce1e8; font-size:14px; }.foundation-card.state-MAIN_PROBLEM { border-color:#b64b57; background:linear-gradient(135deg,#2b191d,#1a181e); box-shadow:inset 3px 0 #d95360; }.state-MAIN_PROBLEM .foundation-status { color:#ffd1d5; background:#672a32; }.foundation-card.state-HAS_ERRORS { border-color:#4a515d; }.state-HAS_ERRORS .foundation-status { color:#d7dde6; background:#303741; }.foundation-card.state-NO_CONFIRMED_ERRORS { border-color:#315e48; background:#151f1a; }.state-NO_CONFIRMED_ERRORS .foundation-status { color:#bcebd0; background:#214633; }.foundation-card.state-NEUTRAL,.foundation-card.state-OBSERVATION { border-color:#424957; background:#171a20; }.state-NEUTRAL .foundation-status,.state-OBSERVATION .foundation-status { color:#c2cad5; background:#292f38; }.focus-callout { border:1px solid #7e3740; background:linear-gradient(135deg,#2b191d,#17171c); }.focus-callout .button,.focus-primary { border-color:#d84c59; color:#fff; background:#c73342; }.focus-primary { display:block; text-align:center; }.secondary-findings { margin:14px 0; padding:14px 16px; border:1px solid #343c48; border-radius:10px; background:#171a20; }.secondary-findings strong { color:#c5ccd6; font-size:15px; }.secondary-findings p { margin:5px 0 0; color:#949eac; font-size:14px; }
.focus-task { margin:20px 0 28px; padding:16px 18px; border:1px solid #6f343b; border-radius:12px; background:#27191c; }.focus-task p { margin:5px 0 0; }.learning-journey { display:grid; gap:0; margin:20px 0 26px; padding:0; list-style:none; counter-reset:journey; }.learning-journey li { position:relative; display:grid; grid-template-columns:34px 1fr; gap:4px 14px; min-height:70px; padding-bottom:16px; counter-increment:journey; }.learning-journey li::before { content:counter(journey); z-index:1; display:grid; grid-row:1 / span 2; place-items:center; align-self:start; width:34px; height:34px; border-radius:50%; color:#e8eef7; background:#253957; font-weight:800; }.learning-journey li:not(:last-child)::after { content:""; position:absolute; top:33px; bottom:0; left:16px; width:2px; background:#34445c; }.learning-journey span { grid-column:2; color:#aeb7c4; line-height:1.45; }.foundation-mini-map { display:grid; gap:8px; margin-top:24px; padding-top:22px; border-top:1px solid #343c48; }.foundation-mini-map span { padding:9px 12px; border-radius:9px; color:#aeb7c4; background:#14171c; }.foundation-mini-map .is-current { color:#ffd4d7; background:#321d22; }
.factor-grid,.contrast-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.factor-grid span,.contrast-grid span,.rule,.supplement { padding:16px; border:1px solid #343c48; border-radius:12px; background:#14171c; }
.notice { padding:12px 14px; border-left:3px solid #d7b85c; background:#262214; }
.muted { color:#8993a1; }
.error-card { display:block; margin:14px 0; padding:18px; border:1px solid #493337; border-radius:12px; background:#1d1719; }
.error-badge { color:#ffb0b0; border-color:#8c424b; }
.hand-facts { display:flex; flex-wrap:wrap; gap:20px; }
.hand-facts div { min-width:90px; }
.hand-facts dd { margin:4px 0 0; }
.hand-viewer { white-space:pre-wrap; color:#c5ccd6; }
.terms { display:flex; flex-wrap:wrap; gap:8px; }
.term { position:relative; padding:6px 10px; border:1px dashed #667180; border-radius:999px; color:#e8ecf2; background:transparent; cursor:help; }
.term span { display:none; position:absolute; z-index:2; left:0; bottom:calc(100% + 8px); width:240px; padding:10px; border:1px solid #46505f; border-radius:8px; color:#f5f7fa; background:#101216; text-align:left; }
.term:hover span,.term:focus span,.term.open span { display:block; }
.inline-term { padding:0 2px; border:0; border-bottom:1px dotted #6e7784; border-radius:0; color:inherit; background:transparent; font:inherit; cursor:pointer; }
.range-controls { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:12px 0 8px; }
.range-controls label { display:grid; gap:5px; }
.range-controls select { padding:9px; border-radius:8px; color:#fff; background:#101216; }
.compact { margin:0; padding:9px 13px; }
.range-label { margin:7px 0; font-size:14px; }
.range-grid { display:grid; grid-template-columns:repeat(13,minmax(30px,1fr)); gap:3px; overflow:auto; }
.range-grid span { padding:5px 2px; border:1px solid transparent; border-radius:4px; color:#697382; background:#101216; font-size:10px; text-align:center; }
.range-grid .in-range { color:#eff6f2; }
.range-grid .in-range.category-pair { border-color:#8a739b; background:#4b3f59; }
.range-grid .in-range.category-suited { border-color:#3d7955; background:#24543a; }
.range-grid .in-range.category-offsuit { border-color:#526f8b; background:#30485f; }
.range-grid .highlighted { position:relative; z-index:1; outline:3px solid #ffcf5a; outline-offset:1px; color:#fff; }
.range-return { display:inline-block; margin-top:9px; font-weight:700; }
.range-accent-button { display:inline-block; margin-top:8px; padding:8px 12px; border:1px solid #d6aa51; border-radius:8px; color:#f4dda1; background:#2b2517; text-decoration:none; font-size:14px; font-weight:750; }
.range-accent-button:hover,.range-accent-button:focus { border-color:#ffcf5a; color:#fff0bd; background:#352d19; outline:2px solid transparent; }
.learning-range-page .card { padding-top:28px; padding-bottom:28px; }
.learning-range-page h1 { margin-bottom:10px; }
.learning-range-page .rule { padding:11px 14px; }
.learning-range-page .rule p { margin:5px 0; }
.learning-range-page .teaser { margin:10px 0 0; padding:9px 12px; font-size:14px; }
.learning-range-page > .card > .button { margin-top:10px; }
.teaser { padding:14px; border-radius:10px; background:#20242c; }
.teaser small { display:block; }
.progress-bar { height:8px; overflow:hidden; border-radius:10px; background:#303641; }
.progress-bar span { display:block; height:100%; background:#73d99a; }
.training-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin-bottom:12px; }.training-toolbar .eyebrow { margin:0; }.training-toolbar form { max-width:100%; }.quiet-action { max-width:100%; padding:7px 11px; border:1px solid #46505f; border-radius:8px; color:#b8c0cb; background:#20252d; font:inherit; font-size:13px; font-weight:650; cursor:pointer; }.quiet-action:hover,.quiet-action:focus { border-color:#768190; color:#f0f3f7; background:#292f38; outline:2px solid transparent; }
.training-progress-row { display:block; width:100%; }
.feedback { margin:18px 0; padding:14px; border-radius:10px; }
.feedback.correct { background:#16281d; }.feedback.incorrect { background:#321d20; }
.feedback .correct-decision { color:#ffd477; font-size:1.08em; }.boundary-focus { color:#e4c983; font-weight:650; }
.training-card { text-align:center; }.training-card h2 { font-size:clamp(22px,3vw,28px); }.poker-hand { margin:32px 0 16px; font-size:64px; font-weight:900; }
.answer-actions { display:flex; justify-content:center; gap:14px; }
.poker-table-wrap { margin:12px auto; padding:38px 40px; min-height:386px; overflow:visible; }
.poker-table { position:relative; width:min(560px,100%); height:310px; margin:auto; border:10px solid #493b2d; border-radius:50%; background:radial-gradient(ellipse,#22603f,#16442e); box-shadow:inset 0 0 0 3px #8c765e,0 14px 35px rgba(0,0,0,.3); }
.table-seat { position:absolute; min-width:58px; padding:7px; border:2px solid #4d5664; border-radius:10px; color:#dce1e8; background:#171b21; text-align:center; transform:translate(-50%,-50%); }
.table-seat small { display:block; font-size:9px; color:#aab3bf; }.table-seat.hero { border-color:#70dfa0; color:#c8ffdc; background:#173b25; }.table-seat.opener { border-color:#ffb469; color:#ffe0bc; background:#442b18; }
.dealer-button { position:absolute; top:-10px; right:-10px; display:grid; place-items:center; width:22px; height:22px; border:1px solid #9b741b; border-radius:50%; color:#2b210d; background:#f1c653; box-shadow:0 2px 6px rgba(0,0,0,.4),inset 0 0 0 2px rgba(255,239,177,.45); font-size:11px; font-weight:900; }
.slot-bottom-center{left:50%;top:96%}.slot-bottom-left{left:25%;top:91%}.slot-left-bottom{left:6%;top:70%}.slot-left-top{left:6%;top:30%}.slot-top-left{left:28%;top:4%}.slot-top-right{left:72%;top:4%}.slot-right-top{left:94%;top:30%}.slot-right-bottom{left:94%;top:70%}.slot-bottom-right{left:75%;top:91%}
.table-center { position:absolute; inset:34% 22%; display:grid; place-items:center; color:#dff5e8; text-align:center; }
.stack-display { display:grid; gap:4px; padding:8px 14px; border:1px solid rgba(223,245,232,.22); border-radius:10px; background:rgba(7,25,17,.38); text-shadow:0 1px 2px rgba(0,0,0,.35); }.stack-display small { color:#c9e5d4; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.stack-display strong { color:#fff; font-size:26px; line-height:1; font-weight:900; }
.hero-cards { position:absolute; z-index:3; display:flex; gap:5px; }
.hero-cards.in-down { left:50%; top:calc(100% + 6px); transform:translateX(-50%); }
.hero-cards.in-up { left:50%; bottom:calc(100% + 6px); transform:translateX(-50%); }
.hero-cards.in-left { right:calc(100% + 6px); top:50%; transform:translateY(-50%); }
.hero-cards.in-right { left:calc(100% + 6px); top:50%; transform:translateY(-50%); }
.poker-card { display:flex; flex-direction:column; align-items:center; justify-content:center; width:44px; height:58px; border:1px solid #d7dbe0; border-radius:6px; color:#111; background:#fff; box-shadow:0 2px 7px rgba(0,0,0,.4); font-style:normal; line-height:.9; }
.poker-card b { font:900 23px/1 Inter,system-ui,sans-serif; }.poker-card em { margin-top:2px; font:normal 22px/1 Georgia,serif; }.poker-card.spade { color:#111; }.poker-card.heart { color:#d52c36; }.poker-card.diamond { color:#2674d9; }.poker-card.club { color:#248a4b; }
.training-facts,.example-copy { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:18px 0; }.training-facts dd,.example-copy dd { margin:5px 0 0; }
.own-example { margin:8px 0; padding:10px 14px; border:1px solid #343c48; border-radius:16px; background:#14171c; }.own-example .poker-table-wrap { min-height:340px; margin:4px auto; padding-top:24px; padding-bottom:24px; }.compact-meta { margin:0 0 10px; text-align:center; font-size:14px; }.example-explanation { padding:10px 12px; border-radius:12px; background:#101216; }.example-explanation p { margin:4px 0; line-height:1.45; }
.session-summary { display:flex; justify-content:space-between; margin:24px 0; padding:18px; border-radius:12px; background:#101216; }.focus-list li { margin:10px 0; line-height:1.5; }.loader { width:44px;height:44px;margin:25px auto;border:4px solid #3b4350;border-top-color:#f5f7fa;border-radius:50%;animation:spin 1s linear infinite;}@keyframes spin{to{transform:rotate(360deg)}}
.processing-checklist { display:grid; gap:12px; margin:24px 0; padding:0; list-style:none; }.processing-checklist li { display:flex; gap:10px; align-items:center; color:#8993a1; }.processing-checklist span { width:20px; text-align:center; }.processing-checklist .done { color:#9be2b5; }.processing-checklist .active { color:#f5f7fa; font-weight:700; }
.example-counter { font-weight:800; color:#f5f7fa; }.example-navigation { display:flex; justify-content:space-between; gap:12px; }.result-line { display:flex; align-items:center; gap:12px; margin:20px 0; font-size:28px; }.practice-title { font-size:clamp(30px,5vw,44px); }.metric-comparison { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:22px 0; }.metric-comparison div,.overall-score { padding:18px; border:1px solid #343c48; border-radius:12px; background:#14171c; }.metric-comparison span { display:block; color:#9fa8b6; }.metric-comparison strong { display:block; margin-top:6px; font-size:32px; }
.learning-examples-page .card { padding:18px 26px; }.learning-examples-page h1 { margin:3px 0 6px; }.learning-examples-page p { margin:4px 0; }.learning-examples-page .own-example { padding:5px 9px; }.learning-examples-page .own-example .poker-table-wrap { min-height:245px; padding:10px 32px; }.learning-examples-page .poker-table { height:210px; }.learning-examples-page .example-explanation { padding:6px 9px; }.learning-examples-page .example-navigation .button { margin-top:7px; padding:8px 12px; }.learning-examples-page > .card > .button { margin-top:7px; }.example-explanation .correct-decision { color:#ffd477; font-size:1.08em; }
.learning-examples-page .table-stack-zone { inset:17% 22% 54%; }.learning-examples-page .hero-cards { z-index:4; }.other-problems { margin:10px 0 4px; padding:10px 12px; border:1px solid #46505f; border-radius:10px; background:#151920; }.other-problems ul { margin:7px 0; padding-left:20px; }.other-problems p { color:#9fa8b6; font-size:14px; }
.training-result { border-top-width:3px; }.training-result.status-weak { border-top-color:#cf6b70; }.training-result.status-warning { border-top-color:#d6aa51; }.training-result.status-good { border-top-color:#62c88a; }.status-weak .result-status,.status-weak h2 { color:#f09a9e; }.status-warning .result-status,.status-warning h2 { color:#edc66f; }.status-good .result-status,.status-good h2 { color:#83dda5; }
@media (max-width: 560px) {
  .card { padding:26px 20px; }
  .account-details div { grid-template-columns:1fr; gap:6px; }
  .counters { grid-template-columns:repeat(2, 1fr); }
  .skill-score-heading { align-items:start; }.skill-score-heading .hero-score { font-size:46px; }.foundation-card-heading { display:grid; gap:10px; }.foundation-status { justify-self:start; }
  .score-row { grid-template-columns:1fr 1fr; }
  .factor-grid,.contrast-grid { grid-template-columns:1fr; }
  .range-grid { min-width:0; grid-template-columns:repeat(13,minmax(18px,1fr)); }
  .range-grid span { font-size:8px; }
  .poker-table-wrap { min-height:326px; padding:38px 8px; }.poker-table { height:250px; border-width:7px; }.table-seat { min-width:45px; padding:5px 3px; font-size:11px; }.table-center { inset:32% 20%; font-size:12px; }.poker-card { width:34px;height:46px; }.poker-card b { font-size:18px; }.poker-card em { font-size:17px; }.training-facts,.example-copy { grid-template-columns:1fr; }.poker-hand { font-size:48px; }.metric-comparison { grid-template-columns:1fr; }
}
