.sorthell{min-height:100svh;padding:calc(env(safe-area-inset-top) + 14px) 16px calc(env(safe-area-inset-bottom) + 18px);color:#fff;flex-direction:column;gap:14px;max-width:480px;margin:0 auto;font-family:Arial,Noto Sans JP,sans-serif;transition:background 1.4s;display:flex}.sorthell header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.sorthell .title-block{background:#160f26cc;border:1px solid #3c2f5e;border-radius:12px;padding:6px 12px 8px}.sorthell header h1{letter-spacing:.03em;margin:0;font-size:20px;font-weight:900}.sorthell .kicker{letter-spacing:.08em;color:#bcaeea;opacity:.9;margin-bottom:2px;font-size:10px;display:block}.sorthell .header-controls{align-items:center;gap:6px;display:flex}.sorthell .diary-toggle,.sorthell .audio-toggle{color:#e3d9ff;cursor:pointer;background:#160f26;border:1px solid #4a3b6a;border-radius:10px;align-items:center;gap:4px;width:auto;height:34px;padding:0 8px;font-size:15px;display:flex}.sorthell .diary-toggle:disabled,.sorthell .audio-toggle:disabled{opacity:.3;cursor:default}.sorthell .volume-slider{appearance:none;cursor:pointer;background:#160f26;border:1px solid #4a3b6a;border-radius:10px;width:56px;height:34px;padding:0 4px}.sorthell .volume-slider::-webkit-slider-runnable-track{background:#3c2f5e;border-radius:999px;height:3px}.sorthell .volume-slider::-moz-range-track{background:#3c2f5e;border-radius:999px;height:3px}.sorthell .volume-slider::-webkit-slider-thumb{appearance:none;background:#8a5cff;border:1px solid #c3aeff;border-radius:999px;width:12px;height:12px;margin-top:-4.5px;box-shadow:0 0 6px -1px #8a5cff}.sorthell .volume-slider::-moz-range-thumb{background:#8a5cff;border:1px solid #c3aeff;border-radius:999px;width:12px;height:12px;box-shadow:0 0 6px -1px #8a5cff}.sorthell .diary-toggle small{color:#9fb3ff;font-size:9px}.sorthell .stats{color:#d8cfff;gap:8px;font-size:11px;font-weight:800;display:flex}.sorthell .stats b{white-space:nowrap;background:#1a1428;border:1px solid #3c2f5e;border-radius:8px;padding:4px 8px}.sorthell .lang-switch{gap:4px;display:flex}.sorthell .lang-switch button{color:#d8cfff;cursor:pointer;background:#160f26;border:1px solid #4a3b6a;border-radius:6px;padding:3px 6px;font-size:10px}.sorthell .lang-switch button.active{color:#0a0713;background:#8a5cff;border-color:#8a5cff}.sorthell .rule{color:#cfc4ea;background:#160f26;border:1px solid #3c2f5e;border-radius:10px;margin:0;padding:8px 12px;font-size:12px;line-height:1.5}.sorthell .queue-strip{background:#120c1e;border:1px solid #3c2f5e;border-radius:14px;align-items:center;gap:8px;padding:10px 12px;display:flex;overflow-x:auto}.sorthell .chip{color:#0a0713;text-shadow:0 1px #fff6;border-radius:10px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;font-size:15px;transition:transform .12s;display:flex;box-shadow:0 2px 6px #0007}.sorthell .chip.front{width:44px;height:44px;font-size:19px;box-shadow:0 0 0 3px #fff3,0 2px 10px #0009}.sorthell .chip.empty{background:#1c1530;border:1px dashed #3c2f5e}.sorthell .chip.memory{color:#fff;background:radial-gradient(circle,#eee 0%,#666 100%);animation:1.1s ease-in-out infinite flicker}.sorthell .chip.ice{animation:1.3s ease-in-out infinite iceThrob;box-shadow:0 0 0 3px #eaf9ffee,0 0 14px -2px #bfe9ff,0 2px 6px #0007}.sorthell .chip.ice:after{content:"";mix-blend-mode:overlay;pointer-events:none;background:repeating-linear-gradient(115deg,#fff9 0 2px,#0000 2px 7px),repeating-linear-gradient(25deg,#fff6 0 1.5px,#0000 1.5px 9px);border-radius:12px;position:absolute;inset:-3px}.sorthell .ice-hits{color:#eaf9ff;background:#0a0713;border:2px solid #bfe9ff;border-radius:999px;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:900;display:flex;position:absolute;bottom:-8px;right:-8px;box-shadow:0 2px 6px #000a}.sorthell .chip{position:relative}.sorthell .queue-strip.danger{animation:.5s ease-in-out infinite queuePulse}.sorthell .item-bar{gap:8px;display:flex}.sorthell .item-button{color:#e3d9ff;cursor:pointer;background:#160f26;border:1px solid #4a3b6a;border-radius:10px;align-items:center;gap:5px;padding:6px 10px;font-size:15px;display:flex;position:relative}.sorthell .item-button small{color:#9fb3ff;background:#0a0713;border:1px solid #3c2f5e;border-radius:999px;min-width:15px;padding:1px 4px;font-size:10px;font-weight:900}.sorthell .item-button:disabled{opacity:.3;cursor:default}.sorthell .item-button:not(:disabled){box-shadow:0 0 12px -3px #8a5cff}.sorthell .scenery{background-image:linear-gradient(180deg,#0000 0%,#0000 55%,#0002 100%),radial-gradient(var(--floor-b) 1px,transparent 1.6px);background-position:0 0,4px 6px;background-size:auto,26px 26px;border-radius:14px;flex:1;min-height:170px;position:relative;overflow:hidden}.sorthell .map-floor{background-image:repeating-linear-gradient(90deg,var(--floor-a) 0 34px,var(--floor-b) 34px 68px);transform-origin:bottom;background-size:68px 68px;height:56%;transition:background-position-x .35s;position:absolute;bottom:0;left:-40%;right:-40%;transform:perspective(220px)rotateX(62deg);-webkit-mask-image:linear-gradient(#0000 0%,#000 45%);mask-image:linear-gradient(#0000 0%,#000 45%)}.sorthell .scenery:after{content:"";background:linear-gradient(90deg,transparent,var(--floor-b),transparent);opacity:.6;height:1px;position:absolute;bottom:44%;left:0;right:0}.sorthell .battle-tint{mix-blend-mode:multiply;opacity:0;pointer-events:none;z-index:1;background:radial-gradient(circle at 50% 20%,#ff3d5a33,#7a223622 60%,#0000 100%);animation:.5s forwards battleTintIn;position:absolute;inset:0}.sorthell .landmark{background:var(--floor-b);transition:left 1.2s;position:absolute;bottom:44%}.sorthell .landmark.spire{opacity:.55;clip-path:polygon(50% 0,100% 100%,0 100%);width:10px;height:38px}.sorthell .landmark.window{border:3px solid var(--floor-b);opacity:.4;background:0 0;border-radius:2px;width:20px;height:28px;bottom:48%}.sorthell .landmark.window:after{content:"";background:var(--floor-b);width:3px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.sorthell .landmark.arch{opacity:.32;border-radius:12px 12px 0 0;width:24px;height:46px;bottom:44%}.sorthell .debris-layer{pointer-events:none;transition:opacity .6s,filter .6s;position:absolute;inset:0}.sorthell .debris-layer.calm{opacity:.1;filter:grayscale()blur(.3px)}.sorthell .debris-layer.far{opacity:.4;filter:blur(1px)saturate(.7)}.sorthell .debris-layer.far.calm{opacity:.06;filter:grayscale()blur(1.2px)}.sorthell .debris{transition:left .5s cubic-bezier(.3,.6,.4,1),top .5s;position:absolute;transform:translate(-50%,-50%)}.sorthell .girl-wrap{opacity:.95;filter:drop-shadow(0 4px 6px #0007);transition:left 1s cubic-bezier(.4,0,.2,1),opacity .3s,transform .15s;position:absolute;bottom:38%;left:40%}.sorthell .girl-pixel{image-rendering:pixelated}.sorthell .girl-wrap.approach{left:60%}.sorthell .girl-wrap.flash{opacity:0;transition:opacity .2s}.sorthell .girl-wrap.arrive{opacity:.95;transition:left,opacity .5s .3s;left:24%}.sorthell .weapon-prop{transform-origin:0 0;position:absolute;top:33px;left:29px;transform:rotate(18deg)}.sorthell .weapon-pixel{image-rendering:pixelated}.sorthell .boss-wrap{opacity:0;transform-origin:top;filter:drop-shadow(0 6px 12px #000a);transition:opacity .5s,transform .5s;position:absolute;top:10%;left:66%;transform:translate(-50%)scale(.24)}.sorthell .boss-pixel{image-rendering:pixelated}.sorthell .boss-wrap.approaching{opacity:0;transform:translate(-50%)scale(.24)}.sorthell .boss-wrap.active{opacity:1;animation:2.4s ease-in-out infinite bossFloat;transform:translate(-50%)scale(.48)}.sorthell .boss-wrap.defeated{opacity:0;transition:opacity .9s .2s,transform .9s .2s;transform:translate(-50%)scale(.64)}.sorthell .boss-hp{z-index:2;background:#0a0713cc;border:1px solid #3c2f5e;border-radius:999px;width:56%;height:7px;position:absolute;top:4%;left:50%;overflow:hidden;transform:translate(-50%)}.sorthell .boss-hp-fill{background:linear-gradient(90deg,#ff6ad5,#8a5cff);height:100%;transition:width .4s}.sorthell .door{opacity:0;border:2px solid #8a5cff;border-radius:8px 8px 0 0;width:36px;height:68px;transition:opacity .4s,transform .4s;position:absolute;bottom:38%;transform:scale(.5);box-shadow:0 0 22px -3px #8a5cff}.sorthell .door-out{left:70%}.sorthell .door-in{left:12%}.sorthell .door-out.approach,.sorthell .door-out.flash,.sorthell .door-in.arrive{opacity:1;transform:scale(1)}.sorthell .door-out.arrive,.sorthell .door-out.idle,.sorthell .door-in.idle,.sorthell .door-in.approach{opacity:0;transform:scale(.5)}.sorthell .scenery-flash{background:#fff;animation:.5s sceneryFlash;position:absolute;inset:0}.sorthell .bins{flex:1;align-items:end;gap:10px;display:grid}.sorthell .bin{cursor:pointer;background:#160f26;border:2px solid #3c2f5e;border-radius:16px;flex-direction:column;align-items:center;min-height:180px;padding:34px 10px 10px;transition:opacity .15s,transform .1s,box-shadow .3s;display:flex;position:relative;overflow:hidden}.sorthell .bin:active{transform:scale(.97)}.sorthell .bin.off{opacity:.32;pointer-events:none}.sorthell .bin.burst{animation:.5s binBurst}.sorthell .bin.burst:after{content:"";pointer-events:none;background:radial-gradient(circle,#fff 0%,#fff0 70%);border-radius:14px;animation:.5s binFlash;position:absolute;inset:0}.sorthell .bin b{text-align:center;color:#e3d9ff;text-shadow:0 1px 2px #000;font-size:11px;font-weight:900;position:absolute;top:8px;left:0;right:0}.sorthell .bin-stack{flex-direction:column-reverse;gap:4px;width:100%;height:100%;display:flex}.sorthell .segment{color:#0a0713;background:#1c1530;border:1px solid #362a54;border-radius:7px;flex:1;justify-content:center;align-items:center;min-height:0;font-size:13px;transition:background .15s,border-color .15s;display:flex}.sorthell .segment.filled{border-color:#0007;box-shadow:inset 0 2px 3px #fff6,inset 0 -3px 4px #0004}.sorthell .toast{color:#e3d9ff;z-index:20;background:#160f26;border:1px solid #8a5cff;border-radius:999px;padding:10px 16px;font-size:12px;animation:.25s toastIn;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #000a}.sorthell .combo-badge{color:#ffe08a;letter-spacing:.03em;text-shadow:0 0 14px #ff6ad5,0 0 28px #8a5cff,0 2px 4px #000a;z-index:20;pointer-events:none;font-size:28px;font-weight:900;animation:.7s cubic-bezier(.2,.9,.3,1.3) comboPop;position:fixed;top:38%;left:50%;transform:translate(-50%,-50%)}.sorthell .transition-banner{color:#fff;letter-spacing:.08em;text-shadow:0 0 18px #8a5cff,0 0 34px #ff6ad5,0 2px 6px #000c;z-index:25;pointer-events:none;font-size:34px;font-weight:900;animation:.4s cubic-bezier(.2,.9,.3,1.3) transitionBannerIn;position:fixed;top:42%;left:50%;transform:translate(-50%,-50%)}.sorthell .boss-countdown{color:#cfc4ea;letter-spacing:.03em;white-space:nowrap;background:#0a0713aa;border:1px solid #3c2f5e;border-radius:999px;padding:4px 10px;font-size:10px;font-weight:800;position:absolute;top:4%;left:50%;transform:translate(-50%)}.sorthell .overlay{z-index:10;background:#000c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.sorthell .sheet{text-align:center;background:#160f26;border:2px solid #8a5cff;border-radius:18px;width:100%;max-width:340px;padding:24px 20px}.sorthell .sheet h2{color:#c3aeff;margin:0 0 10px;font-size:20px}.sorthell .sheet p{color:#cfc4ea;margin:0 0 18px;font-size:13px}.sorthell .sheet button{cursor:pointer;border:none;border-radius:12px;width:100%;margin-top:8px;padding:14px;font-size:14px;font-weight:900}.sorthell .sheet .primary{color:#0a0713;background:#8a5cff}.sorthell .sheet .share{color:#d8cfff;background:#1a1428;border:1px solid #3c2f5e}.sorthell .sheet.diary{text-align:left}.sorthell .sheet.diary h2{text-align:center}.sorthell .diary-empty{text-align:center;color:#9d8fc0}.sorthell .diary-list{flex-direction:column;gap:8px;max-height:40vh;margin:0 0 14px;padding:0;list-style:none;display:flex;overflow-y:auto}.sorthell .diary-list li{color:#e3d9ff;background:#1a1428;border:1px solid #3c2f5e;border-radius:10px;padding:10px 12px;font-size:12.5px;line-height:1.6}@keyframes queuePulse{0%,to{box-shadow:inset 0 0 0 1px #8a5cff00}50%{box-shadow:inset 0 0 0 2px #8a5cffcc}}@keyframes flicker{0%,to{opacity:1}45%{opacity:1}50%{opacity:.4}55%{opacity:1}78%{opacity:.7}82%{opacity:1}}@keyframes toastIn{0%{opacity:0;transform:translate(-50%)translateY(8px)}to{opacity:1;transform:translate(-50%)translateY(0)}}@keyframes sceneryFlash{0%{opacity:0}40%{opacity:.95}to{opacity:0}}@keyframes iceThrob{0%,to{box-shadow:0 0 0 3px #eaf9ffee,0 0 14px -2px #bfe9ff,0 2px 6px #0007}50%{box-shadow:0 0 0 3px #eaf9ffee,0 0 22px 2px #bfe9ff,0 2px 6px #0007}}@keyframes bossFloat{0%,to{transform:translate(-50%)translateY(0)scale(.48)}50%{transform:translate(-50%)translateY(-4px)scale(.5)}}@keyframes binBurst{0%{transform:scale(1)}30%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes binFlash{0%{opacity:.9}to{opacity:0}}@keyframes comboPop{0%{opacity:0;transform:translate(-50%,-50%)scale(.4)rotate(-4deg)}25%{opacity:1;transform:translate(-50%,-50%)scale(1.15)rotate(2deg)}45%{transform:translate(-50%,-50%)scale(1)rotate(0)}80%{opacity:1}to{opacity:0;transform:translate(-50%,-50%)scale(1)translateY(-14px)}}@keyframes battleTintIn{0%{opacity:0}to{opacity:1}}@keyframes transitionBannerIn{0%{opacity:0;transform:translate(-50%,-50%)scale(.6)}60%{opacity:1;transform:translate(-50%,-50%)scale(1.08)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (max-width:360px){.sorthell .bins{gap:7px}.sorthell .bin{min-height:150px}}
