@import url('/static/event/fonts.css');
:root{--bg:#181e1c;--panel:#252d2a;--line:#48514d;--muted:#a9b1a3;--text:#f3eadc;--accent:#e3bb75;--accent-soft:#e3bb7522;color-scheme:dark}body{background:radial-gradient(ellipse at 85% 0,#48585230,transparent 55%),#181e1c!important;color:#f3eadc;font-family:Manrope,Arial,sans-serif!important}.app-shell body,.app-shell-pane{background:#181e1c!important}h1,h2,h3,button,input,select{font-family:Manrope,Arial,sans-serif}h1{font-size:clamp(30px,4vw,46px)!important;font-weight:800!important;line-height:1.18!important;letter-spacing:-1.2px!important}h2{font-weight:800!important;letter-spacing:-.5px}h1 em{color:#e6bc77;font-style:normal}.eyebrow,.section-label{color:#d6b27c!important;letter-spacing:1.5px;font-size:10px}.intro>p:not(.eyebrow),.hint,.note{color:#b1b9ab}button{transition:background .15s,border-color .15s,transform .15s}button:not(:disabled):hover{filter:brightness(1.12)}button:focus-visible,a:focus-visible{outline:2px solid #e8c187;outline-offset:3px}button.primary,#pay,.card>button,.draw.primary{background:linear-gradient(#e8c588,#c69755)!important;color:#202724!important;border:1px solid #ffdf9e!important;border-bottom:3px solid #785232!important;border-radius:8px!important;font-weight:800}.secondary,.view-product{background:#353f3b!important;color:#eddbbd!important;border:1px solid #787367!important;border-radius:7px!important}button:disabled{opacity:.45}.demo-label{background:#212825;border-bottom:1px solid #414c47;text-align:center;color:#acb7a4;font-size:10px;letter-spacing:.4px;padding:8px 14px}.app-embedded .demo-label{display:none}.app-shell .app-shell-bar{height:83px;background:#202724;border-bottom:2px solid #6a5058;gap:30px;padding:0 30px;max-width:none}.app-shell-logo{display:flex;align-items:center;gap:10px;color:#ecc58b;letter-spacing:2px;font-size:17px}.app-shell-logo .sprite{width:42px;height:42px}.app-shell .app-shell-tabs{gap:7px}.app-shell-tabs button{display:flex;align-items:center;gap:8px;color:#b3bfaa;border:1px solid transparent;border-radius:8px;padding:8px 13px;font-size:12px;font-weight:700}.app-shell-tabs button[aria-selected=true]{background:linear-gradient(140deg,#3e4b46,#2d3833);border:1px solid #947052;color:#ffe0a4;box-shadow:inset 0 1px #ffffff0c}.app-shell-viewport{height:calc(100dvh - 83px)}.sprite{display:inline-block;position:relative;overflow:hidden;width:36px;height:36px;flex-shrink:0;vertical-align:middle;isolation:isolate}.sprite>img{position:absolute!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;left:0!important;top:0!important;margin:0!important;filter:none!important}.inline-sprite{width:23px;height:23px}.currency-art{width:22px!important;height:22px!important;object-fit:contain!important;vertical-align:middle;margin:0 3px!important;filter:drop-shadow(1px 2px 0 #0006)}.illustrated-intro{position:relative;min-height:230px;border:1px solid #56615c;border-radius:12px;background:linear-gradient(100deg,#2b3531,#232b27);padding:30px!important;overflow:hidden}.illustrated-intro h1{margin:15px 0}.illustrated-intro>p{max-width:70%;font-size:13px}.section-sprite{position:absolute;width:180px;height:180px;right:20px;top:25px;z-index:0;filter:drop-shadow(0 10px 0 #0003)}.illustrated-intro>*:not(.section-sprite){position:relative;z-index:1}.store,.treasure,.card,.reward-panel,.exclusive,.filters,.item,.scroll-menu,.banner-tab{border-radius:10px!important;border-color:#57655f!important;background-color:#262f2b!important;box-shadow:0 4px 0 #111614}.treasure{background:linear-gradient(150deg,#2a3430,#202825)!important}.treasure-art{background:radial-gradient(ellipse at center,#4e625a55,transparent 70%),#202925!important;min-height:150px;border-bottom:1px solid #44504b;display:grid;place-items:center}.treasure-art img{filter:drop-shadow(2px 5px 0 #0005)}.exchange-art{width:130px;height:130px}.treasure-copy{padding:18px}.treasure h3{color:#f7dfb9}.treasure strong{display:inline-flex;align-items:center;color:#edc68a}.item-kind{color:#b6c2ad}.store{background:linear-gradient(145deg,#2e3733,#212a26)!important}.package{background:#2d3833!important;border-color:#4f5f58!important;border-radius:8px!important}.package.selected{background:#574034!important;border-color:#dbb27a!important}.input,input,select{background-color:#181f1c!important;border-color:#52635c!important;color:#f1e4d6!important;border-radius:7px!important}.input input{background:transparent!important}.player,.identity{color:#cdd8c6;background:#212a26;border:1px solid #4e5d57;border-radius:8px}.player{font-size:12px}.summary strong{display:flex;align-items:center;gap:5px}.details,.terms{opacity:.8}.collection-heading h2{font-size:27px!important}dialog{background:#262f2b!important;border:1px solid #a17a62!important;border-radius:12px!important;box-shadow:0 20px 90px #000a}dialog::backdrop{background:#121715d9;backdrop-filter:blur(4px)}.item .art,#detail-art .art{background:radial-gradient(ellipse,#65414d55,#202925)!important}.item-body h2{font-weight:800!important}.mini-stats span{background:#1d2522;border-color:#4b5e56}.skill-badge{color:#dfb87d}.missing-art{width:80px;height:80px}.stats>span,.stat-grid>div{border:1px solid #4e5e58;background:#212926!important;border-radius:7px!important}.quest-card-art{width:80px;height:80px;float:right;margin:-4px -4px 8px 12px}.card{background:linear-gradient(145deg,#2f3935,#222a26)!important}.card.active{border-color:#b9915a!important;background:linear-gradient(145deg,#48362f,#252d29)!important}.card h3{font-size:21px}.card .badge{color:#d4ab7f}.reward{color:#e6bd75;display:flex;align-items:center;gap:4px}.identity{padding:12px 15px;max-width:none!important}.identity #refresh{background:#35433d}.wheel-panel{background:linear-gradient(145deg,#2c3431,#232c28)!important;border-color:#6f555e!important;border-radius:12px!important}.wheel-wrap{filter:drop-shadow(0 8px 0 #0d110f)}.hub{background:#27312d!important;border-color:#dfba78!important}.hub img{width:70%;height:70%;object-fit:contain}.reward-panel li>span:first-child{display:grid;place-items:center;width:44px;height:44px}.reward-panel li img{width:38px;height:38px;object-fit:contain}.reward-panel .sprite{width:42px;height:42px}.result-icon img{width:110px;height:110px;object-fit:contain}.result-icon>.sprite{width:110px;height:110px}.exclusive{background:radial-gradient(ellipse at 0 100%,#3f5d3a55,transparent 70%),#272d2b!important}.hero{border-radius:12px!important;border-color:#5d6d66!important}.hero-copy h1{font-size:44px!important}.hero-characters{filter:drop-shadow(3px 6px 0 #0004)}.summon-panel{border:1px solid #5f6f68!important;border-radius:10px!important;background:#29332f!important}.scroll-balance{color:#ecd8c3}.banner-tab{background:#262f2b!important}.banner-tab.active{background:#3f4d47!important;border-color:#d5b178!important}.banner-tab img{border:1px solid #88705e}.reward-preview,.result-card{background:#252e2a!important;border-color:#5c7068!important;border-radius:10px!important}.guarantee-panel{background:#242c28!important;border-color:#4e6059!important}.hero-footer{color:#dac5a6!important}.hero .halo{opacity:.4}.sidebar-note{color:#becbb5}.breadcrumb{color:#b0bca7}body[data-section=store] #store-main{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:30px;padding-top:30px;max-width:1200px}body[data-section=store] #store-main>.intro{grid-column:1/-1;min-height:225px}body[data-section=store] .treasures{grid-column:1;grid-row:2}body[data-section=store] .store{grid-column:2;grid-row:2;position:sticky;top:20px}body[data-section=store] .treasure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-section=store] .collection-heading>p{display:none}body[data-section=store] .collection-heading{margin-top:0}body[data-section=store] .intro .player{max-width:440px;margin-top:15px;padding:12px}body[data-section=store] .intro .section-sprite{width:210px;height:210px;top:0;right:45px}body[data-section=quests] .intro{margin-top:20px}body[data-section=reference] .intro{margin-bottom:25px}body[data-section=wheel] .intro{margin-top:20px;margin-bottom:25px}body[data-section=wheel] .layout{gap:24px}.app-shell-tabs .sprite{width:34px;height:34px}
@media(max-width:950px){body[data-section=store] #store-main{grid-template-columns:1fr;max-width:750px}body[data-section=store] .treasures,body[data-section=store] .store{grid-column:1;grid-row:auto;position:static}body[data-section=store] .store{max-width:none}.app-shell-logo{display:none}.app-shell .app-shell-bar{justify-content:center;padding:0 10px}.app-shell-tabs button{padding:9px 10px;gap:5px}.section-sprite{width:140px;height:140px}}
@media(max-width:650px){.app-shell .app-shell-bar{height:calc(78px + env(safe-area-inset-bottom));padding:4px 4px calc(4px + env(safe-area-inset-bottom));border-top:2px solid #6a5058;inset:auto 0 0}.app-shell .app-shell-tabs{gap:2px}.app-shell-tabs button{flex-direction:column;gap:3px;padding:5px 1px;font-size:10px;border-radius:7px}.app-shell-tabs .sprite{width:31px;height:31px}.app-shell-viewport{height:calc(100dvh - 78px - env(safe-area-inset-bottom))}.demo-label{font-size:9px;padding:7px 8px}body[data-section=store] #store-main{padding:16px;gap:24px}body[data-section=store] .intro .section-sprite{width:125px;height:125px;right:7px;top:18px}.illustrated-intro{padding:20px!important;min-height:195px}.illustrated-intro h1{font-size:29px!important;max-width:74%;margin:12px 0}.illustrated-intro>p{max-width:68%;font-size:11px}.section-sprite{width:110px;height:110px;right:4px;top:15px}.illustrated-intro .identity{margin-top:24px;font-size:11px}.illustrated-intro .identity #refresh{font-size:10px;padding:7px}.treasure-art{min-height:115px}.treasure-copy{padding:12px}.treasure h3{font-size:15px}.treasure-copy p{font-size:11px}.treasure .view-product{padding:10px 5px;font-size:10px}.quest-card-art{width:60px;height:60px}.hero-copy h1{font-size:31px!important}.hero-characters{opacity:.95}.hero{min-height:440px}.currency-art{width:19px!important;height:19px!important}.inline-sprite{width:20px;height:20px}.collection-heading h2{font-size:24px!important}.store{padding:20px!important}.filters{border-radius:10px}.item-body{padding:12px}.item h2{font-size:14px!important}.game-panel{padding:17px}.wheel-panel{padding:18px!important}.result-icon>.sprite{width:95px;height:95px}.app-shell-logo{display:none}.treasure-grid{gap:10px}.intro .player{max-width:100%!important;font-size:11px!important}.illustrated-intro .player{background:#1c2421de}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}
/* Grey fantasy: soot, worn steel and old gold; saturated color belongs to game art. */
:root{--bg:#17191b;--panel:#24272a;--line:#505454;--muted:#a5aaa7;--text:#e7e5db;--accent:#c4ad7f;--accent-soft:#c4ad7f20;--gold:#c4ad7f}
html,body{color:#e7e5db!important}body,.app-shell body,.app-shell-pane{background:radial-gradient(ellipse at 70% 0,#49504f26,transparent 55%),#17191b!important;background-attachment:fixed!important}.app-shell .app-shell-bar{background:linear-gradient(#2a2d2e,#202325)!important;border-color:#5c615e!important;box-shadow:0 -2px 15px #0005}.app-shell-logo{color:#c9bd9e!important}.app-shell-tabs button{color:#9ea5a1!important;border-radius:4px!important}.app-shell-tabs button[aria-selected=true]{background:linear-gradient(#414544,#292e2e)!important;border-color:#8c8b73!important;color:#e3d4b3!important;box-shadow:inset 0 1px #d3d4bb24,inset 0 -2px #0d1012,0 2px 4px #0005}.demo-label{background:#202325!important;border-color:#3e4544!important;color:#89928e!important}.eyebrow,.section-label,.item-kind{color:#b4a17c!important;letter-spacing:1.6px}.intro>p:not(.eyebrow),.hint,.note,.description,.tagline,.bot-note{color:#a9b2ac!important}h1,h2,h3{color:#e6e4d9}h1 em,.hero h1 em{color:#c9b88f!important}.illustrated-intro{background:linear-gradient(115deg,#303537,#202426)!important;border-color:#59615d!important;border-radius:5px!important;box-shadow:inset 0 1px #c8d0c218,inset 0 -3px #0e1214,0 5px 18px #0003}.illustrated-intro:after{content:'';pointer-events:none;position:absolute;inset:7px;border:1px solid #7c847220;border-radius:2px}.section-sprite{filter:saturate(.75) drop-shadow(0 8px 0 #0004)!important}.store,.treasure,.card,.reward-panel,.exclusive,.filters,.item,.scroll-menu,.banner-tab,.game-panel,.weekly-prize,.shop-item{border-radius:5px!important;border:1px solid #505b57!important;background:linear-gradient(135deg,#2d3234,#22272a)!important;box-shadow:inset 0 1px #c3cbb918,inset 0 -3px #101517,0 5px 12px #0003!important}.treasure-art,.item .art,#detail-art .art{background:radial-gradient(ellipse,#67706725,transparent 70%),#1d2325!important;border-color:#454d49!important}.treasure h3,.treasure strong,.reward,.summary strong,.collection-heading h2{color:#d7c7a3!important}.treasure:hover,.item:hover{border-color:#a09c7d!important}.treasure-art img,.item .art img{filter:drop-shadow(2px 5px 0 #0005)}
button.primary,#pay,.card>button,.draw.primary,.primary{background:linear-gradient(#b6aa89,#8d836b)!important;color:#181d1d!important;border:1px solid #d0c5a0!important;border-bottom:3px solid #4c4a3e!important;border-radius:4px!important;box-shadow:inset 0 1px #fff3,0 3px 5px #0005!important;text-shadow:0 1px #ffffff25;font-weight:800!important}.secondary,.view-product,.claim-quest,#refresh,.game-controls .secondary{background:linear-gradient(#404a48,#2c3434)!important;border:1px solid #68756c!important;border-bottom:3px solid #141c1e!important;color:#d4d7c9!important;border-radius:4px!important;box-shadow:inset 0 1px #b9c9b51a,0 2px 4px #0004!important}.primary:hover:not(:disabled),.secondary:hover:not(:disabled),.view-product:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(1px)!important;box-shadow:inset 0 2px 5px #0004!important}button:focus-visible,a:focus-visible{outline-color:#c0b085!important}.package{background:linear-gradient(#343d3b,#272f30)!important;border:1px solid #53605a!important;border-radius:4px!important;box-shadow:inset 0 1px #aabda715!important}.package.selected{background:linear-gradient(#52574b,#383f38)!important;border-color:#b3aa83!important;box-shadow:inset 0 0 0 1px #c0b68a33,0 2px 4px #0005!important}.package small{color:#b5bda6!important}.input,input,select{background-color:#191f21!important;border-color:#526159!important;color:#d9dfd3!important;border-radius:4px!important}.input input{background:transparent!important}.player,.identity,.collection{background:#1c2325!important;border-color:#536057!important;color:#bec7ba!important;border-radius:4px!important}.player,.identity{box-shadow:inset 0 1px 6px #0004}.item-kind,.badge{color:#c0af8b!important}.mini-stats span,.stats>span,.stat-grid>div,.lantern-stats b{background:#20282a!important;border-color:#4f5b54!important;border-radius:4px!important;color:#c6cfc0!important}.skill-badge{color:#bca883!important}.card.active{border-color:#a79c79!important;background:linear-gradient(130deg,#3d4139,#242d2d)!important}.quest-icon{background:#252e2f!important;border-color:#59695d!important;border-radius:4px!important;box-shadow:inset 0 1px #ccd6b91a,0 2px 4px #0005!important}.quest{border-color:#46524b!important}.quest h3{color:#d4dbc8}.quest small,.quest p{color:#a2b09f!important}.quest small b{color:#c8b587!important}.weekly-prize h3{color:#d2c29e!important}.weekly-prize p{color:#a8b49f!important}.progress-track{background:#39473d!important}.progress-track>div{background:#b3a472!important}.calendar-foot,.muted,.tiny-badge{color:#9fac9f!important}.tiny-badge{border-color:#4e5e52!important}.day-card{background:linear-gradient(#303a36,#242e2b)!important;border:1px solid #4d6052!important;border-radius:4px!important;box-shadow:inset 0 1px #bfd0b01a,0 3px 0 #0e1614!important;color:#afbfaa!important}.day-card.today{background:linear-gradient(#515347,#303b30)!important;border-color:#b1aa7c!important;color:#ddd5af!important;box-shadow:inset 0 1px #e1deb72a,0 3px 0 #343c2d!important}.day-card.claimed{background:#2e3e33!important;border-color:#6a8167!important}.day-card:last-child{border-color:#9d9473!important;background:linear-gradient(#41483d,#29362f)!important}.day-card small{color:#a3b39c!important}.day-card.today small{color:#c5be93!important}.board{background:#141e1e!important;border-color:#68796b!important;border-radius:5px!important;box-shadow:inset 0 3px 12px #0006}.cell{background:#25312e!important;border-color:#3e5145!important;border-radius:2px!important}.cell.mirror{background:linear-gradient(#495c55,#2e403b)!important;color:#b4d0be!important;border-color:#708477!important;text-shadow:1px 2px #14201b}.cell.wall{background:#26302e!important;border-color:#34443b!important}.cell.beacon.lit{background:#5b5739!important;border-color:#baab70!important}.hero{border-color:#687363!important;border-radius:5px!important}.hero-shade{background:linear-gradient(90deg,#17201ef7,#17201ec9 45%,#17201e22 85%),linear-gradient(0deg,#17201eaa,transparent 60%)!important}.hero-note,.hero p{color:#b5c0ac!important}.hero-footer,.hero-caption{color:#b3bba3!important}.hero .event-label{background:#20332a!important;border-color:#667a66!important;color:#b5c7ad!important}.hero .tagline{color:#aec7b0!important}.summon-panel,.guarantee-panel{background:linear-gradient(#323d38,#25302c)!important;border-color:#5a6c59!important;border-radius:5px!important}.banner-tab{color:#b9c4b4!important}.banner-tab.active{background:#3e4c3d!important;border-color:#9fa984!important}.banner-tab strong{color:#d4d9c6!important}.reward-preview,.result-card{background:linear-gradient(#354039,#232e2b)!important;border-color:#64745d!important;border-radius:5px!important}.wheel-panel{background:linear-gradient(#303936,#202a28)!important;border-color:#697461!important;border-radius:5px!important}.hub{background:linear-gradient(#434b3a,#283428)!important;border-color:#b4a779!important;box-shadow:0 3px 8px #0008,inset 0 1px #d5ddb449}.exclusive{background:linear-gradient(120deg,#354135,#232c2a)!important;border-color:#778466!important}.reward-panel small{color:#9eac98!important}.reward-panel h2,.exclusive h2{color:#cbd3bd!important}.reward-panel li{border-color:#465546!important}.reward-panel li b{color:#c0b27d!important}dialog{background:linear-gradient(140deg,#313a36,#202a28)!important;border:1px solid #8c9578!important;border-radius:6px!important;box-shadow:inset 0 1px #cbd5b429,0 20px 90px #000b!important}dialog p{color:#b6c1ac!important}dialog::backdrop{background:#101716dc!important}#detail-skills p{border-color:#a7a176!important;color:#c3cab5!important}.close,.close-dialog{background:#303b34!important;border-color:#697962!important;color:#b6c3aa!important;border-radius:4px!important}.story{border-color:#455543!important}.story h2{color:#c8d0bb!important}.story p,footer p{color:#98aa94!important}.text-button,.story a{color:#b1b799!important}#test-panel{background:#26342c!important;border-color:#6e7e5f!important}#toast{background:#bdb48a!important;color:#20291e!important;border-color:#d4cca2!important;border-radius:4px!important}.result-card{border-color:var(--rarity,#64745d)!important}.results-heading .section-label{color:#c9b28a!important}.app-shell-tabs .sprite{filter:saturate(.75)}
@media(max-width:650px){.hero-shade{background:linear-gradient(90deg,#18221ef2,#18221ea0),linear-gradient(0deg,#18221e88,transparent)!important}.illustrated-intro{border-radius:5px!important}.app-shell-tabs button[aria-selected=true]{border-color:#858b70!important}.app-shell .app-shell-bar{border-top-color:#5b6558!important}}
.mob-quest-art{width:85px;height:90px;object-fit:contain;float:right;margin:-5px -3px 6px 12px;filter:drop-shadow(2px 4px 0 #0005)}@media(max-width:650px){.mob-quest-art{width:65px;height:75px}}
.day-art img[src*="spark."],.cell.beacon img[src*="spark."]{object-fit:contain;transform:none}.quest-icon img[src*="spark."]{object-fit:contain;transform:none}.quest-icon>.sprite{width:40px;height:40px}.spark-icon{object-fit:contain!important;transform:none!important}.day-art img[src*="spark."]{width:52px;height:56px}.cell.beacon img[src*="spark."]{width:70%;height:75%}
.calendar{grid-template-columns:repeat(7,minmax(0,1fr))!important}.day-card{min-width:0}.day-art{width:min(75px,100%)}.calendar .day-card b{overflow-wrap:anywhere}.adventure-layout>*{min-width:0}.calendar-foot{flex-wrap:wrap}body[data-section=event] main{min-width:0;max-width:1240px}.calendar .day-card:last-child .day-art{min-width:0}@media(max-width:650px){.calendar{grid-template-columns:repeat(4,minmax(0,1fr))!important}.day-art img{max-width:100%}.day-card:last-child{grid-column:span 2}.hero-copy h1{font-size:34px!important}.hero-copy{max-width:100%}.calendar-foot{gap:8px}}
/* Fix atlas gutters, flow boundaries and the illustrated header text column. */
.sprite-store,.sprite-gacha,.sprite-wheel{clip-path:inset(0 0 8% 0)}
body[data-section=store] #store-main>.store{position:static!important;align-self:start!important;top:auto!important;z-index:auto!important}
body[data-section=store] #store-main>.details,body[data-section=store] #store-main>.terms{position:relative;isolation:isolate;grid-column:1/-1;clear:both}
.illustrated-intro{padding-right:235px!important}.illustrated-intro h1{max-width:100%!important;overflow-wrap:normal}.illustrated-intro>p{max-width:100%!important}.illustrated-intro .section-sprite{right:25px;top:25px;width:170px;height:170px}.illustrated-intro>.identity,.illustrated-intro>.player{max-width:100%!important}
.stats>span>span,.stats>span>.stat-art,.stat-grid>div>small{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:650px){.illustrated-intro{padding:20px 115px 20px 20px!important}.illustrated-intro h1{font-size:27px!important}.illustrated-intro .section-sprite{width:90px!important;height:105px!important;right:10px!important;top:28px!important}.illustrated-intro>.identity,.illustrated-intro>.player{width:calc(100% + 95px);max-width:none!important}.illustrated-intro>p{font-size:11px}.illustrated-intro>.eyebrow{font-size:9px}.illustrated-intro h1{line-height:1.2!important}.story{gap:0}.story>div{flex:1}}
/* Stat symbols are atlas viewports; the dice is its own source image. */
.stat-art{display:inline-block!important;position:relative!important;overflow:hidden!important;width:30px!important;height:30px!important;min-width:30px;flex-shrink:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;vertical-align:middle;clip-path:inset(0 0 5% 0)}
.stat-art>img{position:absolute!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;left:0!important;top:0!important;margin:0!important;padding:0!important;filter:none!important}
.stat-mk{clip-path:none}.stat-mk>img{width:100%!important;height:100%!important;object-fit:contain!important}
#detail-stats>span,.stat-grid>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px;padding:13px 16px!important;min-height:58px;background:#222c2b!important;border:1px solid #526058!important}
#detail-stats>span>.stat-art,.stat-grid>div>.stat-art{background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mini-stats .mini-stat{display:inline-flex;align-items:center;gap:4px;border:0!important;background:transparent!important;padding:0!important;color:#c7cfbd}.mini-stat .stat-art{width:22px!important;height:22px!important;min-width:22px}.mini-stats{gap:7px 12px!important}.stat-grid b{font-size:17px}.mini-stat b{font-weight:600}
@media(max-width:650px){#detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-art{width:27px!important;height:27px!important;min-width:27px}.mini-stat .stat-art{width:20px!important;height:20px!important;min-width:20px}.mini-stats{font-size:10px}}
.cell.wall img[src*="blocker."]{width:76%;height:86%;object-fit:contain!important}.cell.beacon img[src*="beacon."]{width:73%;height:88%;object-fit:contain;transform:none}.cell.beacon:not(.lit) img[src*="beacon."]{filter:grayscale(.7) brightness(.65);opacity:.75}.cell.beacon.lit img[src*="beacon."]{filter:drop-shadow(0 0 6px #66e5c4);opacity:1}.mythic-item>img[src*="mythic-chest."]{width:145px;height:145px;image-rendering:auto;filter:drop-shadow(3px 7px 0 #0006)}@media(max-width:650px){.mythic-item>img[src*="mythic-chest."]{width:85px;height:100px}}
.spark-icon{width:20px!important;height:23px!important;max-width:20px!important;max-height:23px!important;margin:0 4px!important;object-fit:contain!important;flex-shrink:0;align-self:center}.mythic-item{grid-template-columns:160px minmax(0,1fr) 180px!important;gap:22px!important}.mythic-item>div{min-width:0}@media(max-width:650px){.mythic-item{grid-template-columns:85px minmax(0,1fr)!important;gap:12px!important}.spark-icon{width:18px!important;height:21px!important;max-width:18px!important;max-height:21px!important}}
.app-shell-logo .brand-mascot{display:block;width:42px;height:46px;object-fit:contain;filter:drop-shadow(0 2px 1px #0006);flex-shrink:0}.cell.mirror{padding:0;overflow:hidden}.cell.mirror .maze-mirror{width:96%;height:96%;object-fit:contain;display:block;pointer-events:none;filter:drop-shadow(1px 2px 0 #0005);transform-origin:50% 50%}.cell.mirror:hover .maze-mirror{filter:drop-shadow(0 0 3px #b7d8c17a)}

@media(max-width:650px){body[data-section=gacha] .hero-copy #title{font-size:clamp(22px,6.4vw,31px)!important;overflow-wrap:anywhere;line-height:1.2!important}}
/* Scrolling: aged steel rails, quiet brass thumbs, no vertical rail in tab navigation. */
*{scrollbar-width:thin;scrollbar-color:#827f66 #1b2324}*::-webkit-scrollbar{width:8px;height:7px}*::-webkit-scrollbar-track{background:#1b2324;border-radius:4px}*::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#596358,#969074);border:2px solid #1b2324;border-radius:5px}*::-webkit-scrollbar-thumb:hover{background:#b1a782}*::-webkit-scrollbar-corner{background:#1b2324}*::-webkit-scrollbar-button{display:none;width:0;height:0}
.app-shell .app-shell-tabs{overflow-x:auto!important;overflow-y:hidden!important;align-items:center;flex-wrap:nowrap;min-height:56px;max-height:70px;scrollbar-width:none}.app-shell-tabs::-webkit-scrollbar{display:none}.app-shell-tabs button{flex:0 0 auto;max-height:64px;box-sizing:border-box}.app-shell-tabs button:focus:not(:focus-visible){outline:none}.app-shell .app-shell-bar{overflow:hidden;flex-shrink:0}.app-shell-loading{background:#1b2325!important;color:#c8c9b5!important;font:600 13px Manrope,Arial,sans-serif!important;gap:15px;align-content:center;justify-items:center}.app-shell-loading:before{content:'';display:block;width:28px;height:28px;border:2px solid #657263;border-top-color:#d0bd8d;border-radius:50%;animation:loading-turn .85s linear infinite}@keyframes loading-turn{to{transform:rotate(360deg)}}.maze-mirror.mirror-turn-0{transform:rotate(0deg)}.maze-mirror.mirror-turn-1{transform:rotate(90deg)}.maze-mirror.mirror-turn-2{transform:rotate(180deg)}.maze-mirror.mirror-turn-3{transform:rotate(270deg)}
@media(max-width:650px){.app-shell .app-shell-tabs{min-height:0;max-height:none;overflow:hidden!important}.app-shell-tabs button{flex:initial;min-height:58px;max-height:68px}.app-shell .app-shell-bar{height:calc(78px + env(safe-area-inset-bottom))!important}}@media(prefers-reduced-motion:reduce){.app-shell-loading:before{animation:none;border-top-color:#d0bd8d}}
/* Numeric inputs: one focus treatment and no browser stepper buttons. */
input[type=number]{appearance:textfield;-moz-appearance:textfield;font-variant-numeric:tabular-nums}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body .input{display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:58px;transition:border-color .15s,box-shadow .15s}body .input:focus-within{outline:none!important;border-color:#baad84!important;box-shadow:0 0 0 1px #baad8455,inset 0 1px 6px #0003}body .input input,body .input input:focus,body .input input:focus-visible{min-width:0;flex:1;width:100%;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;padding:0!important;border-radius:0!important;line-height:1.35}body .input>span{flex:none;padding-left:10px;border-left:1px solid #596157;color:#c3b995;font-size:18px;line-height:1.4}
.scroll-menu input[type=number],#potion-number,#exchange-amount{min-height:42px;padding:10px 12px;font-variant-numeric:tabular-nums;line-height:1.3}.scroll-menu input:focus,.scroll-menu input:focus-visible,.scroll-menu select:focus,.scroll-menu select:focus-visible,#potion-number:focus-visible,#exchange-amount:focus-visible{outline:none!important;border-color:#baad84!important;box-shadow:0 0 0 1px #baad8455;background:#1c2525!important}
/* Funding precedes merchandise on mobile and shares the top row on desktop. */
@media(min-width:951px){body[data-section=store] #store-main>.intro{grid-column:1;grid-row:1;align-self:start;padding-right:170px!important}body[data-section=store] #store-main>.intro .section-sprite{width:130px;height:145px;right:15px;top:25px}body[data-section=store] #store-main>.store{grid-column:2;grid-row:1}body[data-section=store] #store-main>.treasures{grid-column:1/-1;grid-row:2}body[data-section=store] .treasure-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.sprite,.stat-art{clip-path:none!important}
/* The atlas crop includes a detached gold shard at its left edge. */
.sprite-event>img{clip-path:inset(0 0 0 12%)}

/* Branded loading emblem; reduced-motion users get a static image. */
.app-shell-loading:before{width:84px;height:84px;border:0;border-radius:0;background:transparent url('/static/branding/loading-emblem.a7680790bb.webp') center/contain no-repeat;animation:emblem-breathe 1.4s ease-in-out infinite;filter:drop-shadow(0 3px 6px #0006)}
@keyframes emblem-breathe{0%,100%{opacity:.7;transform:scale(.96)}50%{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.app-shell-loading:before{animation:none;opacity:1;transform:none}}

/* Shared audio controls and static Kanami branding. */
.app-shell .app-shell-logo{border:0;background:transparent;padding:0;cursor:default;font-family:inherit;flex-shrink:0;white-space:nowrap}.app-shell .app-shell-logo:active{transform:none!important;box-shadow:none!important}.app-shell .app-shell-audio{margin-left:auto;flex-shrink:0;border:1px solid #6f795f;background:#293431;color:#c5bea2;border-radius:4px;padding:7px 9px;font:11px Manrope,Arial,sans-serif;cursor:pointer;white-space:nowrap}.app-shell .app-shell-audio[aria-pressed=false]{color:#94a298;background:#202a29;border-color:#46584c}.app-shell .app-shell-bar{gap:18px}.app-shell .app-shell-tabs{min-width:0}
@media(max-width:650px){.app-shell .app-shell-bar{height:calc(94px + env(safe-area-inset-bottom))!important;min-height:94px;padding:30px 6px calc(6px + env(safe-area-inset-bottom))!important;gap:0!important}.app-shell .app-shell-logo{display:flex!important;position:absolute;left:12px;top:3px;height:24px;gap:6px;font-size:10px;letter-spacing:1.5px}.app-shell .app-shell-logo .brand-mascot{width:22px;height:24px}.app-shell .app-shell-audio{position:absolute;right:12px;top:4px;margin:0;padding:3px 8px;font-size:9px;line-height:17px}.app-shell .app-shell-viewport{height:calc(100dvh - 94px - env(safe-area-inset-bottom))!important}}

/* Purple is reserved for epic item rarity. */
.art.rarity-epic,#detail-art .art.rarity-epic{background:radial-gradient(ellipse at 50% 40%,#69418c99,transparent 75%),#292033!important;border-color:#9867bd!important}
.result-card.rarity-epic{background:linear-gradient(160deg,#48305d,#241e30)!important;border-color:#c58aff!important}

/* Canonical bot rarity card backgrounds; mobs keep their neutral artwork. */
.art.rarity-common,#detail-art .art.rarity-common{background:url("/static/ui/rarity/common.a8d304e378.webp") center/100% 100% no-repeat!important;border-color:#8cbeff!important}
.result-card.rarity-common{background:linear-gradient(160deg,#8cbeff40,#1d2325 85%)!important;border-color:#8cbeff!important}
.art.rarity-rare,#detail-art .art.rarity-rare{background:url("/static/ui/rarity/rare.7e782984e7.webp") center/100% 100% no-repeat!important;border-color:#72d5a2!important}
.result-card.rarity-rare{background:linear-gradient(160deg,#72d5a240,#1d2325 85%)!important;border-color:#72d5a2!important}
.art.rarity-epic,#detail-art .art.rarity-epic{background:url("/static/ui/rarity/epic.047ce14f9a.webp") center/100% 100% no-repeat!important;border-color:#c58aff!important}
.result-card.rarity-epic{background:linear-gradient(160deg,#c58aff40,#1d2325 85%)!important;border-color:#c58aff!important}
.art.rarity-legendary,#detail-art .art.rarity-legendary{background:url("/static/ui/rarity/legendary.38a1c4d4a7.webp") center/100% 100% no-repeat!important;border-color:#f3c56c!important}
.result-card.rarity-legendary{background:linear-gradient(160deg,#f3c56c40,#1d2325 85%)!important;border-color:#f3c56c!important}
.art.rarity-mythic,#detail-art .art.rarity-mythic{background:url("/static/ui/rarity/mythic.da2c501a67.webp") center/100% 100% no-repeat!important;border-color:#ff7798!important}
.result-card.rarity-mythic{background:linear-gradient(160deg,#ff779840,#1d2325 85%)!important;border-color:#ff7798!important}
.art.rarity-special,#detail-art .art.rarity-special{background:url("/static/ui/rarity/special.a444e8df3e.webp") center/100% 100% no-repeat!important;border-color:#efa06a!important}
.result-card.rarity-special{background:linear-gradient(160deg,#efa06a40,#1d2325 85%)!important;border-color:#efa06a!important}
.art.rarity-lost,#detail-art .art.rarity-lost{background:url("/static/ui/rarity/lost.14663c6e19.webp") center/100% 100% no-repeat!important;border-color:#c4c9ce!important}
.result-card.rarity-lost{background:linear-gradient(160deg,#c4c9ce40,#1d2325 85%)!important;border-color:#c4c9ce!important}
.art.rarity-error,#detail-art .art.rarity-error{background:url("/static/ui/rarity/error.c75aed1877.webp") center/100% 100% no-repeat!important;border-color:#b4d35c!important}
.result-card.rarity-error{background:linear-gradient(160deg,#b4d35c40,#1d2325 85%)!important;border-color:#b4d35c!important}
