/* =========================================================
   bapey.net — REDESIGN „A”: întunecat, modern și curat
   (în stilul Discord / Linear). Se încarcă după style.css și
   rescrie aspectul a tot: culori, fonturi, meniu, bara de sus,
   carduri, butoane, câmpuri, tabele, ferestre, pagini.
   Culoarea principală rămâne mov (#9584FF).
   ========================================================= */

:root {
  --bape-theme: 1;
  /* fundaluri pe niveluri */
  --bg: #0b0b0f;
  --surface: #111116;
  --surface-2: #15151b;
  --surface-3: #1b1b23;
  --surface-4: #22222c;
  --hover: rgba(255, 255, 255, .045);
  --card: #15151b;
  --card-2: #1b1b23;
  --line: rgba(255, 255, 255, .065);
  --line-2: rgba(255, 255, 255, .1);
  /* text */
  --text: #ececf1;
  --text-2: #c4c4cf;
  --muted: #8b8b9a;
  /* accent (același mov) */
  --accent: #9584FF;
  --accent-2: #b4a8ff;
  --accent-3: #7a67f0;
  --a: 149, 132, 255;
  --accent-soft: rgba(149, 132, 255, .14);
  /* stări */
  --ok: #3ecf8e;
  --warn: #f5b74a;
  --err: #f2555a;
  /* forme */
  --r: 14px;
  --r-sm: 10px;
  --r-xs: 8px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px -12px rgba(0,0,0,.6);
  /* fonturi */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Inter", system-ui, sans-serif;
}

