 .account-actions { display: flex; gap: 16px; }
 .password-panel { width: min(440px, 100%); position: relative; padding: 34px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
 .password-panel h2 { margin: 22px 0 28px; font-size: 48px; line-height: .9; }
 .password-panel h2 em { color: #ff5c38; font-style: normal; }
 .password-panel input { display: block; width: 100%; margin-bottom: 10px; }
 .password-panel form > button { width: 100%; padding: 13px 18px; color: #10131b; background: var(--acid); }
 .password-panel .status { min-height: 16px; }
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root { --ink: #10131b; --paper: #f4f1e9; --acid: #d5ff45; --muted: #7f817d; --line: #d7d3c8; }
* { box-sizing: border-box; } body { min-height: 100vh; min-height: 100dvh; margin: 0; color: var(--ink); background: var(--paper); font-family: 'Space Grotesk', sans-serif; } body:before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .2; background-image: radial-gradient(#555 0.7px, transparent .7px); background-size: 14px 14px; }
.shell { max-width: 1180px; margin: auto; padding: 28px 5vw 22px; position: relative; } .topbar, footer { display: flex; justify-content: space-between; align-items: center; font: 11px 'DM Mono', monospace; letter-spacing: .08em; } .topbar { border-bottom: 1px solid var(--ink); padding-bottom: 17px; } .brand { font-weight: 600; display: flex; gap: 10px; align-items: center; } .brand-mark { color: #ff5c38; font-size: 22px; } .top-actions { display:flex; align-items:center; gap:18px; }.top-login { color: inherit; border:0; border-bottom:1px solid; background:transparent; padding:3px 0; font:11px 'DM Mono',monospace; } a { color: inherit; text-decoration: none; border-bottom: 1px solid; padding-bottom: 3px; }
.hero { padding: 82px 0 55px; max-width: 720px; } .eyebrow { font: 11px 'DM Mono', monospace; letter-spacing: .14em; color: var(--muted); margin: 0 0 16px; } h1 { font-size: clamp(54px, 9vw, 112px); line-height: .88; letter-spacing: -.065em; margin: 0; } h1 em { color: #ff5c38; font-style: normal; } .intro { font-size: 17px; line-height: 1.6; max-width: 440px; margin: 34px 0 0; }
.panel { background: rgba(255,255,255,.68); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); } .access-panel { padding: 23px; max-width: 700px; } label { display: block; font: 11px 'DM Mono', monospace; text-transform: uppercase; margin-bottom: 10px; } .input-row { display: flex; gap: 10px; } input { min-width: 0; flex: 1; border: 1px solid var(--ink); background: transparent; padding: 15px; font: 15px 'DM Mono', monospace; text-transform: uppercase; } button { border: 1px solid var(--ink); color: inherit; cursor: pointer; font: 600 13px 'Space Grotesk', sans-serif; } .input-row button { color: #10131b; background: var(--acid); padding: 0 20px; } button:disabled { opacity: .45; cursor: not-allowed; } .status { color: var(--muted); font: 12px 'DM Mono', monospace; margin: 14px 0 0; }
.relic-layout { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr); gap: 28px; margin-top: 65px; } .hidden { display: none; } .relic-card { border: 1px solid var(--ink); background: #fff; box-shadow: 5px 5px 0 var(--ink); } .relic-art { min-height: 290px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; } .relic-art:after { content: ''; position: absolute; width: 230px; height: 230px; border: 2px solid currentColor; border-radius: 50%; transform: translate(55%, -15%) rotate(22deg); opacity: .55; } .relic-art.cyan { background: #a8e7e4; color: #176c72; } .relic-art.yellow { background: #ffdb59; color: #885d00; } .relic-art.violet { background: #d4baff; color: #4c267f; } .relic-art.green { background: #b8df8b; color: #35632d; } .relic-art.red { background: #ff947a; color: #8d2d22; } .relic-art.blue { background: #a4c9ed; color: #205180; } .relic-art span, .relic-art small { font: 11px 'DM Mono', monospace; } .relic-art strong { font-size: 150px; line-height: .7; letter-spacing: -.1em; position: relative; z-index: 1; } .relic-info { padding: 24px; } .card-top, .section-head { display: flex; justify-content: space-between; align-items: center; } .tag { padding: 5px 8px; font: 11px 'DM Mono', monospace; border: 1px solid; } .tag.legendary { background: #d4baff; }.tag.epic { background: #ffdb59; }.tag.rare { background: #a8e7e4; }.type, .muted { color: var(--muted); font: 12px 'DM Mono', monospace; } h2 { font-size: 32px; margin: 23px 0 12px; letter-spacing: -.05em; } .relic-info p { line-height: 1.6; margin: 0; } .stats { display: flex; gap: 36px; margin-top: 32px; border-top: 1px solid var(--line); padding-top: 16px; } .stats div { display: grid; gap: 4px; } .stats b { font-size: 24px; }.stats span { font: 10px 'DM Mono', monospace; color: var(--muted); }
.auth-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px; max-width: 820px; }.auth-panel h2 { margin: 0 0 10px; font-size: 34px; }.auth-panel input { display: block; width: 100%; margin-bottom: 10px; }.auth-actions { display: flex; gap: 8px; }.auth-actions button { padding: 13px 18px; background: var(--acid); }.auth-actions button:not(.ghost) { color: #10131b; }.auth-actions .ghost { background: transparent; }.account-bar { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; font: 11px 'DM Mono', monospace; }.account-bar strong { font: 600 14px 'Space Grotesk', sans-serif; }.account-bar b { color: #ff5c38; }.account-bar button { border: 0; border-bottom: 1px solid; background: transparent; padding: 3px 0; font-size: 11px; }.collection-panel { margin-top: 65px; }.collection-panel h2 { margin: 0; }.collection-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }.collection-item { min-height: 125px; padding: 13px; text-align: left; display: grid; align-content: space-between; border: 1px solid var(--ink); background: #fff; }.collection-item b { font-size: 25px; }.collection-item strong { font-size: 14px; }.collection-item span { font: 10px 'DM Mono', monospace; color: var(--muted); }.collection-item.cyan b { color: #176c72; }.collection-item.yellow b { color: #a27800; }.collection-item.violet b { color: #4c267f; }.collection-item.green b { color: #35632d; }.collection-item.red b { color: #8d2d22; }.collection-item.blue b { color: #205180; }
.auth-panel #username { text-transform: none; }
.modal-backdrop { position:fixed; inset:0; z-index:10; display:grid; place-items:center; padding:20px; background:rgba(16,19,27,.48); }.modal-backdrop.hidden { display:none; }.modal-backdrop .auth-panel { width:min(820px,100%); position:relative; background:var(--paper); border:1px solid var(--ink); box-shadow:8px 8px 0 var(--ink); }.modal-close { position:absolute; top:12px; right:14px; border:0; background:transparent; font-size:25px; line-height:1; }.about-panel { width:min(620px,100%); position:relative; padding:34px; background:var(--paper); border:1px solid var(--ink); box-shadow:8px 8px 0 var(--ink); }.about-panel h2 { font-size:clamp(38px,7vw,64px); line-height:.9; margin:24px 0; }.about-panel h2 em { color:#ff5c38; font-style:normal; }.about-panel > p:not(.eyebrow) { max-width:470px; line-height:1.7; }.about-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:32px 0 42px; }.about-grid div { display:grid; gap:10px; padding:14px 0; border-top:1px solid var(--ink); }.about-grid strong { font:18px 'DM Mono',monospace; color:#ff5c38; }.about-grid span { font:11px 'DM Mono',monospace; }.about-panel footer { margin-top:0; }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }.stats b { font-size: 20px; } footer { border-top: 1px solid var(--ink); margin-top: 80px; padding-top: 15px; color: var(--muted); }
body.dark-mode { --ink:#f1eee6; --paper:#151920; --muted:#a5aaa5; --line:#3b414c; background:#151920; } body.dark-mode:before { opacity:.12; background-image:radial-gradient(#c8d0d0 .7px, transparent .7px); } body.dark-mode .panel, body.dark-mode .auth-panel, body.dark-mode .about-panel { background:rgba(30,35,44,.92); } body.dark-mode .relic-card, body.dark-mode .collection-item { background:#202630; } body.dark-mode input { color:var(--ink); } body.dark-mode input::placeholder { color:#8c928f; }
.version-panel { width:min(700px,100%); max-height:min(760px,90vh); overflow:auto; position:relative; padding:34px; background:var(--paper); border:1px solid var(--ink); box-shadow:8px 8px 0 var(--ink); }.version-panel h2 { font-size:clamp(42px,7vw,68px); line-height:.9; margin:22px 0 28px; }.version-panel h2 em { color:#ff5c38; font-style:normal; }.version-summary { display:flex; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); padding:14px 0; }.version-summary strong { font-size:18px; }.version-summary span { font:11px 'DM Mono',monospace; color:var(--muted); }.version-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0; }.version-grid div { display:grid; gap:8px; padding:14px; background:rgba(255,255,255,.45); border:1px solid var(--line); }.version-grid small { font:10px 'DM Mono',monospace; color:var(--muted); }.version-grid strong { font-size:15px; }.version-copy { line-height:1.7; }.version-history-label { margin-top:30px; }.version-commits { display:grid; gap:1px; background:var(--ink); }.version-commits article { display:grid; gap:6px; padding:12px 14px; background:rgba(255,255,255,.55); }.version-commits span { font:10px 'DM Mono',monospace; color:var(--muted); }.version-commits strong { font-size:13px; font-weight:500; } body.dark-mode .version-grid div, body.dark-mode .version-commits article { background:#202630; }
.notification-panel { width:min(700px,100%); max-height:min(760px,90vh); overflow:auto; position:relative; padding:34px; background:var(--paper); border:1px solid var(--ink); box-shadow:8px 8px 0 var(--ink); }.notification-panel h2 { font-size:clamp(42px,7vw,68px); line-height:.9; margin:22px 0 28px; }.notification-panel h2 em { color:#ff5c38; font-style:normal; }.notification-list { display:grid; gap:8px; }.notification-list article { padding:16px; border:1px solid var(--line); background:rgba(255,255,255,.45); }.notification-list small { color:var(--muted); font:10px 'DM Mono',monospace; }.notification-list h3 { margin:8px 0; font-size:19px; }.markdown-body { line-height:1.7; }.markdown-body p { margin:10px 0; }.markdown-body h2,.markdown-body h3,.markdown-body h4 { margin:14px 0 8px; }.markdown-body ul { padding-left:20px; }.markdown-body code { padding:2px 5px; background:rgba(127,129,125,.2); font:12px 'DM Mono',monospace; } body.dark-mode .notification-panel, body.dark-mode .notification-list article { background:#202630; }
@media (max-width: 650px) { .shell { padding: 20px 18px; }.hero { padding: 65px 0 40px; }.intro { font-size: 15px; }.auth-panel { grid-template-columns: 1fr; gap: 20px; }.input-row { display: grid; grid-template-columns: 1fr; }.input-row button { padding: 14px; }.relic-layout { grid-template-columns: 1fr; margin-top: 45px; gap: 20px; }.relic-art { min-height: 230px; }.relic-art strong { font-size: 120px; }.collection-list { grid-template-columns: 1fr 1fr; }.account-bar { align-items: flex-start; gap: 14px; flex-direction: column; } footer { margin-top: 55px; font-size: 9px; } }
.version-history { display:grid; gap:8px; margin-top:18px; }.version-history article { display:grid; gap:8px; padding:14px 16px; border:1px solid var(--line); background:rgba(255,255,255,.45); }.version-history article > div:first-child { display:grid; gap:5px; }.version-history strong { font-size:15px; }.version-history span,.version-history small { color:var(--muted); font:10px 'DM Mono',monospace; } body.dark-mode .version-history article { background:#202630; }
body.vampire-wolf { --ink:#2a1019; --paper:#f0e4df; --acid:#a5243a; --muted:#76565c; --line:#c6aeb0; background:radial-gradient(ellipse at 50% -15%, #b9878b 0, var(--paper) 68%); font-family:Georgia,'Times New Roman',serif; }
body.vampire-wolf.dark-mode { --ink:#f0e4df; --paper:#171014; --acid:#a5243a; --muted:#c0a6aa; --line:#513b43; background:radial-gradient(ellipse at 50% -15%, #48212b 0, var(--paper) 68%); }
body.vampire-wolf:before { opacity:.16; background-image:radial-gradient(#7e263a .8px,transparent .8px); background-size:18px 18px; }
body.vampire-wolf .brand-mark, body.vampire-wolf h1 em, body.vampire-wolf .about-panel h2 em, body.vampire-wolf .notification-panel h2 em, body.vampire-wolf .version-panel h2 em, body.vampire-wolf .about-grid strong { color:#a5243a; }
body.vampire-wolf.dark-mode .brand-mark, body.vampire-wolf.dark-mode h1 em, body.vampire-wolf.dark-mode .about-panel h2 em, body.vampire-wolf.dark-mode .notification-panel h2 em, body.vampire-wolf.dark-mode .version-panel h2 em, body.vampire-wolf.dark-mode .about-grid strong { color:#e05b70; }
body.vampire-wolf .topbar, body.vampire-wolf .panel, body.vampire-wolf .relic-card, body.vampire-wolf .collection-item, body.vampire-wolf .auth-panel, body.vampire-wolf .about-panel, body.vampire-wolf .notification-panel, body.vampire-wolf .version-panel { border-color:#6e2938; box-shadow:5px 5px 0 #6e2938; }
body.vampire-wolf.dark-mode .topbar, body.vampire-wolf.dark-mode .panel, body.vampire-wolf.dark-mode .relic-card, body.vampire-wolf.dark-mode .collection-item, body.vampire-wolf.dark-mode .auth-panel, body.vampire-wolf.dark-mode .about-panel, body.vampire-wolf.dark-mode .notification-panel, body.vampire-wolf.dark-mode .version-panel { border-color:#8f3c4f; box-shadow:5px 5px 0 #8f3c4f; }
body.vampire-wolf .input-row button, body.vampire-wolf .password-panel form > button { color:#fff3ee; background:#8f1e34; border-color:#6e2938; }
body.vampire-wolf .auth-actions button:not(.ghost) { color:#fff3ee; }
body.vampire-wolf .relic-art { filter:saturate(.72) sepia(.08); }
body.vampire-wolf .relic-info h2, body.vampire-wolf .section-head h2 { font-family:Georgia,'Times New Roman',serif; letter-spacing:-.03em; }
body.dark-mode .modal-close { color:var(--ink); }
body.dark-mode .collection-item.cyan b { color:#80ded6; }
body.dark-mode .collection-item.yellow b { color:#f3d15e; }
body.dark-mode .collection-item.violet b { color:#cfafff; }
body.dark-mode .collection-item.green b { color:#acd887; }
body.dark-mode .collection-item.red b { color:#ff947a; }
body.dark-mode .collection-item.blue b { color:#91c9f5; }
@media (max-width: 650px) {
    .shell { padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
    .topbar { align-items: flex-start; flex-direction: column; gap: 12px; }
    .top-actions { flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; }
    .top-login, .account-bar button { min-height: 44px; }
    .account-actions { flex-wrap: wrap; gap: 8px 16px; }
    input { font-size: 16px; }
    .modal-backdrop {
        height: 100vh;
        height: 100dvh;
        padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        align-items: start;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .modal-backdrop > .auth-panel,
    .modal-backdrop > .password-panel,
    .modal-backdrop > .notification-panel,
    .modal-backdrop > .about-panel,
    .modal-backdrop > .version-panel {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        margin-block: auto;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .modal-backdrop > .auth-panel,
    .modal-backdrop > .password-panel,
    .modal-backdrop > .notification-panel,
    .modal-backdrop > .about-panel,
    .modal-backdrop > .version-panel { padding: 24px 20px; }
}
@media (max-width: 420px) {
    .about-grid { grid-template-columns: 1fr; gap: 4px; margin: 24px 0; }
    .about-grid div { grid-template-columns: 36px 1fr; align-items: center; }
    .about-panel footer { flex-wrap: wrap; gap: 8px; }
}
.account-bar.hidden { display: none; }
.player-stats { margin-top: 24px; padding: 22px; }
.player-stats h2 { margin: 0; }
.player-stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.player-stat { min-width: 0; padding: 14px; display: grid; gap: 5px; border: 1px solid var(--ink); background: rgba(255,255,255,.45); }
.player-stat strong { font-size: 30px; line-height: 1; }
.player-stat span { font: 11px 'DM Mono', monospace; }
.player-stat small { color: var(--muted); font: 10px 'DM Mono', monospace; }
body.dark-mode .player-stat { background: #202630; }
body.vampire-wolf .player-stats { border-color: #6e2938; box-shadow: 5px 5px 0 #6e2938; }
body.vampire-wolf.dark-mode .player-stats { border-color: #8f3c4f; box-shadow: 5px 5px 0 #8f3c4f; }
@media (max-width: 850px) { .player-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .player-stats { padding: 16px; }.player-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.player-stat { padding: 12px; }.player-stat strong { font-size: 26px; } }
