/* Mistbound: one visual language for camp, route and the existing 3D card arena. */
#worldAdventureView{--journey-gold:#e9c889;--journey-ink:#0e2227;--journey-line:#a7beae2b;--journey-serif:"Noto Serif SC","Songti SC",SimSun,serif}
#worldAdventureView.expedition-in-battle{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
#worldAdventureView .ascent-heading{background:#101f24;padding:20px 30px;border-color:var(--journey-line)}
#worldAdventureView .ascent-heading h2{font-size:26px;letter-spacing:.1em}
#worldAdventureLobby.ascent-lobby{background:#101f24}
.ascent-prologue{min-height:515px;background:#17332d;border-bottom:1px solid #d6bd7d44}
.ascent-prologue-art{background-image:url('/assets/adventure/forest.jpg');background-size:cover;background-position:50% 58%;opacity:1;filter:saturate(.68) brightness(.84);transform:none}
.ascent-prologue:after{background:linear-gradient(90deg,#0a2029f5 0%,#112a30dc 32%,#17312d25 75%),linear-gradient(0deg,#101f24f0,transparent 35%);z-index:0}
.ascent-prologue-copy{position:relative;z-index:2;max-width:700px;padding:58px 54px 50px}
#worldAdventureLobby .ascent-prologue h3{font:500 clamp(36px,4.7vw,64px)/1.32 var(--journey-serif);letter-spacing:.035em;margin:24px 0;color:#f5eee0;text-shadow:0 4px 25px #0007}
.ascent-prologue h3 em{font-style:normal;color:#efd19a}
.ascent-prologue-copy>p{font-size:13px;line-height:2;color:#c3d0c8}
.ascent-prologue .ascent-tags{color:#b4c9bd;font-size:11px;margin:26px 0}
.ascent-primary{min-height:48px;min-width:205px;background:linear-gradient(125deg,#f1d79e,#cfa86c);color:#283026;border:1px solid #f5e4b8;border-radius:5px;box-shadow:0 4px 0 #806840,0 10px 28px #070f1280;font-size:14px;letter-spacing:.04em}
.ascent-primary:hover:not(:disabled){background:linear-gradient(125deg,#ffe8b6,#e3be83);transform:translateY(-2px)}
.ascent-primary:disabled{opacity:.45;cursor:not-allowed;transform:none}
.ascent-start-note{font-size:10px!important;color:#b0c1b5!important;margin-top:16px!important}
.expedition-beacon{position:absolute;z-index:1;left:72%;top:43%;width:168px;height:168px;transform:translate(-50%,-50%);display:grid;place-items:center;filter:drop-shadow(0 0 30px #efca7770);pointer-events:none}
.expedition-beacon:before{content:"";position:absolute;inset:-160px;background:radial-gradient(ellipse,#f9d88338,transparent 65%)}
.expedition-beacon>svg{width:60px;height:60px;color:#fff1c3;stroke-width:1.2;filter:drop-shadow(0 0 20px #ffe3a1)}
.expedition-beacon>i{position:absolute;inset:0;border:1px solid #f7df9e99;border-radius:50%;box-shadow:0 0 0 8px #e2d18c0c,inset 0 0 25px #d6ce8e20}
.expedition-beacon>i:nth-child(2){inset:16px;transform:rotateX(56deg) rotate(25deg);border-width:2px}
.expedition-beacon>i:nth-child(3){inset:-24px;border-style:dashed;border-color:#e7dda744;animation:ascent-ring 90s linear infinite}
.expedition-hero-caption{position:absolute;z-index:2;right:6%;bottom:40px;text-align:right;display:grid;gap:8px;color:#e6dbb9}
.expedition-hero-caption>span{font:10px Georgia,serif;letter-spacing:.28em;color:#cdbb8c}.expedition-hero-caption>b{font:400 13px var(--journey-serif)}
.expedition-goal{display:flex;gap:18px;align-items:center;padding:22px 36px;border-bottom:1px solid var(--journey-line);background:linear-gradient(100deg,#203833,#112329)}
.expedition-goal-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #c9b27a44;border-radius:50%;color:#e0c58b;flex-shrink:0}
.expedition-goal-icon svg{width:23px}.expedition-goal>div{flex:1}.expedition-goal small{font-size:9px;letter-spacing:.14em;color:#bdad80}
.expedition-goal h4{font:500 17px/1.5 var(--journey-serif);margin:5px 0;color:#eee5ca}.expedition-goal p{margin:0;font-size:11px;color:#a6bdb2}
.expedition-goal button,.expedition-journal-link{display:flex;align-items:center;justify-content:center;gap:10px;background:#14262b;border:1px solid #a9b79940;border-radius:5px;color:#dbd4b8;padding:13px 16px;font-size:12px;cursor:pointer;min-height:44px}
.expedition-goal button svg,.expedition-journal-link svg{width:17px;height:17px;color:#d8bd86}.expedition-goal button b{margin-left:9px;color:#e8c887}.expedition-goal button:hover,.expedition-journal-link:hover{border-color:#d0b77e;background:#29403c}
.ascent-party{padding:28px 36px 32px}.ascent-party h4{font-size:23px}.ascent-pet-picker{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:12px;max-height:330px;overflow:auto;padding:5px 2px}
.ascent-pet{border-radius:7px;background:linear-gradient(130deg,#244038,#122329);border:1px solid #819b8840;padding:14px 13px;transition:background .18s,border-color .18s}
.ascent-pet.selected{background:linear-gradient(125deg,#4b4d32,#263b32);border-color:#d9bc77;box-shadow:inset 0 0 0 1px #c4aa6833}.ascent-pet img{width:51px;height:51px;filter:drop-shadow(0 5px 7px #0009)}
.ascent-pet b{font-size:13px}.ascent-pet small{font-size:10px;color:#b0c1b3}.ascent-party-note{font-size:11px;line-height:1.8;color:#a6b9ac}
.ascent-map-shell{background:#12262b;border:1px solid #8da79940;border-radius:9px;overflow:hidden;box-shadow:0 22px 70px #0005}
.ascent-map-toolbar{background:linear-gradient(100deg,#183b37,#13252a);padding:20px 26px;border-color:var(--journey-line)}
.ascent-map-toolbar h3{font-size:27px}.ascent-map-toolbar small{color:#a9bea8}.ascent-progress{margin-left:auto}.ascent-progress b{font-size:30px}
.expedition-lamps{display:flex;gap:10px;margin-left:20px}.expedition-lamps>span{width:30px;height:35px;display:grid;place-items:center;border:1px solid #79988a38;border-radius:45% 45% 4px 4px;color:#759185;background:#0e242a}
.expedition-lamps svg{width:17px}.expedition-lamps>span.lit{color:#ffd891;border-color:#cbb075;box-shadow:0 0 18px #d1b36530;background:#6a60322a}
.ascent-map-layout{grid-template-columns:minmax(0,1fr) 255px;padding:16px}
.ascent-map-paper{background:#17392f;border:1px solid #738c6d80;border-radius:8px;box-shadow:0 5px 0 #071e20,0 15px 30px #0005;color:#d8dbc1}
.ascent-map-paper:before{inset:8px;border:1px solid #c9bd8330;box-shadow:none;border-radius:4px}
.ascent-chart-scroll{max-height:none;overflow:hidden}.ascent-chart{height:760px;min-height:760px;background:linear-gradient(180deg,#364c5570,#193b3750 45%,#081e2777),url('/assets/adventure/forest.jpg') center/cover}
.ascent-chart:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#d3dfd033,transparent 35%,#10262b55),radial-gradient(ellipse at 50% 16%,#e9ca7933,transparent 28%)}
.expedition-terrain{position:absolute;inset:0;background:linear-gradient(180deg,#172e46b5,#1534319c 60%,#0b232acc);pointer-events:none}
.expedition-terrain i{position:absolute;width:120%;height:29%;left:-10%;top:18%;border-radius:50%;transform:rotate(-13deg);background:linear-gradient(180deg,#9eafa022,#11272e77 55%,transparent);border-top:1px solid #bfd0b722;box-shadow:0 -24px 50px #95b3a315}
.expedition-terrain i:nth-child(2){top:43%;transform:rotate(14deg);left:-20%}.expedition-terrain i:nth-child(3){top:69%;transform:rotate(-9deg)}
.ascent-contours{opacity:.2;filter:invert(1);z-index:0}.ascent-compass{z-index:2;color:#d0c39f80;right:26px}
.ascent-paper-title{z-index:3;top:28px;left:27px}.ascent-paper-title>span{color:#e5dbb4;font-size:16px}.ascent-paper-title small{color:#bdcdb6;font-size:10px}
.ascent-paths{z-index:2;filter:drop-shadow(0 2px 2px #071a20)}.ascent-path{stroke:#c4d5b880;stroke-width:2.5;stroke-dasharray:3 9}.ascent-path.upcoming{stroke:#f1d597;stroke-width:3;stroke-dasharray:5 7;filter:drop-shadow(0 0 4px #f9d57455)}.ascent-path.traveled{stroke:#9ae6b5;stroke-width:3;stroke-dasharray:none}
.ascent-floor{z-index:3;left:20px;color:#d7dec8}.ascent-floor>b{opacity:.9;font-size:22px}.ascent-floor>span{font-size:10px;opacity:.8}
.ascent-node{z-index:4;width:82px;height:87px;color:#cad9c9;opacity:.76;border-radius:8px}
.expedition-node-base{position:absolute;inset:20px 1px 12px;background:linear-gradient(150deg,#496358,#263f3b 60%,#132c2e);border:1px solid #99b39677;transform:perspective(180px) rotateX(39deg) rotateZ(-6deg);border-radius:18px 26px 18px 24px;box-shadow:0 8px 0 #182e2a,0 12px 0 #0b2228,0 20px 16px #06181b99}
.ascent-node-symbol{inset:8px 17px 30px;border-radius:50%;border:1px solid #a8c4a982;background:linear-gradient(145deg,#53695c,#1d3631);color:#c5d5b9;box-shadow:0 4px 7px #0007;z-index:1}
.ascent-node-symbol svg{width:25px;height:25px;stroke-width:1.6}.ascent-node>b{bottom:-9px;color:#c6d6c8;letter-spacing:.03em;font-size:10px;text-shadow:0 2px 5px #000;z-index:2}
.ascent-node.available{color:#fff0c6;opacity:1}.ascent-node.available .ascent-node-symbol{background:radial-gradient(circle at 35% 25%,#e5d395,#857443 70%);border:1px solid #fff0b9;color:#2f412f;box-shadow:0 3px 0 #665832,0 0 0 4px #e7d27d26,0 0 26px #e7d27d50}
.ascent-node.available>b{color:#f5e8bf}.ascent-node.available .ascent-node-ring{inset:1px 10px 23px;border-color:#fae2a575;z-index:2}
.ascent-node.available:hover .ascent-node-symbol,.ascent-node.available:focus-visible .ascent-node-symbol{transform:translateY(-5px);box-shadow:0 8px 0 #6e623a,0 0 0 6px #e2d28c22,0 0 35px #e7cf6c66}
.ascent-node:focus-visible{outline:2px solid #ffe7a6;outline-offset:9px}
.ascent-node.resolved{opacity:1}.ascent-node.resolved .ascent-node-symbol{background:#214d40;border-color:#9edeb3;color:#b6f6ca;box-shadow:0 0 24px #b5ffc630}.ascent-node.current .ascent-node-symbol{box-shadow:0 0 0 4px #98e0b233,0 0 22px #ace9bb44}.ascent-node>em{top:102px;color:#b5e6c3;font-size:10px}
.ascent-node.summit{width:102px;height:112px}.ascent-node.summit .ascent-node-symbol{inset:0 17px 40px;border-radius:48% 48% 40% 40%;color:#e9d9a5;background:radial-gradient(circle,#89804a,#2c4945);border:1px solid #d4bf7d}.ascent-node.summit>b{bottom:-2px;font-size:11px}.ascent-node.summit .expedition-node-base{inset:26px -3px 15px}.ascent-node.summit>em{top:117px}
.ascent-chart-start{z-index:3;color:#c8d4bc;display:flex;align-items:center;justify-content:center;gap:8px;bottom:18px;font-size:10px}.ascent-chart-start svg{width:15px;height:15px}
.ascent-legend{margin:0;padding:17px;color:#bdcdbb;background:#122f31;border-color:#92b09540}.ascent-legend i{border-color:#bbd3bf}.ascent-legend i.available{background:#ead198}.ascent-legend i.done{background:#9ae6b5}
.ascent-route-journal{padding:23px 9px 16px 24px}.ascent-route-journal>p{font-size:12px;line-height:2;color:#b4c5ba}.ascent-route-journal h4{font-size:24px;color:#e7dfbf}.ascent-route-journal .ascent-pet{background:#1d363440}.ascent-route-journal .ascent-pet b{font-size:12px}.ascent-journal-link{margin-top:22px;width:100%}.expedition-journal-link{margin-top:22px;width:100%;font-size:11px}
.ascent-outcome{z-index:15;background:#051a20c9;backdrop-filter:blur(8px);padding-top:100px}.ascent-outcome>div{max-width:470px;border:1px solid #d6bc7966;border-radius:12px;background:radial-gradient(ellipse at 50% 0,#4c5940,#172f31 65%);padding:32px}
.ascent-outcome h3{font-size:28px;color:#f3e7c5}.ascent-outcome p{color:#c3d0bd;font-size:13px}.ascent-outcome-emblem{border-radius:14px;box-shadow:0 0 45px #d5c17822}.expedition-outcome-page{display:flex;justify-content:center;align-items:center;gap:8px;color:#d6d2ad;background:#a5be9820;padding:11px 8px;border-radius:5px;font-size:11px}.expedition-outcome-page svg{width:16px}.expedition-outcome-note{display:block!important;letter-spacing:0!important;line-height:1.7;margin-top:17px;font-size:10px!important;color:#bdc8b1!important}
.expedition-journal-dialog{position:fixed;inset:0;margin:auto;width:min(650px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;padding:0;border:1px solid #ad9b6990;border-radius:12px;background:#132a2c;color:#d7ddc9;box-shadow:0 25px 90px #000b;scrollbar-width:thin;color-scheme:dark}
.expedition-journal-dialog::backdrop{background:#061317d6;backdrop-filter:blur(7px)}.expedition-journal-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:25px 28px;background:#1c3534;position:sticky;top:0;z-index:2;border-bottom:1px solid #c4b67c40}.expedition-journal-dialog header span{font:9px Georgia,serif;letter-spacing:.15em;color:#d1bb81}.expedition-journal-dialog h2{font:500 26px/1.5 "Songti SC",SimSun,serif;margin:5px 0 0;color:#ecdfb7}.expedition-journal-dialog header button{background:transparent;border:1px solid #a2b9a44d;border-radius:5px;color:#d8d5b5;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}.expedition-journal-dialog header button svg{width:20px}.expedition-journal-intro{margin:0;padding:20px 28px;font-size:12px;line-height:1.8}.expedition-journal-intro b{display:block;color:#d4b978;font-size:11px;margin-top:5px}.expedition-journal-pages{padding:0 28px 15px;display:grid;gap:12px}.expedition-journal-pages article{display:flex;align-items:start;gap:14px;border:1px solid #9aaf9040;background:#28403966;padding:18px;border-radius:6px}.expedition-journal-pages article>span{font:italic 22px Georgia,serif;color:#c7b47d}.expedition-journal-pages article>div{flex:1}.expedition-journal-pages h3{font:500 17px "Songti SC",SimSun,serif;margin:2px 0 10px;color:#e4d8b3}.expedition-journal-pages p{font-size:12px;line-height:1.9;margin:0;color:#b9cbbc}.expedition-journal-pages article>svg{width:16px;flex-shrink:0;color:#b7bc91}.expedition-journal-pages .locked{background:#102329;border-style:dashed;opacity:.68}.expedition-journal-dialog>footer{padding:15px 28px 24px;color:#9eafa3;font-size:10px;line-height:1.8}
/* Battle presentation: preserve DOM hit regions and drag handlers. */
#worldAdventureBattle{border:1px solid #8aa19340;border-radius:9px;overflow:hidden;background:#10282b;display:block}
#worldAdventureBattle.hidden{display:none!important}
#worldAdventureBattle .world-adventure-roundbar{padding:14px 22px;gap:22px;background:linear-gradient(100deg,#172e30,#10252b);border-bottom:1px solid #c4b47840;grid-template-columns:100px minmax(0,1fr) 125px auto}
#worldAdventureBattle .world-adventure-roundbar>div:first-child small{font-size:9px;color:#9eb7ae;letter-spacing:.1em}
#worldAdventureBattle .world-adventure-roundbar>div:first-child strong{font:600 25px Georgia,serif;color:#f0dfb2}
#worldAdventureBattle .world-adventure-intent{background:#2b454038;border-left:2px solid #d9bf81;padding:5px 14px;min-width:0}
#worldAdventureBattle .world-adventure-intent>span{font-size:10px;color:#cdbd91}#worldAdventureBattle .world-adventure-intent strong{font-size:15px;color:#f0e3c6}#worldAdventureBattle .world-adventure-intent small{font-size:11px;line-height:1.5;color:#c0cec1}
#worldAdventureBattle .world-adventure-timer strong{color:#e7dbb7;font:600 24px Georgia,serif}
#worldAdventureBattle .world-adventure-top-command{position:absolute;z-index:10;top:134px;left:50%;transform:translateX(-50%);width:max-content;max-width:70%;min-height:0;margin:0;padding:6px 14px;border:0;border-radius:20px;background:#08212799;pointer-events:none;box-shadow:none}
#worldAdventureBattle .world-adventure-top-command small{display:none}#worldAdventureBattle .world-adventure-top-command strong{color:#d4dfcc;font-size:11px;font-weight:400;line-height:1.5}
#worldAdventureBattle .world-adventure-combat{display:block;min-height:0;background:#10272b}
#worldAdventureBattle .world-adventure-stage{display:block;position:relative;min-height:640px;height:clamp(600px,72vh,780px);padding:0;overflow:hidden;isolation:isolate;background:#0c2629;perspective:1100px}
#worldAdventureBattle .world-adventure-stage:before{display:none}
#worldAdventureBattle .world-adventure-arena{position:absolute;inset:0;min-height:0;z-index:1;background-color:#173831;background-size:cover;background-position:50% 53%;background-repeat:no-repeat}
#worldAdventureBattle .world-adventure-arena:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#08242b66,transparent 26%,transparent 50%,#10272b66 83%,#10272bf5);z-index:2}
#worldAdventureBattle .world-adventure-arena canvas{z-index:1}
.expedition-battle-location{position:absolute;z-index:3;left:50%;top:17px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;color:#f2e5bf;text-shadow:0 2px 7px #000;pointer-events:none}
.expedition-battle-location>span{font:11px Georgia,serif;color:#dfc38b}.expedition-battle-location>b{font:500 18px var(--journey-serif);letter-spacing:.12em}.expedition-battle-location>small{font-size:10px;color:#b7cec0}
#worldAdventureBattle .world-adventure-team{position:absolute;z-index:6;top:72px;bottom:auto;width:88px;padding:0;display:grid;gap:10px;align-self:auto}
#worldAdventureBattle .world-adventure-team.player{left:16px;right:auto}#worldAdventureBattle .world-adventure-team.enemy{right:16px;left:auto}
#worldAdventureBattle .world-adventure-team button{position:relative;display:grid;grid-template-columns:1fr;width:88px;height:74px;min-width:0;border:1px solid #adc4a555;border-radius:9px;padding:5px;background:linear-gradient(145deg,#284938dc,#102a2cdd);box-shadow:0 5px 12px #0004}
#worldAdventureBattle .world-adventure-team button.active{border-color:#e2cb89;background:linear-gradient(145deg,#655d38dd,#234438dd);box-shadow:0 0 0 2px #d4ba7133,0 0 22px #b4c27e22}
#worldAdventureBattle .world-adventure-team img{width:41px;height:39px;object-fit:contain;margin:auto;filter:drop-shadow(0 5px 5px #0007)}
#worldAdventureBattle .world-adventure-team button>span{display:block;text-align:center;min-width:0}#worldAdventureBattle .world-adventure-team button b{display:block;font-size:10px;color:#e0e8cf;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#worldAdventureBattle .world-adventure-team small{display:none}
#worldAdventureBattle .world-adventure-duel{position:absolute;left:15%;right:15%;bottom:206px;display:grid;grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr);gap:12px;padding:0;z-index:7;pointer-events:none;align-items:end}
#worldAdventureBattle .world-adventure-fighter{min-width:0;pointer-events:auto}
#worldAdventureBattle .wa-fighter-meta{position:relative;max-width:none;padding:9px 12px;background:linear-gradient(100deg,#112b30ef,#173a36b5);border:1px solid #b1cbb34d;border-left:2px solid var(--fighter-color);border-radius:7px;box-shadow:0 4px 16px #0004}
#worldAdventureBattle .wa-fighter-top{gap:8px}#worldAdventureBattle .wa-fighter-top h3{font-size:13px}#worldAdventureBattle .wa-fighter-top>span{font-size:9px}#worldAdventureBattle .wa-hp{height:5px;margin:7px 0 5px;background:#183734;border-radius:4px}#worldAdventureBattle .wa-hp i{background:linear-gradient(90deg,#72b9a0,#c0deb1);box-shadow:0 0 8px #b5daae44}
#worldAdventureBattle .wa-stats{font-size:9px;color:#c5d5c6}#worldAdventureBattle .world-adventure-statuses{margin-top:4px;min-height:0;gap:4px}#worldAdventureBattle .world-adventure-statuses:empty{display:none}#worldAdventureBattle .world-adventure-statuses span{font-size:9px;color:#e2d4a4;background:#6d774644;padding:2px 5px;border-radius:3px}
.expedition-fighter-details{position:absolute;right:10px;bottom:7px;font-size:10px;color:#c6caa7}.expedition-fighter-details summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px;padding:3px;min-height:22px}.expedition-fighter-details>div{position:absolute;bottom:29px;right:-3px;width:max-content;max-width:230px;display:grid;gap:8px;padding:13px;background:#102a2ff5;border:1px solid #a5bd9580;border-radius:6px;box-shadow:0 7px 20px #0007;z-index:20}.expedition-fighter-details .attribute-badge{position:static!important;font-size:10px!important}
#worldAdventureBattle .world-adventure-versus span{font:italic 20px Georgia,serif;color:#d5bd80;opacity:.65}#worldAdventureBattle .world-adventure-versus small{font-size:9px;color:#c4d1b4;line-height:1.6}#worldAdventureBattle .world-adventure-versus i{display:none}
#worldAdventureBattle .world-adventure-command{position:absolute;left:0;right:0;bottom:0;z-index:10;height:200px;padding:0 95px 13px;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;background:linear-gradient(0deg,#091e27c7,transparent 92%)}
#worldAdventureBattle .world-adventure-command:before{height:130px;bottom:-42px;background:#071c24c9;border-color:#b19a5c55;box-shadow:0 -12px 70px #274f4044}
#worldAdventureBattle .world-adventure-hand{min-height:180px;padding:0;pointer-events:auto}
.world-adventure-card{background:linear-gradient(135deg,#a89058,#394c41 12%,#213831 85%,#988151);border-color:#a9a984;box-shadow:0 7px 10px #0009,inset 0 0 0 2px #ddd2a32b}
.world-adventure-card .wa-card-art{background:radial-gradient(circle at 50% 62%,#b5ccaa55,transparent 65%),linear-gradient(130deg,#2b5249,#152f39);border:1px solid #adb89445}
.world-adventure-card .wa-card-art:before{content:"";position:absolute;width:60px;height:60px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(45deg);border:1px solid #e8d49a3d;box-shadow:0 0 0 8px #ddcd8a08,inset 0 0 16px #c2dbb514;pointer-events:none}
.world-adventure-card .wa-card-art:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(140deg,transparent 0 20px,#a8c79d0c 21px 22px,transparent 23px 38px);pointer-events:none}
.world-adventure-card .wa-card-art>svg{position:relative;z-index:1;stroke-width:1.4;filter:drop-shadow(0 3px 1px #061c22) drop-shadow(0 0 10px #d2ddb24d)}
.world-adventure-card[data-card-kind="ATTACK"] .wa-card-art,.world-adventure-card[data-card-kind="FRENZY"] .wa-card-art,.world-adventure-card[data-card-kind="SELF_DESTRUCT"] .wa-card-art{background:radial-gradient(ellipse at 50% 100%,#d5a15d66,transparent 75%),linear-gradient(125deg,#503f35,#213136)}
.world-adventure-card[data-card-kind="DODGE"] .wa-card-art,.world-adventure-card[data-card-kind="QUICK"] .wa-card-art,.world-adventure-card[data-card-kind="SWALLOW"] .wa-card-art{background:repeating-linear-gradient(155deg,transparent 0 15px,#b0decc17 16px 18px,transparent 19px 27px),linear-gradient(115deg,#275260,#173640)}
.world-adventure-card[data-card-kind="GUARD"] .wa-card-art,.world-adventure-card[data-card-kind="COUNTER"] .wa-card-art{background:radial-gradient(ellipse at center,#83968480,transparent 67%),linear-gradient(145deg,#334c44,#1b3434)}
.world-adventure-card[data-card-kind="REST"] .wa-card-art{background:radial-gradient(ellipse at center,#9dc58966,transparent 70%),linear-gradient(140deg,#46633b,#163d35)}
.world-adventure-card .wa-card-copy{background:linear-gradient(140deg,#eee6cb,#c7cbb0);color:#213c37;border:1px solid #e8deb76b;border-radius:4px}.world-adventure-card .wa-card-copy b{color:#203b36;text-shadow:none;font-family:"Songti SC",SimSun,serif;font-size:13px}.world-adventure-card .wa-card-copy small{color:#3c5347;font-size:10px;line-height:1.5}
.world-adventure-card .wa-card-priority{color:#e6ddb2;font-weight:500}.world-adventure-card .wa-card-orb{background:#1b3338;color:#ebd99a;border-color:#d6c087}
.world-adventure-drag-ghost.drop-ready{outline:2px solid #ffe7a9;outline-offset:4px;box-shadow:0 0 12px #fff2c1bb,0 0 40px #d5d78780,0 14px 40px #031820aa!important}
/* A selected/hovered card must still follow the pointer, including mobile. */
body .world-adventure-card.dragging{transform:translate3d(var(--wa-drag-x,0),var(--wa-drag-y,0),120px) rotate(var(--wa-drag-rotate,0deg)) scale(1.08);transition:none;z-index:100}
#worldAdventureBattle .world-adventure-switches{left:18px;bottom:18px;pointer-events:auto}#worldAdventureBattle .world-adventure-switch-toggle{width:47px;height:47px;border-radius:50%;background:#173831;border:1px solid #b3bb8299;color:#e7d499;box-shadow:0 5px 13px #0005}
#worldAdventureBattle .world-adventure-switch-toggle.active{background:#5b6234;border-color:#f6e7a0;box-shadow:0 0 21px #d6d57b60}#worldAdventureBattle .world-adventure-deck{right:15px;bottom:14px;pointer-events:auto}
#worldAdventureBattle .world-adventure-switch-toggle.active{animation:expedition-switch-glow 1.6s ease-in-out infinite;transform:none}
@keyframes expedition-switch-glow{50%{box-shadow:0 0 0 4px #e0d89122,0 0 25px #d6d57b80}}
#worldAdventureBattle .world-adventure-log{position:relative;max-height:none;min-height:0;padding:0;border:0;border-top:1px solid #a4bb982e;background:#122a2d;overflow:visible}
#worldAdventureLog summary{display:flex;align-items:center;gap:16px;list-style:none;padding:12px 20px;cursor:pointer;font-size:11px;color:#baceb7;min-height:44px;box-sizing:border-box}#worldAdventureLog summary>span{color:#d7bd82;flex-shrink:0}#worldAdventureLog summary>b{font-weight:400;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#worldAdventureLog summary svg{width:15px;height:15px}#worldAdventureLog details[open] summary svg{transform:rotate(180deg)}#worldAdventureLog details>div{max-height:190px;overflow:auto;padding:0 20px 12px}#worldAdventureLog p{font-size:11px;line-height:1.6;margin:0;padding:8px 0;border-color:#b0c39219}
@media(max-width:1000px){.expedition-beacon{left:78%;width:130px;height:130px}.expedition-hero-caption{right:4%;bottom:30px}.ascent-map-layout{grid-template-columns:minmax(0,1fr) 210px}.ascent-route-journal{padding-left:18px}.expedition-lamps{gap:6px;margin-left:0}#worldAdventureBattle .world-adventure-duel{left:15%;right:15%;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)}#worldAdventureBattle .world-adventure-stage{height:630px;min-height:630px}}
@media(max-width:760px){.ascent-prologue{min-height:480px}.ascent-prologue-copy{padding:36px 25px 40px}.ascent-prologue:after{background:linear-gradient(90deg,#0c242ce6,#10262ab5 60%,#15372b44),linear-gradient(0deg,#101f24,transparent 60%)}.expedition-beacon{left:80%;top:25%;width:92px;height:92px;opacity:.5}.expedition-beacon>svg{width:38px}.expedition-hero-caption{display:none}.ascent-prologue-copy>p{font-size:12px}.expedition-goal{padding:19px 21px;gap:12px;flex-wrap:wrap}.expedition-goal h4{font-size:16px}.expedition-goal p{font-size:10px;line-height:1.7}.expedition-goal button{margin-left:59px;padding:10px 13px;font-size:11px}.expedition-goal-icon{width:44px;height:44px}.expedition-goal>div{min-width:180px}.ascent-party{padding:23px 21px}.ascent-party h4{font-size:21px}.ascent-map-layout{grid-template-columns:minmax(0,1fr);padding:10px}.ascent-route-journal{display:grid;grid-template-columns:1fr 1fr;padding:20px 8px 10px}.ascent-route-journal>.ascent-kicker,.ascent-route-journal>h4,.ascent-route-journal>p,.ascent-encounter{display:block;grid-column:1/-1;margin:0}.ascent-route-journal>h4{font-size:22px;margin:4px 0}.ascent-route-journal>p{font-size:12px;line-height:1.8}.ascent-encounter{display:flex;margin:7px 0 12px}.ascent-journal-divider{display:none}.ascent-team{grid-column:1/-1}.expedition-journal-link{margin-top:12px;padding:9px;font-size:10px}.ascent-journal-note{grid-column:1/-1}.ascent-map-toolbar{padding:17px 14px;gap:10px}.ascent-map-toolbar h3{font-size:24px}.expedition-lamps{display:none}.ascent-progress{margin-left:auto}.ascent-subtle{min-height:42px;min-width:42px}.ascent-chart{height:710px;min-height:710px}.ascent-floor{left:12px}.ascent-floor>b{font-size:18px}.ascent-floor>span{font-size:9px}.ascent-node{width:65px;height:76px}.ascent-node-symbol{inset:8px 10px 27px}.ascent-node-symbol svg{width:23px;height:23px}.ascent-node>b{font-size:9px}.ascent-node.available .ascent-node-ring{inset:3px 5px 21px}.ascent-node.summit{width:82px;height:97px}.ascent-node.summit .ascent-node-symbol{inset:0 10px 33px}.ascent-node.summit svg{width:32px;height:32px}.ascent-node>em{top:89px;font-size:9px}.ascent-node.summit>em{top:103px}.ascent-paper-title{left:20px;top:23px}.ascent-paper-title>span{font-size:14px}.ascent-paper-title small{font-size:9px}.ascent-outcome{padding:70px 13px 20px}.ascent-outcome>div{padding:28px 20px}.ascent-outcome h3{font-size:24px}.ascent-outcome p{font-size:12px}.expedition-journal-dialog header{padding:19px}.expedition-journal-dialog h2{font-size:23px}.expedition-journal-intro{padding:17px 19px}.expedition-journal-pages{padding:0 17px 13px}.expedition-journal-pages article{padding:15px 12px;gap:10px}.expedition-journal-dialog footer{padding:13px 19px 20px}}
@media(max-width:640px){
 #worldAdventureBattle .world-adventure-roundbar{padding:10px 9px;gap:8px;grid-template-columns:49px minmax(0,1fr) 60px 34px;min-height:83px}#worldAdventureBattle .world-adventure-roundbar>div:first-child strong{font-size:16px}#worldAdventureBattle .world-adventure-roundbar>div:first-child small{font-size:7px}#worldAdventureBattle .world-adventure-intent{padding:3px 7px}#worldAdventureBattle .world-adventure-intent strong{font-size:12px}#worldAdventureBattle .world-adventure-intent small{font-size:9px;line-height:1.4}#worldAdventureBattle .world-adventure-intent>span{font-size:8px}#worldAdventureBattle .world-adventure-timer strong{font-size:17px}#worldAdventureBattle .world-adventure-timer>span{font-size:8px}#worldAdventureBattle .world-adventure-surrender{padding:0;min-width:34px;width:34px;height:38px}
 #worldAdventureBattle .world-adventure-stage{height:560px;min-height:560px}#worldAdventureBattle .world-adventure-arena{background-position:50% 50%}#worldAdventureBattle .world-adventure-top-command{top:179px;max-width:85%;padding:4px 10px}#worldAdventureBattle .world-adventure-top-command strong{font-size:9px}
 .expedition-battle-location{top:12px;gap:8px}.expedition-battle-location>b{font-size:15px}.expedition-battle-location>span{font-size:9px}.expedition-battle-location>small{display:none}
 #worldAdventureBattle .world-adventure-team{top:44px;display:flex;width:auto;gap:4px}#worldAdventureBattle .world-adventure-team.player{left:9px}#worldAdventureBattle .world-adventure-team.enemy{right:9px}#worldAdventureBattle .world-adventure-team button{width:42px;height:47px;border-radius:6px;padding:3px}#worldAdventureBattle .world-adventure-team img{width:30px;height:30px}#worldAdventureBattle .world-adventure-team button>span{display:none}#worldAdventureBattle .world-adventure-team .wa-mini-hp{left:4px;right:4px;bottom:4px}
 #worldAdventureBattle .world-adventure-duel{left:9px;right:9px;bottom:186px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:5px}#worldAdventureBattle .wa-fighter-meta{padding:7px 8px}#worldAdventureBattle .wa-fighter-top h3{font-size:11px}#worldAdventureBattle .wa-fighter-top>span{font-size:8px}#worldAdventureBattle .wa-stats{font-size:8px}#worldAdventureBattle .wa-hp{height:4px;margin:6px 0 4px}#worldAdventureBattle .world-adventure-versus span{font-size:13px}#worldAdventureBattle .world-adventure-versus small{display:none}.expedition-fighter-details{right:6px;bottom:4px;font-size:9px}.expedition-fighter-details>div{max-width:160px;font-size:10px}
 #worldAdventureBattle .world-adventure-command{height:176px;padding:0 8px 22px}#worldAdventureBattle .world-adventure-hand{min-height:143px;padding-right:38px}.world-adventure-card .wa-card-copy b{font-size:10px}.world-adventure-card .wa-card-copy small{font-size:8px;line-height:1.35}.world-adventure-card .wa-card-art:before{width:41px;height:41px}
 #worldAdventureBattle .world-adventure-switches{left:9px;bottom:7px}#worldAdventureBattle .world-adventure-switch-toggle{width:34px;height:34px}#worldAdventureBattle .world-adventure-deck{right:6px;bottom:9px}#worldAdventureLog summary{padding:10px 12px;font-size:10px;gap:11px}#worldAdventureLog details>div{padding:0 12px 10px}#worldAdventureBattle .world-adventure-command:before{height:110px;bottom:-36px}
}
@media(max-width:370px){.ascent-prologue-copy{padding:32px 20px}.ascent-tags{gap:8px!important;font-size:9px!important}.ascent-party{padding:20px 15px}.ascent-pet-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.ascent-pet img{width:35px;height:35px}.ascent-pet b{font-size:11px}.ascent-map-toolbar h3{font-size:21px}.ascent-map-toolbar{gap:7px}.ascent-chart{min-height:710px}.ascent-node{width:58px}.ascent-node>b{font-size:8px}#worldAdventureBattle .world-adventure-hand{padding-right:30px}#worldAdventureBattle .world-adventure-team button{width:37px}#worldAdventureBattle .world-adventure-intent small{font-size:8px}}
@media(max-width:640px){#worldAdventureBattle .world-adventure-roundbar{grid-template-columns:54px minmax(0,1fr) 60px 34px}#worldAdventureBattle .world-adventure-roundbar>div:first-child strong{white-space:nowrap;font-size:15px}#worldAdventureBattle .world-adventure-duel{bottom:156px}#worldAdventureBattle .world-adventure-command{height:151px;padding-bottom:9px}}
@media(prefers-reduced-motion:reduce){.expedition-beacon>i,.expedition-beacon>i:nth-child(3),.ascent-node.available .ascent-node-ring,#worldAdventureBattle .world-adventure-switch-toggle.active{animation:none}.ascent-primary,.ascent-pet,.ascent-node-symbol{transition:none}}
