@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#0c1413;--panel:#121e1b;--panel2:#172722;--line:#293b34;--text:#eef5e9;--muted:#8b9d90;--lime:#c9f36b;--gold:#e4c987}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}button{font:inherit;cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--lime);outline-offset:3px}.topbar{height:76px;border-bottom:1px solid #26352f;display:flex;align-items:center;padding:0 30px;gap:36px;background:#101a17}.brand{display:flex;align-items:center;gap:10px;width:200px}.brand-mark{font-size:37px;line-height:1;color:var(--lime)}.brand strong{font:800 21px Manrope,sans-serif;letter-spacing:-1px}.brand strong span{color:var(--lime)}.brand small{display:block;color:#90a594;font-size:8px;letter-spacing:3px;font-weight:700;margin-top:2px}.top-center{flex:1;text-align:center;font-size:10px;font-weight:700;letter-spacing:1.7px;color:#93a699}.live-dot,.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b8ec77;box-shadow:0 0 9px #a4f16c;margin-right:8px}.divider{display:inline-block;height:12px;border-left:1px solid #3b5044;margin:0 16px -2px}.icon-btn,.close-btn{background:#1b2a24;border:1px solid #304239;color:#b4c3b6;border-radius:9px;width:38px;height:38px;font-size:17px}.layout{display:grid;grid-template-columns:220px minmax(450px,1fr) 320px;min-height:calc(100vh - 76px);max-width:1920px;margin:auto}.leftbar{padding:34px 18px;border-right:1px solid #26352f;display:flex;flex-direction:column}.section-label,.sidebar-heading,.eyebrow{font-size:9px;letter-spacing:2px;font-weight:800;color:#8da494}.section-label{margin:0 12px 18px}.nav{width:100%;border:0;background:none;color:#91a599;padding:13px 12px;text-align:left;border-radius:7px;font-weight:600;display:flex;align-items:center;gap:12px}.nav span{font-size:18px;width:21px;color:#80988a}.nav i{margin-left:auto;font-style:normal;color:#71897c}.nav:hover,.nav.active{color:#e6f3e1;background:#25382b}.nav.active{box-shadow:inset 3px 0 var(--lime)}.nav.active span{color:var(--lime)}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.sidebar-heading{margin-bottom:17px}.player-line{display:flex;align-items:center;gap:10px}.avatar{width:37px;height:37px;display:grid;place-items:center;background:#344a31;border:1px solid #718f53;border-radius:9px;color:var(--lime)}.player-line b,.player-line small{display:block}.player-line small{font-size:10px;color:var(--muted);margin-top:4px}.player-line .online-dot{margin-left:auto}.side-stats{display:flex;border-top:1px solid #283a31;margin-top:20px;padding-top:18px;gap:25px}.side-stats small,.side-stats b{display:block}.side-stats small,.roll-stats small{font-size:9px;color:#81968a;letter-spacing:1px}.side-stats b{font-size:13px;margin-top:7px}.game-column{padding:31px 32px 35px;min-width:0}.world-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.slash{color:#4b6657;margin:0 8px}.world-title h1{font:700 32px Manrope,sans-serif;letter-spacing:-1px;margin:11px 0 3px}.world-title h1 span{font-size:18px;color:#b3dc73}.world-title p,.roll-head p{color:var(--muted);margin:0;font-size:13px}.outline-btn{background:#182722;border:1px solid #33483c;border-radius:7px;color:#cbd9cc;font-size:11px;font-weight:700;padding:11px 15px}.outline-btn:hover{border-color:var(--lime)}.arena-wrap{height:clamp(380px,48vw,550px);position:relative;overflow:hidden;border:1px solid #385544;border-radius:10px;background:#243e2b;box-shadow:0 16px 36px #0003}canvas{display:block;width:100%;height:100%}.arena-top,.arena-bottom{position:absolute;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.arena-top{top:18px}.arena-bottom{bottom:19px;align-items:end}.area-badge{display:flex;gap:10px;align-items:center;background:#14271de8;border:1px solid #52705a;border-radius:7px;padding:8px 12px}.area-badge>span{font-size:18px;color:var(--lime)}.area-badge small,.area-badge b{display:block}.area-badge small{font-size:8px;letter-spacing:1px;color:#9fb3a3}.area-badge b{font-size:11px;margin-top:3px}.arena-tip{font-size:10px;color:#d7e5ce;background:#102019bc;padding:9px 12px;border-radius:6px}.arena-tip span:first-child{color:var(--lime)}.health-block{width:195px;padding:10px 12px;background:#13231fd9;border:1px solid #4b6651;border-radius:7px}.health-heading{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#d5e6d5}.health-heading span{color:#f29483}.meter{height:6px;background:#18291f;border-radius:10px;overflow:hidden;margin-top:7px}.meter i{display:block;width:100%;height:100%;background:#e87f75;border-radius:10px;transition:width .2s}.controls-hint{font-size:9px;font-weight:bold;letter-spacing:1px;color:#d9e7d5;text-shadow:0 1px 4px #000}.controls-hint span{display:inline-block;width:12px}kbd{font:700 9px DM Sans;background:#17291fbb;border:1px solid #77917d;border-radius:3px;padding:4px;margin-right:2px}.boss-bar{position:absolute;top:72px;left:25%;right:25%;background:#16221fe8;padding:10px;border:1px solid #b37b70;border-radius:6px}.boss-bar>div:first-child{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px}.boss-bar .meter i{background:#ee6865}.hidden{display:none!important}.arena-notice{position:absolute;left:50%;top:25%;transform:translateX(-50%);font-weight:800;color:#fff4c5;text-shadow:0 2px 8px #000;pointer-events:none;white-space:nowrap}.loadout{margin-top:27px}.loadout-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.loadout-heading h2{font:700 19px Manrope;margin:7px 0 0;letter-spacing:-.4px}.loadout-heading h2 span{color:#b9df80}.text-btn,.recent-heading button{background:none;border:0;color:#b5d78d;font-size:9px;font-weight:800;letter-spacing:1px}.loadout-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.equipment-card{background:#17241f;border:1px solid #304139;border-radius:8px;padding:11px;display:flex;align-items:center;gap:11px}.equip-icon{height:47px;width:47px;flex:none;display:grid;place-items:center;border-radius:7px;font-size:25px;background:#354e35;color:#cdf38f}.weapon-card .equip-icon{background:#3d4031;color:#e3d8a5}.equip-info small,.equip-info strong,.equip-info span{display:block}.equip-info small{font-size:8px;letter-spacing:1px;color:#82998a}.equip-info strong{font-size:13px;margin:5px 0}.equip-info span{font-size:10px;color:#a3c18b}.equip-spark{margin-left:auto;color:#78997a;font-size:20px}.ability-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.ability{position:relative;overflow:hidden;text-align:left;border:1px solid #304039;background:#14211c;color:#e5eee2;padding:9px;border-radius:6px;min-width:0}.ability b{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ability small{color:#82988b;font-size:9px}.ability kbd{float:right;color:#c7e8a8}.ability .cd{position:absolute;inset:0;background:#0c1413bd;display:grid;place-items:center;color:white;font-weight:bold}.roll-column{padding:36px 24px 22px;border-left:1px solid #26352f;background:#111c18}.roll-head h2{font:700 26px Manrope;margin:12px 0 6px;letter-spacing:-1px}.roll-head em{font-style:normal;color:var(--lime)}.roll-art{height:215px;margin:15px 0 4px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 42%,#425d3b 0%,#1c3024 35%,transparent 70%)}.orbit{position:absolute;width:144px;height:144px;border:1px solid #a4d97855;border-radius:50%;top:16px}.o2{transform:rotate(55deg) scaleX(.65);border-color:#c7ed9277}.o3{transform:rotate(-55deg) scaleX(.65);border-color:#c7ed9277}.art-core{position:absolute;top:41px;font-size:73px;color:#d6f7a3;filter:drop-shadow(0 0 19px #b2ec77);animation:float 4s ease-in-out infinite}.art-star{position:absolute;color:#d7f7a5}.s1{top:35px;left:29%}.s2{top:90px;right:22%}.s3{top:125px;left:23%;font-size:9px}.roll-result{position:absolute;bottom:0;text-align:center;width:100%}.roll-result small,.roll-result strong{display:block}.roll-result small{font-size:8px;letter-spacing:1.5px;color:#a9c49d}.roll-result strong{font:700 16px Manrope;margin-top:7px}.roll-result.reveal strong{animation:pop .35s ease}.luck-card{display:flex;align-items:center;gap:10px;background:#1c2d23;border:1px solid #385241;border-radius:8px;padding:12px;margin:17px 0 11px}.luck-card div{flex:1}.luck-card div span{color:var(--lime);margin-right:7px}.luck-card small{font-size:9px;letter-spacing:1px;color:#a9bbaa;font-weight:700}.luck-card strong{font:700 20px Manrope;color:var(--lime)}.luck-card strong span{font-size:13px}.luck-card button{border:1px solid #506b4f;background:#30462e;color:#d1f0b4;border-radius:5px;width:25px;height:25px}.roll-button{width:100%;padding:16px;border:0;border-radius:7px;background:var(--lime);color:#1d311b;font-size:11px;font-weight:800;letter-spacing:1.3px;display:flex;justify-content:space-between;box-shadow:0 5px 20px #a3d75b20}.roll-button:hover{background:#ddff94}.roll-button:disabled{opacity:.6}.roll-options{display:flex;justify-content:space-between;padding:14px 1px 20px;color:#a6b7a8;font-size:11px}.roll-options label{display:flex;align-items:center;gap:5px;cursor:pointer}input[type=checkbox]{accent-color:#bce97c}.roll-stats{border-top:1px solid #2b3c32;border-bottom:1px solid #2b3c32;display:grid;grid-template-columns:1fr 1fr;padding:16px 0}.roll-stats>div+div{border-left:1px solid #2b3c32;padding-left:18px}.roll-stats b{display:block;font:700 15px Manrope;margin-top:7px}.recent-heading{display:flex;justify-content:space-between;margin:20px 0 12px;font-size:9px;letter-spacing:1.4px;font-weight:800;color:#9eb0a0}.recent-list p{font-size:11px;color:#718b79}.recent-item{display:flex;align-items:center;gap:9px;margin:9px 0}.recent-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:6px;background:#2d4230;color:#c6ef91}.recent-item b,.recent-item small{display:block}.recent-item b{font-size:11px}.recent-item small{font-size:9px;color:#91a796;margin-top:3px}.recent-item .odds{margin-left:auto;color:#9fb0a0;font-size:9px}.roll-footer{text-align:center;color:#6c8372;font-size:8px;letter-spacing:1.3px;font-weight:700;margin-top:25px}.modal-backdrop{position:fixed;inset:0;background:#07100bd9;display:grid;place-items:center;z-index:10;padding:20px}.modal{width:min(820px,100%);max-height:85vh;overflow:auto;background:#14211c;border:1px solid #40594a;border-radius:12px;box-shadow:0 20px 80px #0009;padding:26px}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.modal-head h2{font:700 26px Manrope;margin:7px 0 0}.close-btn{font-size:24px}.tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #35493d;margin-bottom:18px;padding-bottom:12px}.tab{background:none;border:0;border-radius:6px;color:#9cb0a0;padding:9px 13px;font-size:11px;font-weight:700}.tab.active{background:#344b32;color:#d7f5a8}.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.item-card{border:1px solid #34483b;background:#1a2b22;border-radius:8px;padding:15px}.item-top{display:flex;align-items:center;gap:10px}.item-glyph{width:39px;height:39px;display:grid;place-items:center;background:#2c4432;border-radius:6px;font-size:20px}.item-top strong,.item-top small{display:block}.item-top strong{font-size:13px}.item-top small{font-size:10px;color:#a6b8aa;margin-top:5px}.item-desc{font-size:11px;line-height:1.5;color:#a4b5a7;margin:12px 0}.item-actions{display:flex;gap:6px;flex-wrap:wrap}.item-actions button,.small-btn{border:1px solid #486250;background:#263d2e;border-radius:5px;color:#d6e8cf;font-size:10px;font-weight:700;padding:7px 10px}.item-actions button.primary,.small-btn.primary{background:#c6ed79;color:#20331c;border-color:#c6ed79}.item-actions button:disabled,.small-btn:disabled{opacity:.45;cursor:not-allowed}.panel-intro{color:#a4b7a8;font-size:12px;line-height:1.6}.panel-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.panel-toolbar select{background:#1e3026;color:#d9e8d8;border:1px solid #40584a;padding:8px;border-radius:5px}.material-line,.stat-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #304238;padding:13px 0;color:#b6c8b8}.material-line b,.stat-row b{color:#e5f1e3}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#d6f5a5;color:#1d311b;padding:11px 18px;border-radius:7px;opacity:0;transition:.2s;z-index:20;font-weight:700;font-size:12px;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #304238}.setting-row small{display:block;color:#92aa98;margin-top:4px}.buffs{color:#c5e9aa;font-size:10px;margin-top:8px}.empty{color:#91a598;padding:20px 0;font-size:12px}@keyframes float{50%{transform:translateY(-6px) rotate(10deg)}}@keyframes pop{from{transform:scale(.8);opacity:.2}to{transform:scale(1);opacity:1}}@media(max-width:1150px){.layout{grid-template-columns:68px minmax(400px,1fr) 290px}.leftbar{padding:25px 8px}.section-label,.nav i,.sidebar-bottom,.nav{font-size:0}.nav{justify-content:center}.nav span{font-size:20px}.brand{width:auto}.topbar{padding:0 18px}.game-column{padding:28px 20px}.roll-column{padding:30px 18px}}@media(max-width:800px){.layout{display:flex;flex-direction:column}.leftbar{order:3;border:0;position:fixed;bottom:0;left:0;right:0;z-index:5;background:#101c17;display:flex;flex-direction:row;justify-content:space-around;padding:5px}.nav{width:auto;padding:9px}.game-column{padding:24px 16px}.roll-column{border-left:0;border-top:1px solid #304238;padding-bottom:80px}.arena-wrap{height:420px}.top-center{font-size:8px}.roll-art{height:180px}.orbit{top:0}.art-core{top:24px}.card-grid{grid-template-columns:1fr}.controls-hint{display:none}}
@media(max-width:800px){.leftbar .section-label,.leftbar .sidebar-bottom{display:none}.leftbar .nav{flex:1;min-height:48px;border-radius:6px}.leftbar .nav.active{box-shadow:inset 0 3px var(--lime)}.top-center .divider{display:none}.arena-tip{max-width:58%;text-align:right}.ability-row{grid-template-columns:repeat(2,1fr)}.world-title h1{font-size:27px}.topbar{height:66px}.arena-wrap{height:390px}}

