:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  color: #202522;
  background: #f5f7f5;
  --line: #d9dfda;
  --muted: #68726b;
  --green: #176b4b;
  --green-strong: #0d573b;
  --blue: #235f91;
  --amber: #a86112;
  --red: #b13b31;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f5f7f5; }
button, input { font: inherit; letter-spacing: 0; }
button { min-height: 38px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; font-weight: 650; }
button:disabled { cursor: not-allowed; opacity: .48; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(35, 95, 145, .22); outline-offset: 1px; }
input { width: 100%; min-height: 40px; border: 1px solid #bdc7bf; border-radius: 6px; padding: 8px 10px; color: #202522; background: #fff; }
input::placeholder { color: #929a95; }
label { color: #49514c; font-size: .82rem; font-weight: 650; }
h1, h2, p { margin: 0; }

.topbar { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid #ced6d0; background: #fff; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: #1d2c25; color: #fff; font-size: .78rem; font-weight: 800; }
.brand div { display: grid; gap: 1px; }
.brand strong { font-size: .96rem; }
.brand span:last-child { color: var(--muted); font-size: .73rem; }
.gateway { display: flex; align-items: center; gap: 7px; color: #56605a; font-size: .8rem; }
.offline-link { color: #176442; font-weight: 700; text-decoration: none; border-right: 1px solid #ced6d0; padding-right: 9px; }
.offline-link:hover { text-decoration: underline; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #aab1ad; }
.dot.ok { background: #1f8a5d; }
.dot.bad { background: var(--red); }

.workspace { min-height: calc(100vh - 62px); display: grid; grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); }
.accounts { background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
body.private-pool-mode .workspace { grid-template-columns: minmax(0, 1fr); }
body.private-pool-mode .accounts { display: none; }
.account-section, .token-section { padding: 20px; }
.license-section { padding: 20px; background: #f6faf7; border-bottom: 1px solid var(--line); }
.license-section .section-head { margin-bottom: 10px; }
.license-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.license-diagnosis { margin: 10px 0 0; padding: 10px 12px; border-radius: 6px; border: 1px solid #d5e0d8; background: #fff; color: #445048; font: 0.74rem/1.45 Consolas, "Courier New", monospace; white-space: pre-wrap; word-break: break-all; }
.license-expiry { min-height: 18px; margin-top: 6px; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.license-expiry.active { color: var(--green); }
.license-expiry.error { color: var(--red); }
.account-section { border-bottom: 1px solid var(--line); }
.section-head { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: .92rem; }
.state-pill, .count { display: inline-flex; align-items: center; min-height: 24px; border-radius: 999px; padding: 3px 8px; background: #edf0ed; color: #59635d; font-size: .7rem; font-weight: 700; }
.state-pill.ready { color: #0f6141; background: #e0f1e8; }
.state-pill.missing { color: #934020; background: #f9e7dd; }
#loginForm { display: grid; gap: 8px; }
.login-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 0; }
.login-method-card { display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 9px 10px; border: 1px solid #cbd4cd; border-radius: 10px; background: #fff; cursor: pointer; font-size: .74rem; transition: border-color .16s, background .16s, box-shadow .16s, transform .16s; }
.login-method-card:hover { border-color: #77a88d; transform: translateY(-1px); }
.login-method-card:has(input:checked) { border-color: #267354; background: linear-gradient(135deg, #eef9f2, #f8fcf9); color: var(--green-strong); box-shadow: 0 0 0 2px rgba(38,115,84,.10); }
.login-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.method-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #edf3ef; color: #4d6f5b; font-size: 1rem; }
.login-method-card:has(input:checked) .method-icon { background: #d4efdf; color: var(--green-strong); }
.method-copy { display: grid; gap: 3px; min-width: 0; }
.method-copy strong { font-size: .76rem; }
.method-copy small { color: var(--muted); font-size: .66rem; font-weight: 500; white-space: nowrap; }
.login-method-hint { min-height: 17px; color: var(--muted); font-size: .7rem; }
.login-fields { display: grid; gap: 8px; }
.login-fields textarea { width: 100%; resize: vertical; min-height: 88px; border: 1px solid #bdc7bf; border-radius: 6px; padding: 8px 10px; color: #202522; background: #fff; font: .78rem/1.45 Consolas, "Microsoft YaHei", monospace; overflow-wrap: anywhere; }
.login-fields textarea::placeholder { color: #929a95; }
.token-hints { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.token-hints label { display: grid; gap: 4px; font-size: .72rem; }
.token-hints input { min-height: 36px; }
.inline-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.primary { padding: 8px 14px; background: var(--green); color: #fff; }
.primary:hover { background: var(--green-strong); }
.secondary { padding: 8px 12px; border-color: #b9c3bc; background: #fff; color: #34423a; }
.secondary:hover { background: #f0f4f1; border-color: #8f9b93; }
.wide { width: 100%; margin-top: 3px; }
.form-message { min-height: 20px; color: var(--muted); font-size: .76rem; line-height: 1.45; overflow-wrap: anywhere; }
.form-message.error, .scan-message.error { color: var(--red); }
.form-message.success, .scan-message.success { color: var(--green); }
.scan-message.body { color: #202522; }

.token-list { display: grid; gap: 8px; }
.token-empty { padding: 18px 0; color: #8a938d; font-size: .8rem; text-align: center; }
.token-item { border: 1px solid #d4dad6; border-radius: 7px; padding: 11px; background: #fafbfa; }
.token-item.active { border-color: #4f8c70; background: #f3faf6; box-shadow: inset 3px 0 #267354; }
.token-main { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.token-name { display: grid; gap: 3px; min-width: 0; }
.token-name strong { font-size: .88rem; }
.token-name span { color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.token-status { flex: 0 0 auto; border-radius: 999px; padding: 3px 7px; font-size: .66rem; font-weight: 750; background: #ecefec; color: #5d6660; }
.token-status.valid { background: #ddf0e5; color: #0c6741; }
.token-status.invalid { background: #f6dfdc; color: #9c3029; }
.token-actions { display: flex; gap: 6px; margin-top: 10px; }
.token-actions button { min-height: 30px; padding: 4px 8px; font-size: .72rem; }
.token-actions .delete { margin-left: auto; color: var(--red); border-color: #e3c4bf; background: #fff; }

.main-view { min-width: 0; display: flex; flex-direction: column; }
.scan-band { padding: 22px 26px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.scan-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.scan-title h1 { font-size: 1.28rem; line-height: 1.2; }
.scan-title p { margin-top: 5px; color: var(--muted); font-size: .78rem; }
.scan-controls { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.kid-field { width: 118px; display: grid; gap: 4px; }
.kid-field input { min-height: 38px; }
.check-field { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 4px; white-space: nowrap; }
.check-field input { width: 16px; min-height: 16px; accent-color: var(--green); }
.scan-message { min-height: 19px; margin-top: 10px; color: var(--muted); font-size: .78rem; }
.scan-progress { height: 4px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: #e7eee9; opacity: 0; transition: opacity .2s; }
.scan-progress.active { opacity: 1; }
.scan-progress span { display: block; width: 28%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #267354, #59ad7f); animation: scan-progress 1.25s ease-in-out infinite; }
@keyframes scan-progress { 0% { transform: translateX(-120%); } 100% { transform: translateX(380%); } }
.query-filter-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; padding: 13px 26px; border-bottom: 1px solid var(--line); background: #f7faf8; }
.query-filter-item { display: grid; grid-template-columns: 126px 105px minmax(120px, 1fr) auto; align-items: center; gap: 8px; padding: 10px; border: 1px solid #d5e0d8; border-radius: 9px; background: #fff; }
.query-filter-title { display: grid; gap: 3px; }
.query-filter-title strong { color: #314238; font-size: .78rem; }
.query-filter-title small { color: var(--muted); font-size: .65rem; }
.query-filter-item select, .query-filter-item input { min-height: 36px; }
.drawer-section-actions { display: flex; align-items: center; gap: 7px; }

.scan-preparation { padding: 14px 26px; border-bottom: 1px solid var(--line); background: #f7faf8; }
.scan-preparation-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.scan-preparation-head strong { display: block; color: #26382d; font-size: .86rem; }
.scan-preparation-head p { margin-top: 4px; color: var(--muted); font-size: .74rem; }
.scan-preparation-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.scan-preparation-facts span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid #dbe5de; border-radius: 6px; background: #fff; }
.scan-preparation-facts small { color: var(--muted); font-size: .68rem; }
.scan-preparation-facts strong { color: #345746; font-size: .76rem; font-variant-numeric: tabular-nums; text-align: right; }

.metrics { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); background: #fff; border-bottom: 1px solid var(--line); }
.metrics div { min-height: 82px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 13px 20px; border-right: 1px solid var(--line); }
.metrics div:nth-child(2) { box-shadow: inset 0 3px var(--blue); }
.metrics div:nth-child(3) { box-shadow: inset 0 3px var(--amber); }
.metrics div:nth-child(4) { box-shadow: inset 0 3px #7b5d99; }
.metrics div:last-child { border-right: 0; }
.metrics span { color: var(--muted); font-size: .73rem; }
.metrics strong { font-size: 1.22rem; font-variant-numeric: tabular-nums; }

.results { min-height: 0; flex: 1; display: flex; flex-direction: column; padding: 18px 26px 26px; }
.result-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.filter-group, .export-group { display: flex; align-items: center; gap: 8px; }
.filter-group input[type="search"] { width: min(320px, 40vw); }
.filter-select, .date-filter { display: grid; gap: 3px; min-width: 112px; color: var(--muted); font-size: .68rem; font-weight: 700; }
.filter-select select, .date-filter input { min-height: 34px; border: 1px solid #bdc7bf; border-radius: 6px; padding: 6px 9px; color: #34423a; background: #fff; font-size: .75rem; }
.filter-select select { min-width: 98px; }
.date-filter { min-width: 184px; }
.export-group span { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.compact { min-height: 34px; padding: 6px 9px; font-size: .75rem; }
.table-wrap { min-height: 280px; overflow: auto; border: 1px solid #d3d9d5; border-radius: 7px; background: #fff; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { padding: 10px 11px; border-bottom: 1px solid #e2e6e3; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; }
th { position: sticky; top: 0; z-index: 1; background: #f0f3f1; color: #4c5650; font-size: .71rem; }
tbody tr:hover { background: #f5faf7; }
.results .table-wrap table { min-width: 1120px; }
.results td:nth-child(1), .results td:nth-child(2), .results td:nth-child(4), .results td:nth-child(5), .results td:nth-child(7) { font-variant-numeric: tabular-nums; }
.empty { height: 220px; color: #8b938e; text-align: center; }
.shield-on { color: var(--green); font-weight: 700; }
.shield-off { color: #68726b; }
.shield-cell { white-space: normal; line-height: 1.3; }
.shield-cell span { display: block; font-weight: 750; }
.shield-cell small { display: block; margin-top: 2px; color: var(--muted); font-size: .68rem; font-weight: 500; }

.intel-section { padding: 0 26px 28px; background: #f5f7f5; }
.intel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 0 12px; }
.intel-head h2 { font-size: 1rem; }
.intel-head p { margin-top: 4px; color: var(--muted); font-size: .76rem; }
.intel-coverage { min-height: 46px; display: flex; align-items: stretch; flex-wrap: wrap; margin-bottom: 10px; border: 1px solid #d3d9d5; border-radius: 7px; background: #fff; overflow: hidden; }
.coverage-stat { min-width: 108px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 13px; border-right: 1px solid #e2e6e3; }
.coverage-stat small { color: var(--muted); font-size: .72rem; }
.coverage-stat strong { font-size: .96rem; font-variant-numeric: tabular-nums; }
.coverage-stat.success strong { color: var(--green); }
.coverage-stat.warning strong { color: var(--amber); }
.coverage-stat.danger strong { color: var(--red); }
.intel-notice { min-height: 20px; margin: 0 0 10px; color: #59635d; font-size: .76rem; line-height: 1.45; }
.player-report-head, .site-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 8px; }
.player-report-head h3, .site-head h3 { color: #4c5650; font-size: .82rem; }
.player-report-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.player-report-actions select, .site-head input { min-height: 34px; border: 1px solid #bdc7bf; border-radius: 6px; padding: 6px 9px; color: #34423a; background: #fff; }
.player-report-actions select { width: min(360px, 48vw); min-width: 180px; }
.site-head { margin-top: 18px; }
.site-head input { width: min(300px, 42vw); }
.player-report-text { min-height: 190px; max-height: 430px; overflow: auto; margin: 0; padding: 14px; border: 1px solid #d3d9d5; border-radius: 7px; background: #fff; color: #28332c; font: .78rem/1.65 Consolas, "Microsoft YaHei", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.player-report-text { display: none; }
.player-result-row { cursor: pointer; }
.player-result-row:focus-visible { outline: 3px solid rgba(35, 95, 145, .22); outline-offset: -3px; }
.intel-table-wrap { overflow: auto; margin-top: 10px; border: 1px solid #d3d9d5; border-radius: 7px; background: #fff; content-visibility: auto; contain-intrinsic-size: 320px; }
.intel-table-wrap h3 { margin: 0; padding: 11px 13px; border-bottom: 1px solid #e2e6e3; color: #4c5650; font-size: .78rem; background: #f0f3f1; }
.intel-table { min-width: 1120px; table-layout: auto; }
.intel-table th, .intel-table td { white-space: normal; vertical-align: top; line-height: 1.4; }
.intel-table td { min-width: 92px; }
.intel-table td:first-child { min-width: 110px; }
.intel-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.35; overflow-wrap: anywhere; }
.query-state { display: inline-flex; align-items: center; min-height: 23px; border-radius: 999px; padding: 3px 8px; background: #edf0ed; color: #59635d; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.query-state.success { color: #0f6141; background: #e0f1e8; }
.query-state.warning { color: #8a510e; background: #f8ead8; }
.query-state.danger { color: #96342d; background: #f7e1de; }
.query-row.danger { background: #fffafa; }
.query-row.warning { background: #fffdf8; }
.intel-table .empty { height: 120px; }
.site-table { min-width: 980px; }
.load-more-row td { padding: 12px; text-align: center; background: #f7faf8; }
.load-more-row button { min-height: 32px; padding: 5px 12px; border-color: #b9cfc1; background: #fff; color: var(--green-strong); font-size: .74rem; }
.remote-search-panel, .history-panel { margin-top: 10px; border: 1px solid #d3d9d5; border-radius: 7px; background: #fff; padding: 12px; }
.remote-search-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; color: #3d4941; font-size: .8rem; }
.remote-search-head span { color: var(--muted); font-size: .72rem; margin-right: auto; }
.remote-search-results, .history-results { display: grid; gap: 7px; max-height: 300px; overflow: auto; }
.remote-player, .history-record { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #e0e5e1; border-radius: 6px; padding: 9px 10px; font-size: .76rem; }
.remote-player:hover, .history-record:hover { background: #f5faf7; }
.remote-player-main, .history-record-main { min-width: 0; display: grid; gap: 3px; }
.remote-player-main strong, .history-record-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.remote-player-main small, .history-record-main small { color: var(--muted); }
.muted { color: var(--muted); font-size: .76rem; }

.toast { position: fixed; right: 18px; bottom: 18px; max-width: min(420px, calc(100vw - 36px)); padding: 11px 14px; border-radius: 7px; background: #26302b; color: #fff; box-shadow: 0 8px 28px rgba(20, 28, 23, .2); font-size: .8rem; }

.pager-row td { padding: 8px 12px; background: #f7faf8; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: .74rem; }
.player-detail-drawer { position: fixed; inset: 0; z-index: 20; display: flex; justify-content: flex-end; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20, 31, 25, .34); backdrop-filter: blur(1px); }
.drawer-panel { position: relative; width: min(620px, 94vw); height: 100%; overflow: auto; padding: 22px 20px 30px; background: #fbfdfb; box-shadow: -12px 0 36px rgba(20, 31, 25, .18); animation: drawer-in .18s ease-out; }
@keyframes drawer-in { from { transform: translateX(20px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.12rem; }
.drawer-head p { margin-top: 5px; color: var(--muted); font-size: .74rem; }
.player-metric-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 18px; }
.player-metric-card { min-height: 76px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 11px; border: 1px solid #d6e2da; border-radius: 9px; background: #fff; }
.player-metric-card span { color: var(--muted); font-size: .68rem; }
.player-metric-card strong { color: var(--green-strong); font-size: .88rem; overflow-wrap: anywhere; }
.drawer-section { margin-top: 16px; }
.drawer-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.drawer-section-head h3 { color: #405047; font-size: .82rem; }
.drawer-list { display: grid; gap: 7px; }
.drawer-row, .garrison-summary, .drawer-empty { padding: 10px 11px; border: 1px solid #dbe4de; border-radius: 8px; background: #fff; font-size: .76rem; }
.drawer-row { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.drawer-row strong { color: var(--green-strong); }
.drawer-row span { color: #45544b; text-align: right; }
.drawer-row small, .garrison-summary span { grid-column: 1 / -1; color: var(--muted); line-height: 1.45; }
.drawer-empty { color: var(--muted); text-align: center; }
.garrison-summary { display: grid; gap: 7px; }
.garrison-summary strong { color: var(--green-strong); }
.drawer-raw-report { margin-top: 16px; padding: 11px; border: 1px solid #e0e6e1; border-radius: 8px; background: #f7faf8; color: #59635d; font: .7rem/1.55 Consolas, monospace; white-space: pre-wrap; }
body.drawer-open { overflow: hidden; }

@media (max-width: 980px) {
  .workspace { grid-template-columns: 270px minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metrics div:nth-child(3) { border-right: 0; }
  .scan-title { align-items: flex-start; flex-direction: column; }
  .scan-controls { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .topbar { height: 56px; padding: 0 14px; }
  .brand span:last-child { display: none; }
  .gateway { max-width: 44vw; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gateway .offline-link { display: none; }
  .workspace { min-height: calc(100vh - 56px); display: block; }
  .accounts { border-right: 0; border-bottom: 1px solid var(--line); }
  .license-section, .account-section, .token-section { padding: 16px; }
  .inline-field { grid-template-columns: minmax(0, 1fr); }
  .inline-field button { width: 100%; }
  .token-list { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .scan-band { padding: 18px 16px 14px; }
  .query-filter-band { grid-template-columns: 1fr; padding: 12px 16px; }
  .query-filter-item { grid-template-columns: 1fr; align-items: stretch; }
  .query-filter-band > button { width: 100%; }
  .scan-preparation { padding: 12px 16px; }
  .scan-preparation-facts { grid-template-columns: 1fr; }
  .scan-controls { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .kid-field { width: 100%; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics div, .metrics div:nth-child(3) { border-right: 1px solid var(--line); }
  .metrics div:nth-child(even) { border-right: 0; }
  .metrics div:last-child { grid-column: 1 / -1; border-right: 0; }
  .results { padding: 14px 12px 22px; }
  .intel-section { padding: 0 12px 22px; }
  .intel-head { padding-top: 14px; }
  .player-report-head, .site-head { align-items: stretch; flex-direction: column; }
  .player-report-actions { width: 100%; }
  .player-report-actions select, .site-head input { width: 100%; min-width: 0; }
  .result-toolbar { align-items: stretch; flex-direction: column; }
  .filter-group, .export-group { width: 100%; }
  .filter-group input[type="search"] { width: 100%; min-width: 0; }
  .filter-group { flex-wrap: wrap; align-items: flex-end; }
  .filter-select, .date-filter { flex: 1 1 145px; min-width: 0; }
  .date-filter { min-width: 145px; }
  .export-group { justify-content: flex-end; flex-wrap: wrap; }
  table { min-width: 820px; }
}

@media (max-width: 480px) {
  .license-actions { grid-template-columns: minmax(0, 1fr); }
  .login-methods, .token-hints { grid-template-columns: minmax(0, 1fr); }
  .player-metric-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
