/* Generated from styles.css, motion.css and SVG palettes by scripts/build-theme.mjs. */
:root[data-theme="dark"] button:focus-visible,:root[data-theme="dark"] a:focus-visible,:root[data-theme="dark"] input:focus-visible,:root[data-theme="dark"] select:focus-visible,:root[data-theme="dark"] summary:focus-visible{outline:3px solid #72957b}
:root[data-theme="dark"] .primary,:root[data-theme="dark"] .secondary,:root[data-theme="dark"] .small-primary{color:#a9bead}
:root[data-theme="dark"] .pill{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .pill.warm{background:#24372b;color:#eca4a7}
:root[data-theme="dark"] .red{color:#eca4a7!important}
:root[data-theme="dark"] .bottom-nav>button{color:#a9bead}
:root[data-theme="dark"] .resume-card{background:#202e25}
:root[data-theme="dark"] .recommendation{border:1px solid #3c5443;background:linear-gradient(140deg,#24372b,#24372b)}
:root[data-theme="dark"] .recommendation>p{color:#a9bead}
:root[data-theme="dark"] .recommend-meta{color:#a9bead}
:root[data-theme="dark"] .recommend-meta i{background:#38513f}
:root[data-theme="dark"] .art-orbit{border:1px solid #3c544366;box-shadow:0 0 0 20px #58705d16,0 0 0 40px #58705d0b}
:root[data-theme="dark"] .art-cards .card{box-shadow:0 2px 0 #58705d,3px 12px 16px #09110c27}
:root[data-theme="dark"] .intro-card,:root[data-theme="dark"] .last-session{background:#202e25;border:1px solid #3c5443}
:root[data-theme="dark"] .line-symbol{border:1px solid #3c5443;color:#a9bead}
:root[data-theme="dark"] .tiny-dot{background:#38513f}
:root[data-theme="dark"] .experience-choice.selected{border-color:#72957b}
:root[data-theme="dark"] .radio{border:1px solid #3c5443}
:root[data-theme="dark"] .avatar-ring{background:#24372b;box-shadow:0 3px 8px #09110c14}
:root[data-theme="dark"] .nameplate{background:#202e25;border:1px solid #3c5443;color:#dfe8e1}
:root[data-theme="dark"] .in-hand .nameplate{box-shadow:0 2px 0 #58705d,1px 7px 9px #09110c27}
:root[data-theme="dark"] .card-backs i{background:repeating-linear-gradient(45deg,#38513f 0 2px,#24372b 2px 3px);border:2px solid #3c5443;box-shadow:0 2px 3px #09110c33}
:root[data-theme="dark"] .dealer{border:1px solid #3c5443;background:#202e25;color:#dfe8e1;box-shadow:0 3px 0 #58705d,1px 7px 4px #09110c44}
:root[data-theme="dark"] .chips i{background:repeating-conic-gradient(from 0deg,var(--chip) 0deg 35deg,#393a2b 35deg 50deg,var(--chip) 50deg 80deg,#393a2b 80deg 95deg);box-shadow:0 2px 0 var(--edge),inset 0 0 0 1px #58705d77}
:root[data-theme="dark"] .chips i:last-child:after{border:1px solid #827950aa}
:root[data-theme="dark"] .pot-value{color:#dfe8e1}
:root[data-theme="dark"] .pot-value>span{color:#dfe8e1}
:root[data-theme="dark"] .villain-bet>span:last-child{color:#dfe8e1}
:root[data-theme="dark"] .villain-bet small{color:#dfe8e1}
:root[data-theme="dark"] .card{background:linear-gradient(120deg,#202e25,#202e25);color:#dfe8e1;border:1px solid #3c5443;box-shadow:0 2px 0 #58705d,0 8px 8px #09110c40}
:root[data-theme="dark"] .hero-cards .card{box-shadow:0 2px 0 #58705d,0 4px 0 #58705d,2px 14px 14px #09110c40}
:root[data-theme="dark"] .hero-player{border:1px solid #3c5443;background:#202e25;color:#dfe8e1;box-shadow:0 3px 0 #58705d,0 9px 13px #09110c25}
:root[data-theme="dark"] .hero-player b>span{color:#d2bc8c}
:root[data-theme="dark"] .felt-wordmark{color:#dfe8e147}
:root[data-theme="dark"] .action-button{background:#202e25;box-shadow:0 2px 4px #09110c05}
:root[data-theme="dark"] .size-presets button{background:#202e25}
:root[data-theme="dark"] .size-presets .selected{background:#202e25}
:root[data-theme="dark"] .verdict>.icon{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .verdict.warm>.icon{background:#24372b;color:#eca4a7}
:root[data-theme="dark"] .late-chip{border:1px solid #827950;background:repeating-conic-gradient(#393a2b 0 35deg,#393a2b 35deg 50deg);box-shadow:0 2px 0 #09110c}
:root[data-theme="dark"] .weakness{background:#202e25}
:root[data-theme="dark"] .learning-panel{background:#202e25}
:root[data-theme="dark"] .learning-art>span{color:#a9bead}
:root[data-theme="dark"] .learning-art i{border:1px solid #3c5443}
:root[data-theme="dark"] .learning-art i:last-child{border-color:#3c5443}
:root[data-theme="dark"] .recap-seal{border:1px solid #3c5443;box-shadow:0 0 0 7px #58705d66}
:root[data-theme="dark"] .recap-stats{background:#202e25}
:root[data-theme="dark"] .mini-cards>span{background:#202e25;box-shadow:0 1px 0 #58705d}
:root[data-theme="dark"] .frequency-row>div{background:#24372b}
:root[data-theme="dark"] .frequency-row i{background:#38513f}
:root[data-theme="dark"] .decision-tabs button.selected{border-color:#72957b}
:root[data-theme="dark"] dialog{box-shadow:0 22px 90px #09110c33}
:root[data-theme="dark"] dialog::backdrop{background:#263e2e59}
:root[data-theme="dark"] .handle{background:#24372b}
:root[data-theme="dark"] .choice-chips>button{background:#202e25}
:root[data-theme="dark"] .choice-chips>button.selected{border-color:#72957b;color:#dfe8e1}
:root[data-theme="dark"] .field select{background:#202e25}
:root[data-theme="dark"] .filter-status.error{color:#eca4a7}
:root[data-theme="dark"] #notice{box-shadow:0 6px 30px #09110c22}
@media(min-width:1050px){
:root[data-theme="dark"] .desktop-nav{background:#202e25}
:root[data-theme="dark"] .desktop-nav .bottom-nav>button.active{background:#24372b}
:root[data-theme="dark"] .sidebar-foot{color:#a9bead}
:root[data-theme="dark"] .session-aside h2 span{color:#a9bead}
}
:root[data-theme="dark"] .analysis-summary{background:#202e25;border:1px solid #3c5443}
:root[data-theme="dark"] .summary-key .icon{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .summary-key .revisit .icon{background:#24372b;color:#eca4a7}
:root[data-theme="dark"] .analysis-focus-card{border:1px solid #3c5443;background:linear-gradient(125deg,#24372b,#24372b)}
:root[data-theme="dark"] .focus-number{color:#a9bead}
:root[data-theme="dark"] .focus-pattern{color:#a9bead}
:root[data-theme="dark"] .focus-footer{border-top:1px solid #3c5443}
:root[data-theme="dark"] .focus-footer>span:first-child{color:#a9bead}
:root[data-theme="dark"] .focus-cta{color:#d2bc8c}
:root[data-theme="dark"] .analysis-focus-card>.icon-button{color:#a9bead}
:root[data-theme="dark"] .analysis-situations{background:#202e25;border:1px solid #3c5443}
:root[data-theme="dark"] .analysis-situation{border-bottom:1px solid #3c5443}
:root[data-theme="dark"] .situation-track{background:#393a2b}
:root[data-theme="dark"] .situation-track>i{background:#38513f}
:root[data-theme="dark"] .analysis-situation>.icon{color:#a9bead}
:root[data-theme="dark"] .analysis-footnote{color:#a9bead}
:root[data-theme="dark"] .analysis-learning{background:#202e25;border:1px solid #3c5443}
:root[data-theme="dark"] .learning-constellation:before{border:1px dashed #3c5443}
:root[data-theme="dark"] .learning-constellation>span{color:#a9bead}
:root[data-theme="dark"] .learning-constellation>i{background:#202e25;border:1px solid #3c5443}
:root[data-theme="dark"] .auth-shell{background:radial-gradient(ellipse at 50% 18%,#202e25 0,transparent 55%),var(--paper)}
:root[data-theme="dark"] .google-signin{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .google-mark{color:#aac9e6}
:root[data-theme="dark"] .auth-hint{color:#a9bead}
:root[data-theme="dark"] .auth-foot{color:#a9bead}
:root[data-theme="dark"] .auth-error{border:1px solid #827950;background:#202e25;color:#eca4a7}
:root[data-theme="dark"] .account-panel{background:#202e25}
:root[data-theme="dark"] .account-avatar{color:#a9bead;background:#38513f}
:root[data-theme="dark"] .sync-label[data-state=error],:root[data-theme="dark"] .sync-label[data-state=conflict]{color:#eca4a7}
:root[data-theme="dark"] .drills-resume{border:1px solid #3c5443;background:linear-gradient(130deg,#24372b,#202e25)}
:root[data-theme="dark"] .drills-new{background:linear-gradient(155deg,#202e25,#202e25)}
:root[data-theme="dark"] .drills-deck:before{background:#24372b}
:root[data-theme="dark"] .drills-deck>.card{box-shadow:0 4px 0 #58705d,0 9px 18px #09110c1a}
:root[data-theme="dark"] .setup-save-note{background:#202e25}
:root[data-theme="dark"] .learning-map{border:1px solid #3c5443;background:linear-gradient(145deg,#202e25,#202e25)}
:root[data-theme="dark"] .map-eyebrow{color:#a9bead}
:root[data-theme="dark"] .learning-map>header .icon-button{color:#a9bead}
:root[data-theme="dark"] .learning-map>footer{color:#a9bead;border-top:1px solid #3c5443}
:root[data-theme="dark"] .journey-thread{background:linear-gradient(#24372b,#38513f)}
:root[data-theme="dark"] .journey-thread:after{background:linear-gradient(transparent,#202e25,transparent)}
:root[data-theme="dark"] .street-stop:hover{background:#24372b}
:root[data-theme="dark"] .street-node{background:#24372b;border:3px solid #3c5443;box-shadow:0 0 0 1px #58705d;color:#d2bc8c}
:root[data-theme="dark"] .street-stop-label small{color:#a9bead}
:root[data-theme="dark"] .street-stop-label small b{color:#a9bead}
:root[data-theme="dark"] .street-stop>.icon{color:#a9bead}
:root[data-theme="dark"] .street-cards>i{border:1px solid #3c5443;background:#202e25;color:#a9bead;box-shadow:0 2px 0 #58705d}
:root[data-theme="dark"] .street-cards>i:nth-child(even){color:#eca4a7}
:root[data-theme="dark"] .street-cards-2>i{background:repeating-linear-gradient(45deg,#38513f 0 2px,#24372b 2px 3px);border:2px solid #3c5443}
:root[data-theme="dark"] .concept-map{background:radial-gradient(ellipse at 50% 48%,#24372b,transparent 60%),linear-gradient(145deg,#202e25,#202e25)}
:root[data-theme="dark"] .concept-links path{stroke:#a9bead}
:root[data-theme="dark"] .concept-core>span{border:1px solid #3c5443;box-shadow:0 0 0 7px #58705d80}
:root[data-theme="dark"] .concept-node:hover{background:#202e25a6;box-shadow:0 4px 14px #09110c12}
:root[data-theme="dark"] .concept-node-art{background:#202e25;border:1px solid #3c5443;box-shadow:0 2px 0 #58705d}
:root[data-theme="dark"] .concept-node small{color:#a9bead}
:root[data-theme="dark"] .concept-node small b{color:#a9bead}
:root[data-theme="dark"] .concept-setup-note small{color:#a9bead}
:root[data-theme="dark"] .concept-intro-top>span{color:#a9bead}
:root[data-theme="dark"] .intro-skip{color:#a9bead}
:root[data-theme="dark"] .intro-example{border:1px solid #3c5443;background:radial-gradient(ellipse at 50% 40%,#24372b,transparent 75%),#202e25}
:root[data-theme="dark"] .intro-example-bar{color:#a9bead}
:root[data-theme="dark"] .intro-example figcaption{color:#dfe8e1}
:root[data-theme="dark"] .intro-example-note{color:#a9bead}
:root[data-theme="dark"] .intro-pot-box{background:#202e25aa;border:1px solid #3c5443}
:root[data-theme="dark"] .intro-pot-box>span:first-child{color:#a9bead}
:root[data-theme="dark"] .intro-pot-box>b>small{color:#a9bead}
:root[data-theme="dark"] .intro-math-sign{color:#a9bead}
:root[data-theme="dark"] .intro-final-box{background:#24372b;border-color:#3c5443}
:root[data-theme="dark"] .intro-quarter{background:conic-gradient(#393a2b 25%,#24372b 0);box-shadow:inset 0 0 0 1px #58705d}
:root[data-theme="dark"] .intro-odds-result>div>span{color:#a9bead}
:root[data-theme="dark"] .intro-share-key>span{color:#a9bead}
:root[data-theme="dark"] .intro-share-key b{color:#dfe8e1}
:root[data-theme="dark"] .intro-share-key i{background:#393a2b}
:root[data-theme="dark"] .intro-share-key>span+span i{background:#393a2b}
:root[data-theme="dark"] .intro-ranges-compare>div>span:first-child{color:#a9bead}
:root[data-theme="dark"] .intro-range-grid>i{background:#24372b;color:#a9bead;border:1px solid #3c5443}
:root[data-theme="dark"] .intro-range-grid>i.included{background:#393a2b;border-color:#827950;color:#a9bead}
:root[data-theme="dark"] .intro-range-grid>i.range-expands{background:#24372b;border-color:#827950;color:#d2bc8c}
:root[data-theme="dark"] .intro-range-arrow{color:#a9bead}
:root[data-theme="dark"] .intro-bluff-price{color:#a9bead}
:root[data-theme="dark"] .intro-bluff-price b{color:#dfe8e1}
:root[data-theme="dark"] .intro-bluff-outcomes>div{border:1px solid #3c5443;background:#24372b}
:root[data-theme="dark"] .intro-outcome-icon{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .intro-bluff-outcomes>div>span:nth-child(2){color:#d2bc8c}
:root[data-theme="dark"] .intro-bluff-outcomes b{color:#d2bc8c}
:root[data-theme="dark"] .intro-bluff-outcomes>.intro-fold-outcome{border-color:#3c5443;background:#24372b}
:root[data-theme="dark"] .intro-fold-outcome .intro-outcome-icon{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .intro-bluff-outcomes>.intro-fold-outcome>span:nth-child(2){color:#d2bc8c}
:root[data-theme="dark"] .intro-bluff-outcomes>.intro-fold-outcome>b{color:#d2bc8c}
:root[data-theme="dark"] .intro-bluff-total{color:#a9bead}
:root[data-theme="dark"] .intro-bluff-total b{color:#d2bc8c}
:root[data-theme="dark"] .library-open{color:#dfe8e1}
:root[data-theme="dark"] .library-open:hover{background:#24372b}
:root[data-theme="dark"] .concept-map>footer>span{color:#a9bead}
:root[data-theme="dark"] .library-lead{color:#a9bead}
:root[data-theme="dark"] .library-group{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .library-group-number{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .library-group summary small{color:#a9bead}
:root[data-theme="dark"] .library-group-count{color:#a9bead}
:root[data-theme="dark"] .library-card{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .library-card:hover{background:#202e25;box-shadow:0 3px 10px #09110c10}
:root[data-theme="dark"] .library-card>.icon{color:#a9bead}
:root[data-theme="dark"] .library-glyph{background:linear-gradient(135deg,#202e25,#24372b);border:1px solid #3c5443;box-shadow:0 2px 0 #58705d;color:#d2bc8c}
:root[data-theme="dark"] .library-card-copy>small{color:#a9bead}
:root[data-theme="dark"] .library-card-copy>span{color:#a9bead}
:root[data-theme="dark"] .library-footnote{color:#a9bead}
:root[data-theme="dark"] .lesson-diagram text{fill:#dfe8e1}
:root[data-theme="dark"] .lesson-diagram .sage{fill:#a9bead;stroke:#a9bead}
:root[data-theme="dark"] .lesson-diagram .sand{fill:#d2bc8c;stroke:#d2bc8c}
:root[data-theme="dark"] .lesson-diagram .paper{fill:#a9bead;stroke:#a9bead}
:root[data-theme="dark"] .lesson-flow{stroke:#a9bead}
:root[data-theme="dark"] .lesson-cross{stroke:#eca4a7}
:root[data-theme="dark"] .learning-tabs{border:1px solid #3c5443;background:#24372b}
:root[data-theme="dark"] .learning-tabs>button{color:#a9bead}
:root[data-theme="dark"] .learning-tabs>button[aria-selected="true"]{color:#a9bead}
:root[data-theme="dark"] .learning-tab-highlight{background:#263e2e;box-shadow:0 2px 5px #09110c22}
:root[data-theme="dark"] .learning-tabs>button:focus-visible{outline:2px solid #72957b}
:root[data-theme="dark"] .learning-tab-panel:focus-visible{outline:2px solid #827950}
:root[data-theme="dark"] .concept-path-map{background:radial-gradient(ellipse at 50% 22%,#24372b,transparent 48%),linear-gradient(145deg,#202e25,#202e25)}
:root[data-theme="dark"] .concept-path-start>span{background:linear-gradient(90deg,transparent,#24372b)}
:root[data-theme="dark"] .concept-path-start>img{box-shadow:0 3px 6px #09110c20}
:root[data-theme="dark"] .concept-chapters:before{border-left:1px dashed #3c5443}
:root[data-theme="dark"] .concept-chapter{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .concept-chapter.is-open{background:linear-gradient(140deg,#202e25,#202e25);border-color:#3c5443;box-shadow:0 4px 16px #09110c09}
:root[data-theme="dark"] .chapter-number{border:1px solid #3c5443;background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .is-open .chapter-number{background:#263e2e;color:#a9bead;border-color:#72957b;box-shadow:0 0 0 4px #58705d}
:root[data-theme="dark"] .chapter-title>small{color:#a9bead}
:root[data-theme="dark"] .chapter-toggle>.icon{color:#d2bc8c}
:root[data-theme="dark"] .chapter-preview>span:not(.chapter-preview-more){background:#24372b;border:1px solid #3c5443}
:root[data-theme="dark"] .chapter-preview-more{color:#a9bead}
:root[data-theme="dark"] .trail-base{stroke:#a9bead}
:root[data-theme="dark"] .trail-flow{stroke:#d2bc8c}
:root[data-theme="dark"] .trail-token{border:1px solid #3c5443;background:linear-gradient(140deg,#202e25,#24372b);box-shadow:inset 1px 1px 1px #58705d,0 4px 0 #58705d,0 7px 12px #09110c0c}
:root[data-theme="dark"] .trail-number{background:#202e25;border:1px solid #3c5443;color:#d2bc8c}
:root[data-theme="dark"] .trail-node>small{color:#a9bead}
:root[data-theme="dark"] .trail-node:hover{background:#202e2560}
:root[data-theme="dark"] .trail-node:hover .trail-token{box-shadow:inset 1px 1px 1px #58705d,0 6px 0 #58705d,0 10px 16px #09110c15}
:root[data-theme="dark"] .trail-node:focus-visible{outline:2px solid #827950}
:root[data-theme="dark"] .has-practice .trail-token{border-color:#827950;background:linear-gradient(135deg,#24372b,#24372b)}
:root[data-theme="dark"] .chapter-note{color:#d2bc8c}
:root[data-theme="dark"] .learning-tabs{box-shadow:0 4px 16px #09110c08}
:root[data-theme="dark"] .learning-choice-button{border:1px solid #3c5443;background:#202e25;color:#dfe8e1}
:root[data-theme="dark"] .learning-choice-button:hover{box-shadow:0 5px 15px #09110c15}
:root[data-theme="dark"] .study-progress>span{color:#a9bead}
:root[data-theme="dark"] .study-progress i{background:#24372b}
:root[data-theme="dark"] .study-progress i.filled{background:#393a2b}
:root[data-theme="dark"] .study-example{border:1px solid #3c5443;background:radial-gradient(ellipse at 50% 45%,#24372b,transparent 80%),#202e25}
:root[data-theme="dark"] .study-example figcaption{color:#d2bc8c}
:root[data-theme="dark"] .study-prompt{color:#a9bead}
:root[data-theme="dark"] .study-assumption{color:#a9bead}
:root[data-theme="dark"] .study-controls>button{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .study-controls>button.selected{border-color:#827950;background:#24372b;color:#d2bc8c;box-shadow:inset 0 0 0 1px #09110c30}
:root[data-theme="dark"] .study-ring{background:conic-gradient(#393a2b var(--share),#393a2b 0);box-shadow:0 3px 8px #09110c10}
:root[data-theme="dark"] .study-ring>div{background:#202e25}
:root[data-theme="dark"] .study-ring span{color:#a9bead}
:root[data-theme="dark"] .study-math-tile{border:1px solid #3c5443;background:#24372b}
:root[data-theme="dark"] .study-math-tile span{color:#d2bc8c}
:root[data-theme="dark"] .study-between{color:#a9bead}
:root[data-theme="dark"] .study-range-grid>span{border:1px solid #3c5443;color:#a9bead;background:#202e25}
:root[data-theme="dark"] .study-range-grid>span.included{background:#393a2b;color:#a9bead;border-color:#827950}
:root[data-theme="dark"] .study-range-grid>span.added{background:#393a2b;color:#d2bc8c;border-color:#827950}
:root[data-theme="dark"] .study-card{border:1px solid #3c5443;background:#202e25;box-shadow:0 3px 0 #58705d;color:#a9bead}
:root[data-theme="dark"] .study-card.red{color:#eca4a7}
:root[data-theme="dark"] .study-journey small,:root[data-theme="dark"] .study-destination b{color:#a9bead}
:root[data-theme="dark"] .study-destination.stopped>.icon{border:1px solid #827950;color:#eca4a7;background:#24372b}
:root[data-theme="dark"] .study-journey>.icon{color:#a9bead}
:root[data-theme="dark"] .study-distributions>div>b{color:#d2bc8c}
:root[data-theme="dark"] .study-bars{border-bottom:1px solid #3c5443}
:root[data-theme="dark"] .study-bars.focused{background:#24372b5c;box-shadow:0 0 0 1px #58705d}
:root[data-theme="dark"] .study-bars>i{background:#393a2b}
:root[data-theme="dark"] .study-distributions>div:nth-child(2) .study-bars>i{background:#393a2b}
:root[data-theme="dark"] .study-distributions footer{color:#a9bead}
:root[data-theme="dark"] .study-nuts .study-bars>i:last-child{outline:2px solid #827950}
:root[data-theme="dark"] .study-board-label,:root[data-theme="dark"] .study-hero-label{color:#a9bead}
:root[data-theme="dark"] .study-blocker-flow small{color:#a9bead}
:root[data-theme="dark"] .study-blocker-flow>.icon{color:#a9bead}
:root[data-theme="dark"] .removed-combos .study-card{color:#a9bead;background:#24372b}
:root[data-theme="dark"] .removed-combos .study-card:after{background:#49302f}
:root[data-theme="dark"] .study-stack>i{border:1px solid #827950;background:#24372b;color:#d2bc8c;box-shadow:0 2px 0 #58705d}
:root[data-theme="dark"] .study-pot-bets{color:#a9bead}
:root[data-theme="dark"] .study-branch-origin small{color:#a9bead}
:root[data-theme="dark"] .study-branches:before{border:1px dashed #3c5443}
:root[data-theme="dark"] .study-branches>div{background:#24372b;border:1px solid #3c5443;color:#a9bead}
:root[data-theme="dark"] .study-branches>div.chosen{border-color:#827950;background:#24372b;color:#d2bc8c;box-shadow:0 3px 0 #58705d}
:root[data-theme="dark"] .study-felt{border:7px solid #3c5443;background:radial-gradient(#24372b,#24372b);box-shadow:0 4px 0 #58705d}
:root[data-theme="dark"] .study-felt>span{color:#d2bc8c}
:root[data-theme="dark"] .study-seat{border:1px solid #3c5443;background:#202e25;color:#a9bead}
:root[data-theme="dark"] .study-seat.selected{background:#263e2e;color:#a9bead;border-color:#72957b;box-shadow:0 0 0 4px #58705d}
:root[data-theme="dark"] .study-texture{color:#eca4a7}
:root[data-theme="dark"] .study-hand-badge{color:#d2bc8c;border:1px solid #3c5443;background:#24372b}
:root[data-theme="dark"] .study-option{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .study-option-letter{border:1px solid #3c5443;color:#d2bc8c}
:root[data-theme="dark"] .study-option.correct{background:#24372b;border-color:#827950;color:#d2bc8c}
:root[data-theme="dark"] .study-option.incorrect{background:#24372b;border-color:#827950;color:#eca4a7}
:root[data-theme="dark"] .study-answer-feedback{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .study-answer-feedback.correct{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .study-complete-mark{border:1px solid #3c5443;background:linear-gradient(135deg,#202e25,#24372b);box-shadow:0 4px 0 #58705d}
:root[data-theme="dark"] .study-complete-mark>.icon{color:#d2bc8c}
:root[data-theme="dark"] .study-complete p{color:#a9bead}
:root[data-theme="dark"] .study-previous{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .study-check-count{color:#a9bead}
:root[data-theme="dark"] .study-token-grid>span{border:1px solid #827950;background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .study-token-grid>span.excluded{background:#202e25;border-color:#3c5443;color:#a9bead}
:root[data-theme="dark"] .study-action-flow>span{color:#d2bc8c;background:#202e25;border:1px solid #3c5443}
:root[data-theme="dark"] .study-action-flow>span+span:before{border-left:1px dashed #827950}
:root[data-theme="dark"] .study-action-flow i{background:#24372b}
:root[data-theme="dark"] .study-meter-track{background:#393a2b;box-shadow:inset 0 1px 2px #09110c16}
:root[data-theme="dark"] .study-meter-track>span{background:linear-gradient(90deg,#393a2b,#393a2b)}
:root[data-theme="dark"] .study-price-mark{background:#49302f}
:root[data-theme="dark"] .study-roll-mark{border:2px solid #3c5443;background:#263e2e;box-shadow:0 1px 5px #09110c40}
:root[data-theme="dark"] .study-meter-key{color:#d2bc8c}
:root[data-theme="dark"] .study-meter-key>span+span{color:#eca4a7}
:root[data-theme="dark"] .study-composition>span{background:#393a2b}
:root[data-theme="dark"] .study-composition .segment-1{background:#393a2b}
:root[data-theme="dark"] .study-composition .segment-2{background:#24372b}
:root[data-theme="dark"] .study-review{border:1px solid #3c5443}
:root[data-theme="dark"] .study-review>div{border-top:1px solid #3c5443}
:root[data-theme="dark"] .study-review b .icon{color:#d2bc8c}
:root[data-theme="dark"] .study-review p{color:#d2bc8c}
:root[data-theme="dark"] .study-review small{color:#a9bead}
:root[data-theme="dark"] .study-sources{color:#a9bead}
:root[data-theme="dark"] .study-sources a{color:#d2bc8c}
:root[data-theme="dark"] .practice-mode-tabs{background:#24372b;border:1px solid #3c5443}
:root[data-theme="dark"] .practice-mode-tabs>button{color:#d2bc8c}
:root[data-theme="dark"] .practice-mode-tabs>button.selected{background:#263e2e;color:#a9bead;box-shadow:0 2px 5px #09110c20}
:root[data-theme="dark"] .question-focus-hint{color:#d2bc8c}
:root[data-theme="dark"] .learning-pulse{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .learning-pulse .icon{color:#d2bc8c}
:root[data-theme="dark"] .learning-pulse small{color:#d2bc8c}
:root[data-theme="dark"] .question-wait>.icon{color:#d2bc8c}
:root[data-theme="dark"] .question-wait p,:root[data-theme="dark"] .question-empty p{color:#a9bead}
:root[data-theme="dark"] .question-context>div{border:1px solid #3c5443;background:linear-gradient(135deg,#202e25,#24372b);box-shadow:0 3px 0 #58705d}
:root[data-theme="dark"] .question-context b{color:#dfe8e1}
:root[data-theme="dark"] .question-context small{color:#d2bc8c}
:root[data-theme="dark"] .question-kind{color:#d2bc8c!important}
:root[data-theme="dark"] .question-assumptions{color:#a9bead}
:root[data-theme="dark"] .question-track{background:#24372b}
:root[data-theme="dark"] .question-track>i{background:#393a2b}
:root[data-theme="dark"] .question-save-note{color:#a9bead}
:root[data-theme="dark"] .question-error{border:1px solid #827950;background:#24372b}
:root[data-theme="dark"] .question-saving{color:#d2bc8c}
:root[data-theme="dark"] .pending-answer{border-color:#827950;background:#24372b}
:root[data-theme="dark"] .question-result-dots>span{background:#24372b;color:#d2bc8c}
:root[data-theme="dark"] .question-result-dots>span.revisit{background:#393a2b;color:#eca4a7}
:root[data-theme="dark"] .saved-question-rounds{border-top:1px solid #3c5443;color:#a9bead}
:root[data-theme="dark"] .welcome-simple .experience-choice{background:#202e2577;border-color:#3c5443}
:root[data-theme="dark"] .welcome-simple .experience-choice.selected{background:#24372b;border-color:#72957b;box-shadow:0 4px 16px #09110c09}
:root[data-theme="dark"] .player-choice-check{border:1px solid #3c5443}
:root[data-theme="dark"] .selected .player-choice-check{color:#a9bead}
:root[data-theme="dark"] .settings-group{background:#202e2560}
:root[data-theme="dark"] .settings-group .choice-chips{background:#24372b5e;border:1px solid #3c5443}
:root[data-theme="dark"] .settings-group .choice-chips>button.selected{background:#202e25;border-color:#3c5443;box-shadow:0 1px 3px #09110c0d}
:root[data-theme="dark"] .learning-choice-button{background:linear-gradient(150deg,#202e25,#202e25);box-shadow:0 4px 0 #58705d}
:root[data-theme="dark"] .learning-choice-button:focus-visible{border-color:#72957b;box-shadow:0 4px 0 #58705d,0 0 0 4px #58705d88}
:root[data-theme="dark"] .learning-choice-button:active:not(:disabled){box-shadow:0 1px 0 #58705d}
:root[data-theme="dark"] .decision-feedback{border:1px solid #3c5443;background:#202e25;box-shadow:0 5px 0 #58705d}
:root[data-theme="dark"] .decision-feedback.feedback-mixed{border-color:#3c5443}
:root[data-theme="dark"] .decision-feedback.feedback-revisit{border-color:#827950}
:root[data-theme="dark"] .decision-feedback.feedback-neutral{border-color:#3c5443}
:root[data-theme="dark"] .range-step-track>span{color:#a9bead}
:root[data-theme="dark"] .range-step-track i{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .range-step-track .current{color:#dfe8e1}
:root[data-theme="dark"] .range-step-track .current i{background:#263e2e;border-color:#72957b}
:root[data-theme="dark"] .range-step-track .complete i{background:#24372b;color:#a9bead}
:root[data-theme="dark"] .range-intro{color:#a9bead}
:root[data-theme="dark"] .range-diagram{border:1px solid #3c5443;background:#202e25}
:root[data-theme="dark"] .range-diagram figcaption{color:#a9bead}
:root[data-theme="dark"] .range-diagram-label{color:#dfe8e1}
:root[data-theme="dark"] .range-unknown>span{background:repeating-linear-gradient(45deg,#38513f,#38513f 3px,#38513f 3px,#38513f 5px);border:3px solid #3c5443;color:#a9bead;box-shadow:0 3px 0 #58705d}
:root[data-theme="dark"] .range-branch{border:1px solid #3c5443}
:root[data-theme="dark"] .range-branch::before{border-left:1px solid #3c5443}
:root[data-theme="dark"] .range-hand-families>div{background:#202e25;border:1px solid #3c5443}
:root[data-theme="dark"] .range-hand-families b{color:#dfe8e1}
:root[data-theme="dark"] .range-hand-families span{color:#a9bead}
:root[data-theme="dark"] .range-note{border-left:3px solid #827950}
:root[data-theme="dark"] .range-note>b{color:#dfe8e1}
:root[data-theme="dark"] .range-note p{color:#dfe8e1}
:root[data-theme="dark"] .range-table-note{color:#a9bead}
:root[data-theme="dark"] .range-table-note>b{color:#dfe8e1}
:root[data-theme="dark"] .range-diagram-heading{color:#dfe8e1}
:root[data-theme="dark"] .range-diagram-heading>b{color:#dfe8e1}
:root[data-theme="dark"] .range-diagram-heading>strong{background:#24372b}
:root[data-theme="dark"] .range-playing-card{background:#202e25;border:1px solid #3c5443;box-shadow:0 2px 0 #58705d;color:#dfe8e1}
:root[data-theme="dark"] .range-playing-card.is-red{color:#eca4a7}
:root[data-theme="dark"] .range-offsuited{border-top:1px solid #3c5443}
:root[data-theme="dark"] .range-offsuited b{color:#dfe8e1}
:root[data-theme="dark"] .range-offsuited span{color:#a9bead}
:root[data-theme="dark"] .range-offsuited>strong{color:#dfe8e1}
:root[data-theme="dark"] .range-offsuited-example>span:last-child{color:#a9bead}
:root[data-theme="dark"] .range-update-head{color:#a9bead}
:root[data-theme="dark"] .range-weight-row>b{color:#dfe8e1}
:root[data-theme="dark"] .range-weight-row>div{background:#24372b}
:root[data-theme="dark"] .range-weight-row i{background:#24372b}
:root[data-theme="dark"] .range-weight-row .range-weight-after i{background:#393a2b}
:root[data-theme="dark"] .range-weight-row span{color:#dfe8e1}
:root[data-theme="dark"] .range-update-key{color:#a9bead}
:root[data-theme="dark"] .range-extra{border-top:1px solid #3c5443}
:root[data-theme="dark"] .range-check-note{color:#a9bead}
@media(max-width:599px){
:root[data-theme="dark"] .ranges-guide .study-lesson-nav{border-top:1px solid #3c5443}
}
:root[data-theme="dark"] .topic-distribution-row span{background:#24372b;color:#dfe8e1}
:root[data-theme="dark"] .topic-distribution-row span.strong{background:#263e2e;color:#a9bead}
:root[data-theme="dark"] .topic-distribution-row span.weak{background:#24372b;color:#eca4a7}
:root[data-theme="dark"] .street-contribution .contribution-copy{color:#dfe8e1;text-shadow:0 1px 1px #58705d45}
:root[data-theme="dark"] .pot-display{background:#202e2528;border:1px solid #3c54432b}
:root[data-theme="dark"] button.pot-display:hover{background:#202e2554;border-color:#3c544380}
:root[data-theme="dark"] button.pot-display:active{background:#202e2578}
:root[data-theme="dark"] .blind-value-input input:user-invalid{border-color:#986366}
:root[data-theme="dark"] .rank-path-switch input:checked+span{box-shadow:0 1px 4px #09110c11}
:root[data-theme="dark"] .motion-logo-flight{box-shadow:0 14px 30px #09110c1a}
:root[data-theme="dark"] .motion-flight-card{box-shadow:2px 8px 14px #09110c35}
:root[data-theme="dark"] .motion-chip-flight>i{background:repeating-conic-gradient(#393a2b 0deg 35deg,#202e25 35deg 50deg,#393a2b 50deg 80deg,#263e2e 80deg 95deg);border:1px solid #827950;box-shadow:0 3px 0 #09110c,inset 0 0 0 2px #58705d88}
:root[data-theme="dark"] .motion-check-ripple{border:2px solid #72957b80;box-shadow:0 0 0 5px #58705d30}
:root[data-theme="dark"] .launch-screen{background:#202e25}
:root[data-theme="dark"] .launch-halo{background:radial-gradient(circle,#24372b8c,transparent 66%)}
:root[data-theme="dark"] .launch-orbit{border:1px solid #3c54434d}
:root[data-theme="dark"] .launch-icon{box-shadow:0 14px 27px #09110c29}
:root[data-theme="dark"] .launch-cards>i{border:3px solid #3c5443;background:repeating-linear-gradient(45deg,#38513f 0 3px,#24372b 3px 4px);box-shadow:0 3px 0 #58705d,0 10px 18px #09110c20}
:root[data-theme="dark"] .launch-late-chip{border:1px solid #827950;background:repeating-conic-gradient(#393a2b 0deg 35deg,#393a2b 35deg 50deg);box-shadow:0 4px 0 #09110c,2px 8px 7px #09110c22}
:root[data-theme="dark"] .launch-tagline{color:#a9bead}
:root[data-theme="dark"] .launch-rule{background:#24372b}
:root[data-theme="dark"] .launch-rule>i{background:#38513f}
:root[data-theme="dark"] .launch-skip{color:#a9bead}
:root[data-theme="dark"] .launch-skip:hover{background:#24372b}
:root[data-theme="dark"] .glow-one{background:radial-gradient(ellipse,#24372b8c,transparent 66%)}
:root[data-theme="dark"] .glow-two{background:radial-gradient(ellipse,#24372b85,transparent 66%)}
:root[data-theme="dark"] .ambient-orbit{border:1px solid #3c544329;box-shadow:0 0 0 28px #09110c10,0 0 0 56px #09110c08}
:root[data-theme="dark"] .ambient-card{border:2px solid #3c5443;background:linear-gradient(135deg,#202e25,#24372b);box-shadow:0 3px 0 #58705d,0 20px 32px #09110c12;color:#a9bead}
:root[data-theme="dark"] .ambient-card>i{color:#a9bead77}
:root[data-theme="dark"] .ambient-token{border:5px dashed #3c5443;background:radial-gradient(circle,#38513f 0 46%,#38513f 47% 51%,#24372b 52%);box-shadow:0 3px 0 #09110c,0 8px 15px #09110c15}
:root[data-theme="dark"] .auth-tools .sound-toggle{border:1px solid #3c5443;background:#202e2580}
:root[data-theme="dark"] .sound-toggle{color:#a9bead}
:root[data-theme="dark"] .sound-toggle[aria-pressed="false"]{color:#a9bead}
:root[data-theme="dark"] .action-button:hover:not(:disabled),:root[data-theme="dark"] .size-presets>button:hover:not(:disabled){box-shadow:0 5px 15px #09110c12}
:root[data-theme="dark"] .dealing-deck>i{border:2px solid #3c5443;background:repeating-linear-gradient(45deg,#38513f 0 2px,#24372b 2px 3px);box-shadow:0 2px 0 #58705d,0 5px 9px #09110c20}
:root[data-theme="dark"] .pending-dots>i{background:#38513f}
:root[data-theme="dark"] .bottom-nav>button.active,:root[data-theme="dark"] .desktop-nav .bottom-nav>button.active{color:#a9bead}
:root[data-theme="dark"] .nav-selection{background:#263e2e;box-shadow:0 2px 5px #09110c20}
:root[data-theme="dark"] .choice-chips>button.selected,:root[data-theme="dark"] .size-presets>button.selected,:root[data-theme="dark"] .decision-tabs>button.selected{background:#24372b;border-color:#72957b;box-shadow:inset 0 0 0 1px #09110c33;color:#dfe8e1}
@media(hover:hover){
:root[data-theme="dark"] .learning-choice-button:hover{border-color:#72957b;box-shadow:0 7px 0 #58705d,0 13px 24px #09110c12}
:root[data-theme="dark"] .study-controls>button:hover:not(:disabled),:root[data-theme="dark"] .study-option:hover:not(:disabled){box-shadow:0 4px 0 #58705d}
}
@media(hover:hover){
:root[data-theme="dark"] .feedback-option:hover{box-shadow:0 3px 8px #09110c10}
}
:root[data-theme="dark"] svg [fill="#354b3d"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#354b3d"]{stroke:#dfe8e1}
:root[data-theme="dark"] svg [fill="#375238"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#375238"]{stroke:#dfe8e1}
:root[data-theme="dark"] svg [fill="#4e735e"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#4e735e"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#4f7259"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#4f7259"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#52734e"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#52734e"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#537b4e"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#537b4e"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#58744e"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#58744e"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#587a50"]{fill:#263e2e}
:root[data-theme="dark"] svg [stroke="#587a50"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#64805d"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#64805d"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#658655"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#658655"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#6a8957"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#6a8957"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#6c8963"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#6c8963"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#6c8b60"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#6c8b60"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#6d8b58"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#6d8b58"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#6d8c5a"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#6d8c5a"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#6e8c5a"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#6e8c5a"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#6e8c5b"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#6e8c5b"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#6e9061"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#6e9061"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#718e60"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#718e60"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#72915e"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#72915e"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#739468"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#739468"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#748168"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#748168"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#789065"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#789065"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#78946d"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#78946d"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#829078"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#829078"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#8da579"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#8da579"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#8fa67a"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#8fa67a"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#90ad77"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#90ad77"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#91ab80"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#91ab80"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#91ab83"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#91ab83"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#92644d"]{fill:#49302f}
:root[data-theme="dark"] svg [stroke="#92644d"]{stroke:#eca4a7}
:root[data-theme="dark"] svg [fill="#94ac80"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#94ac80"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#99b386"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#99b386"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#9bad87"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#9bad87"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#9bb28a"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#9bb28a"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#9bb887"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#9bb887"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#9db58b"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#9db58b"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#9eb38f"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#9eb38f"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#9fb093"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#9fb093"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a0b48c"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a0b48c"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a0b88b"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#a0b88b"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#a1b58d"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a1b58d"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a2b58e"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a2b58e"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a58a54"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#a58a54"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#a5b895"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a5b895"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a5b994"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a5b994"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a5ba93"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a5ba93"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a6ba95"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a6ba95"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#a7b89b"]{fill:#38513f}
:root[data-theme="dark"] svg [stroke="#a7b89b"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#acc49b"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#acc49b"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#adc09b"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#adc09b"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b0bb58"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#b0bb58"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#b2c29e"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b2c29e"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b2c5a1"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b2c5a1"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b4a271"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#b4a271"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#b4c5a0"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b4c5a0"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b58a68"]{fill:#49302f}
:root[data-theme="dark"] svg [stroke="#b58a68"]{stroke:#eca4a7}
:root[data-theme="dark"] svg [fill="#b5c5aa"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b5c5aa"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b6c7a2"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b6c7a2"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b6cba3"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b6cba3"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b78d6b"]{fill:#49302f}
:root[data-theme="dark"] svg [stroke="#b78d6b"]{stroke:#eca4a7}
:root[data-theme="dark"] svg [fill="#b7c6ad"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b7c6ad"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b9a578"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#b9a578"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#b9c6ad"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b9c6ad"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#b9c9a9"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#b9c9a9"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#bca96f"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#bca96f"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#c1a66b"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#c1a66b"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#c1aa66"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#c1aa66"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#c2b27f"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#c2b27f"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#c5ad6b"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#c5ad6b"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#c5d5b8"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#c5d5b8"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#d3b978"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#d3b978"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#d4dfc6"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#d4dfc6"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#d5aa87"]{fill:#49302f}
:root[data-theme="dark"] svg [stroke="#d5aa87"]{stroke:#eca4a7}
:root[data-theme="dark"] svg [fill="#d5e1c5"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#d5e1c5"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#d6c795"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#d6c795"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#d6dfc5"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#d6dfc5"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#dbe7cf"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#dbe7cf"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#dce7c7"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#dce7c7"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#dce8d2"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#dce8d2"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#dfc5a4"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#dfc5a4"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#dfc9a5"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#dfc9a5"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#dfe8d4"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#dfe8d4"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#dfe9cf"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#dfe9cf"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#e0e9ce"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#e0e9ce"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#e0ecd7"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#e0ecd7"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#e1eacf"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#e1eacf"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#e1ead8"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#e1ead8"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#e4d4b8"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#e4d4b8"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#e5ecd8"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#e5ecd8"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#e5ecdc"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#e5ecdc"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#e8c4a1"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#e8c4a1"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#e8ecdf"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#e8ecdf"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#eef2e5"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#eef2e5"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#eef3e3"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#eef3e3"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#eff3e5"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#eff3e5"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#f1e6bc"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#f1e6bc"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#f2ead8"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#f2ead8"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#f3ecd2"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#f3ecd2"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#f4f4de"]{fill:#24372b}
:root[data-theme="dark"] svg [stroke="#f4f4de"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#f6f7ed"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#f6f7ed"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#f8fbf1"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#f8fbf1"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#faf6e9"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#faf6e9"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fbfbef"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fbfbef"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fbfbf4"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fbfbf4"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fbfcf3"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fbfcf3"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fff7d9"]{fill:#393a2b}
:root[data-theme="dark"] svg [stroke="#fff7d9"]{stroke:#d2bc8c}
:root[data-theme="dark"] svg [fill="#fffdf0"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fffdf0"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fffdf1"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fffdf1"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fffdf2"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fffdf2"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fffdf4"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fffdf4"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fffef2"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fffef2"]{stroke:#a9bead}
:root[data-theme="dark"] svg [fill="#fffef8"]{fill:#202e25}
:root[data-theme="dark"] svg [stroke="#fffef8"]{stroke:#a9bead}

/* Theme tokens and contrast exceptions. Included at the end of theme.css. */
:root[data-theme="dark"]{color-scheme:dark;--ink:#dfe8e1;--muted:#a9baad;--accent:#a4c8ac;--line:#3c5443;--paper:#19231c;--soft:#24372b;--warm:#d2bc8c;background:var(--paper);color:var(--ink)}
:root[data-theme="light"]{color-scheme:light}
.header-tools,.session-tools{display:flex;align-items:center;gap:4px}
.theme-sun,.theme-moon{display:flex;align-items:center;justify-content:center}
:root[data-theme="dark"] .theme-moon,:root[data-theme="light"] .theme-sun{display:none}
.theme-auth-tools{position:absolute;top:18px;right:20px}
:root[data-theme="dark"] :is(.drills-new,.drills-choice,.player-rank-panel,.analysis-summary,.settings-group,.account-panel,.learning-map,.concept-chapter,.intro-card,.last-session,.question-setup,.study-answer-feedback){background:var(--soft);border-color:var(--line)}
:root[data-theme="dark"] :is(dialog,.sheet,.auth-shell,.session-shell,.launch-screen){background:var(--paper);color:var(--ink)}
:root[data-theme="dark"] :is(.brand-name,.auth-wordmark,.launch-wordmark){filter:brightness(0) invert(.91)}
:root[data-theme="dark"] :is(.primary,.small-primary,.google-signin,.nav-selection,.learning-tab-highlight,.mastery-badge.is-pro){background:var(--accent);color:#192b20}
:root[data-theme="dark"] :is(.primary,.small-primary,.google-signin) :is(span,b,small){color:inherit}
:root[data-theme="dark"] :is(.secondary,.action-button,.size-presets button,.choice-chips>button,.study-option){background:var(--soft);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] :is(.choice-chips>button.selected,.size-presets button.selected,.experience-choice.selected){background:#344d3d;border-color:var(--accent);color:var(--ink)}
:root[data-theme="dark"] :is(.bottom-nav>button.active,.learning-tabs>button[aria-selected="true"]){color:#192b20}
:root[data-theme="dark"] .workspace>.bottom-nav{background:var(--mobile-nav-surface);border-color:var(--mobile-nav-line);box-shadow:var(--mobile-nav-shadow)}
:root[data-theme="dark"] .header-nav .nav-selection{background:var(--soft)}
:root[data-theme="dark"] .header-nav>button.active{color:var(--accent)}
:root[data-theme="dark"] :is(input,select,textarea){color:var(--ink);background:var(--paper);border-color:var(--line)}
:root[data-theme="dark"] :is(.card,.study-card,.range-playing-card,.mini-cards>span){background:#e8eee3;color:#243c2b;border-color:#a0b5a0;box-shadow:0 2px 0 #849b84}
:root[data-theme="dark"] :is(.card,.study-card,.range-playing-card,.mini-cards>span).red,:root[data-theme="dark"] .range-playing-card.is-red{color:#ad303d!important}
:root[data-theme="dark"] .red:not(.card):not(.study-card):not(.range-playing-card):not(.mini-cards>span){color:#eca4a7!important}
:root[data-theme="dark"] .table-art{filter:brightness(.65) saturate(.8)}
:root[data-theme="dark"] :is(.nameplate,.hero-player,.pot-display,.villain-bet,.contribution-marker){color:var(--ink)}
:root[data-theme="dark"] :is(.pill,.mastery-badge){color:var(--accent)}
:root[data-theme="dark"] :is(.study-option.correct,.study-answer-feedback.correct){background:#2b4534;border-color:#6d9979;color:#dfe8e1}
:root[data-theme="dark"] :is(.study-option.incorrect,.study-answer-feedback.incorrect){background:#49302f;border-color:#986366;color:#f3d9d9}
:root[data-theme="dark"] :is(.auth-error,.question-error){color:#f2b0b3;background:#49302f}
:root[data-theme="dark"] .chapter-number,:root[data-theme="dark"] .is-open .chapter-number{background:#a4c8ac;color:#192b20;border-color:#a4c8ac}
/* Keep the opening-hand illustration close to the chosen sage/forest reference. */
:root[data-theme="dark"] .art-practice svg [fill]{fill:#38513f}
:root[data-theme="dark"] .art-practice svg [stroke]{stroke:#a4c8ac}
:root[data-theme="dark"] .art-practice .art-card-front [fill]{fill:#304635}
:root[data-theme="dark"] .art-practice .art-card-front path[fill="#4f7259"],:root[data-theme="dark"] .art-practice .art-card-back path[fill="#b6cba3"]{fill:#a4c8ac}
:root[data-theme="dark"] .art-practice .art-chip [stroke]{stroke:#9b905e}
:root[data-theme="dark"] .art-practice .art-chip [fill]{fill:#9b905e}
:root[data-theme="dark"] .art-practice .art-chip ellipse:last-child{fill:#24372b}
@media(prefers-reduced-motion:no-preference){html{transition:background-color 160ms ease,color 160ms ease}}
/* Preserve crisp chip detail and readable branding on the felt. */
:root[data-theme="dark"] .felt-wordmark>img{filter:brightness(0) invert(.94);opacity:.9}
:root[data-theme="dark"] .chips{--chip:#94b59c;--edge:#35533e;--chip-mark:#e4efde;--chip-ring:#e4efde}
:root[data-theme="dark"] .chips.cream{--chip:#e3c989;--edge:#806b3f;--chip-mark:#fff4d4;--chip-ring:#fff4d4}
:root[data-theme="dark"] .chips i{background:var(--chip);border-color:var(--edge);box-shadow:0 2px 0 var(--edge)}
:root[data-theme="dark"] .chips i:last-child{background:linear-gradient(90deg,transparent 0 17%,var(--chip-mark) 17% 25%,transparent 25% 75%,var(--chip-mark) 75% 83%,transparent 83%),var(--chip)}
:root[data-theme="dark"] .chips i:last-child:after{border-color:var(--chip-ring)}
/* Navigation has a consistent charcoal/gold palette apart from green content. */
:root[data-theme="dark"] .workspace>.bottom-nav>button{color:var(--mobile-nav-text)}
:root[data-theme="dark"] .workspace>.bottom-nav>button.active{color:var(--mobile-nav-active)}
:root[data-theme="dark"] .workspace>.bottom-nav .nav-selection{background:var(--mobile-nav-selection);box-shadow:none}
:root[data-theme="dark"] .workspace>.bottom-nav>button.active .nav-content{color:inherit}
