.dungeon-root{background-color:#0c0704;color:#d97706;font-family:MedievalSharp,cursive;min-height:100vh;position:relative;overflow:hidden}.dungeon-title{font-family:Cinzel Decorative,cursive}.dungeon-bg{inset:0;background:radial-gradient(circle at 50% 0,rgba(180,20,20,.15) 0,rgba(0,0,0,.9) 70%);z-index:0}.dungeon-bg,.ember{position:absolute;pointer-events:none}.ember{bottom:-20px;background:#ff5722;border-radius:50%;box-shadow:0 0 10px #ff5722,0 0 20px #ff0000;animation:floatUp linear infinite;opacity:0;z-index:1}@keyframes floatUp{0%{transform:translateY(0) scale(1);opacity:0}10%{opacity:.8}90%{opacity:.5}to{transform:translateY(-100vh) scale(.2);opacity:0}}.ember:first-child{left:10%;animation-duration:8s;animation-delay:0s;width:4px;height:4px}.ember:nth-child(2){left:20%;animation-duration:6s;animation-delay:1s;width:6px;height:6px}.ember:nth-child(3){left:30%;animation-duration:9s;animation-delay:2s;width:3px;height:3px}.ember:nth-child(4){left:40%;animation-duration:5s;animation-delay:.5s;width:5px;height:5px}.ember:nth-child(5){left:50%;animation-duration:10s;animation-delay:3s;width:7px;height:7px}.ember:nth-child(6){left:60%;animation-duration:7s;animation-delay:1.5s;width:4px;height:4px}.ember:nth-child(7){left:70%;animation-duration:8.5s;animation-delay:2.5s;width:5px;height:5px}.ember:nth-child(8){left:80%;animation-duration:6.5s;animation-delay:.8s;width:6px;height:6px}.ember:nth-child(9){left:90%;animation-duration:7.5s;animation-delay:4s;width:3px;height:3px}.ember:nth-child(10){left:25%;animation-duration:9.5s;animation-delay:1.2s;width:5px;height:5px}.ember:nth-child(11){left:45%;animation-duration:5.5s;animation-delay:3.5s;width:4px;height:4px}.ember:nth-child(12){left:65%;animation-duration:8.2s;animation-delay:.2s;width:6px;height:6px}.ember:nth-child(13){left:85%;animation-duration:7.8s;animation-delay:2.8s;width:5px;height:5px}.ember:nth-child(14){left:15%;animation-duration:6.2s;animation-delay:1.7s;width:3px;height:3px}.ember:nth-child(15){left:35%;animation-duration:9.1s;animation-delay:4.5s;width:7px;height:7px}.ember:nth-child(16){left:55%;animation-duration:5.8s;animation-delay:.9s;width:4px;height:4px}.ember:nth-child(17){left:75%;animation-duration:8.7s;animation-delay:3.1s;width:5px;height:5px}.ember:nth-child(18){left:95%;animation-duration:6.9s;animation-delay:2.1s;width:6px;height:6px}.ember:nth-child(19){left:5%;animation-duration:7.3s;animation-delay:4.8s;width:3px;height:3px}.ember:nth-child(20){left:50%;animation-duration:11s;animation-delay:.3s;width:8px;height:8px}.dungeon-shake{animation:dShake .3s ease-in-out}@keyframes dShake{0%{transform:translateX(0);filter:brightness(1)}25%{transform:translateX(-5px) rotate(-1deg);filter:brightness(1.5) hue-rotate(-20deg)}50%{transform:translateX(5px) rotate(1deg);filter:brightness(1)}75%{transform:translateX(-5px) rotate(-1deg);filter:brightness(.8)}to{transform:translateX(0);filter:brightness(1)}}.monster-card{background:rgba(20,10,5,.8);border:2px solid #5a3a22;box-shadow:0 4px 15px rgba(0,0,0,.8),inset 0 0 20px rgba(139,69,19,.3);position:relative}.monster-card:before{content:"";position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;border:1px solid #a67c52;pointer-events:none;opacity:.3}.monster-target{border-color:#ff3b3b;box-shadow:0 0 25px rgba(255,59,59,.4),inset 0 0 30px rgba(255,0,0,.2)}.boss-card{background:rgba(40,5,5,.9);border:2px solid #8b0000;box-shadow:0 0 30px rgba(139,0,0,.6)}.boss-target{border-color:#ff0000;box-shadow:0 0 40px rgba(255,0,0,.8)}.dungeon-type-tutorial-overlay{position:fixed!important;inset:0!important;z-index:120!important;overflow-y:auto;overscroll-behavior:contain}.dungeon-type-tutorial-card{max-height:calc(100dvh - 2rem);overflow-y:auto;overscroll-behavior:contain}.dungeon-type-end-overlay{z-index:120!important;overflow-y:auto;overscroll-behavior:contain}.dungeon-type-wrapper:has(.dungeon-type-end-overlay) .game-hardware-controls{display:none!important}.dungeon-type-end-content .font-mono,.dungeon-type-theme:not([lang=en]) .dungeon-type-end-content [aria-label]{font-family:var(--dungeon-type-word-font)!important;letter-spacing:0}.dungeon-type-end-content{width:min(100%,32rem)!important;max-height:calc(100dvh - 2rem);overflow-y:auto;overscroll-behavior:contain}@media (max-height:640px){.dungeon-type-tutorial-overlay{align-items:flex-start!important;padding:.5rem!important}.dungeon-type-tutorial-card{max-height:calc(100dvh - 1rem);padding:1rem!important}.dungeon-type-tutorial-card h2{margin-bottom:1rem!important;padding-bottom:.75rem!important}.dungeon-type-tutorial-card ul{margin-bottom:1rem!important}.dungeon-type-tutorial-card ul>li+li{margin-top:.75rem!important}.dungeon-type-end-overlay{align-items:flex-start!important;justify-content:center!important;padding:.5rem!important}.dungeon-type-end-content{max-height:calc(100dvh - 1rem);gap:.75rem!important;padding:.75rem!important}.dungeon-type-end-content>div:first-child svg{width:3.25rem!important;height:3.25rem!important}.dungeon-type-end-content>h1{margin:0!important;font-size:2rem!important;line-height:1!important}.dungeon-type-end-content>div.grid{gap:.5rem!important}.dungeon-type-end-content>div.grid>div{padding:.45rem .6rem!important}.dungeon-type-end-content>div:last-child{display:flex!important;width:100%;flex-direction:column!important;gap:.5rem!important;margin-top:0!important}.dungeon-type-end-content>div:last-child button{width:100%;justify-content:center;padding:.7rem 1rem!important}}