/* LEGENDS Mix - panou web. Tema dark, accente rosii. */

:root {
    --red: #ff2d4b;
    --red-2: #c3001f;
    --red-soft: rgba(255, 45, 75, .14);
    --ct: #38b2ff;
    --t: #ff9f2d;
    --gold: #ffc83d;
    --silver: #d7dee9;
    --bronze: #e0915a;
    --good: #3ddc84;
    --bad: #ff5a6c;
    --bg: #06070b;
    --panel: rgba(17, 19, 27, .78);
    --panel-2: rgba(25, 28, 39, .9);
    --line: rgba(255, 255, 255, .075);
    --line-2: rgba(255, 255, 255, .13);
    --text: #e6e9f0;
    --muted: #8a92a3;
    --radius: 14px;
    --display: 'Orbitron', 'Arial Black', Arial, sans-serif;
    --body: 'Rajdhani', 'Segoe UI', Tahoma, Arial, sans-serif;
    --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    background: var(--bg); color: var(--text);
    font-family: var(--body); font-size: 17px; line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .86em; background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; }
.svg { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.good { color: var(--good); }
.bad { color: var(--bad); }
.ct { color: var(--ct); }
.t { color: var(--t); }

/* ------------------------------------------------------------ fundal animat */
.fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
    background: radial-gradient(1100px 520px at 12% -12%, rgba(255,45,75,.20), transparent 62%),
                radial-gradient(900px 520px at 110% 6%, rgba(56,178,255,.09), transparent 60%),
                linear-gradient(180deg, #08090e 0%, #06070b 60%, #050508 100%); }
.fx > .fx-grid { position: absolute; inset: -40% -10% -10%; transform: perspective(600px) rotateX(58deg); transform-origin: 50% 100%;
    background-image: linear-gradient(rgba(255,45,75,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,45,75,.10) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: linear-gradient(180deg, transparent 35%, #000 85%); -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 85%);
    animation: gridmove 14s linear infinite; opacity: .55; }
@keyframes gridmove { to { background-position: 0 56px, 0 0; } }
.fx-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .32; }
.fx-a { background: #ff2d4b; top: -200px; left: -120px; animation: drift 18s ease-in-out infinite alternate; }
.fx-b { background: #7a1dff; top: 30%; right: -220px; opacity: .14; animation: drift 22s ease-in-out infinite alternate-reverse; }
.fx-c { background: #ff2d4b; bottom: -260px; left: 35%; opacity: .16; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.12); } }
.fx-sweep { position: absolute; left: 0; right: 0; height: 160px; top: -160px;
    background: linear-gradient(180deg, transparent, rgba(255,45,75,.06), transparent); animation: sweep 9s linear infinite; }
@keyframes sweep { to { top: 110%; } }
.fx-embers i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ff6b7d;
    box-shadow: 0 0 8px #ff2d4b; opacity: 0; animation: ember 9s linear infinite; }
.fx-embers i:nth-child(1) { left: 6%;  animation-delay: 0s; }   .fx-embers i:nth-child(2) { left: 14%; animation-delay: 3.1s; }
.fx-embers i:nth-child(3) { left: 22%; animation-delay: 6.2s; } .fx-embers i:nth-child(4) { left: 31%; animation-delay: 1.4s; }
.fx-embers i:nth-child(5) { left: 39%; animation-delay: 4.8s; } .fx-embers i:nth-child(6) { left: 47%; animation-delay: 7.7s; }
.fx-embers i:nth-child(7) { left: 55%; animation-delay: 2.2s; } .fx-embers i:nth-child(8) { left: 62%; animation-delay: 5.5s; }
.fx-embers i:nth-child(9) { left: 70%; animation-delay: .8s; }  .fx-embers i:nth-child(10) { left: 77%; animation-delay: 3.9s; }
.fx-embers i:nth-child(11) { left: 84%; animation-delay: 6.9s; } .fx-embers i:nth-child(12) { left: 90%; animation-delay: 2.7s; }
.fx-embers i:nth-child(13) { left: 95%; animation-delay: 5.1s; } .fx-embers i:nth-child(14) { left: 3%; animation-delay: 8.3s; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(30px, -95vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fx *, .fx-grid { animation: none !important; } .fx-embers { display: none; } }

/* ------------------------------------------------------------ bara de sus */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 12, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); transition: background .25s; }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent); background-size: 40% 100%; background-repeat: no-repeat;
    animation: barline 6s linear infinite; opacity: .7; }
@keyframes barline { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.bar.scrolled { background: rgba(6, 7, 10, .92); }
.bar-in { max-width: var(--wrap); margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 12px; }
.bar-in > * { flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 900; letter-spacing: .06em; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255,45,75,.5)); }
.logo-txt { font-size: 19px; }
.logo small { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--red); border: 1px solid rgba(255,45,75,.4); border-radius: 6px; padding: 1px 6px; }
.logo.small .logo-mark { width: 26px; height: 26px; } .logo.small .logo-txt { font-size: 15px; }

.srv-menu { position: relative; }
.srv-menu summary { list-style: none; cursor: pointer; }
.srv-menu summary::-webkit-details-marker { display: none; }
.sm-btn { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border: 1px solid var(--line-2); border-radius: 11px; background: rgba(255,255,255,.03); }
.sm-btn:hover { border-color: rgba(255,45,75,.5); }
.sm-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--red-soft); color: var(--red); }
.sm-txt { display: flex; flex-direction: column; line-height: 1.05; }
.sm-txt small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.sm-txt b { font-size: 15px; white-space: nowrap; }
.sm-chev .svg { width: 16px; color: var(--muted); transition: transform .2s; }
.srv-menu[open] .sm-chev .svg { transform: rotate(180deg); }
.srv-list { position: absolute; top: calc(100% + 8px); left: 0; width: 290px; padding: 8px; border-radius: 14px; background: #0f1118; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.sm-head { display: flex; justify-content: space-between; padding: 4px 8px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.sm-head em { font-style: normal; color: var(--red); }
.srv-list a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.srv-list a:hover, .srv-list a.on { background: rgba(255,255,255,.05); }
.sm-mono { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; font-family: var(--display); font-size: 12px; font-weight: 800; }
.sm-c1 { background: rgba(255,45,75,.16); color: #ff6b7d; } .sm-c2 { background: rgba(56,178,255,.15); color: #7fd0ff; }
.sm-c3 { background: rgba(255,159,45,.15); color: #ffbf73; } .sm-c4 { background: rgba(61,220,132,.14); color: #7aeaa9; }
.sm-name { display: flex; flex-direction: column; flex: 1; line-height: 1.15; } .sm-name small { color: var(--muted); font-size: 13px; }
.sm-end .svg { color: var(--muted); width: 16px; } .srv-list a.on .sm-end .svg { color: var(--good); }
.srv-list a.all { border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 10px 10px; color: var(--muted); }
.srv-list a.all span { flex: 1; }

.nav { position: relative; display: flex; gap: 2px; margin-left: auto; }
.nav a { display: flex; align-items: center; gap: 7px; padding: 9px 10px; border-radius: 9px; font-weight: 600; color: #b9c0cd; transition: color .2s; }
.nav a .svg { width: 17px; opacity: .8; }
.nav a:hover, .nav a.hot, .nav a.on { color: #fff; }
.nav a.on .svg { color: var(--red); opacity: 1; }
.nav:not(.has-line) a.on { box-shadow: inset 0 -2px 0 var(--red); }
.nav-line { position: absolute; left: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px var(--red), 0 0 22px rgba(255,45,75,.6);
    transition: transform .35s cubic-bezier(.3,.7,.2,1), width .35s cubic-bezier(.3,.7,.2,1), opacity .2s; }

.search input { width: 165px; padding: 9px 12px 9px 34px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 15px;
    background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a92a3' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 11px 50% no-repeat; outline: none; transition: border-color .2s, width .25s; }
.search input:focus { border-color: var(--red); width: 210px; }
.search.big input { width: 100%; max-width: 520px; padding: 14px 16px 14px 40px; font-size: 18px; background-position: 14px 50%; }
.search.big input:focus { width: 100%; }
.search.inline input { width: 220px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer;
    font: inherit; font-weight: 700; letter-spacing: .03em; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #ff3d58, #c3001f); box-shadow: 0 6px 22px rgba(255,45,75,.28); transition: transform .15s, box-shadow .2s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .6s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255,45,75,.4); color: #fff; }
.btn:hover::after { left: 130%; }
.btn.ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(255,45,75,.6); }
.btn.danger { background: linear-gradient(135deg, #ff5a6c, #8c0018); }
.btn.sm { padding: 6px 11px; font-size: 14px; border-radius: 8px; }
.btn .svg { width: 16px; }
.btn-admin { padding: 9px 14px; }

/* ------------------------------------------------------------ pagina */
.page { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 22px 18px 50px; flex: 1; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.panel + .panel, .stack-col > .panel + .panel { margin-top: 18px; }
.panel.empty { text-align: center; padding: 40px 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head > a { color: var(--muted); font-weight: 600; font-size: 15px; }
.panel-head > a:hover { color: var(--red); }
.title { margin: 0; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); animation: breathe 3s ease-in-out infinite; }
.title small { font-family: var(--display); color: var(--muted); font-size: 15px; }
@keyframes breathe { 50% { opacity: .45; } }
.title-xl { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4vw, 42px); margin: 6px 0 8px; letter-spacing: .03em; }
.grid-2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 18px; }
.stack-col { min-width: 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: #cfd5df; }
.tag-ot { background: rgba(255,200,61,.14); border-color: rgba(255,200,61,.4); color: var(--gold); }
.tag-win { background: rgba(61,220,132,.12); border-color: rgba(61,220,132,.4); color: var(--good); }
.tag-loss { background: rgba(255,90,108,.12); border-color: rgba(255,90,108,.4); color: var(--bad); }
.alert { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,200,61,.35); background: rgba(255,200,61,.08); margin: 0 0 16px; }
.alert.good { border-color: rgba(61,220,132,.4); background: rgba(61,220,132,.08); }
.alert.bad { border-color: rgba(255,90,108,.45); background: rgba(255,90,108,.09); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(255,45,75,.13), rgba(15,17,24,.88) 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 12px), #0d0f15; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: barline 5s linear infinite; }
.hero-in { position: relative; padding: 34px 32px; z-index: 1; }
.hero-home .hero-in { text-align: center; padding: 48px 28px 40px; }
.hero-home p { max-width: 640px; margin: 10px auto 0; color: #c4cad5; font-size: 18px; }
.hero-small .hero-in { padding: 26px 28px; }
.hero-small p { margin: 0; color: #c4cad5; max-width: 760px; }
.hero-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-home .hero-tags { justify-content: center; }
.hero-name { margin: 14px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 8vw, 86px); line-height: 1; letter-spacing: .05em;
    display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-name span { background: linear-gradient(180deg, #fff 30%, #ffb3be); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(255,45,75,.25); }
.hero-name b { color: var(--red); font-size: .55em; animation: breathe 2.4s ease-in-out infinite; text-shadow: 0 0 20px var(--red); }
.hero-name small { font-size: .38em; color: var(--red); letter-spacing: .3em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: 14px; background: rgba(61,220,132,.1); border: 1px solid rgba(61,220,132,.35); color: #8ff0b8; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 1.6s infinite; }
.live.st-warmup, .live.st-knife, .live.st-starting { background: rgba(255,200,61,.1); border-color: rgba(255,200,61,.35); color: #ffd978; }
.live.st-warmup i, .live.st-knife i, .live.st-starting i { background: var(--gold); }
.live.st-paused { background: rgba(255,90,108,.1); border-color: rgba(255,90,108,.4); color: #ff9aa6; } .live.st-paused i { background: var(--bad); }
.live.off { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--muted); } .live.off i { background: #555c69; animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px auto 0; max-width: 900px; }
.counter { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; border-radius: 14px; background: rgba(8,9,13,.55); border: 1px solid var(--line); }
.counter b { font-family: var(--display); font-size: 28px; font-weight: 800; display: inline-block; font-variant-numeric: tabular-nums; }
.counter > span:last-child { color: var(--muted); font-size: 14px; font-weight: 600; }
.ico-sq { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--red-soft); color: var(--red); margin-bottom: 6px; border: 1px solid rgba(255,45,75,.3); }
.btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hero-small .btns, .hero-match .btns { justify-content: flex-start; margin-top: 16px; }

/* ------------------------------------------------------------ podium */
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; margin-bottom: 8px; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px 18px; border-radius: 16px; text-align: center;
    background: var(--panel); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.pod:hover { transform: translateY(-4px); border-color: rgba(255,45,75,.5); }
.pod-1 { padding-top: 40px; border-color: rgba(255,200,61,.4); background: linear-gradient(180deg, rgba(255,200,61,.10), var(--panel) 60%); box-shadow: 0 0 40px rgba(255,200,61,.12); }
.pod-2 { border-color: rgba(215,222,233,.25); } .pod-3 { border-color: rgba(224,145,90,.3); }
.crown { position: absolute; top: -20px; width: 46px; animation: float 3s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.pod-1 .crown { width: 58px; top: -26px; }
@keyframes float { 50% { transform: translateY(-5px); } }
.place { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--muted); }
.pod-1 .place { color: var(--gold); }
.pname { font-weight: 700; font-size: 21px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppoints { font-family: var(--display); font-weight: 800; font-size: 26px; }
.pod-1 .ppoints { font-size: 32px; background: linear-gradient(90deg, #ffe08a, #ffc83d, #fff1c4, #ffc83d); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.ppoints small { display: block; font-family: var(--body); font-size: 12px; letter-spacing: .25em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.pmeta { display: flex; gap: 12px; color: var(--muted); font-size: 14px; margin-top: 4px; flex-wrap: wrap; justify-content: center; }
.pmeta b { color: var(--text); }
.emb { flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); transition: transform .25s; }
a:hover .emb { transform: rotate(-6deg) scale(1.06); }
.emb-g { filter: drop-shadow(0 0 8px rgba(255,200,61,.45)); }

/* grade */
.rk { display: inline-block; min-width: 34px; padding: 1px 8px; border-radius: 6px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .04em; border: 1px solid; }
.rk-l { color: #aab3c2; border-color: rgba(170,179,194,.35); background: rgba(170,179,194,.08); }
.rk-m { color: #7fd0ff; border-color: rgba(56,178,255,.4); background: rgba(56,178,255,.1); }
.rk-h { color: #7aeaa9; border-color: rgba(61,220,132,.4); background: rgba(61,220,132,.09); }
.rk-p { color: #cfa0ff; border-color: rgba(176,107,255,.45); background: rgba(176,107,255,.1); }
.rk-g { color: var(--gold); border-color: rgba(255,200,61,.5); background: rgba(255,200,61,.1); }

/* ------------------------------------------------------------ liste */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows li:hover { background: rgba(255,255,255,.025); }
.posn { width: 28px; text-align: center; font-family: var(--display); font-weight: 800; color: var(--muted); font-size: 14px; flex: none; }
.grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.grow a:hover { color: var(--red); }
.kdmini { color: var(--muted); font-size: 14px; }
.pts { font-family: var(--display); font-weight: 800; min-width: 70px; text-align: right; }

.mapbars { list-style: none; margin: 0; padding: 0; }
.mapbars li { display: grid; grid-template-columns: 100px 1fr 38px 86px; align-items: center; gap: 10px; padding: 7px 0; }
.mb-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
a.mb-name:hover { color: var(--red); }
.mb-track { height: 8px; border-radius: 5px; background: rgba(255,255,255,.06); overflow: hidden; }
.mb-track i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #8c0018, var(--red)); box-shadow: 0 0 10px rgba(255,45,75,.5); transform-origin: left; }
.js .reveal:not(.in) .mb-track i, .js .reveal:not(.in) .rp-track i, .js .reveal:not(.in) .lad-bar i { transform: scaleX(0); }
.mb-track i, .rp-track i, .lad-bar i { transition: transform 1s cubic-bezier(.2,.8,.2,1) .2s; }
.mb-n { text-align: right; font-weight: 700; }
.mb-split { display: flex; gap: 6px; justify-content: flex-end; font-size: 14px; }

/* ------------------------------------------------------------ carduri meci */
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mcard { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; position: relative; }
.mcard:hover { transform: translateY(-3px); border-color: rgba(255,45,75,.45); }
.mcard-img { position: relative; height: 92px; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; padding: 10px 12px; }
.mcard-big .mcard-img { height: 140px; }
.map-art { position: absolute; inset: 0; transition: transform .5s;
    background: radial-gradient(120% 90% at 85% 0%, hsla(var(--mh, 0), 70%, 55%, .55), transparent 60%),
                linear-gradient(135deg, hsla(var(--mh, 0), 45%, 22%, 1), hsla(calc(var(--mh, 0) + 40), 35%, 10%, 1)); }
.map-art::after { content: ""; position: absolute; inset: 0; opacity: .35;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px);
    mask-image: linear-gradient(200deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); }
.mcard:hover .map-art { transform: scale(1.06); }
.mcard-map { position: relative; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.mcard-big .mcard-map { font-size: 20px; }
.mcard-when { position: relative; font-size: 13px; color: #d9dde5; background: rgba(0,0,0,.45); padding: 1px 8px; border-radius: 999px; }
.mcard-img .tag-ot { position: absolute; top: 10px; left: 12px; }
.mcard-body { padding: 12px 14px 14px; }
.mcard-score { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 26px; }
.mcard-big .mcard-score { font-size: 34px; }
.mcard-score .side, .big-score .side { font-size: .45em; margin-right: 6px; vertical-align: middle; letter-spacing: .1em; opacity: .85; }
.mcard-score .ct, .big-score .ct { color: var(--ct); } .mcard-score .t, .big-score .t { color: var(--t); }
.mcard-score .l, .big-score .l { opacity: .45; }
.mid i { font-style: normal; color: var(--muted); }
.mcard-mvp { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.mcard-mvp b { color: var(--text); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crown-mini { width: 20px; height: 14px; vertical-align: -2px; flex: none; }

/* ------------------------------------------------------------ meci */
.hero-match { min-height: 270px; }
.hero-match .map-art { opacity: .8; }
.hero-match .hero-in { background: linear-gradient(90deg, rgba(8,9,13,.85), rgba(8,9,13,.25)); min-height: 270px; }
.big-score { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-weight: 900; font-size: clamp(46px, 9vw, 84px); margin: 14px 0 4px; line-height: 1; }
.big-score .w { animation: land .7s cubic-bezier(.2,1.4,.4,1) both; text-shadow: 0 0 30px currentColor; }
@keyframes land { from { transform: scale(1.5); opacity: 0; } }
.result-line { color: #cdd3dd; margin: 6px 0 0; }
.mvp-card { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin-bottom: 18px; border-radius: 16px; position: relative;
    background: linear-gradient(110deg, rgba(255,200,61,.16), var(--panel) 55%); border: 1px solid rgba(255,200,61,.4); box-shadow: 0 0 40px rgba(255,200,61,.1); flex-wrap: wrap; }
.mvp-card .crown { position: static; width: 52px; }
.mvp-l { display: flex; flex-direction: column; flex: 1; min-width: 160px; }
.mvp-l .eyebrow { color: var(--gold); }
.mvp-name { font-family: var(--display); font-weight: 900; font-size: 26px; }
.mvp-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.mvp-stats span { display: flex; flex-direction: column; align-items: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.mvp-stats b { font-family: var(--display); font-size: 22px; color: var(--text); letter-spacing: 0; }
.team-panel { margin-bottom: 18px; }
.team-ct { border-top: 3px solid var(--ct); } .team-t { border-top: 3px solid var(--t); }
.side-dot { display: none; }
.team-ct .title::before { background: var(--ct); box-shadow: 0 0 10px var(--ct); } .team-t .title::before { background: var(--t); box-shadow: 0 0 10px var(--t); }
tr.is-mvp td { background: rgba(255,200,61,.06); }

/* ------------------------------------------------------------ tabele */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th { padding: 9px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; text-align: center; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: rgba(255,255,255,.03); }
.tbl .l { text-align: left; }
.tbl td.pts { text-align: center; }
.tbl tr.top1 .posn { color: var(--gold); } .tbl tr.top2 .posn { color: var(--silver); } .tbl tr.top3 .posn { color: var(--bronze); }
.pl { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; max-width: 260px; }
.pl span { overflow: hidden; text-overflow: ellipsis; }
.pl:hover span { color: var(--red); }
.res { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-weight: 800; font-size: 13px; }
.res-w { background: rgba(61,220,132,.15); color: var(--good); } .res-l { background: rgba(255,90,108,.15); color: var(--bad); } .res-d { background: rgba(255,255,255,.08); color: var(--muted); }
.link-row td.l a { font-weight: 700; } .link-row td.l a:hover { color: var(--red); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-weight: 700; font-size: 15px; color: #bfc6d2; }
.tabs a small { color: var(--muted); margin-left: 3px; }
.tabs a:hover { border-color: rgba(255,45,75,.5); color: #fff; }
.tabs a.on { background: var(--red-soft); border-color: var(--red); color: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager a, .pager b, .pager span { min-width: 38px; padding: 7px 11px; text-align: center; border-radius: 9px; border: 1px solid var(--line-2); font-weight: 700; }
.pager b { background: var(--red); border-color: var(--red); }
.pager a:hover { border-color: var(--red); }
.pager .off { opacity: .35; }

/* ------------------------------------------------------------ profil */
.player-head { display: flex; align-items: center; gap: 28px; }
.ph-emb .emb { filter: drop-shadow(0 0 22px rgba(255,45,75,.35)); }
.ph-main { flex: 1; min-width: 0; }
.player-name { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5vw, 50px); margin: 8px 0 2px; overflow-wrap: anywhere; }
.steamid { margin: 0; color: var(--muted); }
.steamid a { color: #cfd5df; text-decoration: underline; text-underline-offset: 3px; }
.rank-progress { margin-top: 16px; max-width: 560px; }
.rp-top { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); flex-wrap: wrap; }
.rp-top b { color: var(--text); }
.rp-track { height: 10px; margin-top: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.rp-track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #8c0018, var(--red), #ff8a9a); box-shadow: 0 0 12px rgba(255,45,75,.6); transform-origin: left; }
.form { display: flex; align-items: center; gap: 5px; margin-top: 14px; flex-wrap: wrap; }
.form i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-style: normal; font-weight: 800; font-size: 13px; }
.f-w { background: rgba(61,220,132,.16); color: var(--good); } .f-l { background: rgba(255,90,108,.16); color: var(--bad); } .f-d { background: rgba(255,255,255,.08); color: var(--muted); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-cards.cards-5 { grid-template-columns: repeat(5, 1fr); }
.sc { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.sc > span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.sc > b { font-family: var(--display); font-weight: 800; font-size: 26px; }
.sc > b small { font-size: .6em; color: var(--muted); }
.sc > b.small-b { font-size: 16px; }
.sc > small { color: var(--muted); font-size: 14px; }
.sc.gold { border-color: rgba(255,200,61,.35); } .sc.gold > b { color: var(--gold); }
.status-on { color: var(--good); } .status-off { color: var(--muted); }
.best { display: block; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.best b { font-family: var(--display); font-size: 22px; color: var(--red); }
.best:hover { border-color: rgba(255,45,75,.5); }

/* ------------------------------------------------------------ grade */
.ladder { list-style: none; margin: 0; padding: 0; }
.ladder li { display: grid; grid-template-columns: 44px 62px 1fr 1fr 44px; align-items: center; gap: 12px; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.ladder li:last-child { border-bottom: 0; }
.lad-range { font-weight: 700; white-space: nowrap; } .lad-range small { color: var(--muted); font-weight: 600; }
.lad-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.lad-bar i { display: block; height: 100%; border-radius: 4px; background: currentColor; transform-origin: left; }
.lad-l { color: #8e98a8; } .lad-m { color: var(--ct); } .lad-h { color: var(--good); } .lad-p { color: #b06bff; } .lad-g { color: var(--gold); }
.lad-range, .lad-n { color: var(--text); }
.lad-n { text-align: right; font-weight: 800; }
.pts-list { list-style: none; margin: 0 0 10px; padding: 0; }
.pts-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.pts-list li:last-child { border-bottom: 0; }
.pts-list b { font-family: var(--display); }

/* ------------------------------------------------------------ comenzi */
.cmds { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: baseline; }
.cmds dt code { color: #ffb3be; background: var(--red-soft); white-space: nowrap; }
.cmds dd { margin: 0; color: #c4cad5; }
.cmd-lines { margin: 0; padding: 0 0 0 18px; columns: 2; column-gap: 30px; }
.cmd-lines li { padding: 3px 0; break-inside: avoid; color: #c4cad5; }

/* ------------------------------------------------------------ servere */
.srv-cards { display: grid; gap: 12px; }
.srv-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.srv-card:hover, .srv-card.on { border-color: rgba(255,45,75,.5); }
.srv-card:hover { transform: translateX(3px); }
.srv-card .sm-mono { width: 46px; height: 46px; font-size: 15px; }
.sc-main { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.sc-main b { font-size: 20px; }
.sc-nums { display: flex; gap: 22px; }
.sc-nums span { display: flex; flex-direction: column; align-items: center; color: var(--muted); font-size: 13px; }
.sc-nums b { font-family: var(--display); font-size: 20px; color: var(--text); }

/* ------------------------------------------------------------ admin */
.login-wrap { display: grid; place-items: center; padding: 30px 0; }
.login { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.login .title { justify-content: center; } .login .title::before { display: none; }
.login-mark .logo-mark { width: 56px; height: 56px; }
.login label, .season-form label { display: flex; flex-direction: column; gap: 5px; text-align: left; font-weight: 700; font-size: 15px; }
.login input, .season-form input:not([type=checkbox]), .inline-form input[type=number] { padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--text); font: inherit; outline: none; }
.login input:focus, .season-form input:focus, .inline-form input:focus { border-color: var(--red); }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 2px 0; }
.inline-form input[type=number] { width: 96px; padding: 6px 8px; }
.season-form { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.season-form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }
.admin-tbl td { white-space: normal; }

/* ------------------------------------------------------------ subsol */
.foot { border-top: 1px solid var(--line); background: rgba(6,7,10,.7); position: relative; }
.foot::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,45,75,.6), transparent); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 24px 18px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.foot-in p { margin: 6px 0 0; }
.foot-srv { color: var(--text); }
.foot-cmds { display: flex; flex-direction: column; } .foot-cmds b { color: var(--text); }
.foot-links a:hover { color: var(--red); }

/* ------------------------------------------------------------ aparitii la scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in .rows li, .js .reveal.in .tbl tbody tr, .js .reveal.in .ladder li { animation: rowin .45s ease both; }
.js .reveal.in .rows li:nth-child(2), .js .reveal.in .tbl tbody tr:nth-child(2), .js .reveal.in .ladder li:nth-child(2) { animation-delay: .04s; }
.js .reveal.in .rows li:nth-child(3), .js .reveal.in .tbl tbody tr:nth-child(3), .js .reveal.in .ladder li:nth-child(3) { animation-delay: .08s; }
.js .reveal.in .rows li:nth-child(4), .js .reveal.in .tbl tbody tr:nth-child(4), .js .reveal.in .ladder li:nth-child(4) { animation-delay: .12s; }
.js .reveal.in .rows li:nth-child(n+5), .js .reveal.in .tbl tbody tr:nth-child(n+5), .js .reveal.in .ladder li:nth-child(n+5) { animation-delay: .16s; }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ------------------------------------------------------------ ecrane mici */
@media (max-width: 1440px) {
    .btn-admin span { display: none; }
    .btn-admin { padding: 9px 11px; }
}
@media (max-width: 1240px) {
    .bar-in { flex-wrap: wrap; }
    .nav { order: 5; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
    .nav::-webkit-scrollbar { display: none; }
    .search { margin-left: auto; }
}
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    .stat-cards, .stat-cards.cards-5 { grid-template-columns: repeat(2, 1fr); }
    .counters { grid-template-columns: repeat(2, 1fr); }
    .opt { display: none; }
    .cmd-lines { columns: 1; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .page { padding: 14px 12px 40px; }
    .bar-in { padding: 8px 12px; gap: 8px; }
    .sm-txt small, .logo small { display: none; }
    .search input, .search input:focus { width: 130px; }
    .btn-admin span { display: none; }
    .hero-in, .hero-home .hero-in { padding: 26px 16px; }
    .podium { grid-template-columns: 1fr; }
    .pod-1 { order: -1; }
    .player-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .mapbars li { grid-template-columns: 86px 1fr 32px; }
    .ladder li { grid-template-columns: 40px 56px 1fr 36px; }
    .lad-bar { display: none; }
    .mvp-stats { gap: 14px; }
    .srv-card { flex-wrap: wrap; }
    .cmds { grid-template-columns: 1fr; gap: 2px; } .cmds dd { margin-bottom: 8px; }
    .matches { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mcard-img { height: 70px; padding: 8px; }
    .mcard-map { font-size: 13px; }
    .mcard-when { font-size: 11px; padding: 1px 6px; }
    .mcard-score { font-size: 21px; gap: 6px; }
    .mcard-mvp { font-size: 12px; }
    .mcard-big .mcard-img { height: 110px; }
}

/* ================================================================ 5.3: aspect "arena" (hero cu imagine, podea cu grid, carduri de grad) */
:root { --head: 'Russo One', 'Orbitron', 'Arial Black', sans-serif; }

/* podeaua cu grid rosu, jos */
.fx-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 38vh; overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 60%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
.fx-floor .fx-grid { position: absolute; left: -60%; right: -60%; top: 0; height: 260%; transform: perspective(260px) rotateX(72deg); transform-origin: 50% 0; opacity: .8; mask-image: none; -webkit-mask-image: none;
    background-image: linear-gradient(rgba(255,45,85,.6) 2px, transparent 2px), linear-gradient(90deg, rgba(255,45,85,.6) 2px, transparent 2px);
    background-size: 46px 46px; animation: floor 2.4s linear infinite; }
@keyframes floor { to { background-position: 0 46px, 0 0; } }
.fx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60vh; background: radial-gradient(60% 70% at 50% 100%, rgba(255,30,70,.32), transparent 70%); }
.fx-embers i { background: #ff4d6d; }
@media (prefers-reduced-motion: reduce) { .fx-floor .fx-grid { animation: none; } }

/* hero */
.hero { min-height: 230px; display: flex; align-items: stretch; background: #0b0d13; border-color: rgba(255,45,85,.25); box-shadow: 0 0 0 1px rgba(255,45,85,.08), 0 20px 60px rgba(0,0,0,.45); }
.hero-art { position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(70% 120% at 85% 10%, rgba(255,45,85,.35), transparent 60%), linear-gradient(120deg, #120a12 0%, #1a0d18 40%, #2a1020 100%); }
.hero.has-img .hero-art { background: linear-gradient(90deg, rgba(8,8,12,.92) 0%, rgba(8,8,12,.55) 45%, rgba(8,8,12,.15) 100%), var(--hero) center 25% / cover no-repeat; animation: herodrift 30s ease-in-out infinite alternate; }
.hero-home.has-img .hero-art { background: linear-gradient(180deg, rgba(8,8,12,.25), rgba(8,8,12,.75) 80%), var(--hero) center 20% / cover no-repeat; }
@keyframes herodrift { to { background-position: center 35%; transform: scale(1.03); } }
.hero-in { width: 100%; }
.hero-page .hero-in { padding: 34px 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.kicker { display: inline-flex; align-self: flex-start; align-items: center; padding: 3px 12px; border-radius: 999px; font-family: var(--head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    color: #ff6d86; background: rgba(255,45,85,.14); border: 1px solid rgba(255,45,85,.55); box-shadow: 0 0 14px rgba(255,45,85,.25); }
.kicker.gold { color: var(--gold); background: rgba(255,200,61,.12); border-color: rgba(255,200,61,.5); box-shadow: none; }
.hero-title { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 5vw, 54px); line-height: 1.02; margin: 12px 0 8px; letter-spacing: .01em; text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.hl { color: var(--red); text-shadow: 0 0 22px rgba(255,45,85,.7), 0 0 2px rgba(255,45,85,.9); }
.hero-text { margin: 0; color: #d4d9e2; max-width: 680px; font-size: 17px; }
.hero-page .search.big { margin-top: 14px; }
.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-family: var(--head); font-size: 12px; letter-spacing: .12em; color: #ff8aa0; background: rgba(255,45,85,.16); border: 1px solid rgba(255,45,85,.5); }
.hero-home { min-height: 420px; }
.hero-home .hero-in { padding: 40px 28px 34px; }
.hero-name { font-family: var(--head); font-weight: 400; font-size: clamp(46px, 9vw, 96px); letter-spacing: .02em; text-transform: uppercase; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 6px; margin: 16px 0 4px; position: relative; padding-bottom: 26px; }
.hero-name span { background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.6), 0 0 40px rgba(255,45,85,.25); }
.hero-name .hn-sep { color: var(--red); text-shadow: 0 0 20px var(--red); }
.hero-name small { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-family: var(--head); font-size: 15px; letter-spacing: .5em; color: var(--red); display: flex; align-items: center; gap: 12px; }
.hero-name small::before, .hero-name small::after { content: ""; width: 40px; height: 2px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.counter { background: rgba(10,10,16,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-color: rgba(255,255,255,.1); flex-direction: row; justify-content: center; gap: 12px; text-align: left; padding: 14px 16px; }
.counter .ico-sq { margin: 0; flex: none; }
.counter b { font-family: var(--head); font-weight: 400; font-size: 26px; line-height: 1; }
.counter > span:last-child { font-family: var(--head); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; max-width: 90px; line-height: 1.15; }
.counter { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.counter .ico-sq { grid-row: 1 / 3; }
.btn { font-family: var(--head); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.btn.sm { font-size: 12px; }
.title { font-family: var(--head); font-weight: 400; }
.title-xl { font-family: var(--head); font-weight: 400; }

/* bara de sus */
.search { position: relative; }
.search kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font: 600 12px var(--body); color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 5px; pointer-events: none; }
.search.big kbd, .search.inline kbd { display: none; }
.btn-admin { background: transparent; border: 1px solid rgba(255,45,85,.6); box-shadow: 0 0 14px rgba(255,45,85,.25) inset; font-size: 12px; }
.logo-txt { font-family: var(--head); font-weight: 400; letter-spacing: .08em; }

/* scor pe carduri: CT stanga, T dreapta */
.mcard-score { justify-content: space-between; padding: 0 8px; font-family: var(--head); font-weight: 400; }
.sc-side { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.sc-side small { font-family: var(--body); font-weight: 700; font-size: 11px; letter-spacing: .14em; opacity: .8; margin-bottom: 3px; }
.sc-side b { font-weight: 400; }
.sc-side.l { opacity: .5; }
.mcard-score .mid { color: var(--muted); }
.big-score { font-family: var(--head); font-weight: 400; gap: 22px; }
.big-score .sc-side small { font-size: 14px; }
.big-score .sc-side.w b { animation: land .7s cubic-bezier(.2,1.4,.4,1) both; text-shadow: 0 0 30px currentColor; }
.mcard-img { height: 104px; }
.map-art { background: var(--mimg, none) center / cover no-repeat, radial-gradient(120% 90% at 85% 0%, hsla(var(--mh, 0), 70%, 55%, .55), transparent 60%), linear-gradient(135deg, hsla(var(--mh, 0), 45%, 22%, 1), hsla(calc(var(--mh, 0) + 40), 35%, 10%, 1)); }
.mcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,6,10,.85)); }
.mcard-map, .mcard-when, .mcard-img .tag-ot { z-index: 1; }
.mcard { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.mcard:hover { box-shadow: 0 0 0 1px rgba(255,45,85,.5), 0 12px 34px rgba(255,45,85,.18); }

/* clasament */
.board th { font-family: var(--head); font-weight: 400; font-size: 11px; }
.board td { padding: 10px 8px; }
.trophy .svg { width: 20px; height: 20px; }
.trophy.t1 { color: var(--gold); filter: drop-shadow(0 0 6px rgba(255,200,61,.6)); } .trophy.t2 { color: var(--silver); } .trophy.t3 { color: var(--bronze); }
.rankcell { display: flex; align-items: center; gap: 8px; }
.kdcell { white-space: nowrap; }
.kdcell b { display: inline-block; min-width: 38px; }
.kdbar { display: inline-block; vertical-align: middle; width: 70px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); margin-left: 8px; overflow: hidden; }
.kdbar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #8c0018, var(--red)); box-shadow: 0 0 8px rgba(255,45,85,.6); }
.wl { font-weight: 700; white-space: nowrap; }
.board tr.top1 { background: linear-gradient(90deg, rgba(255,200,61,.09), transparent 70%); }
.board .pl .crown-mini { margin-left: 6px; }

/* grade: grid de carduri */
.rank-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rank-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 16px; border-radius: 14px; text-align: center; overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(15,17,24,.85)); border: 1px solid var(--line-2); transition: transform .25s, border-color .25s, box-shadow .25s; }
.rank-card:hover { transform: translateY(-4px); border-color: rgba(255,45,85,.6); box-shadow: 0 0 24px rgba(255,45,85,.22); }
.rank-card.empty { opacity: .62; }
.rank-card .emb-card { filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.rc-g { border-color: rgba(255,200,61,.3); } .rc-g .emb-card { filter: drop-shadow(0 0 14px rgba(255,200,61,.45)); }
.rc-p .emb-card { filter: drop-shadow(0 0 12px rgba(176,107,255,.4)); }
.rc-range { font-size: 14px; font-weight: 700; color: #cfd5df; }
.rc-n { font-size: 14px; color: var(--muted); } .rc-n b { color: var(--text); font-family: var(--head); font-weight: 400; }
.rc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.05); }
.rc-bar i { display: block; height: 100%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* comenzi */
.cmd-tbl td { white-space: normal; vertical-align: top; }
.cmd-tbl td:first-child { width: 42%; }
.cmd-tbl code { color: #ff8aa0; background: rgba(255,45,85,.1); font-weight: 600; }
.cmd-tbl th { font-family: var(--head); font-weight: 400; }

/* paginare cu numere */
.pager .gap { border: 0; min-width: 20px; padding: 7px 2px; color: var(--muted); }
.pager .svg { width: 16px; height: 16px; vertical-align: -3px; }
.pager b { box-shadow: 0 0 14px rgba(255,45,85,.5); }

/* limba */
.lang-sw { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; margin-right: 14px; }
.lang-sw a { padding: 3px 10px; font-weight: 700; font-size: 13px; }
.lang-sw a.on { background: var(--red-soft); color: #fff; }
.foot-links { display: flex; align-items: center; }

@media (max-width: 1100px) { .rank-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .rank-grid { grid-template-columns: repeat(3, 1fr); } .kdbar { width: 44px; } }
@media (max-width: 640px) {
    .rank-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-page .hero-in { padding: 24px 18px; }
    .hero-home { min-height: 0; }
    .counter { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .counter .ico-sq { grid-row: auto; }
    .rankcell .emb { display: none; }
    .search kbd { display: none; }
}

.grid-2 > .panel + .panel, .grid-2 > .stack-col + .panel { margin-top: 0; }

@media (max-width: 640px) { .fx-floor { opacity: .5; } }
