/* Staff panel */
body { overflow: hidden; height: 100vh; }

/* ---------- login ---------- */
.login { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; z-index: 5; }
.login-card { width: min(440px, 100%); padding: 34px; border-radius: 30px; text-align: center; animation: pop .7s var(--spring); }
.login-card .brand-mark { width: 56px; height: 56px; border-radius: 17px; margin: 0 auto 18px; }
.login-card .brand-mark svg { width: 30px; height: 30px; }
.login-card h1 { font-size: 26px; letter-spacing: -.03em; }
.login-card > p { color: var(--ink-2); margin: 6px 0 22px; font-size: 14.5px; }
.acc-list { display: grid; gap: 8px; text-align: left; }
.acc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); cursor: pointer; transition: transform .35s var(--spring), background .2s, border-color .2s; width: 100%; }
.acc:hover { transform: translateY(-2px); background: var(--glass-2); border-color: var(--stroke-2); }
.acc b { font-size: 14.5px; }
.acc small { display: block; font-size: 12px; }
.acc svg { margin-left: auto; width: 16px; color: var(--ink-3); }
.discord-btn { width: 100%; margin-top: 16px; background: #5865f2; border-color: rgba(255,255,255,.25); }
.discord-btn:hover { background: #6a75f5; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); filter: blur(8px); } }

/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: 252px 1fr; height: 100vh; gap: 14px; padding: 14px; }
.side { display: flex; flex-direction: column; padding: 14px 12px; border-radius: 24px; overflow: auto; }
.side .brand { padding: 4px 8px 16px; }
.side-server { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 14px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--stroke); font-size: 13px; }
.side-server b { display: block; font-size: 13.5px; }
.side h5 { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: 14px 10px 6px; }
.nl { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 12px; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
.nl svg { width: 18px; height: 18px; flex: none; }
.nl:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nl.on { color: var(--ink); background: var(--glass-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 4px 14px -6px rgba(0,0,0,.6); }
.nl.on::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--grad); }
.nl .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--grad); color: #04122b; }
.side-foot { margin-top: auto; padding-top: 14px; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--stroke); }
.me b { font-size: 13.5px; display: block; }
.me small { font-size: 11.5px; font-weight: 600; }
.me .btn { margin-left: auto; }

