/* =========================================================
   Comprimir imágenes · RapidTools
   ========================================================= */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f7f5f2; --bg2: #efebe5; --panel: #ffffff; --ink: #17140f; --ink2: #4a4339; --muted: #7a7166;
  --line: #e7e1d8; --line2: #d6cec2; --acc: #e8590c; --acc2: #f59f00; --acc-ink: #ffffff; --acc-soft: #fff1e6; --acc-text: #b8460a;
  --ok: #138a52; --ok-soft: #e7f6ee; --warn: #a65d00; --warn-soft: #fff4dc; --bad: #c0281b; --bad-soft: #fdecea;
  --shadow: 0 1px 2px rgba(30, 20, 5, .05), 0 10px 30px rgba(30, 20, 5, .07); --shadow-lg: 0 20px 60px rgba(30, 20, 5, .18);
  --r: 16px; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --coffee: #b85a1f; --coffee-soft: #fff3e6; --coffee-line: #f3d6bb; --coffee-text: #8a3f12;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #100e0c; --bg2: #191613; --panel: #171411; --ink: #f4efe9; --ink2: #c9c0b4; --muted: #968c80;
  --line: #2a2520; --line2: #3a332c; --acc: #ff7a2f; --acc2: #ffb340; --acc-ink: #1a0d03; --acc-soft: #2b1a0e; --acc-text: #ff9a5c;
  --ok: #4fd18f; --ok-soft: #10251a; --warn: #f5b84a; --warn-soft: #2a2011; --bad: #ff7b6e; --bad-soft: #2a1513;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.3); --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
  --coffee: #f0a05f; --coffee-soft: #2a1a0f; --coffee-line: #4a2e19; --coffee-text: #f6bb85;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100e0c; --bg2: #191613; --panel: #171411; --ink: #f4efe9; --ink2: #c9c0b4; --muted: #968c80;
    --line: #2a2520; --line2: #3a332c; --acc: #ff7a2f; --acc2: #ffb340; --acc-ink: #1a0d03; --acc-soft: #2b1a0e; --acc-text: #ff9a5c;
    --ok: #4fd18f; --ok-soft: #10251a; --warn: #f5b84a; --warn-soft: #2a2011; --bad: #ff7b6e; --bad-soft: #2a1513;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.3); --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
    --coffee: #f0a05f; --coffee-soft: #2a1a0f; --coffee-line: #4a2e19; --coffee-text: #f6bb85;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; }
a { color: var(--acc-text); }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 90; }
.skip:focus { left: 8px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

/* barra superior */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand small { font-weight: 600; color: var(--muted); font-size: 14px; padding-left: 9px; border-left: 1px solid var(--line2); }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { color: var(--ink2); text-decoration: none; font-size: 14px; padding: 7px 10px; border-radius: 8px; }
.nav a:hover { background: var(--bg2); color: var(--ink); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 650; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pill--coffee { background: var(--coffee-soft); border-color: var(--coffee-line); color: var(--coffee-text); }
.pill--icon { width: 40px; padding: 0; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; } :root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: none; } :root:not([data-theme="light"]) .i-moon { display: block; } }
@media (max-width: 860px) { .nav { display: none; } .pill--coffee { margin-left: auto; } }
@media (max-width: 640px) { .pill--coffee span, .brand small { display: none; } .pill--coffee, .pill--icon { width: 44px; min-height: 44px; padding: 0; } }

/* héroe */
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 10px 0 0; font-size: 17.5px; color: var(--ink2); max-width: 620px; }
.privacy { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 650; font-size: 14px; }
.privacy .ico { width: 18px; height: 18px; }
@media (max-width: 640px) { .hero { padding-top: 18px; } .hero p { font-size: 16px; } }

