*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07080c;
  --bg-2: #0d0f16;
  --elev: #12151e;
  --card: rgba(255, 255, 255, 0.035);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #9aa3b5;
  --lime: #c8f542;
  --lime-2: #9be15d;
  --orange: #ff6a3d;
  --cyan: #5ce1e6;
  --gold: #f5c542;
  --purple: #a78bfa;
  --red: #ff4d6d;
  --glow: rgba(200, 245, 66, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --header: 64px;
  --max: 1460px;
  --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --mx: 50vw;
  --my: 20vh;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--lime);
  color: #10120a;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0;
}
.orb-a { width: 520px; height: 520px; background: rgba(200, 245, 66, .08); top: -180px; right: -80px; }
.orb-b { width: 460px; height: 460px; background: rgba(255, 106, 61, .07); bottom: 10%; left: -160px; }

.pointer-light {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(200, 245, 66, .12), rgba(255, 106, 61, .05) 28%, transparent 58%);
  transition: background 40ms linear;
}
.cursor-blob {
  position: fixed; width: 22px; height: 22px; border-radius: 50%;
  pointer-events: none; z-index: 70;
  left: 0; top: 0;
  background: rgba(200, 245, 66, .45);
  box-shadow: 0 0 28px rgba(200, 245, 66, .55);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  opacity: .7;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(12px, 2.3vw, 24px);
}

.page { position: relative; z-index: 1; }

[id] { scroll-margin-top: 110px; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 8, 12, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
}
.topbar__row {
  height: var(--header);
  display: flex; align-items: center; gap: 18px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  font-size: 18px; white-space: nowrap;
  transition: transform var(--ease), filter var(--ease);
}
.logo:hover { transform: scale(1.04); filter: drop-shadow(0 0 12px var(--glow)); }
.logo__mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  color: #10120a; display: grid; place-items: center; font-size: 15px;
  box-shadow: 0 0 24px var(--glow);
}
.search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--elev); border: 1px solid var(--stroke);
  border-radius: 999px; padding: 10px 16px; min-width: 0;
}
.search input {
  background: none; border: 0; outline: 0; width: 100%;
  color: var(--text);
}
.search input::placeholder { color: #6d7588; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--stroke); background: var(--elev);
  display: grid; place-items: center; cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.icon-btn:hover { transform: scale(1.08) rotate(-6deg); border-color: rgba(200,245,66,.4); }
.icon-btn:active { transform: scale(0.92); }
.nav {
  display: flex; gap: 4px; padding: 0 0 10px;
  overflow-x: auto;
}
.nav a {
  padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--muted); white-space: nowrap;
  transition: color var(--ease), background var(--ease), transform var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--card); transform: translateY(-1px); }
.burger { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 12px;
  font-weight: 700; position: relative; overflow: hidden;
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--ease), background var(--ease), filter var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: scale(0.94); }
.btn--lime {
  background: linear-gradient(180deg, #d8ff63, var(--lime));
  color: #10120a; box-shadow: 0 8px 24px var(--glow);
  padding: 11px 16px;
}
.btn--lime:hover { box-shadow: 0 14px 36px rgba(200, 245, 66, .45); filter: brightness(1.08); }
.btn--ghost {
  background: transparent; border: 1px solid var(--stroke); color: var(--text);
  padding: 11px 16px;
}
.btn--ghost:hover { border-color: rgba(200, 245, 66, .5); background: rgba(200, 245, 66, .08); }
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  animation: ripple .55s ease-out; background: rgba(255,255,255,.45); pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(12); opacity: 0; }
}
.btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; }

