@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/font-0.ttf)format("truetype")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/font-1.ttf)format("truetype")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-2.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/font-3.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/font-4.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-5.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/font-6.ttf)format("truetype")}:root{color:#d7e1d9;font-synthesis:none;--muted:#839891;--gold:#d2b477;--mint:#9ddabf;--line:#ffffff13;background:#08151b;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{margin:0}button,a,input{font:inherit}button,.button{color:#e0cca0;cursor:pointer;background:#b39a5b13;border:1px solid #c7b68177;border-radius:4px;padding:12px 18px;text-decoration:none}button:hover,.button:hover{background:#b39a5b28;border-color:#d2b477}button:disabled{opacity:.4;cursor:default}select{appearance:none;font:inherit;color:#e0cca0;cursor:pointer;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#0e1720;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23d2b477' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-position:right 12px center;background-repeat:no-repeat;border:1px solid #c7b68177;border-radius:4px;padding:10px 34px 10px 12px}select:hover{background-color:#14202b;border-color:#d2b477}select:disabled{opacity:.4;cursor:default}select option{color:#e0cca0;background:#0e1720}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2{font-family:DM Sans,sans-serif;font-weight:500}p{line-height:1.65}kbd{color:#a5bcb1;white-space:nowrap;border:1px solid #a2b8a933;border-radius:3px;padding:4px 6px;font:10px monospace}.app-shell{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.topbar{border-bottom:1px solid var(--line);background:#0b191e;flex-shrink:0;justify-content:space-between;align-items:center;height:76px;padding:0 30px;display:flex}.wordmark{letter-spacing:5px;color:#ece9d6;align-items:center;gap:15px;font-family:DM Sans,sans-serif;font-size:23px;display:flex}.brand-icon{color:var(--gold);font-size:35px}.alpha{letter-spacing:1.5px;color:var(--muted);border-left:1px solid var(--line);margin-left:20px;padding-left:25px;font-family:DM Sans,sans-serif;font-size:11px}.header-right{align-items:center;gap:25px;display:flex}.quiet{border:1px solid var(--line);color:#c2d1c6;background:0 0;font-size:12px}.quiet span{color:var(--gold);margin-right:5px;font-size:18px}.network{color:var(--muted);align-items:center;gap:8px;font-size:10px;display:flex}.network i,.live-dot{background:#d2b477;border-radius:50%;width:5px;height:5px;display:inline-block}.network i.live,.live-dot{background:#94dbb8;box-shadow:0 0 8px #7cdfa644}.expedition-layout{flex:1;min-height:0;display:flex}.sidebar{border-right:1px solid var(--line);background:linear-gradient(155deg,#12252a,#0b191e);flex-direction:column;flex-shrink:0;width:300px;padding:36px 25px 20px;display:flex;overflow:auto}.eyebrow{letter-spacing:2px;color:var(--gold);font-size:11px;font-weight:600}.world-heading h1{color:#e5e4d1;margin:18px 0 14px;font-size:44px;line-height:1.02}.world-heading h1 em{color:var(--gold);font-weight:400}.world-heading p{color:var(--muted);font-size:11px}.quest{border-top:1px solid var(--line);margin-top:32px;padding-top:25px}.quest .eyebrow{color:var(--muted);font-size:10px}.quest h2{margin:12px 0 10px;font-size:25px}.quest>p{color:var(--muted);font-size:11px}.quest-step{align-items:center;gap:12px;margin-top:22px;font-size:11px;display:flex}.quest-step>span{width:27px;height:27px;color:var(--gold);border:1px solid #8b927450;border-radius:50%;place-items:center;font-size:11px;display:grid}.quest-step small{color:#7c948b;letter-spacing:1px;margin-top:5px;font-size:11px;display:block}.quest-step.done>:where(span){color:var(--mint);border-color:var(--mint)}.quest .success{color:var(--mint);margin-top:18px}.whale-card{margin-top:auto;padding-top:28px}.whale-card svg{color:#526d68;filter:drop-shadow(0 0 20px #81b49716);width:165px;height:65px;margin:0 auto 12px;display:block}.whale-card .eyebrow{color:#a5bca8;font-size:10px}.whale-card p{color:#758e84;margin-top:8px;font-size:10px}.sidebar-footer{border-top:1px solid var(--line);color:#b0c4b6;margin-top:22px;padding-top:17px;font-size:10px}.sidebar-footer .live-dot{margin-right:8px}.sidebar-footer small{color:#607c72;margin-top:10px;font-size:11px;line-height:1.7;display:block}.world-view{background:radial-gradient(#132b31,#09171e 70%);flex:1;min-width:0;position:relative;overflow:hidden}.game-canvas{position:absolute;inset:0}.game-canvas canvas{display:block}.map-top{pointer-events:none;justify-content:space-between;display:flex;position:absolute;top:28px;left:30px;right:30px}.zone-badge{letter-spacing:2px;color:var(--mint);align-items:center;gap:11px;font-size:10px;display:flex}.zone-badge>span{font-size:28px}.zone-badge small{letter-spacing:0;color:#7f9990;max-width:320px;margin-top:5px;font-size:10px;display:block}.zone-badge.danger{color:#e9b57d}.coordinate{color:#587c75;letter-spacing:3px;margin-top:8px;font:10px monospace}.map-bottom{pointer-events:none;justify-content:space-between;align-items:end;display:flex;position:absolute;bottom:28px;left:30px;right:30px}.inventory{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a181de8;border:1px solid #a3b79722;border-radius:6px;gap:30px;padding:16px 24px;display:flex}.inventory>div{grid-template-columns:25px auto;align-items:center;column-gap:8px;display:grid}.gem{color:#e5ba70;grid-row:span 2;font-size:24px}.gem.secured{color:#97ceaf}.inventory strong{font-size:24px;font-weight:500;line-height:1.1}.inventory :where(strong) small{color:#536e64;margin-left:5px;font-size:12px}.inventory-label{letter-spacing:1.5px;color:#8ca897;margin-top:5px;font-size:7px}.action{pointer-events:auto;color:#dfce9d;background:#142728e8;align-items:center;gap:13px;padding:14px 20px;font-size:12px;display:flex}.action kbd{color:#d6bc86}.bottom-bar{border-top:1px solid var(--line);color:#6f887b;background:#0b191e;flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;height:45px;padding:0 30px;font-size:10px;display:flex}.bottom-bar>div{align-items:center;gap:10px;display:flex}.bottom-bar i{border-left:1px solid var(--line);height:12px;margin:0 8px}.bottom-bar p{color:#a4b29e;font-size:10px}.seal-reminder{background:#102429ef;border:1px solid #a8915e55;align-items:center;gap:13px;padding:12px 16px;font-size:18px;display:flex;position:fixed;top:90px;right:25px;box-shadow:0 10px 35px #0005}.seal-reminder span{text-align:left;font-size:11px}.seal-reminder small{color:#9aafa0;max-width:225px;margin-top:5px;font-size:11px;line-height:1.6;display:block}.warning-toast{color:#ffd3a8;background:#3c2823e8;border:1px solid #d79071;padding:14px 24px;font-size:13px;position:absolute;top:105px;left:50%;transform:translate(-50%)}.connection-overlay{background:#08171be8;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:absolute;inset:0}.full-screen{text-align:center;background:radial-gradient(#183639,#07151c);flex-direction:column;justify-content:center;align-items:center;gap:22px;min-height:100dvh;padding:30px;display:flex}.full-screen h1{font-size:48px}.full-screen p{color:#a7baac;max-width:500px;font-size:14px}.full-screen .muted{color:var(--muted);font-size:12px}.beta-gate{color:#e5decd;background:#0d0a1c;place-items:center;min-height:100dvh;padding:24px 16px;display:grid;position:relative;overflow:hidden}.beta-gate-sky{image-rendering:pixelated;background:radial-gradient(at 50% 55%,#0d0a1c00 20%,#0d0a1ccc 75%),linear-gradient(#0d0a1c33,#0d0a1c99),url(/assets/worlds/orma-panorama-soft-pixel-v2.png) 50%/cover;animation:40s ease-in-out infinite alternate beta-gate-drift;position:absolute;inset:-2%}@keyframes beta-gate-drift{0%{transform:scale(1.02)translateY(0)}to{transform:scale(1.06)translateY(-1.5%)}}.beta-gate-panel{text-align:center;background:linear-gradient(#1b1a2afa,#100f1cfd);border:2px solid #6b5a38;border-radius:6px;justify-items:center;gap:10px;width:min(460px,100%);padding:30px clamp(20px,5vw,36px) 26px;display:grid;position:relative;box-shadow:inset 0 0 0 1px #00000080,inset 0 0 0 4px #d2b4771a,0 0 0 1px #000,0 24px 60px #000a,0 0 80px #7de8ff14}.beta-gate-panel:before,.beta-gate-panel:after{content:"";background:#d2b477;width:6px;height:6px;position:absolute;top:8px;box-shadow:0 0 6px #e9b95a88}.beta-gate-panel:before{left:8px}.beta-gate-panel:after{right:8px}.beta-gate-logo{width:112px;height:112px;image-rendering:pixelated;filter:drop-shadow(0 0 18px #7de8ff88)drop-shadow(0 4px #000);margin-top:-84px;animation:3.6s ease-in-out infinite beta-gate-float}@keyframes beta-gate-float{50%{filter:drop-shadow(0 0 26px #7de8ffbb)drop-shadow(0 10px #0008);transform:translateY(-6px)}}.beta-gate-brand{letter-spacing:8px;color:#ecd49a;text-shadow:0 0 18px #e9b95a55,0 2px #000;margin:2px 0 0;padding-left:8px;font:600 34px/1 Cormorant Garamond,Georgia,serif}.beta-gate-badge{letter-spacing:2.5px;text-transform:uppercase;color:#9ee7f5;background:#7de8ff12;border:1px solid #7de8ff55;border-radius:2px;padding:3px 10px;font-size:10px;font-weight:700}.beta-gate h1{color:#f1e7d0;margin:8px 0 0;font:600 26px/1.15 Cormorant Garamond,Georgia,serif}.beta-gate-lead{color:#b8b2c4;max-width:36ch;margin:0 0 6px;font-size:14px;line-height:1.5}.beta-gate form{text-align:left;gap:6px;width:100%;display:grid}.beta-gate label{letter-spacing:1.5px;text-transform:uppercase;color:#a39c86;font-size:11px;font-weight:700}.beta-gate-field{gap:8px;display:flex}.beta-gate-field input{color:#efe6d2;background:#0a0913;border:1px solid #4d4432;border-radius:3px;flex:1;min-width:0;padding:12px;font-size:14px;box-shadow:inset 0 2px 6px #000c}.beta-gate-field input::placeholder{color:#5f5a6c}.beta-gate-field input:focus{border-color:#d2b477;outline:none;box-shadow:inset 0 2px 6px #000c,0 0 0 2px #d2b47733}.beta-gate-enter{letter-spacing:1px;color:#1a1206;background:linear-gradient(#f0d593,#c79d4f);border:1px solid #f7e2ad;border-radius:3px;padding:12px 22px;font-weight:700;box-shadow:0 2px #6b4d1c,0 0 16px #e9b95a44}.beta-gate-enter:hover{filter:brightness(1.08)}.beta-gate-enter:active{transform:translateY(2px);box-shadow:0 0 #6b4d1c}.beta-gate-error{text-align:left;color:#f2b5a4;background:#5a1d1640;border-left:3px solid #d0654e;width:100%;margin:2px 0 0;padding:8px 10px;font-size:13px}.beta-gate-divider{color:#6b5a38;align-items:center;gap:10px;width:100%;margin:8px 0 2px;font-size:9px;display:flex}.beta-gate-divider:before,.beta-gate-divider:after{content:"";background:linear-gradient(90deg,#6b5a3800,#6b5a38,#6b5a3800);flex:1;height:1px}.beta-gate-seal{color:#cfc4a6;background:0 0;border:0;align-items:center;gap:8px;padding:6px 10px;font-size:13px;display:inline-flex}.beta-gate-seal img{image-rendering:pixelated}.beta-gate-seal:hover{color:#ecd49a}@media (width<=420px){.beta-gate-field{flex-direction:column}.beta-gate-brand{letter-spacing:6px;font-size:28px}}@media (prefers-reduced-motion:reduce){.beta-gate-sky,.beta-gate-logo{animation:none}}.invites-panel form,.invite-link{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.invite-link input{width:min(560px,100%)}.orbit-mark{width:96px;height:96px;image-rendering:pixelated;filter:drop-shadow(0 0 18px #7de8ff66)}.seal-dialog{z-index:10000;color:#d7e1d9;background:#13262b;border:1px solid #a8956355;border-radius:10px;width:calc(100% - 32px);max-width:440px;max-height:90dvh;margin:auto;padding:35px;position:fixed;inset:0;overflow:auto;box-shadow:0 25px 100px #000b}.seal-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#020b10b8}.seal-dialog h2{margin:12px 0;font-size:36px}.seal-dialog p{color:#9cb3a6;font-size:12px}.seal-dialog .close-button{background:0 0;border:0;padding:3px 10px;font-size:25px;position:absolute;top:10px;right:12px}.qr-wrap{text-align:center;margin:20px 0}.qr-wrap img{border-radius:7px}.seal-dialog .button{text-align:center;font-size:13px;display:block}.seal-dialog .fine-print{margin:12px 0;font-size:10px}.seal-dialog h3{font-size:15px;font-weight:500}.seal-dialog hr{border:0;border-top:1px solid var(--line);margin:22px 0}.seal-dialog label{color:#a3bbaa;font-size:10px;display:block}.seal-dialog input:not([type=file]){color:#d3e1d6;background:#06181e;border:1px solid #88a18c44;border-radius:4px;width:100%;margin:8px 0;padding:10px}.seal-dialog :where(form) button{width:100%;font-size:12px}.seal-dialog .upload{color:var(--gold);margin-top:14px}.upload input{width:100%;margin-top:8px;font-size:11px;display:block}.seal-dialog .error{color:#efb699;margin-top:14px}.notice{background:#ffffff06;padding:12px}.touch-controls{border:0;margin:0;padding:0;display:none}@media (width>=1500px){.sidebar{width:340px;padding:45px 35px}.world-heading h1{font-size:52px}.quest{margin-top:40px}.world-view canvas{filter:saturate(.9)}}@media (height<=800px) and (width>=761px){.sidebar{padding-top:24px}.world-heading h1{margin:12px 0;font-size:36px}.quest{margin-top:20px;padding-top:18px}.quest-step{margin-top:14px}.whale-card{padding-top:15px}.whale-card svg{height:40px}.sidebar-footer{margin-top:15px}.topbar{height:64px}}@media (width<=1000px){.sidebar{width:250px;padding-left:20px;padding-right:20px}.alpha{display:none}.map-bottom{left:20px;right:20px}.inventory{gap:18px;padding:14px}.bottom-bar p{white-space:nowrap;text-overflow:ellipsis;max-width:260px;overflow:hidden}}@media (width<=760px){.topbar{height:58px;padding:0 15px}.wordmark{letter-spacing:3px;gap:8px;font-size:18px}.brand-icon{font-size:27px}.header-right{gap:12px}.network{display:none}.quiet{padding:7px 10px;font-size:10px}.sidebar{display:none}.map-top{top:20px;left:18px;right:18px}.zone-badge small{max-width:210px;font-size:11px}.map-bottom{bottom:18px;left:15px;right:15px}.inventory{gap:15px;padding:12px}.inventory strong{font-size:21px}.action{gap:8px;padding:12px;font-size:10px}.bottom-bar{height:35px;padding:0 15px}.bottom-bar>div{display:none}.bottom-bar p{max-width:none;font-size:11px}.seal-reminder{padding:10px;font-size:16px;top:115px;right:15px}.seal-reminder small{max-width:170px}.touch-controls{flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;bottom:120px;left:18px}.touch-controls>div{gap:4px;display:flex}.touch-controls button{touch-action:none;background:#0b232bdd;border-color:#71998344;width:40px;height:40px;padding:0}.full-screen h1{font-size:36px}}.adventure-shell{background:#060e18}.adventure-topbar{z-index:20;background:#111924;border-bottom:1px solid #d9c69822;flex-shrink:0;justify-content:space-between;align-items:center;height:68px;padding:0 28px;display:flex}.adventure-topbar .wordmark{letter-spacing:4px;font-size:20px}.app-shell.adventure-shell .adventure-topbar{z-index:20;pointer-events:none;background:0 0;border:0;height:64px;padding:0 24px;position:relative}.app-shell.adventure-shell .adventure-topbar>*{pointer-events:auto}.brand-logo{width:40px;height:40px;image-rendering:pixelated;filter:drop-shadow(0 0 6px #7de8ff44)}.wordmark-text{flex-direction:column;gap:2px;display:flex}.wordmark-text .wordmark-motto{letter-spacing:.5px;color:#b3c8cb;text-transform:none;font-family:DM Sans,sans-serif;font-size:11px;font-weight:400}.adventure-topbar .alpha{letter-spacing:1px;font-size:11px}.adventure-topbar .quiet{font-size:12px}.current-world{color:#b3c8cb;align-items:center;gap:10px;font-size:12px;display:flex}.hero-dock{z-index:25;pointer-events:none;position:absolute;top:6px;left:24px}.hero-figure{pointer-events:auto;color:#e6dfd0;text-align:left;cursor:pointer;background:0 0;border:0;align-items:flex-end;gap:14px;padding:0;display:flex}.hero-figure-art{flex:none;width:192px;height:192px;position:relative}.hero-figure-art:before{content:"";background:radial-gradient(#7de8ff55,#0000 70%);border-radius:50%;width:120px;height:26px;transition:background .15s;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.hero-figure-art .hero-figure-portrait{object-fit:contain;width:192px;height:192px;image-rendering:pixelated;filter:drop-shadow(0 6px 6px #000a);transition:filter .15s;position:relative}.hero-figure:hover .hero-figure-art:before{background:radial-gradient(#e5c585aa,#0000 70%)}.hero-figure:hover .hero-figure-portrait{filter:drop-shadow(0 0 8px #e5c58588)drop-shadow(0 6px 6px #000a)}.hero-figure:focus-visible{outline:none}.hero-figure:focus-visible .hero-figure-portrait{outline-offset:4px;border-radius:8px;outline:2px solid #e5c57e}.hero-figure-text{background:linear-gradient(90deg,#060e1899,#060e1833);border-radius:10px;flex-direction:column;gap:4px;min-width:170px;margin-bottom:26px;padding:12px 16px 14px;display:flex}.hero-figure-text .hero-figure-name{color:#f1e9d6;text-shadow:0 2px 6px #000c;font-family:DM Sans,sans-serif;font-size:17px;font-weight:500}.hero-figure-level{letter-spacing:1.5px;text-transform:uppercase;color:#e5c585;margin-bottom:6px;font-size:11px}.hero-bar{background:#000a;border:1px solid #ffffff1f;border-radius:4px;width:170px;height:7px;display:block;overflow:hidden}.hero-bar .hero-bar-fill{height:100%;transition:width .2s;display:block}.hero-bar-health .hero-bar-fill{background:linear-gradient(90deg,#b8412f,#e9856b)}.hero-bar-energy .hero-bar-fill{background:linear-gradient(90deg,#3d8fc4,#8fd6ff)}.hero-bar-experience .hero-bar-fill{background:linear-gradient(90deg,#3f8ab0,#8fe3ff)}.hero-figure-value{color:#b3c8cb;font-variant-numeric:tabular-nums;margin-bottom:4px;font-size:11px}.hero-figure-open{color:#e5c585;margin-top:6px;font-size:11px}@media (pointer:coarse) and (orientation:portrait),(orientation:landscape) and (height<=600px){.hero-dock{top:8px;left:12px}.hero-figure{align-items:center;gap:8px}.hero-figure-art{background:conic-gradient(#e9856b var(--health,100%), #fff2 0);border-radius:50%;width:44px;height:44px;padding:3px;overflow:hidden}.hero-figure-art:before{display:none}.hero-figure-art .hero-figure-portrait{clip-path:circle(19px at 52px 26px);filter:none;width:104px;height:104px;margin:-6px 0 0 -33px}.hero-figure-text{background:0 0;gap:0;min-width:0;margin:0;padding:0}.hero-figure-text .hero-figure-name,.hero-figure .hero-bar,.hero-figure-value,.hero-figure-open{display:none}.hero-figure-level{margin:0;font-size:10px}}.adventure-stage{flex:1;min-height:0;position:relative;overflow:hidden}.adventure-stage .game-canvas{inset:0}.orma-hub{background:#07111f;position:absolute;inset:0;overflow:hidden}.app-shell.adventure-shell .adventure-stage{overflow:visible}.app-shell.adventure-shell.aboard .orma-hub,.app-shell.adventure-shell.in-ruins .game-canvas{top:-64px}.hub-atmosphere{filter:blur(10px);background:linear-gradient(#071422bb,#050d17aa),url(/assets/worlds/orma-graphic-dark.png) 50%/cover;position:absolute;inset:-20px}.hub-panorama{aspect-ratio:1.5;isolation:isolate;max-width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.orma-art{object-fit:contain;filter:none;width:100%;height:100%;display:block}.hub-panorama:after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 -70px 65px -40px #07111f,inset 0 40px 65px -40px #07111f}.hub-stars{pointer-events:none;background:radial-gradient(circle at 73% 32%,#7de8ff44,#0000 6%),radial-gradient(circle at 29% 28%,#ffb95022,#0000 7%);animation:5s ease-in-out infinite starbreath;position:absolute;inset:0}@keyframes starbreath{50%{opacity:.35}}.station{z-index:4;color:#dfcfad;white-space:nowrap;background:#202936;border:1px solid #c5ab7566;border-radius:7px;align-items:center;gap:10px;padding:10px 13px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 6px 26px #0009}.station:hover{background:#263341;border-color:#dfc38b;box-shadow:0 0 30px #e5bf5222}.station-icon{color:#e5c585;width:27px;font-size:25px}.station strong{text-align:left;font-family:DM Sans,sans-serif;font-size:14px;font-weight:400;display:block}.station small{color:#9cafb8;text-align:left;margin-top:4px;font-size:10px;display:block}.forge-station{top:34%;left:29%}.observatory-station{top:15%;left:47%}.dock-station{border-color:#79bec999;top:39%;left:74%}.dock-station .station-icon{color:#a8e9ff}.home-caption{pointer-events:none;z-index:5;position:absolute;bottom:35px;left:32px}.home-caption h1{color:#eee4cf;text-shadow:0 2px 10px #000;margin:7px 0;font-size:38px}.home-caption :where(h1) span{color:#6c8085;margin:0 6px;font-size:24px}.home-caption h1 em{font-size:26px;font-weight:400}.home-caption p{color:#9bafb7;max-width:390px;font-size:12px}.departure-button{z-index:6;color:#f0dfb8;text-align:left;background:linear-gradient(115deg,#26343de8,#162931ef);border:1px solid #c8ad75;grid-template-columns:1fr 24px;gap:8px;min-width:260px;padding:17px 22px;display:grid;position:absolute;bottom:38px;right:32px;box-shadow:0 5px 40px #0007}.departure-button>span{font-family:DM Sans,sans-serif;font-size:18px}.departure-button b{grid-row:span 2;align-self:center;font-size:22px}.departure-button small{color:#a6b7bd;max-width:250px;font-size:10px;line-height:1.5}.service-keeper{z-index:4;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;transform:translate(-50%,-100%)}.service-keeper:before{content:"";background:radial-gradient(#e5c58555,#0000 70%);border-radius:50%;width:58px;height:16px;transition:background .15s;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)}.service-keeper:hover:before,.service-keeper:focus-within:before{background:radial-gradient(#e5c585aa,#0000 70%)}.npc-sprite{width:64px;height:64px;image-rendering:pixelated;transform-origin:50% 100%;filter:drop-shadow(0 4px 3px #0009);background-repeat:no-repeat;background-size:400% 100%;animation:1.2s steps(4,end) infinite keeper-idle;display:block;transform:scale(1.2)}.service-keeper:focus-within .npc-sprite{outline-offset:4px;border-radius:6px;outline:2px solid #e5c57e}.service-keeper:hover .npc-sprite{filter:drop-shadow(0 0 6px #e5c58599)drop-shadow(0 4px 3px #0009)}@keyframes keeper-idle{to{background-position-x:133.333%}}.tip-anchor{display:inline-flex;position:relative}.tip{z-index:40;color:#efe6d2;text-align:center;white-space:nowrap;opacity:0;pointer-events:none;background:#0b131cf2;border:1px solid #c7b68199;border-radius:8px;min-width:max-content;padding:7px 11px;transition:opacity .14s,transform .14s;position:absolute;left:50%;transform:translate(-50%,4px);box-shadow:0 8px 24px #000a}.tip strong{letter-spacing:.3px;font-family:DM Sans,sans-serif;font-size:12px;font-weight:500;display:block}.tip small{color:#a4b6bf;margin-top:2px;font-size:10px;display:block}.tip:after{content:"";border:5px solid #0000;position:absolute;left:50%;transform:translate(-50%)}.tip-top{bottom:calc(100% + 12px)}.tip-top:after{border-top-color:#c7b68199;top:100%}.tip-bottom{top:calc(100% + 12px);transform:translate(-50%,-4px)}.tip-bottom:after{border-bottom-color:#c7b68199;bottom:100%}.tip-anchor:hover>.tip,.tip-anchor:focus-within>.tip{opacity:1;transform:translate(-50%)}@media (hover:none){.tip{display:none}}.tip-anchor.service-keeper{display:block;position:absolute}.keeper-button{cursor:pointer;background:0 0;border:0;padding:0;position:relative}.keeper-name{color:#e5d9bf;letter-spacing:.4px;white-space:nowrap;pointer-events:none;background:#0b131c88;border-radius:6px;padding:2px 7px;font-family:DM Sans,sans-serif;font-size:11px;position:absolute;bottom:calc(100% + 14px);left:50%;transform:translate(-50%)}.service-keeper .tip-top{bottom:calc(100% + 40px)}.keeper-button:focus-visible{outline:none}.keeper-smith{top:42.5%;left:34.5%}.keeper-navigator{top:41.5%;left:50.2%}.keeper-merchant{top:47%;left:55%}.keeper-witch{top:52%;left:62.5%}.hero-hud{pointer-events:none;background:#202936f2;border:1px solid #a6c2cf25;border-radius:7px;align-items:center;gap:12px;min-width:260px;padding:10px 15px 10px 7px;display:flex;position:absolute;top:22px;left:24px}.hero-portrait{border-right:1px solid #bea66f33;width:54px;height:64px;overflow:hidden}.hero-portrait img{object-fit:contain;image-rendering:auto;width:68px;height:68px;margin-left:-7px}.hero-hud .eyebrow{letter-spacing:1.4px;color:#b5c6bf;font-size:10px}.hero-hud strong{color:#ebe2d0;margin-top:5px;font-size:13px;font-weight:500;display:block}.health-track{background:#0009;border:1px solid #98c7b233;border-radius:3px;width:160px;height:5px;margin-top:10px;overflow:hidden}.health-track i{background:linear-gradient(90deg,#588b75,#afd4a1);height:100%;transition:width .2s;display:block}.hero-hud small{text-align:right;color:#94afa5;margin-top:4px;font-size:11px;display:block}.quest-scroll{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#202936ed;border:1px solid #c1ab762e;border-top:2px solid #c1ab7677;border-radius:2px;width:245px;padding:20px 18px;position:absolute;top:132px;left:24px}.quest-scroll .eyebrow{letter-spacing:1.5px;font-size:10px}.quest-scroll h2{color:#e1d6bd;margin:12px 0;font-size:25px;line-height:1.1}.quest-scroll p{color:#a2b2b7;font-size:11px;line-height:1.75}.quest-progress{color:#cdc8b6;border-top:1px solid #bdad791a;align-items:center;gap:9px;margin-top:18px;padding-top:14px;font-size:10px;display:flex}.quest-progress>span{color:#d2b477;font-size:19px}.quest-progress b{margin-left:auto;font-size:10px;font-weight:400}.quest-progress .complete{color:#9dd7b7}.quest-scroll>small{color:#c0a590;margin-top:16px;font-size:10px;line-height:1.5;display:block}.resource-hud{gap:12px;display:flex;position:absolute;top:23px;right:25px}.resource-hud>div,.resource-hud>button{color:#e1d6b9;background:#0b1726d9;border:1px solid #a6c2cf25;border-radius:4px;grid-template-columns:21px auto;gap:2px 8px;padding:10px 14px;display:grid}.resource-hud>:where(div)>span,.resource-hud>:where(button)>span{color:#d6b672;grid-row:span 2;align-self:center;font-size:22px}.resource-hud strong{font-size:18px;font-weight:500;line-height:1}.resource-hud small{color:#91a6b3;margin-top:4px;font-size:10px}.adventure-footer{color:#889ba4;background:#09131d;border-top:1px solid #bca87622;flex-shrink:0;justify-content:space-between;align-items:center;gap:25px;height:33px;padding:0 25px;font-size:10px;display:flex}.build-version{color:#6f8790;letter-spacing:.5px;font-variant-numeric:tabular-nums;margin-left:4px;font-size:9px}.adventure-footer>span:nth-child(2){color:#6d8792;font-size:11px}.expedition-location{text-align:center;pointer-events:none;position:absolute;top:25px;left:50%;transform:translate(-50%)}.expedition-location>span{letter-spacing:3px;color:#d1a87c;font-size:11px}.expedition-location h1{color:#ebdfca;text-shadow:0 3px 8px #000;margin-top:8px;font-size:22px}.expedition-location p{color:#9caeb3;font-size:10px}.expedition-location:where(.safe)>span{color:#9ddabf}.target-hud{text-align:center;background:#111824dc;border:1px solid #a4826533;border-radius:4px;min-width:220px;padding:10px 20px;position:absolute;top:133px;left:50%;transform:translate(-50%)}.target-hud>span{letter-spacing:2px;color:#af9481;font-size:10px}.target-hud strong{color:#e3cdbb;margin-top:6px;font-family:DM Sans,sans-serif;font-size:15px;display:block}.target-hud .health-track{width:100%;margin-top:8px}.enemy-health i{background:linear-gradient(90deg,#87554d,#ce7d5e)}.target-hud small{color:#b99983;margin-top:5px;font-size:11px;display:block}.combat-dock{text-align:center;position:absolute;bottom:23px;left:50%;transform:translate(-50%)}.skill-bar{background:#141d2aed;border:1px solid #a7936944;border-radius:9px;gap:8px;padding:10px;display:flex;box-shadow:0 8px 30px #000a}.skill-button{color:#e1cc9f;background:linear-gradient(#394858,#1c2735);border:1px solid #b7a17988;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:91px;height:86px;padding:8px;display:flex;position:relative;overflow:hidden}.skill-button kbd{z-index:3;border-color:#cfb98255;padding:2px 4px;font-size:10px;position:absolute;top:3px;left:4px}.skill-symbol{color:#edcf8c;text-shadow:0 0 15px #edbc5555;z-index:1;font-size:32px;line-height:1}.skill-pulse .skill-symbol{color:#9adaef;text-shadow:0 0 15px #65d4fa66}.skill-barrier .skill-symbol{color:#bdc4fa;text-shadow:0 0 15px #8899fa55}.skill-button strong{z-index:1;white-space:nowrap;font-size:11px;font-weight:400}.skill-button:disabled{opacity:.75}.skill-cooldown{color:#ebe4d5;z-index:4;background:#08121bbb;place-items:center;font-family:DM Sans,sans-serif;font-size:25px;display:grid;position:absolute;inset:0}.cooldown-wipe{pointer-events:none;background:#050b1255;position:absolute;bottom:0;left:0;right:0}.combat-dock>p{color:#9cacb1;text-shadow:0 2px 5px #000;margin-top:8px;font-size:10px}.field-actions{flex-direction:column;gap:8px;display:flex;position:absolute;bottom:45px;right:25px}.field-actions button{background:#122635e8;align-items:center;gap:10px;padding:12px 17px;font-size:12px;display:flex}.game-toast{color:#e3cda6;pointer-events:none;background:#24212fe8;border:1px solid #c6a37855;border-radius:4px;padding:12px 22px;font-size:13px;position:absolute;bottom:172px;left:50%;transform:translate(-50%);box-shadow:0 5px 25px #0007}.game-toast.success{color:#c0e2c8;background:#132d2eea;border-color:#7eaf8b88}.in-ruins .quest-scroll{opacity:.9}.adventure-shell .connection-overlay{z-index:100}.adventure-shell .seal-reminder{z-index:30;top:80px}.dialog-shade{z-index:40;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#030b14a8;place-items:center;display:grid;position:absolute;inset:0}.npc-dialog{background:#142331;border:1px solid #c6ae7444;border-radius:8px;width:min(500px,90vw);padding:35px;box-shadow:0 20px 100px #000a}.npc-dialog h2{margin:15px 0;font-size:29px}.npc-dialog p{color:#b0c1c4;font-size:14px;line-height:1.9}.npc-dialog button{margin-top:24px}.equipment-dialog{color:#dfddcc;background:linear-gradient(135deg,#182735,#0c1925);border:1px solid #c6ac7577;border-radius:8px;width:min(790px,100vw - 32px);max-height:88dvh;margin:auto;padding:32px;position:fixed;inset:0;overflow:auto;box-shadow:0 20px 90px #000b}.equipment-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#030c15ba}.equipment-dialog>.close-button{background:0 0;border:0;padding:3px 10px;font-size:24px;position:absolute;top:10px;right:12px}.equipment-dialog h2{margin:12px 0;font-size:37px}.equipment-dialog>p{color:#9ab0b8;font-size:12px}.material-wallet{color:#afc1c3;align-items:center;gap:9px;margin:23px 0;font-size:12px;display:flex}.material-wallet>span{color:#d5b576;font-size:22px}.material-wallet strong{color:#e5d4ac;font-size:24px;font-weight:500}.material-wallet small{letter-spacing:2px;color:#80999e;margin-left:auto;font-size:10px}.equipment-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}.equipment-card{background:#15242fd9;border:1px solid #c6baa233;border-radius:7px;padding:16px}.equipment-card.rarity-uncommon{background:linear-gradient(150deg,#1c3333,#10232c);border-color:#76a99b55}.equipment-card.rarity-rare{background:linear-gradient(150deg,#29304c,#142432);border-color:#8a9ad277}.item-top{align-items:center;gap:12px;display:flex}.ground-loot{background:#101722ed;border:1px solid #706045;border-radius:6px;gap:6px;max-height:165px;padding:10px;display:grid;overflow:auto}.ground-loot button{text-align:left;align-items:center;gap:8px;display:flex}.ground-loot small{color:#bdac8b;font-size:11px;display:block}.item-icon{filter:none;flex-shrink:0;width:58px;height:58px;overflow:visible}.ground-loot .item-icon{flex-shrink:0;width:38px;height:38px}.item-icon.uncommon,.item-icon.rare{filter:none}.rarity-label{letter-spacing:1px;color:#8fa6ad;font-size:10px}.equipment-card h3{color:#e3d8bc;margin:6px 0;font-family:DM Sans,sans-serif;font-size:14px;font-weight:400}.equipment-card :where(h3) b{color:#ddc17e;font-weight:400}.equipment-card p{color:#8ca5ab;font-size:10px;line-height:1.6}.item-stats{color:#8fa6ac;border-top:1px solid #b8ada022;align-items:center;gap:10px;margin:18px 0 15px;padding-top:13px;font-size:10px;display:flex}.item-stats strong{color:#d9d3b8;font-size:17px}.upgrade-pips{gap:5px;margin-left:auto;display:flex}.upgrade-pips i{border:1px solid #b5a37b66;width:6px;height:6px;transform:rotate(45deg)}.upgrade-pips .filled{background:#dcc189;box-shadow:0 0 8px #ddb66466}.item-actions{flex-wrap:wrap;gap:6px;display:flex}.item-actions button{white-space:nowrap;flex:1;padding:8px 10px;font-size:11px}.item-actions .gold-button{background:#c49c4d19;border-color:#d2b47777}.expedition-bag{border-top:1px solid #b2b49f22;margin-top:25px;padding-top:20px}.expedition-bag h3{justify-content:space-between;font-size:15px;font-weight:500;display:flex}.expedition-bag :where(h3) span{color:#cbb074}.expedition-bag>p{color:#8fa6ad;margin:10px 0;font-size:11px}.loot-row{flex-wrap:wrap;gap:10px;display:flex}.loot-item{text-align:center;background:#0c1924;border:1px solid #9b987744;border-radius:4px;width:95px;padding:8px}.loot-item .item-icon{width:45px;height:45px}.loot-item>span{color:#b5c3c2;font-size:11px;line-height:1.5;display:block}@media (width<=1200px){.adventure-topbar .alpha,.current-world{display:none}.hero-hud{min-width:220px}.hero-hud .health-track{width:125px}.quest-scroll{width:215px;padding:15px}.quest-scroll h2{font-size:23px}.hub-panorama{max-width:none;height:100%}.station strong{font-size:12px}.station small{font-size:11px}.home-caption h1{font-size:30px}.home-caption h1 em{font-size:20px}.home-caption p{max-width:310px}.departure-button{min-width:220px;max-width:250px}.resource-hud{right:18px}.adventure-footer>span:nth-child(2){display:none}}@media (width<=760px){.adventure-topbar{height:55px;padding:0 12px}.adventure-topbar .wordmark{letter-spacing:2px;font-size:16px}.adventure-topbar .brand-icon{font-size:24px}.adventure-topbar .quiet{padding:7px;font-size:10px}.header-right{gap:5px}.hero-hud{gap:5px;min-width:0;padding:7px 10px 7px 2px;top:12px;left:12px}.hero-portrait{width:43px;height:50px}.hero-portrait img{width:55px;height:55px}.hero-hud .eyebrow{letter-spacing:.5px;font-size:7px}.hero-hud strong{font-size:11px}.hero-hud .health-track{width:120px;margin-top:6px}.quest-scroll{display:none}.resource-hud{flex-direction:column;gap:5px;top:13px;right:12px}.resource-hud>div,.resource-hud>button{gap:1px 5px;min-width:78px;padding:7px 10px}.resource-hud strong{font-size:15px}.resource-hud small{font-size:7px}.resource-hud>:where(div)>span,.resource-hud>:where(button)>span{font-size:16px}.hub-panorama{aspect-ratio:1.5;width:150%;max-width:none;height:auto;top:47%;left:50%}.station{gap:5px;padding:7px}.station-icon{width:20px;font-size:20px}.station strong{font-size:10px}.station small{display:none}.observatory-station{top:8%;left:48%}.forge-station{top:34%;left:31%}.dock-station{top:45%;left:71%}.citizen{width:23px;height:23px}.home-caption{bottom:140px;left:18px}.home-caption h1{max-width:300px;font-size:30px}.home-caption h1 em{margin-top:3px;font-size:20px;display:block}.home-caption :where(h1) span{display:none}.home-caption p{max-width:280px;font-size:10px}.departure-button{min-width:0;max-width:none;padding:15px 18px;bottom:28px;left:18px;right:18px}.departure-button>span{font-size:17px}.departure-button small{max-width:none;font-size:11px}.adventure-footer{height:28px;padding:0 12px;font-size:10px}.adventure-footer>span:last-child{display:none}.expedition-location{width:95%;top:105px}.expedition-location h1{font-size:25px}.expedition-location>span{font-size:10px}.target-hud{min-width:190px;padding:8px 14px;top:185px}.target-hud strong{font-size:12px}.combat-dock{bottom:22px}.skill-bar{gap:6px;padding:6px}.skill-button{width:72px;height:70px}.skill-button strong{font-size:10px}.skill-symbol{font-size:27px}.combat-dock>p{max-width:245px;font-size:11px;line-height:1.5}.field-actions{gap:5px;bottom:143px;right:13px}.field-actions button{gap:6px;max-width:125px;padding:10px;font-size:11px}.adventure-stage .touch-controls{bottom:155px;left:13px}.game-toast{text-align:center;width:90%;padding:11px;font-size:11px;bottom:265px}.equipment-dialog{padding:24px 18px}.equipment-dialog h2{font-size:29px}.equipment-grid{grid-template-columns:1fr}.item-top .item-icon{width:55px;height:55px}.item-actions button,.equipment-card p{font-size:11px}.equipment-card h3{font-size:15px}.adventure-shell .seal-reminder{top:88px}.npc-dialog{padding:25px}}.health-meter{background:#152329;border:0;width:160px;height:6px;margin-top:10px;display:block}.health-meter::-webkit-meter-bar{background:#071418;border:1px solid #98c7b233;border-radius:3px}.health-meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#588b75,#afd4a1)}.health-meter::-moz-meter-bar{background:#8cb692}.rpg-equipment{width:min(1040px,100vw - 30px);padding:26px 30px}.equipment-header{border-bottom:1px solid #bdad7929;justify-content:space-between;align-items:center;margin-bottom:22px;padding-right:20px;display:flex}.equipment-header h2{margin:10px 0 19px;font-size:31px}.equipment-header .material-wallet{align-items:center;gap:8px;margin:0;display:flex}.rpg-layout{grid-template-columns:1fr 1fr;gap:25px;display:grid}.paperdoll-panel{border-right:1px solid #b5b79a22;padding-right:20px}.paperdoll{grid-template-columns:82px 1fr 82px;gap:8px;min-height:510px;display:grid}.slots-column{flex-direction:column;justify-content:space-between;gap:8px;display:flex}.paper-slot{color:#677f8b;background:radial-gradient(#293845,#0c1925);border:1px solid #8d9ba133;border-radius:3px;justify-content:center;align-items:center;width:80px;height:70px;padding:8px 9px 3px;display:flex;position:relative}.paper-slot .item-icon,.paper-slot .slot-icon{width:43px;height:43px}.paper-slot.filled{background:radial-gradient(#454235,#11212d);border-color:#b29e6d66}.paper-slot.selected{border-color:#e3c387;box-shadow:0 0 0 1px #e3c38766,0 0 20px #b4964e16}.slot-label{letter-spacing:.5px;color:#9fb0b7;white-space:nowrap;font-size:10px;position:absolute;top:3px;left:0;right:0}.paper-slot small{color:#dbbc7c;font-size:11px;position:absolute;bottom:2px;right:5px}.paper-character{isolation:isolate;flex-direction:column;justify-content:center;align-items:center;min-width:0;display:flex;position:relative}.character-halo{z-index:-1;background:radial-gradient(#92a89225,#0000 65%);position:absolute;inset:5% 0 20%}.character-halo:after{content:"";border:1px solid #b4c0a319;border-radius:50%;position:absolute;inset:20% 10% 10%;box-shadow:0 0 0 25px #a4b9a406}.paper-character>img{object-fit:contain;image-rendering:auto;filter:drop-shadow(0 10px 16px #0008);width:min(200px,100%);height:235px}.paper-character>strong{color:#e0d6bd;margin-top:8px;font-family:DM Sans,sans-serif;font-size:17px;font-weight:400}.paper-character>span{letter-spacing:1px;color:#8aa2a8;text-align:center;margin-top:7px;font-size:10px}.character-stats{text-align:center;justify-content:center;gap:16px;margin-top:30px;display:flex}.character-stats small{color:#839eab;max-width:45px;height:22px;font-size:10px;display:block}.character-stats b{color:#d6c092;font-family:DM Sans,sans-serif;font-size:24px;font-weight:400}.bag-heading{justify-content:space-between;align-items:center;margin:0 0 12px;display:flex}.bag-heading h3{color:#e3d6b8;font-family:DM Sans,sans-serif;font-size:21px;font-weight:400}.bag-heading>span{color:#859ba5;font-size:11px}.bag-filter{color:#93a9b0;justify-content:space-between;align-items:center;min-height:25px;margin-bottom:10px;font-size:11px;display:flex}.bag-filter b{color:#d1be98;font-weight:500}.bag-filter button{background:0 0;border-color:#a1b6b533;padding:4px 7px;font-size:10px}.bag-grid{grid-template-columns:repeat(6,1fr);gap:6px;margin:0;padding:0;list-style:none;display:grid}.bag-cell{aspect-ratio:1;background:linear-gradient(135deg,#07131e,#102230);border:1px solid #8f9ba132;border-radius:3px;place-items:center;min-width:0;display:grid}.bag-cell>span{color:#6a859d33;font-size:19px}.bag-cell>button{background:0 0;border:0;place-items:center;width:100%;height:100%;padding:3px;display:grid;position:relative}.bag-cell .item-icon{width:100%;max-width:50px;height:100%}.bag-cell small{color:#dabc78;font-size:10px;position:absolute;bottom:3px;right:4px}.bag-cell.incompatible{opacity:.25}.bag-cell.selected{background:#3a392bcc;border-color:#e3c387}.item-inspector{background:#08151d66;border:1px solid #a1aa9633;border-radius:4px;min-height:190px;margin-top:16px;padding:15px}.item-inspector .item-top .item-icon{width:49px;height:49px}.item-inspector h3{color:#dbcfb4;margin:6px 0;font-family:DM Sans,sans-serif;font-size:14px;font-weight:400}.item-inspector h3 b{color:#d9bd7a;font-weight:400}.item-inspector p{color:#8fa6ad;font-size:10px;line-height:1.6}.item-inspector .item-stats{margin:12px 0}.item-inspector .upgrade-explanation{color:#728d97;margin-top:9px;font-size:11px}.no-item-selected{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:155px;display:flex}.no-item-selected>span{color:#748b8e66;font-size:38px}.no-item-selected p{max-width:220px;font-size:11px;line-height:1.7}.rpg-equipment .expedition-bag{margin-top:20px;padding-top:15px}@media (width<=760px){.rpg-equipment{padding:20px 14px}.equipment-header{gap:12px;padding-right:15px}.equipment-header h2{font-size:25px}.equipment-header .eyebrow{font-size:7px}.equipment-header .material-wallet{gap:5px}.equipment-header :where(.material-wallet) strong{font-size:21px}.equipment-header .material-wallet small{font-size:7px}.rpg-layout{grid-template-columns:1fr;gap:22px}.paperdoll-panel{border:0;padding:0}.paperdoll{grid-template-columns:70px 1fr 70px;gap:5px;min-height:450px}.paper-slot{width:70px;height:64px}.paper-character>img{width:165px;height:200px}.character-stats{gap:14px}.paper-character>strong{font-size:16px}.bag-grid{gap:7px}.item-actions button{font-size:10px}.item-inspector h3{font-size:16px}.item-inspector p{font-size:11px}.health-meter{width:120px;margin-top:6px}}.character-build{background:#111b26;border:1px solid #c2ad6f33;border-radius:12px;margin:0 0 22px;padding:18px}.build-summary,.character-build footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.character-build progress{accent-color:#a0bcdb;width:100%;height:8px;margin:12px 0}.talent-paths{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.talent-path{background:#263243;border-top:2px solid #9b829f;border-radius:8px;padding:14px}.talent-path strong{justify-content:space-between;gap:8px;display:flex}.talent-path p,.character-build small{color:#bcc6d1;font-size:12px}.talent-path button,.character-build footer button{padding:8px 14px}.character-build footer{margin-top:14px}.level-button{color:#afd7ed;background:0 0;border:0;padding:4px 0;font-size:10px;display:block}@media (width<=650px){.talent-paths{grid-template-columns:1fr}}.admin-page{max-width:1160px;height:100dvh;margin:0 auto;padding:40px 24px;overflow:auto}.admin-page header,.admin-actions,.admin-history{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.admin-page section,.admin-login{background:#172330;border:1px solid #b1a88144;border-radius:12px;margin:22px 0;padding:24px}.admin-page label{flex-direction:column;gap:8px;font-size:13px;display:flex}.admin-page input,.admin-page select{min-width:0}.admin-page :where(button){padding:10px 16px}.admin-selectors,.probability-grid{grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0;display:grid}.loot-preview{grid-template-columns:repeat(2,1fr);gap:16px;margin:20px 0;display:grid}.loot-preview small{color:#aab9c9;margin-top:6px;display:block}.admin-pool>div{grid-template-columns:1fr 1fr 1fr;gap:14px;margin:16px 0;display:grid}.admin-history{overflow-wrap:anywhere;border-bottom:1px solid #75819744;padding:14px 0;font-size:13px}.admin-actions{margin:20px 0}.valid-total{color:#9bddc9}.invalid-total,.admin-page [role=alert]{color:#ffb0a7}.item-icon.epic{color:#bf99ed}.item-icon.unique{color:#f2cc77}@media (width<=650px){.admin-selectors,.probability-grid,.loot-preview,.admin-pool>div{grid-template-columns:1fr}}.dungeon-route{color:#7c838c;letter-spacing:1px;flex-wrap:wrap;align-items:center;gap:12px;font-size:11px;display:flex;position:absolute;top:18px;left:355px;right:26px}.dungeon-route>span:first-child{color:#c3ad7d;letter-spacing:2px}.dungeon-route i{color:#686258;margin-left:12px;font-style:normal}.dungeon-route .current{color:#e1d2af}.dungeon-route .visited{color:#898f91}.dungeon-route .route-goal{color:#967b69;margin-left:auto}.dungeon-heading{pointer-events:none;position:absolute;top:155px;left:30px}.dungeon-heading>span{letter-spacing:3px;text-transform:uppercase;color:#96958d;font-size:10px}.dungeon-heading h1{color:#d8ccaf;margin:10px 0;font:italic 30px Georgia,serif}.dungeon-heading p{color:#9e8e80;font-size:12px}.autobattle-control{width:245px;position:absolute;bottom:36px;left:28px}.autobattle-control :where(button){color:#c6bfa8;background:#141b22;border:1px solid #51534c;align-items:center;gap:12px;width:100%;padding:13px;display:flex}.autobattle-control button[aria-pressed=true]{color:#e7cd8f;background:#2b281f;border-color:#a58a51}.autobattle-control :where(b){margin-left:auto;font-size:10px}.autobattle-control small{color:#8f949c;margin-top:8px;font-size:10px;line-height:1.6;display:block}.dungeon-doors{background:linear-gradient(130deg,#101720f2,#151a20eb);border:1px solid #474238;border-radius:5px;width:min(365px,35vw);padding:18px;position:absolute;bottom:170px;right:28px;box-shadow:0 15px 50px #0005}.dungeon-doors.unlocked{top:145px;bottom:auto}.dungeon-doors.locked{box-shadow:none;background:0 0;border:0;width:245px;padding:0;bottom:32px}.dungeon-doors.locked .eyebrow{color:#a17c6d;font-size:10px;line-height:1.8}.dungeon-doors p{color:#aeaaa0;margin:8px 0 0;font-size:11px}.door-choices{gap:8px;margin-top:12px;display:grid}.door-choices :where(button){text-align:left;color:#ded1b4;background:linear-gradient(#1f272d,#171d22);border:1px solid #605849;border-left-width:4px;border-radius:8px;grid-template-columns:44px 1fr;align-items:center;gap:6px 12px;width:100%;padding:10px 12px;transition:border-color .15s,box-shadow .15s;display:grid}.door-choices :where(button):not(:disabled):hover{border-color:#c9ac70;box-shadow:0 0 16px #e5c58522}.door-choices small{color:#9da09b;margin-top:4px;font-size:10px;line-height:1.5;display:block}.door-choices strong{font:16px Georgia,serif}.door-glyph{color:#b59662;text-align:center;font-size:30px}.door-prop{width:44px;height:44px;image-rendering:pixelated;filter:drop-shadow(0 3px 3px #0008)}.door-threat{color:#9da09b;grid-column:2;font-size:10px;line-height:1.5}.door-threat-word{letter-spacing:.5px;text-transform:uppercase;font-family:DM Sans,sans-serif;font-size:11px;font-weight:500}.door-card.threat-calm{border-left-color:#6fcf7a}.door-card.threat-calm .door-threat-word{color:#8ee08a}.door-card.threat-tense{border-left-color:#e0b64f}.door-card.threat-tense .door-threat-word{color:#ffd66b}.door-card.threat-deadly{border-left-color:#d9534f}.door-card.threat-deadly .door-threat-word{color:#ff8a80}.dungeon-doors>:where(button){color:#e8d19e;background:#353022;border:1px solid #998258;width:100%;margin-top:12px;padding:12px}.dungeon-doors button:disabled{opacity:.45;cursor:default}.in-ruins .target-hud{top:75px}.in-ruins .resource-hud{top:auto;bottom:85px;right:28px}.corridor-controls{border:0;gap:12px;padding:0;display:flex;position:absolute;bottom:140px;left:28px}.corridor-controls :where(button){color:#cfc4a7;background:#151c23dc;border:1px solid #4d4b42;border-radius:4px;width:56px;height:42px;font-size:22px}@media (width<=760px){.dungeon-route{gap:6px;font-size:9px;top:116px;left:18px;right:18px}.dungeon-route .route-goal{display:none}.dungeon-heading{top:152px;left:18px}.dungeon-heading h1{font-size:22px}.dungeon-heading>span{display:none}.autobattle-control{width:135px;bottom:12px;left:12px}.autobattle-control small{display:none}.autobattle-control :where(button){gap:5px;padding:10px;font-size:10px}.dungeon-doors{width:235px;padding:12px;bottom:175px;right:12px}.dungeon-doors.locked{display:none}.corridor-controls{bottom:65px;left:12px}.in-ruins .resource-hud{bottom:14px;right:12px}.in-ruins .target-hud{width:160px;top:160px;left:auto;right:12px;transform:none}.in-ruins .combat-dock{bottom:63px;left:auto;right:12px;transform:none}.in-ruins .skill-button{width:54px;height:64px}.in-ruins .combat-dock p{display:none}}.dungeon-capacity{color:#d5b576;width:260px;font-size:11px;line-height:1.5;position:absolute;bottom:95px;left:28px}.difficulty-selector{z-index:7;color:#d2c4a7;background:#111c26ef;border:1px solid #817154;align-items:center;gap:14px;padding:10px 14px;font-size:11px;display:flex;position:absolute;bottom:153px;right:32px}.difficulty-selector select{padding-block:7px}.level-briefing{z-index:60;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050910b8;place-items:center;padding:25px;display:grid;position:absolute;inset:0;overflow:auto}.level-briefing>div{background:linear-gradient(135deg,#15232bf5,#11151df5);border:1px solid #8e7952;max-width:660px;padding:38px 45px;box-shadow:0 30px 100px #000a}.level-briefing h1{color:#e5d7b7;margin:18px 0;font:italic 38px Georgia,serif}.level-briefing p{color:#b2b9ba;font-size:14px;line-height:1.8}.level-briefing ol{color:#d8c39a;padding-left:22px;font-size:13px;line-height:2.2}.level-briefing .briefing-help{color:#849693;border-top:1px solid #495147;padding-top:15px;font-size:11px}.briefing-actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.briefing-actions :where(button){color:#f1deb0;background:#423a28;border:1px solid #a18a56;padding:13px 18px}.room-interactions{background:#111b25ed;border:1px solid #85745066;border-radius:4px;width:265px;padding:15px;position:absolute;top:350px;left:28px}.room-interactions p{color:#b8b5a6;margin:6px 0 12px;font-size:11px;line-height:1.65}.room-interactions :where(button){text-align:left;color:#e3cda1;background:#252d32;border:1px solid #726544;width:100%;margin-top:8px;padding:9px 10px;font-size:11px;display:block}.room-interactions button:disabled{opacity:.45}.room-interactions .relic-lore{color:#c7b382;font-style:italic}.level-threat{color:#bca47b;letter-spacing:1px;font-size:10px}.stamina-meter{accent-color:#7baaa6;width:100%;height:7px;margin-top:8px;display:block}.run-summary{text-align:center;background:#111b23ef;border:1px solid #a68d52;width:390px;padding:24px;position:absolute;top:155px;left:50%;transform:translate(-50%)}.run-summary h2{color:#e3cea4;margin:12px 0;font:italic 29px Georgia,serif}.run-summary dl{grid-template-columns:1fr 1fr;gap:16px;display:grid}.run-summary dt{color:#9ca8a7;font-size:10px}.run-summary dd{color:#dcca93;margin:5px 0;font:24px Georgia,serif}.run-summary p{color:#a1acae;font-size:11px;line-height:1.6}.audio-controls{align-items:center;gap:8px;display:flex;position:absolute;top:48px;right:28px}.audio-controls :where(button){color:#a9b3b4;background:#17212cbd;border:1px solid #49525d;padding:6px 9px;font-size:10px}.audio-controls input{accent-color:#bca16a;width:65px}.dungeon-admin{background:#142129;border:1px solid #59706e;margin:24px 0;padding:22px}.dungeon-admin>summary{color:#dac698;cursor:pointer;font:24px Georgia,serif}.balance-editor>p{color:#a9b5b7;max-width:850px;font-size:13px;line-height:1.7}.balance-global,.balance-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0;display:grid}.balance-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.balance-editor fieldset{border:1px solid #45595c;padding:18px}.balance-editor legend{color:#dac99d}.balance-editor label{color:#c1c9c9;gap:6px;margin-bottom:10px;font-size:12px;display:grid}.balance-editor input,.balance-editor select{width:100%;min-width:0}.balance-editor :where(button),.balance-history :where(button),.dungeon-admin>:where(button){color:#e0cba0;background:#343026;border:1px solid #826f48;margin:12px 8px 0 0;padding:10px 14px}.balance-editor button:disabled{opacity:.4}.balance-rooms details{border:1px solid #3a4a51;margin:8px 0;padding:12px}.balance-rooms summary{color:#d2c3a7;cursor:pointer}.balance-roster{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.balance-history{gap:5px;display:grid}@media (width<=760px){.difficulty-selector{gap:7px;padding:6px;bottom:145px;right:18px}.level-briefing{padding:12px}.level-briefing>div{padding:22px}.level-briefing h1{font-size:28px}.level-briefing p{font-size:12px}.room-interactions{width:185px;max-height:205px;padding:10px;top:225px;left:12px;overflow:auto}.audio-controls{top:18px;right:12px}.audio-controls input{display:none}.run-summary{width:calc(100% - 24px);top:220px;left:12px;transform:none}.in-ruins .skill-button{width:45px}.in-ruins .skill-button strong{font-size:8px}.balance-global,.balance-presets{grid-template-columns:1fr}.dungeon-admin{padding:12px}}.retreat-control{z-index:15;text-align:right;max-width:280px;position:absolute;top:86px;right:28px}.retreat-control :where(button){color:#d6c3b6;background:#17212cdf;border:1px solid #7a6a5c;min-height:40px;margin:3px;padding:9px 16px;font-size:13px}.retreat-control p{color:#d6beb0;background:#18202af5;border:1px solid #71564a;padding:10px;font-size:11px;line-height:1.5}.level-briefing .retreat-control{text-align:left;max-width:none;margin-top:12px;position:static}@media (width<=760px){.retreat-control{max-width:200px;top:54px;right:12px}}.dungeon-workshop{color:#e5e8eb;background:linear-gradient(145deg,#17212b,#0e151c);border:1px solid #60543d;border-radius:12px;margin:28px 0;padding:28px}.workshop-title{justify-content:space-between;align-items:start;gap:24px;display:flex}.workshop-title h2{color:#e6d5ae;margin:8px 0;font:32px Georgia,serif}.dungeon-workshop p{color:#b9c3cb;max-width:85ch;font-size:14px;line-height:1.65}.workshop-library,.workshop-route{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0;display:grid}.dungeon-workshop :where(button){color:#e9edf0;cursor:pointer;background:#1b2732;border:1px solid #53606b;border-radius:6px;padding:12px 16px;font-size:14px}.dungeon-workshop button[aria-pressed=true]{background:#3b3528;border-color:#d3b873}.dungeon-workshop button:disabled{opacity:.45;cursor:not-allowed}.workshop-library :where(button),.workshop-route :where(button){text-align:left;flex-direction:column;gap:10px;display:flex}.workshop-library small,.workshop-route small{color:#b6c1ca;line-height:1.5}.workshop-route :where(button){border-left:3px solid #ab9364;min-height:88px;position:relative}.workshop-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.dungeon-workshop label{flex-direction:column;gap:8px;font-size:14px;display:flex}.dungeon-workshop :is(input:not([type=checkbox]),textarea){color:#f0f1ed;width:100%;font:inherit;background:#0d151d;border:1px solid #53606b;border-radius:5px;padding:10px 12px}.dungeon-workshop textarea{resize:vertical;min-height:85px}.dungeon-workshop fieldset{border:1px solid #4d5861;border-radius:8px;margin-bottom:20px;padding:20px}.dungeon-workshop legend{color:#e1c58c;padding:0 10px}.workshop-exits{flex-wrap:wrap;align-items:center;gap:18px;margin-top:22px;display:flex}.workshop-exits label{flex-direction:row;align-items:center}.dungeon-workshop details{border-bottom:1px solid #45515b;margin:24px 0;padding:0 0 18px}.dungeon-workshop summary{cursor:pointer;color:#e1c58c;padding:12px 0}.workshop-publication{border-top:1px solid #45515b;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:20px;display:flex}.workshop-publication p{flex-basis:100%}.dungeon-workshop .primary{color:#111923;background:#bba16b;border-color:#e2c78b}.expedition-picker{z-index:5;background:#111b24ed;border:1px solid #5e5747;border-radius:7px;width:340px;padding:12px 16px;position:absolute;bottom:215px;right:36px}.expedition-picker label{color:#d7c49a;flex-direction:column;gap:8px;font-size:13px;display:flex}.expedition-picker select{width:100%}.in-ruins :is(.dungeon-heading,.room-interactions,.dungeon-doors,.autobattle-control,.run-summary){text-shadow:none}.dungeon-heading{background:linear-gradient(90deg,#101923ed,#10192300);border-left:2px solid #b49b64;border-radius:0 6px 6px 0;padding:14px 18px}.dungeon-heading>span{color:#c8c6b9;letter-spacing:1.5px;font-size:11px}.dungeon-heading h1{color:#f1e4c8;font-size:28px;font-style:normal}.dungeon-heading p,.dungeon-doors p,.level-threat{color:#c7cfd4;font-size:13px}.door-choices strong{font-family:Arial,sans-serif;font-weight:600}.door-choices small{color:#c4ccd1;font-size:12px}.autobattle-control small{display:none}.autobattle-control :where(button){font-size:14px}.dungeon-doors.locked{display:none}.room-interactions{background:#111b24f5;border-color:#5a6266}.room-interactions p,.room-interactions :where(button){font-size:13px;line-height:1.5}.dungeon-route{background:linear-gradient(90deg,#0000,#0f1720bd,#0000);font-size:12px}.in-ruins .ability-dock strong{font-size:12px}:where(button,a,input,select,textarea):focus-visible{outline-offset:3px;outline:2px solid #eed39b}@media (width<=760px){.workshop-meta,.workshop-library,.workshop-route{grid-template-columns:1fr}.dungeon-workshop{padding:16px}.workshop-title{flex-direction:column}.expedition-picker{width:min(320px,100% - 36px);bottom:196px;right:18px}.dungeon-heading{padding:6px 10px}.dungeon-heading h1{font-size:20px}.dungeon-heading p,.level-threat{font-size:11px}}.departure-console{background:linear-gradient(140deg,#17232ff5,#111a23f5);border:1px solid #746443;border-radius:10px;gap:14px;width:340px;padding:18px;display:grid;position:absolute;bottom:36px;right:32px;box-shadow:0 18px 50px #0005}.departure-console :is(.expedition-picker,.difficulty-selector,.departure-button){width:100%;box-shadow:none;background:0 0;border:0;margin:0;padding:0;position:static}.departure-console .departure-button{border-top:1px solid #53606b;border-radius:0;padding-top:18px}.departure-console .difficulty-selector{justify-content:space-between;display:flex}@media (width<=760px){.departure-console{gap:10px;width:min(310px,100% - 36px);padding:12px;bottom:18px;right:18px}}.dungeon-doors :where(button:disabled){opacity:1;color:#bbc4ca;cursor:not-allowed;background:#141d25;border-color:#46515a}.dungeon-doors :where(button:disabled) small{color:#aebac3}.item-icon[data-form="3"]{background:radial-gradient(circle,#cbb07314,#0000 70%)}.item-peculiarities{border-top:1px solid #43515d;padding:16px 0}.item-peculiarities h4{color:#dfd0ac;margin:12px 0;font-size:15px}.item-peculiarities>p{color:#abb8c4;font-size:13px;line-height:1.6}.item-trait{background:#14202a;border:1px solid #465563;border-left:3px solid #a48ac5;border-radius:5px;margin:8px 0;padding:12px}.item-trait :where(strong){color:#e1d8ec;justify-content:space-between;gap:12px;font-size:14px;display:flex}.item-trait :where(b){color:#b9a0e0;white-space:nowrap}.item-trait p{color:#c0cbd4;margin:7px 0;font-size:13px;line-height:1.5}.item-trait small{color:#a7d2bf;font-size:12px}.upgrade-preview{color:#e7d8b7;background:linear-gradient(125deg,#29261f,#101c26);border:1px solid #756541;border-radius:6px;align-items:center;gap:16px;margin-top:14px;padding:12px;font-size:13px;display:flex}.upgrade-preview :where(.item-icon){width:76px;height:76px}.upgrade-preview :where(strong){margin-top:8px;font-size:19px;display:block}.build-traits{border:1px solid #47545e;border-radius:6px;margin:14px 0;padding:12px}.build-traits summary{cursor:pointer;color:#d4c6a5}.build-traits p{color:#ccd5da;justify-content:space-between;font-size:13px;display:flex}.trait-editor{background:#141d27;border:1px solid #655576;border-radius:8px;margin:24px 0;padding:20px}.trait-editor summary{color:#d7bee9;cursor:pointer;font-size:18px}.trait-editor p{color:#b7c4ce;line-height:1.6}.trait-counts,.trait-fields{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.trait-editor fieldset{border:1px solid #455563;border-radius:6px;margin:18px 0;padding:16px}.trait-editor legend{color:#dac6e8;padding:0 8px}.trait-editor label{flex-direction:column;gap:8px;font-size:13px;display:flex}.trait-editor input[type=number]{color:#f2ecdd;background:#0e1720;border:1px solid #536271;border-radius:4px;width:100%;padding:8px}.trait-slots{flex-wrap:wrap;gap:12px;margin-top:12px;display:flex}.trait-editor .trait-toggle,.trait-slots label{flex-direction:row;align-items:center}.trait-slots :where(strong){color:#d1c3a5;flex-basis:100%}@media (width<=760px){.trait-counts,.trait-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.trait-editor{padding:12px}}.bag-cell[data-rarity=uncommon]{border-color:#547e6b}.bag-cell[data-rarity=rare]{border-color:#507dba}.bag-cell[data-rarity=epic]{background:#30263a;border-color:#9e79c6}.bag-cell[data-rarity=unique]{background:#372e1d;border-color:#d7b866}.equipment-talents,.item-arsenal{background:#111c26;border:1px solid #46525e;border-radius:7px;margin:14px 0;padding:14px}.equipment-talents summary,.item-arsenal summary{color:#d9c69e;cursor:pointer;font-size:14px}.item-arsenal>p{color:#bfcad3;font-size:13px;line-height:1.6}.arsenal-controls{flex-wrap:wrap;gap:18px;margin:18px 0;display:flex}.arsenal-controls label{color:#d9c69e;flex-direction:column;gap:8px;font-size:13px;display:flex}.arsenal-controls select{padding-block:8px}.arsenal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:480px;padding:4px;display:grid;overflow:auto}.arsenal-grid article{text-align:center;background:radial-gradient(at top,#273647,#131e29);border:1px solid #576775;border-radius:8px;flex-direction:column;align-items:center;padding:16px;display:flex}.arsenal-grid :where(.item-icon){width:90px;height:90px;margin-bottom:12px}.arsenal-grid :where(strong){color:#ece0c7;font-size:14px}.arsenal-grid small{color:#b9c6d4;margin-top:8px;font-size:12px}.arsenal-grid p{color:#aebecb;font-size:12px;line-height:1.5}@media (width<=600px){.arsenal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.arsenal-grid article{padding:10px}}.campaign-drawer{z-index:45;background:#101922;border:1px solid #586575;border-radius:16px;padding:30px;position:fixed;inset:76px 24px 24px;overflow:auto;box-shadow:0 30px 90px #000c}.campaign-close{float:right;z-index:1;position:sticky;top:0}.campaign-atlas{color:#e9e3d6;max-width:1200px;margin:auto}.campaign-atlas header{max-width:800px;margin-bottom:28px}.campaign-atlas h2{margin:12px 0;font-size:clamp(24px,3vw,40px)}.campaign-worlds{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.campaign-world{background:linear-gradient(135deg,#26303c,#141e29);border:1px solid #435161;border-radius:12px;padding:20px}.campaign-world h3{color:#d0b777;margin:0 0 16px}.campaign-world.act-1{background:linear-gradient(135deg,#392823,#141e29)}.campaign-world.act-2{background:linear-gradient(135deg,#1b3740,#141e29)}.campaign-world.act-3{background:linear-gradient(135deg,#32304b,#141e29)}.campaign-world.act-4{background:linear-gradient(135deg,#302037,#141e29)}.campaign-world.act-5{background:linear-gradient(135deg,#1c1e30,#090e18)}.campaign-chapters{gap:8px;display:grid}.campaign-chapters :where(button){text-align:left;color:#e9e3d6;background:#0b121abb;border:1px solid #465769;border-radius:8px;gap:6px;padding:14px;display:grid}.campaign-chapters button:disabled{opacity:.5;cursor:not-allowed}.campaign-chapters button.cleared{border-color:#66907d}.campaign-chapters button.mastered{border-color:#d0b777}.campaign-chapters small,.campaign-chapters span{color:#b4c0cb;font-size:12px}.campaign-journal{border:1px solid #596576;border-radius:12px;margin:24px 0;padding:20px}.campaign-journal section{border-bottom:1px solid #384451;padding:12px 0}.campaign-journal .undiscovered{color:#81909e;font-style:italic}.campaign-story-shade{z-index:80;background:#030810ed;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.campaign-story{background:linear-gradient(145deg,#26313d,#0e1720);border:1px solid #a5936d;border-radius:14px;max-width:720px;max-height:90dvh;padding:36px;overflow:auto;box-shadow:0 30px 90px #000}.campaign-story .story-prose{color:#eee9df;font-size:19px;line-height:1.8}.campaign-story blockquote{background:#ffffff08;border-left:3px solid #c7ab70;margin:24px 0;padding:16px}.campaign-story footer{justify-content:space-between;gap:12px;margin-top:24px;display:flex}.chronicle-pickup{background:#2c271d;border-color:#bb9c60}@media (width<=760px){.campaign-worlds{grid-template-columns:1fr}.campaign-drawer{padding:18px;inset:60px 8px 8px}.campaign-story{padding:22px}.campaign-story .story-prose{font-size:16px}}.attribute-grid,.class-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.attribute-grid article,.class-options article{background:#111c27;border:1px solid #3a4b5a;border-radius:10px;padding:18px}.attribute-grid header{justify-content:space-between;align-items:center;gap:8px;display:flex}.attribute-grid header b{color:#dbc68e;font-size:25px}.attribute-grid header small{font-size:14px}.attribute-grid p,.class-options p,.build-caps{color:#b9c5cf;font-size:13px;line-height:1.6}.attribute-grid article>small{color:#9da9b5;font-size:11px}.class-options h4{margin:8px 0;font-size:20px}.class-options ul{color:#c9d4dc;padding-left:18px;font-size:13px;line-height:1.7}.class-confirm{background:#29251c;border:1px solid #b99b65;border-radius:8px;padding:20px}.class-confirm :where(button){margin-right:12px}@media (width<=700px){.attribute-grid,.class-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=450px){.attribute-grid,.class-options{grid-template-columns:1fr}}.atlas-navigation{justify-content:space-between;align-items:center;gap:18px;margin:24px 0 16px;display:flex}.atlas-navigation>div{text-align:center}.atlas-navigation h3{margin:6px 0;font-family:Georgia,serif;font-size:clamp(20px,3vw,32px)}.atlas-navigation :where(button){color:#e0c59a;background:#151b21;border:1px solid #776348;border-radius:50%;width:48px;height:48px;font-size:24px}.atlas-navigation button:disabled{opacity:.3}.atlas-map{aspect-ratio:3/2;background:#182027;border:1px solid #6a5944;border-radius:18px;width:100%;max-height:70vh;position:relative;overflow:hidden;box-shadow:0 20px 65px #0007}.atlas-map>img{object-fit:cover;opacity:.83;width:100%;height:100%;display:block}.atlas-route{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.atlas-route path{fill:none;stroke:#d5b270;stroke-width:.35px;stroke-dasharray:1 1;opacity:.7}.atlas-waypoint{color:#e9d4b3;background:#111920;border:2px solid #a38b65;border-radius:50%;width:50px;height:50px;font-size:19px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 5px 20px #000b}.atlas-waypoint :where(small){color:#eee0c9;background:#0b111be8;border-radius:5px;width:150px;padding:6px;font-size:12px;font-weight:600;position:absolute;top:58px;left:50%;transform:translate(-50%)}.atlas-waypoint.locked{color:#8a8f98;cursor:default;background:#171d25;border-color:#53565c}.atlas-waypoint.current{border-color:#ffe1a2;box-shadow:0 0 0 7px #dcb87b22,0 0 28px #e6bb7366}.atlas-waypoint.cleared{color:#bde0d3;border-color:#8abcaa}.atlas-waypoint:focus-visible{outline-offset:5px;outline:3px solid #fff2d4}.atlas-tooltip{pointer-events:none;background:#0c121bf2;border:1px solid #a38b65;border-radius:10px;width:min(320px,100% - 40px);padding:18px 20px;position:absolute;top:20px;left:20px;box-shadow:0 8px 40px #0009}.atlas-tooltip :where(strong){margin:5px 0;font-family:Georgia,serif;font-size:22px;display:block}.atlas-tooltip p{margin:8px 0;font-size:13px;line-height:1.5}.atlas-tooltip :where(small){color:#cfb890}.atlas-footer{color:#ada89f;justify-content:space-between;align-items:center;gap:15px;margin:18px 0;font-size:13px;display:flex}.atlas-footer :where(button){color:#e4cba5;background:#191e25;border:1px solid #65563f;border-radius:8px;padding:12px 16px}@media (width<=600px){.atlas-map{aspect-ratio:1;max-height:none}.atlas-map>img{object-fit:fill}.atlas-waypoint{width:38px;height:38px;font-size:15px}.atlas-waypoint :where(small){width:90px;font-size:10px;top:44px}.atlas-tooltip{width:calc(100% - 16px);padding:10px;top:8px;left:8px}.atlas-tooltip :where(strong){font-size:17px}.atlas-tooltip p{font-size:11px}.atlas-footer{flex-direction:column;align-items:flex-start}}.campaign-drawer{z-index:80;background:#191729;border:0;border-radius:0;padding:0;inset:0;overflow:hidden}.campaign-close{z-index:6;float:none;position:absolute;top:24px;right:24px}.campaign-atlas-fullscreen{isolation:isolate;width:100%;max-width:none;height:100dvh;margin:0;position:relative}.campaign-atlas-fullscreen>header{z-index:3;pointer-events:none;max-width:65%;margin:0;position:absolute;top:22px;left:32px}.campaign-atlas-fullscreen h2{margin:6px 0;font-size:clamp(22px,2.1vw,32px)}.campaign-atlas-fullscreen .atlas-map{aspect-ratio:auto;width:100%;height:100%;max-height:none;box-shadow:none;border:0;border-radius:0;position:absolute;inset:0}.campaign-atlas-fullscreen .atlas-map>img{object-fit:fill;opacity:1}.campaign-atlas-fullscreen .atlas-map:after{content:"";pointer-events:none;background:linear-gradient(#10121bbb,#0000 24% 83%,#10121bdd);position:absolute;inset:0}.campaign-atlas-fullscreen .atlas-waypoint{z-index:2}.campaign-atlas-fullscreen .atlas-route{z-index:1}.campaign-atlas-fullscreen .atlas-navigation{z-index:3;width:min(560px,80vw);margin:0;position:absolute;top:118px;left:50%;transform:translate(-50%)}.campaign-atlas-fullscreen .atlas-navigation h3{text-shadow:0 2px 8px #000;font-size:clamp(19px,2vw,27px)}.campaign-atlas-fullscreen .atlas-footer{z-index:3;margin:0;position:absolute;bottom:20px;left:32px;right:32px}.campaign-atlas-fullscreen .atlas-tooltip{z-index:4;background:#1c2135f5;border:2px solid #434e69;top:auto;bottom:105px;left:32px}.campaign-atlas-fullscreen .campaign-journal{z-index:5;background:#171c2bf7;width:min(420px,100% - 64px);margin:0;position:absolute;top:200px;bottom:90px;right:32px;overflow:auto}@media (width<=600px){.campaign-drawer{padding:0;inset:0}.campaign-close{top:14px;right:12px}.campaign-atlas-fullscreen>header{max-width:70%;top:16px;left:16px}.campaign-atlas-fullscreen>header .eyebrow{display:none}.campaign-atlas-fullscreen h2{font-size:19px}.campaign-atlas-fullscreen .atlas-navigation{width:94vw;top:100px}.campaign-atlas-fullscreen .atlas-navigation h3{font-size:17px}.campaign-atlas-fullscreen .atlas-footer{bottom:14px;left:16px;right:16px}.campaign-atlas-fullscreen .atlas-footer>span{display:none}.campaign-atlas-fullscreen .atlas-tooltip{width:calc(100% - 32px);bottom:80px;left:16px}}.room-interactions-stack{gap:10px;width:265px;max-height:calc(100% - 490px);display:grid;position:absolute;top:350px;left:28px;overflow-y:auto}.room-interactions-stack>.room-interactions{width:auto;max-height:none;position:static;overflow:visible}@media (width<=760px){.room-interactions-stack{width:185px;max-height:calc(100% - 470px);top:350px;left:12px}}@media (aspect-ratio<=1){.campaign-atlas-fullscreen{background:radial-gradient(#302844,#11131f 78%)}.campaign-atlas-fullscreen .atlas-map{aspect-ratio:3/2;width:100%;height:auto;inset:50% 0 auto;transform:translateY(-40%)}.campaign-atlas-fullscreen .atlas-map>img{object-fit:contain}}.game-loading{text-align:center;color:#ead9b9;position:absolute;inset:45% 16px auto}@media (aspect-ratio<=1){.campaign-atlas-fullscreen .atlas-map>img{-webkit-mask-image:linear-gradient(#0000,#000 12% 88%,#0000);mask-image:linear-gradient(#0000,#000 12% 88%,#0000)}}.run-summary{z-index:24;scrollbar-width:thin;background:radial-gradient(at top,#384347 0,#14232b 40%,#0b151efc 85%);border:1px solid #ba9c60;border-radius:16px;width:min(460px,100% - 28px);max-height:calc(100dvh - 160px);padding:24px 28px;animation:.35s ease-out reward-arrival;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 90px #000b,inset 0 1px #f8dea838}.victory-sigil{color:#f0cf86;text-shadow:0 0 28px #c8995370;margin-bottom:12px;font-size:42px;line-height:1.1}.run-summary h2{margin:8px 0;font-size:32px}.run-summary .victory-chapter{color:#d1c7b4;margin:0 0 18px}.run-summary dl{border-block:1px solid #c9b07926;gap:14px;margin:0 0 16px;padding:16px 0}.run-summary dt{font-size:11px}.run-summary dd{font-variant-numeric:tabular-nums}.reward-materials{color:#bdcbd0;justify-content:space-between;align-items:center;font-size:12px;display:flex}.reward-materials :where(strong){color:#efc986;font-size:19px}.reward-loot{text-align:left;grid-template-columns:1fr 1fr;gap:8px;max-height:152px;margin:12px 0;padding:0;list-style:none;display:grid;overflow:auto}.reward-loot li{--loot-color:#a8b5bb;border:1px solid #a8b5bb26;border-left:2px solid var(--loot-color);background:#ffffff05;border-radius:5px;align-items:center;gap:8px;min-width:0;padding:7px;display:flex}.reward-loot [data-rarity=uncommon]{--loot-color:#8ec4a0}.reward-loot [data-rarity=rare]{--loot-color:#86bdef}.reward-loot [data-rarity=epic]{--loot-color:#c69bea}.reward-loot [data-rarity=unique]{--loot-color:#f1c56e}.reward-loot :is(img,svg){object-fit:contain;flex-shrink:0;width:38px;height:38px}.reward-loot :where(strong){color:var(--loot-color);font-size:11px;line-height:1.4;display:block}.reward-loot :where(small){color:#aab8bd;margin-top:3px;font-size:10px;display:block}.run-summary .rewards-secured{color:#a7d8ba;background:#598c7520;border-radius:7px;padding:12px}.reward-departure{color:#fff0c7;background:linear-gradient(#605334,#3d3829);border:1px solid #d1b16b;border-radius:7px;width:100%;min-height:46px;font-weight:600}.reward-departure:disabled{opacity:.5;cursor:wait}button:focus-visible,summary:focus-visible{outline-offset:4px;outline:2px solid #f2d39c}@keyframes reward-arrival{0%{opacity:0;translate:0 10px}to{opacity:1;translate:0}}@media (width<=760px){.run-summary{max-height:calc(100dvh - 120px);padding:18px}.run-summary h2{font-size:27px}.victory-sigil{margin-bottom:8px;font-size:30px}}@media (prefers-reduced-motion:reduce){.run-summary{animation:none}}.corridor-controls :where(button){touch-action:none;-webkit-user-select:none;user-select:none}.progression-hud{text-align:left;gap:5px;min-width:190px;display:grid}.progression-hud>span:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.progression-hud :where(small){color:#afbebd;font-size:9px}.experience-track{background:#93c8d021;border-radius:4px;height:3px;overflow:hidden}.experience-track i{background:linear-gradient(90deg,#779fba,#b6d9d7);height:100%;transition:width .35s;display:block}.available-attributes{color:#edcf8c;font-size:10px}@media (width<=760px){.progression-hud{min-width:150px}}@media (prefers-reduced-motion:reduce){.experience-track i{transition:none}}.in-ruins .seal-reminder{display:none}.in-ruins .dungeon-heading{top:195px}@media (width<=760px){.in-ruins .dungeon-route{top:174px}.in-ruins .dungeon-heading{top:204px}}.party-dialog{color:#dce5df;background:radial-gradient(at top,#2c3b41,#101b25 70%);border:1px solid #9f895b;border-radius:14px;width:min(520px,100vw - 28px);max-height:calc(100dvh - 40px);padding:28px;box-shadow:0 25px 100px #000a}.party-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#050c16b8}.party-dialog h2{color:#eddbb3;margin:12px 0;font:30px Georgia,serif}.party-dialog p{color:#b5c5c8;font-size:13px;line-height:1.6}.party-dialog :where(button){color:#ebdcbb;background:#35413f;border:1px solid #8c7958;border-radius:5px;padding:10px 14px}.party-dialog :where(button:disabled){opacity:.4}.party-dialog label{gap:8px;margin:14px 0 10px;font-size:12px;display:grid}.party-dialog input{color:#cfdfdf;background:#08141e;border:1px solid #60727b;border-radius:4px;width:100%;min-width:0;padding:10px}.party-actions{flex-wrap:wrap;gap:10px;display:flex}.party-roster{gap:8px;margin:20px 0;padding:0;list-style:none;display:grid}.party-roster li{background:#8ab2c00a;border:1px solid #77989b38;border-radius:8px;align-items:center;gap:12px;padding:9px;display:flex}.party-roster :where(img){object-fit:contain;width:52px;height:52px}.party-roster :where(strong,small){display:block}.party-roster :where(small){color:#9fb7bb;margin-top:5px}.party-roster li>:last-child{color:#c5daa9;margin-left:auto}.party-scaling{border-block:1px solid #aa965937;gap:6px;padding:12px;font-size:12px;display:grid}.security-panel{border:1px solid #526774;border-radius:8px;margin:24px 0;padding:20px}.security-panel p{color:#b7c7cd;max-width:800px}.security-events{max-height:350px;margin-top:16px;overflow:auto}.security-events table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.security-events :where(td,th){border-bottom:1px solid #a0b0bc28;padding:8px}@media (width<=760px){.party-dialog{padding:20px}.adventure-topbar .header-right{flex-wrap:wrap}.adventure-topbar .quiet{padding:7px;font-size:10px}}.graph-workspace{grid-template-columns:280px minmax(0,1fr);gap:14px;min-height:680px;display:grid}.graph-tools{background:#111b25;border:1px solid #38414a;border-radius:8px;align-content:start;gap:10px;max-height:740px;padding:16px;display:grid;overflow-y:auto}.graph-tools label{gap:5px;display:grid}.graph-tools .graph-exit{align-items:center;font-size:12px;display:flex}.graph-tools input[type=checkbox]{width:auto}.graph-composer{background:#0b121b;border:1px solid #38414a;border-radius:8px;min-width:0;overflow:hidden}.graph-composer header{border-bottom:1px solid #38414a;flex-wrap:wrap;gap:12px;padding:16px;font-size:12px;display:flex}.graph-scroll{height:675px;overflow:auto}.graph-canvas{background-image:radial-gradient(#53607144 1px,#0000 1px);background-size:20px 20px;position:relative}.graph-canvas svg{pointer-events:none;position:absolute}.graph-room{text-align:left;touch-action:none;cursor:grab;background:#1b2835;border:1px solid #6b6659;border-left:4px solid #b49b68;border-radius:7px;gap:5px;width:220px;height:100px;display:grid;position:absolute}.graph-room[aria-pressed=true]{background:#263545;outline:2px solid #d6b879}.graph-room.throne{border-left-color:#a878bf}.graph-room small,.graph-room span{color:#a5b3bf;font-size:10px}@media (width<=850px){.graph-workspace{grid-template-columns:1fr}.graph-tools{max-height:380px}.graph-scroll{height:500px}}.character-selection{min-height:100dvh;color:var(--ivory,#e5decd);background:radial-gradient(at 50% 0,#293442,#0b111b 70%);padding:clamp(20px,4vw,64px)}.character-selection>header,.character-selection>form{max-width:1180px;margin:0 auto 24px}.character-selection fieldset{border:0;padding:0}.skin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.skin-card{cursor:pointer;background:#141e2a;border:1px solid #43505f;border-radius:10px;flex-direction:column;align-items:center;gap:10px;padding:16px 10px;display:flex;position:relative}.skin-card.selected{background:#27313a;border-color:#d5b779;box-shadow:inset 0 0 0 1px #d5b779}.skin-card:focus-within{outline-offset:3px;outline:2px solid #a4dbea}.skin-card img{object-fit:contain;width:128px;height:128px}.skin-card small{color:#aab6bf;line-height:1.5}.skin-card input{position:absolute;top:10px;left:10px}.character-name{gap:8px;max-width:420px;display:grid}.character-name input{font:inherit;color:inherit;background:#101923;border:1px solid #647480;padding:12px}.character-selection button[type=submit]{margin-top:24px;padding:14px 28px;display:block}@media (width<=1050px){.skin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=420px){.skin-card img{width:96px;height:96px}.skin-card small{font-size:11px}}.equipment-dialog.character-screen{background:radial-gradient(at 25% 20%,#263441,#0e1721 70%);border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(18px,3vw,48px);inset:0}.character-screen .equipment-header{max-width:1500px;margin:auto;padding-right:48px}.character-tabs{z-index:3;background:#101a25f5;gap:8px;max-width:1500px;margin:0 auto 20px;padding:12px 0;display:flex;position:sticky;top:-1px;overflow-x:auto}.character-tabs [role=tab]{white-space:nowrap;border-bottom:2px solid #0000;padding:12px 20px}.character-tabs [aria-selected=true]{color:#ead3a3;background:#2c3540;border-bottom-color:#d2b779}.character-screen [role=tabpanel]{max-width:1500px;margin:auto}.character-screen [hidden]{display:none}.character-screen .rpg-layout{grid-template-columns:minmax(480px,1.4fr) minmax(330px,1fr);align-items:start;gap:32px}.character-left-column{gap:24px;min-width:0;display:grid}.character-screen .paperdoll-panel{border:0;padding:0}.character-screen .paperdoll{background:radial-gradient(#33434c88,#10202c44);border:1px solid #9eafbb24;border-radius:12px;grid-template-columns:100px minmax(140px,1fr) 100px;gap:20px;min-height:480px;padding:22px}.character-screen .paper-character>img{object-fit:contain;width:min(100%,240px);height:330px}.character-screen .bag-panel{background:#101923;border:1px solid #9eafbb24;border-radius:12px;padding:20px}.character-right-column{background:#101923d9;border:1px solid #9eafbb24;border-radius:12px;padding:24px;position:sticky;top:76px}.character-screen .character-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.character-screen .character-stats>div{background:#22303c;border-radius:6px;padding:14px}.character-screen .character-stats b{font-size:26px;display:block}.character-screen .item-inspector{border:0;padding:20px 0 0}.item-disposal{flex-wrap:wrap;gap:12px;margin:16px 0;display:flex}.item-disposal [role=alertdialog]{background:#2c2223;border:1px solid #b38d66;flex-basis:100%;padding:16px}.item-disposal [role=alertdialog] button{margin-right:10px}.merchant-station{top:43%;left:51%}@media (width<=960px){.character-screen .rpg-layout{grid-template-columns:1fr}.character-right-column{position:static}.character-screen .paperdoll{min-height:420px}}@media (width<=540px){.character-screen .paperdoll{grid-template-columns:70px minmax(90px,1fr) 70px;gap:6px;padding:8px}.character-screen .bag-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.character-screen .paper-character>img{height:250px}.character-tabs [role=tab]{padding:10px}.merchant-station{top:53%;left:42%}}.merchant-dialog{color:#e6decb;background:linear-gradient(135deg,#26312f,#101a22 75%);border:1px solid #b79a65;border-radius:14px;width:min(1200px,96vw);max-height:94dvh;padding:clamp(20px,3vw,40px);overflow:auto}.merchant-dialog::backdrop{background:#03090edf}.merchant-introduction{background:#ad926111;border:1px solid #bdad772c;border-radius:8px;align-items:center;gap:22px;margin:10px 0 28px;padding:20px;display:flex}.merchant-introduction h2{margin:0}.merchant-emblem{color:#cbb276;font-size:48px}.merchant-wallet{white-space:nowrap;margin-left:auto}.merchant-wallet strong{margin-top:8px;font-size:26px;display:block}.merchant-layout{grid-template-columns:1.4fr 1fr;align-items:start;gap:28px;display:grid}.merchant-stock{gap:10px;max-height:55dvh;padding:0;list-style:none;display:grid;overflow:auto}.merchant-stock button{text-align:left;background:#14232d;border:1px solid #53615b;align-items:center;gap:14px;width:100%;padding:10px;display:flex}.merchant-stock button.selected{background:#394036;border-color:#d0b675}.merchant-stock .item-icon{flex:0 0 56px;width:56px;height:56px}.merchant-stock small{color:#aab4b7;margin-top:7px;display:block}.merchant-stock b{white-space:nowrap;color:#dec58b;margin-left:auto}.merchant-offer{text-align:center;background:#0d1822a6;border:1px solid #ad996155;border-radius:10px;padding:28px}.merchant-offer>.item-icon{width:128px;height:128px;margin:0 auto 16px;display:block}.merchant-offer p{color:#aebbc1;line-height:1.6}.merchant-price{color:#e2c688;font-size:32px;display:block}@media (width<=700px){.merchant-layout{grid-template-columns:1fr}.merchant-introduction{flex-wrap:wrap}.merchant-wallet{margin-left:0}.merchant-dialog{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}}.hub-status-rail{pointer-events:none;gap:16px;width:clamp(260px,14vw,360px);display:grid;position:absolute;top:clamp(18px,2vh,32px);left:clamp(18px,1.5vw,48px)}.hub-status-rail :where(.hero-hud,.quest-scroll){box-sizing:border-box;width:100%;min-width:0;position:relative;inset:auto}.hub-status-rail .quest-scroll{padding:clamp(18px,1.2vw,28px)}.dungeon-status-rail{display:contents}.aboard .hub-panorama{aspect-ratio:7/3;width:max(100%,233.333dvh - 224px);max-width:none;height:auto}.aboard .orma-art{object-fit:cover}.aboard .hub-atmosphere{filter:none;background:#0f1426}.aboard .forge-station{top:27%;left:37%}.aboard .observatory-station{top:14%;left:49%}.aboard .dock-station{top:39%;left:66%}.aboard .merchant-station{top:49%;left:51%}.aboard .station{transform:translate(-50%,-50%)}.aboard .smith-citizen{top:37%;left:39%}.aboard .navigator-citizen{top:32%;left:49%}.aboard .traveler-citizen{top:43%;left:55%}@media (width>=2000px){.adventure-topbar{height:80px;padding-inline:40px}.adventure-topbar .quiet,.current-world{font-size:15px}.hub-status-rail .hero-hud{padding:18px}.hub-status-rail .hero-hud strong{font-size:18px}.hub-status-rail .hero-hud small,.hub-status-rail .quest-scroll p{font-size:14px}.hub-status-rail .quest-scroll h2{font-size:30px}.aboard .station{padding:18px 24px}.aboard .station strong{font-size:18px}.aboard .station small{font-size:14px}.home-caption{bottom:48px;left:48px}.home-caption h1{font-size:48px}.departure-console{width:380px;bottom:48px;right:48px}}@media (width<=760px){.hub-status-rail{width:210px;top:12px;left:12px}.hub-status-rail .hero-hud{display:flex}.aboard .hub-panorama{width:170%;min-width:900px}.aboard .station{padding:10px}.aboard .forge-station{top:35%;left:40%}.aboard .observatory-station{top:17%;left:51%}.aboard .dock-station{top:48%;left:61%}.aboard .merchant-station{top:62%;left:44%}}.world-light{pointer-events:none;z-index:1;opacity:var(--night-opacity,0);background:linear-gradient(#08132c,#10143555 65%,#080c22);transition:opacity 2s linear;position:absolute;inset:0}.world-clock{z-index:3;color:#d5d9e1;font-variant-numeric:tabular-nums;pointer-events:none;background:#101a29d9;border:1px solid #c5af792d;border-radius:24px;align-items:center;gap:10px;padding:8px 16px;font-size:12px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.in-ruins .world-clock{top:52px;bottom:auto}.hub-status-rail{z-index:3}.aboard .orma-art{animation:12s ease-in-out infinite orma-drift}@keyframes orma-drift{0%,to{transform:translateY(0)scale(1.025)}50%{transform:translateY(-7px)scale(1.025)}}@media (prefers-reduced-motion:reduce){.aboard .orma-art,.hub-stars,.citizen{animation:none}.world-light{transition:none}}@media (width<=760px){.world-clock{padding:6px 10px;font-size:10px;inset:12px 12px auto auto;transform:none}.world-clock>span:last-child{display:none}.aboard .hub-panorama{aspect-ratio:auto;width:100%;min-width:0;height:100%}.aboard .orma-art{object-fit:cover;object-position:50% 50%}.aboard .station{max-width:46%}.aboard .forge-station{top:35%;left:25%}.aboard .observatory-station{top:23%;left:75%}.aboard .dock-station{top:49%;left:75%}.aboard .merchant-station{top:59%;left:25%}}@media (width<=1050px) and (width>=761px){.aboard .hub-panorama{aspect-ratio:auto;width:100%;height:100%}.aboard .forge-station{top:48%;left:30%}.aboard .observatory-station{top:25%;left:65%}.aboard .dock-station{top:48%;left:75%}.aboard .merchant-station{top:63%;left:50%}}@media (width<=760px){.adventure-topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:90px;padding:10px 12px}.adventure-topbar .wordmark{letter-spacing:2px;font-size:16px}.adventure-topbar nav{gap:6px}.adventure-topbar .quiet{padding:8px;font-size:11px}.aboard .home-caption{display:none}.aboard .departure-console{width:auto;padding:12px;bottom:12px;left:12px;right:12px}.aboard .departure-console .departure-button{padding:10px 0 0}.aboard .departure-console .departure-button small{display:none}.adventure-shell.aboard .seal-reminder{width:130px;min-width:0;padding:8px;font-size:11px;top:48px;right:12px}.adventure-shell.aboard .seal-reminder small{display:none}.aboard .resource-hud{top:112px;right:12px}.aboard .observatory-station{top:29%}.aboard .merchant-station{top:57%}}@media (width<=1050px){.aboard .home-caption{display:none}.adventure-shell.aboard .seal-reminder{width:220px;inset:auto auto 30px 20px}.aboard .world-clock{inset:24px 140px auto auto;transform:none}}@media (width<=760px){.adventure-topbar .header-right{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;display:grid}.adventure-topbar .header-right .network{display:none}.adventure-topbar .header-right :where(button,a){text-align:center;min-width:0;margin:0;padding:8px 4px;font-size:10px}.adventure-shell.aboard .seal-reminder{display:none}.aboard .world-clock{top:12px;right:12px}}.campaign-atlas-fullscreen{background:#111522}.campaign-atlas-fullscreen:before{content:"";background:linear-gradient(#10152566, #101525bb), var(--atlas-art) center / cover;filter:blur(16px);pointer-events:none;position:absolute;inset:0;transform:scale(1.04)}.campaign-atlas-fullscreen .atlas-map{aspect-ratio:auto;background:0 0;width:100%;height:100%;inset:0;transform:none}.campaign-atlas-fullscreen .atlas-map>img{object-fit:contain;image-rendering:auto;position:absolute;-webkit-mask-image:none;mask-image:none}.campaign-atlas-fullscreen .atlas-waypoint{width:clamp(44px,2.2vw,64px);height:clamp(44px,2.2vw,64px);font-size:clamp(17px,1vw,24px)}.campaign-atlas-fullscreen .atlas-waypoint small{width:clamp(110px,9vw,200px);font-size:clamp(12px,.65vw,16px);line-height:1.35;top:calc(100% + 10px)}.campaign-atlas-fullscreen .atlas-tooltip{pointer-events:auto;width:min(360px,100% - 48px);max-height:calc(100dvh - 260px);padding:20px;top:auto;bottom:90px;left:24px;overflow-y:auto}.campaign-atlas-fullscreen .atlas-navigation{width:min(650px,100% - 48px)}@media (width>=2000px){.campaign-atlas-fullscreen>header{top:32px;left:48px}.campaign-atlas-fullscreen h2{font-size:40px}.campaign-atlas-fullscreen .atlas-navigation{top:140px}.campaign-atlas-fullscreen .atlas-footer{font-size:16px;bottom:32px;left:48px;right:48px}.campaign-atlas-fullscreen .atlas-tooltip{width:420px;font-size:16px;left:48px}}@media (aspect-ratio<=1){.campaign-atlas-fullscreen .atlas-map>img{-webkit-mask-image:linear-gradient(#0000,#000 15% 85%,#0000);mask-image:linear-gradient(#0000,#000 15% 85%,#0000)}}@media (width<=600px){.campaign-atlas-fullscreen>header{max-width:calc(100% - 88px)}.campaign-atlas-fullscreen .atlas-waypoint small{display:none}.campaign-atlas-fullscreen .atlas-tooltip{width:calc(100% - 32px);padding:12px;bottom:82px;left:16px}.campaign-atlas-fullscreen .atlas-navigation{width:calc(100% - 24px);top:110px}}.primary-attributes>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.primary-attributes>header span{color:#d5b875;font-size:12px}.primary-attribute-grid{gap:8px;display:grid}.primary-attribute-grid article{background:#17232e;border:1px solid #b8c6d324;border-radius:8px;grid-template-columns:48px 1fr 46px 34px;align-items:center;gap:10px;padding:10px 12px;display:grid}.primary-attribute-grid .attribute-code{color:#d9c28e;letter-spacing:1px;font-size:12px}.primary-attribute-grid small{color:#95a7b8;margin-top:4px;font-size:10px;display:block}.primary-attribute-grid article>b{text-align:right;font-size:24px}.primary-attribute-grid button{border:1px solid #c1a36266;border-radius:5px;padding:8px}.rune-tree>header{margin-bottom:28px}.rune-tree>header p{color:#aab6c3;max-width:800px;line-height:1.6}.rune-paths{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.rune-path{--rune-color:#cda070;background:linear-gradient(#342a2544,#111a25);border:1px solid #b1bbcd33;border-radius:14px;padding:24px 18px}.rune-path.finesse{--rune-color:#8dcabb;background:linear-gradient(#213b3744,#111a25)}.rune-path.arcana{--rune-color:#b6a1e6;background:linear-gradient(#382f5444,#111a25)}.rune-path.active{border-color:var(--rune-color);box-shadow:inset 0 0 45px #ffffff05}.rune-path.excluded{opacity:.55}.rune-path>header{text-align:center;min-height:145px}.rune-path h3{color:var(--rune-color);margin:8px 0;font-size:26px}.rune-path p{color:#b4bfcc;font-size:12px}.rune-emblem{color:var(--rune-color);font-size:40px}.rune-row{margin-top:12px;padding-top:28px;position:relative}.rune-row+.rune-row:before{content:"";border-left:1px solid var(--rune-color);opacity:.5;height:24px;position:absolute;top:-12px;left:50%}.rune-level{text-align:center;text-transform:uppercase;letter-spacing:2px;color:#9cabbf;margin-bottom:14px;font-size:10px;display:block}.rune-choices{grid-template-columns:1fr 1fr;gap:10px;display:grid}.rune-node{text-align:center;background:#0d1621;border:1px solid #91a3be33;border-radius:8px;flex-direction:column;align-items:center;gap:8px;min-height:158px;padding:14px 8px;display:flex}.rune-node:disabled{opacity:.7}.rune-node.chosen{opacity:1;border-color:var(--rune-color);background:#27303a}.rune-node strong{color:#e8e0d2;font-size:13px}.rune-node small{color:#acbccd;font-size:11px}.rune-node b{text-transform:uppercase;color:var(--rune-color);font-size:10px}.rune-glyph{color:var(--rune-color);font-size:28px}.rune-confirm{z-index:4;background:#182330;border:1px solid #d5b875;border-radius:12px;max-width:650px;margin:24px auto;padding:24px;position:sticky;bottom:16px;box-shadow:0 12px 70px #000b}.rune-confirm p{line-height:1.5}.rune-confirm button{margin-right:12px;padding:12px 16px}@media (width<=1000px){.rune-paths{grid-template-columns:1fr}.rune-path>header{min-height:0}.rune-node{min-height:125px}}@media (width<=450px){.primary-attribute-grid article{grid-template-columns:38px 1fr 32px 30px;gap:6px;padding:8px}.primary-attribute-grid small{font-size:9px}}.weapon-properties{gap:10px;margin:16px 0;padding:0;list-style:none;display:grid}.weapon-properties li{background:#253344;border-radius:6px;grid-template-columns:1fr auto;gap:5px 12px;padding:10px 12px;display:grid}.weapon-properties li>span{color:#d7bd83}.weapon-properties small{color:#a3b8c8;grid-column:1/-1}.combat-secondary{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0;display:grid}.combat-secondary>div{border:1px solid #b2c1d122;border-radius:6px;padding:12px}.combat-secondary dt{color:#a8b9c8;font-size:11px}.combat-secondary dd{color:#dfc58d;font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:20px}.legend-dialog{box-sizing:border-box;color:#e4dece;background:#101b26;border:1px solid #716343;border-radius:14px;width:min(1280px,96vw);max-width:96vw;height:90dvh;max-height:94dvh;padding:clamp(16px,3vw,36px);overflow:auto}.legend-dialog::backdrop{background:#060a12cc}.legend-dialog>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.legend-dialog h2{margin:0;font-size:clamp(24px,3vw,40px)}.legend-dialog .item-arsenal{margin-top:20px}.loot-preview{text-align:left;border:1px solid #43505d;border-radius:10px;margin:20px 0;padding:16px}.loot-preview table{border-collapse:collapse;width:100%;font-size:14px}.loot-preview td,.loot-preview th{text-align:left;border-bottom:1px solid #38424c;padding:8px 6px}.loot-preview td:first-child{align-items:center;gap:8px;display:flex}.loot-preview td img{object-fit:contain;width:36px;height:36px}.loot-preview details{margin:12px 0}.loot-preview .loot-table-scroll{max-height:340px;overflow:auto}.loot-preview p{color:#b9c2c8;font-size:13px}.loot-odds-trigger{color:#dfcfad;vertical-align:middle;background:#101c26df;border:1px solid #c7b68177;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:44px;height:44px;padding:0;font-size:13px;transition:border-color .15s,box-shadow .15s;display:inline-flex}.loot-odds-trigger.with-label{width:auto;margin-top:12px;padding:0 14px 0 8px}.loot-odds-trigger:hover,.loot-odds-trigger:focus-visible{background:#182633;border-color:#e5c585;box-shadow:0 0 14px #e5c58533}.dungeon-odds{z-index:15;position:absolute;top:89px;right:140px}.dungeon-odds .loot-odds-trigger{width:40px;height:40px}@media (width<=760px){.dungeon-odds{top:54px;right:118px}}.loot-odds-dialog{color:#e6dfd0;background:#0f1822;border:1px solid #c7b681aa;border-radius:14px;width:min(540px,92vw);max-height:90dvh;padding:0;overflow:auto;box-shadow:0 20px 60px #000c}.loot-odds-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#02080bc9}.loot-odds-dialog>header,.loot-odds-panel>header{background:linear-gradient(#182633,#0f1822);border-bottom:1px solid #c7b68133;align-items:center;gap:12px;padding:14px 18px;display:flex}.loot-odds-panel>header{padding:10px 16px}.loot-odds-dialog h2{letter-spacing:.5px;flex:1;margin:0;font-family:DM Sans,sans-serif;font-size:18px;font-weight:400}.loot-odds-panel{background:#0f1822d9;border:1px solid #c7b681aa;border-radius:12px;margin:18px 0;overflow:hidden}.loot-odds-panel h3.loot-odds-title{color:#e6dfd0;margin:0;font-family:DM Sans,sans-serif;font-size:15px;font-weight:400}.loot-odds-body section{padding:12px 18px 2px}.loot-odds-body h3.loot-odds-label{color:#e5c585;margin:0 0 6px;font-size:14px}.loot-odds-context{color:#9cafb8;margin:0 0 10px;font-size:12px}.loot-odds-body table{border-collapse:collapse;width:100%;font-size:13px}.loot-odds-body th,.loot-odds-body td{text-align:right;font-variant-numeric:tabular-nums;border-bottom:1px solid #ffffff12;padding:7px 6px}.loot-odds-body thead th{letter-spacing:1px;text-transform:uppercase;color:#9cafb8;font-size:11px;font-weight:400}.loot-odds-body th[scope=row]{text-align:left;align-items:center;gap:10px;font-weight:400;display:flex}.loot-odds-body tr[data-rarity=uncommon] th{color:#8ee08a}.loot-odds-body tr[data-rarity=rare] th{color:#7fb8ff}.loot-odds-body tr[data-rarity=epic] th{color:#c98cff}.loot-odds-body tr[data-rarity=unique] th{color:#ffd66b}.loot-odds-body tr.loot-odds-none th{color:#8a8f96}.loot-odds-note{color:#8a9aa4;margin:0;padding:8px 18px 16px;font-size:11px}.loot-odds-trigger>img.loot-odds-icon{width:32px;height:32px;image-rendering:pixelated}.loot-odds-dialog>header>img.loot-odds-icon{width:40px;height:40px;image-rendering:pixelated}.loot-odds-panel>header>img.loot-odds-icon{width:30px;height:30px;image-rendering:pixelated}.loot-odds-body th[scope=row]>img,.loot-odds-body .loot-odds-blank{width:28px;height:28px;image-rendering:pixelated}.hud-icon{width:24px;height:24px;image-rendering:pixelated;vertical-align:middle}.retreat-control>.tip-anchor>button,.autobattle-control>.tip-anchor>button{align-items:center;gap:8px;display:inline-flex}.pop-trigger{background:#0b131ccc;border:1px solid #e5c58588;border-radius:50%;width:40px;height:40px;padding:0;animation:.32s cubic-bezier(.2,1.4,.4,1) pop-in;position:relative;box-shadow:0 0 14px #e5c58555}.pop-trigger>img.pop-icon{width:26px;height:26px;image-rendering:pixelated;vertical-align:middle}.pop-badge{color:#14100a;text-align:center;background:#e5c585;border-radius:9px;min-width:17px;height:17px;padding:0 4px;font-size:10px;line-height:17px;position:absolute;top:-5px;right:-5px}@keyframes pop-in{0%{opacity:0;transform:scale(.3)}}.mobile-sheet{color:#e6dfd0;background:#0a121bf8;border:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;position:fixed;inset:0}.mobile-sheet::backdrop{background:#02080bc9}.mobile-sheet>header{border-bottom:1px solid #c7b68133;align-items:center;gap:10px;padding:10px 14px;display:flex}.mobile-sheet>header>img.sheet-icon{width:30px;height:30px;image-rendering:pixelated}.mobile-sheet>header>h2{flex:1;margin:0;font-family:DM Sans,sans-serif;font-size:16px;font-weight:400}.mobile-sheet-body{max-height:calc(100dvh - 60px);padding:12px 14px;overflow:auto}.mobile-sheet-body .sheet-prompt{color:#b8b5a6;margin:0 0 12px;font-size:13px;line-height:1.6}.sheet-actions{gap:8px;display:grid}.sheet-actions>.sheet-action{text-align:left;color:#e3cda1;background:#1d2429;border:1px solid #726544;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 12px;font-size:13px;display:flex}.sheet-actions>.sheet-action:disabled{opacity:.45}.mobile-sheet .door-choices{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.door-sheet-anchor{z-index:15;position:absolute;top:96px;right:14px}@media (pointer:coarse) and (orientation:portrait),(orientation:landscape) and (height<=600px){.app-shell.adventure-shell .hero-dock{display:none}.hero-rail{flex:1;justify-content:center;align-items:center;min-width:0;display:flex}.app-shell.adventure-shell .touch-controls{flex-direction:row}.app-shell.adventure-shell .autobattle-control,.app-shell.adventure-shell .dungeon-odds,.app-shell.adventure-shell .retreat-control{width:auto;max-width:none;margin:0;position:static}.app-shell.adventure-shell .autobattle-control button,.app-shell.adventure-shell .retreat-control>.tip-anchor>button,.app-shell.adventure-shell .dungeon-odds .loot-odds-trigger{border-radius:10px;justify-content:center;width:40px;height:40px;min-height:0;margin:0;padding:0}.app-shell.adventure-shell .autobattle-control button span,.app-shell.adventure-shell .autobattle-control button b,.app-shell.adventure-shell .autobattle-control small,.app-shell.adventure-shell .retreat-control>.tip-anchor>button span{display:none}.app-shell.adventure-shell .autobattle-control button[aria-pressed=true]{border-color:#e5c585;box-shadow:0 0 0 2px #e5c58566}.app-shell.adventure-shell .room-interactions-stack{flex-direction:row;align-items:flex-end;gap:10px;width:auto;max-height:none;top:auto;bottom:92px;left:14px;overflow:visible}}.character-screen[data-page=stats] .character-right-column:has(.stats-sheet){display:block}.stats-sheet{gap:14px;display:grid}.stats-summary{background:linear-gradient(90deg,#182633,#0f1822);border:1px solid #c7b68155;border-radius:12px;grid-template-columns:96px 1fr auto;align-items:center;gap:18px;padding:14px 18px;display:grid}.stats-portrait{object-fit:contain;width:96px;height:96px;image-rendering:pixelated;filter:drop-shadow(0 4px 6px #000a)}.stats-identity{gap:3px;max-width:260px;display:grid}.stats-identity>.stats-name{color:#f1e9d6;font-family:DM Sans,sans-serif;font-size:18px;font-weight:500}.stats-level{letter-spacing:1.5px;text-transform:uppercase;color:#e5c585;margin-bottom:6px;font-size:11px}.stats-identity>.hero-bar{width:100%}.stats-identity>.stats-figure{color:#b3c8cb;font-variant-numeric:tabular-nums;margin-bottom:4px;font-size:11px}.stats-points{color:#9cafb8;border:1px solid #ffffff14;border-radius:10px;align-items:center;gap:8px;padding:10px 14px;font-size:12px;display:flex}.stats-points>.points-icon{width:22px;height:22px;image-rendering:pixelated}.stats-points>.points-value{color:#e6dfd0;font-family:DM Sans,sans-serif;font-size:20px}.stats-points.has-points{color:#e5c585;border-color:#e5c585;box-shadow:0 0 14px #e5c58544}.stats-heading{letter-spacing:2px;text-transform:uppercase;color:#9cafb8;margin:6px 0 0;font-size:11px}.attribute-gems{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.attribute-gems>.tip-anchor{display:block}.attribute-gem{text-align:center;background:linear-gradient(#17232e,#0f1822);border:1px solid #c7b68133;border-radius:12px;justify-items:center;gap:2px;padding:12px 6px 8px;transition:border-color .15s,box-shadow .15s;display:grid}.tip-anchor:hover>.attribute-gem{border-color:#c7b681aa;box-shadow:0 0 16px #e5c58522}.attribute-gem>.gem-icon{width:36px;height:36px;image-rendering:pixelated;margin-bottom:4px}.attribute-gem>.gem-score{color:#f1e9d6;font-family:DM Sans,sans-serif;font-size:24px;font-weight:500;line-height:1}.gem-mod{color:#e5c585;font-size:11px}.gem-name{color:#b3c8cb;margin-top:2px;font-size:11px}.attribute-gem>.gem-raise{color:#e5c585;background:#101c26;border:1px solid #c1a36266;border-radius:8px;width:30px;height:30px;margin-top:6px;padding:0;font-size:16px;line-height:1}.attribute-gem>.gem-raise:disabled{opacity:.3}.derived-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:0;padding:0;list-style:none;display:grid}.derived-list>.derived-row{color:#d6cdb9;border-bottom:1px solid #ffffff12;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:grid}.derived-row>.derived-icon{width:26px;height:26px;image-rendering:pixelated}.derived-row>.derived-value{color:#e5c585;font-variant-numeric:tabular-nums;font-family:DM Sans,sans-serif;font-size:16px;font-weight:500}@media (pointer:coarse) and (orientation:portrait),(orientation:landscape) and (height<=600px){.stats-summary{grid-template-columns:56px 1fr auto;gap:12px;padding:10px 12px}.stats-portrait{width:56px;height:56px}.stats-identity>.stats-name{font-size:15px}.stats-points{padding:6px 10px}.stats-points>.points-label{display:none}.attribute-gems{scroll-snap-type:x mandatory;padding-bottom:6px;display:flex;overflow-x:auto}.attribute-gems>.tip-anchor{scroll-snap-align:start;flex:0 0 92px}.derived-list{grid-template-columns:1fr}}.attribute-icon{width:22px;height:22px;image-rendering:pixelated;vertical-align:middle;margin-right:6px}.attribute-grid header>.attribute-icon{width:26px;height:26px}.vocation-bonus{align-items:center;gap:2px;display:flex}.mobile-menu-panel nav .menu-icon{width:36px;height:36px;image-rendering:pixelated;filter:drop-shadow(0 2px 3px #0008)}.hud-rail{align-items:center;gap:8px;margin-left:auto;display:flex}.hud-rail:empty,.hero-rail:empty{display:none}.app-shell .retreat-dialog{text-align:left;color:#e6dfd0;background:#0f1822;border:1px solid #c7b681aa;border-radius:14px;width:min(480px,92vw);padding:0;box-shadow:0 20px 60px #000c}.app-shell .retreat-dialog>header{background:linear-gradient(#182633,#0f1822);border-bottom:1px solid #c7b68133;align-items:center;gap:10px;padding:12px 14px;display:flex}.app-shell .retreat-dialog>header>h2{flex:1;margin:0;font-family:DM Sans,sans-serif;font-size:16px;font-weight:400}.app-shell .retreat-dialog>header>img.sheet-icon{width:30px;height:30px;image-rendering:pixelated}.sheet-actions>.sheet-action-danger{color:#ff8a80;border-color:#d9534f}@media (pointer:coarse) and (orientation:portrait),(orientation:landscape) and (height<=600px){.loot-odds-dialog,.app-shell .retreat-dialog{border:0;border-radius:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;position:fixed;inset:0}}.door-gate{pointer-events:none;z-index:4;justify-items:center;gap:6px;width:min(360px,34vw);display:grid;position:absolute;top:132px;right:28px}.door-gate-arches,.door-gate-chest{pointer-events:auto}.door-gate-title{letter-spacing:1.5px;color:#ecd49a;text-shadow:0 0 14px #e9b95a66,0 2px #000;margin:0;font:600 24px/1.1 Cormorant Garamond,Georgia,serif}.door-gate-hint{text-align:center;color:#d8cfbd;text-shadow:0 1px 3px #000;max-width:34ch;margin:0;font:italic 15px/1.35 Cormorant Garamond,Georgia,serif}.door-gate-arches{justify-content:center;gap:14px;margin-top:6px;display:flex}.door-arch{aspect-ratio:3/4;width:150px;image-rendering:pixelated;color:#f1e4c8;cursor:pointer;filter:drop-shadow(0 10px 18px #000a);background:url(/assets/ui/door-arch.png) 50%/100% 100% no-repeat;border:0;grid-template-rows:1fr auto auto;justify-items:center;padding:34px 22px 22px;transition:transform .16s,filter .16s;display:grid;position:relative}.door-arch-light{background:radial-gradient(ellipse at 50% 70%, var(--door-glow,#e9c27a) 0%, transparent 70%);opacity:.22;border-radius:50% 50% 4px 4px/40% 40% 4px 4px;transition:opacity .16s;position:absolute;inset:16% 18% 12%}.door-arch.threat-calm{--door-glow:#7fd88a}.door-arch.threat-tense{--door-glow:#f0c350}.door-arch.threat-deadly{--door-glow:#ff6b5f}.door-arch:not(:disabled):hover,.door-arch:not(:disabled):focus-visible{filter:drop-shadow(0 0 16px color-mix(in srgb, var(--door-glow) 55%, transparent));transform:translateY(-4px)}.door-arch:not(:disabled):hover .door-arch-light,.door-arch:not(:disabled):focus-visible .door-arch-light{opacity:.6}.door-arch:focus-visible{outline-offset:4px;outline:2px solid #ecd49a}.door-arch:disabled{opacity:1;cursor:default;filter:drop-shadow(0 10px 18px #000a)saturate(.55)brightness(.8)}.door-arch-prop,.door-arch-glyph{width:64px;height:64px;image-rendering:pixelated;filter:drop-shadow(0 4px 4px #000c);align-self:center;position:relative}.door-arch-glyph{color:#b59662;place-items:center;font-size:40px;display:grid}.door-arch-name{text-align:center;color:#f4e6c4;text-shadow:0 0 8px #000,0 1px #000;font:600 17px/1.1 Cormorant Garamond,Georgia,serif;position:relative}.door-arch-threat{color:var(--door-glow);text-shadow:0 0 6px var(--door-glow);gap:3px;margin-top:4px;font-size:15px;display:flex;position:relative}.door-arch-skull{font-style:normal}.door-gate-chest{color:#ecd49a;background:#2b241a;border:1px solid #8f7a4f;border-radius:4px;padding:8px 16px;font:600 15px Cormorant Garamond,Georgia,serif}.party-follow{color:#ecd49a;text-shadow:0 0 12px #e9b95a88,0 2px #000;z-index:5;background:radial-gradient(#120d18e6,#120d1800 75%);margin:0;padding:10px 22px;font:italic 600 19px Cormorant Garamond,Georgia,serif;animation:1s ease-in-out infinite alternate party-follow-pulse;position:absolute;top:132px;left:50%;transform:translate(-50%)}@keyframes party-follow-pulse{to{text-shadow:0 0 20px #e9b95acc,0 2px #000}}@media (prefers-reduced-motion:reduce){.party-follow{animation:none}.door-arch{transition:none}}.party-frames{pointer-events:auto;gap:8px;width:230px;margin-top:10px;display:grid}.party-frame{background:linear-gradient(90deg,#120e18e6,#120e1800);border-left:2px solid #8f7a4f;grid-template-columns:48px 1fr;align-items:center;gap:10px;padding:6px 10px 6px 6px;display:grid}.party-frame-portrait{object-fit:none;object-position:50% 16%;width:48px;height:48px;image-rendering:pixelated;background:#1c1624;border:1px solid #8f7a4f;border-radius:50%}.party-frame-name{color:#f1e4c8;text-shadow:0 1px 2px #000;font:600 16px/1.1 Cormorant Garamond,Georgia,serif;display:block}.party-frame-status{color:#bdb3a0;font-size:11px;display:block}.party-frame-health{appearance:none;background:#2a1718;border:1px solid #0009;border-radius:2px;width:100%;height:7px;margin-top:4px;display:block}.party-frame-health::-webkit-meter-bar{background:#2a1718;border:0;border-radius:2px}.party-frame-health::-webkit-meter-optimum-value{background:linear-gradient(#e0644f,#9c2f27);border-radius:2px}.party-frame-health::-webkit-meter-suboptimum-value{background:linear-gradient(#e0644f,#9c2f27);border-radius:2px}.party-frame-health::-webkit-meter-even-less-good-value{background:linear-gradient(#e0644f,#9c2f27);border-radius:2px}.party-frame-health::-moz-meter-bar{background:linear-gradient(#e0644f,#9c2f27)}.party-frame.offline{opacity:.55}.party-frame.fallen .party-frame-portrait{filter:grayscale()}.need-greed{z-index:30;gap:8px;width:min(340px,90vw);display:grid;position:absolute;bottom:150px;left:50%;transform:translate(-50%)}.need-greed-roll{--roll-accent:#c9b98f;border:1px solid #8f7a4f;border-top:2px solid var(--roll-accent);color:#e9dfcb;background:linear-gradient(#1b1522f2,#110d16f2);border-radius:4px;padding:10px 12px 12px;box-shadow:0 12px 30px #000c,inset 0 0 0 1px #00000080}.need-greed-roll.rarity-uncommon{--roll-accent:#6fcf7a}.need-greed-roll.rarity-rare{--roll-accent:#6f9bff}.need-greed-roll.rarity-epic{--roll-accent:#c07bff}.need-greed-roll.rarity-unique{--roll-accent:#ffb84d}.need-greed-head{align-items:center;gap:10px;display:flex}.need-greed-head>.item-icon{width:44px;height:44px}.need-greed-name{color:var(--roll-accent);text-shadow:0 0 8px #000;font:600 18px/1.1 Cormorant Garamond,Georgia,serif;display:block}.need-greed-rarity{color:#a99f8c;text-transform:uppercase;letter-spacing:1px;font-size:11px}.need-greed-choices{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px;display:grid}.need-greed-choice{color:#efe4cc;cursor:pointer;background:linear-gradient(#2c2436,#1c1624);border:1px solid #5d5068;border-radius:3px;justify-items:center;gap:2px;padding:7px 4px;font:600 14px Cormorant Garamond,Georgia,serif;display:grid}.need-greed-glyph{font-size:18px;line-height:1}.need-greed-need:hover{border-color:#6fcf7a;box-shadow:0 0 10px #6fcf7a55}.need-greed-greed:hover{border-color:#ecd49a;box-shadow:0 0 10px #ecd49a55}.need-greed-pass:hover{border-color:#b36b63}.need-greed-waiting{color:#c9bfa9;margin:10px 0 0;font:italic 14px Cormorant Garamond,Georgia,serif}.need-greed-timer{appearance:none;background:#00000080;border:0;width:100%;height:4px;margin-top:10px;display:block}.need-greed-timer::-webkit-progress-bar{background:#00000080}.need-greed-timer::-webkit-progress-value{background:linear-gradient(90deg,#8f7a4f,#ecd49a);transition:width .9s linear}.need-greed-timer::-moz-progress-bar{background:linear-gradient(90deg,#8f7a4f,#ecd49a)}.need-greed-winner{color:#ecd49a;margin-top:8px;font:600 16px Cormorant Garamond,Georgia,serif;display:block}.need-greed-result ul{gap:2px;margin:6px 0 0;padding:0;font-size:12px;list-style:none;display:grid}.need-greed-result li{color:#bdb3a0;grid-template-columns:1fr auto 3ch;gap:10px;display:grid}.need-greed-result li.winner{color:#f4e6c4}.need-greed-result li span:last-child{text-align:right;font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.need-greed-timer::-webkit-progress-value{transition:none}}.departure-energy{color:#bfe6ff;white-space:nowrap;border:1px solid #3d8fc4;border-radius:10px;margin-left:auto;padding:2px 8px;font:600 13px DM Sans,sans-serif}.departure-energy.short{color:#ff9d8f;border-color:#b35a4f}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.records-dialog{box-sizing:border-box;color:#ece2c8;background:radial-gradient(at 50% 0,#3a2a4a66,#0000 60%),linear-gradient(#171220,#0d0a13);border:1px solid #8f7a4f;border-radius:6px;width:min(880px,96vw);max-height:92dvh;padding:clamp(18px,3vw,34px);overflow:auto;box-shadow:0 30px 80px #000c,inset 0 0 0 4px #0d0a13,inset 0 0 0 5px #8f7a4f55}.records-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#05030acc}.records-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.records-title{letter-spacing:1px;color:#ecd49a;text-shadow:0 0 18px #e9b95a55,0 2px #000;margin:0;font:600 clamp(28px,4vw,42px)/1 Cormorant Garamond,Georgia,serif}.records-hint{color:#bdb3a0;max-width:52ch;margin:8px 0 0;font:italic 15px Cormorant Garamond,Georgia,serif}.records-close{color:#ecd49a;background:#221a2c;border:1px solid #8f7a4f;border-radius:3px;padding:8px 14px}.records-controls{border-bottom:1px solid #8f7a4f44;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:22px 0 16px;padding-bottom:14px;display:flex}.records-tabs{gap:4px;display:flex}.records-tab{color:#a99f8c;cursor:pointer;background:0 0;border:1px solid #0000;border-bottom-color:#8f7a4f44;padding:8px 14px;font:600 16px Cormorant Garamond,Georgia,serif}.records-tab[aria-selected=true]{color:#ecd49a;background:linear-gradient(#2a2034,#17121f);border-color:#8f7a4f #8f7a4f #0000}.records-select{color:#a99f8c;align-items:center;gap:8px;font-size:12px;display:flex}.records-select select{color:#ece2c8;background:#1c1624;border:1px solid #5d5068;border-radius:3px;padding:6px 8px}.records-modes{border:1px solid #5d5068;border-radius:14px;gap:0;margin:0 0 0 auto;padding:0;display:flex;overflow:hidden}.records-modes label{color:#a99f8c;cursor:pointer;padding:6px 14px;font-size:13px}.records-modes label.selected{color:#ecd49a;background:#3a2d18}.records-modes input{opacity:0;pointer-events:none;position:absolute}.records-message{text-align:center;color:#bdb3a0;margin:30px 0;font:italic 17px Cormorant Garamond,Georgia,serif}.records-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.records-heading{text-align:left;letter-spacing:1.5px;text-transform:uppercase;color:#8f8472;padding:6px 10px;font-size:11px;font-weight:500}.records-row td{border-top:1px solid #ffffff0d;padding:10px}.records-row:nth-child(2n) td{background:#ffffff05}.records-rank{text-align:center;color:#8f8472;width:3.5em;font-size:18px}.records-names{color:#f1e4c8;font:600 18px Cormorant Garamond,Georgia,serif}.records-you{letter-spacing:1px;text-transform:uppercase;color:#120d18;background:#ecd49a;border-radius:8px;margin-left:8px;padding:1px 7px;font:600 10px DM Sans,sans-serif}.records-time{color:#e7f3fb;font:600 16px DM Sans,sans-serif}.records-row.podium-1 td{background:linear-gradient(90deg,#e9b95a26,#0000 70%)}.records-row.podium-1 .records-names{color:#ffe2a0;text-shadow:0 0 12px #e9b95a66}.records-row.mine td{box-shadow:inset 0 1px #ecd49a88,inset 0 -1px #ecd49a88}.grade-badge{background:#0d0a13;border:2px solid;border-radius:50%;place-items:center;width:34px;height:34px;font:700 22px/1 Cormorant Garamond,Georgia,serif;display:inline-grid}.grade-S{color:#ffd66b;text-shadow:0 0 10px #ffb84d;box-shadow:0 0 14px #ffb84d88}.grade-A{color:#c79bff}.grade-B{color:#7fb3ff}.grade-C{color:#7fd88a}.grade-D{color:#b9ab93}.grade-F{color:#b36b63}@media (width<=640px){.records-modes{margin-left:0}}.victory-grade{background:radial-gradient(circle,#1d1626,#0d0a13);border:3px solid;border-radius:50%;place-items:center;width:92px;height:92px;margin:0 auto 6px;font:700 64px/1 Cormorant Garamond,Georgia,serif;animation:.7s cubic-bezier(.2,1.6,.4,1) both grade-strike;display:grid}@keyframes grade-strike{0%{opacity:0;transform:scale(2.4)rotate(-12deg)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.victory-grade{animation:none}}.chat-panel{z-index:35;color:#e9dfcb;background:linear-gradient(#150f1ce6,#0d0a13e6);border:1px solid #8f7a4f;border-radius:4px;grid-template-rows:auto 1fr auto;width:min(340px,100vw - 48px);height:230px;display:grid;position:fixed;bottom:112px;right:24px;box-shadow:0 12px 30px #000a}.chat-head{border-bottom:1px solid #8f7a4f55;align-items:stretch;display:flex}.chat-tabs{flex:1;min-width:0;display:flex}.chat-tab{color:#a99f8c;cursor:pointer;background:0 0;border:0;flex:1;padding:6px 4px;font:600 14px Cormorant Garamond,Georgia,serif;position:relative}.chat-tab[aria-selected=true]{color:var(--chat-color);box-shadow:inset 0 -2px 0 var(--chat-color)}.chat-unread{color:#120d18;background:var(--chat-color);border-radius:7px;margin-left:4px;padding:0 5px;font:700 10px DM Sans,sans-serif}.chat-close{color:#ecd49a;cursor:pointer;background:0 0;border:0;border-left:1px solid #8f7a4f55;width:30px;font-size:16px}.chat-global{--chat-color:#ecd49a}.chat-world{--chat-color:#8fd6ff}.chat-level{--chat-color:#c79bff}.chat-team{--chat-color:#7fd88a}.chat-log{margin:0;padding:6px 10px;font-size:13px;line-height:1.4;list-style:none;overflow-y:auto}.chat-line{overflow-wrap:anywhere}.chat-time{color:#6f6758;margin-right:6px;font-size:10px}.chat-author{color:var(--chat-color);margin-right:6px}.chat-line.mine .chat-author{color:#f4e6c4}.chat-empty{text-align:center;color:#8f8472;padding-top:40px;font:italic 14px Cormorant Garamond,Georgia,serif}.chat-form{border-top:1px solid #8f7a4f55;display:flex}.chat-input{color:#f1e4c8;background:0 0;border:0;flex:1;min-width:0;padding:8px 10px;font-size:13px}.chat-input:focus{outline-offset:-1px;outline:1px solid #8f7a4f}.chat-send{color:#ecd49a;cursor:pointer;background:#2b241a;border:0;border-left:1px solid #8f7a4f55;padding:0 12px;font:600 14px Cormorant Garamond,Georgia,serif}.chat-toggle{z-index:35;cursor:pointer;background:#150f1ce6;border:1px solid #8f7a4f;border-radius:50%;width:52px;height:52px;padding:4px;position:fixed;bottom:112px;right:24px}.chat-toggle-icon{width:100%;image-rendering:pixelated}.chat-toggle-count{color:#120d18;background:#ecd49a;border-radius:9px;min-width:18px;padding:1px 4px;font:700 11px DM Sans,sans-serif;position:absolute;top:-4px;right:-4px}.idle-report{box-sizing:border-box;color:#ece2c8;background:radial-gradient(at 50% 0,#2d3f5a55,#0000 65%),linear-gradient(#171220,#0d0a13);border:1px solid #8f7a4f;border-radius:6px;width:min(460px,94vw);padding:26px 28px;box-shadow:0 30px 80px #000c,inset 0 0 0 4px #0d0a13,inset 0 0 0 5px #8f7a4f55}.idle-report::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#05030acc}.idle-title{text-align:center;color:#ecd49a;text-shadow:0 0 18px #e9b95a55,0 2px #000;margin:0 0 8px;font:600 34px/1 Cormorant Garamond,Georgia,serif}.idle-intro{text-align:center;color:#e3d8c0;margin:0 0 6px;font:italic 17px/1.35 Cormorant Garamond,Georgia,serif}.idle-counted{text-align:center;color:#a99f8c;margin:4px 0;font-size:12px}.idle-totals{justify-content:center;gap:28px;margin:16px 0 10px;display:flex}.idle-totals dt{letter-spacing:1.5px;text-transform:uppercase;color:#8f8472;font-size:11px}.idle-totals dd{color:#f4e6c4;margin:2px 0 0;font:600 26px Cormorant Garamond,Georgia,serif}.idle-subtitle{color:#ecd49a;margin:14px 0 6px;font:600 16px Cormorant Garamond,Georgia,serif}.idle-items{gap:6px;max-height:220px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.idle-items li{align-items:center;gap:10px;display:flex}.idle-rarity{color:#a99f8c;font-size:11px;display:block}.idle-collect{color:#ecd49a;cursor:pointer;background:linear-gradient(#3a2d18,#241b0e);border:1px solid #8f7a4f;border-radius:3px;width:100%;margin-top:18px;padding:10px;font:600 18px Cormorant Garamond,Georgia,serif;display:block}.sweep-button{text-align:left;color:#bfe6ff;cursor:pointer;background:linear-gradient(#1c2a38,#121b25);border:1px solid #3d8fc4;border-radius:6px;gap:2px;width:100%;margin-top:10px;padding:10px 14px;display:grid}.sweep-button:disabled{opacity:.5;cursor:default}.sweep-label{font:600 17px Cormorant Garamond,Georgia,serif}.sweep-detail{color:#8fb3c9;font-size:11px}.premium-badge{vertical-align:2px;letter-spacing:1px;text-transform:uppercase;color:#120d18;background:linear-gradient(#ffe2a0,#d9a441);border-radius:8px;margin-left:8px;padding:1px 8px;font:700 10px DM Sans,sans-serif;box-shadow:0 0 10px #e9b95a88}.mobile-menu-trigger,.mobile-rotate-notice{display:none}.mobile-menu-panel{color:#e5e0d4;background:#0d1923;border:1px solid #bca16a77;border-radius:18px;width:min(680px,94vw);max-height:94dvh;padding:24px}.mobile-menu-panel::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#02080dd9}.mobile-menu-panel>header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.mobile-menu-panel h2{font-size:22px}.mobile-menu-panel nav{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.mobile-menu-panel nav button{background:#182935;border-radius:12px;place-items:center;gap:8px;min-height:82px;display:grid}.mobile-menu-panel nav span{color:#dcc087;font-size:25px}@media (pointer:coarse) and (orientation:portrait){.mobile-rotate-notice{z-index:99999;text-align:center;background:radial-gradient(#183141,#08151b 70%);flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:36px;display:flex;position:fixed;inset:0}.mobile-rotate-notice>span{color:#d0b577;font-size:80px}.mobile-rotate-notice p{color:#aabec8;max-width:320px}}@media (orientation:landscape) and (height<=600px),(orientation:landscape) and (pointer:coarse){:root{-webkit-tap-highlight-color:transparent}button,select{touch-action:manipulation}.adventure-shell{border:0;border-radius:0;grid-template-rows:42px minmax(0,1fr);width:100%;height:100dvh;min-height:0;display:grid;overflow:hidden}.adventure-shell .adventure-topbar{background:#0a1521eb;gap:12px;height:42px;min-height:0;padding:0 14px}.adventure-shell .adventure-topbar .wordmark{letter-spacing:3px;font-size:13px}.adventure-shell .brand-icon{margin-right:6px;font-size:24px}.adventure-shell .adventure-topbar .alpha,.adventure-shell .header-right,.adventure-shell .adventure-footer{display:none}.adventure-shell .current-world{white-space:nowrap;text-overflow:ellipsis;max-width:45%;margin-left:auto;font-size:11px;display:block;overflow:hidden}.adventure-shell .mobile-menu-trigger{background:0 0;border:0;min-width:48px;height:38px;padding:0;font-size:24px;display:block}.adventure-shell .adventure-stage{height:100%;min-height:0;overflow:hidden}.adventure-shell .hub-status-rail{display:contents}.adventure-shell .hero-hud{pointer-events:auto;background:#101d28df;border-radius:10px;gap:8px;width:176px;min-width:0;padding:7px 10px;position:absolute;top:8px;left:12px}.adventure-shell .hero-portrait{flex:0 0 34px;width:34px;height:44px}.adventure-shell .hero-portrait img{object-fit:contain;width:34px;height:44px}.adventure-shell .hero-hud>div:last-child{width:114px;min-width:0}.adventure-shell .hero-hud .eyebrow,.adventure-shell .hero-hud .available-attributes,.adventure-shell .hero-hud .progression-hud small,.adventure-shell .hero-hud .experience-track{display:none}.adventure-shell .hero-hud strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.adventure-shell .hero-hud small{font-size:9px}.adventure-shell .health-meter{width:100%;height:7px;margin:3px 0 0}.adventure-shell .stamina-meter{height:4px;margin:0}.adventure-shell .progression-hud{min-height:0;margin:0;padding:0;font-size:9px}.adventure-shell .quest-scroll{display:none}.adventure-shell .resource-hud{gap:6px;top:8px;bottom:auto;right:12px}.adventure-shell .resource-hud>:is(div,button){border-radius:8px;gap:2px;min-width:52px;padding:5px 8px}.adventure-shell .resource-hud strong{font-size:14px}.adventure-shell .resource-hud small{font-size:8px}.adventure-shell .resource-hud>:is(div,button)>span{font-size:13px}.adventure-shell .world-clock{padding:3px 8px;font-size:10px;top:9px;left:50%;transform:translate(-50%)}.adventure-shell .home-caption{max-width:32%;bottom:18px;left:18px}.adventure-shell .home-caption .eyebrow,.adventure-shell .home-caption p,.adventure-shell .home-caption h1 em,.adventure-shell .home-caption h1>span{display:none}.adventure-shell .home-caption h1{font-size:34px}.adventure-shell.aboard .hub-panorama{aspect-ratio:auto;width:100%;height:100%}.adventure-shell.aboard .station{background:#152534dd;border-radius:10px;gap:7px;max-width:190px;min-height:44px;padding:8px 12px}.adventure-shell.aboard .station strong{font-size:11px}.adventure-shell.aboard .station small{display:none}.adventure-shell.aboard .forge-station{top:35%;left:36%}.adventure-shell.aboard .observatory-station{top:22%;left:54%}.adventure-shell.aboard .dock-station{top:45%;left:74%}.adventure-shell.aboard .merchant-station{top:61%;left:52%}.adventure-shell .departure-console{background:#101c28ed;border-radius:12px;align-items:center;gap:8px;width:min(390px,60%);padding:8px;display:flex;bottom:12px;left:auto;right:12px}.adventure-shell .expedition-picker{display:none}.adventure-shell .difficulty-selector{border:0;gap:3px;margin:0;padding:0;font-size:9px;display:grid}.adventure-shell .difficulty-selector select{max-width:130px;min-height:40px;font-size:12px}.adventure-shell .departure-button{border:1px solid #cfb17188;border-radius:8px;flex:1;width:auto;min-width:0;max-width:none;min-height:52px;margin:0;padding:10px;font-size:14px}.adventure-shell .departure-button small,.adventure-shell .seal-reminder,.adventure-shell.in-ruins .dungeon-route,.adventure-shell.in-ruins .audio-controls,.adventure-shell.in-ruins .world-clock{display:none}.adventure-shell .dungeon-heading{background:0 0;border:0;width:min(250px,35%);margin:0;padding:0;top:10px;bottom:auto;left:205px}.adventure-shell .dungeon-heading>span,.adventure-shell .dungeon-heading .level-threat{display:none}.adventure-shell .dungeon-heading h1{margin:0;font-size:15px}.adventure-shell .dungeon-heading p{margin-top:3px;font-size:10px}.adventure-shell .target-hud{background:#101821b3;border-radius:8px;width:180px;padding:5px 12px;top:60px;bottom:auto;left:50%;transform:translate(-50%)}.adventure-shell .target-hud>span{display:none}.adventure-shell .target-hud strong{font-size:11px}.adventure-shell .target-hud small{font-size:9px}.adventure-shell .target-hud .health-track{height:4px;margin:3px 0}.adventure-shell.in-ruins .combat-dock{width:auto;padding:0;position:absolute;bottom:10px;left:auto;right:12px;transform:none}.adventure-shell .combat-dock>p{display:none}.adventure-shell .skill-bar{box-shadow:none;background:0 0;border:0;align-items:flex-end;gap:7px;padding:0;display:flex}.adventure-shell .skill-button{background:linear-gradient(#263c4d,#15232f);border-radius:13px;width:56px;min-width:0;height:62px;padding:5px 3px;box-shadow:0 4px 16px #0008}.adventure-shell .skill-slash{background:linear-gradient(#514b35,#242c2c);border-color:#d7b878;order:5;width:72px;height:76px}.adventure-shell .skill-symbol{margin:0;font-size:25px}.adventure-shell .skill-button strong{font-size:8px;line-height:1.15;display:block}.adventure-shell .skill-button kbd{display:none}.adventure-shell .skill-cooldown{font-size:22px}.adventure-shell .touch-controls{grid-template-columns:none;gap:8px;margin:0;padding:0;display:flex;position:absolute;inset:auto auto 12px 12px}.adventure-shell .touch-controls button{touch-action:none;background:#152936df;border:1px solid #b9c8d244;border-radius:18px;width:64px;min-width:64px;height:64px;min-height:64px;padding:0;font-size:32px;box-shadow:0 3px 20px #0008}.adventure-shell .autobattle-control{width:112px;bottom:12px;left:162px}.adventure-shell .autobattle-control button{background:#172b35dd;border-radius:10px;min-height:44px;padding:6px;font-size:10px}.adventure-shell .autobattle-control small{display:none}.adventure-shell .retreat-control{top:52px;right:12px}.adventure-shell .retreat-control button{min-height:36px;padding:5px 10px;font-size:10px}.adventure-shell .room-interactions-stack{gap:5px;width:180px;max-height:calc(100% - 170px);top:80px;bottom:90px;left:12px;overflow:auto}.adventure-shell .room-interactions{border-radius:8px;padding:7px}.adventure-shell .room-interactions p,.adventure-shell .room-interactions .eyebrow{display:none}.adventure-shell .room-interactions button{min-height:40px;padding:5px 8px;font-size:11px}.adventure-shell .dungeon-doors.locked{display:none}.adventure-shell .dungeon-doors.unlocked{background:#101d28f2;border-radius:12px;width:min(360px,48%);max-height:calc(100% - 175px);padding:10px;top:auto;bottom:100px;right:12px;overflow:auto}.adventure-shell .dungeon-doors p{margin:4px 0;font-size:10px}.adventure-shell .dungeon-doors .eyebrow{font-size:9px}.adventure-shell .door-choices{gap:6px;display:flex}.adventure-shell .door-choices button{flex:1;min-height:48px;padding:6px;font-size:11px}.adventure-shell .door-choices small,.adventure-shell .door-glyph{display:none}.adventure-shell .dungeon-capacity{width:200px;font-size:10px;bottom:86px;left:12px}.adventure-shell .level-briefing{padding:12px}.adventure-shell .level-briefing>div{grid-template-columns:1fr 1fr;gap:10px 20px;width:min(700px,94vw);max-height:94dvh;padding:18px 24px;display:grid;overflow:auto}.adventure-shell .level-briefing h1{grid-column:1/-1;font-size:23px}.adventure-shell .level-briefing .eyebrow{grid-column:1/-1;font-size:10px}.adventure-shell .level-briefing p{font-size:12px;line-height:1.55}.adventure-shell .level-briefing ol,.adventure-shell .briefing-help{display:none}.adventure-shell .briefing-actions{grid-column:1/-1;gap:10px;display:flex}.adventure-shell .briefing-actions button{flex:1;min-height:44px;padding:8px}.adventure-shell .game-toast{max-width:45%;padding:6px 12px;font-size:11px;bottom:94px}.character-selection{grid-template-columns:minmax(190px,.8fr) minmax(360px,1.5fr);align-items:start;gap:24px;min-height:100dvh;padding:20px;display:grid}.character-selection header{position:sticky;top:16px}.character-selection h1{font-size:27px;line-height:1.2}.character-selection header p{margin:10px 0;font-size:12px}.character-selection form{grid-template-columns:150px minmax(180px,1fr);gap:8px 20px;margin:0;display:grid}.character-selection fieldset{grid-row:1/6;margin:0;padding:0}.character-selection .skin-grid{grid-template-columns:1fr}.character-selection .skin-card{gap:3px;min-height:0;padding:8px}.character-selection .skin-card img{width:80px;height:80px}.character-selection .skin-card small{display:none}.character-selection .skin-card strong{font-size:12px}.character-selection form>p,.character-selection form>small{font-size:10px;line-height:1.4}.character-selection .character-name{margin:0;font-size:12px}.character-selection .character-name input{min-height:42px;padding:8px}.character-selection form>button{min-height:44px;padding:8px;font-size:12px}.character-screen{border:0;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:12px 20px}.character-screen h2{font-size:22px}.legend-dialog{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:16px 20px}.legend-dialog h2{font-size:23px}.legend-dialog>header p{font-size:11px}.legend-dialog .arsenal-grid{grid-template-columns:repeat(3,1fr)}.legend-dialog .arsenal-grid>*{padding:10px}.legend-dialog .arsenal-grid img{object-fit:contain;max-height:64px}.campaign-drawer{width:100vw;height:100dvh;padding:0}.campaign-atlas-fullscreen .atlas-hero{padding:12px 20px}.campaign-atlas-fullscreen .atlas-hero h1{font-size:22px}.campaign-atlas-fullscreen .atlas-hero p{font-size:10px}.campaign-atlas-fullscreen .atlas-map{min-height:0}.campaign-atlas-fullscreen .atlas-waypoint{width:46px;height:46px}.campaign-atlas-fullscreen .atlas-waypoint small{width:120px;font-size:10px}.run-summary{max-height:94dvh;padding:16px 22px;overflow:auto}.run-summary h1{font-size:24px}.adventure-shell .world-clock{width:max-content;max-width:220px;right:auto}.adventure-shell .departure-console .difficulty-selector{flex:0 0 130px;width:130px;min-width:0;position:static}.adventure-shell .departure-console .departure-button{flex:1 1 0;justify-content:space-between;align-items:center;gap:8px;width:auto;min-width:0;padding:8px;display:flex;position:static}.adventure-shell .departure-console .departure-button>span{font-size:14px;line-height:1.2}.adventure-shell .departure-console .departure-button>b{font-size:24px;position:static}.adventure-shell .departure-console .departure-button>small{display:none}.equipment-dialog.character-screen{padding:10px 16px}.character-screen .equipment-header{min-height:38px;margin:0;padding-bottom:6px}.character-screen .equipment-header .eyebrow{display:none}.character-screen .equipment-header h2{margin:0;font-size:22px}.character-screen .equipment-header .material-wallet{font-size:12px}.character-screen .equipment-header .material-wallet strong{font-size:18px}.character-screen .character-tabs{gap:6px;margin-bottom:8px;padding:6px 0}.character-screen .character-tabs button{min-height:40px;padding:6px 14px;font-size:12px}.character-screen .rpg-layout{grid-template-columns:minmax(290px,1.2fr) minmax(235px,1fr);gap:12px}.character-screen [role=tabpanel]{overscroll-behavior:contain;height:calc(100dvh - 105px);overflow-y:auto}.character-screen .character-left-column{gap:10px}.character-screen .paperdoll{grid-template-columns:60px minmax(80px,1fr) 60px;gap:6px;min-height:310px;padding:8px}.character-screen .slots-column{gap:4px}.character-screen .paper-slot{width:58px;height:44px;padding:4px}.character-screen .paper-slot .slot-label{font-size:8px}.character-screen .paper-slot :is(.item-icon,.slot-icon){width:25px;height:25px}.character-screen .paper-slot small{font-size:8px}.character-screen .paper-character>img{width:140px;height:190px}.character-screen .character-right-column{padding:12px;position:sticky;top:0}.character-screen .character-stats{gap:5px;margin:8px 0}.character-screen .character-stats>div{padding:6px;font-size:10px}.character-screen .character-stats b{font-size:18px}.character-screen .character-stats h3{font-size:14px}.character-screen .item-inspector{padding:8px 0 0;font-size:12px}.character-screen .bag-panel{padding:10px}.character-screen .bag-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.character-screen .item-disposal{gap:6px}.character-screen .item-disposal button{min-height:44px;padding:6px;font-size:11px}.campaign-atlas-fullscreen>header{max-width:60%;top:8px;left:16px}.campaign-atlas-fullscreen>header h1{font-size:22px}.campaign-atlas-fullscreen>header>.eyebrow{display:none}.campaign-atlas-fullscreen>header p{font-size:10px}}.adventure-shell{grid-template-rows:48px minmax(0,1fr)}.adventure-shell .adventure-footer,.adventure-shell .header-right,.adventure-shell .alpha,.adventure-shell .quest-scroll,.adventure-shell .home-caption,.adventure-shell .resource-hud,.adventure-shell .world-clock,.adventure-shell .audio-controls,.adventure-shell .dungeon-route,.adventure-shell .combat-dock>p,.adventure-shell .autobattle-control>small,.adventure-shell .dungeon-doors.locked{display:none}.adventure-shell .adventure-topbar{height:48px;min-height:0;padding:0 20px}.adventure-shell .wordmark{letter-spacing:3px;font-size:14px}.adventure-shell .current-world{opacity:.7;font-size:12px}.adventure-shell .mobile-menu-trigger{min-width:44px;height:40px;margin-left:auto;padding:0 12px;display:block}.adventure-shell .hero-hud{width:180px;box-shadow:none;background:#09141bc9;border:0;gap:8px;padding:8px}.adventure-shell .hero-portrait{width:32px;height:42px}.adventure-shell .hero-portrait img{max-height:42px}.adventure-shell .hero-hud .eyebrow,.adventure-shell .hero-hud .progression-hud,.adventure-shell .hero-hud small{display:none}.adventure-shell .hero-hud strong{font-size:12px}.adventure-shell .health-meter{height:5px}.adventure-shell .station{background:#101c26df;border-radius:24px;gap:8px;min-height:44px;padding:8px 12px;box-shadow:0 3px 15px #0004}.adventure-shell .station strong{font-size:12px}.adventure-shell .station small{display:none}.adventure-shell .station-icon{font-size:18px}.adventure-shell .departure-console{background:0 0;border:0;flex-direction:column;gap:6px;width:240px;padding:0;display:flex;bottom:24px;right:24px;overflow:visible}.adventure-shell .departure-button{background:#101c26ed;border:1px solid #b99e6266;border-radius:8px;width:100%;min-height:48px;padding:10px 16px;font-size:15px}.adventure-shell .departure-button small{display:none}.expedition-settings{width:100%;font-size:11px;position:relative}.expedition-settings summary{cursor:pointer;text-align:right;color:#c6c2b3;min-height:44px;padding:14px}.expedition-settings[open]{background:#101c26;border-radius:8px;padding:8px}.adventure-shell .departure-console .expedition-settings .expedition-picker{margin:0;display:block}.adventure-shell .departure-console .expedition-settings .difficulty-selector{width:100%;margin:8px 0 0;padding:0}.adventure-shell .expedition-settings select{width:100%;min-height:44px}.adventure-shell .dungeon-heading{text-align:center;background:0 0;border:0;width:auto;max-width:35%;padding:0;top:16px;left:50%;transform:translate(-50%)}.adventure-shell .dungeon-heading h1{margin:0;font-size:14px}.adventure-shell .dungeon-heading>span,.adventure-shell .dungeon-heading>p,.adventure-shell .dungeon-heading .level-threat{display:none}.adventure-shell .target-hud{background:#09141bb3;border:0;width:170px;padding:6px 10px;top:48px}.adventure-shell .target-hud>span,.adventure-shell .target-hud small{display:none}.adventure-shell .target-hud strong{font-size:11px}.adventure-shell .dungeon-doors.unlocked{width:240px;padding:12px}.adventure-shell .dungeon-doors .door-glyph,.adventure-shell .dungeon-doors .door-choices small{display:none}.adventure-shell .room-interactions{padding:8px 10px;font-size:11px}.adventure-shell .room-interactions .eyebrow{display:none}@media (height>=601px) and (pointer:fine){.adventure-shell .combat-dock{width:auto;padding:8px;bottom:24px}.adventure-shell .skill-bar{gap:6px}.adventure-shell .skill-button{width:72px;min-width:0;height:72px;min-height:0;padding:8px;font-size:10px}.adventure-shell .skill-symbol{font-size:24px}}@media (height<=600px) and (orientation:landscape){.adventure-shell{grid-template-rows:36px minmax(0,1fr)}.adventure-shell .adventure-topbar{height:36px;padding:0 12px}.adventure-shell .mobile-menu-trigger{height:36px;min-height:36px}.adventure-shell .departure-console{width:200px;bottom:12px;right:12px}.adventure-shell .hero-hud{width:150px;padding:5px}.adventure-shell .hero-portrait{display:none}.adventure-shell .dungeon-heading{top:10px}.adventure-shell .target-hud{top:32px}.primary-attributes header{margin-bottom:4px;font-size:10px}.primary-attributes h3{font-size:13px}.primary-attribute-grid{gap:4px}.primary-attribute-grid article{gap:4px;min-height:44px;padding:4px}.primary-attribute-grid article strong{font-size:11px}.primary-attribute-grid article small{font-size:8px}.primary-attribute-grid article>b{font-size:16px}.primary-attribute-grid article button{min-width:44px;min-height:44px}}.adventure-shell .seal-reminder{width:auto;max-width:200px;padding:10px 14px;font-size:11px}.adventure-shell .seal-reminder small{display:none}.departure-modal{color:#eee4d3;background:#111d27;border:1px solid #b99e6266;border-radius:12px;width:min(420px,90vw);max-height:90dvh;padding:20px;overflow:auto}.departure-modal::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#030a10bb}.departure-modal header{justify-content:space-between;align-items:center;gap:20px;display:flex}.departure-modal h2{font-size:18px}.departure-modal header button{width:44px;height:44px}.departure-modal .expedition-picker{display:block}.departure-modal .difficulty-selector{gap:6px;width:100%;margin:12px 0;display:grid}.character-summary{grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 16px;display:grid}.character-summary div{background:#17242e;border-radius:6px;padding:8px}.character-summary dt{color:#9aadb7;font-size:10px}.character-summary dd{margin:4px 0 0;font-size:16px}.front-idle{transform-origin:50% 95%;animation:3.4s ease-in-out infinite portrait-breathe}@keyframes portrait-breathe{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.014)}}@media (prefers-reduced-motion:reduce){.front-idle{animation:none}}.adventure-shell .touch-controls button,.adventure-shell .mobile-menu-trigger,.campaign-atlas .atlas-navigation>button,.campaign-atlas .atlas-waypoint{place-items:center;padding:0;line-height:1;display:grid}.campaign-atlas .atlas-waypoint>span{place-items:center;width:100%;height:100%;line-height:1;display:grid}.adventure-shell .skill-symbol{place-items:center;min-height:28px;line-height:1;display:grid}.adventure-shell .skill-cooldown{place-items:center;padding:0;line-height:1;display:grid}.adventure-shell .hero-hud .hero-portrait{display:none}.adventure-shell .hero-hud{width:200px}.hero-profile-trigger{text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;min-height:44px;padding:0;display:flex}.hero-profile-trigger img{object-fit:contain;width:38px;height:44px}.hero-profile-trigger:focus-visible{outline-offset:3px;outline:2px solid #cdb27a}.character-gear-content{min-height:0;max-height:calc(100dvh - 100px);overflow-y:auto}.witch-station{top:36%;left:61%}.service-dialog{color:#e9dfcb;background:#101b25;border:1px solid #b99e6266;border-radius:12px;width:min(1000px,94vw);max-height:92dvh;padding:24px;overflow-y:auto}.service-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#030a10cc}.service-dialog>header{justify-content:space-between;align-items:center;gap:20px;display:flex}.service-dialog>header button{width:44px;height:44px}.service-dialog h2{margin:6px 0;font-size:24px}.service-dialog h3{font-size:17px}.forge-workbench{grid-template-columns:1fr 1.2fr;gap:24px;display:grid}.anvil-stage{background:radial-gradient(#49352955,#0000 70%);align-self:center;place-items:center;min-height:220px;display:grid;position:relative}.anvil-stage svg{width:90%;max-width:320px}.anvil-stage .item-icon{width:80px;height:80px;position:absolute;top:0}.forge-weapons{gap:8px;display:grid}.forge-weapons button{text-align:left;align-items:center;gap:12px;min-height:48px;display:flex}.forge-weapons .item-icon{width:40px;height:40px}.forge-weapons [aria-pressed=true]{background:#293442;border-color:#dbc185}.forge-upgrade{background:#192631;border-radius:8px;margin-top:20px;padding:16px}@media (height<=600px){.service-dialog{padding:14px}.service-dialog h2{font-size:18px}.adventure-shell .hero-hud{width:164px}.hero-profile-trigger img{width:28px;height:34px}.witch-station{top:27%;left:63%}}.adventure-shell .departure-modal :is(.expedition-picker,.difficulty-selector,.departure-button){width:100%;min-width:0;box-shadow:none;background:0 0;border:0;margin:0;padding:0;position:static;inset:auto}.adventure-shell .departure-modal .expedition-settings{gap:16px;padding:20px 0;display:grid}.adventure-shell .departure-modal .departure-button{background:#293b46;border:1px solid #c9ad71;justify-content:space-between;align-items:center;min-height:48px;padding:12px 16px;display:flex}.adventure-shell .departure-modal .difficulty-selector{gap:8px;display:grid}.adventure-shell .departure-modal .expedition-picker{display:block}.adventure-shell .departure-modal select{box-sizing:border-box;width:100%;min-height:44px}.retreat-dialog{color:#e6dfd0;background:#14212c;border:1px solid #ad9364;border-radius:12px;width:min(420px,90vw);max-height:90dvh;padding:24px}.retreat-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#02080bc9}.adventure-shell .retreat-dialog p{text-align:left;background:0 0;border:0;width:auto;margin:0 0 20px;padding:0;font-size:14px;position:static}.adventure-shell .retreat-dialog button{min-height:44px;margin:4px;padding:10px 14px;position:static}@media (height<=600px) and (orientation:landscape){.adventure-shell .departure-modal{width:min(560px,92vw);padding:14px}.adventure-shell .departure-modal .expedition-settings{grid-template-columns:1fr 1fr;gap:16px;padding:12px 0}.departure-modal header h2{margin:0}.adventure-shell .departure-modal .expedition-settings label{align-content:start;font-size:11px}}.witch-dialog{width:min(1120px,94vw)}.witch-portrait{object-fit:contain;width:76px;height:76px}.witch-dialog>header>div{flex:1}.witch-tabs{border-bottom:1px solid #78694366;gap:8px;margin:20px 0;padding-bottom:10px;display:flex}.witch-tabs button{color:#a9b5bd;background:#182732;border-radius:8px;flex:1;min-height:48px}.witch-tabs [aria-selected=true]{color:#eed59b;background:linear-gradient(135deg,#3a3440,#1f2d3a);border-color:#c8a96b;box-shadow:inset 0 -3px #bd9c64}.witch-dialog .class-options{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.vocation-art{object-fit:contain;width:80px;height:80px;margin:0 auto 10px;display:block}.rune-emblem img{object-fit:contain;width:64px;height:64px}.anvil-art{object-fit:contain;width:220px;height:220px;image-rendering:pixelated}@media (height<=600px){.witch-portrait{width:48px;height:48px}.witch-tabs{margin:8px 0}.vocation-art{width:52px;height:52px}.witch-dialog .class-options{gap:8px}}.adventure-shell .hero-profile-trigger{background:#203440;border:1px solid #70839188;border-radius:8px;padding:4px 6px}.hero-profile-label{gap:4px;display:grid}.hero-profile-label>span{color:#d6bd88;font-size:10px}.adventure-shell .station{border:1px solid #d0b675aa;border-radius:10px;padding:10px 14px;transition:background .15s,box-shadow .15s}.adventure-shell .station:after{content:"›";color:#e3c384;font-size:22px;line-height:1}.adventure-shell .station:hover{background:#2b3d4b;box-shadow:0 0 0 3px #c9ac7044}.adventure-shell .station:focus-visible{outline-offset:3px;outline:3px solid #e5c57e}.adventure-shell .station small{color:#b4c1c8;margin-top:4px;font-size:10px;display:block}.service-empty{color:#d2b782;border:1px dashed #ad916b;border-radius:10px;padding:20px}.service-dialog button:not(:disabled):hover{background-color:#304452;border-color:#e4c480}.service-dialog button:disabled{opacity:.45;cursor:not-allowed}.service-dialog button:focus-visible{outline-offset:2px;outline:2px solid #e4c480}@media (height<=600px){.adventure-shell .station{padding:6px 10px}.adventure-shell .station small{display:none}.adventure-shell .hero-hud{width:176px}}.adventure-shell .adventure-topbar{background:#101012f5;border-bottom:1px solid #514b40}.adventure-shell .hero-hud{background:#111114e8}.adventure-shell .hero-profile-trigger{background:#242224;border-color:#8b7b5f}.adventure-shell .station{background:#18171bec}.adventure-shell .dock-station{background:#242320ee;border-color:#c1aa77}.service-dialog,.departure-modal,.retreat-dialog,.mobile-menu-panel{background:#151419;border-color:#776748}.equipment-dialog.character-screen{background:radial-gradient(at 25% 25%,#2c282a,#101014 70%);grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.character-screen .equipment-header{width:100%}.character-screen .character-gear-content{scrollbar-width:auto;scrollbar-color:#b29661 #161418;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:100%;min-height:0;max-height:none;overflow:auto}.character-screen .rpg-layout{max-width:1500px;margin:0 auto}.character-screen .character-right-column{background:#17171b;position:static}.character-screen .paperdoll{background:radial-gradient(#39303266,#141319)}.character-screen .paper-slot,.character-screen .bag-cell{background:#1e1d22;border-color:#736651}.witch-dialog .witch-tabs{border:0;gap:18px;margin:8px 0 16px;padding:14px 0;display:flex}.witch-dialog .witch-tabs button{color:#cbc5be;background:#232127;border:1px solid #69616a;border-radius:8px;flex:1;padding:14px 20px;font-size:14px}.witch-dialog .witch-tabs [aria-selected=true]{color:#ffe3aa;background:#3b3036;border:2px solid #c7a972;box-shadow:inset 0 -3px #c7a972}.witch-dialog .class-options article,.witch-dialog .rune-path{background:#211d24;border-color:#615261}.adventure-shell .combat-dock{background:#131216e8;border-color:#554b3e}.adventure-shell .skill-button{color:#e1c995;background:linear-gradient(#302b2d,#19171d);border-color:#8c7c5c;border-radius:7px;grid-template-rows:30px minmax(26px,auto);align-content:center;justify-items:center;gap:4px;width:104px;height:84px;min-height:84px;padding:8px 6px;display:grid}.adventure-shell .skill-symbol{width:30px;height:30px;min-height:0;margin:0}.skill-symbol svg{width:28px;height:28px;display:block}.adventure-shell .skill-button strong{white-space:normal;overflow-wrap:normal;text-align:center;align-self:center;width:100%;font-size:11px;line-height:1.2}.adventure-shell .skill-button kbd{font-size:9px;top:3px;left:3px}.adventure-shell .skill-cooldown{background:#09090bef;border-radius:0 6px;width:26px;height:26px;font-size:15px;inset:0 0 auto auto}.adventure-shell .touch-controls button,.adventure-shell .autobattle-control button{color:#ecd6a8;background:#242127ed;border-color:#a08b63}@media (height<=600px) and (orientation:landscape){.character-screen .character-gear-content{padding-bottom:20px}.adventure-shell .skill-button{grid-template-rows:26px 28px;gap:3px;width:66px;height:72px;min-height:72px;padding:5px 3px}.adventure-shell .skill-button strong{font-size:10px;line-height:1.15}.adventure-shell .skill-symbol,.skill-symbol svg{width:25px;height:25px}.adventure-shell .skill-bar{gap:5px}.adventure-shell .skill-slash{order:0}.adventure-shell .autobattle-control{width:110px;bottom:12px;left:155px}.adventure-shell .touch-controls{bottom:12px}.adventure-shell .hero-hud{width:188px}.witch-dialog .witch-tabs{gap:14px;margin:0 0 8px;padding:8px 0}.witch-dialog .witch-tabs button{padding:10px;font-size:12px}}.witch-dialog #witch-content{padding:8px 2px 20px}.witch-dialog .rune-tree>header{margin:0 0 28px}.witch-dialog .rune-tree>header h2{margin:12px 0 14px;line-height:1.3}.witch-dialog .rune-tree>header p{max-width:76ch;margin:0;line-height:1.75}.witch-dialog .rune-path>header{min-height:200px;padding:20px 12px 28px}.witch-dialog .rune-path h3{margin:16px 0 12px}.witch-dialog .rune-path p{margin:0;line-height:1.6}.witch-dialog .rune-row{margin-top:24px}.witch-dialog .rune-node{gap:12px;padding:18px 12px}.witch-dialog .rune-node strong{margin:4px 0;line-height:1.35}.witch-dialog .rune-node small{line-height:1.6}.witch-dialog .rune-confirm{background:#201b23;border-color:#b39868;padding:26px}.witch-dialog .rune-confirm h3{margin:0 0 14px}.witch-dialog .rune-confirm p{margin:0 0 24px;line-height:1.7}.witch-dialog .rune-confirm button{min-height:46px;margin:0 12px 0 0;padding:12px 18px}.witch-dialog .class-options article{padding:22px}.witch-dialog .class-options h4{margin:16px 0 12px}.witch-dialog .class-options p{margin:10px 0;line-height:1.6}.witch-dialog .class-options ul{margin:16px 0 24px;line-height:1.8}@media (height<=600px) and (orientation:landscape){.character-screen .rpg-layout{grid-template-columns:minmax(320px,1.15fr) minmax(235px,1fr);align-items:stretch;gap:12px;height:100%}.character-screen .character-left-column,.character-screen .character-right-column{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b79c6c #17151b;height:100%;min-height:0;overflow-y:auto}.character-screen .character-left-column{display:block}.character-screen .paperdoll{grid-template-columns:minmax(85px,1fr) repeat(4,minmax(44px,1fr));grid-auto-rows:54px;grid-auto-flow:dense;gap:5px;min-height:0;padding:6px}.character-screen .slots-column{display:contents}.character-screen .paper-character{grid-area:1/1/span 4;align-self:center;min-height:0}.character-screen .paper-character>img{width:92px;height:132px}.character-screen .paper-character strong{font-size:12px}.character-screen .paper-character>span{display:none}.character-screen .paper-slot{width:100%;height:54px;min-height:44px}.character-screen .paper-slot .slot-label{font-size:8px;line-height:1.1}.character-screen .bag-panel{margin-top:12px}.character-screen .character-summary{margin-bottom:12px}.character-screen .character-summary div{padding:6px}.character-screen .character-summary dd{font-size:13px}.witch-dialog .rune-path>header{min-height:150px;padding:12px 8px 20px}}.adventure-shell .hero-profile-trigger{pointer-events:auto;cursor:pointer;z-index:1;position:relative}.adventure-shell .mobile-menu-trigger{color:#e5c993;background:#211e22;border:1px solid #9a835c;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-width:88px;padding:4px 10px;display:flex}.mobile-menu-trigger img{object-fit:contain;width:30px;height:30px;image-rendering:pixelated}.mobile-menu-trigger>span{font-size:11px}.adventure-shell .hero-hud{background:0 0;width:140px;padding:0;display:block}.adventure-shell .profile-card{background:linear-gradient(145deg,#292429,#111014);border:1px solid #b19a6d;border-radius:8px;flex-direction:column;justify-content:space-between;align-items:stretch;gap:5px;width:140px;height:140px;padding:10px;display:flex;box-shadow:0 5px 18px #0008}.profile-identity{align-items:center;gap:8px;min-width:0;display:flex}.adventure-shell .profile-card .profile-avatar{object-fit:contain;width:34px;height:44px}.profile-identity>span{gap:4px;min-width:0;display:grid}.adventure-shell .profile-card strong{text-overflow:ellipsis;font-size:12px;overflow:hidden}.profile-identity>span>span{color:#b2a594;font-size:10px}.profile-stat{color:#e4ded3;font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:7px;font-size:10px;display:flex}.adventure-shell .profile-card .profile-stat img{width:16px;height:16px;image-rendering:pixelated}.profile-open{text-align:center;color:#e6c482;border-top:1px solid #6e5b3e;padding-top:5px;font-size:10px}.profile-card:hover{outline-offset:2px;outline:2px solid #c1a471}.witch-bonus-summary{background:#252027;border:1px solid #655343;border-radius:10px;margin-top:32px;padding:24px}.witch-bonus-summary h3{margin:0 0 20px;font-size:18px}.witch-bonus-summary dl{gap:0;margin:0;display:grid}.witch-bonus-summary dl>div{border-top:1px solid #51434e;justify-content:space-between;align-items:baseline;gap:24px;padding:14px 0;display:flex}.witch-bonus-summary dt{color:#cbc3c4;line-height:1.5}.witch-bonus-summary dd{color:#edd39c;white-space:nowrap;margin:0;font-weight:700}.witch-dialog .rune-paths{align-items:start}.witch-dialog .rune-path>header{height:240px}.witch-dialog .rune-row{height:270px}.witch-dialog .rune-node{justify-content:center;height:210px}@media (height<=600px) and (orientation:landscape){.adventure-shell .hero-hud,.adventure-shell .profile-card{width:112px}.adventure-shell .profile-card{gap:3px;height:112px;padding:7px}.adventure-shell .profile-card .profile-avatar{width:24px;height:30px}.adventure-shell .profile-card strong{font-size:10px}.profile-stat{gap:5px;font-size:9px}.profile-open{padding-top:3px;font-size:9px}}.equipment-dialog.character-screen{grid-template-rows:auto auto minmax(0,1fr)}.character-pages,.rune-tiers{gap:12px;padding:12px 0;display:flex}.character-pages button,.rune-tiers button{color:#d6cec2;background:#252028;border:1px solid #72614d;border-radius:6px;min-height:44px;padding:8px 18px}.character-pages [aria-pressed=true],.rune-tiers [aria-pressed=true]{color:#ffe2ac;background:#47383a;border-color:#d2b37a}.character-screen .character-gear-content,.character-screen .character-left-column,.character-screen .character-right-column{overflow:hidden}.character-screen[data-page=gear] .bag-panel,.character-screen[data-page=bag] .paperdoll-panel,.character-screen:not([data-page=stats]) .character-right-column>:not(.item-inspector),.character-screen[data-page=stats] .character-left-column,.character-screen[data-page=stats] .item-inspector{display:none}.character-screen[data-page=stats] .rpg-layout{grid-template-columns:1fr}.character-screen[data-page=stats] .character-right-column{grid-template-columns:1fr 1fr;gap:16px;display:grid}.character-screen[data-page=stats] .primary-attributes{grid-area:1/1/span 4}.character-screen .bag-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.character-screen .bag-panel{margin:0}.witch-dialog{height:min(800px,94dvh);display:none;overflow:hidden}.witch-dialog[open]{grid-template-rows:auto auto minmax(0,1fr);display:grid}.witch-dialog #witch-content{padding:0;overflow:hidden}.witch-dialog .rune-tree>header{margin-bottom:8px}.witch-dialog .rune-tree>header h2,.witch-dialog .rune-tree>header .eyebrow{display:none}.witch-dialog .rune-tree>header p{font-size:12px;line-height:1.5}.witch-dialog .rune-path>header{height:150px;min-height:0;padding:12px}.witch-dialog .rune-path>header h3{margin:8px 0}.witch-dialog .rune-row{height:auto;margin:0}.witch-dialog .rune-node{gap:8px;height:180px;padding:12px}.witch-dialog .rune-path{padding:12px}.witch-bonus-summary{margin:0}@media (height<=600px) and (orientation:landscape){.character-pages{gap:8px;padding:6px 0}.character-pages button{min-height:36px;padding:5px 14px;font-size:11px}.character-screen .rpg-layout{grid-template-columns:minmax(320px,1.25fr) minmax(230px,1fr)}.character-screen .paperdoll{grid-auto-rows:44px;gap:3px}.character-screen .paper-slot{height:44px}.character-screen .paper-character>img{height:112px}.character-screen .bag-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.character-screen .bag-cell{height:52px;min-height:0}.character-screen .bag-cell button{height:100%}.character-screen .bag-heading{margin:0 0 8px}.character-screen .item-top>.item-icon{width:38px;height:38px}.character-screen .item-top p{display:none}.character-screen .item-top h3{margin:6px 0;font-size:13px}.character-screen .weapon-properties{gap:4px;margin:6px 0}.character-screen .weapon-properties small{display:none}.character-screen .item-actions{margin-top:6px}.character-screen[data-page=stats] .primary-attribute-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-screen[data-page=stats] .primary-attribute-grid article{gap:4px;min-height:44px;padding:3px;display:flex}.character-screen[data-page=stats] .primary-attribute-grid article>div{display:none}.character-screen[data-page=stats] .primary-attribute-grid article>b{margin-left:auto;font-size:14px}.character-screen[data-page=stats] .character-right-column{gap:6px 16px;padding:6px}.character-screen[data-page=stats] .character-summary{margin:0}.witch-dialog{height:96dvh;padding:10px 16px}.witch-dialog>header{height:40px}.witch-dialog .witch-portrait{width:40px;height:40px}.witch-dialog .witch-tabs{margin:0;padding:5px 0}.witch-dialog .witch-tabs button{min-height:36px;padding:6px 12px}.witch-dialog .rune-tree>header{display:none}.rune-tiers{gap:8px;padding:5px 0}.rune-tiers button{min-height:32px;padding:5px 12px;font-size:11px}.witch-dialog .rune-paths{gap:10px}.witch-dialog .rune-path{padding:6px}.witch-dialog .rune-path>header{justify-content:center;align-items:center;gap:8px;height:35px;padding:0;display:flex}.witch-dialog .rune-path>header p,.witch-dialog .rune-path>header small,.witch-dialog .rune-level,.witch-dialog .rune-glyph{display:none}.witch-dialog .rune-emblem img,.witch-dialog .rune-emblem{width:30px;height:30px}.witch-dialog .rune-path h3{font-size:12px}.witch-dialog .rune-node{gap:4px;height:114px;min-height:0;padding:5px}.witch-dialog .rune-node strong{margin:0;font-size:10px}.witch-dialog .rune-node small{font-size:9px;line-height:1.3}.witch-dialog .class-options article{padding:8px}.witch-dialog .class-options ul{margin:5px 0;font-size:10px;line-height:1.4}.witch-dialog .class-options h4{margin:4px 0;font-size:12px}.witch-dialog .class-options p{margin:4px 0;font-size:10px}.witch-dialog .vocation-art{width:36px;height:36px;margin-bottom:3px}.witch-dialog .character-build>h3,.witch-dialog .build-caps,.witch-dialog .character-build>small{display:none}.witch-dialog .character-build>p{margin:3px 0;font-size:10px}}.adventure-shell .mobile-menu-trigger{box-shadow:none;background:0 0;border:0;gap:10px;margin:0 8px 0 auto;padding:4px 12px}.adventure-shell .mobile-menu-trigger:hover{background:#ffffff0a}.adventure-shell .mobile-menu-trigger:focus-visible{outline-offset:2px;outline:2px solid #c9aa72}.close-icon{pointer-events:none;flex:0 0 20px;width:20px;height:20px;margin:0;display:block}button:has(>.close-icon){justify-content:center;align-items:center;gap:10px;min-width:44px;min-height:44px;line-height:1;display:inline-flex}button:has(>.close-icon:only-child){width:44px;height:44px;padding:0}@media (height<=600px) and (orientation:landscape){.witch-dialog .rune-paths{grid-template-columns:repeat(3,minmax(0,1fr))}.witch-dialog .rune-row{padding-top:4px}.witch-dialog .rune-choices{gap:5px}.witch-dialog .rune-node{height:105px}.witch-dialog .character-build{background:0 0;border:0;padding:0}.witch-dialog .class-options{margin:8px 0 0}.witch-dialog .class-options article{grid-template-columns:32px 1fr;align-content:start;gap:4px 8px;padding:8px;display:grid}.witch-dialog .class-options .eyebrow{grid-column:1/-1;font-size:9px}.witch-dialog .class-options .vocation-art{grid-row:2/span 2;width:32px;height:32px;margin:0}.witch-dialog .class-options h4,.witch-dialog .class-options p{margin:0}.witch-dialog .class-options ul{grid-column:1/-1;margin:3px 0;padding-left:14px}.witch-dialog .class-options button{grid-column:1/-1;min-height:36px;padding:5px;font-size:10px}.witch-dialog .rune-confirm,.witch-dialog .class-confirm{z-index:20;width:min(460px,90vw);margin:0;padding:18px;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #000b}.witch-dialog .rune-confirm p{margin-bottom:14px;font-size:12px}.witch-dialog .rune-confirm button{min-height:40px;padding:8px 12px}}.character-screen .equipment-header,.character-screen .character-pages,.character-screen .character-gear-content{box-sizing:border-box;width:100%;max-width:1280px;margin-left:auto;margin-right:auto}.character-screen .rpg-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.character-screen .bag-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:76px;gap:8px}.character-screen .bag-cell{aspect-ratio:auto;width:auto;height:76px;min-height:0}.character-screen .bag-cell button{width:100%;height:100%}.character-screen .bag-panel{background:#19161d;padding:18px}.character-screen:not([data-page=loot]) .expedition-bag,.character-screen[data-page=loot] .rpg-layout,.character-screen .character-gear-content>.notice{display:none}.character-screen .expedition-bag{border:1px solid #5f5244;border-radius:10px;margin:0;padding:24px}.character-screen .loot-row{grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.character-screen .paper-slot .slot-label{white-space:normal;font-size:10px;line-height:1.15}.character-screen .no-item-selected{background:0 0;padding:24px}.character-screen .no-item-selected h3{margin:16px 0 12px}.page-navigation{justify-content:flex-end;align-items:center;gap:12px;margin:8px 0 12px;font-size:12px;display:flex}.page-navigation button{place-items:center;width:44px;height:44px;padding:0;line-height:1;display:grid}.merchant-dialog{color:#e4dace;background:#161419;width:min(1040px,94vw);height:min(760px,94dvh);padding:24px;overflow:hidden}.merchant-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.merchant-header h1{margin:8px 0;font-size:24px}.merchant-emblem{background:0 0}.merchant-emblem img{object-fit:contain;width:80px;height:80px}.merchant-stock{max-height:none;overflow:hidden}.merchant-stock button{min-height:60px}.merchant-offer,.merchant-stock button,.merchant-introduction{background:#231e27;border-color:#67564e}@media (height<=600px) and (orientation:landscape){.character-screen .rpg-layout{grid-template-columns:minmax(310px,1.15fr) minmax(230px,1fr)}.character-screen .bag-panel{padding:6px 10px}.character-screen .bag-grid{grid-auto-rows:48px;gap:5px}.character-screen .bag-cell{height:48px}.character-screen .bag-filter{display:none}.character-screen .bag-heading h3{font-size:13px}.character-screen .page-navigation{margin:3px 0}.character-screen .page-navigation button{width:40px;height:32px;min-height:32px}.character-screen .paper-slot .slot-label{font-size:8px}.merchant-dialog{padding:12px 18px}.merchant-header h1{margin:0;font-size:18px}.merchant-header .eyebrow{display:none}.merchant-introduction{gap:12px;margin:6px 0;padding:6px 10px;display:flex}.merchant-emblem,.merchant-emblem img{width:40px;height:40px}.merchant-introduction h2{margin:0;font-size:13px}.merchant-introduction p{display:none}.merchant-wallet{margin-left:auto}.merchant-wallet strong{font-size:16px}.merchant-layout{grid-template-columns:1fr 1fr;gap:16px}.merchant-layout h2{margin:0 0 5px;font-size:13px}.merchant-layout>section:first-child{position:relative}.merchant-layout .page-navigation{margin:0 0 5px}.merchant-layout .page-navigation button{height:30px;min-height:30px}.merchant-stock{grid-template-columns:1fr 1fr;gap:5px;display:grid}.merchant-stock button{gap:5px;min-height:48px;padding:5px;font-size:10px}.merchant-stock .item-icon{width:25px;height:25px}.merchant-stock small{display:none}.merchant-offer{padding:10px;font-size:11px}.merchant-offer>.item-icon{width:32px;height:32px}.merchant-offer p{margin:5px 0}.witch-dialog .rune-node{height:94px;min-height:0}.witch-dialog .character-build>p:nth-of-type(2){display:none}.witch-dialog .class-options{margin-top:5px}.witch-dialog .class-options ul{min-height:34px;font-size:9px;line-height:1.3}.witch-dialog .class-options article{gap:3px 6px}.witch-dialog .class-options button{min-height:32px}.character-screen[data-page=stats] .primary-attribute-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.character-screen[data-page=stats] .primary-attribute-grid article{height:44px;min-height:0;padding:2px}.character-screen[data-page=stats] .primary-attribute-grid .attribute-code{font-size:9px}.character-screen[data-page=stats] .primary-attribute-grid button{width:32px;min-width:32px;height:40px;min-height:40px;padding:0}.character-screen[data-page=stats] .primary-attribute-grid article>b{font-size:12px}.character-screen[data-page=stats] .character-right-column{grid-template-rows:38px 18px 45px 1fr;gap:5px 14px}.character-screen[data-page=stats] .character-right-column>h3{margin:0;font-size:11px}.character-screen[data-page=stats] .character-summary{gap:5px}.character-screen[data-page=stats] .character-summary div{padding:4px}.character-screen[data-page=stats] .character-summary dt{font-size:9px}.character-screen[data-page=stats] .character-summary dd{margin:2px 0 0;font-size:11px}.character-screen[data-page=stats] .character-stats{margin:0}.character-screen[data-page=stats] .character-stats>div{padding:4px}.character-screen[data-page=stats] .character-stats b{font-size:14px}.character-screen[data-page=stats] .character-stats small{font-size:9px}.character-screen[data-page=stats] .combat-secondary{gap:4px;margin:0}.character-screen[data-page=stats] .combat-secondary>div{padding:4px}.character-screen[data-page=stats] .combat-secondary dt{font-size:8px}.character-screen[data-page=stats] .combat-secondary dd{margin-top:2px;font-size:12px}.character-screen[data-page=stats] .primary-attributes h3{font-size:12px}.character-screen[data-page=stats] .primary-attributes>header{gap:6px;font-size:9px}}.forge-selector{color:#d7c4a0;gap:12px;font-size:14px;display:grid}.forge-selector select{color:#f0dfb8;background:#26212a;border:1px solid #937a54;border-radius:6px;width:100%;min-height:46px;padding:10px}@media (height<=600px) and (orientation:landscape){.forge-dialog .forge-workbench{grid-template-columns:180px 1fr;gap:18px}.forge-dialog .anvil-stage{height:140px;min-height:140px}.forge-dialog .anvil-art{width:150px;height:150px}.forge-dialog .anvil-stage .item-icon{width:48px;height:48px}.forge-dialog>p{margin:5px 0 10px;font-size:11px}.forge-dialog .forge-upgrade{margin-top:10px;padding:10px}.forge-dialog .forge-upgrade p{margin:5px 0 10px;font-size:10px;line-height:1.35}.forge-dialog .forge-upgrade strong{font-size:12px}.forge-dialog .forge-upgrade button{min-height:40px;padding:6px 14px}.forge-selector{gap:6px;font-size:11px}.forge-selector select{min-height:40px;padding:6px 10px}.adventure-shell .room-interactions-stack{gap:5px;width:190px;max-height:none;top:70px;bottom:auto;left:138px;overflow:visible}.adventure-shell .room-interactions-stack .room-interactions{padding:6px 8px}.adventure-shell .room-interactions-stack .room-interactions p{margin:0 0 5px;font-size:10px;line-height:1.25}.adventure-shell .room-interactions-stack .room-interactions button{min-height:36px;padding:6px;font-size:11px}.adventure-shell .room-interactions-stack .ground-loot-hint{display:none}.adventure-shell .run-summary{background:#17141bf5;width:min(650px,94vw);max-width:94vw;max-height:calc(100dvh - 16px);margin:0;padding:12px 18px;animation:none;position:fixed;inset:50% auto auto 50%;overflow:hidden;transform:translate(-50%,-50%)}.adventure-shell .run-summary .victory-sigil{display:none}.adventure-shell .run-summary>.eyebrow{font-size:9px}.adventure-shell .run-summary h2{margin:4px 0;font-size:22px}.adventure-shell .run-summary .victory-chapter{margin:2px 0 8px;font-size:11px}.adventure-shell .run-summary dl{grid-template-columns:repeat(4,1fr);gap:8px;margin:6px 0}.adventure-shell .run-summary dl>div{padding:6px}.adventure-shell .run-summary dt{font-size:9px}.adventure-shell .run-summary dd{margin:2px 0 0;font-size:16px}.adventure-shell .run-summary .reward-materials{margin:6px 0;padding:5px 8px;font-size:11px}.adventure-shell .run-summary .reward-materials strong{font-size:14px}.adventure-shell .run-summary .reward-loot{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-height:none;margin:6px 0;display:grid;overflow:visible}.adventure-shell .run-summary .reward-loot li{min-height:0;padding:4px}.adventure-shell .run-summary .reward-loot .item-icon{width:30px;height:30px}.adventure-shell .run-summary .reward-loot span,.adventure-shell .run-summary>p:not(.victory-chapter):not(.rewards-secured){display:none}.adventure-shell .run-summary .reward-departure{min-height:40px;margin-top:5px;padding:8px 12px;font-size:12px}.witch-bonus-summary{padding:10px 16px}.witch-bonus-summary h3{margin:0 0 8px;font-size:13px}.witch-bonus-summary dl>div{padding:5px 0;font-size:11px}.witch-bonus-summary .page-navigation{margin:4px 0 0}.witch-bonus-summary .page-navigation button{height:30px;min-height:30px}}.adventure-shell .witch-station{top:24%;left:78%}@media (height<=600px) and (orientation:landscape){.adventure-shell.aboard .station{white-space:normal;gap:5px;width:136px;min-height:44px;padding:6px 8px}.adventure-shell.aboard .station strong{font-size:10px;line-height:1.2}.adventure-shell.aboard .station-icon{flex-shrink:0;width:18px}.adventure-shell.aboard .forge-station{top:45%;left:30%}.adventure-shell.aboard .observatory-station{top:12%;left:48%}.adventure-shell.aboard .witch-station{top:12%;left:78%}.adventure-shell.aboard .dock-station{top:55%;left:78%}.adventure-shell.aboard .merchant-station{top:70%;left:50%}}.adventure-shell.aboard .orma-hub{container-type:size}.adventure-shell.aboard .hub-panorama{aspect-ratio:1672/941;width:max(100cqw,177.683cqh);min-width:0;max-width:none;height:auto}.adventure-shell.aboard .keeper-smith{top:35%;left:37%}.adventure-shell.aboard .keeper-navigator{top:31%;left:50%}.adventure-shell.aboard .keeper-merchant{top:47%;left:43%}.adventure-shell.aboard .keeper-witch{top:36%;left:65%}.adventure-shell.aboard .dock-station{top:49%;left:75%}.grimoire{gap:18px;display:grid}.grimoire-intro h3{margin:0 0 8px}.grimoire-intro p{color:#b6bec3;margin:0;line-height:1.5}.prepared-arts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.prepared-art{background:#19171f;border:1px solid #625647;border-radius:10px;align-content:start;gap:12px;padding:16px;display:grid}.prepared-art label,.potion-preparation label{color:#dcc28b;margin-bottom:6px;display:block}.prepared-art select,.potion-preparation select{color:#eadfc9;background:#101019;border:1px solid #756548;border-radius:6px;width:100%;min-width:0;min-height:40px;padding:6px}.art-description{align-items:center;gap:12px;min-height:84px;display:flex}.art-description svg{color:#c3a9e3;flex-shrink:0;width:32px;height:32px}.art-description p,.potion-preparation p{margin:0;font-size:14px;line-height:1.5}.prepared-art small,.potion-preparation small{color:#9dabb3;font-size:12px}.potion-preparation{background:#1d191d;border-radius:10px;grid-template-columns:220px 1fr;align-items:center;gap:20px;padding:16px;display:grid}.grimoire footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.grimoire footer span{color:#b8c9b6}.grimoire footer button{min-height:44px;padding:8px 20px}@media (height<=600px) and (orientation:landscape){.grimoire{gap:6px}.grimoire-intro{display:none}.prepared-arts{gap:6px}.prepared-art{gap:3px;padding:6px}.prepared-art label{margin:0;font-size:10px}.prepared-art select{min-height:32px;padding:3px;font-size:11px}.art-description{gap:5px;min-height:40px}.art-description p{font-size:10px;line-height:1.25}.art-description svg{width:20px;height:20px}.prepared-art small{font-size:9px}.potion-preparation{grid-template-columns:160px 1fr;gap:8px;padding:6px}.potion-preparation label{margin:0;font-size:10px}.potion-preparation select{min-height:32px;font-size:11px}.potion-preparation p{font-size:10px;line-height:1.2}.potion-preparation small{display:none}.grimoire footer{font-size:11px}.grimoire footer button{min-height:32px;padding:4px 12px;font-size:11px}.adventure-shell .skill-button{width:60px;min-width:60px}.adventure-shell .skill-bar{gap:4px;padding:5px}}.potion-icon{object-fit:contain;width:32px;height:32px;image-rendering:pixelated}.potion-preparation{grid-template-columns:40px 220px 1fr}@media (height<=600px) and (orientation:landscape){.potion-preparation{grid-template-columns:28px 150px 1fr}.potion-preparation .potion-icon{width:26px;height:26px}}@media (height<=400px) and (orientation:landscape){.prepared-art{gap:2px;padding:4px}.prepared-art label{line-height:12px}.prepared-art small{display:none}.art-description{min-height:28px}.art-description p{font-size:9px;line-height:1.15}.potion-preparation{padding:4px}}@media (height<=600px) and (orientation:landscape){.app-shell.adventure-shell.aboard .orma-hub{top:0}.adventure-shell.aboard .npc-sprite{width:44px;height:44px;transform:none}.adventure-shell.aboard .keeper-button{width:44px;height:44px;min-height:44px}.adventure-shell.aboard .keeper-name{font-size:9px;bottom:calc(100% + 2px)}.app-shell.adventure-shell .hero-dock{top:-46px}}.app-shell.adventure-shell .dungeon-tools{z-index:25;align-items:center;gap:8px;display:flex;position:absolute;top:86px;right:28px}.app-shell.adventure-shell .dungeon-tools .dungeon-odds,.app-shell.adventure-shell .dungeon-tools .retreat-control{width:auto;max-width:none;display:flex;position:static}.app-shell.adventure-shell .dungeon-tools .tip-anchor{display:flex}.app-shell.adventure-shell .dungeon-tools .loot-odds-trigger,.app-shell.adventure-shell .dungeon-tools .retreat-control>.tip-anchor>button,.app-shell.adventure-shell .pop-trigger{height:44px;min-height:44px;box-shadow:none;color:#dfcfad;background:#141820ee;border:1px solid #88764e;border-radius:8px;justify-content:center;align-items:center;gap:8px;margin:0;padding:0 12px;line-height:1.2;display:inline-flex}.app-shell.adventure-shell .dungeon-tools .loot-odds-trigger,.app-shell.adventure-shell .pop-trigger{width:44px;padding:0}.app-shell.adventure-shell .dungeon-tools button img,.app-shell.adventure-shell .pop-trigger img{object-fit:contain;width:26px;height:26px;image-rendering:pixelated;margin:0}.recovery-action{text-align:left;align-items:center;gap:10px;padding:12px;line-height:1.5;display:flex}.recovery-action img{flex:0 0 32px;width:32px;height:32px}.adventure-shell .door-card{text-align:left;grid-template-columns:1fr;gap:8px}.adventure-shell .door-card .door-text,.adventure-shell .door-card .door-threat{grid-column:1/-1}@media (pointer:coarse) and (orientation:portrait),(orientation:landscape) and (height<=600px){.app-shell.adventure-shell .dungeon-tools{gap:8px;top:-52px;right:114px}.app-shell.adventure-shell .dungeon-tools .loot-odds-trigger,.app-shell.adventure-shell .dungeon-tools .retreat-control>.tip-anchor>button{width:40px;height:40px;min-height:40px;padding:0}}