/* herramienta */
.tool { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 920px) { .tool { grid-template-columns: 1fr; } .settings { order: 2; } }
.settings { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); position: sticky; top: 76px; }
@media (max-width: 920px) { .settings { position: static; } }
.settings h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 750; margin: 0 0 10px; }
.settings h2 + * { margin-top: 0; }
.blk + .blk { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg2); border-radius: 12px; margin-bottom: 14px; }
.seg button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 650; color: var(--ink2); cursor: pointer; font-size: 14.5px; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.targets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.targets button { min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line2); background: var(--panel); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 4px; }
.targets button small { font-size: 11px; color: var(--muted); font-weight: 600; }
.targets button b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.targets button[aria-pressed="true"] { border-color: var(--acc); background: var(--acc-soft); color: var(--acc-text); }
.targets button[aria-pressed="true"] small { color: var(--acc-text); }
.custom { display: grid; grid-template-columns: 1fr 86px; gap: 8px; margin-top: 10px; }
input[type=number], input[type=text], select { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 11px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink); font-size: 16px; }
input:focus, select:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }
.q { display: flex; align-items: center; gap: 12px; }
.q input[type=range] { flex: 1; accent-color: var(--acc); height: 28px; }
.q output { min-width: 82px; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f > span { font-size: 13.5px; font-weight: 650; color: var(--ink2); }
details.adv summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; }
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary .chev { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .2s; }
details.adv[open] summary .chev { transform: rotate(180deg); }
.radio, .chk { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; padding: 8px 0; cursor: pointer; font-size: 14.5px; }
.radio input, .chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acc); flex: none; }
.radio small, .chk small { display: block; color: var(--muted); font-size: 12.5px; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 6px 28px; }
.dims label { font-size: 12.5px; color: var(--muted); font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0 28px; }
.presets button { min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); font-size: 13px; font-weight: 600; color: var(--ink2); cursor: pointer; }

/* zona de carga y resultados */
.work { min-width: 0; }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 10px; min-height: 380px; padding: 30px 20px; border-radius: 22px; border: 2px dashed var(--line2); background:
  radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--acc) 9%, transparent), transparent 70%), var(--panel); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop:hover, .drop.is-over { border-color: var(--acc); }