/* Hero */
.hero { padding: 36px 0 8px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(200, 245, 66, .08); color: var(--lime);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -.04em; line-height: 1.08; margin: 16px 0 12px;
}
.hero p { color: var(--muted); max-width: 640px; margin: 0 auto 22px; }
.hero {
  background: linear-gradient(180deg, rgba(200, 245, 66, .08), rgba(255, 106, 61, .04) 52%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 24px;
  margin-top: 12px;
  padding: 34px 24px 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero__trust {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__trust span {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
}
.stats {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin-top: 8px;
}
.stat__n {
  font-family: var(--display); font-size: 22px; display: block;
}
.stat__l { color: var(--muted); font-size: 13px; }

/* Filters */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding: 22px 0 8px;
}
.chip {
  border: 1px solid var(--stroke); background: var(--elev);
  color: var(--muted); padding: 8px 14px; border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: 13px;
  position: relative; overflow: hidden;
  transition: transform .2s ease, background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.chip:hover { color: #10120a; background: var(--lime); border-color: var(--lime); transform: translateY(-2px) scale(1.05); }
.chip:active { transform: scale(0.94); }
.chip.is-on { color: #10120a; background: var(--lime); border-color: var(--lime); box-shadow: 0 8px 20px var(--glow); }

.results-line {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 2px 0 12px;
}

.empty-state { padding-bottom: 30px; }
.empty-state .panel { text-align: center; }

/* Ranking grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  padding: 18px 0 40px;
}
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(200, 245, 66, .45);
  box-shadow: 0 28px 54px rgba(0,0,0,.46), 0 0 0 1px rgba(200,245,66,.16), 0 0 60px rgba(200,245,66,.18);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.card:hover::before { transform: translateX(120%); }
.card__banner {
  height: 142px;
  display: grid; place-items: center;
  position: relative;
}
.card__banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, var(--bg-2) 100%);
  z-index: 1;
}
.card__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.brand--img { padding: 0; overflow: hidden; }
.brand--img img { width: 100%; height: 100%; object-fit: cover; }
.brand {
  width: 78px; height: 78px; border-radius: 22px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  position: relative; z-index: 2;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 8px; border-radius: 8px; text-transform: uppercase;
}
.badge--hot { background: var(--orange); color: #fff; }
.badge--top { background: var(--lime); color: #10120a; }
.badge--new { background: var(--cyan); color: #072022; }
.badge--hit { background: var(--purple); color: #fff; }
.rate {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(7,8,12,.75); border: 1px solid rgba(200,245,66,.4);
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: var(--lime);
}
.card__body { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 18px; letter-spacing: -.02em; }
.bonus { font-weight: 700; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; color: var(--muted); border: 1px solid var(--stroke);
  padding: 3px 8px; border-radius: 999px;
}
.card__cta { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; }

/* Promo */
.promo {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px;
  align-items: start;
  margin-bottom: 40px;
}
.panel {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}
.panel h2 { font-family: var(--display); font-size: 22px; letter-spacing: -.03em; margin-bottom: 8px; }
.timer {
  display: flex; gap: 10px; margin: 16px 0;
}
.timer span {
  min-width: 64px; text-align: center; background: var(--elev);
  border: 1px solid var(--stroke); border-radius: 12px; padding: 10px 8px;
}
.timer b { display: block; font-family: var(--display); font-size: 22px; }
.timer small { color: var(--muted); font-size: 11px; }

.bonus-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--stroke);
  transition: transform var(--ease);
}
.bonus-row:hover { transform: translateX(4px); }
.bonus-row:last-child { border-bottom: 0; }

.offer-day h2 { margin-bottom: 8px; }
.offer-day__meta {
  color: var(--muted);
  margin-bottom: 14px;
}
.offer-day__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.offer-day__stats span {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--muted);
}
.offer-day__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc {
  margin-top: 14px;
}
.calc__label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.calc__input {
  width: 100%;
  border: 1px solid var(--stroke);
  background: var(--elev);
  border-radius: 12px;
  padding: 10px 12px;
}
.calc__rows {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.02);
  border-radius: 12px;
  padding: 10px 12px;
}
.calc__row small {
  color: var(--muted);
  display: block;
}
.calc__sum {
  text-align: right;
  font-weight: 800;
}

/* Articles / guides */
.section { padding: 10px 0 48px; }
.section__head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  margin-bottom: 18px;
}
.section h2 {
  font-family: var(--display); font-size: 28px; letter-spacing: -.03em;
}
.section__head p { color: var(--muted); }
.posts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.post {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--ease);
}
.post:hover { transform: translateY(-3px); }
.post__cover {
  height: 160px; display: grid; place-items: center;
  font-family: var(--display); font-size: 28px; overflow: hidden; background: var(--elev);
}
.post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover {
  width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--stroke); margin: 0 0 24px;
}
.post__body { padding: 16px; }
.post__meta { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.post h3 { font-size: 17px; margin-bottom: 8px; }
.post p { color: var(--muted); font-size: 14px; }

.guides {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.guide {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: 14px; padding: 16px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.guide:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 245, 66, .35);
  box-shadow: 0 18px 36px rgba(0,0,0,.32);
}
.guide span { color: var(--lime); font-size: 12px; font-weight: 700; }
.guide h3 { font-size: 15px; margin: 8px 0 6px; }
.guide p { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 8px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.faq details:hover {
  border-color: rgba(200, 245, 66, .3);
  transform: translateX(4px);
}
.faq details[open] { box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p {
  color: var(--muted); margin-top: 8px;
  animation: openIn .32s ease;
}
@keyframes openIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 40px 0 24px; color: var(--muted); font-size: 13px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 24px;
  margin-bottom: 28px;
}
.footer-contacts { display: flex; flex-direction: column; gap: 2px; min-height: 1em; }
.legal [data-contacts] { display: flex; gap: 14px; flex-wrap: wrap; }
.legal [data-contacts] a { display: inline; padding: 0; }
.footer h4 { color: var(--text); margin-bottom: 12px; font-size: 14px; }
.footer a { display: block; padding: 4px 0; transition: color var(--ease), transform var(--ease); }
.footer a:hover { color: var(--text); transform: translateX(4px); }
.legal {
  border-top: 1px solid var(--stroke); padding-top: 16px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* Inner pages */
.page-head { padding: 32px 0 8px; }
.page-head h1 {
  font-family: var(--display); font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -.03em; margin: 10px 0;
}
.crumbs { color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: var(--text); }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose h2 { font-size: 22px; margin: 24px 0 10px; color: var(--text); }
.prose ul { padding-left: 18px; list-style: disc; }
.table-wrap { overflow-x: auto; margin: 20px 0 36px; }
table {
  width: 100%; border-collapse: collapse; min-width: 720px;
}
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--stroke); }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.score { color: var(--lime); font-weight: 800; }

:where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(200, 245, 66, .18);
}