/* ================= bază ================= */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text);
  background: var(--bg) !important; font-feature-settings: "cv11", "ss01", "ss03";
  letter-spacing: -.005em;
}
body::before {
  background: radial-gradient(900px 420px at 15% -10%, rgba(var(--a), .07), transparent 70%) !important;
}
h1, h2, h3, h4 { letter-spacing: -.02em; }
::selection { background: rgba(var(--a), .45); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
code { background: var(--surface-3); color: var(--accent-2); border: 1px solid var(--line); border-radius: 6px; }
.muted { color: var(--muted); }
.link { color: var(--accent-2); font-weight: 600; }
.eyebrow { color: var(--muted); letter-spacing: .12em; font-weight: 700; }
.i { stroke-width: 1.9; }

/* ================= layout ================= */
@media (min-width: 981px) { .app { grid-template-columns: 260px minmax(0, 1fr); } }
.main { padding: 28px 32px 72px; }
#view { max-width: 1440px; margin: 0 auto; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ================= meniul din stânga (Discord / Linear) ================= */
.sidebar, .sidebar.sidebar {
  background: var(--surface) !important; border-right: 1px solid var(--line) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.sidebar .side-brand { padding: 18px 16px 10px; gap: 10px; }
.sidebar .side-brand img { width: 36px; height: 36px; filter: none; }
.sidebar .side-brand:hover img { transform: none; }
.side-brand__t b { font: 800 1.05rem/1 var(--font); letter-spacing: -.02em; background: none; color: #fff; -webkit-text-fill-color: #fff; }
.side-brand__t small { margin-top: 3px; font-size: .58rem; letter-spacing: .28em; color: var(--muted); }

.sidebar .side-user { padding: 4px 12px 8px; }
.sidebar .side-me, .side-me {
  padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2) !important; border: 1px solid var(--line) !important;
}
a.side-me:hover { border-color: var(--line-2) !important; background: var(--surface-3) !important; }
.side-me__av img { width: 36px; height: 36px; border-radius: 9px; box-shadow: none; }
.side-me__on { border-color: var(--surface-2); background: var(--ok); }
.side-me__t b { font-size: .9rem; }
.side-credits { color: var(--warn); }

.side-search { margin: 4px 12px 10px; height: 36px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); }
.side-search:hover { border-color: var(--line-2); }
.side-search:focus-within { border-color: var(--accent); background: var(--bg); box-shadow: 0 0 0 3px rgba(var(--a), .15); }
.side-search kbd { background: var(--surface-3); border-color: var(--line-2); }

.sidebar .side-nav { padding: 2px 10px 12px; gap: 1px; }
.ngroup { margin-bottom: 8px; }
.ngroup__h { padding: 10px 8px 4px; font-size: .64rem; letter-spacing: .14em; color: #6d6d7c; border-radius: 6px; }
.ngroup__h:hover { background: none; color: var(--text-2); }
.ngroup__dot { width: 6px; height: 6px; border-radius: 50%; box-shadow: none; opacity: .9; }
.ngroup__items { gap: 1px; }

.sidebar .side-nav a {
  gap: 10px; padding: 7px 10px; border-radius: var(--r-xs); border: 0; font-size: .875rem; font-weight: 500; color: var(--text-2);
  transform: none !important; transition: background-color .12s ease, color .12s ease;
}
.sidebar .side-nav a .i {
  width: 18px; height: 18px; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important;
  color: #7c7c8c; transform: none !important;
}
.sidebar .side-nav a:hover { background: var(--hover); color: #fff; }
.sidebar .side-nav a:hover .i { color: var(--text-2); }
.sidebar .side-nav a.is-active {
  color: #fff; font-weight: 600; background: rgba(var(--a), .14) !important; border: 0; box-shadow: none !important;
}
.sidebar .side-nav a.is-active .i { color: var(--accent-2) !important; }
.sidebar .side-nav a.is-active::before { left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: none; }
.nav-tag, .sidebar .side-nav .nav-tag { font-size: .6rem; padding: 2px 6px; border-radius: 5px; letter-spacing: .04em; background: var(--surface-4) !important; color: var(--text-2) !important; animation: none !important; }
.sidebar .side-nav .nav-tag.nav-tag--live { background: rgba(242, 85, 90, .16) !important; color: #ff8a8e !important; }
.nav-hot { color: var(--text-2) !important; }
.nav-hot .i { color: var(--warn) !important; }
.nav-badge { background: var(--err); box-shadow: none; animation: none; }

.sidebar .nav-admin__title { background: var(--surface-2) !important; border: 1px solid var(--line) !important; border-radius: var(--r-sm); }
.sidebar .nav-admin__badge { background: rgba(var(--a), .2) !important; color: var(--accent-2); }
.sidebar .nav-admin .side-label::before { background: var(--accent); box-shadow: none; width: 6px; height: 6px; border-radius: 50%; }
.sidebar .nav-admin__back { border: 1px solid var(--line) !important; }

.sidebar .side-bottom { padding: 10px 12px 12px; border-top: 1px solid var(--line); background: transparent; }
.sidebar .ipbox, .ipbox { background: var(--surface-2) !important; border: 1px solid var(--line) !important; border-radius: var(--r-sm); }
.sidebar .ipbox:hover { transform: none; border-color: var(--line-2) !important; background: var(--surface-3) !important; }
.ipbox .i { color: var(--muted); }
.side-bottom .btn--dark { background: transparent; border: 1px solid var(--line); color: var(--text-2); }
.side-bottom .btn--dark:hover { background: var(--hover); border-color: var(--line-2); color: #fff; }

/* ================= bara de sus ================= */
.hdr {
  margin: -28px -32px 24px; padding: 10px 32px; min-height: 56px;
  background: rgba(11, 11, 15, .92) !important; border-bottom: 1px solid var(--line) !important;
}
.hdr__status, .hdr__ip, .hdr .lang, .hdr__me { border-radius: var(--r-sm) !important; }
.hdr__status { background: transparent; border: 1px solid var(--line); color: var(--text-2); font-weight: 600; font-size: .82rem; padding: 6px 12px; }
.hdr__ip { background: var(--surface-2); border: 1px solid var(--line); padding: 4px 12px 4px 4px; font-weight: 600; font-size: .88rem; }
.hdr__ip:hover { background: var(--surface-3); border-color: var(--line-2); }
.hdr__ipl { border-radius: 6px !important; background: rgba(var(--a), .2); color: var(--accent-2); }
.hdr__ip .i { color: var(--muted); }
.hdr .lang { background: transparent; border: 1px solid var(--line); }
.hdr .lang button { border-radius: 6px !important; }
.lang button[aria-pressed="true"] { background: var(--surface-4); color: #fff; }
.hdr__me { background: var(--surface-2); border: 1px solid var(--line); padding: 3px 12px 3px 3px; font-weight: 600; }
.hdr__me:hover { border-color: var(--line-2); }
.hdr__me .av { border-radius: 7px !important; }
@media (max-width: 980px) { .hdr { margin: -24px -16px 18px; padding: 8px 16px; } }

/* telefon: bara de sus + meniul glisant */
.topbar { background: rgba(11, 11, 15, .96) !important; border-bottom: 1px solid var(--line) !important; }
@media (max-width: 980px) { .sidebar { border-radius: 0 !important; box-shadow: 20px 0 60px rgba(0,0,0,.6); } }

/* ================= titluri de pagină ================= */
.page-head { margin-bottom: 22px; align-items: flex-end; }
.page-head h1 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.03em; background: none; color: #fff; -webkit-text-fill-color: #fff; }
.page-head p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.sec-title { font-size: 1.05rem; font-weight: 700; margin: 26px 0 12px; gap: 10px; color: #fff; }
.sec-title .i { color: var(--muted); width: 18px; height: 18px; }
.sec-count { background: var(--surface-3); color: var(--text-2); border-radius: 6px; }

/* ================= carduri ================= */
.card {
  background: var(--surface-2) !important; border: 1px solid var(--line) !important; border-radius: var(--r) !important;
  box-shadow: none !important;
}
.card:hover { box-shadow: none !important; }
a.card:hover { border-color: var(--line-2) !important; }
.card-head { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 1rem; font-weight: 700; gap: 10px; }
.card-head h2 .i { color: var(--muted); width: 18px; height: 18px; }
.card-body { padding: 16px 18px; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--r); background: transparent; color: var(--muted); }

/* ================= butoane ================= */
.btn { height: 40px; padding: 0 16px; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; gap: 7px; transition: background-color .12s ease, border-color .12s ease, color .12s ease, filter .12s ease; }
.btn:active { transform: none; filter: brightness(.95); }
.btn--primary { background: var(--accent) !important; color: #0e0b1f !important; box-shadow: none !important; border-color: transparent; }
.btn--primary:hover { background: #a495ff !important; box-shadow: none !important; }
.btn--ghost, .btn--dark { background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text); height: 40px; }
.btn--ghost:hover, .btn--dark:hover { background: var(--surface-4); border-color: rgba(255,255,255,.16); }
.btn--sm { height: 34px; padding: 0 12px; font-size: .84rem; border-radius: var(--r-xs); }
.btn--chip { height: 32px; padding: 0 11px; font-size: .82rem; border-radius: var(--r-xs); background: var(--surface-3); border: 1px solid var(--line-2); }
.btn--chip:hover { background: var(--surface-4); border-color: rgba(255,255,255,.16); }
.btn--danger { color: #ff9a9d; }
.btn--danger:hover { background: rgba(242, 85, 90, .12) !important; border-color: rgba(242, 85, 90, .4) !important; color: #ffb3b5; }
.btn--discord { background: #5865F2; box-shadow: none; color: #fff; }
.btn--buy { box-shadow: none !important; }
.icon-btn { width: 36px; height: 36px; border-radius: var(--r-xs); background: var(--surface-3); border: 1px solid var(--line-2); }
.icon-btn:hover { background: var(--surface-4); border-color: rgba(255,255,255,.16); }
.icon-btn--sm { width: 30px; height: 30px; border-radius: 7px; }
.icon-btn--sm .i { width: 15px; height: 15px; }
.linkbtn { color: var(--text-2); font-weight: 600; }

/* ================= câmpuri ================= */
.field > span:first-child { font-weight: 600; font-size: .84rem; color: var(--text-2); }
.field small { color: var(--muted); font-size: .78rem; }
.field input, .field textarea, .comment-form textarea, .select select, .search, .ssearch, .upg__sel, .ssort {
  background: var(--bg) !important; border: 1px solid var(--line-2) !important; border-radius: var(--r-sm) !important;
}
.field input, .field textarea, .comment-form textarea { padding: 10px 12px; font-size: .92rem; }
.field input:focus, .field textarea:focus, .comment-form textarea:focus, .search:focus-within, .ssearch:focus-within {
  border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(var(--a), .15) !important;
}
.field .select select, .select select { height: 40px; }
.search { height: 42px; }
.search input { font-size: .95rem; }
textarea::placeholder, input::placeholder { color: #5f5f6d; }
.check input, input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
.switch__ui { background: var(--surface-4); border-color: var(--line-2); }

/* ================= badge-uri, chip-uri, filtre ================= */
.badge { padding: 2px 8px; border-radius: 6px; font-size: .74rem; font-weight: 700; border-width: 1px; background: color-mix(in srgb, var(--bc) 12%, transparent); border-color: color-mix(in srgb, var(--bc) 35%, transparent); }
.badge--plain { background: var(--surface-3); border-color: var(--line-2); }
.badge--grad { background: var(--surface) !important; }
.chip { border-radius: var(--r-xs); background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: .84rem; }
.chip:hover { border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: rgba(var(--a), .16) !important; border-color: rgba(var(--a), .45) !important; color: #fff; box-shadow: none !important; }
.seg, .seg button { border-radius: var(--r-sm) !important; }
.seg { background: var(--surface-2); border: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--surface-4) !important; box-shadow: none !important; color: #fff; }

/* ================= tabele ================= */
.table-wrap.card, .table-wrap { border-radius: var(--r); }
.table { font-size: .88rem; }
.table th { background: var(--surface) !important; font-size: .7rem; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.table th, .table td { padding: 11px 14px; border-bottom-color: var(--line); }
.table tbody tr:hover { background: var(--hover); }

/* ================= ferestre, notificări ================= */
.modal__backdrop { background: rgba(0, 0, 0, .7) !important; backdrop-filter: none !important; }
.modal__card { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; border-radius: 16px !important; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8) !important; }
.modal__head { background: var(--surface-2) !important; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 1.1rem; font-weight: 700; }
.modal--wide .modal__head { background: var(--surface-2) !important; }
.modal--wide .modal__head h2::before { background: rgba(var(--a), .2); color: var(--accent-2); border-radius: 8px; width: 28px; height: 28px; font-size: .9rem; }
.modal__foot { background: var(--surface) !important; border-top: 1px solid var(--line); }
.toast { background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: 0 16px 40px -12px rgba(0,0,0,.8); font-weight: 600; font-size: .9rem; }
.toast.is-err { border-color: rgba(242, 85, 90, .5); box-shadow: 0 16px 40px -12px rgba(0,0,0,.8); }
.mbanner { border-radius: var(--r); }

/* ================= panoul principal ================= */
.dtop .bhero, .bhero {
  background: radial-gradient(500px 240px at 0% 0%, rgba(var(--a), .14), transparent 70%), var(--surface-2) !important;
  border: 1px solid var(--line) !important; box-shadow: none !important; border-radius: 18px !important;
}
.bhero__bg span:nth-child(1), .bhero__bg span:nth-child(2) { display: none; }
.bhero__logo { filter: none !important; animation: none !important; }
.bhero__title { background: none !important; color: #fff !important; -webkit-text-fill-color: #fff; font-family: var(--font) !important; font-weight: 800; letter-spacing: -.04em; }
.bip { background: var(--bg) !important; border: 1px solid var(--line-2) !important; box-shadow: none !important; border-radius: 12px !important; }
.bip:hover { border-color: rgba(var(--a), .5) !important; transform: none; }
.bip__t b { font-family: var(--font); letter-spacing: -.02em; }
.bip__c { border-radius: 8px !important; }
.acard { background: var(--surface-2) !important; box-shadow: none !important; border-color: var(--line) !important; border-radius: 18px !important; }
.acard__band { height: 80px; opacity: .55; }
.acard__band::after { display: none; }
.acard__id b { font-family: var(--font); text-shadow: none; }
.acard__stats > div, .acard__nav a { background: var(--surface-3); border-color: var(--line); border-radius: var(--r-xs); }
.acard__nav a:hover { background: var(--surface-4); }
.dstrip { background: var(--surface-2); border-color: var(--line); border-radius: var(--r); }
.dsi + .dsi { border-left-color: var(--line); }
.dsi__ic { background: var(--surface-3) !important; border-radius: var(--r-xs); }
.dsi b { font-family: var(--font); }
.scard {
  background: var(--surface-2) !important; border-color: var(--line) !important; border-radius: 16px !important;
  box-shadow: none !important;
}
.scard:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tc) 45%, transparent) !important; box-shadow: none !important; }
.scard__em { opacity: .06; }
.scard__ic { background: var(--surface-3); border-color: var(--line); border-radius: 12px; }
.scard__pl, .scard__info li { background: var(--surface) !important; border-color: var(--line) !important; }
.scard__pl b { font-family: var(--font); }
.scard__how { background: var(--surface) !important; }
.afeed, .uplast { background: var(--surface-2) !important; border: 1px solid var(--line) !important; border-radius: 16px !important; }
.afeed__i { background: var(--surface) !important; border-color: var(--line) !important; border-left-width: 2px; border-radius: 10px; }
.afeed__i:hover { transform: none; background: var(--surface-3) !important; }
.uplast__ver { background: rgba(var(--a), .18) !important; color: var(--accent-2) !important; box-shadow: none !important; border: 1px solid rgba(var(--a), .35); font-family: var(--font); }
.uplast__list li { background: var(--surface) !important; }
.uplast__chip { background: var(--surface-3); border-color: var(--line); border-radius: 6px; }
.mapban { background: var(--surface-2) !important; border-color: var(--line) !important; border-radius: 16px !important; }
.mapban__art { border-color: var(--line-2); }
.bx { background: var(--surface-2) !important; border-color: var(--line) !important; }
.anns .ann, .ann { border-radius: var(--r-sm); }

/* ================= magazin ================= */
.smini { background: radial-gradient(240px 120px at 0% 0%, rgba(var(--a), .14), transparent 70%), var(--surface-2) !important; border-color: var(--line) !important; box-shadow: none !important; border-radius: 16px !important; }
.smini__t { font-family: var(--font); letter-spacing: -.04em; }
.store-hero__grad { background: none !important; color: #fff !important; -webkit-text-fill-color: #fff; }
.smini__me, .smini__tags span { background: var(--surface-3); border-color: var(--line); }
.scat__home, .scat__i { background: var(--surface-2) !important; border-color: var(--line) !important; border-radius: 12px !important; }
.scat__home:hover, .scat__i:hover { transform: none !important; background: var(--surface-3) !important; border-color: var(--line-2) !important; }
.scat__home.is-on, .scat__i.is-on { background: rgba(var(--a), .12) !important; border-color: rgba(var(--a), .4) !important; }
.scat__home.is-on, .scat__i.is-on .scat__n { color: #fff !important; }
.scat__home.is-on .scat__hic, .scat__i.is-on .scat__img { background: var(--accent) !important; color: #0e0b1f; box-shadow: none !important; }
.scat__hic, .scat__img { background: var(--surface-3) !important; border-radius: 10px !important; }
.scat__s.is-on { border-color: rgba(var(--a), .4); background: rgba(var(--a), .1); }
.scat__add { border-color: var(--line-2); color: var(--text-2); border-radius: 12px; }
.ccard { background: var(--surface-2) !important; border-color: var(--line) !important; border-radius: 16px !important; }
.ccard:hover { transform: translateY(-2px); border-color: rgba(var(--a), .4) !important; box-shadow: none !important; }
.ccard__img { background: var(--surface-3) !important; border-color: var(--line) !important; }
.ccard__stats > div, .ccard__list li { background: var(--surface) !important; border-color: var(--line) !important; }
.ccard__pop { background: rgba(245, 183, 74, .08) !important; border-color: rgba(245, 183, 74, .25) !important; }
.catrow { background: var(--surface-2) !important; border-color: var(--line) !important; }
.rcard { background: var(--surface-2) !important; border-color: color-mix(in srgb, var(--pc) 22%, var(--line)) !important; box-shadow: none !important; border-radius: 18px !important; }
.rcard:hover { box-shadow: 0 20px 50px -30px color-mix(in srgb, var(--pc) 60%, transparent) !important; }
.rcard__glow { opacity: .25 !important; }
.rcard__name { font-family: var(--font) !important; letter-spacing: -.03em; }
.rcard__pricebox { background: var(--surface) !important; border-color: var(--line) !important; }
.rcard__buy { border-radius: 10px !important; box-shadow: none !important; }
.qpack { background: var(--surface-2) !important; border-color: var(--line) !important; }
.qbtn { background: var(--surface) !important; border-color: var(--line-2) !important; border-radius: 12px; }
.ctab-wrap { background: var(--surface-2) !important; border-color: var(--line) !important; box-shadow: none !important; }
.ctab thead th, .ctab__p { background: var(--surface-3) !important; }
.ctab tbody tr:not(.ctab__sec) td { background: var(--surface-2) !important; }
.ctab tbody tr:not(.ctab__sec):nth-child(odd) td { background: var(--surface) !important; }
.upg, .tierc, .nextr { background: var(--surface-2) !important; border-color: var(--line) !important; }
.upg__btn { box-shadow: none !important; border-radius: 12px; }
.sup { background: radial-gradient(240px 160px at 50% 10%, rgba(245, 183, 74, .1), transparent 70%), var(--surface-2) !important; border-color: var(--line) !important; }
.sup__h { background: var(--surface-3) !important; border-color: var(--line) !important; }
.sup__mini, .sup__head { background: var(--surface) !important; }
.sfaq__i { background: var(--surface-2); border-color: var(--line); }
.sfaq__i[open] { background: var(--surface-2); border-color: var(--line-2); }
.sadm { background: var(--surface-2); border: 1px dashed var(--line-2); color: var(--muted); }
.paymsg { border-radius: var(--r); }
.sale-banner { border-radius: var(--r); }

/* ================= profil ================= */
.pcover { border-color: var(--line); opacity: .85; }
.pinfo.card, .skin.card { background: var(--surface-2) !important; }
.pname { font-family: var(--font); letter-spacing: -.04em; }
.pchip { border-radius: 8px; }
.fact { background: var(--surface) !important; border-color: var(--line) !important; border-radius: 12px; }
.psum__t, .pglobal__i, .pstaff__t { background: var(--surface-2) !important; border-color: var(--line) !important; }
.pglobal__i { background: var(--surface-2) !important; }
.pstaff { background: var(--surface-2) !important; }
.scards .scard, .scard.card { box-shadow: none !important; }
.comment { background: var(--surface) !important; border-color: var(--line) !important; border-radius: 12px; }
.pexp, .pstatus { border-radius: 8px; }

/* ================= jucători, sancțiuni, statistici, update-uri ================= */
.pcard { background: var(--surface-2) !important; }
.san { border-radius: var(--r); }
.san__ic { border-radius: 10px; }
.upd::before { box-shadow: 0 0 0 4px var(--bg); }
.timeline::before { background: linear-gradient(var(--line-2), transparent); }
.vote-site, .quick__i { background: var(--surface-2) !important; }

/* ================= staff ================= */
.kanban--v2 .kcol { background: var(--surface) !important; border-color: var(--line) !important; }
.task2 { background: var(--surface-2) !important; border-color: var(--line) !important; box-shadow: none !important; }
.ttile, .abst { background: var(--surface-2) !important; border-color: var(--line) !important; }
.ttile.is-on { border-color: color-mix(in srgb, var(--tc) 55%, transparent) !important; }
.absc2, .sfile, .absmap { background: var(--surface-2) !important; }
.cmsg { border-radius: 10px; }

/* ================= hartă ================= */
.lmap__frame { border-color: var(--line-2); box-shadow: none; border-radius: 16px; }
.lmap__ic { background: var(--surface-3); border-color: var(--line); }

/* ================= ecranul de mentenanță (fără Halloween) ================= */
.mscreen__art--plain { display: grid; place-items: center; }
.mscreen__art--plain img { width: 140px; height: auto; filter: drop-shadow(0 18px 40px rgba(var(--a), .45)); }

/* ================= staff: rapoarte + „Raportează un jucător” ================= */
.spill { --sc: var(--muted); display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: .72rem; font-weight: 700; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 35%, transparent); white-space: nowrap; }
.ttiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .ttiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reps { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (max-width: 520px) { .reps { grid-template-columns: 1fr; } }
.rep, .myreq { --rc: var(--accent); display: grid; gap: 10px; padding: 14px 16px !important; position: relative; }
.rep::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--rc); }
.rep__h { display: flex; align-items: center; gap: 10px; }
.rep__h img { border-radius: 9px; image-rendering: pixelated; flex: none; }
.rep__h > div { flex: 1; min-width: 0; display: grid; gap: 1px; }
.rep__h .plink { font-weight: 700; }
.rep__cat { font-size: .76rem; color: var(--muted); }
.rep__why { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--text); }
.rep__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .76rem; color: var(--muted); }
.rep__meta b { color: var(--text-2); }
.rep__proof { color: var(--accent-2); font-weight: 600; }
.rep__res { margin: 0; padding: 8px 10px; border-radius: var(--r-xs); font-size: .84rem; background: var(--surface); border: 1px solid var(--line); }
.rep__a { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.myreq header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.myreq header small { margin-left: auto; }

.sup2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .sup2 { grid-template-columns: 1fr; } }
.sup2__tips { display: grid; gap: 10px; }
.sup2__tips p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted, #a1a1b0); }
.sup2__tips p b { color: var(--text, #ececf1); }
.rcats { display: flex; flex-wrap: wrap; gap: 6px; }
.rcat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rcat span { display: inline-block; padding: 7px 11px; border-radius: var(--r-xs); font-size: .84rem; font-weight: 600; cursor: pointer; background: var(--surface-3); border: 1px solid var(--line-2); transition: border-color .12s ease, background-color .12s ease; }
.rcat input:checked + span { border-color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); color: #fff; }
.rcat input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ================= mai sobru: fără strălucire, gradienturi și animații de decor =================
   Interfața rămâne aceeași, dar fără efectele „de demo”: nimic nu mai pulsează, plutește sau
   se ridică la hover; colțurile sunt mai puțin rotunjite; culorile apar doar unde transmit ceva. */
:root { --r: 12px; --r-sm: 8px; --r-xs: 6px; }
body::before { display: none !important; }
#view { animation: none; }

/* fundaluri plate în loc de pete de culoare */
.dtop .bhero, .bhero, .smini, .sup { background: var(--surface-2) !important; }
.bhero__bg, .scard__em, .mapban__art, .rcard__glow, .sup__glow, .afeed__live, .lmap__live { display: none !important; }
.bhero, .acard, .scard, .afeed, .uplast, .mapban, .ccard, .rcard, .lmap__frame, .modal__card { border-radius: var(--r) !important; }

/* nimic nu se mai ridică sau strălucește la hover */
.scard:hover, .ccard:hover, .rcard:hover, .bx:hover, a.card:hover, .pcard:hover, .vote-site:hover, .hubm:hover, .sup__lead:hover, .catrow:hover, .minip:hover, .qpack:hover {
  transform: none !important; box-shadow: none !important;
}
.scard:hover, .ccard:hover, .rcard:hover { border-color: var(--line-2) !important; }

/* animațiile de decor (pulsare, plutire, sclipire) sunt oprite; spinner-ul de încărcare rămâne */
.bip__dot, .dot--on, .nav-badge, .acard__live, .mapban__p, .mapban__pin, .bhero__logo,
.rcard, .rcard::before, .rcard.is-popular::before, .rcard__ic, .rcard__ring, .rank-card__ribbon, .rcard__pop, .sup__skin img, .skin, .gbar, .podium__skin img {
  animation: none !important;
}

/* iconițe în cutii neutre, nu colorate în fiecare culoare */
.dsi__ic, .scard__ic, .bx__ic, .lmap__ic, .pstaff__ic, .hubtile__ic {
  background: var(--surface-3) !important; border: 1px solid var(--line) !important; color: var(--text-2); font-size: 1rem;
}
.dsi__ic .i, .scard__ic .i, .lmap__ic .i, .pstaff__ic .i { width: 18px; height: 18px; }
.scard__ic { width: 40px; height: 40px; border-radius: var(--r-sm); }
.lmap__ic { width: 48px; height: 48px; border-radius: var(--r-sm); }
.acard__stats span, .psum__t > span, .pglobal__i > span, .abst > span, .ttile > span { display: inline-grid; place-items: center; color: var(--muted); font-size: 1rem; }
.acard__stats span .i { width: 16px; height: 16px; }
.afeed__av em { color: var(--kc); background: var(--surface-2); border-color: var(--line-2); }
.afeed__av em .i { width: 12px; height: 12px; }
.uplast__ic { display: inline-grid; place-items: center; color: var(--uc); }
.uplast__ver .i { width: 18px; height: 18px; }
.upg__msg--top .i { width: 26px; height: 26px; color: var(--warn); }
.sfiles__note > .i { flex: none; width: 18px; height: 18px; color: var(--muted); margin-top: 2px; }
.panniv { display: flex; align-items: center; gap: 8px; }
.ctab__pop { font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--warn); }

/* bannerul hărții: doar text + butoane */
.mapban { grid-template-columns: minmax(0, 1fr) auto !important; padding: 18px 20px !important; }
.mapban__live { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; text-transform: none; background: none !important; border: 0 !important; padding: 0 !important; }
.mapban__live i { display: none; }
@media (max-width: 760px) { .mapban { grid-template-columns: 1fr !important; } }
.lmap__tips span { border-radius: var(--r-xs); font-weight: 500; color: var(--muted); background: transparent; }

/* titluri: fără litere rare și majuscule peste tot */
.eyebrow, .scard__how small, .ngroup__h { letter-spacing: .06em; }
.scard__how { border-left-width: 2px; background: var(--surface) !important; }
.scard__how small { color: var(--muted); }

/* insignele de produs fără ribbon-uri strălucitoare */
.rank-card__ribbon, .rcard__pop { box-shadow: none !important; background: var(--surface-4) !important; color: var(--text) !important; }
.rcard__ring { display: none !important; }

/* ================= imaginile pixel-art (assets/art) ================= */
.art { display: inline-block; flex: none; vertical-align: middle; image-rendering: pixelated; image-rendering: crisp-edges; }
.empty { display: grid; justify-items: center; gap: 10px; }
.empty__art { opacity: .9; }
.mapban { grid-template-columns: auto minmax(0, 1fr) auto !important; }
.mapban__img { width: 64px; height: 64px; }
@media (max-width: 760px) { .mapban { grid-template-columns: auto minmax(0, 1fr) !important; } .mapban__a { grid-column: 1 / -1; } .mapban__img { width: 48px; height: 48px; } }
.scard__ic { background: color-mix(in srgb, var(--tc) 10%, var(--surface-3)) !important; }
.dsi__ic { width: 40px; height: 40px; }
.psum__t > span, .pglobal__i > span { line-height: 0; }
.card-head h2 .art { margin-right: 2px; }
.sup__h .art { width: 20px; height: 20px; }
.upg__msg--top .art { width: 40px; height: 40px; }

/* ================= PROFIL jucător =================
   banner sus, skinul într-o căsuță cu marginea în culoarea gradului, apoi căsuțele
   cu cifre și căsuțele cu detalii (fiecare detaliu în căsuța lui) */
.pv { --rc: var(--accent); position: relative; margin-bottom: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pv__cover { height: 150px; position: relative; }
.pv__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--surface-2)); }
.pv__body { position: relative; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; padding: 0 26px 24px; margin-top: -96px; }
.pv__skin {
  position: relative; display: grid; place-items: center; height: 340px; border-radius: var(--r);
  background: radial-gradient(160px 200px at 50% 45%, color-mix(in srgb, var(--rc) 26%, transparent), transparent 75%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--rc) 45%, var(--line)); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--rc) 70%, #000);
}
.pv__skin .pv__img { height: 290px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 12px 10px rgba(0,0,0,.45)); }
.pv__skin canvas { display: block; }
.pv__live {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 6px; font-size: .74rem; font-weight: 700; color: #4ade80; background: rgba(0, 0, 0, .55);
}
.pv__live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pvPulse 1.8s ease-in-out infinite; }
@keyframes pvPulse { 50% { opacity: .35; } }
.pv__info { display: grid; gap: 12px; align-content: start; padding-top: 104px; min-width: 0; }
.pv__name {
  margin: 0; font-size: clamp(2.1rem, 4vw, 3rem) !important; font-weight: 800 !important; letter-spacing: -.03em; line-height: 1.05;
  background-size: 220% 100% !important; animation: nameFlow 7s linear infinite;
}
@keyframes nameFlow { to { background-position: -220% 0; } }
.pv__status { margin: -4px 0 0; color: var(--text-2); }
.pv__bio { margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); color: var(--text-2); line-height: 1.55; }
.pv .badges { margin: 0; }

.pact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 2px; }
.pact__sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }

/* căsuțele cu cifre */
.pboxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.pbox {
  --tc: var(--accent); position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line);
  animation: boxIn .45s cubic-bezier(.2, .8, .2, 1) both;
  transition: border-color .15s ease, transform .15s ease;
}
.pbox::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tc); opacity: .85; }
.pbox:hover { border-color: color-mix(in srgb, var(--tc) 45%, var(--line)); transform: translateY(-2px); }
.pbox__ic {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px;
  background: color-mix(in srgb, var(--tc) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
}
.pbox__ic .art { width: 28px; height: 28px; image-rendering: pixelated; transition: transform .2s ease; }
.pbox:hover .pbox__ic .art { transform: scale(1.12) rotate(-6deg); }
.pbox__t { display: grid; gap: 1px; min-width: 0; }
.pbox__t b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pbox__t small { font-size: .78rem; color: var(--muted); }
.pbox__note { position: absolute; top: 10px; right: 10px; padding: 2px 7px; border-radius: 6px; font-style: normal; font-size: .68rem; font-weight: 700; color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, transparent); }
.pbox__bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--surface); overflow: hidden; }
.pbox__bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--tc) 70%, #fff), var(--tc)); animation: barGrow 1s .2s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left; }
@keyframes barGrow { from { transform: scaleX(0); } }
@keyframes boxIn { from { opacity: 0; transform: translateY(8px); } }
.pboxes .pbox:nth-child(2), .pfacts .pfact:nth-child(2) { animation-delay: .04s; }
.pboxes .pbox:nth-child(3), .pfacts .pfact:nth-child(3) { animation-delay: .08s; }
.pboxes .pbox:nth-child(4), .pfacts .pfact:nth-child(4) { animation-delay: .12s; }
.pboxes .pbox:nth-child(5), .pfacts .pfact:nth-child(5) { animation-delay: .16s; }
.pboxes .pbox:nth-child(6), .pfacts .pfact:nth-child(6) { animation-delay: .2s; }
.pboxes .pbox:nth-child(7) { animation-delay: .24s; }
.pboxes .pbox:nth-child(8) { animation-delay: .28s; }

