/* HandyFreeTools - deep space, violet -> cyan light, raised 3D controls (WideWarp family) */
:root {
  --bg: #06070f;
  --bg-2: #0b0d1c;
  --panel: rgba(20, 22, 44, 0.62);
  --panel-solid: #121429;
  --panel-hi: rgba(32, 35, 68, 0.72);
  --line: rgba(148, 160, 255, 0.14);
  --line-2: rgba(148, 160, 255, 0.28);
  --text: #eef0ff;
  --muted: #a3a9cf;
  --dim: #767ca6;
  --violet: #7c5cff;
  --blue: #4f8bff;
  --cyan: #22d3ee;
  --pink: #ff4fd8;
  --lime: #a3ff6b;
  --amber: #ffc857;
  --red: #ff5c7a;
  --grad: linear-gradient(120deg, #7c5cff 0%, #4f8bff 45%, #22d3ee 100%);
  --grad-hot: linear-gradient(120deg, #ff4fd8 0%, #7c5cff 55%, #22d3ee 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1200px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f6fc;
  --bg-2: #eceefa;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --panel-hi: rgba(255, 255, 255, 0.95);
  --line: rgba(60, 70, 140, 0.12);
  --line-2: rgba(60, 70, 140, 0.24);
  --text: #12142b;
  --muted: #4b5079;
  --dim: #6c7197;
  --shadow: 0 18px 50px -24px rgba(40, 46, 110, 0.35), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: "Sora", "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(124, 92, 255, 0.45); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
svg.i { width: 1em; height: 1em; flex: none; }

/* ------------------------------------------------------------ background layers */
.aurora {
  position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 15% 20%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(35% 30% at 85% 15%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(40% 40% at 70% 90%, rgba(255, 79, 216, 0.10), transparent 70%);
  filter: blur(10px);
  animation: aurora 24s var(--ease) infinite alternate;
}
:root[data-theme="light"] .aurora { opacity: 0.55; }
@keyframes aurora { to { transform: translate3d(3%, -2%, 0) rotate(6deg) scale(1.05); } }
.gridfx {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.55;
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; user-select: none; }
.logo svg { width: 38px; height: 38px; filter: drop-shadow(0 8px 16px rgba(79, 139, 255, 0.45)); transition: transform 0.6s var(--spring); }
.logo:hover svg { transform: rotate(-10deg) scale(1.08); }
.logo .word { font-family: "Sora", sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.logo .word b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px;
  padding: 8px 12px; border-radius: 10px; transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--panel); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text);
  transition: transform 0.25s var(--spring), border-color 0.2s;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--violet); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
.menu-btn { display: none; }

/* ------------------------------------------------------------ 3D buttons */
.btn {
  --c1: #8b6dff; --c2: #5a3df0; --edge: #3a24b8; --glow: rgba(124, 92, 255, 0.5);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 14px; cursor: pointer;
  font-weight: 700; font-size: 15px; color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: 0 4px 0 var(--edge), 0 10px 24px -6px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), filter 0.2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 5px 0 var(--edge), 0 14px 30px -6px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.35) inset; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge), 0 6px 14px -6px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.3) inset; }
