.spell-preview{background:#00000040;border-radius:4px;width:150px;height:84px;display:block}.pv-cell{fill:#ffffff14;stroke:#ffffff1a;stroke-width:.5px}.pv-range{fill:#5f8fb073}.pv-lunge{animation:2.4s ease-in-out infinite pv-lunge}.pv-burst{transform-box:fill-box;transform-origin:50%;animation:2.4s ease-out infinite pv-burst}.pv-hit{animation:2.4s linear infinite pv-hit;animation-delay:var(--delay,0s)}.pv-wave{fill:#cfe9ff;opacity:0;animation:2.4s linear infinite pv-wave;animation-delay:var(--delay,0s)}.pv-zone{fill:#e06a58;animation:2.4s ease-in-out infinite pv-zone}.pv-fall{opacity:0;animation:2.4s ease-in infinite pv-fall;animation-delay:var(--delay,0s)}.pv-out{animation:2.4s linear infinite pv-out}.pv-in{animation:2.4s linear infinite pv-in}.pv-streak{stroke:#bfe2ff;stroke-width:2px;opacity:0;animation:2.4s linear infinite pv-streak}@keyframes pv-lunge{0%,28%,52%,to{transform:translate(0)}40%{transform:translate(var(--dx), var(--dy))}}@keyframes pv-burst{0%,36%{opacity:0;transform:scale(.3)}42%{opacity:1;transform:scale(1)}60%,to{opacity:0;transform:scale(1.5)}}@keyframes pv-hit{0%,38%,56%,to{opacity:1}44%{opacity:.35}}@keyframes pv-wave{0%,16%{opacity:0}22%{opacity:.95}42%,to{opacity:0}}@keyframes pv-zone{0%,to{opacity:.25}45%{opacity:.75}}@keyframes pv-fall{0%{opacity:0;transform:translateY(-46px)}8%{opacity:1}24%{opacity:1;transform:translateY(0)}62%{opacity:1;transform:translateY(0)}72%,to{opacity:0;transform:translateY(0)}}@keyframes pv-out{0%,34%{opacity:1}40%,92%{opacity:0}to{opacity:1}}@keyframes pv-in{0%,40%{opacity:0}46%,90%{opacity:1}94%,to{opacity:0}}@keyframes pv-streak{0%,36%{opacity:0}40%{opacity:1}52%,to{opacity:0}}@media (prefers-reduced-motion:reduce){:not(.spell-stage)>.spell-preview *{animation:none!important}:not(.spell-stage)>.spell-preview .pv-wave,:not(.spell-stage)>.spell-preview .pv-fall{opacity:1}:not(.spell-stage)>.spell-preview .pv-out{opacity:.4}}.pv-pop,.pv-fly,.pv-rise,.pv-fall-fx,.pv-draw,.pv-ring,.pv-up,.pv-hold{opacity:0;animation-duration:2.4s;animation-iteration-count:infinite;animation-delay:var(--delay,0s);transform-box:view-box;animation-timing-function:ease-out;animation-fill-mode:both}.pv-pop{animation-name:pv-pop}.pv-fly{animation-name:pv-fly;animation-timing-function:linear}.pv-rise{animation-name:pv-rise}.pv-fall-fx{animation-name:pv-fall-fx;animation-timing-function:ease-in}.pv-draw{stroke-dasharray:1;stroke-dashoffset:1px;opacity:1;animation-name:pv-draw}.pv-ring{animation-name:pv-ring}.pv-up{animation-name:pv-up}.pv-hold{animation-name:pv-hold}.pv-dim{opacity:0;animation:pv-dim 2.4s ease-in-out var(--delay,0s) infinite both}.pv-whirl{transform-box:view-box;animation:2.4s ease-in-out infinite pv-whirl}.pv-kneel{transform-box:view-box;animation:2.4s ease-in-out infinite pv-kneel}.pv-after{opacity:0;animation:pv-after 2.4s ease-out var(--delay,0s) infinite both}@keyframes pv-pop{0%{opacity:0;transform:scale(.3)}5%{opacity:1;transform:scale(1.1)}12%{opacity:1;transform:scale(1)}22%,to{opacity:0;transform:scale(1.1)}}@keyframes pv-fly{0%{opacity:1;transform:translate(0)}8%{opacity:1;transform:translate(var(--fx), var(--fy))}9%,to{opacity:0;transform:translate(var(--fx), var(--fy))}}@keyframes pv-rise{0%{opacity:0;transform:translateY(0)scale(.5)}6%{opacity:.95}34%,to{opacity:0;transform:translateY(var(--ry,-16px)) scale(1.5)}}@keyframes pv-fall-fx{0%{opacity:0;transform:translateY(0)}4%{opacity:1}22%,to{opacity:0;transform:translateY(var(--ry,12px))}}@keyframes pv-draw{0%{stroke-dashoffset:1px;opacity:1}8%{stroke-dashoffset:0;opacity:1}20%{stroke-dashoffset:0;opacity:1}28%,to{stroke-dashoffset:0;opacity:0}}@keyframes pv-ring{0%{opacity:0;transform:scale(.25)}6%{opacity:1}30%,to{opacity:0;transform:scale(1.15)}}@keyframes pv-up{0%{opacity:0;transform:scaleY(.1)}6%{opacity:1;transform:scaleY(1.1)}18%{opacity:1;transform:scaleY(1)}30%,to{opacity:0;transform:scaleY(.9)}}@keyframes pv-hold{0%{opacity:0;transform:scale(.4)}6%{opacity:1;transform:scale(1.06)}10%,30%{opacity:1;transform:scale(1)}42%,to{opacity:0;transform:scale(1.05)}}@keyframes pv-dim{0%,to{opacity:0}12%,38%{opacity:.55}54%{opacity:0}}@keyframes pv-whirl{0%,28%{opacity:0;transform:rotate(0)}36%{opacity:1}60%{opacity:1}68%,to{opacity:0;transform:rotate(900deg)}}@keyframes pv-kneel{0%,12%{transform:scaleY(1)translateY(0)}22%,72%{transform:scaleY(.8)}84%,to{transform:scaleY(1)}}@keyframes pv-after{0%{opacity:0}6%{opacity:.45}26%,to{opacity:0}}.pv-mark{opacity:.72}:root{--vw:1vw;--vh:1vh;--panel:#171521ed;--line:#a33a2c;--text:#f3eee2;--muted:#b9b2ad;--gold:#e8c27a;--green:#8fbf7a;--blue:#86aecb;--red:#e06a58}*{box-sizing:border-box}[hidden]{display:none!important}html,body{color:var(--text);background:#15131f;font:15px/1.4 Georgia,Times New Roman,serif}#game{position:fixed;inset:0}#game canvas{display:block}#game:after{content:"";pointer-events:none;background:radial-gradient(at 50% 48%,#0000 45%,#0e0a1880 100%);position:fixed;inset:0}button{font:inherit;cursor:pointer}#create{flex-direction:column;justify-content:safe center;align-items:center;padding:24px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}h1{font-size:clamp(42px, calc(var(--vw) * 8), 72px);letter-spacing:2px;color:var(--gold);text-shadow:0 2px 12px #000c;margin:0}.subtitle{color:var(--muted);margin:4px 0 20px;font-style:italic}#create-form[hidden]{display:none}.title-mute{z-index:5;width:40px;height:40px;color:var(--gold);cursor:pointer;background:#0d0b1299;border:1px solid #e8c27a66;border-radius:50%;place-items:center;padding:0;display:grid;position:fixed;top:14px;right:14px}.title-mute:hover{color:var(--gold-bright);border-color:var(--gold)}.title-mute:focus-visible{outline:2px solid var(--gold-bright);outline-offset:2px}.title-mute svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.title-mute[aria-pressed=false] .title-mute-off,.title-mute[aria-pressed=true] .title-mute-on{display:none}#create-form{flex-direction:column;gap:10px;width:min(620px,100%);display:flex}#create-form>label{color:var(--muted)}#name{font:inherit;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px 14px}#characters{flex-direction:column;gap:8px;width:min(620px,100%);margin-bottom:14px;display:flex}.character{text-align:left;color:var(--text);background:var(--panel);border:2px solid #6d5c3c80;border-radius:6px;align-items:center;gap:12px;padding:8px 14px;display:flex}.character:hover{border-color:var(--gold)}.character .doll{flex:none;width:42px;height:70px}.character b{color:var(--gold);font-size:17px;display:block}.character small{color:var(--muted)}#new-character{align-self:center}.creator{background:var(--panel);border-radius:6px;grid-template-columns:170px 1fr;align-items:center;gap:18px;padding:14px;display:grid}.creator .doll{background:radial-gradient(at 50% 22%,#566a5c 0%,#566a5c00 62%);width:170px;height:283px}.creator h2{color:var(--gold);margin:0 0 4px;font-size:20px}.creator p{color:var(--muted);margin:0 0 12px;font-size:14.5px}.color-row{grid-template-columns:76px 1fr;align-items:center;gap:8px;margin-top:8px;font-size:14px;display:grid}.swatches{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.swatch{border:2px solid #fff3;border-radius:50%;width:26px;height:26px;padding:0}.swatch[aria-pressed=true]{border-color:#fff;box-shadow:0 0 6px #fff9}.swatches input[type=color]{cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:4px;width:30px;height:28px;padding:0}@media (width<=560px){.creator{grid-template-columns:1fr;justify-items:center}}.class-card{text-align:left;color:var(--text);background:var(--panel);border:2px solid #6d5c3c4d;border-radius:6px;flex-direction:column;gap:6px;padding:14px;transition:transform .12s,border-color .12s,box-shadow .12s;display:flex}.class-card[aria-checked=true]{border-color:var(--gold);box-shadow:0 0 14px #d4b36c4d}.class-card .hero-preview{align-self:center;width:114px;height:190px}.class-card h2{color:var(--gold);margin:0;font-size:20px}.class-card p{color:var(--muted);margin:0;font-size:14px}.class-card ul{margin:0;padding-left:18px;font-size:13.5px}.stats{gap:12px;font-size:13.5px;display:flex}.primary{color:#fbf5e8;background:#b53226;border:1px solid #e3836f;border-radius:4px;padding:11px 20px;font-weight:700}.primary:hover:not(:disabled){filter:brightness(1.08)}.primary:disabled{opacity:.55;cursor:default}.ghost{color:var(--text);background:#ffffff12;border:1px solid #6d5c3c8c;border-radius:10px;padding:8px 14px}.ghost:hover{background:#ffffff26}#create-error{min-height:20px;color:var(--red);margin:0}#hud{pointer-events:none;position:fixed;inset:0}.panel{pointer-events:auto;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:10px 14px;box-shadow:0 4px 18px #00000059}.shop-row img,.item img,.slot.filled img,.result-lists li>img{background:#ffffff29;border-radius:4px}.ic{vertical-align:-.14em;flex:none;width:1em;height:1em}.me-values{white-space:nowrap;align-items:center;gap:9px;margin-top:9px;display:flex}.me-values span{align-items:center;gap:4px;display:inline-flex}.v-hp .ic{color:var(--red)}.ryo .ic{color:var(--gold)}.spell-icon{width:26px;height:26px;color:var(--gold)}.spell{align-items:center;gap:6px;display:flex}.spell-level{flex-direction:column;align-items:center;gap:3px;display:flex}.pool .ic{margin:0 auto 1px;font-size:14px;display:block}.pool .ap .ic{color:var(--blue)}.pool .mp .ic{color:var(--green)}.pool .hp .ic{color:var(--red)}.hud-btn{min-width:58px;height:54px;color:var(--text);background:#ffffff0f;border:1px solid #6d5c3c99;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px 6px;font-size:12px;display:flex}.hud-btn:hover{color:var(--gold);background:#ffffff26}.hud-btn.zoom{min-width:40px}.hud-btn.new{border-color:var(--gold);color:var(--gold);box-shadow:0 0 8px #e8c27a80}#bar{width:min(1120px, calc(calc(var(--vw) * 100) - 20px));border-color:#6b5a3c;border-top:2px solid var(--line);border-radius:4px;align-items:center;gap:16px;min-height:74px;padding:8px 14px;display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}#me{flex:none;align-items:center;gap:10px;width:236px;display:flex}.me-text{flex:1;min-width:0}.portrait{--gauge:var(--gold-bright);--deep:#241c10;isolation:isolate;background:radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--gauge) 22%, #1d1826), var(--deep) 70%, #0c0a12);border-radius:50%;flex:none;width:64px;height:64px;position:relative;box-shadow:inset 0 0 0 1px #0009,0 3px 8px #0000008c}.portrait:before{inset:-3px}.face{z-index:0;background:#2a3a30;border-radius:50%;position:absolute;inset:7px;overflow:hidden}.face .doll{width:72px;height:120px;position:absolute;top:3px;left:-11px}.level{text-align:center;color:#17130b;background:var(--gold);border:1px solid #17130b;border-radius:11px;min-width:22px;height:22px;padding:0 4px;font-size:13px;line-height:20px;position:absolute;bottom:-3px;right:-3px}.mon-icon{flex:none;width:56px;height:44px;margin:auto;display:block;position:relative}.mon-icon img{position:absolute}.result-lists .mon-icon img{object-fit:fill;position:absolute}.result-lists .doll{flex:none;width:30px;height:50px}.result-lists .doll img{width:100%;height:100%}.credits{color:var(--muted);text-align:center;margin:14px 0 0;font-size:12.5px}.credits a{color:var(--muted)}#bar.in-fight .zoom{display:none}#bar.in-fight .portrait{margin:-4px;transform:scale(.85)}#me strong{color:var(--gold);font-size:16px}#me small{color:var(--muted)}.bar{background:#ffffff24;border-radius:2px;height:7px;margin:4px 0 3px;overflow:hidden}.bar i{background:linear-gradient(90deg,#5c8f4e,#8fbf7a);height:100%;display:block}#quest{border-left:1px solid #ffffff1f;flex:1;min-width:0;padding-left:16px}.bar-buttons{flex:none;gap:6px;display:flex}.bar-buttons .zoom{width:34px;padding:6px 0;font-size:18px;line-height:1}.bar-buttons kbd{border:1px solid #ffffff4d;border-radius:3px;margin-left:4px;padding:0 5px;font:12px Georgia,serif}#inventory-button.new{border-color:var(--gold);color:var(--gold);box-shadow:0 0 8px #e8c27a80}#fights{max-width:calc(var(--vw) * 60);flex-direction:column;gap:6px;display:flex;position:absolute;bottom:96px;left:50%;transform:translate(-50%)}#fights .panel{align-items:center;gap:10px;padding:6px 10px;font-size:14px;display:flex}#fights .panel:empty{display:none}#dialog{width:min(560px, calc(calc(var(--vw) * 100) - 32px));align-items:center;gap:14px;display:flex;position:absolute;bottom:96px;left:50%;transform:translate(-50%)}#dialog img{flex:none;height:96px}#dialog h3{color:var(--gold);margin:0}#dialog p{margin:4px 0 10px}#dialog .actions{flex-wrap:wrap;gap:8px;display:flex}.doll{display:block;position:relative}.doll img{width:100%;height:100%;position:absolute;inset:0}#inventory{width:min(720px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 112px);grid-template-columns:300px 1fr;gap:16px;padding:16px;display:grid;position:absolute;bottom:96px;left:50%;overflow-y:auto;transform:translate(-50%)}#inventory h3{color:var(--gold);margin:0 0 8px;font-size:17px}#inventory .close{padding:3px 10px;position:absolute;top:10px;right:10px}.paperdoll{grid-template-columns:74px 1fr 74px;align-items:center;gap:6px;display:grid}.paperdoll .doll{width:138px;height:230px;margin:auto}.slots{flex-direction:column;gap:6px;display:flex}.slot{width:74px;height:74px;color:var(--muted);text-align:center;border:1px solid var(--line);background:#ffffff0d;border-radius:4px;padding:3px;font-size:11px;line-height:1.15;position:relative}.slot img{width:44px;height:44px;margin:0 auto 1px;display:block}.slot.filled{color:var(--text);background:#d4b36c1a}.slot.filled:hover{border-color:var(--red)}.slot:disabled{cursor:default}.slot.empty{place-items:center;display:grid}.slot.empty .slot-icon{opacity:.45;width:30px;height:30px}.summary{color:var(--muted);text-align:center;margin:10px 0 0;font-size:13.5px}.items{flex-direction:column;gap:6px;max-height:340px;display:flex;overflow-y:auto}.item{text-align:left;color:var(--text);border:1px solid var(--line);background:#ffffff0d;border-radius:4px;align-items:center;gap:10px;padding:5px 8px;display:flex}.item:hover{border-color:var(--gold);background:#d4b36c24}.item img{flex:none;width:42px;height:42px}.item b{font-size:14px;display:block}.item small{color:var(--muted)}.too-high{color:var(--red)}.item:disabled{cursor:default;opacity:.75}.item:disabled:hover{border-color:var(--line);background:#ffffff0d}.empty{color:var(--muted);font-size:14px;font-style:italic}.loot{color:var(--gold);margin-top:4px;font-size:15px;display:block}#stats{width:min(720px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 112px);grid-template-columns:1fr 210px;gap:20px;padding:16px;display:grid;position:absolute;bottom:96px;left:50%;overflow-y:auto;transform:translate(-50%)}#stats h3{color:var(--gold);margin:0 0 6px;font-size:17px}#stats .close{padding:3px 10px;position:absolute;top:10px;right:10px}#stats .points{color:var(--gold);margin:0 0 10px;font-size:14px}.stat-row{border-top:1px solid #ffffff1a;grid-template-columns:1fr 30px auto;align-items:center;gap:8px;padding:6px 0;display:grid}.stat-row b{font-size:14.5px;display:block}.stat-row small{color:var(--muted);font-size:12.5px}.stat-row strong{text-align:right;font-size:18px}.stat-add{gap:3px;display:flex}.stat-row .plus{border-radius:5px;padding:3px 6px;font-size:12.5px;line-height:1.2}.stat-row .plus:disabled{opacity:.3;cursor:default}.totals{grid-template-columns:1fr auto;gap:6px 10px;margin:8px 0 0;font-size:14px;display:grid}.totals dt{color:var(--muted)}.totals dd{text-align:right;margin:0;font-weight:700}#stats-button.new{border-color:var(--gold);color:var(--gold);box-shadow:0 0 8px #e8c27a80}#spells{width:min(680px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 112px);padding:16px;position:absolute;bottom:96px;left:50%;overflow-y:auto;transform:translate(-50%)}#spells h3{color:var(--gold);margin:0 0 8px;font-size:17px}#spells .close{padding:3px 10px;position:absolute;top:10px;right:10px}.spell-row{border-top:1px solid #ffffff1a;grid-template-columns:56px 1fr 150px;align-items:center;gap:12px;padding:8px 0;display:grid}.spell-row b{color:var(--gold)}.spell-row p{margin:2px 0;font-size:14px}.spell-row small{color:var(--muted)}.spell-level{text-align:center;color:var(--green);font-size:12.5px}.spell-row.locked>div,.spell-row.locked .spell-level{opacity:.55}.spell-row.locked .spell-level{color:var(--muted)}#spells-button.new{border-color:var(--gold);color:var(--gold);box-shadow:0 0 8px #e8c27a80}#shop{width:min(560px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 112px);padding:14px 16px;position:absolute;bottom:96px;left:50%;overflow-y:auto;transform:translate(-50%)}#shop .close{padding:3px 10px;position:absolute;top:10px;right:10px}.shop-head{align-items:center;gap:12px;margin-bottom:10px;display:flex}.shop-head img{flex:none;height:92px}.shop-head h3{color:var(--gold);margin:0;font-size:17px}.shop-head p{color:var(--muted);margin:2px 0 4px;font-size:14px}.ryo{color:var(--gold)}.shop-row{border:1px solid var(--line);background:#ffffff0d;border-radius:4px;align-items:center;gap:10px;padding:5px 8px;display:flex}.shop-row img{flex:none;width:42px;height:42px}.shop-row span{flex:1;min-width:0}.shop-row b{font-size:14px;display:block}.shop-row small{color:var(--muted)}.shop-row .primary{flex:none;min-width:88px;padding:6px 10px;font-size:13.5px}#shop .items{max-height:none}#emotes{max-width:calc(calc(var(--vw) * 100) - 32px);flex-wrap:wrap;justify-content:center;gap:6px;padding:8px;display:flex;position:absolute;bottom:96px;left:50%;transform:translate(-50%)}#emotes .selected{border-color:var(--gold);color:var(--gold)}#map-title{color:var(--gold);pointer-events:none;margin:0;padding:6px 14px;font-size:17px;font-weight:400;position:absolute;top:10px;left:10px}#dialog .reward{color:var(--muted);align-self:center}#chat{flex-direction:column;gap:5px;width:310px;padding:6px 8px;display:flex;position:absolute;bottom:106px;left:10px}#chat-log{overflow-wrap:anywhere;max-height:118px;font-size:13.5px;line-height:1.3;overflow-y:auto}#chat-log:empty{display:none}#chat-log>.fading{opacity:0;transition:opacity 1.2s}#chat-log>.old{display:none}#chat:hover #chat-log>.fading,#chat:focus-within #chat-log>.fading{opacity:1;transition:none}#chat:hover #chat-log>.old,#chat:focus-within #chat-log>.old{display:block}#chat:not(:hover):not(:focus-within) #chat-log:not(:has(>:not(.old))){display:none}#chat.party-only:hover #chat-log>.in-all,#chat.party-only:focus-within #chat-log>.in-all{display:none}#chat-log b{color:var(--blue);font-weight:600}#chat-log b.mine{color:var(--gold)}#chat-input{width:100%;font:inherit;color:var(--text);background:#ffffff12;border:1px solid #6d5c3c99;border-radius:4px;padding:4px 8px;font-size:13.5px}#chat-input:focus{border-color:var(--gold);outline:none}#worldmap{width:min(800px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 112px);background:#1a1825;padding:12px 16px;position:absolute;bottom:96px;left:50%;overflow-y:auto;transform:translate(-50%)}#worldmap h3,#quests h3{color:var(--gold);margin:0 0 6px;font-size:17px}#worldmap .close,#quests .close,#quest-detail .close{padding:3px 10px;position:absolute;top:10px;right:10px}.wm{width:100%;height:auto;max-height:calc(calc(var(--vh) * 100) - 170px);background:radial-gradient(at 50% 45%,#e8c27a1f,#e8c27a05);border-radius:4px;display:block}.wm-road{fill:none;stroke:var(--gold);stroke-width:2px;stroke-dasharray:2 7;stroke-linecap:round;opacity:.75}.wm-place text{text-anchor:middle;paint-order:stroke;stroke:#15131f;stroke-width:3px;stroke-linejoin:round}.wm-name{fill:var(--text);font-size:15px}.wm-level{fill:var(--muted);font-size:12.5px}.wm-place.here .wm-name{fill:var(--gold);font-weight:700}.wm-pin{fill:var(--red);stroke:#15131f;stroke-width:1.5px}.wm-pin-eye{fill:#fbf5e8}#quests{width:min(460px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 112px);padding:14px 16px;position:absolute;bottom:96px;left:50%;overflow-y:auto;transform:translate(-50%)}.quest-tabs{gap:6px;margin-bottom:10px;display:flex}.quest-tabs .ghost{flex:1;padding:6px 10px;font-size:14px}.quest-tabs .selected{border-color:var(--gold);color:var(--gold)}.quest-list{flex-direction:column;gap:6px;display:flex}.quest-row{text-align:left;width:100%;color:var(--text);border:1px solid var(--line);background:#ffffff0d;border-radius:4px;padding:7px 10px;display:block}.quest-row:hover{border-color:var(--gold);background:#d4b36c24}.quest-row.selected{border-color:var(--gold);box-shadow:0 0 6px #e8c27a66}.quest-row b{color:var(--gold);font-size:14.5px;display:block}.quest-row small{color:var(--muted)}#quest-detail{z-index:2;width:min(340px, calc(calc(var(--vw) * 100) - 20px));max-height:calc(calc(var(--vh) * 100) - 112px);padding:14px 16px;position:absolute;top:10px;right:10px;overflow-y:auto}#quest-detail h3{color:var(--gold);margin:0 34px 4px 0;font-size:17px}#quest-detail h4{color:var(--muted);margin:12px 0 5px;font-size:13px;font-weight:400}.quest-meta{color:var(--muted);margin:0;font-size:13px}.quest-status{color:#15131f;background:var(--blue);border-radius:3px;margin-right:4px;padding:0 7px;font-size:12.5px;display:inline-block}.quest-status.ready{background:var(--gold)}.quest-status.done{background:var(--green)}.quest-text{margin:10px 0 0;font-size:14px;font-style:italic}.quest-steps,.quest-rewards{flex-direction:column;gap:6px;margin:0;padding:0;font-size:14px;list-style:none;display:flex}.quest-steps li{gap:8px;display:flex}.quest-steps li>div{flex:1;min-width:0}.quest-steps li.ok>div{color:var(--muted)}.tick{text-align:center;color:#15131f;border:1px solid var(--muted);border-radius:3px;flex:none;width:18px;height:18px;font-size:13px;line-height:16px}.quest-steps .ok .tick{background:var(--green);border-color:var(--green)}.quest-item{align-items:center;gap:8px;display:flex}.quest-item img{background:#ffffff29;border-radius:4px;flex:none;width:40px;height:40px}.quest-item small{color:var(--muted);display:block}#result{z-index:3;width:min(560px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 32px);flex-direction:column;gap:12px;padding:20px 24px;display:flex;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 10px 50px #000000a6}#bar.in-fight{width:min(1180px, calc(calc(var(--vw) * 100) - 20px));gap:10px}#bar.in-fight #me{width:190px}#bar.in-fight .me-values{white-space:nowrap}#bar.in-fight .hud-btn span{display:none}#timeline{z-index:1;max-width:calc(calc(var(--vw) * 100) - 24px);align-items:stretch;gap:6px;padding:6px 8px;display:flex;position:absolute;bottom:106px;left:50%;overflow-x:auto;transform:translate(-50%)}.tl-round{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;border-right:1px solid #ffffff1f;flex-direction:column;flex:none;justify-content:center;align-items:center;min-width:40px;padding-right:8px;display:flex}#timeline.dragging .tl-round{cursor:grabbing}#timeline.dragging{opacity:.85}.tl-grip{color:var(--muted);font-size:12px;line-height:1}.res{color:var(--element);border:1px solid var(--element);border-radius:3px;padding:0 3px;font-size:10px;font-style:normal;font-weight:700;line-height:13px}.res.weak{color:#15131f;background:var(--element)}.spell-element{display:inline-flex}.spell-element .spell-icon{color:inherit}.spell-emblem{--turn:20deg;aspect-ratio:1;isolation:isolate;background:radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--el) 38%, #1d1826), color-mix(in srgb, var(--el) 16%, #0e0b14) 70%, #0a0810);border-radius:50%;width:min(42px,86%);display:block;position:relative;box-shadow:inset 0 0 0 1px #0009,inset 0 2px #ffffff0f,inset 0 -6px 10px #00000073,0 3px 6px #00000080}.spell-emblem:before{content:"";transform:rotate(var(--turn));background:var(--el);pointer-events:none;-webkit-mask:var(--enso) center / contain no-repeat;-webkit-mask:var(--enso) center / contain no-repeat;mask:var(--enso) center / contain no-repeat;filter:drop-shadow(0 0 2px color-mix(in srgb, var(--el) 60%, transparent));opacity:.9;position:absolute;inset:-4px}.spell-emblem svg{width:84%;height:84%;position:absolute;inset:8%;overflow:visible}:nth-child(3n+2)>.spell-emblem{--turn:140deg}:nth-child(3n)>.spell-emblem{--turn:260deg}.spell:disabled .spell-emblem{filter:grayscale(.75)brightness(.6)}.tl-round small{color:var(--muted);font-size:11px}.tl-round b{color:var(--gold);font-size:22px;line-height:1}.tl{width:78px;color:var(--text);text-align:center;cursor:default;background:#ffffff0d;border:2px solid #0000;border-radius:6px;flex:none;padding:4px 5px 5px;font-size:12px;line-height:1.2;display:block;position:relative}.tl-face{height:52px;display:block;overflow:hidden}.tl .doll{width:44px;height:73px;margin:auto}.tl .mon-icon{width:56px;height:44px;margin:4px auto 0}.tl-name{white-space:nowrap;text-overflow:ellipsis;margin-top:2px;display:block;overflow:hidden}.tl-level{color:var(--gold);font-size:11px;display:block}.tl .bar{height:6px;margin:3px 0 1px;padding:0;display:block;position:relative}.tl-hp{color:var(--muted);font-size:10.5px;display:block}.tl.ally{background:#86aecb24}.tl{overflow:hidden}.tl-face{position:relative}.tl-time{transform:translateY(calc((1 - var(--used,0)) * 100%));will-change:transform;pointer-events:none;background:linear-gradient(#c9964699,#e8c27ad9);transition:transform .25s linear;position:absolute;inset:0;box-shadow:inset 0 2px #ffdf9a}.tl:not(.timed) .tl-time{display:none}.tl.timed.urgent .tl-time{background:linear-gradient(#a8362aa6,#e06a58e6);box-shadow:inset 0 2px #ffb3a6}.tl.foe{background:#c9695f29}.tl.foe .bar i{background:linear-gradient(90deg,#a33a2c,#e06a58)}.tl.active{border-color:var(--gold);box-shadow:0 0 10px #e8c27a8c}.tl.dead{opacity:.3}.tl.can-hit{cursor:pointer;border-color:var(--red);box-shadow:0 0 10px #e06a58a6}.tl.ally.can-hit{border-color:var(--green);box-shadow:0 0 10px #8fbf7aa6}.tl:hover:not(:disabled){background:#ffffff24}.statuses{vertical-align:1px;gap:3px;margin-left:5px;display:inline-flex}.tl .statuses{margin:0;position:absolute;top:3px;left:3px}.status{text-align:center;color:#15131f;border-radius:8px;min-width:15px;height:15px;font-size:10.5px;font-style:normal;font-weight:700;line-height:15px;display:inline-block}#actionbar{border-left:1px solid #ffffff1f;flex:1;justify-content:center;align-items:center;gap:12px;min-width:0;padding-left:12px;display:flex}.pool{flex:none;gap:8px;display:flex}.pool div{text-align:center;min-width:32px;color:var(--muted);font-size:11.5px}.pool b{font-size:22px;line-height:1.05;display:block}.pool .ap b{color:var(--blue)}.pool .mp b{color:var(--green)}.spell-bar{flex:0 auto;gap:5px;display:flex}.spell{width:54px;height:54px;color:var(--text);background:#ffffff12;border:2px solid #6d5c3c99;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.spell kbd{z-index:1;color:#e9e2d2;background:#0c0912d1;border-radius:3px;padding:0 3px;font:10.5px/14px Georgia,serif;position:absolute;top:1px;left:1px}.spell .cost{z-index:1;color:var(--blue);font-size:11.5px;font-style:normal;font-weight:700;position:absolute;bottom:1px;right:3px}.spell .cd{z-index:2;color:#fbf5e8;background:#0a0812b8;border-radius:6px;place-items:center;font-size:22px;font-weight:700;display:grid;position:absolute;inset:0}.spell:hover:not(:disabled){border-color:var(--gold);background:#ffffff29}.spell.selected{border-color:#fff;box-shadow:0 0 10px #86aecbe6}.spell:disabled{cursor:default}.spell:disabled .spell-icon,.spell:disabled .cost{opacity:.4}.tip{z-index:4;text-align:left;border:1px solid var(--line);pointer-events:none;background:#1a1825;border-radius:6px;width:250px;padding:8px 10px;font-size:13px;line-height:1.3;display:none;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%);box-shadow:0 4px 18px #00000080}.spell:hover .tip,.spell:focus-visible .tip{display:block}.spell:hover,.spell:focus-visible{z-index:6}.tip b{color:var(--gold);margin-bottom:2px;font-size:14px;display:block}.tip span{display:block}.tip small{color:var(--muted);margin-top:4px;display:block}#turn-info{text-align:center;flex:none;min-width:96px}#turn-info.placement{min-width:320px}#turn-info.placement small{color:var(--muted)}#turn-info strong{color:var(--muted);font-size:13.5px;font-weight:400;display:block}#turn-info.mine strong{color:var(--gold);font-weight:700}#timer{font-size:18px;font-weight:700}#timer.urgent{color:var(--red)}.end-turn{flex:none;padding:9px 12px;font-size:14px}#log{background:#171521c7;flex-direction:column;justify-content:flex-end;width:270px;max-height:150px;padding:6px 10px;font-size:12.5px;display:flex;position:absolute;bottom:106px;right:10px;overflow:hidden}#log div{padding:1px 0}#fight-note{color:var(--gold);text-shadow:0 2px 8px #000,0 0 3px #000;pointer-events:none;padding:6px 20px;font-size:21px;font-weight:700;animation:1.3s ease-out both fight-note;position:absolute;top:90px;left:50%;transform:translate(-50%)}@keyframes fight-note{0%{opacity:0;transform:translate(-50%,8px)}15%,75%{opacity:1;transform:translate(-50%)}to{opacity:0}}#fight-note.my-turn{white-space:nowrap;border:1px solid var(--gold);background:linear-gradient(#2a1e12f0,#140f18f0);border-radius:6px;flex-direction:column;align-items:center;gap:2px;padding:10px 28px;animation:2.2s ease-out both my-turn;display:flex;box-shadow:0 0 0 1px #07060b,0 6px 22px #0009,0 0 24px #e8c27a40}#fight-note.my-turn b{font:800 26px/1.1 var(--title-font,Georgia, serif);letter-spacing:.02em;color:var(--gold)}#fight-note.my-turn:has(.my-turn-face){border-radius:40px;flex-direction:row;gap:14px;padding:8px 26px 8px 10px}.my-turn-face{border:2px solid var(--gold);background:radial-gradient(circle at 50% 35%,#3a3346,#15131f);border-radius:50%;flex:none;width:58px;height:58px;overflow:hidden;box-shadow:0 0 14px #e8c27a73}.my-turn-face .doll{width:58px;height:97px;margin:0 auto}.my-turn-text{flex-direction:column;align-items:flex-start;gap:1px;display:flex}.my-turn-text small{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);text-shadow:none;font-size:11px;font-weight:600}.tl.hidden{background:#ffffff0a}.tl-silhouette{fill:#dcd2eb47;width:32px;height:42px;margin:6px auto 0;display:block}#hud.in-fight .tl-silhouette{width:24px;height:31px;margin-top:4px}@keyframes my-turn{0%{opacity:0;transform:translate(-50%,-8px)scale(.94)}10%{opacity:1;transform:translate(-50%)scale(1.03)}18%,80%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(-50%)scale(1)}}@media (prefers-reduced-motion:reduce){#fight-note,#fight-note.my-turn{animation:none}}.sound-row{grid-template-columns:70px 1fr 42px;align-items:center;gap:8px;font-size:13.5px;display:grid}.sound-row input{width:100%;accent-color:var(--gold)}.sound-row output{text-align:right;color:var(--muted);font-size:12.5px}.quest-tracker{text-align:left;width:100%;color:var(--text);background:0 0;border:0;padding:0;font-size:13.5px;line-height:1.25;display:block}.quest-tracker:hover .quest-title{text-decoration:underline}.quest-kicker{color:var(--muted);font-size:11.5px}.quest-title{color:var(--gold);font-weight:700}.quest-tracker .bar{max-width:240px;height:5px;margin:3px 0 0}.tracked{color:#15131f;background:var(--gold);border-radius:3px;margin-left:4px;padding:0 5px;font-size:11px;font-style:normal;font-weight:400}.quest-main{letter-spacing:.5px;color:var(--gold);margin:0 0 4px;font-size:12.5px}.tl.boss{background:#6a3f8a4d;width:92px}.quest-follow{margin-top:10px;padding:4px 10px;font-size:13.5px}#toast{text-align:center;pointer-events:none;padding:18px 34px;font-size:19px;position:absolute;top:26%;left:50%;transform:translate(-50%)}#toast strong{color:var(--gold);font-size:28px;display:block}#disconnected{z-index:5;pointer-events:auto;background:#050806bf;place-items:center;display:grid;position:fixed;inset:0}@media (width<=860px){.spell-row{grid-template-columns:56px 1fr}.spell-preview{grid-column:2}#inventory,#stats{grid-template-columns:1fr}#log{display:none}#chat{width:240px;bottom:150px}#chat-log{max-height:60px}#bar.in-fight #actionbar{flex-wrap:wrap}.spell-bar{flex-wrap:wrap;justify-content:center}#bar{flex-wrap:wrap;gap:8px}#quest,#actionbar{border-left:0;flex-basis:100%;order:3;padding-left:0}#me{flex:1;width:auto}.bar-buttons{flex-wrap:wrap}#quest-detail{width:auto;max-height:calc(calc(var(--vh) * 100) - 220px);top:54px;left:10px}#fights,#dialog,#inventory,#stats,#spells,#emotes,#shop,#worldmap,#quests{bottom:150px}#inventory{max-height:calc(calc(var(--vh) * 100) - 166px)}}.rank-pips{gap:3px;display:flex}.rank-pips i{border:1px solid var(--gold);opacity:.55;width:7px;height:7px;transform:rotate(45deg)}.rank-pips i.on{background:var(--gold);opacity:1}.respec-hint{color:var(--muted);margin:12px 0 0;font-size:12.5px;font-style:italic}.spell-actions{flex-wrap:wrap;gap:6px;margin-top:5px;display:flex}.spell-actions .ghost{padding:3px 10px;font-size:13px}.spell-actions .ghost:disabled{opacity:.45;cursor:default}.rank-up:not(:disabled){color:var(--gold);border-color:var(--gold)}.boost-pick.selected{color:var(--green);border-color:var(--green)}.boost-tag{color:#15131f;background:#e8884a;border-radius:3px;margin-left:4px;padding:0 5px;font-size:11px;font-style:normal}.next-rank{margin-top:3px;line-height:1.3;display:block}.next-rank b{font-weight:600}.rank-badge{border:1px solid;border-radius:3px;margin-left:2px;padding:0 3px;font-size:10.5px;font-style:normal}:root{--line:#e8c27a52;--main:#5fb4f0;--panel:#15131ff0}.panel{border-radius:8px;box-shadow:0 6px 22px #0006}.ghost{border-color:#e8c27a4d;border-radius:6px}.ghost:disabled{opacity:.45;cursor:default}.primary{border-radius:6px}#top-left{pointer-events:none;flex-direction:column;align-items:flex-start;gap:6px;width:250px;display:flex;position:absolute;top:10px;left:10px}#map-title{max-width:100%;padding:4px 12px;font-size:15px;position:static}#top-left #me{align-items:center;gap:10px;width:100%;padding:6px 10px;display:flex}#top-left .portrait{margin:-3px;transform:scale(.9)}#hud #me strong{font-size:15px}#party{width:100%}.party-head{flex-direction:column;gap:4px;padding:6px 10px;display:flex}.party-head>small{color:var(--muted);font-size:12px}.party-row{grid-template-columns:1fr auto;align-items:center;column-gap:6px;font-size:13.5px;display:grid}.party-row b{grid-column:1;font-weight:600}.party-row small{color:var(--muted);grid-column:1;font-size:12px}.party-row .ghost{grid-area:1/2/span 2;padding:1px 7px;font-size:12px}.crown{color:var(--gold);margin-right:3px;font-style:normal}.party-call{padding:5px 8px;font-size:13px}.party-quit{padding:3px 8px;font-size:12.5px}#top-right{pointer-events:none;flex-direction:column;align-items:stretch;gap:6px;width:210px;display:flex;position:absolute;top:10px;right:10px}#quest{border:0;flex:none;padding:0}.quest-tracker.panel{border-left:3px solid var(--gold);width:100%;padding:7px 10px;display:block}.quest-tracker.main{border-left-color:var(--main)}.quest-tracker.main .quest-kicker,.quest-tracker.main .quest-title{color:var(--main)}#bar,#bar.in-fight{width:auto;max-width:calc(calc(var(--vw) * 100) - 16px);border:1px solid var(--line);border-radius:8px;gap:8px;min-height:0;padding:5px 8px;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.bar-buttons{align-items:center;gap:4px}.hud-btn{border-color:#e8c27a38;min-width:50px;height:48px;padding:3px 4px;font-size:11px}.hud-btn .ic{font-size:20px}.zoom-pair{flex-direction:column;gap:2px;margin-right:2px;display:flex}.hud-btn.zoom,.bar-buttons .zoom{width:30px;min-width:30px;height:23px;padding:0}#bar.in-fight .zoom-pair{display:none}#bar.in-fight .hud-btn{min-width:40px;height:40px}#actionbar{border-left:0;padding-left:0}.window,#inventory,#stats,#spells,#shop,#worldmap,#quests{max-height:calc(calc(var(--vh) * 100) - 110px);padding:14px 16px;top:calc(50% - 30px);bottom:auto;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.window>h3,#inventory h3,#stats h3,#spells h3,#worldmap h3,#quests h3,#friends h3{color:var(--gold);letter-spacing:.3px;border-bottom:1px solid var(--line);margin:0 0 8px;padding-bottom:6px;font-size:16px}.window .close,#friends .close{padding:2px 9px;position:absolute;top:9px;right:10px}#worldmap{width:min(860px, calc(calc(var(--vw) * 100) - 32px));background:#191724}.wm{max-height:calc(calc(var(--vh) * 100) - 170px)}#dialog,#emotes,#fights{bottom:72px}#log{bottom:96px}#chat{width:300px;bottom:8px;left:10px}#hud.in-fight #chat{width:250px;bottom:96px}.chat-tabs{gap:3px;display:flex}.chat-tabs button{color:var(--muted);background:#ffffff0d;border:1px solid #0000;border-radius:4px;flex:1;padding:1px 6px;font-size:12px}.chat-tabs .selected{color:var(--gold);border-color:var(--line)}#chat-log .in-party b{color:var(--green)}#chat-log .in-party{color:#cfe6c8}#chat-log .sys{color:var(--muted);font-style:italic}#chat.party-only #chat-log .in-all{display:none}#hud [hidden]{display:none!important}#friends{width:min(440px, calc(calc(var(--vw) * 100) - 32px));position:absolute}#friend-form{gap:6px;margin-bottom:10px;display:flex}#friend-input{min-width:0;font:inherit;color:var(--text);border:1px solid var(--line);background:#ffffff12;border-radius:6px;flex:1;padding:6px 10px;font-size:14px}#friend-form .primary{padding:6px 12px;font-size:14px}#friends-list{flex-direction:column;gap:5px;display:flex}.friend-row{background:#ffffff0a;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;display:flex}.friend-row span{flex:1;min-width:0}.friend-row small{color:var(--muted)}.friend-row .where{display:block}.friend-row .ghost{padding:3px 9px;font-size:13px}.dot{background:#5c5a66;border-radius:50%;flex:none;width:9px;height:9px}.friend-row.on .dot{background:var(--green)}.admin-online-title{color:var(--gold);border-top:1px solid var(--line);margin:12px 0 2px;padding-top:8px;font-size:14px}.admin-online-title small{color:var(--muted);font-weight:400}#prompts{z-index:4;width:min(400px, calc(calc(var(--vw) * 100) - 32px));flex-direction:column;gap:6px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%)}.prompt{border-color:var(--gold);padding:10px 14px}.prompt p{margin:0 0 8px;font-size:14.5px}.prompt b{color:var(--gold)}.prompt div{gap:6px;display:flex}.prompt button{padding:5px 12px;font-size:13.5px}#player-menu{z-index:4;flex-direction:column;gap:4px;width:190px;padding:8px 10px;display:flex;position:absolute}#player-menu b{color:var(--gold)}#player-menu small{color:var(--muted);margin-top:-3px}#player-menu button{text-align:left;padding:4px 8px;font-size:13.5px}.quest-group{color:var(--muted);margin:8px 0 2px;font-size:13px;font-weight:400}.quest-group.main{color:var(--main)}.quest-list .quest-group:first-child{margin-top:0}.quest-row.main{border-color:var(--main)}.quest-row.main:hover{border-color:var(--main);background:#5fb4f024}.quest-row.main b{color:var(--main)}.quest-row.main.selected{box-shadow:0 0 7px #5fb4f08c}.main-mark{text-align:center;color:#0f1a24;background:var(--main);border-radius:50%;width:15px;height:15px;margin-right:5px;font-size:11.5px;font-style:normal;font-weight:700;line-height:15px;display:inline-block}.quest-main{color:var(--main);margin:0 0 4px;font-size:13px}.quest-side{color:var(--muted);margin:0 0 4px;font-size:13px}#quest-detail{top:10px;right:10px}.spell-group{color:var(--gold);margin:12px 0 6px;font-size:15px;font-weight:400}.spell-group small{color:var(--muted);font-size:12.5px;display:block}#spells .points b{font-size:16px}.boost-slots{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:6px;display:grid}.boost-slot{border:2px solid var(--green);background:#8fbf7a1f;border-radius:8px;align-items:center;gap:8px;min-height:58px;padding:6px 10px;display:flex}.boost-slot span:nth-child(2){flex:1;min-width:0}.boost-slot b{font-size:14px;display:block}.boost-slot small{color:var(--muted);font-size:12px;display:block}.boost-slot .ghost{padding:3px 9px;font-size:13px}.boost-slot.empty{background:0 0;border:2px dashed #ffffff40;flex-direction:column;justify-content:center;align-items:flex-start;gap:0}.spell-row.chosen{background:#8fbf7a12}.boost-tag{background:var(--green)}.spell-actions .primary{padding:3px 12px;font-size:13px}.spell-actions .primary:disabled{opacity:.5}.bar-sep{background:var(--line);flex:none;width:2px;margin:4px 3px}@media (width<=860px){#top-left{width:180px}.me-values{flex-wrap:wrap;row-gap:9px}.me-values .v-hp{flex-basis:100%}#top-right{display:none}#bar,#bar.in-fight{width:calc(calc(var(--vw) * 100) - 16px);flex-wrap:wrap;justify-content:center}#chat{width:220px;bottom:118px}#hud.in-fight #chat{display:none}.boost-slots{grid-template-columns:1fr}#dialog,#emotes,#fights{bottom:118px}}.quest-tracker.panel{background:var(--panel)}#hud #actionbar{flex:none}#bar,#bar.in-fight{width:max-content}@media (width<=860px){#bar,#bar.in-fight{width:calc(calc(var(--vw) * 100) - 16px)}}#spells{width:min(800px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 110px);flex-direction:column;display:flex;overflow:hidden}#spells .points{flex:none}.spell-book{min-height:0;height:min(520px, calc(calc(var(--vh) * 100) - 210px));flex:1;grid-template-columns:240px 1fr;gap:14px;display:grid}.spell-list{flex-direction:column;gap:4px;min-height:0;padding-right:6px;display:flex;overflow-y:auto}.spell-list h4{letter-spacing:.4px;margin:8px 0 1px;font-size:12.5px;font-weight:400}.spell-list h4:first-child{margin-top:0}.type-attaque{color:#e0806f}.type-deplacement{color:#b48ae0}.type-soin{color:#8fe08a}.type-boost{color:#e8a65a}.spell-item{text-align:left;width:100%;color:var(--text);background:#ffffff0a;border:1px solid #0000;border-radius:6px;align-items:center;gap:8px;padding:5px 8px;display:flex;position:relative}.spell-item:hover{background:#ffffff1a}.spell-item.selected{border-color:var(--gold);background:#e8c27a21}.spell-item.empty{border:1px dashed #ffffff40}.spell-item-text{flex:1;min-width:0}.spell-item-text b{font-size:13.5px;line-height:1.2;display:block}.spell-item-text small{color:var(--muted);font-size:11.5px;display:block}.slot-name{letter-spacing:.3px;font-size:10.5px!important}.empty-icon{width:24px;color:var(--muted);justify-content:center;font-size:20px;line-height:24px}.can-up{text-align:center;color:#17130b;background:var(--gold);border-radius:50%;width:17px;height:17px;font-size:13px;font-style:normal;font-weight:700;line-height:16px}.spell-detail{border-left:1px solid var(--line);min-height:0;padding:2px 8px 2px 14px;overflow-y:auto}.spell-head{align-items:center;gap:10px;display:flex}.spell-head h4{color:var(--gold);margin:0;font-size:18px;font-weight:600}.spell-element.big .spell-icon{width:40px;height:40px}.spell-tags{flex-wrap:wrap;gap:4px;margin:3px 0 0;display:flex}.tag{border:1px solid;border-radius:9px;padding:0 7px;font-size:12px;font-style:normal;line-height:18px}.spell-desc{margin:8px 0;font-size:14px}.spell-facts{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:5px;margin:0 0 8px;display:grid}.spell-facts div{background:#ffffff0d;border-radius:5px;padding:3px 7px}.spell-facts dt{color:var(--muted);font-size:11px}.spell-facts dd{margin:0;font-size:13.5px;font-weight:600}.spell-detail .spell-preview{width:100%;max-width:240px;height:auto;margin:0 auto 8px}.next-box{border:1px solid var(--line);background:#e8c27a14;border-radius:6px;padding:7px 10px;font-size:13.5px}.next-box b{color:var(--gold)}.next-box p{color:var(--muted);margin:2px 0 6px}.next-box .primary{padding:4px 12px;font-size:13px}.next-box .primary:disabled{opacity:.5}.slot-title{color:#e8a65a;margin:0 0 6px;font-size:14px;font-weight:400}.variants{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:5px;margin-bottom:10px;display:grid}.variant{min-height:76px;color:var(--text);text-align:center;background:#ffffff0d;border:1px solid #ffffff24;border-radius:6px;flex-direction:column;align-items:center;gap:1px;padding:5px;display:flex}.variant:hover:not(:disabled){background:#e8a65a29;border-color:#e8a65a}.variant.selected{background:#e8a65a33;border:2px solid #e8a65a}.variant:disabled{cursor:default}.variant:disabled:not(.selected){opacity:.45}.variant b{font-size:13px;line-height:1.15}.variant small{color:var(--muted);font-size:11px;line-height:1.15}.slot-clear{margin-top:8px;padding:3px 10px;font-size:13px}@media (width<=680px){.spell-book{grid-template-columns:1fr;height:auto;overflow-y:auto}#spells{overflow-y:auto}.spell-detail{border-left:0;padding-left:0}}#fighter-card{width:100%;padding:8px 10px;position:relative}#fighter-card .close{padding:1px 7px;font-size:12px;position:absolute;top:6px;right:6px}.card-head{gap:10px;padding-right:22px;display:flex}.card-head>div{flex:1;min-width:0}.card-head b{color:var(--gold);font-size:15px;line-height:1.15;display:block}.card-head small{color:var(--muted);font-size:12px;display:block}.card-head .bar{height:6px;margin:3px 0 1px;display:block}.card-head.monsters .bar i{background:linear-gradient(90deg,#a33a2c,#e06a58)}.card-face{border:1px solid var(--line);background:#ffffff12;border-radius:6px;flex:none;width:66px;height:66px;display:block;overflow:hidden}.card-head.boss .card-face{border:2px solid #b48ae0}.card-face .doll{width:60px;height:100px;margin:0 auto}.card-face .mon-icon{width:62px;height:62px;margin:2px auto}#fighter-card h4{color:var(--muted);margin:8px 0 3px;font-size:12.5px;font-weight:400}.card-trait{color:#9fd8f2;margin:6px 0 2px;font-size:12.5px;line-height:1.4}.res-row{grid-template-columns:44px 1fr 42px;align-items:center;gap:6px;font-size:12.5px;line-height:1.5;display:grid}.res-row b{text-align:right;color:var(--muted);font-weight:600}.res-row b.strong{color:#86aecb}.res-row b.weak{color:#ffb24d}.res-bar{background:#ffffff1a;border-radius:3px;height:6px;display:block;position:relative}.res-bar:before{content:"";background:#fff6;width:1px;position:absolute;top:-1px;bottom:-1px;left:50%}.res-bar i{position:absolute;top:0;bottom:0}.res-bar i.strong{background:#86aecb;border-radius:0 3px 3px 0;left:50%}.res-bar i.weak{background:#ffb24d;border-radius:3px 0 0 3px;right:50%}.card-spells{flex-wrap:wrap;gap:3px 9px;margin:0;padding:0;font-size:12.5px;list-style:none;display:flex}.tier{align-items:center;gap:5px;margin-top:1px;display:flex!important}.tier-pips{gap:2px;display:inline-flex}.tier-pips i{background:#ffffff29;border-radius:1px;width:8px;height:5px}.tier-pips i.on{background:var(--gold)}.tier-pips i.now{background:#ffb24d}#dialog{z-index:2;pointer-events:auto;width:min(370px, calc(calc(var(--vw) * 100) - 24px));color:#1c1822;background:#f7f1e3;border:0;border-radius:12px;padding:10px 14px 12px;display:block;position:absolute;top:40%;bottom:auto;left:50%;transform:translate(-50%,-100%);box-shadow:0 6px 22px #00000080}#dialog:after{content:"";left:calc(50% + var(--tail,0px));border:10px solid #0000;border-top-color:#f7f1e3;border-bottom:0;margin-left:-10px;position:absolute;bottom:-10px}.bubble-name{color:#a3301f;font-size:14px;display:block}.bubble-title{color:#7a6a4a;margin-top:-1px;font-size:12.5px;display:block}.bubble-title.main{color:#2379b8;font-weight:600}#dialog p{margin:4px 0 9px;font-size:14.5px;line-height:1.32}#dialog .actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}#dialog .primary{padding:5px 12px;font-size:13.5px}#dialog .ghost{color:#1c1822;background:#00000012;border-color:#00000040;padding:5px 12px;font-size:13.5px}#dialog .reward{color:#7a6a4a;width:100%;font-size:12.5px}#dialog{width:min(400px, calc(calc(var(--vw) * 100) - 24px));color:#2a2118;background:linear-gradient(#fbf5e6 0%,#f1e6cf 100%);border:1px solid #c9a877;border-radius:16px;padding:0 0 12px;box-shadow:0 0 0 3px #fbf5e659,0 12px 34px #0000008c}#dialog:before{content:"";pointer-events:none;border:1px solid #8a623847;border-radius:12px;position:absolute;inset:5px}#dialog:after{filter:drop-shadow(0 2px 1px #5a3c1e66);border-width:11px 10px 0;border-top-color:#f1e6cf;bottom:-11px}#dialog.opening{animation:.2s cubic-bezier(.2,1.4,.4,1) both bubble-in}@keyframes bubble-in{0%{opacity:0;transform:translate(-50%,-92%)scale(.92)}to{opacity:1;transform:translate(-50%,-100%)scale(1)}}@media (prefers-reduced-motion:reduce){#dialog.opening{animation:none}}.bubble-head{align-items:center;gap:10px;padding:12px 16px 6px;display:flex}.bubble-face{background:radial-gradient(circle at 50% 35%,#e8d9b6,#bfa878);border:2px solid #8a6238;border-radius:50%;flex:none;width:50px;height:50px;overflow:hidden}.bubble-face img{width:92px;height:auto;margin:-7px 0 0 -21px;display:block}.bubble-who{flex:1;min-width:0}#dialog .bubble-name{color:#8c2a1c;font-size:17px;line-height:1.15;display:block}#dialog .bubble-title{color:#7a6238;align-items:center;margin:2px 0 0;font-size:13px;font-style:italic;display:flex}#dialog .bubble-title.main{color:#2172ad;font-style:normal;font-weight:600}#dialog .main-mark{color:#fff;background:#2f8fd6}#dialog .bubble-text{margin:0;padding:2px 18px 10px;font-size:15px;line-height:1.38}.rewards{border-top:1px dashed #8a623873;flex-wrap:wrap;align-items:stretch;gap:6px;margin:0 16px 10px;padding-top:9px;display:flex}.reward-card{background:#8a623821;border:1px solid #8a623859;border-radius:8px;align-items:center;gap:6px;min-height:38px;padding:3px 9px;font-size:14px;display:inline-flex}.reward-card b{color:#3a2a18}.reward-card.item{background:#c9a15a38;border-color:#b08a4a;flex:100%;padding:4px 9px 4px 4px}.reward-card.item img{background:#2a2730;border-radius:6px;flex:none;width:46px;height:46px;padding:2px}.reward-card.item span{min-width:0}.reward-card.item b{font-size:14.5px;line-height:1.2;display:block}.reward-card.item small{color:#6e5a38;font-size:12px;display:block}.reward-card .ic{color:#b07c1e;width:18px;height:18px}.rewards-label{letter-spacing:.04em;text-transform:uppercase;color:#7a6238;align-items:center;gap:4px;font-size:11px;font-weight:600;display:inline-flex}.rewards-label .ic{width:14px;height:14px}.rewards-label.end{align-self:center;margin-right:2px}.rewards.gift{background:#6eaa5024;border:1px solid #4f8a3a8c;border-radius:8px;flex-wrap:nowrap;align-items:center;gap:7px;margin-bottom:6px;padding:4px 8px}.rewards.gift+.rewards{padding-top:6px}.rewards.gift .rewards-label{color:#3f6f2e;flex:none}.rewards.gift .rewards-label .ic{color:#4f8a3a;width:20px;height:20px}#dialog .rewards.gift img{object-fit:contain;background:#2a2730;border-radius:5px;flex:none;width:28px;height:28px;padding:1px}.rewards.gift b{color:#3a2a18;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:14px;overflow:hidden}.reward-xp{color:#fbf5e6;background:#5c8f4e;border-radius:4px;padding:0 5px;font-size:11px;font-style:normal;font-weight:700;line-height:17px}#dialog .actions{padding:0 16px}.lore-pages{color:#7a6238;margin-left:auto;font-size:12.5px}#dialog .reward-card.item img{object-fit:contain;align-self:center;width:46px;height:46px}#dialog .bubble-face img{width:92px;height:auto}#dialog .bubble-face.stele img{width:72px;margin:-32px 0 0 -11px}#top-right{align-items:flex-end}#quest{width:210px}#quest:has(.open){width:min(320px, calc(calc(var(--vw) * 100) - 20px))}.quest-tracker.panel{max-height:calc(calc(var(--vh) * 100) - 220px);padding:0;font-size:13.5px;line-height:1.25;overflow-y:auto}.quest-tracker>*{display:flex}.quest-head{text-align:left;width:100%;color:var(--text);font:inherit;background:0 0;border:0;align-items:flex-start;gap:6px;padding:7px 8px 7px 10px;display:flex}.quest-head:hover{background:#ffffff12}.quest-head-text{flex:1;min-width:0}.quest-head-text>*{display:block}.quest-chevron{text-align:center;width:22px;height:22px;color:var(--gold);border:1px solid var(--line);border-radius:5px;flex:none;font-size:14px;font-style:normal;line-height:20px}.quest-tracker.main .quest-chevron{color:var(--main);border-color:var(--main)}.quest-head:hover .quest-title{text-decoration:none}.quest-head .bar{height:5px;margin:3px 0 0}.quest-tracker .quest-more{border-top:1px solid var(--line);padding:0 10px 10px;display:block}.quest-more .quest-text{margin-top:8px;font-size:13.5px}.quest-more h4{color:var(--muted);margin:10px 0 4px;font-size:12.5px;font-weight:400}.quest-more .quest-steps,.quest-more .quest-rewards{font-size:13px}.quest-journal{width:100%;margin-top:10px;padding:4px 8px;font-size:13px}#turn-card{z-index:1;pointer-events:none;position:absolute;top:10px;left:50%;transform:translate(-50%)}.turn-card{background:var(--panel);border:2px solid var(--line);border-radius:10px;flex-direction:column;align-items:center;gap:3px;width:118px;padding:7px 8px 6px;display:flex;box-shadow:0 6px 22px #00000080}.turn-card.fresh{animation:.32s cubic-bezier(.2,1.5,.4,1) both turn-in}.turn-card.players{border-color:#86aecb}.turn-card.monsters{border-color:var(--red)}.turn-card.mine{border-color:var(--gold);box-shadow:0 0 16px #e8c27a99}.turn-card.boss{border-color:#b48ae0;box-shadow:0 0 16px #b48ae099}.turn-card b{max-width:100%;color:var(--gold);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.turn-face{background:radial-gradient(circle at 50% 40%,#ffffff29,#ffffff08);border-radius:7px;width:90px;height:84px;display:block;overflow:hidden}.turn-face .doll{width:84px;height:140px;margin:0 auto}.turn-face .mon-icon{width:88px;height:80px;margin:2px auto}@keyframes turn-in{0%{opacity:0;transform:translateY(-16px)scale(.86)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.turn-card,.turn-card.fresh{animation:none}}.spell-bar{max-width:max(320px, calc(calc(var(--vw) * 100) - 500px));flex-wrap:wrap;justify-content:center;gap:4px}.spell{width:46px;height:46px}.spell .spell-icon{width:23px;height:23px}#timeline,#hud.in-fight #chat,#log{bottom:calc(var(--bar-h,66px) + 18px)}@keyframes glow-beat{50%{opacity:1}}.end-turn.nudge:after{content:"";border-radius:inherit;opacity:0;will-change:opacity;pointer-events:none;animation:1s ease-in-out infinite glow-beat;position:absolute;inset:0;box-shadow:inset 0 0 0 3px #e8c27ad9}@media (prefers-reduced-motion:reduce){.end-turn.nudge:after{animation:none}.end-turn.nudge{outline:2px solid var(--gold)}}#inventory{width:min(860px, calc(calc(var(--vw) * 100) - 32px));grid-template-columns:300px 1fr}#inventory .items{max-height:min(430px, calc(calc(var(--vh) * 100) - 210px));grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-content:start;gap:6px;display:grid}.item-card{text-align:left;color:var(--text);border:1px solid var(--line);background:#ffffff0d;border-radius:7px;align-items:center;gap:8px;padding:5px 6px;display:flex}.item-card:hover:not(.locked){border-color:var(--gold);background:#d4b36c24}.item-card.locked{cursor:default}.item-card.locked img,.item-card.locked .item-info b{opacity:.55}.item-card img{background:#ffffff24;border-radius:5px;flex:none;width:40px;height:40px}.item-info{flex-direction:column;flex:1;align-items:flex-start;gap:3px;min-width:0;display:flex}.item-info b{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;line-height:1.15;overflow:hidden}#bag-tip{z-index:20;width:240px;font-size:12.5px;display:block;position:absolute;bottom:auto;transform:none}#bag-tip .cmp{margin-top:6px;display:block}.lvl{color:#17130b;background:var(--gold);border-radius:4px;flex:none;padding:0 5px;font-size:11px;font-style:normal;font-weight:600;line-height:16px}.lvl.high{color:#fff;background:#a33a2c}.slot .lvl{padding:0 4px;position:absolute;top:2px;left:2px}.chips{flex-wrap:wrap;gap:3px;display:flex}.chip{color:var(--muted);background:#ffffff14;border-radius:4px;padding:0 5px;font-size:11.5px;font-style:normal;line-height:17px}.b-hp{color:#ff9c8c;background:#e06a582e}.b-dmg{color:#ffc27a;background:#e8884a2e}.b-mp{color:#a9d9a0;background:#8fbf7a2e}.b-spd{color:#9fd0f0;background:#6fb6e02e}.chip.stat-chip{color:#f1e6cf;background:#ffffff14;align-items:center;gap:3px;display:inline-flex}.chip.stat-chip .ic{width:11px;height:11px;color:var(--gold);flex:none}.cmp{color:var(--muted);font-size:11.5px;line-height:1.25}.cmp i{font-style:normal}.cmp .up{color:#8fe08a}.cmp .down{color:#ff8a78}.gear-total{border-top:1px solid var(--line);margin-top:8px;padding-top:6px}.gear-total small{color:var(--muted);margin-bottom:3px;font-size:12px;display:block}.gear-lines{gap:2px;margin:0;padding:0;list-style:none;display:grid}.gear-lines li{background:#ffffff0a;border-radius:4px;align-items:center;gap:7px;padding:2px 6px;font-size:12.5px;display:flex}.gear-lines li .ic{font-size:14px}.gear-lines li span{color:var(--muted);flex:1}.gear-lines li b{font-variant-numeric:tabular-nums}.gear-lines li .ic{color:var(--gold)}.gear-lines li b{color:#f1e6cf}.gear-empty{color:var(--muted);margin:0;font-size:12px;font-style:italic}#toast{z-index:6}#result{z-index:5}#turn-card{left:auto;right:10px;transform:none}#fight-note{top:90px}#bar,#bar.in-fight{z-index:2}.party-row{align-items:center;gap:7px;padding:2px 0;display:flex}.party-face{border:1px solid var(--line);background:#2a3a30;border-radius:50%;flex:none;width:34px;height:34px;overflow:hidden}.party-face .doll{width:40px;height:66px;margin:1px 0 0 -4px}.party-who{flex:1;min-width:0}.party-who b,.party-who>small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.party-who b small{color:var(--muted);font-weight:400}.party-row .ghost{flex:none}.account-line b{color:var(--gold)}.link{font:inherit;color:var(--muted);background:0 0;border:0;padding:0 4px;font-size:13.5px;text-decoration:underline}.link:hover{color:var(--text)}.character-row{align-items:stretch;gap:6px;display:flex}.character-row .character{flex:1;min-width:0}.delete-character{color:#ff9c8c;flex:none;font-size:13.5px}.confirm-delete{background:var(--panel);border:1px solid var(--red);border-radius:6px;flex-direction:column;flex:none;justify-content:center;gap:4px;width:170px;padding:6px;font-size:12.5px;display:flex}.confirm-delete small{color:var(--text)}.confirm-delete button{padding:3px 8px;font-size:13px}#spells{width:min(720px, calc(calc(var(--vw) * 100) - 32px));height:auto;max-height:min(540px, calc(calc(var(--vh) * 100) - 130px));padding:12px 14px;top:calc(50% - 26px);bottom:auto;transform:translate(-50%,-50%)}#spells .points{margin-bottom:6px}.spell-book{height:min(420px, calc(calc(var(--vh) * 100) - 230px));grid-template-columns:218px 1fr}.spell-item{padding:3px 7px}.spell-detail .spell-preview{max-width:190px}*{scrollbar-width:thin;scrollbar-color:#e8c27a73 transparent}@supports not (scrollbar-color:red blue){::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#e8c27a73;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--gold)}}.panoply-note{color:#b9a6e8;margin-top:3px;font-size:11px;line-height:1.3;display:block}.panoply-note b{font-weight:600}.panoply-note.ready{color:#ffd76a}:root{--gold-bright:#ffe2a0;--lacquer-top:#2a2332;--lacquer-bottom:#120f18;--hud-lift:26px;--title-font:"Shippori Mincho B1", "Hiragino Mincho ProN", Georgia, serif;--ui-font:"Zen Old Mincho", "Hiragino Mincho ProN", Georgia, serif;--corners:linear-gradient(var(--gold), var(--gold)) left top / 14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) left top / 2px 14px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 2px 14px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 2px 14px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 2px 14px no-repeat}html,body{font-family:var(--ui-font);-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none}input,textarea{-webkit-user-select:text;user-select:text}.panel{background:var(--corners), linear-gradient(180deg, var(--lacquer-top), var(--lacquer-bottom));border:1px solid #e8c27a57;border-radius:2px;box-shadow:0 0 0 1px #07060b,inset 0 0 0 2px #0006,inset 0 1px 0 3px #ffffff06,0 10px 26px #0009}.primary{font-family:var(--title-font);letter-spacing:.08em;color:#fff3da;border:1px solid var(--gold);text-shadow:0 1px 2px #000000b3;background:linear-gradient(#d0493a 0%,#a32a20 52%,#7d1d16 100%);border-radius:2px;font-weight:700;transition:transform 80ms,filter .12s,box-shadow .12s;box-shadow:0 0 0 1px #2a0c08,inset 0 1px #ffebc873,inset 0 -2px #00000059,0 4px 10px #0000008c}.primary:hover:not(:disabled){filter:brightness(1.16);box-shadow:0 0 0 1px #2a0c08,inset 0 1px #ffebc880,inset 0 -2px #00000059,0 0 16px #ff965a8c}.primary:active:not(:disabled){transform:translateY(2px);box-shadow:0 0 0 1px #2a0c08,inset 0 2px 4px #00000080}.ghost{font-family:var(--title-font);color:var(--text);background:linear-gradient(#38303f,#1e1a26);border:1px solid #e8c27a66;border-radius:2px;box-shadow:inset 0 1px #ffffff1a,0 2px 5px #00000080}.ghost:hover:not(:disabled){color:var(--gold-bright);border-color:var(--gold);background:linear-gradient(#483d4f,#282230)}.ghost:active:not(:disabled){transform:translateY(1px)}#map-title{font-family:var(--title-font);letter-spacing:.06em;color:var(--gold-bright);text-shadow:0 1px 2px #000;clip-path:polygon(0 0,100% 0,calc(100% - 13px) 50%,100% 100%,0 100%);background:linear-gradient(90deg,#7d1d16,#a32a20 70%,#a32a20d9);border:0;border-radius:0;padding:5px 30px 5px 14px;font-weight:700;box-shadow:0 3px 8px #0000008c}#top-left #me{padding:7px 12px 7px 8px}#hud #me strong{font-family:var(--title-font);letter-spacing:.03em;color:var(--gold-bright)}.bar{background:#0a0810;border:1px solid #e8c27a66;border-radius:1px;height:11px;padding:1px;overflow:hidden;box-shadow:inset 0 1px 3px #000}.bar i{background:linear-gradient(#b6e39a,#5da04c 55%,#3f7a35);height:100%;transition:width .25s;display:block;box-shadow:inset 0 1px #ffffff59}.level{z-index:2;font-family:var(--title-font);color:var(--gold-bright);border:1px solid var(--gold);text-shadow:0 1px 1px #000;background:radial-gradient(circle at 50% 30%,#3a2e1a,#120e08);border-radius:11px;font-weight:800;line-height:20px;box-shadow:0 1px 3px #000,0 0 6px #ffd2824d}#bar,#bar.in-fight{bottom:var(--hud-lift);background:var(--corners), linear-gradient(180deg, #2f2736, #120f18);border:1px solid #e8c27a8c;gap:10px;padding:7px 10px;overflow:visible}.hud-btn,#bar.in-fight .hud-btn{width:50px;min-width:50px;height:50px;color:var(--gold);background:radial-gradient(circle at 50% 30%,#40374a,#1a1621 75%);border:1px solid #e8c27a5c;border-radius:2px;padding:0;transition:transform 80ms,color .1s,border-color .1s,box-shadow .1s;position:relative;box-shadow:inset 0 0 0 2px #0b0910,inset 0 1px 0 3px #ffffff0f,0 2px 4px #0009}#bar.in-fight .hud-btn{width:42px;min-width:42px;height:42px}.hud-btn .ic{filter:drop-shadow(0 1px 1px #000);font-size:25px}#bar.in-fight .hud-btn .ic{font-size:20px}.hud-btn:hover{color:var(--gold-bright);border-color:var(--gold);background:radial-gradient(circle at 50% 30%,#57495f,#231d2c 75%);transform:translateY(-2px);box-shadow:inset 0 0 0 2px #0b0910,0 0 12px #ffc86e80}.hud-btn:active{transform:translateY(1px)}.hud-btn>span,#bar.in-fight .hud-btn>span{z-index:5;white-space:nowrap;font:700 13px var(--title-font);letter-spacing:.04em;color:var(--gold-bright);border:1px solid var(--gold);pointer-events:none;background:#120f18;border-radius:2px;padding:3px 9px;display:none;position:absolute;bottom:calc(100% + 11px);left:50%;transform:translate(-50%);box-shadow:0 3px 8px #000}.hud-btn:hover>span,.hud-btn:focus-visible>span,#bar.in-fight .hud-btn:hover>span,#bar.in-fight .hud-btn:focus-visible>span{display:block}.hud-btn kbd{font:700 10.5px var(--title-font);color:var(--muted);text-shadow:0 1px 1px #000;position:absolute;bottom:1px;right:2px}.hud-btn.zoom,.bar-buttons .zoom{width:30px;min-width:30px;height:24px}.hud-btn.zoom .ic{font-size:15px}.hud-btn.new{color:var(--gold-bright);border-color:var(--gold-bright);box-shadow:inset 0 0 0 2px #0b0910,0 0 14px #ffd282d9}.spell{background:radial-gradient(circle at 50% 30%,#40374a,#1a1621 75%);border:1px solid #e8c27a5c;border-radius:2px;transition:transform 80ms,border-color .1s,box-shadow .1s;box-shadow:inset 0 0 0 2px #0b0910,inset 0 1px 0 3px #ffffff0f,0 2px 4px #0009}.spell:hover:not(:disabled){border-color:var(--gold-bright);background:radial-gradient(circle at 50% 30%,#57495f,#231d2c 75%);transform:translateY(-2px);box-shadow:inset 0 0 0 2px #0b0910,0 0 12px #ffc86e8c}.spell.selected{border-color:var(--gold-bright);box-shadow:inset 0 0 0 2px #0b0910, 0 0 0 1px var(--gold-bright), 0 0 16px #ffd282e6;transform:translateY(-3px)}.spell kbd{font:700 10.5px var(--title-font);text-shadow:0 1px 1px #000}.spell .cost{width:16px;height:16px;font:800 11px/15px var(--title-font);text-align:center;color:#fff;background:radial-gradient(circle at 35% 30%,#a8d4ff,#2d6fb4 70%);border:1px solid #0b1a2c;border-radius:50%;bottom:1px;right:1px}.spell .cd{font-family:var(--title-font);border-radius:1px}.tip{background:var(--corners), linear-gradient(180deg, var(--lacquer-top), var(--lacquer-bottom));border:1px solid #e8c27a99;border-radius:2px;box-shadow:0 8px 20px #000}.tip b{font-family:var(--title-font)}:root{--brush-ring:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50.0 4.6 L52.5 4.4 L55.0 4.3 L57.5 4.3 L60.0 4.5 L62.5 4.8 L65.0 5.5 L67.4 6.2 L69.8 7.1 L72.1 8.2 L74.4 9.4 L76.6 10.7 L78.8 12.1 L80.8 13.7 L82.8 15.3 L84.7 17.1 L86.4 19.0 L88.1 21.0 L89.6 23.1 L91.1 25.2 L92.4 27.5 L93.6 29.8 L94.6 32.2 L95.5 34.6 L96.3 37.1 L97.0 39.6 L97.5 42.1 L97.9 44.7 L98.1 47.3 L98.2 49.9 L98.2 52.5 L98.0 55.1 L97.7 57.7 L97.2 60.3 L96.6 62.8 L95.9 65.3 L95.0 67.8 L94.0 70.2 L92.9 72.6 L91.6 74.9 L90.2 77.1 L88.7 79.3 L87.1 81.4 L85.4 83.3 L83.5 85.2 L81.6 87.0 L79.6 88.7 L77.5 90.2 L75.2 91.7 L73.0 93.0 L70.6 94.2 L68.2 95.2 L65.7 96.1 L63.2 96.9 L60.6 97.5 L58.0 98.0 L55.4 98.4 L52.8 98.5 L50.2 98.6 L47.5 98.5 L44.9 98.2 L42.3 97.8 L39.8 97.3 L37.3 96.6 L34.8 95.8 L32.4 94.8 L30.0 93.7 L27.7 92.5 L25.5 91.2 L23.3 89.7 L21.3 88.2 L19.3 86.5 L17.4 84.7 L15.6 82.8 L14.0 80.9 L12.4 78.9 L10.9 76.7 L9.6 74.6 L8.4 72.3 L7.3 70.0 L6.3 67.7 L5.5 65.2 L4.7 62.8 L4.2 60.3 L3.7 57.8 L3.4 55.3 L3.2 52.8 L3.2 50.2 L3.2 47.7 L3.5 45.2 L3.8 42.7 L4.3 40.2 L4.9 37.8 L5.7 35.3 L6.6 33.0 L7.6 30.7 L8.7 28.4 L10.0 26.3 L11.4 24.2 L12.9 22.1 L14.5 20.2 L16.2 18.4 L18.0 16.6 L19.9 15.0 L21.9 13.5 L23.9 12.1 L26.1 10.8 L28.2 9.6 L30.5 8.6 L32.8 7.6 L35.1 6.8 L37.5 6.2 L39.9 5.7 L42.4 5.3 L44.8 5.1 L47.2 4.9 L49.7 5.1 L52.1 5.5 L54.5 5.9 L56.8 6.4 L59.2 6.9 L59.0 7.5 L56.7 7.1 L54.4 7.1 L52.0 7.3 L49.7 7.5 L47.4 7.9 L45.2 8.2 L42.9 8.7 L40.7 9.2 L38.6 9.9 L36.5 10.7 L34.4 11.6 L32.4 12.5 L30.4 13.6 L28.5 14.8 L26.7 16.1 L24.9 17.4 L23.2 18.9 L21.6 20.4 L20.1 22.0 L18.7 23.7 L17.3 25.4 L16.0 27.3 L14.9 29.1 L13.8 31.1 L12.8 33.1 L12.0 35.1 L11.2 37.2 L10.6 39.3 L10.0 41.4 L9.6 43.6 L9.3 45.8 L9.1 48.0 L9.0 50.2 L9.1 52.4 L9.2 54.6 L9.5 56.9 L9.9 59.0 L10.4 61.2 L11.1 63.3 L11.8 65.4 L12.7 67.5 L13.7 69.5 L14.7 71.4 L15.9 73.3 L17.2 75.1 L18.6 76.9 L20.1 78.5 L21.7 80.1 L23.4 81.6 L25.1 83.0 L27.0 84.3 L28.8 85.5 L30.8 86.6 L32.8 87.6 L34.9 88.5 L37.0 89.2 L39.1 89.9 L41.3 90.4 L43.5 90.8 L45.7 91.1 L47.9 91.3 L50.1 91.4 L52.4 91.4 L54.6 91.2 L56.8 90.9 L59.1 90.5 L61.2 90.0 L63.4 89.4 L65.5 88.6 L67.6 87.8 L69.7 86.8 L71.7 85.8 L73.6 84.6 L75.5 83.3 L77.3 81.9 L79.0 80.4 L80.6 78.9 L82.2 77.2 L83.6 75.4 L85.0 73.6 L86.3 71.7 L87.4 69.7 L88.5 67.7 L89.4 65.6 L90.2 63.5 L90.9 61.3 L91.5 59.0 L91.9 56.8 L92.3 54.5 L92.4 52.2 L92.5 49.9 L92.4 47.6 L92.2 45.3 L91.9 43.1 L91.5 40.8 L90.9 38.6 L90.2 36.4 L89.4 34.2 L88.5 32.1 L87.4 30.1 L86.3 28.1 L85.0 26.2 L83.7 24.3 L82.2 22.6 L80.7 20.9 L79.1 19.2 L77.4 17.7 L75.6 16.3 L73.7 14.9 L71.8 13.7 L69.8 12.5 L67.8 11.5 L65.7 10.6 L63.5 9.7 L61.4 9.0 L59.2 8.3 L56.9 7.6 L54.7 7.1 L52.3 6.7 L50.0 6.4 Z'/></svg>");--enso:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M57.7 6.4 L60.6 6.6 L63.6 7.0 L66.5 7.7 L69.4 8.6 L72.2 9.7 L74.9 11.0 L77.6 12.6 L80.1 14.3 L82.5 16.3 L84.8 18.4 L86.9 20.6 L88.8 23.1 L90.6 25.6 L92.2 28.3 L93.6 31.1 L94.8 34.0 L95.7 37.0 L96.5 40.0 L97.0 43.1 L97.3 46.2 L97.4 49.3 L97.3 52.5 L96.9 55.5 L96.3 58.6 L95.5 61.6 L94.5 64.5 L93.3 67.3 L91.9 70.1 L90.3 72.7 L88.6 75.2 L86.6 77.5 L84.6 79.7 L82.4 81.7 L80.0 83.6 L77.6 85.3 L75.0 86.8 L72.4 88.1 L69.7 89.2 L66.9 90.1 L64.1 90.8 L61.3 91.1 L59.0 93.9 L56.1 94.3 L53.2 94.4 L50.2 94.4 L47.3 94.2 L44.4 93.9 L41.6 93.3 L38.8 92.6 L36.0 91.7 L33.3 90.6 L30.7 89.4 L28.2 88.0 L25.8 86.4 L23.4 84.7 L21.2 82.9 L19.1 80.9 L17.2 78.8 L15.3 76.6 L13.6 74.3 L12.1 71.8 L10.7 69.3 L9.5 66.7 L8.4 64.0 L7.7 61.2 L7.4 58.4 L7.1 55.5 L7.1 52.7 L7.2 49.8 L7.5 47.0 L9.1 47.1 L9.5 49.8 L10.0 52.5 L10.7 55.1 L11.5 57.5 L12.5 59.9 L13.6 62.3 L14.6 64.6 L15.7 66.9 L17.0 69.0 L18.4 71.1 L19.9 73.1 L21.5 75.0 L23.3 76.7 L25.1 78.4 L27.1 79.9 L29.1 81.3 L31.3 82.6 L33.4 83.8 L35.7 84.8 L38.0 85.6 L40.4 86.4 L42.8 86.9 L45.2 87.4 L47.7 87.6 L50.2 87.7 L52.7 87.7 L55.2 87.5 L57.6 87.1 L60.7 88.8 L63.1 87.8 L65.5 86.7 L67.8 85.5 L70.1 84.1 L72.2 82.7 L74.3 81.1 L76.2 79.4 L78.1 77.6 L79.8 75.6 L81.4 73.6 L82.9 71.5 L84.2 69.2 L85.4 66.9 L86.4 64.6 L87.3 62.1 L88.0 59.7 L88.5 57.1 L88.9 54.6 L89.1 52.0 L89.1 49.5 L89.0 46.9 L88.7 44.3 L88.2 41.8 L87.6 39.3 L86.8 36.9 L85.8 34.5 L84.7 32.2 L83.4 29.9 L82.0 27.8 L80.5 25.7 L78.8 23.8 L77.0 21.9 L75.1 20.2 L73.1 18.6 L71.0 17.1 L68.9 15.8 L66.6 14.5 L64.3 13.5 L61.9 12.5 L59.4 11.6 L56.9 10.9 Z'/><path d='M42.0 89.4 L40.8 89.0 L39.6 88.7 L38.4 88.3 L37.2 87.8 L36.1 87.3 L34.9 86.8 L33.8 86.3 L32.7 85.7 L31.6 85.1 L30.6 84.4 L29.6 83.7 L28.5 83.0 L27.6 82.3 L26.6 81.5 L25.7 80.7 L24.8 79.9 L23.9 79.1 L23.0 78.2 L22.2 77.3 L21.4 76.4 L20.6 75.4 L19.9 74.5 L19.2 73.5 L18.5 72.5 L17.8 71.5 L17.2 70.4 L16.6 69.4 L16.1 68.3 L15.6 67.2 L15.1 66.1 L14.7 65.0 L14.2 63.9 L13.9 62.7 L13.5 61.6 L13.2 60.4 L12.9 59.2 L12.7 58.1 L12.5 56.9 L12.3 55.7 L12.2 54.5 L12.1 53.4 L12.0 52.2 L12.0 51.0 L12.0 49.8 L12.1 48.6 L12.2 47.4 L12.3 46.2 L12.4 45.1 L12.6 43.9 L12.8 42.7 L13.1 41.6 L13.4 40.4 L13.7 39.3 L14.1 38.2 L14.5 37.1 L14.9 36.0 L15.4 34.9 L15.9 33.8 L16.4 32.7 L17.0 31.7 L17.5 30.7 L18.2 29.7 L18.8 28.7 L19.5 27.7 L20.2 26.8 L20.9 25.8 L21.7 24.9 L22.5 24.1 L23.3 23.2 L24.2 22.4 L24.4 22.6 L23.6 23.4 L22.7 24.3 L22.0 25.2 L21.2 26.1 L20.5 27.0 L19.8 27.9 L19.2 28.9 L18.5 29.9 L17.9 30.9 L17.3 31.9 L16.8 32.9 L16.3 34.0 L15.8 35.1 L15.4 36.1 L15.0 37.2 L14.6 38.3 L14.2 39.4 L13.9 40.6 L13.7 41.7 L13.4 42.8 L13.2 44.0 L13.0 45.1 L12.9 46.3 L12.8 47.5 L12.7 48.6 L12.7 49.8 L12.7 51.0 L12.7 52.1 L12.8 53.3 L12.9 54.5 L13.0 55.6 L13.2 56.8 L13.4 57.9 L13.7 59.1 L14.0 60.2 L14.3 61.3 L14.6 62.4 L15.0 63.6 L15.4 64.7 L15.9 65.7 L16.4 66.8 L16.9 67.9 L17.4 68.9 L18.0 69.9 L18.6 71.0 L19.2 71.9 L19.9 72.9 L20.6 73.9 L21.3 74.8 L22.1 75.7 L22.9 76.6 L23.7 77.5 L24.6 78.3 L25.4 79.1 L26.3 79.9 L27.2 80.7 L28.2 81.4 L29.1 82.1 L30.1 82.8 L31.1 83.5 L32.2 84.1 L33.2 84.7 L34.3 85.2 L35.4 85.7 L36.5 86.2 L37.6 86.7 L38.7 87.1 L39.9 87.5 L41.1 87.8 L42.2 88.2 Z'/><path d='M30.6 86.5 L29.4 85.8 L28.3 85.1 L27.2 84.3 L26.1 83.5 L25.0 82.6 L24.0 81.7 L23.0 80.8 L22.0 79.9 L21.1 78.9 L20.2 77.9 L19.3 76.9 L18.5 75.8 L17.7 74.8 L16.9 73.7 L16.2 72.5 L15.5 71.4 L14.9 70.2 L14.3 69.0 L13.7 67.8 L13.2 66.6 L12.7 65.4 L12.2 64.1 L11.8 62.9 L11.4 61.6 L11.1 60.3 L10.8 59.0 L10.5 57.7 L10.3 56.4 L10.1 55.1 L10.0 53.8 L9.9 52.5 L9.9 51.2 L9.9 49.8 L9.9 48.5 L10.0 47.2 L10.1 45.9 L10.3 44.6 L10.5 43.3 L10.7 42.0 L11.0 40.7 L11.3 39.4 L11.7 38.1 L12.1 36.9 L12.6 35.7 L13.1 34.4 L13.6 33.2 L14.2 32.0 L14.8 30.9 L15.4 29.7 L16.1 28.6 L16.8 27.5 L17.5 26.4 L18.3 25.3 L19.1 24.3 L20.0 23.2 L20.9 22.3 L21.8 21.3 L22.7 20.4 L23.7 19.5 L24.7 18.6 L25.7 17.8 L26.8 17.0 L27.9 16.2 L29.0 15.5 L30.1 14.8 L31.3 14.1 L32.5 13.5 L33.7 12.9 L34.9 12.4 L36.1 11.9 L36.3 12.2 L35.0 12.8 L33.8 13.3 L32.7 13.9 L31.5 14.5 L30.4 15.2 L29.3 15.9 L28.2 16.6 L27.1 17.4 L26.1 18.2 L25.1 19.1 L24.1 19.9 L23.1 20.8 L22.2 21.7 L21.3 22.7 L20.5 23.7 L19.7 24.7 L18.9 25.7 L18.1 26.8 L17.4 27.9 L16.7 29.0 L16.1 30.1 L15.4 31.2 L14.9 32.4 L14.3 33.6 L13.8 34.8 L13.4 36.0 L12.9 37.2 L12.6 38.4 L12.2 39.7 L11.9 40.9 L11.7 42.2 L11.4 43.4 L11.2 44.7 L11.1 46.0 L11.0 47.3 L10.9 48.6 L10.9 49.8 L10.9 51.1 L11.0 52.4 L11.1 53.7 L11.2 55.0 L11.4 56.2 L11.7 57.5 L11.9 58.8 L12.2 60.0 L12.6 61.3 L12.9 62.5 L13.4 63.7 L13.8 64.9 L14.3 66.1 L14.9 67.3 L15.4 68.4 L16.0 69.6 L16.7 70.7 L17.4 71.8 L18.1 72.8 L18.8 73.9 L19.6 74.9 L20.4 75.9 L21.3 76.9 L22.2 77.9 L23.1 78.8 L24.0 79.7 L25.0 80.5 L26.0 81.4 L27.0 82.2 L28.1 82.9 L29.1 83.7 L30.2 84.4 L31.4 85.0 Z'/><path d='M34.3 90.0 L33.1 89.4 L31.8 88.8 L30.6 88.2 L29.4 87.5 L28.2 86.8 L27.1 86.0 L26.0 85.3 L24.9 84.4 L23.8 83.6 L22.8 82.7 L21.8 81.8 L20.8 80.8 L19.8 79.9 L18.9 78.9 L18.0 77.8 L17.2 76.8 L16.3 75.7 L15.5 74.6 L14.8 73.5 L14.1 72.3 L13.4 71.1 L12.8 69.9 L12.2 68.7 L11.6 67.5 L11.1 66.2 L10.6 65.0 L10.1 63.7 L9.7 62.4 L9.4 61.1 L9.0 59.8 L8.7 58.5 L8.5 57.1 L8.3 55.8 L8.1 54.5 L8.0 53.1 L7.9 51.8 L7.9 50.4 L7.9 49.1 L7.9 47.7 L8.0 46.4 L8.2 45.0 L8.3 43.7 L8.5 42.3 L8.8 41.0 L9.1 39.7 L9.4 38.4 L9.8 37.1 L10.2 35.8 L10.7 34.5 L11.2 33.3 L11.7 32.0 L12.3 30.8 L12.9 29.6 L13.6 28.4 L14.3 27.2 L15.0 26.1 L15.7 24.9 L16.5 23.8 L17.4 22.7 L18.2 21.7 L19.1 20.7 L20.1 19.7 L21.0 18.7 L22.0 17.8 L23.1 16.8 L24.1 16.0 L25.2 15.1 L26.3 14.3 L27.5 13.5 L28.6 12.8 L28.8 13.1 L27.6 13.9 L26.5 14.6 L25.4 15.4 L24.4 16.3 L23.3 17.2 L22.3 18.1 L21.4 19.0 L20.4 20.0 L19.5 21.0 L18.6 22.0 L17.8 23.1 L17.0 24.2 L16.2 25.3 L15.5 26.4 L14.7 27.5 L14.1 28.7 L13.5 29.9 L12.9 31.1 L12.3 32.3 L11.8 33.5 L11.3 34.8 L10.9 36.0 L10.5 37.3 L10.1 38.6 L9.8 39.9 L9.5 41.2 L9.3 42.5 L9.1 43.8 L9.0 45.1 L8.8 46.4 L8.8 47.8 L8.7 49.1 L8.8 50.4 L8.8 51.7 L8.9 53.1 L9.0 54.4 L9.2 55.7 L9.4 57.0 L9.7 58.3 L10.0 59.6 L10.3 60.8 L10.7 62.1 L11.1 63.4 L11.5 64.6 L12.0 65.8 L12.6 67.0 L13.1 68.2 L13.7 69.4 L14.4 70.6 L15.0 71.7 L15.7 72.8 L16.5 73.9 L17.3 75.0 L18.1 76.0 L18.9 77.0 L19.8 78.0 L20.7 79.0 L21.6 79.9 L22.6 80.8 L23.6 81.7 L24.6 82.6 L25.7 83.4 L26.7 84.2 L27.8 84.9 L28.9 85.6 L30.1 86.3 L31.3 86.9 L32.4 87.5 L33.6 88.1 L34.9 88.6 Z'/><path d='M48.8 94.5 L47.4 94.4 L46.1 94.3 L44.8 94.1 L43.5 93.9 L42.2 93.7 L40.9 93.4 L39.7 93.1 L38.4 92.8 L37.1 92.4 L35.9 92.0 L34.7 91.5 L33.5 91.0 L32.3 90.5 L31.1 89.9 L29.9 89.3 L28.8 88.7 L27.6 88.0 L26.5 87.3 L25.5 86.6 L24.4 85.8 L23.4 85.1 L22.3 84.2 L21.3 83.4 L20.4 82.5 L19.4 81.6 L18.5 80.7 L17.6 79.7 L16.8 78.8 L16.0 77.7 L15.2 76.7 L14.4 75.7 L13.6 74.6 L12.9 73.5 L12.3 72.4 L11.6 71.3 L11.0 70.1 L10.4 69.0 L9.9 67.8 L9.4 66.6 L8.9 65.4 L8.5 64.2 L8.1 62.9 L7.7 61.7 L7.4 60.4 L7.1 59.1 L6.8 57.9 L6.6 56.6 L6.4 55.3 L6.2 54.0 L6.1 52.7 L6.0 51.4 L6.0 50.1 L6.0 48.8 L6.0 47.5 L6.1 46.2 L6.2 44.9 L6.4 43.6 L6.5 42.3 L6.8 41.0 L7.0 39.7 L7.3 38.5 L7.7 37.2 L8.0 35.9 L8.4 34.7 L8.9 33.5 L9.3 32.2 L9.9 31.0 L10.4 29.8 L11.0 28.6 L11.6 27.5 L11.9 27.6 L11.3 28.8 L10.7 30.0 L10.1 31.2 L9.7 32.4 L9.2 33.6 L8.8 34.8 L8.4 36.1 L8.0 37.3 L7.7 38.6 L7.4 39.8 L7.2 41.1 L7.0 42.4 L6.8 43.7 L6.7 45.0 L6.6 46.2 L6.5 47.5 L6.5 48.8 L6.5 50.1 L6.5 51.4 L6.6 52.7 L6.7 54.0 L6.9 55.2 L7.1 56.5 L7.3 57.8 L7.6 59.0 L7.9 60.3 L8.3 61.5 L8.6 62.7 L9.0 64.0 L9.5 65.2 L10.0 66.3 L10.5 67.5 L11.0 68.7 L11.6 69.8 L12.2 70.9 L12.8 72.1 L13.5 73.1 L14.2 74.2 L15.0 75.3 L15.7 76.3 L16.5 77.3 L17.3 78.3 L18.2 79.2 L19.1 80.1 L20.0 81.1 L20.9 81.9 L21.9 82.8 L22.8 83.6 L23.9 84.4 L24.9 85.2 L25.9 85.9 L27.0 86.6 L28.1 87.3 L29.2 87.9 L30.3 88.5 L31.5 89.1 L32.6 89.6 L33.8 90.2 L35.0 90.6 L36.2 91.1 L37.4 91.5 L38.6 91.8 L39.9 92.2 L41.1 92.5 L42.4 92.7 L43.7 92.9 L44.9 93.1 L46.2 93.3 L47.5 93.4 L48.8 93.5 Z'/><circle cx='52.4' cy='6.1' r='1.6'/></svg>")}.pool{gap:12px}.pool div,.orb{--ink:#6fa8e8;--deep:#16233a;--turn:0deg;--kanji:"行";isolation:isolate;color:#f6ecd4;background:radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--ink) 26%, #1d1826), var(--deep) 70%, #0c0a12);border:0;border-radius:50%;align-content:center;place-items:center;width:52px;min-width:0;height:52px;transition:filter .2s,opacity .2s;display:grid;position:relative;overflow:visible;box-shadow:inset 0 0 0 1px #0009,inset 0 2px #ffffff0f,inset 0 -6px 12px #00000073,0 3px 8px #0000008c}.pool div:before,.orb:before{content:"";z-index:1;background:var(--ink);-webkit-mask:var(--enso) center / contain no-repeat;-webkit-mask:var(--enso) center / contain no-repeat;mask:var(--enso) center / contain no-repeat;transform:rotate(var(--turn));filter:drop-shadow(0 0 3px color-mix(in srgb, var(--ink) 55%, transparent));pointer-events:none;position:absolute;inset:-7px}.pool div:after,.orb:after{content:var(--kanji);z-index:-1;font:700 34px/1 var(--title-font);color:var(--ink);opacity:.16;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.pool .ap,.orb.ap{--ink:#6fa8e8;--deep:#15223a;--turn:10deg;--kanji:"行"}.pool .mp,.orb.mp{--ink:#8fcf6e;--deep:#17281a;--turn:130deg;--kanji:"歩"}.pool .hp,.orb.hp{--ink:#f0705e;--deep:#2e1512;--turn:250deg;--kanji:"命"}.pool .ic{display:none}.pool b,.pool .ap b,.pool .mp b,.orb b{z-index:2;font:800 22px/1 var(--title-font);color:#f6ecd4;text-shadow:0 1px 2px #000,0 0 8px #0009;font-variant-numeric:tabular-nums;position:relative}.pool small,.orb small{z-index:2;font:700 8.5px/1 var(--title-font,Georgia, serif);letter-spacing:.18em;color:var(--ink);text-shadow:0 1px 1px #000;margin-top:1px;padding-left:.18em;position:relative}.pool .idle,.pool .spent{filter:grayscale(.9)brightness(.75)}#turn-info strong,#timer{font-family:var(--title-font)}.end-turn{padding:11px 14px}#emotes,#fights{bottom:calc(var(--hud-lift) + 72px)}#chat{bottom:var(--hud-lift);background:linear-gradient(#120f186b,#120f18c7);border-color:#e8c27a33;left:14px;box-shadow:0 6px 18px #0006}#chat:focus-within{background:linear-gradient(#120f18bf,#120f18f0);border-color:#e8c27a80}#chat-log{text-shadow:0 1px 2px #000}#chat-input{border-radius:2px}#timeline,#hud.in-fight #chat,#log{bottom:calc(var(--bar-h,66px) + var(--hud-lift) + 16px)}.window,#inventory,#stats,#spells,#shop,#worldmap,#quests{max-height:calc(calc(var(--vh) * 100) - 150px);top:calc(50% - 44px)}#top-left{top:14px;left:14px}#top-right{top:14px;right:14px}.window>h3,#inventory h3,#stats h3,#spells h3,#worldmap h3,#quests h3,#friends h3{font:700 18px var(--title-font);letter-spacing:.05em;color:var(--gold-bright);text-shadow:0 1px 2px #000;border-bottom:1px solid #e8c27a66}.window .close,#friends .close,#gpu-notice .close,#minimap-hide{color:#fff3da;border:1px solid var(--gold);background:linear-gradient(#a83328,#6d1a14);width:26px;height:26px;padding:0;line-height:24px}.window .close:hover,#friends .close:hover,#gpu-notice .close:hover,#minimap-hide:hover{background:linear-gradient(#cf4537,#8a2119)}#worldmap{background:var(--corners), linear-gradient(180deg, var(--lacquer-top), var(--lacquer-bottom))}.window{animation:.14s ease-out window-in}@keyframes window-in{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0}}#create{isolation:isolate;background:#120b1e;justify-content:safe center;padding:18px 16px 44px}#title-art{z-index:-1;position:fixed;inset:0;overflow:hidden}#title-art svg{width:104%;height:104%;animation:44s ease-in-out infinite alternate title-drift;position:absolute;inset:-2%}#title-art:after{content:"";background:radial-gradient(at 50% 42%,#0000 40%,#0a0612b8 100%);position:absolute;inset:0}.t-clouds{animation:60s linear infinite alternate title-clouds}.t-mist{filter:blur(14px);animation:30s ease-in-out infinite alternate-reverse title-clouds}.t-petals i{opacity:.9;background:#f7c9d4;border-radius:70% 20%;width:11px;height:7px;animation:linear infinite title-petal;position:absolute;top:-20px}.t-petals i:nth-child(3n){background:#e8a6bb;width:8px;height:5px}@keyframes title-drift{0%{transform:scale(1)translate(-.6%)}to{transform:scale(1.04)translate(.6%)}}@keyframes title-clouds{0%{transform:translate(-40px)}to{transform:translate(60px)}}@keyframes title-petal{to{transform:translate(-260px, calc(var(--vh) * 104)) rotate(720deg)}}.title-logo{justify-items:center;margin-bottom:18px;animation:.9s ease-out both title-in;display:grid}.title-logo h1{filter:drop-shadow(0 8px 18px #000000a6);margin:0;line-height:0}.title-logo h1 img{width:min(640px, calc(var(--vw) * 84));height:auto;display:block}@media (height<=760px){.title-logo h1 img{width:min(440px, calc(var(--vw) * 80))}}.title-logo .subtitle{font:500 clamp(14px, calc(var(--vw) * 1.6), 18px) var(--title-font);letter-spacing:.08em;color:#fbe6c8;text-shadow:0 1px 4px #000,0 0 12px #000c;text-align:center;background:radial-gradient(#0e081699,#0000 72%);margin:6px 0 0;padding:4px 18px;font-style:normal}@keyframes title-in{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}#auth-form,#characters,#create-form{background:var(--corners), linear-gradient(180deg, #2a2332f5, #120f18f7);border:1px solid #e8c27a8c;border-radius:2px;flex-direction:column;gap:9px;width:min(440px,100%);padding:22px 26px;animation:.7s ease-out .15s both title-in;display:flex;position:relative;box-shadow:0 0 0 1px #07060b,inset 0 0 0 3px #00000059,0 18px 40px #000000b3}#characters{width:min(560px,100%);margin-bottom:0}#create-form{width:min(640px,100%)}#auth-form label,#create-form>label{font:700 13px var(--title-font);letter-spacing:.08em;color:var(--gold)}#auth-form input,#name{font:500 16px var(--ui-font);color:var(--text);background:#0d0b12;border:1px solid #e8c27a66;border-radius:2px;outline:none;padding:10px 12px;box-shadow:inset 0 2px 5px #000}#auth-form input:focus,#name:focus{border-color:var(--gold-bright);box-shadow:inset 0 2px 5px #000,0 0 10px #ffd28266}#auth-submit,#enter{padding:14px 20px;font-size:18px}#new-character{padding:10px 18px;font-size:15px}#auth-form{gap:14px;width:min(400px,100%);padding:0 26px 22px}#auth-form[data-mode=login] .auth-register-only,#auth-form[data-mode=login] .auth-hint,#auth-form:not([data-mode=recover]) .auth-recover-only,#auth-form:not([data-mode=login]) .auth-login-only,#auth-form[data-mode=recover] .auth-tabs{display:none}#auth-form[data-mode=recover]{padding-top:20px}.auth-legal{color:var(--muted);background:#00000038;border-left:2px solid #e8c27a73;border-radius:0 4px 4px 0;margin:-4px 0 0;padding:8px 10px;font-size:12.5px;line-height:1.45}.auth-legal a{color:var(--gold);white-space:nowrap}.auth-legal a:hover{color:var(--gold-bright)}#auth-form:not([data-mode=register]) .auth-legal{display:none}.title-meta .title-privacy{color:#b9ab98;border-right:1px solid #e8c27a59;margin-right:12px;padding-right:12px;text-decoration:none}.title-meta .title-privacy:hover{color:var(--gold-bright);text-decoration:underline}#characters .account-line{flex-wrap:wrap;align-items:baseline;row-gap:2px;display:flex}#characters .account-line b{margin-left:.3em}#characters .account-line .account-delete{color:#b98a80;margin-left:auto;padding-left:14px}#characters .account-line .account-delete:hover,#characters .account-line .account-delete[aria-expanded=true]{color:var(--red)}.close-account{border-left:2px solid var(--red);background:#280e0e8c;border-radius:0 4px 4px 0;flex-direction:column;gap:8px;margin:6px 0 12px;padding:12px 14px;font-size:13.5px;display:flex}.close-account p{color:var(--text);margin:0;line-height:1.45}.close-account p b{color:var(--gold-bright)}.close-account label{font:700 12.5px var(--title-font);letter-spacing:.06em;color:var(--gold)}.close-account>span{flex-wrap:wrap;gap:8px;display:flex}.close-account input{min-width:0;font:500 15px var(--ui-font);color:var(--text);background:#0d0b12;border:1px solid #e8c27a66;border-radius:2px;flex:200px;padding:8px 10px}.close-account input:focus{border-color:var(--gold);outline:none}.close-account button{white-space:nowrap;padding:8px 14px;font-size:14px}.auth-forgot{text-align:center;margin:-6px 0 0;font-size:13px}.auth-forgot .link{color:var(--muted);font-size:inherit}.auth-forgot .link:hover{color:var(--gold-bright)}#auth-code{letter-spacing:.12em;text-transform:uppercase;font-family:ui-monospace,Menlo,monospace}#recovery-box{text-align:center;background:var(--corners), linear-gradient(180deg, #2a2332f7, #120f18fa);border:1px solid #e8c27a99;border-radius:2px;flex-direction:column;gap:12px;width:min(420px,100%);padding:24px 26px;display:flex;position:relative;box-shadow:0 0 0 1px #07060b,0 18px 40px #000000b3}#recovery-box[hidden]{display:none}#recovery-box h2{font:700 22px var(--title-font);color:var(--gold-bright);margin:0}#recovery-box p{color:#d9cfc4;margin:0;font-size:14px}.recovery-seal{width:46px;height:46px;font:700 24px var(--title-font);color:#f6e7c8;background:#8a2a22;border-radius:50%;align-self:center;place-items:center;display:grid;box-shadow:0 0 0 3px #e8c27a80}.recovery-code{justify-content:center;align-items:center;gap:10px;display:flex}.recovery-code code{letter-spacing:.1em;color:#fff3d6;-webkit-user-select:all;user-select:all;background:#0d0b12;border:1px dashed #e8c27a99;padding:10px 14px;font:700 19px ui-monospace,Menlo,monospace}.recovery-check{color:var(--text);justify-content:center;align-items:center;gap:8px;font-size:14px;display:flex}.account-line .link{margin-left:10px}.auth-tabs{border-bottom:1px solid #e8c27a4d;grid-template-columns:1fr 1fr;margin:0 -26px 2px;display:grid}.auth-tabs button{font:700 15px var(--title-font);letter-spacing:.06em;color:var(--muted);background:#00000040;border:0;padding:14px 8px 12px;transition:color .15s,background .15s;position:relative}.auth-tabs button:hover{color:var(--text)}.auth-tabs button[aria-selected=true]{color:var(--gold-bright);background:0 0}.auth-tabs button[aria-selected=true]:after{content:"";background:linear-gradient(90deg, transparent, var(--gold-bright), transparent);height:2px;position:absolute;bottom:-1px;left:22%;right:22%}.auth-tabs button:focus-visible{outline:2px solid var(--gold-bright);outline-offset:-4px}.auth-lead{color:#d9cfc4;text-align:center;margin:0;font-size:14.5px}.auth-field{flex-direction:column;gap:6px;display:flex}.auth-hint{color:var(--muted);font-size:12.5px}#auth-form input{box-sizing:border-box;width:100%}#auth-form input[aria-invalid]{border-color:var(--red);box-shadow:inset 0 2px 5px #000,0 0 0 1px #e06a5880}.auth-secret{position:relative}.auth-secret input{padding-right:44px}.auth-reveal{width:42px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:0;bottom:0;right:0}.auth-reveal:hover,.auth-reveal[aria-pressed=true]{color:var(--gold-bright)}.auth-reveal:focus-visible{outline:2px solid var(--gold-bright);outline-offset:-6px}.auth-reveal svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:20px;height:20px}.auth-reveal[aria-pressed=false] .auth-reveal-off{display:none}#create:has(#auth-form[data-mode=register]:not([hidden])) .title-logo img{width:min(420px, calc(var(--vw) * 74))}@media (height<=820px){#create:has(#auth-form[data-mode=register]:not([hidden])) .title-logo img{width:min(300px, calc(var(--vw) * 64))}#create:has(#auth-form[data-mode=register]:not([hidden])) .subtitle{display:none}}.auth-error{color:#ffb4a6;margin:0;font-size:14px}.auth-error:empty{display:none}.auth-error:before{content:"⚠ "}#auth-submit{margin-top:2px}.auth-switch{color:var(--muted);text-align:center;margin:0;font-size:13.5px}.auth-switch .link{color:var(--gold);font-size:inherit}.auth-switch .link:hover{color:var(--gold-bright)}@media (width<=420px){#auth-form{padding:0 18px 18px}.auth-tabs{margin:0 -18px 2px}}.account-line{color:var(--muted);margin:0 0 4px;font-size:14px}.character{background:linear-gradient(#38303f,#1b1722);border:1px solid #e8c27a5c;border-radius:2px;transition:transform .1s,box-shadow .1s,border-color .1s;box-shadow:inset 0 1px #ffffff14,0 2px 5px #00000080}.character:hover{border-color:var(--gold-bright);transform:translate(3px);box-shadow:0 0 14px #ffc86e66}.character b{font:700 19px var(--title-font);color:var(--gold-bright)}.creator{background:#00000047;border:1px solid #e8c27a33;border-radius:2px}.creator h2{font:700 21px var(--title-font);color:var(--gold-bright)}#create-error{text-shadow:0 1px 3px #000;text-align:center;min-height:20px;margin-top:8px}.title-foot{z-index:1;pointer-events:none;background:linear-gradient(#0000,#08050ec7);justify-content:space-between;align-items:center;gap:16px;padding:18px 16px 10px;display:flex;position:fixed;bottom:0;left:0;right:0}.title-foot>*{pointer-events:auto}.title-foot .credits{color:#c9b8a0;text-align:left;text-shadow:0 1px 3px #000;margin:0;font-size:11.5px}.title-foot .credits a{color:inherit}.title-meta{font:500 12.5px var(--ui-font);color:#e9dcc8;text-shadow:0 1px 3px #000;flex:none;align-items:center;margin:0 0 0 auto;display:flex}.title-meta .game-version{color:#b9ab98;letter-spacing:.04em;font-variant-numeric:tabular-nums;border-left:1px solid #e8c27a59;margin-left:12px;padding-left:12px}@media (width<=720px){.title-foot .credits{display:none}.title-foot{justify-content:center}.title-meta{flex-wrap:wrap;flex:0 auto;justify-content:center;row-gap:4px;margin:0}.title-meta .title-privacy{text-align:center;border:0;flex-basis:100%;margin:0;padding:0}}@media (prefers-reduced-motion:reduce){#title-art svg,.t-clouds,.t-mist,.t-petals i,.title-logo,#auth-form,#characters,#create-form,.window{animation:none}.t-petals{display:none}}#worldmap{width:min(1400px, calc(calc(var(--vw) * 100) - 160px));height:calc(calc(var(--vh) * 100) - 190px);flex-direction:column;display:flex;overflow:hidden}@media (width<=760px){#worldmap{width:calc(calc(var(--vw) * 100) - 24px);height:calc(calc(var(--vh) * 100) - 200px);top:calc(50% + 12px)}}.wmx{flex:1;grid-template-columns:minmax(0,1fr) 280px;gap:10px;min-height:0;display:grid}.wmx-stage{background:#163e5c;border:1px solid #e8c27a73;min-width:0;min-height:0;position:relative;overflow:hidden;box-shadow:inset 0 0 40px #00000080}#wmx-svg{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;--k:1;--s:1;width:100%;height:100%;display:block}.wmx-label{transform:translate(var(--px), var(--py)) scale(var(--s))}.wmx-label.clash{display:none!important}#wmx-svg.dragging{cursor:grabbing}.wmx-road{fill:none;stroke:#fff0c8;stroke-width:calc(2px * var(--k));stroke-dasharray:calc(2px * var(--k)) calc(6px * var(--k));stroke-linecap:round;opacity:.85;pointer-events:none}.wmx-province{font:800 italic 17px var(--title-font);letter-spacing:.05em;text-anchor:middle;fill:#fff4d6eb;paint-order:stroke;stroke:#140e18b8;stroke-width:3.5px;stroke-linejoin:round;pointer-events:none;display:none}.far .wmx-province{display:block}.far:not(.very-far) .wmx-label{opacity:.5}.very-far .wmx-place:not(.here):not(.selected):not(:hover) .wmx-name,.wmx-place:not(.here):not(.selected):not(:hover) .wmx-name.clash{display:none}.wmx-place{transform:translate(var(--px), var(--py)) scale(var(--k));cursor:pointer}.wmx-hit{fill:#0000}.wmx-ring{fill:#0f0c14c7;stroke:#fff0c8;stroke-width:1.3px}.wmx-dot{fill:#d9d2c0}.danger-facile .wmx-dot{fill:#8fbf7a}.danger-egal .wmx-dot{fill:#ffd76a}.danger-dur .wmx-dot{fill:#ff9a4a}.danger-mortel .wmx-dot{fill:#e0463a}.wmx-name{font:700 12px var(--title-font);text-anchor:middle;fill:#fff8e8;paint-order:stroke;stroke:#15101c;stroke-width:3px;stroke-linejoin:round;pointer-events:none}.wmx-place:hover .wmx-ring,.wmx-place.selected .wmx-ring{stroke:var(--gold-bright);stroke-width:2.4px}.wmx-place.selected .wmx-name,.wmx-place.here .wmx-name{fill:var(--gold-bright)}.wmx-poi{pointer-events:none}.wmx-poi circle{stroke:#15101c;stroke-width:1px}.far .wmx-place:not(.here):not(.selected):not(:hover) :is(.kind-village,.kind-marchand),.hide-village .kind-village,.hide-marchand .kind-marchand,.hide-temple .kind-temple,.hide-donjon .kind-donjon,.hide-histoire .kind-histoire,.hide-quete .kind-quete{display:none}.wmx-pin path{fill:#e0463a;stroke:#15101c;stroke-width:1.4px}.wmx-pin circle{fill:#fff8e8}.wmx-pin{pointer-events:none}.wmx-filters{flex-direction:column;gap:4px;display:flex;position:absolute;top:10px;left:10px}.wmx-chip{font:500 12.5px var(--ui-font);color:var(--text);background:#120f18db;border:1px solid #e8c27a66;border-radius:2px;align-items:center;gap:6px;padding:3px 10px 3px 4px;display:flex}.wmx-chip svg{width:18px;height:18px}.wmx-chip:hover{border-color:var(--gold-bright)}.wmx-chip.off{opacity:.45;text-decoration:line-through}.wmx-search{width:min(300px,100% - 230px);min-width:180px;position:absolute;top:10px;right:10px}#wmx-search{box-sizing:border-box;width:100%;font:500 13.5px var(--ui-font);color:var(--text);background:#120f18e6;border:1px solid #e8c27a66;border-radius:2px;outline:none;padding:7px 10px}#wmx-search:focus{border-color:var(--gold-bright)}#wmx-search::placeholder{color:var(--muted)}#wmx-results{background:#120f18f5;border:1px solid #e8c27a66;border-radius:2px;max-height:320px;margin:2px 0 0;padding:0;list-style:none;overflow-y:auto}#wmx-results:empty{display:none}#wmx-results li{cursor:pointer;border-bottom:1px solid #e8c27a1f;gap:1px;padding:6px 10px;display:grid}#wmx-results li:last-child{border-bottom:0}#wmx-results li b{font:700 13.5px var(--title-font);color:#fff8e8}#wmx-results li small{color:var(--muted);font-size:11.5px}#wmx-results li.active,#wmx-results li:hover{background:#e8c27a29}#wmx-results li.active b{color:var(--gold-bright)}#wmx-results li.wmx-none{cursor:default;color:var(--muted);font-size:13px}.wmx-zoom{flex-direction:column;gap:4px;display:flex;position:absolute;bottom:10px;right:10px}.wmx-zoom .ghost{width:34px;height:34px;padding:0;font-size:18px;line-height:1}.wmx-card{min-width:0;padding:4px 6px 4px 2px;overflow-y:auto}.wmx-card h4{font:700 20px/1.2 var(--title-font);color:var(--gold-bright);margin:0}.wmx-card h5{font:700 12.5px var(--title-font);letter-spacing:.06em;color:var(--gold);border-bottom:1px solid #e8c27a40;margin:12px 0 4px;padding-bottom:2px}.wmx-card p{margin:4px 0;font-size:13.5px;line-height:1.45}.wmx-card ul{gap:4px;margin:0;padding:0;font-size:13.5px;list-style:none;display:grid}.wmx-card li{align-items:center;gap:6px;display:flex}.wmx-card li svg{flex:none;width:18px;height:18px}.wmx-levels{color:var(--muted);margin-top:2px;font-size:13px;display:block}.wmx-levels.danger-facile{color:#8fbf7a}.wmx-levels.danger-egal{color:#ffd76a}.wmx-levels.danger-dur{color:#ff9a4a}.wmx-levels.danger-mortel{color:#e0463a}.wmx-you{color:var(--gold-bright);font-weight:700}.wmx-lore{color:#d9d2c0;font-style:italic}.wmx-card ul.wmx-monsters{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.wmx-monsters li{text-align:center;background:#00000040;border:1px solid #e8c27a2e;border-radius:2px;flex-direction:column;justify-content:flex-start;gap:3px;padding:6px 4px 5px}.wmx-monsters .mon-icon{width:56px;height:46px;margin:0 auto}.wmx-monsters .doll{width:30px;height:50px;margin:-4px auto 0}.wmx-monsters span{overflow-wrap:anywhere;font-size:12px;line-height:1.2}.wmx-hint{color:var(--muted)}.wmx-zones{pointer-events:none}.wmx-zone{opacity:.95}.wmx-zone.free{opacity:.4}.wmx-zone line{stroke-linecap:round}.hide-clans .wmx-zones,.hide-clans .wmx-zone-labels,.far .wmx-province.in-zone{display:none}.hide-clans .far .wmx-province.in-zone{display:block}.wmx-zone-labels{pointer-events:none;display:none}.far .wmx-zone-labels{display:block}.wmx-zone-name{font:800 italic 17px var(--title-font);letter-spacing:.05em;text-anchor:middle;fill:#fff4d6f2;paint-order:stroke;stroke:#140e18bf;stroke-width:3.5px;stroke-linejoin:round}.wmx-zone-clan{font:700 11.5px var(--ui-font);letter-spacing:.04em;text-anchor:middle;fill:#f3e6c8;paint-order:stroke;stroke:#15101c;stroke-width:3px;stroke-linejoin:round}.wmx-zone-seal{fill:var(--clan);font-size:13px}.wmx-zone-label.free .wmx-zone-clan{fill:#fff0c8;font-style:italic}.wmx-clan{border-left:3px solid var(--clan);background:color-mix(in srgb, var(--clan) 14%, transparent);align-items:center;gap:8px;padding:5px 8px;display:flex;margin:8px 0!important}.wmx-clan i{color:var(--clan);font:700 20px/1 serif}.wmx-clan span{color:var(--muted);font-size:12.5px;display:grid}.wmx-clan b{color:var(--text);font-size:13.5px}@media (width<=760px){.wmx{grid-template-rows:minmax(0,1fr) 180px;grid-template-columns:1fr}.wmx-filters{flex-flow:wrap;top:52px;right:54px}.wmx-search{width:auto;left:10px}}.paperdoll .slots{z-index:1;position:relative}.paperdoll .slot{background:#1a1621eb}.paperdoll .slots:hover,.paperdoll .slots:focus-within{z-index:3}.slot .worn-tip{width:220px;font-size:12.5px;top:0;bottom:auto;left:calc(100% + 8px);transform:none}.paperdoll .slots:last-child .worn-tip{left:auto;right:calc(100% + 8px)}.paperdoll .slots .slot:last-child .worn-tip{top:auto;bottom:0}.slot.filled:hover .worn-tip,.slot.filled:focus-visible .worn-tip{display:block}.worn-tip .tip-level{color:var(--muted);margin-bottom:5px;font-size:11.5px}.tip b .tip-refine-tag{font:600 11px/15px var(--body-font,inherit);vertical-align:2px;color:#2a1606;background:#ffb45a;border-radius:3px;padding:0 4px;font-style:normal}.tip .tip-refine{background:#ffb45a14;border:1px solid #ffb45a59;border-radius:4px;margin-top:7px;padding:6px 8px 7px;display:block}.tip .tip-refine-head{color:#ffb45a;letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;align-items:baseline;font-size:11.5px;display:flex}.tip .tip-refine-head strong{letter-spacing:0;text-transform:none;font-size:14px}.tip .tip-refine-head small{color:var(--muted);margin:0;font-size:11px;font-weight:400;display:inline}.tip .tip-refine-pips{grid-template-columns:repeat(10,1fr);gap:2px;margin:4px 0 5px;display:grid}.tip-refine-pips i{background:#ffffff1f;border-radius:1px;height:4px}.tip-refine-pips i.on{background:linear-gradient(90deg,#ffcf8a,#ff9d3a);box-shadow:0 0 4px #ffa04680}.tip .tip-refine-gains{color:#ffd9a8;flex-wrap:wrap;gap:2px 10px;font-size:12px;display:flex}.tip .tip-refine-gains span{display:inline}.tip .tip-refine>small{margin-top:0}.worn-tip .panoply-note{margin-top:6px;display:block}.worn-tip .panoply-note b{font-size:inherit;margin:0;display:inline}.bag-tools{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:14px;display:flex}.bag-tools input[type=search],.bag-tools select{font:500 13px var(--ui-font);color:var(--text);background:#0d0b12;border:1px solid #e8c27a66;border-radius:2px;outline:none;padding:5px 8px;box-shadow:inset 0 1px 3px #000}.bag-tools input[type=search]{-webkit-user-select:text;user-select:text;flex:100%;min-width:0}.bag-tools select{flex:120px;min-width:0}.bag-tools input[type=search]:focus,.bag-tools select:focus{border-color:var(--gold-bright)}.bag-check{color:var(--text);cursor:pointer;white-space:nowrap;align-items:center;gap:4px;font-size:13px;display:inline-flex}.bag-check input{accent-color:#c99a45;margin:0}.bag-tabs{border-bottom:1px solid #e8c27a66;flex-wrap:wrap;gap:2px;margin-bottom:14px;display:flex}.bag-tab{font:700 13px var(--title-font);color:var(--muted);background:linear-gradient(#2a2332,#17131e);border:1px solid #e8c27a38;border-bottom:0;border-radius:2px 2px 0 0;align-items:center;gap:5px;padding:5px 9px;display:inline-flex}.bag-tab em{min-width:16px;font:700 11px var(--ui-font);text-align:center;color:var(--text);background:#00000073;border-radius:2px;padding:0 3px}.bag-tab:hover{color:var(--gold-bright)}.bag-tab .ic{flex:none;width:15px;height:15px}.bag-tab.selected{color:#1a1206;border-color:var(--gold);text-shadow:none;background:linear-gradient(#ffe2a0,#c99a45)}.bag-tab.selected,.spell-tab.selected{--ic-cut:#ffe2a0}.bag-tab.selected em{color:#fff3da;background:#3c230abf}.bag-tab.empty:not(.selected){opacity:.55}#inventory{width:min(980px, calc(calc(var(--vw) * 100) - 32px))}#bag-items .empty{color:var(--muted);text-align:center;grid-column:1/-1;margin:16px 8px}#spells{width:min(1040px, calc(calc(var(--vw) * 100) - 32px));max-height:min(720px, calc(calc(var(--vh) * 100) - 130px));padding:12px 16px 14px}.spell-bar-top{border-bottom:1px solid #e8c27a66;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:6px 12px;margin-bottom:10px;display:flex}.spell-tabs{flex-wrap:wrap;gap:2px;display:flex}.spell-tab{font:700 15px var(--title-font);letter-spacing:.03em;color:var(--muted);background:linear-gradient(#2a2332,#17131e);border:1px solid #e8c27a38;border-bottom:0;border-radius:2px 2px 0 0;align-items:center;gap:6px;padding:7px 14px;display:inline-flex;position:relative}.spell-tab em{font:700 11px var(--ui-font);color:var(--text);background:#00000073;border-radius:2px;padding:0 4px}.spell-tab:hover{color:var(--gold-bright)}.spell-tab.selected{color:#1a1206;border-color:var(--gold);background:linear-gradient(#ffe2a0,#c99a45)}.spell-tab.selected em{color:#fff3da;background:#3c230abf}.spell-tab .can-up{font-style:normal;display:inline-block}#spells .points{color:var(--muted);margin:0 0 6px;font-size:13px}#spells .points.has{color:var(--gold-bright);font-weight:700}#spells .points.has b{text-align:center;color:#1a1206;background:linear-gradient(#ffe2a0,#c99a45);border-radius:2px;min-width:20px;margin-right:2px;display:inline-block;position:relative}#spells .points.has b:after,.sheet-head .points.has b:after{content:"";border-radius:inherit;opacity:0;will-change:opacity;pointer-events:none;animation:1.6s ease-in-out infinite glow-beat;position:absolute;inset:0;box-shadow:0 0 12px #ffd282e6}.spell-book{height:min(580px, calc(calc(var(--vh) * 100) - 240px));grid-template-columns:236px minmax(0,1fr);gap:14px}.spell-list{gap:5px}.spell-item{background:linear-gradient(#2a2332,#1a1621);border:1px solid #e8c27a38;border-radius:2px;padding:7px 9px;transition:transform 80ms,border-color .1s}.spell-item:hover{border-color:var(--gold);background:linear-gradient(#3a3144,#231d2c);transform:translate(2px)}.spell-item.selected{border-color:var(--gold-bright);background:linear-gradient(90deg,#e8c27a47,#e8c27a0f);box-shadow:0 0 10px #ffd2824d}.spell-item .spell-icon{width:30px;height:30px}.spell-item-text b{font:700 14.5px/1.2 var(--title-font)}.spell-item.locked{opacity:.62}.spell-detail{border-left:1px solid #e8c27a40;padding:0 6px 0 14px}.spell-stage{background:radial-gradient(ellipse at 50% 58%, color-mix(in srgb, var(--el) 46%, transparent), transparent 68%), linear-gradient(180deg, #120f1a, #231c2c 70%, #120f1a);border:1px solid color-mix(in srgb, var(--el) 60%, #e8c27a);border-radius:2px;height:236px;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 40px #000000bf}.spell-stage:before{content:"";background:conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--el) 26%, transparent), transparent 30%, color-mix(in srgb, var(--el) 26%, transparent), transparent 62%, color-mix(in srgb, var(--el) 26%, transparent), transparent);pointer-events:none;border-radius:50%;width:340px;height:340px;margin:-170px 0 0 -170px;animation:18s linear infinite stage-spin;position:absolute;top:56%;left:50%}@keyframes stage-spin{to{transform:rotate(360deg)}}.spell-detail .spell-stage .spell-preview{filter:drop-shadow(0 4px 10px #0000008c);width:100%;max-width:none;height:calc(100% - 8px);margin:0;display:block;position:absolute;inset:8px 0 0}.stage-mark{color:var(--el);opacity:.22;position:absolute;top:8px;right:10px}.stage-mark .spell-icon{width:96px;height:96px;color:inherit}.stage-title{pointer-events:none;background:linear-gradient(#0000,#0a070eeb);padding:26px 14px 9px;position:absolute;bottom:0;left:0;right:0}.stage-title h4{font:800 26px/1.1 var(--title-font);letter-spacing:.03em;color:var(--gold-bright);text-shadow:0 2px 6px #000;margin:0}.stage-title .spell-tags{margin-top:4px}.stage-title .tag{background:#0a070eb3;border-radius:2px}.tag.tag-level{color:var(--gold)}.stage-rank{width:40px;height:40px;font:800 18px var(--title-font);color:#fff3da;border:2px solid var(--gold);background:linear-gradient(#d0493a,#7d1d16);border-radius:50%;place-items:center;display:grid;position:absolute;top:10px;left:12px;box-shadow:0 0 0 1px #000,0 3px 8px #000}.spell-stage.locked .spell-preview{filter:grayscale(.9)brightness(.6)}.stage-lock{white-space:nowrap;font:700 16px var(--title-font);color:var(--gold-bright);border:1px solid var(--gold);background:#0a070ee0;padding:7px 16px;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)}.spell-desc{color:#efe8d8;margin:10px 0;font-size:15px;line-height:1.45}.spell-facts{gap:6px;display:flex}.spell-facts>div{flex:auto;min-width:0}.spell-facts div{text-align:center;background:linear-gradient(#2a2332,#1a1621);border:1px solid #e8c27a33;border-radius:2px;padding:5px 9px}.spell-facts dd{font:700 15px var(--title-font);color:var(--text)}.spell-facts .fact-main{border-color:var(--gold);background:linear-gradient(#e8c27a33,#e8c27a0d);flex-grow:1.4}.spell-facts .fact-main dd{color:var(--gold-bright);text-shadow:0 1px 3px #000;font-size:18px;line-height:1.15}.spell-facts .fact-crit{background:linear-gradient(#ff965029,#ff96500a);border-color:#ff965099;flex-grow:1.4}.spell-facts .fact-crit dt{color:#ffb47a}.spell-facts .fact-crit dd{color:#ffc08f;text-shadow:0 1px 3px #000;font-size:16px;line-height:1.25}.rank-title{font:700 13px var(--title-font);letter-spacing:.08em;color:var(--gold);margin:12px 0 6px}.rank-track{gap:5px;margin:0;padding:0;list-style:none;display:grid}.rank-step{background:#ffffff08;border:1px solid #e8c27a24;border-radius:2px;align-items:center;gap:10px;padding:6px 9px;display:flex;position:relative}.rank-seal{width:30px;height:30px;font:800 13px var(--title-font);color:var(--muted);background:#17131e;border:1px solid #e8c27a59;border-radius:50%;flex:none;place-items:center;display:grid}.rank-text{flex:1;min-width:0;font-size:13px;line-height:1.3}.rank-text>span{display:block}.rank-text small{color:var(--muted);margin-right:10px;font-size:11.5px}.rank-step.done .rank-seal,.rank-step.now .rank-seal{color:#1a1206;border-color:var(--gold-bright);background:linear-gradient(#ffe2a0,#c99a45)}.rank-step.now{border-color:var(--gold);background:#e8c27a1f}.rank-step.done{opacity:.72}.rank-step.next{border-color:#ffd282b3;box-shadow:0 0 10px #ffd2822e}.rank-step.future .rank-text{color:var(--muted)}.rank-step .rank-up{flex:none;padding:6px 12px;font-size:13px}.rank-step .rank-up:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){.spell-stage:before,#spells .points.has b:after,.sheet-head .points.has b:after{animation:none}}@media (width<=680px){.spell-stage{height:200px}.spell-book{grid-template-columns:1fr;height:auto}.spell-facts{flex-wrap:wrap}}#spells{height:min(720px, calc(calc(var(--vh) * 100) - 130px))}.spell-book{flex:1;height:auto}.spell-stage{height:262px}.spell-item-text small{margin-top:4px;line-height:1;display:block}.spell-item-text .rank-pips{vertical-align:middle;gap:3px;display:inline-flex}.variant-hint{color:var(--muted);margin:0 0 8px;font-size:13px}.variant{background:linear-gradient(#2a2332,#1a1621);border:1px solid #e8c27a40;border-radius:2px}.variant .spell-icon{width:30px;height:30px}.variant b{font:700 14px var(--title-font)}.rank-step{padding:4px 8px}.rank-seal{width:26px;height:26px}#mount-button.on-foot{color:var(--muted)}#mount-button:not(.on-foot){color:var(--gold-bright);border-color:var(--gold)}#stats{width:min(980px, calc(calc(var(--vw) * 100) - 32px));grid-template-columns:290px minmax(0,1fr);gap:16px;padding:14px 16px;display:grid}.sheet-hero{flex-direction:column;gap:8px;min-width:0;display:flex}.sheet-doll{background:radial-gradient(at 50% 62%,#3a3148,#16121e 72%);border:1px solid #e8c27a59;border-radius:2px;place-items:center;height:300px;display:grid;overflow:hidden;box-shadow:inset 0 0 30px #000000b3}.sheet-hero.with-aura .sheet-doll{background:radial-gradient(at 50% 58%,#ffbe5a6b,#16121e 72%)}.sheet-doll .doll{width:150px;height:250px}.sheet-doll.wide{place-items:end center;padding-bottom:8px}.sheet-doll.wide .doll{width:120px;height:200px}.sheet-level{align-items:center;gap:8px;display:flex}.sheet-lvl{width:38px;height:38px;font:800 18px var(--title-font);color:#1a1206;background:linear-gradient(#ffe2a0,#c99a45);border:1px solid #2a1f0c;border-radius:2px;flex:none;place-items:center;display:grid}.sheet-xp{flex:1;gap:2px;min-width:0;display:grid}.sheet-xp small{color:var(--muted);font-size:11.5px}.xp-track{background:#0a0810;border:1px solid #e8c27a66;height:9px;padding:1px;display:block}.xp-track i{background:linear-gradient(90deg,#a87d33,#ffe2a0);height:100%;display:block}.sheet-orbs{justify-content:space-around;gap:6px;margin-top:10px;display:flex}.orb{width:60px;height:60px}.orb b{font-size:25px}.orb small{font-size:9.5px}.orb:after{font-size:40px}.sheet-body{flex-direction:column;gap:8px;min-width:0;display:flex}.sheet-head{border-bottom:1px solid #e8c27a66;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.sheet-head h3{border:0!important;margin:0!important}.sheet-head .points{color:var(--muted);font-size:13px;margin:0 0 4px!important}.sheet-head .points.has{color:var(--gold-bright);font-weight:700}.sheet-head .points.has b{text-align:center;color:#1a1206;background:linear-gradient(#ffe2a0,#c99a45);border-radius:2px;min-width:22px;display:inline-block;position:relative}.stat-vitalite{--kanji:"体";--turn:200deg}.stat-force{--kanji:"力";--turn:40deg}.stat-agilite{--kanji:"速";--turn:300deg}.stat-precision{--kanji:"的";--turn:120deg}.stat-icon{isolation:isolate;width:40px;height:40px;color:var(--stat-light);background:radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--stat-light) 24%, #1d1826), color-mix(in srgb, var(--stat) 30%, #0e0b14) 70%, #0a0810);border:0;border-radius:50%;place-items:center;margin:4px;display:grid;position:relative;box-shadow:inset 0 0 0 1px #0009,inset 0 2px #ffffff0f,inset 0 -6px 12px #00000073,0 3px 8px #0000008c}.stat-icon:before{content:"";z-index:1;background:var(--stat-light);-webkit-mask:var(--enso) center / contain no-repeat;-webkit-mask:var(--enso) center / contain no-repeat;mask:var(--enso) center / contain no-repeat;transform:rotate(var(--turn));filter:drop-shadow(0 0 3px color-mix(in srgb, var(--stat-light) 55%, transparent));pointer-events:none;position:absolute;inset:-6px}.stat-icon:after{content:var(--kanji);z-index:-1;font:700 28px/1 var(--title-font);color:var(--stat-light);opacity:.14;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.stat-icon .ic{z-index:2;filter:drop-shadow(0 1px 2px #000);font-size:20px;position:relative}.stat-vitalite{--stat:#a8362a;--stat-light:#f08a7a}.stat-force{--stat:#b86a1c;--stat-light:#ffc23a}.stat-agilite{--stat:#2f7a4c;--stat-light:#a8e08a}.stat-precision{--stat:#3f5a9a;--stat-light:#8fb4ff}.stat-trees{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.stat-col{text-align:center;background:linear-gradient(#2a2332,#1a1621);border:1px solid #e8c27a38;border-radius:2px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:10px 8px 9px;display:flex}.stat-col.can-buy{border-color:#e8c27a99}.stat-col-head{cursor:help;flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.stat-col-head .stat-icon{margin:4px 0 2px}.stat-col-name{align-items:baseline;gap:6px;display:flex}.stat-col-name b{font:700 15px var(--title-font);color:var(--gold-bright)}.stat-col-name strong{font:800 22px/1 var(--title-font);color:var(--text)}.stat-gain{color:var(--stat-light);font-size:13px;font-style:normal;font-weight:700}.stat-tree{cursor:help;flex-direction:column;width:100%;height:170px;margin:18px 0 20px;display:flex;position:relative}.st-seg{flex:1 1 0;position:relative}.st-line{background:#0a0810;width:4px;position:absolute;top:0;bottom:0;left:calc(50% - 2px);box-shadow:inset 0 0 0 1px #e8c27a33}.st-line i{background:var(--stat-light);width:100%;display:block}.st-here{z-index:2;border:2px solid var(--stat-light);width:12px;height:12px;box-shadow:0 0 8px var(--stat-light);background:#fff;border-radius:50%;margin-top:-6px;position:absolute;left:calc(50% - 6px)}.st-start{font:700 12.5px var(--title-font);color:#8f8790;position:absolute;top:0;right:calc(50% + 20px);transform:translateY(-50%)}.st-legend{color:#d6cfc6;margin:0;font-size:12.5px}.st-cost{white-space:nowrap;color:#8f8790;text-align:left;font-size:12px;line-height:1.1;position:absolute;top:50%;left:calc(50% + 20px);transform:translateY(-50%)}.st-seg.done .st-cost{color:#b9b2ad}.st-seg.now .st-cost{color:var(--stat-light);font-size:13px;font-weight:700}.st-node{z-index:1;width:14px;height:14px;position:absolute;bottom:0;left:50%;transform:translate(-50%,50%)}.st-node:before{content:"";background:#1a1620;border:2px solid #e8c27a4d;position:absolute;inset:0;transform:rotate(45deg)}.st-node b{font:700 12.5px var(--title-font);color:#8f8790;position:absolute;top:50%;right:calc(100% + 13px);transform:translateY(-50%)}.st-node.done:before{background:var(--stat-light);border-color:var(--stat-light)}.st-node.done b{color:var(--text)}.st-node.next:before{border-color:var(--stat-light);box-shadow:0 0 8px color-mix(in srgb, var(--stat-light) 50%, transparent)}.st-node.next b{color:var(--stat-light)}.st-node.end:before,.st-node.end.next:before{box-shadow:none;border-color:#e8c27a4d;border-radius:2px;transform:none}.st-node.end.next b{color:#8f8790}.stat-col .stat-add{grid-template-columns:repeat(2,1fr);gap:3px;width:100%;display:grid}.stat-col .plus{padding:3px 5px;font-size:12px}.stat-col .plus:disabled{opacity:.3}.sheet-sub{margin:4px 0 0!important}.sheet-lines{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.sheet-line{text-align:center;cursor:help;background:#ffffff08;border:1px solid #e8c27a24;flex-direction:column;align-items:center;gap:1px;padding:5px 4px;display:flex}.sheet-line span{min-width:0;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}.sheet-line b{font:700 17px var(--title-font);color:var(--gold-bright);flex:none;line-height:1.1}.respec-hint{color:var(--muted);margin:0;font-size:12px}@media (width<=760px){#stats{grid-template-columns:1fr}.stat-trees{grid-template-columns:repeat(2,minmax(0,1fr))}}.sheet-head{padding-right:38px}.bubble-close{z-index:1;color:#fff3da;background:linear-gradient(#a83328,#6d1a14);border:1px solid #7a2a1e;border-radius:2px;place-items:center;width:26px;height:26px;padding:0;font-size:14px;line-height:1;display:grid;position:absolute;top:6px;right:6px}.bubble-close:hover{background:linear-gradient(#cf4537,#8a2119)}.bubble-close:focus-visible{outline-offset:2px;outline:2px solid #a3301f}#dialog .bubble-head{padding-right:30px}.spell-bar{flex-wrap:nowrap;align-items:stretch;gap:8px;max-width:none}.spell-group{border:1px solid color-mix(in srgb, var(--group) 55%, transparent);border-top:2px solid var(--group);background:#0c090673;border-radius:3px;flex-direction:column;gap:2px;padding:2px 5px 5px;display:flex}.spell-group>small{font:700 10px/14px var(--title-font);letter-spacing:.08em;text-transform:uppercase;color:var(--group);text-shadow:0 1px 1px #000;text-align:center}.spell-group>div{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.spell-group.attaque{--group:#e0705a}.spell-group.deplacement{--group:#8fcf7a}.spell-group.soin{--group:#6fd0c4}.spell-group.boost{--group:#e8c27a}.spell-group.attaque>div{max-width:250px}@media (width<=1100px){.spell-bar{max-width:calc(calc(var(--vw) * 100) - 460px);flex-wrap:wrap;justify-content:center}}@media (width>=1400px){.spell-group.attaque>div{flex-wrap:nowrap;max-width:none}}.rank-none{color:var(--muted);text-align:center;margin:10px 0 0;font-style:italic}#result{width:min(600px, calc(calc(var(--vw) * 100) - 32px));background:linear-gradient(#221a24,#15131f 58%);border:1px solid #e8c27a8c;border-radius:3px;gap:14px;padding:0 0 18px;animation:.28s ease-out res-in;box-shadow:0 0 0 1px #000,0 18px 70px #000000bf}#result>:not(.res-head){margin-inline:22px}@keyframes res-in{0%{opacity:0;transform:translate(-50%,-46%)}}.res-head{border-bottom:1px solid #e8c27a59;align-items:center;gap:18px;padding:20px 22px 18px;display:flex}.res-head.won{background:radial-gradient(at 18% 40%,#d64a2e57,#0000 62%),linear-gradient(90deg,#e8c27a1f,#0000)}.res-head.lost{background:radial-gradient(at 18% 40%,#5a5a6e4d,#0000 62%)}.res-seal{width:66px;height:66px;font:700 42px/1 var(--title-font);color:#fff1dc;background:#b92f1f;border:3px double #ffe9cdbf;border-radius:5px;flex:none;place-items:center;animation:.36s cubic-bezier(.2,1.5,.4,1) 80ms both res-stamp;display:grid;transform:rotate(-5deg);box-shadow:0 3px 12px #0000008c}.res-head.lost .res-seal{color:#d8d3cc;background:#47444f}@keyframes res-stamp{0%{opacity:0;transform:rotate(-14deg)scale(1.9)}}.res-head h2{font:700 38px/1.1 var(--title-font);letter-spacing:.06em;color:var(--gold);text-shadow:0 2px #000,0 0 22px #e8c27a59;margin:0}.res-head.lost h2{color:#c9c3bd;text-shadow:0 2px #000}.res-head p{color:var(--muted);margin:4px 0 0;font-size:14.5px}.lvl-up{text-align:left;color:#fff1cf;background:radial-gradient(at 10%,#ffd68c47,#0000 55%),linear-gradient(90deg,#e8c27a33,#e8c27a0f 70%,#0000);border-block:1px solid #e8c27a8c;grid-template-columns:auto 1fr;align-items:center;gap:6px 14px;padding:10px 16px;animation:.5s cubic-bezier(.2,1.3,.4,1) .15s both lvl-in;display:grid;position:relative}@keyframes lvl-in{0%{opacity:0;transform:scale(.94)}}.lvl-badge{color:#2a1a08;background:radial-gradient(circle at 50% 30%, var(--gold-bright), var(--gold) 55%, #a87b36);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);filter:drop-shadow(0 0 10px #ffd68c8c);align-content:center;place-items:center;width:58px;height:58px;line-height:1;animation:.6s cubic-bezier(.2,1.6,.4,1) .2s both lvl-badge;display:grid;position:relative}.lvl-badge small{font:700 10px var(--title-font);letter-spacing:.1em;text-transform:uppercase}.lvl-badge b{font:800 26px var(--title-font)}@keyframes lvl-badge{0%{opacity:0;transform:scale(1.8)rotate(-20deg)}}.lvl-text strong{font:700 18px/1.2 var(--title-font);color:var(--gold-bright);text-shadow:0 1px #000;display:block}.lvl-gains{color:#e9dcc4;font-size:13px}.lvl-gains em{color:var(--gold-bright);font-style:normal;font-weight:700}.lvl-spells{flex-wrap:wrap;grid-column:1/-1;gap:8px;margin:2px 0 0;padding:0;list-style:none;display:flex}.lvl-spells li{background:#00000059;border:1px solid #e8c27a73;border-radius:3px;align-items:center;gap:10px;padding:5px 12px 5px 6px;animation:.45s ease-out .5s both lvl-in;display:flex}.lvl-spells .spell-emblem{flex:none;width:40px}.lvl-spells span{line-height:1.2;display:grid}.lvl-spells small{letter-spacing:.08em;text-transform:uppercase;color:var(--gold);font-size:10.5px}.lvl-spells b{font:700 15px var(--title-font);color:#fbf5e8}.lvl-spells em{color:var(--muted);font-size:11.5px;font-style:normal}#toast[data-kind=level]{padding:6px 0;font-size:15px}#toast[data-kind=level] .lvl-up{background:radial-gradient(at 10%,#ffd68c47,#0000 55%);border:0;min-width:340px}#toast[data-kind=level] .lvl-text strong{color:var(--gold);font-size:22px}@media (prefers-reduced-motion:reduce){.lvl-up,.lvl-badge,.lvl-spells li{animation:none}}.res-gains{grid-template-columns:1fr 1fr;gap:10px;display:grid}.res-gain{text-align:center;background:#00000047;border:1px solid #e8c27a38;border-radius:2px;padding:8px 14px}.res-gain small{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:11.5px;display:block}.res-gain b{font:800 26px/1.2 var(--title-font);align-items:center;gap:6px;display:inline-flex}.res-gain.xp b{color:#a8d4ff}.res-gain.ryo b{color:var(--gold)}.res-xp-top{color:var(--muted);justify-content:space-between;align-items:baseline;margin-bottom:4px;font-size:13px;display:flex}.res-xp-top b{font:700 15px var(--title-font);color:#fbf5e8}.res-xp-bar{background:#0c0a12;border:1px solid #e8c27a66;border-radius:1px;height:10px;overflow:hidden}.res-xp-bar i{height:100%;width:var(--to);background:linear-gradient(90deg,#3d7fc4,#a8d4ff);animation:1.1s cubic-bezier(.2,.7,.2,1) .35s backwards res-xp;display:block}@keyframes res-xp{0%{width:var(--from)}}.res-section h3{font:700 13px var(--title-font);letter-spacing:.1em;text-transform:uppercase;color:var(--gold);align-items:center;gap:10px;margin:0 0 7px;display:flex}.res-section h3:after{content:"";background:#e8c27a47;flex:1;height:1px}.res-empty{color:var(--muted);margin:0;font-size:13.5px;font-style:italic}.res-loot{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:7px;margin:0;padding:0;list-style:none;display:grid}.res-item{animation:res-drop .34s ease-out calc(.5s + var(--i) * .12s) backwards;background:#ffffff0d;border:1px solid #ffffff24;border-radius:2px;align-items:center;gap:10px;padding:6px 9px;display:flex}@keyframes res-drop{0%{opacity:0;transform:translateY(-8px)scale(.96)}}.res-item img{object-fit:contain;background:radial-gradient(circle,#fff3,#ffffff0a);border:1px solid #ffffff1f;border-radius:2px;flex:none;width:54px;height:54px;padding:2px}.res-item span{min-width:0;font-size:13.5px}.res-item b{display:block}.res-item small{color:var(--muted);font-size:12px;display:block}.res-item em{font:700 10.5px var(--title-font);letter-spacing:.1em;text-transform:uppercase;color:var(--gold);font-style:normal;display:block}.res-item.legendary{border-color:var(--gold);background:linear-gradient(120deg,#e8c27a3d,#b92f1f29);box-shadow:0 0 16px #e8c27a59}.res-quest{justify-content:space-between;padding:3px 0 7px;font-size:13.5px;display:flex;position:relative}.res-quest i{background:linear-gradient(90deg, var(--gold) var(--done), #ffffff1f var(--done));height:3px;position:absolute;bottom:1px;left:0;right:0}.res-foes{flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;list-style:none;display:flex}.res-foes li{align-items:center;gap:6px;font-size:13px;display:flex}.res-foes b{color:var(--gold)}.res-facts{border-top:1px solid #ffffff1a;grid-template-columns:repeat(4,1fr);margin-block:0;padding-top:10px;display:grid}.res-facts div{text-align:center}.res-facts dt{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:11px}.res-facts dd{font:700 15px var(--title-font);color:#fbf5e8;margin:1px 0 0}#result .res-next{align-self:center;min-width:190px}@media (width<=560px){.res-gains,.res-loot{grid-template-columns:1fr}.res-head h2{font-size:30px}.res-seal{width:52px;height:52px;font-size:32px}}@media (prefers-reduced-motion:reduce){#result,.res-seal,.res-item,.res-xp-bar i{animation:none}}#group-tip{z-index:2;pointer-events:none;color:#fbf5e8;background:linear-gradient(#221a24,#15131f);border:1px solid #e8c27a99;border-radius:3px;min-width:190px;max-width:320px;padding:0;font-size:13px;position:absolute;transform:translate(-50%,calc(-100% - 10px));box-shadow:0 0 0 1px #000,0 6px 22px #0009}#group-tip:after{content:"";background:#15131f;border-bottom:1px solid #e8c27a99;border-right:1px solid #e8c27a99;width:12px;height:12px;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)rotate(45deg)}.gt-head{background:linear-gradient(90deg,#b92f1f4d,#0000);border-bottom:1px solid #e8c27a4d;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;display:flex}.gt-head.boss{background:linear-gradient(90deg,#e8c27a59,#b92f1f40)}.gt-head small{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:10.5px;display:block}.gt-head b{font:800 19px/1.1 var(--title-font);color:var(--gold);text-shadow:0 1px #000}.gt-danger{font:700 11px var(--title-font);letter-spacing:.04em;color:#15131f;border-radius:10px;padding:2px 8px;font-style:normal}.gt-danger.trivial{background:#9fd6e8}.gt-danger.easy{background:#8fcf7a}.gt-danger.fair{background:#e8c27a}.gt-danger.hard{background:#f0925a}.gt-danger.deadly{color:#fff;background:#e05a4a}.gt-list{flex-direction:column;gap:3px;margin:0;padding:5px 8px 7px;list-style:none;display:flex}.gt-list li{align-items:center;gap:8px;display:flex}.gt-list .mon-icon{flex:none;width:30px;height:24px;margin:0}.gt-list .doll{flex:none;width:18px;height:30px;margin:0 6px}.gt-list span{flex:1;min-width:0;line-height:1.25}.gt-list em{color:#c9c3bd;flex:none;font-size:12px;font-style:normal}#emotes{width:auto;max-width:calc(calc(var(--vw) * 100) - 32px);padding:8px 10px;display:block}.emotes-head{align-items:center;gap:8px;margin-bottom:6px;display:flex}.emotes-head h3{font:700 15px var(--title-font);letter-spacing:.05em;color:var(--gold);margin:0}.emotes-count{font:600 11.5px var(--title-font);color:var(--muted);flex:1}.emotes-head .close{padding:1px 8px}.emotes-help{color:var(--muted);text-align:center;margin:6px 0 0;font-size:11px}.emotes-grid{grid-template-columns:repeat(7,44px);justify-content:center;gap:5px;display:grid}.emote-tile{width:44px;height:44px;color:var(--gold);cursor:pointer;font:inherit;background:radial-gradient(circle,#e8c27a29,#0000 70%),linear-gradient(#ffffff0f,#00000038);border:1px solid #e8c27a47;border-radius:2px;place-items:center;padding:0;display:grid;position:relative}.emote-tile>.ic{width:28px;height:28px}.emote-tile:hover:not(.locked),.emote-tile:focus-visible{border-color:var(--gold);background:radial-gradient(circle,#e8c27a4d,#0000 70%),linear-gradient(#e8c27a24,#0003)}.emote-tile.selected{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold), 0 0 10px #e8c27a66}.emote-tile.locked{color:var(--muted);cursor:not-allowed;border-style:dashed}.emote-tile.locked>.ic{opacity:.55}.emote-tile kbd{font:700 9.5px var(--title-font);color:var(--muted);position:absolute;top:1px;left:3px}.emote-tile .tip{color:#fbf5e8;width:190px}.emote-tile:hover .tip,.emote-tile:focus-visible .tip{display:block}.emote-tile:nth-child(7n+1) .tip{left:0;transform:none}.emote-tile:nth-child(7n) .tip{left:auto;right:0;transform:none}.admin-hint{letter-spacing:0;color:#a8d4ff;margin-left:8px;font:400 11.5px system-ui,sans-serif}.wmx svg.admin .wmx-place{cursor:context-menu}@media (width<=380px){.emotes-grid{grid-template-columns:repeat(7,38px);gap:4px}.emote-tile{width:38px;height:38px}.emote-tile>.ic{width:24px;height:24px}}.me-title{font:italic 600 11.5px var(--title-font);color:var(--gold);margin:-1px 0 2px;display:block}#map-title .province{font:600 11px var(--title-font);letter-spacing:.04em;color:#fbf5e8;border:1px solid var(--clan);border-left:4px solid var(--clan);cursor:pointer;pointer-events:auto;text-align:left;background:#00000059;border-radius:2px;margin-top:4px;padding:2px 8px 5px;display:block;position:relative;overflow:hidden}#map-title .province i{background:var(--clan);height:3px;position:absolute;bottom:0;left:0}#map-title .province.free{color:#c9f0b8;border-color:#8fcf7a}.res-challenges{gap:6px;margin:0;padding:0;list-style:none;display:grid}.res-challenges li{background:#ffffff0a;border-radius:6px;align-items:center;gap:10px;padding:6px 10px;display:flex}.res-challenges i{text-align:center;width:18px;font-style:normal;font-weight:700}.res-challenges span{flex-direction:column;flex:1;min-width:0;display:flex}.res-challenges small{color:var(--muted);font-size:12px}.res-challenges em{white-space:nowrap;font-size:12.5px;font-style:normal}.res-challenges .done i,.res-challenges .done em{color:var(--gold)}.res-challenges .failed{opacity:.6}.res-challenges .failed i{color:#c9402c}.res-war{color:#fbe8c8;background:#b92f1f2e;border-left:3px solid #c9402c;margin-block:0;padding:7px 12px;font-size:13.5px}.res-war.free{color:#d8f5c8;background:#8fcf7a24;border-left-color:#8fcf7a}#deeds{z-index:2;width:min(820px, calc(calc(var(--vw) * 100) - 32px));background:var(--corners,none), linear-gradient(180deg, var(--lacquer-top,#221a24), var(--lacquer-bottom,#15131f));position:absolute}#deeds .close{padding:3px 10px;position:absolute;top:10px;right:10px}.deeds-tabs{border-bottom:1px solid #e8c27a59;gap:4px;margin-bottom:10px;display:flex}.deeds-tab{color:var(--muted);font:600 13.5px var(--title-font);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:6px 14px}.deeds-tab.selected{color:var(--gold);border-bottom-color:var(--gold)}.deeds-worn{color:var(--muted);margin:0 0 10px;font-size:13px}.deeds-worn b{color:var(--gold)}.deed-groups{grid-template-columns:1fr 1fr;gap:12px;display:grid}.deed-group h4{font:700 13px var(--title-font);letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin:0 0 6px}.deed-group h4 small{color:var(--muted);letter-spacing:0}.deed-group ul{flex-direction:column;gap:5px;margin:0;padding:0;list-style:none;display:flex}.deed{background:#ffffff0a;border:1px solid #ffffff14;border-radius:2px;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;padding:6px 8px;display:grid}.deed.done{background:linear-gradient(90deg,#e8c27a24,#ffffff08);border-color:#e8c27a59}.deed.worn{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.deed-seal{color:#15131f;background:#ffffff1f;border-radius:50%;place-items:center;width:20px;height:20px;font-size:12px;font-weight:700;display:grid}.deed.done .deed-seal{background:var(--gold)}.deed-text b{font-size:13px;display:block}.deed-text small{color:var(--muted);font-size:11.5px;display:block}.deed-bar{background:#0006;border-radius:2px;height:4px;margin-top:4px;display:block;overflow:hidden}.deed-bar i{background:linear-gradient(90deg, #a87d33, var(--gold));height:100%;display:block}.deed-side{text-align:right;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.deed-side em{font:italic 600 11.5px var(--title-font);color:#e8d7b0}.deed-side small{color:var(--muted);font-size:11px}.deed-wear{padding:1px 9px;font-size:11.5px}.war-grid{grid-template-columns:1fr 1fr;align-content:start;gap:8px;display:grid}.war-card{border:1px solid #ffffff14;border-left:3px solid var(--clan);cursor:help;background:#00000038;border-radius:2px;align-items:center;gap:11px;padding:9px 12px;display:flex}.war-card.here{border-color:#e8c27a80;border-left-color:var(--clan)}.war-card.free{border-left-color:#8fcf7a}.war-banner{background:var(--clan);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);flex:none;width:12px;height:28px}.war-card.free .war-banner{background:#8fcf7a}.war-body{flex:1;min-width:0}.war-head{justify-content:space-between;align-items:baseline;gap:6px;display:flex}.war-head b{font:700 14px var(--title-font)}.war-head em{font:italic 600 11px var(--title-font);color:var(--gold)}.war-body small{color:var(--muted);font-size:11.5px;display:block}.war-card.free .war-body small{color:#c9f0b8}.war-bar{background:#8fcf7a40;border-radius:2px;height:4px;margin-top:6px;display:block;overflow:hidden}.war-bar i{background:var(--clan);height:100%;display:block}@media (width<=700px){.war-grid{grid-template-columns:1fr}}.deeds-book{flex:1;grid-template-columns:168px 1fr;gap:12px;min-height:0;display:grid}.deed-rail .deeds-worn{border-top:1px solid #e8c27a40;margin:auto 0 0;padding:8px;font-size:12px}.deed-rail .deeds-worn b{font:italic 600 13px var(--title-font);margin:2px 0;display:block}.deed-rail .deeds-worn small{font-size:11.5px;display:block}.deed-rail{flex-direction:column;gap:4px;display:flex}.deed-family{color:var(--muted);text-align:left;font:600 13px var(--title-font);cursor:pointer;background:#ffffff08;border:1px solid #ffffff14;border-radius:2px;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;padding:7px 8px;display:grid}.deed-family:hover{color:var(--text,#e8e0d0);background:#ffffff0f}.deed-family.selected{color:var(--gold);background:linear-gradient(90deg,#e8c27a29,#ffffff08);border-color:#e8c27a73}.deed-family small{font:500 11.5px var(--body-font,inherit);color:var(--muted);white-space:nowrap}.deed-family.full small{color:var(--gold)}.deed-cards{grid-template-columns:1fr 1fr;align-content:start;gap:6px;min-height:0;margin:0;padding:0 4px 0 0;list-style:none;display:grid;overflow-y:auto}.deed-cards .deed{grid-template-columns:34px 1fr;align-items:start;padding:5px 9px}.deed-head{justify-content:space-between;align-items:baseline;gap:6px;display:flex}.deed-head b{font-size:13px}.deed-text .deed-head small{font-size:10.5px;display:inline}.deed-foot{justify-content:space-between;align-items:center;gap:6px;min-height:20px;margin-top:2px;display:flex}.deed-cards .deed-bar{margin-top:3px}.deed-foot em{font:italic 600 11.5px var(--title-font);color:#e8d7b0}.deed-text .deed-foot small{font-size:11px;display:inline}@media (width<=700px){.deeds-book{grid-template-rows:auto 1fr;grid-template-columns:1fr}.deed-rail{flex-direction:row;overflow-x:auto}.deed-rail .deeds-worn{display:none}.deed-family{grid-template-columns:auto auto}.deed-family span{display:none}.deed-cards{grid-template-columns:1fr}}.server-status{align-items:center;gap:7px;display:inline-flex}.server-status i{background:#c9c3bd;border-radius:50%;width:8px;height:8px}.server-status.online i{background:#6fd06a;box-shadow:0 0 6px #6fd06a}.server-status.offline{color:#ffb4a6}.server-status.offline i{background:#e05a4a;box-shadow:0 0 6px #e05a4a}.server-status.checking i{animation:1s ease-in-out infinite status-pulse}@keyframes status-pulse{50%{opacity:.3}}#quests{width:min(880px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 110px);flex-direction:column;display:flex;overflow:hidden}.journal{flex:1;grid-template-columns:minmax(250px,330px) 1fr;gap:14px;min-height:0;display:grid}.journal-side{flex-direction:column;gap:8px;min-height:0;display:flex}.journal-side .quest-tabs{margin-bottom:0}.journal-side .quest-tabs .ghost{padding:5px 6px;font-size:13.5px}.quest-tabs small,.shop-tabs small{color:var(--muted);background:#ffffff14;border-radius:8px;margin-left:3px;padding:0 5px;font-size:11.5px}.quest-tabs .selected small,.shop-tabs .selected small{color:#15131f;background:var(--gold)}.journal-side .quest-list{min-height:120px;max-height:calc(calc(var(--vh) * 100) - 330px);padding-right:4px;overflow-y:auto}.story-progress{background:linear-gradient(135deg,#5fb4f024,#5fb4f008);border:1px solid #5fb4f073;border-radius:6px;padding:8px 10px}.story-progress>*{display:block}.story-progress small{color:var(--muted);font-size:12px}.story-progress b{color:var(--main);font-size:14.5px}.story-progress .bar{height:6px;margin:5px 0 3px}.story-progress .bar i{background:linear-gradient(90deg, #3d7fb4, var(--main))}.quest-row{align-items:flex-start;gap:8px;display:flex}.quest-row-text{flex:1;min-width:0}.quest-row-text>*{display:block}.quest-row .bar{height:4px;margin:4px 0 0}.quest-row.locked{opacity:.62}.quest-kind{width:26px;height:26px;color:var(--gold);border:1px solid var(--line);background:#e8c27a1f;border-radius:50%;flex:none;place-items:center;margin-top:1px;display:grid}.quest-kind svg{width:15px;height:15px}.quest-row.main .quest-kind,.quest-kind.main{color:var(--main);background:#5fb4f01f;border-color:#5fb4f080}.quest-kind.big{width:44px;height:44px}.quest-kind.big svg{width:24px;height:24px}.to-claim{color:#15131f;background:#8fbf7a;border-radius:3px;margin-left:4px;padding:0 5px;font-size:11px;font-style:normal;font-weight:400}.journal-page{border:1px solid var(--line);background:#fff8e80a;border-radius:6px;min-height:0;padding:12px 16px 14px;overflow-y:auto}.journal-page h4{color:var(--muted);letter-spacing:.4px;text-transform:uppercase;margin:14px 0 6px;font-size:13px;font-weight:400}.journal-page .quest-page-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;margin-bottom:4px;padding-bottom:10px;display:flex}.journal-page .quest-page-title{color:var(--gold);text-transform:none;letter-spacing:0;margin:0 0 3px;font-size:18px}.journal-page .quest-page-title.main{color:var(--main)}.journal-page .quest-meta{margin:6px 0 0}.journal-page .quest-page-head .quest-meta{margin:0}.quest-status.open{background:#b9a58a}.journal-page .quest-text{border-left:3px solid var(--line);background:#0000002e;border-radius:0 4px 4px 0;padding:10px 12px;line-height:1.5}.quest-hint{color:var(--gold);margin:10px 0 0;font-size:13.5px}.quest-actions{gap:8px;margin-top:10px;display:flex}.quest-actions .quest-follow{margin:0}@media (width<=720px){.journal{grid-template-columns:1fr}.journal-side .quest-list{max-height:calc(var(--vh) * 34)}}.quest-bar{align-items:stretch;display:flex}.quest-bar .quest-head{flex:1;min-width:0}.quest-close{width:22px;height:22px;color:var(--muted);border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:5px;flex:none;align-self:flex-start;margin:7px 8px 0 0;padding:0;font-size:12px;line-height:20px}.quest-close:hover{color:#fbf5e8;background:#e05a4a80;border-color:#e05a4acc}.shop-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:5px;margin:0 0 10px;padding-bottom:8px;display:flex}.shop-tabs .ghost{padding:5px 10px;font-size:13.5px}.shop-tabs .selected{border-color:var(--gold);color:var(--gold)}.shop-shelf{color:var(--muted);letter-spacing:.4px;text-transform:uppercase;margin:10px 0 2px;font-size:13px;font-weight:400}.items .shop-shelf:first-child{margin-top:0}.shop-row.locked img{opacity:.6}.owned{color:#15131f;background:#8fbf7a;border-radius:3px;margin-left:4px;padding:0 5px;font-size:11px;font-style:normal;font-weight:400}#shop .items{max-height:min(calc(var(--vh) * 52), 460px);padding-right:4px;overflow-y:auto}.journal-side .quest-tabs .ghost{white-space:nowrap;padding:5px 4px;font-size:13px}.shop-tabs+.items{min-height:min(calc(var(--vh) * 52), 300px);align-content:start}#inventory{height:min(660px, calc(calc(var(--vh) * 100) - 150px));align-content:start}#stats{height:min(640px, calc(calc(var(--vh) * 100) - 150px));align-content:start;overflow-y:auto}#deeds{height:min(640px, calc(calc(var(--vh) * 100) - 150px));flex-direction:column;display:flex;overflow-y:auto}#friends{height:min(520px, calc(calc(var(--vh) * 100) - 150px));overflow-y:auto}#quests{height:min(700px, calc(calc(var(--vh) * 100) - 150px))}.journal-side .quest-list{flex:1;max-height:none}#shop{height:min(640px, calc(calc(var(--vh) * 100) - 150px));flex-direction:column;display:flex;overflow:hidden}#shop .shop-head,#shop .shop-tabs{flex:none}#shop .items{flex:1;min-height:0;max-height:none}.shop-tabs+.items{min-height:0}#inventory .items{max-height:calc(min(660px, calc(var(--vh) * 100) - 150px) - 225px)}.hud-btn .ic{color:var(--tint,var(--gold))}.hud-btn:hover .ic{color:var(--tint,var(--gold-bright));filter:drop-shadow(0 1px 1px #000)brightness(1.25)}.hud-btn>span{color:var(--tint,var(--gold-bright));border-color:var(--tint,var(--gold))}#inventory-button{--tint:#e8a85a}#stats-button{--tint:#f07a64}#spells-button{--tint:#b98cff}#quests-button{--tint:#5fb4f0}#worldmap-button{--tint:#7fd08a}#friends-button{--tint:#f592c6}#deeds-button{--tint:#ffd447}#emotes-button{--tint:#5cd6cc}#settings-button{--tint:#cfc8b8}#mount-button{--tint:#d9a46e}#leave{--tint:#ff7a5a}#tokens-button{--tint:#9fc4e8}#tokens-button.on{color:var(--gold-bright);border-color:var(--gold-bright);box-shadow:inset 0 0 0 2px #0b0910,0 0 10px #ffd28299}.hud-btn.zoom{--tint:#b9ad94}.deed{grid-template-columns:34px 1fr auto}.deed-seal{color:#ffffff47;background:#ffffff0d;border:1px dashed #ffffff2e;border-radius:4px;width:30px;height:30px;font:600 18px/1 Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif}.deed.done .deed-seal{color:#fff3e6;background:radial-gradient(circle at 35% 30%,#d4483a,#8e1f16);border:1px solid #5a120c;transform:rotate(-4deg);box-shadow:inset 0 0 0 2px #ffe6d259,0 1px 3px #0009}.deed-group h4{align-items:center;gap:7px;display:flex}.deed-group-seal{color:#fff3e6;letter-spacing:0;background:#8e1f16;border-radius:3px;place-items:center;width:22px;height:22px;font:600 14px/1 Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif;display:grid}.toast-seal{float:left;color:#fff3e6;background:radial-gradient(circle at 35% 30%,#d4483a,#8e1f16);border-radius:4px;place-items:center;width:34px;height:34px;margin:0 10px 0 0;font:600 21px/1 Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif;display:grid;transform:rotate(-4deg)}.sheet-doll{position:relative}.sheet-look-btn{padding:3px 9px;font-size:12.5px;position:absolute;bottom:6px;right:6px}.sheet-look{background:#00000040;border:1px solid #e8c27a4d;border-radius:2px;flex-direction:column;gap:5px;padding:8px;display:flex}.look-row{color:var(--muted);grid-template-columns:62px 1fr;align-items:center;gap:6px;font-size:12.5px;display:grid}.look-row .swatches{flex-wrap:wrap;gap:4px;display:flex}.look-forms{gap:4px;display:flex}.look-forms button{padding:2px 10px;font-size:12.5px}.look-forms button[aria-pressed=true]{color:var(--gold);border-color:var(--gold)}.look-row .swatch{cursor:pointer;border:2px solid #ffffff40;border-radius:50%;width:22px;height:22px;padding:0}.look-row .swatch[aria-pressed=true]{border-color:var(--gold-bright);box-shadow:0 0 0 2px #0b0910, 0 0 6px var(--gold)}.class-card{grid-template-columns:40px 1fr}.class-seal{color:#fff3e68c;background:#ffffff0f;border:1px solid #e8c27a59;border-radius:4px;grid-row:span 2;place-items:center;width:38px;height:38px;font:600 24px/1 Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif;display:grid}.class-card[aria-checked=true] .class-seal{color:#fff3e6;background:radial-gradient(circle at 35% 30%,#d4483a,#8e1f16);border-color:#5a120c;transform:rotate(-4deg);box-shadow:inset 0 0 0 2px #ffe6d259,0 1px 3px #0009}#coach{z-index:30;width:min(460px, calc(calc(var(--vw) * 100) - 32px));color:var(--text);border:1px solid var(--gold);background:linear-gradient(#281e2ef7,#15111cf7);border-radius:3px;padding:12px 16px;animation:.25s ease-out coach-in;position:absolute;top:74px;left:50%;transform:translate(-50%);box-shadow:0 0 0 1px #07060b,0 10px 30px #000000b3,0 0 18px #e8c27a40}#coach[hidden]{display:none}#coach .coach-step{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:11.5px;display:block}#coach h4{font:700 17px var(--title-font,Georgia, serif);color:var(--gold-bright,var(--gold));margin:2px 0 6px}#coach p{margin:0;font-size:14px;line-height:1.5}.coach-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.coach-actions .primary{padding:6px 16px}.coach-actions .ghost{color:var(--muted);padding:4px 10px;font-size:12.5px}.coach-wait{color:var(--gold);font-size:13px}#coach-ring{z-index:29;pointer-events:none;border:2px solid var(--gold-bright,#ffd76a);will-change:transform;border-radius:6px;animation:1.2s ease-in-out infinite coach-pulse;position:fixed;box-shadow:0 0 0 3px #00000073,0 0 18px #ffd282cc}#coach-ring:after{content:"";border-radius:inherit;opacity:0;will-change:opacity;animation:1.2s ease-in-out infinite glow-beat;position:absolute;inset:-2px;box-shadow:0 0 30px #ffd282}#coach-ring[hidden]{display:none}@keyframes coach-in{0%{opacity:0;transform:translate(-8px)}}@keyframes coach-pulse{50%{transform:scale(1.02)}}@media (prefers-reduced-motion:reduce){#coach,#coach-ring,#coach-ring:after{animation:none}}#coach{pointer-events:auto;width:min(380px, calc(calc(var(--vw) * 100) - 32px));top:112px;left:16px;transform:none}#coach.right{left:auto;right:16px}#guide{z-index:30;width:min(420px, calc(calc(var(--vw) * 100) - 32px));color:var(--text);border:1px solid var(--gold);pointer-events:auto;background:linear-gradient(#281e2ef7,#15111cf7);border-radius:3px;padding:12px 16px;animation:.25s ease-out guide-in;position:absolute;top:84px;left:50%;transform:translate(-50%);box-shadow:0 0 0 1px #07060b,0 10px 30px #000000b3,0 0 18px #e8c27a40}#guide[hidden],#guide-ring[hidden]{display:none}#guide .coach-step{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:11.5px;display:block}#guide h4{font:700 17px var(--title-font,Georgia, serif);color:var(--gold-bright,var(--gold));margin:2px 0 6px}#guide h4 kbd{color:var(--text);vertical-align:2px;border:1px solid var(--line,#5a4a3a);border-radius:3px;margin-left:4px;padding:0 6px;font:600 12px/18px ui-monospace,monospace}#guide p{margin:0;font-size:14px;line-height:1.5}.guide-nav{align-items:center;gap:6px;display:flex}#guide-ring{z-index:29;pointer-events:none;border:2px solid var(--gold-bright,#ffd76a);will-change:transform;border-radius:6px;animation:1.2s ease-in-out infinite coach-pulse;position:fixed;box-shadow:0 0 0 3px #00000073,0 0 18px #ffd282cc}@keyframes guide-in{0%{opacity:0;transform:translate(-50%,-8px)}}@media (prefers-reduced-motion:reduce){#guide,#guide-ring{animation:none}}button.close,.quest-close{text-align:center;place-items:center;width:26px;min-width:0;height:26px;font-size:14px;line-height:1;display:inline-grid;padding:0!important}#fighter-card .close,.quest-close{width:22px;height:22px;font-size:12px}#top-right #map-title{text-align:right;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,13px 50%);align-self:flex-end;max-width:100%;padding:5px 14px 5px 30px}#top-right #map-title .province{margin-left:auto}#top-right #fighter-card{pointer-events:auto;width:250px}@media (width<=860px){#top-right{width:220px;display:flex}#top-right #quest{display:none}}#keybinds{z-index:3;width:min(460px, calc(calc(var(--vw) * 100) - 32px));position:absolute}#keybinds h4{font:700 13px var(--title-font,Georgia, serif);letter-spacing:.06em;text-transform:uppercase;color:var(--gold);margin:12px 0 5px}.key-help{color:var(--muted);margin:0 0 4px;font-size:13px}.key-note{color:#17130b;background:var(--gold);border-radius:4px;margin:6px 0 0;padding:5px 9px;font-size:13px}.key-list{flex-direction:column;gap:3px;display:flex}.key-row{background:#ffffff0a;border-radius:4px;justify-content:space-between;align-items:center;gap:10px;padding:3px 4px 3px 8px;font-size:14px;display:flex}.key-row.waiting{background:#e8c27a24}.key-cap{min-width:74px;color:var(--text);background:linear-gradient(#3a3346,#231f2c);border:1px solid #e8c27a73;border-bottom-width:3px;border-radius:5px;padding:3px 10px;font:600 13px ui-monospace,Menlo,monospace}.key-cap:hover{border-color:var(--gold)}.key-cap.waiting{color:#17130b;background:var(--gold);min-width:170px;font-family:inherit;font-weight:400;position:relative}.key-cap.waiting:after{content:"";border-radius:inherit;opacity:0;will-change:opacity;pointer-events:none;animation:1s ease-in-out infinite glow-beat;position:absolute;inset:-1px;box-shadow:0 0 0 3px #e8c27a73}@media (prefers-reduced-motion:reduce){.key-cap.waiting:after{animation:none}}.key-actions{justify-content:flex-end;margin-top:12px;display:flex}#bar.in-fight{gap:12px;padding:8px 12px}#bar.in-fight #actionbar{--bar-gap:14px;gap:var(--bar-gap);padding-left:var(--bar-gap)}#bar.in-fight .pool div,#bar.in-fight .spell{width:52px;height:52px}#bar.in-fight .spell .cost{width:18px;height:18px;font-size:12px;line-height:17px}.spell.broke .cost{background:radial-gradient(circle at 35% 30%,#ffb0a0,#b2392c 70%);border-color:#3a0d08;opacity:1!important}.spell.broke .spell-icon{opacity:.3!important}.spell-bar.waiting{opacity:.55;filter:saturate(.6)}.turn-box{flex-direction:column;flex:none;align-items:stretch;gap:4px;min-width:150px;display:flex}#bar.in-fight .end-turn{--left:1;min-height:54px;font:700 16px var(--title-font);letter-spacing:.04em;color:#fff3da;border:1px solid var(--gold);text-shadow:0 1px 2px #000;background:linear-gradient(#7d1d16,#4a110c);border-radius:3px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:6px 18px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #0b0910,0 3px 8px #0009}.end-turn .turn-left{transform:translateX(calc((var(--left) - 1) * 100%));will-change:transform;background:linear-gradient(#d04434,#8f2219);transition:transform .25s linear;position:absolute;inset:0}.end-turn span,.end-turn small{position:relative}.end-turn small{font:600 12px var(--title-font);color:#ffe2b8}#bar.in-fight .end-turn:hover{border-color:var(--gold-bright);box-shadow:inset 0 0 0 2px #0b0910,0 0 14px #ffc86e99}#bar.in-fight #turn-info{background:#0000004d;border:1px solid #e8c27a40;border-radius:3px;flex-direction:column;justify-content:center;align-items:center;min-height:54px;padding:4px 12px;display:flex}#bar.in-fight #turn-info small{color:var(--muted);font-size:11px}#bar.in-fight #turn-info strong{color:var(--text);font-size:15px}#bar.in-fight .turn-box:not(.placement){width:172px;min-width:0}#bar.in-fight .turn-box:not(.placement)>*{width:100%;height:54px;min-height:0}#bar.in-fight .turn-box:not(.placement) .end-turn{padding:6px 10px}#bar.in-fight .turn-box:not(.placement) #timer{white-space:nowrap}#bar.in-fight .bar-buttons{align-self:center;align-items:center;gap:3px;display:flex}#bar.in-fight .bar-buttons .hud-btn{width:42px;min-width:42px;height:42px}#bar.in-fight .bar-buttons .hud-btn .ic{font-size:20px}#bar.in-fight .bar-buttons .hud-btn kbd{display:none}#hud.in-fight #timeline{top:auto;bottom:calc(var(--bar-h,66px) + var(--hud-lift,0px) + 10px);max-width:calc(calc(var(--vw) * 100) - 24px);gap:4px;padding:4px 6px;left:50%;transform:translate(-50%)}#hud.in-fight .tl-round{min-width:30px;padding-right:5px}#hud.in-fight .tl-round b{font-size:17px}#hud.in-fight .tl-round small{font-size:10px}#hud.in-fight .tl{border-radius:5px;width:56px;padding:2px 3px 3px;font-size:10.5px}#hud.in-fight .tl.boss{width:66px}#hud.in-fight .tl-face{height:36px}#hud.in-fight .tl .doll{width:31px;height:51px}#hud.in-fight .tl .mon-icon{width:42px;height:33px;margin-top:2px}#hud.in-fight .tl-name{margin-top:1px}#hud.in-fight .tl-level{font-size:9.5px;line-height:1.1}#hud.in-fight .tl .bar{height:4px;margin:2px 0 0}#hud.in-fight .tl-hp{font-size:9.5px}#hud.in-fight .tl .statuses{transform-origin:0 0;top:1px;left:1px;transform:scale(.8)}#bar.in-fight .spell-group>div{flex-wrap:nowrap;max-width:none}#zone-banner{z-index:4;width:max-content;max-width:min(900px, calc(calc(var(--vw) * 100) - 32px));pointer-events:none;text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;top:22%;left:50%;transform:translate(-50%)}#zone-banner b{text-wrap:balance;font:800 clamp(28px, calc(var(--vw) * 4.4), 54px)/1.05 var(--title-font,Georgia, serif);letter-spacing:.06em;color:var(--gold-bright,#ffd98a);text-shadow:0 2px #3a1a0e,0 4px 18px #000000d9}#zone-banner small{font:600 15px var(--title-font,Georgia, serif);letter-spacing:.18em;text-transform:uppercase;color:#f3eee2;text-shadow:0 1px 6px #000}#zone-banner .zone-rule{width:min(420px, calc(var(--vw) * 60));background:linear-gradient(90deg, transparent, var(--gold,#e8c27a), transparent);height:2px}#zone-banner em{font:700 14px var(--title-font,Georgia, serif);letter-spacing:.16em;text-transform:uppercase;color:#f3dfb4;text-shadow:0 1px 6px #000,0 0 12px #000c;text-wrap:balance;font-style:normal}#zone-banner em i{color:var(--gold,#e8c27a);margin:0 .5em;font-style:normal}#zone-banner.boss em{color:#e6c8f0}#zone-banner .zone-crest{width:clamp(64px, calc(var(--vw) * 7), 92px);filter:drop-shadow(0 4px 10px #000000bf);height:auto;margin-bottom:2px}#zone-banner.dungeon .zone-rule{background:linear-gradient(90deg, transparent, #c94a3a, var(--gold,#e8c27a), #c94a3a, transparent)}#zone-banner.boss .zone-rule{background:linear-gradient(90deg, transparent, #9a4ab0, var(--gold,#e8c27a), #9a4ab0, transparent)}#zone-banner.show{animation:3.6s ease-out both zone-in}#portal-timer{z-index:3;color:#d6f4ff;pointer-events:none;white-space:nowrap;background:#0e1626d1;border:1px solid #7fe8ff73;border-radius:999px;align-items:center;gap:8px;padding:6px 14px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%)}#portal-timer[hidden]{display:none}#portal-timer span{color:#7fe8ff;font:700 16px Georgia,serif}#portal-timer small{font:600 12px var(--title-font,Georgia, serif);letter-spacing:.08em;text-transform:uppercase;opacity:.85}#portal-timer b{font:800 17px var(--title-font,Georgia, serif);font-variant-numeric:tabular-nums;text-align:right;min-width:3ch}#portal-timer.soon{color:#ffd2c8;border-color:#ff8a78b3}#portal-timer.soon b{color:#ff8a78}@media (width<=520px){#portal-timer small{display:none}}@keyframes zone-in{0%{opacity:0;transform:translate(-50%,14px)}14%{opacity:1;transform:translate(-50%)}72%{opacity:1}to{opacity:0;transform:translate(-50%,-6px)}}@media (prefers-reduced-motion:reduce){#zone-banner.show{animation:3.6s linear both zone-fade}@keyframes zone-fade{0%,80%{opacity:1}to{opacity:0}}}#turn-card,#hud #turn-card{top:14px;left:14px;right:auto;transform:none}#hud.in-fight #top-left{display:none}.turn-challenges{width:250px;margin-top:6px}.turn-challenges h4{letter-spacing:.12em;text-transform:uppercase;color:var(--gold);text-shadow:0 1px 3px #000c;margin:0 0 3px;padding-left:2px;font-size:11px;font-weight:700}.turn-challenges ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}.turn-challenges li{border-left:3px solid var(--gold);background:linear-gradient(#281e2ef0,#15111cf0);border-radius:4px;align-items:center;gap:9px;padding:6px 9px 6px 6px;display:flex;box-shadow:0 4px 14px #0006}.turn-challenges .ch-logo{color:#2a1a10;background:var(--gold);border-radius:50%;flex:none;place-items:center;width:30px;height:30px;display:grid}.turn-challenges .ch-logo svg{width:18px;height:18px}.turn-challenges .ch-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.turn-challenges b{color:var(--gold-bright,#ffe2a0);font-size:13px}.turn-challenges small{color:var(--muted);font-size:11.5px}.turn-challenges em{color:var(--gold);font-size:11.5px;font-style:normal}.turn-challenges li.failed{opacity:.6;border-left-color:#c9402c}.turn-challenges li.failed .ch-logo{color:#e8d6d0;background:#6b3a33}.turn-challenges li.failed b{color:inherit;text-decoration:line-through}.turn-challenges li.failed em{color:#e07a68}.turn-card{background:linear-gradient(#281e2ef5,#15111cf5);border-radius:4px;flex-direction:row;align-items:center;gap:10px;width:250px;padding:7px 10px 12px 7px;position:relative}.turn-card .turn-face{border:2px solid;border-radius:50%;flex:none;width:60px;height:60px}.turn-card.players .turn-face{color:#86aecb}.turn-card.monsters .turn-face{color:var(--red)}.turn-card.mine .turn-face{color:var(--gold)}.turn-card .turn-face .doll{width:60px;height:100px}.turn-card .turn-face .mon-icon{width:62px;height:56px;margin:2px auto}.turn-who{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.turn-who small{letter-spacing:.04em;color:var(--muted);font-size:11px}.turn-card .turn-who b{font:700 16px var(--title-font,Georgia, serif);text-align:left}.turn-who .bar{height:6px;margin-top:3px;display:block}.turn-card.monsters .turn-who .bar i{background:linear-gradient(90deg,#a33a2c,#e06a58)}.turn-hp{font-size:10.5px}.turn-time{--left:1;background:#ffffff1f;border-radius:2px;height:4px;position:absolute;bottom:4px;left:8px;right:8px;overflow:hidden}.turn-time i{width:100%;height:100%;transform:translateX(calc((var(--left) - 1) * 100%));will-change:transform;background:linear-gradient(90deg,#e8c27a,#ffd98a);transition:transform .25s linear;display:block}.vita{--hp:100;--gauge:#f0705e;--deep:#2e1512;isolation:isolate;background:radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--gauge) 22%, #1d1826), var(--deep) 70%, #0c0a12);border-radius:50%;flex:none;place-items:center;width:82px;height:82px;display:grid;position:relative;box-shadow:inset 0 0 0 1px #0009,0 3px 8px #0009}.vita:before,.portrait:before{content:"";z-index:1;pointer-events:none;background:conic-gradient(var(--gauge) calc(var(--hp) * 1%), #ffffff1f 0);-webkit-mask:var(--brush-ring) center / contain no-repeat;-webkit-mask:var(--brush-ring) center / contain no-repeat;mask:var(--brush-ring) center / contain no-repeat;filter:drop-shadow(0 0 3px color-mix(in srgb, var(--gauge) 50%, transparent));position:absolute;inset:-4px}.vita.low:after{content:"";opacity:0;will-change:opacity;pointer-events:none;border-radius:50%;animation:1s ease-in-out infinite glow-beat;position:absolute;inset:0;box-shadow:0 0 16px #f0705ee6}@media (prefers-reduced-motion:reduce){.vita.low:after{animation:none}}.vita-face{background:radial-gradient(circle at 50% 35%,#3a3346,#15131f);border-radius:50%;width:70px;height:70px;display:block;overflow:hidden}.vita-face .doll{width:70px;height:117px;margin:3px auto 0}.vita b{z-index:2;min-width:36px;font:800 15px/19px var(--title-font,Georgia, serif);text-align:center;color:#fff;text-shadow:0 1px 2px #000;font-variant-numeric:tabular-nums;background:linear-gradient(#2e1512,#1a0c0a);border:1px solid #f0705e;border-radius:9px;padding:0 6px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%);box-shadow:0 1px 3px #0009,0 0 6px #f0705e59}#waystone-modal{z-index:6;width:min(380px, calc(calc(var(--vw) * 100) - 32px));text-align:center;pointer-events:auto;background:var(--corners,none), linear-gradient(180deg, #24303a, #12161f);border:1px solid #7fe8d8;padding:18px 20px 16px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 40px #000000b3,0 0 26px #7fe8d840}#waystone-modal h3{font:700 19px var(--title-font,Georgia, serif);letter-spacing:.05em;color:#bff6ee;margin:6px 0}#waystone-modal p{margin:0 0 14px;font-size:14.5px;line-height:1.45}#waystone-modal p b{color:var(--gold-bright,#ffd98a)}.waystone-seal{color:#12161f;background:radial-gradient(circle at 40% 35%,#e6fffb,#7fe8d8 70%);border-radius:50%;place-items:center;width:52px;height:52px;margin:0 auto;font:700 26px Hiragino Mincho ProN,Yu Mincho,serif;display:grid;box-shadow:0 0 18px #7fe8d8b3}.waystone-actions{justify-content:center;gap:10px;display:flex}.waystone-actions .primary{padding:7px 18px}#dungeon-modal{z-index:6;width:min(520px, calc(calc(var(--vw) * 100) - 32px));text-align:left;pointer-events:auto;background:var(--corners,none), radial-gradient(ellipse at 16% 40%, #e23a2a47, transparent 60%), linear-gradient(180deg, #2a1418, #120a10);border:1px solid #c8362a;min-height:230px;padding:20px 22px 16px 138px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 44px #000000bf,0 0 34px #e23a2a4d}#dungeon-modal .dungeon-flag{transform-origin:30% 92%;filter:drop-shadow(0 6px 10px #0009);pointer-events:none;height:214px;animation:3.4s ease-in-out infinite dungeon-flag;position:absolute;bottom:6px;left:8px}@keyframes dungeon-flag{0%,to{transform:rotate(-1.6deg)scaleX(1)}50%{transform:rotate(1.8deg)scaleX(1.04)}}#dungeon-modal em{font:700 12px var(--ui-font,system-ui);letter-spacing:.14em;text-transform:uppercase;color:#ff9a84;font-style:normal;display:block}#dungeon-modal h3{font:800 23px/1.15 var(--title-font,Georgia, serif);letter-spacing:.03em;color:var(--gold-bright,#ffd98a);text-shadow:0 2px #07060b;margin:4px 0 10px}#dungeon-modal ul{flex-wrap:wrap;gap:6px;margin:0 0 16px;padding:0;font-size:13.5px;list-style:none;display:flex}#dungeon-modal ul li{color:#f0e2cc;background:#00000052;border:1px solid #ffd98a38;border-radius:999px;padding:3px 10px}#dungeon-modal ul b{color:var(--gold-bright,#ffd98a)}#dungeon-modal blockquote{color:#f0e2cc;background:#00000047;border-left:3px solid #c8362a;margin:0 0 10px;padding:6px 10px;font-size:13.5px;font-style:italic;line-height:1.45}#dungeon-modal blockquote b{letter-spacing:.04em;color:#ff9a84;margin-top:3px;font-size:12px;font-style:normal;display:block}#dungeon-modal blockquote b:before{content:"— "}#dungeon-modal p{color:#e6d8c8;margin:0 0 14px;font-size:13.5px;line-height:1.45}#dungeon-modal .waystone-actions{justify-content:flex-start}@media (prefers-reduced-motion:reduce){#dungeon-modal .dungeon-flag{animation:none}}#loading{z-index:30;opacity:1;background:radial-gradient(at 50% 45%,#2a2038,#0d0a14 75%);place-items:center;transition:opacity .28s ease-out;display:grid;position:fixed;inset:0}#loading.done{opacity:0;pointer-events:none;visibility:hidden;transition:opacity .28s ease-out,visibility 0s .28s}#loading.done .bar-fill:after{animation:none}#loading .box{text-align:center;justify-items:center;gap:10px;padding:0 20px;display:grid}#loading .mark{filter:drop-shadow(0 4px 14px #e8502873);width:72px;height:72px;margin-bottom:6px}#loading .place{font:700 clamp(22px, calc(var(--vw) * 3), 32px)/1.15 var(--title-font);letter-spacing:.08em;color:var(--gold-bright);text-shadow:0 2px 10px #000}#loading .bar-track{width:min(320px, calc(var(--vw) * 70));background:#0a0810;border:1px solid #e8c27a80;height:6px;margin-top:8px;overflow:hidden}#loading .bar-fill{background:linear-gradient(90deg, #a87d33, var(--gold-bright));width:0;height:100%;transition:width .25s ease-out;display:block;position:relative;overflow:hidden}#loading .bar-fill:after{content:"";background:linear-gradient(90deg,#0000,#ffffff8c,#0000);width:40%;animation:1.3s ease-in-out infinite loading-shine;position:absolute;inset:0}@keyframes loading-shine{0%{transform:translate(-100%)}to{transform:translate(260%)}}#loading .bar-label{width:min(320px, calc(var(--vw) * 70));color:var(--muted);justify-content:space-between;font-size:13px;display:flex}#loading .bar-pct{color:var(--gold);font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){#loading .bar-fill{transition:none}#loading .bar-fill:after{animation:none;display:none}}body.loading #hud{visibility:hidden}#bar.in-fight{width:min(1180px, calc(calc(var(--vw) * 100) - 20px))}#bar.in-fight #actionbar{flex:1;min-width:0}#bar.in-fight .spell-bar{--slot:52px;flex:1;justify-content:center;min-width:0}#bar.in-fight .spell-group>div{flex-wrap:wrap;justify-content:center}#bar.in-fight .spell{width:var(--slot);height:var(--slot)}#bar.in-fight .spell .spell-icon{width:calc(var(--slot) * .58);height:calc(var(--slot) * .58)}#bar.in-fight .turn-box.placement{min-width:230px;margin-left:auto}#bar.in-fight .spell-bar{flex-wrap:nowrap}#bar.in-fight .spell-group{flex:0 auto;min-width:0}#bar.in-fight .turn-box.placement{margin:0 auto}#bar.in-fight.placing{width:auto}#bar.in-fight.placing #actionbar{flex:none}#bar.in-fight.placing .turn-box.placement{margin:0}.placement-row{align-items:center;gap:12px;display:flex}.placement-row>.end-turn,.placement-row>#turn-info{flex:1}.fight-lock{flex-direction:column;gap:2px;display:flex}.lock-toggle{color:#f6ecd466;background:0 0;border:1px solid #0000;border-radius:3px;place-items:center;width:24px;height:24px;padding:0;transition:color .15s,border-color .15s,background .15s;display:grid}.lock-toggle .ic{width:16px;height:16px}.lock-toggle:hover:not(:disabled){color:#f6ecd4;background:#ffffff0f}.lock-toggle.on{color:#ffd98a;background:#e8c27a1f;border-color:#e8c27a73}.lock-toggle.on .ic{filter:drop-shadow(0 0 3px #ffc86e99)}.lock-toggle:disabled{opacity:.3;cursor:default}.fight-crowd{text-align:center;color:#f3dca6;margin:0;font-size:11px;line-height:1.3}.spell.empty{cursor:default;background:#08060c8c;border-color:#e8c27a33;box-shadow:inset 0 0 0 2px #0b0910}.spell.empty:hover{background:#08060c8c;transform:none}#bar.in-fight .end-turn #timer{font:700 22px var(--title-font);color:#fff3da;position:relative}#bar.in-fight .end-turn #timer.urgent{color:#ffe08a;text-shadow:0 0 8px #ffd278e6,0 1px 2px #000}#bar-hero{flex:none;align-items:center;padding-bottom:4px;display:flex}#bar-hero[hidden]{display:none}.vita.xp{--gauge:var(--gold-bright);--deep:#241c10;width:50px;height:50px}.vita.xp .vita-face{width:42px;height:42px}.vita.xp .vita-face .doll{width:42px;height:70px;margin-top:2px}.vita.xp b{min-width:22px;color:var(--gold-bright);border-color:var(--gold);text-shadow:0 1px 1px #000;background:radial-gradient(circle at 50% 30%,#3a2e1a,#120e08);border-radius:8px;padding:0 4px;font-size:11px;line-height:15px;bottom:-5px;box-shadow:0 1px 3px #000,0 0 6px #ffd2824d}#settings-button{z-index:4;pointer-events:auto;width:42px;min-width:42px;height:42px;position:absolute;top:14px;right:14px}#settings-button .ic{font-size:22px}#settings{z-index:3;width:min(620px, calc(calc(var(--vw) * 100) - 32px));flex-direction:column;padding:14px 16px 16px;display:flex;position:absolute;overflow:hidden}#settings[hidden]{display:none}#settings>h3{flex:none}#settings kbd{min-width:20px;font:700 11px var(--title-font);text-align:center;color:var(--muted);background:#ffffff0d;border:1px solid #e8c27a38;border-radius:3px;flex:none;padding:1px 6px}.settings-body{height:min(372px, calc(calc(var(--vh) * 100) - 220px));grid-template-columns:148px minmax(0,1fr);gap:16px;min-height:0;display:grid}.settings-tabs{border-right:1px solid var(--line);flex-direction:column;gap:3px;padding-right:14px;display:flex}.settings-tabs button{font:600 14px var(--ui-font,Georgia, serif);color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:10px;padding:8px 10px;transition:color .15s,background-color .15s;display:flex}.settings-tabs button .ic{font-size:18px}.settings-tabs button:hover{color:var(--text);background:#ffffff0d}.settings-tabs button[aria-selected=true]{color:var(--gold);background:linear-gradient(90deg,#e8c27a29,#e8c27a0a);border-color:#e8c27a59}.settings-tabs button:focus-visible{outline:2px solid var(--gold);outline-offset:1px}.settings-pages{min-width:0;min-height:0;padding-right:4px;overflow-y:auto}.settings-page{flex-direction:column;gap:2px;display:flex}.settings-page[hidden]{display:none}#settings .sound-row{grid-template-columns:86px 1fr 44px;padding:7px 8px}.settings-row{cursor:pointer;border-bottom:1px solid #ffffff0f;border-radius:3px;align-items:center;gap:12px;padding:9px 8px;display:flex}.settings-row:has(.settings-segments){cursor:default;flex-wrap:wrap}.settings-row:hover{background:#ffffff09}.settings-label{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.settings-label b{color:var(--text);font-size:14px;font-weight:600}.settings-label small{color:var(--muted);font-size:12px;line-height:1.35}.settings-note{color:var(--muted);margin:4px 8px 12px;font-size:13px;line-height:1.45}.switch{appearance:none;cursor:pointer;background:#ffffff1a;border:1px solid #e8c27a4d;border-radius:11px;flex:none;width:38px;height:21px;margin:0;transition:background-color .18s,border-color .18s;position:relative}.switch:after{content:"";background:#cfc8b8;border-radius:50%;width:15px;height:15px;transition:transform .18s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #00000080}.switch:checked{border-color:var(--gold);background:linear-gradient(#d9ae5e,#a87a32)}.switch:checked:after{background:#fff7e4;transform:translate(17px)}.switch:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.settings-segments{background:#00000040;border:1px solid #e8c27a4d;border-radius:5px;flex:none;padding:2px;display:inline-flex}.settings-segments label{cursor:pointer;position:relative}.settings-segments input{opacity:0;pointer-events:none;position:absolute}.settings-segments span{color:var(--muted);border-radius:3px;padding:5px 12px;font-size:13px;transition:color .15s,background-color .15s;display:block}.settings-segments label:hover span{color:var(--text)}.settings-segments input:checked+span{color:#1a1520;background:linear-gradient(#ecc47c,#c0904a);font-weight:700}.settings-segments input:focus-visible+span{outline:2px solid var(--gold);outline-offset:1px}#settings select{font:inherit;color:var(--text);cursor:pointer;background:#00000040;border:1px solid #e8c27a4d;border-radius:4px;flex:none;padding:4px 8px;font-size:13px}#settings option{background:#1a1722}.settings-all{gap:8px;margin-top:12px;display:flex}.settings-all button{flex:1;padding:6px 8px;font-size:13px}.settings-keys{text-align:left;align-items:center;gap:10px;margin:0 8px;padding:10px 12px;font-size:14px;display:flex}.settings-keys span{flex:1}.settings-keys .ic{color:var(--gold);font-size:18px}@media (prefers-reduced-motion:reduce){.switch,.switch:after,.settings-tabs button,.settings-segments span{transition:none}}@media (width<=560px){.settings-body{height:calc(calc(var(--vh) * 100) - 290px);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:10px}.settings-row{flex-wrap:wrap}.settings-row:has(.settings-segments) .settings-label{flex-basis:100%}.settings-tabs{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;padding:0 0 8px;overflow-x:auto}.settings-tabs button{flex:none;padding:6px 9px;font-size:13px}}#community{z-index:1;color:#c9ceff;opacity:.7;pointer-events:auto;background:#120f18bf;border:1px solid #5865f28c;border-radius:21px;align-items:center;gap:0;height:42px;padding:0 10px;text-decoration:none;transition:opacity .2s,gap .2s,background .2s,color .2s;display:flex;position:absolute;bottom:14px;right:14px;box-shadow:0 2px 6px #00000073}#community .ic{font-size:22px}#community span{white-space:nowrap;max-width:0;font:600 13px var(--title-font,Georgia, serif);letter-spacing:.02em;transition:max-width .25s;overflow:hidden}#community:hover,#community:focus-visible{opacity:1;color:#fff;background:#5865f2;gap:8px}#community:hover span,#community:focus-visible span{max-width:180px}#hud.in-fight #community{display:none}@media (width<=1000px){#community{display:none}}#settings-button .mute-badge{pointer-events:none;background:#c2392c;border-radius:50%;place-items:center;width:20px;height:20px;display:none;position:absolute;bottom:-4px;right:-4px;box-shadow:0 0 0 1.5px #0b0910,0 1px 3px #000}#settings-button.off .mute-badge{display:grid}#settings-button .mute-badge svg{fill:none;stroke:#fff;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}#settings-button .mute-badge path:first-child{fill:#fff;stroke-width:1.5px}#top-right{right:66px}#bar.in-fight.placing .bar-buttons{display:none}.deed-tier{letter-spacing:.03em;font-style:normal;font-weight:700}.deed-tier.tier-1{color:#c9a77a}.deed-tier.tier-2{color:#8fd3ff}.deed-tier.tier-3{color:#d6a8ff}.deed-tier.tier-4{color:#ffd36a;text-shadow:0 0 6px #ffc24a99}#leave-modal{z-index:7;width:min(380px, calc(calc(var(--vw) * 100) - 32px));text-align:center;pointer-events:auto;background:var(--corners,none), linear-gradient(180deg, #3a2426, #16100f);border:1px solid #e3836f;padding:18px 20px 16px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 40px #000000b3,0 0 26px #e3836f40}#leave-modal h3{font:700 19px var(--title-font,Georgia, serif);letter-spacing:.05em;color:#ffd2c6;margin:6px 0}#leave-modal p{margin:0 0 14px;font-size:14.5px;line-height:1.45}#leave-modal p b{color:var(--gold-bright,#ffd98a)}.leave-seal{color:#1f1212;background:radial-gradient(circle at 40% 35%,#ffe9e3,#e3836f 70%);border-radius:50%;place-items:center;width:52px;height:52px;margin:0 auto;font:700 26px Hiragino Mincho ProN,Yu Mincho,serif;display:grid;box-shadow:0 0 18px #e3836fb3}.leave-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.leave-actions .primary{padding:7px 18px}.stage{place-items:end center;padding-bottom:14px;display:grid;position:relative}.stage:before{content:"";pointer-events:none;background:radial-gradient(closest-side,#ffc4784d,#ffc4781a 60%,#ffc47800);position:absolute;inset:-10% -14% 10%}.stage:after{content:"";z-index:-1;background:radial-gradient(#000000b3,#0000 70%);border-bottom:2px solid #e8c27a59;border-radius:50%;width:72%;height:22px;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.stage .doll{animation:3.6s ease-in-out infinite stage-breathe;position:relative}@keyframes stage-breathe{50%{transform:translateY(-2px)}}#create:has(#characters:not([hidden])) .title-logo img{width:min(460px, calc(var(--vw) * 70))}@media (height<=820px){#create:has(#characters:not([hidden])) .title-logo img{width:min(340px, calc(var(--vw) * 60))}}#characters{width:min(780px,100%)}.roster-wrap{grid-template-columns:250px minmax(0,1fr);align-items:stretch;gap:18px;display:grid}.roster-stage{text-align:center;background:#00000047;border:1px solid #e8c27a33;flex-direction:column;align-items:center;gap:4px;padding:12px 14px 14px;display:flex}.roster-stage .doll{width:114px;height:190px}.sel-name{font:700 24px/1.1 var(--title-font);color:var(--gold-bright);text-shadow:0 2px 6px #000}.sel-meta{color:var(--text);align-items:center;gap:7px;font-size:14px;display:inline-flex}.sel-meta .class-seal{color:#fff3e6;background:radial-gradient(circle at 35% 30%,#d4483a,#8e1f16);border-color:#5a120c;width:24px;height:24px;font-size:15px}.sel-place{color:var(--muted);font-size:13.5px;font-style:italic}.sel-place:before{content:"⛩ ";font-style:normal}.sel-online{color:var(--green);align-items:center;gap:6px;margin-top:2px;font-size:12.5px;display:flex}.sel-online i,.online-dot{background:#6fd86f;border-radius:50%;flex:none;width:8px;height:8px;box-shadow:0 0 6px #6fd86f}#play{font:700 19px var(--title-font);letter-spacing:.06em;align-self:stretch;margin-top:10px;padding:13px 18px}.roster-stage .delete-character{color:#d58a7e;margin-top:6px;font-size:12.5px}.roster-stage .confirm-delete{align-self:stretch;width:auto;margin-top:6px}.confirm-delete>span{gap:6px;display:flex}.confirm-delete>span button{white-space:nowrap;flex:1;font-size:12.5px}.roster{flex-direction:column;gap:7px;max-height:460px;padding:2px 4px 2px 2px;display:flex;overflow-y:auto}.roster .character{grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:6px 12px;display:grid;position:relative}.roster .character .mini-face{clip-path:inset(0 -12px);place-items:end center;width:38px;height:63px;display:grid}.roster .character .doll{width:38px;height:63px}.roster .character .mini-face.wide .doll{width:26px;height:43px}.roster-stage{overflow:hidden}.roster-stage .stage.wide .doll{width:84px;height:140px;margin-top:56px}.roster .character b{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.roster .character small{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;display:block;overflow:hidden}.roster .character[aria-selected=true]{border-color:var(--gold-bright);box-shadow:0 0 0 1px var(--gold), 0 0 14px #ffc86e40;background:linear-gradient(90deg,#e8c27a38,#e8c27a0a),linear-gradient(#38303f,#1b1722)}.roster .character[aria-selected=true]:before{content:"";background:var(--gold-bright);width:3px;position:absolute;top:8px;bottom:8px;left:-1px}.roster .character:focus-visible{outline:2px solid var(--gold-bright);outline-offset:2px}.level-badge{min-width:34px;height:34px;font:700 15px var(--title-font);color:#1b1410;background:linear-gradient(#ffe2a0,#c99a4a);border-radius:50%;place-items:center;padding:0 4px;display:grid;box-shadow:inset 0 -2px #00000040,0 1px 3px #000}.online-dot{position:absolute;top:7px;right:8px}.roster .new-character{box-shadow:none;background:#0003;border-style:dashed}.roster .new-character .plus{width:38px;height:38px;font:400 28px/1 var(--title-font);color:var(--gold);border:1px dashed #e8c27a80;border-radius:50%;place-items:center;display:grid}.roster .new-character b{color:var(--gold)}.roster-full{color:var(--muted);text-align:center;border:1px dashed #e8c27a4d;margin:2px 0 0;padding:10px 12px;font-size:13px}@media (width<=640px){.roster-wrap{grid-template-columns:1fr}.roster-stage .doll{width:100px;height:167px}}#create:has(#create-form:not([hidden])){padding-top:10px;padding-bottom:30px}#create:has(#create-form:not([hidden])) .title-logo{margin-bottom:2px}#create:has(#create-form:not([hidden])) .title-logo img{width:auto;max-height:min(110px, calc(var(--vh) * 13))}#create:has(#create-form:not([hidden])) .subtitle{margin:2px 0 6px;font-size:14px}#create-form:not([hidden]){gap:10px;width:min(1060px,100%);padding:12px 22px 16px}.create-head{justify-content:center;align-items:center;min-height:26px;display:flex;position:relative}.create-head h2{font:700 22px var(--title-font);letter-spacing:.08em;color:var(--gold-bright);margin:0}.create-head .link{text-decoration:none;position:absolute;left:0}.create-head .link:hover{color:var(--gold-bright)}.creator{grid-template-columns:minmax(0,1fr) 230px minmax(0,1fr);align-items:stretch;gap:20px;padding:12px 16px;display:grid}.creator-col{flex-direction:column;min-width:0;display:flex}.creator h3{font:700 16px var(--title-font);letter-spacing:.06em;color:var(--gold);border-bottom:1px solid #e8c27a38;align-items:center;gap:8px;margin:0 0 10px;padding-bottom:6px;display:flex}.creator h3 i,.create-foot label i{color:#fff3e6;background:radial-gradient(circle at 35% 30%,#d4483a,#8e1f16);border-radius:3px;place-items:center;width:24px;height:24px;font:600 13px/1 Hiragino Mincho ProN,Yu Mincho,serif;display:inline-grid;transform:rotate(-4deg)}.creator h3 .link{font:13px var(--ui-font);letter-spacing:0;margin-left:auto}.creator h4{font:700 12px var(--ui-font);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:12px 0 6px}.creator h3+h4{margin-top:0}.creator h2{font:700 20px var(--title-font);color:var(--gold-bright);margin:10px 0 2px}.creator p{color:var(--muted);margin:0;font-size:13.5px;line-height:1.45}#classes{grid-template-columns:1fr 1fr;gap:8px;display:grid}.class-card{text-align:left;color:var(--text);cursor:pointer;font:inherit;background:#ffffff0a;border:1px solid #e8c27a4d;border-radius:3px;grid-template-rows:auto auto auto;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:2px 9px;padding:8px 10px;transition:border-color .12s,background .12s,transform .12s;display:grid}.class-card:hover{border-color:var(--gold);transform:translateY(-1px)}.class-card[aria-checked=true]{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold), 0 0 16px #e8c27a33;background:#e8c27a21}.class-card .class-seal{grid-row:span 2}.class-card b{color:var(--gold);align-self:end;font-size:15px}.class-card small{color:var(--muted);white-space:normal;align-self:start;font-size:11.5px;line-height:1.3}.gauges{grid-column:1/-1;gap:3px;margin-top:6px;display:grid}.gauge{color:var(--muted);grid-template-columns:24px 1fr 22px;align-items:center;gap:6px;font-size:11px;display:grid}.gauge i{background:#ffffff14;border-radius:3px;height:5px;overflow:hidden}.gauge i:before{content:"";width:calc(var(--v) * 100%);background:linear-gradient(90deg,#a8362a,#e8c27a);height:100%;display:block}.gauge b{color:var(--text);text-align:right;font-size:11.5px}.creator-stage{background:radial-gradient(closest-side at 50% 45%,#566a5c59,#566a5c00);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:6px 0;display:flex}.creator-stage .doll{background:0 0;width:150px;height:250px}.doll-turn{position:absolute;inset:0}#preview-stage{cursor:grab;touch-action:pan-y}#preview-stage.dragging{cursor:grabbing}.turn-btn{z-index:1;width:30px;height:30px;color:var(--gold-bright);cursor:pointer;opacity:.7;background:#0a070e99;border:1px solid #e8c27a66;border-radius:50%;place-items:center;padding:0;font-size:17px;line-height:1;transition:opacity .15s,background .15s;display:grid;position:absolute;bottom:10px}.turn-btn:hover{opacity:1;background:#281c14d9}.turn-btn.left{left:-18px}.turn-btn.right{right:-18px}.turn-btn svg{display:block}.turn-btn.left svg{transform:scaleX(-1)}.doll-stage{margin:auto;position:relative}.doll-stage .turn-btn{width:26px;height:26px;bottom:4px}.doll-stage .turn-btn.left{left:-4px}.doll-stage .turn-btn.right{right:-4px}#preview-name{font:700 21px var(--title-font);color:var(--gold-bright);text-align:center;text-shadow:0 2px 6px #000;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:0;overflow:hidden}#preview-name.unnamed{color:#ffe2a066;font-style:italic;font-weight:500}#forms{grid-template-columns:1fr 1fr;gap:6px;width:100%;margin:0;display:grid}#cuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;display:grid}.form-choice{color:var(--text);cursor:pointer;font:inherit;white-space:nowrap;text-overflow:ellipsis;background:#ffffff0d;border:1px solid #e8c27a4d;border-radius:3px;padding:6px 8px;font-size:13.5px;overflow:hidden}.form-choice:hover{border-color:var(--gold)}.form-choice[aria-checked=true]{color:var(--gold);border-color:var(--gold);box-shadow:0 0 0 1px var(--gold);background:#e8c27a24}#colors .color-row{grid-template-columns:70px 1fr;margin-top:7px}#colors .color-row:first-child{margin-top:0}#colors .color-row>span{color:var(--text);font-size:13.5px}#colors .swatch{width:25px;height:25px;transition:transform .1s}#colors .swatch:hover{transform:scale(1.12)}#colors .swatch[aria-pressed=true]{border-color:var(--gold-bright);box-shadow:0 0 0 2px #0b0910, 0 0 8px var(--gold)}.create-foot{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.create-foot label{font:700 15px var(--title-font);letter-spacing:.06em;color:var(--gold);white-space:nowrap;align-items:center;gap:8px;display:flex}.create-foot #enter{white-space:nowrap;padding:12px 26px;font-size:18px}@media (width<=960px){#create-form:not([hidden]){width:min(640px,100%)}.creator{grid-template-columns:1fr}.creator-stage{order:-1}.creator-stage .doll{width:120px;height:200px}}@media (width<=560px){.create-foot{grid-template-columns:1fr}#colors .color-row{grid-template-columns:58px 1fr}#colors .swatch{width:21px;height:21px}#colors .swatches{flex-wrap:nowrap;gap:4px}#colors .swatches input[type=color]{width:24px;height:22px}.create-head{flex-direction:column;gap:4px}.create-head .link{position:static}}@media (prefers-reduced-motion:reduce){.stage .doll{animation:none}}#trade{width:min(660px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 150px);z-index:3;position:absolute;overflow-y:auto}.trade-top{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.trade-top h3{color:var(--gold);margin:0;font-size:17px}.trade-top .close{padding:3px 10px}.trade-sides{grid-template-columns:1fr 1fr;gap:10px;display:grid}.trade-side{border:1px solid var(--line);background:#ffffff0a;border-radius:6px;flex-direction:column;gap:6px;min-width:0;padding:8px;transition:border-color .15s,background .15s;display:flex}.trade-side.ready{border-color:var(--green);background:#8fbf7a1a}.trade-who{align-items:center;gap:8px;display:flex}.trade-who b{font-size:14.5px;display:block}.trade-who small{color:var(--muted)}.trade-face{width:44px;height:44px}.trade-face .doll{width:52px;height:86px;margin:1px 0 0 -5px}.trade-ok{color:var(--green)}.trade-offer{flex:1;min-height:92px}.trade-shelf{color:var(--muted);letter-spacing:.4px;text-transform:uppercase;margin:6px 0 4px;font-size:12px;font-weight:400}.trade-offer .trade-shelf:first-child,.trade-bag .trade-shelf:first-child{margin-top:0}.trade-grid{grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:6px;display:grid}.trade-offer .empty,.trade-bag .empty{color:var(--muted);margin:6px 0;font-size:13px}.trade-item{min-width:0;font:inherit;color:inherit;border:1px solid var(--line);cursor:default;background:#ffffff0d;border-radius:4px;flex-direction:column;align-items:center;gap:2px;padding:5px 3px;display:flex;position:relative}button.trade-item{cursor:pointer}button.trade-item:hover{border-color:var(--gold)}.trade-item img{background:#ffffff29;border-radius:4px;width:40px;height:40px}.trade-item span{text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11.5px;line-height:1.2;overflow:hidden}.trade-item em{color:var(--gold);font-size:11px;font-style:normal;position:absolute;top:2px;right:4px}.trade-ryo{border-top:1px solid var(--line);align-items:center;gap:5px;padding-top:6px;font-size:14px;display:flex}.trade-ryo small{color:var(--muted);font-weight:400}.trade-ryo input{width:74px;font:inherit;color:var(--gold);border:1px dashed var(--line);background:0 0;border-radius:4px;padding:2px 5px;font-weight:700}.trade-ryo input:hover,.trade-ryo input:focus{border-color:var(--gold);background:#00000040;outline:none}.trade-bag-title{margin:12px 0 6px;font-size:14px}.trade-bag-title small{color:var(--muted);font-weight:400}.trade-bag{max-height:230px;padding-right:4px;overflow-y:auto}#trade-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.trade-hint{color:var(--muted);flex-basis:100%}@media (width<=560px){.trade-sides{grid-template-columns:1fr}}#bar.in-fight .spell-bar{align-items:flex-start;gap:0}#bar.in-fight .spell-group{background:0 0;border:0;border-radius:0;gap:5px;padding:0 12px;position:relative}#bar.in-fight .spell-group+.spell-group:before{content:"";background:linear-gradient(#0000,#e8c27a59 30% 70%,#0000);width:1px;position:absolute;top:4px;bottom:2px;left:0}#bar.in-fight .spell-group>small{width:0;min-width:100%;font:600 9px/12px var(--title-font);letter-spacing:.14em;white-space:nowrap;color:color-mix(in srgb, var(--group) 70%, #e9dfcc);text-shadow:none;opacity:.9;justify-content:center;align-items:center;gap:5px;display:flex}#bar.in-fight .spell-group>small:before{content:"";background:var(--group);width:4px;height:4px;box-shadow:0 0 4px var(--group);border-radius:50%}#bar.in-fight .spell-group>div{gap:11px}#bar.in-fight .spell{box-shadow:none;background:0 0;border:0;border-radius:50%;transition:transform .1s,filter .15s;overflow:visible}#bar.in-fight .spell .spell-emblem{width:100%;height:100%}#bar.in-fight .spell-group>div>:nth-child(3n+1)>.spell-emblem{--turn:20deg}#bar.in-fight .spell:hover:not(:disabled){box-shadow:none;background:0 0;transform:translateY(-2px)}#bar.in-fight .spell:hover:not(:disabled) .spell-emblem{box-shadow:inset 0 0 0 1px #0009, 0 0 12px color-mix(in srgb, var(--el) 70%, transparent), 0 3px 6px #00000080}#bar.in-fight .spell.selected{box-shadow:none;background:0 0;transform:translateY(-3px)}#bar.in-fight .spell.selected .spell-emblem{box-shadow:inset 0 0 0 1px #0009, 0 0 0 2px #0b0910, 0 0 0 3px var(--gold-bright), 0 0 16px #ffd282bf}#bar.in-fight .spell.selected .spell-emblem:before{opacity:1}#bar.in-fight .spell:disabled .spell-emblem{filter:grayscale(.8)brightness(.6)}#bar.in-fight .spell kbd{font:700 9.5px/1 var(--title-font);color:#f6ecd4bf;text-shadow:0 1px 2px #000,0 0 3px #000;background:0 0;padding:0;top:-4px;left:-3px}#bar.in-fight .spell .cost{z-index:3;width:17px;height:17px;font:800 10.5px/15px var(--title-font);color:#f6ecd4;text-shadow:0 1px 1px #000;background:radial-gradient(circle at 50% 35%,#263552,#0c0f18);border:1px solid #6fa8e8;border-radius:50%;bottom:-3px;right:-4px;box-shadow:0 1px 3px #000}#bar.in-fight .spell.broke .cost{color:#ffb4a6;background:radial-gradient(circle at 50% 35%,#4a1c16,#160807);border-color:#f0705e}#bar.in-fight .spell .cd{z-index:2;font:800 20px/1 var(--title-font);background:#08060cb3;border-radius:50%}#bar.in-fight .spell.empty{box-shadow:none;background:0 0;border:1px dashed #e8c27a38;transform:scale(.82)}#bar.in-fight .spell.empty:hover{background:0 0;transform:scale(.82)}.tip .tip-hint{color:var(--gold);margin-top:4px;font-style:italic;display:block}:root{--jade:#6fd1a4;--tea:#9fd18a}.jade .ic{color:var(--jade)}.paperdoll{grid-template-columns:64px 1fr 64px}.paperdoll .slot{width:64px;height:64px;padding:2px;font-size:10.5px}.paperdoll .slot img{width:36px;height:36px}.paperdoll .slot-label{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.slot.parure{border-color:#6fd1a461}.parure-row{z-index:2;flex-direction:row;justify-content:center;margin:6px 0 2px;position:relative}.parure-row .slot{width:64px;height:64px;padding:2px;font-size:10.5px}.parure-row .slot img{width:36px;height:36px}.parure-row .slot-label{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.parure-row .slot .worn-tip{top:auto;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.slot.parure.filled{background:#6fd1a41a}.slot.parure.filled:hover{border-color:var(--jade)}.gear-lines{grid-template-columns:1fr 1fr;column-gap:4px}.gear-lines li{white-space:nowrap;padding:2px 5px;font-size:12px}.gear-lines li span{text-overflow:ellipsis;overflow:hidden}.chip.b-jade{color:var(--jade);border-color:#6fd1a466}#parures-button{--tint:var(--jade)}#parures{width:min(760px, calc(calc(var(--vw) * 100) - 32px));height:min(440px, calc(calc(var(--vh) * 100) - 48px));flex-direction:column;position:absolute}#parures:not([hidden]){display:flex}.parure-tabs{flex:none;margin:12px 0 10px}.parure-page{flex:1;min-height:0;padding-right:2px;overflow-y:auto}#parures .close{padding:2px 9px;position:absolute;top:9px;right:10px}.parure-head{align-items:center;gap:12px;margin-bottom:4px;display:flex}.parure-head p{color:var(--muted);margin:0;font-size:13px}.jade-balance{background:#6fd1a41a;border:1px solid #6fd1a473;border-radius:999px;flex:none;align-items:center;gap:5px;padding:4px 12px;display:inline-flex}.jade-balance .ic{color:var(--jade);font-size:18px}.jade-balance b{color:var(--jade);font-variant-numeric:tabular-nums;font-size:18px}.jade-balance small{color:var(--muted)}.parure-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;display:grid}.parure-card{text-align:center;border:1px solid var(--line);background:#ffffff0a;border-radius:6px;flex-direction:column;align-items:center;gap:2px;padding:6px 6px 8px;display:flex;position:relative}.parure-card b{color:var(--text);font-size:13.5px;line-height:1.2}.parure-card small{color:var(--muted);font-size:12px}.parure-card button{margin-top:4px;padding:4px 10px;font-size:13px}.parure-card .form-sign{font-size:17px;font-style:normal;font-weight:700;line-height:1;position:absolute;top:4px;right:6px}.parure-card .form-sign.f{color:#ff9ac0}.parure-card .form-sign.m{color:#8fc4ff}.parure-art{background:radial-gradient(at 50% 55%,#6fd1a429,#0000 70%);border-radius:4px;place-items:center;width:100%;height:118px;display:grid}.parure-art img{width:104px;height:104px}.jade-buy{color:#0f2a1f;border-color:var(--jade);background:linear-gradient(#9ff0c8,#46a87c)}.jade-buy:disabled{opacity:.5}#buy-modal{z-index:7;width:min(360px, calc(calc(var(--vw) * 100) - 32px));text-align:center;pointer-events:auto;background:var(--corners,none), linear-gradient(180deg, #2e2638, #15121c);border:1px solid var(--gold);padding:18px 20px 16px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 40px #000000b3,0 0 26px #e8c27a33}#buy-modal h3{font:700 18px var(--title-font,Georgia, serif);letter-spacing:.04em;color:var(--gold-bright,#ffd98a);margin:8px 0 6px}#buy-modal p{flex-direction:column;align-items:center;gap:4px;margin:0 0 14px;font-size:14px;display:flex}#buy-modal p small{color:var(--muted);font-size:12.5px}.buy-art{background:radial-gradient(circle at 50% 45%,#e8c27a47,#e8c27a0d 70%);border:1px solid #e8c27a80;border-radius:50%;place-items:center;width:76px;height:76px;margin:0 auto;display:grid}.buy-art.jade{background:radial-gradient(circle at 50% 45%,#6fd1a44d,#6fd1a40d 70%);border-color:#6fd1a48c}.buy-art img{width:58px;height:58px}.buy-price{color:var(--gold);align-items:center;gap:5px;font-size:15px;display:inline-flex}.buy-price b{font-size:20px}.buy-price.jade{color:var(--jade)}.doll-flip{position:absolute;inset:0;transform:scaleX(-1)}#fps-meter{z-index:50;font:700 12px var(--title-font);color:#9fe39a;pointer-events:none;font-variant-numeric:tabular-nums;background:#0b0910b3;border:1px solid #e8c27a40;border-radius:2px;padding:2px 8px;position:fixed;top:6px;left:50%;transform:translate(-50%)}#fps-meter.low{color:#f08a6e}#fps-meter[hidden]{display:none}.bubble-face .doll{width:92px;height:153px;margin:-7px 0 0 -21px}.bubble-face .doll img,#dialog .bubble-face .doll img{width:100%;height:100%;margin:0}.shop-head .doll{flex:none;width:55px;height:92px}.shop-head .doll img{height:100%}.item-row{display:flex;position:relative}#bag-items .item-row{content-visibility:auto;contain-intrinsic-size:auto 170px auto 52px}.item-row .item-card{flex:1;min-width:0;padding-right:26px}.item-delete{width:20px;height:20px;color:var(--muted);opacity:0;cursor:pointer;background:#00000059;border:1px solid #0000;border-radius:4px;place-items:center;padding:0;font-size:11px;line-height:1;transition:opacity .12s;display:grid;position:absolute;top:4px;right:4px}.item-row:hover .item-delete,.item-delete:focus-visible{opacity:1}.item-delete:hover{color:#ffd2c6;background:#a032288c;border-color:#e3836f}@media (hover:none){.item-delete{opacity:.8}}#delete-modal{z-index:7;width:min(360px, calc(calc(var(--vw) * 100) - 32px));text-align:center;pointer-events:auto;background:var(--corners,none), linear-gradient(180deg, #3a2426, #16100f);border:1px solid #e3836f;padding:18px 20px 16px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 40px #000000b3,0 0 26px #e3836f40}#delete-modal h3{font:700 18px var(--title-font,Georgia, serif);letter-spacing:.04em;color:#ffd2c6;margin:8px 0 6px}#delete-modal p{flex-direction:column;align-items:center;gap:8px;margin:0 0 14px;font-size:14px;line-height:1.45;display:flex}#delete-modal p b{color:var(--gold-bright,#ffd98a)}.buy-art.delete{background:radial-gradient(circle at 50% 45%,#e3836f47,#e3836f0d 70%);border-color:#e3836f8c}.delete-count{align-items:center;gap:6px;font-size:13.5px;display:inline-flex}.delete-count input{width:64px;color:var(--text);border:1px solid var(--line);background:#00000059;border-radius:4px;padding:3px 6px}.delete-count small{color:var(--muted)}.leave-actions .primary.danger{color:#fff1ec;background:linear-gradient(#d4604c,#8f2e22);border-color:#e3836f}#respec-modal{z-index:7;width:min(360px, calc(calc(var(--vw) * 100) - 32px));text-align:center;pointer-events:auto;background:var(--corners,none), linear-gradient(180deg, #3a2426, #16100f);border:1px solid #e3836f;padding:18px 20px 16px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 40px #000000b3,0 0 26px #e3836f40}#respec-modal h3{font:700 18px var(--title-font,Georgia, serif);letter-spacing:.04em;color:#ffd2c6;margin:8px 0 6px}#respec-modal p{flex-direction:column;align-items:center;gap:6px;margin:0 0 14px;font-size:14px;line-height:1.45;display:flex}#respec-modal p b{color:var(--gold-bright,#ffd98a)}.respec-seal{width:52px;height:52px;font:700 28px var(--title-font,Georgia, serif);color:#ffd2c6;background:radial-gradient(circle at 50% 45%,#e3836f47,#e3836f0d 70%);border:1px solid #e3836f8c;border-radius:50%;place-items:center;margin:0 auto;display:grid}#rankup-modal{z-index:7;width:min(360px, calc(calc(var(--vw) * 100) - 32px));text-align:center;pointer-events:auto;background:var(--corners,none), linear-gradient(180deg, #2e2638, #15121c);border:1px solid var(--gold);padding:18px 20px 16px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 40px #000000b3,0 0 26px #e8c27a33}#rankup-modal h3{font:700 18px var(--title-font,Georgia, serif);letter-spacing:.04em;color:var(--gold-bright,#ffd98a);margin:8px 0 6px}#rankup-modal p{flex-direction:column;align-items:center;gap:5px;margin:0 0 14px;font-size:14px;line-height:1.45;display:flex}#rankup-modal p b{color:var(--gold-bright,#ffd98a)}#rankup-modal p small{color:var(--muted);font-size:12.5px}#rankup-modal .rankup-note{color:#e9dcc0;font-style:italic}.rankup-seal{width:52px;height:52px;font:700 24px var(--title-font,Georgia, serif);color:var(--gold-bright,#ffd98a);background:radial-gradient(circle at 50% 45%,#e8c27a4d,#e8c27a0d 70%);border:1px solid #e8c27a8c;border-radius:50%;place-items:center;margin:0 auto;display:grid}.me-values .orb.mini{flex:none;width:24px;height:24px;display:grid}.me-values .v-hp{margin-right:auto}.orb.mini:before{inset:-4px}.orb.mini:after{font-size:17px}.orb.mini b{font-size:12.5px}#inventory h3.bag-head{justify-content:space-between;align-items:center;gap:10px;padding-right:36px;display:flex}.purse{letter-spacing:0;text-shadow:none;gap:6px;font:13px system-ui,sans-serif;display:inline-flex}.purse>span{border-radius:999px;align-items:center;gap:5px;padding:2px 10px 2px 7px;display:inline-flex}.purse .ic{font-size:16px}.purse b{font-variant-numeric:tabular-nums;font-size:15px}.purse small{color:var(--muted)}.purse .ryo{background:#e8c27a1a;border:1px solid #e8c27a73}.purse .ryo b{color:var(--gold-bright,var(--gold))}.purse .jade{background:#6fd1a41a;border:1px solid #6fd1a473}.purse .jade b{color:var(--jade)}.inv-orbs{justify-content:center;gap:16px;margin:14px 0 18px;display:flex}.inv-orbs .orb{width:50px;height:50px}.inv-orbs .orb b{font-size:20px}.inv-orbs .orb small{font-size:8.5px}.inv-orbs .orb:after{font-size:32px}.orb.dmg{--ink:#ffb066;--deep:#2e1d0e;--turn:300deg;--kanji:"力"}.inv-orbs .orb.dmg b{font-size:17px}.inv-orbs .orb.long b{letter-spacing:-.02em;font-size:15px}.rank-text .rank-cost{color:var(--gold)}#result{height:min(640px, calc(calc(var(--vh) * 100) - 40px));max-height:none;overflow:hidden}#result>.res-body{flex-direction:column;flex:1;gap:14px;min-height:0;margin-inline:0;padding:2px 22px 4px;display:flex;overflow-y:auto}#result>.res-foot{flex-direction:column;flex:none;gap:12px;display:flex}.res-challenges{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}.res-challenges li{gap:10px;padding:7px 9px}.res-challenges .ch-logo{color:#2a1a10;background:var(--gold);border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid;position:relative;box-shadow:0 2px 6px #00000073}.res-challenges .ch-logo svg{fill:currentColor;width:21px;height:21px}.res-challenges .ch-logo i{color:#fff;background:#3a8a46;border:2px solid #15131f;border-radius:50%;place-items:center;width:17px;height:17px;font:700 10px/1 system-ui,sans-serif;display:grid;position:absolute;bottom:-4px;right:-4px}.res-challenges .failed .ch-logo{background:#77707c}.res-challenges .failed .ch-logo i{color:#fff;background:#c9402c}.res-challenges .ch-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.res-challenges .ch-text b{font-size:13.5px}.res-challenges .ch-text em{white-space:normal;font-size:12px}.res-foes{gap:10px}.res-foes li{background:#ffffff0d;border:1px solid #ffffff1f;border-radius:3px;padding:2px;position:relative}.res-foes .mon-icon{width:46px;height:38px}.res-foes li>b{color:var(--gold);border:1px solid var(--gold);background:#15131f;border-radius:8px;padding:0 5px;font-size:11px;line-height:16px;position:absolute;bottom:-6px;right:-7px}#result .res-gain{padding:5px 12px}#result .res-gain b{font-size:22px}#result .res-loot{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px}#result .res-item{gap:8px;padding:4px 7px}#result .res-item img{width:40px;height:40px}#result .res-item span{font-size:12.5px}#result .res-item small{font-size:11px}#result .res-war{padding-block:6px;font-size:13px}#result>.res-body{padding-bottom:20px;-webkit-mask-image:linear-gradient(#000 calc(100% - 20px),#0000);mask-image:linear-gradient(#000 calc(100% - 20px),#0000)}#clan{z-index:2;width:min(400px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 150px);background:var(--corners,none), linear-gradient(180deg, var(--lacquer-top,#221a24), var(--lacquer-bottom,#15131f));position:absolute;overflow-y:auto}#clan .close{padding:3px 10px;position:absolute;top:10px;right:10px}#clan h3{font:700 18px var(--title-font);letter-spacing:.05em;color:var(--gold);margin:0 0 10px}#clan-button{--tint:#e06a58}.clan-intro{color:var(--muted);margin:0 0 8px;font-size:12.5px}.clan-list,.clan-deeds,.clan-rules ul{margin:0;padding:0;list-style:none}.clan-list{gap:2px;display:grid}.clan-row{border-left:3px solid var(--clan);align-items:center;gap:10px;padding:4px 6px;display:flex}.clan-row b{font:700 13.5px var(--title-font);flex:1}.clan-row small{color:var(--muted);font-size:11.5px}.clan-seal{color:#15131f;background:var(--clan);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font:700 15px/1 serif;display:grid}.clan-seal.big{width:48px;height:48px;box-shadow:0 0 12px color-mix(in srgb, var(--clan) 40%, transparent);font-size:26px}.clan-card{align-items:center;gap:12px;padding:4px 0 4px 2px;display:flex}.clan-card>div{flex:1;gap:5px;min-width:0;display:grid}.clan-card>div>b{font:700 17px var(--title-font);align-items:center;gap:8px;display:flex}.clan-state{font:600 10.5px var(--ui-font);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border:1px solid #ffffff26;border-radius:2px;padding:1px 6px;font-style:normal}.clan-state.on{color:var(--clan);border-color:color-mix(in srgb, var(--clan) 60%, transparent)}.clan-level{align-items:center;gap:8px;font-size:12px;display:flex}.clan-level small{color:var(--muted);white-space:nowrap;font-size:11px}.clan-bar{background:#00000073;border-radius:3px;flex:1;height:5px;display:block;overflow:hidden}.clan-bar b{background:var(--clan);height:100%;display:block}.clan-actions{gap:6px;margin-top:10px;display:flex}.clan-actions button{padding:4px 10px;font-size:12.5px}.clan-actions .danger{margin-left:auto}.clan-deeds{border-top:1px solid #e8c27a26;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;display:flex}.clan-deed{cursor:help;justify-items:center;gap:3px;display:grid}.clan-deed small{color:var(--muted);font-size:10.5px}.clan-deed.got small{color:var(--gold)}.clan-deed.got .deed-seal{color:#fff3e6;background:radial-gradient(circle at 35% 30%,#d4483a,#8e1f16);border:1px solid #5a120c;transform:rotate(-4deg)}.clan-ranking{border-top:1px solid #e8c27a26;margin-top:14px;padding-top:12px}.clan-ranking h4{font:700 11.5px var(--ui-font);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}.clan-ranking ol{grid-template-columns:minmax(0,1fr);gap:2px;margin:0;padding:0;list-style:none;display:grid}.clan-ranking li{border-radius:3px;align-items:baseline;gap:8px;padding:3px 6px;font-size:12.5px;display:flex}.clan-ranking li i{text-align:right;width:16px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-style:normal}.clan-ranking li b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:700 13px var(--title-font);flex:1;overflow:hidden}.clan-ranking li small{color:var(--muted);white-space:nowrap;font-size:11px}.clan-ranking li em{white-space:nowrap;font-variant-numeric:tabular-nums;font-style:normal}.clan-ranking li.first i,.clan-ranking li.first em{color:var(--gold)}.clan-ranking li.me{background:#e8c27a1a}.clan-ranking p{color:var(--muted);margin:0;font-size:12px}.clan-ranking-note{color:var(--muted);margin-top:6px;font-size:11px;display:block}.clan-rules{color:var(--muted);margin-top:12px;font-size:12px}.clan-rules summary{cursor:pointer;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:11.5px}.clan-rules summary:hover{color:var(--gold)}.clan-rules ul{gap:4px;margin-top:6px;display:grid}.clan-rules li{padding-left:12px;position:relative}.clan-rules li:before{content:"·";color:var(--gold);position:absolute;left:2px}.clan-rules b{color:#fbf5e8}button.danger{color:#ffb4a6;border-color:#e06a588c}button.danger:hover:not(:disabled){background:#e06a582e}#refine{z-index:2;width:min(860px, calc(calc(var(--vw) * 100) - 32px));max-height:calc(calc(var(--vh) * 100) - 112px);background:var(--corners,none), linear-gradient(180deg, var(--lacquer-top,#221a24), var(--lacquer-bottom,#15131f));position:absolute;overflow-y:auto}#refine .close{padding:3px 10px;position:absolute;top:10px;right:10px}.refine-head{flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 44px 10px 0;display:flex}.refine-head h3{font:700 18px var(--title-font);letter-spacing:.05em;color:var(--gold);margin:0}.purse .tea,.tea .ic{color:var(--tea)}.purse .tea{background:#9fd18a1a;border:1px solid #9fd18a73}.purse .tea b{color:var(--tea)}.refine-body{height:max(380px, min(calc(var(--vh) * 100 - 220px), 520px));grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:14px;display:grid}.refine-help{color:var(--muted);margin-top:10px;font-size:12.5px;line-height:1.45}.refine-help summary{cursor:pointer;color:var(--gold);font-size:12.5px}.refine-help p{margin:6px 0 0}.refine-help b{color:#fbf5e8}.refine-level{color:#ffb45a;font-style:normal}.refine-bag{grid-template-rows:auto minmax(0,1fr);gap:8px;min-width:0;min-height:0;display:grid}.forge{align-content:start;min-width:0;min-height:0;overflow-y:auto}.refine-shelves{scrollbar-gutter:stable;align-content:start;gap:10px;min-width:0;min-height:0;padding-right:4px;display:grid;overflow:hidden auto}.refine-tabs{border-bottom:1px solid #e8c27a40;gap:2px;min-width:0;display:flex}.refine-tabs button{letter-spacing:0;min-width:0;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:none;border-radius:4px 4px 0 0;flex:auto;justify-content:center;align-items:center;gap:4px;margin-bottom:-1px;padding:6px 4px 7px;font-size:12.5px;display:inline-flex}.refine-tabs button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.refine-tabs button .ic{flex:none;width:15px;height:15px}.refine-tabs button small{background:#ffffff14;border-radius:8px;flex:none;padding:0 4px;font-size:10px}.refine-tabs button:hover:not(:disabled){color:#fbf5e8;background:#e8c27a0f}.refine-tabs button:disabled{opacity:.35;cursor:default}.refine-tabs button.active{color:var(--gold);background:#e8c27a1a;border-color:#e8c27a59}.refine-tabs button.active small{color:#fbf5e8;background:#e8c27a40}.refine-tabs button:not(.active) span{display:none}.refine-tabs button:not(.active){flex:0 auto;padding:6px 9px 7px}.refine-tabs button.active{flex:auto}.refine-confirm{z-index:5;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#08060cb8;place-items:center;padding:16px;animation:.15s ease-out refine-fade;display:grid;position:absolute;inset:0}.refine-confirm[hidden]{display:none}.refine-confirm-box{background:linear-gradient(#2a2030,#18141f);border:1px solid #e8c27a8c;border-radius:4px;gap:10px;width:min(380px,100%);padding:16px 18px;animation:.18s cubic-bezier(.2,1.3,.4,1) refine-pop;display:grid;box-shadow:0 12px 40px #0009}.refine-confirm-box h4{font:700 16px var(--title-font);color:var(--gold);text-align:center;letter-spacing:.04em;margin:0}.refine-confirm-item{background:#00000040;border:1px solid #e8c27a2e;border-radius:3px;align-items:center;gap:12px;padding:8px;display:flex}.refine-confirm-item img{object-fit:contain;filter:drop-shadow(0 0 1px #ffffff8c);background:radial-gradient(circle at 50% 45%,#fff4de80,#e8d6b433 72%);border-radius:8px;flex:none;width:68px;height:68px;padding:4px}.refine-confirm-item div{gap:2px;min-width:0;display:grid}.refine-confirm-item b{font:700 14px var(--title-font);color:#fbf5e8}.refine-confirm-step{font:700 15px var(--title-font);color:var(--muted)}.refine-confirm-step em{color:#ffb45a;font-style:normal}.refine-confirm-step em.to{color:#ffe08a}.refine-confirm-item small{color:#9fd8a0;font-size:12px}.refine-confirm-terms{gap:5px;margin:0;padding:0;font-size:13px;list-style:none;display:grid}.refine-confirm-terms li{align-items:center;gap:7px;display:flex}.refine-confirm-terms li span:not(.dot){color:var(--muted)}.refine-confirm-terms li b{color:#fbf5e8;margin-left:auto}.refine-confirm-terms li small{color:var(--muted);font-size:11.5px}.refine-confirm-terms .ic{width:16px;height:16px;color:var(--tea)}.refine-confirm-terms .dot{border-radius:50%;width:10px;height:10px;margin:0 3px}.refine-confirm-terms .sure .dot{background:#7cc47a}.refine-confirm-terms .sure b{color:#9fd8a0}.refine-confirm-terms .fair .dot{background:#e8c27a}.refine-confirm-terms .fair b{color:#e8c27a}.refine-confirm-terms .risky .dot{background:#e07a50}.refine-confirm-terms .risky b{color:#f0a080}.refine-confirm-warn,.refine-confirm-safe{border-radius:3px;margin:0;padding:7px 9px;font-size:12px;line-height:1.4}.refine-confirm-warn{color:#f3c2a8;background:#e06a581f;border:1px solid #e06a5866}.refine-confirm-safe{color:#b9dcb0;background:#7cc47a1a;border:1px solid #7cc47a59}.refine-confirm-actions{gap:8px;display:flex}.refine-confirm-actions button{flex:1;padding:8px}@keyframes refine-fade{0%{opacity:0}}@keyframes refine-pop{0%{opacity:0;transform:scale(.92)}}.refine-shelf h4{font:700 13px var(--title-font);letter-spacing:.06em;color:var(--gold);text-transform:uppercase;border-bottom:1px solid #e8c27a33;align-items:center;gap:6px;margin:0 0 6px;padding-bottom:4px;display:flex}.refine-shelf h4 .ic{width:16px;height:16px}.refine-shelf h4 small{color:var(--muted);margin-left:auto;font:11.5px system-ui,sans-serif}.refine-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px;display:grid}.refine-card{min-width:0;color:inherit;cursor:pointer;background:#ffffff12;border:1px solid #e8c27a2e;border-radius:4px;justify-items:center;gap:3px;padding:6px 4px 5px;transition:border-color .15s,background .15s,transform .15s;display:grid;position:relative}.refine-card:hover:not(:disabled){background:#e8c27a1a;border-color:#e8c27a8c;transform:translateY(-1px)}.refine-card:disabled{cursor:default;opacity:.55}.refine-card.picked{opacity:1;background:#ffa04624;border-color:#ffb45a;box-shadow:inset 0 0 0 1px #ffb45a,0 0 12px #ff963c59}.refine-card.worn{border-style:solid}.refine-card img{object-fit:contain;filter:drop-shadow(0 0 1px #ffffff8c);background:radial-gradient(circle at 50% 45%,#fff4de80,#e8d6b433 72%);border-radius:6px;width:52px;height:52px;padding:3px}.refine-card span{text-align:center;text-overflow:ellipsis;white-space:nowrap;color:#e8dcc4;width:100%;font-size:11px;line-height:1.2;overflow:hidden}.refine-copies{color:var(--muted);font-size:10.5px;position:absolute;top:4px;left:5px}.refine-worn{color:var(--gold);background:#14101ad9;border:1px solid #e8c27a73;border-radius:2px;padding:0 4px;font-size:9.5px;font-style:normal;position:absolute;top:40px;left:4px}.forge{background:#00000038;border:1px solid #e8c27a33;border-radius:4px;gap:10px;padding:10px;display:grid}.forge-stage{background:radial-gradient(92px at 50% 104px,#ffecc86b,#ffd29624 70%,#0000 100%),radial-gradient(70% 60% at 50% 100%,#ff782852,#0000 70%),linear-gradient(#3a2f36,#221a20);border-radius:3px;height:224px;position:relative;overflow:hidden}.forge-glow{background:radial-gradient(50% 60% at 50% 100%,#ff8c2873,#0000 70%);height:70%;animation:2.6s ease-in-out infinite forge-breathe;position:absolute;inset:auto 0 0}.forge-anvil{width:120px;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.forge-item{object-fit:contain;filter:drop-shadow(0 0 1.5px #ffffffb3)drop-shadow(0 4px 4px #00000080);width:112px;height:112px;position:absolute;bottom:60px;left:50%;transform:translate(-50%)}.forge-hammer{transform-origin:40px 76px;opacity:0;width:80px;height:80px;transition:opacity .2s;position:absolute;bottom:92px;left:calc(50% + 22px);transform:rotate(38deg)}.forge-sparks{width:0;height:0;position:absolute;bottom:104px;left:50%}.forge-sparks i{opacity:0;background:#ffe08a;border-radius:50%;width:4px;height:4px;position:absolute;box-shadow:0 0 6px #ff9a2a}.forge-empty{text-align:center;padding:6px 4px}.forge-empty b{font:700 15px var(--title-font);color:var(--gold)}.forge-empty p{color:var(--muted);margin:0;font-size:12.5px}.forge-max,.forge-poor{color:var(--muted);text-align:center;margin:0;font-size:12.5px}.forge-max{color:var(--gold)}.forge-poor{color:#e8b48a}.forge-stage.strike .forge-hammer{opacity:1;animation:.42s cubic-bezier(.5,0,.9,.5) 3 forge-hammer}.forge-stage.strike .forge-item{animation:1.26s ease-in forwards forge-heat,.42s ease-out 3 forge-jolt}.forge-stage.strike .forge-sparks i{animation:.42s ease-out 3 forge-spark;animation-delay:calc(.2s + var(--t))}.forge-stage.strike .forge-glow{animation:.42s ease-out 3 forge-flare}@keyframes forge-hammer{0%{transform:rotate(38deg)}55%{transform:rotate(-58deg)}70%{transform:rotate(-58deg)}to{transform:rotate(38deg)}}@keyframes forge-jolt{0%,45%{transform:translate(-50%)}52%{transform:translate(-50%)translateY(3px)scale(1.04,.94)}70%,to{transform:translate(-50%)}}@keyframes forge-heat{to{filter:drop-shadow(0 0 8px #ff7a20)brightness(1.35)sepia(.5)saturate(2.2)hue-rotate(-15deg)}}@keyframes forge-spark{0%,45%{opacity:0;transform:rotate(var(--a)) translateX(0)}50%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translateX(var(--d)) translateY(14px)}}@keyframes forge-flare{0%,45%{opacity:.7}52%{opacity:1.6;filter:brightness(1.6)}to{opacity:.7}}@keyframes forge-breathe{50%{opacity:.65}}.forge-rays{background:repeating-conic-gradient(from 0deg, #ffd67852 0 8deg, transparent 8deg 22deg);opacity:0;width:300px;height:300px;margin-left:-150px;animation:2.2s ease-out forwards forge-rays;position:absolute;bottom:-34px;left:50%;transform:scale(.2);-webkit-mask:radial-gradient(circle,#000 15%,#0000 62%);mask:radial-gradient(circle,#000 15%,#0000 62%)}.forge-stage.success .forge-item{animation:2.2s cubic-bezier(.2,.8,.3,1) forwards forge-rise}.forge-stage.success .forge-glow{background:radial-gradient(60% 70% at 50% 60%,#ffd26e8c,#0000 70%)}.forge-embers{position:absolute;bottom:90px;left:50%}.forge-embers i{opacity:0;width:5px;height:5px;animation:1.4s ease-out forwards forge-ember;animation-delay:var(--t);background:#fff0b0;border-radius:50%;position:absolute;box-shadow:0 0 8px #ffc04a}.forge-verdict{text-align:center;font:900 30px var(--title-font);letter-spacing:.04em;pointer-events:none;position:absolute;top:4px;left:0;right:0}.forge-stage.success .forge-verdict{color:#ffe08a;text-shadow:0 0 14px #ffaa28e6,0 2px #6a3a10;animation:.7s cubic-bezier(.2,1.6,.4,1) .1s both forge-pop}@keyframes forge-rays{15%{opacity:1;transform:scale(1)rotate(0)}to{opacity:0;transform:scale(1.15)rotate(40deg)}}@keyframes forge-rise{0%{filter:drop-shadow(0 0 8px #ff7a20)brightness(1.35)}30%{filter:drop-shadow(0 0 18px #ffd27a)brightness(1.6);transform:translate(-50%)translateY(-12px)scale(1.15)}to{filter:drop-shadow(0 0 10px #ffc864cc);transform:translate(-50%)translateY(-4px)scale(1.05)}}@keyframes forge-ember{0%{opacity:0;transform:translate(0)}15%{opacity:1}to{opacity:0;transform:translate(var(--x), calc(-1 * var(--h)))}}@keyframes forge-pop{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}.forge-stage.fail .forge-item{animation:.5s ease-in-out forge-shake,1.2s ease-out forwards forge-dull}.forge-stage.fail .forge-glow{animation:1.4s ease-out forwards forge-die}.forge-crack{fill:none;stroke:#e05a3a;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px #e05a3acc);stroke-dasharray:80;stroke-dashoffset:80px;width:80px;height:80px;margin-left:-40px;animation:.35s ease-out .15s forwards forge-crack,.8s ease-in 1.3s forwards forge-fade;position:absolute;bottom:78px;left:50%}.forge-smoke{position:absolute;bottom:118px;left:50%}.forge-smoke i{opacity:0;width:34px;height:34px;animation:1.8s ease-out forwards forge-smoke;animation-delay:var(--t);background:radial-gradient(circle,#96919b8c,#96919b00 70%);border-radius:50%;margin:-17px;position:absolute}.forge-stage.fail .forge-verdict{color:#c9c1b8;text-shadow:0 2px #000;animation:.5s ease-out .2s both forge-thud}@keyframes forge-shake{0%,to{transform:translate(-50%)}20%{transform:translate(calc(-50% - 7px))rotate(-6deg)}40%{transform:translate(calc(6px - 50%))rotate(5deg)}60%{transform:translate(calc(-50% - 4px))rotate(-3deg)}80%{transform:translate(calc(2px - 50%))}}@keyframes forge-dull{0%{filter:drop-shadow(0 0 8px #ff7a20)brightness(1.35)}to{filter:grayscale(.7)brightness(.75)drop-shadow(0 4px 4px #0009)}}@keyframes forge-die{to{opacity:.15}}@keyframes forge-crack{to{stroke-dashoffset:0}}@keyframes forge-fade{to{opacity:0}}@keyframes forge-smoke{0%{opacity:0;transform:translate(var(--x), 0) scale(.4)}25%{opacity:1}to{opacity:0;transform:translate(calc(var(--x) * 1.6), -90px) scale(2.2)}}@keyframes forge-thud{0%{opacity:0;transform:translateY(-16px)}60%{opacity:1;transform:translateY(3px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.forge-stage *,.forge-stage{animation-duration:10ms!important;animation-iteration-count:1!important}}.forge-info{gap:7px;display:grid}.forge-info h4{font:700 15px var(--title-font);color:#fbf5e8;margin:0}.forge-info .owned{font-size:11px}.forge-pips{grid-template-columns:repeat(10,1fr);gap:3px;display:grid}.forge-pips i{background:#ffffff14;border:1px solid #e8c27a33;border-radius:1px;height:7px}.forge-pips i.risky{border-color:#e0785059}.forge-pips i.on{background:linear-gradient(#ffd27a,#ff9a3a);border-color:#ffb45a;box-shadow:0 0 5px #ff963c80}.forge-bonus{grid-template-columns:auto 1fr;gap:3px 10px;margin:0;font-size:12.5px;display:grid}.forge-bonus dt{color:var(--muted)}.forge-bonus dd{color:#e8dcc4;margin:0}.forge-bonus dd.next{color:#9fd8a0}.forge-bonus .muted{color:var(--muted)}.forge-chance{color:var(--muted);grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:12.5px;display:grid}.forge-chance .bar{background:#ffffff12;border-radius:4px;height:8px;overflow:hidden}.forge-chance .bar i{border-radius:4px;height:100%;display:block}.forge-chance.sure .bar i{background:#7cc47a}.forge-chance.sure b{color:#9fd8a0}.forge-chance.fair .bar i{background:#e8c27a}.forge-chance.fair b{color:#e8c27a}.forge-chance.risky .bar i{background:#e07a50}.forge-chance.risky b{color:#f0a080}.forge-go{justify-items:center;gap:2px;width:100%;padding:8px 10px;font-size:15px;display:grid}.forge-go small{opacity:.9;align-items:center;gap:4px;font-size:12px;display:inline-flex}.forge-go .ic{width:14px;height:14px}@media (width<=640px){.refine-body{grid-template-columns:1fr;height:auto}.forge-stage{height:210px}.refine-shelves{max-height:none;overflow:visible}}.tea-counter{background:#4f8a3a1a;border:1px solid #4f8a3a59;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px 10px;width:100%;margin-top:4px;padding:8px 10px;display:flex}.tea-counter.owed{background:#4f8a3a2e;border-color:#4f8a3a99}.tea-counter p{flex:100%;margin:0;font-size:13.5px;line-height:1.4}.tea-have{align-items:center;gap:4px;font-size:14px;display:inline-flex}.tea-counter .ic{color:#4f8a3a;width:16px;height:16px}.tea-counter button{align-items:center;gap:6px;margin-left:auto;display:inline-flex}.tea-counter button .ic{color:inherit}.reward-card.tea .ic{color:#4f8a3a}.quest-rewards .tea .ic{color:var(--tea)}.chip.b-refine{color:#ffb45a;background:#ffb45a1f;border-color:#ffb45a8c}#classes{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#classes .class-card{grid-template-rows:auto auto;grid-template-columns:32px minmax(0,1fr);column-gap:7px;padding:7px 8px}#classes .class-card .class-seal{grid-row:auto;width:30px;height:30px;font-size:19px}#classes .class-card b{align-self:center;font-size:14px}#classes .class-card small{display:none}#classes .gauges{margin-top:5px}#classes .gauge{grid-template-columns:20px 1fr 18px;gap:5px}@media (height<=820px){#create:has(#create-form:not([hidden])){padding-top:6px;padding-bottom:26px}#create:has(#create-form:not([hidden])) .title-logo img{max-height:62px}#create:has(#create-form:not([hidden])) .subtitle{display:none}}#classes .class-card{text-align:center;grid-template-rows:auto;grid-template-columns:1fr;place-items:center;padding:10px 6px;display:grid}#classes .class-card b{letter-spacing:.04em;font-size:15px}#class-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#class-story{height:7.5em;line-height:1.5;overflow:hidden}#cuts [hidden]{display:none}.spell-bar-top{align-items:center;padding-bottom:6px}#spells .spell-bar-top .points{margin:0}.tree-legend{color:var(--muted);align-items:center;gap:5px;margin:0;font-size:12px;display:flex}.tree-legend i{background:#17131e;border:1px solid #e8c27a66;border-radius:50%;width:10px;height:10px;margin-left:8px}.tree-legend i.done{border-color:var(--gold-bright);background:linear-gradient(#ffe2a0,#c99a45)}.tree-legend i.open{border-color:var(--gold-bright);box-shadow:0 0 6px #ffd282e6}#spells .spell-book{flex-direction:column;gap:10px;min-height:0;display:flex;overflow:hidden auto}.skill-tree{background:radial-gradient(at 50% 0,#e8c27a1a,#0000 70%),linear-gradient(#15111c,#1d1825);border:1px solid #e8c27a38;border-radius:2px;flex:none;overflow:auto hidden;box-shadow:inset 0 0 30px #0009}.tree-canvas{width:100%;margin:0 auto;position:relative;container-type:inline-size}.tree-links{pointer-events:none;position:absolute;inset:0}.tree-links path{vector-effect:non-scaling-stroke;fill:none;stroke:#e8c27a29;stroke-width:2px;stroke-linejoin:round}.tree-links path.lit{stroke:#d9b064;stroke-width:2.5px}.tree-links path.open{stroke:var(--gold-bright);stroke-dasharray:4 4}.tree-root,.tree-branch,.tree-node{position:absolute;transform:translate(-50%,-50%)}.tree-root{white-space:nowrap;font:800 14px var(--title-font);letter-spacing:.05em;color:#1a1206;border:1px solid var(--gold-bright);background:linear-gradient(#ffe2a0,#c99a45);border-radius:2px;padding:4px 14px;box-shadow:0 0 12px #ffd28259}.tree-branch{white-space:nowrap;font:700 13px var(--title-font);letter-spacing:.03em;background:#17131e;border:1px solid;border-radius:2px;align-items:center;gap:5px;padding:2px 9px;display:inline-flex}.tree-branch em{font:700 10.5px var(--ui-font);color:var(--text);background:#00000080;border-radius:2px;padding:0 4px}.tree-branch.locked{opacity:.5}.tree-node{color:var(--text);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.tree-node.rank:hover{color:var(--gold-bright);border-color:var(--gold-bright);opacity:1}.tree-node.skill{width:min(44px, calc(4400cqw / var(--w)));height:min(44px, calc(4400cqw / var(--w)))}.tree-node.skill .spell-emblem{width:100%;height:100%}.tree-node.skill.locked .spell-emblem{filter:grayscale(.9)brightness(.55)}.tree-node.skill.benched .spell-emblem{opacity:.6}.tree-node.skill.current .spell-emblem{box-shadow:inset 0 0 0 1px #0009,0 0 0 2px #0b0910,0 0 0 3px #e8c27a8c}.tree-node.skill.selected .spell-emblem{box-shadow:inset 0 0 0 1px #0009, 0 0 0 2px #0b0910, 0 0 0 3px var(--gold-bright), 0 0 14px #ffd282bf}.node-level{white-space:nowrap;font:700 9.5px/12px var(--ui-font);color:var(--gold);pointer-events:none;background:#100c16;border:1px solid #e8c27a59;border-radius:2px;padding:0 3px;position:absolute;top:calc(100% + 3px);left:50%;transform:translate(-50%)}.tree-node.skill.locked .node-level{color:var(--muted);border-color:#e8c27a2e}.node-slot{width:16px;height:16px;font:800 10.5px/15px var(--ui-font);text-align:center;color:#17130b;background:#e8a65a;border:1px solid #100c16;border-radius:50%;font-style:normal;position:absolute;top:-4px;right:-4px}.tree-node.rank{width:min(30px, calc(3000cqw / var(--w)));height:min(30px, calc(3000cqw / var(--w)));font:800 min(12px, calc(1300cqw / var(--w))) var(--title-font);color:var(--muted);background:#17131e;border:1px solid #e8c27a47}.tree-node.rank.future{opacity:.6}.tree-node.rank.done{color:#1a1206;border-color:var(--gold-bright);background:linear-gradient(#ffe2a0,#c99a45)}.tree-node.rank.next{color:var(--text);border-color:#e8c27a99}.tree-node.rank.open{color:var(--gold-bright);border-color:var(--gold-bright)}.tree-node.rank.open:after{content:"";opacity:.15;will-change:opacity;pointer-events:none;border-radius:50%;animation:1.4s ease-in-out infinite alternate node-glow;position:absolute;inset:-1px;box-shadow:0 0 10px 2px #ffd282d9}@keyframes node-glow{to{opacity:1}}.tree-node.rank.selected{opacity:1;outline:2px solid var(--gold-bright);outline-offset:2px}#spells .spell-detail{border-left:0;flex:1 0 230px;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:14px;min-height:0;padding:0;display:grid;overflow:visible}#spells .spell-detail .spell-stage{height:auto;min-height:230px}.spell-info{min-height:0;padding-right:4px;overflow-y:auto}.spell-info .spell-desc{margin-top:0}.spell-info .spell-facts{flex-wrap:wrap}.rank-text .rank-owned{color:var(--gold)}.boost-equip{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.boost-equip small{color:var(--muted);flex:1 0 100%}.boost-equip button{padding:4px 10px;font-size:13px}.boost-equip button.selected{color:#e8a65a;opacity:1;border-color:#e8a65a}.boost-equip .slot-clear{margin-top:0}@media (prefers-reduced-motion:reduce){.tree-node.rank.open:after{opacity:.7;animation:none}}@media (width<=680px){#spells .spell-detail{grid-template-columns:1fr}#spells .spell-detail .spell-stage{height:200px;min-height:0}.spell-info{overflow:visible}.tree-legend{display:none}}@container (width<=760px){.tree-branch{padding:1px 5px;font-size:11px}.tree-branch em,.node-lock{display:none}}.tree-links path.just{animation:1s ease-out link-ignite}@keyframes link-ignite{0%{stroke:#fff;stroke-width:7px}to{stroke:#d9b064;stroke-width:2.5px}}.tree-node.rank.just{z-index:2;animation:.7s cubic-bezier(.2,1.6,.4,1) node-pop}@keyframes node-pop{0%{transform:translate(-50%,-50%)scale(.3);box-shadow:0 0 #fff}45%{transform:translate(-50%,-50%)scale(1.55);box-shadow:0 0 22px 6px #ffdc96f2}to{transform:translate(-50%,-50%)scale(1);box-shadow:0 0 #0000}}.tree-node.rank.just:before,.tree-node.rank.just:after{content:"";border:2px solid var(--gold-bright);opacity:0;pointer-events:none;border-radius:50%;animation:1s ease-out node-ring;position:absolute;inset:-2px}.tree-node.rank.just:after{animation-delay:.22s}@keyframes node-ring{0%{opacity:1;transform:scale(.6)}to{opacity:0;transform:scale(3.2)}}.node-sparks{pointer-events:none;position:absolute;top:50%;left:50%}.node-sparks i{opacity:0;background:#fff3c4;border-radius:50%;width:4px;height:4px;animation:.9s ease-out node-spark;position:absolute;top:-2px;left:-2px;box-shadow:0 0 6px 1px #ffc35a}.node-sparks i:nth-child(odd){animation-duration:1.15s}@keyframes node-spark{0%{transform:rotate(var(--a)) translateY(-6px) scale(1.4);opacity:1}to{transform:rotate(var(--a)) translateY(-52px) scale(.2);opacity:0}}.tree-node.skill.just .spell-emblem{animation:1s ease-out skill-surge}@keyframes skill-surge{0%{filter:brightness(2.4)saturate(1.5);transform:scale(1.25)}to{filter:none;transform:scale(1)}}.spell-stage.ranked:after{content:"";pointer-events:none;background:radial-gradient(circle at 50% 55%, #fff, color-mix(in srgb, var(--el) 70%, #fff) 30%, transparent 70%);opacity:0;animation:1s ease-out stage-flash;position:absolute;inset:0}@keyframes stage-flash{0%{opacity:.95;transform:scale(.4)}to{opacity:0;transform:scale(1.6)}}.spell-stage.ranked .stage-rank{animation:.8s cubic-bezier(.2,1.5,.4,1) seal-stamp}@keyframes seal-stamp{0%{opacity:0;transform:translate(-50%,-50%)scale(1.6)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.tree-links path.just,.tree-node.rank.just,.tree-node.rank.just:before,.tree-node.rank.just:after,.node-sparks i,.tree-node.skill.just .spell-emblem,.spell-stage.ranked:after,.spell-stage.ranked .stage-rank{animation:none}}.stage-live{pointer-events:none;position:absolute;inset:0}.stage-canvas{position:absolute;inset:0;overflow:hidden}.stage-canvas canvas{display:block}.stage-live:not(.live) .stage-canvas{visibility:hidden}.spell-stage:has(.stage-live:not(.live)) .stage-mark{opacity:.35;top:44%;left:50%;right:auto;transform:translate(-50%,-50%)}.stage-wait{text-align:center;letter-spacing:.04em;color:var(--muted);font-size:12.5px;position:absolute;top:68%;left:0;right:0}.spell-stage:has(.stage-live.live) .stage-wait{display:none}.spell-stage:has(.stage-live.live) .stage-mark{display:none}.spell-stage:has(.stage-live.live):before{display:none}.spell-stage.locked .stage-canvas{filter:grayscale(.9)brightness(.6)}.stage-rank.preview{color:#1a1206;background:linear-gradient(#ffe2a0,#c99a45);border-style:dashed}#gpu-notice{z-index:20;max-width:min(420px,100vw - 32px);padding:14px 40px 14px 16px;font-size:14px;line-height:1.45;position:fixed;bottom:16px;right:16px}#gpu-notice strong{color:var(--gold);margin-bottom:4px;font-size:16px;display:block}#gpu-notice p{margin:6px 0}#gpu-notice code{-webkit-user-select:text;user-select:text;background:#00000059;border-radius:3px;padding:0 4px}#gpu-notice label{color:var(--muted);cursor:pointer;align-items:center;gap:6px;margin-top:4px;font-size:13px;display:inline-flex}#gpu-notice .close{position:absolute;top:8px;right:8px}#class-spells{grid-template-columns:repeat(auto-fill,minmax(34px,1fr));justify-items:center;gap:10px 6px;padding:2px 0;display:grid}.create-spell{cursor:pointer;background:0 0;border:0;width:30px;height:30px;padding:0;transition:transform .1s;position:relative}.create-spell:after{content:attr(data-tip);z-index:5;font:600 12.5px var(--ui-font);color:var(--gold-bright);white-space:nowrap;opacity:0;pointer-events:none;background:#0c0910f2;border:1px solid #e8c27a73;border-radius:2px;padding:3px 8px;transition:opacity .1s,transform .1s;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%,3px);box-shadow:0 3px 10px #00000080}.create-spell:hover:after,.create-spell:focus-visible:after{opacity:1;transform:translate(-50%)}.create-spell .spell-emblem{opacity:.72;width:100%;height:100%}.create-spell:hover{transform:translateY(-1px)}.create-spell:hover .spell-emblem,.create-spell[aria-checked=true] .spell-emblem{opacity:1}.create-spell[aria-checked=true] .spell-emblem{box-shadow:inset 0 0 0 1px #0009, 0 0 0 2px #0b0910, 0 0 0 3px var(--gold-bright), 0 0 10px var(--gold)}.create-spell-stage{flex:1 0 170px;height:auto;min-height:170px;max-height:230px;margin-top:12px}.create-spell-stage .stage-mark{width:44px;height:44px;position:absolute}.create-spell-stage .stage-mark .spell-emblem{width:100%;height:100%}.create-spell-caption{pointer-events:none;background:linear-gradient(#0000,#0a080ed9);justify-content:center;align-items:baseline;gap:8px;padding:14px 8px 6px;display:flex;position:absolute;bottom:0;left:0;right:0}.create-spell-caption b{font:700 15px var(--title-font);color:var(--gold-bright);letter-spacing:.04em}.create-spell-caption small{color:var(--muted);font-size:11.5px}@media (width<=960px){.create-spell-stage{flex:none;height:190px}}#beta-modal{z-index:20;pointer-events:auto;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:radial-gradient(#0a080e8c,#050408d1);place-items:center;padding:16px;animation:.25s ease-out beta-fade;display:grid;position:fixed;inset:0}#beta-modal[hidden]{display:none}@keyframes beta-fade{0%{opacity:0}}.beta-box{text-align:center;background:var(--corners,none), linear-gradient(180deg, var(--lacquer-top,#2a2332), var(--lacquer-bottom,#120f18));border:1px solid var(--gold);width:min(460px,100%);padding:24px 26px 20px;animation:.22s ease-out window-in;position:relative;box-shadow:0 0 0 1px #07060b,0 18px 50px #000000bf,0 0 32px #e8c27a2e}.beta-seal{color:#2a1a0c;background:radial-gradient(circle at 40% 35%, #fff3d6, var(--gold) 72%);border-radius:50%;place-items:center;width:58px;height:58px;margin:-54px auto 8px;font:700 28px Hiragino Mincho ProN,Yu Mincho,serif;display:grid;box-shadow:0 0 0 3px #120f18,0 0 22px #e8c27ab3}.beta-kicker{font:700 11.5px var(--ui-font,Georgia, serif);letter-spacing:.28em;text-transform:uppercase;color:var(--gold);opacity:.85;margin:0}.beta-box h3{font:700 22px var(--title-font,Georgia, serif);letter-spacing:.04em;color:var(--gold-bright,#ffe2a0);margin:4px 0 12px}#beta-text p{color:var(--text);margin:0 0 10px;font-size:14.5px;line-height:1.5}#beta-text b{color:var(--gold-bright,#ffe2a0)}#beta-text .beta-warn{text-align:left;color:#ffd8cc;background:#e06a581f;border:1px solid #e06a5873;border-radius:6px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}#beta-text .beta-warn b{color:#ffb4a3}.beta-warn .ic{width:20px;height:20px;color:var(--red);flex:none;margin-top:1px}.beta-points{text-align:left;margin:0 0 12px;padding:0;list-style:none}.beta-points li{color:var(--text);align-items:flex-start;gap:10px;padding:6px 2px;font-size:14px;line-height:1.45;display:flex}.beta-points li+li{border-top:1px solid #e8c27a24}.beta-points .ic{width:18px;height:18px;color:var(--gold);flex:none;margin-top:2px}.beta-points b{color:var(--gold-bright,#ffe2a0)}.beta-actions{justify-content:center;margin-top:16px;display:flex}.beta-actions .primary{min-width:160px;padding:8px 18px}@media (width<=480px){.beta-actions .primary{flex:1}}.item-art{vertical-align:middle;flex:none;line-height:0;display:inline-block;position:relative}.slot .item-art{width:max-content;margin:0 auto 1px;display:block}.item-art>img{margin:0!important}.refine-pip{z-index:1;min-width:18px;font:700 11px/1.25 var(--title-font);text-align:center;color:#1d140c;pointer-events:none;background:#ffb45a;border:1px solid #5a3412;border-radius:9px;padding:1px 4px 0;font-style:normal;position:absolute;bottom:-3px;right:-3px;box-shadow:0 1px 2px #00000080}#chat-form{align-items:center;gap:6px;display:flex}#chat-input{flex:1;min-width:0}#chat-to{color:#e9c6ff;white-space:nowrap;background:#c48cff24;border:1px solid #c48cff73;border-radius:2px;flex:none;align-items:center;gap:3px;max-width:45%;padding:2px 2px 2px 7px;font-size:12.5px;display:inline-flex}#chat-to[hidden]{display:none}#chat-to b{text-overflow:ellipsis;color:#f1dcff;overflow:hidden}#chat-to button{min-height:0;padding:0 4px;font-size:11px;line-height:16px}#chat.whisper #chat-input:focus{border-color:#c48cff}#chat-log .in-private{color:#e9c6ff}#chat-log .in-private b{color:#d3a3ff}#chat-log .chat-dir{color:#b58ad6;font-style:italic}#chat-log .chat-name{all:unset;cursor:pointer}#chat-log .chat-admin{border:1px solid var(--gold);color:#fff4e6;letter-spacing:.04em;vertical-align:1px;background:#b3261e;border-radius:3px;margin-right:4px;padding:0 4px;font:700 9px/13px Georgia,serif;display:inline-block}#chat-log .chat-name:hover b,#chat-log .chat-name:focus-visible b{text-decoration:underline}#chat-log .chat-item{all:unset;cursor:pointer;color:#ffd98a;font-weight:600}#chat-log .chat-item:hover,#chat-log .chat-item:focus-visible{color:#fff0c4;text-decoration:underline}#item-view{z-index:7;width:min(270px, calc(calc(var(--vw) * 100) - 32px));pointer-events:auto;padding:12px 14px;animation:.16s ease-out window-in;display:block;position:absolute;top:42%;bottom:auto;left:50%;transform:translate(-50%,-50%)}#item-view[hidden]{display:none}#item-view .close{position:absolute;top:4px;right:4px}#item-view .item-view-art{background:radial-gradient(circle at 50% 45%,#e8c27a47,#e8c27a0d 70%);border:1px solid #e8c27a80;border-radius:50%;place-items:center;width:80px;height:80px;margin:0 auto 8px;display:grid}#item-view .item-view-art .item-art{display:block;position:relative}#item-view .cmp{margin-top:6px;display:block}#minimap-box{pointer-events:none;width:100%;position:relative}#minimap-box [hidden]{display:none!important}#minimap-hide{pointer-events:auto;cursor:pointer;width:22px;height:22px;font-size:11px;line-height:1;position:absolute;top:5px;right:5px}#minimap-show{color:var(--text);cursor:pointer;align-items:center;gap:6px;padding:4px 10px;font-size:12px;display:inline-flex}#minimap-show .ic{font-size:16px}#minimap-show:hover{color:var(--gold);border-color:var(--gold)}#hud.in-fight #minimap-box{display:none}#minimap{cursor:pointer;border-radius:8px;width:100%;padding:0;position:relative;overflow:hidden}#minimap canvas{width:100%;height:150px;display:block}#minimap:after{content:"";border-radius:inherit;pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 14px #08060e8c}#minimap:hover{border-color:var(--gold)}#minimap:focus-visible{outline:2px solid var(--gold);outline-offset:2px}#hud.in-fight #minimap{display:none}@media (width<=860px){#minimap canvas{height:110px}}.shop-modes{gap:6px;margin:0 0 8px;display:flex}.shop-modes .ghost{font:700 14px var(--title-font,Georgia, serif);letter-spacing:.04em;flex:1;padding:6px 10px}.shop-modes .selected{border-color:var(--gold);color:var(--gold-bright);background:#e8c27a1a}#shop .shop-modes{flex:none}.sell-actions{flex-direction:column;align-items:stretch;gap:4px;display:flex}.sell-actions .ghost{padding:3px 8px;font-size:12px}.merchant-head{align-items:center}.merchant-seal{color:#fff3d6;background:radial-gradient(circle at 40% 35%,#f4a640,#a8362a 75%);border-radius:50%;flex:none;place-items:center;width:64px;height:64px;font:700 30px Hiragino Mincho ProN,Yu Mincho,serif;display:grid;box-shadow:0 0 18px #f4a6408c}.merchant-left{color:#ffb4a6;margin-top:3px;font-size:12.5px;display:block}.reward-card.jade{background:#50aa8229;border-color:#50aa8280}.reward-card.jade b{color:#1f5a44}.waystone-price,.respec-price{color:#e9dcc4;font-size:13.5px}#waystone-modal .waystone-price{margin:-6px 0 12px}.waystone-price b,.respec-price b{color:var(--gold-bright,#ffd98a)}.portal-seal{color:#10142a;background:radial-gradient(circle at 40% 35%,#f4fdff,#7fa8ff 70%);box-shadow:0 0 22px #7fa8ffcc}#waystone-modal .portal-note{color:#c9d8ff;font-size:13px}.forge-go-ryo{margin-top:6px;padding:5px 12px;font-size:13px}#report-modal{z-index:8;width:min(400px, calc(calc(var(--vw) * 100) - 32px));text-align:center;pointer-events:auto;background:var(--corners,none), linear-gradient(180deg, #3a2426, #16100f);border:1px solid #e3836f;padding:18px 20px 16px;animation:.16s ease-out window-in;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #07060b,0 14px 40px #000000b3}#report-modal h3{font:700 19px var(--title-font,Georgia, serif);color:#ffd2c6;margin:6px 0}#report-modal p{margin:0 0 10px;font-size:13.5px;line-height:1.45}.report-reasons{text-align:left;flex-direction:column;gap:4px;margin:0 0 10px;font-size:14px;display:flex}.report-reasons label{cursor:pointer;border-radius:4px;align-items:center;gap:8px;padding:4px 8px;display:flex}.report-reasons label:hover{background:#ffffff0d}#report-text{box-sizing:border-box;width:100%;font:14px var(--ui-font);color:var(--text);resize:vertical;background:#0d0b12;border:1px solid #e3836f73;border-radius:2px;margin:0 0 12px;padding:8px 10px}#botcheck{z-index:30;pointer-events:auto;background:#050806cc;place-items:center;padding:16px;display:grid;position:fixed;inset:0}#botcheck .panel{text-align:center;width:min(380px,100%);padding:18px 20px 14px}#botcheck .panel p{margin:6px 0 10px;font-size:14.5px;line-height:1.45}#botcheck .botcheck-code{background:#f0e4c8eb;border-radius:8px;width:100%;height:auto;margin:0 auto 12px;display:block}#botcheck .botcheck-code path{fill:none;stroke:#1d1a16;stroke-width:2.6px;stroke-linecap:round}#botcheck input{letter-spacing:.3em;text-align:center;width:9ch;margin-right:8px;padding:8px 10px;font-size:22px}#botcheck .botcheck-wrong{color:#e3836f}#botcheck .botcheck-left{opacity:.75;margin-bottom:0;font-size:12.5px}#disconnected .panel p{max-width:380px;margin:4px auto 12px;font-size:14.5px;line-height:1.45}.admin-btn{border-color:#e3836f80}#admin-panel{z-index:6;width:min(720px, calc(calc(var(--vw) * 100) - 32px));max-height:min(calc(var(--vh) * 80), 640px);pointer-events:auto;flex-direction:column;padding:14px 18px 12px;display:flex;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)}#admin-panel[hidden]{display:none}.admin-head{align-items:center;gap:8px;display:flex}.admin-head h3{font:700 19px var(--title-font,Georgia, serif);color:#ffd2c6;letter-spacing:.05em;flex:1;margin:0}.admin-head .ghost:not(.close){padding:4px 10px;font-size:13px}.admin-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:5px;margin:10px 0 8px;padding-bottom:8px;display:flex}.admin-tabs .ghost{padding:5px 10px;font-size:13.5px}.admin-tabs .selected{border-color:var(--gold);color:var(--gold-bright)}.admin-tabs small{color:var(--muted);background:#ffffff14;border-radius:8px;margin-left:3px;padding:0 5px;font-size:11.5px}.admin-body{flex:1;min-height:160px;padding-right:4px;overflow-y:auto}.admin-body h4{font:700 14px var(--title-font,Georgia, serif);color:var(--gold);margin:12px 0 6px}.admin-controls{flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 10px;display:flex}.admin-controls label{color:var(--muted);flex-direction:column;gap:3px;font-size:12px;display:flex}.admin-controls input,.admin-controls select{font:14px var(--ui-font);color:var(--text);background:#0d0b12;border:1px solid #e8c27a59;border-radius:2px;padding:6px 8px}.admin-controls label:first-child input{width:240px}.admin-list{flex-direction:column;gap:6px;display:flex}.admin-row{background:#ffffff0a;border:1px solid #e8c27a24;border-radius:4px;align-items:center;gap:10px;padding:7px 10px;display:flex}.admin-row>span:first-child{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.admin-row small{color:var(--muted);font-size:12px}.admin-row .where{opacity:.85;font-size:11.5px}.admin-reason{color:#ffcfc2;font-size:13px;font-style:normal}.admin-recent{overflow-wrap:anywhere;font-style:italic}.admin-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:5px;max-width:52%;display:flex}.admin-actions button{padding:4px 9px;font-size:12.5px}.admin-next{margin:0 0 6px;padding-left:18px;font-size:13.5px;line-height:1.6}.admin-help{color:#d9cfc4;margin:0 0 10px;font-size:13px;line-height:1.45}.admin-result{color:#e9f7ee;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;background:#50aa8224;border:1px solid #50aa8266;border-radius:3px;margin:8px 0 0;padding:7px 10px;font-size:13px}.admin-head .ghost:not(.close){margin-right:38px}#seals{z-index:2;width:min(860px, calc(calc(var(--vw) * 100) - 32px));background:var(--corners,none), linear-gradient(180deg, var(--lacquer-top,#221a24), var(--lacquer-bottom,#15131f));position:absolute}.seal-head{margin:0 44px 10px 0}.seal-head h3{font:700 18px var(--title-font);letter-spacing:.05em;color:var(--gold);margin:0}.seal-head p{color:var(--muted);margin:4px 0 0;font-size:13px}.seal-body{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;display:grid}.seal-bench{align-content:start;gap:10px;min-width:0;display:grid}.seal-stage{background:radial-gradient(80px,#ffecc857,#0000 75%),linear-gradient(#3a2f36,#221a20);border-radius:3px;height:170px;position:relative;overflow:hidden}.seal-glow{opacity:0;background:radial-gradient(70px at 50% 52%,#ffd27880,#0000 70%);transition:opacity .3s;position:absolute;inset:0}.seal-piece{opacity:.28;filter:grayscale(.9)drop-shadow(0 4px 6px #00000080);width:104px;height:104px;transition:opacity .3s,filter .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.seal-chisel{opacity:0;transform-origin:50% 90%;width:64px;height:64px;position:absolute;top:6px;left:calc(50% + 16px)}.seal-dust{position:absolute;top:50%;left:50%}.seal-dust i{opacity:0;background:#f0e2cc;border-radius:50%;width:4px;height:4px;position:absolute}.seal-stage.carve .seal-chisel{opacity:1;animation:.4s ease-in-out infinite seal-chisel}.seal-stage.carve .seal-piece{opacity:.6;filter:grayscale(.4)drop-shadow(0 4px 6px #00000080);animation:.4s ease-in-out infinite seal-shake}.seal-stage.carve .seal-dust i{animation:.4s ease-out infinite seal-dust;animation-delay:var(--t)}.seal-stage.done .seal-glow{opacity:1}.seal-stage.done .seal-piece{opacity:1;filter:drop-shadow(0 0 10px #ffd98ab3)drop-shadow(0 4px 6px #00000080);animation:.5s cubic-bezier(.2,1.6,.4,1) seal-stamp}.seal-verdict{text-align:center;font:800 20px var(--title-font);letter-spacing:.12em;color:var(--gold-bright,#ffd98a);text-shadow:0 2px #07060b;animation:.5s ease-out seal-word;position:absolute;bottom:10px;left:0;right:0}@keyframes seal-chisel{0%,to{transform:translate(0)rotate(-8deg)}50%{transform:translate(-10px,26px)rotate(-2deg)}}@keyframes seal-shake{0%,to{transform:translate(-50%,-50%)}55%{transform:translate(-50%,-48%)}}@keyframes seal-dust{0%{opacity:0;transform:rotate(var(--a)) translate(6px)}30%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translate(var(--d))}}@keyframes seal-word{0%{opacity:0;transform:scale(1.4)}to{opacity:1;transform:none}}.seal-info{gap:8px;min-width:0;display:grid}.seal-info h4{font:700 16px var(--title-font);color:#fbf5e8;margin:0}.seal-sub{color:var(--muted);margin:-4px 0 0;font-size:12.5px}.seal-sub b{color:var(--tea,#9fd18a);font-weight:700}.seal-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.seal-slot{text-align:center;letter-spacing:0;color:#f0e2cc;background:#00000047;border:1px dashed #e8c27a59;border-radius:4px;justify-items:center;gap:2px;padding:8px 4px;display:grid}.seal-slot.main{border-color:#e8c27ab3}.seal-slot:hover:not(:disabled){background:#e8c27a1a}.seal-slot.full{background:#7cc47a1a;border-style:solid;border-color:#7cc47a}.seal-slot:disabled{cursor:default}.seal-slot-art{width:48px;height:48px;position:relative}.seal-slot-art img{width:48px;height:48px;animation:.25s ease-out seal-drop}.seal-slot-art img.ghost-art{opacity:.22;filter:grayscale();animation:none}.seal-slot b{font-size:12px;line-height:1.2}.seal-count{font:700 13px var(--title-font);color:var(--muted);font-variant-numeric:tabular-nums}.seal-count em{color:#fbf5e8;font-style:normal}.seal-count em.ok{color:#9fd8a0}.seal-slot small{color:var(--muted);font-size:11px;line-height:1.2}@keyframes seal-drop{0%{opacity:0;transform:translateY(-14px)scale(1.2)}to{opacity:1;transform:none}}.seal-go{justify-content:center;align-items:center;gap:6px;width:100%;padding:8px 10px;font-size:15px;display:inline-flex}.seal-go .ic{width:16px;height:16px}.seal-poor{color:#ffb4a0;margin:0;font-size:12.5px}.seal-list{align-content:start;gap:6px;min-width:0;max-height:420px;padding-right:4px;display:grid;overflow-y:auto}.seal-card{text-align:left;letter-spacing:0;color:#f0e2cc;background:#00000038;border:1px solid #e8c27a26;border-radius:4px;align-items:center;gap:10px;padding:6px 8px;display:flex;position:relative}.seal-card img{flex:none;width:38px;height:38px}.seal-card span{min-width:0;display:grid}.seal-card b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.seal-card small{color:var(--muted);font-size:11.5px}.seal-card:hover:not(:disabled){background:#e8c27a14}.seal-card.picked{border-color:var(--gold);background:#e8c27a1f}.seal-ready{color:#17151d;background:#9fd8a0;border-radius:9px;margin-left:auto;padding:1px 7px;font-size:11px;font-style:normal}@media (width<=640px){.seal-body{grid-template-columns:1fr}.seal-list{max-height:none}}@media (prefers-reduced-motion:reduce){.seal-stage *,.seal-stage,.seal-slot-art img{animation-duration:10ms!important;animation-iteration-count:1!important}}.dungeon-seal{background:#0000004d;border:1px solid #7cc47a73;border-radius:4px;align-items:center;gap:10px;margin:0 0 14px;padding:6px 10px;display:flex}.dungeon-seal.missing{border-color:#ff9a848c}.dungeon-seal img{flex:none;width:40px;height:40px}.dungeon-seal span{gap:1px;display:grid}.dungeon-seal b{color:#f0e2cc;font-size:13.5px}.dungeon-seal small{color:#e6d8c8;font-size:12px;line-height:1.35}.dungeon-seal.missing small{color:#ffb4a0}#dungeon-modal .dungeon-seal{margin-left:0}.stock-card{cursor:default}.stock-card img{object-fit:contain;flex:none}.res-stock img{width:40px;height:40px}:root{--safe-t:env(safe-area-inset-top,0px);--safe-r:env(safe-area-inset-right,0px);--safe-b:env(safe-area-inset-bottom,0px);--safe-l:env(safe-area-inset-left,0px);--keyboard:0px}html.touch,html.touch body{overscroll-behavior:none;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html.touch #game,html.touch #game canvas{touch-action:none}html.touch #hud{touch-action:manipulation;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}html.touch #create{touch-action:manipulation;-webkit-tap-highlight-color:transparent}html.touch input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]),html.touch select,html.touch textarea{font-size:16px}html.touch input,html.touch textarea{-webkit-user-select:text;user-select:text}html.touch .wm,html.touch #worldmap svg,html.touch #preview-stage{touch-action:none}html.touch .tip:not(#bag-tip):not(#item-view):not(#touch-tip),html.touch #hud kbd,html.touch .hud-btn>span{display:none!important}html.touch .hud-btn:hover{transform:none}#touch-tip{z-index:60;width:max-content;max-width:min(280px, calc(var(--vw) * 100 - 16px));pointer-events:none;display:block;position:absolute;top:0;bottom:auto;left:0;transform:none}#touch-tip[hidden]{display:none}#touch-hint{left:50%;bottom:calc(var(--bar-h,66px) + var(--hud-lift,0px) + 12px);z-index:6;width:max-content;max-width:calc(var(--vw) * 100 - 24px);font:700 13.5px var(--title-font,Georgia, serif);letter-spacing:.02em;text-align:center;color:#1a1206;pointer-events:none;background:linear-gradient(#f3d28e,#d9a955);border:1px solid #2a1a10;border-radius:16px;padding:6px 14px;animation:.16s ease-out touch-hint-in;position:absolute;transform:translate(-50%);box-shadow:0 4px 14px #0000008c}@keyframes touch-hint-in{0%{opacity:0;transform:translate(-50%,6px)}}#bag-items .item-card.armed{border-color:var(--gold-bright);box-shadow:0 0 0 2px #ffd28273}html.touch .window .close,html.touch #friends .close,html.touch #minimap-hide,html.touch .quest-close{min-width:36px;min-height:36px}html.touch .item-delete{min-width:34px}html.phone #hud{--hud-lift:0px}html.phone #community{display:none}html.phone #top-left{left:calc(6px + var(--safe-l));top:calc(6px + var(--safe-t));gap:5px;width:176px}html.phone #me{gap:8px;width:176px;padding:6px 8px}html.phone #minimap-show span{display:none}html.phone #settings-button{top:calc(6px + var(--safe-t));right:calc(6px + var(--safe-r));width:44px;min-width:44px;height:44px}html.phone #top-right{right:calc(6px + var(--safe-r));top:calc(56px + var(--safe-t));width:min(200px, calc(var(--vw) * 100 - 196px));gap:5px;display:flex}html.phone #top-right #map-title{white-space:nowrap;text-overflow:ellipsis;padding:4px 10px 4px 24px;font-size:13px;overflow:hidden}html.phone #top-right #quest{display:block}html.phone #top-right #fighter-card{width:100%}html.phone .quest-tracker.panel{max-height:calc(var(--vh) * 30);font-size:12.5px}html.phone #bar,html.phone #bar.in-fight{width:auto;max-width:none;padding:6px calc(6px + var(--safe-r)) calc(6px + var(--safe-b)) calc(6px + var(--safe-l));border-width:1px 0 0;border-radius:0;flex-wrap:wrap;justify-content:center;gap:6px;margin:0;bottom:0;left:0;right:0;transform:none}html.phone #bar:before,html.phone #bar:after{display:none}html.phone #bar-hero{display:none!important}html.phone .zoom-pair{display:none}html.phone .bar-buttons{flex-wrap:wrap;justify-content:center;gap:5px}html.phone #bar .hud-btn,html.phone #bar.in-fight .bar-buttons .hud-btn{width:44px;min-width:44px;height:44px}html.phone #chat,html.phone #hud.in-fight #chat{left:calc(6px + var(--safe-l));bottom:calc(var(--bar-h,66px) + 8px);width:min(250px, calc(var(--vw) * 62));padding:4px 6px}html.phone #hud.in-fight #chat{display:none}html.phone #chat-log{max-height:66px;font-size:12.5px}html.phone #chat:focus-within{bottom:calc(max(var(--keyboard), var(--bar-h,66px)) + 8px);width:calc(var(--vw) * 100 - 12px - var(--safe-l) - var(--safe-r));z-index:40}html.phone #chat:focus-within #chat-log{max-height:calc(var(--vh) * 30)}html.phone .window,html.phone #inventory,html.phone #stats,html.phone #spells,html.phone #shop,html.phone #worldmap,html.phone #quests,html.phone #refine,html.phone #parures,html.phone #deeds,html.phone #clan,html.phone #trade,html.phone #friends,html.phone #settings,html.phone #keybinds,html.phone #admin-panel{z-index:30;width:auto;max-width:none;height:auto;max-height:none;padding:calc(12px + var(--safe-t)) calc(12px + var(--safe-r)) calc(14px + var(--safe-b)) calc(12px + var(--safe-l));-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border-width:0;border-radius:0;margin:0;animation:none;position:absolute;inset:0;overflow:hidden auto;transform:none}html.phone .window:before,html.phone .window:after{display:none}html.phone .window .close,html.phone #friends .close{top:calc(8px + var(--safe-t));right:calc(8px + var(--safe-r));z-index:5;width:40px;height:40px;font-size:18px;line-height:38px;position:fixed}html.phone .window>h3,html.phone #inventory h3,html.phone #stats h3,html.phone #spells h3,html.phone #worldmap h3,html.phone #quests h3,html.phone #friends h3{min-height:32px;padding-right:48px}html.phone #dialog{right:calc(8px + var(--safe-r));bottom:calc(var(--bar-h,66px) + 10px);width:auto;max-width:480px;max-height:calc(var(--vh) * 100 - var(--bar-h,66px) - 24px - var(--safe-t));overscroll-behavior:contain;z-index:20;margin:0 auto;overflow-y:auto;transform:none;left:calc(8px + var(--safe-l))!important;top:auto!important}html.phone #dialog:after{display:none}html.phone #dialog.opening{animation:none}html.phone #dialog .primary,html.phone #dialog .ghost{padding:9px 14px;font-size:14.5px}html.phone.landscape #dialog .bubble-face img{width:60px}html.phone #emotes,html.phone #fights{bottom:calc(var(--bar-h,66px) + 10px)}html.phone #toast{max-width:calc(var(--vw) * 100 - 24px)}html.phone #bag-tip{right:8px;bottom:calc(8px + var(--safe-b));z-index:40;width:auto;position:fixed;top:auto!important;left:8px!important}html.phone #result,html.phone #report-modal{max-width:calc(var(--vw) * 100 - 16px);max-height:calc(var(--vh) * 100 - 16px);overflow-y:auto}html.phone .beta-box{max-height:calc(var(--vh) * 100 - 24px);overflow-y:auto}html.phone #create{padding:calc(12px + var(--safe-t)) calc(12px + var(--safe-r)) calc(56px + var(--safe-b)) calc(12px + var(--safe-l));-webkit-overflow-scrolling:touch;overflow-y:auto}html.phone .title-foot .credits{display:none}html.phone.landscape .title-logo h1 img{width:min(260px,40vw)}html.phone.landscape .subtitle{display:none}html.phone #bar:not(.in-fight) .bar-buttons{flex:100%;min-width:0}html.phone #turn-card,html.phone #hud #turn-card{left:calc(6px + var(--safe-l));top:calc(6px + var(--safe-t));width:172px}html.phone .turn-card{gap:7px;width:172px;padding:5px 7px}html.phone .turn-card .turn-face{width:40px;height:40px}html.phone .turn-card .turn-face .doll{width:40px;height:67px}html.phone .turn-card .turn-face .mon-icon{width:42px;height:38px;margin:1px auto}html.phone .turn-card .turn-who b{font-size:13.5px}html.phone .turn-who small{font-size:10.5px}html.phone .turn-challenges{width:172px}html.phone .turn-challenges h4,html.phone .turn-challenges li small{display:none}html.phone #hud.in-fight #top-right{width:min(210px, calc(var(--vw) * 100 - 190px))}html.phone #hud.in-fight #map-title,html.phone #hud.in-fight #quest{display:none!important}html.phone #fighter-card{max-height:calc(var(--vh) * 46);font-size:12.5px;overflow-y:auto}html.phone #bar.in-fight{grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"pool vita turn buttons""spells spells spells spells";align-items:center;gap:6px 8px;display:grid}html.phone #bar.in-fight #actionbar{display:contents}html.phone #bar.in-fight .pool{grid-area:pool;gap:6px}html.phone #bar.in-fight .pool div{width:44px;height:44px}html.phone #bar.in-fight .vita{grid-area:vita;width:48px;height:48px}html.phone #bar.in-fight .vita .vita-face{width:40px;height:40px}html.phone #bar.in-fight .vita .doll{width:40px;height:67px}html.phone #bar.in-fight .vita b{font-size:13px}html.phone #bar.in-fight .turn-box,html.phone #bar.in-fight .turn-box:not(.placement){grid-area:turn;width:auto;min-width:0}html.phone #bar.in-fight .turn-box:not(.placement)>*{height:46px}html.phone #bar.in-fight #turn-info{min-height:46px}html.phone #bar.in-fight .bar-buttons{flex-wrap:nowrap;grid-area:buttons;gap:4px}html.phone #bar.in-fight .bar-buttons .hud-btn{width:40px;min-width:40px;height:40px}html.phone #bar.in-fight .spell-bar{flex-wrap:wrap;grid-area:spells;justify-content:center;gap:5px;min-width:0;max-width:none;display:flex}html.phone #bar.in-fight .spell-group,html.phone #bar.in-fight .spell-group>div{display:contents}html.phone #bar.in-fight .spell-group>small{display:none}html.phone #bar.in-fight .spell{width:44px;height:44px}html.phone #bar.in-fight .spell .spell-icon{width:26px;height:26px}html.phone #bar.in-fight.placing{grid-template-columns:minmax(0,1fr);grid-template-areas:"turn"}html.phone #hud.in-fight #timeline{top:auto;left:50%;bottom:calc(var(--bar-h,66px) + 6px);max-width:calc(var(--vw) * 100 - 12px);scrollbar-width:none;overflow:auto hidden;transform:translate(-50%)}html.phone #hud.in-fight #timeline::-webkit-scrollbar{display:none}html.phone .tl-round{cursor:default;touch-action:auto}html.phone .tl-grip{display:none}html.phone #hud.in-fight .tl{flex:none;width:48px}html.phone #hud.in-fight .tl-level,html.phone #hud.in-fight .tl-hp{display:none}html.phone.landscape #hud.in-fight #timeline{top:calc(6px + var(--safe-t));max-width:calc(var(--vw) * 100 - 440px);bottom:auto}html.phone #log{display:none}html.phone #touch-hint{bottom:calc(var(--bar-h,66px) + 76px)}html.phone.landscape #touch-hint{bottom:calc(var(--bar-h,66px) + 10px)}html.phone #fight-note{top:calc(var(--vh) * 26);max-width:calc(var(--vw) * 100 - 24px);font-size:18px}html.phone.landscape #bar.in-fight{padding-top:4px;padding-bottom:calc(4px + var(--safe-b));grid-template-columns:auto minmax(0,1fr) 118px auto;grid-template-areas:"pool spells turn buttons""vita spells turn buttons";gap:3px 8px}html.phone.landscape #bar.in-fight .pool div{width:38px;height:38px}html.phone.landscape #bar.in-fight .vita{justify-self:center;width:40px;height:40px}html.phone.landscape #bar.in-fight .vita .vita-face{width:32px;height:32px}html.phone.landscape #bar.in-fight .bar-buttons{flex-direction:column}html.phone.landscape #bar.in-fight .spell{width:40px;height:40px}html.phone.landscape #bar.in-fight .spell-bar{gap:4px}html.phone.landscape #bar.in-fight.placing{grid-template-columns:minmax(0,1fr);grid-template-areas:"turn";justify-items:center}html.phone.landscape .turn-challenges{display:none}html.phone #inventory,html.phone #stats{grid-template-columns:minmax(0,1fr);align-content:start;height:auto}html.phone.landscape #inventory{grid-template-columns:270px minmax(0,1fr)}html.phone.landscape #stats{grid-template-columns:250px minmax(0,1fr)}html.phone #inventory .items,html.phone #shop .items,html.phone .items{max-height:none;overflow:visible}html.phone #spells,html.phone #quests,html.phone #shop,html.phone #deeds,html.phone #refine,html.phone #parures,html.phone #clan,html.phone #worldmap{display:block}html.phone .spell-book{grid-template-columns:minmax(0,1fr);height:auto;display:grid;overflow:visible}html.phone.landscape .spell-book{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html.phone .spell-detail{border-left:0;padding-left:0}html.phone .journal{grid-template-columns:minmax(0,1fr)}html.phone.landscape .journal{grid-template-columns:minmax(0,300px) minmax(0,1fr)}html.phone .journal-side .quest-list{min-height:0;max-height:none;overflow:visible}html.phone .settings-body{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);gap:10px;height:auto}html.phone .settings-tabs{border-right:0;border-bottom:1px solid var(--line);flex-flow:wrap;padding-bottom:8px;padding-right:0}html.phone .wmx{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr)}html.phone.landscape .wmx{grid-template-rows:auto;grid-template-columns:minmax(0,1fr) 250px}html.phone .wm{max-height:calc(var(--vh) * 62)}html.phone.landscape .wm{max-height:calc(var(--vh) * 100 - 70px)}html.phone #toast{width:auto;left:12px;right:12px;transform:none}html.phone #toast strong{font-size:22px}html.phone .wmx-stage{height:calc(var(--vh) * 60)}html.phone.landscape .wmx-stage{height:calc(var(--vh) * 100 - 78px - var(--safe-t) - var(--safe-b))}html.phone .wmx-search{width:auto;min-width:0;left:10px;right:10px}html.phone .wmx-filters{flex-flow:wrap;top:52px;right:56px}html.phone .wmx-chip{padding:5px 9px 5px 5px}html.phone .wmx-zoom button{width:40px;height:40px}html.phone .wmx-card{overflow:visible}html.phone .skill-tree{-webkit-overflow-scrolling:touch;overflow:auto hidden}html.phone.portrait .tree-canvas{width:720px;max-width:none!important}html.touch #settings-tab-touches{display:none}html.phone #coach{top:calc(128px + var(--safe-t));left:calc(8px + var(--safe-l));width:min(380px, calc(var(--vw) * 100 - 16px))}html.phone.landscape #coach{top:calc(58px + var(--safe-t));width:300px;padding:8px 12px;font-size:13px}html.phone #me b,html.phone #me .me-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}html.phone #bar.in-fight .spell.empty{display:none}html.phone #hud:has(#coach:not([hidden])) #turn-card{display:none}html.phone #hud.in-fight #coach{top:calc(6px + var(--safe-t));right:calc(56px + var(--safe-r));width:auto;max-width:420px;padding:8px 12px 10px}html.phone #hud.in-fight #coach p{margin:4px 0 0;font-size:13.5px;line-height:1.3}html.phone #hud.in-fight:has(#coach:not([hidden])) #top-right{top:calc(190px + var(--safe-t))}html.phone.landscape #hud.in-fight #coach{width:300px;right:auto}html.phone.landscape #hud.in-fight:has(#coach:not([hidden])) #top-right{top:calc(56px + var(--safe-t))}:is(html.phone #hud:has(#emotes:not([hidden])) #chat,html.phone #hud:has(#dialog:not([hidden])) #chat){display:none}html.touch .link{margin:-9px -4px;padding:9px 4px;display:inline-block}html.touch .recovery-check{padding:10px 0}html.touch .recovery-check input,html.touch #inventory input[type=checkbox]{width:22px;height:22px}html.touch #inventory label:has(input[type=checkbox]){align-items:center;gap:6px;min-height:36px;display:inline-flex}html.touch .swatches .swatch,html.touch .swatch{width:32px;height:32px}html.touch .swatches input[type=color]{width:36px;height:32px}html.touch .turn-btn{width:38px;height:38px}html.touch #minimap-show{min-width:44px;min-height:38px}html.touch #hud .ghost,html.touch #hud .primary,html.touch #hud select{min-height:36px}html.touch .bubble-close,html.touch #emotes .close,html.touch .quest-close,html.touch #fighter-card .close{width:36px;min-width:36px;height:36px;padding:0}html.touch .item-delete{min-height:36px}html.phone.portrait .tree-canvas{width:980px}html.phone.landscape .tree-canvas{width:980px;max-width:none!important}html.touch #colors .swatch,html.touch .look-row .swatch{width:30px;height:30px}html.touch #colors input[type=color],html.touch .look-row input[type=color]{width:34px;height:30px}html.phone #hud>[aria-modal=true],html.phone #prompts,html.phone #player-menu,html.phone #item-view,html.phone #beta-modal,html.phone #disconnected{z-index:45}html.phone #toast,html.phone #fight-note,html.phone #coach,html.phone #guide,html.phone #coach-ring{z-index:46}html.phone #touch-hint{z-index:47}html.phone #loading{z-index:70}html.phone #hud>[aria-modal=true]{max-width:calc(var(--vw) * 100 - 16px);max-height:calc(var(--vh) * 100 - 16px);overflow-y:auto}html.phone #bag-tip.at-top{bottom:auto;top:calc(8px + var(--safe-t))!important}html.touch #chat-input{min-height:36px}html.phone .title-foot{background:0 0;justify-content:center;padding:14px 0 0;position:static}html.phone #create{padding-bottom:calc(16px + var(--safe-b))}html.touch #bag-bonus,html.touch #bag-sort{height:38px}html.phone.landscape #bar.in-fight{grid-template-columns:auto minmax(0,1fr) 150px auto}html.phone #bar.in-fight .end-turn{white-space:nowrap;padding:4px 8px;font-size:17px}html.phone #result{height:auto;max-height:calc(var(--vh) * 100 - 16px);-webkit-overflow-scrolling:touch;overflow:hidden auto}html.phone #result>*{flex-shrink:0}html.phone.landscape .res-head h2{font-size:26px}html.phone #dev-edit,:is(html.phone #hud:has(#emotes:not([hidden])) #fights,html.phone #hud:has(#dialog:not([hidden])) #fights){display:none}
