/* ==========================================================================
   Original RP Panel -- v3.1 (23.10.2026)
   Directie: sobru, "corporate". Suprafete plate, chenare de 1px, ierarhie din
   tipografie (nu din efecte). Auriul doar pe actiunea principala si emblema;
   culoarea apare doar unde inseamna ceva (stare, grad, tip de tichet).
   Bara din stanga si cardul de salut raman cum au fost (Robert le-a vrut asa).
   ========================================================================== */
/* fonturile panelului, servite de pe acelasi domeniu (fara Google la incarcare) */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/oswald-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/oswald-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #09090b; --bg-2: #0c0c0f;
  --card: #0f0f12; --card-2: #141418; --card-3: #1b1b20;
  --line: #1e1e23; --line-2: #2a2a31; --line-3: #3a3a43;
  --text: #ededf0; --text-2: #b4b4bd; --muted: #7c7c87;
  --gold: #f4c04e; --gold-hi: #ffe3a1; --amber: #e8962b; --gold-soft: rgba(244, 192, 78, .12);
  --ok: #34c77b; --bad: #ef5350; --warn: #f0a33a; --info: #4f9cf0; --violet: #a78bfa; --teal: #2bb8a6;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-display: "Anton", Impact, sans-serif; --f-label: "Oswald", "Arial Narrow", sans-serif; --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --side: 256px; --top: 64px; --r: 12px; --r-sm: 8px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14.5px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "cv11", "ss01"; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 320px); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: #ededf0; color: #09090b; }
