/* v5.36.1 — Celestial Circuit. Scoped to Wordforge; existing worlds are unchanged. */
#wordforgeDialog{background:#26366a url('/rpg/arena/assets/arena-world.png') center/cover no-repeat;font-size:16px;--wf-chrome-height:70px}
#wordforgeDialog .wf-main{background:linear-gradient(120deg,#112245a6,#21163c6b 65%,#15295b9c);padding:calc(var(--wf-chrome-height) + 20px) clamp(12px,2vw,36px) 30px}
#wordforgeDialog .wf-top{background:linear-gradient(110deg,#132644f5,#322554f0);border-bottom:1px solid #b6d6fb80;box-shadow:0 4px 18px #07132940}
#wordforgeDialog .wf-top button{font-size:14px;min-height:44px}
#wordforgeDialog .wf-top button[aria-pressed=true]{color:#fff1c6!important;border-color:#a2f0d8!important;background:#25444c!important}
#wordforgeDialog .wf-btn{font-size:16px;min-height:46px;padding:10px 17px}
#wordforgeDialog .wf-kicker{font-size:11px!important;letter-spacing:1.7px}
#wordforgeDialog :is(.wf-ledger>div,.wf-party-select,.wf-companion-power,.wf-forge-panel){background:linear-gradient(135deg,#1d3051ed,#292447ef);border-color:#a4b8e475;box-shadow:inset 0 1px #fff2,0 10px 22px #10183244}
#wordforgeDialog .wf-battle-toolbar{padding:9px 15px;border:1px solid #b5a9e873;border-radius:14px;background:#1c2446e8}
#wordforgeDialog .wf-battle-toolbar>span{font-size:14px}
#wordforgeDialog .wf-battle-toolbar small{font-size:13px}
#wordforgeDialog .wf-battle-grid{gap:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#wordforgeDialog .wf-forge-panel{width:100%;max-width:none;margin:0}
#wordforgeDialog .wf-stage{height:clamp(240px,27vw,365px);border:1px solid #abd8ffb3;background-image:url('/rpg/arena/assets/arena-world.png');box-shadow:0 5px 0 #14244c,0 0 22px #89c6ff30}
#wordforgeDialog .wf-stage-hud{top:12px;left:12px;right:12px;gap:25px}
#wordforgeDialog .wf-health{width:46%;padding:8px;background:#172448e8}
#wordforgeDialog .wf-health :is(span,strong){font-size:12px}
#wordforgeDialog .wf-student{left:5%;bottom:11%;width:31%;height:69%;animation:wf-hero-ready 3.4s ease-in-out infinite;transform-origin:50% 90%}
#wordforgeDialog .wf-pet{left:30%;width:26%;height:54%;bottom:11%;animation:wf-pet-ready 2.8s ease-in-out infinite;transform-origin:50% 90%}
#wordforgeDialog .wf-enemy{right:2%;width:39%;height:76%;bottom:9%;animation:wf-boss-ready 3s ease-in-out infinite;transform-origin:50% 90%}
#wordforgeDialog .wf-fx{z-index:5;pointer-events:none;position:absolute;inset:0;width:100%;height:100%}
#wordforgeDialog .wf-stage-caption{z-index:6;font-size:12px;background:#172449e8}
#wordforgeDialog .wf-pet-link b{font-size:15px}#wordforgeDialog .wf-pet-link span:not(.wf-element-orb){font-size:13px}
#wordforgeDialog .wf-threat{background:#332b49ec;border-color:#dfbd7c88}
#wordforgeDialog .wf-threat b{font-size:18px}#wordforgeDialog .wf-threat small{font-size:14px}
#wordforgeDialog .wf-skills button{min-height:88px;border:1px solid #caacff8c;background:radial-gradient(ellipse at top left,#7d57a1,#262c52);box-shadow:inset 0 1px #fff3,0 4px 0 #162342}
#wordforgeDialog .wf-skills button span{font-size:32px;color:#ffeab6}
#wordforgeDialog .wf-skills button b{font-size:19px}#wordforgeDialog .wf-skills button small{font-size:14px;color:#e1d9f6}
#wordforgeDialog .wf-skills button:not(:disabled){border-color:#efd8a0;box-shadow:inset 0 1px #fff3,0 4px 0 #162342,0 0 17px #b994eb40}
#wordforgeDialog .wf-spell-powers b{font-size:14px}#wordforgeDialog .wf-spell-powers small{font-size:12px}
#wordforgeDialog .wf-move-preview{padding:12px;min-height:63px;background:#152546f2}
#wordforgeDialog .wf-move-preview b{font-size:19px}#wordforgeDialog .wf-move-preview span{font-size:13px}
#wordforgeDialog .wf-cast-actions .wf-btn{font-size:20px;min-height:50px}
#wordforgeDialog .wf-rack-heading b{font-size:16px}#wordforgeDialog .wf-rack-heading small{font-size:12px}
#wordforgeDialog .wf-rack-tools .wf-btn{font-size:13px;min-height:36px;padding:6px 9px}
#wordforgeDialog .wf-letter-rack button{min-height:42px;max-height:52px}
#wordforgeDialog .wf-forge-heading h2{font-size:26px!important}
#wordforgeDialog .wf-duel-score{padding:10px 12px}#wordforgeDialog .wf-duel-score small{font-size:12px}
#wordforgeDialog .wf-turn-note{font-size:13px}#wordforgeDialog .wf-turn-note>span{font-size:11px}
#wordforgeDialog .wf-board-controls{font-size:13px}#wordforgeDialog .wf-board-controls .wf-btn{font-size:12px;min-height:34px;padding:6px 9px}
#wordforgeDialog .wf-board-shell{width:min(100%,max(290px,calc(100svh - 420px)),570px)}
#wordforgeDialog .wf-board-shell.ornate{width:min(100%,max(340px,calc(100svh - 270px)),640px);padding:0;background:radial-gradient(ellipse,#81c6fa24,transparent 75%)}
#wordforgeDialog .wf-board-frame-art{pointer-events:none;filter:drop-shadow(0 3px 6px #08142bb0)}
/* Persistent launch dock consumes its own space, never covers the scroll area. */
#wordforgeDialog .wf-launch-dock{flex:0 0 auto;z-index:8;padding:9px clamp(12px,2vw,36px) max(9px,env(safe-area-inset-bottom));background:linear-gradient(100deg,#15294efc,#332851fc);border-top:1px solid #dabd8c;box-shadow:0 -8px 30px #09182b66}
#wordforgeDialog .wf-launch-dock .wf-launch{border:0;border-radius:0;box-shadow:none;background:none;padding:0;min-height:65px}
#wordforgeDialog .wf-launch-dock b{font:23px var(--quest-display)}
#wordforgeDialog .wf-launch-dock small{font-size:11px;letter-spacing:1.2px}
#wordforgeDialog .wf-launch-dock span{font-size:14px;color:#d7e4fa}
#wordforgeDialog .wf-launch-dock .wf-start{min-height:56px;min-width:245px;font:24px var(--quest-display);padding:12px 28px}
#wordforgeDialog .wf-recent-words{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
#wordforgeDialog .wf-recent-words button{padding:7px 12px;background:#214c59;border:1px solid #80cecd;color:#d9fff1;border-radius:9px;font-size:14px;font-weight:900}
#wordforgeDialog .wf-collection-total b{font:36px var(--quest-display);color:#ffdfa4;margin-right:6px}
#wordforgeDialog .wf-ledger p{font-size:15px}
/* Complete shop banner. Intrinsic image ratio prevents clipped ears and products. */
#wordforgeDialog .wf-atelier-hero{display:grid;grid-template-columns:1fr;min-height:0;max-height:none;background:#20315a;border-color:#eed5a4}
#wordforgeDialog .wf-atelier-hero>img{position:relative;grid-area:1/1;width:100%;height:auto;object-fit:contain;z-index:0;display:block}
#wordforgeDialog .wf-atelier-hero::before{grid-area:1/1;z-index:1;background:linear-gradient(90deg,#14243bfa,#1a315bd9 35%,transparent 72%);pointer-events:none}
#wordforgeDialog .wf-atelier-hero>div{grid-area:1/1;z-index:2;align-self:center;width:44%;max-width:44%;padding:28px 7%;gap:14px}
#wordforgeDialog .wf-atelier-hero h1{font-size:clamp(34px,4vw,72px)!important;letter-spacing:-1px}
#wordforgeDialog .wf-atelier-hero small{font-size:16px}
#wordforgeDialog .wf-atelier-hero p:not(.wf-kicker){font-size:clamp(20px,2vw,30px)}
#wordforgeDialog .wf-career{background:linear-gradient(125deg,#233d56f5,#3a2e56f5);border-color:#b2cbea73}
#wordforgeDialog .wf-career-progress b{font-size:20px}#wordforgeDialog .wf-career-progress :is(span,small){font-size:14px}
#wordforgeDialog .wf-shop-layout{grid-template-columns:minmax(245px,.7fr) minmax(0,2.4fr);gap:20px}
#wordforgeDialog .wf-fitting-room{top:8px;padding:20px;background:radial-gradient(ellipse at 50% 22%,#305761d9,transparent 64%),linear-gradient(145deg,#203858f5,#29203ff5);border-color:#9dc9ee99}
#wordforgeDialog .wf-fitting-room>h2{font-size:26px!important}
#wordforgeDialog .wf-mini-board{max-width:340px}
#wordforgeDialog .wf-mini-board.ornate{padding:17%;background:radial-gradient(ellipse,#6ebddb30,transparent 75%)}
#wordforgeDialog .wf-mini-board .wf-mini-grid{box-shadow:0 0 20px #60cddd26}
#wordforgeDialog .wf-equipped-list b{font-size:15px;max-width:76%}
#wordforgeDialog .wf-equipped-list small{font-size:11px}
#wordforgeDialog .wf-equipped-list button{font-size:12px;min-height:32px;padding:4px 8px}
#wordforgeDialog .wf-mini-magic>span{font-size:15px}
#wordforgeDialog .wf-style-preview>p,#wordforgeDialog .wf-shop-note{font-size:13px;line-height:1.55}
#wordforgeDialog .wf-shop-tabs{position:relative;z-index:3;gap:9px}
#wordforgeDialog .wf-shop-tabs .wf-btn{font-size:17px;min-height:50px;font-weight:900}
#wordforgeDialog .wf-shop-toolbar>span{font-size:14px}
#wordforgeDialog .wf-shop-cards{gap:17px}
#wordforgeDialog .wf-treasure{border-radius:22px;border-width:1px;background:linear-gradient(150deg,#263e60f5,#272543f8);box-shadow:0 5px 0 #152046,0 12px 25px #0c172b4d}
#wordforgeDialog .wf-treasure-art{aspect-ratio:1.18;padding:20px;background:radial-gradient(ellipse at 50% 43%,color-mix(in srgb,var(--treasure) 25%,transparent),transparent 67%),repeating-conic-gradient(from 0deg,#ffffff05 0 8deg,transparent 8deg 24deg),linear-gradient(130deg,#1b3556,#292548)}
#wordforgeDialog .wf-treasure-art .wf-mini-board{width:100%;max-width:none;margin:0}
#wordforgeDialog .wf-rarity{font-size:11px;padding:5px 9px;letter-spacing:1px;background:#172340ed}
#wordforgeDialog .wf-treasure-copy{padding:20px;gap:12px}
#wordforgeDialog .wf-treasure-copy>small{font-size:11px}
#wordforgeDialog .wf-treasure-copy h3{font-size:clamp(22px,1.8vw,29px)!important}
#wordforgeDialog .wf-treasure-copy p{font-size:16px;min-height:3em;line-height:1.5}
#wordforgeDialog .wf-treasure-price b{font-size:17px}#wordforgeDialog .wf-treasure-price span{font-size:13px}
#wordforgeDialog .wf-treasure-actions{gap:9px}
#wordforgeDialog .wf-treasure-actions>.wf-btn{font-size:16px;min-height:47px;padding:9px 8px}
/* Bevels, etched details and element motifs are real UI, including equipped tiles. */
#wordforgeDialog [data-tiles=jade],#wordforgeDialog[data-tiles=jade]{--tile-fill:linear-gradient(135deg,#e8fff4 0%,#8fefd0 33%,#3caf9c 66%,#c4ffe0 100%);--tile-edge:#78ead1;--tile-ink:#073c37;--tile-shine:#e7fff5;--tile-shadow:#116355}
#wordforgeDialog [data-tiles=rose],#wordforgeDialog[data-tiles=rose]{--tile-fill:linear-gradient(125deg,#fff6ee,#ffc6dc 30%,#eb86b9 68%,#ffe4e7);--tile-edge:#ffd3ba;--tile-ink:#642147;--tile-shine:#fff5cf;--tile-shadow:#9b4b73}
#wordforgeDialog [data-tiles=moon],#wordforgeDialog[data-tiles=moon]{--tile-fill:linear-gradient(135deg,#eff7ff,#b9c6ff 27%,#89cdeb 48%,#afa3ed 70%,#ebcaff);--tile-edge:#d3e3ff;--tile-ink:#262761;--tile-shine:#e6faff;--tile-shadow:#5d639a}
#wordforgeDialog .wf-tile-sample{gap:10px;transform:rotate(-7deg);padding-top:18px;filter:drop-shadow(0 15px 12px #08152b88)}
#wordforgeDialog .wf-tile-sample i{width:29%;aspect-ratio:.8;position:relative;border:3px solid var(--tile-edge);background:var(--tile-fill);color:var(--tile-ink);border-radius:18%;box-shadow:inset 0 0 0 3px #fff5,inset 0 -10px 16px #19424435,0 7px 0 var(--tile-shadow);overflow:hidden}
#wordforgeDialog .wf-tile-sample i::before{content:'';position:absolute;inset:6px;border:1px solid var(--tile-ink);opacity:.3;border-radius:12%}
#wordforgeDialog .wf-tile-sample i::after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 25%,#fff8 26%,#fff0 52%);pointer-events:none}
#wordforgeDialog .wf-tile-sample b{z-index:1;font:clamp(28px,3.2vw,56px) var(--quest-display);text-shadow:0 2px var(--tile-shine)}
#wordforgeDialog .wf-tile-sample em{position:absolute;top:7%;left:12%;font-size:clamp(14px,1.5vw,25px);font-style:normal;opacity:.68}
#wordforgeDialog .wf-tile-sample small{bottom:8%;right:12%;font-size:17px}
#wordforgeDialog :is([data-tiles=jade],[data-tiles=rose],[data-tiles=moon]) .wf-mini-grid .letter,#wordforgeDialog:is([data-tiles=jade],[data-tiles=rose],[data-tiles=moon]) :is(.wf-square.draft,.wf-square.fixed:not(.boss-owned),.wf-letter-rack button){background:var(--tile-fill);border-color:var(--tile-edge);color:var(--tile-ink);box-shadow:inset 0 1px 2px #fff9,inset 0 -3px #25304b22,0 2px 0 var(--tile-shadow)}
#wordforgeDialog .wf-title-badge{position:relative;width:100%;display:grid;grid-template-columns:1fr;place-items:center;isolation:isolate;aspect-ratio:1.5;text-align:center}
#wordforgeDialog .wf-title-badge>img{grid-area:1/1;width:100%;max-width:100%;height:auto;filter:drop-shadow(0 8px 10px #0a102bb3)}
#wordforgeDialog .wf-title-badge>b{position:absolute;bottom:4%;font:clamp(20px,2.1vw,34px) var(--quest-display);color:#fff3c4;text-shadow:0 2px 0 #3a2256,0 0 6px #211640;background:linear-gradient(90deg,transparent,#211944bd,transparent);width:105%;padding:8px 3px;z-index:1;letter-spacing:.5px}
#wordforgeDialog .wf-title-badge>span{font-size:58px;color:#ffe7ad}
#wordforgeDialog .wf-title-badge.small{max-width:280px;margin:auto;aspect-ratio:2}
#wordforgeDialog .wf-title-badge.small>img{width:93%;max-width:100%}
#wordforgeDialog .wf-title-badge.small>b{font-size:20px;bottom:0}
#wordforgeDialog .wf-title-badge[data-title=explorer]{aspect-ratio:auto;display:flex;gap:10px;justify-content:center;margin:10px auto}
#wordforgeDialog .wf-title-badge[data-title=explorer]>b{position:static;width:auto;background:none}
#wordforgeDialog .wf-title-badge[data-title=explorer]>span{font-size:28px}
#wordforgeDialog .wf-effect-showcase{border:1px solid #b9d9ec80;background:linear-gradient(130deg,#243a61ee,#302049ee);border-radius:21px;margin-bottom:20px;padding:18px}
#wordforgeDialog .wf-effect-showcase h2{margin:8px 0;font-size:27px}
#wordforgeDialog .wf-effect-showcase p{font-size:16px;color:#dbdef3}
#wordforgeDialog .wf-effect-theatre{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:3;margin:15px 0;border-radius:16px;border:1px solid #99eaff73;background:#24456b url('/rpg/arena/assets/arena-world.png') center/cover}
#wordforgeDialog .wf-effect-theatre>img{position:absolute;bottom:5%;height:83%;width:27%;object-fit:contain;filter:drop-shadow(0 6px 7px #13233b)}
#wordforgeDialog .wf-demo-hero{left:6%}#wordforgeDialog .wf-demo-boss{right:6%}
#wordforgeDialog .wf-effect-theatre>canvas{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
#wordforgeDialog .wf-effect-play-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
#wordforgeDialog .wf-effect-showcase>small{font-size:14px;color:#c6e5f3}
#wordforgeDialog .wf-magic-sample{transform:none;background:radial-gradient(circle,#ffeccc13,transparent 60%);width:72%;animation:wf-orbit-pulse 3s ease-in-out infinite}
#wordforgeDialog .wf-magic-sample>span{font-size:clamp(50px,5vw,94px)}
#wordforgeDialog .wf-magic-sample>i{left:calc(50% + cos(var(--i) * 30deg) * 44%);top:calc(50% + sin(var(--i) * 30deg) * 44%);font-size:24px;color:var(--treasure);animation:wf-spark-drift 2.4s ease-in-out infinite;animation-delay:calc(var(--i) * -160ms);text-shadow:0 0 10px currentColor}
#wordforgeDialog .wf-level-road{background:linear-gradient(135deg,#25385be8,#352950ef)}
#wordforgeDialog .wf-level-road>p{font-size:16px}
#wordforgeDialog .wf-level-road article>span{font-size:14px;line-height:1.5}
#wordforgeDialog .wf-level-road article>small{font-size:12px}
/* Choreography: actor motion and readable impact feedback. */
#wordforgeDialog :is(.wf-skill-callout,.wf-boss-skill,.wf-rival-callout,.wf-assist-callout,.wf-fx-static){position:absolute;z-index:9;pointer-events:none;text-align:center;font:clamp(14px,1.6vw,25px) var(--quest-display);color:#fff0b6;text-shadow:0 2px 2px #33284f;background:linear-gradient(90deg,#18274de8,#64458deb,#18274de8);border:1px solid #e4c4a9;border-radius:10px;padding:8px 17px;max-width:92%;box-shadow:0 5px 20px #18235488}
#wordforgeDialog .wf-skill-callout{left:50%;top:24%;transform:translateX(-50%);width:max-content;animation:wf-callout .95s both}
#wordforgeDialog .wf-boss-skill{right:5%;top:24%;animation:wf-callout .9s both}
#wordforgeDialog .wf-rival-callout{right:5%;bottom:17%;font-size:clamp(13px,1.3vw,21px);animation:wf-callout 1.15s both}
#wordforgeDialog .wf-assist-callout{left:5%;bottom:15%;font-size:clamp(13px,1.3vw,21px);color:#c5ffe7;animation:wf-callout .9s both}
#wordforgeDialog .wf-fx-static{left:10%;right:10%;top:40%}
#wordforgeDialog .wf-damage{position:absolute;z-index:10;right:8%;top:32%;font:clamp(24px,3.8vw,56px) var(--quest-display);color:#ffe392;text-shadow:0 3px #6f314d,-2px 0 #6f314d,2px 0 #6f314d;animation:wf-damage-rise .85s both;pointer-events:none;max-width:75%;text-align:right}
#wordforgeDialog .wf-taken{position:absolute;z-index:10;left:9%;top:35%;font:clamp(24px,3vw,46px) var(--quest-display);color:#ffd4e5;text-shadow:0 3px #622f6a;animation:wf-damage-rise .85s both;pointer-events:none}
#wordforgeDialog .wf-casting .wf-student{animation:wf-hero-cast .7s ease both}
#wordforgeDialog .wf-casting .wf-pet{animation:wf-pet-cast .8s ease both}
#wordforgeDialog .wf-impact .wf-enemy{animation:wf-recoil .52s ease both}
#wordforgeDialog .wf-counter .wf-enemy{animation:wf-boss-cast .75s ease both}
#wordforgeDialog .wf-counter-slime .wf-enemy{animation:wf-jelly-jump .8s ease both}
#wordforgeDialog .wf-counter-frost .wf-enemy{animation:wf-ice-spin .8s ease both}
#wordforgeDialog .wf-counter-storm .wf-enemy{animation:wf-thunder-dive .8s ease both}
#wordforgeDialog .wf-team-hit .wf-student{animation:wf-team-recoil .55s both}
#wordforgeDialog .wf-team-block .wf-student{filter:drop-shadow(0 0 15px #9fffff)}
#wordforgeDialog .wf-skill-active .wf-student{animation:wf-skill-lift 1s ease both}
#wordforgeDialog .wf-pet-assisting .wf-pet{animation:wf-pet-assist .7s ease both}
#wordforgeDialog .wf-ultimate .wf-pet{animation:wf-pet-assist 1.2s ease both;filter:drop-shadow(0 0 20px #fff0ae)}
@keyframes wf-hero-ready{50%{transform:translateY(-4px) rotate(-1deg)}}
@keyframes wf-pet-ready{50%{transform:translateY(-9px) rotate(3deg)}}
@keyframes wf-boss-ready{50%{transform:translateY(-6px) scale(1.025)}}
@keyframes wf-hero-cast{0%,100%{transform:none}28%{transform:translateX(-7px) rotate(-6deg)}65%{transform:translateX(19px) rotate(5deg)}}
@keyframes wf-pet-cast{30%{transform:translateY(-20px) rotate(-9deg)}65%{transform:translateX(20px) rotate(4deg)}}
@keyframes wf-boss-cast{35%{transform:translateX(12px) rotate(5deg)}60%{transform:translateX(-24px) rotate(-7deg)}}
@keyframes wf-recoil{25%{transform:translateX(15px) rotate(7deg);filter:brightness(1.3)}65%{transform:translateX(-4px)}}
@keyframes wf-team-recoil{30%{transform:translateX(-14px) rotate(-5deg)}70%{transform:translateX(4px)}}
@keyframes wf-jelly-jump{25%{transform:scale(1.12,.8)}50%{transform:translate(-28px,-30px) scale(.9,1.15)}80%{transform:scale(1.12,.86)}}
@keyframes wf-ice-spin{45%{transform:rotate(-18deg) translateX(-25px)}75%{transform:rotate(9deg)}}
@keyframes wf-thunder-dive{25%{transform:translate(10px,-24px)}60%{transform:translate(-35px,12px) rotate(-12deg)}}
@keyframes wf-skill-lift{45%{transform:translateY(-13px);filter:drop-shadow(0 0 15px #eed1ff)}}
@keyframes wf-pet-assist{40%{transform:translate(15px,-25px) scale(1.08);filter:drop-shadow(0 0 18px #b5fff1)}}
@keyframes wf-callout{0%{opacity:0;scale:.88}17%,72%{opacity:1;scale:1}100%{opacity:0;scale:1.02}}
@keyframes wf-damage-rise{0%{opacity:0;translate:0 12px;scale:.7}20%{opacity:1;scale:1.15}60%{opacity:1}100%{opacity:0;translate:0 -30px;scale:1}}
@keyframes wf-orbit-pulse{50%{box-shadow:0 0 25px color-mix(in srgb,var(--treasure) 30%,transparent),inset 0 0 20px #fff1}}
@keyframes wf-spark-drift{50%{translate:0 -8px;rotate:20deg;opacity:.65}}
@media(min-width:1600px){#wordforgeDialog .wf-treasure-art{aspect-ratio:1.22}#wordforgeDialog .wf-treasure-copy h3{font-size:28px!important}}
@media(max-width:1180px){#wordforgeDialog .wf-shop-layout{grid-template-columns:250px minmax(0,1fr)}#wordforgeDialog .wf-shop-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#wordforgeDialog .wf-shop-tabs .wf-btn{font-size:15px}#wordforgeDialog .wf-battle-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1fr)}#wordforgeDialog .wf-battle-left{position:static}#wordforgeDialog .wf-stage{height:240px}#wordforgeDialog .wf-skills button small{font-size:12px}#wordforgeDialog .wf-atelier-hero>div{width:47%;max-width:47%;padding:20px 5%}#wordforgeDialog .wf-atelier-hero small{font-size:14px}}
@media(max-width:760px){
 #wordforgeDialog .wf-main{padding:calc(var(--wf-chrome-height) + 12px) 10px 24px}#wordforgeDialog .wf-top{padding:8px 10px;gap:7px;flex-wrap:wrap;min-height:0}#wordforgeDialog .wf-top nav{gap:4px}#wordforgeDialog .wf-top button{font-size:12px;padding:6px 8px;min-height:38px}#wordforgeDialog .wf-brand strong{font-size:17px}#wordforgeDialog .wf-brand>span{font-size:26px}#wordforgeDialog .wf-brand small{font-size:7px;letter-spacing:1px}
 #wordforgeDialog .wf-launch-dock{padding:9px 12px max(9px,env(safe-area-inset-bottom))}#wordforgeDialog .wf-launch-dock .wf-launch{gap:8px;min-height:54px;flex-direction:row;align-items:center}#wordforgeDialog .wf-launch-dock span{display:none}#wordforgeDialog .wf-launch-dock b{font-size:19px}#wordforgeDialog .wf-launch-dock small{font-size:10px}#wordforgeDialog .wf-launch-dock .wf-start{font-size:20px;min-width:0;padding:12px 16px;min-height:50px}
 #wordforgeDialog .wf-battle-grid{display:flex;flex-direction:column}#wordforgeDialog .wf-battle-left{display:contents}#wordforgeDialog .wf-stage{height:210px;width:100%;position:relative}#wordforgeDialog .wf-forge-panel{order:2;max-width:100%;padding:10px}#wordforgeDialog .wf-battle-cast{order:3;width:100%}#wordforgeDialog .wf-board-shell{width:min(100%,420px)}#wordforgeDialog .wf-board-shell.ornate{width:min(100%,470px);padding:0}#wordforgeDialog .wf-board-viewport.fit .wf-square>span{font-size:6px}#wordforgeDialog .wf-board-viewport.fit .wf-square>b{font-size:clamp(10px,3.6vw,17px)}#wordforgeDialog .wf-battle-toolbar{flex-wrap:wrap;gap:7px;font-size:13px}#wordforgeDialog .wf-active-title{font-size:12px!important}#wordforgeDialog .wf-threat{width:100%;order:4}#wordforgeDialog .wf-skills{width:100%;order:5}#wordforgeDialog .wf-skills button{min-height:84px}#wordforgeDialog .wf-skills button b{font-size:17px}#wordforgeDialog .wf-rack-tools .wf-btn{font-size:12px;padding:6px}#wordforgeDialog .wf-rack-heading small{font-size:11px}#wordforgeDialog .wf-pet-link{width:100%;order:1}#wordforgeDialog .wf-pet-link b{font-size:13px}#wordforgeDialog .wf-pet-link span:not(.wf-element-orb){font-size:12px}
 #wordforgeDialog .wf-atelier-hero{display:flex;flex-direction:column}#wordforgeDialog .wf-atelier-hero>img{order:0;width:100%;height:auto}#wordforgeDialog .wf-atelier-hero>div{order:1;width:100%;max-width:100%;padding:20px;gap:8px;background:linear-gradient(120deg,#223758,#383058)}#wordforgeDialog .wf-atelier-hero::before{display:none}#wordforgeDialog .wf-atelier-hero h1{font-size:36px!important}#wordforgeDialog .wf-atelier-hero small{font-size:15px}
 #wordforgeDialog .wf-shop-layout{display:flex;flex-direction:column;gap:18px}#wordforgeDialog .wf-fitting-room{position:static;display:block;width:100%;padding:17px}#wordforgeDialog .wf-style-preview{max-width:300px;margin:auto}#wordforgeDialog .wf-equipped-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}#wordforgeDialog .wf-equipped-list>span{min-height:70px}#wordforgeDialog .wf-equipped-list b{font-size:13px;max-width:75%}#wordforgeDialog .wf-shop-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#wordforgeDialog .wf-treasure-art{aspect-ratio:1;padding:15px}#wordforgeDialog .wf-treasure-copy{padding:14px;gap:10px}#wordforgeDialog .wf-treasure-copy h3{font-size:23px!important}#wordforgeDialog .wf-treasure-copy p{font-size:15px}#wordforgeDialog .wf-treasure-price{flex-wrap:wrap;align-items:start}#wordforgeDialog .wf-treasure-actions{flex-wrap:wrap}#wordforgeDialog .wf-treasure-actions>.wf-btn{font-size:15px;flex-basis:100%;min-height:44px}#wordforgeDialog .wf-title-badge>b{font-size:21px}#wordforgeDialog .wf-shop-tabs .wf-btn{font-size:15px;min-width:135px}#wordforgeDialog .wf-effect-theatre{aspect-ratio:2}#wordforgeDialog .wf-effect-play-row .wf-btn{flex:1;min-width:150px}#wordforgeDialog .wf-career-progress b{font-size:17px}#wordforgeDialog .wf-career-progress :is(span,small){font-size:12px}#wordforgeDialog .wf-level-road{padding:18px}#wordforgeDialog .wf-level-road>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:440px){#wordforgeDialog .wf-shop-cards{grid-template-columns:1fr}#wordforgeDialog .wf-treasure-art{aspect-ratio:1.25}#wordforgeDialog .wf-treasure-actions{flex-wrap:nowrap}#wordforgeDialog .wf-treasure-actions>.wf-btn{flex-basis:0}#wordforgeDialog .wf-title-badge>b{font-size:27px}#wordforgeDialog .wf-tile-sample b{font-size:42px}#wordforgeDialog .wf-top .wf-brand{display:none}#wordforgeDialog .wf-top .wf-back span{font-size:11px}#wordforgeDialog .wf-launch-dock b{font-size:16px}#wordforgeDialog .wf-launch-dock .wf-start{font-size:18px}#wordforgeDialog .wf-collection-total b{font-size:30px}}
#wordforgeDialog.wf-reduced *,#wordforgeDialog.wf-reduced *::before,#wordforgeDialog.wf-reduced *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

#wordforgeDialog .wf-status{top:var(--wf-chrome-height)}
#wordforgeDialog .wf-active-title{display:flex;align-items:center;gap:6px}
#wordforgeDialog .wf-active-title img{width:58px;height:42px;object-fit:contain}
