/* 10key Survival launch switch (owner 2026-11-18): tenkey-launch.js sets html.tk-launch from 2026-11-20 00:00 Berlin
   (or with ?launch=preview) and html.tk-sale during the launch sale. Used by the 10key pages and the home pages. */
html:not(.tk-launch) [data-launch] { display: none !important; }
html.tk-launch [data-prelaunch] { display: none !important; }
html:not(.tk-sale) [data-sale] { display: none !important; }
/* launch version published before the stores are live: "coming soon" instead of "out now" until a store is live */
html:not(.tk-stores-wait) [data-store-wait] { display: none !important; }
html.tk-stores-wait [data-store-out] { display: none !important; }

/* ---------- 10key pages: the download block in the first screen (replaces the pre-registration card) ---------- */
.tk-dl { position: relative; max-width: 34rem; margin: 26px 0 0; padding: clamp(20px, 3vw, 26px); border: 1px solid rgba(255, 210, 63, .45); border-radius: 16px; background: rgba(29, 29, 29, .9); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.tk-dl h2 { margin: 0; color: #fff; font-family: var(--tk-pixel); font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.3; word-break: keep-all; }
.tk-dl-sale { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 0; color: var(--tk-text-2); font-size: .95rem; }
.tk-dl-sale strong { padding: 3px 10px; border-radius: 999px; color: var(--tk-night); background: var(--tk-duck); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.tk-dl-sale s { color: var(--tk-text-3); }
.tk-dl-sale b { color: var(--tk-duck); font-size: 1.15rem; font-weight: 800; }
.tk-dl-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 18px; }
.tk-dl-sub { margin: 12px 0 0; color: var(--tk-text-3); font-size: .84rem; line-height: 1.55; word-break: keep-all; }
.tk-dl-pc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tk-edge); }
.tk-dl-pc .tk-play-icon { flex: none; border-top-width: 7px; border-bottom-width: 7px; border-left-width: 11px; }

/* Official store badges (assets/store-badges/README.md): unmodified artwork, same height side by side, clear space
   around each, never shown for a store that is not live (plain text instead). */
.tk-badge-item { display: inline-flex; align-items: center; min-height: 48px; }
.tk-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.tk-badge img { display: block; width: auto; height: 48px; }
.tk-badge img.is-padded { height: 62px; margin: -7px 0; }
.tk-badge:focus-visible { outline: 3px solid var(--tk-cream, #ece6d6); outline-offset: 3px; }
.tk-badge-soon { display: none; padding: 10px 14px; border: 1px dashed rgba(236, 230, 214, .32); border-radius: 10px; color: rgba(236, 230, 214, .66); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.tk-badge-item.is-soon .tk-badge-soon { display: inline-block; }
.tk-final-links .tk-key[data-launch] { --btn: var(--tk-key-gold); }

:lang(ja) .tk-dl h2, :lang(ja) .tk-dl-sub, :lang(zh-Hant) .tk-dl h2 { word-break: normal; line-break: strict; overflow-wrap: anywhere; }

/* ---------- home pages: the 10key download key (same look as the pre-registration key it replaces) ---------- */
.hd-tk-get.hd-keycap-cta { --btn: var(--tk-gold); --btn-side: #a9820f; --btn-ink: #141414; --btn-depth: 8px; min-height: 72px; border-radius: 16px; font-family: var(--tk-pixel); font-size: 24px; font-weight: 700; }
.hd-tk-get .hd-keycap-face { gap: 14px; min-width: 260px; padding: 0 36px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .08), 0 var(--btn-depth) 0 var(--btn-side); }
.hd-tk-sale { margin: 0; color: var(--tk-gold, #ffd23f); font-weight: 700; }
.hd-tk-sale s { color: rgba(236, 230, 214, .56); font-weight: 600; }
@media (max-width: 720px) { .hd-tk-get.hd-keycap-cta, .hd-tk-get .hd-keycap-face { width: 100%; } }