.btn.cyan { --c1: #3be3ff; --c2: #0fb3d6; --edge: #087f99; --glow: rgba(34, 211, 238, 0.45); color: #04232b; }
.btn.hot { --c1: #ff6ae0; --c2: #b44bff; --edge: #7a23c4; --glow: rgba(255, 79, 216, 0.45); }
.btn.ghost {
  background: var(--panel); color: var(--text); border: 1px solid var(--line-2);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ hero */
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; margin-bottom: 22px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.eyebrow .dot svg { width: 12px; height: 12px; }
.hero h1 { font-size: clamp(36px, 6vw, 66px); font-weight: 800; max-width: 900px; margin-inline: auto; }
.hero .lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 680px; margin: 20px auto 0; }

.search {
  position: relative; max-width: 680px; margin: 34px auto 0;
  border-radius: 20px; padding: 2px; background: var(--grad);
  box-shadow: 0 24px 60px -24px rgba(124, 92, 255, 0.7);
}
.search label { display: flex; align-items: center; gap: 12px; padding: 0 10px 0 20px; height: 62px; border-radius: 18px; background: var(--panel-solid); }
.search svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; }
.search input::placeholder { color: var(--dim); }
.search kbd {
  font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted);
  padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel);
}
.search .btn { min-height: 46px; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; text-align: left;
  background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 16px; padding: 6px;
  box-shadow: var(--shadow); display: none; max-height: 360px; overflow: auto;
}
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; text-decoration: none; }
.suggest a:hover, .suggest a.active { background: var(--panel-hi); }
.suggest a small { margin-left: auto; color: var(--dim); font-size: 12.5px; }
.suggest .none { padding: 14px; color: var(--muted); font-size: 14.5px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.chips span { color: var(--dim); font-size: 14px; font-weight: 600; align-self: center; margin-right: 4px; }
.chip {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel);
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--spring);
}
.chip:hover { color: var(--text); border-color: var(--violet); transform: translateY(-2px); }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; color: var(--muted); font-size: 14.5px; font-weight: 600; list-style: none; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--lime); }

/* ------------------------------------------------------------ sections */
section { padding: 56px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 620px; }
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }

.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; text-decoration: none; overflow: hidden;
  transition: transform 0.35s var(--spring), border-color 0.25s;
}
.cat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.cat::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%;
  background: var(--tone); opacity: 0.16; filter: blur(30px); transition: opacity 0.3s;
}
.cat:hover::after { opacity: 0.32; }
.cat .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--tone); box-shadow: 0 10px 22px -10px var(--tone); }
.cat .ico svg { width: 23px; height: 23px; }
.cat h3 { font-size: 18px; font-weight: 700; }
.cat p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.cat .count { font-size: 13px; font-weight: 700; color: var(--dim); margin-top: auto; }