:focus-visible { outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: #26262c; border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
.reduce *, .reduce *::before, .reduce *::after { animation: none !important; transition: none !important; }
/* ecranul de incarcare (pana porneste interfata): emblema cu inel care se roteste + bara */
.boot { position: fixed; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; background: radial-gradient(ellipse at center, #17140c 0%, var(--bg) 62%); animation: fade .3s ease both; }
.boot-em { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.boot-em::before { content: ""; }
.boot img { width: 66px; height: 66px; border-radius: 50%; animation: breathe 1.6s ease-in-out infinite; }
.boot p { margin: 0; font: 700 12px var(--f-label); letter-spacing: .34em; color: var(--muted); text-transform: uppercase; }
.boot-bar { width: 150px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.boot-bar::after { content: ""; display: block; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: bootBar 1.1s ease-in-out infinite; }
@keyframes bootBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------------- elemente de baza ---------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; font: 600 13.5px/1 var(--f-body); white-space: nowrap; transition: background .15s, border-color .15s, color .15s, opacity .15s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: #17120a; border-color: var(--gold); }
.btn-gold:hover:not(:disabled) { background: #f7cd6c; border-color: #f7cd6c; }
.btn-gold:active:not(:disabled) { background: #e5b13e; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--card-2); border-color: var(--line-3); }
.btn-white { background: #ededf0; border-color: #ededf0; color: #09090b; }
.btn-white:hover:not(:disabled) { background: #fff; }
.btn-danger { background: transparent; border-color: rgba(239,83,80,.4); color: #f28b88; }
.btn-danger:hover:not(:disabled) { background: rgba(239,83,80,.1); border-color: var(--bad); color: #fff; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.icon-btn { position: relative; width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--text-2); transition: background .15s, border-color .15s, color .15s; }
.icon-btn:hover { background: var(--card-2); border-color: var(--line-2); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.field small { color: var(--muted); font-size: 12px; }
.input, select.input, textarea.input { width: 100%; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg-2); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: var(--line-3); }
.input:focus { border-color: #5b5b66; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
textarea.input { resize: vertical; min-height: 104px; line-height: 1.55; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select.input option { background: var(--card-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--text-2); user-select: none; font-size: 13.5px; }
.check input { appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 5px; border: 1px solid var(--line-3); background: var(--bg-2); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #17120a; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 12px/1 var(--f-body); background: var(--card-3); color: var(--text-2); border: 1px solid var(--line-2); white-space: nowrap; }
.chip::before { content: none; }
.chip.ok, .chip.bad, .chip.violet, .chip.blue, .chip.teal, .chip.warnc, .chip.gold { background: var(--card-2); color: var(--text); }
.chip.ok::before, .chip.bad::before, .chip.violet::before, .chip.blue::before, .chip.teal::before, .chip.warnc::before, .chip.gold::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cc); }
.chip.ok { --cc: var(--ok); } .chip.bad { --cc: var(--bad); } .chip.violet { --cc: var(--violet); } .chip.blue { --cc: var(--info); } .chip.teal { --cc: var(--teal); } .chip.warnc { --cc: var(--warn); } .chip.gold { --cc: var(--gold); }
.chip.ok .dot { display: none; }
.chip.vip { background: var(--card-2); color: var(--text); }
.chip.vip svg { color: var(--violet); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4a4a52; flex: none; display: inline-block; }
.dot.on { background: var(--ok); }
.dot.off { background: var(--bad); }
/* gradele de staff: exact culorile din joc (org_admin Config.AdminGrades) */
.g1 { --gc: #8BC34A; } .g2 { --gc: #4CAF50; } .g3 { --gc: #2196F3; } .g4 { --gc: #FF6B35; } .g5 { --gc: #F44336; } .g6 { --gc: #9C27B0; } .g7 { --gc: #FFD700; }
.g6 { --gc-tx: #c98be0; } .g3 { --gc-tx: #6ab4f5; }
.grade { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 12px/1 var(--f-body); color: var(--text); background: color-mix(in srgb, var(--gc, #fff) 10%, var(--card-2)); border: 1px solid color-mix(in srgb, var(--gc, #fff) 24%, transparent); white-space: nowrap; }
.grade::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gc, #fff); }
.gtx { font-style: normal; font-weight: 600; color: var(--gc-tx, var(--gc, var(--text))); }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card-3); border: 1px solid var(--line-2); }
.sk { border-radius: var(--r-sm); background: linear-gradient(90deg, #121216, #18181d, #121216); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.empty { display: grid; justify-items: center; gap: 6px; padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13.5px; }
.empty svg { width: 28px; height: 28px; color: #4a4a52; margin-bottom: 4px; }
.empty b { color: var(--text); font-weight: 600; font-size: 14.5px; }

/* ---------------- login (neschimbat ca idee, doar culorile) ---------------- */
/* ==========================================================================
   ECRANUL DE INTRARE v4 (22.10.2026): doua coloane (prezentare + card), animat.
   E un site (nu NUI din joc), deci aici blur / backdrop-filter sunt in regula.
   ========================================================================== */
.auth { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 48px 22px 40px; overflow: hidden; }
.auth.out { animation: authOut .34s var(--ease) forwards; }
@keyframes authOut { to { opacity: 0; transform: scale(.985); } }
.auth-bg { position: fixed; inset: 0; z-index: -2; background: url('/assets/banner.jpg') center 30% / cover; filter: blur(30px) saturate(1.1) brightness(.24); transform: scale(1.2); }
.auth-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, transparent 10%, rgba(9,9,11,.9) 75%); }
/* lumini aurii care se misca incet in fundal */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .28; animation: drift 24s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: -12vmax; top: -14vmax; background: radial-gradient(circle, #f4c04e, transparent 65%); }
.aurora i:nth-child(2) { right: -16vmax; top: 18vh; background: radial-gradient(circle, #e8962b, transparent 65%); animation-duration: 30s; animation-delay: -8s; }
.aurora i:nth-child(3) { left: 28vw; bottom: -24vmax; background: radial-gradient(circle, #8a6418, transparent 65%); animation-duration: 36s; animation-delay: -14s; }
@keyframes drift { 50% { transform: translate(6vmax, 4vmax) scale(1.08); } 100% { transform: translate(-4vmax, 6vmax) scale(.94); } }
.auth-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 5%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 5%, transparent 70%); }
#dust { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.auth-wrap { width: 100%; max-width: 1100px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }

/* ---- stanga: emblema, titlul, starea serverului, ce gasesti pe panel */
.auth-hero { display: grid; gap: 24px; justify-items: start; }
.auth-hero > * { animation: heroIn .75s var(--ease) both; }
.auth-hero > :nth-child(2) { animation-delay: .08s; } .auth-hero > :nth-child(3) { animation-delay: .16s; }
.auth-hero > :nth-child(4) { animation-delay: .24s; } .auth-hero > :nth-child(5) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }
.emblem { position: relative; width: 136px; height: 136px; display: grid; place-items: center; }
.emblem img { position: relative; width: 104px; height: 104px; border-radius: 50%; animation: floaty 5s ease-in-out infinite; }
.emblem-ring, .boot-em::before { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 28%, rgba(244,192,78,.9) 44%, #ffe3a1 50%, transparent 66% 100%);
  -webkit-mask: radial-gradient(circle closest-side, transparent 89%, #000 90% 96%, transparent 97%); mask: radial-gradient(circle closest-side, transparent 89%, #000 90% 96%, transparent 97%); animation: spin 3.2s linear infinite; }
.emblem-glow { position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle, rgba(244,192,78,.5), transparent 70%); filter: blur(14px); animation: glowPulse 3.2s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@keyframes glowPulse { 50% { opacity: .45; transform: scale(1.14); } }
.hero-title { margin: 0; font: 400 clamp(48px, 6.2vw, 82px)/.95 var(--f-display); letter-spacing: .02em; color: #fff;
  background: linear-gradient(100deg, #fff 0%, #fff 42%, #ffe3a1 50%, #fff 58%, #fff 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: heroIn .75s var(--ease) .08s both, sheen 6s ease-in-out 1.2s infinite; }
.hero-title em { font-style: normal; -webkit-text-fill-color: var(--gold); }
@keyframes sheen { 0%, 62% { background-position: 100% 0; } 100% { background-position: -160% 0; } }
.hero-sub { margin: 0; max-width: 470px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.hs { display: grid; gap: 3px; min-width: 156px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(15,15,18,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s var(--ease), border-color .3s; }
.hs:hover { transform: translateY(-3px); border-color: rgba(244,192,78,.35); }
.hs b { display: flex; align-items: center; gap: 9px; font: 700 22px/1.15 var(--f-body); font-variant-numeric: tabular-nums; }
.hs span { color: var(--muted); font-size: 12.5px; }
.hs .dot.on { box-shadow: 0 0 0 0 rgba(52,199,123,.6); animation: livePing 1.8s ease-out infinite; }
@keyframes livePing { 70% { box-shadow: 0 0 0 9px rgba(52,199,123,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,123,0); } }
.hero-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-feats li { display: flex; align-items: center; gap: 13px; color: var(--text-2); font-size: 14.5px; animation: heroIn .6s var(--ease) both; }
.hero-feats li:nth-child(1) { animation-delay: .4s; } .hero-feats li:nth-child(2) { animation-delay: .48s; } .hero-feats li:nth-child(3) { animation-delay: .56s; } .hero-feats li:nth-child(4) { animation-delay: .64s; }
.hero-feats svg { width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: rgba(244,192,78,.1); border: 1px solid rgba(244,192,78,.22); color: var(--gold); flex: none; }
.hero-feats b { color: var(--text); font-weight: 600; }

/* ---- dreapta: cardul, cu contur auriu care se roteste */
@property --ba { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.auth-card { position: relative; isolation: isolate; width: 100%; max-width: 440px; justify-self: end; padding: 34px 30px 24px; border-radius: 22px; background: rgba(14,14,17,.8); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 50px 110px -45px rgba(0,0,0,.95); animation: cardRise .75s var(--ease) .15s both; }
.auth-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ba), rgba(244,192,78,.05), rgba(244,192,78,.75) 12%, rgba(255,227,161,.05) 28%, rgba(255,255,255,.07) 50%, rgba(244,192,78,.05) 72%, rgba(244,192,78,.75) 88%, rgba(244,192,78,.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: borderSpin 7s linear infinite; }
@keyframes borderSpin { to { --ba: 360deg; } }
@keyframes cardRise { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.auth-head { margin-bottom: 20px; }
.auth-head h2 { margin: 0; font: 700 27px/1.2 var(--f-body); letter-spacing: -.02em; }
.auth-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.auth-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.as { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; transition: color .3s; }
.as b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--line-3); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.as.on { color: var(--text); }
.as.on b { background: var(--gold); border-color: var(--gold); color: #1a1405; transform: scale(1.08); }
.as.done b { background: rgba(52,199,123,.16); border-color: rgba(52,199,123,.6); color: #7be3a9; transform: none; }
.as-line { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.as-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #7be3a9, var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.auth.step2 .as-line::after { transform: scaleX(1); }
.captcha { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 4px 0 2px; animation: fade .4s ease both; }
.captcha .ts { min-height: 66px; width: 100%; display: flex; justify-content: center; }
.captcha p { margin: 0; color: var(--muted); font-size: 13px; }
.login-fields { display: grid; gap: 14px; overflow: hidden; max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height .55s var(--ease), opacity .4s .1s, transform .45s var(--ease) .05s, margin .3s; }
.auth.step2 .login-fields { max-height: 560px; opacity: 1; transform: none; margin-top: 4px; }
.auth.step2 .captcha { display: none; }
/* campuri cu iconita si eticheta care urca cand scrii */
.fl { position: relative; display: block; }
.fl input { width: 100%; height: 56px; padding: 20px 46px 6px 46px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(9,9,11,.72); color: var(--text); font: 500 15px var(--f-body); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.fl input:hover { border-color: var(--line-3); }
.fl input:focus { border-color: rgba(244,192,78,.75); box-shadow: 0 0 0 4px rgba(244,192,78,.12); background: rgba(9,9,11,.92); }
.fl input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #0c0c0f inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); }
.fl > span { position: absolute; left: 46px; top: 50%; translate: 0 -50%; color: var(--muted); font-size: 14.5px; pointer-events: none; transition: top .2s var(--ease), font-size .2s var(--ease), color .2s; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl input:-webkit-autofill + span { top: 16px; font-size: 11.5px; color: var(--gold); letter-spacing: .02em; }
.fl > svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; transition: color .2s; }
.fl input:focus ~ svg { color: var(--gold); }
.pw button { position: absolute; right: 7px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 9px; display: grid; place-items: center; transition: color .2s, background .2s; }
.pw button:hover { color: var(--text); background: rgba(255,255,255,.05); }
.pw button svg { width: 18px; height: 18px; }
.auth .err { margin: 0; min-height: 20px; color: #f28b88; font-size: 13px; text-align: center; }
.auth .err.shake { animation: shake .4s; }
.auth-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.auth-foot a { color: var(--muted); font-size: 13px; transition: color .2s; }
.auth-foot a:hover { color: var(--gold); }
.auth-go { position: relative; overflow: hidden; width: 100%; height: 54px; border-radius: 13px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; }
.auth-go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 22%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: goShine 4.5s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes goShine { 0%, 70% { left: -30%; } 100% { left: 130%; } }
.auth-go svg { transition: transform .25s var(--ease); }
.auth-go:hover svg { transform: translateX(4px); }
.auth-go:active { transform: scale(.985); }
.auth-links { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.auth-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color .2s; }
.auth-links a:hover { color: var(--gold); }
.auth-links svg { width: 15px; height: 15px; }

@media (max-width: 980px) {
  .auth { padding: 36px 16px 32px; }
  .auth-wrap { grid-template-columns: 1fr; gap: 26px; max-width: 460px; }
  .auth-hero { justify-items: center; text-align: center; gap: 16px; }
  .hero-feats { display: none; }
  .hero-sub { font-size: 14.5px; }
  .hero-stats { justify-content: center; }
  .hs { min-width: 0; flex: 1; padding: 11px 14px; }
  .emblem { width: 104px; height: 104px; } .emblem img { width: 78px; height: 78px; }
  .auth-card { justify-self: stretch; max-width: none; padding: 26px 20px 20px; }
}
.reduce .aurora i, .reduce .emblem-ring, .reduce .emblem img, .reduce .emblem-glow, .reduce .hero-title, .reduce .auth-card::before, .reduce .auth-go::after, .reduce .hs .dot.on { animation: none; }
@media (prefers-reduced-motion: reduce) { .aurora i, .emblem-ring, .emblem img, .emblem-glow, .auth-card::before, .auth-go::after { animation: none; } }

/* ---------------- structura: bara din stanga (pastrata) ---------------- */
.shell { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
.side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding: 20px 14px 16px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #121215, #0a0a0c); z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 22px rgba(244,192,78,.3); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-14deg) scale(1.06); }
.brand b { display: block; font: 700 15px/1.1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; }
.brand span { font-size: 12px; color: var(--muted); }
.nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; overflow-y: auto; }
.nav h6 { margin: 0 0 6px 12px; font: 600 10.5px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--text-2); font-weight: 500; transition: background .2s, color .2s; }
.nav a svg { width: 20px; height: 20px; color: var(--muted); transition: color .2s; flex: none; }
.nav a:hover { background: rgba(255,255,255,.035); color: var(--text); }
.nav a:hover svg { color: var(--gold); }
.nav a.on { background: linear-gradient(90deg, rgba(244,192,78,.16), rgba(244,192,78,.03)); color: var(--gold-hi); }
.nav a.on svg { color: var(--gold); }
.nav a.on::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.nav a .cnt { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--bad); color: #fff; font: 700 11px/18px var(--f-body); text-align: center; }
.side-foot { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.server-mini { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.025); font-size: 13px; color: var(--text-2); }
.server-mini b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------------- bara de sus ---------------- */
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 25; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 clamp(14px, 3vw, 28px); background: rgba(9,9,11,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.burger { display: none; }
.search { position: relative; flex: 1; max-width: 460px; }
.search > svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 36px; padding: 0 56px 0 36px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); outline: none; transition: border-color .15s, box-shadow .15s; }
.search input:hover { border-color: var(--line-2); }
.search input:focus { border-color: #5b5b66; box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.search kbd { position: absolute; right: 8px; top: 50%; translate: 0 -50%; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); font: 500 11px/1.5 var(--f-body); color: var(--muted); }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); padding: 4px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); box-shadow: 0 18px 40px -16px rgba(0,0,0,.9); display: grid; gap: 1px; animation: drop .15s var(--ease); z-index: 5; }
.results a, .results p { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; margin: 0; font-size: 13.5px; }
.results a:hover, .results a.hl { background: var(--card-3); }
.results p { color: var(--muted); }
.results .id { margin-left: auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font: 700 10.5px/18px var(--f-body); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
/* profilul din dreapta sus: doar poza din buletin; la hover meniul cu numele, ID-ul, profil, setari */
.me { position: relative; }
.me-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.me-btn:hover, .me.open .me-btn { border-color: #5b5b66; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.me-photo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: block; }
.me-ph { display: grid; place-items: center; background: var(--card-3); color: var(--text-2); }
.me-ph svg { width: 17px; height: 17px; }
.pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-2); box-shadow: 0 24px 50px -20px rgba(0,0,0,.95); opacity: 0; translate: 0 -4px; pointer-events: none; transition: opacity .15s, translate .2s var(--ease); }
.me:hover .pop.menu, .me.open .pop, .me:focus-within .pop.menu { opacity: 1; translate: 0 0; pointer-events: auto; }
.me .pop.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* puntea pana la meniu (nu se inchide cand cobori mouse-ul) */
.menu { width: 248px; padding: 6px; }
.menu .who { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.who-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line-2); }
.menu .who b { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.menu .who span { display: block; color: var(--muted); font-size: 12.5px; }
.menu .who .gtx { display: inline-block; margin-top: 3px; font-size: 12px; }
.menu a, .menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; border: 0; background: none; cursor: pointer; text-align: left; transition: background .12s, color .12s; color: var(--text-2); font-size: 13.5px; }
.menu a:hover, .menu button:hover { background: var(--card-3); color: var(--text); }
.menu svg { width: 16px; height: 16px; color: var(--muted); }
.menu .danger, .menu .danger svg { color: #f28b88; }
.notif-pop { width: min(380px, 92vw); max-height: 72vh; overflow: auto; }
.notif-pop header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--card-2); border-bottom: 1px solid var(--line); z-index: 1; }
.notif-pop header b { font-size: 14px; }
.notif-pop header button { border: 0; background: none; color: var(--text-2); cursor: pointer; font-size: 12.5px; }
.notif-pop header button:hover { color: var(--text); }
.notif { display: grid; grid-template-columns: 8px 1fr; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.notif:hover { background: var(--card-3); }
.notif i { width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; }
.notif.new i { background: var(--info); }
.notif b { display: block; font-weight: 600; font-size: 13.5px; }
.notif p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.notif time { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }

/* ---------------- pagini, carduri ---------------- */
.view { padding: clamp(18px, 3vw, 30px); max-width: 1280px; width: 100%; margin: 0 auto; animation: viewIn .25s var(--ease) both; }
.view-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.view-head h1 { margin: 0; font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--f-body); letter-spacing: -.02em; }
.view-head h1 em { font-style: normal; color: var(--gold); }
.view-head p { margin: 4px 0 0; color: var(--muted); max-width: 70ch; font-size: 13.5px; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.card-h h2 { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.card-h h2 svg { width: 16px; height: 16px; color: var(--muted); }
.card-h span { color: var(--muted); font-size: 12.5px; }
.spot { --x: 50%; --y: 50%; overflow: hidden; }
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs button { position: relative; z-index: 1; flex: none; height: 30px; padding: 0 14px; border: 0; background: none; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 13.5px; border-radius: 7px; transition: color .15s; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs .pill { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 7px; background: var(--card-3); border: 1px solid var(--line-2); transition: transform .3s var(--ease), width .3s var(--ease); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolbar .grow { flex: 1; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 500; transition: background .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--card-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------------- home ---------------- */
/* cardul de salut: pastrat (Robert: "e tare, imi place") */
.hello { --c: #f4c04e; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 26px; margin-bottom: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.01)); }
.hello.nophoto { grid-template-columns: minmax(0, 1fr) auto; }
.hello::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: repeating-conic-gradient(rgba(244,192,78,.07) 0 4deg, transparent 4deg 22.5deg); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 65%); mask-image: radial-gradient(circle, #000 0, transparent 65%); animation: spin 90s linear infinite; pointer-events: none; }
.hello.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(380px circle at var(--x) var(--y), rgba(244,192,78,.08), transparent 45%); opacity: 0; transition: opacity .3s; }
.hello.spot:hover::after { opacity: 1; }
.hello .avatar { width: 74px; height: 74px; border: 2px solid var(--gold); box-shadow: 0 0 0 5px rgba(244,192,78,.1); }
.hello h1 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.hello h1 em { font-style: normal; color: var(--gold); }
.hello p { margin: 4px 0 0; color: var(--muted); }
.hello .btn-gold { box-shadow: 0 8px 22px -10px rgba(244,192,78,.75); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
/* cifrele: eticheta, cifra mare, un rand de context. Fara bule colorate. */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { padding: 16px 18px 14px; transition: border-color .15s; }
.stat:hover { border-color: var(--line-2); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat h3 { margin: 0; font: 500 12.5px/1.2 var(--f-body); color: var(--muted); }
.stat .ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line); color: var(--text-2); }
.stat .ic svg { width: 14px; height: 14px; }
.stat .big { margin-top: 10px; font: 600 28px/1.1 var(--f-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .big small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.stat .sub { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.stat .sub b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .sub b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c); margin-right: 7px; vertical-align: 1px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.stack { display: grid; gap: 16px; }
.plist { list-style: none; margin: 0; padding: 4px 0; display: grid; max-height: 480px; overflow: auto; }
.plist li + li a, .plist li + li .it { border-top: 1px solid var(--line); }
.plist a, .plist .it { display: flex; align-items: center; gap: 12px; padding: 10px 18px; transition: background .12s; }
.plist a:hover { background: var(--card-2); }
.plist .nm { min-width: 0; flex: 1; display: flex; align-items: baseline; gap: 10px; }
.plist .nm b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist .nm span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist .meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.plist .empty { padding: 30px 18px; }
.ann { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ann:last-child { border-bottom: 0; }
.ann b { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ann .pin { height: 18px; padding: 0 6px; border-radius: 5px; font: 600 10.5px/18px var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); }
.ann p { margin: 6px 0 8px; color: var(--text-2); white-space: pre-line; font-size: 13.5px; }
.ann small { color: var(--muted); font-size: 12px; }

/* ---------------- profil (pastrat, doar curatat) ---------------- */
.pro-head { overflow: hidden; }
.cover { height: 190px; background: url('/assets/banner.jpg') center 30% / cover; position: relative; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,11,.05), rgba(15,15,18,.97)); }
.pro-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: end; padding: 0 26px 22px; margin-top: -78px; position: relative; }
.pro-ava { width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--gold); object-fit: cover; background: var(--card-3); box-shadow: 0 0 0 6px var(--card); }
.pro-ava.ph { display: grid; place-items: center; color: #55555e; background: var(--card-2); }
.pro-ava.ph svg { width: 64px; height: 64px; }
.pro-name h1 { margin: 0; font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.pro-name .fac { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--text-2); font-size: 13.5px; }
.pro-name .fac svg { width: 15px; height: 15px; color: var(--muted); }
.pro-name .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pro-nums { display: flex; }
.pro-nums div { padding: 4px 24px; text-align: center; border-left: 1px solid var(--line-2); }
.pro-nums div:first-child { border-left: 0; }
.pro-nums b { display: block; font: 700 32px/1 var(--f-body); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.pro-nums span { display: block; margin-top: 6px; font: 500 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pro-tabs { margin: 16px 0 12px; }
.alert { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; margin: 16px 16px 0; border-radius: 10px; border: 1px solid rgba(239,83,80,.35); background: rgba(239,83,80,.06); }
.alert svg { width: 20px; height: 20px; color: var(--bad); margin-top: 2px; }
.alert b { color: #f6b4b2; font-weight: 600; }
.alert p { margin: 4px 0 0; color: var(--text-2); font-size: 13.5px; }
.alert a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.info { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; padding: 0; }
.info > div { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.info i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; flex: none; border: 1px solid var(--line-2); color: var(--c, var(--text-2)); background: var(--card-2); }
.info i svg { width: 16px; height: 16px; }
.info span { display: block; color: var(--muted); font-size: 12px; }
.info b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 16px; }
.veh { overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); transition: border-color .15s; }
.veh:hover { border-color: var(--line-2); }
.veh .img { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #0b0b0e; border-bottom: 1px solid var(--line); }
.veh .img img { width: 84%; height: 84%; object-fit: contain; }
.veh .img svg { width: 44px; height: 44px; color: #3a3a42; }
.veh .bd { padding: 12px 14px 14px; display: grid; gap: 7px; }
.veh h3 { margin: 0; font-size: 14.5px; font-weight: 600; }
.plate { justify-self: start; padding: 2px 9px; border-radius: 5px; background: #f3f1e9; color: #142355; font: 700 12.5px/1.25 var(--f-label); letter-spacing: .14em; border: 2px solid #142355; }
.veh .row { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 16px; }
.house { padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); display: grid; gap: 7px; transition: border-color .15s; }
.house:hover { border-color: var(--line-2); }
.house .zone { color: var(--muted); font-size: 12px; font-weight: 500; }
.house h3 { margin: 0; font-size: 15.5px; font-weight: 600; }
.house .price { font: 600 20px/1 var(--f-body); letter-spacing: -.01em; }
.house .row { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 12.5px; }
.timeline { list-style: none; margin: 0; padding: 18px 18px 18px 34px; position: relative; display: grid; gap: 10px; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 26px; bottom: 26px; width: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); }
.timeline li::before { content: ""; position: absolute; left: -18px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-3); }
.timeline li.now::before { background: var(--ok); border-color: var(--ok); }
.timeline p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

/* ---------------- tichete / reclamatii / unban (stil helpdesk) ---------------- */
.k-tichet { --ac: var(--info); } .k-reclamatie { --ac: var(--bad); } .k-unban { --ac: var(--violet); } .k-privat { --ac: var(--teal); }
.tlist { display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.tlist > .card { border: 0; border-radius: 0; }
.tlist > .sk { margin: 12px; }
.trow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 18px; transition: background .12s; }
.trow + .trow { border-top: 1px solid var(--line); }
.trow:hover { background: var(--card-2); }
.trow .no { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 500 12.5px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.trow .no::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.trow .no.closed::before { background: #4a4a52; }
.trow h3 { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow p b { color: var(--text-2) !important; font-weight: 500 !important; }
.trow .side-meta { display: grid; justify-items: end; gap: 5px; font-size: 12px; color: var(--muted); }
.trow .side-meta .chip::before { background: var(--ac, var(--cc)); }
.thread { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.thread-meta { position: sticky; top: calc(var(--top) + 16px); }
.meta-list { display: grid; padding: 4px 0; }
.meta-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 18px; font-size: 13px; }
.meta-list div + div { border-top: 1px solid var(--line); }
.meta-list span { color: var(--muted); }
.meta-list b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.meta-list b a { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.chat { display: grid; gap: 0; padding: 6px 0; }
/* toate mesajele aliniate la stanga (ca intr-un helpdesk); raspunsurile staff-ului au fundal discret */
.msg, .msg.mine { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; max-width: none; margin: 0; padding: 14px 18px; animation: fade .2s both; }
.msg + .msg { border-top: 1px solid var(--line); }
.msg.mine .avatar { order: 0; }
.msg.nophoto, .msg.mine.nophoto { grid-template-columns: minmax(0, 1fr); }
.msg.staff { background: color-mix(in srgb, var(--gc, #fff) 4%, transparent); box-shadow: inset 2px 0 0 color-mix(in srgb, var(--gc, #fff) 70%, transparent); }
.msg .id-photo { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); }
.msg.staff .id-photo { border-color: color-mix(in srgb, var(--gc, #fff) 60%, transparent); }
.msg .bub, .msg.mine .bub { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.msg .hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 3px; font-size: 13px; }
.msg .hd b { font-weight: 600; color: var(--text); }
.msg.staff .hd b { color: var(--text); }
.msg .hd time { color: var(--muted); font-size: 12px; margin-left: auto; }
.msg .tx { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.msg .imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg .imgs button { padding: 0; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #000; transition: border-color .15s; }
.msg .imgs button:hover { border-color: var(--line-3); }
.msg .imgs img { width: 132px; height: 92px; object-fit: cover; }
.sysmsg { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.sysmsg svg { color: var(--ok); }
.composer { display: grid; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--bg-2); border-radius: 0 0 var(--r) var(--r); }
.composer textarea { min-height: 84px; background: var(--card); }
.composer .bar { display: flex; align-items: center; gap: 8px; }
.composer .bar small { color: var(--muted); margin-right: auto; font-size: 12px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb { position: relative; width: 70px; height: 70px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.up::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.thumb.up::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 20px; height: 20px; margin: -10px; border-radius: 50%; border: 2px solid #fff; border-right-color: transparent; animation: spin .7s linear infinite; }
.thumb button { position: absolute; top: 4px; right: 4px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0,0,0,.75); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.drop { display: grid; justify-items: center; gap: 4px; padding: 16px; border: 1px dashed var(--line-3); border-radius: 10px; color: var(--muted); text-align: center; cursor: pointer; font-size: 13px; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: #6a6a75; background: var(--card-2); color: var(--text-2); }
.drop b { color: var(--text); font-weight: 600; }
.drop svg { width: 20px; height: 20px; color: var(--text-2); }

/* ---------------- ferestre / meniu click dreapta / poza mare ---------------- */
.modal-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(5,5,7,.72); animation: fade .15s both; }
.modal { width: 100%; max-width: 520px; max-height: calc(100dvh - 36px); display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); box-shadow: 0 40px 90px -30px rgba(0,0,0,.95); animation: modalIn .2s var(--ease) both; }
.modal.wide { max-width: 680px; }
.modal header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.modal header h2 { margin: 0; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.modal header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.modal .body { padding: 4px 20px 16px; overflow: auto; display: grid; gap: 14px; }
.modal footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px 16px; border-top: 1px solid var(--line); background: var(--bg-2); border-radius: 0 0 14px 14px; }
.modal .err { margin: 0; color: #f28b88; font-size: 13px; }
.decision { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .15s, background .15s; }
.opt:has(input:checked) { border-color: #6a6a75; background: var(--card-2); }
.opt input { margin-top: 3px; accent-color: #ededf0; }
.opt b { display: block; font-weight: 600; font-size: 13.5px; }
.opt span { color: var(--muted); font-size: 12.5px; }
.ctx { position: fixed; z-index: 90; min-width: 210px; padding: 5px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); box-shadow: 0 20px 44px -16px rgba(0,0,0,.95); animation: fade .12s both; }
.ctx h6 { margin: 0; padding: 7px 9px 6px; color: var(--muted); font: 500 11.5px/1.2 var(--f-body); }
.ctx button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left; color: var(--text-2); font-size: 13.5px; }
.ctx button:hover { background: var(--card-3); color: var(--text); }
.ctx button svg { width: 15px; height: 15px; color: var(--muted); }
.ctx button.danger, .ctx button.danger svg { color: #f28b88; }
.ctx hr { border: 0; border-top: 1px solid var(--line); margin: 4px 2px; }
.lightbox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.9); cursor: zoom-out; animation: fade .15s both; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

/* ---------------- staff / tabele ---------------- */
.staff-tabs { margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { position: sticky; top: 0; z-index: 1; height: 38px; padding: 0 16px; text-align: left; font: 500 12px/1.2 var(--f-body); color: var(--muted); background: var(--card); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--card-2); }
.table.ctx-on tr[data-acc], #pbody tr[data-acc] { cursor: context-menu; }
.table .who { display: flex; align-items: center; gap: 10px; }
.table .who b { font-weight: 500; }
.table .who:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.table .num { font-variant-numeric: tabular-nums; color: var(--text-2); }
.table .gbar { display: none; }
.tbl-wrap { overflow: auto; max-height: 66vh; border-radius: 0 0 var(--r) var(--r); }
.st-on { color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.st-off { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.grade-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.gl { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.gl i { width: 7px; height: 7px; border-radius: 50%; background: var(--gc); }
.team-card .search { margin: 0; }
.chatbox { display: flex; flex-direction: column; height: min(66vh, 640px); }
.chatbox .chat { flex: 1; overflow: auto; align-content: start; }
.warn-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.warn-row:last-child { border-bottom: 0; }
.warn-n { min-width: 42px; height: 26px; display: grid; place-items: center; border-radius: 6px; font: 600 12.5px/1 var(--f-body); border: 1px solid rgba(240,163,58,.35); color: var(--warn); background: rgba(240,163,58,.07); }
.warn-n.n3 { border-color: rgba(239,83,80,.4); color: var(--bad); background: rgba(239,83,80,.07); }
.warn-row p { margin: 0; color: var(--text-2); font-size: 13.5px; }
.warn-row small { color: var(--muted); font-size: 12px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.frame { width: 100%; height: 75vh; border: 0; border-radius: 0 0 var(--r) var(--r); background: #fff; }

/* ---------------- regulament ---------------- */
.rules-bar { position: sticky; top: calc(var(--top) + 10px); z-index: 5; display: grid; gap: 10px; padding: 10px; margin-bottom: 14px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(15,15,18,.95); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chipbtn { flex: none; height: 28px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--line-2); background: none; cursor: pointer; font-weight: 500; font-size: 12.5px; color: var(--muted); transition: background .15s, color .15s, border-color .15s; }
.chipbtn:hover { color: var(--text); border-color: var(--line-3); }
.chipbtn[aria-pressed="true"] { background: var(--card-3); border-color: var(--line-3); color: var(--text); }
.chapter { margin-top: 22px; }
.chapter h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.chapter h2 span { color: var(--gold); font: 600 20px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.chapter > p { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }
.rgroup { margin: 16px 0 8px; display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rgroup::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.art { padding: 16px 18px; margin-bottom: 8px; display: grid; gap: 8px; }
.art-h { display: flex; gap: 10px; align-items: baseline; }
.art-h span { font: 600 12px/1 var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.art-h h3 { margin: 0; font-size: 15px; font-weight: 600; }
.art p, .art li { margin: 0; color: var(--text-2); max-width: 82ch; font-size: 13.5px; }
.art ul { margin: 0; padding-left: 20px; }
.art .ex { color: var(--muted); padding-left: 12px; border-left: 2px solid var(--line-2); font-size: 13px; }
.pen { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.pen-h { font: 600 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ladder { display: flex; flex-wrap: wrap; gap: 6px; }
.ladder span { padding: 5px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 500; border: 1px solid; background: var(--card-2); }
.ladder small { display: block; font: 500 10px/1.3 var(--f-body); opacity: .75; }
.l-warn { color: #9cc2f0; border-color: rgba(156,194,240,.25); } .l-jail { color: #f3b26a; border-color: rgba(243,178,106,.28); }
.l-ban { color: #f0928c; border-color: rgba(240,146,140,.28); } .l-perm { color: #fff; background: #6b1a3a !important; border-color: #6b1a3a; }
.l-ic { color: #79d6a6; border-color: rgba(121,214,166,.28); } .l-other { color: var(--text); border-color: var(--line-2); }
.art .xt { color: var(--muted); font-size: 13px; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zones span { padding: 4px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 500; border: 1px solid currentColor; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.tbl table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font: 500 12px/1.2 var(--f-body); color: var(--muted); }
mark { background: rgba(244,192,78,.25); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------------- setari ---------------- */
.set-list { padding: 0 18px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row b { display: block; font-weight: 600; font-size: 13.5px; }
.set-row span { color: var(--muted); font-size: 12.5px; }
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { appearance: none; width: 100%; height: 100%; margin: 0; border-radius: 999px; background: var(--card-3); border: 1px solid var(--line-2); cursor: pointer; transition: background .15s, border-color .15s; }
.switch input:checked { background: var(--gold); border-color: var(--gold); }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; pointer-events: none; transition: transform .2s var(--ease); }
.switch:has(input:checked)::after { transform: translateX(18px); }

/* ---------------- notificari pop-up / offline ---------------- */
.offline { display: grid; justify-items: center; gap: 10px; padding: 52px 20px; text-align: center; color: var(--muted); font-size: 13.5px; }
.offline svg { width: 30px; height: 30px; color: var(--warn); }
.offline b { color: var(--text); font-size: 15px; font-weight: 600; }
#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: grid; gap: 8px; }
.toast { display: flex; gap: 11px; align-items: flex-start; width: min(340px, 90vw); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); box-shadow: 0 18px 40px -16px rgba(0,0,0,.95); animation: toastIn .25s var(--ease) both; }
.toast.out { animation: toastOut .2s var(--ease) forwards; }
.toast i { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--text-2); flex: none; }
.toast.err i { background: var(--bad); } .toast.ok i { background: var(--ok); }
.toast b { display: block; font-weight: 600; font-size: 13.5px; }
.toast p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.scrim { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.04); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes rowIn { from { opacity: 0; } }

.compact .view { padding: 16px; } .compact .stat { padding: 12px 14px; } .compact .info > div { padding: 10px 14px; } .compact .trow { padding: 9px 14px; }

@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-grid, .thread { grid-template-columns: minmax(0, 1fr); }
  .thread-meta { position: static; order: -1; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-102%); transition: transform .3s var(--ease); box-shadow: 30px 0 80px rgba(0,0,0,.6); }
  .shell.nav-open .side { transform: none; }
  .shell.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.55); animation: fade .2s both; }
  .burger { display: grid; }
  .search kbd { display: none; }
  .hello { grid-template-columns: auto minmax(0, 1fr); }
  .hello.nophoto { grid-template-columns: minmax(0, 1fr); }
  .hello .quick { grid-column: 1 / -1; }
  .pro-row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; margin-top: -86px; padding: 0 16px 20px; }
  .pro-ava { width: 124px; height: 124px; }
  .pro-name .tags, .pro-name .fac { justify-content: center; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .search input { padding-right: 12px; }
  .trow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .trow .side-meta { justify-items: start; grid-auto-flow: column; justify-content: start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* improspatarile in fundal nu mai reanima ce e deja pe ecran */
.quiet, .quiet * { animation: none !important; }

/* ==========================================================================
   22.10.2026: sigla gradului (aceeasi ca in joc) in locul punctului colorat
   ========================================================================== */
.grade::before { width: 16px; height: 16px; border-radius: 0; background: none center / contain no-repeat; }
.gl i { width: 18px; height: 18px; border-radius: 0; background: none center / contain no-repeat; }
.grade.g1::before, .gl.g1 i { background-image: url(grades/g1.png); }
.grade.g2::before, .gl.g2 i { background-image: url(grades/g2.png); }
.grade.g3::before, .gl.g3 i { background-image: url(grades/g3.png); }
.grade.g4::before, .gl.g4 i { background-image: url(grades/g4.png); }
.grade.g5::before, .gl.g5 i { background-image: url(grades/g5.png); }
.grade.g6::before, .gl.g6 i { background-image: url(grades/g6.png); }
.grade.g7::before, .gl.g7 i { background-image: url(grades/g7.png); }
.grade { height: 24px; padding: 0 9px 0 6px; }

/* ---- logo-ul panelului: monograma OP, aurie, in patrat rotunjit */
.brand { gap: 12px; }
.brand-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 6px 16px rgba(244,192,78,.18)); transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-mark .bm-shine { transform: translateX(-60px) skewX(-20deg); }
.brand:hover .brand-mark .bm-shine { animation: bmShine .9s var(--ease); }
@keyframes bmShine { to { transform: translateX(60px) skewX(-20deg); } }
.brand b { font: 700 14.5px/1.15 var(--f-label); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.brand b em { font-style: normal; color: var(--gold); }

/* ---- Istoric (tichete / reclamatii / cereri de unban ale tale) */
.hist-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.hist-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.hist-sum .card { padding: 14px 16px; }
.hist-sum b { display: block; font: 700 24px/1.1 var(--f-body); font-variant-numeric: tabular-nums; }
.hist-sum span { color: var(--muted); font-size: 12.5px; }
.hist-list { display: grid; gap: 10px; }
.hist { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); transition: border-color .2s, transform .25s var(--ease), background .2s; animation: rowIn .35s ease both; animation-delay: calc(var(--i, 0) * 30ms); }
.hist:hover { border-color: var(--line-3); background: var(--card-2); transform: translateY(-2px); }
.hist .h-no { font: 700 13px var(--f-body); color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.hist h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.hist .h-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 12.5px; }
.hist .h-meta b { color: var(--text-2); font-weight: 600; }
.hist .h-last { margin: 8px 0 0; color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist .h-side { display: grid; justify-items: end; gap: 6px; }
.hist .h-closed { color: var(--muted); font-size: 12px; text-align: right; }

/* ---- warn staff: butonul de scos warn-ul */
.warn-row .btn-ghost.btn-sm { white-space: nowrap; }

/* ================================================================ SHOP (24.10.2026) */
.shop-body { margin-top: 18px; }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .9fr); gap: 16px; align-items: stretch; animation: viewIn .4s var(--ease) both; }
.shop-in { display: grid; gap: 16px; padding: 20px; }
.lei-box { position: relative; display: block; }
.lei-box .input { font: 600 26px/1.2 var(--f-body); padding: 14px 64px 14px 16px; letter-spacing: -.01em; -moz-appearance: textfield; }
.lei-box .input::-webkit-outer-spin-button, .lei-box .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lei-box b { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font: 600 15px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick .chipbtn { transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.quick .chipbtn:active { transform: scale(.96); }
.shop-note { margin: 0; color: var(--muted); font-size: 13.5px; min-height: 20px; transition: color .2s var(--ease); }
.shop-note.bad { color: var(--bad); }
.shop-sum { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 26px 22px 22px; text-align: center; overflow: hidden; }
.shop-sum::before { content: ""; position: absolute; left: 50%; top: -90px; width: 300px; height: 300px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(244, 192, 78, .16), transparent 65%); pointer-events: none; }
.coin-ico { position: relative; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #1a1206; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--amber)); box-shadow: 0 10px 28px -10px rgba(244, 192, 78, .8); margin-bottom: 8px; }
.coin-ico svg { width: 28px; height: 28px; }
.sum-lbl { position: relative; font: 600 12px/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.coin-out { position: relative; font: 400 clamp(44px, 5vw, 64px)/1 var(--f-display); letter-spacing: .01em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sum-unit { position: relative; font: 600 14px/1.2 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.sum-rows { position: relative; width: 100%; display: grid; gap: 2px; margin: 16px 0 14px; padding-top: 12px; border-top: 1px solid var(--line); text-align: left; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 2px; font-size: 14px; }
.sum-rows span { color: var(--muted); }
.sum-rows b { font-weight: 600; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.shop-sum .btn { position: relative; width: 100%; padding: 13px 18px; }
@media (max-width: 900px) { .shop-grid { grid-template-columns: minmax(0, 1fr); } }
/* plata cu Stripe (24.10.2026): nota de siguranta, platile tale, pagina de dupa plata */
.shop-chips { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; min-width: 0; }
.shop-calc .card-h { flex-wrap: wrap; row-gap: 8px; }
.shop-grid > .card { min-width: 0; }
.shop-calc { display: flex; flex-direction: column; }
.shop-calc .shop-in { flex: 1; }
.shop-safe { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.shop-safe svg { flex: none; width: 16px; height: 16px; color: var(--gold); }
.shop-orders { margin-top: 16px; animation: viewIn .4s var(--ease) .06s both; }
.ord-list { display: grid; padding: 6px; }
.ord-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-sm); color: inherit; text-decoration: none; font-size: 14px; transition: background .2s var(--ease); }
.ord-row:hover { background: var(--card-2); }
.ord-row + .ord-row { box-shadow: 0 -1px 0 var(--line); }
.ord-c { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.ord-c svg { flex: none; width: 16px; height: 16px; color: var(--gold); }
.ord-c b { font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-l { font-variant-numeric: tabular-nums; }
.ord-d { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ord-row .chip { justify-self: end; }
@media (max-width: 640px) {
  .ord-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .ord-l { grid-column: 1; grid-row: 2; color: var(--muted); font-size: 13px; }
  .ord-d { grid-column: 2; grid-row: 2; text-align: right; }
}
.shop-pay { position: relative; overflow: hidden; animation: viewIn .4s var(--ease) both; }
.shop-pay::before { content: ""; position: absolute; left: 50%; top: -120px; width: 380px; height: 380px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(244, 192, 78, .12), transparent 65%); pointer-events: none; }
.pay-in { position: relative; display: grid; justify-items: center; gap: 10px; max-width: 520px; margin: 0 auto; padding: 48px 22px 40px; text-align: center; animation: viewIn .35s var(--ease) both; }
.pay-in h2 { margin: 6px 0 0; font: 400 30px/1.1 var(--f-display); letter-spacing: .01em; }
.pay-in p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.pay-in p b { color: var(--text); font-weight: 600; }
.pay-act { margin-top: 12px; }
.pay-ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--card-3); border: 1px solid var(--line-2); color: var(--muted); transition: background .3s var(--ease), color .3s var(--ease); }
.pay-ico svg { width: 28px; height: 28px; }
.pay-ico.ok { color: #08130d; background: var(--ok); border-color: transparent; box-shadow: 0 10px 30px -12px var(--ok); }
.pay-ico.gold { color: #1a1206; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--amber)); border-color: transparent; }
.pay-ico.bad { color: var(--bad); }
.pay-spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid rgba(244, 192, 78, .22); border-top-color: var(--gold); animation: paySpin .8s linear infinite; }
@keyframes paySpin { to { transform: rotate(360deg); } }
.reduce .pay-spin { animation-duration: 2.4s; }
/* Home: Cartea serverului (25.10.2026) */
.book-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; text-decoration: none; color: inherit; transition: border-color .2s var(--ease), transform .25s var(--ease), background .2s var(--ease); }
.book-card:hover { border-color: rgba(244, 192, 78, .35); transform: translateY(-2px); }
.bk-cover { position: relative; width: 58px; height: 78px; display: grid; place-items: center; border-radius: 3px 7px 7px 3px; background: radial-gradient(120% 80% at 30% 20%, #3b2c1c, #1a140e 60%, #120d09); box-shadow: inset 4px 0 6px -2px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(244, 192, 78, .25), 0 8px 18px -8px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); }
.bk-cover::after { content: ""; position: absolute; inset: 5px 5px 5px 8px; border: 1px solid rgba(244, 192, 78, .35); border-radius: 2px; }
.book-card:hover .bk-cover { transform: perspective(300px) rotateY(-14deg); }
.bk-cover img { width: 34px; height: 34px; }
.bk-tx { display: grid; gap: 4px; min-width: 0; }
.bk-tx b { font: 600 15px/1.2 var(--f-body); }
.bk-tx span { color: var(--text-2); font-size: 13px; line-height: 1.45; }
.bk-tx em { font-style: normal; font-size: 12px; color: var(--gold); }
.bk-go svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s var(--ease), transform .25s var(--ease); }
.book-card:hover .bk-go svg { stroke: var(--gold); transform: translate(2px, -2px); }
/* Dovezi (25.10.2026): lista in zona staff + cautarea de staff / jucator */
.embed-list { margin-top: 18px; animation: viewIn .35s var(--ease) both; }
.embed-lead { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.row2:has(.pick) { align-items: start; }
.pick { display: grid; gap: 6px; }
.pick-in { max-width: none; }
.pick-list { display: grid; max-height: 236px; overflow: auto; padding: 4px; border-radius: var(--r-sm); background: var(--card-2); border: 1px solid var(--line-2); }
.pick-list button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 7px; background: none; color: var(--text); text-align: left; cursor: pointer; }
.pick-list button:hover, .pick-list button.hl { background: var(--card-3); }
.pick-list p { margin: 0; padding: 10px; color: var(--muted); font-size: 13px; }
.pick-list span, .pick-chosen span { display: grid; gap: 2px; min-width: 0; }
.pick-list b, .pick-chosen b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-list small, .pick-chosen small { color: var(--muted); font-size: 12px; }
.pick-chosen { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 6px 6px 12px; border-radius: var(--r-sm); background: var(--card-2); border: 1px solid rgba(244, 192, 78, .3); }
.pick-chosen span { flex: 1; }
.gdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gc, var(--muted)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc, #fff) 18%, transparent); }
/* Altele (25.10.2026): produse platite cu ORGCoins */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; animation: viewIn .4s var(--ease) both; }
.prod { display: flex; flex-direction: column; gap: 14px; padding: 22px; min-width: 0; position: relative; overflow: hidden; }
.prod::before { content: ""; position: absolute; right: -80px; top: -110px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 192, 78, .11), transparent 65%); pointer-events: none; }
.prod-h { position: relative; display: flex; align-items: center; gap: 14px; }
.prod-h .coin-ico { width: 48px; height: 48px; margin: 0; flex: none; }
.prod-h .coin-ico svg { width: 24px; height: 24px; }
.prod-h h3 { margin: 0; font: 600 17px/1.25 var(--f-body); }
.prod-h p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.prod-h p b { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.prod-d { position: relative; margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.prod-ban { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: var(--r-sm); background: rgba(239, 83, 80, .08); border: 1px solid rgba(239, 83, 80, .22); color: var(--text); font-size: 13px; }
.prod-ban svg { flex: none; width: 16px; height: 16px; color: var(--bad); }
.prod-ban span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod-off { margin: auto 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--card-2); border: 1px dashed var(--line-2); color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.prod-left { margin: 0; font-size: 14px; color: var(--text-2); }
.prod-left b { color: var(--text); }
.prod .field { display: grid; gap: 8px; }
.prod .field > span { font-size: 13px; font-weight: 600; }
.prod-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.prod-total span { color: var(--muted); }
.prod-total b { font: 400 24px/1 var(--f-display); letter-spacing: .02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.prod > .btn { width: 100%; padding: 12px 16px; }
.prod > .btn-gold + .prod-off, .prod > .prod-ban + .btn { margin-top: auto; }
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; }
.stepper button { display: grid; place-items: center; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); cursor: pointer; transition: background .2s var(--ease), transform .15s var(--ease); }
.stepper button:hover { background: var(--card-3); }
.stepper button:active { transform: scale(.94); }
.stepper button svg { width: 16px; height: 16px; }
.stepper .input { height: 44px; text-align: center; font: 600 18px/1 var(--f-body); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper .input::-webkit-outer-spin-button, .stepper .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }
/* termeni / confidentialitate (07.11.2026) */
.auth-legal { margin: 14px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); }
.auth-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.auth-legal a:hover { color: var(--gold); }
.check.shop-ok { align-items: flex-start; margin: 2px 0 12px; font-size: 12.5px; line-height: 1.45; text-align: left; }
.check.shop-ok input { flex: none; margin-top: 1px; }
.check.shop-ok a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------------- aplicatii staff (08.11.2026) */
.app-head-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.app-banner { display: flex; gap: 12px; align-items: center; padding: 14px 18px; margin-bottom: 16px; }
.app-banner b { display: block; font-weight: 600; }
.app-banner span { color: var(--muted); font-size: 13px; }
.app-form { display: grid; gap: 14px; padding: 18px; }
.app-form .seg { justify-self: start; }
.app-form input[readonly] { color: var(--text-2); background: var(--card-2); cursor: default; }
.app-form .err { margin: 0; color: #ff9c9c; font-size: 13px; min-height: 0; }
.app-form .err:empty { display: none; }
.app-submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.app-submit small { color: var(--muted); font-size: 12.5px; max-width: 60ch; }
.app-sent { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 34px 22px; }
.app-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,199,123,.12); border: 1px solid rgba(52,199,123,.5); color: var(--ok); animation: appPop .5s var(--ease); }
.app-check svg { width: 30px; height: 30px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: appDraw .5s .25s var(--ease) forwards; }
.reduce .app-check svg { stroke-dashoffset: 0; }
@keyframes appPop { from { transform: scale(.6); opacity: 0; } }
@keyframes appDraw { to { stroke-dashoffset: 0; } }
.app-sent h2 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.01em; }
.app-sent h2 em, .app-top h1 em { font-style: normal; color: var(--gold); }
.app-sent p { margin: 0; max-width: 62ch; color: var(--text-2); }
.app-sm { color: var(--muted) !important; font-size: 13px; }
.app-sent-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; flex-wrap: wrap; }
.app-top h1 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.app-top p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.app-top p a { color: var(--text); font-weight: 600; }
.app-msg { margin-top: 16px; padding: 16px 18px; border-left: 3px solid var(--mc, var(--line-3)); }
.app-msg.gold { --mc: var(--gold); } .app-msg.ok { --mc: var(--ok); } .app-msg.bad { --mc: var(--bad); } .app-msg.blue { --mc: var(--info); }
.app-msg h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.app-msg h3 svg { width: 18px; height: 18px; color: var(--mc); }
.app-msg p { margin: 6px 0 0; color: var(--text-2); }
.app-msg a { color: var(--gold); }
.app-quote { padding: 10px 12px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); }
.app-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.app-dl { margin: 0; display: grid; }
.app-qa { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); }
.app-qa:first-child { border-top: 0; }
.app-qa dt { color: var(--muted); font-size: 13px; }
.app-qa dd { margin: 0; min-width: 0; }
.app-qa small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.app-qa code { font-size: 12.5px; color: var(--text-2); }
.app-about { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .app-qa { grid-template-columns: 1fr; gap: 4px; } .app-form .row2 { grid-template-columns: 1fr; } }
