:root {
	--brand: #6c2bd9;
	--brand-hover: #7d42e6;
	--bg: #111214;
	--panel: #1a1b1e;
	--panel-2: #222327;
	--border: #2c2d32;
	--text: #e8e8ea;
	--muted: #9a9ba3;
	--pos: #3ba55d;
	--neg: #ed4245;
	--discord: #5865f2;
	--radius: 12px;
}

* { box-sizing: border-box; }

/* locul scrollbar-ului e rezervat mereu: pagina nu sare cand apare/dispare (ex. dupa ecranul de incarcare) */
html { scrollbar-gutter: stable; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 15px/1.5 "Inter", system-ui, sans-serif;
}

a { color: var(--brand-hover); }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: 24px; }
h2 { font-size: 16px; margin-bottom: 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- layout ---------- */

.layout { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }

/* ---------- meniul lateral ---------- */

.sidebar {
	position: sticky; top: 0; height: 100vh;
	display: flex; flex-direction: column;
	background:
		radial-gradient(120% 40% at 0% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
		linear-gradient(180deg, #17151c 0%, #121115 100%);
	border-right: 1px solid var(--border);
	padding: 18px 14px 14px;
}
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(201,163,91,.14); }

.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.sidebar .brand { padding: 0; gap: 12px; }
.brand-ring { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 35%, #0d0b10), #0d0b10 70%); box-shadow: 0 0 0 1px rgba(201,163,91,.45), 0 0 18px rgba(108,43,217,.35); }
.sidebar .brand-ring img { width: 30px; height: 30px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Cinzel", Georgia, serif; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.brand-text small { font-family: "Cinzel", Georgia, serif; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); opacity: .8; margin-top: 3px; }

nav { display: flex; flex-direction: column; gap: 14px; flex: 1; overflow-y: auto; padding: 4px 2px; scrollbar-width: thin; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-label { display: flex; align-items: center; gap: 8px; margin: 2px 10px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.nav-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201,163,91,.35), transparent); }

.nav-item {
	position: relative; display: flex; align-items: center; gap: 12px;
	padding: 9px 12px; border-radius: 10px;
	color: #a9a6b2; text-decoration: none; font-weight: 500; font-size: 14.5px;
	transition: background .15s, color .15s;
}
.nav-item .ico { width: 18px; height: 18px; flex: 0 0 18px; opacity: .8; transition: color .15s, opacity .15s; }
.nav-item:hover { background: rgba(255,255,255,.045); color: var(--text); }
.nav-item:hover .ico { opacity: 1; }
.nav-item.active {
	color: #fff;
	background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 38%, transparent), color-mix(in srgb, var(--brand) 8%, transparent));
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent);
}
.nav-item.active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); }
.nav-item.active .ico { color: var(--gold-soft); opacity: 1; }
.nav-item:focus-visible, .menu-btn:focus-visible, .logout:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.me { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid var(--border); }
.me-avatar { flex: 0 0 auto; padding: 2px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-soft), var(--brand)); }
.me-avatar img { display: block; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #121115; }
.me-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.me-text strong, .me-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-text strong { font-size: 14px; }
.me-text span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.role-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }
.logout { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--muted); text-decoration: none; transition: background .15s, color .15s; }
.logout .ico { width: 18px; height: 18px; }
.logout:hover { color: #ff8a8c; background: color-mix(in srgb, var(--neg) 16%, transparent); }

/* bara de sus si sertarul de meniu (doar pe telefon) */
.mobile-bar, .menu-btn.close, .sidebar-backdrop { display: none; }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); color: var(--text); cursor: pointer; }
.menu-btn .ico { width: 20px; height: 20px; }
.brand-mini { display: flex; align-items: center; gap: 10px; color: var(--gold-soft); text-decoration: none; font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.brand-mini img { width: 30px; height: 30px; border-radius: 50%; }

.content { padding: 32px; width: 100%; min-width: 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }

.center { min-height: 100vh; display: grid; place-items: center; padding: 16px; }

/* ---------- componente ---------- */

.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; overflow-x: auto; }

