/* FotoJock · shell, home, tool start screens and the bulk workspace.
   Style = the main site (assets/site.css): white paper, 1px ink outlines, the site's 3px offset shadow ONLY where the site has one
   (cards = .box, the search pill, stat boxes = .fact, small badge dots), flat buttons/chips/controls, sun-yellow, pastels, Inter.
   Inter: the site's own files and metric-matched fallbacks (same URLs, shared cache). */
@font-face{font-family:"Inter";font-style:normal;font-weight:400 900;font-display:swap;src:url(/static/fonts/inter-latin.woff2?v=d4fd89cd) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 900;font-display:swap;src:url(/static/fonts/inter-latin-ext.woff2?v=b1fcc46b) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 900;font-display:swap;src:url(/static/fonts/inter-cyrillic.woff2?v=35a15b37) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Fallback";font-weight:400;src:local("Arial"),local("ArialMT"),local("Liberation Sans"),local("LiberationSans"),local("Arimo");size-adjust:106.20%;ascent-override:91.22%;descent-override:22.71%;line-gap-override:0%;unicode-range:U+0000-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+2000-206F,U+20A0-20C0,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Fallback";font-weight:400;src:local("Arial"),local("ArialMT"),local("Liberation Sans"),local("LiberationSans"),local("Arimo");size-adjust:106.08%;ascent-override:91.32%;descent-override:22.74%;line-gap-override:0%;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Fallback";font-weight:600 800;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("LiberationSans-Bold"),local("Arimo Bold");size-adjust:102.63%;ascent-override:94.39%;descent-override:23.50%;line-gap-override:0%;unicode-range:U+0000-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+2000-206F,U+20A0-20C0,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Fallback";font-weight:600 800;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("LiberationSans-Bold"),local("Arimo Bold");size-adjust:102.20%;ascent-override:94.79%;descent-override:23.60%;line-gap-override:0%;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Fallback";font-weight:900;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("LiberationSans-Bold"),local("Arimo Bold");size-adjust:98.50%;ascent-override:98.35%;descent-override:24.49%;line-gap-override:0%;unicode-range:U+0000-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+2000-206F,U+20A0-20C0,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Fallback";font-weight:900;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("LiberationSans-Bold"),local("Arimo Bold");size-adjust:103.00%;ascent-override:94.05%;descent-override:23.42%;line-gap-override:0%;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Fallback R";font-weight:400;src:local("Roboto"),local("Roboto-Regular");size-adjust:107.23%;ascent-override:90.34%;descent-override:22.49%;line-gap-override:0%;unicode-range:U+0000-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+2000-206F,U+20A0-20C0,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Fallback R";font-weight:400;src:local("Roboto"),local("Roboto-Regular");size-adjust:104.55%;ascent-override:92.66%;descent-override:23.07%;line-gap-override:0%;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Fallback R";font-weight:600 900;src:local("Roboto Bold"),local("Roboto-Bold");size-adjust:108.45%;ascent-override:89.33%;descent-override:22.24%;line-gap-override:0%;unicode-range:U+0000-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+2000-206F,U+20A0-20C0,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
/* FotoJock's own Inter subsets for what the site's files lack (build/fonts.mjs): Latin accents, Greek, arrows. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400 900;font-display:swap;src:url(/static/tools/fotojock/fonts/inter-fj-ext.woff2?v=fj79) format("woff2");unicode-range:U+00BF-00C2,U+00C4-00CA,U+00CC-00CD,U+00D1-00D4,U+00D6,U+00D8-00DD,U+00DF-00E2,U+00E4-00EA,U+00EC-00ED,U+00F1-00F4,U+00F6,U+00F8-00FD,U+0152-0153}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 900;font-display:swap;src:url(/static/tools/fotojock/fonts/inter-fj-ext2.woff2?v=fj79) format("woff2");unicode-range:U+0104-0105,U+010E-010F,U+0118-011B,U+0141-0144,U+0147-0148,U+0150-0151,U+0158-0159,U+015A-015B,U+0164-0165,U+016E-016F,U+0170-0171,U+0179-017C}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 900;font-display:swap;src:url(/static/tools/fotojock/fonts/inter-fj-x.woff2?v=fj79) format("woff2");unicode-range:U+0386-03CE,U+2039-203A,U+2190,U+2192,U+2197,U+2264-2265,U+2713}

/* ---------------- tokens: the main site's (assets/site.css) ---------------- */
:root {
  --logo-sh: #0b0b0c; --paper: #ffffff; --fg: #0b0b0c; --muted: #5d5a57; --ink: #0b0b0c; --line: rgba(11,11,12,.12);
  --sun: #F9E666; --mark: #F9E666; --butter: #FCE9A4; --lilac: #D1B7FF; --sky: #ABC5FE; --peach: #FFBAAB;
  --sand: #EFEAE6; --cobalt: #445BFD; --rose: #EFA0A6; --on-pastel: #0b0b0c; --field: #ffffff;
  --btn: #0b0b0c; --btn-fg: #ffffff; --chk: #f3efea;
  --font: "Inter", "Inter Fallback", "Inter Fallback R", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui: var(--font);
  /* exactly site.css: 1px outlines; --sh = .box/.pill shadow; --sh-up/--sh-dn = .lift:hover/:active (cards only) */
  --r: 20px; --bw: 1px; --sh: 3px 3px 0 var(--ink); --sh-up: 5px 5px 0 var(--ink); --sh-dn: 1px 1px 0 var(--ink);
  /* legacy names still used by inline markup in the tools */
  --acc: var(--fg); --bad: #b3261e; --dim: var(--muted); --faint: var(--muted); --bg: var(--paper);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  /* language picker (static/tools/common/i18n.js) */
  --lp-font: var(--font); --lp-fg: var(--fg); --lp-bg: var(--field); --lp-border: var(--ink); --lp-radius: 999px;
  --lp-h: 44px; --lp-size: 13px; --lp-weight: 800; --lp-track: .04em; --lp-accent: var(--cobalt); --lp-menu-bg: var(--paper); --lp-menu-fg: var(--fg);
  --lp-menu-radius: 18px; --lp-item-radius: 12px; --lp-hover: var(--butter); --lp-on-bg: var(--sun); --lp-on-fg: #0b0b0c; --lp-on-weight: 800;
  --lp-item-size: 15px; --lp-item-weight: 600; --lp-head-size: 11px; --lp-head-weight: 800;
  color-scheme: light;
}
/* dark OS mode: the site's own dark variant (light ink lines and shadows on warm black, pastels keep dark text) */
@media (prefers-color-scheme: dark) { :root {
  --logo-sh: #F9E666; --paper: #141312; --fg: #f4f1ec; --muted: #b4aea6; --ink: #f4f1ec; --line: rgba(244,241,236,.14);
  --sand: #1f1d1a; --btn: #F9E666; --btn-fg: #0b0b0c; --field: #1c1b19; --mark: #A67C00; --chk: #1d1c1a;
  --bad: #ff9b8f; --lp-hover: rgba(249,230,102,.16);
  color-scheme: dark;
} }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--paper); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--paper); color: var(--fg); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; overscroll-behavior: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
/* icons never take the pointer: a button whose icon is swapped (play ↔ pause) between press and release still gets its click */
button svg, button img { pointer-events: none; }
a { color: inherit; }
svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.amb { display: none; }
/* savings / growth figures anywhere (thumbs, lists, estimates, EXIF) */
.good, .bad { display: inline-block; padding: 0 5px; border-radius: 5px; font-weight: 800; color: #0b0b0c; line-height: 1.45; }
.good { background: var(--sun); } .bad { background: var(--peach); }

/* ---------------- top bar ---------------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: calc(var(--sat) + 62px); padding: calc(var(--sat) + 9px) 14px 0; display: flex; align-items: flex-start; gap: 10px;
  background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px 0 0; text-decoration: none; white-space: nowrap; flex: none; border-radius: 12px; }
.brand .mk { width: 40px; height: 36px; flex: none; display: block; overflow: visible; }
.brand .wm { font: 800 19px/1 var(--font); letter-spacing: -.03em; }
.brand .wm em { font-style: normal; background: linear-gradient(transparent 55%, var(--mark) 55%, var(--mark) 92%, transparent 92%); padding: 0 1px; }
.brand:hover .mk { transform: rotate(-6deg); } .brand .mk { transition: transform .15s ease; }
.switch { display: flex; align-items: center; gap: 7px; height: 44px; min-width: 0; padding: 0 14px 0 16px; border-radius: 999px; background: var(--field); border: 1px solid var(--ink);
  font: 700 14.5px/1 var(--font); max-width: min(46vw, 340px); transition: background .12s; }
.switch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.switch svg.i { width: 16px; height: 16px; stroke-width: 2.6; }
.switch:hover { background: var(--line); }
.top .sp { flex: 1; }
.top .lang { flex: none; }
.lp-btn { box-shadow: none; transition: background .12s; }
.lp-btn:hover { background: var(--line); }
.lp-btn:active { transform: none; }
html .lp-menu { border-width: 1px; border-color: var(--ink); box-shadow: var(--sh); }
html .lp-shield { background: rgba(11,11,12,.12); }
html .lp-item[aria-selected="true"] { box-shadow: inset 0 0 0 1px #0b0b0c; }
@media (max-width: 420px) { .brand .wm { display: none; } .switch { max-width: calc(100vw - 162px); } .top { gap: 8px; padding-inline: 10px; } }

/* ---------------- page (home + tool start) ---------------- */
.page { position: relative; z-index: 1; padding: calc(var(--sat) + 94px) 20px calc(var(--sab) + 40px); max-width: 1120px; margin: 0 auto; }
.kick { display: inline-block; font: 800 12.5px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #0b0b0c; background: var(--sun); padding: 6px 10px; border-radius: 7px; border: 1px solid #0b0b0c; }
.kick a { text-decoration: none; }   /* tool pages: the FotoJock home link (visible parent of the BreadcrumbList) */
h1.h { font: 900 clamp(38px, 7.4vw, 66px)/1.03 var(--font); text-transform: uppercase; letter-spacing: -.03em; margin: 18px 0 0; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1.h i { font-style: normal; background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { color: var(--muted); font-size: clamp(16px, 2.1vw, 18px); line-height: 1.55; margin: 16px 0 0; max-width: 620px; text-wrap: pretty; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; font: 800 16px/1.1 var(--font); white-space: nowrap; text-decoration: none;
  border: 1px solid var(--ink); transition: filter .12s, background .12s; }
.btn:hover { filter: brightness(1.15); }
.btn:disabled { opacity: .5; cursor: default; filter: none; }
.btn.pri { background: var(--sun); color: #0b0b0c; border-color: #0b0b0c; }
.btn.sec { background: var(--field); color: var(--fg); }
.btn.sec:hover { background: var(--butter); color: #0b0b0c; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 700; }
.btn svg.i { width: 20px; height: 20px; stroke-width: 2.2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--field); border: 1px solid var(--ink); font: 700 12.5px/1 var(--font); white-space: nowrap; }
.chip svg.i { width: 15px; height: 15px; stroke-width: 2.4; }
.chip.acc { background: var(--sky); color: #0b0b0c; border-color: #0b0b0c; white-space: normal; height: auto; min-height: 30px; padding-block: 6px; line-height: 1.2; max-width: 100%; }
.spark { display: block; color: var(--fg); pointer-events: none; }
.spark svg { display: block; width: 100%; height: auto; }

/* home hero */
.home-hero { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "text drop" "points drop"; column-gap: 56px; align-items: center; min-height: min(620px, calc(100dvh - 140px)); align-content: center; }
.hh-text { grid-area: text; align-self: end; } .hh-drop { grid-area: drop; position: relative; } .hh-points { grid-area: points; align-self: start; }
@media (max-width: 860px) { .home-hero { grid-template-columns: 1fr; grid-template-areas: "text" "drop" "points"; row-gap: 26px; min-height: 0; } .hh-points { margin-top: 0; } .drop { min-height: 250px; } }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.points li::before { content: ""; position: absolute; left: 0; top: .3em; width: 12px; height: 12px; background: var(--sun); border: 1px solid var(--ink); border-radius: 50%; }
.points li svg.i { display: none; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 320px; padding: 30px 22px; border-radius: 24px; cursor: pointer;
  background: var(--butter); color: #0b0b0c; border: 1px dashed #0b0b0c; transition: background .15s; }
.drop:hover, .drop.over { background: var(--sun); }
.drop .ic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b0b0c; border: 1px solid #0b0b0c; box-shadow: 2px 2px 0 #0b0b0c; }
.drop .ic svg.i { width: 30px; height: 30px; stroke-width: 2.2; }
.drop b { font: 900 24px/1.15 var(--font); text-transform: uppercase; letter-spacing: -.02em; margin-top: 8px; }
.drop small { font-size: 14.5px; opacity: .8; }
.drop .fmts { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 6px; max-width: 380px; }
.drop .fmts span { font: 800 11px/1 var(--font); letter-spacing: .05em; padding: 6px 8px; border-radius: 6px; background: #fff; border: 1px solid #0b0b0c; }
.drop .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.drop .btn.sec { background: #fff; color: #0b0b0c; border-color: #0b0b0c; }
.hh-drop .spark { position: absolute; z-index: 2; }
.hh-drop .spark.s1 { width: 50px; right: -22px; top: -26px; }
@media (max-width: 600px) { .hh-drop .spark.s1 { width: 40px; right: -8px; top: -22px; } .hh-drop .spark.s2 { left: -8px; } }
.hh-drop .spark.s2 { width: 30px; left: -16px; bottom: 40px; }
.found { margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--paper); border: var(--bw) solid var(--ink); box-shadow: var(--sh); }
.found h3 { margin: 0 0 4px; font: 800 16px/1.3 var(--font); }
.found p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.found .sugg { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

/* search + grid */
.blk { margin-top: 64px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-h h2 { font: 900 clamp(28px, 4.4vw, 40px)/1.05 var(--font); text-transform: uppercase; letter-spacing: -.025em; margin: 0; }
.sec-h p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; display: block; }
.search input { width: 100%; height: 48px; padding: 0 18px 0 46px; border-radius: 999px; border: var(--bw) solid var(--ink); background: var(--field); box-shadow: var(--sh); outline: none; font-size: 15.5px; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.search svg.i { position: absolute; left: 17px; top: 14px; width: 20px; height: 20px; }
.cat { margin-top: 34px; }
.cat h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; font: 800 13px/1.2 var(--font); letter-spacing: .07em; text-transform: uppercase; }
.cat h3::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--ink); background: var(--sun); flex: none; }
.cats > .cat:nth-child(1) h3::before { background: var(--sky); }
.cats > .cat:nth-child(2) h3::before { background: var(--peach); }
.cats > .cat:nth-child(3) h3::before { background: var(--lilac); }
.cats > .cat:nth-child(4) h3::before { background: var(--sun); }
.cat h3 small { font: 500 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; }
.tc { position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--paper); border: var(--bw) solid var(--ink); box-shadow: none; text-decoration: none; min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease; }
.tc:hover { background: var(--butter); color: #0b0b0c; }
.tc:hover .td { color: #3b3936; }
.tc:active { filter: brightness(.97); }
.tc .ti { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--sun); color: #0b0b0c; border: var(--bw) solid #0b0b0c; }
.tc.c-convert .ti { background: var(--sky); } .tc.c-compress .ti { background: var(--peach); } .tc.c-resize .ti { background: var(--lilac); } .tc.c-privacy .ti { background: var(--sun); }
.tc .ti svg.i { width: 23px; height: 23px; stroke-width: 2.2; }
.tc .ti .kb { font: 900 12px/1 var(--font); letter-spacing: -.02em; }
.tc .ti.pairi { flex-direction: column; gap: 1px; font: 900 9.5px/1 var(--font); letter-spacing: .01em; }
.tc .ti.pairi b { font-weight: 900; }
.tc .ti.pairi i { font-style: normal; font-size: 7px; line-height: 1; }
.tc .tt { min-width: 0; display: block; }
.tc .tn, .tc .td { display: block; }
.tc .tn { font: 800 15.5px/1.25 var(--font); letter-spacing: -.01em; }
.tc .td { margin-top: 3px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.tc.hot::after { content: ""; position: absolute; top: -7px; right: 14px; width: 18px; height: 18px; background: var(--fg); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; }
:root { --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 4.8 10.6 12 12-7.2 1.4-11.1 5.4-12 12-.9-6.6-4.8-10.6-12-12C7.2 10.6 11.1 6.6 12 0z'/%3E%3C/svg%3E"); }
.noresult { color: var(--muted); padding: 20px 0; }

/* tool start */
.tool-hero { min-height: calc(100dvh - 60px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-bottom: 30px; }
.demo { position: relative; margin: 0 22px 22px 0; aspect-ratio: 3 / 2; }
.demo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 26px; background: var(--sun); border: 2px solid var(--ink); }
.demo img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 26px; border: 2px solid var(--ink); background: var(--sand); }
.demo figcaption { position: absolute; z-index: 2; left: -18px; bottom: 26px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--sun); color: #0b0b0c; border: 1.5px solid #0b0b0c; box-shadow: var(--sh);
  font: 800 15px/1 var(--font); font-variant-numeric: tabular-nums; }
.demo figcaption i { font-style: normal; }
.demo figcaption b { color: #fff; background: #0b0b0c; padding: 5px 8px; border-radius: 8px; }
.demo .spark { position: absolute; z-index: 2; }
.demo .spark.s1 { width: 56px; right: -40px; top: -30px; }
.demo .spark.s2 { width: 26px; right: 30%; bottom: -46px; }
@media (max-width: 860px) {
  .tool-hero { grid-template-columns: minmax(0, 1fr); gap: 0; align-content: end; }
  .demo { order: -1; margin: 6px 18px 34px 4px; max-height: 32dvh; aspect-ratio: auto; }
  .demo::before { inset: 12px -12px -12px 12px; border-radius: 20px; }
  .demo img { max-height: 32dvh; border-radius: 20px; }
  .demo figcaption { left: 10px; bottom: -16px; font-size: 14px; padding: 8px 11px; }
  .demo .spark.s1 { width: 38px; right: -16px; top: -14px; } .demo .spark.s2 { display: none; }
}
.tool-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tool-hero > *, .home-hero > * { min-width: 0; }
.tool-hero .cta .btn, .drop .btn, .fbar .btn { white-space: normal; text-align: center; line-height: 1.15; padding-block: 8px; }
@media (max-width: 600px) { .tool-hero { min-height: calc(100dvh - 40px); } .tool-hero .cta .btn { flex: 1 1 auto; } .tool-hero .cta .btn.pri { flex-basis: 100%; } }
.tool-hero .hint { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.tool-hero .scroll { margin-top: 30px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.tool-hero .scroll svg.i { width: 18px; height: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }
body.dragging .dropveil { opacity: 1; visibility: visible; }
.dropveil { position: fixed; inset: 12px; z-index: 90; border-radius: 28px; border: 2px dashed #0b0b0c; background: color-mix(in srgb, var(--sun) 92%, transparent); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.dropveil b { font: 900 clamp(32px, 6vw, 56px)/1.05 var(--font); text-transform: uppercase; letter-spacing: -.03em; color: #0b0b0c; text-align: center; padding: 20px; }
.dropveil b i { font-style: normal; }

/* SEO content */
.info { margin-top: 30px; display: grid; gap: 60px; padding-bottom: 20px; }
.info h2 { font: 900 clamp(26px, 4vw, 36px)/1.05 var(--font); text-transform: uppercase; letter-spacing: -.025em; margin: 0 0 20px; }
.how { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.how li { counter-increment: s; padding: 18px 18px 20px; border-radius: var(--r); background: var(--paper); border: var(--bw) solid var(--ink); box-shadow: var(--sh); font-size: 15px; }
.how li:nth-child(1) { background: var(--sky); color: #0b0b0c; } .how li:nth-child(2) { background: var(--butter); color: #0b0b0c; } .how li:nth-child(3) { background: var(--peach); color: #0b0b0c; }
.how li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0b0b0c; border: 1px solid #0b0b0c; font: 900 16px/1 var(--font); margin-bottom: 12px; }
.faq { display: grid; gap: 10px; }
.faq h2 { margin-bottom: 10px; }
.faq details { border: var(--bw) solid var(--ink); border-radius: 16px; background: var(--paper); max-width: 820px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 52px; padding: 12px 16px 12px 18px; font: 700 16px/1.35 var(--font); border-radius: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: #0b0b0c; border: 1px solid #0b0b0c; font: 600 22px/1 var(--font); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: 15.5px; max-width: 760px; }
.facts { padding: 18px 20px; border-radius: var(--r); background: var(--sand); border: var(--bw) solid var(--ink); max-width: 820px; }
.facts p { max-width: 760px; margin: 0 0 8px; font-size: 15px; } .facts p:last-child { margin: 0; }
.rel { display: flex; flex-wrap: wrap; gap: 10px; }
.rel a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: var(--field); text-decoration: none; font: 700 14px/1 var(--font);
  transition: background .12s; }
.rel a:hover { background: var(--butter); color: #0b0b0c; }
.foot { margin-top: 64px; padding: 22px 0 0; border-top: var(--bw) solid var(--ink); color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.foot a { color: var(--fg); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------------- sheets / popovers ---------------- */
.veil { position: fixed; inset: 0; z-index: 60; background: rgba(11,11,12,.32); opacity: 0; pointer-events: none; transition: opacity .2s; }
.veil.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 640px; max-height: 88dvh; display: flex; flex-direction: column; background: var(--paper); border: var(--bw) solid var(--ink); border-bottom: 0;
  border-radius: 24px 24px 0 0; transform: translateY(104%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding-bottom: var(--sab); }
.sheet.open { transform: none; }
.sheet .sh-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); flex: none; position: relative; }
.sheet .sh-h::before { content: ''; position: absolute; top: 6px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: var(--ink); opacity: .85; }
.sheet .sh-h h2 { flex: 1; margin: 8px 0 0; font: 900 22px/1.1 var(--font); text-transform: uppercase; letter-spacing: -.02em; }
.sheet .sh-b { overflow: auto; overscroll-behavior: contain; padding: 16px 18px 22px; -webkit-overflow-scrolling: touch; }
.xbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--field); border: 1px solid var(--ink); flex: none; margin-top: 6px; }
.xbtn:hover { background: var(--line); }
.xbtn svg.i { width: 18px; height: 18px; stroke-width: 2.6; }
@media (min-width: 900px) {
  .sheet.side { left: auto; right: 0; top: 0; bottom: 0; max-height: none; width: 440px; max-width: 92vw; border-radius: 0; border: 0; border-left: var(--bw) solid var(--ink); transform: translateX(104%); }
  .sheet.side.open { transform: none; }
  .sheet.side .sh-h { padding-top: calc(var(--sat) + 10px); }
  .sheet.side .sh-h::before { display: none; }
}
/* tool switcher */
.sw-search { position: sticky; top: -16px; z-index: 2; margin: -16px -18px 6px; padding: 14px 18px 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.sw-search .search { max-width: none; }
.sw-list .cat { margin-top: 20px; }
.sw-list .cat h3::before { background: var(--sun); }
.sw-list .grid { grid-template-columns: 1fr; gap: 10px; }
.sw-list .tc { padding: 10px; border-radius: 14px; box-shadow: none; }
.sw-list .tc:hover, .sw-list .tc:active { transform: none; box-shadow: none; background: var(--butter); color: #0b0b0c; }
.sw-list .tc:hover .td { color: #0b0b0c; }
.sw-list .tc .ti { width: 42px; height: 42px; border-radius: 11px; }
.sw-list .tc.on { background: var(--butter); color: #0b0b0c; }
.sw-list .tc.on .td { color: #3b3936; }
.sw-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-weight: 700; font-size: 14px; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
/* drawer mini-app sliders (shell.js swMini): full-picture cards, dark gradient, name + 2-line description; scroll-snap,
   swipe on touch, arrow buttons unless the pointer is coarse (touch). The track bleeds to the sheet edges (padding = sheet padding). */
.sw-mini[hidden] { display: none; }
.swm { margin-top: 16px; }
.swm + .swm { margin-top: 10px; }
.swm-h { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.swm .swm-h h3 { flex: 1; min-width: 0; margin: 0; }
.swm-nav { display: none; gap: 6px; flex: none; }
.swm-b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--field); color: var(--fg); border: 1px solid var(--ink); cursor: pointer; }
.swm-b:hover { background: var(--butter); color: #0b0b0c; }
.swm-b svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
.swm-b.prev svg { transform: rotate(90deg); } .swm-b.next svg { transform: rotate(-90deg); }
.swm-nav.at0 .prev, .swm-nav.atN .next { opacity: .3; pointer-events: none; }
@media not all and (pointer: coarse) { .swm-nav { display: flex; } }
.swm-track { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 18px;
  margin: 4px -18px 0; padding: 6px 18px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.swm-track::-webkit-scrollbar { display: none; }
.swm-c { position: relative; flex: none; display: block; width: 176px; height: 140px; border-radius: 14px; overflow: hidden; background: var(--sand); border: var(--bw) solid var(--ink); color: #fff; text-decoration: none; scroll-snap-align: start; }
.swm-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.swm-c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0, rgba(0,0,0,.66) 40%, rgba(0,0,0,.12) 76%, rgba(0,0,0,0) 100%); }
.swm-c:hover img { transform: scale(1.05); }
.swm-c:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.swm-t { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 8px 10px 9px; min-width: 0; }
.swm-n, .swm-d { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.swm-n { -webkit-line-clamp: 2; font: 800 13.5px/1.2 var(--font); letter-spacing: -.01em; color: #fff; }
.swm-d { -webkit-line-clamp: 2; margin-top: 2px; font-size: 11.5px; line-height: 1.32; color: rgba(255,255,255,.84); }

/* ---------------- workspace ---------------- */
.ws { position: fixed; inset: 0; z-index: 30; background: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.ws > * { min-width: 0; }
.ws .stage { position: relative; overflow: hidden; min-height: 0; }
@media (min-width: 900px) {
  .ws { grid-template-columns: minmax(0, 1fr) 380px; }
  .ws .stage { grid-column: 1; grid-row: 1; }
  .ws .dock { grid-column: 1; grid-row: 2; }
  .ws .panel { display: flex; grid-column: 2; grid-row: 1 / span 2; }
  .ws .rail .rb.opt-btn { display: none; }
}
.panel { display: none; flex-direction: column; min-height: 0; background: var(--paper); border-left: var(--bw) solid var(--ink); padding-top: calc(var(--sat) + 62px); }
.panel .pn-b { overflow: auto; padding: 6px 20px 20px; flex: 1; overscroll-behavior: contain; }
.panel .pn-f { padding: 12px 18px calc(var(--sab) + 14px); border-top: var(--bw) solid var(--ink); display: grid; gap: 8px; }
/* compare viewer */
.cmp { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; background:
  conic-gradient(var(--chk) 25%, var(--paper) 0 50%, var(--chk) 0 75%, var(--paper) 0) 0 0 / 24px 24px; }
.cmp.panning { cursor: grabbing; }
.cmp .lay { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.cmp .lay img:not([src]) { display: none; }
.cmp .lay img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; image-rendering: auto; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; pointer-events: none; }
.cmp.pixel .lay img { image-rendering: pixelated; }
.cmp .lay .after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.cmp .bar { position: absolute; top: 0; bottom: 0; width: 44px; margin-left: -22px; cursor: ew-resize; touch-action: none; z-index: 3; }
.cmp .bar::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 4px; background: #0b0b0c; border-inline: 1px solid #fff; }
.cmp .bar i { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px; border-radius: 50%; background: var(--sun); color: #0b0b0c; display: grid; place-items: center; border: 1px solid #0b0b0c; box-shadow: none; transition: transform .12s ease; }
.cmp .bar:active i, .cmp.panning .bar i { transform: scale(.94); }
.cmp .bar:focus-visible { outline: 0; } .cmp .bar:focus-visible i { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.cmp .bar i svg.i { width: 22px; height: 22px; stroke-width: 2.8; }
.cmp .lbl { position: absolute; z-index: 4; top: calc(var(--sat) + 124px); display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--ink);
  font: 600 12px/1.15 var(--font); pointer-events: none; font-variant-numeric: tabular-nums; max-width: 46%; }
.cmp .lbl b { font: 800 10.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp .lbl span { font-size: 16px; font-weight: 800; white-space: nowrap; }
.cmp .lbl small { color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp .lbl.l { left: 12px; } .cmp .lbl.r { right: 12px; text-align: right; align-items: flex-end; background: var(--sun); color: #0b0b0c; border-color: #0b0b0c; }
.cmp .lbl.r b, .cmp .lbl.r small { color: #3b3936; }
.cmp .lbl .pct { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 6px; background: #0b0b0c; color: #fff; font-size: 12.5px; vertical-align: 1px; }
.cmp .lbl .pct.up { background: var(--peach); color: #0b0b0c; box-shadow: inset 0 0 0 1px #0b0b0c; }
.cmp .busy { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.cmp .busy .ring { width: 78px; height: 78px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.cmp .zoomb { position: absolute; z-index: 4; left: 12px; bottom: 12px; display: flex; gap: 8px; }
@media (min-width: 900px) { .cmp .zoomb { left: auto; right: 18px; bottom: 18px; } .cmp .lbl { top: calc(var(--sat) + 80px); } .cmp .lbl.l { left: 18px; } .cmp .lbl.r { right: 18px; } }
.cmp .zoomb button { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--ink); font: 800 13px/1 var(--font); display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  transition: background .12s; }
.cmp .zoomb button:hover { background: var(--butter); color: #0b0b0c; }
.cmp .zoomb svg.i { width: 17px; height: 17px; stroke-width: 2.4; }
.cmp .msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; z-index: 2; font-weight: 700; }
.cmp .msg:not(:empty)::before { content: none; }
/* rail (phone) */
.rail { position: absolute; z-index: 6; right: 8px; bottom: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.rb { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 64px; }
.rb .ic { position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); display: grid; place-items: center; transition: background .12s; }
.rb:hover .ic { background: var(--butter); color: #0b0b0c; }
.rb .lb { font: 800 11px/1.1 var(--font); text-align: center; background: var(--paper); border: 1px solid var(--ink); border-radius: 999px; padding: 3px 7px; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb .badge { position: absolute; top: -6px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--sun); color: #0b0b0c; border: 1px solid #0b0b0c; font: 800 11px/20px var(--font); text-align: center; font-variant-numeric: tabular-nums; }
/* summary chip (top centre) */
.sumchip { position: absolute; z-index: 7; top: calc(var(--sat) + 72px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 5px 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--ink);
  font: 700 13.5px/1 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums; max-width: calc(100vw - 24px); }
.sumchip .sv { background: var(--sun); color: #0b0b0c; padding: 4px 7px; border-radius: 7px; font-weight: 900; border: 1px solid #0b0b0c; }
.sumchip .sv:empty { display: none; }
.sumchip .pb { width: 46px; height: 10px; border-radius: 5px; background: var(--paper); border: 1px solid var(--ink); overflow: hidden; flex: none; }
.sumchip .pb i { display: block; height: 100%; width: 0; background: var(--sun); box-shadow: inset -1px 0 0 var(--ink); transition: width .3s; }
.sumchip button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--butter); color: #0b0b0c; border: 1px solid #0b0b0c; position: relative; }
.sumchip button::after { content: ''; position: absolute; inset: -6px; }
.sumchip:has(.pp[hidden]) { padding-right: 14px; }
.sumchip button svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
@media (min-width: 900px) { .top .sumchip { top: calc(var(--sat) + 8px); left: calc((100vw - 380px) / 2); } }
/* dock: strip of files + actions */
.dock { position: relative; z-index: 8; background: var(--paper); padding: 10px 0 calc(var(--sab) + 12px); border-top: var(--bw) solid var(--ink); }
.strip { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 6px 14px 10px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; overscroll-behavior-x: contain; }
.th { position: relative; flex: none; width: 66px; height: 66px; border-radius: 14px; overflow: hidden; background: var(--sand); border: 1px solid var(--ink); transition: box-shadow .12s ease; }
.th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th.on { border-color: #0b0b0c; box-shadow: 0 0 0 3px var(--sun), 0 0 0 4px var(--ink); }
.th .st { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 18px; border-radius: 6px; background: var(--paper); color: var(--fg); border: 1px solid var(--ink); font: 900 10.5px/16px var(--font); text-align: center; font-variant-numeric: tabular-nums; }
.th .st.good { background: var(--sun); color: #0b0b0c; border-color: #0b0b0c; } .th .st.bad { background: var(--peach); color: #0b0b0c; border-color: #0b0b0c; }
.th .pr { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--ink); }
.th .nm { position: absolute; inset: 0; display: grid; place-items: center; padding: 4px; font: 700 10px/1.1 var(--font); color: var(--muted); text-align: center; word-break: break-all; }
.th.queued img, .th.running img { opacity: .45; }
.th .spin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -15px 0 0 -11px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.th.add { display: grid; place-items: center; border: 1px dashed var(--ink); box-shadow: none; background: var(--paper); }
.th.add:hover { background: var(--butter); color: #0b0b0c; }
.acts { display: flex; align-items: center; gap: 10px; padding: 2px 14px 0; }
.acts .grow { flex: 1; min-width: 0; }
.acts .btn { min-height: 52px; }
.acts .btn.pri { flex: 1; min-width: 0; font-size: 16.5px; }
.acts .btn.pri span { overflow: hidden; text-overflow: ellipsis; }
.sq { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--ink); flex: none; position: relative; transition: background .12s; }
.sq:hover { background: var(--butter); color: #0b0b0c; }
.sq > span:not(.badge) { display: grid; place-items: center; }
.sq .badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--sun); color: #0b0b0c; border: 1px solid #0b0b0c; font: 800 11px/20px var(--font); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .ws .rail { display: none; } }
/* file list */
.flist { display: grid; gap: 8px; }
.fl { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: var(--paper); border: var(--bw) solid var(--line); cursor: pointer; }
.fl:hover { border-color: var(--ink); }
.fl.on { border-color: #0b0b0c; background: var(--butter); color: #0b0b0c; }
.fl.on .m { color: #3b3936; }
.fl img, .fl .ph { width: 54px; height: 54px; border-radius: 11px; object-fit: cover; background: var(--sand); border: 1px solid var(--ink); display: block; }
.fl .n { font: 700 14px/1.25 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl .m { font-size: 12.5px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.fl .e { color: var(--bad); font-size: 12.5px; font-weight: 700; margin-top: 3px; }
.fl .a { display: flex; gap: 6px; }
.fl .a button { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--fg); border: 1px solid var(--ink); }
.fl .a button:hover { background: var(--sun); color: #0b0b0c; }
.fl .a svg.i { width: 18px; height: 18px; }
.fl .bar { height: 7px; border-radius: 4px; background: var(--paper); border: 1px solid var(--ink); margin-top: 6px; overflow: hidden; }
.fl .bar i { display: block; height: 100%; background: var(--sun); }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.totals div { padding: 11px 12px; border-radius: 14px; background: var(--sky); color: #0b0b0c; border: var(--bw) solid #0b0b0c; box-shadow: var(--sh); min-width: 0; }
.totals div:nth-child(2) { background: var(--lilac); }
.totals .acc { background: var(--sun); }
.totals b { display: block; font: 900 19px/1.15 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.totals small { font-size: 12px; font-weight: 600; opacity: .8; }
.fbar { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 10px; margin: 0 0 16px; }
/* options */
.opt { padding: 16px 0; border-bottom: 1px solid var(--line); }
.opt:last-child { border-bottom: 0; }
.opt > label:not(.ck), .opt .ol { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 800 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); margin-bottom: 11px; }
.opt .ol output { font: 900 15px/1 var(--font); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; background: var(--sun); color: #0b0b0c; padding: 4px 8px; border-radius: 7px; border: 1px solid #0b0b0c; }
.opt .note, .note { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.seg { display: flex; flex-wrap: wrap; gap: 7px; }
.seg button { min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--ink); font: 700 14px/1 var(--font); transition: background .12s; }
.seg button:hover { background: var(--butter); color: #0b0b0c; }
.seg button.on { background: var(--btn); color: var(--btn-fg); }
.seg.fmt button { min-width: 62px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; border: var(--bw) solid var(--ink); background: linear-gradient(to right, var(--sun) var(--p, 50%), var(--paper) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 6px; border: var(--bw) solid var(--ink); background: var(--paper); }
input[type=range]::-moz-range-progress { height: 10px; border-radius: 6px; background: var(--sun); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9.5px; border-radius: 50%; background: #fff; border: 1px solid #0b0b0c; cursor: grab; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid #0b0b0c; }
input[type=range]:focus-visible { outline: 0; } input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.num { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.num input, .num select, .sel { height: 46px; min-width: 0; padding: 0 12px; border-radius: 12px; background: var(--field); border: 1px solid var(--ink); outline: none; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.num input { width: 100px; }
.num input:focus-visible, .sel:focus-visible, .num select:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.sel { width: 100%; }
.num .x { color: var(--muted); font-weight: 700; }
.ck { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; cursor: pointer; padding: 6px 0; min-height: 44px; }
.ck input { width: 22px; height: 22px; margin: 0; accent-color: #0b0b0c; flex: none; }
@media (prefers-color-scheme: dark) { .ck input { accent-color: var(--sun); } }
.ck small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.swatches { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.swatches button { width: 44px; height: 44px; border-radius: 12px; border: var(--bw) solid var(--ink); }
.swatches button.on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--ink); }
.swatches input[type=color] { width: 48px; height: 44px; padding: 0; border: 0; background: none; }
details.adv summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 0 4px; font: 800 14px/1 var(--font); }
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary::before { content: ''; width: 8px; height: 8px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
details.adv[open] summary::before { transform: rotate(45deg) translate(-2px, -1px); }
.estimate { margin-top: 10px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.estimate b { color: var(--fg); }
/* toast */
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(var(--sab) + 156px); transform: translate(-50%, 10px); padding: 12px 18px; border-radius: 14px; background: #0b0b0c; color: #fff; border: 1px solid #0b0b0c;
  font: 700 14.5px/1.35 var(--font); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* progress ring */
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: var(--sand); } .ring .fg { stroke: var(--ink); stroke-linecap: round; transition: stroke-dashoffset .3s; transform: rotate(-90deg); transform-origin: 50% 50%; }

/* ---------------- EXIF viewer ---------------- */
.ex { display: grid; gap: 16px; }
.ex-card { padding: 18px; border-radius: var(--r); background: var(--paper); border: var(--bw) solid var(--ink); box-shadow: var(--sh); }
.ex-card h3 { display: inline-block; margin: 0 0 12px; font: 800 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; background: var(--sun); color: #0b0b0c; padding: 5px 9px; border-radius: 6px; }
.ex-card summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 30px; font-weight: 800 !important; }
.ex-card summary::-webkit-details-marker { display: none; }
.ex-card summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.ex-card[open] summary::after { transform: rotate(-135deg); }
.ex-card[open] summary { margin-bottom: 8px; }
.ex-gps { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); border: var(--bw) solid #0b0b0c; box-shadow: var(--sh); color: #0b0b0c; }
.ex-gps.yes { background: var(--peach); }
.ex-gps.no { background: var(--sky); }
.ex-gps .gi { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: #0b0b0c; border: 1px solid #0b0b0c; }
.ex-gps b { display: block; font: 900 17px/1.3 var(--font); letter-spacing: -.01em; }
.ex-gps small { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .85; }
.ex-gps .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ex-gps .links a { display: inline-flex; align-items: center; min-height: 44px; font: 800 13.5px/1 var(--font); color: #0b0b0c; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid #0b0b0c; text-decoration: none; }
.kv { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 0; font-size: 14px; margin: 0; }
.kv dt, .kv dd { padding: 7px 0; border-top: 1px dashed var(--line); }
.kv dt:first-of-type, .kv dt:first-of-type + dd { border-top: 0; }
.kv dt { color: var(--muted); overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.kv dd { margin: 0; word-break: break-word; font-weight: 600; font-variant-numeric: tabular-nums; }
.ex-all { max-height: 50dvh; overflow: auto; }
.ex-all .kv { font-size: 13px; }
.ex-all h4 { margin: 16px 0 6px; font: 800 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ex-pre { white-space: pre-wrap; word-break: break-all; font: 12px/1.45 ui-monospace, monospace; max-height: 240px; overflow: auto; background: var(--sand); border: 1px solid var(--line); padding: 10px; border-radius: 10px; margin: 0; }
.ws.exif .view { overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--paper); }
.ex-wrap { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: calc(var(--sat) + 128px) 16px 28px; }
@media (min-width: 900px) { .ex-wrap { padding-top: calc(var(--sat) + 92px); } }
@media (max-width: 899px) { .ex-wrap { padding-right: 82px; } }
.ex-top { display: flex; gap: 16px; align-items: center; }
.ex-top img, .ex-top .ph-big { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; background: var(--sand); border: var(--bw) solid var(--ink); box-shadow: var(--sh); flex: none; display: grid; place-items: center; }
.ex-top .n { font: 900 18px/1.25 var(--font); letter-spacing: -.01em; word-break: break-all; }
.ex-top .m { color: var(--muted); font-size: 13.5px; margin-top: 5px; }
.ex-pager { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-size: 14px; }

/* boot / loading indicator (shown the moment files are chosen): the brand badge spinning */
.boot { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: color-mix(in srgb, var(--paper) 90%, transparent); transition: opacity .25s; text-align: center; padding: 24px; }
.boot.out { opacity: 0; pointer-events: none; }
.boot .spin { position: relative; width: 66px; height: 66px; border-radius: 50%; background: var(--sun); border: 1px solid #0b0b0c; }
.boot .spin::after { content: ''; position: absolute; inset: 13px; background: #0b0b0c; -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; animation: spin 1.1s cubic-bezier(.5,.1,.3,1) infinite; will-change: transform; }
.boot b { font: 800 16px/1.35 var(--font); font-variant-numeric: tabular-nums; }
.boot .bp { width: min(260px, 70vw); height: 14px; border-radius: 7px; background: var(--paper); border: 1px solid var(--ink); overflow: hidden; }
.boot .bp i { display: block; height: 100%; width: 0; background: var(--sun); box-shadow: inset -1px 0 0 var(--ink); transition: width .2s; }
.cmp .busy { flex-direction: column; gap: 14px; }
.cmp .busy { display: flex; align-items: center; justify-content: center; }
.cmp .busy[hidden] { display: none !important; }
.cmp .busy .bt { font: 800 13.5px/1.3 var(--font); padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--ink); font-variant-numeric: tabular-nums; }
.cmp .busy .bt:empty { display: none; }
.cmp .busy .bd { font: 600 11.5px/1.35 var(--font); padding: 4px 10px; margin-top: -6px; border-radius: 8px; background: var(--paper); border: 1px solid var(--ink); max-width: calc(100% - 24px); text-align: center; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cmp .busy .bd:empty { display: none; }
.cmp .busy .ring { animation: spin 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; } }

/* ================= phone (≤600px) =================
   The main site measured on a 390/360 px phone (getComputedStyle): body 15/24, lead 16/25.6, h1 32 (home 38) 900 caps,
   section h2 22-26, card h3 16/800, small 12-13; .btn 42px tall 14px; chips 33px 13px; header lang pills 29px 13px;
   icons 16-18px; .ico tiles 40px; 1px outlines; 3px shadow on cards/pill/stat boxes only (same as desktop).
   FotoJock follows: slimmer visuals, while every tap target keeps >= 40-44px through padding or an invisible ::after. */
@media (max-width: 600px) {
  :root { --lp-h: 32px; --lp-size: 12.5px; --lp-item-size: 14px; --lp-menu-radius: 16px; --lp-item-radius: 10px; }
  svg.i { width: 18px; height: 18px; }
  .lp-btn { position: relative; }
  .lp-btn::after, .switch::after, .xbtn::after, .cmp .zoomb button::after, .fl .a button::after, .seg button::after, .rb .ic::after { content: ''; position: absolute; inset: -5px 0; }
  .xbtn::after, .rb .ic::after { inset: -4px; }
  /* top bar */
  .top { height: calc(var(--sat) + 52px); padding: calc(var(--sat) + 8px) 12px 0; gap: 8px; }
  .brand { height: 36px; gap: 7px; }
  .brand .mk { width: 33px; height: 30px; }
  .brand .wm { font-size: 17px; }
  .switch { position: relative; height: 34px; gap: 5px; padding: 0 11px 0 13px; font-size: 13.5px; }
  .switch::after { inset: -5px 0; }
  .switch svg.i { width: 14px; height: 14px; }
  /* page */
  .page { padding: calc(var(--sat) + 76px) 16px calc(var(--sab) + 32px); }
  .kick { font-size: 11px; padding: 5px 8px; border-radius: 6px; }
  h1.h { font-size: 32px; line-height: 1.04; margin-top: 14px; }
  .home-hero h1.h { font-size: 34px; }
  .lead { margin-top: 12px; line-height: 1.6; }
  .btn { min-height: 44px; gap: 8px; padding: 0 18px; font-size: 14.5px; font-weight: 700; }
  .btn svg.i { width: 17px; height: 17px; }
  .btn.sm { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .chips { gap: 5px; margin-top: 14px; }
  .chip { height: 28px; padding: 0 10px; font-size: 12px; }
  .chip svg.i { width: 14px; height: 14px; }
  .chip.acc { min-height: 28px; padding-block: 5px; }
  /* home */
  .home-hero { row-gap: 22px; }
  .points { margin-top: 20px; gap: 8px; }
  .points li { padding-left: 22px; font-size: 14.5px; }
  .points li::before { width: 10px; height: 10px; top: .38em; }
  .drop { min-height: 200px; gap: 8px; padding: 22px 16px; border-radius: 20px; }
  .drop .ic { width: 52px; height: 52px; }
  .drop .ic svg.i { width: 22px; height: 22px; }
  .drop b { margin-top: 4px; font-size: 19px; }
  .drop small { font-size: 13.5px; }
  .drop .fmts { gap: 4px; }
  .drop .fmts span { font-size: 10px; padding: 5px 7px; border-radius: 5px; }
  .found { padding: 16px; }
  .found h3 { font-size: 15px; } .found p { font-size: 13.5px; }
  .blk { margin-top: 48px; }
  .sec-h { margin-bottom: 16px; gap: 12px; }
  .sec-h h2 { font-size: 24px; }
  .sec-h p { font-size: 13.5px; }
  .search input { height: 44px; padding-left: 42px; font-size: 15px; }
  .search svg.i { left: 15px; top: 13px; width: 18px; height: 18px; }
  .cat { margin-top: 28px; }
  .cat h3 { margin-bottom: 12px; font-size: 12px; }
  .cat h3::before { width: 11px; height: 11px; }
  .cat h3 small { font-size: 13px; }
  .grid { gap: 10px; }
  .tc { gap: 12px; padding: 12px; border-radius: 16px; }
  .tc .ti { width: 40px; height: 40px; border-radius: 11px; }
  .tc .ti svg.i { width: 19px; height: 19px; }
  .tc .ti .kb { font-size: 11px; }
  .tc .ti.pairi { font-size: 8.5px; }
  .tc .tn { font-size: 15px; }
  .tc .td { margin-top: 2px; font-size: 13px; }
  .tc.hot::after { width: 15px; height: 15px; top: -6px; }
  /* tool start */
  .demo { margin: 4px 14px 28px 2px; }
  .demo::before { inset: 9px -9px -9px 9px; border-radius: 18px; border-width: 1.5px; }
  .demo img { border-radius: 18px; border-width: 1.5px; }
  .demo figcaption { gap: 6px; padding: 7px 10px; border-radius: 12px; font-size: 13px; }
  .demo figcaption b { padding: 4px 6px; border-radius: 6px; }
  .demo .spark.s1 { width: 30px; right: -10px; top: -12px; }
  .tool-hero .cta { gap: 8px; margin-top: 22px; }
  .tool-hero .hint { margin-top: 12px; font-size: 13px; }
  .tool-hero .scroll { margin-top: 20px; font-size: 13.5px; }
  .tool-hero .scroll svg.i { width: 16px; height: 16px; }
  .dropveil b { font-size: 30px; }
  /* SEO content */
  .info { gap: 44px; }
  .info h2 { margin-bottom: 16px; font-size: 24px; }
  .how { gap: 12px; }
  .how li { padding: 16px 16px 18px; font-size: 14.5px; }
  .how li::before { width: 32px; height: 32px; margin-bottom: 10px; font-size: 14px; }
  .faq summary { min-height: 50px; gap: 12px; padding: 12px 14px 12px 16px; font-size: 15px; }
  .faq summary::after { width: 26px; height: 26px; font-size: 19px; }
  .faq details p { padding: 0 16px 14px; font-size: 14.5px; }
  .facts { padding: 16px; }
  .facts p { font-size: 14.5px; }
  .rel { gap: 8px; }
  .rel a { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
  .foot { margin-top: 48px; font-size: 13px; }
  /* sheets */
  .sheet { border-radius: 20px 20px 0 0; }
  .sheet .sh-h { gap: 8px; padding: 10px 10px 8px 18px; }
  .sheet .sh-h::before { top: 6px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; opacity: .3; }
  .sheet .sh-h h2 { margin-top: 8px; font-size: 16px; letter-spacing: 0; }
  .sheet .sh-b { padding: 12px 16px 18px; }
  .xbtn { position: relative; width: 36px; height: 36px; margin-top: 6px; }
  .xbtn svg.i { width: 15px; height: 15px; }
  .sw-search { top: -12px; margin: -12px -16px 6px; padding: 10px 16px; }
  .sw-list .cat { margin-top: 16px; }
  .sw-list .grid { gap: 8px; }
  .sw-list .tc { padding: 8px; border-radius: 12px; }
  .sw-list .tc .ti { width: 36px; height: 36px; border-radius: 10px; }
  .sw-list .tc .ti svg.i { width: 17px; height: 17px; }
  .sw-more { font-size: 13.5px; }
  .swm { margin-top: 12px; }
  .swm-track { gap: 8px; margin: 2px -16px 0; padding: 6px 16px 8px; scroll-padding-inline: 16px; }
  .swm-c { width: 150px; height: 128px; border-radius: 12px; }
  .swm-t { padding: 7px 9px 8px; }
  .swm-n { font-size: 13px; }
  .swm-d { font-size: 11px; }
  /* workspace: rail, summary, dock */
  .rail { right: 6px; bottom: 12px; gap: 10px; }
  .rb { width: 54px; gap: 4px; }
  .rb .ic { width: 42px; height: 42px; }
  .rb .ic svg.i { width: 18px; height: 18px; }
  .rb .lb { max-width: 64px; padding: 2px 6px; font-size: 10px; }
  .rb .badge { top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font: 800 10px/16px var(--font); }
  .sumchip { top: calc(var(--sat) + 60px); height: 34px; gap: 7px; padding: 0 3px 0 11px; font-size: 12.5px; }
  .sumchip .sv { padding: 3px 6px; border-radius: 6px; }
  .sumchip .pb { width: 34px; height: 8px; border-radius: 4px; }
  .sumchip button { width: 28px; height: 28px; }
  .sumchip button::after { inset: -8px; }
  .sumchip button svg.i { width: 13px; height: 13px; }
  .sumchip:has(.pp[hidden]) { padding-right: 11px; }
  .dock { padding: 6px 0 calc(var(--sab) + 8px); }
  .strip { gap: 8px; padding: 4px 12px 8px; }
  .th { width: 52px; height: 52px; border-radius: 11px; }
  .th.on { box-shadow: 0 0 0 2px var(--sun), 0 0 0 3px var(--ink); }
  .th .st { left: 3px; right: 3px; bottom: 3px; height: 15px; border-radius: 5px; font: 800 9.5px/13px var(--font); }
  .th .pr { height: 3px; }
  .th .nm { font-size: 9px; }
  .th .spin { width: 18px; height: 18px; margin: -12px 0 0 -9px; border-width: 2px; }
  .acts { gap: 8px; padding: 0 12px; }
  .acts .btn { min-height: 44px; }
  .acts .btn.pri { font-size: 14.5px; }
  .sq { width: 44px; height: 44px; border-radius: 13px; }
  .sq .badge { top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font: 800 10px/16px var(--font); }
  /* image compare */
  .cmp .bar::before { left: 21px; width: 2px; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.9); }
  .cmp .bar i { width: 34px; height: 34px; margin: -17px; }
  .cmp .bar i svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
  .cmp .lbl { top: calc(var(--sat) + 102px); gap: 2px; padding: 6px 9px; border-radius: 11px; font-size: 11px; }
  .cmp .lbl b { font-size: 9.5px; }
  .cmp .lbl span { font-size: 14px; }
  .cmp .lbl .pct { margin-left: 5px; padding: 1px 5px; border-radius: 5px; font-size: 11px; }
  .cmp .lbl.l { left: 10px; } .cmp .lbl.r { right: 10px; }
  .cmp .zoomb { left: 10px; bottom: 12px; gap: 6px; }
  .cmp .zoomb button { position: relative; height: 36px; min-width: 36px; padding: 0 10px; font-size: 12px; }
  .cmp .zoomb svg.i { width: 15px; height: 15px; }
  .cmp .busy { gap: 10px; }
  .cmp .busy .ring { width: 58px; height: 58px; }
  .cmp .busy .bt { padding: 5px 10px; font-size: 12px; }
  /* files list + totals */
  .flist { gap: 6px; }
  .fl { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 7px; border-radius: 14px; }
  .fl img, .fl .ph { width: 44px; height: 44px; border-radius: 9px; }
  .fl .n { font-size: 13.5px; }
  .fl .m, .fl .e { font-size: 12px; margin-top: 2px; }
  .fl .a { gap: 4px; }
  .fl .a button { position: relative; width: 36px; height: 36px; border-radius: 10px; }
  .fl .a svg.i { width: 16px; height: 16px; }
  .fl .bar { height: 6px; margin-top: 5px; }
  .totals { gap: 8px; margin-bottom: 14px; }
  .totals div { padding: 9px 10px; border-radius: 12px; }
  .totals b { font-size: 16px; }
  .totals small { font-size: 11px; }
  .fbar { gap: 8px; margin-bottom: 14px; }
  /* settings */
  .opt { padding: 12px 0; }
  .opt > label:not(.ck), .opt .ol { margin-bottom: 9px; font-size: 11px; }
  .opt .ol output { padding: 3px 7px; border-radius: 6px; font-size: 13px; }
  .opt .note, .note { margin-top: 6px; font-size: 12.5px; }
  .seg { gap: 6px; }
  .seg button { position: relative; min-height: 36px; padding: 0 13px; font-size: 13px; }
  .seg.fmt button { min-width: 52px; }
  input[type=range] { height: 30px; }
  input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; }
  input[type=range]::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -8px; }
  input[type=range]::-moz-range-track { height: 6px; }
  input[type=range]::-moz-range-progress { height: 6px; }
  input[type=range]::-moz-range-thumb { width: 20px; height: 20px; }
  .num { gap: 6px; }
  .num input, .num select, .sel { height: 40px; border-radius: 10px; }
  .ck { gap: 10px; min-height: 40px; padding: 5px 0; font-size: 14px; }
  .ck input { width: 19px; height: 19px; }
  .ck small { font-size: 12px; }
  .swatches { gap: 8px; }
  .swatches button { width: 40px; height: 40px; border-radius: 10px; }
  .swatches button.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
  .swatches input[type=color] { width: 44px; height: 40px; }
  details.adv summary { min-height: 40px; padding: 10px 0 2px; font-size: 13.5px; }
  details.adv summary::before { width: 7px; height: 7px; border-width: 2px; }
  .estimate { font-size: 12.5px; }
  /* toast, loader */
  .toast { bottom: calc(var(--sab) + 128px); padding: 9px 14px; border-radius: 12px; font-size: 13.5px; }
  body:has(.vs-ctl) .toast { bottom: calc(var(--sab) + 186px); }
  .ring circle { stroke-width: 6; }
  .boot { gap: 14px; }
  .boot .spin { width: 52px; height: 52px; }
  .boot .spin::after { inset: 11px; }
  .boot b { font-size: 14.5px; }
  .boot .bp { width: min(220px, 64vw); height: 10px; border-radius: 5px; }
  /* EXIF */
  .ex { gap: 12px; }
  .ex-wrap { padding: calc(var(--sat) + 104px) 66px 24px 12px; }
  .ex-card { padding: 16px; }
  .ex-card h3 { margin-bottom: 10px; font-size: 11px; padding: 4px 8px; }
  .ex-card summary::after { width: 7px; height: 7px; border-width: 2px; }
  .ex-gps { gap: 12px; padding: 14px; }
  .ex-gps .gi { width: 40px; height: 40px; }
  .ex-gps .gi svg.i { width: 18px; height: 18px; }
  .ex-gps b { font-size: 15.5px; }
  .ex-gps small { font-size: 12.5px; }
  .ex-gps .links { gap: 6px; margin-top: 8px; }
  .ex-gps .links a { min-height: 38px; padding: 0 12px; font-size: 12.5px; }
  .kv { font-size: 13.5px; }
  .kv dt, .kv dd { padding: 6px 0; }
  .ex-all .kv { font-size: 12.5px; }
  .ex-top { gap: 12px; }
  .ex-top img, .ex-top .ph-big { width: 72px; height: 72px; border-radius: 14px; }
  .ex-top .n { font-size: 16px; }
  .ex-top .m { margin-top: 3px; font-size: 12.5px; }
  .ex-pager { font-size: 13px; }
}

/* ---------------- mini-apps (gen-pages.mjs miniStrip / miniBanner / miniPage, shell.js .mininav) ---------------- */
/* top bar: "Mini-Apps" pill = the switch's flat 1px style; icon only on narrow phones (label stays for screen readers) */
.mininav { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 15px 0 12px; border-radius: 999px; background: var(--field); border: 1px solid var(--ink); flex: none;
  font: 700 14.5px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background .12s; position: relative; }
.mininav:hover, .mininav[aria-current] { background: var(--butter); color: #0b0b0c; }
.mininav svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
@media (max-width: 760px) { .mininav { padding: 0; width: 44px; justify-content: center; } .mininav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* compact cards: picture band + name + one line */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.mc { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; overflow: hidden; background: var(--paper); border: var(--bw) solid var(--ink); text-decoration: none; transition: background .12s; }
.mc:hover { background: var(--butter); color: #0b0b0c; } .mc:hover .mc-d { color: #3b3936; }
.mc-ph { display: block; aspect-ratio: 12 / 5; border-bottom: var(--bw) solid var(--ink); background: var(--sand); overflow: hidden; }
.mc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mc:hover .mc-ph img { transform: scale(1.04); }
.mc-t { display: block; padding: 10px 12px 12px; min-width: 0; }
.mc-n { display: block; font: 800 14.5px/1.25 var(--font); letter-spacing: -.01em; overflow-wrap: break-word; }
.mc-d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.4; overflow-wrap: break-word; }
.mini .sec-h h2 { font-size: clamp(26px, 4vw, 36px); }
.mini-all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 14.5px/1 var(--font); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.mini-all i { font-style: normal; }
/* bottom strip (home + tool pages): 8 cards = 4 × 2, "All mini-apps →" beside the title (wide) or under the cards (phone) */
.mini-strip .mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-all.mall-end { display: none; }
@media (max-width: 700px) {
  .mini-strip .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-all.mall-top { display: none; }
  .mini-all.mall-end { display: flex; width: fit-content; margin: 14px auto 0; }
}
/* /fotojock/mini-apps: bigger cards */
.ma-hero { max-width: 760px; }
.ma-count { display: inline-block; margin: 18px 0 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink); font: 800 13px/1.2 var(--font); background: var(--sky); color: #0b0b0c; }
.mini-page { margin-top: 40px; }
.mini-page .mgrid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.mini-page .mc { border-radius: 18px; box-shadow: var(--sh); transition: transform .12s, box-shadow .12s, background .12s; }
.mini-page .mc:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-up); }
.mini-page .mc:active { transform: translate(1px, 1px); box-shadow: var(--sh-dn); }
.mini-page .mc-n { font-size: 16px; } .mini-page .mc-d { font-size: 13.5px; }
/* home banner above "Popular": lilac card (= site .box), sun kick + button, four tilted app snapshots */
.mbn { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 34px 36px; border-radius: var(--r);
  background: var(--lilac); color: #0b0b0c; border: var(--bw) solid var(--ink); box-shadow: var(--sh); }
.mbn .kick { border-color: #0b0b0c; }
.mbn h2 { font: 900 clamp(28px, 4.2vw, 42px)/1.03 var(--font); text-transform: uppercase; letter-spacing: -.025em; margin: 14px 0 0; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.mbn h2 i { font-style: normal; background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mbn p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.5; max-width: 470px; color: #2b2927; text-wrap: pretty; }
.mbn .btn { margin-top: 20px; min-height: 48px; font-size: 15px; white-space: normal; text-align: center; line-height: 1.15; padding-block: 8px; }
.mbn .btn i { font-style: normal; }
.mbn-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mbn-pic { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid #0b0b0c; background: #fff; box-shadow: 3px 3px 0 #0b0b0c; text-decoration: none; color: #0b0b0c;
  transform: rotate(var(--rt, 0deg)); transition: transform .15s ease; }
.mbn-pic:nth-child(1) { --rt: -2.5deg; } .mbn-pic:nth-child(2) { --rt: 2deg; } .mbn-pic:nth-child(3) { --rt: 1.5deg; } .mbn-pic:nth-child(4) { --rt: -2deg; }
.mbn-pic:hover { transform: rotate(0deg) translate(-2px, -2px); box-shadow: 5px 5px 0 #0b0b0c; }
.mbn-pic img { display: block; width: 100%; aspect-ratio: 12 / 5; height: auto; object-fit: cover; }
.mbn-pic b { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: 8px; background: var(--sun); border: 1px solid #0b0b0c;
  font: 800 12.5px/1.2 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbn .spark { position: absolute; z-index: 2; color: #0b0b0c; pointer-events: none; }
.mbn .spark.s1 { width: 48px; right: -18px; top: -24px; }
.mbn .spark.s2 { width: 24px; left: 46%; bottom: -14px; }
@media (prefers-color-scheme: dark) { .mbn .spark { color: var(--fg); } }
@media (max-width: 860px) { .mbn { grid-template-columns: 1fr; gap: 22px; } .mbn .spark.s2 { display: none; } }
/* Retouch banner (home: after the mini-apps banner; /tools): peach card, before/after demos of the retouch pages */
.rbn { background: var(--peach); }
.mbn + .rbn { margin-top: 28px; }
.rbn .mbn-pic img { aspect-ratio: 16 / 10; object-position: 50% 40%; }
.rbn .mbn-pic b { white-space: normal; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 600px) {
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mc { border-radius: 14px; }
  .mc-t { padding: 8px 10px 10px; }
  .mc-n { font-size: 13.5px; }
  .mc-d { font-size: 12px; }
  .mini .sec-h h2 { font-size: 24px; }
  .mini-all { font-size: 13.5px; }
  .mini-page .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mini-page .mc-n { font-size: 14px; } .mini-page .mc-d { font-size: 12.5px; }
  .ma-count { font-size: 12px; }
  .mininav { height: 34px; width: 34px; }
  .mininav::after { content: ''; position: absolute; inset: -5px 0; }
  .mininav svg.i { width: 17px; height: 17px; }
  .mbn { padding: 22px 18px 24px; gap: 18px; border-radius: 18px; }
  .mbn h2 { font-size: 27px; margin-top: 12px; }
  .mbn p { font-size: 14.5px; }
  .mbn .btn { margin-top: 16px; min-height: 44px; font-size: 14.5px; width: 100%; }
  .mbn-pics { gap: 10px; }
  .mbn-pic { border-radius: 12px; }
  .mbn-pic b { left: 6px; bottom: 6px; font-size: 11.5px; padding: 3px 6px; }
  .mbn .spark.s1 { width: 36px; right: -8px; top: -18px; }
}
@media (max-width: 420px) { .switch { max-width: calc(100vw - 206px); } }

/* Notice under the H1 (remove-object & co.: which AI models run, owner 2026-10-19) */
.tool-hero .alert { margin: 10px 0 2px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid #d9a400; border-radius: 10px; background: color-mix(in srgb, #d9a400 9%, transparent); color: var(--fg); font-size: 13.5px; line-height: 1.45; max-width: 60ch; }

/* SEO fixes round 2 (2026-10-19). Visible breadcrumb = the BreadcrumbList (FotoJock › tool / mini-apps page), small,
   above the kicker; the footer's row of language links (this page in every language, plain <a href hreflang>). */
.crumbs { margin: 0 0 12px; font: 500 13px/1.35 var(--font); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; }
.crumbs li { min-width: 0; overflow-wrap: anywhere; }
.crumbs li + li::before { content: '›'; margin: 0 7px; color: var(--muted); }
.crumbs a { color: var(--fg); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot .flangs { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; font-size: 13px; }
.foot .flangs .fl-h { color: var(--muted); }
.foot .flangs a { font-weight: 500; }
.foot .flangs [aria-current] { color: var(--fg); font-weight: 700; }