/* căsuțele cu detalii: platformă, Discord, conectare, înregistrare, nr. membru, vizite */
.pfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.pfact {
  --tc: var(--accent); display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px;
  border-radius: var(--r); background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 9%, var(--surface-2)), var(--surface-2) 60%);
  border: 1px solid color-mix(in srgb, var(--tc) 22%, var(--line));
  animation: boxIn .45s cubic-bezier(.2, .8, .2, 1) both;
}
.pfact__ic {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: color-mix(in srgb, var(--tc) 16%, var(--surface)); color: var(--tc);
}
.pfact__ic .art { width: 26px; height: 26px; image-rendering: pixelated; }
.pfact__ic .i { width: 22px; height: 22px; }
.pfact > div { display: grid; min-width: 0; }
.pfact small { font-size: .74rem; color: var(--muted); }
.pfact b { font-size: .98rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfact--plat b { color: var(--tc); }
.pfact--dc .pfact__ic { background: #5865F2; color: #fff; }
.pfact__on { color: #4ade80; }
.pfact.is-on .pfact__ic { box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); animation: onRing 2s ease-out infinite; }
@keyframes onRing { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

@media (max-width: 1100px) { .pboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pv__body { grid-template-columns: 1fr; margin-top: -110px; padding: 0 16px 18px; gap: 14px; }
  .pv__skin { height: 300px; }
  .pv__info { padding-top: 0; }
}
@media (max-width: 480px) { .pboxes, .pfacts { grid-template-columns: 1fr; } }

/* ================= GRADE ANIMATE (peste tot pe site) =================
   o lumină trece încet peste fiecare insignă de grad; gradele cu gradient „curg”;
   gradele de staff au și o margine care pulsează ușor */
.badge--rank { position: relative; overflow: hidden; isolation: isolate; }
.badge--rank::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: rankShine 4.5s ease-in-out infinite;
}
@keyframes rankShine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.badge--staff { animation: staffGlow 2.6s ease-in-out infinite; }
@keyframes staffGlow { 50% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--bc) 55%, transparent), 0 0 12px -2px color-mix(in srgb, var(--bc) 70%, transparent); } }
.badge--grad .rgrad { display: inline-block; animation: gradHue 6s linear infinite; }
@keyframes gradHue { 50% { filter: brightness(1.25) saturate(1.2); } }
@keyframes chipBob { 50% { transform: translateY(-2px) rotate(-4deg); } }
/* fiecare insignă pornește la alt moment, ca să nu sclipească toate deodată */
.badge--rank:nth-of-type(2)::after { animation-delay: .7s; }
.badge--rank:nth-of-type(3)::after { animation-delay: 1.4s; }
.badge--rank:nth-of-type(4)::after { animation-delay: 2.1s; }