/* tools grid */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab {
  cursor: pointer; border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tab:hover { color: var(--text); border-color: var(--line-2); }
.tab[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #8b6dff, #5a3df0); border-color: transparent; box-shadow: 0 3px 0 #3a24b8; }
.tab .n { opacity: 0.7; font-weight: 600; margin-left: 4px; }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.tool {
  position: relative; display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px; text-decoration: none;
  transition: transform 0.35s var(--spring), border-color 0.25s, background 0.25s;
}
.tool:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 55%, transparent); background: var(--panel-hi); }
.tool .ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
}
.tool .ico svg { width: 21px; height: 21px; }
.tool h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.tool p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 3px; }
.tool .badge { position: absolute; top: -9px; right: 14px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.6); font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; color: #04232b; background: var(--lime); }
.tool .badge.new { background: var(--amber); }
.tools li[hidden] { display: none; }
.empty { display: none; text-align: center; padding: 40px 20px; color: var(--muted); }
.empty.show { display: block; }
.empty strong { color: var(--text); }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why .panel { padding: 24px; }
.why .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 14px; }
.why .ico svg { width: 22px; height: 22px; }
.why h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { padding: 24px; position: relative; }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
  font-family: "Sora", sans-serif; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px var(--violet);
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* promo */
.promo {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  padding: 40px; border-radius: 24px; border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 79, 216, 0.22), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(34, 211, 238, 0.18), transparent 60%),
    var(--panel);
  box-shadow: var(--shadow);
}
.promo .tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.promo h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.promo p { color: var(--muted); margin-top: 12px; max-width: 560px; }
.promo ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promo li { display: flex; gap: 9px; align-items: center; font-weight: 600; font-size: 14.5px; }
.promo li svg { width: 18px; height: 18px; color: var(--cyan); }
.promo .cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.promo .cta small { color: var(--dim); font-size: 13px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--muted); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--cyan); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 50px 0 30px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; }
.foot p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.foot h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 14px; font-family: inherit; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot ul a { text-decoration: none; color: var(--muted); font-size: 14.5px; }
.foot ul a:hover { color: var(--text); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.legal nav { display: flex; gap: 18px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--text); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: opacity 0.3s, transform 0.3s var(--spring);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ 3-part shell: ad | tools | ad
   Rails only appear when there is real room beside the content. Browser zoom shrinks the CSS
   viewport, so zooming in folds the rails away automatically and the ads move inline. */
.shell { display: block; }
.center { min-width: 0; container-type: inline-size; container-name: center; }
.rail { display: none; }
.center .wrap { width: min(var(--wrap), calc(100% - 40px)); }

@media (min-width: 1480px) {
  :root { --railcol: max(250px, calc((100vw - var(--wrap)) / 2)); }
  .top .wrap { width: min(var(--wrap), calc(100% - 2 * var(--railcol) - 40px)); }
  .shell {
    display: grid; grid-template-columns: var(--railcol) minmax(0, 1fr) var(--railcol);
  }
  .rail { display: block; position: relative; }
  .inline-ad { display: none; }
}

/* ------------------------------------------------------------ side ads */
.rail .stack { position: sticky; top: 92px; width: clamp(220px, calc(100% - 44px), 300px); margin: 22px 24px 40px auto; display: grid; gap: 14px; }
.rail-r .stack { margin: 22px auto 40px 24px; }
.rail .ad {
  width: 100%; margin: 0;
  display: flex; flex-direction: column; gap: 14px; padding: 16px;
  overflow: hidden;
}
.ad {
  position: relative; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ad) 10%, var(--panel-solid)), var(--panel-solid) 55%);
  box-shadow: var(--shadow);
}
.ad-ww { --ad: #1877f2; --ad2: #22d3ee; }
.ad-sv { --ad: #7c3aed; --ad2: #ff4fd8; }
.ad-top { display: flex; align-items: center; justify-content: space-between; }
.ad-label { font-size: 11.5px; font-weight: 600; color: var(--dim); letter-spacing: 0.02em; }
.ad-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Sora", sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.ad-brand img { width: 34px; height: 34px; border-radius: 10px; }
.ad-slides { position: relative; min-height: 118px; }
.ad-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.ad-slide.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.ad-slide h3, .ad-wide h3 { font-size: 18px; font-weight: 800; line-height: 1.25; }
.ad-slide p, .ad-wide p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 6px; }
.ad-dots { display: flex; gap: 6px; }
.ad-dot { width: 18px; height: 5px; padding: 0; border: 0; border-radius: 3px; cursor: pointer; background: var(--line-2); transition: width 0.3s var(--ease), background 0.3s; }
.ad-dot[aria-pressed="true"] { width: 30px; background: linear-gradient(90deg, var(--ad), var(--ad2)); }
.ad-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ad-feats li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; }
.ad-feats svg { width: 16px; height: 16px; color: var(--ad2); flex: none; }
.ad-cta { width: 100%; }
.ad-dom { text-align: center; color: var(--dim); font-size: 12px; margin-top: -6px; }

/* small art: WideWarp Page activity rising, Salva order arriving */
.ad-art { position: relative; height: 132px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(90% 100% at 85% 0%, color-mix(in srgb, var(--ad) 34%, transparent), transparent 70%),
              radial-gradient(70% 80% at 0% 100%, color-mix(in srgb, var(--ad2) 18%, transparent), transparent 70%), var(--bg-2); }
.ad-art .ln { display: block; height: 6px; border-radius: 3px; background: var(--line-2); }