.drop.is-over { background-color: var(--acc-soft); }
.drop__icon { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc2)); box-shadow: 0 14px 34px color-mix(in srgb, var(--acc) 40%, transparent); }
.drop__icon .ico { width: 34px; height: 34px; }
.drop b { font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -.02em; }
.drop small { color: var(--muted); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn--acc { background: var(--acc); color: var(--acc-ink); }
.btn--acc:hover { filter: brightness(1.06); }
.btn--ghost { background: var(--panel); border-color: var(--line2); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.drop--small { min-height: 0; padding: 16px; grid-template-columns: auto 1fr auto; text-align: left; gap: 14px; place-items: center start; border-radius: 16px; }
.drop--small .drop__icon { width: 44px; height: 44px; border-radius: 13px; }
.drop--small .drop__icon .ico { width: 22px; height: 22px; }
.drop--small b { font-size: 16px; }
@media (max-width: 560px) { .drop { min-height: 300px; } .drop.drop--small { min-height: 0; grid-template-columns: auto 1fr; } .drop--small .btn { display: none; } }

.summary { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 16px 18px; margin: 14px 0 12px; border-radius: 16px; background: var(--ink); color: var(--panel); }
.summary__n { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.summary__n b { font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.summary__n span { font-size: 13.5px; opacity: .75; }
.summary .btn--acc { background: var(--acc); }
.summary .btn--ghost { background: transparent; color: var(--panel); border-color: color-mix(in srgb, var(--panel) 35%, transparent); }
@media (max-width: 560px) { .summary .btn { flex: 1 1 100%; } }

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.row__thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: repeating-conic-gradient(var(--bg2) 0 25%, var(--panel) 0 50%) 0 0/16px 16px; }
.row__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__meta { font-size: 13px; color: var(--muted); }
.row__sizes { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; font-variant-numeric: tabular-nums; }
.row__sizes s { color: var(--muted); text-decoration: none; }
.row__sizes b { font-size: 17px; }
.red { font-size: 13px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.red--neu { background: var(--bg2); color: var(--muted); }
.row__acts { display: flex; gap: 8px; }
.row__acts .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
.row__note { grid-column: 2 / -1; font-size: 13.5px; color: var(--ink2); padding: 8px 10px; border-radius: 10px; background: var(--bg2); }
.row__note--warn { background: var(--warn-soft); color: var(--warn); }
.row__note--bad { background: var(--bad-soft); color: var(--bad); }
.bar { height: 6px; border-radius: 99px; background: var(--bg2); overflow: hidden; margin-top: 8px; max-width: 320px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--acc), var(--acc2)); border-radius: inherit; transition: width .25s; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.st--busy { color: var(--acc-text); }
.spin { width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid var(--line2); border-top-color: var(--acc); animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .row { grid-template-columns: 60px minmax(0, 1fr); }
  .row__thumb { width: 60px; height: 60px; }
  .row__acts { grid-column: 1 / -1; }
  .row__acts .btn { flex: 1; }
  .row__note { grid-column: 1 / -1; }
}

/* comparación */
dialog.modal { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(1100px, calc(100vw - 24px)); width: 100%; }
dialog.modal::backdrop { background: rgba(10, 8, 5, .7); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); max-height: calc(100dvh - 24px); overflow: auto; }
.modal__head { display: flex; align-items: center; gap: 12px; margin: 0 48px 12px 0; flex-wrap: wrap; }
.modal__head h2 { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.modal__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2; }
.modal__x:hover { background: var(--bg2); }
.cmp { position: relative; border-radius: 14px; overflow: hidden; background: repeating-conic-gradient(var(--bg2) 0 25%, var(--panel) 0 50%) 0 0/20px 20px; user-select: none; touch-action: none; cursor: ew-resize; }
.cmp img { display: block; width: 100%; height: auto; max-height: 68vh; object-fit: contain; pointer-events: none; }
.cmp__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x, 50%)); }
.cmp__after img { width: 100%; height: 100%; }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.cmp__line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-size: 22px; background-repeat: no-repeat; background-position: center; }
.cmp__tag { position: absolute; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 12.5px; font-weight: 700; }
.cmp__tag--l { left: 10px; } .cmp__tag--r { right: 10px; }
.cmp-range { width: 100%; margin-top: 12px; accent-color: var(--acc); }
.modal p { color: var(--ink2); }
.coffee-card { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--coffee-soft); border: 1px solid var(--coffee-line); }
.coffee-card p { margin: 0 0 10px; font-size: 14.5px; }
.btn--coffee { background: var(--coffee); color: #fff; width: 100%; }
:root[data-theme="dark"] .btn--coffee { color: #1d1006; }

/* contenido */
.ad-slot { display: grid; place-items: center; border: 1.5px dashed var(--line2); border-radius: 14px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; min-height: 100px; margin: 28px 0; background: repeating-linear-gradient(-45deg, transparent 0 10px, color-mix(in srgb, var(--line) 45%, transparent) 10px 20px); }
.ad-slot--lg { min-height: 250px; }
.sec { padding: 46px 0 10px; }
.sec h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.sec .lead { color: var(--ink2); font-size: 17px; margin: 10px 0 24px; max-width: 700px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); counter-reset: s; }
.steps li { padding: 22px 22px 6px 0; counter-increment: s; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 44px; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(90deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 12px; }
.steps b { display: block; font-size: 19px; margin-bottom: 6px; }
.steps span { color: var(--ink2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.use { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.use .ico { width: 22px; height: 22px; color: var(--acc-text); margin-top: 2px; }
.use b { display: block; }
.use span { font-size: 14.5px; color: var(--ink2); }
.prose { max-width: 780px; }
.prose p, .prose li { color: var(--ink2); font-size: 16.5px; line-height: 1.7; }
.prose h3 { font-size: 20px; margin: 26px 0 6px; }
.prose strong { color: var(--ink); }
table.fmt { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
table.fmt th, table.fmt td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.fmt th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 17px 40px 17px 2px; font-weight: 650; font-size: 16.5px; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--ink2); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.rel { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: var(--ink); }
.rel:hover { border-color: var(--acc); }
.rel img { width: 44px; height: 44px; border-radius: 12px; }
.rel b { display: block; }
.rel span { font-size: 14px; color: var(--ink2); }
.support { display: flex; align-items: center; gap: 16px 22px; padding: 22px; border-radius: 20px; background: var(--coffee-soft); border: 1px solid var(--coffee-line); flex-wrap: wrap; }
.support > div { flex: 1; min-width: 240px; }
.support p { margin: 4px 0 0; color: var(--ink2); }
.support .btn--coffee { width: auto; }
.foot { margin-top: 48px; border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--ink2); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 70; transform: translate(-50%, 12px); opacity: 0; transition: transform .2s, opacity .2s; background: var(--ink); color: var(--panel); padding: 12px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 550; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.noscript { padding: 16px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); }
