*{box-sizing:border-box}body{margin:0;background:#100c17;color:#f4eefb;font:16px system-ui,sans-serif}main{max-width:1050px;margin:auto;padding:24px 16px}header{background:linear-gradient(135deg,#36135b,#170e26);border-bottom:2px solid #d8b35c;padding:32px 16px;text-align:center}h1{color:#f5d381;margin:0;font-size:clamp(28px,5vw,44px)}p{line-height:1.6;color:#c9bdd7}.controls{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 12px}input,select{background:#21162e;color:white;border:1px solid #7955a0;border-radius:9px;padding:13px;font:inherit}input{flex:1;min-width:200px}table{border-collapse:collapse;width:100%;background:#1b1227}th,td{text-align:left;padding:12px;border-bottom:1px solid #3b294e;overflow-wrap:anywhere}th{background:#412365;color:#f5d381}td:last-child{color:#f5d381;font-variant-numeric:tabular-nums}tr[hidden]{display:none}footer{text-align:center;padding:24px;color:#c9bdd7}@media(max-width:550px){th,td{padding:8px;font-size:13px}}
.brand-logo{display:block;margin:0 auto 14px;width:80px;height:80px}input:focus-visible,select:focus-visible{outline:2px solid #f5d381}table{table-layout:fixed}th:first-child{width:60%}th:nth-child(2){width:13%}

.account{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:18px}.account a{display:inline-block;padding:12px 28px;border:1px solid #e7bf64;border-radius:9px;color:#f5d381;font-weight:700;text-decoration:none;background:#29143e}.account a:last-child{background:#e7bf64;color:#21122e}.account a:focus-visible{outline:2px solid white;outline-offset:3px}

header{padding:0 16px 28px}.topbar{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #ffffff18}.brand{display:flex;align-items:center;gap:10px;color:#f5d381;text-decoration:none;font-weight:750;font-size:20px}.brand .brand-logo{margin:0;width:52px;height:52px}.account{margin:0;flex-wrap:nowrap;gap:8px}.hero{padding:26px 0 0}.hero p{margin:8px 0 0}.account a{padding:10px 20px;min-height:44px} @media(max-width:600px){header{padding:0 12px 20px}.topbar{padding:10px 0;gap:6px}.brand{font-size:14px;gap:5px}.brand .brand-logo{width:36px;height:36px}.account{gap:6px}.account a{padding:11px 10px;font-size:12px;white-space:nowrap}.hero{padding-top:20px}.hero p{font-size:13px}main{padding:16px 12px}main>p{font-size:14px}h2{font-size:21px}.controls{display:grid;grid-template-columns:1fr;gap:8px;margin:16px 0 8px}input,select{width:100%;min-width:0;min-height:46px}table,tbody{display:block;background:transparent}thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}tbody tr:not([hidden]){display:grid;grid-template-columns:auto 1fr;gap:8px 12px;padding:14px;margin-bottom:9px;background:#1b1227;border:1px solid #49325f;border-radius:12px}td{border:0;padding:0;font-size:14px}td:first-child{grid-column:1/-1;line-height:1.5}td:nth-child(2){color:#d7b9f8;font-size:12px;background:#39224e;border-radius:5px;padding:3px 8px;align-self:center}td:last-child{text-align:right;align-self:center;font-size:13px} }

.brand{min-width:0;flex:0 1 auto}.brand .brand-logo{width:clamp(150px,23vw,280px);height:auto;max-width:100%;object-fit:contain}.account{flex-shrink:0}@media(max-width:600px){.brand .brand-logo{width:clamp(105px,40vw,190px);height:auto}.topbar{gap:8px}.account a{padding:10px 8px}}

/* Compact responsive header */
header{padding:0 16px}.topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);gap:16px;padding:20px 0;border-bottom:0}.hero{padding:0;min-width:0}.hero h1{font-size:clamp(26px,3vw,40px)}.hero p{font-size:14px;margin:4px 0 0}.account{justify-self:end}.brand{justify-self:start}.brand .brand-logo{max-width:100%}@media(max-width:900px){header{padding:0 12px 16px}.topbar{grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;padding:10px 0 0}.hero{grid-column:1/-1;grid-row:2;padding:12px 0 0;border-top:1px solid #ffffff18}.account{grid-column:2;grid-row:1}.hero h1{font-size:28px}.hero p{font-size:13px}.brand .brand-logo{max-width:100%}}
