.language-switcher { display:flex; justify-content:center; align-items:center; gap:.55em; margin:0 auto 1.25rem; font:12px/1.4 "Neue Haas Grotesk Display Pro",Arial,sans-serif; letter-spacing:.08em; color:inherit; }
.language-switcher a { color:inherit; text-decoration:none; padding:.3rem .15rem; }
.language-switcher a[aria-current] { text-decoration:underline; text-underline-offset:.3em; }
.language-switcher a:focus-visible { outline:1px solid currentColor; outline-offset:3px; }
.language-dialog { background:#fff; color:#111; border:1px solid #111; border-radius:0; padding:2.6rem 2rem 2rem; width:min(360px,calc(100vw - 40px)); box-sizing:border-box; text-align:center; }
.language-dialog::backdrop { background:rgba(0,0,0,.35); }
.language-dialog h2 { margin:0 0 1.5rem; font:400 17px/1.4 "Neue Haas Grotesk Display Pro",Arial,sans-serif; letter-spacing:.1em; }
.language-dialog nav { display:flex; flex-direction:column; gap:.75rem; }
.language-dialog a { color:#111; text-decoration:none; padding:.55rem; font:400 15px/1.3 "Neue Haas Grotesk Display Pro",Arial,sans-serif; letter-spacing:.08em; }
.language-dialog a:hover { text-decoration:underline; text-underline-offset:.3em; }
.language-close { position:absolute; right:.6rem; top:.4rem; border:0; background:transparent; color:#111; font:22px/1 "Neue Haas Grotesk Display Pro",Arial,sans-serif; cursor:pointer; padding:.35rem; }
html:has(.language-dialog[open]) .reading-result { visibility:hidden; }
.language-legal-notice { font-size:.8em; opacity:.85; }
@media(max-width:600px){.language-switcher{margin-bottom:1rem}.language-dialog{padding:2.6rem 1.25rem 1.5rem}}
/* The language row uses its own line; existing footer links keep their type size. */
.footer-links, .site-footer { flex-wrap:wrap; }
.footer-links > .language-switcher, .site-footer > .language-switcher, .personal-reading-footer > .language-switcher { flex-basis:100%; }
html:not([lang="en"]) .legal-links { flex-wrap:wrap; }
.card-mobile-navigation a { overflow:hidden; }
@media(min-width:801px) and (max-width:1000px){
 .deck-page .product-main { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); }
 .deck-page .product-information { min-width:0; }
 .deck-page .kickstarter-cta { max-width:100%; text-align:center; }
}
.language-dialog :focus-visible { outline:1px solid #111; outline-offset:2px; }

@media(min-width:601px){
 html:not([lang="en"]) .artwork[data-tarot-state="meaning"] { min-height:max(100vh,165vw,calc(var(--localized-meaning-bottom,0px) + 35vw)); }
 html:not([lang="en"]) .artwork[data-tarot-state="meaning"] .arcana-categories { top:max(106vw,1300px,var(--localized-meaning-bottom,0px)); }
}
