/* Reading first: ornamental headings, clear body text, generous touch targets. */
:root{--muted:#bec1b7;--reading:system-ui,-apple-system,'Segoe UI','Microsoft YaHei',sans-serif}
body,html[lang=en] body{font-family:var(--reading);font-size:16px;line-height:1.8}
button,input,select{font-family:var(--reading)}
button,a,select{touch-action:manipulation}
h1,h2,h3,.brand,.footer-brand,.year,.hero h1{font-family:var(--serif)}
p,html[lang=en] p{font-size:16px;line-height:1.85}
.language,.menu,.quiet,.shuffle{min-height:44px}.links a{display:inline-flex;align-items:center;min-height:44px}
.page-intro,html[lang=en] .page-intro{font-size:18px;max-width:46em;color:#c4c7bd}
.rule-chapter p,.timeline p,.strategy p,.alias-grid p{color:#c4c7bd}
.reading-body,.history-reading,.history-copy,.strategy,.rule,.flow article{min-width:0}
.history-nav a:focus-visible,.contents a:focus-visible{outline-offset:2px}
.sources a,.photo-sources a{display:inline-block;padding-block:7px}
summary{min-height:44px;cursor:pointer;align-content:center}
button:disabled{cursor:not-allowed}
@media(max-width:1000px){
 .links{gap:12px}.links a,html[lang=en] .links a{font-size:14px}.nav{gap:15px}.nav-tools{gap:10px}
 .history-shell{gap:32px;grid-template-columns:160px minmax(0,1fr)}
}
@media(max-width:760px){
 html{scroll-padding-top:90px}body{overflow-wrap:break-word}
 .wrap{width:calc(100% - 36px)}
 .nav{height:68px;gap:12px}.brand{font-size:31px}.brand span{font-size:22px;margin-right:7px}.nav-tools{gap:7px}.language{font-size:13px;padding:7px 13px}.menu{display:block;width:44px;padding:0}
 .links{display:none;position:absolute;inset:68px 0 auto;background:#171c19;max-height:calc(100dvh - 68px);overflow-y:auto;padding:12px 18px;border-bottom:1px solid var(--line);gap:0;flex-direction:column;box-shadow:0 20px 35px #0006}
 .links.open{display:flex}.links a,html[lang=en] .links a{font-size:16px;min-height:52px;border-bottom:1px solid #ffffff0a}.links a:after{display:none}
 .page-title{padding-top:112px;padding-bottom:32px}.page-title h1,html[lang=en] .page-title h1{font-size:clamp(32px,8.8vw,48px);line-height:1.25;letter-spacing:0;margin:18px 0;text-wrap:balance}
 .page-intro,html[lang=en] .page-intro{font-size:16px;line-height:1.8}.eyebrow{font-size:11px;letter-spacing:1.7px}
 h2,.section-head h2{font-size:29px;line-height:1.45;letter-spacing:0;text-wrap:balance}h3{line-height:1.5}
 p,html[lang=en] p,.intro,.rule p,.strategy p,.flow p,.timeline p,.alias-grid p,.rule-chapter p,.history-copy p,.section-head p{font-size:16px;line-height:1.85}
 .hero{padding-top:112px;min-height:0}.hero h1{font-size:clamp(68px,17.8vw,115px);letter-spacing:-3px;line-height:1;margin-top:24px}.hero h2{font-size:clamp(24px,6.5vw,35px);letter-spacing:0;line-height:1.5;max-width:100%}.hero .intro{max-width:100%}
 .hero .eyebrow{font-size:10px}.hero-art{top:350px;right:-15%;height:390px;width:130%;opacity:.65}.hero-copy{max-width:100%}.hero-deal .playing-card{top:auto;bottom:142px;left:56%;width:82px;height:120px}.hero-deal .playing-card:nth-child(2){left:33%;bottom:152px}.hero-deal .playing-card:nth-child(3){display:none}
 .hero-bottom{margin-top:220px;padding:20px 0 26px}.explore-controls{max-width:none;font-size:13px;margin-top:24px;align-items:center;flex-wrap:wrap}.explore-controls .shuffle{font-size:14px}.actions{gap:22px;flex-wrap:wrap}.primary,.text-link{font-size:15px;min-height:46px}.primary{padding:11px 20px;gap:16px}
 .stats{gap:14px}.stat b{font-size:30px}.stat span{font-size:12px}.scroll-note{display:none}
 section:not(.hero){padding:54px 0}.section-head{margin-bottom:26px;display:block}.section-head p{max-width:none;margin-top:16px}
 .rules-grid{grid-template-columns:1fr}.rule{padding:24px;border-right:0;border-bottom:1px solid var(--line)}.rule-symbol{margin-bottom:12px;font-size:31px}.rule h3{font-size:23px}.rule:last-child{border-bottom:0}.upgrade{padding:20px;gap:12px}.upgrade span{font-size:15px}
 .hand-layout{display:block}.hand-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;margin-bottom:18px}.hand-tab{min-width:0;white-space:normal;font-size:14px;min-height:46px;padding:9px 12px}.hand-tab .suit,.hand-tab .arrow{display:none}.demo{padding:18px 14px}.demo-top{gap:8px;flex-wrap:wrap}.demo-top span{font-size:10px;letter-spacing:1px}.demo .cards{min-height:180px;padding:24px 5px;overflow:hidden}.demo .playing-card{width:59px;height:91px;flex-shrink:0;margin-left:-21px}.demo .playing-card:first-child{margin-left:0}.demo .playing-card .corner{font-size:19px;left:5px;top:7px}.demo .playing-card .corner small{font-size:14px}.demo .playing-card .corner.bottom{left:auto;top:auto;right:5px;bottom:7px}.demo-bottom{display:flex;flex-direction:column;align-items:stretch;gap:16px}.demo h3{font-size:26px}.demo-bottom .shuffle{align-self:start;font-size:15px}.hand-note{font-size:14px!important;line-height:1.85}.flow{grid-template-columns:1fr;gap:24px}.flow h3{font-size:23px}
 .reading-layout{display:block;padding:26px 0 52px}.contents{position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:36px}.contents .eyebrow{grid-column:1/-1;margin-bottom:6px}.contents a{display:flex;align-items:center;padding:11px 12px;min-height:48px;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.55}
 .rule-chapter{padding-bottom:30px;margin-bottom:30px;scroll-margin-top:88px}.rule-chapter h2{font-size:28px}.rule-example{padding:18px 15px;margin-top:20px;border-radius:0 10px 10px 0}.rule-example p{font-size:15px}.inline-cards{gap:7px}.inline-cards i{margin:0 4px}.mini-card{width:43px;height:65px;font-size:23px}.mini-card small{font-size:20px}.seat-diagram{font-size:12px}.seat-diagram i{font-size:40px}.seat-diagram>div{gap:10px}.seat-diagram>div span{max-width:34%}
 .strategy-grid{grid-template-columns:1fr;gap:18px}.strategy{padding:25px 22px}.strategy h3{font-size:26px}.strategy .tag{font-size:12px}
 .history-shell{display:block;padding-top:24px}.history-nav{position:sticky;top:68px;padding:10px 0;background:#121512f5;z-index:10;margin-bottom:24px;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.history-nav>.eyebrow,.nav-flourish{display:none}.history-nav nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0}.history-nav a{border:0;border-radius:6px;padding:10px 3px;text-align:center;min-height:44px;align-content:center;font-size:13px;line-height:1.5}.history-nav a.active{background:#d5be8517}.history-shell .history-reading{padding:0}.history-reading .timeline{padding:0}.history-reading .timeline li{display:block;padding:4px 0 32px 23px}.history-reading .timeline li:before{left:3px;top:16px;bottom:-16px}.history-reading .timeline li:after{left:0;top:16px;width:7px;height:7px}.history-reading .timeline li:last-child:before{bottom:24px}.history-reading .year{font-size:30px;display:block;margin-bottom:10px;line-height:1.2}.timeline h3{font-size:24px}.timeline p{margin:0 0 12px}.cite{font-size:14px;display:inline-block;padding:4px 0}.alias-grid{grid-template-columns:1fr;gap:12px}.alias-grid h3{font-size:25px;margin:8px 0 12px}.history-reading .quote-section{padding:28px 20px}.history-reading blockquote,.quote-section blockquote{font-size:29px;line-height:1.8}.history-reading .history-grid,.history-grid{grid-template-columns:1fr;gap:30px}.history-reading .history-copy h3{font-size:26px}.history-reading .history-copy p{font-size:16px}.references li{font-size:15px;overflow-wrap:anywhere}.references p{font-size:15px}#timeline,#aliases,#culture,#references{scroll-margin-top:145px}
 .footer-row{align-items:start;flex-direction:column;gap:14px}.footer-row p,html[lang=en] .footer-row p{font-size:13px;line-height:1.7}.sources,.photo-sources{font-size:13px}.sources a,.photo-sources a{line-height:1.7;margin:0 12px 4px 0}.closing h2{font-size:27px}
}
@media(max-width:360px){.wrap{width:calc(100% - 28px)}.hero h1{font-size:65px}.stats{gap:8px}.stat{gap:5px}.stat b{font-size:25px}.stat span{font-size:11px}.contents{grid-template-columns:1fr}.demo .playing-card{width:53px;height:83px;margin-left:-21px}.history-nav a{font-size:12px}}
@media(prefers-reduced-motion:reduce){.motion .reveal{opacity:1;transform:none}}
