/* PARLOR / V2 — one authored, game-first visual system.
   Architectural material palette: evergreen felt, ink, warm paper, brass and walnut. */
:root{--night:#10221f;--night2:#1b342d;--felt:#234f42;--ivory:#f5eee0;--paper:#fcf7e9;--muted:#b4c4ba;--brass:#d7b77d;--ink:#1a2824}
body:not(.light){background:linear-gradient(180deg,#122b25 0,#10221f 560px,#0e211d 100%);font-family:"Avenir Next","Trebuchet MS","Segoe UI",sans-serif}
.site-header{max-width:1500px;min-height:84px;gap:clamp(14px,2vw,30px);border-color:#d6c49427;padding:16px clamp(17px,3.5vw,45px);background:#10241fef;backdrop-filter:blur(14px);position:sticky;top:0;z-index:40}
.brand-glyph{border-radius:10px;width:43px;height:43px;box-shadow:inset 0 0 0 1px #e3cb9055;font-size:29px}
.brand-name{font-size:19px;letter-spacing:.15em}
.brand-sub{letter-spacing:.14em}
.primary-nav{display:flex;gap:clamp(10px,2vw,24px);align-items:center;min-width:0}
.primary-nav button,.primary-nav a{font:600 13px/1.3 "Avenir Next","Trebuchet MS",sans-serif;color:#e0e3d9;background:none;border:0;text-decoration:none;white-space:nowrap;min-height:44px;padding:9px 2px}
.primary-nav button:hover,.primary-nav a:hover{color:var(--brass)}
.primary-nav button:focus-visible,.primary-nav a:focus-visible{outline:2px solid var(--brass);outline-offset:4px;border-radius:3px}
.header-right{gap:9px}
.account-button{font-size:13px;border-radius:40px;padding:8px 16px;min-width:101px;text-align:center}
.site-header .icon-button{border-radius:50%;width:44px;height:44px}
main{max-width:1500px;padding-top:30px;padding-bottom:75px}
.hero-v2{grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:clamp(16px,3vw,45px);align-items:stretch}
.hero-v2 .hero-copy{padding:24px 6px 24px 0;min-width:0}
.hero-v2 h1{font:normal clamp(46px,5.2vw,78px)/1.02 Georgia,"Times New Roman",serif;letter-spacing:-.047em;margin:15px 0 18px;max-width:680px}
.hero-v2 h1 em{font-weight:normal;color:#e1c18c}
.hero-v2 .hero-copy>p{font-size:clamp(16px,1.4vw,19px);line-height:1.6;max-width:550px;color:#c2d1c6}
.hero-v2 .hero-actions{margin-top:23px}
.hero-v2 button{border-radius:40px}
.hero-footnote{margin-top:24px;font-size:12px;letter-spacing:.06em;color:#aabfb0}
.hero-folio{position:relative;min-height:330px;border:1px solid #cfbb8b61;border-radius:8px 38px 9px 9px;background:linear-gradient(135deg,#173b32,#224c3e 62%,#143329);padding:clamp(24px,4vw,46px);overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate;box-shadow:inset 0 0 65px #06151155,0 24px 50px #05120d2a}
.hero-folio:before{content:"";position:absolute;inset:14px;border:1px solid #d6bd8540;border-radius:4px 26px 4px 4px;pointer-events:none;z-index:-1}
.hero-folio .eyebrow{position:absolute;top:33px;left:clamp(24px,4vw,46px);font-size:11px}
.hero-folio .folio-mark{font:normal clamp(48px,6vw,95px)/1 Georgia,serif;letter-spacing:.09em;color:#eed5a7;margin:0 0 auto;text-align:right;text-shadow:0 6px 8px #07181156}
.hero-folio .folio-mark span{color:#9ed4b8}
.hero-folio h2{font:normal clamp(27px,2.6vw,38px)/1.12 Georgia,serif;max-width:320px;margin:0 0 7px}
.hero-folio p{max-width:340px;color:#d4ded0;font-size:14px;margin:0 0 17px}
.folio-actions{display:flex;gap:8px;flex-wrap:wrap}
.folio-actions button{background:#e8dfc920;border:1px solid #f7e9c15e;color:#f9f0db;padding:9px 14px;min-height:43px;font:600 12px "Avenir Next","Trebuchet MS",sans-serif}
.folio-actions button:hover{background:#ebd5ac30}
.play-ribbon{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px 25px;margin:23px 0 12px;padding:15px 0;border-top:1px solid #cdbb9034;border-bottom:1px solid #cdbb9034}
.play-ribbon span{font-size:10px;letter-spacing:.13em;color:#c8d0bd;font-weight:700}
.section-title{margin:37px 0 18px;align-items:end}
.section-title h2{font-size:clamp(27px,2.8vw,38px);letter-spacing:-.026em}
.section-title p{font-size:13px;line-height:1.6}
.set-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.set-card{border:1px solid #d7bc854b;background:#182d27;padding:clamp(18px,2vw,28px);display:flex;flex-direction:column;min-height:315px;position:relative;overflow:hidden;border-radius:7px 27px 7px 7px}
.set-card.set-walnut{background:#2a2b23}.set-card.set-slate{background:#233737}
.set-card:before{content:"";width:145px;height:145px;position:absolute;right:-65px;top:-68px;border:1px solid #d4b98745;border-radius:50%;pointer-events:none}
.set-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.set-number{font:normal 23px Georgia,serif;color:#e3c491}
.set-card h3{font:normal clamp(26px,2.6vw,35px)/1.1 Georgia,serif;margin:14px 0 8px;letter-spacing:-.02em}
.set-card>p{color:#c1cdbf;font-size:13px;line-height:1.6;min-height:42px}
.set-card ol{list-style:none;padding:0;margin:16px 0 17px;display:grid;gap:8px;flex:1}
.set-card li{font-size:13px;color:#e6e6d7;display:flex;gap:12px;align-items:baseline}
.set-card li span{font-size:10px;color:#d9ba7d}
.set-card li.set-done{color:#a3d2b7}.set-card li.set-done span:after{content:" ✓";color:#97caa6}
.set-bottom{border-top:1px solid #ccb8883c;padding-top:14px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.set-bottom span{font-size:11px;color:#d3d5c4}
.set-card .secondary-button{border:1px solid #d2c38d8c;border-radius:30px;padding:8px 16px;min-height:42px;font-size:12px;background:#e6d6b512;color:#f7ead4}
.sets-disclosure{font-size:12px;color:#a8bcaf;margin-top:12px}
.daily-section{scroll-margin-top:110px}.sets-section,.player-desk,#library,.promise-section{scroll-margin-top:110px}
.daily-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.daily-game{border-radius:8px 20px 8px 8px;padding:16px;background:#ffffff08;min-height:112px}
.daily-game:hover{background:#ffffff13}.daily-game strong{font-size:17px}.daily-game small{font-size:11px}
.game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.game-tile{border-radius:8px 21px 8px 8px;min-height:225px;padding:21px;background:#ffffff08;box-shadow:none}
.game-tile:hover{transform:translateY(-2px);background:#ffffff13}
.game-tile h3{font-size:24px}.game-tile p{font-size:13px;line-height:1.45}
.game-tile .play-affordance{border-radius:50%;width:36px;height:36px;right:14px;bottom:14px;font-size:22px}
.game-emblem{font-size:52px;height:65px}
.game-badge{font-size:10px}
.family-filter{border-radius:30px}
.promise-section{margin-top:60px;border-top:1px solid #cdbb904c;border-bottom:1px solid #cdbb904c;padding:38px 0;display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(24px,5vw,75px)}
.promise-section h2{font:normal clamp(30px,3.2vw,44px)/1.08 Georgia,serif;margin:12px 0}
.promise-section p{font-size:14px;line-height:1.65;color:#bbcabf;max-width:550px}
.promise-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px}
.promise-links a{color:#e5c58e;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.promise-plus{background:#223c34;border:1px solid #d0bc8d4e;border-radius:8px 20px 8px 8px;padding:24px}
.promise-plus h3{font:normal 28px Georgia,serif;margin:10px 0}
.promise-plus a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin-top:16px;font-size:13px;border-radius:30px}
.play-guide{border:1px solid #c6b98c62;border-radius:12px;background:#ffffff09;margin:-5px 0 18px}
.play-guide summary{cursor:pointer;padding:12px 16px;font-weight:700;font-size:14px;color:#f3e8d2}
.play-guide summary span{font-size:12px;font-weight:400;color:#b3c8b9;margin-left:10px}
.play-guide .guide-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 16px 15px}
.play-guide .guide-content p{font-size:12px;color:#c4d3c5;line-height:1.6}
.play-guide .guide-content strong{color:#f3e1b6}
.game-head{margin-bottom:16px}.game-head h1{letter-spacing:-.025em}
.game-head .game-actions{gap:8px}
.game-next{border-radius:11px}
.site-footer{max-width:1500px;border-top:1px solid #cdbb9041}
@media(max-width:1180px){.site-header{flex-wrap:wrap}.primary-nav{order:3;width:100%;justify-content:flex-start;gap:22px;border-top:1px solid #ffffff16;padding-top:6px}.header-right{margin-left:auto}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.daily-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.hero-v2{grid-template-columns:1fr}.hero-folio{min-height:215px;padding:25px}.hero-folio .eyebrow{top:24px;left:25px}.hero-folio .folio-mark{font-size:55px}.hero-folio h2{max-width:100%}.set-grid{grid-template-columns:1fr 1fr}.promise-section{grid-template-columns:1fr}.play-guide .guide-content{grid-template-columns:1fr}}
@media(max-width:650px){.site-header{padding:12px 15px;gap:7px;position:sticky}.brand-name{font-size:17px}.brand-sub{font-size:7px}.primary-nav{order:3;width:calc(100vw - 30px);overflow-x:auto;scrollbar-width:thin;gap:17px;white-space:nowrap;padding:4px 0 0}.primary-nav button,.primary-nav a{font-size:12px;min-height:38px}.account-button{min-height:40px;min-width:82px;font-size:12px}.site-header .icon-button{width:40px;height:40px}.hero-v2 .hero-copy{padding:5px 0 13px}.hero-v2 h1{font-size:clamp(38px,9vw,49px);margin:10px 0}.hero-v2 .hero-copy>p{font-size:14px;line-height:1.52}.hero-v2 .hero-actions{margin-top:13px}.hero-v2 .hero-actions button{min-height:43px;padding:9px 13px;font-size:12px}.hero-footnote{margin-top:14px;font-size:10px}.hero-v2{gap:8px}.hero-folio{min-height:154px;padding:19px 20px}.hero-folio:before{inset:8px}.hero-folio .eyebrow{top:15px;left:20px;font-size:9px}.hero-folio .folio-mark{font-size:39px;position:absolute;right:23px;top:13px}.hero-folio h2{font-size:23px;margin-top:22px}.hero-folio p{font-size:11px;margin-bottom:7px}.folio-actions button{min-height:37px;padding:7px 11px;font-size:11px}.play-ribbon{margin:14px 0 4px;padding:10px 0;gap:7px 12px}.play-ribbon span{font-size:9px}.section-title{margin:23px 0 14px}.set-grid{grid-template-columns:1fr}.set-card{min-height:0;padding:18px}.set-card ol{margin:12px 0}.set-card h3{font-size:28px}.set-card>p{min-height:0}.daily-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.daily-game{min-height:110px;border-radius:8px 15px 8px 8px}.game-grid{grid-template-columns:1fr 1fr;gap:8px}.game-tile{min-height:207px;padding:14px}.game-tile h3{font-size:20px}.game-tile p{font-size:11px}.game-emblem{font-size:43px;height:51px}.game-tile .play-affordance{width:30px;height:30px;right:12px;bottom:10px}.promise-section{margin-top:35px;padding:26px 0}}
@media(max-width:365px){.brand-name{font-size:15px}.set-bottom button{width:100%}.daily-grid,.game-grid{grid-template-columns:1fr}.game-tile{min-height:160px}.hero-v2 h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.hero-v2 *, .set-card *, .game-tile{transition:none!important}}

/* Mobile game-first: no oversized promotional art and no three-card vertical wall. */
@media(max-width:650px){
 .hero-v2 .hero-folio{display:none}
 .hero-v2 .hero-copy{padding:3px 0 8px}
 .hero-v2 h1{max-width:490px}
 .set-grid{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;gap:12px;padding:1px 1px 13px;scrollbar-color:#c9b381 #ffffff10}
 .set-card{flex-grow:0;flex-shrink:0;flex-basis:85vw;width:85vw;max-width:335px;min-width:265px;scroll-snap-align:start;min-height:290px}
 .sets-disclosure:before{content:"Swipe to browse all three sets. "}
}
@media(max-width:365px){.set-card{flex-basis:88vw;width:88vw;min-width:0}}

/* Honest, nonpunitive game assists */
.word-cell.hint-start{outline:3px solid #f3ce7b!important;outline-offset:-3px;background:#efd8a8!important;color:#22382a!important;box-shadow:inset 0 0 0 2px #6d5634}
.trivia-option:focus-visible,.word-cell:focus-visible{outline:3px solid #f6d289;outline-offset:3px}
.set-card:focus-within{border-color:#f3d695}

/* Maintain readability when the player chooses parchment or high contrast. */
body.light .primary-nav button,body.light .primary-nav a{color:#213b30}
body.light .primary-nav button:hover,body.light .primary-nav a:hover{color:#855e23}
body.light .site-header{background:#f7f0e2f5;border-color:#786e4a33}
body.light .hero-v2 .hero-copy>p{color:#415a4d}
body.light .hero-footnote,body.light .play-ribbon span{color:#3c594b}
body.light .promise-section p{color:#466052}
body.light .section-title p{color:#4f6759}
body.light .play-guide{border-color:#5c745e6b;background:#e1e7d96b}
body.light .play-guide summary{color:#234238}
body.light .play-guide summary span,body.light .play-guide .guide-content p{color:#466052}
body.light .play-guide .guide-content strong{color:#36533f}
body.high-contrast .primary-nav button:focus-visible,body.high-contrast .primary-nav a:focus-visible{outline-width:4px}