/* imaginea mică din insignele de grad (peste tot pe site) */
.badge__art { display: inline-grid; place-items: center; margin-right: 5px; vertical-align: -2px; }
.badge__art .art, .badge__art .ic-img { width: 14px; height: 14px; image-rendering: pixelated; }

/* ================= insignele de pe profil (grad principal, grade în plus, staff, fondator, tu) ================= */
.pv .badges { display: flex; flex-wrap: wrap; gap: 10px; }
.pv .pchip {
  --pc: var(--accent);
  position: relative; display: inline-flex; align-items: center; gap: 11px; padding: 6px 16px 6px 6px; overflow: hidden;
  border-radius: 14px; font-size: .95rem; color: #fff;
  background:
    radial-gradient(120px 60px at 0% 50%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--pc) 12%, var(--surface-2)), var(--surface-2) 75%);
  border: 1px solid color-mix(in srgb, var(--pc) 42%, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 26px -18px var(--pc);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pv .pchip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--pc) 70%, var(--line)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 30px -16px var(--pc); }
.pv .pchip__ic {
  position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--pc) 35%, #0d0c14), #0d0c14 80%);
  border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent);
  box-shadow: inset 0 0 12px -4px color-mix(in srgb, var(--pc) 80%, transparent);
}
.pv .pchip__ic .art, .pv .pchip__ic .ic-img { width: 24px; height: 24px; image-rendering: pixelated; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); transition: transform .25s ease; }
.pv .pchip:hover .pchip__ic .art, .pv .pchip:hover .pchip__ic .ic-img { transform: scale(1.15) rotate(-8deg); }
.pv .pchip__t { display: grid; gap: 1px; line-height: 1.1; color: color-mix(in srgb, var(--pc) 30%, #fff); font-weight: 800; }
.pv .pchip__t small { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--pc) 55%, #8b8b9a); }
.pv .pchip--main { padding: 7px 20px 7px 7px; font-size: 1.08rem; border-width: 1.5px; }
.pv .pchip--main .pchip__ic { width: 48px; height: 48px; border-radius: 13px; }
.pv .pchip--main .pchip__ic .art, .pv .pchip--main .pchip__ic .ic-img { width: 30px; height: 30px; }
.pv .pchip--extra { border-style: dashed; }
.pv .pchip--me { --pc: #ffb454; }
.pv .pchip--tag { font-size: .9rem; }
/* o lumină trece peste fiecare insignă, la momente diferite */
.pv .pchip::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); transform: skewX(-20deg);
  animation: rankShine 5s ease-in-out infinite;
}
.pv .pchip:nth-child(2)::after { animation-delay: .8s; }
.pv .pchip:nth-child(3)::after { animation-delay: 1.6s; }
.pv .pchip:nth-child(4)::after { animation-delay: 2.4s; }
.pv .pchip:nth-child(5)::after { animation-delay: 3.2s; }
/* imaginea gradului principal plutește ușor */
.pv .pchip--main .pchip__ic .art, .pv .pchip--main .pchip__ic .ic-img { animation: chipBob 3s ease-in-out infinite; }
.pv .pchip--main .pchip__ic { animation: none; }
.pv .pchip__dot { display: none; }

@media (prefers-reduced-motion: reduce) {
  .pv .pchip::after, .pv .pchip--main .pchip__ic .art, .pv .pchip--main .pchip__ic .ic-img { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .pv__name, .pbox, .pfact, .pbox__bar i, .pv__live i, .pfact.is-on .pfact__ic,
  .badge--rank::after, .badge--staff, .badge--grad .rgrad, .pchip--main::after, .pchip--main .pchip__ic { animation: none !important; }
}


/* versiunea acestui fișier: js/app.js o verifică și le arată adminilor un avertisment dacă pe server e unul vechi */
:root { --bape-theme-v: 18; }

/* coroana de la „Top susținător” și trofeul de la „Staff of the week”: imagini pixel-art, nu emoji */
.sup__lead::before {
  content: "" !important; display: block; width: 34px; height: 34px; margin: 0 auto -16px; font-size: 0 !important;
  background: url("../assets/art/crown.svg") center / contain no-repeat; image-rendering: pixelated;
}
.sotw::after { content: "" !important; width: 120px; height: 120px; background: url("../assets/art/trophy.svg") center / contain no-repeat; image-rendering: pixelated; }

/* ================= MAGAZIN: cardurile de produs (emblemă pe steag cu aripi, ca în magazinele mari) ================= */
.sc2 {
  --pc: var(--accent);
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0;
  padding: 16px; border-radius: var(--r); text-align: center;
  background: radial-gradient(240px 170px at 50% 32%, color-mix(in srgb, var(--pc) 14%, transparent), transparent 72%), var(--surface-2);
  border: 1px solid var(--line);
  transition: border-color .15s ease, transform .15s ease;
}
.sc2:hover { border-color: color-mix(in srgb, var(--pc) 45%, var(--line)); }
.sc2.is-feat { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), 0 18px 40px -28px var(--accent); }
.sc2__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 28px; }
.spl { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.spl .i { width: 14px; height: 14px; }
.spl--warn { background: #6e1c1f; color: #ffd6d7; }
.spl--tag { background: var(--accent); color: #120e24; }
.spl--ok { background: #1b5232; color: #c9f7da; }
.spl--sale { background: #5a3d0c; color: #ffd166; }
.spl--once { background: rgba(var(--a), .18); color: var(--accent-2); border: 1px solid rgba(var(--a), .4); }
.sc2__emb { display: grid; place-items: center; height: 150px; }
.emb { display: block; overflow: visible; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45)); transition: transform .25s ease; }
.sc2:hover .emb, .sc2:hover .emb__img { transform: translateY(-4px) scale(1.03); }
.emb__img { width: 140px; height: 140px; object-fit: contain; image-rendering: auto; transition: transform .25s ease; }
.sc2.is-soldout .emb, .sc2.is-soldout .emb__img { filter: grayscale(.75) brightness(.8); }
.sc2__name { margin: 2px 0 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sc2__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px; font-size: 1.12rem; font-weight: 800; }
.sc2__price .rcard__old { order: -1; color: #f2555a; text-decoration: line-through; font-weight: 700; opacity: .9; }
.sc2__price .rcard__now, .sc2__price .rcard__now * { color: #4ade80 !important; font-weight: 800; font-size: 1.15rem !important; letter-spacing: 0; text-shadow: none; }
.sc2__price .rcard__now { display: inline-flex; align-items: baseline; gap: 3px; }
.sc2__price .rcard__old { font-size: 1rem !important; }
.sc2__durs .rcard__dur { box-shadow: none !important; text-shadow: none; }
.sc2__durs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sc2__durs .rcard__dur {
  padding: 4px 10px; border-radius: 8px; font-size: .76rem; font-weight: 700; cursor: pointer;
  background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text-2);
}
.sc2__durs .rcard__dur[aria-pressed="true"] { background: color-mix(in srgb, var(--pc) 22%, var(--surface-3)); border-color: var(--pc); color: #fff; }
/* butoanele: „Adaugă în coș” și dedesubt „Trimite cadou”, pe toată lățimea */
.sc2__act { display: grid; gap: 8px; width: 100%; margin-top: auto; padding-top: 4px; }
/* „i” (detalii): mic, în colțul din stânga sus al cardului */
.sc2__info {
  position: absolute; top: 10px; left: 10px; z-index: 1; display: grid; place-items: center;
  width: 30px; height: 30px; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text-2);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.sc2__info:hover { border-color: var(--accent); color: #fff; background: rgba(var(--a), .18); }
.sc2__info .i { width: 17px; height: 17px; }
.sc2__buy, .sc2__alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px;
  border-radius: 10px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .15s ease, filter .15s ease;
}
.sc2__buy { width: 100%; border: 0; background: var(--accent); color: #120e24; }
.sc2__buy:hover:not(:disabled) { background: #a596ff; }
.sc2__alt { width: 100%; background: rgba(var(--a), .16); color: #fff; border: 1px solid rgba(var(--a), .38); }
.sc2__alt:hover:not(:disabled) { background: rgba(var(--a), .26); }
.sc2__buy:disabled, .sc2__alt:disabled { background: var(--surface-3); color: var(--muted); border: 1px solid var(--line-2); cursor: not-allowed; }
.sc2__buy .i, .sc2__alt .i { width: 18px; height: 18px; }
.sc2__edit {
  position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  border-radius: 8px; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text-2); cursor: pointer;
}
.sc2__edit:hover { color: #fff; border-color: var(--accent); }

/* butonul „Adaugă în coș” are și clasa veche rcard__buy (pentru schimbarea duratei); îi anulăm marginile/poziția vechi,
   ca să stea exact sub/peste „Trimite cadou”, pe toată lățimea */
.sc2__act .sc2__buy, .sc2__act .sc2__alt {
  position: static !important; margin: 0 !important; width: 100% !important; max-width: none !important; left: auto !important; right: auto !important;
  transform: none !important; box-shadow: none !important; grid-column: 1 / -1;
}
.sc2__act .rcard__buy::before, .sc2__act .rcard__buy::after { display: none !important; }

/* beneficiile pe servere: „Pe Survival Classic primești:” + lista */
.pgrp { margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.pgrp__h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .92rem; color: var(--text-2); }
.pgrp__h b { color: #fff; }
.pgrp__h .art { image-rendering: pixelated; flex: none; }
.pgrp .rperks { margin: 0; }
.rperks__ic--info { color: #5b9dff !important; background: rgba(91, 157, 255, .14) !important; border-color: rgba(91, 157, 255, .35) !important; }
.rperks__ic--info .i { width: 14px; height: 14px; }
.rperks li.is-info { color: var(--text-2); }
/* tabelul de comparație: rând de titlu pentru fiecare server + „i” la informații */
.ctab__sec--srv td { background: var(--surface-3) !important; }
.ctab__srv { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.ctab__srv .art { image-rendering: pixelated; }
.ctab__inf { display: inline-grid; place-items: center; margin-right: 6px; color: #5b9dff; vertical-align: -3px; }

/* admin: editorul de beneficii pe secțiuni */
.pedit { display: grid; gap: 10px; }
.pedit__sec { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); }
.pedit__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pedit__head .select { flex: 1 1 200px; max-width: 280px; }
.pedit__head .select select { height: 36px !important; font-size: .88rem; font-weight: 600; padding-top: 0; padding-bottom: 0; }
.pedit__head .btn--chip { margin-left: auto; }
.pedit__rows { display: grid; gap: 6px; }
.pedit__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
/* butonul mic de tip: ✓ verde (bifă) / „i” albastru (info) */
.pedit__k {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; cursor: pointer;
  color: #4ade80; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .4);
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.pedit__k.is-info { color: #5b9dff; background: rgba(91, 157, 255, .14); border-color: rgba(91, 157, 255, .45); }
.pedit__k:hover { filter: brightness(1.2); }
.pedit__k .i { width: 15px; height: 15px; }
.pedit__t { width: 100%; height: 38px; padding: 0 10px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font: inherit; }
.pedit__t:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--a), .15); }
.pedit__sec > .btn--chip { justify-self: start; }
.pedit__addsec { justify-self: start; margin-top: 8px; }

/* ================= MAGAZIN: cardurile de categorie (aceeași temă ca produsele: scut auriu, culoare, peisaj pixelat) ================= */
.cc2s { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 26px; }
.cc2 {
  --cc: var(--accent);
  position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cc2:hover { border-color: color-mix(in srgb, var(--cc) 55%, var(--line)); transform: translateY(-3px); box-shadow: 0 20px 40px -28px var(--cc); }
.cc2__hero {
  position: relative; display: grid; place-items: center; height: 150px; isolation: isolate;
  background:
    url("../assets/art/cat-bg.svg") center bottom / cover no-repeat,
    radial-gradient(180px 120px at 50% 55%, color-mix(in srgb, var(--cc) 45%, transparent), transparent 75%),
    linear-gradient(180deg, color-mix(in srgb, var(--cc) 26%, #0f0e15), color-mix(in srgb, var(--cc) 8%, #0f0e15));
  border-bottom: 1px solid color-mix(in srgb, var(--cc) 30%, var(--line));
}
.cc2__crest { display: grid; place-items: center; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .5)); transition: transform .25s ease; }
.cc2:hover .cc2__crest { transform: translateY(-4px) scale(1.05) rotate(-2deg); }
.crest { display: block; overflow: visible; }
.cc2__tags { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.cc2__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 14px 16px 16px; }
.cc2__name { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.cc2__desc { margin: -4px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.cc2__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.cc2__meta > span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); }
.cc2__meta b { color: #fff; }
.cc2__pop { color: #ffd166 !important; border-color: rgba(255, 209, 102, .3) !important; background: rgba(255, 209, 102, .08) !important; }
.cc2__pop .art { image-rendering: pixelated; }
/* produsele din categorie, ca sloturi mici */
.cc2__items { display: flex; flex-wrap: wrap; gap: 6px; }
.cc2__it {
  --pc: var(--accent);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--pc) 28%, #0d0c14), #0d0c14 80%);
  border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent);
  transition: transform .15s ease;
}
.cc2__it .art, .cc2__it .ic-img { width: 26px; height: 26px; image-rendering: pixelated; object-fit: contain; }
.cc2:hover .cc2__it { transform: translateY(-1px); }
.cc2__it--more { font-size: .8rem; font-weight: 800; color: var(--text-2); background: var(--surface); border-color: var(--line-2); }
.cc2__empty { margin: 0; font-size: .86rem; color: var(--muted); }
.cc2__subs { display: flex; flex-wrap: wrap; gap: 6px; }
.cc2__subs span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--text-2); background: color-mix(in srgb, var(--cc) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--cc) 30%, transparent); }
.cc2__subs .art { width: 14px; height: 14px; image-rendering: pixelated; }
.cc2__go {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; height: 42px; border-radius: 10px;
  font-weight: 700; font-size: .92rem; color: #fff;
  background: color-mix(in srgb, var(--cc) 22%, var(--surface-3)); border: 1px solid color-mix(in srgb, var(--cc) 45%, transparent);
  transition: background-color .15s ease;
}
.cc2:hover .cc2__go { background: color-mix(in srgb, var(--cc) 35%, var(--surface-3)); }
.cc2__go .i { transition: transform .15s ease; }
.cc2:hover .cc2__go .i { transform: translateX(3px); }

/* meniul de categorii din stânga: imaginea categoriei pe fundalul culorii ei */
.scat__i { --cc: var(--accent); }
.scat__img { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--cc) 35%, #0d0c14), #0d0c14 80%) !important; border: 1px solid color-mix(in srgb, var(--cc) 40%, transparent) !important; }
.scat__img .art { image-rendering: pixelated; }
.scat__i.is-on { border-color: color-mix(in srgb, var(--cc) 55%, transparent) !important; background: color-mix(in srgb, var(--cc) 12%, var(--surface-2)) !important; }
.scat__i.is-on .scat__img { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--cc) 55%, #0d0c14), color-mix(in srgb, var(--cc) 20%, #0d0c14)) !important; }

/* antetul paginii unei categorii: scutul + culoarea categoriei */
.cat-head--v2 {
  --cc: var(--accent);
  background:
    url("../assets/art/cat-bg.svg") right bottom / auto 100% no-repeat,
    linear-gradient(110deg, color-mix(in srgb, var(--cc) 22%, var(--surface-2)), var(--surface-2) 65%) !important;
  border-color: color-mix(in srgb, var(--cc) 35%, var(--line)) !important;
}
.cat-head__crest { display: grid; place-items: center; flex: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
@media (max-width: 520px) { .cc2s { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cc2, .cc2__crest, .cc2__it, .cc2__go .i { transition: none; } }

/* ================= REGULAMENT: fiecare regulă cu număr, sancțiune (trepte colorate) și info ================= */
.rl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.rl__i {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .15s ease;
}
.rl__i:hover { border-color: var(--line-2); }
.rl__n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none;
  font-weight: 800; font-size: .95rem; color: var(--accent-2);
  background: rgba(var(--a), .14); border: 1px solid rgba(var(--a), .35);
}
.rl__b { display: grid; gap: 8px; min-width: 0; padding-top: 5px; }
.rl__t { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.rl__san { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rl__lbl { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.rl__step {
  --sc: var(--warn);
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px;
  font-size: .8rem; font-weight: 700; color: color-mix(in srgb, var(--sc) 70%, #fff);
  background: color-mix(in srgb, var(--sc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 40%, transparent);
}
.rl__step .i { width: 14px; height: 14px; color: var(--sc); }
.rl__ord {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; flex: none;
  font-style: normal; font-size: .68rem; font-weight: 800; color: #120e24; background: var(--sc);
}
.rl__arr { display: inline-grid; color: var(--muted); }
.rl__arr .i { width: 14px; height: 14px; }
.rl__inf { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .86rem; line-height: 1.45; color: var(--text-2); }
.rl__infic { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; color: #5b9dff; background: rgba(91, 157, 255, .14); border: 1px solid rgba(91, 157, 255, .35); }
.rl__infic .i { width: 13px; height: 13px; }
.rules-nav__ic .art, .rules-body__head .art, .rsec__ic .art { image-rendering: pixelated; }

/* admin: editorul de reguli */
.redit { display: grid; gap: 8px; }
.redit__r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); }
.redit__n { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 5px; border-radius: 8px; font-weight: 800; font-size: .85rem; color: var(--accent-2); background: rgba(var(--a), .14); }
.redit__f { display: grid; gap: 6px; min-width: 0; }
.redit__t, .redit__l input { width: 100%; height: 36px; padding: 0 10px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: .9rem; }
.redit__t { height: 38px; font-weight: 600; }
.redit__t:focus, .redit__l input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--a), .15); }
/* cele 3 sancțiuni opționale (prima / a doua / a treia abatere), una lângă alta */
.redit__x { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.redit__l { position: relative; display: block; }
.redit__l .i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; pointer-events: none; }
.redit__l input { padding-left: 32px; }
.redit__l em {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; font-style: normal; font-size: .68rem; font-weight: 800; color: #120e24; background: #ff8a5b; pointer-events: none;
}
.redit__l--i .i { color: #5b9dff; }
/* adăugare în masă */
.rebulk { margin-bottom: 12px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--line-2); }
.rebulk summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; font-weight: 700; font-size: .9rem; list-style: none; }
.rebulk summary::-webkit-details-marker { display: none; }
.rebulk[open] summary { border-bottom: 1px solid var(--line); }
.rebulk textarea { display: block; width: calc(100% - 24px); margin: 10px 12px 6px; padding: 10px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: .9rem; resize: vertical; }
.rebulk small { display: block; margin: 0 12px 8px; color: var(--muted); font-size: .78rem; }
.rebulk .btn { margin: 0 12px 12px; }
.redit__r .icon-btn { margin-top: 4px; }
.redit__add { justify-self: start; margin-top: 8px; }
@media (max-width: 640px) { .redit__x { grid-template-columns: 1fr; } }
.redit__f > .redit__l--i { margin-top: 0; }

/* comutator (pornit / oprit) */
.tgl {
  position: relative; flex: none; width: 46px; height: 26px; padding: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface-4); border: 1px solid var(--line-2); transition: background-color .15s ease, border-color .15s ease;
}
.tgl i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #c4c4cf; transition: transform .18s ease, background-color .15s ease; }
.tgl.is-on { background: rgba(74, 222, 128, .25); border-color: rgba(74, 222, 128, .6); }
.tgl.is-on i { transform: translateX(20px); background: #4ade80; }
.tgl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tgl i { transition: none; } }

/* admin → plăți: lista de metode cu comutator */
.paymlist { display: grid; gap: 8px; }
.paym { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.paym.is-on { border-color: rgba(74, 222, 128, .3); }
.paym__t { display: grid; gap: 2px; min-width: 0; }
.paym__t small { color: var(--muted); font-size: .8rem; }
.paym__warn { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: .76rem; color: var(--warn); }
.paym__st { font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.paym.is-on .paym__st { color: #4ade80; }
@media (max-width: 560px) { .paym { grid-template-columns: minmax(0, 1fr) auto; } .paym__st { display: none; } }

/* admin → servere: server dezactivat */
.srv-row__h .tgl { margin-left: 4px; }
.srv-row.is-disabled { opacity: .72; border-style: dashed !important; }
.srv-row__ic .art { image-rendering: pixelated; }

/* fereastra „i”: detaliile produsului */
.pinf__top { display: flex; align-items: center; gap: 16px; }
.pinf__top h3 { margin: 0 0 4px; font-size: 1.3rem; }
.pinf__top p { margin: 0 0 6px; }
.pinf__opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.pinf__opt { display: grid; gap: 2px; padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: .84rem; color: var(--text-2); }
.pinf__opt b { color: #4ade80; }
.pinf__opt del { color: #f2555a; font-weight: 600; }
.pinf__h { margin: 14px 0 6px; font-weight: 700; }
.pinf .rperks { margin-bottom: 14px; }
@media (max-width: 520px) { .pinf__top { flex-direction: column; text-align: center; } }

/* iconițele pixel-art din magazin / admin (în locul emoji-urilor) */
.ctab__img .art, .qpack__ic .art, .ccard__img .art, .ccard__pic .art, .catrow__img .art, .minip__ic .art, .scat__img .art, .scat__simg .art,
.cat-head__ic .art, .product__icon .art, .xrank__ic .art, .ctree__ic .art, .pdot .art, .upg__img .art, .rank-card__icon .art, .ccard__subs .art { image-rendering: pixelated; vertical-align: middle; }
.rank-artprev { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.rank-artprev small { color: var(--muted); font-size: .78rem; }

/* ================= ecrane mici ================= */
@media (max-width: 640px) {
  .main { padding: 20px 14px 60px; }
  .btn { height: 38px; }
  .page-head h1 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  #view { animation: none; }
}
