/* =========================================================
   bapey.net Panel — stil (culoare principală #9584FF)
   ========================================================= */
:root {
  --accent: #9584FF;
  --accent-2: #b9adff;
  --accent-3: #6a58e8;
  --a: 149, 132, 255;
  --bg: #0d0b13;
  --side: #120f1a;
  --card: rgba(255, 255, 255, 0.03);
  --card-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f1eeff;
  --muted: #a7a1c2;
  --r: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Unbounded", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); color: var(--text); line-height: 1.5;
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(var(--a), .16), transparent 60%),
    radial-gradient(900px 700px at 105% 110%, rgba(var(--a), .22), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
body.is-locked, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
code { background: rgba(var(--a), .15); color: var(--accent-2); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
::selection { background: var(--accent); color: #140f2e; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: #140f2e; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

#leaves { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* iconițe */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--fill { fill: currentColor; stroke: none; width: 14px; height: 14px; }

/* ================= butoane ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; height: 56px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; cursor: pointer; white-space: nowrap;
  background: none; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, #b6a9ff, var(--accent));
  color: #140f2e;
  box-shadow: 0 10px 30px -6px rgba(var(--a), .65), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { box-shadow: 0 14px 40px -6px rgba(var(--a), .85), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--dark { background: #0c0a12; border-color: var(--line-2); height: 52px; }
.btn--dark:hover { border-color: rgba(var(--a), .5); background: #15111f; }
.btn--ghost { border-color: var(--line-2); background: var(--card); height: 46px; }
.btn--ghost:hover { border-color: rgba(var(--a), .5); }
.btn--sm { height: 42px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }
.btn--chip {
  height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 12px;
  background: var(--card-2); border-color: var(--line-2);
}
.btn--chip:hover { border-color: rgba(var(--a), .55); background: rgba(var(--a), .12); }
.btn--danger:hover { border-color: rgba(255, 107, 129, .6); background: rgba(255, 107, 129, .12); color: #ffb3bf; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-2); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: rgba(var(--a), .55); background: rgba(var(--a), .12); }
.icon-btn--sm { width: 36px; height: 36px; border-radius: 10px; }
.icon-btn--sm .i { width: 17px; height: 17px; }

.link { color: var(--accent-2); font-weight: 700; font-size: .95rem; }
.link:hover { text-decoration: underline; }
.linkbtn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; font-size: .95rem; color: #ddd8f5;
}
.linkbtn:hover { color: var(--accent-2); }

/* ================= badge-uri ================= */
.badge {
  --bc: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 800; white-space: nowrap;
  color: var(--bc);
  background: color-mix(in srgb, var(--bc) 12%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--bc) 55%, transparent);
}
.badge--plain { color: #fff; border-color: var(--line-2); background: var(--card-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #777; display: inline-block; flex: none; }
.dot--on { background: #ffb454; box-shadow: 0 0 10px currentColor; }
.ipbox .dot--on, .online .dot--on { background: #4ade80; color: #4ade80; animation: pulse 1.8s infinite; }
.dot--off { background: #ff6b81; }
@keyframes pulse { 50% { opacity: .45; } }

/* ================= layout ================= */
.app { position: relative; z-index: 1; display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh; z-index: 60;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(34, 27, 52, .92), rgba(16, 13, 24, .96) 40%);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.side-user { text-align: center; padding: 28px 20px 22px; border-bottom: 1px solid var(--line); margin: 0 16px; }
.side-avatar {
  --rc: var(--accent);
  display: block; width: 110px; height: 110px; margin: 0 auto 14px; padding: 4px;
  border-radius: 26px; background: linear-gradient(145deg, var(--accent-2), var(--accent-3));
  box-shadow: 0 10px 40px -6px rgba(var(--a), .8);
  transition: transform .25s;
}
.side-avatar:hover { transform: translateY(-3px) rotate(-2deg); }
.side-avatar img { width: 100%; height: 100%; border-radius: 22px; image-rendering: pixelated; }
.side-user h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; word-break: break-word; }

.side-nav { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin; scrollbar-color: rgba(var(--a), .5) transparent; }
.side-nav a, .side-nav .soon {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; font-size: 1.05rem; color: #ddd8f0;
  transition: background .2s, border-color .2s, color .2s;
}
.side-nav a .i { width: 22px; height: 22px; opacity: .9; }
.side-nav a:hover { background: var(--card-2); color: #fff; }
.side-nav a.is-active {
  color: #fff; font-weight: 800;
  background: linear-gradient(90deg, rgba(var(--a), .32), rgba(var(--a), .08));
  border-color: rgba(var(--a), .55);
  box-shadow: 0 8px 30px -12px rgba(var(--a), .8);
}
.side-nav a.is-active::before {
  content: ""; position: absolute; left: -9px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.side-nav a.is-active .i { color: var(--accent-2); }
.side-nav .soon { color: #7e7898; cursor: not-allowed; }
.side-nav .soon em {
  margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: #8d87a8;
}
.side-staff { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.side-label { font-size: .88rem; font-weight: 800; color: #cfc9e6; padding: 0 16px 6px; }

.side-bottom { padding: 14px 16px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; margin: 0 0; }
.ipbox {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 14px; border-radius: 14px; cursor: pointer;
  background: rgba(var(--a), .1); border: 1px solid rgba(var(--a), .35);
  transition: background .2s, border-color .2s;
}
.ipbox:hover { background: rgba(var(--a), .18); border-color: var(--accent); }
.ipbox__txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ipbox small { color: var(--muted); font-size: .76rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ipbox b { font-size: 1rem; letter-spacing: .01em; }
.ipbox .i { color: var(--accent-2); }

.main { position: relative; padding: 38px 36px 80px; min-width: 0; }
#view { outline: none; max-width: 1560px; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.credit { position: absolute; right: 36px; bottom: 24px; color: var(--muted); font-size: .95rem; }
.credit b { color: var(--accent-2); font-weight: 800; }
.heart { color: #ff4d6d; }

.topbar { display: none; }
.scrim { display: none; }

/* ================= componente ================= */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.page-head p { color: #cfc9e6; margin-top: 6px; font-size: 1.05rem; }
.page-head__right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 6px; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line-2); border-radius: var(--r);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.card-head h2 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 800; }
.card-head h2 .i { color: var(--accent-2); }
.card-body { padding: 20px 22px; }
.empty {
  padding: 26px 20px; text-align: center; color: #cfc9e6;
  border: 1px dashed var(--line-2); border-radius: 14px;
}

/* search */
.searchbar { display: flex; gap: 12px; margin-bottom: 16px; }
.search {
  flex: 1; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px;
  border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: rgba(var(--a), .7); box-shadow: 0 0 0 4px rgba(var(--a), .15); }
.search .i { color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: 1.05rem; }
.search input::placeholder { color: #8e88a9; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none; -webkit-appearance: none; height: 58px; padding: 0 48px 0 18px; min-width: 190px;
  border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid var(--line-2);
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
}
.select select:focus { outline: none; border-color: rgba(var(--a), .7); }
.select select option { background: #1a1526; color: var(--text); }
.select .i { position: absolute; right: 16px; pointer-events: none; color: var(--muted); }
.select--sm select { height: 40px; min-width: 150px; font-size: .9rem; border-radius: 12px; padding-right: 40px; }
.select--sm .i { right: 12px; width: 16px; }

/* chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.035); border: 1px solid var(--line-2);
  font-weight: 700; font-size: .98rem; color: #d8d3ee;
  transition: .2s;
}
.chip:hover { border-color: rgba(var(--a), .5); color: #fff; }
.chip[aria-pressed="true"] {
  color: #fff; background: rgba(var(--a), .2); border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--a), .35), 0 8px 24px -10px rgba(var(--a), .9);
}

/* avatar */
.av { border-radius: 10px; image-rendering: pixelated; background: #1b1628; }
.av--xs { border-radius: 5px; }

.plink { font-weight: 800; color: #fff; border-bottom: 1px dashed rgba(255,255,255,.35); }
.plink:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ================= panou ================= */
.stats { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.stat { padding: 22px 24px; min-height: 206px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s, transform .2s; }
.stat p { color: #d8d3ee; font-weight: 500; }
.stat strong { font: 800 2.6rem/1 var(--num); }
.stat--main {
  background: linear-gradient(135deg, rgba(var(--a), .22), rgba(var(--a), .04) 60%);
  border-color: rgba(var(--a), .5);
  box-shadow: 0 20px 60px -30px rgba(var(--a), .9);
}
.stat--main:hover { transform: translateY(-2px); border-color: var(--accent); }
.stat .big { font-size: 4rem; }
.stack { display: flex; align-items: center; }
.stack .av { width: 34px; height: 34px; border-radius: 9px; border: 2px solid #1b1628; margin-left: -8px; }
.stack .av:first-child { margin-left: 0; }
.stack span { margin-left: 14px; color: #cfc9e6; font-size: .92rem; }

.dash-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.anns { display: grid; gap: 14px; }
.ann {
  --ac: var(--accent);
  position: relative; padding: 20px 22px 18px 24px; border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ac) 10%, transparent), rgba(255,255,255,.015));
  border: 1px solid color-mix(in srgb, var(--ac) 45%, transparent);
  overflow: hidden;
}
.ann::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ac); }
.ann__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: .92rem; }
.ann__pin { display: inline-flex; align-items: center; gap: 4px; color: #ffc857; font-weight: 700; }
.ann h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.ann p { color: #e2def5; }
.ann__author { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #cfc9e6; }
.ann__author .plink { font-weight: 600; border: 0; color: #cfc9e6; }
.ann__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.logs { list-style: none; margin: 0; padding: 8px 22px; }
.card-body.logs { padding: 6px 22px; }
.card-body .logs { padding: 0; }
.log { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.log:last-child { border-bottom: 0; }
.log__ic {
  --lc: var(--accent);
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px;
  color: var(--lc); background: color-mix(in srgb, var(--lc) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--lc) 45%, transparent);
}
.log__t { font-size: 1.02rem; line-height: 1.4; }
.log__m { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.log__m .plink { font-weight: 700; }
.t-up { color: #4ade80; }
.t-down { color: #ff6b81; }

/* ================= jucători ================= */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pcard {
  --rc: var(--accent);
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 18px 22px; text-align: center;
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--rc) 14%, transparent), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border-color: color-mix(in srgb, var(--rc) 35%, var(--line-2));
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--rc); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--rc) 80%, transparent); }
.pcard__av {
  padding: 3px; border-radius: 20px; margin-bottom: 4px;
  background: linear-gradient(145deg, var(--rc), color-mix(in srgb, var(--rc) 40%, #000));
  box-shadow: 0 10px 30px -10px var(--rc);
}
.pcard__av .av { width: 84px; height: 84px; border-radius: 17px; }
.pcard h3 { font-size: 1.3rem; font-weight: 800; }
.pcard .muted { font-size: .95rem; }
.pcard__me {
  position: absolute; top: 12px; right: 12px; font-size: .8rem; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; color: #ffd9a8; background: rgba(255,180,84,.12); border: 1.5px solid rgba(255,180,84,.5);
}
.online { display: inline-flex; align-items: center; gap: 7px; color: #4ade80; font-weight: 700; }

/* ================= profil ================= */
.back { display: inline-flex; align-items: center; gap: 10px; color: #d8d3ee; font-weight: 700; margin-bottom: 22px; }
.back:hover { color: var(--accent-2); }
.profile-top { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 20px; margin-bottom: 20px; }
.skin {
  --rc: var(--accent);
  position: relative; display: grid; place-items: center; min-height: 480px; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 55%, color-mix(in srgb, var(--rc) 30%, transparent), transparent 70%), #110e19;
  border-color: color-mix(in srgb, var(--rc) 55%, transparent);
}
.skin::after {
  content: ""; position: absolute; bottom: 48px; left: 50%; width: 200px; height: 26px; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 70%, transparent), transparent); filter: blur(6px);
}
.skin img { position: relative; z-index: 1; height: 340px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 20px 20px rgba(0,0,0,.5)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.pinfo { padding: 30px 30px 28px; }
.pname { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; word-break: break-word; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.bio { font-size: 1.08rem; color: #eeeaff; }
.manage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.fact { display: flex; align-items: center; gap: 16px; padding: 18px 18px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); min-width: 0; }
.fact__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(var(--a), .16); color: var(--accent-2); border: 1px solid rgba(var(--a), .35); }
.fact small { display: block; color: #cfc9e6; font-size: .92rem; }
.fact b { display: block; font-size: 1.2rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.profile-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.comment-form { display: grid; gap: 10px; justify-items: end; margin-bottom: 18px; }
.comment-form textarea, .field input, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: 14px; resize: vertical;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.comment-form textarea:focus, .field input:focus, .field textarea:focus { outline: none; border-color: rgba(var(--a), .7); box-shadow: 0 0 0 4px rgba(var(--a), .15); }
textarea::placeholder, input::placeholder { color: #8e88a9; }
.comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comment { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); }
.comment .av { width: 44px; height: 44px; }
.comment__b { flex: 1; min-width: 0; }
.comment__h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.comment__h .muted { font-size: .88rem; }
.comment__b p:last-child { word-wrap: break-word; }

/* ================= sancțiuni ================= */
.sanctions { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.san { display: grid; grid-template-columns: minmax(150px, 220px) 1fr auto auto; align-items: center; gap: 20px; padding: 18px 22px; }
.san__player { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; min-width: 0; }
.san__player b { overflow: hidden; text-overflow: ellipsis; }
.san__player:hover b { color: var(--accent-2); }
.san__what { display: flex; align-items: center; gap: 14px; min-width: 0; }
.san__what b { font-size: 1.05rem; }
.san__what .muted { word-break: break-word; }
.san__ic {
  --sc: var(--accent);
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px;
  color: var(--sc); background: color-mix(in srgb, var(--sc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 50%, transparent);
}
.san__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.san__meta .muted { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.by { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.by .i { color: #fff; }

/* ================= update-uri ================= */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 18px; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), transparent); }
.upd { position: relative; padding: 22px 24px; }
.upd::before {
  content: ""; position: absolute; left: -26px; top: 28px; width: 16px; height: 16px; border-radius: 5px;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg), 0 0 18px var(--accent);
}
.upd__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.upd__head h2 { font-size: 1.3rem; font-weight: 800; flex: 1; }
.upd__v { font: 700 .8rem var(--num); padding: 5px 10px; border-radius: 8px; background: rgba(var(--a), .18); color: var(--accent-2); border: 1px solid rgba(var(--a), .4); }
.upd__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.upd__list li { position: relative; padding-left: 22px; color: #e2def5; }
.upd__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.upd__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }

/* ================= anunțuri (staff) ================= */
.ann-layout { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 20px; align-items: start; }
.ann-form { position: sticky; top: 24px; }

/* formulare */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span:first-child { font-weight: 700; font-size: .92rem; color: #d8d3ee; }
.field .select select { width: 100%; height: 52px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

/* not found */
.notfound { padding: 50px 30px; text-align: center; display: grid; gap: 14px; justify-items: center; max-width: 560px; margin: 40px auto; }
.notfound h1 { font-size: 2.2rem; font-weight: 800; }

/* ================= login ================= */
.login {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(700px 500px at 50% 30%, rgba(var(--a), .25), transparent 70%), rgba(10, 8, 16, .88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.login__card {
  width: min(420px, 100%); padding: 36px 30px 28px; border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, #1b1628, #120f1b); border: 1px solid rgba(var(--a), .4);
  box-shadow: 0 40px 100px -30px rgba(var(--a), .7);
  display: grid; gap: 16px;
}
.login__logo { margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(var(--a), .8)); }
.login__card h1 { font-size: 1.8rem; font-weight: 800; }
.login__card > p { color: var(--muted); margin-top: -8px; }
.login__card .field { text-align: left; }
.login__note { color: var(--muted); }

/* ================= modal ================= */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 6, 14, .75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__card {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  border-radius: 22px; background: linear-gradient(180deg, #1c1729, #131019); border: 1px solid rgba(var(--a), .4);
  box-shadow: 0 40px 100px -30px rgba(var(--a), .6); animation: pop .22s ease;
}
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 1.3rem; font-weight: 800; }
#modalForm > .form { padding: 22px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 22px 22px; }
.modal__foot .btn { height: 46px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 400; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 14px; font-weight: 700;
  background: #1c1729; border: 1px solid var(--accent); box-shadow: 0 20px 50px -10px rgba(var(--a), .6);
  transition: transform .3s, opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ================= v2: conturi, admin, magazin, statistici ================= */
.small { font-size: .88rem; }
.center { text-align: center; }
.side-credits {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: .85rem; font-weight: 700; color: #ffe39a; opacity: .9;
}
.side-credits:hover { opacity: 1; text-decoration: underline; }
.auth-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.loader { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 40px 0; font-weight: 600; }
.loader span, .btn.is-busy::after {
  width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(var(--a), .25); border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
.btn.is-busy::after { content: ""; width: 16px; height: 16px; border-color: rgba(20,15,46,.25); border-top-color: #140f2e; }
@keyframes spin { to { transform: rotate(360deg); } }
#view.is-loading, .is-loading { opacity: .55; pointer-events: none; transition: opacity .2s; }

.mbanner {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; padding: 16px 20px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(255, 200, 87, .16), rgba(255, 200, 87, .04));
  border: 1px solid rgba(255, 200, 87, .5); color: #ffe7b0;
}
.mbanner .i { color: #ffc857; width: 24px; height: 24px; margin-top: 2px; }
.mbanner b { color: #fff; }
.mbanner p { color: #f3e3c0; margin-top: 2px; }
.mbanner--soft { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.mbanner--soft .i { color: var(--muted); }

.sec-title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 800; margin: 28px 0 14px; }
.sec-title .i { color: var(--accent-2); }
.sec-title--flat { margin: 0; }
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.toolbar--end { justify-content: flex-end; margin-top: 16px; }
.toolbar p { margin: 0; flex: 1; min-width: 240px; }

/* servere pe panou */
.servers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 22px; }
.srv { display: flex; align-items: center; gap: 14px; padding: 18px 20px; transition: border-color .2s, transform .2s; }
.srv:hover { border-color: rgba(var(--a), .6); transform: translateY(-2px); }
.srv__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(var(--a), .16); color: var(--accent-2); border: 1px solid rgba(var(--a), .35); flex: none; }
.srv__b { flex: 1; min-width: 0; }
.srv__b h3 { font-size: 1.08rem; font-weight: 800; }
.srv__go { color: var(--accent-2); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.dot--green { background: #4ade80 !important; color: #4ade80; }
.srv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.srv-list li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }

/* statistici */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 20px; }
.scard { padding: 20px 22px; }
.scard header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.scard h3 { font-size: 1.15rem; font-weight: 800; }
.scard h3 a:hover { color: var(--accent-2); }
.scard header .muted { font-size: .82rem; }
.kvs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kv { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); min-width: 0; }
.kv small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.kv b { display: block; font-size: 1.08rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv-hero { padding: 22px 24px; margin-bottom: 18px; display: grid; gap: 16px; background: linear-gradient(135deg, rgba(var(--a), .16), rgba(255,255,255,.015) 60%); border-color: rgba(var(--a), .4); }
.srv-hero__t h2 { font-size: 1.6rem; font-weight: 800; }
.srv-hero__stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }

/* tabele */
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; background: rgba(255,255,255,.02); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(var(--a), .05); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table td.is-on { color: #fff; font-weight: 800; background: rgba(var(--a), .07); }
.table .actions { text-align: right; }
.table .actions > * + * { margin-left: 6px; }
.table .actions { display: table-cell; }
.th-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.th-sort:hover, .th-sort.is-on { color: var(--accent-2); }
.rankpos { font-weight: 800; color: var(--muted); }
.rankpos--1 { color: #ffd166; } .rankpos--2 { color: #d8dee9; } .rankpos--3 { color: #e0a36b; }
.tplayer { display: inline-flex; align-items: center; gap: 10px; }
.tplayer .av { border-radius: 7px; }
.tplayer:hover b { color: var(--accent-2); }
.mc-cell { font-weight: 800; }
.pdot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: color-mix(in srgb, var(--pc) 20%, transparent); border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent); }

/* coduri Minecraft */
.mc-b { font-weight: 800; } .mc-i { font-style: italic; } .mc-u { text-decoration: underline; } .mc-s { text-decoration: line-through; }
.mc-prev { display: inline-block; padding: 2px 10px; border-radius: 8px; background: #0b0911; font-weight: 700; }

/* magazin */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-bottom: 20px; }
.product {
  --pc: var(--accent);
  position: relative; overflow: hidden; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 6px;
  border-color: color-mix(in srgb, var(--pc) 40%, var(--line-2));
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product:hover { transform: translateY(-5px); border-color: var(--pc); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--pc) 80%, transparent); }
.product__glow { position: absolute; inset: -40% -20% auto; height: 220px; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 35%, transparent), transparent); pointer-events: none; }
.product > * { position: relative; }
.product__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 1.7rem; margin-bottom: 8px;
  background: color-mix(in srgb, var(--pc) 18%, #120f1a); border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent);
  box-shadow: 0 10px 30px -10px var(--pc);
}
.product__name { font-size: 1.5rem; font-weight: 800; color: var(--pc); text-shadow: 0 0 24px color-mix(in srgb, var(--pc) 45%, transparent); }
.product__price { font: 800 1.9rem var(--num); margin: 4px 0; }
.product__desc { color: var(--muted); font-size: .92rem; }
.product__list { list-style: none; margin: 10px 0 18px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.product__list li { position: relative; padding-left: 20px; font-size: .94rem; color: #e2def5; }
.product__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--pc); }
.buy-sum {
  --pc: var(--accent);
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
}
.buy-sum .product__icon { width: 46px; height: 46px; font-size: 1.3rem; margin: 0; }
.buy-sum div { flex: 1; display: flex; flex-direction: column; }
.buy-sum small { color: var(--muted); }
.buy-sum strong { font: 800 1.3rem var(--num); }
.methods, .perms { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.methods legend, .perms legend { font-weight: 700; font-size: .92rem; color: #d8d3ee; margin-bottom: 8px; }
.method {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-2); transition: border-color .2s, background .2s;
}
.method:has(input:checked) { border-color: var(--accent); background: rgba(var(--a), .12); }
.method:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.method input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.method span { display: flex; flex-direction: column; }
.method small { color: var(--muted); }

/* admin */
.atabs {
  display: flex; gap: 6px; overflow-x: auto; margin-bottom: 22px; padding: 6px;
  border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); scrollbar-width: thin;
}
.atabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 11px; font-weight: 700; font-size: .92rem; color: #cfc9e6; white-space: nowrap; transition: .2s; }
.atabs a:hover { color: #fff; background: var(--card-2); }
.atabs a.is-on { color: #fff; background: linear-gradient(90deg, rgba(var(--a), .35), rgba(var(--a), .12)); box-shadow: inset 0 0 0 1px rgba(var(--a), .55); }
.stats--6 { grid-template-columns: repeat(6, 1fr); }
.stat--sm { min-height: 130px; padding: 18px; }
.stat--sm strong { font-size: 1.8rem; }
.stat--sm:hover { border-color: rgba(var(--a), .55); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field small { color: var(--muted); font-size: .82rem; }
.field--end { align-content: end; padding-bottom: 12px; }
.field input[type="color"] { height: 52px; padding: 6px; cursor: pointer; }
.field .select { display: flex; }
.checks-row { display: flex; gap: 20px; flex-wrap: wrap; }
.perms { max-height: 260px; overflow-y: auto; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); }
.perms .check { align-items: flex-start; font-weight: 500; font-size: .9rem; }
.perms .check input { margin-top: 2px; flex: none; }
.perms b { color: var(--accent-2); }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,107,129,.12); border: 1px solid rgba(255,107,129,.5); color: #ffc2cc; font-weight: 600; }

.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; width: 46px; height: 26px; flex: none; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid var(--line-2); transition: background .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .switch__ui { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.maint { margin-bottom: 24px; }
.maint.is-on { border-color: rgba(255, 200, 87, .6); background: linear-gradient(180deg, rgba(255, 200, 87, .08), rgba(255,255,255,.015)); }
.maint-screen { max-width: 620px; }
.maint-ic { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; background: rgba(255, 200, 87, .14); color: #ffc857; border: 1px solid rgba(255, 200, 87, .5); }
.maint-ic .i { width: 34px; height: 34px; }

.srv-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 20px; }
.srv-card { padding: 20px 22px; display: grid; gap: 12px; align-content: start; }
.srv-card header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.srv-card h3 { font-size: 1.2rem; font-weight: 800; }
.keybox small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.keybox__row { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.keybox code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 9px 12px; border-radius: 10px; background: #0b0911; font-size: .82rem; transition: filter .2s; }
.blur { filter: blur(5px); user-select: none; }
.guide ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: #e2def5; }
.guide code { word-break: break-all; }

.console { margin-bottom: 18px; }
.console__row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.console__row .select select { min-width: 190px; }
.console__row .search { min-width: 240px; }
.console__slash { color: var(--accent-2); font-weight: 800; font-size: 1.2rem; }
.settings { display: grid; gap: 18px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pinfo--solo { margin-bottom: 10px; }
.pinfo__row { display: flex; align-items: center; gap: 20px; }
.pinfo__row .av { width: 72px; height: 72px; border-radius: 16px; }
.login-hint { margin-bottom: 16px; }
.login-hint .linkbtn { margin: 0; color: var(--accent-2); }
.anns--page { max-width: 900px; }
.toast.is-err { border-color: #ff6b81; box-shadow: 0 20px 50px -10px rgba(255, 107, 129, .5); }

@media (max-width: 1400px) {
  .stats--6 { grid-template-columns: repeat(3, 1fr); }
  .srv-hero__stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1280px) {
  .stats--6 .stat { grid-column: auto; }
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .stats--6, .srv-hero__stats { grid-template-columns: 1fr 1fr; }
  .kvs { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  .console__row > * { flex: 1 1 100%; }
  .table th, .table td { padding: 11px 12px; }
}

/* ================= v3: meniu compact ================= */
.app { grid-template-columns: 244px minmax(0, 1fr); }
.side-user { padding: 18px 12px 14px; margin: 0 12px; }
.side-avatar { width: 68px; height: 68px; padding: 3px; border-radius: 18px; margin-bottom: 10px; }
.side-avatar img { border-radius: 15px; }
.side-user h2 { font-size: 1.08rem; margin-bottom: 6px; }
.side-user .badge { font-size: .74rem; padding: 2px 9px; }
.side-credits { font-size: .76rem; margin-top: 6px; }
.side-nav { padding: 10px 12px; gap: 2px; }
.side-nav a, .side-nav .soon { padding: 8px 11px; gap: 11px; font-size: .9rem; border-radius: 11px; }
.side-nav a .i { width: 18px; height: 18px; }
.side-nav a.is-active::before { left: -7px; top: 9px; bottom: 9px; width: 3px; }
.side-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #8d87a8; padding: 12px 11px 4px; margin: 0; }
.side-staff { margin-top: 6px; padding-top: 4px; gap: 2px; }
.side-bottom { padding: 10px 12px 12px; gap: 8px; }
.ipbox { padding: 8px 11px; border-radius: 12px; gap: 10px; }
.ipbox b { font-size: .88rem; }
.ipbox small { font-size: .7rem; }
.side-bottom .btn--dark { height: 40px; font-size: .88rem; border-radius: 11px; }
.auth-btns .btn { height: 38px; font-size: .85rem; padding: 0 10px; }
.nav-hot { color: #ffe39a !important; }
.nav-hot .i { color: #ffd166; }

.lang { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 11px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.lang .i { width: 15px; height: 15px; margin: 0 4px 0 6px; color: var(--muted); }
.lang button { flex: 1; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .76rem; padding: 6px 4px; border-radius: 8px; cursor: pointer; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: rgba(var(--a), .25); color: #fff; }

.eyebrow { margin: 0 0 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); }
.cap { text-transform: capitalize; }

/* scurtături pe panou */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.quick__i { --qc: var(--accent); display: flex; align-items: center; gap: 14px; padding: 16px 18px; transition: transform .2s, border-color .2s; }
.quick__i:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--qc) 60%, transparent); }
.quick__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; color: var(--qc); background: color-mix(in srgb, var(--qc) 15%, transparent); border: 1px solid color-mix(in srgb, var(--qc) 45%, transparent); }
.quick__i b { display: block; }
.quick__i small { font-size: .82rem; }

/* ================= magazin v3 ================= */
.store-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 30px; margin-bottom: 18px;
  background: radial-gradient(600px 260px at 0% 0%, rgba(var(--a), .35), transparent 70%), radial-gradient(500px 240px at 100% 100%, rgba(255, 85, 255, .16), transparent 70%), #120f1c;
  border-color: rgba(var(--a), .45);
}
.store-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.store-hero__t > p { color: #d8d3ee; margin-top: 6px; max-width: 560px; }
.store-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.store-hero__tags span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.store-hero__tags .i { color: #4ade80; }
.store-hero__me { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line-2); }
.store-hero__me .av { width: 56px; height: 56px; border-radius: 12px; }
.store-hero__me small { display: block; color: var(--muted); font-size: .78rem; }
.store-hero__me b { display: block; font-size: 1.1rem; }
.store-hero__me span { display: inline-flex; align-items: center; gap: 6px; color: #ffe39a; font-weight: 700; font-size: .88rem; }
.store-hero__guest { text-align: center; display: grid; gap: 10px; }

.store-side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.sbox { padding: 18px 20px; }
.sbox h3 { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.sbox h3 .i { color: var(--accent-2); }
.goal__bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; border: 1px solid var(--line); }
.goal__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-3), var(--accent), #ff8cff); box-shadow: 0 0 20px rgba(var(--a), .8); transition: width .8s ease; }
.goal p { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; color: var(--muted); }
.goal p b { color: #fff; font-size: 1.15rem; }
.goal__pct { margin-left: auto; font-weight: 800; color: var(--accent-2); }
.topdon__p { display: flex; align-items: center; gap: 16px; }
.topdon__p img { height: 96px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 8px 14px rgba(255, 209, 102, .35)); }
.topdon__p b { display: block; font-size: 1.2rem; }
.topdon__p span { color: #ffd166; font-weight: 800; }
.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 190px; overflow-y: auto; }
.recent li { display: flex; gap: 10px; align-items: center; font-size: .88rem; }
.recent .av { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.recent p { line-height: 1.3; }

.store-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.store-bar .chips { margin: 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .88rem; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: rgba(var(--a), .25); color: #fff; }

.rank-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-bottom: 24px; align-items: start; }
.rank-card {
  --pc: var(--accent);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-color: color-mix(in srgb, var(--pc) 35%, var(--line-2));
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.rank-card:hover { transform: translateY(-6px); border-color: var(--pc); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--pc) 85%, transparent); }
.rank-card.is-popular { border-color: var(--pc); box-shadow: 0 0 0 1px var(--pc), 0 30px 70px -34px color-mix(in srgb, var(--pc) 90%, transparent); }
.rank-card__ribbon {
  position: absolute; top: 14px; right: -34px; z-index: 2; transform: rotate(35deg);
  padding: 5px 40px; font-size: .7rem; font-weight: 800; letter-spacing: .03em; color: #140f2e; background: var(--pc);
}
.rank-card__head {
  position: relative; text-align: center; padding: 26px 20px 20px;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--pc) 32%, transparent), transparent 70%);
  border-bottom: 1px solid color-mix(in srgb, var(--pc) 25%, var(--line));
}
.rank-card__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; font-size: 1.9rem; margin-bottom: 10px;
  background: color-mix(in srgb, var(--pc) 20%, #120f1a); border: 1px solid color-mix(in srgb, var(--pc) 60%, transparent);
  box-shadow: 0 12px 34px -10px var(--pc);
}
.rank-card__name { font-size: 1.7rem; font-weight: 800; color: var(--pc); text-shadow: 0 0 28px color-mix(in srgb, var(--pc) 55%, transparent); }
.rank-card__price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-top: 8px; }
.rank-card__price b { font: 800 2.4rem/1 var(--num); }
.rank-card__price span { color: var(--muted); font-weight: 700; }
.rank-card__sub { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.rank-card__desc { padding: 14px 20px 0; color: #cfc9e6; font-size: .88rem; text-align: center; }
.perks { list-style: none; margin: 0; padding: 16px 20px; display: grid; gap: 9px; flex: 1; }
.perk { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.35; }
.perk__ic { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; flex: none; }
.perk__ic .i { width: 13px; height: 13px; stroke-width: 3; }
.perk--yes .perk__ic { background: rgba(74, 222, 128, .16); color: #4ade80; border: 1px solid rgba(74, 222, 128, .45); }
.perk--no .perk__ic { background: rgba(255, 107, 129, .12); color: #ff6b81; border: 1px solid rgba(255, 107, 129, .35); }
.perk--no > span:last-child { color: #7e7898; text-decoration: line-through; text-decoration-color: rgba(255, 107, 129, .4); }
.perk--no > span:last-child span { color: inherit !important; }
.rank-card > .btn { margin: 0 20px 20px; width: auto; }
.btn--buy { background: linear-gradient(180deg, color-mix(in srgb, var(--pc, var(--accent)) 70%, #fff), var(--pc, var(--accent))); color: #140f2e; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--pc, var(--accent)) 70%, transparent); }

.ctable th, .ctable td { text-align: center; white-space: normal; }
.ctable th:first-child, .ctable td:first-child { text-align: left; min-width: 220px; }
.ctable__p { --pc: var(--accent); position: relative; min-width: 120px; text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; }
.ctable__p b { display: block; color: var(--pc); font-size: 1.05rem; }
.ctable__p small { display: block; color: var(--muted); font-weight: 600; }
.ctable__icon { display: block; font-size: 1.4rem; }
.ctable__pop { position: absolute; top: 6px; right: 8px; }
.ctable__c .perk__ic { margin: 0 auto; }
.ctable td.ctable__c .btn { height: 38px; font-size: .82rem; padding: 0 10px; }

/* ================= vot ================= */
.vote-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.vote-main, .vote-side { display: grid; gap: 20px; }
.vote-sites { display: grid; gap: 10px; }
.vote-site { display: flex; align-items: center; gap: 14px; padding: 14px 16px; transition: border-color .2s, transform .2s; }
.vote-site:hover { border-color: var(--accent); transform: translateX(4px); }
.vote-site__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 800; background: rgba(var(--a), .2); color: var(--accent-2); flex: none; }
.vote-site div { flex: 1; min-width: 0; }
.vote-site b { display: block; }
.vote-site small { color: var(--muted); }
.vote-site__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #140f2e; background: var(--accent); padding: 8px 14px; border-radius: 10px; font-size: .88rem; white-space: nowrap; }
.vote-tip { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.rewards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rewards li { padding: 12px 14px 12px 40px; position: relative; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.rewards li::before { content: "🎁"; position: absolute; left: 12px; top: 11px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin-bottom: 12px; }
.podium__slot { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; }
.podium__slot img { height: 90px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); }
.podium__slot--1 img { height: 110px; }
.podium__slot b { font-size: .9rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium__slot span { font-size: .78rem; color: var(--muted); }
.podium__base { width: 100%; margin-top: 6px; border-radius: 10px 10px 0 0; display: grid; place-items: center; font: 800 1.3rem var(--num); color: #140f2e; }
.podium__slot--1 .podium__base { height: 64px; background: linear-gradient(#ffe39a, #ffc857); }
.podium__slot--2 .podium__base { height: 46px; background: linear-gradient(#eef1f6, #b8c0cc); }
.podium__slot--3 .podium__base { height: 34px; background: linear-gradient(#f0b98a, #c98549); }
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toplist li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.03); }
.toplist .tplayer { flex: 1; }

/* ================= discord ================= */
.discord-hero {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 30px; margin-bottom: 18px;
  background: radial-gradient(600px 260px at 0% 50%, rgba(88, 101, 242, .35), transparent 70%), #121226; border-color: rgba(88, 101, 242, .55);
}
.discord-hero__logo { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: #5865F2; color: #fff; box-shadow: 0 16px 40px -10px #5865F2; flex: none; }
.discord-hero__logo svg { width: 46px; height: 46px; }
.discord-hero__t { flex: 1; min-width: 240px; }
.discord-hero__t h1 { font-size: 1.9rem; font-weight: 800; }
.discord-hero__t p { color: #d8d3ee; margin-top: 4px; }
.discord-hero__stats { display: flex; gap: 16px; margin-top: 10px; }
.discord-hero__stats span { display: inline-flex; align-items: center; gap: 8px; }
.btn--discord { background: #5865F2; color: #fff; box-shadow: 0 12px 30px -8px rgba(88, 101, 242, .8); }
.btn--discord:hover { background: #4752c4; }
.btn--discord .i--fill { width: 20px; height: 20px; }
.discord-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.dfeat { padding: 18px; display: grid; gap: 8px; align-content: start; }
.dfeat h3 { font-size: 1rem; font-weight: 800; }
.dfeat p { font-size: .88rem; }
.dmembers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.dmember { display: flex; align-items: center; gap: 10px; font-size: .9rem; min-width: 0; }
.dmember > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmember__av { position: relative; flex: none; }
.dmember__av img { width: 36px; height: 36px; border-radius: 50%; background: #2b2d31; }
.dstatus { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #15121f; background: #23a55a; }
.dstatus--idle { background: #f0b232; } .dstatus--dnd { background: #f23f43; }

/* ================= info ================= */
.info-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 30px;
  background: radial-gradient(600px 260px at 0% 0%, rgba(var(--a), .3), transparent 70%), #120f1c; border-color: rgba(var(--a), .45);
}
.info-hero h1 { font: 800 clamp(1.8rem, 4vw, 2.6rem) var(--num); letter-spacing: -.02em; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 20px 22px; }
.step__n { display: block; font: 800 1.8rem var(--num); color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 8px; }
.step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; align-items: start; }
.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.rules li { counter-increment: r; position: relative; padding: 12px 14px 12px 50px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.rules li::before { content: counter(r); position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: rgba(var(--a), .2); color: var(--accent-2); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.faq details[open] { border-color: rgba(var(--a), .45); background: rgba(var(--a), .06); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); }
.info-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.info-links .btn { height: 46px; }

@media (max-width: 1280px) {
  .quick, .discord-feats { grid-template-columns: repeat(2, 1fr); }
  .store-side { grid-template-columns: 1fr 1fr; }
  .store-side .sbox:first-child { grid-column: 1 / -1; }
  .vote-grid, .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .sidebar { width: min(260px, 84vw); }
}
@media (max-width: 640px) {
  .quick, .discord-feats, .store-side, .steps3 { grid-template-columns: 1fr; }
  .store-hero, .discord-hero, .info-hero { padding: 22px 20px; }
  .rank-cards { grid-template-columns: 1fr; }
  .vote-site__go { padding: 8px 10px; }
}

/* ================= v5: aspect nou ================= */
.sidebar { background: linear-gradient(180deg, #19132a 0%, #110d1b 55%, #0e0b16 100%); }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 6px; }
.side-brand img { filter: drop-shadow(0 6px 16px rgba(var(--a), .7)); transition: transform .3s; }
.side-brand:hover img { transform: rotate(-8deg) scale(1.06); }
.side-brand b { display: block; font: 800 1.12rem/1.1 var(--num); letter-spacing: -.02em; }
.side-brand b i { font-style: normal; color: var(--accent); }
.side-brand small { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.side-user { text-align: left; padding: 12px 0 12px; margin: 0 12px; }
.side-me {
  --rc: var(--accent);
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rc) 16%, transparent), rgba(255,255,255,.02));
  border: 1px solid color-mix(in srgb, var(--rc) 35%, var(--line));
  transition: border-color .2s;
}
a.side-me:hover { border-color: var(--rc); }
.side-me__av { position: relative; flex: none; }
.side-me__av img { width: 44px; height: 44px; border-radius: 11px; image-rendering: pixelated; box-shadow: 0 6px 16px -6px var(--rc); }
.side-me__on { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #4ade80; border: 2px solid #16111f; }
.side-me__t { min-width: 0; display: grid; gap: 4px; justify-items: start; }
.side-me__t b { font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.side-me__t .badge { font-size: .7rem; padding: 1px 8px; }
.side-credits { display: flex; margin: 8px 4px 0; }
.nav-tag { margin-left: auto; font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: #ffd166; color: #2a1d00; }

/* bara de sus */
.hdr {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  margin: -38px -36px 26px; padding: 12px 36px;
  background: rgba(13, 11, 19, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr__status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700; color: #d8d3ee; white-space: nowrap; }
.hdr__status .dot--on { background: #4ade80; color: #4ade80; animation: pulse 1.8s infinite; }
.hdr__ip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 12px; cursor: pointer; background: rgba(var(--a), .12); border: 1px solid rgba(var(--a), .4); color: #fff; font-weight: 700; transition: background .2s, border-color .2s; }
.hdr__ip:hover { background: rgba(var(--a), .22); border-color: var(--accent); }
.hdr__ipl { font-size: .7rem; font-weight: 800; padding: 3px 7px; border-radius: 7px; background: var(--accent); color: #140f2e; }
.hdr__ip .i { width: 16px; height: 16px; color: var(--accent-2); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr .lang { padding: 3px; }
.hdr .lang button { padding: 6px 10px; flex: none; }
.hdr__me { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-weight: 700; font-size: .9rem; }
.hdr__me:hover { border-color: rgba(var(--a), .6); }
.hdr__me .av { width: 30px; height: 30px; border-radius: 8px; }

/* banner pe panou */
.hero-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 20px;
  padding: 34px 36px; margin-bottom: 20px; border-radius: 26px;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(var(--a), .42), transparent 65%),
    radial-gradient(500px 300px at 100% 100%, rgba(255, 95, 200, .22), transparent 65%),
    linear-gradient(135deg, #1d1535, #120e1d);
  border: 1px solid rgba(var(--a), .45);
  box-shadow: 0 40px 90px -50px rgba(var(--a), .9);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-card > * { position: relative; }
.hero-card__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero-card h1 { font: 800 clamp(2rem, 4.2vw, 3.2rem)/1.05 var(--num); letter-spacing: -.03em; background: linear-gradient(100deg, #fff 20%, var(--accent-2) 60%, #ff9ce6); -webkit-background-clip: text; background-clip: text; color: transparent; word-break: break-word; }
.hero-card__lead { color: #d8d3ee; font-size: 1.08rem; margin-top: 10px; }
.hero-card__ip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-ip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; cursor: pointer; background: rgba(0,0,0,.3); border: 1px solid rgba(var(--a), .5); color: #fff; font-size: 1.1rem; transition: border-color .2s, transform .2s; }
.hero-ip:hover { border-color: var(--accent); transform: translateY(-2px); }
.hero-ip__l { font-size: .75rem; font-weight: 800; padding: 4px 8px; border-radius: 8px; background: var(--accent); color: #140f2e; }
.hero-ip .i { color: var(--accent-2); }
.hero-card__online { display: inline-flex; align-items: center; gap: 8px; color: #d8d3ee; }
.hero-card__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-card__btns .btn { height: 48px; }
.hero-card__btns .i--fill { width: 18px; height: 18px; }
.hero-card__art { display: grid; place-items: center; min-height: 250px; }

.scene { position: relative; width: 240px; height: 250px; perspective: 900px; }
.cube { --s: 130px; position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d; }
.cube--big { left: 55px; top: 50px; animation: cspin 16s linear infinite, cbob 5s ease-in-out infinite; }
.cube--s1 { --s: 46px; left: 0; top: 0; animation: cspin 10s linear infinite reverse, cbob 4s ease-in-out infinite .6s; }
.cube--s2 { --s: 34px; right: 0; top: 200px; animation: cspin 12s linear infinite, cbob 3.5s ease-in-out infinite 1.2s; }
.face { position: absolute; inset: 0; background: url("../assets/block.svg") center / 100% 100%; image-rendering: pixelated; border: 1px solid rgba(0,0,0,.2); }
.f-front { transform: translateZ(calc(var(--s) / 2)); }
.f-back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); filter: brightness(.7); }
.f-right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.8); }
.f-left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.9); }
.f-top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(1.25); }
.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.55); }
.scene__shadow { position: absolute; left: 50%; bottom: 0; width: 170px; height: 24px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--a), .6), transparent); filter: blur(5px); }
@keyframes cspin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
@keyframes cbob { 50% { translate: 0 -14px; } }

/* retușuri globale */
.card { transition: border-color .25s, box-shadow .25s; }
.card:hover { box-shadow: 0 20px 50px -35px rgba(var(--a), .8); }
.page-head h1 { background: linear-gradient(100deg, #fff 30%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat strong { background: linear-gradient(180deg, #fff, #c9c0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 1100px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-card__art { display: none; }
}
@media (max-width: 980px) {
  .hdr { margin: -24px -16px 20px; padding: 10px 16px; top: 68px; }
  .hdr__status, .hdr__me span { display: none; }
}
@media (max-width: 640px) {
  .hdr__ip b { font-size: .85rem; }
  .hero-card { padding: 24px 20px; }
  .hero-card__btns .btn { flex: 1; }
}

/* ================= v6: logo, magazin cu categorii, regulament ================= */
.side-brand { justify-content: center; padding: 14px 16px 2px; }
.side-brand img { width: 132px; height: auto; filter: drop-shadow(0 10px 24px rgba(var(--a), .55)); }
.side-brand:hover img { transform: translateY(-2px) scale(1.03) rotate(0); }
.topbar .brand img { width: 40px; height: 40px; object-fit: contain; }
.hero-logo { position: relative; display: grid; place-items: center; }
.hero-logo img { position: relative; z-index: 1; width: min(300px, 100%); height: auto; filter: drop-shadow(0 24px 40px rgba(var(--a), .6)); animation: logoFloat 5s ease-in-out infinite; }
.hero-logo .scene__shadow { bottom: -6px; width: 200px; }
@keyframes logoFloat { 50% { transform: translateY(-12px) rotate(-1.5deg); } }

.ic-img { width: 1em; height: 1em; object-fit: contain; display: inline-block; vertical-align: middle; image-rendering: auto; }

/* magazin: meniu categorii + conținut */
.store-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 24px; }
.store-cats { position: sticky; top: 84px; padding: 10px; display: grid; gap: 2px; }
.store-cats__i { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: .92rem; color: #d8d3ee; transition: background .2s, color .2s; }
.store-cats__i:hover { background: rgba(255,255,255,.05); color: #fff; }
.store-cats__i.is-on { background: linear-gradient(90deg, rgba(var(--a), .3), rgba(var(--a), .08)); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--a), .5); }
.store-cats__i em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.store-cats__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--a), .14); font-size: 1rem; flex: none; }
.store-cats__ic .ic-img { width: 20px; height: 20px; }
.store-cats__sub { display: grid; gap: 2px; margin: 0 0 4px 18px; padding-left: 10px; border-left: 1px dashed var(--line-2); }
.store-cats__i--sub { font-size: .86rem; padding: 7px 10px; font-weight: 600; }
.store-cats__i--sub .store-cats__ic { width: 24px; height: 24px; font-size: .85rem; background: rgba(255,255,255,.05); }
.store-main { min-width: 0; }
.store-gap { height: 8px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 10px; }
.cat-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 20px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(var(--a), .22), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  transition: transform .2s, border-color .2s;
}
.cat-tile:hover { transform: translateY(-4px); border-color: var(--accent); }
.cat-tile__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; font-size: 1.7rem; background: rgba(var(--a), .2); border: 1px solid rgba(var(--a), .45); box-shadow: 0 12px 30px -12px var(--accent); }
.cat-tile__ic .ic-img { width: 34px; height: 34px; }
.cat-tile h3 { font-size: 1.15rem; font-weight: 800; }
.cat-tile p { font-size: .88rem; margin-top: 2px; }
.cat-tile__n { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--muted); }
.cat-tile__go { color: var(--accent-2); font-size: 1.1rem; transition: transform .2s; }
.cat-tile:hover .cat-tile__go { transform: translateX(4px); }
.cat-tiles--sub .cat-tile { padding: 16px; flex-direction: row; align-items: center; }
.cat-tiles--sub .cat-tile__ic { width: 46px; height: 46px; font-size: 1.4rem; flex: none; }
.cat-tiles--sub .cat-tile__t { flex: 1; min-width: 0; }
.cat-tiles--sub .cat-tile__n { margin: 0; flex-direction: column; align-items: flex-end; gap: 2px; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--accent-2); font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.crumbs b { color: #fff; }
.cat-head { display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin-bottom: 6px; background: radial-gradient(500px 200px at 0% 0%, rgba(var(--a), .28), transparent 70%), #130f1e; border-color: rgba(var(--a), .4); }
.cat-head h1 { font-size: 1.6rem; font-weight: 800; }
.cat-head__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; font-size: 1.9rem; flex: none; background: rgba(var(--a), .2); border: 1px solid rgba(var(--a), .5); }
.cat-head__ic .ic-img { width: 38px; height: 38px; }
.rank-card__icon .ic-img, .product__icon .ic-img, .pdot .ic-img, .ctable__icon .ic-img { width: 70%; height: 70%; }
.rank-card__price span { font-size: 1.1rem; }

/* admin: arbore categorii + icon picker */
.adm-cats { margin-bottom: 24px; }
.ctree { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ctree__i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.ctree__i--sub { margin-left: 34px; position: relative; }
.ctree__i--sub::before { content: ""; position: absolute; left: -22px; top: 50%; width: 16px; border-top: 1px dashed var(--line-2); }
.ctree__i.is-off { opacity: .55; }
.ctree__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(var(--a), .16); font-size: 1.2rem; flex: none; }
.ctree__ic .ic-img { width: 24px; height: 24px; }
.ctree__t { flex: 1; min-width: 0; display: grid; }
.ctree__a { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.icon-pick { display: flex; gap: 10px; align-items: center; }
.icon-pick input { flex: 1; }
.icon-pick__prev { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.6rem; flex: none; background: rgba(var(--a), .16); border: 1px solid rgba(var(--a), .45); }
.icon-pick__prev .ic-img { width: 32px; height: 32px; }
.icon-pick__grid { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.icon-pick__grid button { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 1.1rem; cursor: pointer; transition: border-color .15s, transform .15s; }
.icon-pick__grid button:hover { border-color: var(--accent); transform: scale(1.1); }

/* regulament */
.rules-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.rules-nav { position: sticky; top: 84px; padding: 10px; display: grid; gap: 2px; }
.rules-nav__i { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: .92rem; color: #d8d3ee; }
.rules-nav__i:hover { background: rgba(255,255,255,.05); color: #fff; }
.rules-nav__i.is-on { background: linear-gradient(90deg, rgba(var(--a), .3), rgba(var(--a), .08)); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--a), .5); }
.rules-nav__i em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.rules-nav__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--a), .14); flex: none; }
.rules-nav__ic .ic-img { width: 20px; height: 20px; }
.rules-body { padding: 22px 24px; }
.rules-body__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rules-body__head h2 { font-size: 1.5rem; font-weight: 800; }
.rules-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.rules-tile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: border-color .2s; }
.rules-tile:hover { border-color: var(--accent); }
.rules-tile b, .rules-tile small { display: block; }
.rsec-list { display: grid; gap: 10px; }
.rsec { display: flex; align-items: center; gap: 14px; padding: 14px 16px; flex-wrap: wrap; }
.rsec__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.4rem; background: rgba(var(--a), .16); border: 1px solid rgba(var(--a), .4); flex: none; }
.rsec__ic .ic-img { width: 28px; height: 28px; }
.rsec__t { flex: 1; min-width: 180px; }
.rsec__t h3 { font-size: 1.05rem; font-weight: 800; }
.rsec__a { display: flex; gap: 6px; align-items: center; }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }

@media (max-width: 1100px) {
  .store-layout, .rules-layout { grid-template-columns: 1fr; }
  .store-cats, .rules-nav { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: thin; }
  .store-cats__sub { display: contents; }
  .store-cats__i, .rules-nav__i { flex: none; white-space: nowrap; }
  .store-cats__i--sub { display: none; }
  .store-cats__sub.is-open .store-cats__i--sub { display: flex; }
}
@media (max-width: 640px) {
  .ctree__i { flex-wrap: wrap; }
  .ctree__i--sub { margin-left: 16px; }
  .ctree__a { width: 100%; }
  .side-brand img { width: 110px; }
}

/* ================= admin nou, cupoane, reduceri, stoc, durate ================= */
/* --- admin: meniu lateral în loc de bara de sus --- */
.adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.adm-nav {
  position: sticky; top: 84px; display: grid; gap: 2px; padding: 12px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(var(--a), .12), rgba(255,255,255,.02)); border: 1px solid rgba(var(--a), .25);
}
.adm-nav__me { display: flex; align-items: center; gap: 10px; padding: 6px 8px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.adm-nav__me .av { width: 40px; height: 40px; border-radius: 11px; }
.adm-nav__me b { display: block; font-size: .95rem; margin-bottom: 3px; }
.adm-nav__me .badge { font-size: .7rem; padding: 1px 8px; }
.adm-nav__group { margin: 10px 0 4px; padding: 0 10px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #8d87a8; }
.adm-nav__i { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: #d8d3ee; transition: background .2s, color .2s; }
.adm-nav__i:hover { background: rgba(255,255,255,.05); color: #fff; }
.adm-nav__i b { display: block; font-size: .88rem; font-weight: 700; }
.adm-nav__i small { display: block; font-size: .72rem; color: var(--muted); }
.adm-nav__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--accent-2); }
.adm-nav__i.is-on { background: linear-gradient(90deg, rgba(var(--a), .34), rgba(var(--a), .06)); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.adm-nav__i.is-on .adm-nav__ic { background: var(--accent); border-color: var(--accent); color: #140f2e; }
.adm-nav__jump { display: none; }
.adm-main { min-width: 0; }
.adm-head {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--a), .24), rgba(var(--a), .04) 60%); border: 1px solid rgba(var(--a), .38);
}
.adm-head__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; flex: none; background: rgba(var(--a), .25); border: 1px solid rgba(var(--a), .55); color: #fff; }
.adm-head__ic .i { width: 26px; height: 26px; }
.adm-head__crumb { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); }
.adm-head h1 { font: 800 1.6rem var(--num); letter-spacing: -.02em; }
.adm-head p:last-child { color: #d8d3ee; font-size: .92rem; }
.td-wrap { white-space: normal !important; min-width: 160px; }

/* --- prețuri, reduceri, stoc pe carduri --- */
.sale-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 8px; font-weight: 900; font-size: .8rem; color: #fff; background: linear-gradient(135deg, #ff4d6d, #ff8a3d); box-shadow: 0 6px 18px -6px #ff4d6d; }
.sale-tag--inline { position: static; display: inline-block; padding: 1px 7px; font-size: .72rem; box-shadow: none; vertical-align: middle; }
.rank-card__price { flex-wrap: wrap; align-items: baseline; }
.price-from { width: 100%; text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.price-now { display: inline-flex; align-items: baseline; gap: 4px; }
.price-old { margin-left: 8px; color: #8d87a8; font-weight: 700; font-size: .95rem; text-decoration-color: #ff6b81; }
.dur-chips { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.dur-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 8px; font-size: .74rem; font-weight: 800; color: #d8d3ee; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); white-space: nowrap; }
.dur-chip .i { width: 13px; height: 13px; color: var(--accent-2); }
.dur-chip--perm { color: #ffe39a; border-color: rgba(255, 209, 102, .4); }
.dur-chip--perm .i { color: #ffd166; }
.stock { display: inline-flex; margin-top: 10px; padding: 3px 10px; border-radius: 8px; font-size: .76rem; font-weight: 800; color: #86efac; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .4); }
.stock--low { color: #ffd166; background: rgba(255, 209, 102, .12); border-color: rgba(255, 209, 102, .45); animation: pulse 1.6s infinite; }
.stock--out { color: #ffb3bf; background: rgba(255, 107, 129, .12); border-color: rgba(255, 107, 129, .45); }
.rank-card.is-soldout { opacity: .6; filter: grayscale(.5); }
.rank-exp { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; color: #ffd166; }
.rank-exp .i { width: 12px; height: 12px; }
.sale-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 77, 109, .22), rgba(255, 138, 61, .1) 60%, transparent); border: 1px solid rgba(255, 110, 90, .5); }
.sale-banner__pct { display: grid; place-items: center; min-width: 74px; height: 58px; padding: 0 10px; border-radius: 14px; font: 900 1.5rem var(--num); color: #fff; background: linear-gradient(135deg, #ff4d6d, #ff8a3d); box-shadow: 0 10px 26px -10px #ff4d6d; }
.sale-banner b { font-size: 1.05rem; }
.sale-banner p { color: #f3d9d0; font-size: .88rem; margin-top: 2px; }

/* --- cumpărare: plăci de durată --- */
.plans { border: 0; padding: 0; margin: 0; }
.plans legend { font-weight: 700; font-size: .92rem; color: #d8d3ee; margin-bottom: 10px; }
.plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 14px 16px; text-align: center; cursor: pointer;
  border-radius: 18px; background: rgba(255,255,255,.035); border: 2px solid var(--line-2); transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.plan:hover { border-color: rgba(var(--a), .55); transform: translateY(-2px); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 4px; background: rgba(var(--a), .16); color: var(--accent-2); border: 1px solid rgba(var(--a), .35); }
.plan__label { font: 800 1.02rem var(--num); }
.plan__dur { font-size: .78rem; color: var(--muted); }
.plan__price { margin-top: 6px; display: flex; flex-direction: column; align-items: center; }
.plan__price b { font: 900 1.45rem var(--num); color: #fff; }
.plan__price del { font-size: .8rem; color: #8d87a8; text-decoration-color: #ff6b81; }
.plan__check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #140f2e; opacity: 0; transform: scale(.6); transition: .2s; }
.plan__check .i { stroke-width: 3; }
.plan__best { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 900; color: #2a1d00; background: linear-gradient(135deg, #ffe39a, #ffc857); box-shadow: 0 6px 16px -6px #ffc857; }
.plan--perm .plan__ic { background: rgba(255, 209, 102, .16); color: #ffd166; border-color: rgba(255, 209, 102, .45); }
.plan:has(input:checked) { border-color: var(--accent); background: linear-gradient(180deg, rgba(var(--a), .24), rgba(var(--a), .06)); box-shadow: 0 16px 36px -20px var(--accent); }
.plan:has(input:checked) .plan__check { opacity: 1; transform: none; }
.plan:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.coupon__row { display: flex; gap: 8px; }
.coupon__row input { flex: 1; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.coupon__row .btn { height: auto; }
.coupon__msg { margin: 8px 0 0; padding: 9px 12px; border-radius: 10px; font-size: .86rem; font-weight: 700; }
.coupon__msg.is-ok { color: #86efac; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .4); }
.coupon__msg.is-err { color: #ffc2cc; background: rgba(255, 107, 129, .1); border: 1px solid rgba(255, 107, 129, .4); }
.quote { padding: 14px 16px; border-radius: 14px; background: rgba(var(--a), .08); border: 1px dashed rgba(var(--a), .45); display: grid; gap: 6px; }
.quote .loader { padding: 6px 0; }
.quote__row { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; color: #d8d3ee; }
.quote__row--disc b { color: #86efac; }
.quote__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(var(--a), .3); font-weight: 800; }
.quote__total strong { font: 900 1.6rem var(--num); color: #fff; }
.buy-sum .stock { margin: 0; }

/* --- admin: căsuța de durate (editor pe rânduri) --- */
.dur-box { border: 1px solid rgba(var(--a), .35); border-radius: 18px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; background: linear-gradient(180deg, rgba(var(--a), .1), rgba(var(--a), .02)); }
.dur-box legend { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 8px; font-weight: 800; font-size: .88rem; color: #140f2e; background: var(--accent); }
.dur-box--alt { background: rgba(255,255,255,.025); border-color: var(--line-2); }
.dur-box--alt legend { background: #ffd166; color: #2a1d00; }
.dur-rows { display: grid; gap: 8px; }
.dur-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  padding: 10px 12px; border-radius: 14px; background: rgba(10, 8, 18, .55); border: 1px solid var(--line-2); animation: fadeIn .2s ease;
}
.dur-row__ic, .dur-row__del { flex: none; }
.dur-row__f--name { flex: 1 1 150px; }
.dur-row__f:not(.dur-row__f--name):not(.dur-row__f--num) { flex: 1 1 140px; }
.dur-row__f--num { flex: 0 0 100px; }
.dur-row.is-perm { border-color: rgba(255, 209, 102, .45); background: linear-gradient(90deg, rgba(255, 209, 102, .08), rgba(10, 8, 18, .55)); }
.dur-row__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(var(--a), .18); color: var(--accent-2); align-self: center; }
.dur-row.is-perm .dur-row__ic { background: rgba(255, 209, 102, .18); color: #ffd166; }
.dur-row__f { display: grid; gap: 4px; min-width: 0; }
.dur-row__f small { font-size: .72rem; font-weight: 700; color: var(--muted); }
.dur-row__f input { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.dur-row__f input:focus { outline: none; border-color: rgba(var(--a), .7); }
.dur-row__f .select select { min-width: 0; width: 100%; }
.dur-row__f--num input { font-weight: 800; }
.dur-row__del { align-self: center; }
.dur-empty { margin: 0; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); text-align: center; }
.dur-add { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dur-add .btn--chip { height: 34px; font-size: .82rem; }
.stock-in { display: grid; gap: 4px; margin-top: 8px; }
.stock-in input { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-weight: 800; }
.stock-in small { color: var(--muted); font-size: .78rem; }

/* --- admin: cupoane, reducere globală --- */
.sale-card { margin-bottom: 24px; }
.sale-card.is-on { border-color: rgba(74, 222, 128, .5); box-shadow: 0 20px 50px -35px #4ade80; }
.sale-card__row { display: grid; grid-template-columns: 160px 1fr auto; gap: 12px; align-items: end; margin-bottom: 10px; }
.sale-card__row .btn { height: 50px; }
.coupon-code { font: 800 .9rem var(--num); letter-spacing: .06em; padding: 6px 12px; border-radius: 9px; cursor: pointer; color: #fff; background: rgba(var(--a), .16); border: 1px dashed rgba(var(--a), .6); }
.coupon-code:hover { background: rgba(var(--a), .28); }

@media (max-width: 1100px) {
  .adm { grid-template-columns: 1fr; }
  .adm-nav { position: static; padding: 10px; }
  .adm-nav__me, .adm-nav__group, .adm-nav__i { display: none; }
  .adm-nav__jump { display: block; }
  .adm-nav__jump .select, .adm-nav__jump select { width: 100%; }
}
@media (max-width: 640px) {
  .sale-card__row { grid-template-columns: 1fr; }
  .adm-head { padding: 16px; }
  .adm-head h1 { font-size: 1.3rem; }
  .dur-row__f--name { flex-basis: calc(100% - 110px); }
  .dur-row__f--num { flex: 1 1 90px; }
}

/* ================= meniul de admin în bara din stânga ================= */
.nav-admin { display: flex; flex-direction: column; gap: 2px; }
.nav-admin__back {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 8px 11px !important; border-radius: 11px;
  font-size: .82rem !important; font-weight: 700; color: var(--muted) !important; border: 1px dashed var(--line-2) !important;
}
.nav-admin__back:hover { color: #fff !important; border-color: rgba(var(--a), .6) !important; background: rgba(var(--a), .1); }
.nav-admin__title { display: flex; align-items: center; gap: 10px; padding: 10px 11px; margin-bottom: 4px; border-radius: 14px; background: linear-gradient(135deg, rgba(var(--a), .3), rgba(var(--a), .06)); border: 1px solid rgba(var(--a), .45); }
.nav-admin__badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #140f2e; flex: none; }
.nav-admin__title b { display: block; font: 800 .95rem var(--num); }
.nav-admin__title small { display: block; font-size: .72rem; color: #d8d3ee; }
body.in-admin .sidebar { box-shadow: inset -3px 0 0 rgba(var(--a), .45); }
.adm-main { min-width: 0; }
.store-cats__title { display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px; margin: 0 0 4px; border-bottom: 1px solid var(--line); font: 700 .9rem var(--num); color: #fff; }
.store-cats__title .i { color: var(--accent); }

/* ================= încărcare poze ================= */
.icon-pick { display: grid; gap: 10px; }
.icon-pick__drop {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px;
  background: rgba(var(--a), .06); border: 2px dashed rgba(var(--a), .45); transition: border-color .2s, background .2s;
}
.icon-pick__drop.is-over { border-color: var(--accent); background: rgba(var(--a), .16); }
.icon-pick__prev {
  display: grid; place-items: center; width: 88px; height: 88px; flex: none; border-radius: 18px; font-size: 2.4rem; overflow: hidden;
  background: radial-gradient(circle, rgba(var(--a), .3), rgba(var(--a), .08)); border: 1px solid rgba(var(--a), .45);
}
.icon-pick__prev .ic-img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.icon-pick__txt { display: grid; gap: 4px; min-width: 0; }
.icon-pick__txt b { font-size: .95rem; }
.icon-pick__txt small { color: var(--muted); font-size: .78rem; }
.icon-pick__btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.icon-pick__btns label.btn { cursor: pointer; }
.icon-pick__clear { display: none !important; }
.icon-pick.has-img .icon-pick__clear { display: inline-flex !important; }
.icon-pick__spin { position: absolute; inset: 0; display: none; place-items: center; border-radius: 14px; background: rgba(10, 8, 18, .7); }
.icon-pick__spin::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(var(--a), .25); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.icon-pick.is-uploading .icon-pick__spin { display: grid; }
.icon-pick__more summary { cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--accent-2); }
.icon-pick__more[open] summary { margin-bottom: 8px; }
.icon-pick__text { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }

/* poze mari pe carduri */
.rank-card__head.has-img { padding-top: 16px; }
.rank-card__img { position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto 6px; animation: imgFloat 4.5s ease-in-out infinite; }
.rank-card__img::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 75%, transparent), transparent); filter: blur(16px); animation: glowPulse 3s ease-in-out infinite;
}
.rank-card__img img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0,0,0,.55)); transition: transform .35s; }
.rank-card:hover .rank-card__img img { transform: scale(1.1) rotate(-3deg); }
@keyframes imgFloat { 50% { transform: translateY(-8px); } }
@keyframes glowPulse { 50% { opacity: .55; transform: scale(.9); } }
.cat-tile.has-img .cat-tile__ic { width: 100%; height: 120px; background: radial-gradient(circle at 50% 60%, rgba(var(--a), .35), transparent 65%); border: 0; box-shadow: none; }
.cat-tile.has-img .cat-tile__ic .ic-img { width: auto; height: 110px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0,0,0,.5)); transition: transform .35s; }
.cat-tile.has-img:hover .cat-tile__ic .ic-img { transform: translateY(-6px) scale(1.06); }
.cat-head__ic .ic-img, .store-cats__ic .ic-img, .ctree__ic .ic-img, .rsec__ic .ic-img, .rules-nav__ic .ic-img { width: 80%; height: 80%; object-fit: contain; }
.product__icon .ic-img, .pdot .ic-img, .ctable__icon .ic-img { width: 80%; height: 80%; object-fit: contain; }
.ctable__icon .ic-img { width: 44px; height: 44px; }
.buy-sum .product__icon { width: 56px; height: 56px; }

@media (prefers-reduced-motion: reduce) { .rank-card__img, .rank-card__img::before { animation: none; } }

/* statistici afișate pe server */
.stat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; max-height: none; }
.stat-pick legend, .stat-pick p { grid-column: 1 / -1; }
.stat-pick p { margin: 4px 0 0; }
.stat-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.stat-tags small { color: var(--muted); font-size: .78rem; font-weight: 700; margin-right: 2px; }

/* ================= bara demo ================= */
.demo-bar {
  position: fixed; left: 50%; bottom: 14px; z-index: 150; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  width: max-content; max-width: calc(100vw - 24px); padding: 10px 12px 10px 16px; border-radius: 16px;
  background: rgba(24, 19, 38, .94); border: 1px solid rgba(var(--a), .6);
  box-shadow: 0 20px 50px -12px rgba(var(--a), .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .86rem; color: #d8d3ee;
}
.demo-bar b { color: #140f2e; background: var(--accent); padding: 3px 9px; border-radius: 8px; font-size: .75rem; letter-spacing: .06em; }
.demo-bar code { font-size: .8rem; }
.demo-bar button {
  border: 1px solid var(--line-2); background: var(--card-2); color: #fff; font-weight: 700; font-size: .82rem;
  padding: 7px 12px; border-radius: 10px; cursor: pointer;
}
.demo-bar button:hover { border-color: var(--accent); }
body.has-demo .main { padding-bottom: 130px; }
body.has-demo .credit { bottom: 90px; }
body.has-demo .toast { bottom: 90px; }
@media (max-width: 640px) { .demo-bar span { display: none; } }

/* ================= protecție ================= */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"], .selectable { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; user-drag: none; }
@media print {
  body * { display: none !important; }
  body::after { content: "Conținutul bapey.net este protejat."; display: block; padding: 40px; font: 700 20px sans-serif; color: #000; }
}

/* ================= responsive ================= */
@media (max-width: 1280px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat--main { grid-column: 1 / -1; min-height: 0; gap: 16px; }
  .dash-grid, .profile-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .profile-top { grid-template-columns: 1fr; }
  .skin { min-height: 380px; }
  .skin img { height: 280px; }
  .ann-layout { grid-template-columns: 1fr; }
  .ann-form { position: static; }
  .san { grid-template-columns: 1fr auto; }
  .san__what { grid-column: 1 / -1; grid-row: 2; }
  .san__meta { grid-column: 1 / -1; grid-row: 3; align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .san > .icon-btn { grid-column: 2; grid-row: 1; }
}
@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .topbar {
    position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background: rgba(13, 11, 19, .85); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; }
  .brand b { color: var(--accent); }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw);
    transform: translateX(-102%); transition: transform .3s ease; background: #14101d;
  }
  body.menu-open .sidebar { transform: none; box-shadow: 30px 0 80px rgba(0,0,0,.6); }
  body.menu-open .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.55); }
  .main { padding: 24px 16px 80px; }
  .credit { right: 16px; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 140px; padding: 18px; }
  .stat strong { font-size: 2rem; }
  .stat .big { font-size: 3rem; }
  .searchbar { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .select { flex: 1; }
  .select select { width: 100%; min-width: 0; }
  .searchbar .btn { flex: 1; }
  .facts { grid-template-columns: 1fr; }
  .pinfo { padding: 22px 20px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard { padding: 22px 12px 18px; }
  .pcard__av .av { width: 64px; height: 64px; }
  .pcard h3 { font-size: 1.1rem; }
  .card-head, .card-body, .card-body.logs { padding-left: 16px; padding-right: 16px; }
  .ann { padding: 16px 16px 14px 20px; }
  .san { padding: 16px; gap: 14px; }
}

/* ================= calendar staff ================= */
.flag { width: 20px; height: 13px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); display: inline-block; vertical-align: -2px; }
.callegend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -10px 0 18px; font-size: .86rem; font-weight: 700; color: #d8d3ee; }
.callegend span { margin-right: 8px; }
.calhint { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: -6px; }

.calnext {
  --ec: var(--accent);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; padding: 18px 22px; border-radius: 20px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ec) 24%, transparent), rgba(255,255,255,.02) 70%), #130f1d;
  border: 1px solid color-mix(in srgb, var(--ec) 55%, transparent);
  box-shadow: 0 20px 50px -34px var(--ec);
}
.calnext__ic { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 18px; font-size: 1.8rem; background: color-mix(in srgb, var(--ec) 22%, #120f1a); border: 1px solid color-mix(in srgb, var(--ec) 60%, transparent); }
.calnext__t { flex: 1; min-width: 220px; display: grid; gap: 6px; }
.calnext__t h2 { font: 800 1.35rem var(--num); letter-spacing: -.02em; }

.calt { display: flex; flex-wrap: wrap; gap: 6px; }
.calt__z { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 9px; background: rgba(0,0,0,.28); border: 1px solid var(--line-2); font-size: .82rem; }
.calt__z b { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.calt__z small { color: var(--muted); font-size: .68rem; }
.calt--big .calt__z { padding: 8px 12px; font-size: 1rem; border-radius: 12px; }
.calt--big .flag { width: 26px; height: 17px; }

.calweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: start; }
.calday { min-width: 0; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line-2); overflow: hidden; }
.calday.is-today { border-color: rgba(var(--a), .7); box-shadow: 0 0 0 1px rgba(var(--a), .35), 0 20px 50px -30px rgba(var(--a), .9); background: linear-gradient(180deg, rgba(var(--a), .1), rgba(255,255,255,.02) 40%); }
.calday__h { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; border-bottom: 1px solid var(--line); }
.calday__h b { font: 800 .92rem var(--num); letter-spacing: -.01em; }
.calday__h em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 800; min-width: 22px; text-align: center; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.calday__today { font-size: .64rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: #140f2e; }
.calday__list { display: grid; gap: 8px; padding: 10px; }
.calday__free { padding: 18px 6px; text-align: center; color: #6f6990; font-size: .82rem; font-weight: 700; border: 1px dashed var(--line-2); border-radius: 12px; }

.calev {
  --ec: var(--accent);
  position: relative; display: grid; gap: 8px; padding: 11px 11px 12px 14px; border-radius: 14px; min-width: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ec) 15%, transparent), rgba(255,255,255,.015) 75%), #14101f;
  border: 1px solid color-mix(in srgb, var(--ec) 40%, transparent);
  transition: transform .18s ease, border-color .18s ease;
}
.calev::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ec); }
.calev:hover { transform: translateY(-2px); border-color: var(--ec); }
.calev.is-mine { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ec) 60%, transparent), 0 12px 30px -18px var(--ec); }
.calev.is-mine::after { content: "TU"; position: absolute; top: -7px; right: 10px; font-size: .58rem; font-weight: 900; letter-spacing: .06em; padding: 1px 6px; border-radius: 5px; background: var(--ec); color: #140f2e; }
.calev__top { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.calev__ic { font-size: 1.15rem; line-height: 1.2; flex: none; }
.calev__top h3 { flex: 1; min-width: 0; font-size: .92rem; font-weight: 800; line-height: 1.3; word-break: break-word; }
.calev__a { display: flex; gap: 4px; flex: none; }
.calev__a .icon-btn--sm { width: 28px; height: 28px; border-radius: 8px; }
.calev__a .icon-btn--sm .i { width: 14px; height: 14px; }
.calev .calt { flex-direction: column; align-items: flex-start; }
.calev .calt__z { font-size: .78rem; padding: 3px 8px; }
.calev__d { color: #cfc9e6; font-size: .8rem; line-height: 1.4; }
.calwho { display: flex; flex-wrap: wrap; gap: 5px; }
.calwho .badge { font-size: .7rem; padding: 2px 8px; }
.calwho__p { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 3px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.calwho__p:hover { border-color: var(--accent); }
.calwho__p .av { width: 18px; height: 18px; border-radius: 50%; }

.calteam { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.calmem { --rc: var(--accent); padding: 16px 16px 14px; border-color: color-mix(in srgb, var(--rc) 30%, var(--line-2)); }
.calmem.is-me { border-color: var(--rc); box-shadow: 0 20px 50px -34px var(--rc); }
.calmem__h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.calmem__h .av { width: 40px; height: 40px; border-radius: 11px; }
.calmem__h > div { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: start; }
.calmem__h .plink { border: 0; font-size: 1rem; }
.calmem__h .badge { font-size: .7rem; padding: 1px 8px; }
.calmem__n { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; font: 800 .95rem var(--num); background: rgba(var(--a), .16); color: var(--accent-2); border: 1px solid rgba(var(--a), .4); }
.calmem__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.calmem__list li { --ec: var(--accent); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 8px 10px; border-radius: 11px; background: rgba(255,255,255,.03); border-left: 3px solid var(--ec); }
.calmem__day { grid-row: span 2; font: 800 .72rem var(--num); text-transform: uppercase; color: var(--muted); }
.calmem__ti { font-size: .86rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calmem__h2 { display: flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; color: #cfc9e6; font-variant-numeric: tabular-nums; }
.calmem__h2 .flag { width: 16px; height: 11px; }
.calmem__h2 .flag + * { margin-right: 4px; }
.calmem__none { padding: 10px 0 2px; }
.calpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 12px; max-height: none; }
.calpick legend { grid-column: 1 / -1; }
.calpick .check { align-items: center; }
.calpick .check .av { width: 18px; height: 18px; border-radius: 4px; }

/* calendar: navigare pe săptămâni, perioade, iconițe cu poză */
.calnav { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.calnav__t { display: grid; min-width: 170px; text-align: center; }
.calnav__t b { font: 800 1rem var(--num); letter-spacing: -.01em; }
.calnav__t small { color: var(--muted); font-size: .78rem; font-weight: 700; }
.calnav__next .i { transform: rotate(180deg); }
.calday__date { font-size: .74rem; font-weight: 700; color: var(--muted); }
.calday.is-past { opacity: .62; }
.calday.is-past:hover { opacity: 1; }
.calper { display: inline-flex; align-items: center; gap: 5px; justify-self: start; padding: 2px 8px; border-radius: 8px; font-size: .7rem; font-weight: 700; color: #cfc9e6; background: rgba(255,255,255,.05); border: 1px dashed var(--line-2); }
.calper .i { width: 12px; height: 12px; color: var(--accent-2); }
.calev__ic .ic-img, .calmem__ic .ic-img { width: 22px; height: 22px; border-radius: 5px; }
.calnext__ic .ic-img { width: 40px; height: 40px; }
.calmem__ic { display: inline-flex; vertical-align: middle; }
.calmem__ic .ic-img { width: 16px; height: 16px; }

/* calendar v3: zilele pe rânduri (agendă), carduri late, fără text înghesuit */
.calweek { grid-template-columns: 1fr !important; gap: 10px; }
.calday { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch; background: #120e1b; }
.calday__h { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 14px 16px; border-bottom: 0; border-right: 1px solid var(--line); background: rgba(255,255,255,.02); }
.calday__h b { font-size: 1.05rem; }
.calday__h em { margin-left: 0; }
.calday.is-today .calday__h { background: linear-gradient(135deg, rgba(var(--a), .32), rgba(var(--a), .08)); }
.calday__list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); padding: 12px; align-items: start; }
.calday__free { grid-column: 1 / -1; padding: 10px 14px; text-align: left; border-style: dashed; }
.calday:has(.calday__free) { opacity: .65; }
.calday:has(.calday__free) .calday__list { padding: 8px 12px; }
.calday:has(.calday__free):hover { opacity: 1; }
.calev { padding: 14px 14px 14px 18px; gap: 10px; }
.calev__top { align-items: center; }
.calev__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 1.15rem; background: color-mix(in srgb, var(--ec) 18%, transparent); border: 1px solid color-mix(in srgb, var(--ec) 45%, transparent); }
.calev__top h3 { font-size: 1.02rem; word-break: normal; overflow-wrap: anywhere; }
.calev .calt { flex-direction: row; flex-wrap: wrap; }
.calev .calt__z { font-size: .82rem; padding: 4px 9px; }
.calev__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.calev__d { font-size: .86rem; }
.calev.is-mine::after { top: -8px; }
.calglob { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; font-size: .7rem; font-weight: 800; color: #ffd9a8; background: rgba(255, 138, 61, .14); border: 1px solid rgba(255, 138, 61, .45); }
.calglobal { align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 138, 61, .06); border: 1px solid rgba(255, 138, 61, .3); }
.calglobal > span:last-child { display: grid; gap: 2px; }
.calglobal small { color: var(--muted); font-weight: 500; font-size: .82rem; }
@media (max-width: 760px) {
  .calday { grid-template-columns: 1fr; }
  .calday__h { flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; }
  .calday__h em { margin-left: auto; }
  .calday__list { grid-template-columns: 1fr; }
}

/* bara globală de sus (anunț din calendar, pentru toată lumea) */
@keyframes gbarIn { from { opacity: 0; transform: translateY(-8px); } }
.gbar {
  --ec: var(--accent);
  position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 12px 54px 12px 14px; border-radius: 18px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ec) 28%, transparent), rgba(255,255,255,.02) 70%), #15101f;
  border: 1px solid color-mix(in srgb, var(--ec) 60%, transparent);
  box-shadow: 0 18px 40px -28px var(--ec);
  animation: gbarIn .4s ease;
}
body:not(.on-calendar) .gbar { display: none; }
body:not(.on-home) .hw-banner { display: none !important; }
.gbar.is-live { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ec) 45%, transparent), 0 18px 40px -24px var(--ec); }
.gbar__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: var(--ec); color: #140f2e; }
.gbar__tag .dot { background: #140f2e !important; color: #140f2e; box-shadow: none; }
.gbar__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; font-size: 1.5rem; background: color-mix(in srgb, var(--ec) 20%, #120f1a); border: 1px solid color-mix(in srgb, var(--ec) 50%, transparent); }
.gbar__ic .ic-img { width: 30px; height: 30px; }
.gbar__t { flex: 1; min-width: 200px; display: grid; gap: 1px; }
.gbar__t small { color: var(--accent-2); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.gbar__t b { font: 800 1.08rem var(--num); letter-spacing: -.01em; }
.gbar__d { color: var(--muted); font-size: .85rem; max-width: 640px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gbar .calt--big .calt__z { font-size: .92rem; padding: 6px 10px; }
.gbar__x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; cursor: pointer; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.gbar__x:hover { color: #fff; border-color: var(--ec); }
@media (max-width: 640px) {
  .gbar { padding: 12px 46px 12px 12px; gap: 10px; }
  .gbar__d { white-space: normal; }
}

/* ================= ZONA STAFF ================= */
/* taburile comune */
.stabs { display: flex; gap: 6px; overflow-x: auto; margin: -8px 0 22px; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); scrollbar-width: thin; }
.stabs__i { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; font-weight: 700; font-size: .9rem; color: #cfc9e6; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.stabs__i:hover { color: #fff; background: var(--card-2); }
.stabs__i.is-on { color: #fff; background: linear-gradient(90deg, rgba(var(--a), .38), rgba(var(--a), .12)); box-shadow: inset 0 0 0 1px rgba(var(--a), .55), 0 8px 22px -12px rgba(var(--a), .9); }
.stabs__i.is-on .i { color: var(--accent-2); }
.sec-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 8px; font-size: .8rem; background: rgba(255,255,255,.07); color: var(--muted); }

/* echipa */
.hubtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 8px; }
.hubtile { --tc: var(--accent); display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-color: color-mix(in srgb, var(--tc) 35%, var(--line-2)); background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 14%, transparent), rgba(255,255,255,.015) 70%); }
.hubtile__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; color: var(--tc); background: color-mix(in srgb, var(--tc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent); }
.hubtile strong { display: block; font: 800 1.8rem/1.1 var(--num); }
.hubtile small { color: var(--muted); font-weight: 700; font-size: .82rem; }
.hubgroup { margin-top: 24px; }
.hubgroup__h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1rem; }
.hubgroup__h .badge { font-size: .95rem; padding: 5px 14px; }
.hubgroup__h > span:last-child { color: var(--muted); font-size: .86rem; font-weight: 700; }
.hubgroup__h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 45%, transparent), transparent); }
.hubmembers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.hubm {
  --rc: var(--accent);
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 16px 16px; text-align: center;
  border-color: color-mix(in srgb, var(--rc) 30%, var(--line-2));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hubm:hover { transform: translateY(-4px); border-color: var(--rc); box-shadow: 0 24px 50px -28px var(--rc); }
.hubm.is-me { border-color: var(--rc); }
.hubm.is-away { opacity: .78; }
.hubm__band { align-self: stretch; height: 54px; margin: 0 -16px; background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--rc) 60%, transparent), transparent 70%), linear-gradient(90deg, color-mix(in srgb, var(--rc) 25%, transparent), transparent); }
.hubm__av { margin-top: -34px; padding: 4px; border-radius: 18px; background: linear-gradient(145deg, var(--rc), color-mix(in srgb, var(--rc) 35%, #000)); box-shadow: 0 10px 26px -10px var(--rc); }
.hubm__av img { width: 64px; height: 64px; border-radius: 14px; image-rendering: pixelated; background: #1b1628; }
.hubm__n { font-size: 1.1rem; font-weight: 800; }
.hubstat { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.hubstat--on { color: #4ade80; border-color: rgba(74, 222, 128, .4); background: rgba(74, 222, 128, .08); }
.hubstat--away { color: #ffd166; border-color: rgba(255, 209, 102, .4); background: rgba(255, 209, 102, .08); }
.hubm__dc { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #b8bfff; }
.hubm__dc .i--fill { width: 14px; height: 14px; }
.hubm__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: stretch; margin-top: 6px; }
.hubm__stats span { display: grid; padding: 8px 6px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.hubm__stats b { font: 800 1.15rem var(--num); }
.hubm__stats small { color: var(--muted); font-size: .68rem; font-weight: 700; }

/* avizier */
.notes { columns: 3 300px; column-gap: 14px; }
.note {
  --nc: var(--accent);
  position: relative; break-inside: avoid; margin-bottom: 14px; padding: 18px 18px 14px; border-radius: 18px; display: grid; gap: 10px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--nc) 16%, transparent), rgba(255,255,255,.02) 60%), #14101f;
  border: 1px solid color-mix(in srgb, var(--nc) 40%, var(--line-2));
  box-shadow: inset 0 4px 0 var(--nc);
  transition: transform .2s ease;
}
.note:hover { transform: translateY(-3px) rotate(-.3deg); }
.note.is-pinned { box-shadow: inset 0 4px 0 var(--nc), 0 20px 50px -30px var(--nc); }
.note__pin { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 7px; font-size: .72rem; font-weight: 800; color: #2a1d00; background: #ffd166; }
.note h3 { font-size: 1.12rem; font-weight: 800; }
.note__b { white-space: pre-line; color: #e2def5; font-size: .95rem; line-height: 1.55; }
.note__f { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.note__f .av { width: 24px; height: 24px; border-radius: 6px; }
.note__f > span:nth-child(2) { display: grid; line-height: 1.2; flex: 1; min-width: 0; }
.note__f .plink { border: 0; font-size: .88rem; }
.note__f small { font-size: .74rem; }
.note__a { display: flex; gap: 4px; }

/* absențe */
.absgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.absc { display: grid; gap: 12px; padding: 16px; border-left: 4px solid var(--line-2); }
.absc--now { border-left-color: #ffd166; background: linear-gradient(135deg, rgba(255, 209, 102, .1), rgba(255,255,255,.015) 60%); }
.absc--soon { border-left-color: var(--accent); }
.absc--past { opacity: .6; }
.absc__h { display: flex; align-items: center; gap: 12px; }
.absc__h .av { width: 40px; height: 40px; border-radius: 11px; }
.absc__h > div { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: start; }
.absc__h .plink { border: 0; }
.absc__h .badge { font-size: .7rem; padding: 1px 8px; }
.absc__range { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.absc__range span { display: grid; line-height: 1.2; }
.absc__range small { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.absc__range b { font-variant-numeric: tabular-nums; }
.absc__range i { font-style: normal; color: var(--accent-2); font-weight: 800; }
.absc__range em { margin-left: auto; font-style: normal; font-size: .76rem; font-weight: 800; padding: 3px 9px; border-radius: 8px; background: rgba(var(--a), .16); color: var(--accent-2); }
.absc__r { color: #e2def5; font-size: .9rem; }
.absc__st { justify-self: start; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.absc--now .absc__st { color: #ffd166; }
.absc__h .icon-btn--sm { flex: none; }
.absc__badge { --sc: var(--accent); flex: none; padding: 3px 9px; border-radius: 8px; font-size: .72rem; font-weight: 800; white-space: nowrap; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent); }
.absc--pending { border-left-color: #ffd166; }
.absc--accepted.absc--now { border-left-color: #4ade80; }
.absc--rejected { border-left-color: #ff6b81; background: linear-gradient(135deg, rgba(255, 107, 129, .07), rgba(255,255,255,.015) 60%); }
.absc__why small { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.absc__why p { color: #e2def5; font-size: .92rem; }
.absc__reply { --sc: var(--accent); display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--sc) 9%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 35%, transparent); }
.absc__reply .av { width: 22px; height: 22px; border-radius: 6px; flex: none; margin-top: 1px; }
.absc__reply small { color: #cfc9e6; font-size: .78rem; }
.absc__reply small b { color: var(--sc); }
.absc__reply p { margin-top: 3px; font-size: .9rem; color: #fff; }
.absc__wait { font-size: .84rem; font-weight: 700; color: #ffd166; }
.absc__act { display: flex; gap: 8px; flex-wrap: wrap; }
.absc__act .btn { flex: 1; }
.absc__ok:hover { border-color: rgba(74, 222, 128, .7); background: rgba(74, 222, 128, .12); color: #86efac; }
.absc__no:hover { border-color: rgba(255, 107, 129, .7); background: rgba(255, 107, 129, .12); color: #ffb3bf; }
.absc__sum { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.absc__sum .av { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.absc__sum b, .absc__sum small { display: block; }
.absc__sum small { color: var(--muted); }
.absc__sum p { margin-top: 4px; color: #e2def5; font-style: italic; }
.abs-note { margin: -6px 0 12px; }
.abspast { margin-top: 24px; }
.abspast summary { cursor: pointer; font-weight: 800; color: #cfc9e6; margin-bottom: 14px; }

/* ghid sancțiuni */
.guide-search { margin-bottom: 18px; max-width: 560px; }
.guide-secs { display: grid; gap: 16px; }
.gsec { overflow: hidden; }
.gsec__h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(var(--a), .16), transparent 70%); }
.gsec__h h2 { font: 800 1.15rem var(--num); letter-spacing: -.01em; }
.gsec__h em { margin-left: auto; font-style: normal; font-size: .76rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.gsec ul { list-style: none; margin: 0; padding: 6px 12px 12px; display: grid; gap: 4px; }
.grow { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 10px; border-radius: 12px; transition: background-color .15s ease; }
.grow:hover { background: rgba(255,255,255,.03); }
.grow > b { font-size: .95rem; }
.grow__steps { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.grow__st { --sc: var(--accent); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 10px; font-size: .84rem; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--sc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent); }
.grow__st small { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: .68rem; font-weight: 900; background: var(--sc); color: #140f2e; }
.grow__arr { font-style: normal; color: var(--muted); font-weight: 800; }

@media (max-width: 1100px) {
  .hubtiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grow { grid-template-columns: 1fr; gap: 6px; }
  .notes { columns: 1; }
}

/* ---------- chat staff ---------- */
.chat { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.chat__box { display: flex; flex-direction: column; height: min(68vh, 720px); min-height: 420px; overflow: hidden; }
.chat__list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(var(--a), .5) transparent; }
.chat__empty { margin: auto; color: var(--muted); font-weight: 700; }
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 78%; animation: fadeIn .25s ease; }
.msg .av { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.msg__b { min-width: 0; padding: 9px 13px 10px; border-radius: 16px 16px 16px 6px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.msg__h { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.msg__h b { font-size: .84rem; color: var(--accent-2); }
.msg__h small { color: var(--muted); font-size: .72rem; }
.msg__x { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 0; background: none; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .15s ease, color .15s ease; }
.msg:hover .msg__x { opacity: 1; }
.msg__x:hover { color: #ff6b81; }
.msg p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.msg.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.msg.is-mine .msg__b { border-radius: 16px 16px 6px 16px; background: linear-gradient(135deg, rgba(var(--a), .38), rgba(var(--a), .18)); border-color: rgba(var(--a), .55); }
.msg.is-mine .msg__h b { color: #fff; }
.mention { color: #ffd166; font-weight: 800; }
.mention.is-me { padding: 0 4px; border-radius: 5px; background: rgba(255, 209, 102, .2); }
.chat__form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: rgba(0,0,0,.2); }
.chat__form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; background: rgba(8, 6, 15, .75); border: 1px solid rgba(255,255,255,.1); }
.chat__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--a), .18); }
.chat__form .btn { height: 48px; }
.chat__side { padding: 16px; position: sticky; top: 90px; }
.chat__side h3 { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 800; margin-bottom: 12px; }
.chat__side ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.chat__side li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chat__side li .av { width: 26px; height: 26px; border-radius: 7px; }
.chat__side li b { font-size: .9rem; }
.chat__side li .badge { font-size: .66rem; padding: 0 7px; }
.chat__side li .dot { margin-left: auto; }

/* ---------- chat staff v2 (stil Discord) ---------- */
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; font-style: normal; font-size: .68rem; font-weight: 900; color: #fff; background: #ff4d6d; box-shadow: 0 0 0 3px rgba(255, 77, 109, .2); animation: pulse 1.8s infinite; }
.stabs__i .nav-badge { margin-left: 2px; }
.chat2 { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; align-items: start; }
.chat2__box { display: flex; flex-direction: column; height: min(74vh, 780px); min-height: 460px; overflow: hidden; background: linear-gradient(180deg, #15111f, #110d19); }
.chat2__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(var(--a), .14), transparent 70%); }
.chat2__hash { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; font: 800 1.3rem var(--num); color: var(--accent-2); background: rgba(var(--a), .16); border: 1px solid rgba(var(--a), .4); }
.chat2__top > div { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.chat2__top b { font: 800 1rem var(--num); letter-spacing: -.01em; }
.chat2__top small { color: var(--muted); font-size: .78rem; }
.chat2__live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; font-size: .66rem; font-weight: 900; letter-spacing: .08em; color: #86efac; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .35); }
.chat2__on { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.chat2__list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 6px 14px; scrollbar-width: thin; scrollbar-color: rgba(var(--a), .5) transparent; }
.chat2__empty { display: grid; justify-items: center; gap: 6px; padding: 60px 20px; text-align: center; color: var(--muted); }
.chat2__empty span { font-size: 2.6rem; }
.chat2__empty b { color: #fff; font: 800 1.15rem var(--num); }
.cday { display: flex; align-items: center; gap: 12px; margin: 14px 14px 6px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cday::before, .cday::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.cmsg { --rc: #b9adff; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 6px 44px 6px 14px; margin-top: 8px; border-radius: 12px; transition: background-color .12s ease; animation: fadeIn .25s ease; }
.cmsg.is-grouped { margin-top: 0; padding-top: 2px; padding-bottom: 2px; }
.cmsg:hover { background: rgba(255,255,255,.035); }
.cmsg.is-mine { box-shadow: inset 3px 0 0 rgba(var(--a), .7); }
.cmsg.is-mention { background: rgba(255, 209, 102, .07); box-shadow: inset 3px 0 0 #ffd166; }
.cmsg__av img { width: 40px; height: 40px; border-radius: 12px; image-rendering: pixelated; box-shadow: 0 0 0 2px color-mix(in srgb, var(--rc) 55%, transparent); }
.cmsg__t { align-self: center; text-align: center; font-size: .66rem; color: transparent; font-variant-numeric: tabular-nums; }
.cmsg:hover .cmsg__t { color: var(--muted); }
.cmsg__b { min-width: 0; }
.cmsg__h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 1px; }
.cmsg__n { font-weight: 800; font-size: .95rem; color: var(--rc); }
.cmsg__n:hover { text-decoration: underline; }
.cmsg__r { font-size: .64rem; font-weight: 800; padding: 1px 6px; border-radius: 5px; color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent); }
.cmsg__h small { color: var(--muted); font-size: .72rem; }
.cmsg p { color: #ece8fb; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmsg p a { color: #8fb4ff; text-decoration: underline; }
.cmsg__x { position: absolute; top: 6px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: #1d1729; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .12s ease, color .12s ease; }
.cmsg:hover .cmsg__x { opacity: 1; }
.cmsg__x:hover { color: #ff6b81; border-color: rgba(255, 107, 129, .6); }
.chat2__compose { padding: 10px 14px 12px; border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }
.chat2__emoji { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.chat2__emoji button { width: 34px; height: 30px; border-radius: 9px; border: 1px solid transparent; background: rgba(255,255,255,.04); font-size: 1rem; cursor: pointer; transition: transform .12s ease, background-color .12s ease, border-color .12s ease; }
.chat2__emoji button:hover { transform: translateY(-2px) scale(1.12); background: rgba(var(--a), .15); border-color: rgba(var(--a), .45); }
.chat2__form { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 16px; background: rgba(8, 6, 15, .8); border: 1px solid rgba(255,255,255,.1); transition: border-color .15s ease, box-shadow .15s ease; }
.chat2__form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--a), .16); }
.chat2__form textarea { flex: 1; min-width: 0; min-height: 40px; max-height: 160px; padding: 9px 0; border: 0; outline: none; resize: none; background: none; font-size: .97rem; line-height: 1.45; }
.chat2__send { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; border: 0; cursor: pointer; color: #140f2e; background: linear-gradient(180deg, #b6a9ff, var(--accent)); box-shadow: 0 8px 20px -8px rgba(var(--a), .9); transition: transform .12s ease; }
.chat2__send:hover { transform: translateY(-1px) rotate(-8deg); }
.chat2__hint { margin-top: 6px; font-size: .72rem; color: var(--muted); }
.chat2__hint kbd { padding: 1px 5px; border-radius: 5px; font: 700 .68rem var(--font); background: rgba(255,255,255,.07); border: 1px solid var(--line-2); }
.chat2__side { padding: 16px 12px; position: sticky; top: 90px; max-height: min(74vh, 780px); overflow-y: auto; scrollbar-width: thin; }
.chat2__side h3 { display: flex; align-items: center; gap: 8px; padding: 0 6px 8px; font-size: .95rem; font-weight: 800; }
.chat2__side h3 em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; color: #86efac; background: rgba(74, 222, 128, .1); }
.ctm__lbl { margin: 10px 6px 4px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ctm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ctm li { --rc: #b9adff; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; opacity: .55; transition: background-color .12s ease, opacity .12s ease; }
.ctm li.is-on { opacity: 1; }
.ctm li:hover { background: rgba(255,255,255,.04); opacity: 1; }
.ctm__av { position: relative; flex: none; }
.ctm__av .av { width: 30px; height: 30px; border-radius: 9px; }
.ctm__av i { position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: #6d6880; border: 2px solid #16111f; }
.ctm li.is-on .ctm__av i { background: #4ade80; }
.ctm__t { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.ctm__t b { font-size: .88rem; color: var(--rc); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctm__t small { color: var(--muted); font-size: .7rem; }
.ctm__at { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-weight: 800; cursor: pointer; opacity: 0; transition: opacity .12s ease; }
.ctm li:hover .ctm__at { opacity: 1; }
.ctm__at:hover { color: #fff; border-color: var(--accent); }
@media (max-width: 1100px) {
  .chat2 { grid-template-columns: 1fr; }
  .chat2__side { position: static; order: -1; max-height: 220px; }
}
@media (max-width: 640px) {
  .chat2__box { height: 72vh; }
  .cmsg { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding-right: 38px; }
  .cmsg__av img { width: 36px; height: 36px; }
  .chat2__on { display: none; }
}

/* =========================================================
   MAGAZIN: cardurile de grade v2
   ========================================================= */
@property --rcang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; margin-bottom: 26px; align-items: stretch; perspective: 1200px; }
.rcard {
  --pc: var(--accent); --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 10%, #17121f), #110d19 55%);
  border: 1px solid color-mix(in srgb, var(--pc) 35%, rgba(255,255,255,.08));
  box-shadow: 0 24px 50px -32px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rcard:hover { border-color: color-mix(in srgb, var(--pc) 70%, transparent); box-shadow: 0 34px 70px -34px color-mix(in srgb, var(--pc) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.08); }
/* lumina care urmărește mouse-ul */
.rcard::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--pc) 18%, transparent), transparent 45%); opacity: 0; transition: opacity .25s ease; }
.rcard:hover::after { opacity: 1; }
.rcard > * { position: relative; z-index: 1; }
/* cel mai popular: margine animată */
.rcard.is-popular { border-color: transparent; }
.rcard.is-popular::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--rcang), var(--pc), #ffd166, var(--pc) 40%, transparent 55%, var(--pc));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rcSpin 5s linear infinite;
}
@keyframes rcSpin { to { --rcang: 360deg; } }
.rcard.is-soldout { opacity: .55; filter: grayscale(.6); }
.rcard__glow { position: absolute !important; z-index: 0 !important; inset: -30% -20% auto; height: 260px; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 55%, transparent), transparent); filter: blur(10px); opacity: .7; animation: rcGlow 5s ease-in-out infinite; }
@keyframes rcGlow { 50% { opacity: .4; transform: scale(.92); } }
.rcard__pop { position: absolute !important; top: 14px; left: 50%; transform: translateX(-50%); z-index: 3 !important; white-space: nowrap; padding: 4px 12px; border-radius: 999px; font-size: .7rem; font-weight: 900; letter-spacing: .04em; color: #2a1d00; background: linear-gradient(135deg, #ffe39a, #ffc857); box-shadow: 0 6px 18px -6px #ffc857; }
.rcard__sale { position: absolute !important; top: 14px; right: 14px; z-index: 3 !important; padding: 4px 10px; border-radius: 10px; font-weight: 900; font-size: .78rem; color: #fff; background: linear-gradient(135deg, #ff4d6d, #ff8a3d); box-shadow: 0 6px 16px -6px #ff4d6d; transform: rotate(4deg); }

.rcard__head { display: grid; justify-items: center; gap: 8px; padding: 46px 20px 16px; text-align: center; }
.rcard__tier { font-size: .62rem; font-weight: 900; letter-spacing: .28em; text-transform: uppercase; color: color-mix(in srgb, var(--pc) 70%, #fff); opacity: .85; }
.rcard__ic { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: 4px 0 6px; font-size: 2.6rem; border-radius: 26px; background: linear-gradient(145deg, color-mix(in srgb, var(--pc) 35%, #1a1426), color-mix(in srgb, var(--pc) 12%, #120e1b)); border: 1px solid color-mix(in srgb, var(--pc) 60%, transparent); box-shadow: 0 16px 36px -14px var(--pc), inset 0 1px 0 rgba(255,255,255,.15); transform: translateZ(40px); animation: imgFloat 4.5s ease-in-out infinite; }
.rcard__ic.has-img { width: 110px; height: 110px; background: none; border: 0; box-shadow: none; }
.rcard__ic .ic-img { width: 70%; height: 70%; object-fit: contain; }
.rcard__ic.has-img .ic-img { width: 100%; height: 100%; filter: drop-shadow(0 14px 20px rgba(0,0,0,.5)); }
.rcard__ring { position: absolute; inset: -8px; border-radius: 30px; border: 1px dashed color-mix(in srgb, var(--pc) 45%, transparent); animation: spin 18s linear infinite; }
.rcard__ic.has-img .rcard__ring { border-radius: 50%; }
.rcard__name { font: 800 1.9rem/1 var(--num); letter-spacing: -.03em; background: linear-gradient(180deg, #fff 10%, color-mix(in srgb, var(--pc) 85%, #fff) 60%, var(--pc)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px color-mix(in srgb, var(--pc) 45%, transparent)); }
.rcard__desc { color: #cfc9e6; font-size: .84rem; line-height: 1.45; max-width: 240px; }

.rcard__pricebox { display: grid; justify-items: center; gap: 10px; margin: 0 16px; padding: 14px 12px; border-radius: 18px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.07); }
.rcard__durs { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); flex-wrap: wrap; justify-content: center; }
.rcard__dur { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 0; border-radius: 9px; cursor: pointer; background: none; color: var(--muted); font-size: .76rem; font-weight: 800; transition: background-color .15s ease, color .15s ease; }
.rcard__dur .i { width: 13px; height: 13px; }
.rcard__dur:hover { color: #fff; }
.rcard__dur[aria-pressed="true"] { color: #140f2e; background: var(--pc); box-shadow: 0 6px 16px -8px var(--pc); }
.rcard__dur.is-perm[aria-pressed="true"] { background: linear-gradient(135deg, #ffe39a, #ffc857); }
.rcard__once { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; color: var(--muted); }
.rcard__once .i { width: 14px; height: 14px; color: var(--pc); }
.rcard__price { display: flex; align-items: baseline; gap: 8px; }
.rcard__now { display: inline-flex; align-items: baseline; gap: 3px; }
.rcard__now span { font: 800 1.2rem var(--num); color: color-mix(in srgb, var(--pc) 60%, #fff); }
.rcard__now b { font: 800 2.5rem/1 var(--num); letter-spacing: -.04em; color: #fff; text-shadow: 0 0 30px color-mix(in srgb, var(--pc) 50%, transparent); }
.rcard__old { color: #8d87a8; font-weight: 700; font-size: .9rem; text-decoration-color: #ff6b81; }
.rcard__pricebox .stock { margin: 0; }

.rcard__perks { flex: 1; display: grid; align-content: start; gap: 8px; padding: 16px 18px 10px; }
.rcard__ph { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rcard__ph .i { width: 13px; height: 13px; color: #4ade80; }
.rperks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rperks li { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; line-height: 1.35; color: #e8e4f8; }
.rperks__ic { display: grid; place-items: center; width: 19px; height: 19px; flex: none; margin-top: 1px; border-radius: 6px; color: #4ade80; background: rgba(74, 222, 128, .14); border: 1px solid rgba(74, 222, 128, .4); }
.rperks__ic .i { width: 12px; height: 12px; stroke-width: 3; }
.rperks li.is-new { font-weight: 700; color: #fff; }
.rperks li.is-new .rperks__ic { color: #140f2e; background: var(--pc); border-color: var(--pc); }
.rperks li em { margin-left: auto; flex: none; font-style: normal; font-size: .58rem; font-weight: 900; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; color: #140f2e; background: var(--pc); }
.rperks--no li { color: #7e7898; text-decoration: line-through; text-decoration-color: rgba(255, 107, 129, .45); }
.rperks--no .rperks__ic { color: #ff6b81; background: rgba(255, 107, 129, .1); border-color: rgba(255, 107, 129, .35); }
.rcard__miss summary { cursor: pointer; list-style: none; font-size: .78rem; font-weight: 800; color: var(--muted); padding: 4px 0; }
.rcard__miss summary::-webkit-details-marker { display: none; }
.rcard__miss summary::before { content: "▸ "; }
.rcard__miss[open] summary::before { content: "▾ "; }
.rcard__miss[open] summary { margin-bottom: 6px; }

.rcard__buy {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 9px; margin: 8px 16px 18px; height: 52px; border: 0; border-radius: 16px; cursor: pointer;
  font-weight: 900; font-size: .98rem; color: #140f2e;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 55%, #fff), var(--pc));
  box-shadow: 0 14px 30px -12px var(--pc), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .15s ease, box-shadow .2s ease;
}
.rcard__buy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s ease; }
.rcard__buy:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px var(--pc), inset 0 1px 0 rgba(255,255,255,.45); }
.rcard__buy:hover::after { transform: translateX(120%); }
.rcard__buy:disabled { cursor: not-allowed; }
.rcard__buyp { font-style: normal; padding: 3px 9px; border-radius: 8px; background: rgba(20, 15, 46, .18); font-size: .86rem; }
.rcard__buy.is-owned { color: #86efac; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .45); box-shadow: none; }
.rcard__buy.is-out { color: #ffb3bf; background: rgba(255, 107, 129, .1); border: 1px solid rgba(255, 107, 129, .4); box-shadow: none; }
@media (max-width: 640px) {
  .rcards { grid-template-columns: 1fr; }
  .rcard { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rcard { transform: none !important; }
  .rcard__ic, .rcard__ring, .rcard__glow, .rcard.is-popular::before { animation: none !important; }
}

/* etichetele de pe carduri (Popular, Nou, Limitat…) */
.rcard__pop--tag { background: linear-gradient(135deg, #ff9f5a, #ff6b3d); color: #fff; box-shadow: 0 6px 18px -6px #ff6b3d; }
.rcard__pop--tag.is-tag-popular { background: linear-gradient(135deg, #ff9f5a, #ff4d6d); }
.rcard__pop--tag.is-tag-nou { background: linear-gradient(135deg, #7dd3fc, #9584ff); }
.rcard__pop--tag.is-tag-limitat { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #2a1d00; }
.rcard__pop--tag.is-tag-ofert { background: linear-gradient(135deg, #86efac, #22c55e); color: #052e12; }
.rcard__pop--tag.is-tag-recomandat, .rcard__pop--tag.is-tag-bestvalue { background: linear-gradient(135deg, #ffe39a, #ffc857); color: #2a1d00; }
.rcard--pack .rcard__head { padding-top: 46px; }
.rcard--pack .rcard__ic { width: 96px; height: 96px; font-size: 3rem; }

/* admin: alegerea etichetei */
.badge-pick { display: grid; gap: 8px; }
.badge-pick__l { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); }
.badge-pick__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-pick__o { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: .82rem; font-weight: 800; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: border-color .15s ease, background-color .15s ease; }
.badge-pick__o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.badge-pick__o:has(input:checked) { border-color: #ff8a3d; background: rgba(255, 138, 61, .16); color: #fff; }

/* =========================================================
   MAGAZIN: meniul de categorii (stânga) + subcategorii pe rânduri
   ========================================================= */
.store-layout--v2 { grid-template-columns: 270px minmax(0, 1fr); gap: 22px; }
.scat { position: sticky; top: 84px; display: grid; gap: 10px; align-content: start; }
.scat__title { display: flex; align-items: center; gap: 8px; padding: 0 4px 2px; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; color: #8d87a8; }
.scat__grp { display: grid; gap: 6px; }
.scat__i {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; min-height: 84px;
  border-radius: 16px; overflow: hidden; background: #1b1526; border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.scat__i:hover { transform: translateX(4px); border-color: rgba(var(--a), .45); background: #211a30; }
.scat__img { display: grid; place-items: center; align-self: stretch; font-size: 2.4rem; border-right: 1px solid rgba(255,255,255,.08); background: radial-gradient(circle at 50% 55%, rgba(var(--a), .22), transparent 70%); }
.scat__img .ic-img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); transition: transform .3s ease; }
.scat__i:hover .scat__img .ic-img { transform: scale(1.08) rotate(-4deg); }
.scat__n { padding: 0 14px 0 18px; font-size: 1.05rem; font-weight: 800; color: #e8e4f8; }
.scat__i em { margin-right: 14px; font-style: normal; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.scat__chev { margin-right: 14px; display: grid; place-items: center; width: 26px; height: 26px; color: #cfc9e6; transition: transform .2s ease; }
.scat__chev .i { width: 18px; height: 18px; }
.scat__grp.is-open .scat__chev { transform: rotate(180deg); }
/* categoria curentă: nume colorat + semn în stânga (ca în poză) */
.scat__grp.is-cur .scat__n { color: var(--accent-2); }
.scat__i.is-on { border-color: rgba(var(--a), .55); background: linear-gradient(90deg, rgba(var(--a), .16), #1b1526 60%); }
.scat__i.is-on .scat__n { color: #ffb37a; }
.scat__grp.is-cur::before { content: ""; position: absolute; }
.scat__i.is-on::before { content: ""; position: absolute; left: -2px; top: 18px; bottom: 18px; width: 5px; border-radius: 0 5px 5px 0; background: #ff8a3d; box-shadow: 0 0 14px #ff8a3d; }
.scat__sub { display: none; gap: 4px; margin-left: 22px; padding-left: 12px; border-left: 2px solid rgba(var(--a), .25); }
.scat__grp.is-open .scat__sub { display: grid; }
.scat__s { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-weight: 700; font-size: .9rem; color: #cfc9e6; background: rgba(255,255,255,.025); border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.scat__s:hover { color: #fff; background: rgba(255,255,255,.05); transform: translateX(3px); }
.scat__s.is-on { color: #fff; border-color: rgba(255, 138, 61, .5); background: rgba(255, 138, 61, .1); }
.scat__s em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.scat__simg { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; font-size: 1rem; background: rgba(var(--a), .14); }
.scat__simg .ic-img { width: 24px; height: 24px; object-fit: contain; }

.catrows { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-bottom: 8px; }
.catrow {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; align-items: center; min-height: 96px; border-radius: 18px; overflow: hidden;
  background: #1b1526; border: 1px solid rgba(255,255,255,.07); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.catrow:hover { transform: translateY(-3px); border-color: rgba(var(--a), .55); box-shadow: 0 18px 40px -26px var(--accent); }
.catrow__img { display: grid; place-items: center; align-self: stretch; font-size: 2.6rem; border-right: 1px solid rgba(255,255,255,.08); background: radial-gradient(circle at 50% 55%, rgba(var(--a), .25), transparent 70%); }
.catrow__img .ic-img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); transition: transform .3s ease; }
.catrow:hover .catrow__img .ic-img { transform: scale(1.08) rotate(-4deg); }
.catrow__t { display: grid; gap: 3px; padding: 12px 12px 12px 18px; min-width: 0; }
.catrow__t b { font-size: 1.08rem; font-weight: 800; }
.catrow__t small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.catrow__n { font-size: .74rem; font-weight: 800; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.catrow__go { display: grid; place-items: center; margin: 0 14px 0 8px; width: 30px; height: 30px; border-radius: 10px; color: var(--accent-2); background: rgba(var(--a), .14); transition: transform .2s ease; }
.catrow__go .i { width: 16px; height: 16px; transform: rotate(180deg); }
.catrow:hover .catrow__go { transform: translateX(4px); }
@media (max-width: 1100px) {
  .store-layout--v2 { grid-template-columns: 230px minmax(0, 1fr); }
  .scat__i { grid-template-columns: 70px minmax(0, 1fr) auto; min-height: 70px; }
  .scat__img { font-size: 2rem; }
  .scat__img .ic-img { width: 48px; height: 48px; }
  .scat__n { font-size: .95rem; padding-left: 12px; }
}
@media (max-width: 860px) {
  .store-layout--v2 { grid-template-columns: 1fr; }
  .scat { position: static; }
  .catrows { grid-template-columns: 1fr; }
}

/* =========================================================
   MAGAZIN v3: Acasă, admin rapid, cantități, tabel grade, upgrade
   ========================================================= */
.scat__home {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 18px 0 12px; border-radius: 16px;
  font-weight: 800; font-size: 1.05rem; color: #e8e4f8; background: #1b1526; border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.scat__home:hover { transform: translateX(4px); border-color: rgba(255, 138, 61, .45); }
.scat__hic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.06); color: #cfc9e6; transition: background-color .2s ease, color .2s ease; }
.scat__hic .i { width: 22px; height: 22px; }
.scat__home.is-on { color: #ffb37a; border-color: rgba(255, 138, 61, .55); background: linear-gradient(90deg, rgba(255, 138, 61, .16), #1b1526 70%); }
.scat__home.is-on .scat__hic { background: linear-gradient(135deg, #ff8a3d, #ff5e3a); color: #fff; box-shadow: 0 8px 20px -8px #ff8a3d; }
.scat__add { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 800; font-size: .9rem; color: var(--accent-2); background: transparent; border: 1px dashed rgba(var(--a), .45); transition: background-color .15s ease; }
.scat__add:hover { background: rgba(var(--a), .1); }

.sadm, .cat-head__adm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sadm { margin-bottom: 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 138, 61, .07); border: 1px dashed rgba(255, 138, 61, .4); font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: #ffb37a; }
.sadm > span { margin-right: auto; }
.cat-head__adm { margin-left: auto; }
.crumbs a { display: inline-flex; align-items: center; gap: 5px; }
.rcard__edit { position: absolute; top: 12px; left: 12px; z-index: 4; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); opacity: .7; transition: opacity .15s ease, background-color .15s ease; }
.rcard__edit:hover { opacity: 1; background: var(--accent-3); }

/* pachete cu cantități (1× / 5× / 10× / 20×) */
.qpacks { display: grid; gap: 12px; margin-bottom: 22px; }
.qpack {
  --pc: var(--accent); position: relative; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 18px; align-items: center;
  padding: 16px 18px; border-radius: 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 12%, #17121f), #120e1b 60%); border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent);
}
.qpack .rcard__edit { top: 8px; left: auto; right: 8px; width: 28px; height: 28px; }
.qpack__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.qpack__ic { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 18px; font-size: 2rem; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--pc) 40%, transparent), rgba(255,255,255,.03)); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); }
.qpack__ic .ic-img { width: 48px; height: 48px; object-fit: contain; }
.qpack__t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.qpack__t b { font-size: 1.1rem; font-weight: 800; }
.qpack__t small { flex-basis: 100%; color: var(--muted); font-size: .84rem; }
.qpack__tag, .qpack__sale { padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 900; }
.qpack__tag { color: #ffb37a; background: rgba(255, 138, 61, .14); border: 1px solid rgba(255, 138, 61, .4); }
.qpack__sale { color: #fff; background: linear-gradient(135deg, #ff4d6d, #ff8a3d); }
.qpack__cr { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; color: #ffd166; }
.qpack__qs { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; }
.qbtn {
  display: grid; justify-items: center; gap: 2px; padding: 12px 10px; border-radius: 16px; cursor: pointer; font: inherit; color: #fff;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: transform .15s ease, border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.qbtn:hover:not(:disabled) { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pc) 70%, #fff); background: color-mix(in srgb, var(--pc) 18%, transparent); box-shadow: 0 14px 28px -18px var(--pc); }
.qbtn:disabled { opacity: .45; cursor: not-allowed; }
.qbtn__n { font-family: var(--num); font-size: 1.25rem; font-weight: 800; color: color-mix(in srgb, var(--pc) 60%, #fff); }
.qbtn__c { font-size: .72rem; font-weight: 800; color: #ffd166; }
.qbtn__p { font-size: .98rem; font-weight: 900; }
.qbtn del { font-size: .72rem; color: var(--muted); }
@media (max-width: 760px) { .qpack { grid-template-columns: 1fr; } }

/* fereastra de cumpărare: cantitate + upgrade */
.qpick { border: 0; padding: 0; margin: 0 0 14px; }
.qpick legend { font-weight: 800; font-size: .88rem; margin-bottom: 8px; }
.qpick__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; }
.qpick__o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qpick__o span { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; cursor: pointer; font-weight: 900; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: border-color .15s ease, background-color .15s ease; }
.qpick__o small { font-size: .7rem; color: #ffd166; font-weight: 800; }
.qpick__o input:checked + span { border-color: var(--accent); background: rgba(var(--a), .18); }
.qpick__o input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.qpick__o input:disabled + span { opacity: .4; cursor: not-allowed; }
.upg-sum { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .35); color: #c9f5d8; font-size: .9rem; }
.upg-sum p { margin: 0; }
.quote__row--gain b { color: #ffd166; }

/* tabelul „ce are fiecare grad” */
.ctab-wrap { overflow-x: auto; padding: 0; margin-bottom: 22px; }
.ctab { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.ctab th, .ctab td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.ctab__corner { text-align: left !important; vertical-align: bottom; }
.ctab__corner span { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: #8d87a8; }
.ctab__p { --pc: var(--accent); position: relative; vertical-align: bottom; padding-top: 20px !important; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 14%, transparent), transparent); }
.ctab__p > * { display: block; margin: 0 auto; }
.ctab__pop { position: absolute; top: 6px; right: 8px; font-size: .95rem; }
.ctab__img { display: grid !important; place-items: center; width: 72px; height: 72px; font-size: 2.4rem; }
.ctab__img .ic-img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.ctab__name { margin-top: 6px !important; font-size: 1rem; font-weight: 900; color: color-mix(in srgb, var(--pc) 55%, #fff); }
.ctab__price { margin-top: 2px !important; font-size: .86rem; font-weight: 800; color: var(--muted); }
.ctab__buy { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 10px !important; padding: 8px 14px; border-radius: 11px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 900; color: #fff; white-space: nowrap; background: linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 55%, #000)); border: 0; box-shadow: 0 8px 20px -10px var(--pc); transition: transform .15s ease, filter .15s ease; }
.ctab__buy:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.1); }
.ctab__buy:disabled { cursor: not-allowed; opacity: .6; box-shadow: none; }
.ctab__buy.is-owned { background: rgba(74, 222, 128, .15); color: #4ade80; opacity: 1; }
.ctab__sec td { text-align: left; padding: 10px 14px; background: rgba(var(--a), .1); }
.ctab__sec span { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-2); }
.ctab__f { text-align: left !important; font-weight: 700; font-size: .92rem; }
.ctab tbody tr:not(.ctab__sec):hover td { background: rgba(255,255,255,.025); }
.ctab__ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.ctab__ic .i { width: 16px; height: 16px; stroke-width: 3; }
.ctab__c.is-yes .ctab__ic { color: #4ade80; background: rgba(74, 222, 128, .14); }
.ctab__c.is-no .ctab__ic { color: #ff6b81; background: rgba(255, 107, 129, .1); }
.ctab__tag { display: inline-block; padding: 4px 10px; border-radius: 8px; font-weight: 900; font-size: .85rem; background: color-mix(in srgb, var(--tc) 16%, rgba(0,0,0,.4)); border: 1px solid color-mix(in srgb, var(--tc) 50%, transparent); }

/* upgrade de grad */
.upg { padding: 20px 22px; margin-bottom: 22px; background: radial-gradient(520px 220px at 100% 0%, rgba(74, 222, 128, .12), transparent 70%), #130f1e; border-color: rgba(74, 222, 128, .3); }
.upg.is-off { border-color: var(--line-2); background: #130f1e; }
.upg__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.upg__head h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.upg__head p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.upg__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; color: #4ade80; background: rgba(74, 222, 128, .14); border: 1px solid rgba(74, 222, 128, .4); }
.upg__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: end; }
.upg__pk { display: grid; gap: 6px; min-width: 0; }
.upg__pk small { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: #8d87a8; }
.upg__card { --pc: var(--accent); display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 64px; border-radius: 14px; background: color-mix(in srgb, var(--pc) 12%, #17121f); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); }
.upg__card b { display: block; font-weight: 900; color: color-mix(in srgb, var(--pc) 55%, #fff); }
.upg__card em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: .76rem; font-weight: 700; color: #4ade80; }
.upg__img { display: grid; place-items: center; width: 40px; height: 40px; flex: none; font-size: 1.6rem; }
.upg__img .ic-img { width: 40px; height: 40px; object-fit: contain; }
.upg__arrow { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; color: #4ade80; background: rgba(74, 222, 128, .12); }
.upg__sel { width: 100%; min-height: 64px; padding: 0 14px; border-radius: 14px; font: inherit; font-weight: 800; color: #fff; background: #1b1526; border: 1px solid var(--line-2); cursor: pointer; }
.upg__sel:focus { outline: 2px solid #4ade80; outline-offset: 2px; }
.upg__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 16px; border-radius: 16px; cursor: pointer; font: inherit; font-size: 1.02rem; font-weight: 900; color: #06240f; background: linear-gradient(135deg, #4ade80, #22c55e); border: 0; box-shadow: 0 14px 30px -14px #22c55e; transition: transform .15s ease, filter .15s ease; }
.upg__btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.upg__btn:disabled { opacity: .5; cursor: not-allowed; }
.upg__note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.upg__msg { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); }
.upg__msg p { flex: 1 1 240px; margin: 0; font-size: .92rem; }
.upg__msg--no > .i { color: #ff6b81; }
.upg__msg--top { font-size: 1.4rem; }
.upg__msg--top p { font-size: .92rem; }
@media (max-width: 640px) {
  .upg__row { grid-template-columns: 1fr; }
  .upg__arrow { margin: 0 auto; transform: rotate(90deg); }
}

/* login: Java / Bedrock */
.plat { display: grid; gap: 8px; margin-bottom: 14px; }
.plat__l { font-size: .88rem; font-weight: 700; }
.plat__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line-2); }
.plat__o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plat__o span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; cursor: pointer; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: .86rem; color: var(--muted); transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.plat__o svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plat__o span:hover { color: #fff; }
.plat__o--java input:checked + span { color: #fff; background: linear-gradient(135deg, #f89820, #e2611f); box-shadow: 0 8px 20px -10px #f89820; }
.plat__o--bedrock input:checked + span { color: #fff; background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 8px 20px -10px #22c55e; }
.plat__o input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* înregistrare: câmpul de Discord */
.reg-dc > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.reg-dc .i--fill { width: 16px; height: 16px; color: #8b9bff; }
.reg-dc input { border-color: rgba(88, 101, 242, .45); }
.reg-dc input:focus { border-color: #5865F2; box-shadow: 0 0 0 4px rgba(88, 101, 242, .2); }

/* chat global */
.sidebar .side-nav .nav-tag.nav-tag--live { background: linear-gradient(135deg, #4ade80, #22c55e) !important; color: #052e12 !important; animation: pulse 2s infinite; }
.gmsg__tools { position: absolute; top: 6px; right: 10px; display: flex; gap: 4px; opacity: 0; transition: opacity .12s ease; }
.cmsg:hover .gmsg__tools { opacity: 1; }
.gmsg__tools .cmsg__x { position: static; opacity: 1; }
.cmsg__x--mute:hover { color: #ffb454 !important; border-color: rgba(255, 180, 84, .6) !important; }
.gmsg .cmsg__av { display: block; }
.gchat__guest, .gchat__muted { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; }
.gchat__guest { background: rgba(var(--a), .1); border: 1px solid rgba(var(--a), .35); color: #d6ccff; }
.gchat__guest > span { flex: 1; min-width: 180px; font-weight: 700; }
.gchat__muted { background: rgba(255, 107, 129, .1); border: 1px solid rgba(255, 107, 129, .45); color: #ffc2cc; }
.gchat__muted .i { width: 26px; height: 26px; color: #ff6b81; }
.gchat__muted div { display: grid; }
.gchat__muted small { color: #e6b8c1; }
.gmutes__h { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; padding: 12px 6px 0; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 800; }
.gmutes__h em { margin-left: auto; font-style: normal; font-size: .72rem; padding: 2px 8px; border-radius: 999px; color: #ffb3bf; background: rgba(255, 107, 129, .12); }
.gmutes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gmutes li { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-radius: 11px; background: rgba(255, 107, 129, .06); border: 1px solid rgba(255, 107, 129, .25); }
.gmutes .av { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.gmutes li > div { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.gmutes b { font-size: .86rem; }
.gmutes small { color: var(--muted); font-size: .7rem; }
.gmutes p { font-size: .76rem; color: #e2def5; margin-top: 2px; overflow-wrap: anywhere; }
.gmutes .btn--chip { height: 28px; padding: 0 9px; font-size: .74rem; }

/* chat legat de Discord */
.chat2__dc { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.chat2__dc .i--fill { width: 14px; height: 14px; }
.chat2__dc.is-on { color: #c9d0ff; background: rgba(88, 101, 242, .18); border-color: rgba(88, 101, 242, .55); }
.chat2__warn { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 14px 0; padding: 10px 12px; border-radius: 12px; font-size: .85rem; color: #ffd9a8; background: rgba(255, 180, 84, .08); border: 1px solid rgba(255, 180, 84, .35); }
.chat2__warn > span { flex: 1; min-width: 200px; }
.chat2__warn .i { color: #ffb454; }
.chat2__warn--info { color: #c9d0ff; background: rgba(88, 101, 242, .1); border-color: rgba(88, 101, 242, .4); }
.chat2__warn--info .i--fill { width: 18px; height: 18px; color: #8b9bff; }
.cmsg.is-dc .cmsg__av img { border-radius: 50%; image-rendering: auto; box-shadow: 0 0 0 2px rgba(88, 101, 242, .6); }
.cmsg__dc { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 6px; font-size: .64rem; font-weight: 800; color: #fff; background: #5865F2; }
.cmsg__dc .i--fill { width: 11px; height: 11px; }
.dcsteps { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(88, 101, 242, .08); border: 1px solid rgba(88, 101, 242, .35); font-size: .86rem; color: #dfe3ff; }
.dcsteps b { color: #fff; }

/* ---------- taskuri (kanban) ---------- */
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.kcol { border-radius: 20px; background: #120e1b; border: 1px solid var(--line-2); transition: border-color .15s ease, background-color .15s ease; }
.kcol.is-over { border-color: var(--accent); background: rgba(var(--a), .1); }
.kcol__h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.kcol__h b { font: 800 1rem var(--num); }
.kcol__h em { margin-left: auto; font-style: normal; font-size: .76rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.kcol--doing .kcol__h { background: linear-gradient(90deg, rgba(var(--a), .16), transparent); }
.kcol--done .kcol__h { background: linear-gradient(90deg, rgba(74, 222, 128, .12), transparent); }
.kcol__list { display: grid; gap: 10px; padding: 12px; min-height: 120px; }
.kcol__empty { padding: 26px 10px; text-align: center; color: #6f6990; font-size: .84rem; font-weight: 700; border: 1px dashed var(--line-2); border-radius: 14px; }
.task {
  --pc: var(--accent);
  position: relative; display: grid; gap: 8px; padding: 12px 12px 10px 16px; border-radius: 14px; cursor: grab;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 10%, transparent), rgba(255,255,255,.02) 70%), #17121f;
  border: 1px solid color-mix(in srgb, var(--pc) 30%, var(--line-2));
  transition: transform .15s ease, border-color .15s ease, opacity .15s ease;
}
.task::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pc); }
.task:hover { transform: translateY(-2px); border-color: var(--pc); }
.task.is-drag { opacity: .45; }
.task.is-done h3 { text-decoration: line-through; text-decoration-color: rgba(74, 222, 128, .6); color: #cfc9e6; }
.task__h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.task__prio { font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; color: #140f2e; background: var(--pc); }
.task__due { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; color: #cfc9e6; }
.task__due .i { width: 12px; height: 12px; }
.task__due.is-late { color: #ff8a9b; }
.task__a { margin-left: auto; display: flex; gap: 4px; }
.task__a .icon-btn--sm, .task__mv .icon-btn--sm { width: 28px; height: 28px; border-radius: 8px; }
.task__a .icon-btn--sm .i, .task__mv .icon-btn--sm .i { width: 14px; height: 14px; }
.task h3 { font-size: .98rem; font-weight: 800; overflow-wrap: anywhere; }
.task__d { color: #cfc9e6; font-size: .84rem; white-space: pre-line; }
.task__f { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.task__who { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; min-width: 0; }
.task__who .av { width: 22px; height: 22px; border-radius: 6px; }
.task__who--free { color: #ffd166; font-weight: 700; font-size: .76rem; }
.task__mv { margin-left: auto; display: flex; gap: 4px; }
.task__fw .i { transform: rotate(180deg); }

/* ---------- jucători urmăriți ---------- */
.watchgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.watch { --wc: var(--accent); display: grid; gap: 10px; padding: 16px; border-color: color-mix(in srgb, var(--wc) 40%, var(--line-2)); box-shadow: inset 4px 0 0 var(--wc); }
.watch.is-closed { opacity: .6; box-shadow: none; }
.watch__h { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.watch__head { width: 52px; height: 52px; border-radius: 13px; image-rendering: pixelated; box-shadow: 0 0 0 2px color-mix(in srgb, var(--wc) 60%, transparent), 0 10px 22px -10px var(--wc); }
.watch__h > div { flex: 1; min-width: 150px; display: grid; gap: 6px; }
.watch__h .plink { border: 0; font-size: 1.1rem; }
.watch__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.watch__lvl, .watch__closed, .watch__san { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; font-size: .72rem; font-weight: 800; }
.watch__lvl { color: var(--wc); background: color-mix(in srgb, var(--wc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--wc) 45%, transparent); }
.watch__closed { color: #cfc9e6; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.watch__san { color: #ffb3bf; background: rgba(255, 107, 129, .1); border: 1px solid rgba(255, 107, 129, .35); }
.watch__san .i { width: 12px; height: 12px; }
.watch__a { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.watch__why { color: #fff; font-size: .95rem; }
.watch__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.watch__notes:empty { display: none; }
.watch__notes li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 11px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.watch__notes .av { width: 22px; height: 22px; border-radius: 6px; flex: none; margin-top: 1px; }
.watch__notes small { color: var(--muted); font-size: .72rem; }
.watch__notes p { font-size: .88rem; color: #e2def5; }
.watch__note { display: flex; gap: 8px; }
.watch__note input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 11px; background: rgba(8, 6, 15, .75); border: 1px solid rgba(255,255,255,.1); }
.watch__note input:focus { outline: none; border-color: var(--accent); }

@media (max-width: 1100px) {
  .chat { grid-template-columns: 1fr; }
  .chat__side { position: static; order: -1; }
  .kanban { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .msg { max-width: 92%; }
  .chat__box { height: 70vh; }
  .chat__form .btn { padding: 0 14px; }
  .watchgrid { grid-template-columns: 1fr; }
}

/* =========================================================
   ECRAN DE MENTENANȚĂ — pe tot ecranul, countdown + Halloween
   ========================================================= */
body.is-mscreen { overflow: hidden; }
.mscreen {
  position: fixed; inset: 0; z-index: 140; overflow-y: auto; overflow-x: hidden;
  display: grid; place-items: center; padding: 30px 18px 120px;
  background: #07040d; animation: mFade .5s ease;
}
@keyframes mFade { from { opacity: 0; } }
.mscreen__bg {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 15% 20%, rgba(var(--a), .32), transparent 65%),
    radial-gradient(700px 500px at 90% 85%, rgba(255, 120, 40, .25), transparent 65%),
    radial-gradient(1200px 600px at 50% 120%, rgba(255, 95, 31, .2), transparent 70%),
    #07040d;
}
.mscreen__bg::after { /* stele */
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 72%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 47% 12%, #fff, transparent), radial-gradient(1px 1px at 63% 42%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 82% 22%, #fff, transparent), radial-gradient(1px 1px at 91% 64%, #fff, transparent),
    radial-gradient(1px 1px at 8% 88%, #fff, transparent), radial-gradient(1.5px 1.5px at 37% 38%, #fff, transparent),
    radial-gradient(1px 1px at 72% 8%, #fff, transparent), radial-gradient(1px 1px at 55% 86%, #fff, transparent);
  animation: mTwinkle 4s ease-in-out infinite alternate;
}
@keyframes mTwinkle { to { opacity: .35; } }
.mscreen__fog { position: fixed; left: -10%; right: -10%; bottom: 0; height: 260px; pointer-events: none; background: radial-gradient(50% 100% at 30% 100%, rgba(185, 173, 255, .18), transparent 70%), radial-gradient(45% 90% at 75% 100%, rgba(255, 179, 71, .14), transparent 70%); filter: blur(10px); animation: hwFog 16s ease-in-out infinite alternate; }
.mscreen__graves { position: fixed; left: 0; right: 0; bottom: 8px; display: flex; justify-content: space-around; pointer-events: none; font-size: 2.2rem; opacity: .85; filter: drop-shadow(0 0 14px rgba(255, 138, 61, .45)); }
.mscreen__graves span:nth-child(2n) { font-size: 1.8rem; transform: translateY(-4px); }
.mfloat { position: fixed; z-index: 0; pointer-events: none; font-size: 2rem; opacity: .55; filter: drop-shadow(0 0 16px rgba(185, 173, 255, .6)); animation: mFloat 14s ease-in-out infinite; }
.mfloat--1 { left: 6%; top: 18%; }
.mfloat--2 { left: 22%; top: 8%; font-size: 1.4rem; animation-duration: 9s; animation-delay: -3s; }
.mfloat--3 { right: 7%; top: 14%; font-size: 2.4rem; animation-delay: -6s; }
.mfloat--4 { right: 24%; top: 6%; font-size: 1.2rem; animation-duration: 8s; }
.mfloat--5 { right: 10%; bottom: 22%; animation-delay: -2s; }
.mfloat--6 { left: 10%; bottom: 26%; font-size: 1.5rem; animation-duration: 11s; }
.mfloat--7 { left: 44%; top: 4%; font-size: 1.1rem; animation-duration: 7s; animation-delay: -1s; }
.mfloat--8 { left: 2%; top: 0; font-size: 4rem; opacity: .25; animation: none; }
@keyframes mFloat { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(18px, -24px) rotate(6deg); } }

.mscreen__inner { position: relative; z-index: 1; width: min(1180px, 100%); display: grid; gap: 22px; justify-items: center; }
.mscreen__logo { display: flex; align-items: center; gap: 12px; }
.mscreen__logo img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(var(--a), .7)); animation: logoFloat 5s ease-in-out infinite; }
.mscreen__logo span { display: grid; line-height: 1; }
.mscreen__logo b { font: 800 1.6rem var(--num); letter-spacing: -.03em; }
.mscreen__logo small { margin-top: 5px; font-size: .62rem; font-weight: 800; letter-spacing: .42em; color: var(--accent-2); }

.mscreen__card {
  position: relative; width: 100%; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 34px;
  padding: 38px 42px; border-radius: 30px; overflow: hidden;
  background: radial-gradient(500px 300px at 10% 30%, rgba(var(--a), .22), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(255, 120, 40, .16), transparent 70%), linear-gradient(135deg, #1b1430, #110c1c);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 120px -40px rgba(var(--a), .8), inset 0 1px 0 rgba(255,255,255,.06);
}
.mscreen__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(120deg, rgba(var(--a), .7), transparent 40%, transparent 60%, rgba(255, 138, 61, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* luna cu dovleac și lilieci */
.mscreen__art { position: relative; display: grid; place-items: center; height: 200px; }
.mmoon { position: relative; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff6e2 0%, #ffe3ad 45%, #ffc06a 80%, #f59e3b 100%); box-shadow: 0 0 60px 16px rgba(255, 179, 71, .35), 0 0 140px 50px rgba(255, 138, 61, .15); animation: hwMoon 8s ease-in-out infinite; }
.mmoon__c1, .mmoon__c2 { position: absolute; border-radius: 50%; background: rgba(214, 140, 60, .3); }
.mmoon__c1 { width: 28px; height: 28px; left: 40px; top: 74px; }
.mmoon__c2 { width: 18px; height: 18px; left: 96px; top: 40px; }
.mmoon__pk { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); font-size: 3rem; filter: drop-shadow(0 8px 18px rgba(255, 120, 40, .8)); animation: hwBob 3s ease-in-out infinite; }
.mbat { position: absolute; font-size: 1.6rem; animation: mBat 4s ease-in-out infinite; }
.mbat--1 { left: 0; top: 30px; }
.mbat--2 { right: 4px; top: 60px; font-size: 1.2rem; animation-delay: -1.5s; }
.mbat--3 { left: 30px; bottom: 8px; font-size: 1rem; animation-delay: -2.5s; }
@keyframes mBat { 0%, 100% { transform: translate(0, 0) rotate(-8deg); } 50% { transform: translate(10px, -14px) rotate(10deg); } }

.mscreen__t { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.mscreen__pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #d6ccff; background: rgba(var(--a), .14); border: 1px solid rgba(var(--a), .4); }
.mscreen__pill i { width: 8px; height: 8px; border-radius: 50%; background: #ff8a3d; box-shadow: 0 0 10px #ff8a3d; animation: pulse 1.4s infinite; }
.mscreen h1 { font: 800 clamp(2rem, 4.4vw, 3.4rem)/1.05 var(--num); letter-spacing: -.035em; color: #fff; }
.mscreen__grad { background: linear-gradient(100deg, #b9adff, #e38bd8 50%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mscreen__msg { max-width: 560px; color: #d8d3ee; font-size: 1.06rem; line-height: 1.6; }
.mscreen__msg b { color: #fff; }
.mscreen__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* countdown */
.mcount { display: grid; grid-template-columns: repeat(4, 92px); gap: 12px; justify-content: end; }
.mcount__b { display: grid; justify-items: center; gap: 4px; padding: 18px 8px 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -26px rgba(var(--a), .9); }
.mcount__b b { font: 800 2.4rem/1 var(--num); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(var(--a), .6); }
.mcount__b small { font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.mcount__b:last-of-type b { color: #ffb37a; text-shadow: 0 0 24px rgba(255, 138, 61, .6); }
.mcount__at { grid-column: 1 / -1; text-align: center; font-size: .82rem; color: var(--muted); }
.mcount__at b { color: #fff; }
.mcount.is-done .mcount__b b { color: #4ade80; }
.mcount--open { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 22px 26px; border-radius: 20px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.mcount--open span { font-size: 2.2rem; }
.mcount--open b { font-size: 1rem; }
.mcount--open small { color: var(--muted); }
.mscreen__foot { color: var(--muted); font-size: .9rem; text-align: center; }
.mscreen__foot b { color: #ffb37a; }

@media (max-width: 1100px) {
  .mscreen__card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 24px; gap: 22px; }
  .mscreen__t { justify-items: center; }
  .mscreen__btns { justify-content: center; }
  .mcount { justify-content: center; }
}
@media (max-width: 560px) {
  .mcount { grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
  .mcount__b { padding: 14px 4px 10px; border-radius: 14px; }
  .mcount__b b { font-size: 1.7rem; }
  .mscreen__art { height: 160px; }
  .mmoon { width: 120px; height: 120px; }
  .mscreen__graves { font-size: 1.6rem; }
}
.maint-btns { justify-content: flex-start; }
@media (prefers-reduced-motion: reduce) {
  .mfloat, .mbat, .mmoon, .mmoon__pk, .mscreen__bg::after, .mscreen__fog { animation: none !important; }
}

/* vot: premiul fiecărui loc, direct sub podium */
.podium { align-items: end; }
.podium__slot { --pc: #ffd166; }
.podium__slot--2 { --pc: #cfd6e2; }
.podium__slot--3 { --pc: #e0a36b; }
.podium__prize {
  width: 100%; min-height: 64px; display: grid; align-content: center; gap: 2px; padding: 8px 6px 10px; text-align: center;
  font-size: .8rem; font-weight: 700; line-height: 1.3; color: #fff; overflow-wrap: anywhere;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 22%, #15101f), #15101f);
  border: 1px solid color-mix(in srgb, var(--pc) 50%, transparent); border-top: 0; border-radius: 0 0 12px 12px;
}
.podium__prize .pz__money { color: color-mix(in srgb, var(--pc) 60%, #fff); font-weight: 900; }
.podium__prize .pz__plus { display: block; font-style: normal; font-size: .7rem; color: var(--muted); line-height: 1; }
.vpz-cfg { border: 1px solid rgba(255, 209, 102, .35); border-radius: 16px; padding: 14px 16px 12px; margin: 0; display: grid; gap: 10px; background: rgba(255, 209, 102, .04); }
.vpz-cfg legend { padding: 2px 10px; border-radius: 8px; font-weight: 800; font-size: .88rem; color: #2a1d00; background: #ffd166; }
.vpz-row { display: grid; grid-template-columns: 110px 1fr 1fr 130px 1.4fr; gap: 10px; align-items: end; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.2); border: 1px solid var(--line); }
.vpz-row__p { display: flex; align-items: center; gap: 6px; align-self: center; font-size: 1.3rem; }
.vpz-row__p b { font-size: .88rem; }
.vpz-row .field input, .vpz-row .select select { height: 44px; }
@media (max-width: 1100px) { .vpz-row { grid-template-columns: 1fr 1fr; } .vpz-row__p { grid-column: 1 / -1; } }
.podium__prize small { font-size: .62rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--pc); }
.podium__slot--1 .podium__prize { font-size: .86rem; box-shadow: 0 16px 34px -20px #ffd166; }
.podium__base { border-radius: 10px 10px 0 0; }
.podium__slot.is-free > b { color: var(--muted); }
.podium__free { display: grid; place-items: center; width: 56px; height: 90px; margin-bottom: 2px; border-radius: 14px; font: 800 2rem var(--num); color: color-mix(in srgb, var(--pc) 70%, #fff); background: rgba(255,255,255,.04); border: 2px dashed color-mix(in srgb, var(--pc) 45%, transparent); }
.podium__slot--1.is-free .podium__free { height: 110px; }
.podium__when { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; font-size: .82rem; color: var(--muted); }
.podium__when .i { color: #ffd166; }
.podium__when b { color: #fff; }

/* vot: premiile pentru locurile 1, 2, 3 (vechi, nefolosit) */
.vprizes .card-head { flex-wrap: wrap; }
.vprizes__when { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.vprizes__when b { color: #fff; }
.vprizes__grid { display: grid; gap: 10px; }
.vprize {
  --pc: #ffd166;
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--pc) 20%, transparent), rgba(255,255,255,.02) 70%);
  border: 1px solid color-mix(in srgb, var(--pc) 50%, transparent);
  transition: transform .18s ease, box-shadow .18s ease;
}
.vprize:hover { transform: translateX(4px); box-shadow: 0 14px 30px -20px var(--pc); }
.vprize--gold { --pc: #ffd166; padding: 18px 16px; box-shadow: 0 16px 40px -26px #ffd166; }
.vprize--silver { --pc: #cfd6e2; }
.vprize--bronze { --pc: #e0a36b; }
.vprize::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 30%, transparent), transparent); pointer-events: none; }
.vprize__medal { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; font-size: 1.8rem; background: color-mix(in srgb, var(--pc) 18%, #120f1a); border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent); box-shadow: 0 8px 20px -10px var(--pc); }
.vprize--gold .vprize__medal { width: 60px; height: 60px; font-size: 2.1rem; animation: hwBob 3.5s ease-in-out infinite; }
.vprize__t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.vprize__t small { font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--pc); }
.vprize__t p { font-size: 1.02rem; font-weight: 700; color: #fff; }
.vprize--gold .vprize__t p { font-size: 1.12rem; }
.vprize__now { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.vprize__now .av { width: 18px; height: 18px; border-radius: 5px; }
.vprize__now b { color: #e2def5; }

/* admin → servere: unul sub altul, chei ușor de copiat */
.srv-list2 { display: grid; gap: 14px; margin-bottom: 20px; }
.srv-row { display: grid; gap: 14px; padding: 18px 20px; border-left: 4px solid rgba(255,255,255,.12); }
.srv-row.is-on { border-left-color: #4ade80; }
.srv-row__h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.srv-row__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; color: var(--accent-2); background: rgba(var(--a), .16); border: 1px solid rgba(var(--a), .35); }
.srv-row.is-on .srv-row__ic { color: #4ade80; background: rgba(74, 222, 128, .12); border-color: rgba(74, 222, 128, .4); }
.srv-row__t { flex: 1; min-width: 200px; }
.srv-row__t h3 { font-size: 1.15rem; font-weight: 800; }
.srv-row__t p { overflow-wrap: anywhere; }
.srv-row__d { margin-top: -4px; }
.srv-row__keys { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--line); }
.kfield small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.kfield__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kfield code { flex: 1 1 260px; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #0b0911; border: 1px solid var(--line-2); font-size: .84rem; color: #e2def5; word-break: break-all; white-space: normal; cursor: text; transition: filter .2s; }
.kfield code.blur { filter: blur(5px); }
.kfield .btn--chip { flex: none; }
.srv-row__cfg { justify-self: start; }
.selectable { -webkit-user-select: text; user-select: text; }

/* profil: insignele (grad principal, grade în plus, staff, fondator) */
.pinfo .badges { gap: 10px; margin: 18px 0; }
.pchip {
  --pc: var(--accent);
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 14px;
  font-weight: 800; font-size: .92rem; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 26%, transparent), color-mix(in srgb, var(--pc) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 22px -14px var(--pc);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pchip:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px -12px var(--pc); }
.pchip__ic { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 10px; font-size: .95rem; color: #140f2e; background: var(--pc); box-shadow: 0 4px 12px -4px var(--pc); }
.pchip__ic .ic-img { width: 20px; height: 20px; }
.pchip__ic .i { width: 15px; height: 15px; }
.pchip__t { color: color-mix(in srgb, var(--pc) 45%, #fff); }
.pchip--main { padding: 6px 16px 6px 6px; font-size: 1rem; }
.pchip--main .pchip__ic { width: 32px; height: 32px; border-radius: 11px; font-size: 1.1rem; }
.pchip--main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: pchipShine 4s ease-in-out infinite; pointer-events: none; }
@keyframes pchipShine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.pchip--extra { border-style: dashed; }
.pchip--extra .pchip__ic { background: color-mix(in srgb, var(--pc) 75%, #fff); }
.pchip--me .pchip__ic { background: rgba(255, 180, 84, .2); }
.pchip__dot { width: 10px; height: 10px; border-radius: 50%; background: #ffb454; box-shadow: 0 0 10px #ffb454; animation: pulse 1.8s infinite; }
.pchip--tag { font-size: .84rem; }
.pchip--tag .pchip__ic { width: 24px; height: 24px; border-radius: 8px; }

/* admin: gradele în plus */
.xranks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 10px; max-height: none; }
.xranks legend { grid-column: 1 / -1; }
.xranks legend small { font-weight: 500; color: var(--muted); }
.xrank { --rc: var(--accent); align-items: center; padding: 7px 9px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .15s ease, background-color .15s ease; }
.xrank:has(input:checked) { border-color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); }
.xrank .xrank__ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: .8rem; background: color-mix(in srgb, var(--rc) 25%, transparent); }
.xrank .xrank__ic .ic-img { width: 16px; height: 16px; }
.xrank > span:not(.xrank__ic) { color: var(--rc); font-weight: 800; }
.xrank em { margin-left: auto; font-style: normal; font-size: .62rem; font-weight: 800; text-transform: uppercase; color: #5b9dff; }

/* profil: ultima conectare (online/offline) + Discord */
.pstate { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.pstate i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pstate--on { color: #55FF55; }
.pstate--on i { background: #55FF55; box-shadow: 0 0 10px #55FF55; animation: pulse 1.6s infinite; }
.pstate--off { color: #FF5555; }
.pstate--off i { background: #FF5555; box-shadow: 0 0 8px rgba(255, 85, 85, .7); }
.pstate__when { display: block; margin-top: 2px; font-size: .86rem; font-weight: 700; color: #e2def5; }
.fact b:has(.pstate) { white-space: normal; }
.fact--dc .fact__ic { color: #fff; background: #5865F2; border-color: #7983f5; }
.fact--dc .fact__ic .i--fill { width: 20px; height: 20px; }

/* =========================================================
   MENIURI v2 — meniul din stânga (grupuri colorate, căutare),
   meniul de admin, taburile staff, categoriile, bara de sus
   ========================================================= */
@media (min-width: 981px) {
  .app { grid-template-columns: 276px minmax(0, 1fr); }
}
.sidebar { border-right: 1px solid rgba(var(--a), .18); }

/* logo + nume */
.sidebar .side-brand { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 18px 18px 12px; }
.sidebar .side-brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(var(--a), .6)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.sidebar .side-brand:hover img { transform: rotate(-10deg) scale(1.08); }
.side-brand__t { display: grid; line-height: 1; }
.side-brand__t b { font: 800 1.35rem var(--num); letter-spacing: -.03em; background: linear-gradient(100deg, #fff 30%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-brand__t small { margin-top: 5px; font-size: .58rem; font-weight: 800; letter-spacing: .4em; color: var(--accent-2); }
.sidebar .side-brand::after { right: auto; left: 44px; bottom: 6px; font-size: 18px; }

/* cardul contului */
.sidebar .side-user { padding: 2px 14px 10px; margin: 0; border: 0; }
.sidebar .side-me { border-radius: 16px; padding: 9px 10px; }

/* căutare în meniu */
.side-search { display: flex; align-items: center; gap: 8px; margin: 0 14px 8px; padding: 0 8px 0 11px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); cursor: text; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.side-search:hover { border-color: rgba(var(--a), .35); }
.side-search:focus-within { border-color: var(--accent); background: rgba(8, 6, 15, .6); box-shadow: 0 0 0 3px rgba(var(--a), .18); }
.side-search .i { width: 16px; height: 16px; color: var(--muted); }
.side-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: .86rem; }
.side-search input::-webkit-search-cancel-button { display: none; }
.side-search kbd { font: 800 .66rem var(--font); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); background: rgba(255,255,255,.04); }
.side-search:focus-within kbd { display: none; }
body.in-admin .side-search { display: none; }

/* grupurile din meniu */
.sidebar .side-nav { padding: 4px 12px 12px; gap: 2px; }
.ngroup { --gc: var(--accent); margin-bottom: 4px; }
.ngroup__h {
  width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px 7px; border: 0; border-radius: 10px; cursor: pointer;
  background: none; color: #8d87a8; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  transition: color .15s ease, background-color .15s ease;
}
.ngroup__h:hover { color: #fff; background: rgba(255,255,255,.03); }
.ngroup__dot { width: 8px; height: 8px; border-radius: 3px; background: var(--gc); box-shadow: 0 0 10px var(--gc); }
.ngroup__chev { width: 14px !important; height: 14px !important; margin-left: auto; transition: transform .22s ease; }
.ngroup.is-closed .ngroup__chev { transform: rotate(-90deg); }
.ngroup__items { display: grid; gap: 2px; animation: fadeIn .2s ease; }
.ngroup.is-closed .ngroup__items { display: none; }
#navMain.is-searching .ngroup.is-closed .ngroup__items { display: grid; }
.ngroup.is-empty { display: none; }
.sidebar .side-nav a.is-filtered { display: none !important; }
.side-noresult { padding: 14px 10px; text-align: center; color: var(--muted); font-size: .84rem; font-weight: 700; }
.sidebar .side-staff { margin: 0 0 4px; padding: 0; border: 0; gap: 0; }

/* linkurile din meniu */
.sidebar .side-nav a {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 5px 10px 5px 5px; border-radius: 12px;
  border: 1px solid transparent; font-size: .9rem; font-weight: 600; color: #cfc9e6;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.sidebar .side-nav a .i {
  width: 30px; height: 30px; padding: 7px; border-radius: 9px; opacity: 1; flex: none;
  color: var(--gc, var(--accent)); background: color-mix(in srgb, var(--gc, var(--accent)) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--gc, var(--accent)) 28%, transparent);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .18s ease, color .18s ease;
}
.sidebar .side-nav a:hover { color: #fff; background: rgba(255,255,255,.045); transform: translateX(3px); }
.sidebar .side-nav a:hover .i { transform: scale(1.08) rotate(-6deg); }
.sidebar .side-nav a.is-active {
  color: #fff; font-weight: 800;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gc, var(--accent)) 30%, transparent), color-mix(in srgb, var(--gc, var(--accent)) 5%, transparent));
  border-color: color-mix(in srgb, var(--gc, var(--accent)) 45%, transparent);
  box-shadow: 0 10px 26px -16px var(--gc, var(--accent));
}
.sidebar .side-nav a.is-active .i { color: #140f2e; background: var(--gc, var(--accent)); border-color: transparent; box-shadow: 0 6px 16px -6px var(--gc, var(--accent)); }
.sidebar .side-nav a.is-active::before {
  content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0;
  background: var(--gc, var(--accent)); box-shadow: 0 0 12px var(--gc, var(--accent));
}
.sidebar .side-nav .nav-tag { margin-left: auto; }

/* meniul de admin (tot în stânga) */
.sidebar .nav-admin { --gc: var(--accent); gap: 2px; }
.sidebar .nav-admin .side-label { display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px 10px 5px; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: #8d87a8; }
.sidebar .nav-admin .side-label::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: #ff6b81; box-shadow: 0 0 10px #ff6b81; }
.sidebar .nav-admin__back { margin: 2px 0 8px; padding: 9px 12px !important; border-radius: 12px; border: 1px dashed var(--line-2) !important; }
.sidebar .nav-admin__back .i { width: 18px !important; height: 18px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; color: inherit !important; }
.sidebar .nav-admin__title { border-radius: 16px; padding: 12px; background: radial-gradient(160px 80px at 0% 0%, rgba(255, 107, 129, .25), transparent 70%), linear-gradient(135deg, rgba(var(--a), .26), rgba(var(--a), .05)); border-color: rgba(var(--a), .4); }
.sidebar .nav-admin__badge { border-radius: 11px; background: linear-gradient(145deg, #ffb3bf, #ff6b81); }

/* jos: serverul + contul */
.sidebar .side-bottom { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }
.sidebar .ipbox { border-radius: 14px; padding: 10px 12px; background: linear-gradient(135deg, rgba(var(--a), .22), rgba(var(--a), .05)); border-color: rgba(var(--a), .35); transition: border-color .18s ease, transform .18s ease; }
.sidebar .ipbox:hover { transform: translateY(-1px); border-color: var(--accent); }

/* bara de sus: butoane rotunde */
.hdr { background: linear-gradient(180deg, rgba(16, 12, 26, .97), rgba(16, 12, 26, .92)); border-bottom: 1px solid rgba(var(--a), .2); }
.hdr__status, .hdr__ip, .hdr .lang, .hdr__me { border-radius: 999px !important; }
.hdr__ip { padding-right: 12px; }
.hdr__ipl { border-radius: 999px; }
.hdr .lang button { border-radius: 999px; }
.hdr__me .av { border-radius: 50%; }

/* taburile din zona staff: pastile cu iconiță */
.stabs { gap: 8px; padding: 0; margin: -6px 0 22px; background: none; border: 0; }
.stabs__i { gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.stabs__i .i { width: 28px; height: 28px; padding: 7px; border-radius: 50%; color: #ffb37a; background: rgba(255, 138, 61, .14); transition: background-color .18s ease, color .18s ease; }
.stabs__i:hover { color: #fff; border-color: rgba(255, 138, 61, .5); transform: translateY(-1px); background: rgba(255,255,255,.05); }
.stabs__i.is-on { color: #fff; background: linear-gradient(90deg, rgba(255, 138, 61, .28), rgba(var(--a), .18)); border-color: rgba(255, 138, 61, .6); box-shadow: 0 10px 24px -14px #ff8a3d; }
.stabs__i.is-on .i { color: #2a1200; background: #ff8a3d; }

/* categoriile din magazin și secțiunile de regulament */
.store-cats, .rules-nav { padding: 12px; }
.store-cats__i, .rules-nav__i { border: 1px solid transparent; padding: 7px 10px 7px 7px; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .2s ease; }
.store-cats__i:hover, .rules-nav__i:hover { transform: translateX(3px); }
.store-cats__i.is-on, .rules-nav__i.is-on { box-shadow: 0 10px 24px -16px var(--accent); border-color: rgba(var(--a), .5); background: linear-gradient(90deg, rgba(var(--a), .3), rgba(var(--a), .05)); }
.store-cats__ic, .rules-nav__ic { border-radius: 10px; border: 1px solid rgba(var(--a), .3); }
.store-cats__i.is-on .store-cats__ic, .rules-nav__i.is-on .rules-nav__ic { background: var(--accent); border-color: transparent; }
.store-cats__title { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: #8d87a8; }

/* butoanele de filtru: tot pastile */
.seg, .seg button { border-radius: 999px; }
.seg button[aria-pressed="true"] { background: linear-gradient(90deg, rgba(var(--a), .45), rgba(var(--a), .25)); box-shadow: 0 6px 16px -10px var(--accent); }

/* telefon */
@media (max-width: 980px) {
  .topbar { background: rgba(14, 10, 22, .97); border-bottom: 1px solid rgba(var(--a), .2); }
  .topbar .icon-btn { border-radius: 12px; }
  .sidebar { border-radius: 0 22px 22px 0; }
}

/* ================= site blocat de mentenanță (văzut de staff) ================= */
.mbanner--lock {
  position: relative; overflow: hidden; padding-top: 20px;
  background: linear-gradient(90deg, rgba(255, 107, 129, .18), rgba(255, 200, 87, .1) 70%), #1a1218;
  border-color: rgba(255, 140, 110, .6); color: #ffe1d6;
}
.mbanner--lock::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(135deg, #ffc857 0 12px, #1a1218 12px 24px);
}
.mbanner--lock .i { color: #ff8a8a; }
body.is-maint-locked .hdr { box-shadow: inset 0 -3px 0 #ffc857; }
body.is-maint-locked .hdr__status::after { content: "MENTENANȚĂ"; margin-left: 6px; padding: 2px 7px; border-radius: 6px; font-size: .64rem; font-weight: 900; letter-spacing: .06em; background: #ffc857; color: #2a1d00; }
body.is-maint-locked .side-brand { position: relative; }
body.is-maint-locked .side-brand::before { content: "🔒 MENTENANȚĂ"; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 2px 8px; border-radius: 6px; font-size: .62rem; font-weight: 900; letter-spacing: .06em; white-space: nowrap; background: #ffc857; color: #2a1d00; }
body.is-maint-locked .topbar { box-shadow: inset 0 -3px 0 #ffc857; }

/* ================= entries staff ================= */
.sotw {
  --rc: #ffd166;
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  margin-bottom: 18px; padding: 22px 28px; border-radius: 24px;
  background:
    radial-gradient(420px 260px at 8% 60%, color-mix(in srgb, var(--rc) 35%, transparent), transparent 70%),
    radial-gradient(500px 260px at 100% 0%, rgba(255, 209, 102, .2), transparent 70%),
    linear-gradient(135deg, #1d1630, #120e1c);
  border: 1px solid rgba(255, 209, 102, .55);
  box-shadow: 0 30px 70px -40px rgba(255, 209, 102, .7);
}
.sotw::after { content: "🏆"; position: absolute; right: 22px; bottom: -18px; font-size: 7rem; opacity: .1; pointer-events: none; }
.sotw__skin { flex: none; display: grid; place-items: end center; height: 200px; }
.sotw__skin img { height: 190px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 16px 18px rgba(0,0,0,.5)); animation: float 5s ease-in-out infinite; }
.sotw__t { flex: 1; min-width: 240px; display: grid; gap: 8px; justify-items: start; }
.sotw__t .eyebrow { color: #ffd166; margin: 0; }
.sotw__t h2 { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1.05 var(--num); letter-spacing: -.03em; background: linear-gradient(100deg, #fff 30%, #ffe39a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sotw__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.sotw__why { color: #e2def5; }
.sotw__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.entchip { --sc: var(--accent); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; font-size: .82rem; font-weight: 700; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent); }
.entchip b { color: #fff; }
.sotw__rest { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; min-width: 220px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line-2); }
.sotw__rest li { display: flex; align-items: center; gap: 10px; }
.sotw__rest .av { width: 30px; height: 30px; border-radius: 8px; }
.sotw__rest span:last-child { display: grid; line-height: 1.25; }
.sotw__rest small { font-size: .75rem; }
.sotw--empty { border-color: var(--line-2); box-shadow: none; }

.enttot { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 12px; margin-bottom: 6px; }
.enttot__i { --sc: var(--accent); display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-color: color-mix(in srgb, var(--sc) 35%, var(--line-2)); }
.enttot__i small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.enttot__i strong { display: block; font: 800 1.8rem/1.1 var(--num); }
.enttot__i--all { background: linear-gradient(135deg, rgba(var(--a), .22), rgba(var(--a), .04) 65%); border-color: rgba(var(--a), .5); }
.enttot__ic { --sc: var(--accent); display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; color: var(--sc); background: color-mix(in srgb, var(--sc) 15%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent); }
.entconsole { display: flex; align-items: center; gap: 6px; margin-top: 8px; }

.enttop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.enttop__c { --sc: var(--accent); padding: 16px; border-color: color-mix(in srgb, var(--sc) 30%, var(--line-2)); }
.enttop__c header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.enttop__c header .enttot__ic { width: 38px; height: 38px; border-radius: 11px; }
.enttop__c h3 { font-size: 1rem; font-weight: 800; }
.enttop__c ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.enttop__c li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 11px; background: rgba(255,255,255,.03); }
.enttop__c li .av { width: 26px; height: 26px; border-radius: 7px; }
.enttop__c li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.enttop__c li em { font-style: normal; font: 800 .95rem var(--num); color: var(--sc); }

.entwho { display: flex; align-items: center; gap: 10px; }
.entwho .av { border-radius: 8px; }
.entwho__t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.entwho__t .plink { border: 0; }
.entwho__t .badge { font-size: .7rem; padding: 1px 8px; }
.enttable tr.is-me td { background: rgba(var(--a), .08); }
.entbar { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.entbar span { display: block; height: 8px; min-width: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-3), var(--accent), #ff9ce6); box-shadow: 0 0 10px rgba(var(--a), .6); }
.entbar b { font-variant-numeric: tabular-nums; }

@media (max-width: 1280px) {
  .enttot { grid-template-columns: repeat(3, 1fr); }
  .enttot__i--all { grid-column: 1 / -1; }
  .enttop { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sotw { padding: 18px; gap: 14px; }
  .sotw__skin { height: 150px; }
  .sotw__skin img { height: 140px; }
  .sotw__rest { width: 100%; }
  .enttot { grid-template-columns: 1fr 1fr; }
  .enttop { grid-template-columns: 1fr; }
}

@media (max-width: 1500px) {
  .calweek { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .calweek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .calweek { grid-template-columns: 1fr; }
  .calnext { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   MAGAZIN v4: meniul de categorii ca butonul „Acasă”
   ========================================================= */
.scat__grp { position: relative; }
.scat__i { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 64px; padding: 10px 12px 10px 10px; gap: 0; background: #1b1526; }
.scat__img {
  width: 44px; height: 44px; align-self: center; border-radius: 13px; border: 0; font-size: 1.35rem; overflow: hidden;
  background: rgba(255,255,255,.06); transition: background-color .2s ease, box-shadow .2s ease;
}
.scat__img .ic-img { width: 34px; height: 34px; object-fit: contain; filter: none; }
.scat__img.has-img { background: rgba(255,255,255,.06); }
.scat__n { padding: 0 10px 0 14px; font-size: 1rem; }
.scat__i em, .scat__chev { margin-right: 4px; }
.scat__i.is-on { border-color: rgba(255, 138, 61, .55); background: linear-gradient(90deg, rgba(255, 138, 61, .16), #1b1526 70%); }
.scat__i.is-on .scat__img { background: linear-gradient(135deg, #ff8a3d, #ff5e3a); box-shadow: 0 8px 20px -8px #ff8a3d; }
.scat__i.is-on .scat__img.has-img { background: linear-gradient(135deg, rgba(255, 138, 61, .55), rgba(255, 94, 58, .35)); }
.scat__i.is-on::before { display: none; }
.scat__edit {
  position: absolute; top: 8px; right: 44px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; cursor: pointer;
  color: #fff; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.15); opacity: 0; transition: opacity .15s ease, background-color .15s ease;
}
.scat__grp:hover .scat__edit, .scat__edit:focus-visible { opacity: 1; }
.scat__edit:hover { background: var(--accent-3); }
@media (hover: none) { .scat__edit { opacity: .8; } }
@media (max-width: 1100px) {
  .scat__i { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 58px; }
  .scat__img { font-size: 1.2rem; }
  .scat__img .ic-img { width: 30px; height: 30px; }
}
.cmp-opt { display: grid; gap: 6px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(74, 222, 128, .06); border: 1px solid rgba(74, 222, 128, .3); }
.cmp-opt small { color: var(--muted); font-size: .8rem; line-height: 1.45; }

/* tabelul de grade, ca în poză */
.ctab-wrap { overflow-x: auto; padding: 0; margin-bottom: 24px; border-radius: 20px; background: #15111d; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 24px 50px -34px rgba(0,0,0,.9); }
.ctab { min-width: 620px; table-layout: fixed; }
.ctab th, .ctab td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.ctab th + th, .ctab td + td { border-left: 1px solid rgba(255,255,255,.05); }
.ctab thead th { background: #1a1524; border-bottom: 0; }
.ctab__corner { width: 26%; text-align: center !important; vertical-align: middle !important; }
.ctab__corner b { display: block; margin-top: 6px; font-size: .9rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #a855f7; }
.ctab__star svg { width: 54px; height: 54px; fill: #9333ea; stroke: #a855f7; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 16px rgba(168, 85, 247, .45)); }
.ctab__star svg path + path { fill: none; stroke: #9333ea; stroke-width: 2.2; }
.ctab__p { padding: 18px 16px 16px !important; background: #1a1524 !important; }
.ctab__img { width: 84px; height: 84px; font-size: 2.6rem; }
.ctab__img .ic-img { width: 78px; height: 78px; }
.ctab__name { margin-top: 4px !important; font-size: 1.05rem; color: #fff; }
.ctab__price { color: #a855f7; font-size: .8rem; font-weight: 900; }
.ctab__buy {
  display: flex !important; justify-content: center; width: 100%; max-width: 190px; margin: 12px auto 0 !important; padding: 10px 12px; border-radius: 8px;
  font-size: .84rem; color: #fff; background: #3fae5a; box-shadow: 0 8px 18px -10px #3fae5a;
}
.ctab__buy:hover:not(:disabled) { background: #48c264; filter: none; }
.ctab__sec td { padding: 16px; background: #15111d; border-bottom: 0; }
.ctab__sec span { font-size: 1rem; font-weight: 800; text-transform: none; letter-spacing: 0; color: #fff; }
.ctab tbody tr:not(.ctab__sec) td { background: #120e19; }
.ctab tbody tr:not(.ctab__sec):nth-child(odd) td { background: #15111d; }
.ctab tbody tr:not(.ctab__sec):hover td { background: #1c1727; }
.ctab__f { font-size: .86rem; font-weight: 800; color: #e8e4f8; }
.ctab__q {
  float: right; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 8px; border-radius: 50%;
  font-size: .68rem; font-weight: 900; color: #15111d; background: #6b6680; cursor: help; position: relative;
}
.ctab__q.is-empty { visibility: hidden; }
.ctab__q[data-tip]:hover::after, .ctab__q[data-tip]:focus::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); z-index: 5; width: max-content; max-width: 240px;
  padding: 8px 10px; border-radius: 10px; font-size: .78rem; font-weight: 600; line-height: 1.4; text-align: left; white-space: normal; color: #fff; background: #2a2338; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 30px -12px #000;
}
.ctab__ic { width: 22px; height: 22px; background: none !important; border-radius: 50%; }
.ctab__ic svg { width: 22px; height: 22px; }
.ctab__c.is-yes .ctab__ic svg circle { fill: #3fae5a; stroke: none; }
.ctab__c.is-no .ctab__ic svg circle { fill: #e5484d; stroke: none; }
.ctab__ic svg path { fill: none; stroke: #120e19; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ctab__tag { min-width: 90%; max-width: 160px; padding: 5px 10px; border-radius: 2px; font-size: .82rem; font-weight: 700; color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, transparent); border: 2px solid color-mix(in srgb, var(--tc) 75%, transparent); }

/* =========================================================
   PERFORMANȚĂ: site mai fluid (fără blur peste animații, fără repaint la scroll)
   ========================================================= */
body { background: var(--bg); background-attachment: scroll; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 600px at 20% -10%, rgba(var(--a), .16), transparent 60%), radial-gradient(900px 700px at 105% 110%, rgba(var(--a), .22), transparent 60%);
}
.sidebar, .hdr, .topbar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.hdr { background: #110d1b !important; }
#view { animation-duration: .2s; }
/* strălucirile animate cu blur se refac la fiecare cadru — le lăsăm statice */
.rcard__glow { animation: none; filter: none; opacity: .55; }
.rcard__ring { animation: none; }
.rcard.is-popular::before { animation: none; background: linear-gradient(135deg, var(--pc), #ffd166 45%, var(--pc)); }
.rcard__name { filter: none; text-shadow: none; }
.rank-card__img::before, .rank-card__img::after { animation: none !important; }
.rcard:hover { will-change: transform; }
.stock--low, .nav-badge { animation: none; }

/* =========================================================
   MAGAZIN: hero mai „smecher” + top susținător + plăți recente
   ========================================================= */
.store-hero--v2 {
  padding: 34px 34px; border-radius: 26px; isolation: isolate;
  background:
    radial-gradient(520px 280px at 0% 0%, rgba(var(--a), .45), transparent 70%),
    radial-gradient(420px 260px at 100% 0%, rgba(255, 138, 61, .22), transparent 70%),
    radial-gradient(500px 240px at 80% 120%, rgba(255, 85, 255, .18), transparent 70%),
    linear-gradient(135deg, #1a1330, #110d1b);
  box-shadow: 0 30px 70px -40px rgba(var(--a), .8), inset 0 1px 0 rgba(255,255,255,.08);
}
.store-hero--v2::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask: linear-gradient(90deg, #000, transparent 70%); mask: linear-gradient(90deg, #000, transparent 70%);
}
.store-hero__deco { position: absolute; right: 30%; top: -30px; z-index: -1; opacity: .08; transform: rotate(-14deg); pointer-events: none; }
.store-hero__deco .i { width: 220px; height: 220px; stroke-width: 1.2; }
.store-hero--v2 h1 { font: 800 clamp(2.2rem, 4.5vw, 3.2rem)/1.05 var(--num); letter-spacing: -.04em; }
.store-hero__grad { background: linear-gradient(100deg, #fff 20%, var(--accent-2) 55%, #ffb37a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.store-hero--v2 .store-hero__me { background: rgba(0,0,0,.35); border-color: rgba(var(--a), .35); border-radius: 20px; padding: 16px 20px; }
.sgoal { margin-top: 18px; max-width: 460px; }
.sgoal__t { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: .84rem; }
.sgoal__t b { display: inline-flex; align-items: center; gap: 6px; }
.sgoal__t b .i { color: #ffd166; }
.sgoal__t span { font-weight: 900; color: #ffd166; }
.sgoal__bar { height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06); }
.sgoal__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ffd166); box-shadow: 0 0 14px rgba(255, 209, 102, .6); }

/* căutare în magazin */
.ssearch { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 0 14px; height: 52px; border-radius: 16px; cursor: text; background: #17121f; border: 1px solid var(--line-2); transition: border-color .15s ease, box-shadow .15s ease; }
.ssearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--a), .15); }
.ssearch .i { color: var(--accent-2); flex: none; }
.ssearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: .98rem; }
.ssearch input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.ssearch kbd { padding: 2px 8px; border-radius: 7px; font: 700 .76rem var(--font); color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }

/* întrebări frecvente */
.sfaq { display: grid; gap: 10px; margin-bottom: 24px; }
.sfaq__i { border-radius: 16px; background: #17121f; border: 1px solid var(--line-2); transition: border-color .15s ease; }
.sfaq__i[open] { border-color: rgba(var(--a), .45); background: linear-gradient(180deg, rgba(var(--a), .08), #17121f); }
.sfaq__i summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 800; }
.sfaq__i summary::-webkit-details-marker { display: none; }
.sfaq__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; font-size: 1.1rem; background: rgba(255,255,255,.05); }
.sfaq__chev { margin-left: auto; display: grid; color: var(--muted); transition: transform .2s ease; }
.sfaq__i[open] .sfaq__chev { transform: rotate(180deg); color: var(--accent-2); }
.sfaq__i p { margin: 0; padding: 0 16px 16px 64px; color: #cfc9e6; font-size: .92rem; line-height: 1.55; }

/* „X a cumpărat Y” jos în stânga */
.spop {
  position: fixed; left: 20px; bottom: 20px; z-index: 120; display: flex; align-items: center; gap: 12px; max-width: min(340px, calc(100vw - 40px));
  padding: 10px 16px 10px 10px; border-radius: 16px; font-size: .86rem; line-height: 1.35; pointer-events: none;
  background: #1b1526; border: 1px solid rgba(255, 209, 102, .3); box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(16px);
}
.spop.is-on { animation: spopIn 6s ease forwards; }
@keyframes spopIn { 0% { opacity: 0; transform: translateY(16px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(16px); } }
.spop img { width: 40px; height: 40px; border-radius: 10px; image-rendering: pixelated; flex: none; }
.spop b { color: #ffd166; }
.spop small { display: block; color: var(--muted); font-size: .74rem; }
@media (max-width: 860px) { .spop { left: 12px; bottom: 12px; } }
.confetti { position: fixed; inset: 0; z-index: 400; pointer-events: none; }

/* =========================================================
   MAGAZIN v5: dorințe, linkuri, preț/zi, previzualizare, sortare,
   statistici, nivel susținător, cadouri, reducere cu countdown
   ========================================================= */
.rcard__tools { position: absolute !important; top: 12px; left: 12px; z-index: 4 !important; display: flex; flex-direction: column; gap: 6px; }
.rtool { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; font-size: 1rem; line-height: 1; color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); opacity: .75; transition: opacity .15s ease, background-color .15s ease, transform .15s ease; }
.rtool:hover { opacity: 1; transform: scale(1.08); background: var(--accent-3); }
.rtool--wish.is-on { opacity: 1; color: #ff5e9a; background: rgba(255, 94, 154, .18); border-color: rgba(255, 94, 154, .55); }
.rtool--wish.is-on:hover { background: rgba(255, 94, 154, .3); }
.rcard__prev { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 16px 10px; padding: 9px; border-radius: 12px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 800; color: #cfc9e6; background: rgba(255,255,255,.04); border: 1px dashed color-mix(in srgb, var(--pc) 45%, transparent); transition: background-color .15s ease, color .15s ease; }
.rcard__prev:hover { color: #fff; background: color-mix(in srgb, var(--pc) 16%, transparent); }
.rcard.is-flash { animation: rcFlash 1.2s ease 2; }
@keyframes rcFlash { 50% { box-shadow: 0 0 0 4px var(--pc), 0 30px 70px -20px var(--pc); } }

.store-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ssort { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px 0 12px; height: 42px; border-radius: 12px; background: #17121f; border: 1px solid var(--line-2); color: var(--accent-2); }
.ssort select { height: 100%; border: 0; outline: 0; background: none; color: #fff; font-weight: 700; font-size: .86rem; cursor: pointer; }
.ssort select option { background: #17121f; }

.sstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.sstat { display: grid; justify-items: center; gap: 2px; padding: 14px 10px; border-radius: 16px; text-align: center; background: #17121f; border: 1px solid var(--line-2); }
.sstat span { font-size: 1.3rem; }
.sstat b { font: 800 1.4rem var(--num); }
.sstat small { color: var(--muted); font-size: .76rem; }
@media (max-width: 640px) { .sstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tierc { --tc: var(--accent); display: grid; gap: 14px; padding: 18px 20px; margin-bottom: 18px; background: radial-gradient(420px 180px at 0% 0%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 70%), #15111d; border-color: color-mix(in srgb, var(--tc) 40%, transparent); }
.tierc__me { display: flex; align-items: center; gap: 14px; }
.tierc__medal { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 18px; font-size: 1.9rem; background: color-mix(in srgb, var(--tc) 18%, rgba(0,0,0,.3)); border: 1px solid color-mix(in srgb, var(--tc) 50%, transparent); }
.tierc__me small { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tierc__me > div > b { display: block; font: 800 1.35rem var(--num); color: var(--tc); }
.tierc__me span { font-size: .84rem; color: #cfc9e6; }
.tierc__bar { height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.07); }
.tierc__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tc), #fff); }
.tierc__prog p { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
.tierc__prog b { color: #fff; }
.tierc__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tierc__s { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; font-size: 1.2rem; background: rgba(255,255,255,.03); border: 1px solid var(--line); filter: grayscale(1); opacity: .5; }
.tierc__s small { font-size: .66rem; font-weight: 800; color: var(--muted); }
.tierc__s.is-on { filter: none; opacity: 1; border-color: color-mix(in srgb, var(--sc) 55%, transparent); background: color-mix(in srgb, var(--sc) 12%, transparent); }
.tierc__s.is-on small { color: var(--sc); }
.tierc__note { margin: 0; font-size: .76rem; color: var(--muted); }

.nextr { --pc: var(--accent); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 18px; border-radius: 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 16%, #17121f), #120e19 70%); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); }
.nextr__ic { display: grid; place-items: center; width: 62px; height: 62px; flex: none; font-size: 2rem; }
.nextr__ic .ic-img { width: 58px; height: 58px; object-fit: contain; }
.nextr__t { display: grid; gap: 2px; flex: 1; min-width: 160px; }
.nextr__t small { font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #4ade80; }
.nextr__t b { font-size: 1.2rem; font-weight: 900; color: color-mix(in srgb, var(--pc) 55%, #fff); }
.nextr__t span { font-size: .84rem; color: var(--muted); }
.nextr__a { display: flex; gap: 8px; flex-wrap: wrap; }

.minirow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.minip { --pc: var(--accent); display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; cursor: pointer; text-align: left; font: inherit; color: #fff; background: #17121f; border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent); transition: transform .15s ease, border-color .15s ease; }
.minip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--pc) 70%, transparent); }
.minip__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; font-size: 1.4rem; background: color-mix(in srgb, var(--pc) 16%, transparent); }
.minip__ic .ic-img { width: 36px; height: 36px; object-fit: contain; }
.minip__t { display: grid; min-width: 0; flex: 1; }
.minip__t b { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.minip__t small { color: #ffd166; font-weight: 800; }
.minip__go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--accent-2); background: rgba(var(--a), .14); }

/* previzualizare în joc */
.mcprev { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 12px; }
.mcprev__skin { position: relative; display: grid; justify-items: center; padding-top: 34px; border-radius: 16px; background: linear-gradient(180deg, #6fb6ff 0%, #a8d8ff 60%, #5a9e3a 60%, #3f7d2b 100%); overflow: hidden; }
.mcprev__skin img { height: 200px; width: auto; image-rendering: pixelated; }
.mcprev__tag { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 2px 6px; font: 700 .72rem/1.3 ui-monospace, Consolas, monospace; background: rgba(0,0,0,.45); }
.mcprev__h { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mcchat, .mctab { margin-bottom: 14px; padding: 10px 12px; border-radius: 8px; font: 600 .86rem/1.55 ui-monospace, Consolas, monospace; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); }
.mcchat__l { margin: 0; text-shadow: 2px 2px 0 rgba(0,0,0,.6); }
.mcmsg { color: #fff; }
.mcjoin { color: #ffff55; }
.mctab { padding: 6px 8px; }
.mctab__h { margin: 0 0 6px; text-align: center; color: #ffaa00; font-weight: 800; letter-spacing: .1em; }
.mctab__r { display: flex; align-items: center; gap: 6px; margin: 0; padding: 3px 6px; background: rgba(255,255,255,.08); }
.mctab__r + .mctab__r { margin-top: 2px; }
.mctab__r img { image-rendering: pixelated; }
.mctab__r.is-dim { color: #aaa; }
.mctab__ping { margin-left: auto; width: 14px; height: 10px; background: linear-gradient(90deg, #55ff55 0 20%, transparent 20% 27%, #55ff55 27% 47%, transparent 47% 54%, #55ff55 54% 74%, transparent 74% 81%, #55ff55 81%); }
@media (max-width: 560px) { .mcprev { grid-template-columns: 1fr; } }

/* cadou */
.giftb { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 94, 154, .06); border: 1px dashed rgba(255, 94, 154, .4); }
.giftb__in { margin-top: 10px; }

/* reducere cu numărătoare */
.mcount--sale { display: flex; gap: 6px; margin-left: auto; }
.mcount--sale .mcount__b { display: grid; justify-items: center; min-width: 54px; padding: 6px 8px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); }
.mcount--sale .mcount__b b { font: 800 1.25rem var(--num); }
.mcount--sale .mcount__b small { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.sale-banner { flex-wrap: wrap; }

/* profil: link + vizite + realizări */
.pshare { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pviews { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--muted); }

/* =========================================================
   Plăți online + profil v3
   ========================================================= */
.paymsg { margin-bottom: 18px; padding: 16px 20px; border-radius: 18px; border: 1px solid; }
.paymsg b { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.paymsg p { margin: 0; font-size: .9rem; color: #d8d3ee; }
.paymsg--ok { background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .45); }
.paymsg--ok b { color: #4ade80; }
.paymsg--warn { background: rgba(255, 209, 102, .08); border-color: rgba(255, 209, 102, .4); }
.paymsg--warn b { color: #ffd166; }
.paymsg--err { background: rgba(255, 107, 129, .08); border-color: rgba(255, 107, 129, .45); }
.paymsg--err b { color: #ff6b81; }
.method--pay span b { color: #fff; }
.method--pay:has(input:checked) { border-color: #4ade80; }
.payfs { display: grid; gap: 14px; margin: 0; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.payfs legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 800; }
.psteps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pstep { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.55; }
.pstep__n { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; font-weight: 900; color: #140f2e; background: var(--accent); }

.pexp { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; border-radius: 999px; font-size: .84rem; color: #ffd166; background: rgba(255, 209, 102, .08); border: 1px solid rgba(255, 209, 102, .3); }
.pplat { padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.pplat--java { color: #ffb37a; background: rgba(248, 152, 32, .12); border: 1px solid rgba(248, 152, 32, .35); }
.pplat--bedrock { color: #4ade80; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .35); }
.psum { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.psum__t { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; border-radius: 16px; text-align: center; background: #17121f; border: 1px solid var(--line-2); min-width: 0; }
.psum__t span { font-size: 1.3rem; }
.psum__t b { font: 800 1.15rem var(--num); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psum__t small { font-size: .74rem; color: var(--muted); }
@media (max-width: 1000px) { .psum { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .psum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pcmp__who { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pcmp__who span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pcmp__who span:last-child { flex-direction: row-reverse; }
.pcmp__who .av { border-radius: 10px; }
.pcmp__who em { font: 800 1.1rem var(--num); font-style: normal; color: #ff8a3d; }
.pcmp__r { margin-bottom: 12px; }
.pcmp__r p { margin: 0 0 4px; text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.pcmp__bars { display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; align-items: center; gap: 10px; }
.pcmp__bars b { font-size: .9rem; color: #cfc9e6; }
.pcmp__bars b:last-child { text-align: right; }
.pcmp__bars b.is-win { color: #4ade80; }
.pcmp__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.06); }
.pcmp__a { background: var(--accent); }
.pcmp__b { margin-left: auto; background: #ff8a3d; }
.pcmp__score { margin: 6px 0 0; padding: 10px; border-radius: 12px; text-align: center; font-weight: 900; background: rgba(var(--a), .12); }

/* versiunea fișierului: app.js o verifică și avertizează adminul dacă pe server e un style.css vechi */
:root { --bape-css: 68; }

/* ---- gradele cu gradient, peste tot (badge-uri, chat, liste) ---- */
.rgrad { font-weight: 900; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.rgrad .mc-b { font-weight: 900; }
.badge--grad { background: rgba(0,0,0,.45) !important; border-color: color-mix(in srgb, var(--bc) 45%, transparent) !important; }
.badge--grad .rgrad { color: inherit; }

/* ---- profil: gradientul gradului ---- */
.pnametag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 6px 12px; border-radius: 8px; font: 700 1rem/1.2 ui-monospace, Consolas, monospace;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); text-shadow: 2px 2px 0 rgba(0,0,0,.6); }
.pnametag__pre { font-size: 1.05rem; }
.pname--grad { background: var(--pg); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 22px rgba(0,0,0,.35)); }
/* rama skin-ului în culorile gradientului */
.skin--grad { position: relative; border: 0; }
.skin--grad::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; background: var(--pg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.skin--grad::after { content: ""; position: absolute; inset: 20% 10% auto; height: 50%; z-index: 0; border-radius: 50%; pointer-events: none; background: var(--pg); filter: blur(50px); opacity: .35; }
.skin--grad img, .skin--grad canvas { position: relative; z-index: 1; }
.pchip .pchip__t span { text-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* ---- editorul de gradient pentru grade ---- */
.gbuild { display: grid; gap: 12px; margin-bottom: 4px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, rgba(var(--a), .12), rgba(255,255,255,.02)); border: 1px solid rgba(var(--a), .3); }
.gbuild__h { display: grid; gap: 2px; }
.gbuild__h b { font-size: 1rem; }
.gbuild__h small { font-size: .8rem; color: var(--muted); }
.gbuild__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: end; }
.gbuild__cols { display: grid; gap: 8px; }
.gbuild__cols > span { font-weight: 700; font-size: .92rem; color: #d8d3ee; }
.gbuild__cols > div { display: flex; align-items: center; gap: 6px; }
.gbc { width: 48px; height: 44px; padding: 4px; border-radius: 12px; cursor: pointer; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); }
.gbc:disabled { opacity: .3; cursor: not-allowed; }
.gbuild__c3 { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); cursor: pointer; }
.gbuild__bold { margin-bottom: 10px; }
.gbuild__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.gbuild__p { padding: 6px 12px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 800; color: #fff; border: 1px solid rgba(255,255,255,.25); text-shadow: 0 1px 3px rgba(0,0,0,.7); transition: transform .15s ease; }
.gbuild__p:hover { transform: translateY(-2px); }
.gbuild__prev { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 58px; padding: 14px 16px; border-radius: 10px; font: 600 1.15rem/1.3 ui-monospace, Consolas, monospace; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); text-shadow: 2px 2px 0 rgba(0,0,0,.6); }
.gbuild__live { font-size: 1.25rem; }
.gbuild__name { color: #ff5555; }
.gbuild__msg { color: #fff; }
.gbuild > .btn { justify-self: start; }
.gbuild__copy summary { cursor: pointer; font-size: .86rem; font-weight: 800; color: var(--accent-2); }
.gbuild__copy[open] { display: grid; gap: 10px; }
.gbuild__copy input { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; }
@media (max-width: 700px) { .gbuild__row { grid-template-columns: 1fr; } }

/* ---- Magazin: carduri mari de categorie (Acasă) ---- */
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-bottom: 22px; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(320px 160px at 0% 0%, rgba(var(--a), .22), transparent 70%), linear-gradient(170deg, #1b1526, #13101b);
  border: 1px solid rgba(255,255,255,.08); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ccard:hover { transform: translateY(-4px); border-color: rgba(var(--a), .55); box-shadow: 0 24px 50px -30px var(--accent); }
.ccard__top { display: flex; align-items: flex-start; gap: 14px; }
.ccard__img { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 20px; font-size: 2.4rem; background: radial-gradient(circle at 50% 55%, rgba(var(--a), .3), rgba(255,255,255,.03)); border: 1px solid rgba(var(--a), .3); }
.ccard__img .ic-img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); transition: transform .3s ease; }
.ccard:hover .ccard__img .ic-img { transform: scale(1.08) rotate(-5deg); }
.ccard__t { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ccard__t h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.ccard__t p { margin: 0; font-size: .84rem; line-height: 1.45; color: #cfc9e6; }
.ccard__sale { flex: none; padding: 4px 10px; border-radius: 10px; font-size: .74rem; font-weight: 900; color: #fff; background: linear-gradient(135deg, #ff4d6d, #ff8a3d); transform: rotate(3deg); }
.ccard__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ccard__stats > div { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); min-width: 0; }
.ccard__stats small { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ccard__stats b { font-size: .95rem; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard__stats b.is-warn { color: #ffb454; }
.ccard__pop { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; font-size: .84rem; background: linear-gradient(90deg, rgba(255, 209, 102, .14), rgba(255, 138, 61, .06)); border: 1px solid rgba(255, 209, 102, .3); }
.ccard__pop span { color: var(--muted); }
.ccard__pop b { flex: 1; min-width: 0; color: #ffd166; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard__pop em { font-style: normal; font-weight: 800; }
.ccard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ccard__list li { --pc: var(--accent); display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: .86rem; background: rgba(255,255,255,.025); }
.ccard__pic { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; font-size: .9rem; background: color-mix(in srgb, var(--pc) 18%, transparent); }
.ccard__pic .ic-img { width: 20px; height: 20px; object-fit: contain; }
.ccard__pn { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard__low { font-style: normal; font-size: .68rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; color: #ffb454; background: rgba(255, 180, 84, .12); }
.ccard__list b { font-size: .84rem; color: #ffd166; white-space: nowrap; }
.ccard__more { justify-content: center; font-size: .78rem !important; color: var(--muted); background: none !important; }
.ccard__empty { margin: 0; font-size: .84rem; color: var(--muted); }
.ccard__subs { display: flex; flex-wrap: wrap; gap: 6px; }
.ccard__subs span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #cfc9e6; background: rgba(var(--a), .1); border: 1px solid rgba(var(--a), .25); }
.ccard__subs .ic-img { width: 14px; height: 14px; object-fit: contain; }
.ccard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: .86rem; font-weight: 800; color: var(--accent-2); }
.ccard:hover .ccard__go { color: #fff; }
.store-main .sec-title--top { margin-top: 0; }

/* ---- Magazin: cardul „Magazin” mic, în coloana din stânga, deasupra categoriilor ---- */
.smini { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 10px; padding: 16px; border-radius: 20px;
  background: radial-gradient(240px 140px at 0% 0%, rgba(var(--a), .4), transparent 70%), radial-gradient(200px 140px at 100% 100%, rgba(255, 138, 61, .18), transparent 70%), linear-gradient(160deg, #1b1430, #120e1b);
  border: 1px solid rgba(var(--a), .35); box-shadow: 0 20px 40px -30px rgba(var(--a), .9); }
.smini__deco { position: absolute; right: -18px; top: -18px; z-index: -1; opacity: .08; transform: rotate(-14deg); pointer-events: none; }
.smini__deco .i { width: 120px; height: 120px; }
.smini__eye { margin: 0; font-size: .66rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.smini__t { margin: -4px 0 0; font: 800 1.8rem/1 var(--num); letter-spacing: -.04em; }
.smini__note { margin: 0; font-size: .8rem; line-height: 1.45; color: #cfc9e6; }
.smini__me { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(var(--a), .3); }
.smini__me .av { border-radius: 9px; }
.smini__me > div { display: grid; flex: 1; min-width: 0; line-height: 1.15; }
.smini__me small { font-size: .66rem; color: var(--muted); }
.smini__me b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smini__me > span { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 800; color: #ffd166; white-space: nowrap; }
.smini__goal { margin: 0; max-width: none; }
.smini__goal .sgoal__t { font-size: .76rem; }
.smini__goal .sgoal__bar { height: 8px; }
.smini__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.smini__tags span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; color: #cfc9e6; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.smini__tags .i { width: 12px; height: 12px; color: #4ade80; }

/* =========================================================
   Hartă live: pagina + bannerul de pe panou
   ========================================================= */
.lmap { display: grid; gap: 16px; }
.lmap__h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lmap__t { display: flex; align-items: center; gap: 16px; min-width: 0; }
.lmap__ic { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 20px; font-size: 2rem; background: linear-gradient(135deg, rgba(74, 222, 128, .25), rgba(91, 157, 255, .2)); border: 1px solid rgba(74, 222, 128, .4); }
.lmap__eye { margin: 0; font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #4ade80; }
.lmap__t h1 { margin: 2px 0 4px; font: 800 clamp(1.8rem, 3vw, 2.4rem)/1.05 var(--num); letter-spacing: -.03em; }
.lmap__t p.muted { margin: 0; max-width: 640px; font-size: .92rem; }
.lmap__a { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lmap__live, .mapban__live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 900; letter-spacing: .1em; color: #ff6b81; background: rgba(255, 107, 129, .1); border: 1px solid rgba(255, 107, 129, .4); }
.lmap__live i, .mapban__live i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 10px #ff3b5c; animation: pulse 1.4s infinite; }
.lmap__frame { position: relative; height: min(76vh, 820px); min-height: 420px; border-radius: 24px; overflow: hidden; background: #0d0b13; border: 1px solid rgba(74, 222, 128, .3); box-shadow: 0 30px 70px -40px rgba(74, 222, 128, .6); }
.lmap__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lmap__frame:fullscreen { border-radius: 0; height: 100vh; }
.lmap__load { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; background: radial-gradient(circle at 50% 40%, #17221d, #0d0b13 70%); transition: opacity .4s ease, visibility .4s ease; }
.lmap__load.is-done { opacity: 0; visibility: hidden; }
.lmap__load small { max-width: 320px; color: var(--muted); font-size: .84rem; }
.lmap__load.is-slow small { color: #ffd166; font-weight: 700; }
.lmap__spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(74, 222, 128, .2); border-top-color: #4ade80; animation: spin .8s linear infinite; }
.lmap__tips { display: flex; flex-wrap: wrap; gap: 8px; }
.lmap__tips span { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #cfc9e6; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }

.mapban { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 22px; margin-bottom: 24px; padding: 20px 24px; border-radius: 24px;
  background: linear-gradient(110deg, rgba(74, 222, 128, .14), #15111d 55%); border: 1px solid rgba(74, 222, 128, .3); }
.mapban__art { position: relative; height: 120px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(74, 222, 128, .35);
  background: radial-gradient(circle at 30% 40%, #3f7d2b 0 18%, transparent 19%), radial-gradient(circle at 70% 65%, #2f6b8f 0 22%, transparent 23%), radial-gradient(circle at 75% 25%, #8a6a3a 0 10%, transparent 11%), linear-gradient(135deg, #2d5a27, #1f4220 50%, #23502a);
  image-rendering: pixelated; }
.mapban__art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.25) 1px, transparent 1px); background-size: 14px 14px; }
.mapban__p { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); animation: pulse 2s infinite; }
.mapban__p--1 { left: 25%; top: 30%; }
.mapban__p--2 { left: 62%; top: 58%; animation-delay: .6s; }
.mapban__p--3 { left: 78%; top: 22%; animation-delay: 1.2s; }
.mapban__pin { position: absolute; left: 44%; top: 26%; font-size: 1.6rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); animation: hwBob 3s ease-in-out infinite; }
.mapban__t { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.mapban__t h2 { margin: 0; font-size: 1.35rem; font-weight: 800; }
.mapban__t p { margin: 0; font-size: .9rem; color: #cfc9e6; }
.mapban__a { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
@media (max-width: 800px) { .mapban { grid-template-columns: 1fr; } .mapban__a { flex-direction: row; flex-wrap: wrap; } }

/* =========================================================
   PANOU PRINCIPAL v3: start centrat + grilă „bento”
   ========================================================= */
.bhero {
  position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: 44px 24px 38px; margin-bottom: 18px; border-radius: 30px; border: 1px solid rgba(var(--a), .35);
  background: radial-gradient(700px 320px at 50% -10%, rgba(var(--a), .45), transparent 70%), linear-gradient(180deg, #1a1430, #0f0b17);
  box-shadow: 0 40px 80px -50px rgba(var(--a), .9), inset 0 1px 0 rgba(255,255,255,.07);
}
.bhero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bhero__bg span { position: absolute; border-radius: 50%; }
.bhero__bg span:nth-child(1) { width: 380px; height: 380px; left: -120px; bottom: -200px; background: radial-gradient(closest-side, rgba(255, 94, 154, .25), transparent); }
.bhero__bg span:nth-child(2) { width: 420px; height: 420px; right: -140px; top: -160px; background: radial-gradient(closest-side, rgba(91, 157, 255, .22), transparent); }
.bhero__bg span:nth-child(3) { inset: 0; border-radius: 0; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask: radial-gradient(circle at 50% 40%, #000, transparent 70%); mask: radial-gradient(circle at 50% 40%, #000, transparent 70%); }
.bhero__logo { width: 130px; height: auto; filter: drop-shadow(0 18px 34px rgba(var(--a), .65)); animation: logoFloat 5s ease-in-out infinite; }
.bhero__hi { margin: 0; font-size: 1rem; color: #cfc9e6; }
.bhero__hi b { color: #fff; }
.bhero__title { margin: 0; font: 800 clamp(2.4rem, 6vw, 4.2rem)/1 var(--num); letter-spacing: -.045em; background: linear-gradient(100deg, #fff 15%, var(--accent-2) 55%, #ffb37a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bhero__lead { margin: 0; max-width: 620px; font-size: 1.05rem; color: #d8d3ee; }
.bip { display: inline-flex; align-items: center; gap: 14px; margin-top: 6px; padding: 10px 10px 10px 18px; border-radius: 20px; cursor: pointer; font: inherit; color: #fff; text-align: left; background: rgba(0,0,0,.4); border: 1px solid rgba(var(--a), .5); box-shadow: 0 14px 34px -18px var(--accent); transition: transform .15s ease, border-color .15s ease; }
.bip:hover { transform: translateY(-2px); border-color: var(--accent); }
.bip__dot { width: 12px; height: 12px; border-radius: 50%; background: #ff6b81; flex: none; }
.bip__dot.is-on { background: #4ade80; box-shadow: 0 0 12px #4ade80; animation: pulse 1.8s infinite; }
.bip__t { display: grid; line-height: 1.15; }
.bip__t small { font-size: .74rem; font-weight: 700; color: var(--muted); }
.bip__t b { font: 800 1.35rem var(--num); letter-spacing: -.02em; }
.bip__c { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 14px; font-size: .84rem; font-weight: 800; color: #140f2e; background: var(--accent); }
.bhero__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.bhero__plat { margin: 0; font-size: .8rem; font-weight: 700; color: var(--muted); }

/* ---- v4: banner mic în stânga + card de cont în dreapta ---- */
.dtop { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 16px; margin-bottom: 16px; align-items: stretch; }
.dtop .bhero { justify-items: start; text-align: left; gap: 12px; padding: 26px 28px; margin: 0; border-radius: 26px; align-content: center; }
.bhero__row { display: flex; align-items: center; gap: 16px; }
.dtop .bhero__logo { width: 84px; }
.dtop .bhero__hi { font-size: .92rem; }
.dtop .bhero__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.dtop .bhero__lead { font-size: .95rem; max-width: 520px; }
.dtop .bip { margin-top: 2px; padding: 8px 8px 8px 14px; border-radius: 16px; }
.dtop .bip__t b { font-size: 1.15rem; }
.dtop .bip__c { padding: 8px 12px; border-radius: 12px; }
.dtop .bhero__btns { justify-content: flex-start; align-items: center; }
.dtop .bhero__plat { margin-left: 4px; font-size: .78rem; }
.dtop .bhero__bg span:nth-child(3) { -webkit-mask: radial-gradient(circle at 20% 30%, #000, transparent 70%); mask: radial-gradient(circle at 20% 30%, #000, transparent 70%); }

.acard { --rc: var(--accent); position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 14px; overflow: hidden; isolation: isolate;
  padding: 18px 18px 16px; border-radius: 26px; background: #15111d; border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent); box-shadow: 0 30px 60px -40px var(--rc); }
.acard__band { position: absolute; inset: 0 0 auto 0; height: 92px; z-index: -1;
  background: radial-gradient(240px 120px at 20% 0%, color-mix(in srgb, var(--rc) 80%, transparent), transparent 70%), linear-gradient(120deg, color-mix(in srgb, var(--rc) 45%, #1a1428), #15111d);
  -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.acard__band::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 12px); }
.acard__skin { grid-row: 1 / span 3; align-self: end; width: 90px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 14px 18px rgba(0,0,0,.6)); transition: transform .3s ease; }
.acard:hover .acard__skin { transform: translateY(-4px) rotate(-2deg); }
.acard__id { display: grid; gap: 6px; justify-items: start; align-content: end; min-height: 92px; padding-bottom: 4px; }
.acard__id small { font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.acard__id b { font: 800 1.6rem/1 var(--num); letter-spacing: -.03em; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.5); }
.acard__id p { margin: 0; font-size: .84rem; color: var(--muted); }
.acard__stats { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; align-self: start; }
.acard__stats > div { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border-radius: 12px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); min-width: 0; }
.acard__stats span { font-size: 1rem; }
.acard__stats b { font-size: .8rem; font-weight: 900; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard__stats small { font-size: .64rem; color: var(--muted); }
.acard__nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.acard__nav a { display: grid; justify-items: center; gap: 4px; padding: 9px 4px; border-radius: 12px; font-size: .76rem; font-weight: 800; color: #d8d3ee; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.acard__nav a:hover { color: #fff; border-color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); }
.acard__nav .i { color: var(--rc); }
/* butonul Hartă: același stil ca restul + punct roșu „live” și o lumină verde subtilă */
.acard__nav a.acard__map { position: relative; background: linear-gradient(160deg, rgba(74, 222, 128, .12), rgba(255,255,255,.03)); border-color: rgba(74, 222, 128, .35); }
.acard__nav a.acard__map .i { color: #4ade80; }
.acard__nav a.acard__map:hover { border-color: #4ade80; background: rgba(74, 222, 128, .16); }
.acard__live { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 8px #ff3b5c; animation: pulse 1.4s infinite; }
.acard__guest { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.acard--guest .acard__skin { opacity: .85; }
@media (max-width: 1000px) { .dtop { grid-template-columns: 1fr; } }

.dstrip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 22px; border-radius: 22px; overflow: hidden; background: #15111d; border: 1px solid var(--line-2); }
.dsi { --tc: var(--accent); display: flex; align-items: center; gap: 12px; padding: 16px 16px; min-width: 0; transition: background-color .15s ease; }
.dsi + .dsi { border-left: 1px solid var(--line); }
a.dsi:hover { background: color-mix(in srgb, var(--tc) 10%, transparent); }
.dsi__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; font-size: 1.15rem; background: color-mix(in srgb, var(--tc) 16%, transparent); }
.dsi > span:last-child { display: grid; min-width: 0; line-height: 1.15; }
.dsi b { font: 800 1.25rem var(--num); letter-spacing: -.02em; color: #fff; }
.dsi small { font-size: .72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1200px) { .dstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dsi:nth-child(4) { border-left: 0; } .dsi:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .dstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dsi { border-left: 0 !important; border-top: 1px solid var(--line); } }

.dsv { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-bottom: 24px; }

/* ---- carduri de server v2 ---- */
.scard { --tc: var(--accent); position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 24px;
  background: radial-gradient(320px 160px at 100% 0%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 70%), linear-gradient(170deg, #1a1524, #13101b);
  border: 1px solid color-mix(in srgb, var(--tc) 30%, rgba(255,255,255,.06)); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.scard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tc) 70%, transparent); box-shadow: 0 24px 50px -30px var(--tc); }
.scard__em { position: absolute; right: -24px; top: -20px; z-index: -1; font-size: 8rem; opacity: .1; transform: rotate(14deg); pointer-events: none; transition: transform .35s ease, opacity .35s ease; }
.scard:hover .scard__em { transform: rotate(4deg) scale(1.08); opacity: .18; }
.scard__h { display: flex; align-items: center; gap: 12px; }
.scard__ic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; font-size: 1.7rem; background: color-mix(in srgb, var(--tc) 16%, rgba(0,0,0,.2)); border: 1px solid color-mix(in srgb, var(--tc) 40%, transparent); }
.scard__h h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.scard__st { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .78rem; font-weight: 800; color: #ff6b81; }
.scard__st i { width: 8px; height: 8px; border-radius: 50%; background: #ff6b81; }
.scard.is-on .scard__st { color: #4ade80; }
.scard.is-on .scard__st i { background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 1.8s infinite; }
.scard__d { margin: 0; font-size: .88rem; line-height: 1.5; color: #cfc9e6; }
.scard__pl { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.scard__pl > div:first-child { display: flex; align-items: baseline; gap: 6px; }
.scard__pl b { font: 800 1.6rem/1 var(--num); color: var(--tc); }
.scard__pl small { font-size: .8rem; color: var(--muted); }
.scard__bar { height: 7px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.07); }
.scard__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tc), #fff); }
.scard__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.scard__info li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .84rem; background: rgba(255,255,255,.03); }
.scard__info span { color: var(--muted); }
.scard__info b { font-weight: 800; }
.scard__how { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--tc) 8%, transparent); border-left: 3px solid var(--tc); }
.scard__how small { font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
.scard__how p { margin: 4px 0 0; font-size: .86rem; line-height: 1.5; }
.scard__f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.scard__go { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 800; color: var(--tc); }
.scard__go:hover { text-decoration: underline; }

/* ---- activitate recentă: flux ---- */
.afeed { margin-bottom: 24px; padding: 18px 20px; border-radius: 24px; background: linear-gradient(170deg, #17121f, #13101b); border: 1px solid var(--line-2); }
.afeed__h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.afeed__h h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.afeed__live { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: #4ade80; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3); }
.afeed__live i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 1.6s infinite; }
.afeed__h .link { margin-left: auto; font-size: .84rem; }
.afeed__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.afeed__i { --kc: var(--accent); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-left: 3px solid var(--kc); transition: background-color .15s ease, transform .15s ease; }
.afeed__i:hover { background: color-mix(in srgb, var(--kc) 8%, transparent); transform: translateX(2px); }
.afeed__av { position: relative; width: 40px; height: 40px; flex: none; }
.afeed__av img { width: 40px; height: 40px; border-radius: 11px; image-rendering: pixelated; }
.afeed__av em { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 8px; font-style: normal; font-size: .72rem; background: #15111d; border: 1px solid color-mix(in srgb, var(--kc) 55%, transparent); }
.afeed__b { min-width: 0; display: grid; gap: 2px; }
.afeed__k { font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--kc); }
.afeed__b p { margin: 0; font-size: .86rem; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.afeed__t { font-size: .72rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .afeed__list { grid-template-columns: 1fr; } }

/* ---- rândul de sub servere: ultimul update (stânga) + activitate recentă (dreapta) ---- */
.dmid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: stretch; margin-bottom: 24px; }
.dmid .afeed { margin: 0; display: flex; flex-direction: column; }
.dmid .afeed__list { grid-template-columns: 1fr; gap: 8px; }
@media (max-width: 1000px) { .dmid { grid-template-columns: 1fr; } }

.uplast { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 24px;
  background: radial-gradient(420px 200px at 0% 0%, rgba(91, 157, 255, .22), transparent 70%), radial-gradient(360px 200px at 100% 100%, rgba(var(--a), .18), transparent 70%), linear-gradient(170deg, #17132a, #13101b);
  border: 1px solid rgba(91, 157, 255, .3); }
.uplast__h { display: flex; align-items: center; gap: 16px; }
.uplast__ver { display: grid; place-items: center; min-width: 74px; height: 74px; padding: 0 10px; flex: none; border-radius: 20px; font: 800 1.25rem var(--num); letter-spacing: -.03em; color: #fff;
  background: linear-gradient(135deg, #5b9dff, var(--accent)); box-shadow: 0 14px 30px -14px #5b9dff; }
.uplast__h > div { display: grid; gap: 4px; min-width: 0; }
.uplast__h small { font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #8fb8ff; }
.uplast__h h2 { margin: 0; font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.uplast__by { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.uplast__by img { border-radius: 5px; image-rendering: pixelated; }
.uplast__by b { color: #d8d3ee; }
.uplast__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.uplast__chip { padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.uplast__chip--all { color: #8fb8ff; border-color: rgba(91, 157, 255, .35); }
.uplast__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.uplast__list li { --uc: var(--accent); display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.45; background: rgba(0,0,0,.22); border-left: 3px solid var(--uc); }
.uplast__ic { flex: none; width: 22px; text-align: center; }
.uplast__more { margin: 0; font-size: .82rem; color: var(--muted); }
.uplast__btn { align-self: flex-start; margin-top: auto; }
.uplast--empty h2 { margin: 0; font-size: 1.15rem; }
.dcols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 16px; align-items: start; margin-bottom: 24px; }
.dcols__main, .dcols__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1000px) { .dcols { grid-template-columns: 1fr; } }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; margin-bottom: 24px; }
.bx { --tc: var(--accent); position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tc) 10%, #17121f), #13101b 70%); border: 1px solid color-mix(in srgb, var(--tc) 22%, rgba(255,255,255,.06)); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
a.bx:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tc) 60%, transparent); box-shadow: 0 18px 40px -26px var(--tc); }
.bx__h { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #cfc9e6; }
.bx__tag { padding: 2px 8px; border-radius: 999px; font-size: .68rem; letter-spacing: 0; text-transform: none; color: #5b9dff; background: rgba(91, 157, 255, .14); }
.bx__edit { margin-left: auto; color: var(--muted); }
.bx__txt { margin: 0; font-size: .86rem; color: var(--muted); }
.bx__more { margin-top: auto; font-size: .8rem; font-weight: 800; color: var(--accent-2); }
/* numere mari */
.bx--num { justify-content: center; }
.bx__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-size: 1.25rem; background: color-mix(in srgb, var(--tc) 18%, transparent); }
.bx--num b { font: 800 1.9rem var(--num); letter-spacing: -.03em; }
.bx--num small { margin-top: -6px; font-size: .8rem; color: var(--muted); }
/* contul */
.bx--me { grid-column: span 2; grid-row: span 2; background: radial-gradient(400px 220px at 0% 0%, color-mix(in srgb, var(--tc) 28%, transparent), transparent 70%), #15111d; }
.bme { display: flex; align-items: center; gap: 16px; flex: 1; }
.bme img { height: 120px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.bme > div { display: grid; gap: 6px; justify-items: start; }
.bme b { font: 800 1.5rem var(--num); letter-spacing: -.02em; }
.bme__cr { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 800; color: #ffd166; }
.bme__links { display: flex; gap: 8px; flex-wrap: wrap; }
.bme__links a { padding: 7px 12px; border-radius: 10px; font-size: .82rem; font-weight: 800; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.bme__links a:hover { border-color: var(--accent); }
/* servere */
.bx--srv { min-height: 190px; }
.bsrv__em { position: absolute; right: -14px; bottom: -22px; font-size: 6.5rem; opacity: .16; transform: rotate(-12deg); transition: transform .3s ease, opacity .3s ease; pointer-events: none; }
a.bx--srv:hover .bsrv__em { transform: rotate(-4deg) scale(1.08); opacity: .28; }
.bsrv__st { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; color: var(--muted); background: rgba(0,0,0,.3); }
.bsrv__st i { width: 8px; height: 8px; border-radius: 50%; background: #ff6b81; }
.bx--srv.is-on .bsrv__st { color: #4ade80; }
.bx--srv.is-on .bsrv__st i { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.bx--srv h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.bx--srv p { margin: 0; font-size: .82rem; color: var(--muted); position: relative; }
.bsrv__bar { margin-top: auto; height: 6px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.07); }
.bsrv__bar i { display: block; height: 100%; background: var(--tc); }
.bsrv__go { font-size: .8rem; font-weight: 800; color: var(--tc); }
/* update, vot, anunțuri, cumpărături, noi, activitate */
.bx--upd { grid-column: span 2; --tc: #5b9dff; }
.bx--upd h3 { margin: 0; font-size: 1.15rem; }
.bx--upd ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .86rem; color: #cfc9e6; }
.bx--vote { --tc: #ffd166; }
.bvote { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bvote li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.04); }
.bvote li:first-child { background: rgba(255, 209, 102, .12); }
.bvote img { border-radius: 6px; image-rendering: pixelated; }
.bvote b { flex: 1; min-width: 0; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bvote em { font-style: normal; font: 800 .86rem var(--num); color: #ffd166; }
.bx--anns { grid-column: span 2; grid-row: span 2; }
.bx--anns .anns { display: grid; gap: 10px; }
.bx--buys { --tc: #ff5e9a; }
.bbuys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bbuys li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.bbuys img { border-radius: 6px; image-rendering: pixelated; }
.bbuys span { display: grid; min-width: 0; line-height: 1.2; }
.bbuys b { font-size: .84rem; }
.bbuys small { font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbuys em { font-style: normal; font-size: .7rem; color: var(--muted); white-space: nowrap; }
.bx--new { --tc: #4ade80; }
.bnew__n { font: 800 2rem var(--num); color: #4ade80; }
.bnew__stack { display: flex; margin-top: auto; }
.bnew__stack img { width: 30px; height: 30px; margin-left: -7px; border-radius: 8px; border: 2px solid #15111d; image-rendering: pixelated; }
.bnew__stack img:first-child { margin-left: 0; }
.bx--logs { grid-column: span 2; }
.bx--logs .logs { margin: 0; padding: 0; }
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bx--me, .bx--upd, .bx--anns, .bx--logs { grid-column: auto; grid-row: auto; }
  .bip { flex-wrap: wrap; justify-content: center; text-align: center; }
}



/* =========================================================
   Taskuri v2: mai ușor de citit
   ========================================================= */
.ttiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.ttile { --tc: var(--accent); display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 16px; cursor: pointer; font: inherit; color: #fff; text-align: center; background: #17121f; border: 1px solid var(--line-2); transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
.ttile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tc) 60%, transparent); }
.ttile.is-on { background: color-mix(in srgb, var(--tc) 16%, #17121f); border-color: var(--tc); }
.ttile--static { cursor: default; }
.ttile--static:hover { transform: none; }
.ttile span { font-size: 1.2rem; }
.ttile b { font: 800 1.35rem var(--num); color: var(--tc); }
.ttile small { font-size: .74rem; color: var(--muted); }
@media (max-width: 900px) { .ttiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tfilter { margin: -4px 0 14px; font-size: .86rem; color: var(--muted); }
.tfilter b { color: #fff; }

.kanban--v2 { gap: 16px; align-items: start; }
.kanban--v2 .kcol { border-radius: 20px; padding: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.kanban--v2 .kcol__h { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.kanban--v2 .kcol__h > span { font-size: 1.4rem; }
.kanban--v2 .kcol__h > div { flex: 1; display: grid; min-width: 0; }
.kanban--v2 .kcol__h b { font-size: 1.05rem; }
.kanban--v2 .kcol__h small { font-size: .74rem; color: var(--muted); }
.kanban--v2 .kcol__h em { font: 800 .9rem var(--num); font-style: normal; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.07); }
.kanban--v2 .kcol__list { display: grid; gap: 12px; min-height: 80px; }
.kcol__empty { margin: 0; padding: 22px 10px; text-align: center; font-size: .84rem; color: var(--muted); border: 2px dashed var(--line-2); border-radius: 14px; }

.task2 { --pc: var(--accent); position: relative; display: grid; gap: 10px; padding: 14px 14px 12px 18px; border-radius: 16px; background: #1a1524; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 10px 24px -18px #000; transition: transform .15s ease, border-color .15s ease; }
.task2::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pc); }
.task2:hover { border-color: color-mix(in srgb, var(--pc) 45%, transparent); }
.task2[draggable="true"] { cursor: grab; }
.task2.is-done { opacity: .65; }
.task2.is-done .task2__title { text-decoration: line-through; }
.task2.is-late { border-color: rgba(255, 180, 84, .45); }
.task2__h, .tview__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.task2__cat, .task2__prio, .task2__srv, .task2__col { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: #d8d3ee; }
.task2__prio { color: var(--pc); border-color: color-mix(in srgb, var(--pc) 40%, transparent); background: color-mix(in srgb, var(--pc) 10%, transparent); }
.task2__srv { color: #a3e635; }
.task2__title { display: block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: 800 1.02rem/1.35 var(--font); color: #fff; }
.task2__title:hover { color: var(--accent-2); text-decoration: underline; }
.task2__d { margin: 0; font-size: .86rem; line-height: 1.5; color: #cfc9e6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.task2__cl { display: grid; gap: 4px; }
.task2__clbar { height: 6px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.07); }
.task2__clbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pc), #4ade80); }
.task2__cl small { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.task2__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .76rem; color: var(--muted); }
.task2__due { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.task2__due.is-late { color: #ff6b81; }
.task2__due.is-today { color: #ffb454; }
.task2__due.is-soon { color: #ffd166; }
.task2__f { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.task2__who { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.task2__who .av { border-radius: 8px; }
.task2__who > span { display: grid; line-height: 1.2; min-width: 0; }
.task2__who small { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.task2__who b { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task2__who--free { font-size: .8rem; font-weight: 700; color: #4ade80; }
.task2__a { display: flex; align-items: center; gap: 4px; }
.task2__next { white-space: nowrap; }

.tview { --pc: var(--accent); display: grid; gap: 14px; }
.tview__d { padding: 12px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.6; background: rgba(0,0,0,.25); border-left: 3px solid var(--pc); }
.tview__h { margin: 0; font-size: .8rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.tview__cl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tview__cl li { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
.tview__cl input:checked + span { text-decoration: line-through; color: var(--muted); }
.tview__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tview__info li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; font-size: .88rem; }
.tview__info li:nth-child(odd) { background: rgba(255,255,255,.03); }
.tview__info span { color: var(--muted); }

/* ghid sancțiuni: taburi pe servere */
.gtabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.gtab { --gc: var(--accent); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px; border-radius: 16px; font-weight: 800; text-align: center; color: #cfc9e6; background: #17121f; border: 1px solid var(--line-2); transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
.gtab span { font-size: 1.4rem; }
.gtab:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--gc) 60%, transparent); color: #fff; }
.gtab.is-on { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gc) 26%, #17121f), #17121f); border-color: var(--gc); box-shadow: 0 12px 28px -18px var(--gc); }
.gnote { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; font-size: .88rem; background: rgba(255, 209, 102, .07); border: 1px dashed rgba(255, 209, 102, .35); }
@media (max-width: 760px) { .gtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   Staff: card pe profil, dosare, absențe v2
   ========================================================= */
.pstaff { --rc: var(--accent); margin-top: 18px; padding: 18px 20px; background: linear-gradient(120deg, color-mix(in srgb, var(--rc) 14%, #15111d), #15111d 60%); border-color: color-mix(in srgb, var(--rc) 35%, transparent); }
.pstaff__h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pstaff__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 1.4rem; background: rgba(91, 157, 255, .15); border: 1px solid rgba(91, 157, 255, .4); }
.pstaff__h > div { display: grid; gap: 4px; }
.pstaff__h > div > b { font-size: 1.05rem; }
.pstaff__ranks { display: flex; gap: 6px; flex-wrap: wrap; }
.pstaff__st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.pstaff__st.is-on { color: #4ade80; border-color: rgba(74, 222, 128, .4); }
.pstaff__st.is-on i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.pstaff__st.is-away { color: #b9adff; border-color: rgba(var(--a), .4); }
.pstaff__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pstaff__t { padding: 12px; border-radius: 14px; text-align: center; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.pstaff__t b { display: block; font: 800 1.3rem var(--num); }
.pstaff__t small { font-size: .74rem; color: var(--muted); }
@media (max-width: 640px) { .pstaff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pstaff__st { margin-left: 0; } }

.sfiles__note { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 16px; border-radius: 16px; font-size: .9rem; background: rgba(255, 107, 129, .07); border: 1px solid rgba(255, 107, 129, .3); }
.sfiles__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.sfiles__bar .ssearch { flex: 1; min-width: 240px; margin: 0; }
.sfiles__stat { font-size: .86rem; color: var(--muted); }
.sfiles__stat b { color: #fff; }
.sfiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.sfile { --rc: var(--accent); display: grid; gap: 12px; padding: 16px; border-top: 3px solid var(--rc); }
.sfile__h { display: flex; align-items: center; gap: 12px; }
.sfile__h img { width: 44px; height: 44px; border-radius: 12px; image-rendering: pixelated; }
.sfile__h > div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.sfile__h > div > span { display: flex; gap: 4px; flex-wrap: wrap; }
.sfile__prog { position: relative; height: 18px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.06); }
.sfile__prog i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--rc), #4ade80); opacity: .7; }
.sfile__prog small { position: relative; display: block; text-align: center; font-size: .68rem; font-weight: 800; line-height: 18px; }
.sfile__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sfile__rows li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .86rem; }
.sfile__rows li:nth-child(odd) { background: rgba(255,255,255,.025); }
.sfile__rows li > span { color: var(--muted); white-space: nowrap; }
.sfile__rows li > b { text-align: right; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.sfile__yes { color: #4ade80; }
.sfile__no { color: #ffb454; }
.sfile__notes { padding: 10px 12px; border-radius: 12px; background: rgba(255, 209, 102, .06); border: 1px dashed rgba(255, 209, 102, .3); }
.sfile__notes small { font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #ffd166; }
.sfile__notes p { margin: 4px 0 0; font-size: .86rem; white-space: pre-wrap; }
.sfile__upd { margin: 0; }

.abstiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.abst { --tc: var(--accent); display: grid; justify-items: center; gap: 2px; padding: 16px 10px; border-radius: 18px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 14%, #17121f), #15111d); border: 1px solid color-mix(in srgb, var(--tc) 35%, transparent); }
.abst span { font-size: 1.4rem; }
.abst b { font: 800 1.6rem var(--num); color: var(--tc); }
.abst small { font-size: .76rem; color: var(--muted); }
@media (max-width: 640px) { .abstiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.absmap { padding: 14px; margin-bottom: 22px; overflow-x: auto; }
.absmap__row { display: grid; grid-template-columns: 150px repeat(14, minmax(28px, 1fr)); gap: 4px; align-items: center; min-width: 620px; }
.absmap__row + .absmap__row { margin-top: 4px; }
.absmap__row--h span { display: grid; justify-items: center; font-size: .8rem; font-weight: 800; color: #cfc9e6; }
.absmap__row--h span small { font-size: .62rem; font-weight: 700; color: var(--muted); }
.absmap__row--h span.is-we { color: var(--muted); }
.absmap__row--h span.is-today { color: #ffd166; }
.absmap__who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.absmap__who img { border-radius: 5px; image-rendering: pixelated; }
.absmap__who b { font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.absmap__c { height: 22px; border-radius: 6px; background: rgba(255,255,255,.04); }
.absmap__c.is-today { box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .6); }
.absmap__c.is-accepted { background: linear-gradient(180deg, #9584FF, #6a58e8); }
.absmap__c.is-pending { background: repeating-linear-gradient(45deg, rgba(255, 209, 102, .55) 0 5px, rgba(255, 209, 102, .25) 5px 10px); }
.absmap__leg { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .76rem; color: var(--muted); }
.absmap__leg i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-left: 8px; }
.absmap__leg i.is-accepted { background: #9584FF; }
.absmap__leg i.is-pending { background: rgba(255, 209, 102, .55); }

.absgrid--v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 20px; }
.absc2 { --sc: #ffd166; position: relative; display: grid; gap: 12px; padding: 16px 16px 16px 20px; overflow: hidden; }
.absc2::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sc); }
.absc2--past { opacity: .7; }
.absc2__h { display: flex; align-items: center; gap: 10px; }
.absc2__head { width: 46px; height: 46px; border-radius: 12px; image-rendering: pixelated; }
.absc2__who { flex: 1; min-width: 0; display: grid; gap: 3px; }
.absc2__pill { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; white-space: nowrap; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 40%, transparent); }
.absc2__dates { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.absc2__d { display: grid; justify-items: center; min-width: 54px; padding: 6px 8px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.absc2__d b { font: 800 1.35rem/1 var(--num); }
.absc2__d small { font-size: .7rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.absc2__line { position: relative; height: 26px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.05); }
.absc2__line i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--sc) 35%, transparent); }
.absc2__line span { position: relative; z-index: 1; display: block; text-align: center; font-size: .78rem; font-weight: 800; line-height: 26px; }
.absc2__st { margin: 0; font-size: .82rem; font-weight: 700; color: var(--muted); }
.absc2__st--now { color: #b9adff; }
.absc2__st--soon { color: #5b9dff; }
.absc2__why { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: .88rem; line-height: 1.5; background: rgba(0,0,0,.22); border-left: 3px solid color-mix(in srgb, var(--sc) 60%, transparent); }

/* =========================================================
   Profil v4: fundal, status, respect, clasament, skin 3D, aniversare
   ========================================================= */
.pcover { --rc: var(--accent); height: 150px; margin-bottom: -96px; border-radius: 24px; border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.pcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 11, 19, .9)); }
.profile-top--cover { position: relative; z-index: 1; padding: 0 18px; }
.pbanner--def { background: radial-gradient(500px 200px at 20% 0%, color-mix(in srgb, var(--rc) 70%, transparent), transparent 70%), linear-gradient(120deg, color-mix(in srgb, var(--rc) 35%, #120e1b), #120e1b); }
.pbanner--mov { background: linear-gradient(120deg, #6a58e8, #9584FF 40%, #ff55ff); }
.pbanner--apus { background: linear-gradient(120deg, #ff5e3a, #ff8a3d 40%, #ffd166 80%); }
.pbanner--ocean { background: linear-gradient(120deg, #0ea5e9, #22d3ee 45%, #1e3a8a); }
.pbanner--padure { background: linear-gradient(120deg, #14532d, #22c55e 50%, #a3e635); }
.pbanner--foc { background: linear-gradient(120deg, #7f1d1d, #ef4444 45%, #f97316); }
.pbanner--aur { background: linear-gradient(120deg, #78350f, #f59e0b 45%, #fde68a); }
.pbanner--noapte { background: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(2px 2px at 60% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 80% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 35% 70%, #fff, transparent), linear-gradient(160deg, #020617, #1e1b4b 60%, #312e81); }
.pbanner--roz { background: linear-gradient(120deg, #db2777, #f472b6 45%, #fbcfe8); }
.pbanner--halloween { background: radial-gradient(60px 60px at 85% 35%, #ffe2a8, #f59e3b 60%, transparent 62%), linear-gradient(160deg, #1c1230, #3b0764 55%, #ea580c); }
.bpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bpick__o { display: grid; gap: 4px; cursor: pointer; text-align: center; }
.bpick__o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bpick__o span { --rc: var(--accent); height: 44px; border-radius: 12px; border: 2px solid transparent; transition: transform .15s ease, border-color .15s ease; }
.bpick__o small { font-size: .7rem; font-weight: 700; color: var(--muted); }
.bpick__o input:checked + span { border-color: #fff; transform: scale(1.04); box-shadow: 0 0 0 3px rgba(var(--a), .5); }
.bpick__o input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.pstatus { margin: 4px 0 0; padding: 6px 12px; display: inline-block; border-radius: 12px; font-size: .92rem; color: #e8e4f8; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.presp { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px; }
.presp__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: .88rem; color: #ffd166; background: rgba(255, 209, 102, .08); border: 1px solid rgba(255, 209, 102, .35); transition: background-color .15s ease, transform .15s ease; }
.presp__btn:hover:not(.is-static) { background: rgba(255, 209, 102, .16); }
.presp__btn.is-on { color: #2a1d00; background: linear-gradient(135deg, #ffe39a, #ffc857); border-color: transparent; }
.presp__btn.is-static { cursor: default; }
.presp__btn.is-pop { animation: respPop .5s ease; }
@keyframes respPop { 40% { transform: scale(1.15) rotate(-4deg); } }
.presp__n { font: 800 1.2rem var(--num); color: #ffd166; }
.presp__fans { display: flex; }
.presp__fans a { margin-left: -6px; }
.presp__fans a:first-child { margin-left: 0; }
.presp__fans img { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #15111d; image-rendering: pixelated; }

.pglobal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pglobal__i { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, rgba(255, 209, 102, .08), #17121f 60%); border: 1px solid rgba(255, 209, 102, .2); }
.pglobal__i > span { font-size: 1.6rem; }
.pglobal__i b { display: block; font: 800 1.4rem var(--num); color: #ffd166; }
.pglobal__i small { color: var(--muted); font-size: .8rem; }
.pglobal__i em { position: absolute; top: 10px; right: 12px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: .66rem; font-weight: 900; color: #2a1d00; background: #ffd166; }
@media (max-width: 560px) { .pglobal { grid-template-columns: 1fr; } }

.panniv { margin-bottom: 14px; padding: 14px 18px; border-radius: 16px; text-align: center; font-weight: 700; background: linear-gradient(90deg, rgba(255, 94, 154, .15), rgba(255, 209, 102, .15)); border: 1px solid rgba(255, 209, 102, .35); }

#skin3d { position: relative; }
#skin3d canvas { display: block; margin: 0 auto; cursor: grab; }
#skin3d canvas:active { cursor: grabbing; }
#skin3d.is-3d > img { display: none; }
.skin__hint { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: var(--muted); background: rgba(0,0,0,.4); opacity: 0; transition: opacity .2s ease; }
#skin3d.is-3d .skin__hint { opacity: 1; }

/* meniul are acum și susținătorii dedesubt, deci nu mai stă lipit sus (altfel nu s-ar vedea tot) */
.store-layout--v2 .scat { position: static; }
.sup { display: grid; gap: 12px; margin-top: 10px; padding: 16px; border-radius: 20px; background: linear-gradient(180deg, #1d1626, #15111d); border: 1px solid rgba(255, 209, 102, .18); }
.sup__h { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 12px; border-radius: 14px; font-size: 1rem; font-weight: 800; color: #fff; background: rgba(255, 209, 102, .08); border: 1px solid rgba(255, 209, 102, .14); }
.sup__h svg { width: 22px; height: 22px; fill: none; stroke: #ffd166; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sup__lead { display: flex; align-items: flex-end; gap: 12px; padding: 4px 4px 0; }
a.sup__lead:hover .sup__who b { text-decoration: underline; }
.sup__skin { position: relative; display: grid; justify-items: center; flex: none; width: 86px; }
.sup__skin img { position: relative; z-index: 1; height: 140px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 10px 12px rgba(0,0,0,.55)); transition: transform .25s ease; }
.sup__lead:hover .sup__skin img { transform: translateY(-4px); }
.sup__glow { position: absolute; left: 50%; top: 30px; width: 110px; height: 110px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 209, 102, .45), transparent); }
.sup__base { display: grid; place-items: center; width: 100%; height: 34px; margin-top: -4px; border-radius: 10px 10px 0 0; font: 800 1.1rem var(--num); color: #140f2e; background: linear-gradient(#ffe39a, #ffc857); box-shadow: 0 10px 24px -12px #ffc857; }
.sup .podium__free { width: 56px; height: 110px; }
.sup__who { display: grid; gap: 2px; min-width: 0; padding-bottom: 8px; }
.sup__who small { font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #ffd166; }
.sup__who b { font-size: 1.25rem; font-weight: 900; color: #ff8a3d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup__who em { font-style: normal; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.sup__rest { display: grid; gap: 6px; }
.sup__mini { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: background-color .15s ease; }
.sup__mini:hover { background: rgba(255,255,255,.07); }
.sup__mini img { width: 32px; height: 32px; border-radius: 8px; image-rendering: pixelated; }
.sup__mini b { flex: 1; min-width: 0; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sup__head { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.04); transition: transform .15s ease, box-shadow .15s ease; }
.sup__head img { width: 100%; height: 100%; image-rendering: pixelated; }
.sup__head:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 20px -10px rgba(255, 209, 102, .7); }
.sup__empty { margin: 0; text-align: center; font-size: .84rem; color: var(--muted); }
@media (max-width: 860px) { .sup__grid { grid-template-columns: repeat(10, 1fr); } }
@media (max-width: 520px) { .sup__grid { grid-template-columns: repeat(5, 1fr); } }

/* ---- „Top susținător” mai mare și mai vizibil (suprascrie regulile de mai sus) ---- */
.sup { gap: 14px; padding: 16px 14px 18px; border-color: rgba(255, 209, 102, .3);
  background: radial-gradient(260px 200px at 50% 18%, rgba(255, 209, 102, .16), transparent 70%), linear-gradient(180deg, #1f1726, #14101b); }
.sup__h { padding: 10px 12px; font-size: .95rem; letter-spacing: .02em; background: linear-gradient(90deg, rgba(255, 209, 102, .16), rgba(255, 138, 61, .1)); border-color: rgba(255, 209, 102, .3); }
/* locul 1 pe verticală, centrat, ca pe podium */
.sup__lead { flex-direction: column; align-items: center; gap: 10px; padding: 6px 4px 0; text-align: center; }
.sup__skin { width: 130px; }
.sup__skin img { height: 190px; }
.sup__glow { top: 20px; width: 170px; height: 170px; background: radial-gradient(closest-side, rgba(255, 209, 102, .55), transparent); }
.sup__base { height: 42px; font-size: 1.35rem; border-radius: 12px 12px 4px 4px; box-shadow: 0 12px 28px -10px #ffc857, inset 0 2px 0 rgba(255,255,255,.5); }
.sup__lead::before { content: "👑"; position: relative; z-index: 2; margin-bottom: -18px; font-size: 1.9rem; filter: drop-shadow(0 4px 10px rgba(255, 179, 71, .7)); animation: hwBob 3s ease-in-out infinite; }
.sup__lead.is-free::before { opacity: .4; }
.sup__who { justify-items: center; gap: 4px; padding-bottom: 2px; }
.sup__who small { font-size: .72rem; }
.sup__who b { max-width: 100%; font: 800 1.5rem/1.1 var(--num); letter-spacing: -.02em; color: #ffb37a; text-decoration: none; text-shadow: 0 4px 18px rgba(255, 138, 61, .45); }
a.sup__lead:hover .sup__who b { text-decoration: none; color: #ffd166; }
.sup__who em { font-size: .84rem; max-width: 220px; }
.sup .podium__free { width: 80px; height: 160px; }
/* locurile 2–3 */
.sup__mini { padding: 9px 12px; border-radius: 14px; }
.sup__mini img { width: 36px; height: 36px; }
.sup__mini b { font-size: .92rem; }
.sup__mini span { font-size: 1.15rem; }
/* plăți recente: capete mai mari, cu ramă */
.sup__grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sup__head { border-radius: 12px; border: 2px solid rgba(255,255,255,.08); box-shadow: 0 6px 14px -8px #000; }
.sup__head:hover { border-color: #ffd166; }
@media (max-width: 860px) { .sup__grid { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 520px) { .sup__grid { grid-template-columns: repeat(5, 1fr); } }

/* =========================================================
   Ferestrele de editare: titlul și butoanele rămân mereu la vedere,
   iar editoarele din admin se deschid mari (aproape tot ecranul)
   ========================================================= */
.modal__card { scrollbar-width: thin; scrollbar-color: rgba(var(--a), .5) transparent; }
.modal__head { position: sticky; top: 0; z-index: 5; background: #1c1729; border-radius: 22px 22px 0 0; }
.modal__foot { position: sticky; bottom: 0; z-index: 5; padding: 14px 22px; background: #141019; border-top: 1px solid var(--line); border-radius: 0 0 22px 22px; }
.modal--wide .modal__card { width: min(1080px, 100%); max-height: calc(100vh - 32px); }
.modal--wide { padding: 16px; }
.modal--wide .modal__head { padding: 18px 28px; background: linear-gradient(90deg, rgba(var(--a), .22), #1c1729 60%); }
.modal--wide .modal__head h2 { font-size: 1.45rem; }
.modal--wide .modal__head h2::before { content: "✎"; display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 12px; border-radius: 10px; font-size: 1rem; vertical-align: middle; color: #140f2e; background: var(--accent); }
.modal--wide #modalForm > .form { padding: 26px 28px 28px; gap: 20px; }
.modal--wide .modal__foot { padding: 16px 28px; }
.modal--wide .modal__foot .btn { min-width: 140px; }
.modal--wide .grid2 { gap: 20px; }
.modal--wide textarea { min-height: 110px; line-height: 1.55; }
.modal--wide textarea[name="features"] { min-height: 240px; }
.modal--wide textarea[name="commands"], .modal--wide textarea[name="commands_temp"] { min-height: 130px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86rem; }
/* secțiunile din editor ca niște blocuri separate */
.modal--wide .icon-pick, .modal--wide fieldset, .modal--wide .badge-pick, .modal--wide .cmp-opt {
  border-radius: 16px;
}
.modal--wide .icon-pick__drop { min-height: 150px; }
.modal--wide .icon-pick__prev { width: 110px; height: 110px; }
@media (max-width: 700px) {
  .modal--wide { padding: 0; }
  .modal--wide .modal__card { width: 100%; max-height: 100vh; height: 100vh; border-radius: 0; }
  .modal--wide .modal__head, .modal--wide .modal__foot { border-radius: 0; }
  .modal--wide .grid2 { grid-template-columns: 1fr; }
  .modal--wide #modalForm > .form { padding: 18px; }
}