.login { max-width: 380px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 28px; }
.login .logo { width: 72px; height: 72px; border-radius: 18px; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; border: 0; }
.btn:hover { background: var(--brand-hover); }
.btn.discord { background: var(--discord); width: 100%; }
.btn.ghost { background: var(--panel-2); color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat .label { color: var(--muted); font-size: 13px; }
.stat strong { font-size: 26px; font-variant-numeric: tabular-nums; }

.roles { display: flex; flex-wrap: wrap; gap: 6px; }
.role { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--panel-2); font-size: 12px; }
.role::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
td:nth-child(3) { white-space: normal; }
th { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--panel-2); }
.num { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
th.num { font-weight: 600; }
.num.neg { color: var(--neg); }

select { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font: inherit; }

.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.tag.sell { background: color-mix(in srgb, var(--pos) 20%, transparent); color: var(--pos); }
.tag.buy { background: color-mix(in srgb, var(--discord) 22%, transparent); color: #8f99ff; }
.tag.neg { background: color-mix(in srgb, var(--neg) 20%, transparent); color: var(--neg); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.listing { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.listing .price { margin: 0; font-size: 18px; font-weight: 700; }
.listing p { margin: 0; }

.empty { text-align: center; padding: 80px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---------- pontaj live / calculator ---------- */

.count { font-size: 16px; font-weight: 500; margin-left: 6px; }
.notice { white-space: pre-line; background: color-mix(in srgb, var(--pos) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--pos) 40%, transparent); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; }
.notice.neg { background: color-mix(in srgb, var(--neg) 12%, var(--panel)); border-color: color-mix(in srgb, var(--neg) 40%, transparent); }

.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.danger { background: color-mix(in srgb, var(--neg) 20%, transparent); color: #ff8a8c; cursor: pointer; }
.btn.danger:hover { background: var(--neg); color: #fff; }
td.actions { text-align: right; width: 1%; }
td.actions form { margin: 0; }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pos); margin-right: 10px; box-shadow: 0 0 0 0 color-mix(in srgb, var(--pos) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tab { background: var(--panel); border: 1px solid var(--border); color: var(--muted); padding: 9px 16px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.tab:hover { color: var(--text); }
.tab.active { background: color-mix(in srgb, var(--brand) 22%, var(--panel)); border-color: var(--brand); color: var(--text); }

.calc-inputs { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.calc-inputs label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); flex: 1 1 200px; }
.calc-inputs label:last-child { flex: 0 1 160px; }
input[type=number] { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font: inherit; }
select:focus, input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.calc .stats { margin-bottom: 18px; }
.stat.wide { grid-column: span 2; }
.stat.accent strong { color: #b48cff; }
.mt { margin-top: 24px; }
.num.pos { color: var(--pos); }

.att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.att { background: var(--panel-2); border-radius: 10px; padding: 12px 14px; }
.att h3 { font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.att .row { display: flex; justify-content: space-between; padding: 3px 0; }

@media (max-width: 760px) {
	.stat.wide { grid-column: auto; }
}

/* ---------- formular puncte ---------- */

.puncte-form { display: flex; flex-direction: column; gap: 16px; }
.picker { display: flex; flex-direction: column; gap: 8px; }
.picker > label { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; align-items: center; }
.chip { background: color-mix(in srgb, var(--brand) 25%, var(--panel-2)); color: var(--text); border: 0; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.chip:hover { background: color-mix(in srgb, var(--neg) 30%, var(--panel-2)); }
input[type=search], input[type=text] { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font: inherit; width: 100%; }
.picker-list { max-height: 220px; overflow-y: auto; border: 1px solid var(--border); border-radius: 8px; padding: 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px; }
.pick { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; overflow: hidden; }
.pick:hover { background: var(--panel-2); }
.pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick input { accent-color: var(--brand); }
.pick[hidden] { display: none; }
.calc-inputs label.grow { flex: 3 1 260px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.btn:disabled { opacity: .6; cursor: wait; }
button.btn { cursor: pointer; font: inherit; font-weight: 600; }

/* ---------- pontajul meu / formulare actiuni ---------- */

.pontaj-eu { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.pontaj-eu > div { flex: 1 1 220px; }
.pontaj-eu h2 { margin-bottom: 4px; }
.pontaj-eu p { margin: 0; }
.pontaj-eu.activ { border-color: color-mix(in srgb, var(--pos) 45%, var(--border)); }
.pontaj-eu .timer { font-size: 28px; font-variant-numeric: tabular-nums; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { width: 180px; }
.action-form { display: flex; flex-direction: column; gap: 16px; }
.action-form .calc-inputs { margin-bottom: 0; }
.action-form .calc-inputs label, .action-form .calc-inputs label:last-child { flex: 1 1 150px; }
.action-form .calc-inputs label.grow { flex: 3 1 260px; }
.calc-inputs select { width: 100%; }
.btn-row { display: flex; gap: 8px; }
.btn.danger:not(.small) { padding: 10px 20px; }

/* ---------- ecran de incarcare (o data pe sesiune) ---------- */

:root { --gold: #c9a35b; --gold-soft: #e6cf9a; }
.splash-screen { display: none; }
html.splash body { overflow: hidden; }
html.splash .splash-screen {
	display: grid; place-items: center;
	position: fixed; inset: 0; z-index: 1000;
	background: radial-gradient(ellipse at center, #17121f 0%, #0a090c 70%);
	transition: opacity .6s ease, visibility .6s;
}
html.splash-out .splash-screen { opacity: 0; visibility: hidden; }
.splash-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75) 100%); }
.splash-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px; text-align: center; animation: splash-in .9s ease both; }

.splash-ring { position: relative; width: 116px; height: 116px; display: grid; place-items: center; margin-bottom: 10px; }
.splash-ring::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0 55%, var(--gold) 80%, var(--gold-soft) 100%);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
	animation: splash-spin 1.6s linear infinite;
}
.splash-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px solid rgba(201,163,91,.25); }
.splash-ring img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 0 18px rgba(108,43,217,.55)); }

.splash-title { font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: clamp(26px, 6vw, 40px); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); text-shadow: 0 0 24px rgba(201,163,91,.25); margin: 0; padding-left: .22em; }
.splash-sub { display: flex; align-items: center; gap: 12px; margin: 0; font-family: "Cinzel", Georgia, serif; font-size: 13px; letter-spacing: .45em; text-transform: uppercase; color: var(--gold); padding-left: .45em; }
.splash-sub span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.splash-sub span:last-child { transform: scaleX(-1); }

.splash-bar { width: min(240px, 70vw); height: 2px; margin-top: 18px; background: rgba(201,163,91,.15); overflow: hidden; border-radius: 2px; }
.splash-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--gold)); transform-origin: left; animation: splash-fill 1.6s cubic-bezier(.6,.1,.3,1) both; }
.splash-msg { margin: 0; min-height: 1.4em; font-size: 13px; color: #8d8795; letter-spacing: .04em; font-style: italic; }

@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splash-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 480px) {
	.splash-title { font-size: 22px; letter-spacing: .12em; padding-left: .12em; }
	.splash-sub { letter-spacing: .3em; padding-left: .3em; }
}

@media (prefers-reduced-motion: reduce) {
	.splash-inner, .splash-ring::before, .splash-bar i { animation: none; }
	.splash-bar i { transform: none; }
}

/* ---------- evenimente ---------- */

.ev-kicker { margin: 0 0 4px; font-family: "Cinzel", Georgia, serif; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ev-title { font-family: "Cinzel", Georgia, serif; font-size: 34px; letter-spacing: .08em; color: var(--gold-soft); }

.ev-add > summary { cursor: pointer; font-weight: 600; list-style: none; }
.ev-add > summary::-webkit-details-marker { display: none; }
.ev-add > summary::before { content: "＋ "; color: var(--gold); }
.ev-add[open] > summary { margin-bottom: 18px; }
.ev-form-grid { display: grid; grid-template-columns: 180px 1fr; gap: 20px; }
.ev-fields { display: flex; flex-direction: column; gap: 14px; }
.ev-fields > label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
textarea, input[type=datetime-local] { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font: inherit; width: 100%; resize: vertical; color-scheme: dark; }
.ev-upload { position: relative; aspect-ratio: 1; border: 1px dashed color-mix(in srgb, var(--gold) 45%, var(--border)); border-radius: 12px; display: grid; place-items: center; text-align: center; cursor: pointer; overflow: hidden; background: var(--panel-2); color: var(--muted); font-size: 13px; line-height: 1.6; }
.ev-upload:hover { border-color: var(--gold); }
.ev-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ev-upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-upload.has-img .ev-upload-hint { visibility: hidden; }

.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 18px; margin-bottom: 28px; }
.ev-card {
	position: relative; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 18px;
	background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 9%, var(--panel)), var(--panel) 55%);
	border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 18px 20px;
	transition: border-color .2s, transform .2s;
}
.ev-card:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--border)); border-left-color: var(--gold-soft); transform: translateY(-2px); }
.ev-thumb { flex: 0 0 112px; width: 112px; height: 112px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(201,163,91,.35); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ev-thumb:hover img { transform: scale(1.06); }
.ev-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ev-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 54px; border-radius: 10px; background: #0d0b10; border: 1px solid rgba(201,163,91,.4); line-height: 1; }
.ev-date strong { font-family: "Cinzel", Georgia, serif; font-size: 22px; color: var(--gold-soft); }
.ev-date span { font-size: 10px; letter-spacing: .15em; color: var(--gold); margin-top: 4px; }
.ev-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--brand) 22%, transparent); color: #c9b2ff; }
.ev-status.live { background: color-mix(in srgb, var(--pos) 20%, transparent); color: #7fe0a2; }
.ev-body h2 { font-family: "Cinzel", Georgia, serif; font-size: 21px; letter-spacing: .03em; color: var(--gold-soft); margin: 0; overflow-wrap: anywhere; }
.ev-meta { margin: 0; color: var(--muted); font-size: 13px; }
.ev-desc { margin: 0; white-space: pre-line; line-height: 1.6; overflow-wrap: anywhere; }
.ev-prizes { background: rgba(0,0,0,.25); border: 1px solid rgba(201,163,91,.2); border-radius: 10px; padding: 10px 14px; }
.ev-prizes h3 { margin: 0 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ev-prizes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ev-prizes li { display: flex; gap: 10px; align-items: baseline; overflow-wrap: anywhere; }
.ev-prizes li span { flex: 0 0 auto; }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.ev-foot form { margin: 0; }

.ev-empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ev-empty img { width: 64px; height: 64px; border-radius: 50%; opacity: .7; margin-bottom: 6px; }
.ev-empty h2 { font-family: "Cinzel", Georgia, serif; color: var(--gold-soft); margin: 0; }
.ev-empty p { margin: 0; }

.ev-section { font-family: "Cinzel", Georgia, serif; font-size: 15px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 8px 0 12px; }
.ev-past { display: flex; flex-direction: column; gap: 8px; }
.ev-past-item { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; opacity: .75; }
.ev-past-item:hover { opacity: 1; }
.ev-past-thumb { flex: 0 0 44px; height: 44px; border-radius: 8px; background: var(--panel-2) center / cover; filter: grayscale(.6); }
.ev-past-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ev-past-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-past-item form { margin: 0; }

/* varianta publica (fara logare) */
.public-page { width: 100%; max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; align-self: start; }
.public-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.public-top .brand { padding: 0; }
.public-top .btn.discord { width: auto; }

@media (max-width: 760px) {
	.ev-form-grid { grid-template-columns: 1fr; }
	.ev-upload { aspect-ratio: auto; height: 140px; }
	.ev-thumb { flex-basis: 76px; width: 76px; height: 76px; }
	.ev-card { padding: 14px; gap: 12px; }
	.ev-title { font-size: 26px; }
}

/* ---------- footer ---------- */

.content { display: flex; flex-direction: column; min-height: 100vh; }
.site-footer {
	margin-top: auto; padding: 28px 0 8px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px;
	font-size: 12px; color: var(--muted); letter-spacing: .04em; text-align: center;
	border-top: 1px solid var(--border);
}
.content > .site-footer { padding-top: 24px; }
.foot-brand { font-family: "Cinzel", Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.foot-sep, .foot-dot { color: var(--gold); }
.foot-heart { color: #e0455a; display: inline-block; animation: foot-beat 1.6s ease-in-out infinite; }
.foot-papi { font-family: "Cinzel", Georgia, serif; color: var(--gold-soft); letter-spacing: .25em; font-weight: 700; }
@keyframes foot-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .foot-heart { animation: none; } }

/* in paginile fara meniu (logare, evenimente publice) footerul sta jos, sub continut */
.center { grid-template-rows: 1fr auto; }
.center > .site-footer { width: 100%; max-width: 1100px; border-top: 0; }

/* ---------- vizualizare pontaje ---------- */

.week-picker { display: flex; align-items: center; gap: 6px; }
.week-picker .btn { padding: 7px 12px; font-size: 16px; line-height: 1; }
.btn.disabled { opacity: .35; pointer-events: none; }
.pontaje-table td.total { color: var(--gold-soft); }
.pontaje-table th, .pontaje-table td { padding-left: 10px; padding-right: 10px; }

/* =========================================================
   FORMULARE - sistem comun (seif, stock, taxe, puncte, evenimente, calculator, pontaj)
   ========================================================= */

/* titlurile paginilor, in tema Santos */
.page-head h1 { font-family: "Cinzel", Georgia, serif; font-size: 28px; letter-spacing: .06em; color: var(--gold-soft); }
.kicker { margin: 0 0 4px; font-family: "Cinzel", Georgia, serif; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.chip-info { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--border); }
.chip-info.ok { color: #7fe0a2; border-color: color-mix(in srgb, var(--pos) 35%, var(--border)); }

/* antetul unui card / formular */
.panel-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(201,163,91,.14); flex-wrap: wrap; }
.panel-head > div:not(.head-tools) { flex: 1 1 220px; min-width: 0; }
.panel-head h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.panel-head p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.panel-ico {
	flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
	background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 45%, #141118), #141118 75%);
	box-shadow: inset 0 0 0 1px rgba(201,163,91,.35), 0 6px 18px rgba(0,0,0,.25);
	color: var(--gold-soft);
}
.panel-ico .ico { width: 20px; height: 20px; }
.panel-ico.live { color: #7fe0a2; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pos) 45%, transparent); }
.form-card { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, var(--panel)), var(--panel) 120px); }

/* grila de campuri */
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.form-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-3 { grid-column: span 3; }
.calc-grid { margin-bottom: 20px; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8f8a99; }
.field-label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: #6f6a78; }

.control { position: relative; display: flex; align-items: center; }
.control > .ico { position: absolute; left: 13px; width: 17px; height: 17px; color: #6f6a78; pointer-events: none; transition: color .15s; }
.control.has-ico input, .control.has-ico select { padding-left: 40px; }
.control:focus-within > .ico { color: var(--gold); }

.control input, .control select, .control textarea {
	width: 100%; min-height: 44px; padding: 10px 14px;
	background: #0f0e12; color: var(--text);
	border: 1px solid #2a2830; border-radius: 10px;
	font: inherit; font-size: 14.5px; text-transform: none; letter-spacing: normal;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
	transition: border-color .15s, box-shadow .15s, background .15s;
	color-scheme: dark;
}
.control textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.control input::placeholder, .control textarea::placeholder { color: #5d5966; }
.control input:hover, .control select:hover, .control textarea:hover { border-color: #3a3742; }
.control input:focus, .control select:focus, .control textarea:focus {
	outline: none; background: #121016;
	border-color: color-mix(in srgb, var(--gold) 65%, transparent);
	box-shadow: 0 0 0 3px rgba(201,163,91,.14), inset 0 1px 2px rgba(0,0,0,.35);
}
.control input[type=number] { -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.control input[type=number]::-webkit-inner-spin-button, .control input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.control.is-select select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.control.is-select::after { content: ""; position: absolute; right: 15px; width: 8px; height: 8px; border-right: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: translateY(-3px) rotate(45deg); pointer-events: none; }
.control.mini input { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 13px; }

/* subsolul formularului */
.form-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.form-hint { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); max-width: 62ch; }
.form-hint .ico { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 1px; color: var(--gold); opacity: .8; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* butoane */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
	background: linear-gradient(135deg, #7c3ff0 0%, #5b22c6 100%); color: #fff;
	font: inherit; font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 20px -8px rgba(108,43,217,.75);
	transition: filter .15s, transform .1s, box-shadow .15s, background .15s;
}
.btn:hover { filter: brightness(1.12); background: linear-gradient(135deg, #8a52f5 0%, #6529d4 100%); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn .ico { width: 17px; height: 17px; }
.btn.small { min-height: 32px; padding: 6px 12px; font-size: 13px; }
.btn.ghost { background: var(--panel-2); border-color: var(--border); box-shadow: none; color: var(--text); }
.btn.ghost:hover { filter: none; background: #2a2930; }
.btn.danger { background: transparent; border-color: color-mix(in srgb, var(--neg) 55%, transparent); color: #ff8a8c; box-shadow: none; }
.btn.danger:hover { filter: none; background: color-mix(in srgb, var(--neg) 16%, transparent); color: #ffb0b1; }
.btn.discord { background: var(--discord); box-shadow: 0 8px 20px -8px rgba(88,101,242,.8); }

/* tab-uri ca un comutator segmentat */
.tabs.segmented { width: fit-content; max-width: 100%; display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; background: #0f0e12; border: 1px solid var(--border); border-radius: 12px; flex-wrap: wrap; }
.tabs.segmented .tab { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; background: transparent; padding: 9px 16px; color: var(--muted); }
.tabs.segmented .tab .ico { width: 17px; height: 17px; }
.tabs.segmented .tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.tabs.segmented .tab.active { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 70%, #1b1622), color-mix(in srgb, var(--brand) 35%, #1b1622)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 60%, transparent); }
.tabs.segmented .tab.active .ico { color: var(--gold-soft); }

/* stari goale */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px; text-align: center; color: var(--muted); }
.empty-state .ico { width: 34px; height: 34px; color: var(--gold); opacity: .55; }
.empty-state p { margin: 0; max-width: 46ch; }

/* selectorul de membri (puncte) */
.picker { margin-bottom: 16px; }
.chips-empty { font-size: 13px; color: #6f6a78; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 28%, #17151c); border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); color: var(--text); }
.picker-list { background: #0f0e12; border-color: #2a2830; border-radius: 10px; padding: 6px; }
.pick { border-radius: 8px; }
.pick:has(input:checked) { background: color-mix(in srgb, var(--brand) 20%, transparent); color: #fff; }

/* pontajul meu */
.pontaj-eu { gap: 16px 18px; }
.inline-form { align-items: center; }
.inline-form .control { width: 200px; }

/* evenimente: antetul formularului e in summary */
.ev-add > summary::before { content: none; }
.ev-add > summary .panel-head { margin: 0; padding: 0; border: 0; }
.ev-add[open] > summary .panel-head { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(201,163,91,.14); }
.ev-fields { gap: 16px; }
.ev-upload { background: #0f0e12; border-color: rgba(201,163,91,.35); }
.ev-upload-hint { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; }
.ev-upload-hint .ico { width: 30px; height: 30px; color: var(--gold); }
.ev-upload-hint strong { color: var(--text); font-weight: 600; }
.ev-upload-hint small { font-size: 11px; }

/* istoricul seifului */
.head-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.head-tools .control { width: 220px; }
.seg-mini { display: inline-flex; padding: 3px; gap: 2px; background: #0f0e12; border: 1px solid var(--border); border-radius: 9px; }
.seg-mini button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.seg-mini button:hover { color: var(--text); }
.seg-mini button.active { background: color-mix(in srgb, var(--brand) 45%, #17151c); color: #fff; }
table.istoric .tag { display: inline-flex; align-items: center; gap: 4px; }
table.istoric .tag .ico { width: 12px; height: 12px; }
table.istoric tr[hidden] { display: none; }
.sursa { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; color: var(--muted); background: var(--panel-2); border: 1px solid var(--border); }

/* zona de resetare a punctelor */
.danger-zone { border-color: color-mix(in srgb, var(--neg) 35%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--neg) 6%, var(--panel)), var(--panel) 120px); }
.danger-zone .panel-ico { color: #ff8a8c; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neg) 45%, transparent); background: linear-gradient(145deg, color-mix(in srgb, var(--neg) 30%, #141118), #141118 75%); }
td.actions .btn.small { min-height: 30px; padding: 5px 10px; }

@media (max-width: 1100px) {
	.form-grid, .form-grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form-grid .span-3 { grid-column: span 2; }
}
@media (max-width: 560px) {
	.form-grid, .form-grid.cols-5, .form-grid.cols-2 { grid-template-columns: 1fr; }
	.form-grid .span-2, .form-grid .span-3 { grid-column: auto; }
	.btn-row { width: 100%; }
	.btn-row .btn { flex: 1; }
	.inline-form, .inline-form .control { width: 100%; }
	.head-tools, .head-tools .control { width: 100%; }
}

/* ---------- fundal: revolverul care se asambleaza din cioburi (toate paginile) ---------- */

/* stratul fix are layer propriu pe placa video: la scroll nu se mai redeseneaza nimic din el */
.gun-bg { position: fixed; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; contain: strict; transform: translateZ(0); }
html:has(.layout) .gun-bg { left: 264px; }
/* lumina mov din spatele armei: un gradient static, nu filtru */
.gun-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 30% at 50% 50%, rgba(108,43,217,.10), transparent 70%); }
.gun-wrap { position: relative; width: min(1200px, 92%); opacity: .55; }
.gun, .gun-fx { display: block; width: 100%; height: auto; }
.gun-fx { position: absolute; inset: 0; }
/* plutirea misca doar layer-ul gata desenat (transform pe placa video), fara redesenare */
html.gun-ok .gun-wrap { will-change: transform; animation: gun-float 9s ease-in-out .6s infinite; }
@keyframes gun-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* cat timp zboara cioburile, desenul real e ascuns; apare cand s-au lipit toate */
html.gun-anim .gun .art { opacity: 0; }
html.gun-ok .gun .art { opacity: 1; }
.gun-shards { position: absolute; left: 0; top: 0; }

.gun-fx path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* gravurile se deseneaza dupa ce arma e asamblata */
.gun-fx .engrave path { stroke: rgba(230,207,154,.32); stroke-width: 1; stroke-dasharray: 100; stroke-dashoffset: 100; }
html:not(.gun-anim) .gun-fx .engrave path { stroke-dashoffset: 0; }
html.gun-ok .gun-fx .engrave path { animation: gun-gravura 1.8s ease-out .2s forwards; }
@keyframes gun-gravura { to { stroke-dashoffset: 0; } }

/* sclipire aurie care trece periodic de-a lungul armei */
.gun-fx .glint { stroke: rgba(255,236,190,.9); stroke-width: 2.2; stroke-dasharray: 60 940; stroke-dashoffset: 1000; opacity: 0; }
html.gun-ok .gun-fx .glint { animation: gun-glint 5.5s ease-in-out 1.2s infinite; }
@keyframes gun-glint {
	0% { stroke-dashoffset: 1000; opacity: 0; }
	8% { opacity: 1; }
	45% { stroke-dashoffset: 0; opacity: 1; }
	52%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

/* continutul paginii sta deasupra revolverului */
.content, .center, .mobile-bar { position: relative; z-index: 1; }
.sidebar { z-index: 5; }

@media (max-width: 760px) {
	html:has(.layout) .gun-bg { left: 0; }
	.gun-wrap { width: 150%; max-width: none; opacity: .4; }
}


/* cardurile de evenimente lasa revolverul de pe fundal sa se vada usor prin ele (fara blur: costa la scroll) */
.ev-wrap .ev-card { background: linear-gradient(160deg, rgba(52,30,92,.55), rgba(24,23,29,.8) 60%); }
.ev-wrap .ev-past-item, .ev-wrap .ev-empty, .ev-wrap .ev-add { background: rgba(26,27,30,.82); }


/* cardurile lasa revolverul de pe fundal sa se vada usor prin ele */
.card, .stat { background-color: rgba(26,27,30,.86); }
.form-card { background: linear-gradient(180deg, rgba(40,28,64,.72), rgba(26,27,30,.8) 120px); }
.danger-zone { background: linear-gradient(180deg, rgba(60,24,30,.6), rgba(26,27,30,.8) 120px); }

/* ---------- telefon ---------- */

@media (max-width: 760px) {
	.layout { grid-template-columns: 1fr; }
	.mobile-bar {
		display: flex; align-items: center; justify-content: space-between;
		position: sticky; top: 0; z-index: 40; padding: 10px 16px;
		background: rgba(18,17,21,.97); border-bottom: 1px solid var(--border);
	}
	.sidebar {
		position: fixed; top: 0; left: 0; z-index: 60; width: min(300px, 86vw); height: 100dvh;
		transform: translateX(-100%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(0,0,0,.6);
	}
	.menu-open .sidebar { transform: none; }
	.menu-btn.close { display: grid; width: 36px; height: 36px; }
	.sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
	.menu-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
	.menu-open { overflow: hidden; }
	.content { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) { .sidebar, .sidebar-backdrop { transition: none; } }

/* ---------- Service: Hall of Fame ---------- */

.hof-head { align-items: flex-end; }
.hof-head > p { margin: 0; max-width: 44ch; }
.hof-eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* angajatul saptamanii */
.hof-hero {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
	padding: 28px 32px; margin-bottom: 20px; border-radius: 16px;
	border: 1px solid rgba(201,163,91,.35);
	background:
		radial-gradient(90% 140% at 0% 50%, rgba(201,163,91,.16), transparent 60%),
		radial-gradient(70% 120% at 100% 0%, rgba(108,43,217,.28), transparent 65%),
		linear-gradient(160deg, #221b2e, #17161b 70%);
	box-shadow: 0 18px 40px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(230,207,154,.12);
}
.hof-hero::after {   /* o dunga de lumina care trece incet peste card (doar transform, ieftin) */
	content: ""; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 30%; pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(255,236,190,.07), transparent);
	transform: translateX(-120%) rotate(18deg); animation: hof-lumina 7s ease-in-out 1s infinite;
}
@keyframes hof-lumina { 0% { transform: translateX(-120%) rotate(18deg); } 45%, 100% { transform: translateX(520%) rotate(18deg); } }

.hof-medal { position: relative; flex: 0 0 180px; width: 180px; height: 180px; display: grid; place-items: center; }
.hof-lauri { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(201,163,91,.55); }
.hof-ring {
	position: relative; width: 120px; height: 120px; border-radius: 50%; padding: 4px;
	background: conic-gradient(from 210deg, #f3dfa8, #c9a35b, #7a5a22, #e6cf9a, #c9a35b, #f3dfa8);
	box-shadow: 0 0 0 6px rgba(201,163,91,.08), 0 0 36px rgba(201,163,91,.35);
}
.hof-ring img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #17161b; background: var(--panel-2); }
.hof-crown {
	position: absolute; top: 6px; left: 50%; transform: translateX(-50%) rotate(-8deg);
	width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
	background: linear-gradient(180deg, #f3dfa8, #c9a35b); color: #2a1d08; box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.hof-crown svg { width: 22px; height: 22px; fill: rgba(42,29,8,.25); }

.hof-hero-text { flex: 1 1 260px; min-width: 0; position: relative; }
.hof-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.hof-hero-text h2 {
	margin: 0 0 4px; font-family: "Cinzel", Georgia, serif; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; letter-spacing: .03em;
	background: linear-gradient(180deg, #fff3cf, #e6cf9a 55%, #b58d45); -webkit-background-clip: text; background-clip: text; color: transparent;
	overflow-wrap: anywhere;
}
.hof-hero-text .muted { margin: 0; }
.hof-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hof-chips span { padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid rgba(201,163,91,.2); }
.hof-chips strong { color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.hof-hero-num { position: relative; text-align: center; padding-left: 28px; border-left: 1px solid rgba(201,163,91,.2); }
.hof-hero-num strong { display: block; font-family: "Cinzel", Georgia, serif; font-size: 64px; line-height: 1; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.hof-hero-num span { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* podiumul saptamanii curente */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; max-width: 640px; margin: 8px auto 6px; }
.podium-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; animation: hof-urca .7s cubic-bezier(.2,.8,.25,1) both; }
.podium-col.loc1 { animation-delay: .15s; }
.podium-col.loc3 { animation-delay: .3s; }
@keyframes hof-urca { from { opacity: 0; transform: translateY(24px); } }
.podium-av { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: var(--c, #6b6c74); margin-bottom: 4px; }
.podium-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--panel); background: var(--panel-2); }
.loc1 .podium-av { width: 84px; height: 84px; --c: conic-gradient(from 210deg, #f3dfa8, #c9a35b, #7a5a22, #e6cf9a, #f3dfa8); box-shadow: 0 0 28px rgba(201,163,91,.3); }
.loc2 .podium-av { --c: linear-gradient(160deg, #eef0f4, #8e939c); }
.loc3 .podium-av { --c: linear-gradient(160deg, #e7b08a, #8a5634); }
.podium-nume { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.podium-timp { font-size: 13px; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.podium-bloc {
	width: 100%; margin-top: 8px; border-radius: 10px 10px 4px 4px; display: grid; place-items: start center; padding-top: 10px;
	border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
}
.podium-bloc span { font-family: "Cinzel", Georgia, serif; font-size: 28px; font-weight: 700; color: var(--muted); }
.loc1 .podium-bloc { height: 120px; border-color: rgba(201,163,91,.45); background: linear-gradient(180deg, rgba(201,163,91,.22), rgba(201,163,91,.03)); }
.loc1 .podium-bloc span { color: var(--gold-soft); font-size: 36px; }
.loc2 .podium-bloc { height: 86px; }
.loc3 .podium-bloc { height: 64px; }

/* randuri cu bara de progres (cursa + clasament) */
.hof-rows { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hof-rows li {
	display: grid; grid-template-columns: 28px 32px minmax(0, 1.2fr) minmax(80px, 2fr) auto; align-items: center; gap: 12px;
	padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid transparent;
}
.hof-rows li:hover { background: rgba(255,255,255,.04); border-color: var(--border); }
.hof-rank { font-family: "Cinzel", Georgia, serif; font-weight: 700; color: var(--muted); text-align: center; }
.hof-rows .top1 .hof-rank { color: #e6cf9a; }
.hof-rows .top2 .hof-rank { color: #c9ccd3; }
.hof-rows .top3 .hof-rank { color: #d39a72; }
.hof-mini { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--panel-2); }
.hof-nume { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.hof-titluri { display: inline-flex; align-items: center; gap: 3px; flex: none; padding: 1px 7px 1px 5px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--gold-soft); background: rgba(201,163,91,.12); }
.hof-titluri svg { width: 12px; height: 12px; }
.hof-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.hof-bar i {
	display: block; height: 100%; width: var(--p); border-radius: inherit; transform-origin: left;
	background: linear-gradient(90deg, var(--brand), #c9a35b); animation: hof-bara 1s cubic-bezier(.2,.8,.25,1) .2s both;
}
@keyframes hof-bara { from { transform: scaleX(0); } }
.hof-val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--gold-soft); text-align: right; }

/* recorduri */
.hof-records { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 20px; }
.hof-record {
	position: relative; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(40,28,64,.6), rgba(26,27,30,.9) 70%);
	transition: transform .2s ease, border-color .2s ease;
}
.hof-record:hover { transform: translateY(-2px); border-color: rgba(201,163,91,.35); }
.hof-record-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--gold); background: rgba(201,163,91,.1); margin-bottom: 12px; }
.hof-record-ico svg { width: 20px; height: 20px; }
.hof-record-titlu { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hof-record-val { display: block; margin: 4px 0 12px; font-size: 26px; font-variant-numeric: tabular-nums; color: var(--gold-soft); }
.hof-record-cine { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hof-record-cine img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--panel-2); }
.hof-record-cine span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.hof-record-det { margin: 4px 0 0; font-size: 12px; color: var(--muted); }

/* zidul campionilor */
.hof-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.hof-champ {
	display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; min-width: 0;
	padding: 16px 10px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,.02);
}
.hof-champ strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-champ .muted { font-size: 12px; }
.hof-champ.ultimul { border-color: rgba(201,163,91,.45); background: linear-gradient(180deg, rgba(201,163,91,.12), transparent); }
.hof-champ-av { position: relative; width: 56px; height: 56px; border-radius: 50%; padding: 2px; margin-bottom: 6px; background: linear-gradient(160deg, #e6cf9a, #7a5a22); }
.hof-champ-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--panel); background: var(--panel-2); }
.hof-champ-av em { position: absolute; right: -8px; bottom: -4px; padding: 1px 6px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; color: #2a1d08; background: linear-gradient(180deg, #f3dfa8, #c9a35b); }
.hof-champ-timp { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--gold-soft); font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
	.hof-hero { padding: 22px 18px; gap: 18px; justify-content: center; text-align: center; }
	.hof-chips { justify-content: center; }
	.hof-hero-num { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(201,163,91,.2); width: 100%; }
	.hof-hero-num strong { font-size: 48px; }
	.hof-rows li { grid-template-columns: 22px 28px minmax(0, 1fr) auto; }
	.hof-rows .hof-bar { display: none; }
	.podium { gap: 8px; }
	.loc1 .podium-av { width: 70px; height: 70px; }
}

/* ---------- Acasa: povestea service-ului ---------- */

.poveste {
	position: relative; overflow: hidden; margin-bottom: 20px; padding: 28px 32px 26px;
	border-radius: 16px; border: 1px solid rgba(201,163,91,.28);
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(108,43,217,.22), transparent 60%),
		linear-gradient(160deg, #1f1a29, #17161b 65%);
}
.poveste::before {   /* dunga aurie din stanga, ca un semn de carte */
	content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0;
	background: linear-gradient(180deg, transparent, var(--gold), transparent);
}
.poveste-eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.poveste h2 { margin: 0 0 16px; font-family: "Cinzel", Georgia, serif; font-size: 26px; letter-spacing: .04em; color: var(--gold-soft); }
.poveste-text { max-width: 78ch; }
.poveste-text p { margin: 0 0 12px; line-height: 1.75; color: #cfcfd6; }
.poveste-text p:first-child::first-letter {
	float: left; margin: 4px 10px 0 0; font-family: "Cinzel", Georgia, serif; font-size: 52px; line-height: .85; font-weight: 700; color: var(--gold);
}
.poveste-text em { color: var(--gold-soft); font-style: italic; }
.poveste-text strong { color: var(--text); }
.poveste-citat {
	margin: 18px 0 18px; padding: 12px 18px; max-width: 70ch; border-radius: 10px;
	font-family: "Cinzel", Georgia, serif; font-size: 16px; letter-spacing: .02em; color: var(--gold-soft);
	background: rgba(201,163,91,.07); border-left: 2px solid var(--gold);
}
.poveste-valori { display: flex; flex-wrap: wrap; gap: 8px; }
.poveste-valori span {
	padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gold-soft); border: 1px solid rgba(201,163,91,.3); background: rgba(201,163,91,.06);
}
@media (max-width: 760px) {
	.poveste { padding: 22px 18px; }
	.poveste h2 { font-size: 22px; }
}

/* ---------- Santos Gruppo: Hall of Fame (montaje, kill-uri, jafuri) ---------- */

.sh-luna .control { min-width: 200px; }
.sh-live { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 10px; letter-spacing: .12em; color: #b7f0c8; background: rgba(59,165,93,.16); border: 1px solid rgba(59,165,93,.35); vertical-align: 1px; }

.icon-btn {
	display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 8px; cursor: pointer;
	color: var(--muted); background: transparent; border: 1px solid var(--border); transition: color .15s, border-color .15s, background .15s;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: #ffb0b1; border-color: color-mix(in srgb, var(--neg) 50%, transparent); background: color-mix(in srgb, var(--neg) 10%, transparent); }
.table-wrap { overflow-x: auto; }

/* campionii pe categorii */
.sh-campioni { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 20px; }
.sh-campion {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0; border-radius: var(--radius);
	border: 1px solid var(--border); background: linear-gradient(160deg, rgba(40,28,64,.6), rgba(26,27,30,.9) 70%);
}
.sh-campion-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--gold); background: rgba(201,163,91,.1); border: 1px solid rgba(201,163,91,.2); }
.sh-campion-ico svg { width: 22px; height: 22px; }
.sh-campion-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sh-campion-text p { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sh-campion-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.sh-campion-text span { font-size: 13px; color: var(--gold-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-campion img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201,163,91,.5); background: var(--panel-2); }

/* clasament lunar + formulare */
.sh-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.sh-actiuni { display: flex; flex-direction: column; }
.sh-totaluri { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sh-totaluri span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.sh-totaluri svg { width: 15px; height: 15px; color: var(--gold); }
.sh-totaluri strong { color: var(--text); font-variant-numeric: tabular-nums; }

.sh-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sh-rows li {
	display: grid; grid-template-columns: 26px 32px minmax(0, 1fr) repeat(3, 58px) 52px; align-items: center; gap: 10px;
	padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid transparent;
}
.sh-rows li:hover { background: rgba(255,255,255,.04); border-color: var(--border); }
.sh-rows .top1 { border-color: rgba(201,163,91,.35); background: linear-gradient(90deg, rgba(201,163,91,.1), transparent 60%); }
.sh-rows .top1 .hof-rank, .sh-table .top1 .hof-rank { color: #e6cf9a; }
.sh-rows .top2 .hof-rank, .sh-table .top2 .hof-rank { color: #c9ccd3; }
.sh-rows .top3 .hof-rank, .sh-table .top3 .hof-rank { color: #d39a72; }
.sh-nume { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sh-nume strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.sh-nume .hof-bar { height: 5px; }
.sh-cifra { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; font-variant-numeric: tabular-nums; color: var(--muted); }
.sh-cifra svg { width: 14px; height: 14px; color: var(--gold); opacity: .8; }
.sh-mic { font-size: 15px; margin-bottom: 10px; }
.sh-rapoarte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sh-rapoarte li { display: flex; align-items: center; gap: 14px; padding: 6px 4px 6px 10px; border-radius: 8px; background: rgba(255,255,255,.02); }
.sh-rapoarte li > span { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.sh-rapoarte li > span svg { width: 14px; height: 14px; color: var(--gold); }
.sh-rapoarte form { margin-left: auto; }

/* montaje */
.sh-montaje { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.sh-montaj {
	display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius);
	border: 1px solid var(--border); background: var(--panel-2); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sh-montaj:hover { transform: translateY(-3px); border-color: rgba(201,163,91,.35); box-shadow: 0 14px 30px -18px rgba(0,0,0,.9); }
.sh-video {
	position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; overflow: hidden;
	background: radial-gradient(120% 120% at 0% 0%, rgba(108,43,217,.45), transparent 60%), linear-gradient(160deg, #2a2238, #121115);
}
.sh-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sh-video:hover img { transform: scale(1.04); }
.sh-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); pointer-events: none; }
.sh-play {
	position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 50%; color: #fff; background: rgba(17,18,20,.55); border: 1px solid rgba(255,255,255,.25);
	transition: transform .2s ease, background .2s ease;
}
.sh-play svg { width: 30px; height: 30px; }
.sh-video:hover .sh-play { transform: translate(-50%, -50%) scale(1.08); background: var(--brand); }
.sh-platforma { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.sh-iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.sh-montaj-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.sh-montaj-titlu { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.sh-montaj-meta { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; }
.sh-montaj-meta img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--panel); }
.sh-montaj-autor { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.sh-montaj-actiuni { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.sh-sterge { margin-left: auto; }

/* butonul de apreciere */
.sh-like { white-space: nowrap;
	display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer;
	font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text);
	background: rgba(255,255,255,.04); border: 1px solid var(--border); transition: background .15s, border-color .15s, color .15s;
}
.sh-like svg { width: 18px; height: 18px; transition: transform .2s ease; }
.sh-like:hover:not(:disabled) { border-color: rgba(237,66,69,.5); background: rgba(237,66,69,.08); }
.sh-like:hover:not(:disabled) svg { transform: scale(1.12); }
.sh-like.on { color: #ffd1d2; border-color: rgba(237,66,69,.55); background: rgba(237,66,69,.16); }
.sh-like.on svg { fill: #ed4245; stroke: #ed4245; }
.sh-like:disabled { cursor: default; opacity: .6; }
.sh-like-al-meu { cursor: default; color: var(--muted); }
.sh-like.sh-like-al-meu:hover { border-color: var(--border); background: rgba(255,255,255,.04); }
.sh-like.sh-like-al-meu:hover svg { transform: none; }
.sh-like-al-meu small { white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.sh-like.pop svg { animation: sh-pop .45s cubic-bezier(.2,.8,.25,1.4); }
@keyframes sh-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.sh-ext { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); text-decoration: none; }
.sh-ext svg { width: 15px; height: 15px; }
.sh-ext:hover { color: var(--gold-soft); }

/* cel mai apreciat montaj (all-time) */
.sh-best {
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; overflow: hidden; margin-bottom: 20px; border-radius: 16px;
	border: 1px solid rgba(201,163,91,.35);
	background: radial-gradient(80% 120% at 100% 0%, rgba(108,43,217,.25), transparent 60%), linear-gradient(160deg, #221b2e, #17161b 70%);
}
.sh-best-video .sh-video, .sh-best-video .sh-iframe { height: 100%; min-height: 240px; }
.sh-best-text { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px 28px; min-width: 0; }
.sh-best-text .hof-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.sh-best-text .hof-kicker svg { width: 16px; height: 16px; }
.sh-best-text h2 { margin: 0; font-family: "Cinzel", Georgia, serif; font-size: 26px; line-height: 1.2; color: var(--gold-soft); overflow-wrap: anywhere; }
.sh-best-like { display: flex; align-items: baseline; gap: 8px; }
.sh-best-like strong { font-family: "Cinzel", Georgia, serif; font-size: 44px; line-height: 1; color: #ffd1d2; }
.sh-best-like span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sh-best-text .btn { align-self: flex-start; }

/* separator intre luna si all-time */
.sh-divider { display: flex; align-items: center; gap: 14px; margin: 34px 0 20px; color: var(--gold); font-family: "Cinzel", Georgia, serif; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.sh-divider::before, .sh-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,163,91,.45), transparent); }

.sh-table td, .sh-table th { white-space: nowrap; }
.sh-cine { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.sh-cine .hof-mini { width: 28px; height: 28px; }
.sh-glorie { color: var(--gold-soft); font-size: 15px; }
.sh-admin summary { cursor: pointer; list-style: none; }
.sh-admin summary::-webkit-details-marker { display: none; }
.sh-admin[open] summary { margin-bottom: 14px; }

@media (max-width: 1100px) {
	.sh-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.sh-rows li { grid-template-columns: 22px 28px minmax(0, 1fr) 44px; }
	.sh-rows .sh-cifra { display: none; }
	.sh-best { grid-template-columns: 1fr; }
	.sh-best-video .sh-video, .sh-best-video .sh-iframe { min-height: 0; }
	.sh-best-text { padding: 20px 18px; }
	.sh-luna, .sh-luna .control { width: 100%; }
}