.avatar { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #04122b; background: var(--av, var(--grad-cool)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.avatar.lg { width: 64px; height: 64px; border-radius: 20px; font-size: 22px; }

.main { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.top { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; }
.top h1 { font-size: 26px; letter-spacing: -.035em; }
.top .crumb { font-size: 13px; color: var(--ink-3); }
.top-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.search-trigger { white-space: nowrap; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; min-width: 240px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(0,0,0,.25); color: var(--ink-3); cursor: pointer; font-size: 14px; transition: border-color .2s; }
.search-trigger:hover { border-color: var(--stroke-2); }
.search-trigger kbd { margin-left: auto; }
.status-pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.status-pill.off .dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(251,191,36,.18); }
.menu-btn { display: none; }

.view { flex: 1; overflow: auto; padding: 4px 4px 40px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.view-enter > * { animation: rise .55s var(--ease) both; }
.view-enter > *:nth-child(2) { animation-delay: 50ms; } .view-enter > *:nth-child(3) { animation-delay: 100ms; }
.view-enter > *:nth-child(4) { animation-delay: 150ms; } .view-enter > *:nth-child(5) { animation-delay: 200ms; }

/* ---------- content atoms ---------- */
.card { padding: 20px; border-radius: 22px; }
.card h3 { font-size: 15px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card h3 .btn, .card h3 .seg { margin-left: auto; }
.grid { display: grid; gap: 14px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: 1fr 1fr; }
.g21 { grid-template-columns: 2fr 1fr; }
.stack { display: grid; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.kpi { padding: 18px 20px; border-radius: 22px; position: relative; overflow: hidden; }
.kpi small { color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.kpi strong { display: block; font-size: 34px; letter-spacing: -.045em; font-weight: 800; line-height: 1.15; margin-top: 4px; }
.kpi strong span { font-size: 15px; color: var(--ink-3); font-weight: 600; }
.kpi .kico { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c, rgba(255,255,255,.08)); }
.kpi .kico svg { width: 19px; height: 19px; }
.kpi .bar { height: 5px; border-radius: 5px; background: rgba(255,255,255,.08); margin-top: 12px; overflow: hidden; }
.kpi .bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); width: 0; transition: width 1.2s var(--ease); }

.chart { width: 100%; height: 220px; display: block; }
.chart-line { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .input { max-width: 320px; height: 40px; border-radius: 999px; padding-left: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 15px center; }
.toolbar .select { width: auto; height: 40px; border-radius: 999px; }
.toolbar .grow { flex: 1; }

.tbl-wrap { border-radius: 22px; overflow: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--stroke); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.tbl tbody tr { transition: background .2s; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 22ms); }
.tbl tbody tr:hover { background: rgba(255,255,255,.04); }
.tbl tbody tr.click { cursor: pointer; }
.tbl tr:last-child td { border-bottom: 0; }
.who { display: flex; align-items: center; gap: 11px; font-weight: 600; }
.who small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; font-family: var(--mono); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sid { font-family: var(--mono); font-size: 12.5px; padding: 3px 8px; border-radius: 8px; background: rgba(255,255,255,.07); }
.ping { font-family: var(--mono); font-size: 12.5px; }
.ping.g { color: var(--green); } .ping.y { color: var(--amber); } .ping.r { color: var(--red); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid var(--stroke); white-space: nowrap; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.red { color: #fda4af; background: rgba(251,113,133,.12); border-color: rgba(251,113,133,.25); }
.tag.green { color: #86efac; background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.25); }
.tag.amber { color: #fcd34d; background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.25); }
.tag.blue { color: #93c5fd; background: rgba(96,165,250,.12); border-color: rgba(96,165,250,.28); }
.actions { display: flex; gap: 4px; justify-content: flex-end; }

.empty { text-align: center; padding: 50px 20px; color: var(--ink-3); }
.empty b { display: block; color: var(--ink); font-size: 16px; margin: 10px 0 4px; }
.empty .e-ico { font-size: 32px; }

.feed { display: grid; gap: 2px; }
.feed-item { display: flex; gap: 12px; align-items: center; padding: 10px 6px; border-radius: 12px; font-size: 13.5px; color: var(--ink-2); }
.feed-item b { color: var(--ink); }
.feed-item time { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.feed-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 13px; background: rgba(255,255,255,.07); }

.leader { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; }
.leader .lb { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.leader .lb i { display: block; height: 100%; border-radius: inherit; width: 0; transition: width 1.2s var(--ease); }
.leader span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); width: 28px; text-align: right; }

/* reports */
.reports { display: grid; grid-template-columns: 340px 1fr; gap: 14px; height: calc(100vh - 140px); min-height: 460px; }
.rlist { overflow: auto; padding: 8px; border-radius: 22px; }
.ritem { display: block; width: 100%; text-align: left; padding: 13px 14px; border-radius: 14px; border: 1px solid transparent; background: none; cursor: pointer; transition: background .2s, border-color .2s; }
.ritem:hover { background: rgba(255,255,255,.05); }
.ritem.on { background: var(--glass-hi); border-color: var(--stroke); }
.ritem b { font-size: 14px; }
.ritem p { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.ritem .row { justify-content: space-between; }
.rchat { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; }
.rchat-head { padding: 16px 20px; border-bottom: 1px solid var(--stroke); }
.rchat-body { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 72%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.08); font-size: 14px; animation: rise .4s var(--ease) both; }
.bubble.me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, rgba(37,99,235,.55), rgba(59,130,246,.4)); }
.bubble small { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 2px; }
.bubble.me small { color: rgba(255,255,255,.65); }
.rchat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--stroke); }
.rchat-foot .input { border-radius: 999px; }

/* roles */
.perm-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14px; }
.perm-row:last-child { border-bottom: 0; }
.perm-row code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.perm-row .switch { margin-left: auto; }
.role-pick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }

/* player drawer */
.drawer-bg { position: fixed; inset: 0; z-index: 60; background: rgba(2,6,16,.45); backdrop-filter: blur(4px); animation: fade .3s; }
.drawer { position: fixed; z-index: 61; top: 14px; right: 14px; bottom: 14px; width: min(520px, calc(100% - 28px)); overflow: auto; border-radius: 26px; padding: 24px; animation: slide .55s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.drawer-head h2 { font-size: 22px; letter-spacing: -.03em; }
.ids { display: grid; gap: 6px; margin: 14px 0; }
.ids div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(0,0,0,.22); font-size: 13px; }
.ids span { color: var(--ink-3); }
.ids code { font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; cursor: copy; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.quick .btn { flex-direction: column; height: 66px; gap: 4px; border-radius: 18px; font-size: 12px; padding: 0; }
.quick .btn svg { width: 19px; height: 19px; }
.tabs-mini { margin: 6px 0 12px; }
.hist { display: grid; gap: 8px; }
.hist div { padding: 11px 13px; border-radius: 14px; background: rgba(0,0,0,.2); font-size: 13.5px; }
.hist small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }

/* modal */
.modal-bg { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(2,6,16,.5); backdrop-filter: blur(6px); animation: fade .25s; }
.modal { width: min(460px, 100%); padding: 24px; border-radius: 26px; animation: pop .5s var(--spring); }
.modal h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
.modal > p { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; }
.modal form { display: grid; gap: 14px; }
.modal .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--stroke); background: rgba(255,255,255,.05); padding: 5px 11px; border-radius: 999px; font-size: 12.5px; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s; }
.chips button:hover { background: var(--glass-hi); color: var(--ink); }

/* palette */
.pal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(2,6,16,.45); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 0; animation: fade .2s; }
.pal { width: min(600px, 100%); border-radius: 24px; overflow: hidden; animation: pop .45s var(--spring); }
.pal input { width: 100%; height: 58px; padding: 0 22px; background: none; border: 0; border-bottom: 1px solid var(--stroke); outline: none; font-size: 17px; }
.pal-list { max-height: 50vh; overflow: auto; padding: 8px; }
.pal-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 12px; cursor: pointer; text-align: left; font-size: 14.5px; }
.pal-item small { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.pal-item.on { background: var(--glass-hi); }
.pal-group { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); padding: 10px 12px 4px; }

/* toasts */
.toasts { position: fixed; z-index: 100; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; animation: toastIn .5s var(--spring); background: rgba(12,22,44,.9); }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast.err { border-color: rgba(251,113,133,.45); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }

.skeleton { border-radius: 22px; height: 120px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.setting { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.setting:last-child { border-bottom: 0; }
.setting div { flex: 1; }
.setting b { font-size: 14.5px; }
.setting p { font-size: 13px; color: var(--ink-3); }
.key { display: flex; gap: 8px; align-items: center; }
.key code { flex: 1; font-family: var(--mono); font-size: 13px; padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1100px) { .g4 { grid-template-columns: 1fr 1fr; } .g21 { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; padding: 10px; }
  .side { position: fixed; z-index: 70; inset: 10px auto 10px 10px; width: 260px; transform: translateX(-120%); transition: transform .45s var(--ease); background: rgba(8,16,32,.94); }
  .side.open { transform: none; }
  .menu-btn { display: inline-flex; }
  .search-trigger { min-width: 0; } .search-trigger span, .search-trigger kbd { display: none; }
  .status-pill span:last-child { display: none; }
  .g2, .reports { grid-template-columns: 1fr; }
  .reports { height: auto; } .rchat { min-height: 460px; }
  .top h1 { font-size: 21px; }
}
@media (max-width: 520px) { .g4 { grid-template-columns: 1fr; } .quick { grid-template-columns: repeat(2, 1fr); } }

/* ---------- accounts, communities, billing ---------- */
.login-card .stack { display: grid; gap: 10px; }
.login-card .btn-lg { width: 100%; }
.discord-btn { margin-top: 0; }
.steam-btn { background: linear-gradient(135deg, #1b2838, #2a475e); border-color: rgba(255,255,255,.22); }
.steam-btn:hover { background: linear-gradient(135deg, #22344a, #34597a); }
.callout-err { padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; font-size: 14px; text-align: left; border: 1px solid rgba(251,113,133,.4); background: rgba(251,113,133,.1); color: #fecdd3; }
.onboard { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.plan-opt, .rank-opt { position: relative; cursor: pointer; }
.plan-opt input, .rank-opt input { position: absolute; opacity: 0; }
.plan-opt span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); transition: border-color .2s, background .2s, transform .35s var(--spring); color: var(--ink); }
.plan-opt em { font-style: normal; font-weight: 700; font-size: 13px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-opt small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.plan-opt:hover span, .rank-opt:hover span { transform: translateY(-2px); }
.plan-opt input:checked + span, .rank-opt input:checked + span { border-color: rgba(59,130,246,.7); background: rgba(59,130,246,.1); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.plan-opt input:focus-visible + span, .rank-opt input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: 2px; }

.side-server { position: relative; cursor: pointer; }
.side-server:hover { border-color: var(--stroke-2); }
.comm-select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.comm-select option { background: #0b1324; color: var(--ink); }
.side-server:focus-within { outline: 2px solid var(--magenta); outline-offset: 2px; }
.plan-banner { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.1); color: #fde68a; }
.plan-banner.bad { border-color: rgba(251,113,133,.45); background: rgba(251,113,133,.12); color: #fecdd3; }
img.avatar { object-fit: cover; background: rgba(255,255,255,.08); }

.idrow { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.idb { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 500; border: 1px solid var(--stroke); background: rgba(255,255,255,.05); color: var(--ink-2); }
.idb svg { width: 12px; height: 12px; }
.idb.discord { color: #c7cbff; border-color: rgba(88,101,242,.4); }
.idb.steam { color: #b8d4ea; border-color: rgba(102,192,244,.35); }

.seg-full { display: flex; width: 100%; }
.seg-full button { flex: 1; padding: 9px 10px; }
.rank-list { display: grid; gap: 6px; margin-top: 4px; max-height: 220px; overflow: auto; padding: 3px; }
.rank-opt span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); color: var(--ink); transition: border-color .2s, background .2s, transform .35s var(--spring); }
.rank-opt i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; }
.rank-opt small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.found { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; margin-top: 6px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); cursor: pointer; animation: rise .4s var(--ease); transition: border-color .2s, background .2s; }
.found b { font-size: 15px; color: var(--ink); }
.found.on { border-color: rgba(59,130,246,.7); background: rgba(59,130,246,.08); }
.found .radio { margin-left: auto; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--stroke-2); }
.found.on .radio { border: 6px solid #3b82f6; }
.modal { max-height: calc(100vh - 32px); overflow: auto; width: min(520px, 100%); }

.prov { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.prov svg { width: 20px; height: 20px; }
.prov.discord { background: #5865f2; }
.prov.steam { background: linear-gradient(135deg, #1b2838, #2a475e); }

.plans3 { grid-template-columns: repeat(3, 1fr); }
.plan-card { display: flex; flex-direction: column; gap: 10px; transition: transform .45s var(--ease), border-color .3s; }
.plan-card:hover { transform: translateY(-3px); }
.plan-card.cur { border-color: rgba(59,130,246,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 3px rgba(59,130,246,.12); }
.plan-card .price { font-size: 38px; font-weight: 800; letter-spacing: -.04em; }
.plan-card .price span { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.plan-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: auto; padding-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.plan-card li { display: flex; gap: 8px; align-items: center; }
.plan-card li svg { width: 16px; height: 16px; color: var(--green); flex: none; }
@media (max-width: 860px) { .plans3, .plan-pick { grid-template-columns: 1fr; } .plan-banner { display: none; } }
.plan-banner.free { border-color: rgba(59,130,246,.4); background: rgba(59,130,246,.1); color: #bfdbfe; }
.plans3, .plan-pick { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.plan-pick { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