.ww-art .dash { position: absolute; inset: 12px 12px 10px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 6px; }
.ww-art .dh { display: flex; align-items: center; gap: 8px; }
.ww-art .pg { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--ad), var(--ad2)); flex: none; }
.ww-art .dh .ln { width: 34%; }
.ww-art .up { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #04232b; background: var(--ad2); padding: 2px 7px; border-radius: 999px; }
.ww-art .spark { width: 100%; height: 100%; min-height: 0; display: block; }
.ww-art .area { fill: url(#wwfill); }
.ww-art .line { fill: none; stroke: var(--ad2); stroke-width: 2.6; stroke-linecap: round; }
.ww-art .spark { animation: draw 8s var(--ease) infinite; }
@keyframes draw { 0% { clip-path: inset(0 100% 0 0); } 35%, 100% { clip-path: inset(0 0 0 0); } }
.ww-art .bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; align-items: end; height: 30px; }
.ww-art .bars i { display: block; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--ad2), var(--ad));
  opacity: 0.85; transform-origin: bottom; animation: grow 8s var(--ease) infinite; animation-delay: calc(var(--d) * 0.12s); }
@keyframes grow { 0% { transform: scaleY(0.15); } 30%, 100% { transform: scaleY(1); } }
.ww-art .pop { position: absolute; right: 18px; top: 34px; width: 13px; height: 13px; border-radius: 50%; opacity: 0;
  border: 2px solid var(--bg-2); animation: pop 6s var(--ease) infinite; }
.ww-art .p1 { background: #1877f2; animation-delay: 2.6s; } .ww-art .p2 { background: #ff4f6d; animation-delay: 3.6s; right: 30px; } .ww-art .p3 { background: #ffc857; animation-delay: 4.6s; right: 8px; }
@keyframes pop { 0% { opacity: 0; transform: translateY(8px) scale(0.6); } 10% { opacity: 1; transform: translateY(0) scale(1); } 30% { opacity: 0; transform: translateY(-26px) scale(0.9); } 100% { opacity: 0; } }

.sv-art .wallet { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--muted);
  padding: 3px 8px 3px 6px; border-radius: 999px; background: var(--panel-solid); border: 1px solid var(--line); }
.sv-art .wallet b { color: var(--lime); font-weight: 700; }
.sv-art .wd { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 25%, transparent); }
.sv-art ul { list-style: none; margin: 0; padding: 40px 12px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv-art li { display: grid; gap: 6px; padding: 8px; border-radius: 10px; background: var(--panel-solid); border: 1px solid var(--line); }
.sv-art .ti { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--ad), var(--ad2)); }
.sv-art .ti svg { width: 14px; height: 14px; }
.sv-art li .ln { width: 90%; } .sv-art li .ln.s { width: 55%; opacity: 0.6; }
.sv-art li:nth-child(2) { animation: pick 7s var(--ease) infinite; }
@keyframes pick { 0%, 8% { border-color: var(--line); transform: none; } 14%, 40% { border-color: var(--ad2); transform: translateY(-3px); } 50%, 100% { border-color: var(--line); transform: none; } }
.sv-art .toast { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  border-radius: 10px; font-size: 12px; font-weight: 700; background: var(--panel-solid); border: 1px solid color-mix(in srgb, var(--lime) 50%, var(--line));
  box-shadow: var(--shadow); opacity: 0; transform: translateY(130%); animation: toast 7s var(--ease) infinite; }
.sv-art .ok { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #04232b; background: var(--lime); flex: none; }
.sv-art .ok svg { width: 11px; height: 11px; }
@keyframes toast { 0%, 38% { opacity: 0; transform: translateY(130%); } 46%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(130%); } }

/* short screens / zoomed height: keep the rail inside the viewport */
@media (max-height: 1010px) { .rail .ad-feats, .rail .ad-dom { display: none; } }
@media (max-height: 880px) { .rail .ad-art { display: none; } }
@media (max-height: 690px) { .rail .ad2 { display: none; } }

