:root{--glass: rgba(14, 34, 44, .58);--glass-strong: rgba(10, 26, 34, .78);--line: rgba(255, 255, 255, .16);--text: #fdf8ec;--dim: rgba(253, 248, 236, .66);--accent: #ffd23f;--coral: #ff7a59;--teal: #2fd2c4;--bad: #ff5a5a;--good: #7dff9a;--sat: env(safe-area-inset-top, 0px);--sab: env(safe-area-inset-bottom, 0px);--sal: env(safe-area-inset-left, 0px);--sar: env(safe-area-inset-right, 0px);--pixel: "Tiny5", "Nunito", system-ui, sans-serif;--ui: "Nunito", system-ui, -apple-system, sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;overflow:hidden;background:#0b3b46;color:var(--text);font-family:var(--ui);overscroll-behavior:none}body{position:fixed;inset:0;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}#app{position:fixed;inset:0}canvas.world{position:absolute;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated}.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#0000 55%,#00141e61)}button{font-family:inherit;color:inherit;border:none;background:none;cursor:pointer;padding:0}.glass{background:var(--glass);backdrop-filter:blur(10px) saturate(1.3);-webkit-backdrop-filter:blur(10px) saturate(1.3);border:1px solid var(--line)}.hud{position:absolute;inset:0;pointer-events:none}.hud>*{pointer-events:auto}.topbar{position:absolute;top:calc(var(--sat) + 8px);left:calc(var(--sal) + 8px);right:calc(var(--sar) + 8px);display:flex;gap:6px;align-items:center;pointer-events:none}.topbar>*{pointer-events:auto}.clock{border-radius:14px;padding:3px 6px 3px 5px;font:800 12px/1 var(--ui);font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:4px;height:36px}.clock svg{width:15px;height:15px}.clock .ck-wx{display:flex;flex-direction:column;align-items:center;gap:1px}.clock .ck-wx small{font:900 9.5px/1 var(--ui)}.clock.storm .ck-wx{background:#a02828e6;border-radius:8px;padding:2px 3px;margin:-1px 0 -1px -2px}.clock.storm .ck-wx svg{width:14px;height:14px}.clock .ck-t{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.clock .ck-t small{font:800 9.5px/1 var(--ui);opacity:.75}.speed{display:flex;border-radius:14px;overflow:hidden;flex-shrink:0}.speed button{width:28px;height:34px;font:800 12px var(--ui);display:grid;place-items:center}.speed button.on{background:#ffd23fe6;color:#1d1b24}.speed svg{width:12px;height:12px}.spacer{flex:1}.topbar .spacer{display:none}.topbar .reschip{margin-left:auto}.alert{width:40px;height:40px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;position:relative}.alert svg{width:22px;height:22px}.alert .badge.gold{top:auto;bottom:-3px;background:var(--accent);color:#1d1b24}.alert .badge{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;border-radius:8px;background:var(--coral);color:#fff;font:700 10px/16px var(--ui);text-align:center;padding:0 3px}.alert.urgent{animation:pulse 1.2s infinite}@keyframes pulse{0%,to{box-shadow:0 0 #ff7a5999}50%{box-shadow:0 0 0 6px #ff7a5900}}.portraits{position:absolute;left:calc(var(--sal) + 6px);top:calc(var(--sat) + 48px);display:flex;flex-direction:column;gap:2px}.portrait{width:44px;height:44px;display:grid;place-items:center;position:relative}.portrait .face{width:32px;height:32px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,255,255,.7);background:#14283299;image-rendering:pixelated;box-shadow:0 2px 6px #00000059}.portrait .face img{width:100%;height:100%;image-rendering:pixelated;display:block;transform:scale(1.55);transform-origin:50% 40%}.portrait.sel .face{border-color:var(--accent);box-shadow:0 0 0 2px #ffd23f80}.portrait .mood{position:absolute;bottom:4px;right:4px;width:9px;height:9px;border-radius:50%;border:1.5px solid #12232b}.portrait .flag{position:absolute;top:3px;right:2px;width:13px;height:13px;border-radius:50%;display:grid;place-items:center;font:800 9px/1 var(--ui);color:#fff}.portrait.away .face{opacity:.45;filter:grayscale(.6)}.portrait .trip-badge{position:absolute;bottom:1px;left:1px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#d9893a;color:#fff6d6;border:1.5px solid #12232b}.portrait .trip-badge svg{width:11px;height:11px;stroke-width:2.6}.portrait .trip-badge:after{content:"";position:absolute;inset:-6px -6px -4px}.dock{position:absolute;bottom:calc(var(--sab) + 10px);left:50%;transform:translate(-50%);display:flex;gap:8px;padding:6px;border-radius:26px}.dock button{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;position:relative}.dock button svg{width:21px;height:21px}.dock button.on{background:#ffd23feb;color:#1d1b24}.dock button .dot{position:absolute;top:4px;right:5px;width:8px;height:8px;border-radius:50%;background:var(--coral)}.sidebtns{position:absolute;right:calc(var(--sar) + 8px);bottom:calc(var(--sab) + 10px);display:flex;flex-direction:column;gap:8px}.holdbar{position:absolute;left:calc(var(--sal) + 8px);bottom:calc(var(--sab) + 72px);display:flex;align-items:center;gap:6px;padding:4px 6px 4px 4px;border-radius:20px;font:700 12px var(--ui);color:var(--text);max-width:230px;z-index:3}.holdbar[hidden]{display:none}.holdbar span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.holdbar b{flex:none;background:var(--accent);color:#1d1b24;border-radius:12px;padding:4px 8px}.sidebtns button{width:36px;height:36px;border-radius:50%;display:grid;place-items:center}.sidebtns button svg{width:18px;height:18px}.sidebtns button.on{background:#ffd23fe6;color:#1d1b24}.sheet{position:absolute;left:calc(var(--sal) + 8px);right:calc(var(--sar) + 8px);bottom:calc(var(--sab) + 74px);max-height:58vh;border-radius:20px;display:flex;flex-direction:column;overflow:hidden;animation:up .18s ease-out}@keyframes up{0%{transform:translateY(14px);opacity:0}}.sheet>*{flex-shrink:0}.sheet>.body{flex:1 1 auto;min-height:0;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 16px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 16px),transparent)}.sheet header{display:flex;align-items:center;gap:8px;padding:10px 12px 6px}.sheet header h2{margin:0;font:900 18px var(--ui);letter-spacing:.2px;flex:1}.sheet .close{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#ffffff1a}.sheet .close svg{width:14px;height:14px}.sheet .body{overflow-y:auto;padding:4px 12px 14px;-webkit-overflow-scrolling:touch;touch-action:pan-y}.tabs{display:flex;gap:6px;padding:2px 12px 6px;flex-shrink:0;scroll-padding:0 12px;overflow-x:auto;touch-action:pan-x;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{flex-shrink:0;line-height:1.2;padding:6px 11px;border-radius:14px;font:700 12px var(--ui);background:#ffffff17;white-space:nowrap}.tabs button.on{background:var(--accent);color:#1d1b24}.row{display:flex;align-items:center;gap:8px}.card{background:#ffffff12;border-radius:14px;padding:10px;margin:6px 0}.card.on{outline:2px solid var(--accent)}.card.disabled{opacity:.5}.small{font-size:12px;color:var(--dim)}.tiny{font-size:11px;color:var(--dim)}.h{font:800 15px var(--ui)}.btn{padding:8px 12px;border-radius:12px;background:#ffffff24;font:700 13px var(--ui)}.btn.primary{background:var(--accent);color:#1d1b24}.btn.danger{background:#ff5a5ad9}.btn.sm{padding:5px 9px;font-size:12px;border-radius:10px}.btn:disabled{opacity:.4}.chips{display:flex;flex-wrap:wrap;gap:5px}.chip{padding:3px 8px;border-radius:10px;background:#ffffff1f;font:700 11px var(--ui)}.chip.on{background:var(--accent);color:#1d1b24}.chip.good{background:#7dff9a40}.chip.bad{background:#ff5a5a4d}.diff{display:inline-block;padding:1px 7px;border-radius:8px;font:800 10.5px var(--ui);letter-spacing:.02em;color:#1d1b24}.trip-len-b .diff{align-self:flex-start;margin:2px 0}.diff-easy{background:#7dff9a}.diff-medium{background:#ffd23f}.diff-hard{background:#ff9a5a}.diff-very_hard{background:#ff5a6a;color:#fff}.trip-diff{display:flex;align-items:center;gap:6px;margin:0 0 6px}.odds-chips{margin-top:6px}.odds-chips .chip{font-size:11.5px}.trip-friend{display:flex;align-items:center;gap:6px;font-weight:700}.trep{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;margin:6px 0 2px;align-items:start}.trep>b{font:800 11px var(--ui);text-transform:uppercase;letter-spacing:.04em;opacity:.8;padding-top:3px}.trep .chip{font-weight:600}.trep-line{font-style:italic;margin-top:4px}.trep-v-triumph{border-left:3px solid #ffd23f}.trep-v-grim{border-left:3px solid #ff5a6a}.trep-v-empty,.trep-v-costly{border-left:3px solid #ff9a5a}.trep-v-worth{border-left:3px solid #7dff9a}.bar{height:7px;border-radius:4px;background:#ffffff1f;overflow:hidden;flex:1}.bar>i{display:block;height:100%;border-radius:4px}.kv{display:grid;grid-template-columns:70px 1fr 34px;gap:6px;align-items:center;font-size:12px;margin:3px 0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:6px}.catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px}.catalog .card{margin:0;text-align:left}.logline{padding:7px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:13px;line-height:1.35}.logline .t{font:800 11px var(--ui);font-variant-numeric:tabular-nums;color:var(--accent);margin-right:6px}.logline.major{font-weight:700}.mini-portrait{width:22px;height:22px;border-radius:50%;overflow:hidden;display:inline-block;vertical-align:middle;image-rendering:pixelated;border:1.5px solid rgba(255,255,255,.6)}.mini-portrait img{width:100%;height:100%;image-rendering:pixelated;transform:scale(1.6);transform-origin:50% 40%}.placebar{position:absolute;top:calc(var(--sat) + 46px);left:50%;transform:translate(-50%);border-radius:18px;padding:6px 6px 6px 12px;display:flex;gap:6px;align-items:center;max-width:calc(100% - 16px)}.placebar .info{font-size:12px;line-height:1.2;min-width:0;flex:1}.placebar .info .tiny{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.placebar .info b{font:800 14px var(--ui);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.placebar button.icon{width:34px;height:34px;border-radius:50%;background:#ffffff1f;display:grid;place-items:center;flex-shrink:0}.placebar button.icon svg{width:16px;height:16px}.placebar button.ok{background:var(--good);color:#10301a}.placebar button.on{background:var(--accent);color:#1d1b24}.place-hint{pointer-events:none;position:absolute;top:calc(var(--sat) + 96px);left:50%;transform:translate(-50%);font:600 11px var(--ui);padding:4px 10px;border-radius:10px;white-space:nowrap}.ctx{position:absolute;z-index:4;width:230px;border-radius:16px;padding:10px;animation:up .12s ease-out}.ctx .h{margin-bottom:4px}.ctx .act{display:block;width:100%;text-align:left;padding:8px 10px;border-radius:10px;background:#ffffff1a;margin-top:5px;font:700 13px var(--ui)}.ctx .act.primary{background:var(--accent);color:#1d1b24}.wgauge{display:flex;align-items:center;gap:6px;margin-top:4px;font:800 12.5px var(--ui)}.wgauge .wg-bar{flex:1;min-width:60px;height:9px;border-radius:5px;background:#00000073;border:1px solid rgba(255,255,255,.18);overflow:hidden}.wgauge .wg-bar i{display:block;height:100%;background:#6fd8ff}.wgauge.raw .wg-bar i{background:repeating-linear-gradient(135deg,#5f9e96 0 4px,#4d8079 4px 7px)}.wgauge.warn .wg-bar i{background:#ff8a3a}.wgauge.warn b{color:#ffb27a}.wgauge .wg-tag{font:800 10.5px var(--ui);padding:1px 6px;border-radius:8px;background:#6fd8ff33;color:#bff3ff;text-transform:uppercase;letter-spacing:.03em}.wgauge.raw .wg-tag{background:#8caa7840;color:#d6e2b0}.wgauge.warn .wg-tag{background:#ff8a3a40;color:#ffcf9e}.wgauge .wg-flow{font-size:11px}.wgauge .wg-flow.up{color:#7dff9a}.wgauge .wg-flow.down{color:#ff9a6a}.bufstat{display:flex;align-items:center;gap:6px;margin-top:4px;font:800 12px var(--ui)}.bufstat.stalled b{color:#ffb27a}.bufstat.off b,.bufstat.idle b{opacity:.75}.wgauge.buf .wg-bar{position:relative;min-width:44px}.wgauge.buf .wg-bar i{background:#e0a052}.wgauge.buf.warn .wg-bar i{background:#ff8a3a}.wgauge.buf.raw .wg-bar i{background:repeating-linear-gradient(135deg,#5f9e96 0 4px,#4d8079 4px 7px)}.wgauge.buf .wg-bar s{position:absolute;top:-1px;bottom:-1px;width:2px;margin-left:-1px;background:#fff;opacity:.8}.wgauge.buf b{min-width:34px;text-align:right}.wgauge.buf img{flex:none}.wgauge.buf{flex-wrap:wrap;row-gap:4px}.bufstep{flex:1 0 100%;gap:4px;flex-wrap:nowrap}.bufstep .chip{flex:1;min-height:30px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.wgauge-sub{margin-top:2px;font:700 11.5px var(--ui);opacity:.85}.wgauge-sub .wg-filt.low{color:#ffd23f}.wgauge-sub .wg-filt.out{color:#ff8a3a}.ctx .tools{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.ctx .tool{padding:6px 9px;min-height:32px;border-radius:9px;background:#ffffff1a;font:700 12px var(--ui)}.ctx .roomline{display:flex;align-items:center;gap:6px;width:100%;margin-top:8px;padding:7px 10px;min-height:36px;border-radius:10px;background:#ffffff0f;border:1px solid var(--line);font:800 12.5px var(--ui);text-align:left}.ctx .roomline span{flex:1;min-width:0}.ctx .roomline i{font-style:normal;opacity:.7}.ctx .roomline.open{background:#ffffff1f}.modal-back{z-index:20;position:absolute;inset:0;background:#050f148c;display:flex;align-items:center;justify-content:center;padding:calc(var(--sat) + 44px) 14px calc(var(--sab) + 78px)}.choice{width:100%;max-width:400px;border-radius:22px;padding:16px;background:var(--glass-strong);max-height:100%;overflow-y:auto}.choice h3{margin:0 0 6px;font:900 20px var(--ui);color:var(--accent)}.choice p{margin:0 0 10px;font-size:14px;line-height:1.4}.choice .opt{display:block;width:100%;text-align:left;border-radius:14px;background:#ffffff1a;padding:10px 12px;margin-top:7px}.choice .opt b{display:block;font:700 14px var(--ui)}.choice .opt span{font-size:12px;color:var(--dim)}.choice .faces{display:flex;gap:6px;margin-bottom:8px}.toast{position:absolute;top:calc(var(--sat) + 46px);right:calc(var(--sar) + 8px);width:210px;border-radius:14px;overflow:hidden;animation:up .2s ease-out}.toast canvas,.toast img{width:100%;display:block}.dramaview{width:min(86vw,400px,calc((100vh - var(--sat) - var(--sab) - 190px) / 1.8));border-radius:16px;overflow:hidden;box-shadow:0 10px 40px #00000080}.dramaview canvas{width:100%;display:block}.recap{width:100%;max-width:380px;border-radius:22px;padding:18px;background:var(--glass-strong)}.recap h3{margin:0 0 8px;font:900 20px var(--ui);color:var(--accent)}.recap li{margin:6px 0;font-size:14px}.title{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:calc(var(--sat) + 20px) 16px calc(var(--sab) + 26px);background:linear-gradient(180deg,#061e2800 30%,#061e28bf 75%)}.title h1{font:700 40px/.95 var(--pixel);margin:0;text-align:center;color:#fff6d6;text-shadow:0 3px 0 #ff7a59,0 6px 0 #1d1b24;letter-spacing:1px}.title .sub{font:600 14px var(--ui);color:var(--dim);margin:10px 0 18px;text-align:center}.title .panel{width:100%;max-width:380px;border-radius:20px;padding:14px}.title select{width:100%;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:#1d3442;color:var(--text);font:700 14px var(--ui)}.title input{width:100%;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:#ffffff1a;color:var(--text);font:700 14px var(--ui);user-select:text;-webkit-user-select:text}.castpick{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:10px}.castpick .card{margin:0;text-align:center;padding:8px 6px}.castpick img{width:88px;height:88px;max-width:100%;image-rendering:pixelated;border-radius:16px;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f);display:block;margin:0 auto}.debug{position:absolute;top:calc(var(--sat) + 44px);right:6px;width:min(360px,calc(100% - 60px));max-height:70vh;overflow-y:auto;border-radius:12px;padding:8px;font:11px/1.35 ui-monospace,Menlo,monospace;background:#000000c7;border:1px solid #f0f;touch-action:pan-y}.debug button{background:#333;color:#fff;padding:4px 6px;border-radius:6px;margin:2px;font:11px ui-monospace,monospace}.debug pre{white-space:pre-wrap;margin:4px 0}.pitch{width:100%;max-width:360px;border-radius:22px;padding:14px;background:var(--glass-strong);text-align:center}.pitch canvas{width:100%;aspect-ratio:1;border-radius:14px;background:#ffffff0f;touch-action:none}.floating-name{position:absolute;transform:translate(-50%,-100%);font:800 11px var(--ui);padding:2px 6px;border-radius:8px;background:#0a1a22b3;pointer-events:none;white-space:nowrap}.bust{width:96px;height:96px;border-radius:18px;overflow:hidden;flex-shrink:0;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f);border:2px solid rgba(255,255,255,.5)}.bust img{width:100%;height:100%;image-rendering:pixelated;display:block}.pxi{image-rendering:pixelated;vertical-align:middle;flex-shrink:0}.alert-row{gap:10px;margin:5px 0;padding:9px 10px}.alert-row.urgent{border-left:3px solid var(--coral)}.tabs button.icontab{display:inline-flex;align-items:center;gap:4px;padding:4px 9px 4px 5px}.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px}.bt{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 2px 5px;border-radius:12px;background:#ffffff12;min-width:0}.bt.on{outline:2px solid var(--accent);background:#ffd23f24}.bt-img{width:48px;height:48px;display:grid;place-items:center}.bt-name{font:700 10.5px/1.15 var(--ui);max-width:100%;text-align:center;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:0 2px}.bt-cost{display:flex;gap:3px;flex-wrap:wrap;justify-content:center}.bt.locked .bt-img{filter:grayscale(1) brightness(.65)}.bt.locked .bt-name,.bt.locked .bt-cost{opacity:.55}.badge-lock{position:absolute;top:3px;right:4px}.cost{display:inline-flex;align-items:center;gap:1px;font:800 10.5px var(--ui);font-variant-numeric:tabular-nums}.cost.short{color:#ff8f80}.costs{display:flex;gap:8px;flex-wrap:wrap}.costs .cost{font-size:12px;gap:3px}.detail{margin:0 0 8px;padding:10px;background:#ffffff1a}.detail .fx{margin-top:3px;color:var(--accent);opacity:.9}.thumb56{width:56px;height:56px;border-radius:10px;background:#ffffff14}.close.sm{width:24px;height:24px}.close.sm svg{width:11px;height:11px}.lockline,.ichip{display:inline-flex;align-items:center;gap:4px}.unlock{display:inline-flex;align-items:center;opacity:.95}.locs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:4px 0 8px}.loc{display:flex;flex-direction:column;align-items:stretch;gap:2px;border-radius:10px;overflow:hidden;background:#ffffff14;padding:0 0 3px;font:700 10px/1.1 var(--ui);text-align:center}.loc img{width:100%;aspect-ratio:96 / 40;image-rendering:pixelated;display:block}.loc.on{outline:2px solid var(--accent)}.loc.unknown{opacity:.45;justify-content:center}.loc.unknown .q{display:grid;place-items:center;aspect-ratio:96 / 40;font:700 18px var(--pixel);color:var(--dim);background:#ffffff0f}.loc span{padding:0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lootrow{display:flex;flex-wrap:wrap;gap:2px;margin:3px 0 2px}.logfaces{display:inline-flex;gap:2px;flex-shrink:0;padding-top:1px}.logfaces .mini-portrait{border-width:1px}.inv{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:4px 0 8px}.invcell{display:flex;gap:6px;align-items:center;padding:7px;border-radius:12px;background:#ffffff12;min-width:0}.kit{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 8px;margin-top:4px}.kititem{display:flex;align-items:center;gap:5px;min-width:0}.kititem .tiny{min-width:0;overflow-wrap:anywhere;line-height:1.25}.sheet.charsheet{max-height:50vh}.ctop{display:flex;gap:10px;align-items:flex-start}.cstats{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.doing{font:800 12.5px/1.25 var(--ui);color:var(--accent);margin-bottom:2px}.mb{display:grid;grid-template-columns:40px 1fr 22px;gap:5px;align-items:center;font-size:11px}.mb .bar{height:6px}.mb b{font:800 10.5px var(--ui);text-align:right;font-variant-numeric:tabular-nums}.bust.big{width:104px;height:104px}.cacts{display:flex;gap:6px;margin:7px 0 4px;flex-wrap:wrap}.ctab{padding-top:4px}.mf{margin-top:5px}.relrow{width:100%;gap:6px;margin:4px 0}.memrow{display:block;text-align:left;margin:3px 0}.wants{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:5px}.want{display:inline-flex;align-items:center;gap:4px;padding:3px 8px 3px 5px;border-radius:10px;background:#ffd23f29;font:700 11px var(--ui)}.want.nag{background:#ff7a5938}.title .crew-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 2px 8px;font:700 12px var(--ui);color:var(--dim)}.title .crew-edit{font:700 12px var(--ui);color:var(--dim);text-decoration:underline;text-underline-offset:3px;min-height:32px;padding:0 2px}.title .castpick{gap:6px;margin-bottom:12px}.title .cp{text-align:center;min-width:0}.title .castpick img{width:64px;height:64px;border-radius:14px}.title .cp-name{font-size:13px;margin-top:4px}.title .cp .tiny{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.title .btn.start{display:block;width:100%;min-height:54px;font:900 18px var(--ui);border-radius:16px;box-shadow:0 4px 14px #ffd23f59}.title .btn.start2{display:block;width:100%;min-height:44px;margin-top:8px}.title .seedopt{margin-top:10px}.title .optrow{gap:8px;margin-top:6px;align-items:center}.title .optrow[hidden]{display:none}.title .optlbl{font:700 11.5px var(--ui);color:var(--dim);width:44px;flex:none}.title .optrow select,.title .optrow input{flex:1;min-width:0;min-height:40px}.title .optrow input[type=range]{min-height:32px;accent-color:var(--accent)}.title .optval{flex:none;width:64px;text-align:right;font:700 12px var(--ui);color:var(--ink, #fff6d6)}.islandline{margin:0 2px 8px;color:var(--dim)}.title .seedopt summary{font:700 11.5px var(--ui);color:var(--dim);opacity:.8;cursor:pointer;padding:4px 2px}.cp-name{display:block;margin-top:6px;font:800 14px var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio{position:absolute;inset:0;z-index:40;display:flex;flex-direction:column;background:#081a22;padding-top:var(--sat);padding-bottom:var(--sab);animation:up .16s ease-out}.st-head{display:flex;align-items:center;gap:8px;padding:10px max(12px,var(--sar)) 8px max(12px,var(--sal));border-bottom:1px solid var(--line);flex-shrink:0}.st-head h2{margin:0;flex:1;font:900 20px var(--ui)}.st-head .close,.st-back{width:32px;height:32px;border-radius:50%;background:#ffffff1a;display:grid;place-items:center;font:700 16px var(--ui)}.st-back{font-size:22px;line-height:1}.st-body{flex:1;min-height:0;overflow-y:auto;padding:10px max(12px,var(--sar)) 16px max(12px,var(--sal));-webkit-overflow-scrolling:touch;touch-action:pan-y;user-select:text;-webkit-user-select:text}.st-foot{flex-shrink:0;display:flex;gap:6px;flex-wrap:wrap;padding:8px max(12px,var(--sar)) 10px max(12px,var(--sal));border-top:1px solid var(--line)}.st-foot .btn{flex:1 1 auto}.st-sec{font:800 15px var(--ui);margin:12px 0 6px}.st-sec:first-child{margin-top:2px}.st-crew{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.st-crewface{display:flex;flex-direction:column;align-items:center;gap:2px;font:700 11px var(--ui);flex-shrink:0}.st-crewface img{width:64px;height:64px;border-radius:14px;image-rendering:pixelated;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f);border:2px solid var(--accent)}.st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px}.st-card{display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 4px 7px;border-radius:14px;background:#ffffff12;min-width:0;text-align:center}.st-card.on{outline:2px solid var(--accent);background:#ffd23f1f}.st-card img{width:64px;height:64px;image-rendering:pixelated;border-radius:12px;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f)}.st-card b{font:800 13px var(--ui);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.st-card .tiny{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-badge{margin-top:3px;font:700 10px var(--ui);padding:2px 6px;border-radius:8px;background:#ffffff1f}.st-badge.crew{background:var(--accent);color:#1d1b24}.st-badge.benched{opacity:.6}.st-detail{margin-top:10px;padding:10px;border-radius:16px}.st-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.st-big{width:96px;height:96px;image-rendering:pixelated;border-radius:16px;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f);flex-shrink:0}.st-mid{width:52px;height:52px;image-rendering:pixelated;border-radius:12px;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f);flex-shrink:0}.st-sticky{position:sticky;top:-10px;z-index:2;background:#081a22;margin:-10px 0 0;padding-top:10px}.st-preview{display:flex;align-items:flex-end;gap:8px;padding:6px 0 8px;background:#081a22f7;flex-wrap:wrap}.st-sprite{width:72px;height:96px;image-rendering:pixelated;background:#ffffff0f;border-radius:12px}.st-exprs{display:flex;flex-wrap:wrap;gap:4px;flex:1 1 120px;min-width:0}.st-tabs{padding:0 0 8px}.st-field{margin:10px 0}.st-lbl{font:700 12px var(--ui);color:var(--dim);margin-bottom:5px}.st-chips .chip{padding:6px 10px;font-size:12px;text-transform:none}.st-sw{display:flex;flex-wrap:wrap;gap:6px}.sw{width:30px;height:30px;border-radius:50%;border:2px solid rgba(255,255,255,.25);position:relative}.sw.on{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.sw-custom{display:grid;place-items:center;background:conic-gradient(#ff4f4f,#ffd23f,#7dff9a,#2fd2ff,#b98cff,#ff4f4f);overflow:hidden;cursor:pointer}.sw-custom input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.sw-custom span{font:800 16px var(--ui);color:#1d1b24;pointer-events:none}.st-in{width:100%;padding:9px 10px;border-radius:10px;border:1px solid var(--line);background:#ffffff14;color:var(--text);font:600 14px var(--ui);user-select:text;-webkit-user-select:text;resize:vertical}textarea.st-in{line-height:1.35}.st-mono,.st-pre{font:11px/1.4 ui-monospace,Menlo,monospace}.st-pre{white-space:pre-wrap;word-break:break-word;max-height:220px;overflow:auto;background:#00000040;padding:8px;border-radius:10px}.st-skills{display:grid;gap:5px;max-width:280px}.st-err{margin-top:8px;padding:8px 10px;border-radius:10px;background:#ff5a5a38;font-size:13px}.st-warn{color:#ffcf8a}.st-toast{position:absolute;left:50%;top:calc(var(--sat) + 56px);transform:translate(-50%);background:var(--accent);color:#1d1b24;font:800 13px var(--ui);padding:8px 14px;border-radius:14px;box-shadow:0 6px 20px #0006;pointer-events:none;white-space:nowrap;max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis}.st-crew3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.st-card.crew{outline:2px solid rgba(255,210,63,.75)}.st-card.crew.on{outline:3px solid var(--accent)}.st-skillbars{display:grid;grid-template-columns:auto 1fr;gap:2px 5px;align-items:center;width:100%;margin-top:5px;padding:0 3px}.st-skillbars span{font:700 10px var(--ui);color:var(--dim);text-align:left}.st-skillbars i{display:block;height:5px;border-radius:3px;background:#ffffff1f;overflow:hidden}.st-skillbars b{display:block;height:100%;background:#2fd2c4;border-radius:3px}.st-swap{display:flex;gap:6px;margin-bottom:8px}.st-swap .btn{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px;background:#ffd23f2e;border:1px solid var(--accent)}.st-swap img{width:40px;height:40px;border-radius:10px;image-rendering:pixelated;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f)}.st-spoil{border-radius:10px;background:#ffffff0d;padding:6px 8px}.st-spoil summary{font:700 12px var(--ui);color:var(--dim);cursor:pointer}.minicard{position:absolute;right:calc(var(--sar) + 8px);bottom:calc(var(--sab) + 160px);width:150px;border-radius:14px;overflow:hidden;padding:0;text-align:left;box-shadow:0 8px 24px #00000073;border:2px solid var(--accent);animation:minin .25s ease-out;z-index:15}.minicard.high{bottom:auto;top:calc(var(--sat) + 48px)}.mm-on .minicard:not(.high){bottom:calc(var(--sab) + 210px)}.minicard canvas{display:block;width:100%;image-rendering:pixelated}.minicard .mc-head{font:900 12px/1.2 var(--ui);padding:6px 8px 7px;color:#fff6d6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;background:#12101aeb}.minicard .mc-timer{position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--accent);transform-origin:left;animation:mctimer linear forwards}.minicard.out{transition:transform .25s ease-in,opacity .25s;transform:translate(120%);opacity:0}@keyframes minin{0%{transform:translate(120%);opacity:0}}@keyframes mctimer{to{transform:scaleX(0)}}.bdet{display:flex;align-items:center;gap:10px;padding:8px;border-radius:14px;background:#ffffff14;margin-bottom:8px}.bdet-img{width:52px;height:52px;border-radius:10px;background:#ffffff14;flex-shrink:0}.bdet-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.bdet-mid b{font:800 15px var(--ui)}.bdet-desc{font-size:12px;line-height:1.25;color:var(--dim);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bdet-place{padding:14px 20px;font-size:16px;border-radius:14px;flex-shrink:0}.bdet-lock{flex-shrink:0;max-width:90px}.brow{display:flex;gap:5px;overflow-x:auto;padding:2px 2px 4px;margin:0 -2px;scrollbar-width:none;touch-action:pan-x}.brow::-webkit-scrollbar{display:none}.brow .bt{flex:0 0 70px;padding:3px 2px 4px}.brow .bt-img{width:40px;height:40px}.brow .bt.on{outline:none;box-shadow:inset 0 0 0 2px var(--accent)}.ords{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ords.small{grid-template-columns:repeat(2,1fr);margin-top:6px}.ord{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border-radius:14px;background:#ffffff17;font:800 12px var(--ui);text-align:center}.ord.big{padding:12px 4px;font-size:13px}.ords.small .ord{flex-direction:row;justify-content:center;padding:7px;font-weight:700;color:var(--dim)}.dock{gap:4px}.dossier{margin:4px 0 6px;padding:8px 10px;border-radius:12px;background:#ffffff12}.dossier summary{font:800 13px var(--ui);color:var(--accent);cursor:pointer}.dossier .chip{display:inline-flex;align-items:center;gap:4px}.threat{position:absolute;left:50%;transform:translate(-50%);top:calc(var(--sat) + 48px);z-index:16;padding:9px 14px;border-radius:16px;font:800 13px var(--ui);color:var(--text);background:#a02828e0;border-color:#ffffff4d;white-space:nowrap;animation:up .2s ease-out}.threat b{margin-left:6px;color:var(--accent)}.hud>.threat{left:calc(var(--sal) + 64px);right:auto;max-width:calc(100% - 72px - var(--sal) - var(--sar));transform:none;white-space:normal;text-align:left;line-height:1.25}.logline.cardline{background:#ffd23f1a;border-radius:12px;padding:7px 8px;margin:4px 0;border-bottom:0;border-left:3px solid var(--accent)}.logline .lthumb{width:64px;height:40px;border-radius:8px;image-rendering:pixelated;flex-shrink:0;object-fit:cover}.logline .lhead{display:block;font:900 12px var(--ui);color:var(--accent);letter-spacing:.3px}.logline.notable{border-left:3px solid var(--teal);padding-left:8px;background:#2fd2c412;border-radius:0 10px 10px 0;margin:3px 0;font-weight:700}.logline.minor{opacity:.72;font-size:12.5px;font-weight:500}.logline.minor .logfaces .mini-portrait{width:16px!important;height:16px!important}.rchips{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.rc{font:800 11px var(--ui);padding:2px 7px;border-radius:8px;background:#ffffff1a;white-space:nowrap}.rc.good{background:#7dff9a2e;color:#b9ffc9}.rc.bad{background:#ff5a5a33;color:#ffb3a8}.rc.love{background:#ff6f9f33;color:#ffc2d6}.rc.me{border-radius:4px;border-left:3px solid currentColor}.rc.up{background:#ffd66629;color:#ffe39a}.rc.happy{background:#78c8ff29;color:#bfe4ff}.rc.sad{background:#a096c82e;color:#d4cdf0}.speed{position:relative}.nightff{position:absolute;left:50%;top:calc(100% + 4px);transform:translate(-50%);white-space:nowrap;font:800 11px var(--ui);color:#cfe0ff;background:#141c3cd9;padding:3px 9px;border-radius:10px;pointer-events:none}.sheet button{min-height:36px}.sheet button.chip{display:inline-flex;align-items:center;gap:4px}.sheet .bt{min-height:0}.bt-name,.bt .cost,.sheet .cost{font-size:11.5px!important}.rolerow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:6px}.rolerow .chip{justify-content:center;padding:3px 4px;font-size:11.5px;white-space:nowrap;overflow:hidden}.studio .close,.sheet .close{min-width:40px;min-height:40px}.studio .btn{min-height:40px}body.raid:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:14;box-shadow:inset 0 0 70px 10px #dc281e8c;animation:raidpulse 1.1s ease-in-out infinite alternate}@keyframes raidpulse{0%{opacity:.35}to{opacity:.9}}.threat .pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ff6b5a;margin-right:7px;vertical-align:1px;animation:raidpulse .6s ease-in-out infinite alternate}.goal{position:absolute;top:calc(var(--sat) + 50px);left:calc(var(--sal) + 64px);right:calc(var(--sar) + 10px);z-index:12;border-radius:14px;padding:5px;max-width:420px;animation:up .2s ease-out}.goal .g-row{display:flex;align-items:center;gap:6px}.goal .g-main{flex:1;min-width:0;min-height:38px;display:flex;align-items:center;gap:7px;text-align:left;padding:0 6px}.goal .g-step{font:900 11px var(--ui);color:#1d1b24;background:var(--accent);border-radius:8px;padding:2px 6px;flex-shrink:0}.goal .g-title{font:800 13.5px/1.2 var(--ui);color:var(--text);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.goal .g-chev{margin-left:auto;flex-shrink:0;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#ffffff29;color:var(--text)}.goal .g-main[aria-expanded=true] .g-chev{background:#ffffff42}.goal .g-show{flex-shrink:0;min-height:38px;padding:0 12px;border-radius:11px;background:var(--accent);color:#1d1b24;font:900 12.5px var(--ui)}.goal .g-why{font:600 13px/1.4 var(--ui);color:var(--text);opacity:.9;padding:4px 8px 6px}.goal .g-skip{display:block;font:700 11.5px var(--ui);opacity:.6;padding:6px 8px;min-height:32px;text-decoration:underline}.goal.done{background:#288c5ae6}.reschip{display:flex;align-items:center;gap:6px;height:36px;padding:0 8px 0 6px;border-radius:18px;font:800 12.5px var(--ui);font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap;flex-shrink:0}.reschip .rp{display:flex;align-items:center;gap:2px}.reschip .rp .pxi{flex-shrink:0}.reschip .rp.amber b{color:#ffc24a}.reschip .rp.red b{color:#ff6b5a}.reschip .rp.red .pxi{filter:drop-shadow(0 0 2px rgba(255,80,60,.9))}.reschip[aria-expanded=true]{border-color:var(--accent)}.reschip .rp.pulse{animation:rpulse .5s ease-out 3;border-radius:9px}@keyframes rpulse{0%{transform:scale(1);box-shadow:0 0 #ff5a5ad9}40%{transform:scale(1.25)}to{transform:scale(1);box-shadow:0 0 0 8px #ff5a5a00}}.resinfo{position:absolute;right:calc(var(--sar) + 8px);z-index:13;width:min(320px,calc(100% - 64px - var(--sal) - var(--sar) - 8px));overflow-y:auto;border-radius:14px;padding:6px 10px 8px;background:var(--glass-strong);font:600 12px/1.3 var(--ui);animation:up .16s ease-out}.resinfo .ri-top{display:flex;align-items:center;justify-content:space-between;font-size:13.5px}.resinfo .ri-top .hq{width:30px;height:30px}.resinfo .ri-sec{padding-top:6px;margin-top:4px;border-top:1px solid var(--line)}.resinfo .ri-head{display:flex;align-items:center;gap:6px;font-size:13.5px;margin-bottom:4px}.resinfo .ri-held.amber,.resinfo .ri-net.amber b{color:#ffc24a}.resinfo .ri-held.red,.resinfo .ri-net.red b{color:#ff9a8a}.resinfo .ri-held{font-weight:900}.resinfo .ri-raw{color:var(--dim);font-size:11.5px}.resinfo .ri-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.resinfo .ri-h,.resinfo .ri-row,.resinfo .ri-net{display:flex;justify-content:space-between;gap:6px}.resinfo .ri-h{font-weight:800;border-bottom:1px solid var(--line);padding-bottom:3px;margin-bottom:3px}.resinfo .ri-row{color:var(--dim);padding:1px 0}.resinfo .ri-row b{color:var(--text)}.resinfo .ri-none{justify-content:flex-start}.resinfo .ri-net{margin-top:4px;padding-top:4px;border-top:1px dashed var(--line);font-weight:800}.goal.done .g-title{padding:10px}.dock .newbtn{animation:newbtn .9s ease-in-out 5 alternate}@keyframes newbtn{0%{box-shadow:0 0 #ffd66600}to{box-shadow:0 0 0 4px #ffd666cc}}[hidden]{display:none!important}.mapnote{font:700 12.5px/1.35 var(--ui);padding:7px 10px;border-radius:10px;background:#ffd66621;color:#ffe7a3;margin-bottom:8px}.mapnote.done{background:#7dff9a24;color:#c8ffd6}.cond b{color:#ff9a8a}.chead{display:flex;gap:10px;align-items:center}.bust.mid{width:64px;height:64px;flex-shrink:0}.cwho{flex:1;min-width:0}.cwho .doing{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em;animation:linein .35s ease-out}.cwho .doing.thought{font-weight:700;font-style:italic}@keyframes linein{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}.chead .cacts{margin:5px 0 0;gap:5px;flex-wrap:nowrap;overflow-x:auto}.chead .cacts .btn{min-height:32px;padding:0 10px;font-size:12px}.cmeters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 14px;margin:9px 0 6px}@media (min-width: 480px){.cmeters{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}}.cm span{display:flex;justify-content:space-between;font:700 11px var(--ui);opacity:.9}.cm b{font:900 11px var(--ui);font-variant-numeric:tabular-nums}.cm .bar{height:6px;margin-top:3px}.ctab{height:min(290px,36vh);overflow-y:auto;overscroll-behavior:contain;padding-right:2px}.mfrow{width:100%;text-align:left;padding:3px 0;min-height:0!important}button.mfrow span{text-decoration:underline dotted rgba(255,255,255,.35);text-underline-offset:3px}.rchips.notable .rc{font-size:10.5px;padding:1px 6px}.rchips.notable{margin-top:3px;gap:3px}.rchips.lite{display:inline;margin:0 0 0 6px}.rc.lite{background:none!important;padding:0;border:0;font:700 11px var(--ui);opacity:.75}.rc.lite+.rc.lite:before{content:"· ";color:var(--text);opacity:.5}.logline.minor{padding-top:5px;padding-bottom:5px}.logline.notable{padding-top:7px;padding-bottom:7px}.placebar{z-index:14}.debug{z-index:30}.modal-back{z-index:45}.place-hint{white-space:normal;max-width:calc(100% - 32px);text-align:center}.logline.scrap{text-align:left;width:100%;align-items:center;gap:8px}.logline.scrap .cap{display:block;font:italic 700 12.5px var(--ui);color:var(--text)}.lthumb.play{display:grid;place-items:center;background-size:cover;background-position:center;color:#fff}.lthumb.play svg{width:18px;height:18px;filter:drop-shadow(0 1px 2px #000)}.keepsake{display:flex;flex-direction:column;align-items:center;gap:8px;width:min(340px,calc(100vw - 32px));max-height:calc(100dvh - var(--sat) - var(--sab) - 24px);overflow-y:auto}.keepsake canvas{width:100%;max-height:58dvh;object-fit:contain;border-radius:14px;image-rendering:pixelated;box-shadow:0 10px 30px #00000080}.keepsake .kdesc{margin:0;font:600 13px/1.35 var(--ui);color:var(--text);background:#16141dd9;padding:8px 10px;border-radius:10px}.keepsake .kcap{display:flex;flex-direction:column;gap:3px;width:100%;font:800 11px var(--ui);color:var(--muted, #b9b2c6);letter-spacing:.4px;text-transform:uppercase}.keepsake .kcap input{font:700 15px var(--ui);padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.25);background:#16141de6;color:var(--text);text-transform:none;min-height:44px}.keepsake .kbtns{gap:10px}.icon.kshare{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#ffffff1f;color:var(--text);border:1px solid rgba(255,255,255,.25)}.icon.kshare svg{width:20px;height:20px}.keepsake .kfall{text-align:center;color:var(--text)}.keepsake .kimg{width:100%;max-height:58dvh;object-fit:contain;border-radius:14px;-webkit-touch-callout:default;user-select:auto}.btn svg{width:14px;height:14px;vertical-align:-2px}body:has([data-modal] .modal-back) .minicard{visibility:hidden}.geartab{display:flex;flex-direction:column;gap:6px}.gearrow,.gearopt{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 10px;border-radius:12px;background:#ffffff14;color:inherit;font:inherit;border:0;min-height:48px}.gearrow.open{background:#ffffff29}.gearicon{width:26px;flex:none;display:flex;justify-content:center}.gearname{display:flex;flex-direction:column;min-width:0;flex:1}.gearname b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gearname .tiny{opacity:.75;overflow:hidden;text-overflow:ellipsis}.gearchg{flex:none;font:700 12px var(--ui);color:var(--accent)}.gearopts{display:flex;flex-direction:column;gap:4px;margin:-2px 0 4px 18px}.gearopt{min-height:44px;padding:6px 10px;background:#ffffff0d}.geartab>*{flex-shrink:0}.gearname{line-height:1.25}.goal .g-tw{display:flex;flex-direction:column;min-width:0;flex:1;gap:1px}.goal .g-prog{font:700 11.5px var(--ui);color:var(--muted, rgba(255,255,255,.7))}.goal .g-prog b{color:var(--text)}.goal .g-prog b.ok{color:#7dff9a}.goal .g-hint{display:block;font:600 11.5px var(--ui);color:#ffd98a;margin-top:2px}.goal .g-spd{display:inline-flex;align-items:center;vertical-align:-1px;padding:2px 5px;margin:0 1px;border-radius:6px;background:#ffffff24;color:#fff}.goal .g-spd i{display:block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid currentColor;margin-left:-1px}.goal .g-spd i:first-child{margin-left:0}.speed button.spd.coach:after{content:none}.alert.nag1{animation:bellpulse 1.4s ease-in-out infinite}.alert.nag2{animation:bellpulse .9s ease-in-out infinite;transform:scale(1.2);background:#ff7a598c}.alert.nag3{animation:bellshake 1.6s ease-in-out infinite,bellpulse .7s ease-in-out infinite;transform:scale(1.35);background:#ff7a59cc}.alert[class*=nag]{transition:transform .3s,background .3s;z-index:5;transform-origin:80% 20%}@keyframes bellpulse{0%,to{box-shadow:0 0 #ff7a59bf}60%{box-shadow:0 0 0 12px #ff7a5900}}@keyframes bellshake{0%,55%,to{rotate:0deg}60%{rotate:-16deg}66%{rotate:14deg}72%{rotate:-10deg}78%{rotate:8deg}84%{rotate:-4deg}}@media (prefers-reduced-motion: reduce){.alert.nag1,.alert.nag2,.alert.nag3{animation:none}}.placefloat{position:absolute;z-index:13;display:flex;gap:14px;pointer-events:auto}.placefloat button{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 10px #00000059}.placefloat button svg{width:22px;height:22px}.placefloat .pf-ok{background:var(--good);color:#10301a}.placefloat .pf-no{background:#1e1c26d9;color:#fff}.placefloat.bad .pf-ok{opacity:.4}.placebar .place-hint{width:max-content;max-width:min(300px,calc(100vw - 32px))}.goal .g-check{display:flex;flex-wrap:wrap;gap:2px 10px}.goal .g-check .ok{color:#7dff9a}.place-hint.bad{background:#a02828e0;color:#fff;font-weight:800}.dutycard{display:flex;align-items:center;gap:8px;padding:6px 4px;border-bottom:1px solid rgba(255,255,255,.07)}.dutycard.open{border-bottom:none}.dutycard .rc-who{flex:0 1 34%;min-width:0;display:flex;flex-direction:column;text-align:left;padding:0;min-height:0!important}.dutycard .rc-who b{font:800 14px var(--ui)}.dutycard .rc-who .tiny{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dutychips{flex:1;min-width:0;min-height:44px!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px;padding:4px 6px;border-radius:12px;background:#ffffff0f}.dchip{display:inline-flex;align-items:center;gap:3px;padding:3px 7px;border-radius:9px;background:#ff7a59d9;font:800 11.5px var(--ui);white-space:nowrap}.dchip+.dchip{background:#ffd23f8c;color:#1d1b24}.dchip+.dchip+.dchip{background:#2fd2c473;color:inherit}.dchip.free{background:#ffffff1a;color:var(--dim)}.dchip.deal{outline:2px dashed rgba(255,210,63,.9);outline-offset:1px}.dchip .dk,.dutyedit .dk{font-weight:900;opacity:.75;margin-left:2px}.dchip .pas,.dutyedit .pas{font-style:normal}.donly{font:800 10px var(--ui);color:var(--dim);text-transform:uppercase}.dedit{font-size:13px;opacity:.6;margin-left:2px}.dutyedit{padding:4px 6px 10px 42px;border-bottom:1px solid rgba(255,255,255,.07);display:flex;flex-direction:column;gap:6px}.dutyedit .drow{display:flex;align-items:center;gap:6px}.dutyedit .dn{width:18px;height:18px;border-radius:9px;background:#ffffff24;display:inline-flex;align-items:center;justify-content:center;font:800 11px var(--ui);flex:none}.dutyedit .dl{font:800 13px var(--ui);white-space:nowrap}.dutyedit .dodds{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dutyedit .drow .btn{min-width:40px}.dutyedit .dadd .chip{min-height:36px;padding:0 10px;font-size:12px}.dutyedit .dadd .chip:disabled{opacity:.4}.dutynone{display:flex;gap:6px;padding:2px 4px 6px;color:var(--dim)}.dutynone span{font-weight:800;color:#ffd23f}.todo-h{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:10px 2px 4px;font:800 14px var(--ui)}.todo-h:first-child{margin-top:0}.todo-h .cnt{background:var(--coral);color:#fff;border-radius:8px;padding:0 6px;font-size:11px}.todo-h .tiny{font-weight:600;opacity:.7}.todo-empty{opacity:.7;margin:2px 2px 6px}.goal-card{margin:6px 0;padding:6px}.goal-card.aching{border-left:3px solid #f2b950}.goal-card.done{opacity:.75}.goal-card.done .goal-title{color:#7dff9a}.goal-top{display:flex;align-items:center;gap:6px}.goal-main{flex:1;min-width:0;display:flex;align-items:center;gap:9px;text-align:left;min-height:44px;padding:2px 4px}.goal-ic{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.goal-tw{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.goal-title{font:800 13.5px/1.25 var(--ui)}.goal-prog{font:600 11.5px var(--ui);opacity:.8}.goal-prog b{color:#f2b950}.goal-bar{display:block;flex:none;height:5px;margin-top:3px;max-width:180px}.goal-bar>i{background:var(--accent)}.goal-chev{flex-shrink:0;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#ffffff29}.goal-chev svg,.goal .g-chev svg{width:22px;height:22px}.goal-pin{flex-shrink:0;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;opacity:.45}.goal-pin svg{width:18px;height:18px}.goal-pin.on{opacity:1;color:var(--accent);background:#ffffff1f}.goal-next{padding:0 6px 2px 47px;opacity:.75}.goal-steps{display:flex;flex-direction:column;gap:4px;padding:4px 2px 2px 6px}.goal-step{display:flex;align-items:center;gap:8px;min-height:36px}.goal-step .gs-mark{width:20px;height:20px;flex-shrink:0;border-radius:6px;border:2px solid rgba(255,255,255,.35);display:grid;place-items:center;font:900 12px var(--ui)}.goal-step.ok .gs-mark{background:#3fae6e;border-color:#3fae6e;color:#fff}.goal-step.ok .gs-l{opacity:.6;text-decoration:line-through}.goal-step.tip .gs-mark{border:none}.goal-step.next .gs-l{font-weight:800}.goal-step .gs-l{flex:1;min-width:0;font:600 12.5px/1.3 var(--ui)}.goal-step .gs-go{flex-shrink:0;min-height:34px}.chip.new{background:var(--accent);color:#1d1b24}.imenu{width:min(300px,calc(100vw - 16px));z-index:16;padding:10px}.imenu .im-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font:700 12.5px var(--ui);color:var(--dim);margin-bottom:8px}.imenu .im-head b{color:var(--text)}.imenu .im-sw{flex-shrink:0;min-height:34px;padding:0 11px;border-radius:11px;background:#ffffff24;font:800 12px var(--ui);color:var(--text)}.imenu .im-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.imenu .im-b{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:58px;padding:9px 12px;border-radius:14px;text-align:left;color:#1d1b24}.imenu .im-b b{font:900 16px var(--ui)}.imenu .im-b span{font:700 11px var(--ui);opacity:.75}.imenu .im-b.help{background:#7dff9a}.imenu .im-b.befriend{background:#ffd23f}.imenu .im-b.romance{background:#ff8fb8}.imenu .im-b.fight{background:#ff7a59}.imenu .im-rels{display:flex;flex-direction:column;gap:4px;margin:0 0 9px;padding:7px 8px;border-radius:12px;background:#ffffff12}.imenu .im-rel{display:grid;grid-template-columns:1fr 64px 28px;gap:6px;align-items:center;font:700 11.5px var(--ui)}.imenu .im-rl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.imenu .im-bar{position:relative;height:6px;border-radius:3px;background:#ffffff24}.imenu .im-bar:after{content:"";position:absolute;left:50%;top:-1px;bottom:-1px;width:1px;background:#fff6}.imenu .im-bar i{position:absolute;top:0;bottom:0;border-radius:3px}.imenu .im-rel b{font:900 11px var(--ui);text-align:right;font-variant-numeric:tabular-nums}.imenu .im-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.imenu .im-tags span{font:800 10.5px var(--ui);padding:2px 7px;border-radius:8px;background:#ff6f9f38;color:#ffc2d6}.coach{position:relative;outline:3px solid var(--accent)!important;outline-offset:-1px;animation:coachpulse 1s ease-in-out infinite;z-index:2}.coach:after{content:"Tap";position:absolute;top:3px;right:3px;font:900 10px/1 var(--ui);color:#1d1b24;background:var(--accent);padding:3px 6px;border-radius:8px;box-shadow:0 2px 6px #00000059;pointer-events:none;animation:coachtag 1s ease-in-out infinite}@keyframes coachpulse{0%,to{box-shadow:0 0 #ffd23fb3}50%{box-shadow:0 0 0 7px #ffd23f00}}@keyframes coachtag{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@media (prefers-reduced-motion: reduce){.coach,.coach:after{animation:none}}.goal-card.celebrate{position:relative;overflow:hidden;max-height:120px;background:#3fae6e59;outline:2px solid #7dff9a;animation:gcpop 2.6s ease-out forwards}.goal-card.celebrate .goal-title{color:#c8ffd6}.gc-stamp{flex-shrink:0;margin-right:6px;font:900 15px var(--ui);color:#10301a;background:#7dff9a;padding:6px 12px;border-radius:12px;transform:rotate(-6deg);animation:gcstamp .5s cubic-bezier(.2,1.6,.4,1) both .15s;box-shadow:0 3px 10px #0000004d}@keyframes gcpop{0%{transform:scale(.96)}12%{transform:scale(1.03)}22%{transform:scale(1)}75%{max-height:120px;opacity:1;margin:6px 0;padding:6px}to{max-height:0;opacity:0;margin:0;padding:0 6px}}@keyframes gcstamp{0%{transform:scale(2.4) rotate(-20deg);opacity:0}to{transform:scale(1) rotate(-6deg);opacity:1}}.confetti{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}.confetti i{position:absolute;width:7px;height:4px;border-radius:1px;background:var(--c);opacity:0;animation:confetti 1.3s ease-out forwards .1s}@keyframes confetti{0%{opacity:1;transform:rotate(var(--a)) translate(0) rotate(0)}70%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translate(calc(var(--d) * 2.6)) translateY(18px) rotate(var(--r))}}.goal-toast{position:absolute;left:50%;top:calc(var(--sat) + 56px);transform:translate(-50%);z-index:18;display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border-radius:18px;background:#1e6e46eb;border-color:#7dff9a;min-width:230px;max-width:calc(100% - 32px);animation:gtin .45s cubic-bezier(.2,1.5,.4,1);pointer-events:none}.goal-toast .gt-t{display:flex;flex-direction:column;min-width:0;flex:1}.goal-toast .gt-t b{font:900 11px var(--ui);letter-spacing:.5px;text-transform:uppercase;color:#c8ffd6}.goal-toast .gt-t span{font:800 14px/1.25 var(--ui)}.goal-toast .gt-check{width:30px;height:30px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#7dff9a;color:#10301a}.goal-toast .gt-check svg{width:18px;height:18px}.goal-toast.out{transition:transform .4s ease-in,opacity .4s;transform:translate(-50%) translateY(-20px);opacity:0}@keyframes gtin{0%{transform:translate(-50%) translateY(-24px) scale(.8);opacity:0}to{transform:translate(-50%) translateY(0) scale(1);opacity:1}}@media (prefers-reduced-motion: reduce){.goal-card.celebrate,.gc-stamp,.confetti i,.goal-toast{animation:none}.confetti{display:none}}body:has(.goal-toast) .minicard{visibility:hidden}.stay-list{display:flex;flex-direction:column;gap:6px;margin:10px 0 12px}.stay-row{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:inherit;text-align:left;min-height:48px}.stay-row .who{flex:1;min-width:0;display:flex;flex-direction:column}.stay-row .mini-portrait{flex:none}.stay-row small{opacity:.7;font-size:12px}.stay-row i{font-style:normal;font-size:12px;font-weight:700;padding:4px 8px;border-radius:999px;background:#ffffff14}.stay-row.on{border-color:#7dff9a;background:#7dff9a1a}.stay-row.on i{background:#7dff9a;color:#10301a}.choice .opt:disabled{opacity:.45}.ord-gets{display:flex;gap:2px;opacity:.85}.ord-gets img{width:16px;height:16px}.sheet.sheet-people{max-height:46vh}button.rc{border:0;color:inherit;cursor:pointer;min-height:0}.rename{font-size:14px;min-height:0!important;width:28px;height:28px;border-radius:50%;background:#ffffff1a;color:var(--text);vertical-align:middle}.rename-in{width:100%;box-sizing:border-box;font:700 16px var(--ui);padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:#00000040;color:var(--text);margin:6px 0 2px}.threat.threat-act{top:calc(var(--sat) + 96px);background:#e67828eb;padding:8px 14px}.tierrow{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}.tierrow .chip.locked{opacity:.5;display:inline-flex;align-items:center;gap:3px}.prod-row{padding:8px}.prod-row.behind{box-shadow:inset 3px 0 #e8543a}.prod-bar{display:block;height:5px;margin-top:4px}.prod-bar>i{background:var(--accent)}.prod-row.behind .prod-bar>i{background:#e8543a}.prod-n{min-width:44px;text-align:center;font-size:13px}.prod-why{margin-top:5px;color:#ffb4a3}.prod-src{margin-top:6px;width:100%;justify-content:center}.gather-pop{margin-top:6px;padding:8px;border-radius:10px;background:#00000038}.gather-pop .gp-h{gap:6px;align-items:center;margin:2px 0 4px}.gather-pop .gp-opts{gap:6px;flex-wrap:wrap;margin-bottom:6px}.gather-pop .gp-opts .btn{min-height:36px;flex:1 1 auto}.gather-pop .gp-opts .btn .tiny{color:inherit;opacity:.7;margin-left:3px}.gather-pop .gp-left{opacity:.85}.quickg{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.qg{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px;border-radius:12px;background:#ffffff1a;font:700 11px var(--ui);min-height:52px}.qg:active{background:#ffd23f66}.hunt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:6px;margin-top:8px}.hunt-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px 6px;border-radius:12px;background:#ffffff14;min-height:44px;font-size:12px}.hunt-tile b{font-size:12.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hunt-tile .tiny{font-size:10px;opacity:.75;white-space:nowrap}.hunt-tile.on{background:#ffd23f40;outline:2px solid rgba(255,210,63,.85)}.hunt-tile[disabled]{opacity:.4}.hunt-badge{position:absolute;top:4px;right:4px;min-width:18px;height:18px;border-radius:9px;background:#ffd23f;color:#1d1b24;display:grid;place-items:center;font:800 11px var(--ui);padding:0 2px}.hunt-loadout{display:flex;flex-direction:column;gap:4px;margin-top:8px}.hunt-line{display:flex;align-items:center;gap:6px}.hunt-arms{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}.hunt-arms .chip{flex:none;display:inline-flex;align-items:center;gap:4px;padding:4px 9px;min-height:30px;font-size:11.5px}.mu{font-style:normal;font-size:9px;line-height:1;margin-left:1px}.mu.good:before{content:"▲";color:#7dff9a}.mu.ok:before{content:"●";color:#c8c2b6}.mu.poor:before{content:"▼";color:#ff8a7a}.hunt-odds{margin-top:8px;padding-top:6px;padding-bottom:8px}.hunt-odd{display:grid;grid-template-columns:7.8em 1fr 2.6em;align-items:center;gap:8px;font-size:12px;margin-top:4px}.hunt-odd b{text-align:right}.hunt-srcs{display:flex;flex-direction:column;gap:4px;margin-top:8px}.hunt-src{display:flex;align-items:center;gap:6px;padding:6px 8px;min-height:36px;border-radius:10px;background:#ffffff0f;font-size:12px;text-align:left}.plan-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:3px;margin-top:6px}.plan-h{height:30px;border-radius:6px;border:0;font-size:10px;font-weight:700;color:#1d1b24;padding:0;display:grid;place-items:center}.plan-h.W{background:#ffd23f}.plan-h.F{background:#7dff9a}.plan-h.S{background:#6f7dbd;color:#fff}.plan-h.now{outline:2px solid #fff;outline-offset:1px}.pk{padding:0 4px;border-radius:4px;color:#1d1b24}.pk.W{background:#ffd23f}.pk.F{background:#7dff9a}.pk.S{background:#6f7dbd;color:#fff}.pas.love{color:#ff5d8f}.pas.hate{color:#f4f1ea}.dchip .pas{font-size:11px;text-shadow:0 0 2px #1d1b24,0 0 2px #1d1b24}.choice .opt-trip{padding:9px 12px}.choice .opt-trip b{margin-bottom:5px}.choice .opt .tchips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:var(--fg, #f4f1ea)}.choice .opt .tc{display:inline-flex;align-items:center;gap:4px;font:800 12px var(--ui);font-style:normal;background:#00000040;border-radius:9px;padding:3px 7px}.choice .opt .tc.risk.lo{color:#7ee08a}.choice .opt .tc.risk.mid{color:#ffd23f}.choice .opt .tc.risk.hi{color:#ff7a59}.choice .opt .tc.loot{gap:2px}.choice .opt .tc.loot.thin img{opacity:.55}.choice .opt .tc small{font:700 10px var(--ui);color:var(--dim);margin-left:3px}.choice .arrive{display:grid;gap:6px;margin:8px 0 4px}.choice .arrow{display:flex;gap:8px;align-items:flex-start}.choice .alab{flex:0 0 52px;font:800 11px var(--ui);text-transform:uppercase;letter-spacing:.06em;color:var(--dim);padding-top:5px}.choice .arrive .tchips{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.choice .arrive .tc{display:inline-flex;align-items:center;gap:5px;font:700 12px var(--ui);font-style:normal;background:#00000040;border-radius:9px;padding:3px 8px}.choice .arrive .tc.need.parched,.choice .arrive .tc.need.hurt{color:#ff9a7a}.choice .arrive .tc.need.sick{color:#ffd23f}.choice .arrive .tc.need.fine{color:#7ee08a}.alert-more{display:block;margin:4px auto 2px}.prod-h{display:flex;align-items:baseline;gap:8px;margin:12px 2px 2px;font:800 13px var(--ui)}.prod-h .tiny{font-weight:600;opacity:.65}.prod-sub{display:block;opacity:.7;line-height:1.25;margin-top:1px}.prod-ease{margin-top:5px;opacity:.75}.prod-note{margin:6px 2px 0;opacity:.85}.prod-more{display:block;margin:12px auto 0}.gd-open{width:100%;gap:10px;margin-bottom:10px}.gd-help{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:4px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:#ffffff14;color:inherit;font:700 13px/1 inherit;vertical-align:middle;cursor:pointer}.gd-search{display:flex;gap:6px;margin-bottom:8px}.gd-search input{flex:1;min-width:0;padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:#00000040;color:inherit;font-size:16px}.gd-blurb{margin:0 2px 8px}.gd-entry{padding:0;overflow:hidden}.gd-head{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:none;border:0;color:inherit;text-align:left;cursor:pointer;min-height:44px}.gd-t{flex:1;min-width:0;font-weight:700;font-size:14px}.gd-chev{font-size:18px;opacity:.6;width:16px;text-align:center}.gd-body{padding:0 12px 12px;display:flex;flex-direction:column;gap:8px}.gd-body p{margin:0;line-height:1.45}.gd-facts{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:4px 10px;margin:0;font-size:12px}.gd-facts dt{opacity:.7}.gd-facts dd{margin:0;font-weight:600;min-width:0;overflow-wrap:anywhere}.gd-tw{overflow-x:auto;max-width:100%}.gd-tab{border-collapse:collapse;font-size:12px;width:100%;font-variant-numeric:tabular-nums}.gd-tab th{text-align:left;font-weight:600;opacity:.7;padding:3px 8px 3px 0;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.15)}.gd-tab td{padding:3px 8px 3px 0;border-bottom:1px solid rgba(255,255,255,.06)}.gd-camp{padding:8px 10px;border-radius:10px;background:#ffd2501a;border:1px solid rgba(255,210,80,.25);display:flex;flex-direction:column;gap:2px}.gd-see{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.gd-see .chip{cursor:pointer;border:0;font:inherit;font-size:12px}.gd-unfound{text-align:center;opacity:.6;margin:10px 0 4px}.choice .opt-trip .tstory{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px;font-size:11.5px;line-height:1.35;color:var(--dim);font-style:italic}.choice .opt-trip .tc.more{color:#9be564}.choice .opt-trip .tc.fewer{color:var(--dim)}.speed button.spd{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0;width:30px}.spd i{display:block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor;margin-left:-1px}.spd i:first-child{margin-left:0}.asp-card{padding:8px 10px;margin-bottom:8px;display:flex;flex-direction:column;gap:3px}.asp-step.done{opacity:.6}.asp-perk{margin-top:3px;opacity:.85;font-style:italic}.trip-sup{display:flex;align-items:center;gap:6px;padding:3px 0}.trip-sup>span:first-child{flex:1;display:flex;align-items:center;gap:6px;font-size:13px}.trip-sup b{min-width:22px;text-align:center}.trip-sup .btn.sm{min-width:34px;min-height:30px}.trip-sup .tiny{min-width:64px;text-align:right}.trip-row{margin:0 0 6px}.trip-where{margin-bottom:8px}.trip-len{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:6px}.trip-len-b{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:8px;border-radius:10px;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);color:inherit;font:inherit;min-height:44px}.trip-len-b.on{background:#ffd23f2e;border-color:#ffd23f}.trip-len-b b{font-size:13px}.topbar .clock{flex-shrink:0;white-space:nowrap}@media (max-width: 375px){.topbar{gap:4px}.speed button{width:26px}.speed button.spd{width:27px}.spd i{border-top-width:4.5px;border-bottom-width:4.5px;border-left-width:7px}.clock{padding:3px 5px 3px 4px;gap:3px}.reschip{gap:5px;padding:0 7px 0 5px}}.trip-row.flash{animation:tripflash 1.4s ease-out}@keyframes tripflash{0%,40%{box-shadow:0 0 0 2px #ffd23f}to{box-shadow:0 0 0 2px #ffd23f00}}.sitemap{position:relative;width:100%;aspect-ratio:176 / 120;margin:6px 0 8px;border-radius:6px;background-size:100% 100%;image-rendering:pixelated;overflow:hidden;box-shadow:0 3px 10px #00000059}.sitemap svg{position:absolute;inset:0;width:100%;height:100%}.sitemap line{stroke:#4a3a2a;stroke-width:2;stroke-dasharray:2 5;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.75}.sitemap line.sm-done{stroke:#b8402c;stroke-dasharray:none;opacity:1;stroke-width:3.5}.sm-node{position:absolute;transform:translate(-50%,-14px);display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center;max-width:34%;pointer-events:none}.sm-node b,.sm-node .tiny,.sm-icons{background:#f4e6c4eb;color:#2a2118;padding:0 4px}.sm-node b{font-size:11px;line-height:1.25;border-radius:4px 4px 0 0;border:1px solid #4a3a2a;border-bottom:0}.sm-node .tiny{font-size:9.5px;line-height:1.2;opacity:1;border-left:1px solid #4a3a2a;border-right:1px solid #4a3a2a}.sm-icons{display:flex;gap:2px;border:1px solid #4a3a2a;border-top:0;border-radius:0 0 4px 4px;padding-bottom:1px}.sm-node .tiny:last-child,.sm-node .tiny:has(+.sm-prog),.sm-node .tiny:has(+.sm-team),.sm-node .tiny:has(+.sm-tag){border-bottom:1px solid #4a3a2a;border-radius:0 0 4px 4px}.sm-dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;color:#fff6d6;background:var(--site);border:2px solid #1d1b24;box-shadow:inset -2px -3px #00000040,inset 2px 2px #ffffff59;margin-bottom:2px}.sm-dot.amber,.sm-dot.red,.sm-dot.green{background:var(--site)}.sm-dot.red{box-shadow:inset -2px -3px #00000040,inset 2px 2px #ffffff59,0 0 0 2px #d9412f}.sm-dot.gate{background:#4a3a2a}.sm-node.unknown .sm-dot{background:#6a6076}.sm-node.clean{opacity:.55}.sm-node.goal .sm-dot{background:#ffd23f;color:#1d1b24}.sm-node.here .sm-dot{animation:sm-here 1.4s ease-in-out infinite}@keyframes sm-here{50%{box-shadow:0 0 0 7px #b8402c59}}.sm-team{display:flex;gap:1px;margin-top:2px}.sm-prog{width:50px;height:5px;border-radius:3px;background:#2a211859;overflow:hidden;margin-top:1px}.sm-prog i{display:block;height:100%;background:#b8402c}.sm-walk{position:absolute;transform:translateY(-130%);display:flex;flex-direction:column;align-items:flex-start;gap:1px;pointer-events:none}.sm-walk .tiny{font-size:9.5px;background:#f4e6c4eb;color:#2a2118;padding:0 3px;border-radius:3px}.bb-mini{display:flex;gap:2px;margin-top:2px;padding:2px 3px;border-radius:4px;background:#f4e6c4eb;border:1px solid #4a3a2a}.bb-mini i{width:6px;height:5px;border-radius:1px;background:#2a211840}.bb-mini i.done{background:#b8402c}.bb-mini i.now{background:#ffd23f;animation:bb-now 1s ease-in-out infinite}@keyframes bb-now{50%{opacity:.35}}.bbar{position:relative;height:44px;margin:18px 8px 2px}.bb-track{position:absolute;left:0;right:0;top:9px;height:6px;border-radius:3px;background:#2a211833;overflow:hidden}.bb-track i{display:block;height:100%;background:#b8402c}.bb-pt{position:absolute;top:0;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:1px}.bb-pt b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;color:#6a5a48;background:#f4e6c4;border:2px solid #4a3a2a}.bb-pt.done b{background:#fff6d6;color:#b8402c;border-color:#b8402c}.bb-l{font-size:9.5px;font-weight:800;color:#4a3a2a;white-space:nowrap}.bb-faces{position:absolute;top:-18px;transform:translate(-50%);display:flex;gap:1px}button.sm-node{background:none;border:0;padding:4px;margin:0;color:inherit;font:inherit;pointer-events:auto;cursor:pointer;border-radius:12px;min-width:44px;min-height:44px}button.sm-node:active{background:#ffffff14}.sm-node.picked .sm-dot,.sm-node.tap .sm-dot{box-shadow:0 0 0 3px var(--site)}.sm-tag{margin-top:2px;padding:1px 6px;border-radius:8px;font-size:9.5px;font-weight:900;background:var(--site);color:#10161e}.sm-tag.go{background:#ffd23f}.sm-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-4px 0 8px;font-size:12px;opacity:.9}.sitemap button.sm-node{padding:0;min-width:44px;min-height:40px}.sm-node b{border:1px solid #4a3a2a;border-radius:4px}.sm-node.sel .sm-dot{box-shadow:0 0 0 3px #fff6d6,0 0 0 5px #b8402c}.sm-node.go .sm-dot{box-shadow:0 0 0 3px #ffd23f}.sm-detail{margin:-2px 0 8px;padding:8px 10px;border-radius:10px;background:#f4e6c4f2;color:#2a2118;border:2px solid #4a3a2a}.sm-detail .tiny{color:#4a3a2a;opacity:1;margin-top:1px}.sm-icons2{display:flex;gap:3px;margin-top:4px}.mods .mod-intro{margin:2px 0 4px;line-height:1.4}.mods .mod-row{margin-top:8px;padding:10px;border-radius:14px}.mods .mod-row.blocked{box-shadow:inset 0 0 0 1px #ff7a598c}.mods .mod-name{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-width:0}.mods .mod-name b{font:800 15px var(--ui);overflow-wrap:anywhere}.mods .mod-badge{margin-left:auto;font:800 11px var(--ui);padding:3px 8px;border-radius:10px;background:#ffffff1f;color:var(--dim)}.mods .mod-badge.ok{background:#7dff9a2e;color:#7dff9a}.mods .mod-badge.bad{background:#ff7a5933;color:#ff9a8a}.mods .mod-acts{margin-top:6px}.mods .mod-acts .btn{min-width:40px}.mods .mod-errs,.mods .mod-warns{margin-top:8px;padding:8px 10px;border-radius:10px;font:600 12.5px/1.4 var(--ui);overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}.mods .mod-errs{background:#ff5a4a24;color:#ffc2b8}.mods .mod-warns{background:#ffd23f1f;color:#ffe7a0}.mods .mod-errs div+div,.mods .mod-warns div+div{margin-top:4px}.mods .mod-file{display:inline-flex;align-items:center;cursor:pointer}.mods .mod-paste{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:8px;border-radius:10px;border:1px solid var(--line);background:#0000004d;color:inherit;font:12px/1.35 ui-monospace,Menlo,monospace;resize:vertical}.previewing .hud{display:none}.preview-bar{position:absolute;left:calc(var(--sal) + 10px);right:calc(var(--sar) + 10px);top:calc(var(--sat) + 10px);z-index:40;display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;border-radius:14px;background:#14202ceb;box-shadow:0 6px 20px #00000073}.preview-bar .small{flex:1;color:var(--text)}.preview-bar .btn{min-height:44px;flex-shrink:0}.minimap{position:absolute;right:calc(var(--sar) + 52px);bottom:calc(var(--sab) + 72px);padding:3px;border-radius:12px;z-index:3;box-shadow:0 4px 14px #00000059}.minimap[hidden],.mm-open[hidden]{display:none}.mm-map{position:relative;border-radius:9px;overflow:hidden;background:#14303d}.mm-map canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.mm-map .mm-ground{image-rendering:pixelated}.mm-map .mm-over{cursor:pointer;touch-action:none}.mm-btn{position:absolute;top:-9px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--glass-strong);border:1px solid var(--line);color:var(--text);padding:0;z-index:1}.mm-btn svg{width:14px;height:14px}.minimap .mm-fold{left:-6px}.minimap .mm-grow{right:-9px}.mm-open{position:absolute;left:calc(var(--sal) + 8px);bottom:calc(var(--sab) + 70px);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;z-index:3}.mm-open svg{width:18px;height:18px}.mm-big{background:#050f14b3;padding:calc(var(--sat) + 12px) 10px calc(var(--sab) + 12px)}.mm-card{position:relative;padding:5px;border-radius:16px;animation:up .16s ease-out}.mm-card .mm-map{border-radius:12px}.mm-card .mm-shut{top:-8px;right:-5px;width:36px;height:36px}.mm-card .mm-shut svg{width:18px;height:18px}.ed .ed-tabs{display:flex;gap:6px;padding:8px max(12px,var(--sar)) 0 max(12px,var(--sal));flex-shrink:0}.ed .ed-tb{flex:1;min-height:40px;border-radius:12px;background:#ffffff1a;font:800 13px var(--ui);display:flex;align-items:center;justify-content:center;gap:6px}.ed .ed-tb.on{background:var(--accent);color:#1d1b24}.ed .st-toast{top:auto;bottom:calc(var(--sab) + 18px)}.ed .ed-cnt{font:800 11px var(--ui);min-width:18px;padding:1px 5px;border-radius:9px;background:#00000040}.ed .ed-cnt.bad{background:var(--bad);color:#fff}.ed .ed-note{padding:6px max(12px,var(--sar)) 6px max(12px,var(--sal));line-height:1.35;flex-shrink:0}.ed .ed-main{flex:1;min-height:0;display:flex}.ed .ed-pane{display:none;flex:1;min-width:0;overflow-y:auto;padding:4px max(12px,var(--sar)) 16px max(12px,var(--sal));-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.ed .ed-pane.on{display:block}.ed input,.ed textarea,.ed select{user-select:text;-webkit-user-select:text}.ed .ed-in{width:100%;min-height:36px;padding:7px 9px;border-radius:10px;border:1px solid var(--line);background:#ffffff14;color:var(--text);font:600 13px var(--ui)}.ed select.ed-in{background:#133240}.ed textarea.ed-in{resize:vertical;line-height:1.35}.ed .ed-json{font:11.5px/1.4 ui-monospace,Menlo,monospace}.ed .ed-num{width:92px;flex:0 0 auto}.ed .ed-inline{display:flex;gap:6px;align-items:center;margin:6px 0}.ed .ed-inline .ed-in{flex:1;min-width:0}.ed .ed-boardfoot{margin-top:10px}.ed .ed-newform{padding:8px 10px;border-radius:14px}.ed .ed-newform .ed-inline{flex-wrap:wrap}.ed .ed-newform select{flex:1 1 140px}.ed .ed-newform input{flex:2 1 140px}.ed .ed-cols{display:flex;gap:8px;overflow-x:auto;align-items:flex-start;scroll-snap-type:x mandatory;padding-bottom:6px;touch-action:pan-x pan-y;overscroll-behavior-x:contain}.ed .ed-col{flex:0 0 min(76vw,280px);scroll-snap-align:start;border-radius:16px;padding:8px;min-width:0}.ed .ed-col.over{outline:2px dashed var(--accent)}.ed .ed-addcol{background:none;border:1px dashed var(--line);display:flex;flex-direction:column;justify-content:center;min-height:80px}.ed .ed-colh{display:flex;align-items:center;gap:6px;margin-bottom:6px}.ed .ed-colh img{image-rendering:pixelated}.ed .ed-colh b{flex:1;font:800 15px var(--ui);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed .ed-ib{min-width:40px;min-height:40px;border-radius:10px;background:#ffffff14;font-size:15px}.ed .ed-list{display:flex;flex-direction:column;gap:4px;min-height:40px}.ed .ed-tile{display:flex;align-items:center;gap:6px;padding:4px 8px 4px 0;border-radius:12px;background:#ffffff12;min-height:44px;cursor:pointer;user-select:none;-webkit-user-select:none}.ed .ed-tile.sel{outline:2px solid var(--accent);background:#ffd23f1f}.ed .ed-tile.hid{opacity:.55}.ed .ed-tile.dragging{opacity:.3}.ed .ed-tile img{width:34px;height:34px;image-rendering:pixelated;flex-shrink:0;pointer-events:none}.ed .ed-grip{align-self:stretch;width:30px;display:grid;place-items:center;color:var(--dim);font:900 14px var(--ui);letter-spacing:-2px;touch-action:none;cursor:grab;flex-shrink:0}.ed .ed-tn{flex:1;min-width:0;font:700 13px var(--ui);display:flex;flex-wrap:wrap;gap:4px;align-items:center}.ed .ed-tag{font:800 9.5px var(--ui);text-transform:uppercase;letter-spacing:.04em;padding:2px 5px;border-radius:6px;background:#ffffff24;color:var(--dim)}.ed .ed-tag.star{background:#ffd23f38;color:#ffe7a0}.ed .ed-tag.new{background:#7dff9a33;color:#7dff9a}.ed .ed-empty{padding:10px 4px}.ed .ed-drop{height:4px;border-radius:2px;background:var(--accent);margin:-2px 0}.ed .ed-ghost{position:fixed;left:0;top:0;z-index:60;pointer-events:none;opacity:.92;box-shadow:0 10px 26px #00000080;background:#1d4352}.ed .ed-kinds{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 8px}.ed .ed-kinds .chip{padding:8px 12px;font-size:12px;min-height:36px}.ed .ed-search{margin-bottom:6px}.ed .ed-rows{display:flex;flex-direction:column;gap:3px}.ed .ed-rows.short{max-height:30vh;overflow-y:auto;margin-bottom:8px}.ed .ed-row{display:flex;align-items:center;gap:8px;text-align:left;padding:6px 8px;border-radius:10px;background:#ffffff0f;min-height:40px;font-size:13px}.ed .ed-row img{image-rendering:pixelated}.ed .ed-row.sel{outline:2px solid var(--accent)}.ed .ed-back{margin:2px 0 8px}.ed .ed-head{display:flex;gap:10px;align-items:center}.ed .ed-big{width:72px;height:72px;image-rendering:pixelated;border-radius:14px;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f);flex-shrink:0}.ed .ed-bigi{width:72px;height:72px;display:grid;place-items:center;border-radius:14px;background:#ffffff14;flex-shrink:0}.ed .ed-bigi img{width:48px;height:48px;image-rendering:pixelated}.ed .ed-hname{min-width:0}.ed .ed-h{font:900 20px var(--ui);overflow-wrap:anywhere}.ed .ed-id{font-family:ui-monospace,Menlo,monospace}.ed .ed-src{display:inline-block;margin:3px 4px 0 0;font:800 10.5px var(--ui);padding:2px 7px;border-radius:8px;background:#ffffff1f}.ed .ed-src.mod{background:#2fd2c438}.ed .ed-src.draft{background:#7dff9a38;color:#c9ffd5}.ed .ed-src.ed{background:#ffd23f2e;color:#ffe7a0}.ed .ed-moveto{display:flex;align-items:center;gap:4px}.ed .ed-moveto select{width:auto;min-width:110px}.ed .ed-states{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.ed .ed-state{margin:0;flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:2px;position:relative}.ed .ed-state img{width:76px;height:76px;image-rendering:pixelated;border-radius:12px;background:radial-gradient(circle at 50% 40%,#8fd3dc,#2a7f8f)}.ed .ed-state.damaged img{filter:saturate(.6) brightness(.85)}.ed .ed-hp{position:absolute;left:8px;right:8px;top:64px;height:5px;border-radius:3px;background:#00000080;overflow:hidden}.ed .ed-hp b{display:block;height:100%;background:var(--bad)}.ed .ed-field{margin:8px 0}.ed .ed-lbl{display:flex;align-items:center;gap:8px;font:700 12.5px var(--ui);min-height:32px}.ed .ed-lbl>span:first-child{flex:0 0 auto;min-width:92px;color:var(--text)}.ed .ed-lbl .ed-in{flex:1;min-width:0}.ed .ed-lbl .ed-num{flex:0 0 92px}.ed .ed-x{min-width:36px;min-height:36px;border-radius:10px;background:#ffffff14;font:800 16px var(--ui);margin-left:auto;flex-shrink:0}.ed .ed-tog{min-width:64px;min-height:36px;border-radius:10px;background:#ffffff1f;font:800 12px var(--ui)}.ed .ed-tog.on{background:#7dff9a4d}.ed .ed-help{font-size:11px;color:var(--dim);line-height:1.35;margin-top:2px}.ed .ed-range{white-space:nowrap}.ed .ed-ferr{margin-top:4px;padding:5px 8px;border-radius:8px;background:#ff5a4a2e;color:#ffc2b8;font:600 12px/1.35 var(--ui)}.ed .ed-eff{margin:4px 0 6px;padding:6px 9px;border-radius:10px;background:#2fd2c41a;font:600 12px/1.4 var(--ui);color:#cdf6f1}.ed .ed-sub{margin:8px 0;padding:6px 8px;border-left:2px solid var(--line)}.ed .ed-map{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.ed .ed-mapr{display:flex;align-items:center;gap:4px;padding:2px 2px 2px 8px;border-radius:10px;background:#ffffff0f;font:700 12px var(--ui)}.ed .ed-mapr .ed-num{width:64px}.ed .ed-add{width:auto;min-width:90px}.ed .ed-tuple{display:flex;gap:4px;flex-wrap:wrap}.ed .ed-tuple .ed-num{width:72px}.ed .ed-adds{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}.ed .ed-addf{min-height:32px;padding:5px 9px}.ed .ed-trait{margin:8px 0;padding:8px 10px;border-radius:14px}.ed .ed-trait.new{box-shadow:inset 0 0 0 1px #7dff9a80}.ed .ed-trait>.ed-lbl b{font:800 14px var(--ui)}.ed .ed-rmt{margin-left:auto}.ed .ed-addtrait{display:flex;flex-direction:column;gap:4px;margin:8px 0}.ed .ed-acts{display:flex;flex-direction:column;gap:5px}.ed .ed-act{padding:7px 9px;border-radius:10px;background:#ffffff0f}.ed .ed-act.new{box-shadow:inset 0 0 0 1px #7dff9a80}.ed .ed-act.gone{opacity:.6}.ed .ed-reads code{font:10.5px ui-monospace,Menlo,monospace;background:#00000040;padding:1px 4px;border-radius:5px}.ed .ed-line{margin:4px 0;line-height:1.45;color:var(--text)}.ed .ed-link{color:var(--accent);font:inherit;text-decoration:underline;text-underline-offset:2px;min-height:28px}.ed .ed-adv{margin-top:14px}.ed .ed-adv textarea{margin-top:6px}.ed .mod-errs,.ed .mod-warns{margin-top:8px;padding:8px 10px;border-radius:10px;font:600 12.5px/1.4 var(--ui);overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}.ed .mod-errs{background:#ff5a4a24;color:#ffc2b8}.ed .mod-warns{background:#ffd23f1f;color:#ffe7a0}.ed .mod-errs div+div,.ed .mod-warns div+div{margin-top:4px}.ed .ed-meta{display:grid;gap:4px}.ed .ed-meta .ed-lbl>span:first-child{min-width:64px}.ed .ed-status{margin:10px 0 4px;padding:8px 10px;border-radius:12px;background:#7dff9a1f;font:600 13px/1.4 var(--ui)}.ed .ed-status.bad{background:#ff5a4a29}.ed .ed-changes{display:flex;flex-direction:column;gap:5px}.ed .ed-change{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 10px;border-radius:12px}.ed .ed-change .small{flex:1;color:var(--text);overflow-wrap:anywhere}.ed .ed-n{min-width:16px}.ed .ed-dacts .btn{flex:1 1 auto}@media (min-width: 900px){.ed .ed-tb-board{display:none}.ed .ed-pane.ed-board{display:block;flex:1 1 auto}.ed.p-board .ed-insp,.ed.p-inspect .ed-insp,.ed.p-draft .ed-draft{display:block;flex:0 0 min(460px,42vw);border-left:1px solid var(--line)}.ed .ed-cols{scroll-snap-type:none}.ed .ed-col{flex:0 0 186px}.ed .ed-tile{min-height:40px}}.ed .ed-pane.ed-graph.on{display:flex;flex-direction:column;overflow:hidden;padding-bottom:max(8px,var(--sab))}.ed .gr-top{flex-shrink:0;display:flex;flex-direction:column;gap:5px;margin-bottom:6px}.ed .gr-bar{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.ed .gr-search{flex:1 1 140px;width:auto}.ed .gr-hops{display:flex;gap:3px}.ed .gr-hops .btn,.ed .gr-probbtn{min-height:36px}.ed .gr-probbtn.bad:not(.primary){color:#ffc2b8}.ed .gr-probbtn.good:not(.primary){color:#a8ffbc}.ed .gr-hits{display:flex;flex-wrap:wrap;gap:4px}.ed .gr-hit{display:flex;align-items:center;gap:5px;min-height:36px;padding:4px 10px;border-radius:10px;background:#ffffff1a;font:700 12.5px var(--ui)}.ed .gr-hit i,.ed .gr-other i,.ed .gr-prob i{width:10px;height:10px;border-radius:3px;flex-shrink:0;display:inline-block}.ed .gr-chips,.ed .gr-crumbs{display:flex;gap:5px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}.ed .gr-chip{flex:0 0 auto;display:flex;align-items:center;gap:5px;min-height:34px;padding:5px 10px;font-size:12px;white-space:nowrap}.ed .gr-chip:not(.on)[data-act=g-kind]{opacity:.5}.ed .gr-crumb{flex:0 0 auto;min-height:32px;padding:4px 10px;border-radius:9px;background:#ffffff12;font:700 12px var(--ui);white-space:nowrap}.ed .gr-crumb.on{background:#ffd23f33;color:#ffe7a0}.ed .gr-sep{align-self:center;color:var(--dim)}.ed .gr-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.ed .gr-stage{flex:1 1 auto;min-height:220px;position:relative;overflow:hidden;border-radius:14px;background:#0003;touch-action:none;cursor:grab}.ed .gr-stage:active{cursor:grabbing}.ed .gr-svg{width:100%;height:100%;display:block;user-select:none;-webkit-user-select:none}.ed .gr-zoom{position:absolute;right:8px;bottom:8px;display:flex;flex-direction:column;gap:4px}.ed .gr-zoom .btn{min-width:40px;min-height:40px;font-size:18px;padding:0}.ed .gr-banner{position:absolute;left:8px;right:8px;top:8px;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 10px;border-radius:12px;background:#1d4352f2;box-shadow:0 4px 14px #0006}.ed .gr-banner .small{flex:1;color:var(--text)}.ed .gr-hidden{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 70px);min-height:36px;background:#1d4352f2;font-size:12px}.ed.p-graph .ed-note{display:none}.ed .gr-card{flex:0 0 auto;max-height:36%;overflow-y:auto;padding:8px 10px;border-radius:14px;-webkit-overflow-scrolling:touch;touch-action:pan-y}.ed .gr-head{margin-bottom:4px}.ed .gr-hico{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;border:2px solid var(--c);background:#ffffff0f;flex-shrink:0}.ed .gr-hico img{image-rendering:pixelated}.ed .gr-pick{display:flex;flex-direction:column;gap:3px;margin:6px 0}.ed .gr-edge{display:flex;align-items:center;gap:6px;min-height:40px;padding:2px 0;border-bottom:1px solid rgba(255,255,255,.06);flex-wrap:wrap}.ed .gr-edge.flash{animation:gr-flash 1.2s ease-out}@keyframes gr-flash{0%{background:#ffd23f4d}to{background:transparent}}.ed .gr-ek{flex:0 0 78px}.ed .gr-other{display:flex;align-items:center;gap:5px;text-align:left;flex:1 1 auto;min-width:0;min-height:36px}.ed .gr-amt{width:64px;flex:0 0 64px;min-height:34px}.ed .gr-prob{display:flex;gap:8px;align-items:flex-start;width:100%;text-align:left;margin:5px 0;padding:7px 9px;border-radius:10px;background:#ff5a4a1f}.ed .gr-prob i{margin-top:4px}.ed .ed-ib.on{background:#ffd23f40}.ed .ed-tmoves .tiny{flex:1}.ed .ed-tmoves .btn{flex:0 0 auto}.ed .gn{cursor:pointer}.ed .gn .gs{fill:#123341;stroke:var(--c);stroke-width:2}.ed .gn text{fill:#eef6f8;font:700 11.5px var(--ui);pointer-events:none}.ed .gn .gdot{fill:var(--c)}.ed .gn.k-action .gs{stroke-dasharray:5 3}.ed .gn.k-source .gs{stroke-dasharray:7 3}.ed .gn.sel .gs{fill:#245566;stroke-width:4}.ed .gn.hit .gs{fill:#4a4214;stroke-width:3.5}.ed .gn.dim{opacity:.28}.ed .gn.can .gs{fill:#1d4a2b;stroke-width:3}.ed .gn.bad .gs{stroke:#ff5a4a;stroke-width:3}.ed .gbad circle{fill:#ff5a4a}.ed .gbad text{fill:#fff;font:900 11px var(--ui)}.ed .ge{fill:none;stroke:#fff3;stroke-width:1.3}.ed .ge.e-costs,.ed .ge.e-consumes,.ed .ge.e-fuel,.ed .ge.e-experiment{stroke:#facc154d}.ed .ge.e-unlocks,.ed .ge.e-leads_to,.ed .ge.e-lights,.ed .ge.e-rebuild_research{stroke:#a78bfa66}.ed .ge.e-produces,.ed .ge.e-made_at,.ed .ge.e-makes{stroke:#fb923c66}.ed .ge.near{stroke-width:2.2;filter:brightness(1.8)}.ed .ge.far{opacity:.45}.ed .garrow{fill:#ffffff8c}.ed .gl{cursor:pointer}.ed .gl rect{fill:#0c2630;stroke:#ffffff2e}.ed .gl text{fill:#bcd5db;font:600 10px var(--ui);pointer-events:none}.ed .gl.near text{fill:#fff}.ed .gempty{fill:var(--dim);font:600 13px var(--ui)}@media (min-width: 900px){.ed.p-graph .ed-pane.ed-board{display:none}.ed .ed-pane.ed-graph.on{flex:1 1 auto}.ed .gr-body{flex-direction:row}.ed .gr-card{flex:0 0 340px;max-height:none}}.ed .ed-pane.ed-isle.on{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:hidden;padding-bottom:max(8px,var(--sab))}.ed.p-map .ed-note{display:none}.ed .mp-top{flex-shrink:0;min-width:0;display:flex;flex-direction:column;gap:5px;margin-bottom:6px}.ed .mp-bar{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ed .mp-src{flex:1 1 160px;width:0;min-width:0;min-height:40px}.ed .mp-seed{display:flex;align-items:center;gap:4px;flex:0 1 130px}.ed .mp-seed .ed-in{width:100%;min-height:40px}.ed .mp-bar>.btn{min-height:40px;min-width:40px}.ed .mp-name{flex:1 1 160px;width:0;min-width:0;min-height:40px}.ed .mp-id{flex:1 1 auto;overflow-wrap:anywhere}.ed .mp-hint{color:var(--dim)}.ed .mp-tools{display:flex;gap:4px;align-items:center;overflow-x:auto;scrollbar-width:none}.ed .mp-tools .btn{flex:0 0 auto;min-height:40px;min-width:44px}.ed .mp-gap{flex:1 1 4px}.ed .mp-opts{display:flex;gap:5px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none;align-items:center}.ed .mp-sw,.ed .mp-lay{flex:0 0 auto;display:flex;align-items:center;gap:5px;min-height:36px;padding:5px 10px;font-size:12px;white-space:nowrap}.ed .mp-sw i,.ed .mp-lay i{width:12px;height:12px;border-radius:50%;display:inline-block;border:1px solid rgba(0,0,0,.5)}.ed .mp-sw[data-act=m-ground] i,.ed .mp-sw i.sq{border-radius:3px}.ed .mp-lay:not(.on){opacity:.5}.ed .mp-k{font-size:11.5px}.ed .mp-brush{display:flex;gap:3px;flex:0 0 auto;margin-left:4px}.ed .mp-brush .btn{min-height:36px;min-width:44px}.ed .mp-body{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:8px}.ed .mp-stage{flex:1 1 auto;min-height:260px;position:relative;overflow:hidden;border-radius:14px;background:#14303d;touch-action:none;cursor:crosshair}.ed .mp-canvas{display:block;width:100%;height:100%}.ed .mp-probbtn{position:absolute;left:8px;top:8px;min-height:36px;box-shadow:0 2px 10px #0006}.ed .mp-probbtn:not(.primary){background:#142834eb}.ed .mp-probbtn.bad:not(.primary){color:#ffc2b8}.ed .mp-probbtn.warn:not(.primary){color:#ffd9a0}.ed .mp-probbtn.good:not(.primary){color:#a8ffbc}.ed .mp-card{flex:0 0 auto;max-height:34%;overflow-y:auto;padding:8px 10px;border-radius:14px;-webkit-overflow-scrolling:touch;touch-action:pan-y}.ed .mp-prob.warning{background:#ffb3471f}.ed .mp-info{margin-bottom:4px}.ed .mp-info .small{color:var(--text);margin:2px 0}.ed .mp-acts .btn{flex:1 1 auto}.ed .mp-help{color:var(--dim)}@media (min-width: 900px){.ed.p-map .ed-pane.ed-board{display:none}.ed .ed-pane.ed-isle.on{flex:1 1 auto}.ed .mp-body{flex-direction:row}.ed .mp-card{flex:0 0 340px;max-height:none}}.ed .ed-tabs{overflow-x:auto;scrollbar-width:none}.ed .ed-tabs::-webkit-scrollbar{display:none}.ed .ed-tb{flex:1 0 auto;padding:0 10px;white-space:nowrap}.ed .ar-top{margin:2px 0 8px}.ed .ar-bar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:6px 0}.ed .ar-bar .chip,.ed .ar-bar .btn{min-height:38px}.ed .ar-dirty{margin-left:auto;color:var(--dim)}.ed .ar-dirty.on{color:#ffd9a0;font-weight:800}.ed .ar-add{opacity:.7;border-style:dashed}.ed .ar-size label{display:flex;gap:4px;align-items:center;font:700 12px var(--ui)}.ed .ar-size .ed-num{width:64px}.ed .ar-tools{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0}.ed .ar-tools .btn{min-width:42px;min-height:42px;font-size:15px}.ed .ar-stage{overflow:auto;max-height:60vh;border-radius:12px;background:#14303d;padding:4px;text-align:center}.ed .ar-canvas{image-rendering:pixelated;touch-action:none;cursor:crosshair;display:inline-block;vertical-align:top}.ed .ar-pal{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 2px}.ed .ar-sw{width:34px;height:34px;border-radius:8px;border:2px solid rgba(0,0,0,.45);flex:0 0 auto}.ed .ar-sw.on{outline:3px solid var(--accent);outline-offset:1px}.ed .ar-sw.clear{background:repeating-conic-gradient(#3a4a55 0 25%,#2c3a44 0 50%) 0 0 / 12px 12px}.ed .ar-sw.out{box-shadow:inset 0 0 0 2px #fff6}.ed .ar-sw.add{background:#ffffff14;font:800 18px var(--ui);border-style:dashed}.ed .ar-pick{display:flex;align-items:center;gap:6px}.ed .ar-pick input[type=color]{width:44px;height:38px;border:none;background:none;padding:0}.ed .ar-frames{display:flex;gap:6px;overflow-x:auto;align-items:center;padding:4px 0}.ed .ar-fr{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px;border-radius:10px;background:#ffffff0f;min-width:52px;min-height:52px}.ed .ar-fr.on{outline:2px solid var(--accent)}.ed .ar-fr canvas{width:44px;height:auto;image-rendering:pixelated;background:#2c3a44}.ed .ar-io{align-items:flex-end}.ed .ar-from{flex:1 1 180px;display:flex;flex-direction:column;gap:2px}.ed .ar-file{display:inline-flex;align-items:center;cursor:pointer}.ed .ar-prev{display:flex;flex-direction:column;gap:8px}.ed .ar-pv{image-rendering:pixelated;border-radius:6px;max-width:100%;height:auto!important}.ed .ar-pv.big{align-self:flex-start}.ed .ar-grounds,.ed .ar-states,.ed .ar-icons{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.ed .ar-grounds figure,.ed .ar-states figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:2px}.ed .ar-icons canvas{image-rendering:pixelated;background:#1d4352;border-radius:6px}.ed .ar-menutile{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px;border-radius:12px;background:#ffffff1a;width:76px;text-align:center}.ed .ar-menutile canvas{width:48px;height:48px;background:none}.ed .ar-oks{color:#a8ffbc;display:flex;flex-direction:column;gap:2px;margin:4px 0}.ed .ar-acts .btn{flex:1 1 auto}.ed .sn-top{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:2px 0 6px}.ed .sn-vol{display:flex;align-items:center;gap:6px;flex:1 1 220px}.ed .sn-vol input{flex:1;min-height:32px}.ed .sn-note{color:var(--dim);flex:1 1 200px}.ed .sn-list{display:flex;flex-direction:column;gap:5px}.ed .sn-row{border-radius:14px;padding:6px 8px}.ed .sn-row.on{outline:2px solid rgba(255,210,63,.5)}.ed .sn-head{display:flex;gap:8px;align-items:flex-start}.ed .sn-play{min-width:44px;min-height:44px;flex-shrink:0;font-size:15px}.ed .sn-name{flex:1;min-width:0;text-align:left;display:flex;flex-wrap:wrap;gap:2px 6px;align-items:baseline;min-height:44px;font-size:13px}.ed .sn-trig{flex:1 1 100%;color:var(--dim);overflow-wrap:anywhere}.ed .sn-detail{margin-top:6px}.ed .sn-fields,.ed .sn-sf{display:flex;flex-wrap:wrap;gap:6px}.ed .sn-fields label,.ed .sn-sf label{display:flex;flex-direction:column;gap:2px;font:700 11px var(--ui);color:var(--dim);flex:1 1 88px;min-width:0}.ed .sn-sf label .ed-in{min-height:36px;padding:5px 7px}.ed .sn-sf label.sn-chk,.ed .sn-fields label.sn-chk{flex-direction:row;align-items:center;gap:6px;min-height:36px;flex:0 0 auto;color:var(--text)}.ed .sn-nn{align-self:flex-end;padding-bottom:9px;color:var(--dim)}.ed .sn-events{display:flex;flex-direction:column;gap:4px}.ed .sn-ev{display:flex;align-items:center;gap:6px}.ed .sn-ev code{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;font-size:12px}.ed .sn-ev select{flex:0 1 170px;width:170px}.ed .sn-steps{display:flex;flex-direction:column;gap:6px}.ed .sn-step{border-radius:12px;background:#ffffff0d;padding:6px}.ed .sn-sh{display:flex;align-items:center;gap:6px;margin-bottom:4px}.ed .sn-sh .btn{min-height:36px;min-width:40px}.ed .sn-adds{flex-wrap:wrap}.ed .sn-adds .chip{min-height:38px}.ed .sn-new{margin-top:10px}@media (min-width: 900px){.ed.p-art .ed-pane.ed-board,.ed.p-sound .ed-pane.ed-board{display:none}.ed .ed-pane.ed-art.on,.ed .ed-pane.ed-sound.on{flex:1 1 auto;max-width:980px}.ed .ed-tb{flex:1 1 auto}.ed .ar-prev{flex-direction:row;flex-wrap:wrap;align-items:flex-end}}.ed .gn.mark .gs{stroke:#7dff9a;stroke-width:4;fill:#1d4a2b}.ed .gr-pv{display:flex;align-items:center;gap:8px;margin:6px 0 0;padding:6px 6px 6px 10px;border-radius:12px;background:#7dff9a24}.ed .gr-pv .small{flex:1;min-width:0}.ed .gr-pv .btn{flex-shrink:0;min-height:40px}.ed .ak{display:flex;flex-direction:column;gap:6px}.ed .ak .st-acts .btn{min-height:44px}.ed .ak-req{min-height:84px;font-size:14px}.ed .ak-ex{display:flex;flex-direction:column;gap:5px}.ed .ak-exb{text-align:left;padding:8px 10px;min-height:40px;font-size:12px;line-height:1.3;white-space:normal}.ed .ak-hist{display:flex;flex-direction:column;gap:4px}.ed .ak-turn{padding:6px 10px;border-radius:12px;background:#ffffff0d;overflow-wrap:anywhere}.ed .ak-work{padding:8px 10px;border-radius:14px}.ed .ak-log{margin:4px 0;padding-left:18px}.ed .ak-stream{margin:4px 0 0;max-height:140px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.35 ui-monospace,Menlo,monospace;color:var(--dim);user-select:text;-webkit-user-select:text}.ed .ak-review{padding:8px 10px 10px;border-radius:16px}.ed .ak-sum{margin-bottom:6px;overflow-wrap:anywhere}.ed .ak-chs{display:flex;flex-direction:column;gap:5px}.ed .ak-ch{display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:12px;background:#ffffff0f}.ed .ak-ch.off .ak-lbl{opacity:.5;text-decoration:line-through}.ed .ak-lbl{flex:1;min-width:0;overflow-wrap:anywhere;color:var(--text)}.ed .ak-tog{flex:0 0 auto;width:40px;height:40px;border-radius:10px;border:2px solid var(--line);background:#ffffff0f;font:900 18px var(--ui);color:#1d1b24}.ed .ak-ch.on .ak-tog{background:#7dff9a;border-color:#7dff9a}.ed .ak-ch .btn{flex:0 0 auto;min-height:40px}.ed .ak-notes{margin:0;padding-left:18px;overflow-wrap:anywhere}.ed .ak-racts .btn{flex:1 1 auto}.ed .ak-paste{min-height:90px}.ed .ak-sumb{width:100%;min-height:40px;text-align:left;font:700 12.5px var(--ui);color:var(--dim);background:none}@media (min-width: 900px){.ed.p-ask .ed-pane.ed-board{display:none}.ed .ed-pane.ed-ask.on{flex:1 1 auto;max-width:820px;margin:0 auto}}.ed .wv-wrap{display:flex;flex-direction:column;gap:10px}.ed .wv-top{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-end}.ed .wv-pick{display:flex;flex-direction:column;gap:2px;flex:1 1 180px;min-width:0}.ed .wv-top .btn{min-height:40px}.ed .wv-desc{margin:4px 0 6px;line-height:1.35}.ed .wv-prev{border-radius:14px;padding:8px}.ed .wv-stage{position:relative;background:#14303d;border-radius:10px;overflow:hidden}.ed .wv-canvas{display:block;width:100%;height:auto;min-height:120px;image-rendering:auto}.ed .wv-drawing{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0a182073;font:800 14px var(--ui);color:var(--text);pointer-events:none}.ed .wv-seedrow{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;margin:6px 0}.ed .wv-seedrow label{display:flex;align-items:center;gap:6px}.ed .wv-seedrow .btn{min-height:40px}.ed .wv-seed{width:96px}.ed .wv-seednote{flex:0 0 auto;display:inline-flex}.ed .wv-check{font-size:12px;padding:6px 8px;border-radius:10px;margin:4px 0;line-height:1.35}.ed .wv-check.ok{background:#7dff9a24}.ed .wv-check.warn{background:#ffb34724}.ed .wv-check.bad{background:#ff5a5a38}.ed .wv-counts summary{min-height:40px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;font:700 12px var(--ui);cursor:pointer}.ed .wv-ctable{display:flex;flex-direction:column;gap:2px;margin-top:4px}.ed .wv-crow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;font-size:12px;padding:2px 4px;border-radius:6px}.ed .wv-crow>.tiny{grid-column:1 / -1}.ed .wv-crow.bad{background:#ff5a5a2e}.ed .wv-secs{padding:6px 0;flex-wrap:wrap}.ed .wv-secs .chip,.ed .wv-levels .chip,.ed .cv-addf{min-height:36px;padding:4px 10px;font-size:12px}.ed .wv-biomes,.ed .wv-feats{display:flex;flex-direction:column;gap:6px;margin:6px 0 10px}.ed .wv-biome,.ed .wv-feat{border-radius:14px;padding:4px 8px}.ed .wv-biome.on{outline:2px solid rgba(255,210,63,.45)}.ed .wv-bhead{width:100%;min-height:44px;display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline;text-align:left;padding:6px 2px}.ed .wv-bhead b{font-size:14px}.ed .wv-btot{margin-left:auto}.ed .wv-caret{font-size:13px;color:var(--dim)}.ed .wv-bbody{padding-bottom:8px;display:flex;flex-direction:column;gap:6px}.ed .wv-pair{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-end}.ed .wv-pair>.ed-lbl,.ed .wv-num{flex:1 1 110px;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:2px}.ed .wv-num .ed-num,.ed .wv-num .ed-in{width:100%;flex:0 0 auto}.ed .wv-walks{margin:2px 0 4px;line-height:1.4}.ed .wv-range>.tiny{flex:1 1 100%}.ed .wv-sl{display:flex;flex-direction:column;gap:2px}.ed .wv-sll{font:700 12px var(--ui)}.ed .wv-sl input[type=range],.ed .wv-slide input[type=range]{width:100%;min-height:36px;accent-color:var(--accent)}.ed .wv-patch{border-left:3px solid rgba(255,255,255,.15);padding-left:8px}.ed .wv-ground{display:flex;flex-direction:column;gap:4px}.ed .wv-gname{font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-top:4px}.ed .wv-roll{border-radius:12px;background:#ffffff0d;padding:6px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center}.ed .wv-roll.off{opacity:.55;display:block}.ed .wv-rname{grid-column:1 / -1;font-size:13px;overflow-wrap:anywhere}.ed .wv-levels{display:flex;flex-wrap:wrap;gap:4px;grid-column:1 / -1}.ed .wv-slide{display:flex;align-items:center;gap:8px;min-width:0}.ed .wv-val{min-width:44px;text-align:right}.ed .wv-amt{display:flex;align-items:center;gap:6px;white-space:nowrap}.ed .wv-amt .ed-num{width:64px}.ed .wv-adds{flex-wrap:wrap}.ed .wv-adds .btn,.ed .wv-adds select{flex:1 1 100%;min-height:40px}.ed .wv-grown{line-height:1.4}.ed .wv-wiz{display:flex;flex-direction:column;gap:6px}.ed .wv-color{width:64px;min-height:40px;padding:2px}.ed .wv-chk{display:flex;align-items:center;gap:8px;min-height:40px;font-size:13px}.ed .wv-chk input{width:20px;height:20px}.ed .wv-limits{display:flex;flex-direction:column;gap:3px}.ed .wv-lrow{display:grid;grid-template-columns:minmax(0,1fr) 52px 64px 64px;gap:6px;align-items:center;font-size:12px}.ed .wv-lrow.head{color:var(--dim)}.ed .wv-lrow .ed-num{width:100%}.ed .wv-lrow.bad b{color:var(--bad)}.ed .wv-fhead{display:flex;gap:8px;align-items:center;min-height:40px}.ed .wv-fhead .tiny{flex:1}.ed .wv-plh{margin-top:4px}@media (min-width: 900px){.ed.p-world .ed-pane.ed-board,.ed.p-creatures .ed-pane.ed-board{display:none}.ed .ed-pane.ed-world.on,.ed .ed-pane.ed-crit.on{flex:1 1 auto}.ed .wv-wrap{flex-direction:row;align-items:flex-start}.ed .wv-side{flex:0 0 min(46%,560px);position:sticky;top:0}.ed .wv-main{flex:1 1 auto;min-width:0}}.ed .cv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:8px;margin:6px 0;align-items:start}.ed .cv-card{border-radius:14px;padding:6px 8px}.ed .cv-card.on{grid-column:1 / -1;outline:2px solid rgba(255,210,63,.45)}.ed .cv-head{width:100%;min-height:56px;display:flex;align-items:center;gap:10px;text-align:left}.ed .cv-picbox{flex:0 0 96px;height:72px;display:flex;align-items:flex-end;justify-content:center;background:#78aa5a2e;border-radius:10px;overflow:hidden}.ed .cv-hname{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ed .cv-hname b{font-size:14px}.ed .cv-pic{display:inline-block;flex-shrink:0;background-repeat:no-repeat;image-rendering:pixelated;image-rendering:crisp-edges}.ed .cv-pic.walk{animation-name:cv-walk;animation-iteration-count:infinite}@keyframes cv-walk{0%{background-position:0 0}to{background-position:var(--cv-end) 0}}@media (prefers-reduced-motion: reduce){.ed .cv-pic.walk{animation:none}}.ed .cv-picbox .cv-pic{max-width:92px;max-height:70px}.ed .cv-odds{margin:2px 0 4px}.ed .cv-purpose{color:#a8e6b0}.ed .cv-purpose.warn,.ed .cv-odds.warn b{color:#ffb347}.ed .cv-body{display:flex;flex-direction:column;gap:6px;padding-bottom:8px}.ed .cv-looks{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.ed .cv-stage{display:flex;align-items:flex-end;gap:10px;padding:8px 10px;border-radius:10px;background:linear-gradient(#3f6e3a,#2f5a2c);min-height:90px}.ed .cv-stage.sm{background:linear-gradient(#d8c48c,#c8b078)}.ed .cv-ruler{display:inline-flex;align-items:flex-end;justify-content:center;width:16px;border-left:2px dashed rgba(255,255,255,.55);padding-left:2px}.ed .cv-ruler .tiny{writing-mode:vertical-rl;transform:rotate(180deg);color:#fffc}.ed .cv-sl{padding:2px 0}.ed .cv-slrow{display:flex;align-items:center;gap:8px}.ed .cv-slrow input[type=range]{flex:1;min-width:0}.ed .cv-num{width:80px}.ed .cv-brains{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:6px}.ed .cv-brain{min-height:56px;border-radius:12px;padding:6px 8px;background:#ffffff0f;text-align:left;display:flex;flex-direction:column;gap:2px}.ed .cv-brain.on{background:#ffd23f33;outline:2px solid var(--accent)}.ed .cv-oddst{display:flex;flex-direction:column;gap:3px}.ed .cv-orow{display:flex;flex-direction:column;gap:1px;padding:4px 6px;border-radius:8px;background:#ffffff0d}.ed .cv-new{margin-top:8px;display:flex;flex-direction:column;gap:6px}.hq{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;min-width:0;min-height:0;padding:0;margin:0 2px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:#ffffff12;color:var(--dim);font:800 11.5px/1 var(--ui);vertical-align:middle;cursor:pointer}.hq:after{content:"";position:absolute;inset:-6px;border-radius:50%}.hq:hover,.hq[aria-expanded=true]{background:var(--accent);color:#1d1b24;border-color:var(--accent)}.hq:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hq-pop{position:fixed;z-index:70;max-width:min(300px,calc(100vw - 24px));padding:9px 11px;border-radius:12px;background:#1d4352;border:1px solid rgba(255,255,255,.18);box-shadow:0 8px 24px #00000080;color:var(--text);font:500 12.5px/1.4 var(--ui);text-align:left;white-space:normal}.hq-pop code{font-size:11.5px}.hq-pop p{margin:0 0 6px}.hq-pop p:last-child{margin-bottom:0}.hql{display:inline-flex;align-items:center;gap:4px}.ed .cv-kinds{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:6px}.ed .cv-kind{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 6px;border-radius:8px;background:#ffffff0d}.ed .cv-kind .ed-num{width:72px}.ed .cv-kind.weak{outline:1px solid rgba(120,220,120,.5)}.ed .cv-kind.tough{outline:1px solid rgba(255,140,90,.5)}.ed .cv-said{font-style:italic}.ed .cv-wodds{display:flex;flex-direction:column;gap:2px}.ed .cv-wrow{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:3px 6px;border-radius:6px;background:#ffffff0a}.ed .cv-wrow b.up{color:#8fe08f}.ed .cv-wrow b.down{color:#ffb347}.ed .cv-dmgs{display:flex;flex-direction:column;gap:4px}.ed .cv-dmg{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ed .cv-dmg select{flex:1 1 110px;min-width:0}.ed .cv-wt{display:flex;align-items:center;gap:4px}.ed .cv-wt .ed-num{width:64px}.ed .tx-filters{display:flex;gap:6px;align-items:center}.ed .tx-filters select{flex:1;min-width:0;min-height:40px}.ed .tx-filters .chip{min-height:40px}.ed .tx-count{margin:6px 0 4px}.ed .tx-list{display:flex;flex-direction:column;gap:5px}.ed .tx-row{border-radius:14px;padding:6px 8px}.ed .tx-row.on{outline:2px solid rgba(255,210,63,.5)}.ed .tx-row.bad{outline:2px solid rgba(255,107,107,.55)}.ed .tx-head{width:100%;text-align:left;display:flex;flex-wrap:wrap;gap:2px 6px;align-items:baseline;min-height:44px;background:none;border:0;color:inherit;padding:2px 0;font:inherit}.ed .tx-key{flex:1;min-width:0;overflow-wrap:anywhere}.ed .tx-row.on .tx-first{display:none}.ed .tx-row.on .tx-head{min-height:32px}.ed .tx-first{flex-basis:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ed .ed-tag.bad{background:#ff6b6b38;color:#ffb3b3}.ed .tx-detail{display:flex;flex-direction:column;gap:6px;margin-top:6px}.ed .tx-note{font-style:italic}.ed .tx-err{color:#ffb3b3}.ed .tx-line{display:flex;flex-direction:column;gap:3px}.ed .tx-lrow{display:flex;gap:6px;align-items:flex-start}.ed .tx-in{flex:1;min-width:0;resize:vertical;font-size:14px;line-height:1.35}.ed .tx-rm{min-width:40px;min-height:40px}.ed .tx-prev{color:var(--dim);padding-left:2px}.ed .tx-hint{color:#ffe7a0}.ed .tx-acts{flex-wrap:wrap}.ed .tx-acts .btn{min-height:40px}.ed .tx-more{padding:8px 2px}
