/* Selected Classic Americana presentation; runtime behavior unchanged. */
body{--red:#a62232;--navy:#102e4b;background:#edf0f2;color:#173047;font-family:Georgia,serif}
header{background:white;background-image:none;color:var(--navy);display:flex;align-items:center;justify-content:center;gap:24px;padding:12px 24px;border-bottom:4px solid var(--red)}header img{height:104px;width:104px;object-fit:contain;margin:0}header .brand-copy{text-align:left;display:grid;gap:8px}.brand-copy span{font:11px system-ui;letter-spacing:.2em}.brand-copy strong{font:26px 'Goudy Bookletter 1911',Georgia,serif}
main{max-width:1000px;background:#fffdf8;margin:20px auto 32px;padding:0 36px 24px;box-shadow:0 8px 35px #142b4210;border:1px solid #cbd3d9}nav{font:12px system-ui;padding:6px 0}.sound-controls{font-family:system-ui}.sound-controls button{font:12px system-ui}.small{font-family:system-ui;font-size:12px;line-height:1.5}
#setup{display:grid;grid-template-columns:1fr 1fr;gap:20px 48px;text-align:left;padding:24px 0}#setup h1{font:42px/1.05 'Goudy Bookletter 1911',Georgia,serif;max-width:390px}#setup p{line-height:1.55}.eyebrow{font:10px system-ui!important;letter-spacing:.18em;color:var(--red);font-weight:700!important}.how-to{border-top:1px solid #cbd0d5;border-bottom:1px solid #cbd0d5;padding:12px 0;font-size:14px}.how-to summary{cursor:pointer}.intro-rules{margin:10px 0;border:0;padding:0;font-size:14px}.rival-note{margin-bottom:0!important}#start{border-left:1px solid #d9d9d1;padding-left:32px}#difficulty{width:100%;margin:8px 0 12px;font:14px system-ui}.score-toggle{justify-content:flex-start;font:14px system-ui}#start button{width:100%;border-radius:5px;margin-top:8px}.deal-note{grid-column:2;text-align:center;margin:0!important;font-size:11px!important}.leaderboard-announcement{font:11px system-ui;margin:12px 0}.collection>summary,.rival-record>summary{font-size:17px;min-height:44px;display:list-item;padding-top:10px}.trophy-row{box-shadow:none}.scoreboard{padding:14px 0 18px}.arena{max-width:700px;padding:20px;border:1px solid #cbd3d9;border-radius:6px;background:white}.reveal-card{box-shadow:0 4px 10px #152b3e10}.card{box-shadow:0 3px 5px #152b3e09;border-radius:5px}.actions button{border-radius:5px}#hand-section{margin-top:22px}.piles{max-width:700px}footer{background:transparent;color:var(--navy);border-top:1px solid #cbd0d5;font:11px system-ui;padding:18px}.text-button{font-size:13px}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #a36e00;outline-offset:3px}
/* A: clean civic stationery, red rule, white masthead and generous split home. */
.theme-A main{border-top:6px solid var(--navy)}.theme-A header:after{content:'★';font-size:28px;color:var(--red);margin-left:40px}.theme-A .arena{border-top:4px solid var(--navy)}
@media(max-width:650px){header{gap:14px;padding:9px 16px}header img{width:70px;height:70px}.brand-copy strong{font-size:19px}.brand-copy span{font-size:9px;letter-spacing:.12em}.theme-A header:after{display:none}main{margin:12px 10px 20px;padding:0 14px 18px}#setup{grid-template-columns:1fr;gap:14px;padding:14px 0;text-align:left}#setup h1{font-size:30px;max-width:none}#setup p{margin:8px 0}.eyebrow{margin-top:0!important}.rival-note{display:none}#start{display:block;border-left:0;padding:12px;background:#edf0ef;border-radius:7px}.deal-note{grid-column:1}.arena{padding:10px 6px;gap:8px;max-width:100%;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr)}.arena article:last-child h2{font-size:16px}.arena h2{font-size:16px}.reveal-card{height:126px}.reveal-card img{height:60px}.reveal-card small{font-size:12px}#hand-section{margin-top:14px}.scoreboard{padding:8px 0 12px}#match-outcome{font-size:12px}#match-outcome strong{font-size:13px}.match-console p{font-size:11px}#hand{gap:6px}.card small{font-size:11px}nav{font-size:10px}.sound-controls{gap:10px}footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
header{height:auto;min-height:0}header img{position:static;transform:none;opacity:1;flex:none}header span{white-space:normal}main>nav{padding-top:6px}
/* Carry the selected stationery treatment through secondary game surfaces. */
.game-result{background:#fff;border:1px solid #cbd3d9;border-top:4px solid var(--navy);border-radius:6px;box-shadow:0 4px 16px #142b4210;color:var(--navy)}
.game-result[data-winner="0"]{border-top-color:var(--red)}
.game-result h2{font-family:'Goudy Bookletter 1911',Georgia,serif}.game-result .back-home,.view-trophies{color:var(--navy)}
dialog{background:#fffdf8;border:1px solid #aebcc7;border-top:4px solid var(--navy);border-radius:6px;box-shadow:0 12px 50px #102e4b33}
dialog h2{font-family:'Goudy Bookletter 1911',Georgia,serif;color:var(--navy)}dialog button{border-radius:5px}dialog::backdrop{background:#102e4ba6}
.cabinet-guide>summary,.how-to>summary{min-height:44px;align-content:center}.cabinet-hint,.cabinet-guide .small{line-height:1.5}.rival-record table{font-size:14px}.trophy-row h3{font-size:16px}
@media(max-width:650px){.game-result{padding:14px 10px}dialog{padding:18px}dialog h2{font-size:23px}.rival-record table{font-size:12px}}
.game-result[data-winner]{background:#fff;border:1px solid #cbd3d9;border-top:4px solid var(--navy)}
.game-result[data-winner="0"]{border-top-color:var(--red)}
.game-result button{border-radius:5px}

/* Reserve two helper lines at narrow widths; animation never changes live text. */
.deal-note{min-height:3.2em;display:flex;align-items:center;justify-content:center;}
.deal-note.is-pending{animation:deal-story-pulse 1s ease-in-out infinite;}
@keyframes deal-story-pulse{50%{opacity:.65;}}
@media(prefers-reduced-motion:reduce){.deal-note.is-pending{animation:none;}}
