.header-actions{display:flex;align-items:center;gap:10px;min-width:0}.theme-toggle{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border:1px solid #705382;border-radius:50%;background:#21172f;color:#f3d59e;font-family:system-ui,sans-serif;font-size:23px;line-height:1;cursor:pointer}.theme-toggle:hover{background:#39254d}.theme-toggle:focus-visible{outline:2px solid #caa2f0;outline-offset:3px}.top nav{gap:5px;background:#ffffff06;border:1px solid #ffffff12;border-radius:30px;padding:4px}.top nav a{padding:9px 20px;border-radius:24px;white-space:nowrap}.top nav a[aria-current=page]{background:#6c409650;color:#eedbff}.header-actions #account{min-width:0}.header-actions #account>span{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
html[data-theme=light]{color-scheme:light;--bg:#f8f6fc;--panel:#fff;--line:#ded5e9;--text:#292039;--muted:#71647f;--violet:#7845a8;--gold:#945716}
[data-theme=light] body{background:radial-gradient(ellipse at 15% 10%,#eee5fa 0,transparent 40%),#f8f6fc;color:var(--text)}
[data-theme=light] .top{background:#fffcfff2;border-bottom-color:#e1d6ea}[data-theme=light] .brand{color:#5e3680}[data-theme=light] .brand small{color:#8a629f}[data-theme=light] .top nav{background:#f3edf9;border-color:#e5d9ef;color:#6f5b80}[data-theme=light] .top nav a[aria-current=page]{background:#e7d7f4;color:#553075}[data-theme=light] .top nav a:hover{color:#633484}
[data-theme=light] .theme-toggle{background:#fff;border-color:#d9c8e8;color:#64407e}[data-theme=light] .theme-toggle:hover{background:#efe4f8}[data-theme=light] .discord{background:#eee9fa;border-color:#d3c8e6;color:#53426d}
[data-theme=light] .hero{background-image:linear-gradient(90deg,rgba(255,252,249,.98) 0%,rgba(255,250,250,.95) 32%,rgba(245,236,250,.57) 70%,rgba(245,236,250,.25) 100%),url('/hero-art.jpg?v=3')!important;border-bottom-color:#d9c5e8}[data-theme=light] .hero h1{color:#30223e}[data-theme=light] .hero h1 em{color:#975e20;text-shadow:none}[data-theme=light] .hero p{color:#62526e}[data-theme=light] .eyebrow{color:#80529f}[data-theme=light] .outline{background:#fffafc;border-color:#c4a8d8;color:#65417e}[data-theme=light] .primary{color:#fff;background:linear-gradient(125deg,#7040a3,#9259c3);border-color:#9668bb;box-shadow:0 4px 16px #7940b01a}
[data-theme=light] .calculator-entry{background:linear-gradient(110deg,#eee3f8,#fffaf1);border-color:#d7c2e8}[data-theme=light] .calculator-entry h2{color:#59366e}[data-theme=light] .calculator-entry p{color:#756280}
[data-theme=light] .stats{background:#fff;border-color:#d9c9e5;box-shadow:0 8px 28px #4b2a6510}[data-theme=light] .stats>div{border-color:#e5d9ed}[data-theme=light] .stats span{color:#776486}[data-theme=light] .stats strong{color:#8c5625}[data-theme=light] .stats small{color:#82718f}[data-theme=light] .tabs{background:#ebe3f3}[data-theme=light] .tabs button{color:#735e84}[data-theme=light] .tabs button.active{background:#8552ad;color:#fff;box-shadow:none}[data-theme=light] .toolbar input{background:#fff;border-color:#d5c4e0;color:#33233e}
[data-theme=light] .auction-card{background:linear-gradient(160deg,#fff,#faf6fd);border-color:#d8c6e6}[data-theme=light] .auction-card:hover{border-color:#a378c1}[data-theme=light] .card-art{background:radial-gradient(circle at center,#d9bff166,transparent 65%),linear-gradient(130deg,#f5edfc,#eee4f6)}[data-theme=light] .pill{background:#f4e7fb;border-color:#c5a7dd;color:#764793}[data-theme=light] .subtle{color:#82718d}[data-theme=light] .card-meta{color:#756080;border-color:#e8dced}[data-theme=light] .price{color:#975d21}[data-theme=light] .countdown{color:#b9475d}[data-theme=light] .bid-button{background:#e9d7f6;border-color:#b78cd4;color:#60327d}[data-theme=light] .bid-button:hover{background:#dfc5f0}[data-theme=light] .admin-actions button{color:#755782;border-color:#d7c2e1}[data-theme=light] .custom-bid input{background:#fff;border-color:#c9b0dc;color:#32203e}[data-theme=light] .custom-bid button{background:#8450a8;color:#fff;border-color:#956bb6}
[data-theme=light] .empty{background:#fff9ff;border-color:#d3bfe0;color:#806a8e}[data-theme=light] .footer-banner{background:#eee5f5;border-color:#d8c4e4;color:#765d85}[data-theme=light] footer{color:#8c7b98}[data-theme=light] #toast{background:#fff;border-color:#c1a1d6;color:#513464;box-shadow:0 8px 30px #48265e22}[data-theme=light] dialog{background:#fffbff;color:#35243f;border-color:#bea1d2;box-shadow:0 20px 70px #39244933}[data-theme=light] dialog label{color:#6c507e}[data-theme=light] dialog input{background:#fff;color:#30203c;border-color:#ceb5df}[data-theme=light] dialog p{color:#80698e}[data-theme=light] .close{color:#67457a}
[data-theme=light] .calc-hero{background:radial-gradient(ellipse at 80% 70%,#dbc2ed66,transparent 60%),linear-gradient(120deg,#f5edfc,#fff8ec)}[data-theme=light] .calc-hero em{color:#945716}[data-theme=light] .hero-count{border-color:#dcc5ac}[data-theme=light] .hero-count span{color:#8d7361}[data-theme=light] #tool-search{background:#fff;border-color:#dacbe6;color:#3f2c50}[data-theme=light] #tool-nav a{color:#7a6489}[data-theme=light] #tool-nav a:hover{background:#eee2f7}[data-theme=light] #tool-nav a[aria-current=page]{background:#e9d8f5;border-color:#c5a0df;color:#5a3475}[data-theme=light] .quiet{background:#fff;border-color:#d4bfdf;color:#765986}
[data-theme=light] .form-section{background:#fff;border-color:#dfd1e9}[data-theme=light] .field{color:#735c83}[data-theme=light] .field input,[data-theme=light] .field select,[data-theme=light] .field textarea{background:#fcfaff;color:#33223f;border-color:#d5c2e1}[data-theme=light] .field small{color:#8b7699}[data-theme=light] .field:focus-within{color:#694085}[data-theme=light] .form-section summary{color:#65477b}
[data-theme=light] .result-card{background:linear-gradient(145deg,#f5ebfc,#fffaf3);border-color:#d8c3e6}[data-theme=light] .result-card:first-child{border-color:#d4b88f}[data-theme=light] .result-card span{color:#7f658b}[data-theme=light] .result-card strong{color:#955d23}[data-theme=light] .result-card small{color:#8d7696}[data-theme=light] .calc-table th{background:#f1e8f8;color:#715184}[data-theme=light] .calc-table td,[data-theme=light] .calc-table th{border-bottom-color:#e7dbed}[data-theme=light] .calc-table tbody tr:hover{background:#f6f0fb}[data-theme=light] .calc-table td:last-child{color:#8b571f}[data-theme=light] .calc-table input{background:#fff;color:#392648;border-color:#ccb1dd}[data-theme=light] .calc-table a{color:#7d4b9c}[data-theme=light] .result-note{background:#f1e9f8;color:#796087;border-left-color:#ae82c9}[data-theme=light] .result-error,[data-theme=light] #load-error{background:#fff0f2;color:#9e3450;border-color:#e7adb9}[data-theme=light] .roll-card{background:#f5ecfc;border-color:#c4a3da}[data-theme=light] .roll-card p{color:#72518a}[data-theme=light] .chance-bar{background:#e8d9f2}[data-theme=light] .chance-bar i{background:#aa77cd}
@media(max-width:640px){.top{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:104px;padding:12px 4% 10px;gap:10px}.top .brand{grid-column:1;grid-row:1}.top .header-actions{grid-column:2;grid-row:1;gap:7px}.theme-toggle{height:36px;width:36px;font-size:21px}.header-actions #account>span{max-width:128px}.top nav{display:flex;grid-column:1/-1;grid-row:2;justify-content:center;width:100%;border-radius:12px;padding:3px;gap:5px}.top nav a{flex:1;text-align:center;padding:8px 16px;font-size:12px;border-radius:9px}.back-auction{font-size:10px!important;padding:9px!important}[data-theme=light] .hero{background-image:linear-gradient(90deg,rgba(255,252,249,.98),rgba(255,250,250,.92) 60%,rgba(245,236,250,.68)),url('/hero-art.jpg?v=3')!important}}
