/* Sediul beta: stilul panelului, cu bara de sus proprie */
body.beta { display: block; min-height: 100vh; }
.bt-top { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 12px 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0B2414, #05120A); }
.bt-top .brand img { width: 36px; height: 36px; }
.bt-top .brand b { display: block; font: 700 20px var(--heading); color: var(--text); }
.bt-nav { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.bt-nav a { padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; }
.bt-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.bt-nav a.on { color: #fff; background: rgba(34, 197, 94, 0.18); }
.bt-user { display: flex; align-items: center; gap: 10px; }
.bt-user b { font-size: 14px; }
.bt-main { max-width: 1240px; margin: 0 auto; padding: 26px 28px 60px; }
.bt-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.bt-hero h1 { font: 700 40px var(--heading); }
.kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-2); }
.bt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.bt-stats > * { padding: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); text-align: center; color: inherit; text-decoration: none; }
.bt-stats a:hover { border-color: var(--blue); }
.bt-stats b { display: block; font: 700 34px var(--heading); }
.bt-stats span { font-size: 13px; color: var(--muted); }
.bt-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.bt-grid .card { display: flex; flex-direction: column; gap: 10px; }
.bt-grid h3 { font-size: 19px; }
.bt-wide { grid-column: 1 / -1; }
.bt-news { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.bt-news small { display: block; color: var(--muted); font-size: 12px; }
.bt-news p { margin-top: 4px; white-space: pre-wrap; font-size: 14px; }
.bt-top-row { display: grid; grid-template-columns: 26px 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.bt-top-row .rank { font: 700 18px var(--heading); color: var(--blue-2); text-align: center; }
.bt-top-row small { color: var(--muted); font-size: 12px; }
.bt-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: inherit; text-decoration: none; }
.bt-recent:hover { background: rgba(255, 255, 255, 0.04); }
.bt-recent b { flex: 1; min-width: 180px; }
.bt-recent small { color: var(--muted); }
.sev { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.sev-minor { background: rgba(242, 193, 78, 0.14); color: #F2C14E; }
.sev-major { background: rgba(249, 115, 22, 0.16); color: #FB923C; }
.sev-critic { background: rgba(74, 222, 128, 0.18); color: #FF6B7D; }
.st-progress { background: rgba(59, 130, 246, 0.16); color: #7AA7FF; }
.bt-sub { display: block; font-size: 12px; }
.bt-table th:nth-child(2) { width: auto; } .bt-table th:nth-child(3) { width: 110px; } .bt-table th:nth-child(4) { width: 150px; } .bt-table th:nth-child(5) { width: 180px; } .bt-table th:nth-child(6) { width: 120px; } .bt-table th:nth-child(7) { width: 80px; }
.bt-pre { white-space: pre-wrap; font-weight: 500 !important; }
.bt-status { flex-wrap: wrap; gap: 6px; max-width: 560px; justify-content: flex-end; }
.bt-req ul { display: grid; gap: 10px; margin-top: 12px; list-style: none; }
.bt-req li { padding: 10px 12px; border-radius: 10px; background: rgba(74, 222, 128, 0.1); }
.bt-req li.ok { background: rgba(43, 217, 124, 0.1); }
.bt-form { max-width: 760px; margin-top: 16px; }
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 12px; background: #0B1F12; border: 1px solid var(--line-2); font-weight: 600; }
.toast.bad { border-color: var(--red); color: #FFB3BD; }
@media (max-width: 860px) {
    .bt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-grid { grid-template-columns: 1fr; }
    .bt-top, .bt-main { padding-left: 16px; padding-right: 16px; }
    .bt-table table { min-width: 860px; }
}

.bt-server { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; border-color: rgba(74, 222, 128, 0.4); }
.bt-server.on { border-color: rgba(43, 217, 124, 0.45); }
.bt-server b { display: block; font-size: 16px; }
.bt-server code { padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); font-family: var(--mono); }

.bt-login { max-width: 440px; margin: 40px auto; display: flex; flex-direction: column; gap: 14px; }
.bt-login h1 { font: 700 30px var(--heading); }
.bt-login .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); }
.bt-login .seg button { padding: 9px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.bt-login .seg button.on { background: var(--text); color: #120708; }
/* sediul beta nu are meniu lateral; roșu rămâne doar pentru erori */
body.beta { padding-left: 0 !important; }
:root { --red: #F2475B; }
.badge.red { background: rgba(242, 71, 91, 0.15); color: #F2475B; }
.bt-top .brand img, link + .brand img { filter: hue-rotate(140deg) saturate(1.1); }

.bt-menu { position: relative; }
.bt-menu summary { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; list-style: none; cursor: pointer; }
.bt-menu summary::-webkit-details-marker { display: none; }
.bt-menu > div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; min-width: 220px; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: #0A2213; }
.bt-menu > div a, .bt-menu > div button { display: flex; flex-direction: column; align-items: flex-start; padding: 9px 11px; border: 0; border-radius: 8px; background: none; color: var(--text); font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.bt-menu > div a:hover, .bt-menu > div button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.bt-menu > div button.on { background: rgba(34, 197, 94, 0.14); cursor: default; }
.bt-menu small { font-size: 11.5px; color: var(--muted); }
.bt-menu-title { margin: 8px 11px 2px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 10.5px !important; }

/* butoanele de stare ale unui bug: un rând sub titlu */
.bt-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: none; margin: -2px 0 16px; justify-content: flex-start; }
.bt-status .muted { margin-right: 4px; font-size: 13px; }
.bt-st { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font: 600 13px 'Inter', sans-serif; cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.bt-st:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.bt-st.on { cursor: default; border-color: transparent; color: #06120A; font-weight: 800; }
.bt-st.st-open.on { background: #F2C14E; }
.bt-st.st-progress.on { background: #7AA7FF; }
.bt-st.st-fixed.on { background: #22C55E; }
.bt-st.st-cannot.on, .bt-st.st-duplicate.on { background: #9CA3AF; }
.bt-st.st-wontfix.on { background: #F2475B; color: #fff; }

.bt-actions { gap: 8px; margin: -6px 0 16px; }
.bt-wallet { padding: 16px 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); text-align: center; }
.bt-wallet b { display: block; font: 700 42px var(--heading); color: var(--blue-2); }
.bt-wallet span { font-weight: 700; }
.bt-wallet small { display: block; color: var(--muted); font-size: 12px; }
.bt-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.bt-item { display: flex; flex-direction: column; gap: 8px; }
.bt-ico { font-size: 32px; }
.bt-item b { font-size: 16px; }
.bt-cost { font: 700 18px var(--heading); color: var(--blue-2); }

.bt-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.bt-cats .bt-st.on { cursor: pointer; }
.bt-photo { height: 92px; border-radius: 10px; background: #0d1a12 center / cover no-repeat; }
