/* Kitspotter web: what every page shares. Design: canvas page "Web" (identity G).
   The landing adds inicio.css. */

@font-face { font-family: "Sofia Sans"; font-weight: 400; font-display: swap; src: url("/fonts/sofia_sans_400.ttf") format("truetype"); }
@font-face { font-family: "Sofia Sans"; font-weight: 600; font-display: swap; src: url("/fonts/sofia_sans_600.ttf") format("truetype"); }
@font-face { font-family: "Sofia Sans"; font-weight: 800; font-display: swap; src: url("/fonts/sofia_sans_800.ttf") format("truetype"); }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-weight: 800; font-display: swap; src: url("/fonts/sofia_sans_extra_condensed_800.ttf") format("truetype"); }

:root {
  color-scheme: light dark;
  --page: #FFFFFF;
  --alt: #F4F4F5;
  --line: #E6E6E8;
  --line-strong: #CFCFD4;
  --track: #E6E6E8;
  --text: #0B0C0E;
  --text2: #5F6368;
  --btn: #0B0C0E;
  --btn-ink: #FFFFFF;
  --lime: #C6F432;
  --ink: #0B0C0E;
  --bad: #C42B2F;
  --nav-bg: rgba(255, 255, 255, 0.78);
  --nav-line: rgba(11, 12, 14, 0.08);
  --chip-shadow: 0 14px 34px rgba(11, 12, 14, 0.12), inset 0 0 0 1px rgba(11, 12, 14, 0.06);
  --phone-shadow: 0 50px 90px -30px rgba(11, 12, 14, 0.45);
  --dark-ring: none;
  --todo-bg: #FFF3B0;
  --todo-text: #5C4500;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --body: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #000000;
    --alt: #141416;
    --line: #26262A;
    --line-strong: #3A3A40;
    --track: #2C2C31;
    --text: #F5F5F7;
    --text2: #9A9AA1;
    --btn: #F5F5F7;
    --btn-ink: #0B0C0E;
    --bad: #FF8A8D;
    --nav-bg: rgba(20, 20, 22, 0.74);
    --nav-line: rgba(255, 255, 255, 0.1);
    --chip-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    --phone-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95);
    --dark-ring: inset 0 0 0 1px #26262A;
    --todo-bg: #3D3200;
    --todo-text: #FFE27A;
  }
}
:root[data-theme="dark"] {
    --page: #000000;
    --alt: #141416;
    --line: #26262A;
    --line-strong: #3A3A40;
    --track: #2C2C31;
    --text: #F5F5F7;
    --text2: #9A9AA1;
    --btn: #F5F5F7;
    --btn-ink: #0B0C0E;
    --bad: #FF8A8D;
    --nav-bg: rgba(20, 20, 22, 0.74);
    --nav-line: rgba(255, 255, 255, 0.1);
    --chip-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    --phone-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95);
    --dark-ring: inset 0 0 0 1px #26262A;
    --todo-bg: #3D3200;
    --todo-text: #FFE27A;
  }

/* Language: html[data-lang] shows only the blocks with that language in data-l. */
html[data-lang="es"] [data-l]:not([data-l~="es"]),
html[data-lang="rio"] [data-l]:not([data-l~="rio"]),
html[data-lang="en"] [data-l]:not([data-l~="en"]) { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip:focus { left: 16px; }

.page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.page > main { flex: 1; }

/* Shared typography */
.display { font-family: var(--display); font-weight: 800; line-height: 0.86; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text2); }
.muted { color: var(--text2); }