.reveal-overlay{position:fixed;inset:0;z-index:15;display:grid;place-items:center;background:radial-gradient(circle, color-mix(in srgb,var(--reveal) 25%,#111b19) 0%,#08110ff2 62%);animation:reveal-in .35s ease;pointer-events:auto}.reveal-ring{position:absolute;font-size:min(36vw,300px);color:var(--reveal);opacity:.42;filter:drop-shadow(0 0 35px var(--reveal));animation:reveal-spin 4s linear infinite}.reveal-copy{position:relative;text-align:center;text-shadow:0 2px 16px #000}.reveal-copy small,.reveal-copy strong,.reveal-copy span{display:block}.reveal-copy small{color:var(--reveal);font-size:11px;font-weight:800;letter-spacing:3px}.reveal-copy strong{font:800 clamp(30px,6vw,70px) Manrope;margin:15px 0;color:#fff}.reveal-copy span{color:#d3e2d4;letter-spacing:2px;font-size:11px}.reveal-copy button{margin-top:35px;border:1px solid #ffffff66;background:#101b17aa;color:white;border-radius:5px;padding:10px 16px;font-size:10px;letter-spacing:1px}@keyframes reveal-in{from{opacity:0}to{opacity:1}}@keyframes reveal-spin{to{transform:rotate(360deg)}}

.touch-controls{display:none}@media(max-width:800px){.touch-controls{position:absolute;bottom:70px;left:16px;right:16px;display:flex;justify-content:space-between;align-items:end;pointer-events:none}.touch-controls button{pointer-events:auto;touch-action:none;background:#10261fbb;border:1px solid #a7c69d88;color:#e7f4dc;border-radius:6px;width:40px;height:40px;font-weight:bold}.touch-pad{text-align:center}.touch-pad div{display:flex;gap:3px;margin-top:3px}#touchAttack{width:68px;height:68px;border-radius:50%;font-size:9px;letter-spacing:1px}.health-block{width:155px}.arena-tip{font-size:9px}}

/* Motion language: short feedback on input, longer movement only for major rewards. */
button { transition: transform .16s cubic-bezier(.2,.8,.2,1), background-color .18s, border-color .18s, box-shadow .22s, color .18s, opacity .18s; }
button:not(:disabled):active { transform: translateY(2px) scale(.97); }
button:disabled { cursor: not-allowed; filter: saturate(.55); }
.nav { position: relative; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.nav:hover:not(.active) { transform: translateX(3px); background:#1b2d24; }
.nav.active { animation: nav-select .34s ease both; }
.nav.active span { filter: drop-shadow(0 0 6px #c8f58988); }
.icon-btn:hover,.close-btn:hover,.outline-btn:hover,.small-btn:hover:not(:disabled),.item-actions button:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 5px 18px #0003,0 0 0 1px #b9e77b3b; }
.text-btn:hover,.recent-heading button:hover { color:#edffc8; transform:translateX(3px); }
.text-btn:active,.recent-heading button:active { transform:translateX(1px) scale(.98); }
.equipment-card { position:relative; overflow:hidden; transition:border-color .25s, transform .25s, box-shadow .25s; }
.equipment-card::after { content:""; position:absolute; inset:0; background:linear-gradient(115deg,transparent 35%,#e0ffd30a 55%,transparent 75%); transform:translateX(-110%); transition:transform .7s; pointer-events:none; }
.equipment-card:hover { border-color:#709361; transform:translateY(-2px); box-shadow:0 9px 20px #0003; }
.equipment-card:hover::after { transform:translateX(110%); }
.equip-icon { box-shadow:inset 0 0 20px #ffffff0c,0 2px 12px #0003; text-shadow:0 0 12px currentColor; }
.item-card { transition:transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.item-card:hover { transform:translateY(-2px); border-color:#66845e; background:#1d3025; box-shadow:0 8px 22px #0003; }
.tab { position:relative; transition:background .2s,color .2s,transform .2s; }
.tab:hover { color:#edffdf; background:#2a3f2e; }
.tab.active { animation:tab-in .25s ease both; }
.modal-backdrop:not(.hidden) { animation:veil-in .22s ease both; }
.modal-backdrop:not(.hidden) .modal { animation:modal-arrive .34s cubic-bezier(.2,.8,.2,1) both; }
.modal { scrollbar-color:#627a5d #17251e; }
.modal-head h2 { letter-spacing:-.8px; }
#modalContent { animation:panel-arrive .24s ease both; }
.toast.show { box-shadow:0 10px 30px #0008,0 0 25px #c9f36b35; }

/* The roll is a physical control with a single, restrained energy pulse per use. */
.roll-column { position:relative; overflow:hidden; }
.roll-column::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:0; background:radial-gradient(circle at 50% 35%,#c8f58c24,transparent 45%); transition:opacity .45s; }
.roll-column.luck-boosted::before { opacity:1; }
.roll-column.luck-boosted .art-core { filter:drop-shadow(0 0 28px #cfff8e); }
.roll-column.luck-boosted .luck-card { border-color:#87b95d; box-shadow:inset 0 0 25px #a6db5722,0 0 18px #b4ef6b1a; }
.roll-column.luck-boosted .luck-card strong { text-shadow:0 0 15px #c9f36b99; }
.roll-button { position:relative; overflow:visible; isolation:isolate; box-shadow:0 5px 0 #6b9743,0 8px 23px #a3d75b24; transition:transform .14s,box-shadow .2s,background .2s; }
.roll-button::after { content:""; position:absolute; inset:-5px; border:1px solid #d6ff9d; border-radius:11px; opacity:0; pointer-events:none; }
.roll-button:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 7px 0 #6b9743,0 12px 30px #b9f16e45; }
.roll-button:active:not(:disabled),.roll-button.roll-press { transform:translateY(4px) scale(.985); box-shadow:0 1px 0 #6b9743,0 2px 12px #b9f16e55; }
.roll-button.roll-press::after { animation:roll-pulse .5s ease-out both; }
.roll-button span:first-child { transition:transform .3s; }
.roll-button:hover span:first-child { transform:rotate(60deg) scale(1.2); }
.roll-column.auto-active .roll-options label:first-child { color:#d5f6ad; }
.roll-column.auto-active .roll-button { box-shadow:0 5px 0 #6b9743,0 8px 24px #b9f16e3a; }
.roll-column.auto-active .roll-options label:first-child::after { content:""; width:5px; height:5px; border-radius:50%; background:#c9f36b; box-shadow:0 0 8px #c9f36b; }
.roll-art { isolation:isolate; }
.roll-art::before { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 45%,#c8ed8930,transparent 50%); opacity:.6; pointer-events:none; }
.roll-art .o1 { animation:orbit-turn 16s linear infinite; }
.roll-art .o2 { animation:orbit-tilt-one 14s linear infinite; }
.roll-art .o3 { animation:orbit-tilt-two 19s linear infinite reverse; }
.roll-result.reveal { animation:result-arrive .42s cubic-bezier(.15,.8,.2,1) both; }
.roll-result.reveal small { animation:result-label .45s ease both; }
.recent-item:first-child { animation:recent-arrive .35s ease both; }
.hud-pulse { animation:hud-pulse .65s ease-out both; }
.collection-pulse { animation:collection-pulse .8s ease-out both; }

/* Cooldown state is legible at a glance, and the fill drains continuously. */
.ability-row { gap:8px; }
.ability { display:flex; align-items:center; gap:8px; min-height:60px; padding:8px; isolation:isolate; border-color:#344a3d; transition:transform .16s,border-color .2s,box-shadow .2s,background .2s; }
.ability:hover:not(:disabled) { border-color:#88ae71; background:#1b3023; transform:translateY(-2px); }
.ability:active:not(:disabled) { transform:translateY(1px) scale(.97); }
.ability-icon { width:32px; height:32px; flex:none; display:grid; place-items:center; position:relative; z-index:1; border:1px solid #5d7954; border-radius:6px; background:linear-gradient(145deg,#3b5638,#1c3427); color:#d5f3a9; font-size:18px; text-shadow:0 0 9px #c4f791; }
.ability-copy { min-width:0; flex:1; position:relative; z-index:1; }
.ability b { font-size:10px; line-height:1.2; }
.ability small { display:block; margin-top:4px; line-height:1; }
.ability kbd { position:relative; z-index:2; float:none; align-self:flex-start; margin:0; color:#e7f9d2; border-color:#567354; background:#22362a; }
.ability-cooldown { position:absolute; z-index:0; left:0; bottom:0; top:0; width:calc(var(--cooldown, 0) * 100%); background:#070e0bbd; border-right:1px solid #c6f19355; pointer-events:none; transition:width .15s linear; }
.ability .cd { z-index:2; inset:auto 5px 5px auto; width:auto; height:auto; padding:2px 4px; border-radius:3px; background:#07110ddd; font-size:10px; }
.ability-used { animation:ability-press .35s ease both; }
.ability-used .ability-icon { animation:icon-flash .4s ease-out; }
.ability-ready { animation:ability-ready .7s ease-out both; }
.ability-ready .ability-icon { animation:icon-flash .7s ease-out; }
.ability[data-power="ultimate"] { border-color:#d8c37777; box-shadow:inset 0 0 16px #efce7a1c; }
.ability[data-power="ultimate"] .ability-icon { border-color:#e5cc8c; color:#ffecb2; background:linear-gradient(145deg,#735c37,#3d3929); }

/* Tiered reveal: the reward appears after a gathering of light. */
.reveal-overlay { --reveal:#c9f36b; --reveal-glow:#c9f36b; background:radial-gradient(circle, color-mix(in srgb,var(--reveal) 24%,#111b19) 0%,#07100ff7 65%); overflow:hidden; }
.reveal-overlay::before,.reveal-overlay::after { content:""; position:absolute; inset:0; pointer-events:none; }
.reveal-overlay::before { border:1px solid color-mix(in srgb,var(--reveal) 65%,transparent); box-shadow:inset 0 0 70px color-mix(in srgb,var(--reveal) 24%,transparent); opacity:.35; animation:reveal-edge 1.2s ease-out both; }
.reveal-overlay::after { background:radial-gradient(circle,transparent 23%,#07100f9c 78%); }
.reveal-atmosphere { position:absolute; inset:0; display:grid; place-items:center; pointer-events:none; overflow:hidden; }
.reveal-ring { position:absolute; top:auto; left:auto; font-size:clamp(150px,30vw,350px); opacity:.38; animation:reveal-spin 8s linear infinite,reveal-bloom .8s cubic-bezier(.15,.8,.2,1) both; }
.reveal-halo { position:absolute; border:1px solid var(--reveal); border-radius:50%; opacity:.4; }
.halo-outer { width:min(63vw,630px); aspect-ratio:1; border-style:dashed; animation:reveal-spin 18s linear infinite,reveal-bloom .9s ease both; }
.halo-inner { width:min(44vw,440px); aspect-ratio:1; border-width:2px; box-shadow:0 0 22px var(--reveal),inset 0 0 22px var(--reveal); animation:reveal-spin 12s linear infinite reverse,reveal-bloom .65s ease both; }
.reveal-rays { position:absolute; width:min(110vw,1000px); aspect-ratio:1; background:repeating-conic-gradient(from 0deg,transparent 0deg 16deg,color-mix(in srgb,var(--reveal) 24%,transparent) 17deg 19deg,transparent 20deg 30deg); mask-image:radial-gradient(circle,transparent 0%,#000 26%,transparent 70%); opacity:.3; animation:reveal-spin 28s linear infinite,reveal-bloom .8s ease both; }
.reveal-motes { position:absolute; width:min(70vw,720px); aspect-ratio:1; }
.reveal-motes i { position:absolute; top:50%; left:50%; width:5px; height:5px; border-radius:50%; background:#fff; box-shadow:0 0 8px 3px var(--reveal); animation:mote-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
.reveal-motes i:nth-child(1){--x:-190px;--y:-130px;animation-delay:.05s}.reveal-motes i:nth-child(2){--x:200px;--y:-120px;animation-delay:.12s}.reveal-motes i:nth-child(3){--x:-230px;--y:75px;animation-delay:.2s}.reveal-motes i:nth-child(4){--x:240px;--y:55px;animation-delay:.08s}.reveal-motes i:nth-child(5){--x:-100px;--y:-220px;animation-delay:.15s}.reveal-motes i:nth-child(6){--x:100px;--y:220px;animation-delay:.23s}.reveal-motes i:nth-child(7){--x:-150px;--y:200px;animation-delay:.26s}.reveal-motes i:nth-child(8){--x:150px;--y:-210px;animation-delay:.18s}
.reveal-copy { z-index:2; padding:20px; }
.reveal-copy small { animation:reveal-label .55s .2s both; text-shadow:0 0 18px var(--reveal); }
.reveal-copy strong { animation:reveal-name .75s .35s cubic-bezier(.16,1,.3,1) both; text-shadow:0 2px 18px #000,0 0 40px var(--reveal); }
.reveal-copy span { animation:reveal-label .5s .65s both; }
.reveal-copy button { animation:reveal-label .4s .8s both; }
.reveal-overlay[data-tier="3"] .reveal-rays,.reveal-overlay[data-tier="3"] .halo-outer,.reveal-overlay[data-tier="4"] .reveal-rays { opacity:.12; }
.reveal-overlay[data-tier="3"] .reveal-motes { display:none; }
.reveal-overlay[data-tier="5"] .reveal-ring,.reveal-overlay[data-tier="6"] .reveal-ring,.reveal-overlay[data-tier="7"] .reveal-ring,.reveal-overlay[data-tier="8"] .reveal-ring,.reveal-overlay[data-tier="9"] .reveal-ring,.reveal-overlay[data-tier="10"] .reveal-ring { opacity:.58; filter:drop-shadow(0 0 35px var(--reveal)); }
.reveal-overlay[data-tier="7"]::before,.reveal-overlay[data-tier="8"]::before,.reveal-overlay[data-tier="9"]::before,.reveal-overlay[data-tier="10"]::before { opacity:.8; border-width:4px; }
.reveal-overlay[data-tier="8"] .reveal-rays,.reveal-overlay[data-tier="9"] .reveal-rays,.reveal-overlay[data-tier="10"] .reveal-rays { opacity:.65; }
.reveal-overlay[data-tier="10"] .reveal-copy strong { font-size:clamp(40px,7vw,82px); }
.boss-victory { animation:victory-banner 1s cubic-bezier(.16,1,.3,1) both; color:#fff2c6!important; text-shadow:0 0 18px #ffbb65,0 2px 8px #000!important; }
.boss-bar:not(.hidden) { animation:boss-enter .5s cubic-bezier(.15,.8,.2,1) both; }
@keyframes nav-select { from { box-shadow:inset 0 0 #c9f36b; transform:translateX(-3px) } to { box-shadow:inset 3px 0 #c9f36b; transform:translateX(0) } }
@keyframes tab-in { from{transform:translateY(3px);opacity:.6} to{transform:none;opacity:1} }
@keyframes veil-in { from{opacity:0} to{opacity:1} }
@keyframes modal-arrive { from{opacity:0;transform:translateY(18px) scale(.975)} to{opacity:1;transform:none} }
@keyframes panel-arrive { from{opacity:.5;transform:translateY(5px)} to{opacity:1;transform:none} }
@keyframes orbit-turn { to{transform:rotate(360deg)} }
@keyframes orbit-tilt-one { from{transform:rotate(55deg) scaleX(.65)} to{transform:rotate(415deg) scaleX(.65)} }
@keyframes orbit-tilt-two { from{transform:rotate(-55deg) scaleX(.65)} to{transform:rotate(305deg) scaleX(.65)} }
@keyframes roll-pulse { 0%{opacity:.8;transform:scale(.96)} 100%{opacity:0;transform:scale(1.12,1.4)} }
@keyframes result-arrive { from{opacity:.35;transform:translateY(8px) scale(.94)} to{opacity:1;transform:none} }
@keyframes result-label { from{opacity:0;letter-spacing:3px} to{opacity:1} }
@keyframes recent-arrive { from{opacity:0;transform:translateX(10px)} to{opacity:1;transform:none} }
@keyframes hud-pulse { 0%,100%{transform:scale(1)} 35%{transform:scale(1.07);filter:brightness(1.4);text-shadow:0 0 15px #d6ff9e} }
@keyframes collection-pulse { 0%,100%{filter:none} 35%{filter:brightness(1.7) drop-shadow(0 0 8px #c9f36b)} }
@keyframes ability-press { 0%{transform:scale(1)} 25%{transform:scale(.94)} 65%{transform:scale(1.035)} 100%{transform:none} }
@keyframes ability-ready { 0%,100%{box-shadow:none} 35%{box-shadow:0 0 0 2px #d3f99a99,0 0 20px #c9f36b66;border-color:#dcffab} }
@keyframes icon-flash { 0%,100%{filter:brightness(1)} 35%{filter:brightness(1.8);box-shadow:0 0 17px #d2ff9a} }
@keyframes reveal-edge { 0%{opacity:0;transform:scale(1.1)} 40%{opacity:.8} 100%{opacity:.35;transform:none} }
@keyframes reveal-bloom { from{transform:scale(.25);opacity:0} to{transform:scale(1)} }
@keyframes mote-in { 0%{transform:translate(var(--x),var(--y)) scale(.25);opacity:0} 35%{opacity:1} 85%{opacity:1} 100%{transform:translate(0,0) scale(1.7);opacity:0} }
@keyframes reveal-label { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
@keyframes reveal-name { from{opacity:0;transform:scale(.78);filter:blur(8px)} 65%{opacity:1;transform:scale(1.04);filter:blur(0)} to{opacity:1;transform:none;filter:blur(0)} }
@keyframes victory-banner { from{opacity:0;transform:translateX(-50%) scale(.7);letter-spacing:5px} 60%{opacity:1;transform:translateX(-50%) scale(1.08)} to{opacity:1;transform:translateX(-50%) scale(1)} }
@keyframes boss-enter { from{opacity:0;transform:translateY(-16px) scaleX(.7)} to{opacity:1;transform:none} }
@media(max-width:1150px){.nav:hover:not(.active){transform:none}}
@media(max-width:800px){.nav.active{animation:none}.ability{min-height:54px}.reveal-motes{transform:scale(.65)}.reveal-copy strong{font-size:clamp(28px,8vw,50px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.roll-art .orbit,.art-core{animation:none!important}}
/* Keep the slow rotation after the entrance rather than letting a filled transform override it. */
.reveal-atmosphere { animation:reveal-atmosphere-in .7s cubic-bezier(.15,.8,.2,1) both; }
.reveal-ring { animation:reveal-spin 8s linear infinite; }
.halo-outer { animation:reveal-spin 18s linear infinite; }
.halo-inner { animation:reveal-spin 12s linear infinite reverse; }
.reveal-rays { animation:reveal-spin 28s linear infinite; }
@keyframes reveal-atmosphere-in { from{opacity:0;transform:scale(.55)} to{opacity:1;transform:scale(1)} }

.roll-button.roll-cooling::before{content:"";position:absolute;left:0;bottom:0;height:3px;background:#fff9;border-radius:4px;animation:roll-progress var(--roll-duration,700ms) linear both;pointer-events:none}@keyframes roll-progress{from{width:0;opacity:.9}to{width:100%;opacity:0}}.ability-icon{color:var(--ability-color,#d5f3a9);text-shadow:0 0 9px var(--ability-color,#c4f791)}.setting-row select{background:#1e3026;color:#d9e8d8;border:1px solid #40584a;padding:8px;border-radius:5px}.reward-impact{filter:drop-shadow(0 0 12px #d4f6a5)}

/* FIELD OPERATIONS — graphite, warm ivory and signal orange. */
:root{--bg:#101113;--panel:#191b1d;--panel2:#202225;--line:#36383a;--text:#f1eee5;--muted:#999b99;--lime:#f2c871;--gold:#f0be74}
body{background:#101113;color:#f1eee5;font-family:'DM Sans',system-ui,sans-serif}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:square;stroke-linejoin:miter}
.topbar{height:68px;padding:0 28px;background:#141516;border-bottom:1px solid #3a3a39;gap:26px}
.brand{width:194px;gap:12px}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid #f1c77c;background:#e8bc6d;color:#1d1b17;font:800 12px Manrope,sans-serif;letter-spacing:-1px;clip-path:polygon(0 0,100% 0,100% 72%,72% 100%,0 100%)}
.brand strong{font:800 18px Manrope,sans-serif;letter-spacing:-.8px}.brand strong span{color:#e8bd73}.brand small{color:#858782;font:700 8px 'DM Sans',sans-serif;letter-spacing:1.5px;margin-top:3px}
.top-center{font-size:9px;letter-spacing:1.5px;color:#a4a49d;text-align:right}.top-center #zoneTop{color:#e5ddd0}.live-dot,.online-dot{width:6px;height:6px;background:#dba962;box-shadow:0 0 8px #edb86c;margin-right:8px}.divider{border-color:#55514a}
.icon-btn,.close-btn{border-radius:3px;background:#252627;border-color:#464644;color:#d2cfc6}.icon-btn:hover,.close-btn:hover{border-color:#d9b87e}
.layout{grid-template-columns:200px minmax(450px,1fr) 320px;min-height:calc(100vh - 68px)}
.leftbar{background:#151617;border-color:#343535;padding:30px 16px}.section-label{display:flex;justify-content:space-between;margin:0 9px 20px;color:#777b7b}.section-label span{color:#5e6261;letter-spacing:0}
.section-label,.sidebar-heading,.eyebrow{font-size:9px;letter-spacing:1.55px;font-weight:800;color:#8d918f}
.nav{height:44px;border-radius:2px;padding:0 10px;gap:12px;color:#929593;font-size:12px}.nav svg{width:16px;height:16px;color:#93948e;flex:none}.nav span{font-size:12px;width:auto;color:inherit}.nav i{font:700 9px 'DM Sans',sans-serif;color:#5f6562;letter-spacing:1px}.nav:hover:not(.active){background:#202224;color:#f1eee5}.nav.active{color:#f7e8cd;background:#292723;box-shadow:inset 2px 0 #e8bc70}.nav.active svg{color:#e8bc70}.nav.active span{color:inherit;filter:none}
.sidebar-bottom{padding:30px 8px 0}.sidebar-heading{color:#767b78}.avatar{border-radius:2px;border:1px solid #837554;background:#292925;color:#e5c384;font:800 16px Manrope,sans-serif}.side-stats{border-color:#343735}.side-stats small,.roll-stats small{color:#858a85}
.game-column{padding:30px 28px 38px}.world-title{align-items:end;margin-bottom:19px}.world-title .eyebrow{color:#a6a79f}.slash{color:#706d62}.world-title h1{font:800 clamp(27px,2.4vw,36px) Manrope,sans-serif;letter-spacing:-1.4px;margin:11px 0 4px}.world-title h1 span{display:none}.world-title p,.roll-head p{color:#979b97;font-size:12px}.outline-btn{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:2px;background:#242526;border-color:#454643;color:#dbd9d0;font-size:9px;letter-spacing:.8px}.outline-btn svg{width:14px;height:14px}.outline-btn span{margin-left:5px;color:#d8bb86}
.arena-wrap{border:1px solid #52504a;border-radius:3px;background:#202622;box-shadow:0 18px 40px #0005}.arena-wrap:after{content:"";position:absolute;inset:0;border:1px solid #ffffff0d;pointer-events:none}.arena-top,.arena-bottom{left:15px;right:15px}.arena-top{top:14px}.area-badge{border-radius:2px;gap:10px;padding:8px;background:#141919e8;border-color:#9e9c8055;box-shadow:0 4px 12px #0003}.area-badge .area-mark{display:grid;place-items:center;width:31px;height:31px;border:1px solid #b69c6b;background:#332d22;color:#f0ce8a;font:800 10px Manrope;letter-spacing:0}.area-badge small{color:#a3a59c}.area-badge b{color:#f0eee5}.arena-tip{border-radius:2px;color:#dddcd3;background:#171b19db;border:1px solid #e6e2c51f;font-size:10px}.arena-tip .tip-dot{display:inline-block;width:5px;height:5px;margin:0 4px 1px 0;border-radius:50%;background:#e5b963;box-shadow:0 0 6px #e5b963}
.health-block{border-radius:2px;background:#16191be8;border-color:#aaa18c66}.health-heading{color:#e8e7dd}.health-heading span{color:#eab0a3}.meter{border-radius:1px;background:#343335}.meter i{border-radius:1px;background:#e96754;box-shadow:0 0 10px #e96754}.controls-hint{color:#e6e5da}kbd{border-radius:2px;background:#272c2add;border-color:#a5a69a;color:#f0eee3}
.loadout{margin-top:25px}.loadout-heading{margin-bottom:13px}.loadout-heading h2{font:800 19px Manrope,sans-serif;letter-spacing:-.7px}.text-btn,.recent-heading button{color:#d9b577;letter-spacing:.8px}.text-btn:hover,.recent-heading button:hover{color:#fff0d0}
.loadout-grid{gap:8px}.equipment-card{padding:10px;border-radius:2px;background:linear-gradient(115deg,#252627,#1c1e1f);border-color:#41413d;gap:11px}.equipment-card:hover{border-color:#b49461}.equip-icon{width:45px;height:45px;border:1px solid #6c5b40;border-radius:2px;background:linear-gradient(135deg,#40352a,#252626);color:#e9c78b}.weapon-card .equip-icon{background:linear-gradient(135deg,#40352a,#252626);color:#edc887}.equip-icon svg{width:24px;height:24px;stroke-width:1.2}.aura-glyph{width:18px;height:18px;display:block;border:1.5px solid currentColor;transform:rotate(45deg);position:relative}.aura-glyph:after{content:"";position:absolute;inset:4px;border:1px solid currentColor}.equip-info small{color:#92958d}.equip-info strong{font-size:13px;color:#f1eee5}.equip-spark{font:700 9px 'DM Sans',sans-serif;color:#7d786d;letter-spacing:1px}
.ability{border-radius:2px;background:#1b1d1e;border-color:#41413d;min-height:60px}.ability:hover:not(:disabled){border-color:#ad925e;background:#252524}.ability-icon{border-radius:2px;border-color:#6c5c42;background:linear-gradient(140deg,#3b3227,#282727);color:#e8c88b;text-shadow:0 0 9px #d49c4d}.ability b{color:#f0ede4}.ability small{color:#929590}.ability kbd{border-color:#716858;background:#292925;color:#ebdfc7}.ability-cooldown{background:#0b0c0dbd;border-color:#ebcc8a66}
.roll-column{background:#1a1b1d;border-left:1px solid #3a3a39;padding:30px 23px 22px}.roll-column::before{background:radial-gradient(circle at 50% 30%,#e2b97624,transparent 45%)}.roll-kicker{display:flex;justify-content:space-between;border-bottom:1px solid #47433a;padding-bottom:11px;color:#a99c84;font-size:9px;font-weight:800;letter-spacing:1.5px}.roll-kicker span:last-child{color:#797c78;font-size:8px}.roll-head h2{font:800 27px/1.08 Manrope,sans-serif;letter-spacing:-1.2px;margin:18px 0 9px}.roll-head em{color:#e5be7a}.roll-head p{color:#969994}
.roll-art{height:220px;margin:12px 0 6px;border:1px solid #47453d;background:radial-gradient(circle at 50% 39%,#5a4b37 0,#262622 35%,#1b1c1d 70%);overflow:hidden}.roll-art:before{background:radial-gradient(circle at 50% 39%,#edc87b35,transparent 55%)}.art-crosshair{position:absolute;inset:12px;border:1px solid #c7b18c18}.art-crosshair:before,.art-crosshair:after{content:"";position:absolute;background:#e4c38b40}.art-crosshair:before{left:50%;top:0;bottom:33px;width:1px}.art-crosshair:after{top:38%;left:0;right:0;height:1px}
.orbit{width:126px;height:126px;top:22px;border-color:#e8c37c55;border-radius:0;transform:rotate(45deg)}.roll-art .o1{animation:diamond-turn 26s linear infinite}.roll-art .o2{width:92px;height:92px;top:39px;border-color:#e8c37c88;animation:diamond-turn 17s linear infinite reverse}.roll-art .o3{width:155px;height:155px;top:7px;border-color:#e8c37c22;animation:diamond-turn 35s linear infinite}.art-core{top:49px;width:68px;height:68px;background:linear-gradient(140deg,#ffe5a9 0%,#d7a657 45%,#825d30 46%,#edc37e 100%);clip-path:polygon(50% 0,100% 28%,100% 72%,50% 100%,0 72%,0 28%);filter:drop-shadow(0 0 18px #e7b96a99);animation:relic-hover 4s ease-in-out infinite}.art-core span{position:absolute;inset:14px;border:1px solid #fff5d4;transform:rotate(45deg);opacity:.65}.art-caption{position:absolute;top:15px;color:#a3947a;font:700 8px/1.5 'DM Sans',sans-serif;letter-spacing:1px}.art-caption-left{left:15px}.art-caption-right{right:15px;text-align:right}.roll-result{bottom:0;padding:14px 10px 13px;background:linear-gradient(0deg,#151616 50%,#151616e8 85%,transparent)}.roll-result small{color:#b9ac96;font-size:8px;letter-spacing:1.2px}.roll-result strong{color:#f6eee0;font:700 15px Manrope;margin-top:5px}
.luck-card{margin:12px 0 9px;padding:11px;border-radius:2px;border-color:#4d473a;background:#272620}.luck-card div span.luck-sub{display:block;color:#8c8b80;font-size:8px;letter-spacing:1px;font-weight:700;margin:5px 0 0}.luck-card small{color:#c4bca9}.luck-card strong{color:#f1cf90}.luck-card button{border-radius:2px;background:#3b3429;border-color:#756447;color:#e7cf9e}.roll-column.luck-boosted .luck-card{border-color:#dfb76a;box-shadow:inset 0 0 22px #d8a44a22,0 0 18px #e4b66c22}.roll-column.luck-boosted .luck-card strong{text-shadow:0 0 15px #f8d38a}
.roll-button{min-height:65px;padding:12px 15px;border:1px solid #f1d9a7;border-radius:2px;background:#e6c38a;color:#211d17;align-items:center;text-align:left;box-shadow:0 4px 0 #8e7049,0 8px 20px #0005}.roll-button-label{display:flex;flex-direction:column;gap:5px}.roll-button-label small{font-size:8px;letter-spacing:1px;color:#695438}.roll-button-label b{font-size:12px;letter-spacing:1px}.roll-arrow{display:grid;place-items:center;width:34px;height:34px;border:1px solid #89724e;font-size:18px}.roll-button:hover:not(:disabled){background:#f4d9a5;box-shadow:0 6px 0 #8e7049,0 12px 24px #0006}.roll-button:active:not(:disabled),.roll-button.roll-press{box-shadow:0 1px 0 #8e7049,0 2px 12px #e7c68a40}.roll-button:hover span:first-child{transform:none}.roll-options{color:#b3b2a8;padding:14px 1px 18px}.roll-options input{accent-color:#d2aa6d}.roll-stats{border-color:#3f403c;padding:15px 0}.roll-stats>div+div{border-color:#3f403c}.roll-stats b{color:#efede6}.recent-heading{color:#aaa99e}.recent-icon{border-radius:2px;background:#363127;border:1px solid #65583f}.recent-item small{color:#a6aaa1}.recent-item .odds{color:#a8a79d}.roll-footer{display:flex;justify-content:space-between;text-align:left;color:#777c77;letter-spacing:1px;margin-top:23px}
.modal-backdrop{background:#08090be8;backdrop-filter:blur(4px)}.modal{width:min(920px,100%);border-radius:3px;background:#191a1c;border-color:#62594a;box-shadow:0 24px 90px #000c;padding:28px;scrollbar-color:#82745b #202122}.modal-head{border-bottom:1px solid #49463f;padding-bottom:18px}.modal-head h2{font:800 27px Manrope;letter-spacing:-1px}.tabs{border-color:#3b3d3b}.tab{border-radius:2px;color:#aaa99e;font-size:11px;letter-spacing:.3px}.tab:hover{background:#2b2a26;color:#f4eee1}.tab.active{background:#e0bd85;color:#242019}.panel-toolbar select,.setting-row select{background:#252729;color:#f0eee5;border-color:#55534c;border-radius:2px}.panel-intro,.item-desc{color:#b2b1a8}.card-grid{gap:10px}.item-card{--item-color:#b2b3aa;position:relative;border:1px solid color-mix(in srgb,var(--item-color) 37%,#3a3a37);border-left:3px solid var(--item-color);border-radius:2px;background:linear-gradient(120deg,color-mix(in srgb,var(--item-color) 10%,#232426),#202123 58%);padding:16px;overflow:hidden}.item-card:before{content:"";position:absolute;right:-26px;top:-45px;width:100px;height:100px;border:1px solid color-mix(in srgb,var(--item-color) 18%,transparent);transform:rotate(45deg);pointer-events:none}.item-card:hover{background:linear-gradient(120deg,color-mix(in srgb,var(--item-color) 16%,#28292a),#242526 58%);border-color:color-mix(in srgb,var(--item-color) 70%,#4a4942)}.item-glyph{width:46px;height:46px;border-radius:2px;background:color-mix(in srgb,var(--item-color) 15%,#242526);border:1px solid color-mix(in srgb,var(--item-color) 50%,#3d3e3c);color:var(--item-color);font-size:20px}.item-top strong{font-size:14px;color:#f4f0e7}.item-top small{font-size:10px;letter-spacing:.2px}.item-actions button,.small-btn{border-radius:2px;border-color:#59574e;background:#31312d;color:#e5e1d7}.item-actions button.primary,.small-btn.primary{border-color:#e2c18c;background:#e2c18c;color:#241f18}.material-line,.stat-row,.setting-row{border-color:#40403d;color:#c8c7bd}.material-line b,.stat-row b{color:#f2eee3}
.toast{border-radius:2px;background:#ead0a0;color:#262118;box-shadow:0 10px 30px #0008}.toast.show{box-shadow:0 10px 30px #0008,0 0 25px #deb67833}
.reveal-overlay{background:radial-gradient(circle,color-mix(in srgb,var(--reveal) 22%,#1a1a1b),#090a0bec 70%)}.reveal-ring{width:min(30vw,300px);aspect-ratio:1;border:1px solid var(--reveal);transform-origin:center;opacity:.38}.reveal-emblem{position:absolute;inset:17%;border:2px solid var(--reveal);transform:rotate(45deg)}.reveal-emblem i{position:absolute;inset:18%;border:1px solid var(--reveal)}.reveal-emblem i:nth-child(2){inset:32%}.reveal-emblem i:nth-child(3){inset:46%;background:var(--reveal)}.reveal-copy strong{text-shadow:0 2px 18px #000,0 0 40px var(--reveal)}.reveal-copy button{border-radius:2px;background:#171718cc}.boss-bar{border-radius:2px;background:#17191ce8}.arena-notice{font-family:Manrope,sans-serif;letter-spacing:1px}
@keyframes diamond-turn{from{transform:rotate(45deg)}to{transform:rotate(405deg)}}@keyframes relic-hover{50%{transform:translateY(-5px);filter:drop-shadow(0 0 24px #edc078)}}
@media(max-width:1150px){.layout{grid-template-columns:66px minmax(400px,1fr) 290px}.leftbar{padding:25px 8px}.section-label,.sidebar-bottom{display:none}.nav{justify-content:center;padding:0;gap:0}.nav svg{width:19px;height:19px}.nav span,.nav i{display:none}.brand{width:auto}.game-column{padding:27px 20px}.roll-column{padding:28px 17px}}
@media(max-width:800px){.layout{display:flex}.leftbar{background:#18191b;border-top:1px solid #49463e;padding:5px}.nav{min-height:48px}.leftbar .nav.active{box-shadow:inset 0 2px #e6bd79}.topbar{height:64px;padding:0 16px}.top-center{font-size:8px}.game-column{padding:24px 15px}.world-title h1{font-size:27px}.roll-column{border-left:0;border-top:1px solid #48453c;padding:28px 16px 86px}.roll-art{height:204px}.roll-art .orbit{top:15px}.roll-art .o2{top:32px}.roll-art .o3{top:0}.art-core{top:42px}.card-grid{grid-template-columns:1fr}.modal{padding:22px}.controls-hint{display:none}.touch-controls button{background:#181b1cda;border-color:#c0ab8299;color:#f8eedc}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.roll-art .orbit,.art-core{animation:none!important}}
.item-glyph svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.35;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--item-color) 45%,transparent))}.item-info{min-width:0;position:relative;z-index:1}.item-badge{display:inline-block;margin:5px 5px 0 0;padding:3px 5px;border:1px solid color-mix(in srgb,var(--item-color) 45%,#4a4842);color:var(--item-color);background:color-mix(in srgb,var(--item-color) 11%,transparent);font-size:8px;letter-spacing:.6px;font-weight:800;text-transform:uppercase}.item-card[data-tier="4"],.item-card[data-tier="5"],.item-card[data-tier="6"],.item-card[data-tier="7"],.item-card[data-tier="8"],.item-card[data-tier="9"],.item-card[data-tier="10"]{box-shadow:inset 0 0 28px color-mix(in srgb,var(--item-color) 9%,transparent),0 4px 18px #0003}.item-card[data-tier="7"]:after,.item-card[data-tier="8"]:after,.item-card[data-tier="9"]:after,.item-card[data-tier="10"]:after{content:"";position:absolute;right:0;top:0;width:35px;height:35px;border-right:2px solid var(--item-color);border-top:2px solid var(--item-color);opacity:.7;pointer-events:none}
/* Inventory cards keep the important numbers and move descriptions scannable. */
.item-top{align-items:flex-start}.item-info{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.item-info>small{margin:0!important;font-size:8px;letter-spacing:1px;font-weight:800;color:var(--item-color)!important}.item-info>strong{line-height:1.15}.item-odds{color:#999b95;font-size:9px;line-height:1.3;letter-spacing:.35px}.item-power{flex:none;text-align:right;margin-left:auto;padding-left:7px}.item-power small,.item-power b{display:block}.item-power small{font-size:8px;letter-spacing:1px;color:#8d908b}.item-power b{font:800 17px Manrope,sans-serif;color:#f1e6d2;margin-top:3px}.item-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:10px}.item-badge{margin:0}.item-count{margin-left:auto;font-size:8px;letter-spacing:.8px;font-weight:800;color:#a6a59a}.item-card .item-desc{margin:10px 0 8px;font-size:11px;line-height:1.45}.item-moves{display:grid;gap:5px;border-top:1px solid #ffffff17;padding-top:9px;color:#aaa9a1;font-size:10px;line-height:1.4}.item-moves span{display:block}.item-moves b{color:#e7e1d3;margin-right:4px}.item-actions{margin-top:12px;padding-top:11px;border-top:1px solid #ffffff17;gap:6px}.item-actions button{padding:7px 9px}
/* A compact fate console stays above combat on touch screens. */
@media(max-width:800px){
 .layout{display:flex;flex-direction:column}
 .roll-column{order:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr);grid-template-areas:"result result" "luck roll" "options history";gap:7px 9px;padding:10px 15px 11px;border-top:0;border-bottom:1px solid #48453c;overflow:visible}
 .game-column{order:1;padding-top:19px}.leftbar{order:3}
 .roll-head,.roll-art .art-crosshair,.roll-art .orbit,.roll-art .art-core,.roll-art .art-caption,.roll-stats,.recent-list,.roll-footer{display:none}
 .roll-art{grid-area:result;display:block;position:relative;height:auto;min-height:29px;margin:0;background:none;border:0;overflow:visible}
 .roll-art:before{display:none}.roll-result{position:static;display:flex;align-items:baseline;gap:8px;text-align:left;background:none;padding:0;min-height:24px;overflow:hidden}
 .roll-result small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.7px}.roll-result strong{font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.roll-result small:last-child{margin-left:auto}
 .luck-card{grid-area:luck;margin:0;padding:8px;min-width:0;gap:6px}.luck-card small{font-size:8px;letter-spacing:.6px}.luck-card div span.luck-sub{display:none}.luck-card strong{font-size:16px}.luck-card button{flex:none}
 .roll-button{grid-area:roll;min-height:48px;padding:7px 10px}.roll-button-label{gap:3px}.roll-button-label small{font-size:7px;letter-spacing:.5px}.roll-button-label b{font-size:10px;letter-spacing:.6px}.roll-arrow{width:28px;height:28px;font-size:16px}
 .roll-options{grid-area:options;justify-content:flex-start;gap:12px;padding:1px 0 0;font-size:10px}.roll-options label{gap:4px;white-space:nowrap}.roll-options input{margin:0}
 .recent-heading{grid-area:history;display:flex;justify-content:flex-end;align-items:center;margin:0}.recent-heading span{display:none}.recent-heading button{font-size:9px}
 .world-title{margin-bottom:14px}.world-title h1{margin-top:8px}
}
@media(max-width:380px){.roll-column{grid-template-columns:1fr 1fr}.luck-card small{font-size:7px}.luck-card strong{font-size:14px}.luck-card button{width:22px;height:22px}.roll-result small:first-child{max-width:48%}.roll-button-label small{display:none}.roll-options{gap:6px;font-size:9px}}
.loadout .ability-row{margin:0 0 9px}
@media(min-width:801px){.arena-wrap{height:clamp(300px,calc(100vh - 410px),500px)}}

/* High-tier inventory treatment uses a distinct frame and geometry, not a brighter generic icon. */
.item-card[data-tier="5"],.item-card[data-tier="6"],.item-card[data-tier="7"],.item-card[data-tier="8"],.item-card[data-tier="9"],.item-card[data-tier="10"]{background-image:repeating-linear-gradient(135deg,transparent 0 17px,color-mix(in srgb,var(--item-color) 5%,transparent) 18px 19px),linear-gradient(120deg,color-mix(in srgb,var(--item-color) 14%,#232426),#202123 62%)}
.item-card[data-tier="8"],.item-card[data-tier="9"],.item-card[data-tier="10"]{border-left-width:5px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--item-color) 35%,transparent),0 6px 20px #0005}
.item-card[data-tier="8"] .item-glyph,.item-card[data-tier="9"] .item-glyph,.item-card[data-tier="10"] .item-glyph{border-width:2px;transform:rotate(45deg) scale(.85);background:color-mix(in srgb,var(--item-color) 23%,#242526)}
.item-card[data-tier="8"] .item-glyph svg,.item-card[data-tier="9"] .item-glyph svg,.item-card[data-tier="10"] .item-glyph svg{transform:rotate(-45deg)}

.zone-enter{animation:zone-arrival .6s ease both}.zone-title-enter{animation:zone-title .5s ease both}@keyframes zone-arrival{0%{filter:brightness(.48);transform:scale(.99)}60%{filter:brightness(1.12)}100%{filter:brightness(1);transform:none}}@keyframes zone-title{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Focused settings and compact roll feed, using the existing field-console palette. */
.roll-feed{position:absolute;top:76px;right:18px;z-index:3;display:flex;flex-direction:column;gap:4px;align-items:flex-end;pointer-events:none;max-width:55%}.roll-feed-entry{border-left:2px solid var(--feed-color);background:#141719db;color:#f5f0e8;padding:7px 10px;font-size:10px;box-shadow:0 4px 14px #0004;animation:feed-in .2s ease both}.roll-feed-entry.leaving{animation:feed-out .25s ease both}.settings-section{margin:25px 0 4px;color:#d7ba86;font-size:10px;font-weight:800;letter-spacing:1.4px}.volume-control{display:flex;align-items:center;gap:12px}.volume-control input{accent-color:#dfc18f;width:150px}.volume-control output{width:35px;text-align:right;color:#e9e0cf;font-size:11px}.preview-slot:not(:empty){margin:10px 0;background:#101416;border:1px solid #4d4b44;display:grid;place-items:center}.preview-slot canvas{width:240px;max-width:100%;height:150px}.passive-stats{color:#92978f}.item-desc b{font-size:9px;color:var(--item-color,#dec297);letter-spacing:.7px}@keyframes feed-in{from{opacity:0;transform:translateX(9px)}to{opacity:1;transform:none}}@keyframes feed-out{to{opacity:0;transform:translateX(8px)}}@media(max-width:800px){.roll-feed{top:65px;right:10px;max-width:62%}.roll-feed-entry{font-size:9px;padding:6px 8px}.volume-control input{width:105px}}@media(prefers-reduced-motion:reduce){.roll-feed-entry{animation:none}}

.item-moves em{font-style:normal;color:#95968f;white-space:nowrap;font-size:9px}

.ability-icon svg{width:23px;height:23px;display:block;stroke:currentColor;filter:drop-shadow(0 0 5px currentColor)}

/* Survival escalation HUD and the ESC pause card. */
.survival-badge{display:flex;align-items:center;gap:8px;pointer-events:none;background:#141919e8;border:1px solid #9e9c8055;border-radius:2px;padding:7px 10px;box-shadow:0 4px 12px #0003;color:#f0eee5;transition:border-color .25s ease,box-shadow .25s ease}
.survival-badge .survival-kicker{font:800 8px 'DM Sans',sans-serif;letter-spacing:1.25px;color:#a3a59c}
.survival-badge b{font:800 13px Manrope,sans-serif;letter-spacing:.5px;color:#f1cf90;min-width:42px;text-align:center}
.survival-badge small{font:800 8px 'DM Sans',sans-serif;letter-spacing:1.05px;color:#d5b174;border-left:1px solid #5c584d;padding-left:8px;white-space:nowrap}
.survival-badge[data-tier="2"],.survival-badge[data-tier="3"]{border-color:#c79e5f88}
.survival-badge[data-tier="4"],.survival-badge[data-tier="5"]{border-color:#d9875faa;box-shadow:0 4px 12px #0003,inset 0 0 14px #d9875f1c}
.survival-badge[data-tier="6"],.survival-badge[data-tier="7"],.survival-badge[data-tier="8"],.survival-badge[data-tier="9"],.survival-badge[data-tier="10"]{border-color:#e16161cc;box-shadow:0 4px 12px #0003,inset 0 0 16px #e161611f}
.survival-badge[data-tier="6"] small,.survival-badge[data-tier="7"] small,.survival-badge[data-tier="8"] small,.survival-badge[data-tier="9"] small,.survival-badge[data-tier="10"] small{color:#f59380}
.survival-badge.threat-pulse{animation:threat-pulse .55s ease}
@keyframes threat-pulse{0%{transform:scale(1)}35%{transform:scale(1.055);border-color:#f2c871}100%{transform:scale(1)}}
.pause-overlay{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:22px;background:#08090bd9;backdrop-filter:blur(7px);animation:pause-in .22s ease both}
.pause-card{position:relative;width:min(420px,100%);padding:31px 30px 25px;border:1px solid #6b5c44;border-radius:3px;background:linear-gradient(145deg,#1d1e20,#141618 70%);box-shadow:0 28px 100px #000c,inset 0 0 40px #e0b97008;text-align:center;overflow:hidden}
.pause-card:before{content:"";position:absolute;left:18%;right:18%;top:0;height:1px;background:linear-gradient(90deg,transparent,#e8c37c,transparent)}
.pause-card h2{font:800 29px/1.05 Manrope,sans-serif;letter-spacing:-1px;margin:13px 0 9px;color:#f5eee1}
.pause-card p{margin:0 auto;max-width:300px;color:#a9aaa2;font-size:12px;line-height:1.55}
.pause-emblem{width:54px;height:54px;margin:0 auto 17px;position:relative;border:1px solid #d8b476;transform:rotate(45deg);background:#292720;box-shadow:0 0 22px #e0b9701f}
.pause-emblem i{position:absolute;inset:10px;border:1px solid #d8b476aa}
.pause-emblem i:first-child{inset:17px;background:#e8c37c;border:0;box-shadow:0 0 12px #e8c37c}
.pause-emblem i:last-child{inset:24px;border:0;background:#1b1c1e}
.pause-stats{display:grid;grid-template-columns:1fr 1fr;margin:22px 0;border-top:1px solid #3a3a36;border-bottom:1px solid #3a3a36}
.pause-stats div{padding:11px 6px}
.pause-stats div+div{border-left:1px solid #3a3a36}
.pause-stats small,.pause-stats b{display:block}
.pause-stats small{font:800 8px 'DM Sans',sans-serif;letter-spacing:1.3px;color:#8e9089}
.pause-stats b{font:800 15px Manrope,sans-serif;letter-spacing:.6px;color:#f0ede4;margin-top:6px}
.pause-stats div:first-child b{color:#f1cf90}
.pause-resume{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:48px;padding:10px 16px;border:1px solid #f1d9a7;border-radius:2px;background:#e6c38a;color:#211d17;font:800 11px 'DM Sans',sans-serif;letter-spacing:1.4px;box-shadow:0 4px 0 #8e7049,0 8px 22px #0006;transition:background .15s ease,transform .1s ease}
.pause-resume:hover{background:#f4d9a5}
.pause-resume:active{transform:translateY(2px);box-shadow:0 1px 0 #8e7049}
.pause-resume kbd{border-color:#89724e;background:#f0d9ab;color:#3b2e1e;font-size:9px;padding:5px 7px}
.pause-hint{display:block;margin-top:16px;color:#767a75;font-size:9px;letter-spacing:.5px}
.pause-hint kbd{font-size:8px;padding:2px 4px;color:#a8a69b}
@keyframes pause-in{from{opacity:0}to{opacity:1}}
@media(max-width:800px){
 .survival-badge{padding:6px 8px;gap:6px}
 .survival-badge .survival-kicker{display:none}
 .survival-badge b{font-size:11px;min-width:37px}
 .survival-badge small{font-size:7px;padding-left:6px;letter-spacing:.7px}
 .pause-card{padding:26px 22px 21px}
 .pause-card h2{font-size:26px}
}
@media(max-width:1150px){.survival-badge .survival-kicker{display:none}.survival-badge b{min-width:38px}.survival-badge small{font-size:7px;padding-left:6px}}
.arena-top{gap:6px}.survival-badge{flex:none}
@media(max-width:800px){.arena-tip{max-width:44%}}
.health-block.heal-pulse{animation:health-heal .85s ease both}
@keyframes health-heal{0%{border-color:#4b6651;box-shadow:none}30%{border-color:#a8f5b1;box-shadow:0 0 0 3px #a8f5b11f,0 0 24px #8bf0a255}100%{border-color:#4b6651;box-shadow:none}}
.ability-row .ability{min-height:64px}
.ability.ultra{position:relative;border-color:#c9a35d;background:linear-gradient(145deg,#2b2419,#191b1c 68%);box-shadow:inset 0 0 18px #e9bd6816,0 0 0 1px #e9bd680d}
.ability.ultra:before{content:"ULTRA";position:absolute;top:-7px;right:7px;padding:2px 5px;border:1px solid #dcb775;background:#1c1a14;color:#ffe4ac;font:800 7px 'DM Sans',sans-serif;letter-spacing:1px;border-radius:2px;box-shadow:0 2px 6px #0008}
.ability.ultra .ability-icon{color:#ffe0a0;filter:drop-shadow(0 0 8px #ffd47d)}
.ability.ultra .ability-copy b{color:#ffe6b0}
.ability.ultra:hover{background:linear-gradient(145deg,#3a2f1e,#1d1e1e 68%)}
.item-badge.ultra-badge{background:#e0bf7a;color:#211c14;border-color:#f0d79e}
.item-moves .ultra-move b{color:#ffda92}
.item-moves .ultra-move em{color:#c7a868}

/* Secret admin console */
body.admin-open{overflow:hidden}
.admin-overlay:focus{outline:none}
.admin-overlay{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0%,#1a2b20 0%,#08110ddd 55%,#040907f7 100%);backdrop-filter:blur(14px);animation:admin-veil .24s ease both}
.admin-pane{position:relative;width:min(1080px,96vw);max-height:92vh;display:flex;flex-direction:column;background:linear-gradient(155deg,#141f19,#0d1712 55%,#101a14);border:1px solid #4b5f4c;box-shadow:0 30px 100px #000d,inset 0 0 90px #d6b96609;overflow:hidden}
.admin-pane:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#d6ba75,#a7c878,transparent);opacity:.9}
.admin-head{display:flex;justify-content:space-between;gap:20px;padding:20px 24px 18px;border-bottom:1px solid #2b3b31;background:linear-gradient(180deg,#1a2820,#111b16)}
.admin-kicker{display:flex;align-items:center;gap:8px;color:#cdb578;font:800 8px 'DM Sans',sans-serif;letter-spacing:2px}
.admin-kicker i{display:block;width:6px;height:6px;border-radius:50%;background:#d6bb76;box-shadow:0 0 12px #e0bf6b}
.admin-head h2{font:800 29px Manrope,sans-serif;letter-spacing:-1px;margin:8px 0 4px;color:#f1f5e9}
.admin-head p{max-width:680px;margin:0;color:#899d8d;font-size:10px;line-height:1.5}
.admin-close{flex:none;align-self:start;background:#1c271d;border:1px solid #5f7058;color:#dbe8d2;border-radius:4px;padding:8px 10px;font:800 8px 'DM Sans',sans-serif;letter-spacing:1.2px;display:flex;align-items:center;gap:7px}
.admin-close:hover{border-color:#d6ba75;background:#2a3020;color:#fff3d1}
.admin-close kbd{border-color:#7e7556;background:#302f1f;color:#e5d5a4;margin:0;font-size:7px;padding:3px 4px}
.admin-status{display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:#2a3a30;border-bottom:1px solid #2a3a30;flex:none}
.admin-chip{min-width:0;padding:10px 12px;background:#0d1611}
.admin-chip small{display:block;font:800 7px 'DM Sans',sans-serif;letter-spacing:1.2px;color:#718778;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-chip b{display:block;margin-top:4px;color:#dfe9d9;font:700 11px Manrope,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-chip.gold b{color:#e9cd8a}
.admin-chip.danger b{color:#f0a18e}
.admin-chip.muted b{font-size:9px;color:#9cac9a}
.admin-body{overflow:auto;padding:19px 24px 9px;display:grid;grid-template-columns:1fr 1fr;gap:17px 22px;scrollbar-color:#697c62 #111c16;scrollbar-width:thin}
.admin-section{min-width:0}
.admin-section-head{display:flex;gap:9px;align-items:flex-start;margin-bottom:8px}
.admin-section-head>span{flex:none;color:#d0b775;border:1px solid #4d4a37;background:#1a1e15;border-radius:2px;padding:3px 5px;font:800 8px 'DM Sans',sans-serif;letter-spacing:.6px}
.admin-section-head h3{font:800 12px Manrope,sans-serif;letter-spacing:.3px;margin:0;color:#e8eee1}
.admin-section-head small{display:block;color:#7f9385;font-size:9px;margin-top:3px;line-height:1.35}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.admin-action{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:3px 7px;text-align:left;border:1px solid #344238;background:#121c17;color:#dfe9da;border-radius:4px;padding:8px 9px;min-height:50px;min-width:0}
.admin-action:hover{transform:translateY(-1px);border-color:#7d956b;background:#18251c;box-shadow:0 5px 16px #0004}
.admin-action.is-on{border-color:#9b854f;background:linear-gradient(135deg,#2a2a1b,#151e17);box-shadow:inset 3px 0 #d6b56b}
.admin-action>span{grid-column:1;grid-row:1;align-self:center;font:800 8px 'DM Sans',sans-serif;letter-spacing:1px;color:#e4ecdd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-action>small{grid-column:1/-1;grid-row:2;color:#7f9385;font-size:8px;line-height:1.3;padding-right:5px}
.admin-action b{grid-column:2;grid-row:1;align-self:center;font:800 7px 'DM Sans',sans-serif;letter-spacing:.8px;padding:3px 4px;border-radius:2px}
.admin-act{color:#b7c9af;border:1px solid #405645;background:#1a2920}
.admin-toggle{color:#7f9385;border:1px solid #3b4b3f;background:#131d16}
.admin-toggle.on{color:#241f12;border-color:#dbc280;background:#dbc280;box-shadow:0 0 12px #e5c27444}
.admin-quality-grid{grid-template-columns:repeat(4,1fr)}
.admin-quality-grid .admin-action{min-height:44px}
.admin-foot{flex:none;display:flex;justify-content:space-between;gap:12px;padding:10px 24px;border-top:1px solid #2b3b31;color:#627a6b;font:800 7px 'DM Sans',sans-serif;letter-spacing:1.3px;background:#0d1611}
.admin-body::-webkit-scrollbar{width:8px}
.admin-body::-webkit-scrollbar-thumb{background:#435542;border-radius:8px}
@keyframes admin-veil{from{opacity:0}to{opacity:1}}
@keyframes admin-arrive{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.admin-pane{animation:admin-arrive .28s cubic-bezier(.2,.8,.2,1) both}
@media(max-width:900px){.admin-overlay{padding:10px}.admin-pane{max-height:95vh}.admin-head{padding:16px 16px 14px}.admin-head h2{font-size:24px}.admin-head p{font-size:9px}.admin-status{grid-template-columns:repeat(3,1fr)}.admin-body{grid-template-columns:1fr;padding:15px 16px 7px;gap:15px}.admin-foot{padding:9px 16px;font-size:6px}.admin-quality-grid{grid-template-columns:repeat(2,1fr)}.admin-close{padding:7px 8px}.admin-close kbd{display:none}}

.admin-indicator{position:absolute;left:20px;bottom:82px;z-index:7;display:flex;align-items:center;gap:6px;border:1px solid #d3b46c;background:#191d12ee;color:#f3d797;border-radius:4px;padding:6px 8px;font:800 8px 'DM Sans',sans-serif;letter-spacing:1px;box-shadow:0 4px 18px #0008,0 0 0 1px #d3b46c1a;animation:admin-badge-in .22s ease both}
.admin-indicator:before{content:"◆";font-size:7px;color:#e7c67e}
.admin-indicator:hover{background:#2b2b17;color:#fff0bd;border-color:#f0d190;transform:translateY(-1px)}
.admin-indicator:active{transform:translateY(1px)}
@keyframes admin-badge-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:800px){.admin-indicator{left:12px;bottom:auto;top:72px;font-size:7px;padding:5px 6px}}