/* Age gate */
.gate {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.72); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 20px;
}
.gate[hidden] { display: none; }
.gate__box {
  width: min(440px, 100%);
  background: #151821; border: 1px solid var(--stroke);
  border-radius: 24px; padding: 28px; text-align: center;
}
.gate__box h2 { font-family: var(--display); margin: 8px 0 10px; }
.gate__box p { color: var(--muted); margin-bottom: 18px; }
.gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Cases catalog */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.case-card {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 16px; text-align: center;
}
.case-card .rarity { height: 90px; border-radius: 12px; margin-bottom: 12px; display: grid; place-items: center; font-size: 32px; }
.r-milspec { background: linear-gradient(180deg, #3b82f6, #1e3a8a); }
.r-restricted { background: linear-gradient(180deg, #a855f7, #4c1d95); }
.r-classified { background: linear-gradient(180deg, #ec4899, #9d174d); }
.r-covert { background: linear-gradient(180deg, #ef4444, #7f1d1d); }
.r-gold { background: linear-gradient(180deg, #f5c542, #b45309); }

@media (max-width: 1100px) {
  .grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .promo, .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .topbar__row { gap: 10px; }
  .search { display: none; }
  .burger { display: grid; }
  .nav { display: none; }
  .nav.is-open { display: flex; flex-direction: column; padding-bottom: 16px; }
}
@media (max-width: 760px) {
  .grid, .case-grid, .posts, .guides, .promo, .footer__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .card__cta { grid-template-columns: 1fr; }
  .hero { padding: 24px 14px 16px; }
}

.inline-editor-tools {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 95;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: min(92vw, 460px);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(13, 15, 22, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.inline-editor-tools .btn {
  font-size: 12px;
  padding: 8px 10px;
}
.inline-editable {
  outline: 1px dashed rgba(200, 245, 66, 0.35);
  outline-offset: 2px;
  border-radius: 6px;
}
.inline-editable:focus {
  outline-color: var(--lime);
  background: rgba(200, 245, 66, 0.08);
}
@media (max-width: 760px) {
  .inline-editor-tools {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

.admin { padding-bottom: 64px; }
.admin-tabs { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.admin__form { margin-bottom: 12px; }
.admin__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.admin__span { grid-column: 1 / -1; }
.admin label, .admin fieldset { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.admin input, .admin select, .admin textarea {
  background: var(--elev); border: 1px solid var(--stroke); border-radius: 10px;
  padding: 10px 12px; color: var(--text); font: inherit;
}
.admin textarea { min-height: 220px; resize: vertical; }
.admin__cats { flex-direction: row; flex-wrap: wrap; gap: 10px 16px; border: 1px solid var(--stroke); border-radius: 14px; padding: 12px; }
.admin__cats label { flex-direction: row; align-items: center; color: var(--text); }
.admin__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.admin__preview { margin-top: 12px; }
.admin__preview img { width: 220px; height: 124px; object-fit: cover; border-radius: 16px; border: 1px solid var(--stroke); }
.admin__list { display: flex; flex-direction: column; gap: 10px; }
.admin__row {
  display: grid; grid-template-columns: 28px 56px 1fr auto; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--stroke); border-radius: 14px; padding: 12px;
}
.admin__row.is-drag { opacity: .45; }
.admin__row.is-over { outline: 1px dashed var(--lime, #c8f542); }
.admin__grip {
  cursor: grab; color: var(--muted); font-size: 16px; letter-spacing: -2px; user-select: none;
}
.admin__thumb {
  width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  background: var(--elev); display: grid; place-items: center; font-weight: 800;
}
.admin__thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin__row-actions { display: flex; gap: 8px; }
.stats-board { margin-bottom: 24px; }
.stats-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.stats-groups h3, .stats-chart h3, .stats-cols h3 { font-size: 14px; margin-bottom: 10px; }
.stats-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.stats-kpis div {
  background: var(--card); border: 1px solid var(--stroke); border-radius: 14px; padding: 14px;
}
.stats-kpis b { display: block; font-family: var(--display); font-size: 22px; }
.stats-kpis span { color: var(--muted); font-size: 12px; }
.stats-chart {
  background: var(--card); border: 1px solid var(--stroke); border-radius: 14px; padding: 14px; margin-bottom: 14px;
}
.stats-chart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stats-chart__svg { width: 100%; height: auto; display: block; }
.stats-chart__axis { stroke: var(--stroke); stroke-width: 1; }
.stats-chart__visits { fill: none; stroke: var(--lime); stroke-width: 2.5; }
.stats-chart__clicks { fill: none; stroke: #ff8a3d; stroke-width: 2.5; }
.stats-chart__dot--visits { fill: var(--lime); }
.stats-chart__dot--clicks { fill: #ff8a3d; }
.stats-chart text { fill: var(--muted); font-size: 11px; }
.stats-legend { display: flex; gap: 14px; color: var(--muted); font-size: 12px; }
.stats-legend__visits::before, .stats-legend__clicks::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px;
}
.stats-legend__visits::before { background: var(--lime); }
.stats-legend__clicks::before { background: #ff8a3d; }
.stats-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats-cols > div { background: var(--card); border: 1px solid var(--stroke); border-radius: 14px; padding: 14px; }
.stats-cols ul { list-style: none; }
.stats-cols li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); padding: 4px 0; border-bottom: 1px solid var(--stroke); }
.stats-cols li b { color: var(--text); }
@media (max-width: 760px) {
  .admin__grid, .admin__row, .stats-groups, .stats-kpis, .stats-cols { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .cursor-blob { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pointer-light, .cursor-blob { display: none !important; }
}
