/* NuKey — shared design system
   One stylesheet for every page: tokens, type, nav, buttons, cards, the
   keycap renderer and the reveal motion. Page-specific rules live in each
   page's own <style>. */

@font-face { font-family: "Onest"; src: url("../fonts/Onest-Regular.woff2") format("woff2"), url("../fonts/Onest-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Medium.woff2") format("woff2"), url("../fonts/Onest-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-SemiBold.woff2") format("woff2"), url("../fonts/Onest-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Bold.woff2") format("woff2"), url("../fonts/Onest-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-ExtraBold.woff2") format("woff2"), url("../fonts/Onest-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Black.woff2") format("woff2"), url("../fonts/Onest-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
/* The app's bundled C64 Keyboard legend face, so Studio previews it rather than a stand-in. */
@font-face { font-family: "C64 Keyboard"; src: url("../fonts/C64Keyboard-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
    color-scheme: light;
    --paper: #f6f6f4;
    --white: #ffffff;
    --ink: #121416;
    --ink-2: #363b3f;
    --muted: #666c71;
    --faint: #979da2;
    --line: rgba(18, 20, 22, .08);
    --line-2: rgba(18, 20, 22, .15);

    /* Brand — Brand in DesignSystem.swift */
    --mint: #14a594;
    --mint-ink: #0d7a6c;
    --mint-soft: #5fd4bf;
    --mint-tint: rgba(20, 165, 148, .1);
    --ember: #f27a38;
    --ember-ink: #b8541d;
    --ember-tint: rgba(242, 122, 56, .1);
    --graphite: #1a1b1e;

    --max: 1180px;
    --gut: clamp(20px, 4.5vw, 64px);
    --r-xl: 32px;
    --r-lg: 24px;
    --r-md: 16px;
    --r-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(18, 20, 22, .04), 0 6px 20px rgba(18, 20, 22, .05);
    --shadow-md: 0 2px 4px rgba(18, 20, 22, .04), 0 18px 44px rgba(18, 20, 22, .09);
    --shadow-lg: 0 30px 80px rgba(18, 20, 22, .16);
    --spring: cubic-bezier(.16, 1, .3, 1);
    --ease: cubic-bezier(.4, 0, .2, 1);
    --nav-h: 60px;
    /* Side gutter that never sits under a camera cut-out, rounded corner or the fold hardware when the page is shown edge to edge (viewport-fit=cover). */
    --gut-x: max(var(--gut), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
    margin: 0; color: var(--ink); background: var(--paper); overflow-x: hidden;
    font-family: "Onest", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
    font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* One soft wash of brand colour at the very top — the only decoration the
   background gets. Everything else stays paper. */
body::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 110vh; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60% 50% at 50% -10%, rgba(20, 165, 148, .16), transparent 70%),
        radial-gradient(40% 35% at 85% 5%, rgba(242, 122, 56, .09), transparent 70%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg, canvas { max-width: 100%; display: block; }
::selection { background: rgba(20, 165, 148, .24); }
.wrap { width: min(100% - (var(--gut-x) * 2), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.6vw, 104px); line-height: .96; letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -.04em; }
h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; max-width: 58ch; text-wrap: pretty; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; color: var(--mint-ink);
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.eyebrow.ember { color: var(--ember-ink); } .eyebrow.ember::before { background: var(--ember); }
.eyebrow.plain::before { content: none; }
.section { padding: clamp(72px, 9vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head h2 { margin: 16px 0 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.gradient-text { background: linear-gradient(95deg, var(--mint) 0%, #2ab7a1 45%, var(--ember) 100%); color: transparent; background-clip: text; -webkit-background-clip: text; }
kbd { font: inherit; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; font-size: .92em; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; background: rgba(18, 20, 22, .05); border-radius: 6px; padding: 1px 6px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: 15px; letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .35s var(--spring);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 24px rgba(18, 20, 22, .18); }
.btn-primary:hover { background: #000; box-shadow: 0 14px 32px rgba(18, 20, 22, .24); transform: translateY(-1px); }
.btn-mint { background: var(--mint-ink); color: var(--white); box-shadow: 0 10px 24px rgba(13, 122, 108, .26); }
.btn-mint:hover { background: #0a6357; transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink-2); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-soft { background: var(--mint-tint); color: var(--mint-ink); }
.btn-soft:hover { background: rgba(20, 165, 148, .16); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Floating nav ---------- */
.nav { position: fixed; top: max(14px, env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--gut-x); pointer-events: none; }
.nav-pill {
    pointer-events: auto; width: min(100%, 1040px); height: var(--nav-h); padding: 0 8px 0 14px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    border-radius: 999px; border: 1px solid rgba(18, 20, 22, .08);
    background: rgba(255, 255, 255, .72); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
    box-shadow: 0 1px 2px rgba(18, 20, 22, .04), 0 12px 36px rgba(18, 20, 22, .08);
    transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.nav.scrolled .nav-pill { background: rgba(255, 255, 255, .88); box-shadow: 0 2px 4px rgba(18, 20, 22, .04), 0 18px 46px rgba(18, 20, 22, .12); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; box-shadow: 0 4px 12px rgba(20, 165, 148, .3); transition: transform .5s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background .2s var(--ease), color .2s var(--ease); }
.nav-links a:hover { background: rgba(18, 20, 22, .06); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(18, 20, 22, .06); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.menu-button { display: none; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); }
.menu-button:hover { background: rgba(18, 20, 22, .06); }
.menu-lines { position: relative; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: background .2s; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--spring); }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
.menu-button.open .menu-lines { background: transparent; }
.menu-button.open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-button.open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }
.mobile-menu:not([hidden]) {
    display: grid; gap: 2px; position: fixed; z-index: 49; top: calc(var(--nav-h) + 22px + max(0px, calc(env(safe-area-inset-top, 0px) - 14px))); left: var(--gut-x); right: var(--gut-x);
    padding: 8px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-md); animation: menuIn .3s var(--spring);
}
.mobile-menu a { padding: 13px 14px; border-radius: 14px; color: var(--ink-2); font-weight: 600; font-size: 16px; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: rgba(18, 20, 22, .05); color: var(--ink); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
main { padding-top: calc(var(--nav-h) + 28px); }

/* ---------- Surfaces ---------- */
.card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); transition: transform .5s var(--spring), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card.dark { background: var(--graphite); color: #f4f5f4; border-color: rgba(255, 255, 255, .06); }
.card.dark .muted, .card.dark p { color: rgba(244, 245, 244, .66); }
.chip {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .3s var(--spring);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"], .chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip i.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); background: var(--swatch, #ccc); }
.pill-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--mint-tint); color: var(--mint-ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tag.ember { background: var(--ember-tint); color: var(--ember-ink); }
.tag.pro { background: var(--ink); color: var(--white); }

/* ---------- Footer ---------- */
footer { padding: 40px 0 max(56px, calc(env(safe-area-inset-bottom, 0px) + 28px)); color: var(--faint); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); font-weight: 600; transition: color .25s var(--ease); }
footer a:hover { color: var(--ink); }

/* ---------- Keycap renderer ----------
   Built the way KeyView.swift builds a key: a lip (darker base), an outer cap
   shaded top→bottom, and — when the group is concave — an inner dish carrying
   its own gradient. All geometry flows from custom properties so the Studio
   can drive it from a palette and the hero can drive it from a theme. */
.nk-board {
    --kb-gap: clamp(4px, .7vw, 8px);
    --kb-radius: clamp(18px, 2.4vw, 28px);
    --kb-pad: clamp(10px, 1.6vw, 18px);
    position: relative; padding: var(--kb-pad); border-radius: var(--kb-radius);
    background: var(--deck, #e2e3e7); border: 1px solid rgba(18, 20, 22, .08);
    transition: background .5s var(--ease);
}
.nk-row { display: grid; gap: var(--kb-gap); margin-bottom: var(--kb-gap); }
.nk-row:last-child { margin-bottom: 0; }
.nk-key {
    --cap-top: #fff; --cap-bottom: #e6e8ed; --plate-top: #eeeff3; --plate-bottom: #feffff;
    --lip: #c3c6ce; --legend: #212429; --cap-r: 8px; --dish-r: 10px; --dish: 6px; --lip-d: 3px;
    --cap-rot: 180deg; --plate-rot: 180deg; --glass: 1; --glow: #14a594; --glow-a: 0;
    position: relative; min-width: 0; display: grid; place-items: center; height: var(--key-h, 44px);
    border: 0; padding: 0; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation;
    border-radius: var(--cap-r); background: var(--lip); color: var(--legend);
    font-weight: 600; font-size: var(--legend-size, 17px); line-height: 1;
    box-shadow: 0 2px 4px rgba(16, 24, 26, .16);
    transition: transform .08s var(--ease), box-shadow .08s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.nk-key .cap, .nk-key .plate { position: absolute; pointer-events: none; transition: background .4s var(--ease), transform .08s var(--ease), opacity .4s var(--ease); }
.nk-key .cap { inset: 0 0 var(--lip-d); border-radius: var(--cap-r); background: linear-gradient(var(--cap-rot), var(--cap-top), var(--cap-bottom)); opacity: var(--glass); }
.nk-key .plate { inset: var(--dish) var(--dish) calc(var(--lip-d) + var(--dish)); border-radius: var(--dish-r); background: linear-gradient(var(--plate-rot), var(--plate-top), var(--plate-bottom)); opacity: var(--glass); }
.nk-key:not(.concave) .plate { display: none; }
.nk-key .lab { position: relative; z-index: 2; transform: translateY(calc(var(--lip-d) / -2)); white-space: nowrap; }
.nk-key.blank .lab { visibility: hidden; }
.nk-key.wide { font-size: calc(var(--legend-size, 17px) * .76); font-weight: 700; }
.nk-key:hover { transform: translateY(-1px); box-shadow: 0 5px 10px rgba(16, 24, 26, .18); }
.nk-key.down, .nk-key:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(16, 24, 26, .2); }
.nk-key.down .cap, .nk-key.down .plate, .nk-key:active .cap, .nk-key:active .plate { transform: translateY(calc(var(--lip-d) * .6)); }
/* Under-key light: a glow layer beneath the cap, driven per key */
.nk-key::before {
    content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; pointer-events: none;
    opacity: var(--glow-a); background: var(--glow); filter: blur(8px);
    transition: opacity .35s var(--ease), background .4s var(--ease);
}
.nk-key.lit::before { animation: nkFlash .6s var(--ease) forwards; }
@keyframes nkFlash { 0% { opacity: 1; } 100% { opacity: var(--glow-a); } }
/* Liquid Glass: caps go translucent over the deck and pick up a highlight rim */
.nk-board.glass .nk-key { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 2px 6px rgba(16, 24, 26, .12); }
.nk-board.glass .nk-key .cap { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nk-board.glass.frosted .nk-key .cap { backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
/* SA and DSA read taller / flatter than Cherry */
.nk-board.profile-sa .nk-key { --lip-d: 5px; }
.nk-board.profile-sa .nk-key .plate { border-radius: 50% / 40%; }
.nk-board.profile-dsa .nk-key { --lip-d: 2px; }
.nk-board.profile-dsa .nk-key .plate { border-radius: 50% / 42%; }
.nk-board.chamfered .nk-key .cap { clip-path: polygon(6% 0, 94% 0, 100% 10%, 100% 90%, 94% 100%, 6% 100%, 0 90%, 0 10%); border-radius: 0; }
.nk-board.chamfered .nk-key { border-radius: 4px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--spring), transform .8s var(--spring); }
.reveal.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; }
.visible.stagger > *, .visible .stagger > * { opacity: 1; animation: riseIn .8s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nav-links { display: none; }
    .menu-button { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal, .stagger > *, .visible .stagger > * { opacity: 1; transform: none; }
}

/* ---------- Swipe-to-open intro (index only; markup injected by NK.intro) ---------- */
html.intro-pending, html.intro-pending body { overflow: hidden; }
html.intro-pending .reveal-words .w > span { animation-play-state: paused; }
.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: auto; }
.intro-half { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--graphite); transition: transform .9s cubic-bezier(.76, 0, .18, 1); will-change: transform; }
.intro-half.l { left: 0; background: radial-gradient(120% 90% at 100% 50%, #24262a, var(--graphite)); }
.intro-half.r { right: 0; background: radial-gradient(120% 90% at 0% 50%, #24262a, var(--graphite)); }
.intro.open .intro-half.l { transform: translateX(-101%); }
.intro.open .intro-half.r { transform: translateX(101%); }
.intro-core { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; color: #f2f3f3; transition: opacity .35s, transform .6s cubic-bezier(.76, 0, .18, 1); animation: introIn .8s var(--spring, ease) both; }
.intro.open .intro-core { opacity: 0; transform: scale(.9); }
@keyframes introIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.intro-name { font-weight: 800; font-size: clamp(28px, 5vw, 44px); letter-spacing: -.03em; }
.intro-track { --h: 64px; position: relative; width: min(280px, 72vw); height: var(--h); border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.intro-fill { position: absolute; inset: 4px auto 4px 4px; width: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(20, 165, 148, .0), rgba(95, 212, 191, .45)); }
.intro-hint { position: absolute; inset: 0; display: grid; place-items: center; padding-left: var(--h); font-size: 14px; font-weight: 600; letter-spacing: .01em; color: transparent; background: linear-gradient(90deg, rgba(255, 255, 255, .35) 30%, #fff 50%, rgba(255, 255, 255, .35) 70%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; animation: introShimmer 2.2s linear infinite; pointer-events: none; }
@keyframes introShimmer { to { background-position: -200% 0; } }
.intro-knob { position: absolute; top: 4px; left: 4px; width: calc(var(--h) - 10px); height: calc(var(--h) - 10px); border-radius: 50%; border: 0; padding: 0; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); display: grid; place-items: center; overflow: hidden; touch-action: none; }
.intro-knob img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .intro-half, .intro-core { transition-duration: .01s; } .intro-hint { animation: none; color: rgba(255, 255, 255, .7); background: none; } }

/* ---------- Polish layer: progress bar, card spotlight, mobile download bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--mint), var(--mint-soft), var(--ember)); pointer-events: none; }
.card, .num { position: relative; }
.card::after, .num::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(20, 165, 148, .10), transparent 60%); }
.card:hover::after, .num:hover::after { opacity: 1; }
.dl-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 22px; background: rgba(18, 20, 22, .88); color: #fff; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 18px 44px rgba(0, 0, 0, .3); transform: translateY(140%); transition: transform .5s var(--spring, ease); }
.dl-bar.show { transform: none; }
.dl-bar img { width: 38px; height: 38px; border-radius: 10px; }
.dl-bar span { flex: 1; font-weight: 700; font-size: 14px; line-height: 1.2; }
.dl-bar small { display: block; font-weight: 500; opacity: .6; font-size: 12px; }
.dl-bar a { padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
@media (max-width: 760px) { .dl-bar { display: flex; } }