/* inline WideWarp card when rails are hidden */
.inline-ad { padding: 8px 0 24px; }
.ad-wide { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center; padding: 24px; }
.ad-wide-main { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ad-wide .ad-cta { width: auto; margin-top: 4px; }
.ad-wide .ad-art { height: 190px; }

/* ------------------------------------------------------------ responsive: content follows its own column width */
@container center (max-width: 1080px) {
  .cats, .tools { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot .brand { grid-column: 1 / -1; }
}
@container center (max-width: 820px) {
  .cats, .tools { grid-template-columns: repeat(2, 1fr); }
  .why, .steps { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr; padding: 28px; }
  .ad-wide { grid-template-columns: 1fr; }
  .ad-wide .ad-art { display: none; }
}
@container center (max-width: 560px) {
  .hero { padding-top: 44px; }
  .cats { gap: 10px; }
  .cat { padding: 16px; }
  .cat p { display: none; }
  .tools { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool { flex-direction: column; gap: 10px; padding: 14px; }
  .tool h3 { font-size: 14.5px; }
  .tool p { display: none; }
  .search kbd { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 4px 20px 8px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .search label { padding-left: 14px; height: 56px; }
  .search .btn { padding: 0 14px; min-height: 42px; }
  .search .btn span { display: none; }
  .promo ul { grid-template-columns: 1fr; }
  .promo { padding: 22px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .ad-wide { padding: 18px; }
  .ad-wide .ad-cta { width: 100%; }
  section { padding: 44px 0; }
}
@container center (max-width: 340px) {
  .cats { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .tool { flex-direction: row; align-items: center; }
  .foot { grid-template-columns: 1fr; }
}

/* header follows the window */
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; padding: 10px 20px 18px; margin: 0; background: var(--panel-solid); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .menu-btn { display: grid; }
  .top-actions .btn { display: none; }
}
@media (max-width: 380px) {
  .top .wrap { gap: 10px; }
  .logo svg { width: 32px; height: 32px; }
  .logo .word { font-size: 17px; }
  .icon-btn { width: 38px; height: 38px; }
  .hero h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
.ad-slides { min-height: 104px; }

/* ------------------------------------------------------------ brand banners (own colours, same in light and dark) */
.b-ww { color: #fff; background: radial-gradient(120% 160% at 100% 0%, rgba(34, 211, 238, 0.5), transparent 55%), linear-gradient(120deg, #0b1d4f, #1460d8); }
.b-sv { color: #fff; background: radial-gradient(120% 160% at 100% 0%, rgba(255, 79, 216, 0.5), transparent 55%), linear-gradient(120deg, #33107a, #7438e8); }
.b-fv { color: #fff; background: radial-gradient(120% 160% at 100% 0%, rgba(94, 234, 212, 0.45), transparent 55%), linear-gradient(120deg, #053d38, #0d9488); }
.b-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; font-weight: 800; font-size: 14px; white-space: nowrap;
  text-decoration: none; background: #fff; color: #0b1d4f; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); transition: transform 0.2s var(--ease); }
.b-sv .b-cta { color: #4c1d95; }
.b-fv .b-cta { color: #0f5f58; }
.b-cta svg { width: 15px; height: 15px; }
a:hover > .b-cta, .b-cta:hover { transform: translateX(3px); }
.lchips { display: flex; flex-wrap: wrap; gap: 6px; }
.lchips em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24); }

/* leaderboard above the hero */
.lead { padding-top: 18px; padding-bottom: 8px; position: sticky; top: 71px; z-index: 45;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 72%, transparent); }
.lead .ad-label { display: block; margin: 0 0 6px 4px; }
.lead-box { position: relative; height: 96px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #0b1d4f; }
.lead-s { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand main cta"; align-items: center; gap: 22px;
  padding: 0 22px; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s; }
.lead-s.on { opacity: 1; visibility: visible; }
.ls-brand { grid-area: brand; display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.ls-brand img, .bar-i img { border-radius: 12px; background: #fff; padding: 4px; flex: none; }
.ls-main { grid-area: main; min-width: 0; }
.ls-main b { display: block; font-family: "Sora", sans-serif; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 7px; }
.lead-s .b-cta { grid-area: cta; }
.lead-dots { position: absolute; bottom: 9px; left: 22px; display: flex; gap: 5px; z-index: 2; }
.lead-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; cursor: pointer; background: rgba(255, 255, 255, 0.4); transition: width 0.3s; }
.lead-dots button[aria-pressed="true"] { width: 18px; background: #fff; }

/* second rail card */
.ad2 { display: grid; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow); }
.ad2 .ad-label { color: rgba(255, 255, 255, 0.72); }
.ad2 .t { font-family: "Sora", sans-serif; font-size: 16px; letter-spacing: -0.02em; }
.ad2 .b-cta { justify-content: center; }
.plans, .flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plans li { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); font-weight: 700; font-size: 13.5px; }
.plans small { display: block; font-weight: 500; font-size: 11.5px; opacity: 0.8; }
.plans i, .flow i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); flex: none; }
.plans svg, .flow svg { width: 14px; height: 14px; }
.flow { grid-template-columns: repeat(3, 1fr); text-align: center; }
.flow li { display: grid; justify-items: center; gap: 6px; padding: 9px 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: 700; }

/* bottom bar, always on screen */
body { padding-bottom: 84px; }
.to-top { bottom: 96px; }
.bar { position: fixed; z-index: 40; bottom: 0; left: 50%; transform: translateX(-50%); width: min(1152px, calc(100% - 16px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; border-radius: 16px 16px 0 0;
  background: var(--panel-solid); border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35); }
.bar-tag { position: absolute; bottom: 100%; left: 16px; padding: 2px 8px; font-size: 10.5px; font-weight: 700; color: var(--dim);
  background: var(--panel-solid); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 6px 6px 0 0; }
.bar-i { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 11px; text-decoration: none; }
.bar-i img { border-radius: 9px; padding: 3px; }
.bar-t { flex: 1; min-width: 0; }
.bar-t b { display: block; font-size: 14px; }
.bar-t small { display: block; font-size: 12px; opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .b-cta { padding: 7px 13px; font-size: 13px; flex: none; }
@media (max-width: 759px) { .bar { grid-template-columns: 1fr; } .bar-i { display: none; } .bar-i.on { display: flex; } }
@media (min-width: 1480px) { .bar { width: min(var(--wrap), calc(100vw - 2 * var(--railcol) - 40px)); } }

@container center (max-width: 760px) {
  .lead-box { height: 160px; }
  .lead-s { grid-template-columns: 1fr auto; grid-template-areas: "brand cta" "main main"; align-content: center; gap: 10px 12px; padding: 12px 16px 28px; }
  .ls-brand { font-size: 16px; }
  .ls-brand img { width: 34px; height: 34px; }
  .ls-main b { font-size: 16px; }
  .lead-s .b-cta { padding: 8px 12px; font-size: 13px; }
}
@container center (max-width: 340px) {
  .lead-box { height: 188px; }
  .lead-s .b-cta svg { display: none; }
}

/* ------------------------------------------------------------ image banners */
.ad-img { display: block; padding: 0; border: 0; background: none; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); transition: transform 0.25s var(--ease); }
.ad-img:hover { transform: translateY(-3px); }
.ad-img img { display: block; width: 100%; height: auto; max-height: calc(100vh - 220px); object-fit: contain; }
.rail .stack .ad-label { margin-left: 4px; }
.lead-box { height: auto; aspect-ratio: 970 / 110; background: none; border-radius: 16px; }
.lead-s { display: block; padding: 0; }
.lead-s img { display: block; width: 100%; height: 100%; }
.lead-dots { position: static; transform: none; justify-content: center; margin-top: 8px; }
.lead-dots button { background: var(--line-2); }
.lead-dots button[aria-pressed="true"] { background: var(--violet); }
@media (max-width: 760px) { .lead-box { aspect-ratio: 360 / 150; max-width: 480px; margin-inline: auto; } }
.inline-ad .ad-label { display: block; margin: 0 0 8px 4px; }
.inl { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.inl a { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); flex: 0 1 300px; transition: transform 0.25s var(--ease); }
.inl a:hover { transform: translateY(-3px); }
.inl img { display: block; width: 100%; height: auto; }
.ad-img { display: inline-block; }
.ad-img img { width: auto; max-width: 100%; }
.rail-l .stack { justify-items: end; }
.rail-r .stack { justify-items: start; }
.rail .stack .ad-label { margin: 0 4px; }
/* left rail: WideWarp and FBVault take turns in one spot */
.rail-rot { display: grid; justify-items: inherit; }
.rail-rot > a { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s, transform 0.25s var(--ease); }
.rail-rot > a.on { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------ tool pages */
.tool-hero { padding: 34px 0 18px; }
.tool-hero h1 { font-size: clamp(30px, 4.6vw, 52px); }
.tool-hero h1 .grad-text { display: block; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--dim); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.prose h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; margin: 34px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
.prose p { color: var(--muted); margin-bottom: 12px; }
.prose code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--panel-hi); border: 1px solid var(--line); color: var(--text); }
.prose.narrow { max-width: 860px; }
.prose .sec-head h2 { margin: 0; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--muted); }
.ticks li svg { width: 20px; height: 20px; flex: none; color: var(--lime); margin-top: 2px; }
.ticks b { color: var(--text); }
.chips.left { justify-content: flex-start; }
.why .ico.ok { background: linear-gradient(135deg, #22c55e, #16a34a); }
.why .ico.bad { background: linear-gradient(135deg, #ff5c7a, #e11d48); }
.why .ico.warn { background: linear-gradient(135deg, #ffc857, #f59e0b); }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; } }

/* Facebook UID checker */
.uidc { padding: 20px; display: grid; gap: 14px; }
.uid-in-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.uid-in-h small { color: var(--dim); font-weight: 500; margin-left: 4px; }
.uidc textarea { width: 100%; resize: vertical; font: 500 14px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; outline: none; }
.uidc textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 25%, transparent); }
#uid-in { min-height: 190px; }
.uid-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--dim); margin-top: 6px; }
.uid-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.uid-opts { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; font-size: 14px; color: var(--muted); }
.uid-opts label { display: inline-flex; align-items: center; gap: 6px; }
.uid-opts select { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 6px 8px; }
.uid-opts .ck input { accent-color: var(--violet); width: 16px; height: 16px; }
.btn:disabled { opacity: .5; pointer-events: none; }
.mini { display: inline-flex; align-items: center; gap: 5px; font-family: inherit; font-weight: 600; font-size: 12.5px; line-height: 1; color: var(--muted); background: var(--panel-hi);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 9px; cursor: pointer; }
.mini:hover { color: var(--text); border-color: var(--violet); }
.mini svg { width: 14px; height: 14px; }
.uid-prog { height: 8px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.uid-prog i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.uid-running .uid-prog i { background-size: 200% 100%; animation: uidflow 1.2s linear infinite; }
@keyframes uidflow { to { background-position: -200% 0; } }
.uid-status { font-size: 14px; color: var(--muted); margin-top: -4px; }
.uid-outs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.uid-out-h { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.uid-out-h .n { display: inline-block; min-width: 26px; text-align: center; padding: 1px 8px; border-radius: 99px; font-size: 13px; margin-left: 4px; }
.uid-out-a { display: flex; gap: 5px; }
.uid-out textarea { height: 170px; font-size: 13px; }
.o-live .n { background: rgba(34, 197, 94, .18); color: #4ade80; }
.o-dead .n { background: rgba(255, 92, 122, .18); color: #ff7a93; }
.o-error .n { background: rgba(255, 200, 87, .18); color: #ffc857; }
.o-dup .n { background: rgba(124, 92, 255, .2); color: #a996ff; }
.uid-note { font-size: 13px; color: var(--dim); }
.uid-table-w { max-height: 420px; overflow: auto; border-radius: 12px; border: 1px solid var(--line); }
.uid-table-w:has(tbody:empty) { display: none; }
.uid-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uid-table th { position: sticky; top: 0; background: var(--panel-solid); text-align: left; font-weight: 700; color: var(--muted); padding: 8px 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.uid-table td { padding: 7px 12px; border-top: 1px solid var(--line); font-family: ui-monospace, Consolas, monospace; }
.uid-table td:first-child { width: 48px; }
.uid-table img, .uid-table .noav { width: 32px; height: 32px; border-radius: 50%; display: block; background: var(--bg-2); object-fit: cover; }
.uid-table a { color: var(--cyan); font-family: inherit; }
.st { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 99px; }
.st-live { background: rgba(34, 197, 94, .18); color: #4ade80; }
.st-dead { background: rgba(255, 92, 122, .18); color: #ff7a93; }
.st-error { background: rgba(255, 200, 87, .18); color: #e0a526; }
:root[data-theme="light"] .o-live .n, :root[data-theme="light"] .st-live { color: #15803d; }
:root[data-theme="light"] .o-dead .n, :root[data-theme="light"] .st-dead { color: #be123c; }
:root[data-theme="light"] .o-error .n, :root[data-theme="light"] .st-error { color: #a16207; }
:root[data-theme="light"] .o-dup .n { color: #5b3fd6; }
@media (max-width: 1100px) { .uid-outs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uidc { padding: 14px; } .uid-outs { grid-template-columns: 1fr; } .uid-opts { margin-left: 0; } #uid-in { min-height: 150px; } .uid-out textarea { height: 120px; } }
@media (max-width: 560px) { .uid-meta .kb { display: none; } }
.why.four { grid-template-columns: repeat(4, 1fr); } @media (max-width: 1100px) { .why.four { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .why.four { grid-template-columns: 1fr; } }

/* ---------- one-tool home (clean, Salva-style) ---------- */
.solo-hero { padding: 40px 0 8px; text-align: left; }
.solo-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 0 0 12px; }
.solo-hero .lede { margin: 0; max-width: 640px; font-size: 17px; }
#tools { padding-top: 22px; }
.solo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.solo-card { position: relative; display: block; padding: 26px 26px 24px; border-radius: 18px; background: var(--panel-solid);
  border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.solo-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.solo-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(34, 197, 94, .12); margin-bottom: 20px; }
.solo-dot { width: 20px; height: 20px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: solo-pulse 2s infinite; }
@keyframes solo-pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.solo-go { position: absolute; top: 26px; right: 24px; color: var(--muted); transform: rotate(-45deg); }
.solo-go svg { width: 18px; height: 18px; }
.solo-card h2 { font-size: 20px; margin: 0 0 8px; font-family: inherit; font-weight: 700; letter-spacing: 0; }
.solo-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.solo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.solo-tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 760px) { .solo-hero { padding-top: 24px; } }

/* ---------- UID page SEO blocks ---------- */
.upd { margin-top: 10px; font-size: 13px; color: var(--dim); }
.cmp-w { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--panel); font-weight: 700; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.gloss { display: grid; gap: 10px; margin: 16px 0 0; }
.gloss div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.gloss dt { font-weight: 700; margin-bottom: 4px; }
.gloss dd { margin: 0; color: var(--muted); }
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.langs > div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.langs h3 { margin: 0 0 6px; font-size: 16px; }
.langs p { margin: 0; font-size: 14px; color: var(--muted); }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud span { font-size: 13px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); }
