.epic-layer{pointer-events:none;z-index:4;position:absolute;inset:0;overflow:hidden}.epic-zone{background:#a8733b33;border:1px solid #d99b5488;position:absolute}.epic-zone img{object-fit:cover;width:100%;height:100%}.epic-zone span{color:#f4dfc3;background:#111d;padding:2px 5px;font-size:11px;position:absolute;top:3px;left:3px}.epic-zone.light{border:0;border-radius:50%;animation:3s infinite alternate epic-flicker}.epic-zone.darkness{animation:none}.epic-zone.portal{border:3px double #bd91ed;border-radius:50%;animation:2s infinite alternate epic-flicker;box-shadow:0 0 20px #aa75ef80}.epic-projectiles{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.epic-ray path{stroke:#bb93ef;stroke-width:.5px;stroke-dasharray:12 88;animation:.7s linear 3 epic-flight}.epic-ray circle{fill:#f9d66c}.epic-ray.fire path{stroke:#ff8849}.epic-ray.lightning path{stroke:#d6faff}.epic-ray.healing path{stroke:#80e1a8}.epic-aura{fill:none;stroke:#bba2ef88;stroke-width:.25px;stroke-dasharray:1 .7;animation:2s infinite alternate epic-flicker}.epic-motion .map-token img{animation:4s ease-in-out infinite epic-breathe}.epic-motion .map-token{transition:left .45s,top .45s,opacity .5s,filter .5s}.epic-motion .map-token[data-defeated=true]{filter:grayscale();opacity:.55}.epic-studio{max-height:77vh;padding-right:5px;overflow:auto}.epic-tabs{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.epic-tabs button[aria-pressed=true]{background:#d99b5422;border-color:#d99b54}.epic-cards{grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:12px;display:grid}.epic-card{background:#202826;border:1px solid #71634c;border-radius:12px;padding:18px}.epic-card img{object-fit:contain;width:100%;max-height:230px}.epic-card p{white-space:pre-wrap}.epic-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.epic-editor{border:1px solid #d99b54;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0;padding:18px;display:grid}.epic-editor label{flex-direction:column;gap:5px;display:flex}.epic-editor textarea{min-height:90px}.epic-editor .span{grid-column:1/-1}.epic-inspection{background:#121a18;position:relative;overflow:hidden}.epic-inspection img{width:100%;max-height:none;transition:transform .3s;display:block}.epic-inspection button{color:#ffe3bc;background:#16251bdd;border:2px solid #d99b54;border-radius:50%;width:28px;height:28px;position:absolute;transform:translate(-50%,-50%)}.epic-evidence{background:#15201d;border-radius:12px;width:100%;height:250px}.epic-evidence text{fill:#ffe3bc;font-size:11px}.epic-evidence line{stroke:#ae8055;stroke-width:2px}.epic-replay .battle-map{pointer-events:none}.epic-camera{overflow:hidden}.epic-camera>div{transform-origin:50%;transition:transform 1.2s}.epic-book{max-width:850px;margin:auto}.epic-book article{break-inside:avoid;margin-bottom:32px}.epic-book img{object-fit:contain;max-width:100%;max-height:380px}.epic-still *,.still .epic-ray path,.still .epic-zone,.still .epic-aura{transition:none!important;animation:none!important}@keyframes epic-flight{0%{stroke-dashoffset:100px}to{stroke-dashoffset:0}}@keyframes epic-breathe{50%{transform:scale(1.035)}}@keyframes epic-flicker{to{opacity:.68}}@media (prefers-reduced-motion:reduce){.epic-motion *,.epic-layer *,.epic-camera>div{transition:none!important;animation:none!important}}@media (max-width:650px){.epic-editor{grid-template-columns:1fr}}dialog:has(.epic-studio){width:min(1150px,95vw);max-width:1150px}@media print{body:has(.epic-book) *{visibility:hidden}:is(body:has(.epic-book) .epic-book,body:has(.epic-book) .epic-book *){visibility:visible}.epic-book{color:#000;background:#fff;max-width:none;position:absolute;inset:0}.epic-book button{display:none}dialog:has(.epic-book){width:100%;max-width:none;max-height:none;position:absolute;inset:0;overflow:visible}.epic-studio:has(.epic-book){max-height:none;overflow:visible}}dialog.modal.wide:has(.epic-studio){width:min(1150px,95vw);max-width:1150px}.epic-studio label:has(>input[type=checkbox]){flex-direction:row;align-items:center;gap:8px;display:flex}.epic-studio input[type=checkbox]{width:auto;min-width:16px;margin:0}.epic-studio select[multiple]{min-height:110px}.epic-zone.scene.fire{background:repeating-radial-gradient(at bottom,#fe782077,#c73d1855 18%,#0000 25%);animation:1.3s infinite alternate epic-flicker}.epic-zone.scene.water{background:#337eb477;box-shadow:inset 0 0 20px #85ddfb80}.epic-zone.scene.collapse{background:repeating-linear-gradient(35deg,#312c2788,#312c2788 8px,#85735c77 9px 14px)}.adventure-tabs{flex-wrap:wrap;gap:7px;margin-bottom:18px;display:flex}.adventure-tabs .button{font-size:12px}.adventure-studio fieldset>label,.adventure-editor label{margin:12px 0;display:block}.adventure-studio input[type=checkbox]{margin-right:8px}.adventure-studio .button{margin:4px}.adventure-cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:18px;display:grid}.adventure-card{overflow:hidden}.adventure-card>img{object-fit:cover;width:100%;height:210px}.adventure-pad,.adventure-editor{margin:12px 0;padding:18px}.preserve-lines{white-space:pre-wrap}.adventure-card progress{accent-color:#e8b667;width:100%;height:22px}.adventure-editor{border:2px solid #e8b667}.adventure-world{background:radial-gradient(#384737,#17241f);border:1px solid #738265;border-radius:14px;height:430px;margin:16px 0;position:relative;overflow:hidden}.adventure-world>img,.adventure-world>svg{object-fit:fill;width:100%;height:100%;position:absolute;inset:0}.world-pin{color:#ffdb91;background:#17241fee;border:1px solid #b49459;border-radius:50%;width:30px;height:30px;position:absolute;transform:translate(-50%,-50%)}.world-pin span{white-space:nowrap;background:#17241fee;border-radius:5px;padding:3px 6px;font-size:12px;position:absolute;top:28px;left:0}.puzzle-pieces{flex-wrap:wrap;gap:10px;display:flex}.puzzle-pieces .button{min-width:64px;min-height:64px;font-size:28px}.adventure-object{z-index:7;color:#f9dba5;background:#5c452fee;border:2px solid #c2a878;min-width:0;padding:0;font-size:18px;position:absolute}.adventure-object.opened{opacity:.4;background:0 0;border-style:dashed}.adventure-object.destroyed{color:#d49e79;background:repeating-linear-gradient(45deg,#51453788 0 4px,#0000 4px 8px);border-style:dashed}.adventure-object.trap{background:#5d2829bb;border-radius:50%}.adventure-elevation{z-index:16;pointer-events:none;color:#c7dcf4;background:#16202ce8;border:1px solid #879bb4;border-radius:5px;padding:2px 4px;font-size:11px;position:absolute}.adventure-atmosphere{pointer-events:none;z-index:13;opacity:.3;position:absolute;inset:0;overflow:hidden}.weather-rain{background:repeating-linear-gradient(105deg,#0000 0 28px,#a7cddf 29px 30px,#0000 31px 65px);animation:.8s linear infinite rainfall}.weather-snow,.weather-ash{background-image:radial-gradient(circle,#eee 1px,#0000 3px),radial-gradient(circle,#ddd 2px,#0000 4px);background-size:70px 80px,110px 120px;animation:12s linear infinite drift}.weather-ash{filter:sepia();opacity:.25}.weather-fog{background:radial-gradient(at 20% 40%,#dae6dacc,#0000 65%),radial-gradient(at 90% 70%,#dae6daaa,#0000 60%);animation:18s ease-in-out infinite alternate fogdrift}.weather-fire{background:radial-gradient(at bottom,#df772555,#0000 65%);animation:3s ease-in-out infinite alternate torchlight;box-shadow:inset 0 0 140px #e79121}.weather-water{background:repeating-radial-gradient(#0000 0 30px,#7bd3dd55 31px 33px,#0000 34px 60px);animation:5s ease-in-out infinite ripple}.adventure-fx{z-index:25;pointer-events:none;text-align:center;color:#e2bbfa;animation:1.2s ease-out 3 spellburst;position:absolute;transform:translate(-50%,-50%)}.adventure-fx i{text-shadow:0 0 40px;font-size:95px;font-style:normal;display:block}.adventure-fx small{white-space:nowrap;background:#111d;border-radius:5px;padding:4px}.effect-fire{color:#ff954a}.effect-lightning{color:#9cddff}.effect-healing{color:#82ffd0}.effect-critical{color:#ffe27a}.adventure-audio{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.adventure-audio label{align-items:center;gap:7px;display:flex}.adventure-audio input[type=range]{width:90px}.adventure-presentation{background:#0e1512;min-height:100vh;padding:16px}.adventure-presentation header{flex-wrap:wrap;gap:8px;display:flex}.adventure-presentation .battle-map{max-height:82vh}.cinematic-reveal{text-align:center;max-width:1100px;margin:25px auto;animation:1.5s ease-out reveal-in}.cinematic-reveal img{object-fit:contain;filter:drop-shadow(0 12px 50px #000);max-width:100%;max-height:60vh}.cinematic-reveal h1{color:#f1cb89;margin:20px;font-size:clamp(28px,4vw,64px)}.cinematic-reveal p{white-space:pre-wrap;max-width:800px;margin:auto;font-size:20px}.still{animation:none!important}.adventure-presentation header:not(:hover){opacity:.6}@keyframes rainfall{to{background-position:-20px 70px}}@keyframes drift{to{background-position:70px 160px,110px 240px}}@keyframes fogdrift{to{opacity:.65;transform:scale(1.1)}}@keyframes torchlight{to{opacity:.55}}@keyframes ripple{50%{opacity:.5;transform:scale(1.06)}}@keyframes spellburst{0%{opacity:0;scale:.3}35%{opacity:1;scale:1.3}to{opacity:0;scale:1.8}}@keyframes reveal-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.adventure-atmosphere,.adventure-fx,.cinematic-reveal{animation:none!important}}dialog:has(.adventure-studio){width:min(1100px,94vw);max-width:1100px}.adventure-studio .adventure-editor{margin-top:25px}.cinematic-dialog{background:#0e1512;border-color:#a98b57}