/* ---------- Navigation bar (WebNav) ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 20; }
.nav { padding: 16px var(--gutter) 0; }
.nav-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill {
  display: flex; align-items: center; min-height: 56px; border-radius: 18px;
  background: var(--nav-bg); box-shadow: inset 0 0 0 1px var(--nav-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.pill-l { gap: clamp(14px, 2.4vw, 28px); padding: 6px 20px 6px 10px; }
.pill-r { gap: 4px; padding: 6px; }
/* Landing: the nav floats over the feed mosaic, so its pills are lighter glass with a highlight on the top edge. */
.nav-glass { --glass-bg: rgba(255, 255, 255, 0.46); --glass-ring: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 10px 30px rgba(11, 12, 14, 0.14); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-glass { --glass-bg: rgba(20, 20, 22, 0.42); --glass-ring: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35); }
}
:root[data-theme="dark"] .nav-glass { --glass-bg: rgba(20, 20, 22, 0.42); --glass-ring: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35); }
.nav-glass .pill { background: var(--glass-bg); box-shadow: var(--glass-ring); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }
.nav-glass .nav-links a { color: var(--text); }
.wordmark {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px;
  color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase;
}
.wordmark i { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
/* Brand: app icon and logotype (WebNav and WebPie with logo="marca") */
.wordmark-marca { gap: 0; }
.wordmark-marca .wm-icon { width: 34px; height: 34px; border-radius: 8px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.18); }
.wordmark-marca .wm-logo { height: 19px; width: auto; display: block; margin-left: 10px; }
.nav-sep { width: 1px; height: 20px; background: var(--line); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); font-size: 15px; font-weight: 600; }
.nav-links a { position: relative; color: var(--text2); text-decoration: none; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 1px;
  background: var(--lime); scale: 0 1; transform-origin: 0 50%; transition: scale 0.3s var(--ease);
}
.nav-links a:hover::after { scale: 1 1; }
.lang-btn {
  min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.lang-btn:hover { background: var(--alt); }
.lang-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.theme-btn .to-dark, :root[data-eff="dark"] .theme-btn .to-light { display: block; }
.theme-btn .to-light, :root[data-eff="dark"] .theme-btn .to-dark { display: none; }
.nav-cta {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 12px;
  background: var(--lime); color: var(--ink); font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
@media (max-width: 900px) { .nav-links, .nav-sep { display: none; } }
@media (max-width: 420px) { .lang-btn .lang-txt { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  min-height: 54px; padding: 0 24px; border: 0; border-radius: 27px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: scale 0.12s var(--ease);
}
.btn:active, .press:active { scale: 0.97; }
.press { transition: scale 0.12s var(--ease); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-line { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Store buttons: the official App Store and Google Play badges (black, grey hairline, store logo, store wording) */
.store {
  height: 54px; padding: 0 18px 0 14px; border-radius: 11px;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: #000000; color: #FFFFFF; box-shadow: inset 0 0 0 1px #A6A6A6;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: scale 0.12s var(--ease);
}
.store:active { scale: 0.97; }
.store-logo { width: 28px; height: 30px; flex-shrink: 0; }
.store-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 2px; white-space: nowrap; }
.store-txt small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.store-txt .store-caps { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.store-txt b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Rarity badge (RarityBadge) ----------
   Always with the level name, never a percentage. site.js sets the level, icon and name from data-level and the language.
   rb-foto: over a photo. rb-dark: over a dark card. */
.rbadge {
  --cl: #1D4ED8; --cd: #7AB0FF; --solid: #1D4ED8; --c: var(--cl);
  --rb-bg: color-mix(in srgb, var(--solid) 9%, transparent); --rb-text: #0B0C0E; --rb-off: rgba(0, 0, 0, 0.12); --rb-ring: none;
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 8px; border-radius: 999px;
  background: var(--rb-bg); color: var(--rb-text); box-shadow: var(--rb-ring); white-space: nowrap; font-family: var(--body);
}
.rbadge svg { width: 15px; height: 15px; fill: var(--c); flex-shrink: 0; }
.rbadge .rname { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c); }
.rbadge .pips { display: inline-flex; gap: 2px; }
.rbadge .pips i { width: 4px; height: 11px; border-radius: 2px; background: var(--rb-off); }
.rbadge[data-level="comun"] { --cl: #4B5563; --cd: #C2C8D0; --solid: #6B7280; }
.rbadge[data-level="poco"] { --cl: #15803D; --cd: #4ADE80; --solid: #15803D; }
.rbadge[data-level="rara"] { --cl: #1D4ED8; --cd: #7AB0FF; --solid: #1D4ED8; }
.rbadge[data-level="epica"] { --cl: #7E22CE; --cd: #D19CFF; --solid: #7E22CE; }
.rbadge[data-level="unica"] { --cl: #B45309; --cd: #FBBF24; --solid: #B45309; }
.rbadge[data-level="epica"], .rbadge[data-level="unica"] {
  --rb-ring: 0 0 0 1.5px color-mix(in srgb, var(--c) 40%, transparent), 0 4px 14px color-mix(in srgb, var(--solid) 25%, transparent);
}
.rbadge[data-level="comun"] .pips i:nth-child(-n+1),
.rbadge[data-level="poco"] .pips i:nth-child(-n+2),
.rbadge[data-level="rara"] .pips i:nth-child(-n+3),
.rbadge[data-level="epica"] .pips i:nth-child(-n+4),
.rbadge[data-level="unica"] .pips i { background: var(--c); }
.rb-dark { --c: var(--cd); --rb-bg: rgba(255, 255, 255, 0.07); --rb-text: #F5F5F7; --rb-off: rgba(255, 255, 255, 0.18); --rb-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.rb-foto {
  --c: var(--cd); --rb-bg: rgba(0, 0, 0, 0.6); --rb-text: #FFFFFF; --rb-off: rgba(255, 255, 255, 0.25); --rb-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.rb-dark[data-level="epica"], .rb-dark[data-level="unica"] { --rb-ring: 0 0 0 1.5px color-mix(in srgb, var(--cd) 40%, transparent), 0 4px 14px color-mix(in srgb, var(--solid) 33%, transparent); }
.rb-foto[data-level="epica"], .rb-foto[data-level="unica"] { --rb-ring: 0 0 0 1.5px var(--cd), 0 4px 14px color-mix(in srgb, var(--solid) 40%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rbadge { --c: var(--cd); --rb-bg: rgba(255, 255, 255, 0.07); --rb-text: #F5F5F7; --rb-off: rgba(255, 255, 255, 0.18); --rb-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  :root:not([data-theme="light"]) .rbadge[data-level="epica"], :root:not([data-theme="light"]) .rbadge[data-level="unica"] { --rb-ring: 0 0 0 1.5px color-mix(in srgb, var(--cd) 40%, transparent), 0 4px 14px color-mix(in srgb, var(--solid) 33%, transparent); }
  :root:not([data-theme="light"]) .rb-foto { --rb-bg: rgba(0, 0, 0, 0.6); --rb-text: #FFFFFF; --rb-off: rgba(255, 255, 255, 0.25); --rb-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
  :root:not([data-theme="light"]) .rb-foto[data-level="epica"], :root:not([data-theme="light"]) .rb-foto[data-level="unica"] { --rb-ring: 0 0 0 1.5px var(--cd), 0 4px 14px color-mix(in srgb, var(--solid) 40%, transparent); }
}
:root[data-theme="dark"] .rbadge { --c: var(--cd); --rb-bg: rgba(255, 255, 255, 0.07); --rb-text: #F5F5F7; --rb-off: rgba(255, 255, 255, 0.18); --rb-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] .rbadge[data-level="epica"], :root[data-theme="dark"] .rbadge[data-level="unica"] { --rb-ring: 0 0 0 1.5px color-mix(in srgb, var(--cd) 40%, transparent), 0 4px 14px color-mix(in srgb, var(--solid) 33%, transparent); }
:root[data-theme="dark"] .rb-foto { --rb-bg: rgba(0, 0, 0, 0.6); --rb-text: #FFFFFF; --rb-off: rgba(255, 255, 255, 0.25); --rb-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
:root[data-theme="dark"] .rb-foto[data-level="epica"], :root[data-theme="dark"] .rb-foto[data-level="unica"] { --rb-ring: 0 0 0 1.5px var(--cd), 0 4px 14px color-mix(in srgb, var(--solid) 40%, transparent); }
.rbadge-lg { height: 38px; padding: 0 14px 0 11px; gap: 9px; }
.rbadge-lg svg { width: 20px; height: 20px; }
.rbadge-lg .rname { font-size: 22px; }
.rbadge-lg .pips { gap: 3px; }
.rbadge-lg .pips i { width: 5px; height: 15px; }

/* Cutout as a sticker: white outline and shadow, no card behind */
.stk { filter: drop-shadow(3px 0 0 #FFFFFF) drop-shadow(-3px 0 0 #FFFFFF) drop-shadow(0 3px 0 #FFFFFF) drop-shadow(0 -3px 0 #FFFFFF) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28)); }
.stk-lg { filter: drop-shadow(4px 0 0 #FFFFFF) drop-shadow(-4px 0 0 #FFFFFF) drop-shadow(0 4px 0 #FFFFFF) drop-shadow(0 -4px 0 #FFFFFF) drop-shadow(0 22px 30px rgba(0, 0, 0, 0.45)); }

/* Missing kit (CamisetaFaltante) with a "?" on top */
.faltante { position: relative; display: inline-flex; flex-shrink: 0; }
.faltante svg { display: block; overflow: visible; fill: #D6D6DB; filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.16)); }
.faltante svg .halo { fill: #FFFFFF; stroke: #FFFFFF; stroke-linejoin: round; }
.faltante-dark svg { fill: #3A3A40; filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.5)); }
.faltante b { position: absolute; left: 50%; top: 54%; translate: -50% -50%; font-family: var(--display); font-weight: 800; line-height: 1; color: var(--text2); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .faltante svg { fill: #3A3A40; filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.5)); }
}
:root[data-theme="dark"] .faltante svg { fill: #3A3A40; filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.5)); }

/* ---------- Footer (WebPie) ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: var(--page); }
.foot-in { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.foot-brand .wordmark { font-size: 34px; padding: 0; min-height: 0; }
.foot-brand .wordmark i { width: 9px; height: 9px; }
.foot-brand .wordmark-marca .wm-icon { width: 44px; height: 44px; border-radius: 10px; }
.foot-brand .wordmark-marca .wm-logo { height: 24px; margin-left: 12px; }
.foot-brand p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text2); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.foot-col .eyebrow { font-size: 12px; letter-spacing: 0.08em; }
.foot-col a { color: var(--text); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-col .lang-btn { align-self: flex-start; height: auto; min-height: 44px; margin-left: -12px; padding: 0 12px; gap: 8px; font-size: 15px; font-weight: 600; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--text2); }
.foot-bottom a { color: var(--text); font-weight: 700; text-decoration: none; }
.foot-bottom span:last-child { max-width: 560px; }

/* ---------- Text pages (delete account, legal, profile, 404) ---------- */
.wrap { max-width: 1080px; margin: 0 auto; }
.main-pad { padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 112px); }
.page-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.page-head h1 { font-size: clamp(56px, 7vw, 96px); }
.page-head .lead { margin: 0; font-size: clamp(18px, 1.7vw, 21px); color: var(--text2); }
mark.todo { background: var(--todo-bg); color: var(--todo-text); border-radius: 4px; padding: 0 3px; font-weight: 600; }

/* Delete account (WebBorrarCuenta) */
.stack-xl { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; align-items: start; }
.grid2.split { gap: clamp(24px, 4vw, 56px); padding-top: clamp(8px, 2vw, 16px); border-top: 1px solid var(--line); }
.panel { padding: clamp(24px, 3vw, 36px); border-radius: 30px; background: var(--alt); display: flex; flex-direction: column; gap: 18px; }
.panel-h { font-size: 40px; line-height: 0.95; }
.panel form { display: flex; flex-direction: column; gap: 18px; }
.num-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.num-steps li { display: flex; align-items: center; gap: 14px; }
.num { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input {
  height: 56px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--page); color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-strong); font: inherit; font-size: 17px;
}
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--text), 0 0 0 4px rgba(198, 244, 50, 0.6); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.msgs { min-height: 22px; }
.msg { margin: 0; font-size: 14px; font-weight: 600; color: var(--bad); }
.btn-send { align-self: flex-start; min-width: 200px; }
.btn-send .spin { display: none; width: 22px; height: 22px; animation: spin 0.8s linear infinite; }
.btn-send[aria-busy="true"] .spin { display: block; }
.btn-send[aria-busy="true"] .btn-label { display: none; }
@keyframes spin { to { rotate: 360deg; } }
.done { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); animation: mIn 0.45s var(--ease) both; }
.done:focus { outline: none; }
.done > span:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.done b { font-size: 28px; line-height: 1; }
.ok { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ok svg { width: 20px; height: 20px; }
.h-sm { margin: 16px 0 0; font-size: 20px; font-weight: 800; }
.plain-list { margin: 12px 0 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text2); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; }
.info { margin: 0; padding: 18px 20px; border-radius: 20px; background: var(--alt); display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.info svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }

/* Legal documents (WebLegal) */
.wrap-legal { max-width: 1180px; margin: 0 auto; }
.legal { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); line-height: 1.6; }
.legal-head { display: flex; flex-direction: column; gap: 18px; }
.legal-head h1 { font-size: clamp(56px, 7vw, 96px); }
.legal-head p { margin: 0; font-size: 15px; }
.tabs { align-self: flex-start; display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--alt); }
.tabs a { min-height: 40px; padding: 0 16px; border-radius: 12px; color: var(--text2); display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--page); color: var(--text); font-weight: 800; box-shadow: 0 2px 6px rgba(11, 12, 14, 0.08); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tabs a[aria-current="page"] { box-shadow: inset 0 0 0 1px #2C2C31; }
}
:root[data-theme="dark"] .tabs a[aria-current="page"] { box-shadow: inset 0 0 0 1px #2C2C31; }
.legal-cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); align-items: flex-start; }
.toc { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; }
@media (min-width: 900px) { .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; } }
.toc .eyebrow { font-size: 12px; letter-spacing: 0.08em; margin-bottom: 6px; }
.toc a { min-height: 36px; display: flex; align-items: center; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); color: var(--text2); text-decoration: none; line-height: 1.3; }
.toc a:hover { text-decoration: underline; }
.toc a[aria-current="true"] { border-left-color: var(--lime); color: var(--text); }
.prose { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.prose > p:first-child { margin-top: 0; font-size: 19px; }
.prose h2 { margin: 56px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.4vw, 44px); line-height: 0.95; scroll-margin-top: 96px; }
.prose h3 { margin: 32px 0 0; font-size: 20px; font-weight: 800; line-height: 1.3; scroll-margin-top: 96px; }
.prose p { margin: 14px 0 0; }
.prose ul, .prose ol { margin: 14px 0 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.prose code { font-size: 0.9em; background: var(--alt); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.prose .table-wrap { margin-top: 18px; overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th { padding: 14px 16px; font-weight: 800; text-align: left; background: var(--alt); }
.prose td { padding: 14px 16px; vertical-align: top; border-top: 1px solid var(--line); color: var(--text2); }
.prose td:first-child { font-weight: 700; color: var(--text); }
.key { margin-top: 32px; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #0B0C0E; color: rgba(255, 255, 255, 0.86); box-shadow: var(--dark-ring); }
.key h2 { margin: 0; color: #FFFFFF; }
.key ul { list-style: none; padding: 0; margin-top: 18px; gap: 14px; }
.key li { position: relative; padding-left: 36px; }
.key li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0C0E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.key strong { color: #FFFFFF; }
.key a { color: #FFFFFF; }

/* Public profile (WebPerfil) */
.pf-main { padding-top: clamp(28px, 5vw, 64px); }
.pf { border-radius: 36px; background: var(--alt); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.pf-art { flex: 1 1 360px; position: relative; min-height: 440px; border-radius: 28px; background: #0B0C0E; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pf-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, 0.32) 0%, rgba(198, 244, 50, 0) 66%); }
.pf-stk { position: relative; height: 300px; width: auto; max-width: 82%; object-fit: contain; animation: pfStk 0.7s var(--ease) both; rotate: -3deg; }
@keyframes pfStk { 0% { opacity: 0; translate: 0 40px; scale: 0.6; rotate: 6deg; } 60% { opacity: 1; translate: 0 -6px; scale: 1.06; rotate: -5deg; } 100% { opacity: 1; translate: 0 0; scale: 1; rotate: -3deg; } }
.pf-tag { position: absolute; left: 20px; top: 20px; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--lime); color: var(--ink); display: inline-flex; align-items: center; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.04em; rotate: -4deg; }
.pf-team { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #FFFFFF; }
.pf-team b { font-size: 48px; line-height: 0.9; }
.pf-empty { background: var(--page); box-shadow: inset 0 0 0 1px var(--line); flex-direction: column; gap: 16px; padding: 24px; text-align: center; }
.pf-info { flex: 1 1 380px; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.pf-h1 { font-size: clamp(56px, 7vw, 92px); line-height: 0.88; overflow-wrap: anywhere; }
.pf-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pf-stats > div { padding: 16px 0; display: flex; flex-direction: column; gap: 2px; }
.pf-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.pf-stats dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2); }
.pf-stats dd { margin: 0; font-size: 56px; line-height: 1; }
.pf-cta { position: relative; overflow: hidden; border-radius: 36px; background: #0B0C0E; color: #FFFFFF; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--dark-ring); }
.pf-cta-glow { position: absolute; left: -120px; bottom: -220px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, 0.18) 0%, rgba(198, 244, 50, 0) 66%); }
.pf-cta-txt { position: relative; display: flex; align-items: center; gap: 18px; flex: 1 1 360px; }
.pf-cta-stk { display: flex; flex-shrink: 0; }
.pf-cta-stk img { height: 84px; width: auto; }
.pf-cta h2 { font-size: clamp(34px, 4vw, 48px); line-height: 0.92; }
.pf-cta-sub { font-size: 16px; color: rgba(255, 255, 255, 0.75); }
.pf-cta .btn-row { position: relative; }

/* Not found (WebNoEncontrada) */
.nf { padding: clamp(48px, 8vw, 112px) var(--gutter); display: flex; align-items: center; justify-content: center; }
.nf-in { max-width: 720px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.nf-art { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 20px); }
.nf-4 { font-size: clamp(120px, 20vw, 240px); line-height: 0.8; }
.nf-art .faltante svg { width: clamp(120px, 16vw, 190px); height: auto; }
.nf-art .faltante b { font-size: clamp(54px, 7vw, 84px); font-weight: 800; }
.nf-wob { animation: nfWob 1s ease-in-out 0.3s both; }
@keyframes nfWob { 0%, 100% { rotate: 0deg; } 20% { rotate: -10deg; } 40% { rotate: 8deg; } 60% { rotate: -5deg; } 80% { rotate: 2deg; } }
.nf-h1 { margin-top: 12px; font-size: clamp(44px, 5.6vw, 72px); line-height: 0.9; }
.nf-p { margin: 0; max-width: 44ch; font-size: clamp(17px, 1.6vw, 19px); }

/* Short entrances on load */
.m-in { animation: mIn 0.5s var(--ease) both; }
.m-d1 { animation-delay: 0.1s; } .m-d2 { animation-delay: 0.2s; } .m-d3 { animation-delay: 0.3s; } .m-d4 { animation-delay: 0.4s; }
@keyframes mIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes mFade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .m-in, .done { animation: mFade 0.2s both; }
  .pf-stk { animation: mFade 0.2s both; }
  .nf-wob { animation: none; }
  .btn-send .spin { animation-duration: 2.4s; }
  .btn, .store, .press { transition: none; }
  .btn:active, .store:active, .press:active { scale: 1; }
  .nav-links a::after { transition: none; }
}
