*{box-sizing:border-box}body{margin:0;background:#f3f4f6;color:#111827;font-family:system-ui,-apple-system,sans-serif}header{background:#111827;color:#fff;padding:14px 16px;position:sticky;top:0;z-index:3}.brand{max-width:760px;margin:auto;display:flex;gap:12px;align-items:center}.brand small{display:block;color:#9ca3af}.logo{width:44px;height:44px;border-radius:50%;background:#fff;color:#111827;display:grid;place-items:center;font-weight:900}#logout{margin-left:auto;background:transparent;color:#fff;border:1px solid #6b7280;border-radius:10px;padding:8px}main{max-width:760px;margin:auto;padding:18px 14px calc(20px + env(safe-area-inset-bottom))}.hero,.card{background:#fff;border-radius:18px;padding:18px;margin-bottom:14px;box-shadow:0 3px 14px #0000000c}.hero{background:#1f2937;color:#fff}.login{max-width:420px;margin:8vh auto}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.metric{background:#f9fafb;border-radius:14px;padding:14px}.metric b{display:block;font-size:1.5rem}.muted{color:#6b7280}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:10px 6px;border-bottom:1px solid #e5e7eb;text-align:left}.table td:last-child,.table th:last-child{text-align:right}nav button{border:0;background:none;padding:15px 12px;color:#6b7280}nav button.active{color:#111827;font-weight:800}label{display:block;font-weight:700;margin:12px 0 5px}input,select,.action{width:100%;font:inherit;padding:12px;border:1px solid #d1d5db;border-radius:12px}.player{display:grid;grid-template-columns:28px 1fr 110px;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #eee}.player input[type=checkbox]{width:22px;height:22px}.player label{margin:0}.action{margin-top:16px;background:#111827;color:#fff;font-weight:800}.danger{background:#991b1b}.notice{background:#fef3c7;padding:12px;border-radius:12px}.success{background:#dcfce7;padding:12px;border-radius:12px}.error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:12px}@media(min-width:650px){.grid{grid-template-columns:repeat(4,1fr)}}.eyebrow{font-size:.72rem;letter-spacing:.13em;color:#d1d5db;font-weight:800}.tabs{display:flex;gap:6px;margin-bottom:14px}.tabs button{flex:1;padding:9px;border:1px solid #d1d5db;border-radius:10px;background:#fff}.tabs button.selected{background:#111827;color:#fff}.recordgrid{display:grid;grid-template-columns:1fr;gap:0}.record strong{display:block;font-size:1.8rem;margin:5px 0}.record small,.table small{display:block;color:#6b7280}.playermetrics{margin-top:16px}@media(min-width:650px){.recordgrid{grid-template-columns:repeat(3,1fr);gap:10px}.recordgrid .card{margin-bottom:14px}}
.site-logo{width:48px;height:48px;object-fit:cover;border-radius:9px}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.gallery figure{margin:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 14px #0000000c}.gallery img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.gallery figcaption{padding:9px;font-size:.88rem}.gallery figcaption:empty{display:none}@media(min-width:650px){.gallery{grid-template-columns:repeat(3,1fr)}}
.tablewrap{overflow-x:auto}.standings{min-width:610px}.lightbox[hidden]{display:none}.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.94);z-index:50;display:flex;align-items:center;justify-content:center;padding:46px 48px}.lbcontent{text-align:center;color:#fff}.lbcontent img{max-width:calc(100vw - 100px);max-height:calc(100vh - 125px);object-fit:contain}.lbclose,.lbprev,.lbnext{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:50%;font-size:2rem;width:44px;height:44px}.lbclose{right:14px;top:14px}.lbprev{left:8px;top:50%}.lbnext{right:8px;top:50%}.gallery figure{cursor:pointer}.noscroll{overflow:hidden}

.game-link{border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}.trendbox{width:100%;overflow:hidden;margin:8px 0 22px}.trendbox canvas{display:block;width:100%}.recordnote{margin:-6px 4px 18px}
.comparepick{display:grid;grid-template-columns:1fr 1fr;gap:10px}.h2hgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.comparecard{background:#f9fafb;border-radius:14px;padding:14px}.comparecard .metric{padding:8px 0;background:transparent}.comparecard .metric b{font-size:1.2rem}.recap{border-left:5px solid #111827}@media(max-width:520px){.comparepick,.h2hgrid{grid-template-columns:1fr}nav button{white-space:nowrap;padding:15px 10px}}
.adminrow{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e5e7eb}.adminrow small,.gallery small{display:block;color:#6b7280}.adminrow button{padding:8px 12px;border:1px solid #d1d5db;background:#fff;border-radius:10px}.photoedit{margin-top:14px}
.action.secondary{background:#fff;color:#111827;border:1px solid #111827}.card small{display:block;color:#6b7280;margin-top:2px}

.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(4,34,29,.96),rgba(4,34,29,.70)),url("/poker-hero.jpg") center 22%/cover no-repeat;color:#fff;border-radius:18px;padding:28px 22px;margin-bottom:16px;min-height:125px;display:flex;flex-direction:column;justify-content:flex-end}
.hero h1{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.35)}.hero .eyebrow,.hero p{color:rgba(255,255,255,.9)}
.moment-card{border-left:4px solid #b7791f;background:#faf7f0;border-radius:10px;padding:12px 14px;margin:10px 0}.moment-tag{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.moment-card p{margin:6px 0}
.lightbox-edit{background:rgba(255,255,255,.96);color:#111827;border-radius:12px;padding:12px;margin-top:10px;text-align:left}.lightbox-edit label{display:block}.lightbox-edit input{width:100%;box-sizing:border-box}
textarea{width:100%;box-sizing:border-box;font:inherit;padding:10px;border:1px solid #d1d5db;border-radius:10px}
@media(min-width:700px){.hero{min-height:165px;padding:34px 28px}}

.hero{background-image:linear-gradient(90deg,rgba(3,25,22,.94),rgba(3,25,22,.48)),var(--hero-image,url("/hero-home.jpg?v=1.8"));background-position:center;background-size:cover}
.hero-home{--hero-image:url("/hero-home.jpg?v=1.8")}.hero-stats,.hero-head{--hero-image:url("/hero-stats.jpg?v=1.8")}.hero-history{--hero-image:url("/hero-history.jpg?v=1.8")}.hero-players{--hero-image:url("/hero-players.jpg?v=1.8")}.hero-game,.hero-enter,.hero-admin{--hero-image:url("/hero-game.jpg?v=1.8")}.hero-records,.hero-search{--hero-image:url("/hero-records.jpg?v=1.8")}.hero-photos{--hero-image:url("/hero-photos.jpg?v=1.8")}
.archive-card,.history-story{background:#f4ead6;border:1px solid #d9c49a;color:#352b1e;box-shadow:0 8px 22px rgba(74,54,28,.08)}
.archive-card{border-radius:16px;padding:18px}.archive-card .game-link{color:#684d1f}.archive-kicker{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#8a682d;margin:0 0 5px}.archive-card small{color:#695d49}
.history-years{display:flex;gap:6px;overflow:auto;padding-bottom:12px}.history-years button{border:1px solid #d7c49d;background:#fffaf0;border-radius:999px;padding:7px 12px}.history-years button.selected{background:#8a682d;color:#fff}.history-story{border-radius:14px;padding:18px;margin-top:4px}.history-story h2{font-size:1.7rem;margin-top:3px}.history-story p{line-height:1.65}.year-numbers{margin-top:16px}

nav button{flex:0 0 auto}.history-link-card{border-left:4px solid #8a682d}.history-link-card .action{display:inline-block;width:auto;margin-top:6px}

.player-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.identity-card{border:1px solid #d8ddd8;border-radius:16px;background:#fafbf8;padding:16px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;font:inherit;cursor:pointer;color:#17382e}.identity-card b{font-size:1.1rem;display:block;width:100%;text-align:center;overflow-wrap:anywhere;line-height:1.3;position:relative}.identity-card>span{font-size:.8rem;color:#59665f;display:block;width:100%;text-align:center;overflow-wrap:anywhere}.avatar{width:96px;height:96px;position:relative;border:3px solid #60766b;border-radius:50%;background:#183c31;display:flex;align-items:center;justify-content:center;flex-shrink:0;aspect-ratio:1/1;isolation:isolate}.avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;object-position:center 25%;border-radius:50%;clip-path:circle(50%)}.avatar.large{width:144px;height:144px}.avatar.winner{border-color:#c59637}.avatar.hot{border-color:#c56d36}.avatar.cold{border-color:#6a9ab5}.avatar-symbol{z-index:1;position:absolute;bottom:-6px;right:-4px;background:#f9f3e5;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:22px;color:#8b6219}.initials{color:#fff;font-size:1.5rem;font-weight:800}.identity-profile{display:flex;gap:20px;align-items:flex-start}.identity-profile h2{margin-top:0}.player-bio{line-height:1.65;overflow-wrap:anywhere}.form-badge{font-size:.85rem;color:#80612d}.lbcontent{max-height:calc(100dvh - 70px);overflow-y:auto;max-width:100%}.lbcontent img{max-height:50dvh}.lbcontent .game-link{color:#fff}.lightbox-edit{max-width:420px;margin:12px auto}.lightbox{padding:46px 42px}.identity-card:focus-visible{outline:3px solid #ba8734;outline-offset:3px}@media(max-width:480px){.identity-profile{flex-direction:column;align-items:center}.identity-profile>div{width:100%}.identity-profile .avatar{width:144px}.identity-profile h2{text-align:center}}@media(min-width:650px){.player-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}

.home-metrics{margin-bottom:16px}.home-metrics .metric{min-width:0}.home-metrics small{display:block;margin-top:7px;color:#59665f;font-size:.78rem;line-height:1.4;overflow-wrap:anywhere}.home-metrics .metric b{font-size:clamp(1.1rem,4vw,1.5rem);overflow-wrap:anywhere}

.recovery-rows{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem;background:#f4f4f0;padding:12px;border-radius:8px}

.hall-summary{margin-bottom:16px}.hall-summary .metric{min-width:0}.hall-summary small{display:block;font-size:.85rem;margin-top:5px;overflow-wrap:anywhere}.hall-heading{display:flex;align-items:center;gap:18px;margin-bottom:20px}.hall-heading>div:last-child{min-width:0}.hall-heading h2{margin:5px 0}.hall-heading .game-link{text-decoration:none;font-size:1.6rem;overflow-wrap:anywhere}.hall-winning-value{font-size:1.35rem;font-weight:800;color:#72521d;margin:5px 0}.hall-winning-value span{font-size:.8rem;font-weight:400;display:block}.hall-stats .metric{min-width:0;background:#f7f5ef}.hall-stats .metric b{font-size:1.2rem;overflow-wrap:anywhere}.hall-entry{border-top:3px solid #ae873e}@media(max-width:370px){.hall-heading{gap:12px}.hall-heading .avatar{width:76px;height:76px}.hall-heading .game-link{font-size:1.3rem}}

.unqualified-players{margin-top:16px}.unqualified-players summary{cursor:pointer;padding:10px 0;color:#665d4d}.hall-qualification{font-size:.85rem}

.poker-tip{border-top:3px solid #ae873e}.poker-tip h2{margin-bottom:8px}.tip-category{font-size:.8rem;color:#72521d;line-height:1.5}.tip-category span{color:#59665f}.poker-tip h3{margin:16px 0 8px;font-size:1.15rem;line-height:1.4}.tip-advice,.tip-example{line-height:1.65;overflow-wrap:anywhere}.tip-details{border-top:1px solid #e4e1d7;margin-top:16px}.tip-details summary{cursor:pointer;padding:12px 0;min-height:44px;color:#66532d;font-size:.9rem;line-height:1.5}.tip-details summary:focus-visible,.tip-source a:focus-visible{outline:3px solid #ba8734;outline-offset:3px}.tip-example{background:#f7f5ef;padding:12px;border-radius:8px;font-size:.95rem}.tip-source{font-size:.85rem;margin-bottom:0}.tip-source a{color:#365b49;overflow-wrap:anywhere}

.photo-albums button{padding:10px 14px;margin:0 8px 8px 0;border:1px solid #c7d1ca;border-radius:10px;background:#fff;color:#173f35}.photo-albums button[aria-pressed="true"]{background:#173f35;color:white}.archive-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.archive-photos:empty{display:none}.archive-photos figure{margin:0;min-width:0}.archive-photo-link{display:block;width:100%;padding:0;border:0;border-radius:10px;overflow:hidden;background:#e3d5bb;cursor:pointer}.archive-photo-link img{display:block;width:100%;height:180px;object-fit:contain}.archive-photos figcaption{font-size:.88rem;padding:6px 0;overflow-wrap:anywhere}.archive-entry+.archive-entry{margin-top:18px;padding-top:10px;border-top:1px solid #d9c49a}

.reading-list{padding-left:20px}.reading-list li{margin:14px 0}.reading-list small{display:block;color:#68766e;margin-top:5px}.avatar.roller{border-color:#8d69a5}.avatar.chasing{border-color:#2a8b76}.avatar.warming,.avatar.up{border-color:#b89952}.avatar.cooling,.avatar.down{border-color:#7796a8}
.upcoming-event{border-bottom:1px solid #e0e5df;padding:8px 0}.upcoming-event:last-child{border-bottom:0}.event-details,.moment-story{white-space:pre-line;overflow-wrap:anywhere;line-height:1.65}.moment-count{display:block;color:#68766e;margin:12px 0}.moment-controls{display:flex;gap:8px;flex-wrap:wrap}.moment-controls button,.photo-pagination button{font:inherit;padding:8px 14px;border:1px solid #ccd6ce;border-radius:8px;background:#f8faf6}.moments-board .moment-story{max-height:320px;overflow-y:auto}#upcomingAdmin summary{cursor:pointer;margin-top:16px}#upcomingAdmin .adminrow{gap:8px;flex-wrap:wrap}#upcomingAdmin .adminrow span{flex:1;min-width:130px}
.ask-examples{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.ask-examples button{font:inherit;font-size:.85rem;padding:8px 12px;border:1px solid #ccd6ce;border-radius:20px;background:#f0f5f1;color:#17382e}.ask-matches article{padding:10px 0;border-bottom:1px solid #dce5df}.ask-matches article:last-child{border-bottom:0}.ask-matches .moment-story{white-space:pre-line;overflow-wrap:anywhere}#askAnswer{margin-top:16px}
/* Home hierarchy: shared typography and spacing, distinct content surfaces. */
.home-standings{border:1px solid #d7e1da;overflow:hidden}.home-standings>h2{background:#17382e;color:#fff;margin:-18px -18px 16px;padding:16px 18px;font-size:1.15rem;line-height:1.4}.home-standings .muted{color:#59665f}
.home-metrics .metric{background:#e8f0e9;border:1px solid #d5e2d7;box-shadow:0 3px 12px rgba(23,56,46,.04)}.home-metrics .metric b{color:#17382e;font-size:clamp(1.3rem,5vw,1.65rem);line-height:1.25;margin-bottom:6px}.home-metrics .muted{color:#465c50;font-size:.85rem;font-weight:600}
#upcomingBoard{background:#fbf5e6;border:1px solid #e8d9b8;border-top:4px solid #b59048}#upcomingBoard>h2{color:#684d1f;margin-top:0;font-size:1.2rem}#upcomingBoard .muted{color:#695d49}#upcomingBoard .upcoming-event{border-color:#e8d9b8}
.moments-board{background:#f7efdf;border:1px solid #dfcfac;color:#352b1e;box-shadow:0 5px 18px rgba(74,54,28,.06)}.moments-board>h2{margin-top:5px;color:#493b26;font-size:1.25rem}.moments-board .muted,.moments-board .moment-count{color:#695d49}.moments-board .game-link{color:#684d1f}.moments-board .moment-controls button{background:#fffaf0;border-color:#d6c39a;color:#493b26}
.poker-tip{background:#edf3ec;border:1px solid #d3dfd2;border-top:0;border-left:4px solid #476b50}.poker-tip h2{color:#244a36;font-size:1.2rem;margin-top:5px}.poker-tip .archive-kicker,.poker-tip .tip-category{color:#47634d}.poker-tip .tip-details{border-color:#ceddce}
.home-latest{border:1px solid #d9e2dc}.home-latest>h2{margin-top:0;padding-bottom:10px;border-bottom:2px solid #d2dfd5;color:#244a36;font-size:1.2rem}.recap{border:1px solid #e0e6e1;background:#f8faf7}.recap h2{color:#365443;font-size:1.15rem}.history-link-card{border:1px solid #e2ddd0;background:#faf8f2}

/* v1.13: weekly pondering and the game-night archive */
.upcoming-pondering{margin-top:20px;padding:18px 20px;background:#eaf2f5;border-left:3px solid #28536a;border-radius:6px;color:#233e4d}.upcoming-pondering .pondering-line{font-family:Georgia,serif;font-size:1.2rem;line-height:1.6;margin:10px 0}.upcoming-pondering small{display:block;color:#526674;line-height:1.6}.game-night-story{border-top:4px solid #28536a}.story-navigation{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.game-night-story select{width:100%;max-width:100%}.story-standings summary{font-weight:600;padding:8px 0;cursor:pointer}.story-standings .tablewrap{margin-top:16px}.moment-card p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.upcoming-pondering{padding:16px}.story-navigation .action{flex:1 1 150px}}

.player-dna{border-top:4px solid #28536a}.dna-description,.dna-verdict{white-space:pre-wrap;overflow-wrap:anywhere}.dna-verdict{border-left:3px solid #a58343;padding:12px 16px;background:#f6f4ed}.player-dna summary{cursor:pointer;font-weight:600;padding:12px 0}.identity-card .directory-style{font-family:Georgia,serif;color:#28536a;font-size:1rem}

.rivalry-suggestions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.rivalry-streak{background:#eaf2ec;padding:16px;border-left:3px solid #24563b}.rivalry-legend{display:flex;gap:24px;flex-wrap:wrap;margin:12px 0}.rivalry-legend span:before{content:'';display:inline-block;width:20px;height:3px;background:#24563b;margin-right:8px;vertical-align:middle}.rivalry-legend span:last-child:before{background:#906b32}.rivalry-chart{display:block;width:100%;height:auto}.rivalry-chart text{font:12px system-ui;fill:#4b6054}.odd-records-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.odd-record{border-top:3px solid #24563b;min-width:0}.odd-record-value{font:500 2rem Georgia,serif;margin:14px 0}.odd-record summary{cursor:pointer;color:#24563b;padding:8px 0}.odd-record .table{margin-top:12px}.odd-record p{overflow-wrap:anywhere}@media(max-width:600px){.odd-records-grid{grid-template-columns:1fr}.rivalry-suggestions .action{width:100%}}

/* v1.16: the cast, the expectations and the eventual reckoning */
.talk-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.talk-toolbar{display:flex;align-items:end;gap:12px}.talk-toolbar label{flex:1;min-width:0}.talk-toolbar .action{width:auto}.talk-seat-list{padding:0;list-style:none}.talk-seat-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #d9e2dc;padding:10px 0}.talk-seat-list li>div{display:flex;gap:5px;flex-wrap:wrap}.talk-seat-list button{font:inherit;font-size:14px;min-height:44px;border:1px solid #ced8d0;border-radius:8px;padding:6px 9px;background:#fff;color:#244a36}.talk-seat-list button:disabled{opacity:.4}.talk-briefing{border-top:4px solid #24563b}.talk-buttons{display:flex;gap:10px}.talk-buttons .action{flex:1;min-width:0}.talk-prose{white-space:pre-wrap;overflow-wrap:anywhere}.talk-archive{border-top:1px solid #d9e2dc;padding:18px 0}.talk-archive h3{margin-top:0}textarea{width:100%;font:inherit;line-height:1.6;border:1px solid #cdd7cf;border-radius:10px;padding:12px;resize:vertical}details summary{min-height:44px;cursor:pointer;padding:10px 0}@media(max-width:480px){.talk-fields{grid-template-columns:1fr}.talk-seat-list li{align-items:start;flex-direction:column}.talk-toolbar{flex-wrap:wrap}.talk-toolbar .action{width:100%}.talk-buttons{flex-wrap:wrap}.talk-buttons .action{flex-basis:100%}}

.quick-capture{border-top:4px solid #28536a}.quick-note{border-top:1px solid #d9e2dc;padding:14px 0}.quick-review{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.quick-review button{font:inherit;min-height:44px;border:1px solid #ced8d0;border-radius:8px;padding:8px 12px;background:#fff;color:#244a36}

/* Keep navigation hidden until authenticated, including when nav uses flex. */
nav[hidden]{display:none}

/* Report portraits and the saved clockwise seating plan. */
.expression-note{font-size:.85rem;margin:6px 0 14px}.expression-strip{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 12px}.expression-player{flex:1 0 70px;max-width:120px;min-width:0;text-align:center}.expression-link{display:block;width:100%;padding:0;border:0;background:transparent;color:#17382e;font:inherit;cursor:pointer;border-radius:12px}.expression-head,.expression-initials{display:block;width:100%;height:86px;overflow:hidden;border-radius:12px;background:#05244a}.expression-initials{color:#fff;line-height:86px;font-size:24px;font-weight:700}.expression-link b{display:block;font-size:.85rem;margin:4px 0 2px;overflow-wrap:anywhere}.expression-player small{display:block;font-size:.8rem;line-height:1.4;color:#17382e;font-weight:600}.expression-link:focus-visible{outline:3px solid #ba8734;outline-offset:2px}.report-expressions{margin:14px 0 20px}.report-table{position:relative;width:100%;max-width:760px;height:540px;margin:0 auto}.report-baize{position:absolute;inset:20% 15%;border-radius:50%;border:12px solid #725032;box-shadow:inset 0 0 0 3px #bb8c55,inset 0 0 35px #113a26,0 5px 12px #0002;background:radial-gradient(ellipse,#33764e,#195535);display:flex;align-items:center;justify-content:center}.report-baize span{text-align:center;color:#d8e5ce99;font-weight:800;letter-spacing:3px;font-size:clamp(.85rem,2vw,1.3rem)}.report-table .expression-player{position:absolute;transform:translate(-50%,-50%);width:86px;max-width:none}.report-table .expression-link b,.report-table .expression-player small{background:#fffdf4;border-radius:5px}.report-table .expression-player small{padding:2px 0}@media(max-width:600px){.report-table{height:470px}.report-table .expression-player{width:64px}.report-table .expression-head,.report-table .expression-initials{height:64px}.report-table .expression-initials{line-height:64px}.report-table .expression-link b{font-size:.76rem}.report-table .expression-player small{font-size:.72rem}.report-baize{inset:21% 14%;border-width:9px}}

.expression-portrait{position:relative;display:block}.expression-form{position:absolute;right:0;bottom:-2px;background:#fffdf4;color:#17382e;border:1px solid #bfcaaf;border-radius:50%;min-width:25px;height:25px;line-height:23px;text-align:center;font-size:18px;box-shadow:0 1px 3px #0003}.expression-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.expression-editor{margin:16px 0}.expression-editor summary{cursor:pointer}.expression-choices label{font-weight:600}.expression-choices select{width:100%}

.report-export{margin:18px 0;padding:14px;background:#f3f6ed;border:1px solid #d2ddc9;border-radius:10px}.report-export p{font-size:.85rem;margin:8px 0}.report-export [hidden]{display:none}.report-export a.action{text-decoration:none;display:inline-block}

.hout-bay-card{border-left:4px solid #b5932f;background:#fffdf5}.hout-bay-next{border-top:1px solid #dbe2d9;margin-top:1rem;padding-top:1rem}.football-score{font-size:1.15rem;line-height:1.6}.football-score strong{white-space:nowrap;margin:0 .35rem;color:#24563b}

/* Seasonal balance and rank explorer */
.season-explorer{border-top:1px solid #dce3df;margin-top:1.5rem;padding-top:1rem}.season-controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.season-controls label{flex:1;min-width:140px}.season-players{display:flex;flex-wrap:wrap;gap:.6rem;border:0;padding:.8rem 0;margin:0}.season-players legend{font-weight:600;font-size:.9rem}.season-players label{display:flex;align-items:center;gap:.35rem;margin:0;border-left:4px solid var(--season-colour);padding:.2rem .45rem;font-size:.9rem}.season-players input{width:auto;margin:0}.season-chart svg{display:block;width:100%;height:auto;max-height:320px}.season-chart text{font-size:11px;fill:#53645a}.season-slider{display:block;margin-top:.5rem}.season-slider input{width:100%;padding:0;accent-color:#176b52}.season-summary th{white-space:nowrap}.season-definitions{margin-top:1rem}.season-summary small,.season-explorer details small{display:block}.turnstile-slot{margin:.8rem 0;min-height:0}.login-status{margin:.6rem 0}.security-status{font-size:.95rem}

/* Drawer navigation replaces the bottom bar on phones and installed home-screen apps. */
header{padding-top:calc(14px + env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.brand>div{min-width:0}.brand .menu-toggle{margin-left:auto;flex-shrink:0;display:flex;align-items:center;gap:7px;min-width:44px;min-height:44px;padding:9px 10px;border:1px solid #728479;border-radius:10px;background:transparent;color:#fff;font:inherit;cursor:pointer}.menu-toggle[hidden],.navigation-panel[hidden],.menu-backdrop[hidden],#nav[hidden]{display:none}.menu-toggle:focus-visible,#menuClose:focus-visible,#nav button:focus-visible,#logout:focus-visible{outline:3px solid #c9a45b;outline-offset:3px}.menu-backdrop{position:fixed;inset:0;z-index:70;background:#0008;border:0;touch-action:none}.navigation-panel{position:fixed;top:0;right:0;bottom:0;z-index:71;width:min(360px,100%);height:100%;height:100dvh;background:#fffdf8;color:#17382e;box-shadow:-8px 0 28px #0003;overflow-y:auto;overscroll-behavior:contain;padding:calc(16px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) 18px}.navigation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.navigation-heading h2{font-size:1.25rem;margin:0}#menuClose{flex-shrink:0;min-width:44px;min-height:44px;background:#eef2ec;border:0;border-radius:10px;font:28px system-ui;color:#17382e;cursor:pointer}#nav{position:static;display:grid;gap:5px;padding:0;margin:0;border:0;background:transparent;overflow:visible}#nav button{display:block;width:100%;min-height:44px;white-space:normal;text-align:left;font:inherit;border:0;border-radius:9px;padding:11px 13px;color:#3b5546;background:transparent;cursor:pointer}#nav button[hidden]{display:none}#nav button.active{background:#e1eadd;color:#17382e;font-weight:750}#nav button:hover{background:#edf2e8}.navigation-panel #logout{display:block;width:100%;margin:18px 0 0;padding:11px 13px;min-height:44px;border:1px solid #ced8ce;border-radius:9px;background:#fff;color:#17382e;text-align:left;font:inherit;cursor:pointer}.navigation-panel #logout[hidden]{display:none}body.menu-open{overflow:hidden}#app{scroll-margin-top:100px}@media(max-width:380px){.menu-toggle span{display:none}.brand small{font-size:.75rem}}@media print{#menuToggle,#menuBackdrop,#navigationPanel{display:none!important}}

.page-back{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #728479;border-radius:10px;background:transparent;color:#fff;cursor:pointer}.page-back[hidden]{display:none}.page-back:focus-visible{outline:3px solid #c9a45b;outline-offset:3px}@media(max-width:420px){.brand{gap:8px}.brand .site-logo{width:38px;height:38px}.brand .menu-toggle span{display:none}.brand small{font-size:.72rem}}@media print{#pageBack{display:none!important}}

.weekly-quiz .quiz-question{font-size:1.1rem;font-weight:600;white-space:pre-line}
.quiz-options{display:grid;gap:.65rem}
.quiz-option{display:block;width:100%;text-align:left;padding:.85rem 1rem;border:1px solid #c7cdbf;border-radius:10px;background:#f6f5ef;color:#213a2d;line-height:1.5;cursor:pointer;white-space:normal;overflow-wrap:anywhere;font:inherit}
.quiz-option:hover:not(:disabled),.quiz-option:focus-visible{border-color:#35644c;outline:2px solid #35644c;outline-offset:2px}
.quiz-option:disabled{opacity:1;cursor:default}
.quiz-correct{background:#e3efdc;border-color:#4d7540}
.quiz-incorrect{border-color:#946d55;background:#f4e8df}
.quiz-option span{font-size:.85em}.quiz-explanation{white-space:pre-line}.quiz-answer:empty{display:none}

.hero-christmas{--hero-image:url('/hero-game.jpg');border-bottom:4px solid #ba9757}
.christmas-season{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}.christmas-season h2{margin:0}.christmas-season label{min-width:140px}
.christmas-order{list-style:none;padding:0;counter-reset:christmas;display:grid;gap:0}.christmas-order li{counter-increment:christmas;position:relative;padding:16px 0 16px 52px;border-bottom:1px solid #ddd9ca}.christmas-order li:last-child{border-bottom:0}.christmas-order li:before{content:counter(christmas);position:absolute;left:0;top:18px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#17382e;color:#fff4dd;font-weight:bold}.christmas-order b,.christmas-order span{display:block}.christmas-order span{margin-top:5px;color:#637568;line-height:1.5}.christmas-seven-two{background:#f3eddb;border-left:4px solid #b69253;padding:18px;border-radius:8px;margin-top:20px}.christmas-seven-two p{margin-bottom:0}.christmas-handover img{display:block;max-width:100%;max-height:500px;margin:auto;border-radius:12px;object-fit:contain}.christmas-handover figcaption{text-align:center;color:#637568;margin-top:8px}.christmas-admin details{margin:18px 0}.christmas-admin summary{cursor:pointer;font-weight:600}.christmas-admin form{margin-top:16px}.christmas-admin #christmas-recover{margin-top:16px}

/* Photo viewer: top-layer dialog, full viewport and safe-area controls on phones. */
#lightbox{margin:0;border:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;z-index:100;padding:calc(64px + env(safe-area-inset-top)) max(42px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(42px,env(safe-area-inset-left));color:#fff;overscroll-behavior:contain}
#lightbox[hidden],#lightbox:not([open]){display:none}
#lightbox::backdrop{background:#000d}
#lightbox .lbcontent{width:100%;max-width:1100px;max-height:100%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#lightbox #lbimg{display:block;margin:0 auto;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 170px);max-height:calc(100dvh - 170px);object-fit:contain}
#lightbox .lbclose{top:calc(10px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));background:#ffffff30;color:#fff;z-index:2}
#lightbox .lbprev,#lightbox .lbnext{background:#ffffff30;color:#fff;z-index:2}#lightbox .lbprev{left:max(4px,env(safe-area-inset-left))}#lightbox .lbnext{right:max(4px,env(safe-area-inset-right))}
#lightbox #lbOriginal{display:inline-block;color:#fff;text-decoration:underline;padding:8px;min-height:44px}#lightbox #lbimageStatus:empty{display:none}#lightbox .lightbox-edit summary{cursor:pointer;font-weight:700;padding:4px}

.photo-thumbnail{display:block;border:0;background:transparent;padding:0;margin:0;width:100%;cursor:pointer;color:inherit;font:inherit}.photo-thumbnail:focus-visible{outline:3px solid #ba8734;outline-offset:3px}.photo-thumbnail img{display:block}.christmas-handover .photo-thumbnail{max-width:760px;margin:auto}
#lightbox[data-visible]{display:flex}
#lightbox .lbprev[hidden],#lightbox .lbnext[hidden]{display:none}

/* Enlarge in place without depending on native <dialog> rendering. */
#lightbox[data-visible]{position:fixed;inset:0;display:flex;visibility:visible;opacity:1;z-index:2147483647}
.photo-thumbnail{text-decoration:none}

/* The Folding Lounge */
.hero-lounge{background:linear-gradient(110deg,#111827ed,#172230c4),url('/hero-home.jpg') center/cover}.hero-lounge h1{font-family:Georgia,serif;font-size:2.35rem;font-weight:400;line-height:1.15}.lounge-jumps{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.lounge-jumps button{font:inherit;background:transparent;cursor:pointer;color:#f4e6ce;text-decoration:none;border:1px solid #ffffff45;border-radius:20px;padding:7px 12px;font-size:.8rem}.folding-lounge-link{background:linear-gradient(120deg,#f6efdf,#fff);border:1px solid #e4dac7}.folding-lounge-link h2{font-family:Georgia,serif;font-weight:400;font-size:1.8rem}.folding-lounge-link .action{width:auto;min-width:145px}.lounge-spotlight{background:#faf7f0;border:1px solid #e8dfce}.spotlight-heading{display:flex;gap:18px;align-items:center}.spotlight-heading h2{margin:4px 0}.spotlight-photo{width:100px;height:100px;flex:none;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 1px 5px #0001}.spotlight-title{font-family:Georgia,serif;font-size:1.9rem;line-height:1.2;font-weight:400;margin:23px 0 16px}.spotlight-story>summary{cursor:pointer;font-weight:700;color:#243345;padding:10px 0}.spotlight-story p{line-height:1.75}.spotlight-sources{font-size:.8rem;color:#716956;border-top:1px solid #e6ddce;padding-top:14px;margin-top:20px}.spotlight-sources summary,.spotlight-archive>summary{cursor:pointer;padding:8px 0}.spotlight-archive{border-top:1px solid #e6ddce;margin-top:20px;padding-top:10px}.spotlight-archive>summary{font-size:.85rem}.spotlight-archive article{padding:20px 0;border-bottom:1px solid #e6ddce}.spotlight-archive .spotlight-photo{width:70px;height:70px}.spotlight-archive .spotlight-heading h2{font-size:1.1rem}.spotlight-archive .spotlight-title{font-size:1.5rem}#weeklyQuiz,#playerSpotlight,#houtBayBoard{scroll-margin-top:100px}.lounge-jumps button:focus-visible,.spotlight-story summary:focus-visible,.spotlight-archive summary:focus-visible{outline:3px solid #b78942;outline-offset:3px}@media(max-width:480px){.spotlight-photo{width:80px;height:80px}.spotlight-heading{gap:12px}.spotlight-heading h2{font-size:1.15rem}.hero-lounge h1{font-size:2rem}}

#loungeMemories,#weeklyPokerTip,#loungeArchive,#loungeHistory{scroll-margin-top:100px}

.game-sharing .action{margin-top:0;width:auto}.game-sharing p:empty{display:none}

.story-report>details>summary{padding:12px 0;font-weight:700;cursor:pointer;color:#253b4e}.story-report-briefing{margin:12px 0}.story-report-panel{border-left:3px solid #b79050}.story-report-panel[hidden]{display:none}.story-report+.story-report{border-top:1px solid #e5e7eb;padding-top:12px;margin-top:12px}.story-report summary:focus-visible{outline:3px solid #b79050;outline-offset:3px}

.refresh-data{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;padding:8px;border:1px solid #526070;border-radius:10px;background:transparent;color:#fff;cursor:pointer;margin-left:auto}.refresh-data[hidden]{display:none}.refresh-data:disabled{opacity:.55;cursor:wait}.refresh-data:focus-visible{outline:3px solid #e2bd7e;outline-offset:3px}.refresh-data+.menu-toggle{margin-left:0}.refresh-status{max-width:760px;margin:6px auto 0;font-size:.75rem;color:#d3dbe6}.refresh-status:empty{display:none}@media(max-width:520px){.brand{gap:8px}.brand>.site-logo{width:36px;height:36px;flex:none}.brand>div{min-width:0;flex:1}.brand>div small{display:none}.brand>div b{font-size:.9rem}.menu-toggle span{display:none}.menu-toggle{padding:8px}.refresh-data{width:38px;height:38px}}

/* Keep rank changes beside the name without adding a mobile table column. */
.standings-name{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}
.position-arrow{font-size:1.05em;font-weight:800;line-height:1;display:inline-block;min-width:.8em;text-align:center}
.position-up{color:#187345}.position-down{color:#b52b34}.position-same,.position-new{color:#667085}

.form-run{display:inline-flex;align-items:center;gap:.2rem;white-space:nowrap;vertical-align:middle}
.form-result{display:inline-flex;align-items:center;justify-content:center;width:1.4rem;height:1.4rem;border-radius:0;font-size:.75rem;font-weight:700;line-height:1}
.form-w{color:#fff;background:#167d08}.form-l{color:#fff;background:#d80b41}.form-d{color:#fff;background:#60605e}.form-empty{color:#667085}

/* Folding Lounge odds: readable cards on narrow phones, with no horizontal table. */
.flop-odds>select{max-width:22rem}.odds-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:1rem 0}.odds-tile{padding:1rem;border:1px solid #dde3e0;border-radius:.65rem;background:#f8faf9}.odds-tile h3{font-size:1rem;margin:0 0 .65rem}.odds-price{font-size:1.7rem;font-weight:800;color:#21563e;margin:.3rem 0}.odds-price small{display:block;font-size:.8rem;font-weight:500;color:#59665e}.odds-sample{font-size:.8rem;line-height:1.5;margin-bottom:0}.odds-unpriced{font-weight:700}.odds-novelty{margin-top:1.1rem;border-top:1px solid #dde3e0;padding-top:1rem}.odds-novelty button{margin-top:.8rem}.odds-method,.odds-level{margin-top:1rem}.odds-method p{max-width:70ch}.odds-level .odds-tile{margin-top:.6rem}@media(max-width:380px){.odds-grid{grid-template-columns:1fr}}

.card-odds-facts>select{max-width:23rem}.fact-example{display:flex;flex-wrap:wrap;gap:1rem 1.8rem;margin:1.2rem 0}.fact-hand-label{display:block;font-size:.8rem;color:#58665f;margin-bottom:.4rem}.fact-playing-cards{display:flex;gap:.35rem}.fact-playing-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;width:2.65rem;height:3.7rem;background:#fff;border:1px solid #b8c2bd;border-radius:.35rem;box-shadow:0 2px 3px #152a1710;font-size:1.2rem;line-height:1.2}.fact-playing-card b{font-size:1rem}.fact-red{color:#b52238}.fact-black{color:#18271f}.fact-answer{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1rem}.fact-answer strong{font-size:2rem;letter-spacing:-.03em;color:#21563e}.fact-answer>span{color:#4d5f53}.fact-assumption{font-size:.9rem;line-height:1.6;color:#4e5a53;max-width:72ch}.fact-aside{font-style:italic;color:#536457}.fact-explanation{margin:1rem 0}.fact-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem;margin-top:1rem}.fact-frequency-note{font-size:.8rem;line-height:1.55;max-width:72ch;margin:1rem 0 0}

/* Poker School */
.school-rule{padding:15px;border-left:4px solid #b7791f;border-radius:10px;background:#fff7e6;line-height:1.55}
.school-grid,.school-board-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}
#school-content label{font-size:.94rem}#school-content label select,#school-content label input{margin-top:6px}
#school-content input,#school-content select,#school-content textarea{min-height:46px;max-width:100%;font-size:16px}
#school-content textarea{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:12px;font:inherit}
#school-content fieldset{margin:18px 0;padding:12px;border:1px solid #d1d5db;border-radius:12px;min-width:0}
#school-content legend{font-weight:700;padding:0 6px}#school-content .school-player-check{display:flex;align-items:center;gap:10px;font-weight:700}
#school-content input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin:0}
#school-content input:disabled,#school-content select:disabled{opacity:.7}
.school-table{position:relative;width:100%;height:350px;margin:14px 0;background:#f3f6f5;border-radius:16px;overflow:hidden}
.school-felt{position:absolute;inset:21% 20%;border:8px solid #664b36;border-radius:50%;background:radial-gradient(ellipse,#236b56,#123f34);color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:12px;font-size:.9rem}
.school-felt span{display:block;margin-top:7px}.school-seat{position:absolute;transform:translate(-50%,-50%);background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:7px 4px;width:76px;text-align:center;font-size:.78rem;line-height:1.15;overflow-wrap:anywhere}
.school-seat small{font-size:.67rem}.school-seat.chosen{border:2px solid #9a650d;background:#fff4d6;font-weight:800}
.school-lesson{margin-top:24px;border-top:1px solid #d1d5db;padding-top:10px;line-height:1.6}.school-lesson li{margin:10px 0}.school-maths{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.school-maths>div{padding:15px;background:#edf5f0;border-radius:12px}.school-maths b{display:block;font-size:1.8rem;color:#164c3c}.school-maths span{font-size:.9rem;line-height:1.3;display:block}
#school-content details{margin:18px 0}#school-content summary{cursor:pointer;font-weight:700}#school-content .talk-prose{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:650px){.school-board-inputs{grid-template-columns:repeat(3,minmax(0,1fr))}.school-table{height:400px}.school-seat{width:90px;font-size:.87rem}}
@media(max-width:360px){.school-grid{grid-template-columns:minmax(0,1fr)}.school-seat{width:61px;font-size:.72rem}.school-felt{inset:25% 22%;font-size:.75rem}}

.hand-hindsight{margin:24px 0;border-top:1px solid #d1d5db;padding-top:12px}.hindsight-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}.hindsight-cards button{min-height:44px;font:inherit;border:1px solid #cbd5d1;border-radius:8px;background:#fff;color:#143d32;font-weight:700}.hindsight-cards button.selected{background:#174d3d;color:#fff;border-color:#174d3d}.hindsight-cards button:disabled{opacity:.3}.hand-hindsight [hidden]{display:none!important}#hindsight-check:empty{display:none}

.hindsight-breakdown:not(:empty){background:#edf5f0;border-left:4px solid #236b56;padding:12px 16px;border-radius:10px;margin:14px 0}.hindsight-breakdown p{margin:7px 0}#hindsight-running button[aria-pressed=true]{background:#174d3d;color:#fff}#hindsight-running h4{margin-bottom:8px}

.equity-next-cards,.equity-runout-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.equity-next-cards>div,.equity-runout-list>div{background:#f0f5f2;border-radius:8px;padding:10px;text-align:center;overflow-wrap:anywhere}#hindsight-equity details{padding:8px 0}#hindsight-equity [role=status]:empty{display:none}@media(min-width:650px){.equity-next-cards,.equity-runout-list{grid-template-columns:repeat(3,minmax(0,1fr))}}

.record-history-controls{display:grid;gap:8px;grid-template-columns:minmax(0,1fr)}.record-history-ties{display:flex;gap:10px;align-items:center}.record-history-ties input[type=checkbox]{width:22px;height:22px;margin:0;flex:0 0 22px}.record-history-chart{max-width:100%;overflow-x:auto}.record-history-chart svg{width:100%;min-width:320px;display:block}.record-history-chart text{font:11px system-ui;fill:#475569}.record-history-chart [data-record-dot]{cursor:pointer}.record-history-selected{border-left:4px solid #176b52;padding:14px;background:#f0f6f2;border-radius:10px;margin:14px 0}.record-history-selected h3{margin:6px 0}.record-history-paging,.record-history-steps{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.record-history-paging button,.record-history-steps button{padding:10px;border:1px solid #cbd5d1;border-radius:8px;background:#fff;font:inherit;min-height:44px}.record-history-paging span{font-size:.8rem;text-align:center}.record-history-row-selected{background:#edf5f0}.record-history-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:.8rem}.record-history-legend span:first-child{color:#986412}.record-history-legend span:nth-child(2){color:#176b52}#recordTracker input[type=range]{width:100%}#recordTracker details{margin-top:18px}@media(min-width:650px){.record-history-controls{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.record-history-ties{grid-column:1/-1}}

/* Fictional practice decisions */
.school-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.school-modes button{font:inherit;font-size:.88rem;min-height:50px;overflow-wrap:anywhere}.scenario-table{background:radial-gradient(ellipse at top,#28634f,#103e33);border-radius:16px;padding:18px;color:#fff;margin:18px 0}.scenario-table .archive-kicker,.scenario-table h3{color:#fff}.scenario-table-facts{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.scenario-table-facts span{background:#ffffff19;border:1px solid #ffffff30;padding:6px 9px;border-radius:8px;font-size:.82rem}.scenario-card-group{margin:16px 0}.scenario-card-group>b{display:block;margin-bottom:8px;font-size:.85rem}.scenario-cards{display:flex;flex-wrap:wrap;gap:7px}.scenario-playing-card{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 42px;height:60px;background:#fff;color:#17212a;border-radius:7px;box-shadow:0 2px 5px #0003;line-height:1.1}.scenario-playing-card strong{font-size:1.2rem}.scenario-playing-card>span{font-size:1.3rem}.scenario-playing-card.scenario-red{color:#b12c3b}.scenario-action{line-height:1.6;padding-top:10px;border-top:1px solid #ffffff30}.scenario-no-board{font-size:.87rem;color:#d9e8e0}.scenario-assumptions{padding:12px 16px;background:#f4f1e8;border-radius:12px}.scenario-assumptions h4{margin:0 0 8px}.scenario-assumptions ul{padding-left:20px;margin:0;line-height:1.6}.scenario-choices{display:grid;gap:10px;margin:18px 0}.scenario-choice{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;text-align:left;align-items:center;background:#fff;border:1px solid #c9d6cf;border-radius:12px;padding:14px;font:inherit;min-height:58px;cursor:pointer}.scenario-choice>span{border-radius:50%;background:#eaf1ed;display:grid;place-items:center;width:28px;height:28px;font-weight:800}.scenario-choice:disabled{cursor:default;color:#374151;opacity:1}.scenario-choice.scenario-chosen{border:2px solid #176b52;background:#edf5f0}.scenario-choice small{grid-column:2;font-weight:700}.scenario-feedback{padding:18px;border-radius:14px;background:#f7f3ea;border-left:4px solid #ad7a28;margin:18px 0;line-height:1.6}.scenario-feedback.scenario-preferred{background:#edf5f0;border-left-color:#176b52}.scenario-feedback h3{margin-top:6px}.scenario-choice-lesson{border-top:1px solid #0002;padding-top:12px;margin-top:12px}.scenario-choice-lesson p{margin:6px 0 12px}.scenario-takeaway{font-weight:800;font-size:1.08rem}.scenario-navigation{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scenario-navigation .action{margin-top:8px;font-size:.9rem}@media(max-width:360px){.school-modes button{font-size:.78rem;padding:8px 4px}.scenario-table{padding:14px}.scenario-playing-card{flex-basis:38px;height:56px}}

/* One shared weekly quotation, with room for longer historical excerpts on mobile. */
.table-wisdom{background:linear-gradient(135deg,#f8f3e8,#fffdf8);border-top:4px solid #ac8849}.weekly-quotation{margin:18px 0}.weekly-quotation blockquote{margin:0;border:0;padding:0}.weekly-quotation blockquote p{font-family:Georgia,serif;font-size:clamp(1.2rem,4.5vw,1.7rem);line-height:1.5;overflow-wrap:anywhere;color:#244638}.weekly-quotation figcaption{font-size:.92rem;line-height:1.5;overflow-wrap:anywhere}.quote-week{font-size:.82rem}.quote-source{font-size:.88rem;display:inline-block;padding:8px 0;overflow-wrap:anywhere}
