/* GamesRN · Datacron Manager — holo skin shared with TW Counters, the Conquest
   guides and GAC Scout. Loaded last (after each view's own stylesheet) so it
   only re-skins: layout and behaviour stay in the view stylesheets. */
:root{color-scheme:dark;
 --void:#02060e;--holo:#45e2ff;--amber:#ffb64a;--good:#54f0a8;--bad:#ff6b86;--ink:#dff1fb;--dim:#4d7288;
 --edge:rgba(69,226,255,.24);--edge2:rgba(69,226,255,.5);--fill:rgba(9,26,40,.66);--fill2:rgba(14,36,54,.8);
 --bg:#02060e;--panel:rgba(9,26,40,.66);--panel2:rgba(14,36,54,.8);--panel-2:rgba(14,36,54,.8);
 --line:rgba(69,226,255,.24);--border:rgba(69,226,255,.24);--text:#dff1fb;--muted:#7ea6bd;--subtle:#5f87a0;
 --cyan:#45e2ff;--gold:#ffb64a;--blue:#5aa9ff;--danger:#ff6b86;
 --sans:'DM Sans','Segoe UI',system-ui,Arial,sans-serif;--mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace}

html{background:#02060e}
html body{font:15px/1.5 var(--sans);color:var(--ink);-webkit-font-smoothing:antialiased;
 background:radial-gradient(1100px 700px at 50% -10%,rgba(69,226,255,.10),transparent 60%),linear-gradient(180deg,#02060e,#03080f 55%,#02050b);background-attachment:fixed}
html body .stars{display:none}

/* shell: full-width page like the other guides, not a floating card */
html body .app-shell{width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden}
html body .workspace{background:transparent;max-width:1320px;margin:0 auto;padding:20px 18px 60px}
html body .app-shell>footer{max-width:1320px;margin:0 auto;padding:18px;border-top:1px solid var(--edge);color:var(--dim);font-size:12.5px;background:transparent}

/* hero header */
html body .topbar.holo-hero{display:block;padding:0;border-bottom:1px solid var(--edge);background:linear-gradient(180deg,rgba(69,226,255,.04),transparent);box-shadow:none}
.holo-hero .wrap{max-width:1320px;margin:0 auto;padding:0 18px}
.holo-hero .crumb{font-size:12px;letter-spacing:.12em;color:var(--dim);margin:22px 0 10px}.holo-hero .crumb a{color:var(--dim);text-decoration:none}
.holo-hero .tag{display:inline-flex;gap:8px;align-items:center;font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:#bdeeff;padding:5px 12px;border:1px solid var(--edge2);background:rgba(69,226,255,.06)}
.holo-hero .tag .dot{width:7px;height:7px;border-radius:50%;background:var(--holo);box-shadow:0 0 10px var(--holo)}
.holo-hero h1{margin:14px 0 6px;font-size:40px;line-height:1;font-weight:800;text-transform:uppercase;color:#eafcff;text-shadow:0 0 22px rgba(69,226,255,.35)}
.holo-hero h1 span{color:var(--holo)}
.holo-hero .lead{color:var(--muted);max-width:720px;margin:6px 0 0}
html body .holo-hero .primary-tabs{display:flex;gap:4px;margin-top:18px;flex-wrap:wrap}
html body .holo-hero .primary-tabs a{background:none;border:1px solid transparent;border-bottom:none;padding:10px 16px;color:var(--muted);font-weight:700;letter-spacing:.04em;border-radius:8px 8px 0 0;box-shadow:none;font-size:14px}
html body .holo-hero .primary-tabs a:hover{color:var(--ink);background:none}
html body .holo-hero .primary-tabs a.active{color:#eafcff;border-color:var(--edge);background:var(--fill);box-shadow:none}

/* saved-account strip */
html body .account-strip{max-width:1320px;margin:0 auto;padding:12px 18px;border-bottom:1px dashed var(--edge);background:transparent;flex-wrap:wrap}
html body .account-tab,html body .guild-icon-tab{border:1px solid var(--edge);border-radius:999px;background:rgba(69,226,255,.06);color:var(--muted);font-weight:600;font-size:13px;padding:6px 12px}
html body .account-tab.active,html body .guild-icon-tab.active{color:#eafcff;border-color:var(--holo);background:rgba(69,226,255,.16);box-shadow:0 0 14px rgba(69,226,255,.15)}
html body .add-account-form input{background:var(--fill2);border:1px solid var(--edge);border-radius:10px;color:var(--ink);font-family:var(--mono)}

/* buttons: teal primary, amber accent, ghost default — same as TW Counters */
html body button,html body .button,html body .add-account-form button,html body .remove-account,
html body .all-account-exports button,html body .all-account-updates button,
html body .stale-warning button,html body .player-actions button,html body .empty-player button,html body .filter-grid button{
 background:var(--fill);border:1px solid var(--edge);color:var(--ink);border-radius:10px;font-family:var(--sans);font-weight:700;box-shadow:none;text-shadow:none}
html body button:hover,html body .button:hover{border-color:var(--edge2);filter:brightness(1.12);transform:none}
html body .player-actions .accent,html body .empty-player .accent,html body .button-primary,html body .all-account-updates button{
 background:linear-gradient(180deg,#1aa8c8,#127f99);border-color:#39d4f3;color:#fff}
html body .button-accent{background:linear-gradient(180deg,#d98f2b,#a8661a);border-color:var(--amber);color:#fff}
html body .remove-account,html body .button-danger{background:none;border-color:rgba(255,107,134,.4);color:#ffb3c0}
html body .text-button{background:none;border:0;color:var(--holo)}
html body .all-account-exports button{font-size:13px;padding:8px 12px}

/* panels and cards */
html body .player-summary-bar,html body .status-panel,html body .empty-player,html body .filter-drawer,
html body .hero-copy,html body .lookup-panel,html body .panel,html body .collapsible-panel,html body .filter-panel,
html body #workspace .embedded-lookup-panel,html body #workspace .filter-panel,html body #workspace .status-panel,
html body .tier-column,html body .preference-filter-group{
 background:linear-gradient(180deg,rgba(9,30,44,.9),rgba(6,20,30,.72));border:1px solid var(--edge);border-radius:14px;box-shadow:none}
html body .metric-card,html body #workspace .metric-card,html body #workspace .summary-grid>*{
 background:rgba(69,226,255,.045);border:1px solid var(--edge);border-radius:12px;box-shadow:none}
html body .metric-card strong{font-family:var(--mono);color:#eafcff}
html body .metric-card span{letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
html body .section-kicker,html body .eyebrow{color:var(--holo);font-family:var(--mono);letter-spacing:.18em}
html body h1,html body h2{color:#eafcff}
html body .player-avatar,html body .brand-mark{border-color:var(--edge2);color:var(--holo);background:rgba(69,226,255,.06)}

/* datacron cards keep their per-set accent; frame them in holo */
html body .datacron-card{background:linear-gradient(180deg,rgba(9,30,44,.92),rgba(5,16,26,.86));border-color:color-mix(in srgb,var(--set-accent,#45e2ff) 30%,rgba(69,226,255,.2));box-shadow:none}
html body .stat-preview-item,html body .ability-tier,html body .level-medallion,html body .tier-item,html body #workspace .tier-item{
 background:rgba(69,226,255,.04);border-color:rgba(69,226,255,.18);box-shadow:none}
html body .ability-tooltip{background:rgba(2,10,18,.98);border-color:var(--edge2)}

/* inputs */
html body input,html body select,html body textarea,html body #workspace input,html body #workspace select,html body #workspace textarea,html body .quick-search input,html body .filter-grid input,html body .filter-grid select{
 background:var(--fill2);border:1px solid var(--edge);border-radius:10px;color:var(--ink);box-shadow:none}
html body input:focus,html body select:focus,html body textarea:focus{outline:none;border-color:var(--edge2);box-shadow:0 0 0 2px rgba(69,226,255,.12)}
html body select option{background:#0b1b29}

/* tables (guild report) */
html body #workspace table,html body .table-wrap{background:rgba(2,10,18,.6);border-color:var(--edge)}
html body th,html body #workspace th{background:#071a26;color:var(--dim);font-family:var(--mono)}
html body .inventory-table th:first-child,html body .inventory-table td:first-child,
html body .inventory-table th:nth-child(2),html body .inventory-table td:nth-child(2){background:#06151f}
html body tbody tr:hover,html body .inventory-table tbody tr:hover td:nth-child(1),html body .inventory-table tbody tr:hover td:nth-child(2){background:#0a2230}
html body .code,html body .cron-id{font-family:var(--mono)}

/* notices: a lock snapshot is the normal state, so it reads as info, not an alarm */
html body .stale-warning{background:linear-gradient(180deg,rgba(9,30,44,.9),rgba(6,20,30,.72));border:1px solid var(--edge2);border-left:3px solid var(--holo);border-radius:0;color:#cfe8f4;
 clip-path:polygon(0 0,calc(100% - 13px) 0,100% 13px,100% 100%,13px 100%,0 calc(100% - 13px))}
html body .stale-warning strong{color:var(--holo);font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
html body .stale-warning.is-old{border-color:rgba(255,182,74,.55);border-left-color:var(--amber)}
html body .stale-warning.is-old strong{color:var(--amber)}
html body .error-panel,html body #workspace .error-panel,html body .workspace-state-error{background:rgba(255,107,134,.08);border:1px solid rgba(255,107,134,.45);border-radius:12px}
html body .spinner{border-color:rgba(69,226,255,.17);border-top-color:var(--holo)}

@media(max-width:720px){.holo-hero h1{font-size:32px}html body .workspace{padding:16px 12px 50px}}
html body .collapsible-summary{background:transparent}
html body .collapsible-panel[open]>.collapsible-summary,html body details[open]>.collapsible-summary{border-bottom:1px solid var(--edge)}
/* Set Preferences: the tier board used to stretch the page to ~2400px (clipped
   off-screen); keep panels to the page width and let the board scroll. */
html body #workspace>*,html body #workspace .guild-panel,html body #workspace .tier-section,html body #workspace .preference-filter-drawer{min-width:0;max-width:100%}
html body #workspace .tier-board{overflow-x:auto}
