@font-face{font-family:Pixelify Sans;font-style:normal;font-display:swap;font-weight:600;src:url(./pixelify-sans-latin-600-normal-Dd_Dy7u5.woff2) format("woff2"),url(./pixelify-sans-latin-600-normal-BNlgYbDL.woff) format("woff")}@font-face{font-family:Atkinson Hyperlegible;font-style:normal;font-display:swap;font-weight:400;src:url(./atkinson-hyperlegible-latin-400-normal-BrHNak5F.woff2) format("woff2"),url(./atkinson-hyperlegible-latin-400-normal-BbWidj28.woff) format("woff")}@font-face{font-family:Atkinson Hyperlegible;font-style:normal;font-display:swap;font-weight:700;src:url(./atkinson-hyperlegible-latin-700-normal-GZI4o3u0.woff2) format("woff2"),url(./atkinson-hyperlegible-latin-700-normal-BK6Glc0m.woff) format("woff")}:root{--bg: #05080b;--panel: rgba(13, 21, 29, .95);--panel-2: rgba(19, 30, 40, .96);--border: #4d6676;--border-hi: #e8c477;--text: #eaeef0;--muted: #93a6b1;--gold: #f0cf6a;--hp: #d23a2c;--hp-low: #e08a26;--hp-crit: #ff3a2a;--sp: #3a9ee0;--danger: #e0483a;--wood: repeating-linear-gradient(92deg, rgba(200, 230, 255, .012) 0 2px, transparent 2px 9px), radial-gradient(ellipse at 30% 0%, rgba(70, 110, 140, .2), transparent 70%), linear-gradient(180deg, #142230 0%, #0b141c 100%);--corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cg transform='rotate(0 11 11)'%3E%3Cpath d='M1.5 21V6.5a5 5 0 0 1 5-5H21' fill='none' stroke='%2393aebd' stroke-width='2'/%3E%3Cpath d='M5.5 21V9.5a4 4 0 0 1 4-4H21' fill='none' stroke='%23384e5c' stroke-width='1'/%3E%3Crect x='3.2' y='3.2' width='4.6' height='4.6' transform='rotate(45 5.5 5.5)' fill='%23f0cf6a'/%3E%3C/g%3E%3C/svg%3E");--corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cg transform='rotate(90 11 11)'%3E%3Cpath d='M1.5 21V6.5a5 5 0 0 1 5-5H21' fill='none' stroke='%2393aebd' stroke-width='2'/%3E%3Cpath d='M5.5 21V9.5a4 4 0 0 1 4-4H21' fill='none' stroke='%23384e5c' stroke-width='1'/%3E%3Crect x='3.2' y='3.2' width='4.6' height='4.6' transform='rotate(45 5.5 5.5)' fill='%23f0cf6a'/%3E%3C/g%3E%3C/svg%3E");--corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cg transform='rotate(180 11 11)'%3E%3Cpath d='M1.5 21V6.5a5 5 0 0 1 5-5H21' fill='none' stroke='%2393aebd' stroke-width='2'/%3E%3Cpath d='M5.5 21V9.5a4 4 0 0 1 4-4H21' fill='none' stroke='%23384e5c' stroke-width='1'/%3E%3Crect x='3.2' y='3.2' width='4.6' height='4.6' transform='rotate(45 5.5 5.5)' fill='%23f0cf6a'/%3E%3C/g%3E%3C/svg%3E");--corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cg transform='rotate(270 11 11)'%3E%3Cpath d='M1.5 21V6.5a5 5 0 0 1 5-5H21' fill='none' stroke='%2393aebd' stroke-width='2'/%3E%3Cpath d='M5.5 21V9.5a4 4 0 0 1 4-4H21' fill='none' stroke='%23384e5c' stroke-width='1'/%3E%3Crect x='3.2' y='3.2' width='4.6' height='4.6' transform='rotate(45 5.5 5.5)' fill='%23f0cf6a'/%3E%3C/g%3E%3C/svg%3E");--font-title: "Ygg Digits", "Pixelify Sans", monospace;--font-ui: "Ygg Digits", "Pixelify Sans", monospace}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:var(--font-ui);overflow:hidden;user-select:none;-webkit-user-select:none;touch-action:manipulation}#play-bar{position:fixed;top:0;left:0;right:0;height:38px;display:flex;align-items:center;justify-content:center;background:#05080b;border-bottom:1px solid #1c2a36;z-index:5}#play-logo{font-family:var(--font-title);font-weight:700;font-size:22px;letter-spacing:.14em;color:var(--gold);text-decoration:none;text-shadow:2px 2px 0 #000,0 0 12px rgba(240,207,106,.35)}#play-logo:hover{color:#fff1cf}body.phone #play-bar{height:22px}body.phone #play-logo{font-size:14px}#app{position:fixed;top:38px;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}#stage{position:relative;width:1280px;height:720px;flex:none;transform-origin:center center;background:radial-gradient(ellipse at 40% 25%,rgba(40,70,95,.3) 0%,transparent 60%),radial-gradient(ellipse at 50% 100%,#0b141c,#05080b 70%)}.hidden{display:none!important}.panel{background:var(--corner-tl) top left / 22px no-repeat,var(--corner-tr) top right / 22px no-repeat,var(--corner-br) bottom right / 22px no-repeat,var(--corner-bl) bottom left / 22px no-repeat,var(--wood);border:1px solid #050403;border-radius:5px;box-shadow:inset 0 0 0 1px #3e5566,inset 0 0 0 3px #0000008c,inset 0 0 0 4px #d4a95759,inset 0 0 30px #0009,0 6px 18px #000000a6}#view-wrap{position:absolute;left:20px;top:20px;width:860px;height:520px;border:3px solid #3e5566;border-radius:5px;overflow:hidden;box-shadow:0 0 0 1px #000,0 0 0 4px #0b141c,0 0 0 5px #d4a95773,0 10px 34px #000c}body:not(.phone) #stage.scene #side{display:none}body:not(.phone) #stage.scene #view-wrap{left:210px}#view{display:block;width:100%;height:100%}#side{position:absolute;left:900px;top:20px;width:360px;height:520px;display:flex;flex-direction:column;gap:10px}#floor-panel{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;min-height:52px}#floor-name{font-family:var(--font-title);font-weight:800;font-size:19px;letter-spacing:.06em;color:var(--gold);text-shadow:0 2px 0 #000,0 0 14px rgba(240,207,106,.25)}#compass{width:40px;height:40px;border-radius:50%;border:2px solid #c9a157;display:grid;place-items:center;font-family:var(--font-title);font-weight:800;font-size:18px;background:radial-gradient(circle at 40% 35%,#4a3820,#17110b 75%);box-shadow:0 0 0 2px #000,inset 0 0 8px #000c,0 0 12px #f0cf6a33;color:var(--gold);text-shadow:0 1px 0 #000}#map-panel{position:relative;padding:8px;display:flex;justify-content:center}#minimap{width:270px;height:270px;border-radius:3px;box-shadow:0 0 0 1px #000,0 0 0 2px #d4a95766}#status-row{display:flex;align-items:center;gap:14px;padding:8px 14px;font-weight:700;font-size:15px}#danger{display:flex;align-items:center;gap:8px;font-family:var(--font-title);font-weight:700;letter-spacing:.04em}#danger-orb{width:22px;height:22px;border-radius:50%;border:2px solid #c9a157;outline:1px solid #000;box-shadow:0 0 10px currentColor;transition:background .3s,color .3s}#gold{margin-left:auto;font-family:var(--font-title);color:var(--gold);text-shadow:0 1px 0 #000}#controls{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:8px;margin-top:auto}#controls .act{grid-row:span 2;border-color:var(--border-hi);color:var(--gold)}button,.btn{font-family:var(--font-title);font-weight:700;font-size:15px;color:var(--text);background:radial-gradient(ellipse at 50% 0%,rgba(190,225,255,.1),transparent 70%),linear-gradient(#22394a,#122230);border:1px solid var(--border);border-radius:4px;box-shadow:inset 0 1px #bee1ff24,inset 0 -2px 4px #00000080,0 2px 3px #0009;padding:6px 8px;cursor:pointer;text-shadow:0 1px 0 #000}button:hover{border-color:var(--border-hi);color:var(--gold);background:radial-gradient(ellipse at 50% 0%,rgba(190,225,255,.18),transparent 70%),linear-gradient(#2c475a,#17293a)}button:active{transform:translateY(1px)}#party{position:absolute;left:20px;top:556px;width:1240px;height:148px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.member{position:relative;display:grid;grid-template-columns:58px 1fr;grid-template-rows:auto auto auto auto;column-gap:10px;row-gap:4px;padding:9px 10px;transition:transform .12s,border-color .12s,box-shadow .12s}.member.back{top:9px}.member.active{transform:translateY(-8px);box-shadow:inset 0 0 0 1px var(--border-hi),inset 0 0 0 3px #0000008c,inset 0 0 0 4px #f0cf6a99,inset 0 0 30px #00000080,0 0 22px #f0cf6a73}.member.ko{filter:grayscale(1) brightness(.6)}.member.hit{animation:shake .28s}.member.healed{box-shadow:0 0 22px #6fcf5ab3}.portrait{grid-row:1 / span 4;width:58px;height:58px;align-self:center;border-radius:50%;border:2px solid #c9a157;box-shadow:0 0 0 2px #000,0 0 0 3px #d4a95759,0 3px 8px #000000b3}.member.active .portrait{border-color:var(--gold);box-shadow:0 0 0 2px #000,0 0 14px #f0cf6a99}.member-head{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}.member-name{font-family:var(--font-title);font-weight:800;font-size:18px;letter-spacing:.03em;color:#f4e6c4;text-shadow:0 1px 0 #000,0 0 10px rgba(240,207,106,.15)}.member-head .member-name{flex:1 1 0;min-width:0}.member-byname{display:block;font-size:11px;font-weight:400;letter-spacing:.02em;color:var(--gold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-class{color:var(--muted);font-style:italic;font-size:13px;overflow:hidden;text-overflow:ellipsis;min-width:0}.ailment{font-size:11px;font-weight:800;color:#000;padding:0 5px;border-radius:3px;line-height:15px}.member-row{margin-left:auto;font-family:var(--font-title);font-size:11px;font-weight:700;letter-spacing:.1em;color:#c9a157;text-transform:uppercase}.bar{position:relative;height:17px;background:linear-gradient(#0009,#0e1821e6);border:1px solid #000;border-radius:9px;overflow:hidden;box-shadow:0 0 0 1px #3e5566,inset 0 2px 4px #000c}.bar>i{position:absolute;inset:0 auto 0 0;border-radius:9px;transition:width .3s ease-out;box-shadow:inset 0 -3px 5px #00000059,inset 0 2px 1px #ffffff59}.bar>i:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.28) 45%,transparent 60%);background-size:300% 100%;animation:glint 4.5s linear infinite}.bar.hp>i{background:linear-gradient(#ff7a5a,var(--hp) 55%,#7a1a12)}.bar.hp.low>i{background:linear-gradient(#ffcf6a,var(--hp-low) 55%,#7a4410)}.bar.hp.crit>i{background:linear-gradient(#ff8a7a,var(--hp-crit) 55%,#8a0a06);animation:crit-pulse .9s ease-in-out infinite}.bar.sp>i{background:linear-gradient(#8ad8ff,var(--sp) 55%,#0e3a5a)}.bar>span{position:relative;display:flex;justify-content:space-between;padding:0 8px;font-size:12px;font-weight:800;line-height:15px;color:#fff8ea;text-shadow:0 1px 1px #000,0 0 3px #000}.bar>span b:first-child{font-family:var(--font-title);letter-spacing:.08em;color:#f4e2b8}.xp-bar{position:relative;height:5px;margin:1px 4px 0;background:#0000008c;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px #2c3d49}.xp-bar>i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#ffe7a0,var(--gold) 60%,#8a6a1e);transition:width .4s ease-out}@keyframes glint{0%{background-position:150% 0}to{background-position:-150% 0}}@keyframes crit-pulse{50%{filter:brightness(1.45)}}#town-panel{flex:1;display:flex;flex-direction:column;padding:12px;gap:6px;min-height:0}#town-panel .menu-item{padding-top:4px;padding-bottom:4px}.town-gold{margin-top:auto;align-self:flex-end;font-weight:800;font-size:20px;color:var(--gold)}.gold-line{color:var(--gold);font-weight:800}.dialog.wide{width:800px}.dialog.wide .menu{width:100%}.photo-preview{display:block;width:100%;max-height:52vh;object-fit:contain;margin:6px 0 10px;image-rendering:pixelated;border:2px solid var(--gold);background:#000}table.stats td.gear,table.stats th.gear{text-align:left;font-size:13px;color:var(--muted)}#command-panel{flex:1;display:flex;flex-direction:column;padding:12px;gap:8px}.cmd-title{font-family:var(--font-title);font-weight:800;font-size:18px;letter-spacing:.05em;color:var(--gold);text-shadow:0 1px 0 #000;padding-bottom:8px;border-bottom:1px solid transparent;border-image:linear-gradient(90deg,#d4a957cc,#d4a9571a) 1}.cmd-hint{margin-top:auto;color:var(--muted);font-size:13px;line-height:1.4}.menu{display:flex;flex-direction:column;gap:4px}.menu-item{display:flex;justify-content:space-between;align-items:center;padding:7px 12px 7px 28px;border-radius:3px;font-weight:800;font-size:17px;text-shadow:0 1px 0 #000;cursor:pointer;position:relative;border:1px solid transparent}.menu-item .detail{font-size:13px;font-weight:700;color:var(--muted)}.menu-item.selected{color:#fff4d8;background:linear-gradient(90deg,rgba(212,169,87,.34),rgba(140,100,40,.12) 60%,transparent);border-color:#e8c4778c;box-shadow:inset 0 1px #ffe6aa1f,0 0 12px #f0cf6a1f}.menu-item.selected:before{content:"";position:absolute;left:10px;width:7px;height:7px;background:var(--gold);transform:rotate(45deg);box-shadow:0 0 6px #f0cf6ae6}.menu-item.disabled{color:#6a5e4e}.menu-desc{white-space:pre-line;min-height:38px;font-size:13px;color:var(--muted);line-height:1.4}.msg{font-family:var(--font-title);position:absolute;left:50%;top:14px;transform:translate(-50%);min-width:420px;max-width:760px;padding:10px 22px;text-align:center;font-weight:800;font-size:19px;text-shadow:0 2px 2px #000;pointer-events:none}.toast{position:absolute;left:50%;bottom:22px;transform:translate(-50%);padding:10px 22px;font-weight:800;font-size:17px;white-space:nowrap;pointer-events:none;animation:fade-in .15s}#floaters{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:visible}.floater{position:absolute;transform:translate(-50%,-50%);font-family:var(--font-title);font-weight:800;font-size:34px;color:#fff;-webkit-text-stroke:1.5px #000;text-shadow:0 3px 0 #000;animation:float-up .9s ease-out forwards;white-space:nowrap}.floater.heal{color:#9af08a}.floater.weak{color:#ffd84a;font-size:40px}.floater.resist{color:#9ab0c0}.floater.party{color:#ff8a70}.floater.small{font-size:22px}#overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 45%,#06040359,#040302b3);z-index:10}.dialog{width:560px;max-width:calc(100% - 40px);max-height:calc(100% - 40px);box-sizing:border-box;overflow-y:auto;overflow-wrap:break-word;padding:22px 26px;display:flex;flex-direction:column;gap:14px}.dialog h2{margin:0;font-family:var(--font-title);font-weight:800;font-size:26px;letter-spacing:.05em;color:var(--gold);text-align:center;text-shadow:0 2px 0 #000,0 0 18px rgba(240,207,106,.25)}.dialog h2:after{content:"";display:block;height:12px;margin:8px auto 0;width:300px;max-width:80%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='12' viewBox='0 0 300 12'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23d4a957' stop-opacity='0'/%3E%3Cstop offset='.35' stop-color='%23d4a957'/%3E%3Cstop offset='.65' stop-color='%23d4a957'/%3E%3Cstop offset='1' stop-color='%23d4a957' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='5.5' width='300' height='1' fill='url(%23g)'/%3E%3Crect x='145' y='1' width='10' height='10' transform='rotate(45 150 6)' fill='%23f0cf6a'/%3E%3Crect x='128' y='3.5' width='5' height='5' transform='rotate(45 130.5 6)' fill='%23b8893f'/%3E%3Crect x='167' y='3.5' width='5' height='5' transform='rotate(45 169.5 6)' fill='%23b8893f'/%3E%3C/svg%3E") center / contain no-repeat}.dialog p{margin:0;font-size:17px;line-height:1.5;text-align:center}.dialog .menu{align-self:stretch}.dialog .menu-desc{min-height:3.6em}.title-screen{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:radial-gradient(ellipse at 50% 40%,#0a141859,#030608e6)}.logo{font-family:var(--font-title);font-weight:800;font-size:88px;letter-spacing:.08em;line-height:1;background:linear-gradient(180deg,#fff1c0,#f0cf6a 45%,#a8742a);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 4px 0 #2a1c0a) drop-shadow(0 0 30px rgba(240,207,106,.35))}.tagline{font-family:var(--font-title);font-size:22px;letter-spacing:.3em;color:#e6d6b0;text-shadow:0 2px 4px #000;text-transform:uppercase;margin-bottom:26px}.title-screen .menu{min-width:280px}.map-editor{width:auto;max-width:none;padding:16px 20px;gap:10px}.map-body{display:flex;gap:16px}.map-canvas{width:530px;height:530px;border:1px solid var(--border);border-radius:4px;cursor:crosshair;touch-action:none}.map-side{width:300px;display:flex;flex-direction:column;gap:8px}.map-label{font-family:var(--font-title);font-weight:800;color:var(--gold);font-size:15px}.map-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.map-tool{display:flex;flex-direction:column;align-items:center;gap:1px;padding:3px 4px;position:relative;font-size:12px}.map-tool .glyph{font-size:20px;line-height:1}.map-tool .key{position:absolute;top:2px;right:5px;font-size:10px;color:var(--muted)}.map-tool.selected{border-color:var(--border-hi);background:linear-gradient(#2c4352,#152430)}.map-mode{text-align:left;font-size:13px;font-weight:700}.map-cell-info{font-size:13px;color:var(--muted);min-height:18px}.map-note{font-family:var(--font-ui);font-size:15px;padding:7px 9px;color:var(--text);background:#0a1013;border:1px solid var(--border);border-radius:4px}.map-note:focus{outline:none;border-color:var(--border-hi)}.map-close{margin-top:auto}.name-input{align-self:center;width:280px;font-family:var(--font-ui);font-weight:800;font-size:20px;text-align:center;padding:8px 10px;color:var(--text);background:#0a1013;border:1px solid var(--border-hi);border-radius:4px}.name-input:focus{outline:none}.form-error{color:#f07060!important;min-height:22px;font-size:15px!important}.quest-giver{color:var(--gold)!important;font-weight:800;font-size:15px!important}.story-box{position:absolute;left:18px;right:18px;bottom:18px;min-height:132px;display:flex;gap:18px;align-items:center;padding:16px 22px;cursor:pointer;animation:fade-in .2s;z-index:5}.story-portrait{width:96px;height:96px;flex:none;border-radius:50%;border:2px solid var(--border-hi)}.story-text{flex:1;position:relative}.story-speaker{font-family:var(--font-title);font-weight:800;color:var(--gold);font-size:18px;margin-bottom:4px}.story-text p{margin:0;font-size:19px;line-height:1.45;min-height:56px}.story-box.narrator .story-text p{font-style:italic;color:#d8e0e0;text-align:center}.story-more{position:absolute;right:0;bottom:-6px;color:var(--gold);font-size:13px;animation:blink 1s infinite}@keyframes blink{50%{opacity:.2}}.dialog.help{width:1040px}.help-grid{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:20px}.help-section h3{margin:0 0 8px;font-family:var(--font-title);color:var(--gold);font-size:17px}.help-row{display:grid;grid-template-columns:96px 1fr;gap:8px;font-size:14px;line-height:1.35;margin-bottom:6px}.help-key{font-weight:800;color:#fff}.credits{background:radial-gradient(ellipse at 50% 40%,#14281e99,#030608f2)}.credits-line{font-size:20px;margin:0}.credits-line.small{font-size:14px;color:var(--muted)}.credits-line.big{font-family:var(--font-title, serif);font-size:34px;letter-spacing:.08em;color:#f0c060}.title-notice{max-width:520px;padding:10px 16px;text-align:center;font-size:15px;color:#f0c060}.playtest-badge{position:absolute;top:18px;right:18px;max-width:300px;padding:10px 14px;border:1px solid rgba(240,192,96,.55);border-radius:6px;background:#0a0e10c7;font-size:13px;line-height:1.4;color:var(--muted);overflow-wrap:break-word}.playtest-badge strong{display:block;margin-bottom:3px;color:#f0c060;font-family:var(--font-title);letter-spacing:.12em;text-transform:uppercase}.title-foot{position:absolute;bottom:22px;color:var(--muted);font-size:14px}table.stats{border-collapse:collapse;font-size:15px}table.stats th,table.stats td{padding:5px 10px;text-align:right}table.stats th:first-child,table.stats td:first-child{text-align:left}table.stats thead th{color:var(--gold);border-bottom:1px solid var(--border)}.rewards{display:grid;grid-template-columns:auto auto;gap:6px 24px;justify-content:center;font-size:18px;font-weight:700}.rewards .v{color:var(--gold);text-align:right}.levelup{color:#9af08a;font-weight:800;text-align:center}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-7px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(3px)}}@keyframes float-up{0%{opacity:0;transform:translate(-50%,-30%) scale(.6)}15%{opacity:1;transform:translate(-50%,-60%) scale(1.15)}30%{transform:translate(-50%,-70%) scale(1)}to{opacity:0;transform:translate(-50%,-150%) scale(1)}}@keyframes fade-in{0%{opacity:0}}.name-input+.name-input{margin-top:8px}.lobby-code{display:flex;align-items:baseline;justify-content:center;gap:14px;margin:4px 0 8px}.lobby-code span{color:var(--muted);text-transform:uppercase;letter-spacing:.15em;font-size:14px}.lobby-code b{font-family:var(--font-title);font-size:44px;letter-spacing:.3em;color:var(--gold)}.seats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 14px}.seat{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border:1px solid rgba(240,207,106,.35);border-radius:6px;background:#00000040}.seat.empty{border-style:dashed;opacity:.55}.seat-player{color:var(--gold);font-weight:700}.cmd-timer{margin-top:6px;text-align:center;color:var(--gold);font-size:14px}.member-row.owner{max-width:7em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--gold);text-transform:none;letter-spacing:0}.npc-line{display:flex;align-items:center;gap:18px;text-align:left}.npc-portrait{width:104px;height:104px;flex:none;border-radius:50%;border:2px solid var(--border-hi);box-shadow:0 0 18px #0009}.npc-words{flex:1}.npc-name{font-family:var(--font-title);font-weight:800;font-size:15px;color:var(--gold);margin-bottom:4px}.dialog .npc-line p{text-align:left;font-style:italic}.draft{position:absolute;top:12px;right:12px;bottom:12px;left:12px;display:flex;gap:16px;padding:14px 18px}.draft-board{display:flex;flex-direction:column;align-items:center;gap:6px}.draft-board h2{margin:0}.draft-canvas{width:620px;height:620px;border:1px solid var(--border);border-radius:4px;cursor:crosshair;touch-action:none}.draft-side{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;overflow-y:auto}.draft-name{font:700 18px var(--font-title);color:var(--gold);background:#00000059;border:1px solid var(--border);border-radius:4px;padding:6px 10px}.draft-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.draft-tool{display:flex;align-items:center;gap:6px;padding:7px 6px;font-size:13px;font-weight:700}.draft-tool.selected{border-color:var(--border-hi);background:linear-gradient(#2c4352,#152430)}.draft-tool .swatch{width:14px;height:14px;border-radius:3px;flex:none;background:#d8c9a4}.draft-tool .swatch[data-cell="#"]{background:#5a6a52}.draft-tool .swatch[data-cell=S]{background:#3f8f4a}.draft-tool .swatch[data-cell=">"]{background:#b8862a}.draft-tool .swatch[data-cell=T]{background:#8a5a2b}.draft-tool .swatch[data-cell="~"]{background:#2f8fb8}.draft-tool .swatch[data-cell=B]{background:#c23a2a}.draft-tool .swatch[data-cell=P]{background:#7cc85a}.draft-tool .swatch[data-cell=O]{background:#c8a46a}.draft-tool .swatch[data-cell=W]{background:#b07a4a}.draft-tool .swatch[data-cell=F]{background:#5ab0e0}.draft-tool .swatch[data-cell=route]{background:#ff7a4a;border-radius:50%}.draft-settings,.draft-prowlers{display:flex;flex-direction:column;gap:4px}.draft-prowlers{padding:6px 8px;border:1px dashed var(--border);border-radius:4px}.draft-row{display:flex;align-items:center;gap:6px}.draft-label{width:96px;flex:none;color:var(--muted);font-size:13px}.draft-value{flex:1;text-align:center;font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.draft-btn{padding:6px 10px;font-size:14px;font-weight:700}.draft-btn.step{width:32px;padding:4px 0;flex:none}.draft-btn.primary{border-color:var(--border-hi);color:var(--gold)}.draft-btn:disabled{opacity:.45}.draft-hint{margin:0;font-size:12px;color:var(--muted)}.draft-problems{font-size:13px;color:#f0a080;min-height:40px;display:flex;flex-direction:column;gap:2px}.draft-problems.ready{color:#9ee08a;font-weight:700}.draft-actions{margin-top:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.draft-modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:560px;max-height:640px;overflow-y:auto;z-index:2;display:flex;flex-direction:column;gap:8px}.draft-list{display:flex;flex-direction:column;gap:6px}.draft-list .draft-btn:first-child{flex:1;text-align:left}.draft-code{width:100%;height:90px;font:12px monospace;color:var(--text);background:#0006;border:1px solid var(--border);border-radius:4px;word-break:break-all}.draft-flash{position:absolute;left:50%;bottom:30px;transform:translate(-50%);padding:8px 16px;background:var(--panel-2);border:1px solid var(--border-hi);border-radius:4px;z-index:3}.member-row.mods{color:#f0d070;letter-spacing:.02em}.tip .npc-line p{font-size:16px;line-height:1.5}.tip-page{margin:0;text-align:right;font-size:12px;color:var(--muted)}.story-choice .muted{opacity:.7;font-style:italic;font-size:.9em}.feedback-input{width:100%;min-height:150px;resize:vertical;font-family:var(--font-ui);font-size:17px;padding:10px 12px;color:var(--text);background:#0a1013;border:1px solid var(--border-hi);border-radius:4px;box-sizing:border-box}.feedback-input:focus,.feedback-contact:focus{outline:none}.feedback-contact{width:100%;margin-top:10px;font-family:var(--font-ui);font-size:16px;padding:8px 12px;color:var(--text);background:#0a1013;border:1px solid var(--border-hi);box-sizing:border-box}.feedback-why{margin:6px 0 0;font-size:13px;color:var(--muted)}.stone-intro{font-style:normal;color:#d8e2ec}.stone-names{list-style:none;margin:10px 0;padding:0;max-height:320px;overflow-y:auto}.stone-names li{padding:6px 0;border-bottom:1px solid var(--rim-dark, #4d6a86)}.stone-names b{color:var(--gold)}.stone-empty{color:var(--muted)}#rotate-hint{display:none}@media(orientation:portrait)and (pointer:coarse){#rotate-hint:not(.dismissed){position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;text-align:center;background:radial-gradient(ellipse at 50% 40%,#1c140c,#050407 75%);color:var(--text);font-size:20px}}#rotate-hint .rotate-icon{font-size:72px;color:var(--gold);animation:rotate-phone 2.4s ease-in-out infinite}@keyframes rotate-phone{0%,30%{transform:rotate(0)}60%,to{transform:rotate(90deg)}}#rotate-hint button{font-family:var(--font-ui);font-weight:800;font-size:16px;padding:10px 18px;color:var(--muted);background:transparent;border:1px solid var(--border-hi);border-radius:4px}#town-grid{position:absolute;left:0;top:0;width:1280px;height:548px;padding:20px 20px 8px;box-sizing:border-box;background:radial-gradient(ellipse at 40% 25%,#13212c,#060a0e 75%);display:flex;flex-direction:column;gap:10px;z-index:5}#town-grid.hidden{display:none}.town-head{display:flex;align-items:center;gap:18px;height:44px;padding:0 16px;background:linear-gradient(180deg,#182632f2,#0c141cf2);border:1px solid var(--border-hi);border-radius:5px}.town-name{font-family:var(--font-title);font-weight:800;font-size:24px;color:var(--gold);letter-spacing:.04em}.town-desc{flex:1;font-size:15px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#town-grid .town-gold{margin:0;font-weight:800;font-size:20px;color:var(--gold)}.town-cards{flex:1;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:10px;min-height:0}.town-cards.seven{grid-template-columns:repeat(4,1fr)}.town-card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:12px 16px;border:2px solid #3e5566;border-radius:6px;background-size:cover;background-position:center;overflow:hidden;cursor:pointer;text-align:left;font:inherit;color:var(--text);box-shadow:inset 0 -90px 60px -30px #000000d9,0 2px 8px #0009;transition:transform .18s ease,border-color .18s ease,filter .18s ease;filter:brightness(.78) saturate(.9)}.town-card.selected{border-color:#e8c477;filter:none;transform:scale(1.015);box-shadow:inset 0 -90px 60px -30px #000000d9,0 0 18px #e8c47759}.town-card-name{font-family:var(--font-title);font-weight:800;font-size:24px;text-shadow:0 2px 4px #000,0 0 12px #000}.town-card.selected .town-card-name{color:#fff1cf}.town-card-detail{font-weight:800;font-size:15px;color:var(--gold);text-shadow:0 1px 3px #000}.spot-rootdeep{background-image:url(../art/places/rootdeep.webp)}.spot-inn{background-image:url(../art/places/inn.webp)}.spot-shop{background-image:url(../art/places/shop.webp)}.spot-hall{background-image:url(../art/places/hall.webp)}.spot-board{background-image:url(../art/places/board.webp)}.spot-horn{background-image:url(../art/places/hornstone.webp)}.spot-echoes{background-image:url(../art/places/echoes.webp)}.town-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.town-button{height:44px;font-family:var(--font-title);font-weight:800;font-size:18px;color:var(--text);background:linear-gradient(180deg,#1c2c3af2,#0e1720f2);border:1px solid #3e5566;border-radius:5px;cursor:pointer}.town-button.selected{color:#fff1cf;border-color:#e8c477;background:linear-gradient(180deg,#6e5228f2,#322412f2)}#town-grid .town-card,#town-grid .town-card:hover{background-color:#120d08;background-size:cover;background-position:center}#town-grid .town-card:hover{color:var(--text)}#town-grid .town-card.spot-rootdeep{background-image:url(../art/places/rootdeep.webp)}#town-grid .town-card.spot-inn{background-image:url(../art/places/inn.webp)}#town-grid .town-card.spot-shop{background-image:url(../art/places/shop.webp)}#town-grid .town-card.spot-hall{background-image:url(../art/places/hall.webp)}#town-grid .town-card.spot-board{background-image:url(../art/places/board.webp)}#town-grid .town-card.spot-horn{background-image:url(../art/places/hornstone.webp)}#town-grid .town-card.spot-echoes{background-image:url(../art/places/echoes.webp)}#town-grid .town-button:hover{color:#fff1cf}.menu-item.has-control{gap:18px}.menu-item.has-control>span:first-child{flex:none;width:150px}.slider-wrap{flex:1;display:flex;align-items:center;gap:14px}.slider{--fill: 50%;flex:1;height:8px;margin:0;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:linear-gradient(90deg,#d4a957 var(--fill),#2a2016 var(--fill));border:1px solid #3e5566;border-radius:4px;cursor:pointer}.slider::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff1c0,#d4a957 60%,#8a6a34);border:1px solid #2a1c0a;box-shadow:0 1px 3px #000}.slider::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff1c0,#d4a957 60%,#8a6a34);border:1px solid #2a1c0a}.slider-value{width:48px;text-align:right;font-variant-numeric:tabular-nums;color:var(--gold)}.choice-set{flex:1;display:flex;gap:6px}.choice-set .choice{flex:1;font-family:var(--font-ui);font-weight:800;font-size:15px;color:var(--muted);padding:6px 4px}.choice-set .choice.on{color:#1a1206;text-shadow:none;background:linear-gradient(#f0cf6a,#b8893f);border-color:#f0cf6a}.title-screen .dialog{width:360px}.dialog .menu{position:relative;max-height:430px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4d6676 transparent}.dialog{overflow-y:visible}.town-head{height:auto;min-height:44px;padding-top:6px;padding-bottom:6px;box-sizing:border-box}.town-desc{white-space:normal;overflow:visible;line-height:1.3}.menu.more-below{-webkit-mask-image:linear-gradient(180deg,#000 85%,transparent);mask-image:linear-gradient(180deg,#000 85%,transparent)}.menu.more-above{-webkit-mask-image:linear-gradient(0deg,#000 85%,transparent);mask-image:linear-gradient(0deg,#000 85%,transparent)}.menu.more-above.more-below{-webkit-mask-image:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent)}.map-tool-icon{width:22px;height:22px;vertical-align:middle}.member-head{flex-wrap:wrap;row-gap:0}.member-name{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;font-size:17px;line-height:1.15}.member-row{order:2}.member-head .ailment{order:3}.member-class{order:4;flex:1 0 100%;white-space:nowrap;overflow:visible}.dialog.party-status{width:1180px}.stats-wrap{overflow-x:auto}table.stats td.gear,table.stats th.gear{white-space:nowrap}table.stats tr.reserve td{color:var(--muted)}table.stats tr.divider td{padding-top:10px;font-family:var(--font-title);font-size:13px;letter-spacing:.08em;color:var(--gold);text-align:left}.story-box .story-skip{position:absolute;top:8px;right:10px;font-size:12px;padding:3px 10px;opacity:.75}.dialog.map-editor{height:620px}body.phone #stage{width:960px;height:440px}body.phone #view-wrap{left:8px;top:8px;width:552px;height:334px}body.phone #side{left:572px;top:8px;width:380px;height:340px;gap:6px}body.phone #party{left:8px;top:352px;width:944px;height:80px;gap:6px}body.phone #floor-panel{min-height:0;padding:4px 12px}body.phone #floor-name{font-size:18px}body.phone #map-panel{padding:5px}body.phone #minimap{width:128px;height:128px}body.phone #side{display:grid;grid-template-columns:140px 1fr;grid-template-rows:auto 140px 1fr;grid-template-areas:"floor floor" "map status" "controls controls"}body.phone #floor-panel{grid-area:floor}body.phone #map-panel{grid-area:map}body.phone #status-row{grid-area:status;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;font-size:18px}body.phone #gold{margin-left:0;font-size:20px}body.phone #controls{grid-area:controls;margin-top:0;gap:5px;padding:6px}body.phone #controls button{font-size:24px;padding:0;min-height:0}body.phone #controls .act,body.phone #controls button:last-child,body.phone #controls button:nth-child(5){font-size:16px}body.phone #command-panel,body.phone #town-panel{grid-column:1 / -1;grid-row:2 / -1;padding:8px 10px;gap:4px;min-height:0;overflow:hidden}body.phone #command-panel .menu{overflow-y:auto;min-height:0;flex:1 1 auto}body.phone #command-panel .menu-item{font-size:18px;padding-top:7px;padding-bottom:7px}body.phone .cmd-hint{display:none}body.phone #command-panel .menu-desc{font-size:13px;min-height:0}body.phone .member{grid-template-columns:40px 1fr;column-gap:6px;row-gap:2px;padding:4px 6px}body.phone .member .portrait{width:40px;height:40px;grid-row:span 4;align-self:center}body.phone .member-name{font-size:15px}body.phone .member-class,body.phone .member-byname{display:none}body.phone .member-row{font-size:10px}body.phone .bar{height:15px}body.phone .bar span{font-size:11px}body.phone .member.active{transform:translateY(-4px)}body.phone #town-grid{width:960px;height:348px;padding:8px 8px 4px;gap:6px}body.phone .town-head{min-height:34px;padding:3px 12px;gap:12px}body.phone .town-name{font-size:19px}body.phone .town-desc{font-size:14px}body.phone #town-grid .town-gold{font-size:18px}body.phone .town-cards{gap:6px}body.phone .town-card{padding:8px 12px}body.phone .town-card-name{font-size:21px}body.phone .town-card-detail{font-size:14px}body.phone .town-button{height:36px;font-size:17px}body.phone .msg{min-width:0;max-width:520px;font-size:17px;padding:6px 14px;top:8px}body.phone .toast{white-space:normal;max-width:520px;text-align:center;bottom:10px}body.phone .story-box{left:8px;right:8px;bottom:8px;min-height:0;padding:10px 14px;gap:12px}body.phone .story-portrait{width:72px;height:72px}body.phone .story-text p{font-size:17px}body.phone .dialog{max-width:calc(100% - 16px);max-height:calc(100% - 16px);padding:12px 18px;gap:8px;overflow:hidden}body.phone .dialog>*{flex-shrink:0}body.phone .dialog>.menu{flex:0 1 auto;min-height:72px;max-height:none}body.phone .dialog h2{font-size:21px}body.phone .dialog h2:after{margin-top:4px;height:9px}body.phone .dialog p{font-size:16px}body.phone .dialog .menu-desc{min-height:0;font-size:14px}body.phone .menu-item{font-size:18px;padding-top:7px;padding-bottom:7px}body.phone .npc-portrait{width:72px;height:72px}body.phone .npc-line{gap:12px}body.phone .dialog.wide{width:860px}body.phone .dialog.help{max-height:calc(100% - 16px);overflow-y:auto;padding:12px 18px}body.phone .dialog.help h2{margin:0 0 4px}body.phone .help-grid{gap:14px}body.phone .help-section h3{margin-bottom:4px;font-size:15px}body.phone .help-row{grid-template-columns:74px 1fr;gap:6px;font-size:12px;line-height:1.25;margin-bottom:4px}body.phone .dialog.party-status{overflow-y:auto}body.phone .dialog.map-editor{height:calc(100% - 16px);padding:8px 12px}body.phone .map-canvas{width:360px;height:360px}body.phone .dialog.map-editor h2{display:none}body.phone .logo{font-size:58px}body.phone .tagline{font-size:15px}body.phone .title-screen{gap:10px}body.phone .title-foot{display:none}body.phone .playtest-badge{top:8px;right:8px;max-width:220px;padding:6px 10px;font-size:11px}.story-box .story-text{padding-right:64px}body.phone #command-panel .menu-item{font-size:17px;padding-top:4px;padding-bottom:4px}body.phone #command-panel .cmd-title{font-size:16px}body.phone #command-panel .menu-desc{font-size:12px;line-height:1.25;max-height:2.6em;overflow:hidden}body.phone #side:has(#command-panel:not(.hidden)) #floor-panel{display:none}body.phone #command-panel{grid-row:1 / -1}body.phone .map-body{min-height:0;flex:1 1 auto}body.phone .map-side{overflow-y:auto;min-height:0;width:320px}body.phone .map-tool{padding:3px 4px}body.phone .map-side .map-label,body.phone .map-cell-info{display:none}body.phone .map-side{gap:5px}.menu-item.disabled.selected{color:#a8977a}.quest-table td,.dialog table td{text-align:left}@media(pointer:coarse){.map-tool .key{display:none}}body.phone .member-head{flex-wrap:nowrap}body.phone .member-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.phone .story-box .story-skip{font-size:15px;padding:7px 14px;top:6px}body.phone .town-button{height:40px}body.phone .choice-set .choice{padding:9px 4px}body.phone .title-screen.credits{gap:6px;overflow-y:auto;justify-content:flex-start;padding:10px 0}body.phone .credits .logo{font-size:42px}body.phone .credits .credits-line.big{font-size:24px}body.phone .credits .credits-line{font-size:15px}body.phone .credits .rewards{font-size:14px;row-gap:2px}.rewards.quest-facts{justify-content:start;margin-left:20%}.rewards.quest-facts .v{text-align:left}.title-screen.credits{background:radial-gradient(ellipse at 50% 40%,#14281ef5,#030608fc)}.draft-floors{display:flex;flex-wrap:wrap;gap:4px}.draft-btn.tab{font-size:13px;padding:4px 8px}.draft-btn.tab.on{color:#1a1206;background:linear-gradient(#f0cf6a,#b8893f);border-color:#f0cf6a;text-shadow:none}.draft-board h2{font-family:var(--font-title)}.menu-button{margin-left:12px;padding:5px 14px;font-size:16px;color:var(--gold);border-color:var(--border-hi)}.game-menu{width:760px}.menu-tabs{display:flex;gap:6px;margin-bottom:14px}.menu-tabs button{flex:1;font-size:17px;padding:9px 0}.menu-tabs button.on{color:#1a1206;text-shadow:none;background:linear-gradient(#f0cf6a,#b8893f);border-color:#f0cf6a}.menu-party{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}.menu-member{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:6px 10px;border:1px solid #2c4352;border-radius:4px}.menu-portrait{width:48px;height:48px;border-radius:50%;border:2px solid #d6a95c}.menu-member b{display:block;font:700 16px var(--font-title)}.menu-member span{color:var(--muted);font-size:13px}.menu-member .menu-points{color:var(--gold);font-weight:800;font-size:12px}.menu-hint{margin-top:10px;text-align:center;color:var(--muted);font-size:13px}#floor-panel .menu-icon{margin-left:10px;padding:2px 10px;font-size:20px;line-height:1.2}#key-hint{text-align:center;color:var(--muted);font-size:13px;padding:2px 0}body.touch #key-hint,body.touch #floor-panel .menu-icon{display:none}body:not(.touch) #controls{display:none}body:not(.touch) #map-panel{flex:1;flex-direction:column;align-items:center;justify-content:center;gap:8px}#act-prompt{position:absolute;left:50%;bottom:84px;transform:translate(-50%);z-index:3;padding:11px 26px;font-size:18px;color:var(--gold);border:2px solid var(--border-hi);box-shadow:0 0 18px #f0cf6a4d;white-space:nowrap}body.phone #act-prompt{bottom:70px;font-size:16px;padding:9px 18px}body.phone .menu-party{display:none}:root{--font-title: "Ygg Digits", "Pixelify Sans", monospace;--font-ui: "Ygg Digits", "Pixelify Sans", monospace;--win: #10233a;--win-dark: #0a1626;--rim: #c8d4e0;--rim-dark: #4d6a86;--select: #2f5f8f}body{-webkit-font-smoothing:none;font-smooth:never}.panel{background:var(--win);border:2px solid #000;border-radius:0;box-shadow:inset 0 0 0 2px var(--rim),inset 0 0 0 4px var(--rim-dark)}#view-wrap{border:2px solid #000;border-radius:0;box-shadow:0 0 0 2px var(--rim),0 0 0 4px #000}.dialog h2{font-weight:700;font-size:26px;letter-spacing:.02em;text-shadow:2px 2px 0 #000}.dialog h2:after{display:none}h1,h2,h3,.logo,.tagline,.town-name,.town-card-name,.member-name,.cmd-title{text-shadow:2px 2px 0 #000!important;filter:none!important}.logo{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:var(--gold)!important;font-weight:700;letter-spacing:.06em;text-shadow:4px 4px 0 #000!important}.menu-item{border-radius:0;font-weight:600;text-shadow:1px 1px 0 #000}.menu-item.selected{background:var(--select);border-color:var(--rim);box-shadow:none}.menu-item.selected:before{content:"▶";width:auto;height:auto;background:none;transform:none;box-shadow:none;left:9px;font-size:12px;color:var(--gold)}button,.btn{border-radius:0;background:var(--win-dark);border:2px solid var(--rim-dark);box-shadow:none;font-weight:600;text-shadow:1px 1px 0 #000}button:hover{background:var(--select);border-color:var(--rim);color:#fff}.choice-set .choice.on,.menu-tabs button.on{background:var(--gold);border-color:#fff3c4;color:#1a1206}.bar{border-radius:0;background:#000;border:2px solid #000;box-shadow:0 0 0 1px var(--rim-dark)}.bar>i{border-radius:0;box-shadow:none}.bar>i:after{display:none}.bar.hp>i{background:#c8402c}.bar.hp.low>i{background:#d88a26}.bar.hp.crit>i{background:#ff3a2a}.bar.sp>i{background:#2f8fd8}.bar>span{font-weight:600;text-shadow:1px 1px 0 #000}.member,.member.active,.town-card,.town-head,.msg,.toast,#act-prompt,.menu-member,.portrait,.menu-portrait{border-radius:0!important}.member.active{transform:translateY(-6px);box-shadow:inset 0 0 0 2px var(--gold),inset 0 0 0 4px var(--rim-dark)}.town-card{border:2px solid #000;box-shadow:inset 0 0 0 2px var(--rim-dark)}.town-card.selected,.town-card:hover{box-shadow:inset 0 0 0 3px var(--gold)}.town-head{background:var(--win);border:2px solid #000;box-shadow:inset 0 0 0 2px var(--rim)}#act-prompt{box-shadow:0 0 0 2px #000;border-color:var(--gold);background:var(--win)}.menu-tabs button{font-size:18px}body{word-spacing:.18em}.member-class,.story-box.narrator .story-text p,.dialog .npc-line p,.story-choice .muted,em,i{font-style:normal}.dialog .npc-line p,.story-box.narrator .story-text p{color:#d8e2ec}.beast .beast-pic{display:block;height:150px;margin:6px auto 10px;image-rendering:pixelated}.beast-lore{color:#d8e2ec;line-height:1.45;margin:2px 0 8px}.beast-elements{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}.beast-el{padding:3px 8px;border:1px solid var(--rim-dark, #4d6a86);font-size:14px}.beast-el.weak{color:#10233a;background:var(--gold)}.beast-el.resists{color:var(--muted)}.beast-el.unknown{color:var(--muted);border-style:dashed}.beast .muted{color:var(--muted)}.el-icon{width:22px;height:22px;margin-right:8px;vertical-align:-5px;image-rendering:pixelated}.beast-el{display:inline-flex;align-items:center}.beast-el .el-icon{width:18px;height:18px;margin-right:5px}#map-pen{display:flex;gap:4px;margin:6px 0 2px}#map-pen button{flex:1;padding:3px 0;font-size:13px}#map-pen button.on{color:#10233a;background:var(--gold)}#minimap.drawable{cursor:crosshair;touch-action:none}body.phone #map-pen{display:none}#map-zoom{position:absolute;top:12px;right:12px;display:flex;gap:3px;z-index:2}#map-zoom button,.map-zoom-btn{width:24px;height:24px;padding:0;font-size:16px;line-height:1}.map-zoom{display:flex;align-items:center;gap:8px}.map-zoom-label{min-width:84px;text-align:center;font-size:13px}body.phone #map-zoom{top:6px;right:6px}body.phone #map-zoom button{width:22px;height:22px;font-size:14px}body.phone .member.back{top:5px}.look-picker{display:flex;gap:18px;align-items:center;justify-content:center;margin:6px 0 10px}.look-big{width:160px;height:160px;box-shadow:inset 0 0 0 2px var(--gold),0 0 0 2px #000}.look-side{display:flex;flex-direction:column;gap:4px}.look-caption{font-size:12px;opacity:.7}.look-row{display:flex;gap:6px}.look-thumb{width:54px;height:54px;cursor:pointer;box-shadow:0 0 0 2px #000}.look-thumb.on{box-shadow:0 0 0 2px var(--gold),0 0 0 4px #000}.look-label{font-size:13px;opacity:.85}body.phone .look-big{width:96px;height:96px}body.phone .look-thumb{width:36px;height:36px}body.phone .look-picker{gap:10px;margin:2px 0 4px}body,button,input,textarea{font-variant-ligatures:none}.title-site{position:absolute;bottom:14px;right:18px;color:var(--gold);font-size:15px;text-decoration:underline;text-shadow:0 2px 0 #000}body.phone .title-site{bottom:8px;right:10px;font-size:12px}.deed-banner{position:absolute;top:12px;left:50%;z-index:60;display:flex;gap:14px;align-items:center;max-width:560px;padding:10px 18px 10px 12px;background:var(--panel, #13202a);box-shadow:inset 0 0 0 2px var(--gold),0 0 0 2px #000,0 6px 24px #0009;transform:translate(-50%,-140%);transition:transform .35s ease-out;pointer-events:none}.deed-banner.in{transform:translate(-50%)}.deed-banner canvas{width:48px;height:64px;image-rendering:pixelated;flex-shrink:0}.deed-banner b{color:var(--gold);font-size:18px}.deed-banner p{margin:2px 0 0;font-size:14px}.deed-new{font-size:12px;letter-spacing:2px;text-transform:uppercase;opacity:.75}.book-of-deeds .deed-count{text-align:center;opacity:.8;margin:0 0 10px}.deed-body{display:grid;grid-template-columns:1fr 260px;gap:18px;align-items:start}.deed-hooks{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;max-height:360px;overflow-y:auto;padding:4px}.deed-hooks .medal{width:100%;image-rendering:pixelated;cursor:pointer}.deed-hooks .medal.empty{cursor:default}.deed-hooks .medal:not(.empty):hover,.deed-hooks .medal:focus{outline:2px solid var(--gold)}.deed-detail{text-align:center}.deed-detail .medal.big{width:96px;height:128px;image-rendering:pixelated}.deed-detail h3{color:var(--gold);margin:6px 0}.deed-when{opacity:.7;font-size:14px}body.phone .deed-body{grid-template-columns:1fr 180px}body.phone .deed-hooks{grid-template-columns:repeat(6,1fr);max-height:220px}body.phone .deed-banner{top:6px;max-width:460px}.map-body{min-height:0;flex:1 1 auto}.map-side{overflow-y:auto;min-height:0;max-height:530px}.map-side .cmd-hint{font-size:12px;line-height:1.35}.map-cell-info:empty{display:none}.rewards.saga-facts{grid-template-columns:auto auto auto auto;gap:4px 18px;font-size:15px;margin:8px 0}@media(max-width:700px){.rewards.saga-facts{grid-template-columns:auto auto}}.dialog.fragment .fragment-kind{color:var(--gold);font-size:13px;letter-spacing:.12em;text-transform:uppercase;text-align:center;margin:0}.fragment-text{font-style:italic;line-height:1.5}.memory-glow{color:var(--gold);text-shadow:0 0 10px rgba(240,207,106,.55),0 0 22px rgba(240,207,106,.3)}.memory-shards{max-height:40vh;overflow-y:auto;margin:8px 0 12px;padding-left:2.2em;display:grid;gap:8px;line-height:1.5}.memory-shards li.missing{color:var(--muted, #8a95a0);letter-spacing:2px}.memory-shards li.found{color:#f6e2a6;text-shadow:0 0 8px rgba(240,207,106,.25)}.shard-found{box-shadow:0 0 0 2px #000,0 0 28px #f0cf6a73;border-color:var(--gold);animation:shard-glow 2.4s ease-in-out infinite alternate}@keyframes shard-glow{0%{box-shadow:0 0 0 2px #000,0 0 16px #f0cf6a4d}to{box-shadow:0 0 0 2px #000,0 0 34px #f0cf6a99}}.shard-text{font-style:italic;line-height:1.55;color:#f6e2a6;text-shadow:0 0 8px rgba(240,207,106,.3)}.shard-whole{color:var(--gold);font-weight:800}@media(prefers-reduced-motion:reduce){.shard-found{animation:none}}body.clear-font{--font-title: "Atkinson Hyperlegible", sans-serif;--font-ui: "Atkinson Hyperlegible", sans-serif}.memory-picture{display:block;width:100%;max-height:18vh;object-fit:cover;image-rendering:pixelated;margin-bottom:10px;box-shadow:0 0 0 2px #000,0 0 16px #f0cf6a4d}.member.frame-runeGold .portrait{border:3px solid #f0cf6a;border-image:linear-gradient(135deg,#fff3b0,#f0cf6a 30%,#8a6418,#f0cf6a 70%,#fff3b0) 1;box-shadow:0 0 0 2px #000,0 0 12px #f0cf6a8c}.member.frame-rootwork .portrait{border:3px solid #6a4a28;border-image:repeating-linear-gradient(45deg,#4a321a 0,#4a321a 4px,#8a6a3a 4px,#8a6a3a 8px,#3d6b2a 8px,#3d6b2a 10px) 3;box-shadow:0 0 0 2px #000,0 0 10px #6eaa4659}.member.frame-rimeFrame .portrait{border:3px solid #a0e0ff;border-image:linear-gradient(135deg,#fff,#a0e0ff 35%,#3a78b8 55%,#e0f8ff) 1;box-shadow:0 0 0 2px #000,0 0 12px #a0e0ff8c}.member.frame-emberFrame .portrait{border:3px solid #ff8a30;border-image:linear-gradient(135deg,#ffd040,#ff6020 40%,#801000 60%,#ff9a30) 1;box-shadow:0 0 0 2px #000,0 0 12px #ff78288c}body.theme-birchbark{--win: #3a2e22;--win-dark: #2a2118;--rim: #e8dcc0;--rim-dark: #8a7458;--select: #7a5a32;--bg: #120d09;--muted: #c2b29a}body.theme-emberhall{--win: #3a1414;--win-dark: #260c0c;--rim: #f0cf6a;--rim-dark: #8a3a20;--select: #8a2a1a;--bg: #0c0505;--muted: #c9a49a}body.theme-fjordnight{--win: #0f2a2a;--win-dark: #081c1c;--rim: #d0e8e4;--rim-dark: #3a7068;--select: #1f6a62;--bg: #030909;--muted: #9ab8b2}body.phone #app{top:22px;right:0;bottom:0;left:0}.el-icon[src*="/heroes/"]{width:30px;height:30px;vertical-align:-9px}
