/* =========================================================
   Clikked Store — monochrome dark design (matches clikkedproducts.cc)
   ========================================================= */
:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --card: #0d0d0d;
  --card-2: #111111;
  --border: #1f1f1f;
  --border-2: #2a2a2a;
  --text: #fff9ff;
  --muted: #a3a3a8;
  --accent: #efefef;
  --accent-2: #ffffff;
  --accent-ink: #000000;
  --gold: #d8d3d8;
  --violet: #cfcfcf;
  --ok: #22c55e;
  --warn: #eab308;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px -20px rgba(0, 0, 0, .9);
  --glow: 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px -25px rgba(255, 255, 255, .15);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body);
  font-size: 15px; line-height: 1.6; min-height: 100vh; overflow-x: hidden;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
p a, .prose a, .muted a, .small a, .footer__grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__grid a, .btn, .nav a, .dash__nav a, .admin__nav a, .pcard, .status-row, .post, .chip, .dropdown__item, .search-result, .kpi, .link { text-decoration: none !important; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
code { font-family: Consolas, "JetBrains Mono", monospace; font-size: .9em; background: var(--bg-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; }
.mono { font-family: Consolas, monospace; }
.accent { color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.error { color: var(--danger); }
.danger { color: var(--danger) !important; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 1.5rem; }
.mt-sm { margin-top: .6rem; }
.grow { flex: 1; }
.inline { display: inline; }
.is-hidden { display: none !important; }
.row { display: flex; align-items: center; gap: .5rem; }
.row.between { justify-content: space-between; }
.row.gap { gap: .8rem; }
.row.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 1.2rem; }
.stack-sm { display: flex; flex-direction: column; gap: .5rem; }
.icon { flex-shrink: 0; }
.icon--discord { color: #5865f2; width: 16px; height: 16px; }
.footer__social a:hover .icon, .btn--primary .icon { color: inherit; }

/* Background: plain black with a very subtle grey aurora */
.bg-grid { display: none; }
.bg-glow { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(110px); }
.bg-glow--1 { width: 900px; height: 500px; top: -250px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255,255,255,.07), transparent 70%); }
.bg-glow--2 { width: 600px; height: 400px; bottom: -200px; right: -200px; background: radial-gradient(ellipse, rgba(255,255,255,.04), transparent 70%); }

.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.page { padding-bottom: 5rem; min-height: 60vh; }
.section { margin-top: 5rem; }
.section--narrow { max-width: 1000px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section__head.center { flex-direction: column; align-items: center; text-align: center; }
.section__head h2 { margin: 0; }
.eyebrow {
  display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); font-weight: 600;
  background: #161616; border: 1px solid var(--border-2); border-radius: 999px; padding: .35rem .9rem; margin-bottom: 1rem;
}
.page-head { padding: 3.5rem 0 2rem; text-align: center; }
.page-head h1 { margin-bottom: .4rem; }
.page-head .muted { margin: 0; }
.crumbs { font-size: .8rem; color: var(--muted); margin: 1.4rem 0 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.crumbs a { color: var(--text); }
.crumbs span { background: #161616; border: 1px solid var(--border-2); border-radius: 999px; padding: .15rem .7rem; color: var(--text); font-size: .72rem; font-weight: 600; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.card--inset { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem; }
.card > h3:first-child { margin-top: 0; }

/* Buttons — white primary pill, dark outlined secondary */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-family: var(--font-body);
  border-radius: 999px; padding: .65rem 1.25rem; font-size: .9rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s, color .2s; white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: #fff; color: #000; }
.btn--primary:hover { background: #e6e6e6; color: #000; }
.btn--ghost { background: #121212; border-color: var(--border-2); color: var(--text); }
.btn--ghost:hover { background: #1a1a1a; border-color: #3a3a3a; color: #fff; }
.btn--sm { padding: .5rem .95rem; font-size: .82rem; }
.btn--xs { padding: .3rem .7rem; font-size: .76rem; }
.btn--lg { padding: .8rem 1.5rem; font-size: .95rem; }
.btn--block { width: 100%; }

/* Pills, chips, dots */
.pill { --c: var(--ok); display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: color-mix(in srgb, var(--c) 12%, #000); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); white-space: nowrap; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.pill--ok { --c: var(--ok); } .pill--warn { --c: var(--warn); } .pill--danger { --c: var(--danger); } .pill--muted { --c: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #121212; border: 1px solid var(--border-2); color: var(--text); white-space: nowrap; }
.chip--gold { background: #1a1a1a; border-color: #3a3a3a; color: #fff; }
.chip--ok { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.35); color: var(--ok); }
.chip--warn { background: rgba(234,179,8,.1); border-color: rgba(234,179,8,.35); color: var(--warn); }
.chip--danger { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); color: var(--danger); }
.chip--active { background: #fff; color: #000; border-color: #fff; }
a.chip:hover { border-color: #fff; }
a.chip--active:hover { color: #000; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot--pulse { animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6);} 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0);} }
.status-dot { --c: var(--ok); width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); flex-shrink: 0; }
.status-dot--lg { width: 14px; height: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: #2a2a2a; color: #fff; font-size: .85rem; flex-shrink: 0; }
.avatar--lg { width: 44px; height: 44px; font-size: 1.1rem; }

/* Announcement bar */
.announcement { background: #000; border-bottom: 1px solid var(--border); font-size: .78rem; overflow: hidden; }
.announcement__track { display: flex; padding: .4rem 0; width: max-content; animation: marquee var(--marquee-duration, 12s) linear infinite; will-change: transform; }
.announcement:hover .announcement__track { animation-play-state: paused; }
.announcement__item { display: inline-flex; align-items: center; gap: .5rem; margin-right: 3.5rem; color: var(--text); white-space: nowrap; font-weight: 500; }
a.announcement__item:hover { color: #fff; text-decoration: underline; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Navbar — full-width, flat */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav { width: min(1200px, 100% - 3rem); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; gap: 1rem; position: relative; }
.nav__brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -.02em; }
.nav__brand img { height: 22px; width: auto; }
.nav__logo { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #000; }
.nav__links { display: flex; gap: .1rem; list-style: none; margin: 0 auto; padding: 0; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__links a { display: block; padding: .4rem .85rem; border-radius: 999px; color: var(--text); font-weight: 500; font-size: .88rem; }
.nav__links a:hover { background: #141414; }
.nav__links a.active { background: #1a1a1a; }
.nav__actions { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: 38px; height: 38px; border-radius: 999px; background: transparent; border: 1px solid transparent; color: var(--text); cursor: pointer; font: inherit; }
.nav__btn:hover { background: #141414; }
.nav__btn--text { width: auto; padding: 0 .7rem; font-size: .82rem; font-weight: 600; }
.nav__badge { position: absolute; top: 1px; right: 1px; min-width: 17px; height: 17px; border-radius: 999px; background: #fff; color: #000; font-size: .66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.nav__login { margin-left: .3rem; background: #0d0d0d; border-color: var(--border-2); color: var(--text); }
.nav__login:hover { background: #1a1a1a; color: #fff; }
.nav__burger { display: none; }
@media (max-width: 920px) {
  .nav__links { display: none; position: absolute; top: calc(100% + .5rem); left: 0; right: 0; transform: none; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: .6rem; }
  .nav__links.open { display: flex; }
  .nav__burger { display: inline-flex; }
  .nav__login span { display: none; }
}
@media (max-width: 480px) {
  .nav { gap: .4rem; }
  .nav__brand span:not(.nav__logo) { display: none; }
  .nav__actions { gap: 0; }
  .nav__btn--text span { display: none; }
  .nav__btn--text { width: 38px; padding: 0; }
  .container { width: min(1200px, 100% - 1.6rem); }
  .card { padding: 1.1rem; }
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown__menu { display: none; position: absolute; top: calc(100% + .5rem); left: 0; min-width: 190px; background: var(--card); border: 1px solid var(--border-2); border-radius: 12px; padding: .4rem; box-shadow: var(--shadow); z-index: 60; }
.dropdown__menu--right { left: auto; right: 0; }
.dropdown.open .dropdown__menu { display: block; }
.dropdown__item { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; padding: .55rem .7rem; border-radius: 8px; background: none; border: 0; color: var(--text); font: inherit; font-size: .88rem; cursor: pointer; }
.dropdown__item:hover { background: #1a1a1a; }
.dropdown__item.active { background: #fff; color: #000; }
.dropdown__header { padding: .5rem .7rem; font-size: .76rem; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: .3rem; word-break: break-all; }

/* Search modal */
.search-modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-modal[hidden] { display: none; }
.search-modal__box { width: min(600px, 100% - 2rem); background: var(--card); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; }
.search-modal__input { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); color: var(--muted); }
.search-modal__input input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; font-size: 1rem; outline: none; }
.search-modal__results { max-height: 50vh; overflow: auto; padding: .4rem; }
.search-result { display: flex; align-items: center; gap: .8rem; padding: .6rem; border-radius: 10px; color: var(--text); }
.search-result:hover { background: #1a1a1a; }
.search-result img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.search-result .muted { margin-left: auto; }

/* Toasts */
.toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; display: flex; flex-direction: column; gap: .5rem; max-width: 360px; }
.toast { background: #111; border: 1px solid var(--border-2); border-left: 3px solid #fff; padding: .8rem 1rem; border-radius: 12px; font-size: .88rem; animation: slideIn .25s ease; }
.toast--success { border-left-color: var(--ok); }
.toast--error { border-left-color: var(--danger); }
.toast.hide { opacity: 0; transform: translateX(20px); transition: all .3s; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }

/* Hero */
.hero { text-align: center; padding: 5rem 0 2rem; display: flex; flex-direction: column; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem .35rem .7rem; border-radius: 999px; background: #121212; border: 1px solid var(--border-2); color: var(--text); font-size: .74rem; font-weight: 500; margin-bottom: 1.6rem; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4rem); margin: 0 0 .9rem; letter-spacing: -.035em; font-weight: 800; color: #fff; }
.hero__sub { font-size: clamp(.95rem, 1.4vw, 1.05rem); color: var(--muted); max-width: 560px; margin: 0 auto 1.8rem; }
.hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.stats { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 3rem; }
.stat { min-width: 120px; padding: .9rem 1.3rem; border-radius: 12px; background: #0f0f0f; border: 1px solid var(--border); text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: #fff; font-weight: 800; }
.stat strong small { font-size: .9rem; color: var(--muted); }
.stat span { font-size: .72rem; color: var(--muted); }

/* Grids */
.grid { display: grid; gap: 1.2rem; }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--reviews { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--blog { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid--kpi { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 1.2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--edit { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; }
@media (max-width: 900px) { .grid--edit { grid-template-columns: 1fr; } }

/* Product card */
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s ease, border-color .2s; }
.pcard:hover { transform: translateY(-3px); border-color: #3a3a3a; }
.pcard__media { position: relative; aspect-ratio: 16 / 9; background: #0a0a0a; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--border-2); }
.pcard__placeholder .icon { width: 48px; height: 48px; }
.pcard__shade { display: none; }
.pcard__top { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.pcard__stock { display: none; }
.pcard--oos .pcard__media img { filter: grayscale(.7); opacity: .6; }
.pcard__body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; text-align: left; }
.pcard__title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pcard__title h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.pcard__meta { font-size: .78rem; color: var(--muted); }
.pcard__desc { display: none; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.pcard__price { display: flex; flex-direction: column; }
.pcard__price-row { display: flex; align-items: baseline; gap: .5rem; }
.pcard__price-row .label { font-size: .78rem; color: var(--muted); }
.pcard__price strong { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.pcard__price s { font-size: .8rem; }
.pcard__cta { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #fff; border: 1.5px solid #fff; transition: all .2s; }
.pcard:hover .pcard__cta { background: #fff; color: #000; }

/* Products page with sidebar */
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .catalog { grid-template-columns: 1fr; } }
.filters { padding: 1.1rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.filters h5 { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin: 0 0 .6rem; font-weight: 700; }
.filters .field { margin-bottom: 1rem; }
.filters .range { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.filters .range .with-suffix { position: relative; }
.filters .range .with-suffix span { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .8rem; }
.filters .range input { padding-right: 1.6rem; }
.filters .check { font-size: .85rem; }
.filters .btn { margin-top: .4rem; }
.catalog__count { text-align: right; font-size: .8rem; color: var(--muted); margin-bottom: .8rem; }
.filters .cats { display: flex; flex-direction: column; gap: .2rem; }
.filters .cats a { padding: .4rem .6rem; border-radius: 8px; font-size: .85rem; color: var(--muted); }
.filters .cats a:hover, .filters .cats a.active { background: #161616; color: #fff; }

/* Feature cards / steps / cta */
.feature { text-align: left; }
.feature__icon { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #161616; color: #fff; border: 1px solid var(--border-2); margin-bottom: .9rem; }
.feature h3 { font-size: 1rem; }
.feature p { margin: 0; font-size: .88rem; }
a.feature { color: var(--text); display: block; }
a.feature:hover { border-color: #3a3a3a; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step h4 { margin: 0 0 .2rem; }
.step p { margin: 0; font-size: .88rem; }
.step__n { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; background: #fff; color: #000; flex-shrink: 0; font-size: .85rem; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--card-2); }
.cta h2, .cta h3 { margin-bottom: .2rem; }
.cta p { margin: 0; }

/* Reviews */
.review { display: flex; flex-direction: column; padding: 1.1rem 1.2rem; }
.review__head { display: flex; align-items: flex-start; gap: .7rem; }
.review__head .avatar { width: 36px; height: 36px; border-radius: 50%; background: #1b1b1b; border: 1px solid var(--border-2); }
.review__who { display: flex; flex-direction: column; gap: .15rem; }
.review__who strong { font-size: .92rem; }
.review__date { margin-left: auto; white-space: nowrap; }
.review__text { margin: .9rem 0 1rem; font-size: .92rem; }
.review__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--border); }
.review__foot a { color: var(--muted); text-decoration: none; } .review__foot a:hover { color: #fff; }
.pill--verified { background: #1a1a1a; color: var(--text); border: 1px solid var(--border-2); font-size: .62rem; padding: .25rem .55rem; border-radius: 6px; }
.review__reply { margin-top: .8rem; padding: .7rem .9rem; border-left: 2px solid #fff; background: #111; border-radius: 0 10px 10px 0; font-size: .86rem; }
.review__reply strong { color: #fff; margin-right: .3rem; }
.stars { display: inline-flex; gap: 2px; color: var(--border-2); }
.stars svg { width: 14px; height: 14px; }
.stars svg.on { color: #f5b301; fill: #f5b301; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.section__head--center p { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.rating-summary { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.rating-summary__big { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.rating-summary__big strong { font-family: var(--font-head); font-size: 3.5rem; line-height: 1; font-weight: 800; }
.rating-summary__bars .bar { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: .6rem; font-size: .85rem; margin: .3rem 0; }
.bar__track { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.bar__fill { height: 100%; background: #fff; border-radius: 99px; }
@media (max-width: 640px) { .rating-summary { grid-template-columns: 1fr; } }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.8rem; color: var(--border-2); cursor: pointer; transition: color .15s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #fff; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: .7rem; }
.faq__item { padding: 0; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; font-weight: 600; font-size: .95rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s; color: var(--muted); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__body { padding: 0 1.3rem 1.1rem; color: var(--muted); font-size: .9rem; }
.faq__body p:last-child { margin: 0; }

/* Toolbar */
.toolbar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .8rem 1rem; margin-bottom: 1.5rem; }
.toolbar__search { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 200px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; padding: .55rem .8rem; color: var(--muted); }
.toolbar__search input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; outline: none; min-width: 0; }
.toolbar__filters { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.switch { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; cursor: pointer; color: var(--muted); }
.switch input { display: none; }
.switch span { width: 36px; height: 20px; border-radius: 99px; background: var(--border-2); position: relative; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: #fff; }
.switch input:checked + span::after { transform: translateX(16px); background: #000; }

/* Forms */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="datetime-local"], textarea, .select, select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); border-radius: 10px; padding: .62rem .85rem; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: #666; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
input[readonly] { color: var(--muted); }
input[type="color"] { width: 48px; height: 38px; padding: 2px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; }
input[type="file"] { color: var(--muted); font-size: .85rem; }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
select[multiple] { min-height: 120px; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; cursor: pointer; margin: .5rem 0; }
.check input { margin-top: .25rem; accent-color: #fff; width: 16px; height: 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-2); border-radius: 999px; overflow: hidden; background: var(--bg-2); }
.qty button { width: 38px; height: 42px; background: none; border: 0; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: #1a1a1a; }
.qty input { width: 44px; text-align: center; border: 0; border-radius: 0; background: none; padding: .4rem 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Auth */
.auth { display: flex; justify-content: center; padding: 3rem 0; }
.auth__card { width: min(440px, 100%); padding: 2rem; }
.auth__card h1 { font-size: 1.7rem; margin-bottom: 1.2rem; }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 2rem; align-items: start; margin-top: 1.5rem; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.product__main { padding: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__main .pcard__top { z-index: 1; }
.product__thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumb { width: 72px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid var(--border); background: none; padding: 0; cursor: pointer; }
.thumb.active { border-color: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__buy h1 { font-size: 1.7rem; margin: .6rem 0 .4rem; }
.product__price { display: flex; align-items: baseline; gap: .8rem; margin: 1rem 0; }
.product__price strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.variants { display: flex; flex-direction: column; gap: .5rem; }
.variant { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--border-2); background: var(--bg-2); cursor: pointer; transition: all .15s; }
.variant:has(input:checked) { border-color: #fff; background: #141414; }
.variant input { accent-color: #fff; }
.variant__name { font-weight: 600; flex: 1; font-size: .92rem; }
.variant__price { font-weight: 700; }
.variant--oos { opacity: .5; cursor: not-allowed; }
.perks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: .6rem; }
.perks .icon { color: #fff; }
.product__details { margin-top: 2.5rem; }
.tabs { padding: 0; overflow: hidden; }
.tabs__nav { display: flex; gap: .2rem; border-bottom: 1px solid var(--border); padding: .4rem .6rem 0; overflow-x: auto; }
.tabs__nav button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: .8rem 1rem; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.tabs__nav button.active { color: #fff; border-bottom-color: #fff; }
.tabs__panel { display: none; padding: 1.5rem; }
.tabs__panel.active { display: block; }
.prose { line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: 12px; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose blockquote { margin: 1em 0; padding: .6em 1em; border-left: 3px solid #fff; background: #111; border-radius: 0 10px 10px 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--border); padding: .5rem .7rem; text-align: left; }
.prose pre { background: var(--bg-2); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; overflow: auto; }

/* Account market */
:root { --green: #22c55e; --green-dim: rgba(34, 197, 94, .14); --green-border: rgba(34, 197, 94, .35); }
.green { color: var(--green); }
.btn--green { background: var(--green); color: #04150a; border-color: var(--green); font-weight: 700; }
.btn--green:hover { background: #34d46c; border-color: #34d46c; color: #04150a; }
.market__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.market__head h1 { margin: .3rem 0 .2rem; font-size: 2.1rem; }
.market__head p { margin: 0; }
.market__alt { color: var(--muted); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.market__alt:hover { color: #fff; }
.steps { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.step { display: flex; align-items: flex-start; gap: .7rem; flex: 1 1 200px; font-size: .78rem; }
.step strong { display: block; font-size: .8rem; margin-bottom: .1rem; }
.step .muted { display: block; line-height: 1.35; }
.step__icon { width: 34px; height: 34px; border-radius: 9px; background: #151515; border: 1px solid var(--border-2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); }
.step__icon--lg { width: 52px; height: 52px; border-radius: 14px; }
.step__arrow { color: var(--border-2); font-size: 1.3rem; }
.steps__dl { margin-left: auto; white-space: nowrap; }
.steps__dl .muted { margin-left: .2rem; }
@media (max-width: 900px) { .step__arrow { display: none; } .steps__dl { margin-left: 0; width: 100%; justify-content: center; } }
.market__filters { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.market__filters .chip { padding: .45rem .95rem; font-size: .78rem; }
.chip__count { color: var(--green); font-weight: 700; margin-left: .15rem; }
.chip--green { background: var(--green-dim); border-color: var(--green-border); color: #fff; }
a.chip--green:hover { color: #fff; }
.chip--green .chip__count { color: var(--green); }
.select--sm { padding: .45rem 2rem .45rem .8rem; font-size: .8rem; min-width: 150px; width: auto; }
.featured-panel { border: 1px solid var(--green-border); background: linear-gradient(180deg, rgba(34, 197, 94, .06), rgba(34, 197, 94, .02)); border-radius: 16px; padding: 1rem; }
.featured-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; font-size: .92rem; }
.grid--accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.acct { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-color: var(--green-border); background: #0a0f0b; }
.acct__banner { position: relative; height: 92px; background: #141a15 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 120L120 0' stroke='%231d2a20' stroke-width='18'/%3E%3C/svg%3E"); }
.acct__banner img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.acct__game { position: absolute; top: .55rem; left: .55rem; background: #000; border: 1px solid var(--border-2); color: #fff; font-size: .62rem; font-weight: 700; padding: .2rem .5rem; border-radius: 5px; }
.acct__featured { position: absolute; top: .55rem; right: .55rem; background: var(--green); color: #04150a; font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 5px; }
.acct__body { padding: .85rem .9rem .9rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.acct__who { display: flex; align-items: center; gap: .6rem; }
.acct__who .avatar { width: 32px; height: 32px; border-radius: 8px; background: #1b1b1b; font-size: .75rem; }
.acct__name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.acct__name strong { font-size: .88rem; }
.acct__name .small { font-size: .7rem; }
.acct__clean { margin-left: auto; background: var(--green-dim); border: 1px solid var(--green-border); color: var(--green); font-size: .62rem; font-weight: 700; padding: .2rem .5rem; border-radius: 5px; white-space: nowrap; }
.acct__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .5rem; padding: .6rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.acct__stats span { display: block; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.acct__stats strong { font-size: .88rem; }
.acct__library .muted { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: .35rem; }
.acct__thumbs { display: flex; gap: .3rem; min-height: 22px; }
.acct__thumbs img { width: 42px; height: 20px; object-fit: cover; border-radius: 3px; border: 1px solid var(--border-2); }
.acct__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .2rem; }
.acct__price { font-size: 1.05rem; }
.h3 { font-size: 1.05rem; margin: 0; }
.market__empty { padding: 3rem 1rem; margin-top: 1rem; }
.market__empty h3 { margin: .4rem 0 0; }
.market__empty p { margin: 0; max-width: 420px; }
.market__empty a { text-decoration: underline; }

/* Status */
.status-filters { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.status-filters .chip { padding: .4rem 1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.status-filters .chip b { margin-left: .3rem; font-weight: 700; }
.status-search { display: flex; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: .7rem 1rem; color: var(--muted); margin-bottom: 1.2rem; }
.status-search input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; outline: none; }
.status-list { display: flex; flex-direction: column; gap: .6rem; }
.status-row { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; color: var(--text); }
.status-row:hover { border-color: #3a3a3a; }
.status-row__img { display: none; }
.status-row__info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.status-row__info strong { font-size: .92rem; }
.status-row__info .small { display: none; }

/* Cart & checkout */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #0a0a0a; border-left: 1px solid var(--border); display: flex; flex-direction: column; animation: slideLeft .25s ease; }
@keyframes slideLeft { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--border); }
.drawer__head h3 { margin: 0; }
.drawer__body { flex: 1; overflow: auto; padding: 1rem 1.3rem; }
.drawer__foot { padding: 1.1rem 1.3rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .6rem; }
.cart-line { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--border); position: relative; }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--bg-2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--border-2); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { color: var(--text); font-weight: 600; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; gap: .5rem; }
.cart-line .qty button { height: 32px; width: 30px; }
.cart-line .qty input { width: 36px; font-size: .85rem; }
.cart-line__remove { position: absolute; top: .9rem; right: 0; background: none; border: 0; color: var(--muted); cursor: pointer; padding: .2rem; }
.cart-line__remove:hover { color: var(--danger); }
.cart-page__foot { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; }
.empty { text-align: center; padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.empty__icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #141414; color: var(--muted); }
.empty p { margin: 0; color: var(--muted); }
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout__summary { order: -1; } }
.checkout__form h3 { margin-top: .4rem; }
.methods { display: flex; flex-direction: column; gap: .5rem; }
.method { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1px solid var(--border-2); border-radius: 12px; background: var(--bg-2); cursor: pointer; transition: all .15s; }
.method:has(input:checked) { border-color: #fff; background: #141414; }
.method input { display: none; }
.method__icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #1a1a1a; color: #fff; }
.method__label { font-weight: 600; flex: 1; font-size: .92rem; }
.method__check { opacity: 0; color: #fff; }
.method:has(input:checked) .method__check { opacity: 1; }
.sum-line { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.sum-line .cart-line__img { width: 48px; height: 48px; }
.coupon-form { margin: 1rem 0; }
.totals { display: flex; flex-direction: column; gap: .4rem; margin-top: .8rem; }
.totals .total { border-top: 1px solid var(--border); padding-top: .6rem; margin-top: .3rem; font-size: 1.05rem; }
.totals .total strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; }
.order { display: flex; flex-direction: column; gap: 1rem; }
.order-item .row { margin-bottom: .4rem; }
.delivered { margin-top: .8rem; display: flex; flex-direction: column; gap: .4rem; }
.key { display: flex; align-items: center; gap: .5rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: .5rem .5rem .5rem .8rem; }
.key code { flex: 1; background: none; border: 0; padding: 0; word-break: break-all; font-size: .88rem; }
.key button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: .3rem; display: inline-flex; }
.key button:hover { color: #fff; }
.key form { display: inline-flex; }
.notice { display: flex; align-items: center; gap: 1rem; border-color: rgba(234,179,8,.4); }
.notice p { margin: 0; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border-2); border-top-color: #fff; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Popup */
.popup { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.popup__box { position: relative; width: min(420px, 100% - 2rem); background: var(--card); border: 1px solid var(--border-2); border-radius: 18px; padding: 2rem; text-align: center; display: flex; flex-direction: column; gap: .6rem; animation: slideIn .3s ease; }
.popup__close { position: absolute; top: .6rem; right: .6rem; }
.code-box { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .9rem; border: 1px dashed #666; border-radius: 12px; background: #111; color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: .1em; cursor: pointer; margin: .5rem 0 1rem; }

/* Blog */
.post { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--text); }
.post:hover { border-color: #3a3a3a; }
.post__img { aspect-ratio: 16 / 9; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.post__body h3 { margin: .3rem 0; }
.post__body .link { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; font-size: .88rem; }
.post__hero { padding: 0; overflow: hidden; margin: 1.5rem 0; }
.post__hero img { width: 100%; max-height: 420px; object-fit: cover; }

/* Dashboard (customer) */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-top: 1.5rem; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } }
.dash__side { padding: 1rem; position: sticky; top: calc(var(--nav-h) + 1.2rem); }
.dash__user { display: flex; align-items: center; gap: .8rem; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--border); margin-bottom: .6rem; min-width: 0; }
.dash__user .small { word-break: break-all; }
.dash__nav { display: flex; flex-direction: column; gap: .15rem; }
.dash__nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .9rem; }
.dash__nav a:hover, .dash__nav a.active { background: #161616; color: #fff; }
.dash__nav .chip { margin-left: auto; }
.dash__main h1 { font-size: 1.7rem; }
.dash__main > .card { margin-bottom: 1.2rem; }
.kpi { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.3rem; color: var(--text); }
.kpi strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; }
.kpi--accent { background: #161616; border-color: #333; }
a.kpi:hover { border-color: #3a3a3a; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .6rem .7rem; border-bottom: 1px solid var(--border); font-weight: 600; }
.table td { padding: .7rem .7rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255,255,255,.02); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.thread { display: flex; flex-direction: column; gap: .8rem; margin: 1.2rem 0; }
.msg { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: .9rem 1.1rem; max-width: 85%; align-self: flex-start; }
.msg--staff { align-self: flex-end; border-color: #444; background: #141414; }
.msg__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; font-size: .84rem; }
.msg__body { white-space: pre-wrap; word-break: break-word; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; font-size: .88rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; word-break: break-word; }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 3rem; padding: 3rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { margin: .8rem 0; max-width: 340px; font-size: .88rem; }
.footer h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .8rem; }
.footer__grid > div > a:not(.nav__brand) { display: block; color: var(--muted); padding: .25rem 0; font-size: .9rem; }
.footer__grid > div > a:not(.nav__brand):hover { color: #fff; }
.footer__social { display: flex; gap: .5rem; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 .7rem; border-radius: 10px; border: 1px solid var(--border-2); color: var(--text); font-size: .85rem; }
.footer__social a:hover { border-color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .82rem; color: var(--muted); }

/* Admin */
.admin-body { background: var(--bg); }
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin__side { background: #050505; border-right: 1px solid var(--border); padding: 1.2rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin__nav { display: flex; flex-direction: column; gap: .1rem; margin-top: 1.5rem; }
.admin__nav a { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 10px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.admin__nav a:hover, .admin__nav a.active { background: #161616; color: #fff; }
.admin__group { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 1rem .8rem .3rem; }
.admin__main { min-width: 0; }
.admin__top { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.5rem; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.admin__burger { display: none; }
.admin__content { padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; }
.admin__content h1 { font-size: 1.6rem; margin: 0; }
.admin__content .grid--kpi { margin-bottom: 0; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .admin__side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 30; transform: translateX(-100%); transition: transform .25s; }
  .admin__side.open { transform: none; }
  .admin__burger { display: inline-flex; }
  .admin__content { padding: 1.2rem; }
}
.thumb-sm { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.preview { max-height: 160px; width: auto; border-radius: 10px; border: 1px solid var(--border); margin-bottom: .8rem; }
.preview--sm { max-height: 48px; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 1rem; }
.chart__bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.chart__bar::before { content: ""; width: 100%; height: max(var(--h), 2%); background: linear-gradient(180deg, #fff, #555); border-radius: 6px 6px 0 0; }
.chart__bar span { font-size: .7rem; color: var(--muted); margin-top: .4rem; }
.chart__bar:hover::before { filter: brightness(1.2); }
.repeater__row { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .6rem; }
.stock-list { max-height: 420px; overflow: auto; display: flex; flex-direction: column; gap: .4rem; }
.review-admin p { margin: .6rem 0; }
