/* ==========================================================================
   Tynkr Tools & Co - "Ledger" layouts for tynkr.builtbyjoshstudio.com
   Loads after tokens.css and components.css. Those two files are copied
   byte-identical from builtbyjoshstudio.com: change them there, then copy.
   This file holds only what the apps site adds on top. The pages keep their
   markup and class names (their scripts build and query by them); this is the
   old page stylesheet re-drawn in Ledger: same selectors and layout, new skin.
   ========================================================================== */

/* --- per-app colours (design handoff, "Per-app accent") --------------------- */
:root {
  --c-ledger: #1e7a55; --c-vault: #5a4bb8; --c-hearth: #b84f2a; --c-forge: #1f7f78;
  --s-ledger: #e3f3ec; --s-vault: #ebe8fa; --s-hearth: #fbe9e2; --s-forge: #e2f3f1;
}
/* dark: each app's own dark accents (the apps' css/accents/<app>.css) */
[data-theme="dark"] {
  --c-ledger: #6fd3a0; --c-vault: #a99cf0; --c-hearth: #ff9a78; --c-forge: #6fd3c8;
  --s-ledger: #1e3a2d; --s-vault: #2e2a52; --s-hearth: #4a2a1e; --s-forge: #1b3a37;
}
/* an app page takes its app's colour as the accent */
body[data-app="ledger"] { --accent: var(--c-ledger); --accent-soft: var(--s-ledger); }
body[data-app="vault"]  { --accent: var(--c-vault);  --accent-soft: var(--s-vault); }
body[data-app="hearth"] { --accent: var(--c-hearth); --accent-soft: var(--s-hearth); }
body[data-app="forge"]  { --accent: var(--c-forge);  --accent-soft: var(--s-forge); }
/* text on an accent fill, per app, in dark (as in the apps) */
[data-theme="dark"] body[data-app="ledger"] { --accent-ink: #0f3d2b; }
[data-theme="dark"] body[data-app="vault"]  { --accent-ink: #1f1a44; }
[data-theme="dark"] body[data-app="hearth"] { --accent-ink: #4a1f10; }
[data-theme="dark"] body[data-app="forge"]  { --accent-ink: #0f403c; }

/* --- element defaults: the pages were built without heading margins or a text measure --- */
html { scroll-behavior: smooth; }
h1, h2, h3 { margin: 0; }
p { margin: 1em 0; max-width: none; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* --- theme wipe (the page script's setTheme) -------------------------------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 1; }
::view-transition-old(root) { z-index: 0; }

/* --- dark = the apps' own dark theme: data-theme="dark" in tokens.css (Payne's gray, identical to
       the apps' tokens.css). Cards, windows and panels sit on --surface over --canvas exactly as in the
       apps, so no overrides are needed here. The page script sets the attribute when the visitor picks Dark. */

/* --- top bar: wordmark + line tag, back link, theme switch ------------------- */
.tk-nav { position: static; }
.tk-brand { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.tk-brand .line-tag { padding-left: var(--space-4); border-left: var(--rule); white-space: nowrap; }
.tk-nav .tn-back { margin-left: auto; padding: 8px 12px; border-radius: var(--r-s); font-size: var(--text-small); font-weight: 500; color: var(--muted); white-space: nowrap; }
.tk-nav .tn-back:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }

/* --- buttons: .btn comes from components.css; these are the pages' older modifier names --- */
.btn .arr { transition: transform var(--t-base) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); border-color: color-mix(in srgb, var(--accent) 86%, #000); color: var(--accent-ink); }
[data-theme="dark"] .btn.primary:hover { background: color-mix(in srgb, var(--accent) 78%, #fff); border-color: color-mix(in srgb, var(--accent) 78%, #fff); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* --- hero ------------------------------------------------------------------- */
.hero { padding: 56px 0 30px; }
.hero h1 { font-size: clamp(54px, 9.5vw, 132px); line-height: 0.9; letter-spacing: -0.045em; text-wrap: balance; }
.hero h1 .em { color: var(--accent); }
.hero-sub { margin: 28px 0 0; max-width: 60ch; font-size: clamp(17px, 2vw, 21px); color: var(--muted); font-weight: 500; letter-spacing: -0.01em; }
.hero-cta { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

/* --- suite visual: the four app windows are drawn mocks, each in its app's hue --- */
.suite { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; align-items: stretch; margin-top: 64px; }
@media (max-width: 900px) { .suite { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .suite { grid-template-columns: minmax(0,1fr); } }   /* phones: one tile per row, so the mock text doesn't wrap a word at a time */
.suite .appwin:nth-child(1) { --ac: var(--c-ledger); }
.suite .appwin:nth-child(2) { --ac: var(--c-vault); }
.suite .appwin:nth-child(3) { --ac: var(--c-hearth); }
.suite .appwin:nth-child(4) { --ac: var(--c-forge); }
.appwin {
  border: var(--hair); border-radius: var(--r); background: var(--surface);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.appwin:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.appwin .tbar {
  display: flex; align-items: center; gap: 9px; padding: 10px 14px;
  border-bottom: var(--hair); background: var(--surface-2);
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ac, var(--accent));
}
.appwin .tbar img { width: 16px; height: 16px; border-radius: 4px; }
.appwin .body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.appwin .body > .klabel:last-child, .appwin .body > .mini:last-child { margin-top: auto; }
.mini {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center;
  padding: 8px 10px; border: var(--hair); border-radius: var(--r-s); background: var(--surface-2);
}
.mini .tt { font-size: 12px; font-weight: 600; line-height: 1.3; }
.mini .ss { font-size: 10.5px; color: var(--muted); line-height: 1.3; }
.mini .amt { font-family: var(--font-mono); font-weight: 500; font-size: 12px; }
/* status badges carry their own dot (.d), so the component's ::before dot is off */
.badge { gap: 7px; padding: 4px 10px; font-size: 11px; white-space: nowrap; }
.badge::before { content: none; }
.badge .d { width: 7px; height: 7px; border-radius: 50%; }
.badge.pos { background: var(--pos-soft); color: var(--pos); }
.badge.pos .d { background: var(--pos); }
.badge.plain { color: var(--muted); }
.badge.plain .d { background: var(--muted); }
.prog { height: 10px; border: 1px solid var(--line-2); border-radius: var(--r-pill); overflow: hidden; background: var(--surface-2); }
.prog i { display: block; height: 100%; width: 64%; background: var(--ac, var(--accent)); }
.klabel { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.klabel b { color: var(--ink); font-weight: 500; }
.klabel .delta { font-style: normal; color: var(--pos); font-size: 10px; font-weight: 500; margin-left: 7px; }
.mini .amt, .statband b { font-variant-numeric: tabular-nums; }

/* ledger sparkline */
.spark { display: flex; align-items: flex-end; gap: 4px; height: 42px; border-bottom: 1px solid var(--line-2); }
.spark i { flex: 1; background: var(--ac, var(--accent)); border-radius: 2px 2px 0 0; transform-origin: bottom; }
html.js .spark i { transform: scaleY(0); transition: transform .5s var(--ease); }
html.js .spark.in i { transform: scaleY(1); }

/* live transaction stack */
.txstack { display: flex; flex-direction: column; gap: 8px; }
.mini.enter { animation: txin .38s var(--ease); }
@keyframes txin { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mini.exit { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }

/* hearth progress fill */
html.js .prog i { width: 0; transition: width .9s var(--ease); }
html.js .prog.fill i, html:not(.js) .prog i { width: 64%; }

/* stats: four number tiles (.stat itself is the component) */
.statband { margin-top: 64px; }
.statband .statrow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 700px) { .statband .statrow { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.noteline { height: 8px; border-radius: 4px; background: var(--surface-2); border: var(--hair); }
.noteline.a { width: 85%; } .noteline.b { width: 60%; } .noteline.c { width: 72%; }
.tagrow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.tagrow span { font-family: var(--font-mono); font-size: 10px; padding: 3px 8px; border-radius: var(--r-pill); border: var(--hair); color: var(--ac, var(--accent)); }

/* --- sections ---------------------------------------------------------------- */
section.s { padding: 64px 0; border-top: var(--hair); margin-top: 64px; }
section.s + section.s, section.s ~ section.s { margin-top: 0; }
.s-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.s-num { display: inline-grid; place-items: center; flex: 0 0 auto; min-width: 32px; height: 32px; padding: 0 10px; border-radius: var(--r-s); background: var(--accent-soft); color: var(--accent); font-family: var(--font-mono); font-size: var(--text-label); font-weight: 500; font-variant-numeric: tabular-nums; }
.s-head h2 { font-size: clamp(28px, 4.5vw, 46px); letter-spacing: -0.03em; line-height: 1; flex: 1; }
.s-head .tag { font-size: var(--text-label); font-weight: 600; color: var(--muted); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.lead { font-size: 17px; color: var(--muted); max-width: 64ch; margin: 0 0 38px; font-weight: 500; }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* --- pitch panels (.panel is the component; these are the page's sizes) ------- */
.panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 860px) { .panel-grid { grid-template-columns: 1fr; } }
.panel { border-radius: var(--r); padding: 26px; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-fast) var(--ease); }
.panel:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.panel > .cap { font-size: var(--text-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.panel h3 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 10px; }
.panel p { font-size: 14.5px; line-height: 1.62; color: var(--muted); margin: 0; }
.panel code { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); border: var(--hair); background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }

/* --- app cards ----------------------------------------------------------------- */
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
@media (max-width: 860px) { .apps-grid { grid-template-columns: 1fr; } }
.app-card {
  --ac: var(--accent);
  border: var(--hair); border-radius: var(--r); background: var(--surface);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-fast) var(--ease);
}
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--ac); }
a.app-card { display: block; text-decoration: none; color: inherit; font-weight: 400; }
a.app-card:hover { color: inherit; text-decoration: none; }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.app-head img { width: 56px; height: 56px; border-radius: 14px; }
.app-head .name { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.app-head .os { font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ac); }
.app-card .desc { font-size: 14.5px; line-height: 1.62; color: var(--muted); margin: 0 0 18px; }
.feat { display: flex; flex-wrap: wrap; gap: 7px; }
.feat .badge { color: var(--ink); border: var(--hair); background: var(--surface-2); font-weight: 500; }
.feat .badge .d { background: var(--ac); }

/* --- engineering rows ------------------------------------------------------------ */
.eng-rows { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 760px) { .eng-rows { grid-template-columns: 1fr; } }
.li {
  display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; align-items: start;
  padding: 16px 18px; border: var(--hair); border-radius: var(--r-s); background: var(--surface-2);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.li:hover { transform: translateX(4px); border-color: var(--line-2); }
.li .av { width: 38px; height: 38px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); font-family: var(--font-mono); font-weight: 500; font-size: 13px; }
.li .tt { font-size: 15px; font-weight: 700; }
.li .ss { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 2px; }

/* --- closing / launch list --------------------------------------------------------- */
.closing { padding: 96px 0 72px; text-align: center; border-top: var(--hair); }
.closing h2 { font-size: clamp(38px, 6.5vw, 88px); letter-spacing: -0.045em; line-height: 0.92; }
.closing h2 .em { color: var(--accent); }
.closing p { color: var(--muted); font-size: 17px; max-width: 52ch; margin: 22px auto 0; font-weight: 500; }
.beta-form { display: flex; gap: 10px; justify-content: center; margin: 38px auto 0; max-width: 480px; }
@media (max-width: 520px) { .beta-form { flex-direction: column; } }
.beta-form input {
  font: inherit; font-size: var(--text-ui); flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--r-s);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); outline: none;
  box-shadow: inset 0 1px 2px rgba(39,52,63,.05);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.beta-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.beta-form input::placeholder { color: var(--muted); }
.closing .form-note { font-size: var(--text-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.closing .form-done { font-size: var(--text-small); font-weight: 600; color: var(--pos); margin-top: 38px; display: none; }
.closing .form-err { font-size: var(--text-small); color: var(--neg); margin-top: 16px; display: none; }

/* --- footer ---------------------------------------------------------------------------- */
.foot { border-top: var(--hair); padding: 26px 0 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--text-label); font-weight: 600; color: var(--muted); letter-spacing: var(--tracking-label); }
.foot .fb { display: flex; align-items: center; gap: 10px; }
.foot img { width: 20px; height: 20px; border-radius: 5px; }
.foot a { color: inherit; font-weight: inherit; }
.foot a:hover { color: var(--accent); text-decoration: none; }
.studio-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 0 0 48px; font-size: 11px; color: var(--muted); }
.studio-links span { font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.studio-links a, .studio-links a:hover { color: inherit; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.studio-links a:hover { color: var(--accent); }

/* ==========================================================================
   APP PAGES (/ledger/ /vault/ /hearth/ /forge/)
   ========================================================================== */
.phero { padding: 56px 0 0; }
.phero-main { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.phero-main img.appicon { width: 96px; height: 96px; border-radius: 22px; border: var(--hair); box-shadow: var(--shadow); }
.phero h1 { font-size: clamp(48px, 8vw, 104px); line-height: 0.9; letter-spacing: -0.045em; }
.phero .os { font-size: 13px; font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.shot-frame { margin-top: 64px; }
.appwin.big .body { padding: 20px; }
.bigcols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .bigcols { grid-template-columns: 1fr; } }
.bigcols .col { display: flex; flex-direction: column; gap: 8px; }
.spark.tall { height: 64px; }

.featrow { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: 52px 0; border-top: var(--hair); }
@media (max-width: 820px) { .featrow { grid-template-columns: 1fr; padding: 40px 0; } }
.featrow.flip .ftext { order: 2; }
@media (max-width: 820px) { .featrow.flip .ftext { order: 0; } }
.ftext .eyebrow { display: block; margin-bottom: 14px; }
.ftext h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 14px; }
.ftext p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.fdemo { border: var(--hair); border-radius: var(--r); background: var(--surface); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 9px; }
.badge.acc { background: var(--accent-soft); color: var(--accent); }
.badge.acc .d { background: var(--accent); }
.ftree { font-family: var(--font-mono); font-size: 13.5px; line-height: 2; border: var(--hair); border-radius: var(--r); background: var(--surface); padding: 26px 30px; box-shadow: var(--shadow); overflow-x: auto; white-space: pre; color: var(--ink); }
.ftree b { color: var(--accent); font-weight: 500; }
.ftree i { font-style: normal; color: var(--muted); }
.datacols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .datacols { grid-template-columns: 1fr; } }
.datacols .dnote { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.datacols .dnote strong { color: var(--ink); }

/* .faq is the component; the page only sets its width and text sizes */
.faq { max-width: 820px; }
.faq details p { margin: 0; font-size: 14.5px; line-height: 1.65; }

.more-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px) { .more-grid { grid-template-columns: 1fr; } }
.more-card .app-head { margin-bottom: 10px; }
.more-card .app-head img { width: 44px; height: 44px; border-radius: 11px; }
.more-card .app-head .name { font-size: 19px; }
.more-card .desc { margin: 0; font-size: 13.5px; }

/* ==========================================================================
   DOCUMENT PAGES (/privacy/ /terms/ 404)
   ========================================================================== */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.04em; line-height: 0.95; margin: 56px 0 0; }
.doc .meta { font-size: var(--text-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); margin: 18px 0 0; }
.doc .meta code, #nf-path { font-family: var(--font-mono); font-size: .95em; font-weight: 500; letter-spacing: 0; text-transform: none; word-break: break-all; }
.doc .lead { font-size: 17.5px; margin: 26px 0 0; max-width: 62ch; }
.doc article { padding: 26px 0 40px; }
.doc article h2 { font-size: 23px; letter-spacing: -0.02em; margin: 44px 0 10px; }
.doc article p, .doc article li { font-size: 15.5px; color: var(--ink); }
.doc article p { margin: 0 0 14px; max-width: 70ch; }
.doc article ul { margin: 0 0 14px; padding-left: 22px; }
.doc article li { margin: 0 0 8px; }
.doc article .muted { color: var(--muted); }
.doc article code { font-family: var(--font-mono); font-size: 13px; color: var(--accent); border: var(--hair); background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }
.doc .card { display: block; overflow: visible; padding: 20px 22px; margin: 0 0 14px; }
.doc .card b.tt { font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 6px; }
.doc .foot { margin-top: 40px; }

/* --- responsive: top bar ------------------------------------------------------------------ */
@media (max-width: 560px) {
  .tk-nav { height: auto; padding: var(--space-3) 0; }
  .tk-nav .wrap { gap: var(--space-3); flex-wrap: wrap; }
  .tk-nav .switch button { padding: 6px 10px; }
  .tk-brand { flex-direction: column; align-items: flex-start; gap: 2px; }
  .tk-brand .line-tag { padding-left: 34px; border-left: 0; }
  .tk-nav .tn-back { order: 3; flex-basis: 100%; margin-left: 0; padding: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  html.js .spark i { transform: scaleY(1); transition: none; }
  html.js .prog i { width: 64%; transition: none; }
  .mini.enter { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   SCREENSHOT GALLERY (app pages) + full-size dialog
   ========================================================================== */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.shot { display: block; border: var(--hair); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); color: inherit; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.shot:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shot img { display: block; width: 100%; height: auto; }
.shot .cap { display: block; padding: 11px 16px; border-top: var(--hair); font-size: 13px; font-weight: 500; color: var(--muted); }
.shot-frame .shot { border-radius: var(--r); }
/* /forge/ hero: the light screenshot in light mode, the dark one in dark mode */
.shot-frame .when-dark { display: none; }
[data-theme="dark"] .shot-frame .when-light { display: none; }
[data-theme="dark"] .shot-frame .when-dark { display: block; }
.shot-dialog { padding: 0; border: 0; background: transparent; width: min(96vw, 1600px); max-width: none; max-height: none; overflow: visible; }
.shot-dialog::backdrop { background: rgba(8, 9, 20, .86); }
.shot-dialog figure { margin: 0; cursor: zoom-out; }
.shot-dialog img { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: var(--r); }
.shot-dialog figcaption { padding: 12px 4px 0; text-align: center; color: #fff; font-size: 14px; font-weight: 500; }
.shot-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.shot-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
