:root{font-family:Microsoft YaHei,system-ui,sans-serif;color:#332d2a;background:#cfc2b3;--office-modal-veil: rgb(0 0 0 / 55%);--office-modal-blur: blur(4px)}*{box-sizing:border-box}html,body{touch-action:pan-y pinch-zoom}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 50% 0%,#f6efe5 0,#f6efe5 42%,#cbbdaf)}button{font:inherit}.phone{width:min(100%,480px);min-height:100vh;margin:0 auto;padding:env(safe-area-inset-top) 0 max(12px,env(safe-area-inset-bottom));background:#f1e6d9;box-shadow:0 0 28px #57463f55}.hud{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-height:clamp(50px,14vw,62px);padding:0 clamp(12px,5vw,24px);border-top:1px solid #9a897e;border-bottom:1px solid #9a897e;background:#f1e6d9;color:#26211f}.hud strong{grid-column:2;grid-row:1;white-space:nowrap;font-size:clamp(21px,5.5vw,28px);font-weight:900;line-height:1}.hud .budget{grid-column:1;grid-row:1;justify-self:start;display:inline-flex;align-items:center;gap:clamp(5px,1.5vw,8px);color:#26211f;font-size:clamp(22px,5.6vw,28px);font-weight:500;line-height:1;font-variant-numeric:tabular-nums}.hud .budget .cash-icon{width:clamp(39px,10.8vw,52px);height:clamp(27.6px,7.65vw,36.8px)}.section{margin:0;border:0;border-radius:0;background:#ded1c4}.garden-divider{height:34px;overflow:hidden;background:#c7cbb0}.garden-divider svg{display:block;width:100%;height:100%}.board-wrap{padding:0;display:block;background:#e7dbce}.board{width:100%;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:1px;position:relative}.cell{aspect-ratio:1;position:relative;overflow:visible;border:1px solid #ad9a90;background:#807173;padding:0;border-radius:2px;cursor:pointer;touch-action:none}.cell.brush-striking{z-index:8}.cell:before{content:"";position:absolute;pointer-events:none;z-index:1}.cell.closed{background:linear-gradient(135deg,#8b7d80,#796c70)}.cell.closed:before{top:23%;right:23%;bottom:23%;left:23%;border:1px solid #aa9a99;border-radius:2px;box-shadow:0 7px 0 -5px #675b60;opacity:.62}.cell.desk{background:#fffaf3}.cell.desk:before{left:20%;top:22%;width:60%;height:38%;border:1px solid #d5c7b8;border-radius:2px;background:#f3ece2;box-shadow:0 7px 0 -5px #c9b8a6;opacity:.72}.cell.route{background:repeating-linear-gradient(135deg,#c9dad7 0,#c9dad7 7px,#bed1ce 7px,#bed1ce 14px);box-shadow:inset 0 0 0 2px #9eafb0;cursor:not-allowed}.cell.route:before{left:12%;right:12%;top:48%;border-top:1px dashed #90aaa7;opacity:.8}.cell .entry{position:absolute;left:50%;bottom:2px;z-index:2;color:#5c514d;font-size:clamp(10px,3vw,13px);font-weight:900;white-space:nowrap;transform:translate(-50%)}.core{position:absolute;top:4px;right:1px;bottom:1px;left:1px;z-index:4;display:grid;grid-template-rows:7px 1fr;align-items:center;justify-items:center;pointer-events:none}.core em{color:#3f3431;font-style:normal;font-weight:900;font-size:clamp(23px,7vw,34px);line-height:1}.core-health{width:82%;height:5px;overflow:hidden;border-radius:4px;background:#7d6867;box-shadow:0 0 0 1px #4a3f3d}.core-health b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e76362,#f49a68);transition:width .16s linear}.unit{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:grid;place-items:center;color:var(--role);font-size:clamp(29px,8.5vw,41px);font-weight:900;text-shadow:0 1px #fffdf7,0 0 2px #fffdf7;transform-origin:50% 72%}.unit-glyph{position:relative;z-index:2;display:inline-block;width:1em;height:1em;line-height:1;text-align:center;white-space:nowrap;vertical-align:middle}.char-left,.char-right{position:absolute;top:0;display:block;width:1em;height:1em;line-height:1;white-space:nowrap;transform-origin:left 58%}.char-left{left:0}.char-right{left:.41em}.glyph-full,.glyph-anatomy{position:absolute;top:0;right:0;bottom:0;left:0;display:block;transition:opacity 45ms ease-out}.glyph-full{line-height:1;text-align:center;opacity:1}.glyph-anatomy{opacity:0;pointer-events:none}.glyph-anatomy .char-left{transform:scaleX(.54);transform-origin:50% 100%}.glyph-anatomy .char-right{transform:scaleX(.59);transform-origin:left 58%}.glyph-brush-active .glyph-radical{opacity:0}.glyph-brush-active .glyph-anatomy{opacity:1}.glyph-brush-active .char-left{color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;transform-origin:50% 100%}.brush-weapon{position:absolute;z-index:2;top:.06em;left:50%;display:block;width:.42em;height:.83em;opacity:0;transform:translate(-50%);transform-origin:50% 100%;transition:opacity 35ms ease-out;pointer-events:none}.brush-weapon i{position:absolute;display:block}.brush-weapon i.brush-contact{left:50%;top:0;width:0;height:0;padding:0;border:0}.brush-tip{top:0;left:0;width:100%;height:.24em;clip-path:polygon(50% 0,100% 100%,0 100%);background:var(--role)}.brush-ferrule{top:.205em;left:50%;width:.34em;height:.075em;transform:translate(-50%);border-radius:2px;background:var(--role)}.brush-shaft{top:.26em;bottom:0;left:50%;width:.105em;transform:translate(-50%);border-radius:3px 3px 1px 1px;background:var(--role)}.glyph-brush-active .brush-weapon{opacity:1}.code-glyph{overflow:visible}.code-anatomy{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;display:block;width:1em;height:1em;opacity:0;transition:opacity .08s linear;pointer-events:none}.code-computer{position:absolute;left:.01em;top:.07em;width:.43em;height:.9em;overflow:visible}.code-active .glyph-radical{opacity:0}.code-active .code-anatomy{opacity:1}.code-active .code-swing-stroke{animation:code-radical-swing .58s cubic-bezier(.2,.8,.25,1) both;transform-origin:30% 80%}.ops-glyph{overflow:visible}.ops-anatomy{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;display:block;width:1em;height:1em;opacity:0;transition:opacity .07s linear;pointer-events:none}.unit-glyph.text-motion-idle{animation:glyph-breath 2.8s ease-in-out infinite;transform-origin:50% 72%}.finance-glyph{width:1.15em;height:1.15em;overflow:visible}.finance-glyph svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;fill:currentColor}.cell.finance-combo-anchor{z-index:4}.finance-active.unit{visibility:hidden}.finance-combo,.personnel-combo,.law-combo{position:absolute;display:grid;container-type:size;grid-template-columns:calc(3.2% + 1px) minmax(0,1fr) .75px max-content 6px;grid-template-rows:calc(6.1% + .5px) minmax(0,1fr) calc(6.1% + .5px);z-index:5;top:-1px;left:-1px;width:calc(200% + 5px);height:calc(100% + 2px);pointer-events:none;color:var(--role);background:#fffaf3 url(/tafang/finance-frame.png) center / 100% 100% no-repeat;box-shadow:0 0 7px #ffe43791,inset 0 0 6px #ffe66d55}:is(.finance-combo,.personnel-combo,.law-combo).is-mirror{left:auto;right:-1px}:is(.finance-combo,.personnel-combo,.law-combo)>b{position:relative;grid-column:4;grid-row:1 / -1;align-self:start;margin-top:5px;z-index:6;color:#ffcf00;font-size:10px;line-height:10px;font-variant-numeric:tabular-nums}.finance-combo-art,.personnel-combo-art,.law-combo-art{position:relative;grid-column:2;grid-row:2;font-size:clamp(27.55px,8.075vw,38.95px);--second-x: min( calc(75% + 2px) , calc(100% - .54em) );--first-x: min( calc(25% + 2px) , calc(var(--second-x) - .94em));--pair-row: 50%}@container (min-width: 95px){:is(.finance-combo-art,.personnel-combo-art,.law-combo-art){grid-column:2 / -1;margin-right:calc(3.2cqw + 1px);--second-x: min( calc(75% - 2px) , calc(100% - .54em) );--pair-row: max(50%, calc(15.25px - 6.1cqh + .311em) )}}.finance-cai-stage,.finance-cai-base,.finance-combo-wu,.personnel-combo-ren{position:absolute;left:var(--first-x);top:var(--pair-row);width:1.15em;height:1.15em;transform:translate(-50%,-50%)}.finance-cai-stage{transition:left .12s .42s,top .12s .42s}.finance-cai-base{overflow:visible;fill:currentColor;transition:left .12s .42s}.finance-engaged:not(.finance-ultimate) :is(.finance-cai-stage,.finance-cai-base){left:max(var(--first-x),.69em);transition:none}.finance-engaged:not(.finance-ultimate) .finance-cai-stage{top:min(50%,calc(100% - .746em))}.finance-cai-stage svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;fill:currentColor}.finance-combo-wu{left:var(--second-x);overflow:visible;fill:currentColor}.finance-base-compress{transform:scaleY(1);transform-origin:0 399px;transition:transform .42s cubic-bezier(.22,.72,.28,1)}.finance-cai-radical{opacity:1;transition:opacity .3s ease}.finance-aim-pose{opacity:0;transform-origin:146px 340px;transform-box:view-box;transform:rotate(var(--finance-sweep, -8deg)) translateY(6px);transition:opacity .32s ease,transform .32s cubic-bezier(.2,.75,.28,1)}.finance-aim-pose[data-aim=right],.finance-aim-pose[data-aim=upper-right],.finance-aim-pose[data-aim=lower-right]{--finance-sweep: 8deg}.finance-aim-pose[data-aim=up],.finance-aim-pose[data-aim=down]{--finance-sweep: 0deg}.finance-aim-flash{opacity:0;transition:opacity 45ms linear}.finance-cai-recoil{transform:translate(0);transition:transform .08s ease-out}.finance-combo.finance-engaged .finance-base-compress{transform:scaleY(.6);transition-duration:.3s}.finance-combo.finance-engaged[data-attack-direction=left] .finance-base-compress,.finance-combo.finance-engaged[data-attack-direction=upper-right] .finance-base-compress,.finance-combo.finance-engaged[data-attack-direction=lower-left] .finance-base-compress{transform:translate(105px) scaleY(.6)}.finance-combo.finance-engaged .finance-cai-radical{opacity:0}.finance-combo.finance-engaged[data-attack-direction=left] .finance-aim-pose[data-aim=left],.finance-combo.finance-engaged[data-attack-direction=upper-left] .finance-aim-pose[data-aim=upper-left],.finance-combo.finance-engaged[data-attack-direction=up] .finance-aim-pose[data-aim=up],.finance-combo.finance-engaged[data-attack-direction=upper-right] .finance-aim-pose[data-aim=upper-right],.finance-combo.finance-engaged[data-attack-direction=right] .finance-aim-pose[data-aim=right],.finance-combo.finance-engaged[data-attack-direction=lower-right] .finance-aim-pose[data-aim=lower-right],.finance-combo.finance-engaged[data-attack-direction=down] .finance-aim-pose[data-aim=down],.finance-combo.finance-engaged[data-attack-direction=lower-left] .finance-aim-pose[data-aim=lower-left]{opacity:1;transform:rotate(0) translateY(0)}.finance-combo.finance-recoil .finance-aim-flash{opacity:1}.finance-combo.finance-recoil[data-attack-direction=left] .finance-cai-recoil{transform:translate(18px)}.finance-combo.finance-recoil[data-attack-direction=upper-left] .finance-cai-recoil{transform:translate(8px,16px)}.finance-combo.finance-recoil[data-attack-direction=up] .finance-cai-recoil{transform:translateY(18px)}.finance-combo.finance-recoil[data-attack-direction=upper-right] .finance-cai-recoil{transform:translate(-13px,12px)}.finance-combo.finance-recoil[data-attack-direction=right] .finance-cai-recoil{transform:translate(-18px)}.finance-combo.finance-recoil[data-attack-direction=lower-right] .finance-cai-recoil{transform:translate(-12px,-12px)}.finance-combo.finance-recoil[data-attack-direction=down] .finance-cai-recoil{transform:translateY(-18px)}.finance-combo.finance-recoil[data-attack-direction=lower-left] .finance-cai-recoil{transform:translate(12px,-12px)}.finance-ultimate-pose{opacity:0;transform:translateY(3px) scale(.96);transition:opacity .08s linear,transform .1s ease-out}.finance-combo.finance-ultimate .finance-cai-base,.finance-combo.finance-ultimate .finance-cai-weapon{opacity:0}.finance-combo.finance-ultimate .finance-ultimate-pose{opacity:1;transform:translateY(0) scale(1)}.finance-combo.finance-ultimate .finance-ultimate-flame-left{animation:finance-gun-flame .2s steps(1) infinite;transform-origin:65px 94px}.finance-combo.finance-ultimate .finance-ultimate-flame-right{animation:finance-gun-flame .2s steps(1) -.1s infinite;transform-origin:457px 94px}.finance-combo.finance-ultimate .finance-ultimate-inner-left{animation:finance-gun-flame .2s steps(1) infinite;transform-origin:65px 94px}.finance-combo.finance-ultimate .finance-ultimate-inner-right{animation:finance-gun-flame .2s steps(1) -.1s infinite;transform-origin:457px 94px}.finance-combo.finance-ultimate .finance-ultimate-pose{animation:finance-gun-recoil .1s steps(1) infinite}@keyframes finance-gun-flame{0%,to{opacity:1;transform:scale(1)}50%{opacity:.64;transform:scale(.72)}}@keyframes finance-gun-recoil{0%,to{translate:0 0}50%{translate:0 1px}}.finance-paused .finance-ultimate-pose,.finance-paused .finance-ultimate-flame,.finance-paused .finance-ultimate-inner{animation-play-state:paused!important}.finance-sleep .finance-glyph{animation:finance-doze 1.6s ease-in-out infinite;transform-origin:50% 80%}.finance-zzz{position:absolute;z-index:4;left:0;top:-8px;width:21px;height:23px;pointer-events:none;background:url(/tafang/finance-zzz.png) center / contain no-repeat;transform-origin:85% 85%;animation:finance-zzz-travel 1.8s ease-out infinite}.cell[data-col="0"] .finance-zzz{left:3px}.piece-source .finance-zzz{display:none}.piece-source .finance-glyph{animation:none}.cell.finance-combo-anchor.piece-source .finance-combo,.cell.finance-combo-anchor:has(+.cell.piece-source) .finance-combo{opacity:.3}.finance-combo.finance-activated{animation:finance-frame-activate .35s ease-out both}.card.role-财 .unit-glyph,.card.role-务 .unit-glyph{animation:finance-recruit-pop .25s ease-out both}.role-财,.role-务{filter:drop-shadow(0 0 1px #765900)}.law-glyph{width:1.15em;height:1.15em;color:var(--role);overflow:hidden}.law-glyph svg{width:100%;height:100%;overflow:hidden;fill:currentColor}.law-sleep .law-glyph{animation:finance-doze 1.6s ease-in-out infinite;transform-origin:50% 80%}.role-法{filter:drop-shadow(0 0 1px #765900)}.cell.law-combo-anchor{z-index:4}.cell.law-combo-anchor:has(.law-striking){z-index:9}.law-active.unit{visibility:hidden}.law-fa-stage,.law-wu-stage{position:absolute;z-index:2;top:var(--pair-row);width:1.15em;height:1.15em;transform:translate(-50%,-50%)}.law-fa-stage{left:var(--first-x)}.law-wu-stage{left:var(--second-x);transition:left .42s cubic-bezier(.22,.72,.28,1)}.law-fa-stage svg,.law-wu-stage svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:hidden}.law-wu-stage svg{fill:currentColor}.law-fa-stage .law-fa-normal{opacity:1;transition:opacity .42s ease}.law-fa-stage .law-fa-ready{left:50%;top:calc(50% + .13em);width:.68em;height:.88em;opacity:0;transform:translate(-50%,-50%) scale(.82);transition:opacity .42s ease,transform .42s cubic-bezier(.22,.72,.28,1)}.law-prepared .law-fa-normal{opacity:0}.law-prepared .law-fa-ready{opacity:1;transform:translate(-50%,-50%) scale(1)}.law-engaged .law-fa-ready{opacity:0}.law-action-art{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:visible}.law-hammer-flight{position:absolute;left:var(--first-x);top:var(--pair-row);width:0;height:0;opacity:0;transform:translate(0);transition:left .42s cubic-bezier(.22,.72,.28,1),top .42s cubic-bezier(.22,.72,.28,1),transform .32s cubic-bezier(.22,.72,.28,1),opacity .24s ease}.law-combo.law-engaged .law-hammer-flight{left:clamp(.5em,calc(var(--first-x) + var(--law-rest-x, 0em)),calc(var(--second-x) - .88em));top:clamp(.5em,calc(var(--pair-row) + var(--law-rest-y, -1.12em)),calc(100% - .5em));opacity:1}.law-aim-pose{position:absolute;left:0;top:0;width:1em;height:1em;overflow:hidden;opacity:0;transform:translate(-50%,-50%);transition:opacity .24s ease;filter:drop-shadow(0 0 2px #e6a50088)}.law-combo[data-attack-direction=up] .law-aim-pose[data-aim=up],.law-combo[data-attack-direction=upper-right] .law-aim-pose[data-aim=upper-right],.law-combo[data-attack-direction=right] .law-aim-pose[data-aim=right],.law-combo[data-attack-direction=lower-right] .law-aim-pose[data-aim=lower-right],.law-combo[data-attack-direction=down] .law-aim-pose[data-aim=down],.law-combo[data-attack-direction=lower-left] .law-aim-pose[data-aim=lower-left],.law-combo[data-attack-direction=left] .law-aim-pose[data-aim=left],.law-combo[data-attack-direction=upper-left] .law-aim-pose[data-aim=upper-left]{opacity:1}.law-combo.law-striking .law-hammer-flight,.law-combo.law-ult-casting .law-fa-normal,.law-combo.law-ult-casting .law-fa-ready,.law-combo.law-ult-casting .law-hammer-flight{visibility:hidden}.law-combo.law-activated{animation:finance-frame-activate .35s ease-out both}.cell.law-combo-anchor.piece-source .law-combo,.cell.law-combo-anchor:has(+.cell.piece-source) .law-combo{opacity:.3}.card.role-法 .unit-glyph{animation:finance-recruit-pop .25s ease-out both}.personnel-glyph{width:1.15em;height:1.15em;overflow:visible}.personnel-glyph svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;fill:currentColor}.personnel-sleep .personnel-glyph{animation:finance-doze 1.6s ease-in-out infinite;transform-origin:50% 80%}.personnel-active.unit{visibility:hidden}.cell.personnel-combo-anchor{z-index:4}.cell.personnel-combo-anchor:has(.personnel-swing){z-index:9}.personnel-combo-ren{fill:currentColor;opacity:1;transition:opacity .42s ease,translate .42s cubic-bezier(.22,.72,.28,1)}.personnel-shi-stage{position:absolute;left:var(--second-x);top:var(--pair-row);width:1.15em;height:1.15em;transform:translate(-50%,-50%);transition:left .42s cubic-bezier(.22,.72,.28,1)}.personnel-shi-stage svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;fill:currentColor}.personnel-shi-normal{opacity:1}.personnel-prepared .personnel-combo-ren{opacity:0}.personnel-action-art{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:visible}.personnel-scissor-flight{position:absolute;left:var(--first-x);top:clamp(.6em,var(--pair-row),calc(100% - .6em));width:0;height:0;opacity:0;transform:translate(var(--flight-x, 0px),var(--flight-y, 0px));transition:left .42s cubic-bezier(.22,.72,.28,1),top .42s cubic-bezier(.22,.72,.28,1),opacity .42s ease}.personnel-prepared .personnel-scissor-flight{opacity:1}.personnel-combo.personnel-engaged .personnel-scissor-flight{top:.6em}.personnel-scissor-orient{position:absolute;left:0;top:0;width:0;height:0;rotate:0deg}.personnel-scissor-art{position:absolute;left:0;top:0;width:.44em;height:.88em;transform:translate(-50%,-37%);overflow:visible;filter:drop-shadow(0 0 2px #e6a50088)}.personnel-scissor-left,.personnel-scissor-right{transform-box:view-box;transform-origin:50% 37%}.personnel-combo.personnel-activated{animation:finance-frame-activate .35s ease-out both}.personnel-combo.salary-casting{box-shadow:0 0 12px #ffda48bd,inset 0 0 8px #fff1a780}.cell.personnel-combo-anchor.piece-source .personnel-combo,.cell.personnel-combo-anchor:has(+.cell.piece-source) .personnel-combo{opacity:.3}.piece-source .personnel-glyph{animation:none}.card.role-人 .unit-glyph,.card.role-事 .unit-glyph{animation:finance-recruit-pop .25s ease-out both}.role-人,.role-事{filter:drop-shadow(0 0 1px #765900)}.finance-paused .personnel-glyph,.finance-paused .personnel-combo,.finance-paused .personnel-sleep .finance-zzz{animation-play-state:paused!important}@keyframes finance-doze{0%,to{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-2px) rotate(2deg)}}@keyframes finance-zzz-travel{0%{opacity:0;clip-path:inset(65% 0 0 60%);transform:translate(6px,6px) scale(.45)}16%{opacity:1;clip-path:inset(65% 0 0 60%);transform:translate(4px,4px) scale(.55)}32%{clip-path:inset(30% 0 0 30%);transform:translate(1px,1px) scale(.75)}52%,72%{opacity:1;clip-path:inset(0);transform:translate(-5px,-6px) scale(1)}to{opacity:0;clip-path:inset(0);transform:translate(-9px,-10px) scale(1.06)}}@keyframes finance-frame-activate{0%{box-shadow:0 0 2px #ffe43766}35%{box-shadow:0 0 14px #ffe437db,inset 0 0 9px #ffe66d8a}to{box-shadow:0 0 7px #ffe43791,inset 0 0 6px #ffe66d55}}@keyframes finance-recruit-pop{0%{opacity:0;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}to{transform:scale(1)}}.glyph-master{width:100%;height:100%;overflow:visible;fill:currentColor}.glyph-radical{transition:opacity 45ms ease-out}.vector-glyph .glyph-anatomy .char-left{left:.03em;top:.08em;width:.33em;height:.9em;transform:none;transform-origin:50% 100%}.vector-glyph .brush-weapon{top:0;width:.28em;height:.9em}.brush-origin,.brush-axis-x,.brush-axis-y{position:absolute;left:.195em;top:.98em;width:0;height:0;pointer-events:none}.brush-axis-x{left:calc(.195em + 1px)}.brush-axis-y{top:calc(.98em + 1px)}.product-anatomy{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;pointer-events:none}.product-spring-glyph{display:block;width:100%;height:100%;overflow:visible;fill:currentColor}.product-document{position:absolute;left:.36em;top:-.3em;width:.36em;height:.48em;transform-origin:50% 100%}.product-document svg{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;overflow:visible}.product-active .glyph-master{opacity:0}.product-active .product-anatomy{opacity:1}.colleague-anatomy{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;pointer-events:none}.colleague-frame{display:block;width:100%;height:100%;overflow:visible;fill:currentColor}.colleague-pan{position:absolute;left:.24em;top:.38em;width:.52em;height:.728em;transform-origin:50% 35.714%}.colleague-pan svg{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;overflow:visible}.colleague-active .glyph-master{opacity:0}.colleague-active .colleague-anatomy,.ops-glyph.glyph-brush-active .glyph-radical{opacity:1}.ops-glyph.glyph-brush-active .glyph-weapon-stroke{opacity:0}.ops-glyph .glyph-anatomy .char-left{left:.81em;top:-.413em;width:.2em;height:.55em}.ops-glyph .brush-weapon{width:.2em;height:.55em}.ops-dagger svg{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;overflow:visible;color:var(--role)}.ops-glyph .brush-origin,.ops-glyph .brush-axis-x,.ops-glyph .brush-axis-y{left:.91em;top:.137em}.ops-glyph .brush-axis-x{left:calc(.91em + 1px)}.ops-glyph .brush-axis-y{top:calc(.137em + 1px)}.card .unit-glyph,.drag-ghost .unit-glyph{animation:none}.unit-glyph.shovel-icon{width:1.2em;height:1.5em}.shovel-icon img{display:block;width:100%;height:100%;object-fit:contain;transform:rotate(12deg);pointer-events:none}.card b,.drag-ghost b{position:absolute;right:5px;top:3px;color:var(--role);font-size:10px;line-height:1}.char-left.text-motion-idle{animation:radical-ready 2.8s ease-in-out infinite;transform-origin:left 58%}.char-right.text-motion-idle{animation:glyph-ready 2.8s ease-in-out infinite;transform-origin:left 58%}.unit.selected-unit{transform:translateY(-3px);filter:drop-shadow(0 0 4px #f5c55b)}.unit-casting .unit{animation-duration:.28s;animation-timing-function:cubic-bezier(.18,.78,.24,1);animation-iteration-count:1;filter:drop-shadow(0 0 6px var(--role))}.unit-casting .unit.role-技{animation-name:attack-tech;filter:none;text-shadow:none}.unit-casting .unit.role-技 b{text-shadow:none}.unit-casting .unit.role-运{animation-name:attack-ops}.ops-striking .unit.role-运{animation-duration:.42s}.code-striking .unit.role-技{animation-duration:.58s}.cell.code-striking{z-index:8}.unit-casting .unit.role-设{animation-name:attack-design}.unit-casting .unit.role-产{animation-name:attack-product}.unit-casting .unit.role-同{animation-name:attack-colleague}.unit b{position:absolute;z-index:3;right:3px;top:2px;color:var(--role);font-size:10px;line-height:1;text-shadow:0 0 2px #fffaf2,0 0 3px #fffaf2}.threat-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;overflow:clip;overflow-clip-margin:12px;pointer-events:none}.threat-track{position:absolute;top:0;right:0;bottom:0;left:0}.threat-body{display:inline-block;line-height:1;transform-origin:50% 100%;will-change:transform}.threat-stunned .threat-body{color:#8f181c;text-shadow:0 0 5px #ffdd9a,0 1px #fff}.law-seal{position:absolute;z-index:5;left:50%;top:-10px;transform:translate(-50%);color:#9b2024;font-size:12px;line-height:1;font-weight:900;text-shadow:0 0 3px #fff3cb,0 1px #fff}.threat{position:absolute;top:0;left:0;width:10.5%;max-width:48px;transform:translate(-50%,-50%);text-align:center;pointer-events:none;font-weight:900;color:#382a2c;font-size:clamp(20px,6.2vw,30px);text-shadow:0 1px #fff}.threat i{position:absolute;top:-7px;left:50%;display:block;box-sizing:border-box;width:74%;height:5px;overflow:hidden;transform:translate(-50%);border:1px solid #6c5454;border-radius:999px;background:#eadfd7;box-shadow:0 1px 1px #0002}.threat i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e25458,#f28b68);transition:width .12s linear}.threat.threat-hit{color:#c4464b}.threat.threat-hit .threat-body{animation:threat-hit-impact .24s linear;filter:saturate(1.8) brightness(1.22)}.threat.threat-hit i{box-shadow:0 0 5px #ffcd71}.threat.threat-hit i b{background:#ffcd71}.guide{margin:4px 6px 2px;min-height:20px;text-align:center;font-size:12px;font-weight:700;color:#735e51}.cash-icon{display:inline-block;width:19px;height:13.5px;flex:0 0 auto;vertical-align:-2px}.hand{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:0;border-radius:0;background:#fff9f1;border:1px solid #665750}.card,.deck-entry-btn{aspect-ratio:1}.card{position:relative;display:grid;place-items:center;min-width:0;height:auto;padding:0;border:0;border-right:1px solid #665750;color:var(--role);background:transparent;border-radius:0;font-size:30px;font-weight:900;cursor:grab;touch-action:none;box-shadow:none}.card:is(.role-财,.role-务,.role-人,.role-事,.role-法) .unit-glyph{width:1.27em;height:1.27em;translate:-.07em -.14em}.card:last-child{border-right:0}.card.empty{cursor:default}.card.selected{outline:2px solid #f5c55b;outline-offset:-2px}.actions{display:flex;justify-content:center;margin:clamp(7px,2vw,10px) auto 0}.action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:min(42%,200px);min-height:87px;padding:5px 8px;border:2px solid #3f3431;border-radius:12px;color:#fffaf5;background:#cc7650;font-weight:900;box-shadow:0 6px #48342d,0 9px 10px #48342d44}.action#recruit{position:relative;overflow:hidden;background:#727073}.action#recruit:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:9px;background:#cc7650;transform:scaleX(var(--recruit-progress, 1));transform-origin:left center;transition:transform .22s ease-out;pointer-events:none}.action#recruit>span{position:relative;z-index:1}.action>span:first-child{font-size:clamp(35px,9.5vw,46px);line-height:1.05}.action .cash-cost{display:inline-flex;align-items:center;gap:4px;font-size:clamp(18px,5vw,21px);line-height:22px;font-weight:500;font-variant-numeric:tabular-nums}.action .cash-icon{width:29px;height:20.5px}.action:not(:disabled):active,.action:not(:disabled).recruit-pressed{transform:translateY(3px) scale(.94);box-shadow:0 1px #48342d}.action.recruit-rebound{animation:recruit-rebound .18s cubic-bezier(.2,.9,.25,1) both}.action.secondary{background:#4c575f}.action:disabled,.card:disabled{cursor:default;filter:grayscale(.35);opacity:.58}.action#recruit:disabled{filter:none;opacity:1}.dev-tools{display:flex;justify-content:center;gap:7px;margin:16px 6px 0;padding-top:8px;border-top:1px dashed #b9a99b}.dev-tools button{padding:6px 9px;border:1px solid #76675d;border-radius:6px;background:#fff9f1;color:#655349;font-size:11px;font-weight:700}.mode-phone{display:grid;place-items:center;padding:24px}.mode-panel{width:100%;max-width:380px;padding:28px 18px;border:2px solid #776359;border-radius:18px;background:#fff8ed;box-shadow:0 8px #8f7b6d,0 16px 24px #4d3a2d33;text-align:center}.mode-panel h1{margin:0 0 8px;font-size:clamp(28px,8vw,38px)}.mode-panel p{margin:0 0 22px}.mode-button{display:block;width:100%;min-height:62px;margin:12px 0;border:2px solid #3f3431;border-radius:12px;color:#fffaf5;background:#cc7650;font-size:24px;font-weight:900;box-shadow:0 4px #48342d}.mode-button-alt{background:#536c66}.mode-button:disabled{opacity:.55;cursor:wait}.mode-panel .mode-help{margin:22px 0 0;color:#756156;font-size:13px;line-height:1.5}.mode-panel .mode-error{margin:14px 0 0;color:#a94f44;font-size:13px;line-height:1.5}.mode-panel .mode-success{margin:14px 0 0;color:#376c4b;font-size:13px;line-height:1.5}.mode-panel .mode-info{margin:14px 0 0;color:#756156;font-size:13px;line-height:1.5}.recording-warning{margin:5px 12px 10px;color:#a94f44;font-size:12px;line-height:1.5;text-align:center}.recording-success{margin:5px 12px 10px;color:#376c4b;font-size:12px;line-height:1.5;text-align:center}.recording-info{margin:5px 12px 10px;color:#756156;font-size:12px;line-height:1.5;text-align:center}.card.empty:disabled{filter:none;opacity:1}.text-motion-ink{position:absolute;left:50%;top:48%;z-index:5;display:block;width:145%;aspect-ratio:2.5 / 1;transform-origin:center;pointer-events:none}.text-motion-ink svg{display:block;width:100%;height:100%;overflow:visible}.text-motion-ink path{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px #fff8)}.text-motion-ink.ink-hit{width:82%;aspect-ratio:1}.text-motion-ink.ink-hit path{fill:color-mix(in srgb,var(--ink) 12%,transparent);stroke-width:1.8}.guide.danger{color:#c94f54}.drag-ghost{position:fixed;z-index:20;width:56px;height:56px;margin:-28px 0 0 -28px;display:grid;place-items:center;border:0;color:var(--role);background:transparent;font-size:25px;font-weight:900;pointer-events:none}.unit-move-ghost{border-color:var(--role);color:#352e2a;background:color-mix(in srgb,var(--role) 18%,#fffaf2)}.piece-drag-ghost{position:fixed;left:0;top:0;z-index:60;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--role) 65%,#fff);border-radius:8px;color:var(--role);background:#fffaf3ef;font-size:clamp(30px,8vw,42px);font-weight:900;box-shadow:0 11px 20px #30272155,0 2px 5px #3027213b;pointer-events:none;will-change:transform}.piece-drag-ghost b{position:absolute;right:3px;top:2px;color:var(--role);font-size:10px;line-height:1}.card.piece-source>*,.cell.piece-source .unit{opacity:.3}.cell.piece-valid{box-shadow:inset 0 0 0 2px #b4d79c,0 0 0 1px #85ad71}.cell.piece-merge-available{box-shadow:inset 0 0 0 2px #dac176}.cell.piece-hover,.card.piece-hover{z-index:7;transform:scale(1.04);filter:brightness(1.07);box-shadow:inset 0 0 0 2px #9bcc82,0 0 7px #a6c9879c}.cell.piece-merge-hover,.card.piece-merge-hover{z-index:8;transform:scale(1.04);filter:brightness(1.1);box-shadow:inset 0 0 0 2px #efce75,0 0 9px #e7d993b3}.piece-merge-hover .unit,.piece-merge-hover .unit-glyph{scale:1.06}.piece-landing-ring{position:absolute;z-index:8;top:10%;right:10%;bottom:10%;left:10%;border:2px solid #ecd481;border-radius:50%;pointer-events:none;animation:piece-ring .17s ease-out forwards}@keyframes piece-ring{0%{opacity:.85;transform:scale(.35)}to{opacity:0;transform:scale(calc(1.45 * var(--ring-scale, 1)))}}@keyframes recruit-rebound{0%{transform:translateY(3px) scale(.94);box-shadow:0 1px #48342d}55%{transform:translateY(-1px) scale(1.04);box-shadow:0 5px #48342d}to{transform:translateY(0) scale(1);box-shadow:0 6px #48342d,0 9px 10px #48342d44}}.skill-fx,.hit-fx{position:fixed;z-index:30;display:grid;place-items:center;width:22px;height:22px;margin:-11px 0 0 -11px;color:var(--skill);pointer-events:none;font-weight:900;font-size:21px;text-shadow:0 1px #fff,0 0 5px var(--skill);transition:transform .2s cubic-bezier(.2,.8,.3,1),opacity .2s}.skill-fx.remote{border-radius:50%;background:color-mix(in srgb,var(--skill) 22%,white)}.skill-fx.melee{font-size:27px;transition-duration:.11s}.skill-fx.fly{opacity:.95}.skill-fx.role-技{width:40px;font-size:12px;letter-spacing:-1px;background:#e4f0ff;border:2px solid #4d8cf5}.skill-fx.role-设{width:31px;height:31px;border-radius:3px;background:#fff0b9;border:2px solid #9b6ef3;box-shadow:2px 2px #9b6ef366}.skill-fx.role-产{width:34px;height:27px;border-radius:2px;background:#ffe27c;border:2px solid #d49a23;color:#79571b;font-size:10px}.skill-fx.role-运{color:#32895e;font-size:26px}#battle-fx{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;pointer-events:none}.cash-drop-fx{position:fixed;z-index:45;display:inline-flex;align-items:center;gap:4px;pointer-events:none;white-space:nowrap;animation:cash-drop .76s 80ms ease-out both}.cash-drop-fx .cash-icon{width:35px;height:24.8px;filter:drop-shadow(0 1px 1px #fff8e8)}.cash-drop-fx b{color:#174b13;font-size:18px;font-weight:900;text-shadow:-1px -1px #fffaf0,1px -1px #fffaf0,-1px 1px #fffaf0,1px 1px #fffaf0}@keyframes cash-drop{0%{opacity:0;transform:translate(-50%,-35%) scale(.65)}18%{opacity:1;transform:translate(-50%,-110%) scale(1.14)}38%{opacity:1;transform:translate(-50%,-125%) scale(1)}62%{opacity:1;transform:translate(-50%,-96%) scale(.96)}78%{opacity:1;transform:translate(-50%,-106%) scale(1)}to{opacity:0;transform:translate(-50%,-70%) scale(.94)}}.hit-fx{animation:hit-pop .24s ease-out forwards;font-size:30px}.hit-fx.role-产{width:23px;height:23px;border:2px solid #d49a23;border-radius:3px;background:#ffe27c;color:#7b591d;font-size:13px;animation:slow-stick .76s ease-out forwards}@keyframes hit-pop{0%{transform:scale(.3);opacity:1}to{transform:scale(1.5);opacity:0}}@keyframes slow-stick{0%{transform:translateY(5px) scale(.4);opacity:0}20%{transform:translateY(0) scale(1);opacity:1}to{transform:translateY(4px) scale(1);opacity:0}}@keyframes threat-hit-impact{0%,to{translate:0 0;scale:1 1;filter:saturate(1.8) brightness(1.22)}18%{translate:-3px 1px;scale:1.13 .84;filter:saturate(2.3) brightness(1.65) drop-shadow(0 0 3px #ffcd71)}42%{translate:2px -1px;scale:.94 1.06}66%{translate:-1px 0;scale:1.03 .97}}@keyframes glyph-breath{0%,to{transform:translateY(0) rotate(0) scale(1)}48%{transform:translateY(-1px) rotate(-.6deg) scale(1.015,.99)}72%{transform:translateY(0) rotate(.25deg) scale(.995,1.005)}}@keyframes radical-ready{0%,to{transform:rotate(0) translate(0) scaleX(.54)}46%{transform:rotate(-1.5deg) translate(-.3px,-.4px) scaleX(.54)}68%{transform:rotate(.5deg) scaleX(.54)}}@keyframes glyph-ready{0%,to{transform:translate(0) rotate(0) scaleX(.59)}46%{transform:translate(.2px,-.5px) rotate(.3deg) scaleX(.59)}}@keyframes attack-tech{0%,to{transform:translate(0) rotate(0) scaleX(1)}18%{transform:translate(-2px,2px) rotate(-4deg) scaleX(1)}38%{transform:translate(4px,-2px) rotate(3deg) scaleX(1)}52%{transform:translate(2px) rotate(1deg) scaleX(1)}70%{transform:translate(-1px) rotate(-1deg) scaleX(1)}}@keyframes code-radical-swing{0%,to{transform:rotate(0)}18%{transform:rotate(-8deg) translate(-1px,1px)}38%{transform:rotate(5deg) translate(2px,-1px)}58%{transform:rotate(-2deg)}76%{transform:rotate(1deg)}}@keyframes attack-design{0%,to{transform:rotate(0) scale(1)}24%{transform:rotate(-9deg) translate(-2px)}66%{transform:rotate(12deg) translate(3px) scale(1.08)}}@keyframes attack-product{0%,to{transform:translateY(0) rotate(0)}30%{transform:translateY(-3px) rotate(-5deg)}68%{transform:translateY(2px) rotate(7deg) scale(1.08)}}@keyframes attack-ops{0%,to{transform:rotate(0) scale(1)}22%{transform:rotate(-12deg) scale(.94)}68%{transform:rotate(15deg) scale(1.1)}}@keyframes attack-colleague{0%,to{transform:rotate(0)}26%{transform:rotate(-15deg) translateY(1px)}68%{transform:rotate(18deg) translateY(-2px) scale(1.08)}}@media(min-width:620px){.phone{min-height:calc(100vh - 24px);margin:12px auto;border-radius:26px}}#app:has(.mode-phone){display:flow-root}body:has(.mode-phone){background:radial-gradient(ellipse 100% 65% at 50% 30%,#fff9ed 0,#fbefdd 72%,#f7e7d0)}.mode-phone{--home-width: min(100vw, 480px);position:relative;overflow:hidden;width:100%;max-width:480px;height:max(600px,100dvh);min-height:0;margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.mode-phone:before{content:"";position:absolute;z-index:0;top:29%;left:0;width:100%;height:35%;background:#d9c9b5;opacity:.23;clip-path:polygon(0 56%,5% 56%,5% 69%,12% 69%,12% 43%,18% 43%,18% 65%,25% 65%,25% 75%,31% 75%,31% 49%,39% 49%,39% 64%,46% 64%,46% 35%,53% 35%,53% 59%,60% 59%,60% 71%,67% 71%,67% 46%,75% 46%,75% 62%,82% 62%,82% 38%,88% 38%,88% 66%,94% 66%,94% 53%,100% 53%,100% 100%,0 100%)}.home-settings-button{position:absolute;z-index:5;top:calc(3% - 5px);right:calc(5% - 5px);width:44px;height:44px;padding:0;border:0;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M21%202h6l1%205%204%202%204-3%205%205-3%204%202%204%205%201v7l-5%201-2%204%203%204-5%205-4-3-4%202-1%205h-6l-1-5-4-2-4%203-5-5%203-4-2-4-5-1v-7l5-1%202-4-3-4%205-5%204%203%204-2z'%20fill='%23443832'%20stroke='%23211915'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3ccircle%20cx='24'%20cy='23.5'%20r='7'%20fill='%23c1b5aa'%20stroke='%23211915'%20stroke-width='2'/%3e%3ccircle%20cx='24'%20cy='23.5'%20r='2.7'%20fill='%23473c36'/%3e%3c/svg%3e") center / 34px 34px no-repeat;filter:drop-shadow(1px 2px 0 #fff8ec);cursor:pointer}.home-settings-button:disabled{cursor:wait;opacity:.6}.home-settings-button:focus-visible{outline:3px solid #69c991;outline-offset:3px}.home-title{position:absolute;z-index:2;top:6%;left:8%;width:84%;height:29%;margin:0}.home-title img{display:block;width:100%;height:100%;object-fit:contain}.home-profile{position:absolute;z-index:3;top:36%;left:5%;display:flex;width:90%;height:12.5%;align-items:center;gap:4%;padding:2% 3.5%;border:1.5px solid #493426;border-radius:13px;background:linear-gradient(135deg,#fffdf5,#fff4e3);box-shadow:0 3px #b6a089,0 6px 10px #65472e24,inset 0 0 0 2px #fffaf2;color:#201b18;text-align:left;cursor:pointer}.home-profile img{width:24%;max-width:92px;max-height:100%;aspect-ratio:1;flex:none;border:2px solid #fffaf1;border-radius:50%;background:#d6dad5;object-fit:cover;box-shadow:0 0 0 1px #d4c8b6}.home-profile span{min-width:0;flex:1}.home-profile strong,.home-profile small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.home-profile:disabled{opacity:.72;cursor:wait}.home-profile strong{font-size:calc(var(--home-width) * .056);letter-spacing:.3px}.home-profile small{margin-top:4px;color:#93877d;font-size:calc(var(--home-width) * .032)}.home-profile b{font-size:calc(var(--home-width) * .085);font-weight:700}.office-scene{position:absolute;z-index:1;bottom:32.5%;left:0;width:100%;height:20%;overflow:visible;pointer-events:none}.office-scene img{position:absolute;bottom:0;display:block;width:100%;height:auto}.home-actions{position:absolute;z-index:3;top:67%;left:6%;width:88%}.home-actions .mode-button{position:relative;display:flex;align-items:center;justify-content:center;min-height:clamp(62px,10.5dvh,88px);margin:0 0 clamp(9px,1.4dvh,12px);border:2px solid #3e2920;border-radius:14px;background:radial-gradient(ellipse at 50% 0,#dc7950,#bd5632);box-shadow:0 5px #4a3228,0 7px 10px #5b3b2c26,inset 0 2px #f6b184;font-size:calc(var(--home-width) * .087);letter-spacing:1px;text-shadow:0 2px 1px #9e4d30;cursor:pointer}.home-actions .mode-button span{position:absolute;right:5%;font-size:calc(var(--home-width) * .105);line-height:1}.home-actions .mode-button-alt{background:radial-gradient(ellipse at 50% 0,#6f9b62,#497044);box-shadow:0 5px #3c3924,0 7px 10px #5b3b2c26,inset 0 2px #acd18c;text-shadow:0 2px 1px #326343}.profile-retry{display:block;margin:6px auto;padding:7px 12px;border:1px solid #856751;border-radius:8px;background:#fff8ed;color:#654536}.identity-divider{position:relative;height:clamp(38px,10.3vw,44px);overflow:hidden;background:#fff2dc;pointer-events:none}.identity-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.opponent-identity,.local-identity{position:absolute;z-index:2;display:flex;align-items:center;gap:5px;height:78%;background:none;border:0;pointer-events:none}.opponent-identity{top:3px;right:0;width:45.5%;padding:0 6px 0 3px}.local-identity{bottom:3px;left:0;width:48%;padding:0 7px 0 4%}.opponent-identity img,.local-identity img{width:clamp(25px,7vw,31px);height:clamp(25px,7vw,31px);flex:none;border:1px solid #fffdf4;border-radius:50%;object-fit:cover;background:#d0d9d0;box-shadow:0 0 0 1px #8d9e88,inset 0 0 0 1px #ffffffb3}.opponent-identity img{background:#d9c0f0;box-shadow:0 0 0 1px #78628d,inset 0 0 0 1px #ffffffb3}.opponent-identity div,.local-identity div{display:flex;align-items:center;gap:5px;min-width:0;flex:1;line-height:1.1}.identity-tag{flex:none;padding:3px 6px;border-radius:12px;background:linear-gradient(#ff9e33,#f17c15);box-shadow:inset 0 1px #ffffff6b;color:#fffef7;font-size:10px;font-weight:900}.local-identity .identity-tag{background:linear-gradient(#3b9f43,#238230)}.opponent-identity strong,.local-identity strong{min-width:0;overflow:hidden;color:#171c13;font-size:clamp(11px,3vw,14px);font-weight:900;white-space:nowrap;text-overflow:ellipsis}.opponent-identity small{flex:none;padding:4px 3px;border:1px solid #d88936;border-radius:5px;background:linear-gradient(#fff1d0,#ffdfa5);box-shadow:inset 0 0 0 1px #fff7e2;font-size:9px;font-weight:800;color:#503414;white-space:nowrap}html:has(.battle-phone){scrollbar-gutter:stable}.battle-phone{padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom));background:#fff2dc}.battle-phone .hud{min-height:clamp(39px,calc(9vw + 5px),45px);margin-bottom:6px;border:0;background:#fff2dc}.battle-phone .hud strong{font-size:clamp(20px,5.5vw,26px)}.battle-phone .hud .budget{font-size:clamp(21px,5.5vw,26px)}.battle-phone .hud .budget .cash-icon{width:34px;height:24px}.battle-phone .guide{min-height:0;margin:10px 0;font-size:14px;line-height:11px}.battle-phone .hand{height:clamp(48px,13.2vw,60px)}.battle-phone .card,.battle-phone .deck-entry-btn{width:100%;height:100%;min-height:0;aspect-ratio:auto}.battle-phone .card{font-size:clamp(26px,7.5vw,34px)}.battle-phone .actions{margin-top:2px}.battle-phone .action{flex-direction:row;gap:9px;width:min(52%,220px);min-height:clamp(64px,18vw,72px);padding:5px 10px;border-width:3px;border-radius:15px;box-shadow:0 6px #48342d,0 9px 10px #48342d44}.battle-phone .action>span:first-child{font-size:clamp(27px,7.5vw,36px)}.battle-phone .action .cash-cost{gap:3px;font-size:clamp(20px,5.5vw,25px)}.battle-phone .action .cash-icon{width:27px;height:19px}.battle-phone .dev-tools{display:none}.battle-phone .law-test-tools{display:flex;flex-wrap:wrap}body:has(.battle-phone){background:#f5fafb}.battle-phone{--office-ink: #344759;--office-mint: #e7f8ef;--office-blue: #a3bbce;--office-line: #a8c6c9;--office-orange: #ec8040;background:#f7fbfb;box-shadow:0 0 16px #6081901c}.battle-phone .hud{border-radius:10px;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20400%2040'%20fill='none'%20preserveAspectRatio='none'%20aria-hidden='true'%3e%3crect%20x='1'%20y='2'%20width='398'%20height='36'%20rx='10'%20fill='%23fff'%20stroke='%23c7d9df'%20stroke-width='2'/%3e%3cpath%20d='M4%2032h392'%20stroke='%23e8f0f1'%20stroke-width='2'/%3e%3cpath%20d='M11%203l16%204-10%2017L2%2019z'%20fill='%23ffe7a1'%20stroke='%23f4d384'/%3e%3cpath%20d='M374%204l16-3%2010%2016-14%207z'%20fill='%23ffe7a1'%20stroke='%23f4d384'/%3e%3c/svg%3e") center / 100% 100% no-repeat;color:var(--office-ink);box-shadow:0 1px 3px #66818f1c}.battle-phone .hud strong,.battle-phone .hud .budget{color:var(--office-ink);text-shadow:0 1px #fff}.battle-phone .hud .budget{font-weight:700}.battle-phone .hud .cash-icon{filter:drop-shadow(0 1px 1px #9ebcb8)}.battle-phone .section,.battle-phone .board-wrap{background:#dce8ea}.battle-phone .cell{border-color:var(--office-line);border-radius:5px}.battle-phone .cell:not(:is(.piece-valid,.piece-merge-available,.piece-hover,.piece-merge-hover)){box-shadow:inset 0 1px #ffffffc9,inset 0 -2px #7294a22b}.battle-phone .cell.closed:not(.digging){border-color:#7795ae;background:linear-gradient(145deg,#b2c7d8,#9eb8cc 85%,#8ca6bc)}.battle-phone .cell.closed:not(.digging):before{border-color:transparent;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2044'%20fill='none'%20aria-hidden='true'%3e%3cpath%20d='M16%2012V8a4%204%200%200%201%204-4h8a4%204%200%200%201%204%204v4'%20stroke='%234f6a84'%20stroke-width='3.5'%20stroke-linecap='round'/%3e%3crect%20x='4'%20y='11'%20width='40'%20height='30'%20rx='4'%20fill='%2358738d'/%3e%3cpath%20d='M4%2022h40'%20stroke='%233e5a76'%20stroke-width='2'%20opacity='.46'/%3e%3crect%20x='21'%20y='20'%20width='6'%20height='5'%20rx='1'%20fill='%23b8d0df'%20opacity='.82'/%3e%3c/svg%3e") center / 84% auto no-repeat;box-shadow:none;opacity:.52}.battle-phone .cell.desk{border-color:#cbd7d9;background:linear-gradient(145deg,#fff,#f6f7f3 88%,#edf2f0)}.battle-phone .cell.desk:before{border-color:#d4c7b9;background:linear-gradient(#fffaf2,#f1e8dc);box-shadow:0 7px 0 -5px #c9b8a6;opacity:.68}.battle-phone .cell.route{border-color:#8dbfb7;background:repeating-linear-gradient(135deg,#effff5 0,#effff5 11px,#e7f8ef 11px,#e7f8ef 22px)}.battle-phone .cell.route:not(:is(.piece-valid,.piece-merge-available,.piece-hover,.piece-merge-hover)){box-shadow:inset 0 0 0 1px #b7e0ce,inset 0 1px #fff,inset 0 -2px #98cdbb66}.battle-phone .cell.route:before{border-color:#9dccbd42}.battle-phone .cell .entry{color:#405466}.battle-phone .identity-divider{background:#f7fbfb url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20400%2044'%20fill='none'%20preserveAspectRatio='none'%20aria-hidden='true'%3e%3cpath%20d='M2%202H177l30%2040H2z'%20fill='%2373c98a'%20stroke='%23529e72'%20stroke-width='3'/%3e%3cpath%20d='M3%206h170l26%2031H3z'%20fill='%23e8fff0'%20stroke='%23a1dfb3'%20stroke-width='2'/%3e%3cpath%20d='M2%204h175l30%2037H2'%20stroke='%23b5edc2'%20stroke-width='2'/%3e%3cpath%20d='M180%202h218v40H208z'%20fill='%23ffc471'%20stroke='%23ee9650'%20stroke-width='3'/%3e%3cpath%20d='M186%206h210v30H209z'%20fill='%23fff3e3'%20stroke='%23ffd59d'%20stroke-width='2'/%3e%3cpath%20d='M180%202l31%2040'%20stroke='%23fff'%20stroke-width='2'/%3e%3cpath%20d='M3%2041h204m-1%200h192'%20stroke='%236fae81'%20stroke-width='2'/%3e%3c/svg%3e") center / 100% 100% no-repeat}.battle-phone .identity-backdrop{opacity:0}.battle-phone .identity-divider:after{content:"VS";position:absolute;z-index:3;left:50%;top:50%;display:grid;place-items:center;width:27px;height:27px;border:2px solid #ef9856;border-radius:50%;background:#fffdf8;color:#e4783a;font-size:14px;font-weight:900;line-height:1;box-shadow:0 2px 3px #74909b30;transform:translate(-50%,-50%);pointer-events:none}.battle-phone #identity-green stop:first-child{stop-color:#f1fff4}.battle-phone #identity-green stop:last-child{stop-color:#dcf5e7}.battle-phone #identity-orange stop:first-child{stop-color:#fffaf1}.battle-phone #identity-orange stop:last-child{stop-color:#ffe8d6}.battle-phone .identity-backdrop path[fill="#6cb451"]{fill:#82c996;stroke:#4f9a74}.battle-phone .identity-backdrop path[stroke="#407f38"]{stroke:#70b08c}.battle-phone .identity-backdrop path[stroke="#c2e5a4"]{stroke:#d4f6dd}.battle-phone .identity-backdrop path[stroke="#ef8625"]{stroke:#ec914d}.battle-phone .identity-backdrop path[stroke="#ffc46c"]{stroke:#ffe2b6}.battle-phone .identity-backdrop path[stroke="#fff8e8"]{stroke:#fff}.battle-phone .local-identity img{box-shadow:0 0 0 1px #6bbf8b}.battle-phone .opponent-identity img{box-shadow:0 0 0 1px #ec9a62}.battle-phone .identity-tag{background:linear-gradient(#f7a56c,#e78348);box-shadow:inset 0 1px #fff6df9c}.battle-phone .local-identity .identity-tag{background:linear-gradient(#70cb91,#42a86f)}.battle-phone .opponent-identity strong,.battle-phone .local-identity strong{color:#283b49}.battle-phone .opponent-identity small{border-color:#eca76c;background:linear-gradient(#fffdf4,#ffe8d4);box-shadow:inset 0 0 0 1px #fff;color:#965a36}.battle-phone .hand{border-color:#bfced6;border-radius:6px;background:#f5f9fb;box-shadow:inset 0 1px #fff,0 2px 3px #69869524}.battle-phone .card{border-color:#dbe4e8;background:linear-gradient(145deg,#fff,#f6f9fa);box-shadow:inset 0 1px #fff}.battle-phone .guide:not(.danger){color:#506779}.battle-phone .recording-warning{color:#c95743}.battle-phone .actions{position:relative}.battle-phone .actions:before,.battle-phone .actions:after{content:"";position:absolute;top:0;bottom:0;width:min(23%,94px);background-position:center bottom;background-repeat:no-repeat;background-size:contain;pointer-events:none}.battle-phone .actions:before{left:0;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2090%2072'%20fill='none'%20aria-hidden='true'%3e%3cellipse%20cx='42'%20cy='68'%20rx='40'%20ry='3'%20fill='%23a8c1c6'%20opacity='.25'/%3e%3cpath%20d='M2%2057h47l8%205-6%206H5z'%20fill='%23f9fbfc'%20stroke='%23cbd7d9'%20stroke-width='1.5'/%3e%3cpath%20d='M4%2051h45l6%205-6%204H3z'%20fill='%23fff'%20stroke='%23d9e2e1'%20stroke-width='1.5'/%3e%3cpath%20d='M3%2045h43l8%205-5%204H2z'%20fill='%23fff'%20stroke='%23cbd7d9'%20stroke-width='1.5'/%3e%3cpath%20d='M28%2052l18-1M8%2058l35%201'%20stroke='%23d9e2e1'%20stroke-width='1.5'/%3e%3cpath%20d='M40%2025c-12-12-7-20%202-20%2010%202%2012%2013%205%2022M39%2032c-16-4-22-15-14-21%2010-4%2018%207%2018%2020M46%2032c3-17%2016-23%2023-16%203%209-7%2018-22%2019M47%2036c13-11%2027-9%2029%200-4%2010-17%2010-28%205'%20fill='%2380c78c'%20stroke='%23509b6b'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='M43%2023l3%2029M32%2022l13%2021m13-18L46%2042'%20stroke='%234e9b69'%20stroke-width='2'/%3e%3cpath%20d='M29%2042h32l-5%2023H35z'%20fill='%23f3f0e9'%20stroke='%23bdc8c5'%20stroke-width='2'/%3e%3cpath%20d='M33%2043h24l-2%207H35z'%20fill='%23f9f7f0'/%3e%3c/svg%3e");opacity:.5}.battle-phone .actions:after{right:0;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2090%2072'%20fill='none'%20aria-hidden='true'%3e%3cellipse%20cx='48'%20cy='68'%20rx='39'%20ry='3'%20fill='%23a8c1c6'%20opacity='.25'/%3e%3cg%20transform='rotate(-11%2054%2042)'%3e%3crect%20x='23'%20y='14'%20width='64'%20height='48'%20rx='5'%20fill='%23b9d7e9'%20stroke='%2380aecb'%20stroke-width='2'/%3e%3cpath%20d='M30%2020h51v35H30z'%20fill='%23d6ebf5'%20opacity='.7'/%3e%3crect%20x='52'%20y='26'%20width='27'%20height='23'%20rx='2'%20fill='%23fff0ad'%20stroke='%23f5d77e'/%3e%3cpath%20d='M25%2025v29'%20stroke='%238fb9d0'%20stroke-width='2'/%3e%3c/g%3e%3cg%20transform='rotate(19%2040%2061)'%3e%3crect%20x='5'%20y='58'%20width='67'%20height='7'%20rx='3'%20fill='%23f7fbfc'%20stroke='%23758b9c'%20stroke-width='1.5'/%3e%3crect%20x='52'%20y='58'%20width='15'%20height='7'%20fill='%235d7386'/%3e%3cpath%20d='M5%2059l-5%202.5L5%2064z'%20fill='%23d4bd9b'%20stroke='%238f938e'/%3e%3c/g%3e%3c/svg%3e");opacity:.5}.battle-phone .action{position:relative;z-index:1}.battle-phone .action{box-shadow:0 6px #aa624b,0 9px 10px #5c7d8a2c}.battle-phone .action#recruit{border-color:#79513f;background:#b9c4ca;color:#fff;text-shadow:0 1px #ae5a35}.battle-phone .action#recruit:before{border-radius:12px;background:linear-gradient(#ffa45f,#f18c49 30%,#e16f35);box-shadow:inset 0 2px #ffe0a7,inset 0 -4px #af573680}.profile-overlay{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:16px;background:#211b17b8}.profile-paper{position:relative;width:min(360px,100%);max-height:85dvh;overflow-y:auto;padding:30px 22px 24px;border:3px solid #6e4b35;border-radius:19px;background:#fff8ec;box-shadow:0 9px #5f4639,inset 0 0 0 9px #f4e3ca;text-align:center}.profile-close{position:absolute;top:17px;right:16px;border:0;background:none;color:#4b2c20;font-size:34px;cursor:pointer}.profile-paper h2{margin:12px 0 15px;font-size:25px}.profile-avatar-wrap{position:relative;width:126px;height:112px;margin:0 auto}.profile-avatar{width:110px;height:110px;border-radius:50%;object-fit:cover;background:#e5ccb2;cursor:pointer}.profile-camera{position:absolute;right:-9px;bottom:0;width:46px;height:46px;border:2px solid #ceb89b;border-radius:50%;background:#fff9f1;font-size:22px;cursor:pointer}.profile-name-row{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:8px}.profile-name,.profile-pencil{border:0;background:none;color:#2d241f;font-weight:900;cursor:pointer}.profile-name{max-width:77%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:23px}.profile-pencil{font-size:27px}.profile-number{margin:5px 0 17px;color:#8d867b;font-size:18px;font-weight:700}.profile-paper hr{border:0;border-top:1px dashed #cba888}.profile-paper h3{text-align:left;font-size:16px}.profile-wechat,.profile-save{width:100%;min-height:56px;margin:6px 0;border:2px solid #3a3029;border-radius:11px;background:#548a51;color:#fff;font-size:20px;font-weight:900;box-shadow:0 4px #493329}.profile-wechat span{display:block;font-size:11px;font-weight:500}.profile-wechat:disabled{opacity:.7;cursor:not-allowed}.profile-save:disabled{opacity:.58}.profile-status{min-height:17px;margin:7px 0 0;color:#a84735;font-size:12px}.profile-note{margin:9px 0 0;color:#89796c;font-size:11px;line-height:1.35}.profile-edit{margin:8px 0}.profile-edit input{max-width:60%;padding:5px;font-size:18px}.profile-edit button,.profile-crop-actions button{margin:2px;padding:6px 8px;border:1px solid #8b6f55;border-radius:6px;background:#fffaf3}.profile-crop{position:absolute;z-index:3;top:8px;right:8px;bottom:8px;left:8px;overflow-y:auto;padding:20px;border-radius:12px;background:#fff8ed;box-shadow:0 0 0 2px #93745a}.profile-crop h3{text-align:center}.profile-crop canvas{display:block;width:min(100%,256px);height:auto;margin:auto;border-radius:6px;touch-action:none}.profile-crop label{display:block;margin:12px}.profile-crop-actions{display:flex;justify-content:center}.profile-overlay{background:var(--office-modal-veil);backdrop-filter:var(--office-modal-blur);-webkit-backdrop-filter:var(--office-modal-blur)}.profile-paper{width:min(390px,100%);max-height:85dvh;padding:39px 28px 27px;border-color:#75503b;border-radius:21px;background:radial-gradient(ellipse at 50% 12%,#fffdf5,#fff7ea 70%,#f9ecd9);box-shadow:0 9px #70503e,0 19px 32px #23181055,inset 0 0 0 9px #ecd5b8,inset 0 0 0 13px #fff6e7;scrollbar-width:thin}.profile-close{top:19px;right:17px;font-size:34px;font-weight:700}.profile-paper h2{margin:4px 0 20px;font-size:28px}.profile-avatar-wrap{width:132px;height:126px}.profile-avatar{width:120px;height:120px;border:4px solid #fdf8ed;box-shadow:0 0 0 1px #dfc7aa}.profile-camera{right:-8px;bottom:0;display:grid;place-items:center;width:48px;height:48px;padding:0;box-shadow:0 3px 6px #68463255}.profile-camera svg{width:25px;height:25px;fill:none;stroke:#65432e;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.profile-name-row{margin-top:13px}.profile-name{font-size:25px}.profile-pencil{padding:0 4px;color:#4b2f23;font-size:30px}.profile-number{margin:7px 0 20px;font-size:20px}.profile-paper hr{margin:0 0 20px}.profile-paper h3{margin:0 0 10px;font-size:18px}.profile-wechat,.profile-save{min-height:69px;margin:6px 0 12px;border-width:3px;border-radius:14px;font-size:22px;box-shadow:0 5px #4e3427,inset 0 2px #ffffff3d}.profile-wechat{background:#538850}.profile-wechat:disabled{opacity:1;color:#fff}.profile-wechat span{margin-top:2px;font-size:11px}.profile-save{background:#ce7047}.profile-save:disabled{opacity:.9}@media(max-width:360px){.home-profile,.home-actions .mode-button{border-radius:12px}}.operations-gate{color:#7e4232;padding:4px;background:#fff5df;border-radius:6px}.hud-controls{grid-column:3;grid-row:1;justify-self:end;display:inline-flex;align-items:center;gap:6px}.hud-pill{padding:4px 8px;min-height:28px;border:1.5px solid #6e8b99;border-radius:999px;background:linear-gradient(180deg,#fff,#e8f2f5);color:#2d4455;font-size:12px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 2px #89a5b3,inset 0 1px #fff;font-variant-numeric:tabular-nums}.hud-pill:active{transform:translateY(1px);box-shadow:0 1px #89a5b3}.hud-pill.speed-pill.is-fast{border-color:#cb6c34;background:linear-gradient(180deg,#fff4df,#ffd9a6);color:#8c3d14;box-shadow:0 2px #c67c44,inset 0 1px #fff}.hud-pill.handbook-pill{border-color:#558868;background:linear-gradient(180deg,#f3fff6,#dcefe2);color:#26593c;box-shadow:0 2px #79a68a,inset 0 1px #fff}.home-settings-paper .home-settings-tutorial+.home-settings-tutorial{margin-top:10px}.home-handbook-entry{display:flex;align-items:center;justify-content:center;width:100%;min-height:clamp(38px,6.2dvh,46px);margin:2px 0 6px;padding:6px 12px;border:1.5px solid #6a4d3a;border-radius:11px;background:linear-gradient(180deg,#fffdf7,#f5e6d2);box-shadow:0 3px #8a6c55,inset 0 1px #fff;color:#4e3728;font-size:calc(var(--home-width) * .042);font-weight:800;letter-spacing:.4px;cursor:pointer}.home-handbook-entry:active{transform:translateY(2px);box-shadow:0 1px #8a6c55}.home-handbook-entry:disabled{opacity:.6;cursor:wait}.cell.piece-pair-synergy{z-index:9;box-shadow:inset 0 0 0 2.5px #f59e0b,0 0 12px #fbbf24b8!important}.cell.piece-pair-synergy:after{content:"合体";position:absolute;z-index:10;top:2px;left:2px;padding:1px 4px;border-radius:4px;background:linear-gradient(180deg,#fbbf24,#d97706);color:#fffdf7;font-size:9px;font-weight:900;line-height:1.2;box-shadow:0 1px 2px #42200666;pointer-events:none;animation:synergy-badge-bob .85s ease-in-out infinite alternate}.cell.piece-feed-synergy{z-index:9;box-shadow:inset 0 0 0 2.5px #16a34a,0 0 12px #22c55ea6!important}.cell.piece-feed-synergy:after{content:"喂食升星";position:absolute;z-index:10;top:2px;left:2px;padding:1px 4px;border-radius:4px;background:linear-gradient(180deg,#22c55e,#15803d);color:#f0fdf4;font-size:9px;font-weight:900;line-height:1.2;box-shadow:0 1px 2px #14532d73;pointer-events:none;animation:synergy-badge-bob .85s ease-in-out infinite alternate}@keyframes synergy-badge-bob{0%{transform:translateY(0) scale(1)}to{transform:translateY(-1.5px) scale(1.05)}}.cash-drop-fx.is-bonus b{color:#b45309;font-size:21px;text-shadow:-1px -1px #fffbeb,1px -1px #fffbeb,-1px 1px #fffbeb,1px 1px #fffbeb,0 2px 4px #f59e0b66}.handbook-dialog{padding:0;border:0;background:transparent;color:#2f241d;width:min(92vw,440px);max-width:440px;max-height:86dvh;margin:auto}.handbook-dialog[open]{display:grid}.handbook-dialog:modal{overscroll-behavior:contain}.handbook-dialog::backdrop{background:#22181394;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);overflow:hidden;overscroll-behavior:contain}.handbook-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:86dvh;border:2.5px solid #6e4e3a;border-radius:18px;background:linear-gradient(180deg,#fffdf7,#f9efe1);box-shadow:0 10px #5b3f2e,0 20px 36px #18100b6b,inset 0 0 0 4px #f2dfc8;overflow:hidden}.handbook-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 16px 10px;border-bottom:1px dashed #d6bea3;background:#fff9ef}.handbook-eyebrow{display:block;color:#9a693b;font-size:10px;font-weight:800;letter-spacing:.8px}.handbook-header h2{margin:3px 0 0;color:#3e2b1f;font-size:19px;line-height:1.2}.handbook-close-form{margin:0}.handbook-close-btn{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #d5bda2;border-radius:50%;background:#fffdf8;color:#6e4e3a;font-size:22px;line-height:1;cursor:pointer}.handbook-body{overflow-y:auto;overscroll-behavior:contain;padding:12px 16px;display:grid;gap:14px;scrollbar-width:thin}.handbook-section h3{margin:0 0 6px;color:#4a3324;font-size:14px;font-weight:900}.handbook-tip{margin:0 0 8px;color:#6c5444;font-size:12px;line-height:1.45}.handbook-combos{display:grid;gap:7px}.combo-item{padding:8px 10px;border:1px solid #e2cdb3;border-radius:10px;background:#fffcf6}.combo-badge{display:inline-flex;align-items:center;gap:4px;margin-bottom:4px;font-size:13px;font-weight:900}.combo-badge span{display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid #d99b26;border-radius:5px;background:#fff6d8;color:#9c5708}.combo-badge i{font-style:normal;color:#9a7b63}.combo-badge em{margin-left:4px;padding:2px 6px;border-radius:999px;background:#f2e2ca;color:#5b3d28;font-style:normal;font-size:11px}.combo-item p{margin:0;color:#5b4739;font-size:11.5px;line-height:1.42}.handbook-table{width:100%;border-collapse:collapse;font-size:11.5px;background:#fffcf7;border:1px solid #e4d1ba;border-radius:8px;overflow:hidden}.handbook-table th,.handbook-table td{padding:5px 6px;border-bottom:1px solid #efe2d1;text-align:left}.handbook-table th{background:#f5e8d6;color:#5a402e;font-weight:800;white-space:nowrap}.handbook-table td:nth-child(n+3),.handbook-table th:nth-child(n+3){text-align:center;font-variant-numeric:tabular-nums}.handbook-rules{margin:0;padding-left:16px;display:grid;gap:5px;color:#5b4739;font-size:11.5px;line-height:1.45}.handbook-rules code{padding:1px 4px;border-radius:4px;background:#f3e5d2;color:#6e3f19;font-size:11px;font-weight:700}.handbook-footer{padding:10px 16px 12px;border-top:1px dashed #d6bea3;background:#fff9ef}.handbook-footer form{margin:0}.handbook-confirm-btn{width:100%;min-height:40px;border:2px solid #493325;border-radius:11px;background:linear-gradient(180deg,#e78a52,#cb6735);box-shadow:0 3px #493325,inset 0 1px #ffd1ad;color:#fffdf9;font-size:15px;font-weight:900;cursor:pointer}.handbook-confirm-btn:active{transform:translateY(2px);box-shadow:0 1px #493325}.core.is-danger-alert{filter:drop-shadow(0 0 6px #ef4444);animation:core-danger-throb .62s ease-in-out infinite alternate}.core.is-danger-alert em{color:#b91c1c;text-shadow:0 0 6px #fecaca,0 1px #fff}@keyframes core-danger-throb{0%{transform:scale(1)}to{transform:scale(1.1)}}.emergency-prop-btn{position:absolute;right:clamp(8px,2.8vw,15px);top:50%;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:clamp(82px,22vw,98px);min-height:82px;padding:6px 5px 5px;border:2px solid #784820;border-radius:14px;background:radial-gradient(circle at 50% 24%,#fffdf2,#ffe7a3 72%,#f6c453);color:#47280d;box-shadow:0 5px #7a4b1e,0 9px 16px #54321047,inset 0 1.5px #fff;cursor:pointer;transform:translateY(-50%);animation:emergency-prop-bounce 2.4s ease-in-out infinite}.emergency-prop-btn[hidden]{display:none!important}.emergency-prop-btn:active{transform:translateY(calc(-50% + 3px)) scale(.95);box-shadow:0 2px #7a4b1e;animation:none}.emergency-prop-btn.is-bulldozer{border-color:#991b1b;background:radial-gradient(circle at 50% 22%,#fff8f6,#ffd4cc 68%,#f87171);color:#5c1111;box-shadow:0 5px #7f1d1d,0 9px 18px #b91c1c57,inset 0 1.5px #fff;animation:emergency-bulldozer-urgent .85s ease-in-out infinite alternate}.emergency-prop-halo{position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;z-index:-1;border-radius:17px;border:2px solid rgba(245,158,11,.58);pointer-events:none;animation:emergency-halo-pulse 1.3s ease-out infinite}.emergency-prop-btn.is-bulldozer .emergency-prop-halo{border-color:#ef4444bf}.emergency-prop-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;height:30px;font-size:22px;color:#8c5319}.emergency-prop-icon .unit-glyph.shovel-icon{width:25px;height:29px}.emergency-prop-icon b{margin-left:1px;font-size:14px;font-weight:900;color:#7c2d12;text-shadow:0 1px #fff8dc}.emergency-bulldozer-svg{width:36px;height:28px;filter:drop-shadow(0 1px 0 #fff6)}.emergency-prop-label{font-size:12px;font-weight:900;line-height:1.1;letter-spacing:.3px;white-space:nowrap}.emergency-prop-tag{display:inline-block;padding:2px 6px;border-radius:999px;font-style:normal;font-size:10px;font-weight:900;line-height:1.15;white-space:nowrap;background:#43302b;color:#fffbeb}.emergency-prop-btn.is-free .emergency-prop-tag{background:linear-gradient(180deg,#16a34a,#15803d);color:#f0fdf4;box-shadow:0 1px 2px #14532d59}@keyframes emergency-prop-bounce{0%,76%,to{transform:translateY(-50%) scale(1)}82%{transform:translateY(calc(-50% - 7px)) scale(.97,1.04)}88%{transform:translateY(-50%) scale(1.03,.97)}94%{transform:translateY(calc(-50% - 3px)) scale(.99,1.01)}}@keyframes emergency-bulldozer-urgent{0%{transform:translateY(-50%) scale(1)}to{transform:translateY(calc(-50% - 4px)) scale(1.04)}}@keyframes emergency-halo-pulse{0%{opacity:.85;transform:scale(.96)}to{opacity:0;transform:scale(1.14)}}.emergency-shovel-flyer{position:fixed;z-index:75;width:34px;height:40px;color:#a8794d;pointer-events:none;filter:drop-shadow(0 3px 6px rgba(66,38,12,.38))}.emergency-shovel-flyer .unit-glyph.shovel-icon{width:100%;height:100%}.dev-tools{flex-wrap:wrap}.rewarded-ad-dialog{padding:0;border:0;background:transparent;color:#2a211b;width:min(90vw,376px);max-width:376px;margin:auto}.rewarded-ad-dialog[open]{display:grid}.rewarded-ad-dialog:modal{overscroll-behavior:contain}.rewarded-ad-dialog::backdrop{background:#181310ad;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);overflow:hidden;overscroll-behavior:contain}.rewarded-ad-card{padding:16px 16px 14px;border:2.5px solid #5c3d28;border-radius:18px;background:linear-gradient(180deg,#fffdf8,#f7ead7);box-shadow:0 10px #4a3120,0 22px 38px #0f0a0773,inset 0 0 0 3px #f3dfc5;display:grid;gap:10px}.rewarded-ad-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.rewarded-ad-badge{padding:3px 8px;border-radius:999px;background:#fef3c7;border:1px solid #f59e0b;color:#92400e;font-size:11px;font-weight:800}.rewarded-ad-countdown{font-size:12px;font-weight:900;color:#7c2d12;font-variant-numeric:tabular-nums}.rewarded-ad-title{margin:0;font-size:18px;font-weight:900;color:#362316;line-height:1.25}.rewarded-ad-screen{padding:14px 12px;border-radius:12px;border:1.5px solid #dec6a8;background:radial-gradient(circle at 50% 25%,#fffef9,#f2e2ca);text-align:center;display:grid;gap:6px}.rewarded-ad-screen.is-bulldozer{border-color:#f4b4ab;background:radial-gradient(circle at 50% 25%,#fff9f8,#fde2dd)}.rewarded-ad-stage{display:flex;align-items:center;justify-content:center;gap:12px;font-size:26px;font-weight:900;color:#5c3a21;min-height:38px}.rewarded-ad-actor{display:inline-block;font-size:32px;animation:ad-actor-chug .5s ease-in-out infinite alternate}.rewarded-ad-target{font-size:15px;padding:3px 9px;border-radius:999px;background:#ffffffc7;border:1px dashed #c8a987}@keyframes ad-actor-chug{0%{transform:translate(-3px) rotate(-4deg)}to{transform:translate(4px) rotate(4deg)}}.rewarded-ad-slogan{margin:0;font-size:12.5px;font-weight:700;line-height:1.45;color:#4e392a}.rewarded-ad-sponsor{color:#856b56;font-size:11px;font-weight:700}.rewarded-ad-progress-track{height:8px;border-radius:999px;background:#e5d4be;overflow:hidden;box-shadow:inset 0 1px 2px #3b271833}.rewarded-ad-progress-bar{width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#16a34a);transform:scaleX(0);transform-origin:left center}.rewarded-ad-actions{margin:2px 0 0;display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.rewarded-ad-cancel,.rewarded-ad-claim{min-height:40px;border-radius:10px;font-size:13.5px;font-weight:900;cursor:pointer}.rewarded-ad-cancel{border:1.5px solid #b89f86;background:#fffaf3;color:#69513e}.rewarded-ad-claim{border:2px solid #3c281a;background:linear-gradient(180deg,#22c55e,#15803d);color:#fff;box-shadow:0 3px #14532d}.rewarded-ad-claim:disabled{border-color:#9ca3af;background:#d1d5db;color:#6b7280;box-shadow:none;cursor:wait}.section.local .board-wrap{position:relative}.general-exp-track{position:absolute;z-index:4;left:7px;right:7px;bottom:3px;height:3.5px;border-radius:999px;background:#3a240c40;overflow:hidden;pointer-events:none;box-shadow:inset 0 1px 1px #0003}.general-exp-track>em{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#fde047);transform:scaleX(0);transform-origin:left center;transition:transform .22s cubic-bezier(.2,.82,.25,1)}.unit-inspector{position:absolute;z-index:18;width:max-content;max-width:min(272px,86vw);padding:7px 10px;border:1.5px solid #d99b26;border-radius:10px;background:#221913f0;color:#fffaf0;box-shadow:0 7px 20px #120c0861,inset 0 1px #fff8dc38;pointer-events:none;transform:translate(-50%,-100%);font-size:11.5px;line-height:1.38;font-variant-numeric:tabular-nums}.unit-inspector[hidden]{display:none!important}.unit-inspector.is-below{transform:translate(-50%)}.insp-head{display:flex;align-items:center;gap:6px;margin-bottom:3px}.insp-head strong{color:#fef3c7;font-size:12.5px;font-weight:900}.insp-head em{padding:1px 5px;border-radius:999px;background:#f59e0b3d;border:1px solid rgba(251,191,36,.55);color:#fde68a;font-style:normal;font-size:10px;font-weight:800}.insp-buff{padding:1px 5px;border-radius:999px;background:linear-gradient(180deg,#facc15,#ca8a04);color:#3b1d06;font-style:normal;font-size:9.5px;font-weight:900}.insp-stats{color:#e7ddd3;white-space:nowrap}.insp-stats b{color:#fff;font-weight:900}.insp-exp{margin-top:4px;display:flex;align-items:center;gap:6px}.insp-exp-track{flex:1;min-width:72px;height:5px;border-radius:999px;background:#ffffff29;overflow:hidden}.insp-exp-track>i{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#fef08a);transform:scaleX(0);transform-origin:left center;transition:transform .2s ease-out}.insp-exp small{color:#fcd34d;font-size:10px;font-weight:800;white-space:nowrap}.insp-sub{margin-top:2px;color:#c4b5a6;font-size:10.5px}.hud .budget{transform-origin:left center}.hud .budget.budget-pulse{animation:budget-wallet-pulse .26s cubic-bezier(.2,.85,.3,1)}@keyframes budget-wallet-pulse{0%{transform:scale(1)}45%{transform:scale(1.13)}to{transform:scale(1)}}.hud-pill:focus-visible,.emergency-prop-btn:focus-visible,.card:focus-visible,.cell:focus-visible,.handbook-close-btn:focus-visible,.handbook-confirm-btn:focus-visible,.rewarded-ad-cancel:focus-visible,.rewarded-ad-claim:focus-visible{outline:2.5px solid #2b8a57;outline-offset:2px}@media(prefers-reduced-motion:reduce){.cell.piece-pair-synergy:after,.cell.piece-feed-synergy:after,.hud .budget.budget-pulse,.emergency-prop-btn,.emergency-prop-halo,.core.is-danger-alert,.rewarded-ad-actor{animation:none!important}.general-exp-track>em,.insp-exp-track>i{transition:none!important}}.office-duel .hud-controls{display:inline-flex;align-items:center;gap:4px;justify-self:end}.office-duel .hud-pill{padding:4px 7px;min-height:28px;border:1.5px solid #6b3f1d;border-radius:999px;background:linear-gradient(180deg,#fff9e5,#ffe299);color:#4a2811;box-shadow:0 2px #9f6730,inset 0 1px #fffdf3}.office-duel .hud-pill.speed-pill.is-fast{border-color:#9e3516;background:linear-gradient(180deg,#ffb669,#ed5a24);color:#fff9ec;text-shadow:0 1px #5c1e0c;box-shadow:0 2px #7a2912,inset 0 1px #ffd8a8}.office-duel .hud-pill.handbook-pill{border-color:#46691b;background:linear-gradient(180deg,#e7fa9b,#a8db39);color:#2c470b;box-shadow:0 2px #5b7e24,inset 0 1px #f6ffd1}.sticker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;box-sizing:border-box;padding:16px;background:linear-gradient(#18365070,#49312279);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.sticker-panel{--sticker-ink: #3b2012;box-sizing:border-box;position:relative;width:min(100%,410px);max-height:calc(100dvh - 32px);min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:13px 13px 18px;border:12px solid #603212;border-radius:24px;border-image:url(/tafang/player-stickers/panel.webp) 37 37 37 37 fill / 24px stretch;background:#fcf4da padding-box;box-shadow:0 10px 24px #381f1740;color:var(--sticker-ink)}.sticker-panel h2.sticker-heading,.sticker-heading{--lettering-height: clamp(32px, 10.8vw, 53px);position:static;display:block;translate:none;width:auto;max-width:100%;margin:4px 38px 16px;padding:0;color:#e74322;background:none;font-size:clamp(20px,6vw,29px);font-weight:950;line-height:1.18;text-align:center;overflow-wrap:anywhere;text-shadow:0 2px #fff5d7}.sticker-lettering{position:relative;display:inline-grid;place-items:center;max-width:100%;min-height:var(--lettering-height, 26px);vertical-align:middle}.sticker-lettering>img{position:absolute;opacity:0;max-width:100%;width:auto;height:var(--lettering-height, 26px);object-fit:contain;pointer-events:none}.sticker-lettering[data-art-ready]>img{position:static;opacity:1}.sticker-lettering[data-art-ready]>.sticker-text{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:is(.sticker-panel,.sticker-battle,.atlas-shell,.tutorial-layer) .sticker-button:not([hidden]){position:relative;box-sizing:border-box;display:inline-grid;place-content:center;align-items:center;min-width:0;min-height:46px;padding:6px 12px 9px;border:2px solid #462412;border-radius:14px;border-image:var(--button-art, url(/tafang/player-stickers/red-button.webp)) 20 30 26 30 fill / 12px 18px 15px stretch;background:linear-gradient(var(--button-top, #ff9d40),var(--button-bottom, #ed4515)) padding-box;box-shadow:none;color:var(--button-ink, #fff8df);font:inherit;font-size:clamp(14px,4vw,19px);font-weight:950;line-height:1.15;text-align:center;text-decoration:none;text-shadow:var(--button-shadow, -1px -1px #492313, 1px -1px #492313, -1px 1px #492313, 1px 2px #492313);cursor:pointer;touch-action:manipulation;transition:transform .13s ease-out,filter .13s ease-out;transform:none}.sticker-button[data-tone=green]{--button-art: url(/tafang/player-stickers/green-button.webp);--button-top: #dcfa53;--button-bottom: #86c909}.sticker-button[data-tone=gold]{--button-art: url(/tafang/player-stickers/gold-button.webp);--button-top: #fff39a;--button-bottom: #ffc638;--button-ink: #482411;--button-shadow: 0 1px #fff6c6}:is(.sticker-panel,.sticker-battle,.atlas-shell,.tutorial-layer) .sticker-button:disabled{filter:saturate(.56);opacity:.65;cursor:default}:is(.sticker-panel,.sticker-battle,.atlas-shell,.tutorial-layer) .sticker-button:active:not(:disabled),.sticker-close:active:not(:disabled){transform:translateY(2px) scale(.97);translate:none;filter:brightness(.93)}.sticker-button:focus-visible,.sticker-close:focus-visible{outline:3px solid #1563a3;outline-offset:2px}.sticker-close{position:absolute;z-index:2;top:0;right:0;display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff9e8;font:800 25px/1 system-ui,sans-serif;box-shadow:none;cursor:pointer;transition:transform .13s ease-out}.sticker-close>span{display:grid;place-items:center;width:34px;height:34px;background:#fc7425;border:1px solid #4d2412;border-radius:50%}.sticker-close>span[data-art-ready]{border:0;background:none}.sticker-close .sticker-lettering{--lettering-height: 36px}.sticker-close .sticker-lettering>img{max-width:none}.sticker-ribbon{box-sizing:border-box;padding:9px 22px;border:2px solid #9b5b18;border-radius:13px;border-image:url(/tafang/player-stickers/daily-ribbon.webp) 18 46 18 46 fill / 10px 23px stretch;background:#ffe485 padding-box;color:#a64a16;font-weight:950;line-height:1.22;text-shadow:0 1px #fff6c6;overflow-wrap:anywhere}.sticker-ribbon[data-tone=green]{border-image-source:url(/tafang/player-stickers/result-ribbon.webp);background-color:#d7f68b;color:#405914}@media(prefers-reduced-motion:reduce){.sticker-button,.sticker-close{transition:none}}.sticker-overlay:not(.atlas-overlay){isolation:isolate}.sticker-overlay:not(.atlas-overlay):before{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;width:min(100%,480px);margin-inline:auto;background-color:#e8ae94;background-position:center,center top;background-size:cover,cover;background-repeat:no-repeat;background-image:linear-gradient(#15324e6b,#593a3269),url(/tafang/player-stickers/office.webp);background-image:linear-gradient(#15324e6b,#593a3269),image-set(url(/tafang/player-stickers/office.webp) type("image/webp") 1x);pointer-events:none}.home-settings-backdrop.sticker-overlay{position:fixed;z-index:40;padding:16px}.home-settings-paper.sticker-panel{height:auto;width:min(100%,365px)}.home-settings-paper.sticker-panel:before,.home-settings-paper.sticker-panel:after{content:none}.settings-entries{display:grid;gap:10px}.settings-entry{--lettering-height: 35px;display:grid;grid-template-columns:52px minmax(0,1fr) 25px;place-items:center;gap:5px;width:100%;min-height:68px;padding:8px;border:2px solid #462412;border-radius:12px;background:linear-gradient(#fff38b,#ffe160);box-shadow:inset 0 2px #fff7b7,0 2px #9d5e18;color:#fff8df;text-shadow:-1px -1px #492313,1px -1px #492313,-1px 1px #492313,1px 2px #492313;font-size:19px;font-weight:950;cursor:pointer;transition:transform .13s ease-out}.settings-entry>img{display:block;width:48px;height:46px;object-fit:contain;pointer-events:none}.settings-entry:active:not(:disabled){transform:translateY(2px) scale(.98)}.settings-entry:disabled{opacity:.65;cursor:default}.profile-overlay.sticker-overlay{z-index:110}.profile-paper.sticker-panel{width:min(100%,390px);text-align:center}.profile-avatar-wrap{width:fit-content;height:auto}.profile-paper .profile-avatar{display:block;box-sizing:border-box;width:clamp(104px,33vw,132px);height:auto;aspect-ratio:1;border:3px solid #422111;outline:3px solid #fff6d8;background:#ffdb40;box-shadow:none}.profile-paper .profile-camera{right:-16px;bottom:-6px;border:2px solid #4c2d1f;background:linear-gradient(#d4f5ff,#89cff7);box-shadow:0 2px #925a36}.profile-paper .profile-camera:active,.profile-pencil:active{transform:scale(.92)}.profile-paper .profile-name-row{margin-top:14px}.profile-paper .profile-pencil{width:44px;min-height:44px;color:#9b5817}.profile-paper .profile-name{min-height:44px;font-size:clamp(17px,5.4vw,24px)}.profile-paper .profile-number{margin:0 0 15px;color:#593321;font-size:17px}.profile-paper>.sticker-button{display:grid;width:min(100%,280px);min-height:53px;margin:9px auto}.profile-paper .sticker-button:disabled{opacity:.65}.profile-paper .profile-note,.profile-paper .profile-status{color:#654932;font-size:12px}.profile-paper .profile-status:empty{display:none}.profile-edit:not([hidden]),.profile-discard-actions{display:flex;align-items:center;justify-content:center;gap:5px}.profile-edit input{min-width:0;width:100%;min-height:44px;border:2px solid #60351d;border-radius:9px;background:#fffaf0}.profile-edit .sticker-button{flex:none;padding-inline:8px;font-size:13px}.profile-paper:has(.profile-crop:not([hidden]))>:not(.profile-crop){display:none}.profile-paper .profile-crop:not([hidden]){position:static;display:grid;justify-items:center;gap:11px;padding:2px 0 8px;overflow:visible;background:none;box-shadow:none}.profile-paper .profile-crop h3{margin:0;--lettering-height: 31px}.profile-paper .profile-crop canvas{box-sizing:border-box;width:min(100%,235px);border:3px solid #3b2012;border-radius:50%;outline:3px solid #fff9e2;touch-action:none}.profile-paper .profile-crop label{display:flex;align-items:center;gap:8px;margin:4px 0}.profile-crop input[type=range]{min-height:32px;accent-color:#f77421}.profile-paper .profile-crop-actions{display:grid;grid-template-columns:1fr 1.15fr;width:100%;gap:8px}.profile-paper .profile-crop-actions .sticker-button{margin:0;min-height:49px}.ranking-phone.sticker-panel{display:grid;width:min(100%,410px);height:auto;max-height:calc(100dvh - 32px);gap:8px}.ranking-phone .ranking-header{display:grid;grid-template-columns:39px minmax(0,1fr) 31px;align-items:center;gap:3px;min-height:48px;padding:0 5px;border:2px solid #4c2816;border-radius:12px;background:#ffe36b;box-shadow:inset 0 2px #fff2a3}.ranking-phone .ranking-back{position:static;width:44px;height:44px;margin-left:-4px}.ranking-phone #ranking-title{--lettering-height: 38px;position:static;margin:0;color:#df4928;text-align:center;background:none}.ranking-phone .rank-trophy{display:block;width:31px;height:35px;object-fit:contain;margin:0}.ranking-phone .ranking-paper{display:flex;flex-direction:column;min-height:160px;padding:6px;border:2px solid #492814;background:#fff5d2;box-shadow:none}.ranking-phone .ranking-list{flex:1;max-height:min(38dvh,270px)}.ranking-phone .ranking-panel-heading h2{font-size:15px;color:#70410c}.ranking-phone .ranking-row{min-height:52px;height:auto;gap:6px;padding:4px 5px;border:1.5px solid #4c2a15;background:#fff5d3}.ranking-phone .ranking-row.is-me{background:#caf277}.ranking-phone .ranking-row img,.ranking-phone .ranking-self img{width:38px;height:38px;border-color:#603719;background:#ffda47}.ranking-phone .rank-number{width:22px;height:auto;color:#492713;font-size:20px}.ranking-phone .ranking-person strong{color:#482711;font-size:clamp(13px,4vw,16px)}.ranking-phone .ranking-person>span{margin-top:1px;font-size:11px;color:#624730}.ranking-phone .ranking-me{align-self:center;border:1px solid #4e2f15;border-radius:8px;background:#fff9dd;color:#472715}.ranking-phone .ranking-rules{background:#ffdac2;border-color:#6e3e22}.ranking-phone .ranking-self{border:2px solid #55311a;background:#fff5d2;box-shadow:none}.ranking-phone .ranking-self p{flex-wrap:wrap}.ranking-phone .ranking-home{width:100%;margin:0}@media(max-width:365px){.sticker-overlay{padding:10px}.sticker-panel{padding-inline:10px}.settings-entry{grid-template-columns:42px minmax(0,1fr) 18px}.settings-entry>img{width:42px}.ranking-phone .ranking-person>span{white-space:normal}}@media(prefers-reduced-motion:reduce){.settings-entry{transition:none}}.battle-phone.sticker-battle{min-height:100dvh;padding-inline:6px;background:#ffbc99 url(/tafang/player-stickers/office.webp) center top / 100% auto no-repeat;box-shadow:0 0 24px #69412038}.sticker-battle .hud{grid-template-columns:minmax(62px,1fr) auto minmax(49px,1fr);gap:5px;min-height:45px;padding:2px 6px;border:2px solid #593418;border-radius:10px;background:#fff5d0;box-shadow:inset 0 1px #fffbee,0 2px #8250326b}.sticker-battle .hud strong{color:#452513;font-size:clamp(13px,4.45vw,22px);line-height:1.12;text-align:center}.sticker-battle .hud .budget{gap:4px;max-width:100%;min-height:26px;padding:2px 6px;border:1.5px solid #54301b;border-radius:9px;background:#ffe376;color:#462613;font-size:clamp(14px,4.65vw,22px);font-weight:950;line-height:1}.sticker-battle .hud .budget .sticker-cash{width:19px;height:17px;filter:none}.sticker-cash{display:inline-grid;flex:none;align-items:center}.sticker-cash .sticker-lettering{--lettering-height: 16px}.sticker-cash .sticker-text{color:#315f1c;text-shadow:none}.sticker-battle .hud #campaign-exit.sticker-button{padding:3px 6px 6px;min-height:44px;min-width:44px;font-size:13px;border-image:url(/tafang/player-stickers/red-button.webp) 20 30 26 30 fill / 10px stretch;background:#ed561d padding-box;color:#fff7de}.sticker-battle .section,.sticker-battle .board-wrap{background:transparent}.sticker-battle .cell{border-color:#92663f;border-radius:5px}.sticker-battle .cell:not(:is(.piece-valid,.piece-merge-available,.piece-hover,.piece-merge-hover)){box-shadow:inset 0 1px #fff5da9c}.sticker-battle .cell.closed:not(.digging){border-color:#9d856a;background:linear-gradient(135deg,#d5c7b2 48%,#b39c80 48%,#b39c80 53%,#d5c7b2 53%)}.sticker-battle .cell.closed:not(.digging):before,.sticker-battle .cell.route:before{content:none}.sticker-battle .cell.desk{border-color:#729329;background:#b8e453}.sticker-battle .cell.desk:before{border:1.5px solid #82b232;background:#a6d34288;box-shadow:inset 0 1px #d6f591}.sticker-battle .cell.route{border-color:#a9784d;background:#ffd29e}.sticker-battle .cell .entry{color:#472713;text-shadow:0 1px #fff0cb}.sticker-battle .core em{color:#4b2917;text-shadow:0 1px #fff5d0}.sticker-battle .core-health,.sticker-battle .threat i{height:6px;border:1px solid #4c2a17;background:#f5d8a8;box-shadow:none}.sticker-battle .threat i{top:-7px}.sticker-battle .core-health b,.sticker-battle .threat i b{background:linear-gradient(#ff8a68,#ed422d)}.sticker-battle .identity-divider{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);align-items:center;margin-block:3px;padding:0 5px;border:2px solid #5d381b;border-radius:9px;background:#fff4ca}.sticker-battle .identity-divider:after{content:none}.sticker-battle .local-identity,.sticker-battle .opponent-identity{position:static;width:auto;height:100%;min-width:0;padding:0;gap:3px}.sticker-battle .local-identity div,.sticker-battle .opponent-identity div{gap:3px}.sticker-battle .local-identity strong,.sticker-battle .opponent-identity strong{color:#412512}.sticker-battle .local-identity img,.sticker-battle .opponent-identity img{background:#ffdf53;box-shadow:0 0 0 1px #6b401d}.sticker-battle .identity-tag{padding:2px 4px;background:#7e4d2c}.sticker-battle .local-identity .identity-tag{background:#648031}.sticker-battle .opponent-identity small{font-size:8px;padding:3px 2px;color:#442712}.sticker-versus{--lettering-height: 21px;display:grid;place-items:center;width:38px;height:33px;background:url(/tafang/player-stickers/vs-plate.webp) center / contain no-repeat;color:#d5441b;font-size:17px;font-weight:950;text-shadow:0 1px #fff3be}.sticker-battle .combo-feedback-visible .sticker-versus{visibility:hidden}.sticker-battle .combo-feedback{border-color:#74421e;background:#fff1b7;color:#4a2914}.sticker-battle .combo-feedback-discovery{background:#d4f693}.sticker-battle .guide:not(.danger){color:#522d17}.sticker-battle .guide{margin:7px 0;line-height:1.28;font-size:12px}.sticker-battle .hand{gap:4px;border:0;background:transparent;box-shadow:none}.sticker-battle .card,.sticker-battle .deck-entry-btn{border:2px solid #654024;border-radius:9px;background:#fff3ce;box-shadow:inset 0 1px #fff9e4,0 2px #976740}.sticker-battle .deck-entry-btn{background:linear-gradient(180deg,#fff096,#f5b942);color:#4a2a17;text-shadow:none}.sticker-battle .actions:before,.sticker-battle .actions:after{content:none}.sticker-battle .action#recruit.sticker-button{display:inline-flex;justify-content:center;width:min(65%,213px);min-height:clamp(50px,16vw,68px);border:2px solid #582813;border-radius:28px;border-image:url(/tafang/player-stickers/recruit-plate.webp) 33 64 38 64 fill / 19px 34px 22px stretch;background:#ec4e1c padding-box;box-shadow:none}.sticker-battle .action#recruit:before{content:none}.sticker-battle .action#recruit:disabled{filter:saturate(.35);opacity:.72}.sticker-battle .action .cash-cost{color:#fff8db}.sticker-battle .action .cash-icon{width:21px;height:18px}.daily-panel.sticker-panel{width:min(100%,394px)}.daily-panel.sticker-panel:before{content:none}.daily-panel .daily-kicker{max-width:100%;color:#59391f}.daily-panel h2.sticker-ribbon,.daily-battle-banner h1.sticker-ribbon{display:block;max-width:100%;margin:7px 0 8px;border-image:url(/tafang/player-stickers/daily-ribbon.webp) 18 46 18 46 fill / 10px 23px stretch;background:#ffe68d padding-box;color:#984612;font-size:clamp(17px,5.6vw,24px);text-align:center}.daily-panel .daily-target,.daily-panel .daily-best{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:9px;min-height:68px;margin:12px 0;padding:8px 9px;border:2px solid #533019;border-radius:11px;background:#fff4cf;box-shadow:inset 0 1px #fffbe7;color:#462613}.daily-panel .daily-target{background:#ffe46b}.daily-panel .daily-target img,.daily-panel .daily-best img{display:block;width:46px;height:49px;object-fit:contain}.daily-panel .daily-target:before,.daily-panel .daily-target:after,.daily-panel .daily-best:before,.daily-panel .daily-best:after{content:none}.daily-panel .daily-target b,.daily-panel .daily-best b{font-size:clamp(13px,4.15vw,17px);line-height:1.25}.daily-panel .daily-best p{margin:3px 0 0;line-height:1.28}.daily-panel>.sticker-button:not([hidden]){display:grid;width:min(100%,288px);margin:8px auto 0}.sticker-battle .daily-battle-banner{padding:9px 10px;border:2px solid #56341d;border-radius:12px;background:#fff0af;color:#472815;box-shadow:inset 0 1px #fff8dd}.sticker-battle .daily-battle-banner:after,.sticker-battle .daily-board-label:before{content:none}.sticker-battle .daily-battle-banner small{margin:0;padding:0;color:#55341b}.daily-battle-title{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:6px}.daily-battle-title>img{width:46px;height:51px;object-fit:contain}.sticker-battle .daily-battle-banner p{max-width:none;color:#4b2a16}.sticker-battle .daily-battle-banner .sticker-button{display:grid;width:fit-content;height:auto;margin:7px 0 0 auto;font-size:14px}.sticker-battle .daily-board-label{margin-block:4px;padding:3px 10px;border:1.5px solid #593418;border-radius:8px;background:#fff4ce;box-shadow:none}.battle-end-overlay.sticker-overlay{z-index:105}.battle-end-paper.sticker-panel{text-align:center}.battle-end-paper.sticker-panel:before,.battle-end-paper.sticker-panel:after{content:none}.battle-end-paper.sticker-panel .battle-end-scroll{max-height:none;padding:0;overflow:visible}.battle-end-paper.sticker-panel h2:after{content:none}.battle-end-paper.sticker-panel h2.sticker-heading{--lettering-height: clamp(45px, 14vw, 66px);margin:2px 24px 10px;line-height:1.2;letter-spacing:0;white-space:normal;-webkit-text-stroke:0}.campaign-entry .battle-end-paper.sticker-panel h2.sticker-heading{--lettering-height: 43px;margin-inline:33px}.battle-end-paper.sticker-panel h2.sticker-ribbon{width:100%;margin:2px 0 9px;letter-spacing:0;white-space:normal;-webkit-text-stroke:0;font-size:clamp(18px,5.5vw,25px);color:#78360c;text-shadow:0 1px #fff4c3}.battle-end-paper.sticker-panel h2.sticker-ribbon[data-tone=green]{color:#36520d}.battle-end-paper.sticker-panel .battle-end-message,.campaign-entry .campaign-entry-detail{border:1.5px solid #6b3e23;border-radius:9px;background:#fff3cc;color:#4c2a15;font-size:clamp(13px,4vw,17px);line-height:1.35}.battle-end-paper.sticker-panel .battle-end-metrics>div,.battle-end-paper.sticker-panel .battle-end-highlight,.battle-end-paper.sticker-panel .daily-settlement-best{border:1.5px solid #5c351d;background:#fff3cf;color:#4b2a17;box-shadow:none}.battle-end-paper.sticker-panel .battle-end-metrics strong,.battle-end-paper.sticker-panel .battle-end-highlight p{color:#4b2a17}.battle-celebration{display:flex;align-items:end;justify-content:center;gap:12px;margin:10px 0 2px;pointer-events:none}.battle-celebration img{width:clamp(33px,12vw,54px);height:47px;object-fit:contain}.battle-celebration img:nth-child(2){width:clamp(41px,14vw,62px);height:56px}.battle-end-paper.sticker-panel .battle-end-detail-toggle{margin-top:9px}.battle-end-paper.sticker-panel .battle-end-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.battle-end-paper.sticker-panel .battle-end-buttons>:only-child{grid-column:1 / -1}.battle-end-paper.sticker-panel .battle-end-buttons #choose-mode{min-height:46px}.battle-end-paper.sticker-panel .battle-end-buttons-pvp #choose-mode{grid-column:auto}.battle-end-paper.sticker-panel .battle-end-buttons #campaign-cancel{grid-column:auto;min-height:46px}.battle-end-daily.sticker-panel .battle-end-buttons{grid-template-columns:1fr}.battle-end-daily.sticker-panel .daily-settlement-best{padding:8px}.battle-end-daily.sticker-panel .daily-settlement-best:before,.battle-end-daily.sticker-panel .daily-settlement-best:after{content:none}.battle-end-daily.sticker-panel .daily-settlement-note{margin-top:5px}.tutorial-layer .tutorial-card{border:2px solid #57311b;border-radius:12px;background:#ffe36c;color:#432411;box-shadow:inset 0 2px #fff5ab,0 3px #a96520}.tutorial-layer .tutorial-card:before{content:none}.tutorial-layer .tutorial-card small{color:#654113}.tutorial-layer .tutorial-card.tutorial-success{background:#d3f681}.tutorial-layer .tutorial-skip.sticker-button{position:absolute;min-height:44px;min-width:44px;padding-inline:7px;font-size:12px}.tutorial-layer [data-tutorial-retry].sticker-button{margin-top:5px}.tutorial-graduation-card.sticker-panel:before,.tutorial-graduation-card.sticker-panel:after{content:none}.tutorial-graduation-card.sticker-panel h2.sticker-heading{margin:8px 0}.tutorial-graduation-card .tutorial-badges span{padding:3px 6px;border:1.5px solid #5a351c;border-radius:999px;background:#e9f7af;color:#432a15}.tutorial-graduation-card .sticker-button{width:100%}@media(max-width:360px){.sticker-battle .hud{padding-inline:4px;grid-template-columns:minmax(54px,1fr) auto minmax(45px,1fr)}.sticker-battle .hud .budget{padding-inline:3px}.sticker-battle .opponent-identity small{display:none}}.office-board{position:relative;isolation:isolate;border-radius:8px;background:var(--team-mat, #a6b968)}.office-corridor{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.office-board:is(.board,.atlas-board-grid)>.cell.route:not(.digging){border-color:transparent;background:transparent;box-shadow:none}.office-board:is(.board,.atlas-board-grid)>.cell.closed:not(.digging){border-color:#998873;background:linear-gradient(#e9dfcd,#c6b8a2);box-shadow:inset 0 1px #f4eddf,inset 0 -2px #a4947b}.office-board:is(.board,.atlas-board-grid)>.cell.desk{border-color:#698c36;background:#fff}.office-board:is(.board,.atlas-board-grid)>.cell.desk:before{content:none}.office-furniture{position:absolute;top:0;right:0;bottom:0;left:0;background:center / contain no-repeat;pointer-events:none}.office-board .desk .office-furniture{background-image:url(/tafang/player-stickers/duel-desk.webp);background-image:image-set(url(/tafang/player-stickers/duel-desk.webp) type("image/webp") 1x)}.office-board .closed:not(.digging) .office-furniture{background-image:url(/tafang/player-stickers/duel-crate.webp);background-image:image-set(url(/tafang/player-stickers/duel-crate.webp) type("image/webp") 1x)}.office-furniture.occupied{opacity:.25}.route-barrier{position:absolute;z-index:2;display:flex;align-items:center;justify-content:space-around;pointer-events:none}.route-barrier img{display:block;width:23%;height:auto;flex:none;pointer-events:none}.route-barrier-bottom{left:0;bottom:-.5px;width:100%;transform:translateY(50%)}.route-barrier-right{top:0;right:-.5px;height:100%;width:23%;flex-direction:column;transform:translate(50%)}.route-barrier-right img{width:100%}.duel-progress{display:contents}.battle-phone.sticker-battle.office-duel{--duel-ink: #492a17;padding:env(safe-area-inset-top) 0 max(12px,env(safe-area-inset-bottom))}.battle-phone.sticker-battle.office-board-style{background-color:#f3ddbf;background-position:center top,center;background-size:100% auto,100% 100%;background-repeat:no-repeat;background-image:url(/tafang/player-stickers/duel-office.webp),linear-gradient(#dceceb,#f3ddbf 75%);background-image:image-set(url(/tafang/player-stickers/duel-office.webp) type("image/webp") 1x),linear-gradient(#dceceb,#f3ddbf 75%)}.office-duel .hud{position:sticky;top:env(safe-area-inset-top);z-index:10;grid-template-columns:38px auto minmax(0,1fr) auto;gap:4px;min-height:46px;padding:0 4px;border-radius:10px;background:linear-gradient(#fff6dd,#ffe3a6);box-shadow:inset 0 -2px #bf8049;margin-bottom:2px}.office-duel .duel-progress{display:grid;grid-column:3;grid-row:1;width:100%;gap:1px;justify-items:center;color:#85502a;font-size:12px;font-weight:900}.office-duel .duel-progress strong{grid-area:auto;font-size:clamp(13px,4.1vw,17px)}.office-duel .hud .budget{position:relative;grid-column:2;grid-row:1;border-radius:14px;background:linear-gradient(#fff3a6,#ffda61);box-shadow:inset 0 1px #fff9cf,0 2px #fff9eb;font-size:15px}.office-duel .hud .hud-controls{grid-column:4;grid-row:1}.recruit-debit{position:absolute;left:calc(100% + 2px);z-index:4;color:#a43a22;font-size:13px;pointer-events:none;animation:recruit-debit .6s linear both}@keyframes recruit-debit{55%{opacity:1}to{opacity:0}}.office-duel #battle-pause.sticker-button{grid-column:1;grid-row:1;justify-self:start;min-height:36px;min-width:38px;padding:2px 4px 4px;color:#48290d;text-shadow:0 1px #fff4b5;font-size:12px}.office-board-style .section{--team-border: #c8874a;--team-mat: #dfad70;padding:3px;border:2px solid #58341c;border-radius:12px;background:var(--team-mat);box-shadow:inset 0 0 0 2px var(--team-border),0 2px #fff9e6}.office-board-style .section.local{--team-border: #789548;--team-mat: #a6b968}.office-duel .section{width:100%;padding:1px;border-width:1px}.office-board-style .opponent .cell{touch-action:pan-y}.office-board-style .cell .entry{bottom:1px;padding:0 3px;border:1px solid #9d5d27;border-radius:4px;background:#ffc670;font-size:clamp(8px,2.3vw,11px);line-height:1.25}.first-wave-entrance .entry{animation:entrance-pulse .44s ease-in-out}.first-wave-entrance .office-route-arrow:nth-of-type(-n+3){animation:arrow-pulse .44s ease-in-out .11s}.first-wave-entrance .office-route-arrow:nth-of-type(2){animation-delay:.22s}.first-wave-entrance .office-route-arrow:nth-of-type(3){animation-delay:.33s}@keyframes entrance-pulse{50%{box-shadow:0 0 0 3px #ffb632,0 0 8px #ffb632}}@keyframes arrow-pulse{50%{fill:#ffc449;filter:drop-shadow(0 0 3px #a65922)}}.battle-danger-edge{position:fixed;z-index:24;top:0;right:0;bottom:0;left:0;width:min(100%,480px);margin-inline:auto;box-shadow:inset 0 0 clamp(26px,9vw,65px) 6px #cc1420;opacity:0;pointer-events:none}.office-board-style .core-danger-hit em{color:#a42327}.office-board-style .core-danger-hit .core-health{box-shadow:0 0 0 1px #9c3428,0 0 5px #ffcd71}.office-board:is(.board,.atlas-board-grid)>.cell.desk.brush-opening-cell{background:linear-gradient(#e9dfcd,#c6b8a2)}.office-board .desk.brush-opening-cell>.office-furniture{background-image:url(/tafang/player-stickers/duel-crate.webp)}.brush-opening{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;pointer-events:none}.brush-opening>i{position:absolute;inset:0 0 auto;height:33.34%;background:#fff url(/tafang/player-stickers/duel-desk.webp) center top / 100% 300% no-repeat;transform-origin:left;animation:brush-reveal .21s ease-in-out both}.brush-opening>i:nth-child(2){top:33.33%;background-position-y:center;transform-origin:right;animation-delay:.21s}.brush-opening>i:nth-child(3){top:66.66%;background-position-y:bottom;animation-delay:.42s}.workstation-brush{position:absolute;top:-31%;left:9%;width:82%;height:87%;background:url(/tafang/ui/workstation-brush.png) center / contain no-repeat;transform-origin:50% 85%;animation:workstation-brush .63s ease-in-out both}@keyframes brush-reveal{0%{scale:0 1}to{scale:1 1}}@keyframes workstation-brush{0%{transform:translate(-45%,4%) rotate(12deg)}33.33%{transform:translate(45%,31%) rotate(-12deg)}66.67%{transform:translate(-45%,59%) rotate(12deg)}94%{opacity:1}to{transform:translate(45%,85%) rotate(12deg);opacity:0}}.office-board-style .core{top:2px;right:0;bottom:1px;left:0;grid-template-rows:6px 1fr;gap:0}.office-board-style .threat.threat-hit i b{background:#ffcd71}.office-board-style .threat{z-index:1}.office-board-style .cell.desk.piece-valid{outline:1px dashed #547e29;outline-offset:-4px}.office-duel .cell.office-deployed:after{content:"";position:absolute;top:1px;right:1px;bottom:1px;left:1px;border:2px solid #ffae32;border-radius:5px;box-shadow:inset 0 0 0 1px #fff0be;pointer-events:none;animation:office-deployment .85s ease-out both}@keyframes office-deployment{0%,42%{opacity:1}to{opacity:0}}.office-duel .identity-divider{grid-template-columns:minmax(0,1fr) clamp(40px,13vw,58px) minmax(0,1fr);gap:2px;min-height:50px;height:auto;margin:3px 5px;padding:3px;border-radius:12px;background:#fff5d9;box-shadow:inset 0 -3px #bf8049,0 2px #fff9e6}.office-duel :is(.local-identity,.opponent-identity){min-height:41px;padding:2px 4px;border:1.5px solid #5b391f;border-radius:5px;background:linear-gradient(#f4fad8,#dfebb4);box-shadow:inset 0 1px #fffbe8,inset 0 -2px #a9a875}.office-duel .opponent-identity{flex-direction:row-reverse;background:linear-gradient(#fff3d9,#fbd8a7);box-shadow:inset 0 1px #fffbe8,inset 0 -2px #bd9061}.office-duel :is(.local-identity,.opponent-identity) div{display:grid;gap:3px}.office-duel :is(.local-identity,.opponent-identity) .identity-tag{padding:0;border-radius:0;background:none;box-shadow:none;color:#4b6526;font-size:10px;white-space:nowrap}.office-duel .opponent-identity .identity-tag{color:#85502a}.office-duel .opponent-identity small{display:inline;margin-left:2px;padding:0;border:0;background:none;box-shadow:none;font-size:9px}.office-duel .sticker-versus{--lettering-height: clamp(22px, 6.5vw, 33px);width:100%;height:auto;aspect-ratio:84 / 66;background-image:url(/tafang/player-stickers/duel-vs-plate.webp)}.office-duel .local-identity{translate:calc(0% - var(--intro-shift, 0%)) 0;scale:var(--intro-side-scale, 1)}.office-duel .opponent-identity{translate:var(--intro-shift, 0%) 0;scale:var(--intro-side-scale, 1)}.office-duel .sticker-versus{scale:var(--intro-vs-scale, 1)}.battle-opening-running:not(.battle-opening-settled) [data-core-health=local],.battle-opening-settled .battle-opening-runner{visibility:hidden}.battle-opening-runner,.battle-opening-bubble{position:absolute;z-index:8;pointer-events:none}.battle-opening-runner{color:#3f3431;font-size:clamp(20px,7vw,30px);font-weight:950;line-height:1;text-shadow:0 1px #fff5d0}.battle-opening-bubble{left:clamp(68px,var(--runner-x, 50%),calc(100% - 68px));padding:5px 8px;transform:translate(-50%,calc(-100% - 20px));border:1px solid #9d5d27;border-radius:8px;background:#fff8e9;color:#492a17;font:800 13px/16px Microsoft YaHei,system-ui,sans-serif;text-align:center;white-space:pre;opacity:0}.battle-opening-bubble.below{transform:translate(-50%,20px)}.battle-opening-bubble:after{content:"";position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;transform:rotate(45deg);border:solid #9d5d27;border-width:0 1px 1px 0;background:inherit}.battle-opening-bubble.below:after{top:-5px;bottom:auto;transform:rotate(225deg)}.office-duel .duel-command{margin-top:2px;padding:3px 5px 5px;border:2px solid var(--duel-ink);border-radius:12px;background:linear-gradient(#fff6dd,#f4d0a0);box-shadow:inset 0 1px #fff9e7,0 2px #fff9e6}.office-duel .duel-command .guide{margin:2px 0 5px;min-height:15px}.office-duel .hand{gap:5px;height:clamp(46px,13vw,53px)}.office-duel .card{background:linear-gradient(#fff8e3,#ffe4a5)}.office-board-style .deck-entry-btn{background:linear-gradient(#fff096,#ffd449)}.office-duel .card.selected{border-color:#a65a16;background:#ffe19a;box-shadow:inset 0 0 0 2px #ffb63c,0 2px #976740}.office-board-active :is(.card,.unit,.piece-drag-ghost) .glyph-master path{stroke:#492b20;stroke-width:27;stroke-linejoin:round;paint-order:stroke fill}.office-duel .action#recruit.sticker-button{flex-direction:row;gap:6px;min-height:44px;width:min(50%,184px);aspect-ratio:316 / 113;border:0;background:url(/tafang/player-stickers/duel-recruit-plate.webp) center / 100% 100% no-repeat,radial-gradient(ellipse,#ef4d1c 60%,transparent 68%)}.office-duel .action#recruit>.sticker-lettering{--lettering-height: clamp(27px, 8.5vw, 37px);font-size:clamp(21px,7vw,32px)}.office-duel .action .cash-cost{display:inline-flex;align-items:center;gap:3px;padding:2px 5px;border:1.5px solid #ffdfab;border-radius:7px;background:#a32f13;line-height:1}.office-board-style .hud .budget .sticker-cash,.office-board-style .action .sticker-cash,.office-board-active .cash-drop-fx .sticker-cash{width:20px;height:15px;filter:none}.office-board-active .cash-drop-fx{gap:2px}dialog.battle-pause-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:min(calc(100% - 34px),372px);margin:auto;padding:15px 19px 18px;border-image:url(/tafang/player-stickers/duel-pause-panel.webp) 35 fill / 24px stretch;text-align:center}.battle-pause-dialog::backdrop{background:var(--office-modal-veil);-webkit-backdrop-filter:var(--office-modal-blur);backdrop-filter:var(--office-modal-blur)}.battle-pause-dialog h2.sticker-heading{--lettering-height: 44px;margin:0 0 12px}.battle-pause-dialog p{margin:0 0 13px;font-size:14px;line-height:1.45}.battle-pause-actions{display:grid;gap:7px;max-width:250px;margin:auto}.battle-pause-dialog .sticker-button.pause-secondary{--button-ink: #694325;--button-shadow: 0 1px #fffaf0;border-image:none;background:linear-gradient(#fff9e4,#f3dfb4);box-shadow:inset 0 -3px #af8758}@media(prefers-reduced-motion:reduce){.office-duel .cell.office-deployed:after{animation-duration:.35s}}@media(max-height:700px){.office-duel .identity-divider{min-height:43px}.office-duel :is(.local-identity,.opponent-identity){min-height:34px}.office-duel .sticker-versus{max-height:34px}.office-duel .duel-command{margin-top:4px;padding-block:2px 4px}.office-duel .duel-command .guide{margin-block:1px 3px}.office-duel .action#recruit.sticker-button{padding-block:2px 4px}.office-duel .action#recruit>.sticker-lettering{--lettering-height: 27px}}.ranking-overlay{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:start center;padding:max(88px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));background:var(--office-modal-veil);backdrop-filter:var(--office-modal-blur);-webkit-backdrop-filter:var(--office-modal-blur)}.home-ranking{position:absolute;z-index:4;top:2.2%;left:4%;display:grid;place-items:center;width:clamp(60px,17%,78px);aspect-ratio:1;min-height:60px;padding:0;border:0;border-radius:10px;background:transparent;mix-blend-mode:multiply;cursor:pointer}.home-ranking img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.home-ranking:focus-visible{outline:2px solid #a76d3d;outline-offset:3px}.home-ranking:active{translate:0 1px}.home-ranking:disabled{opacity:.55;cursor:wait}.ranking-phone{width:min(100%,456px);height:min(660px,100%);min-height:0;margin:0;padding:10px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:8px;overflow:hidden;border:2px solid #8c6d50;border-radius:20px;box-shadow:0 9px 28px #241a1559,inset 0 0 0 3px #fff8e9;color:#422c1e;background:radial-gradient(ellipse at 50% 15%,#fffaf0,#f8ecd9 74%,#efdbba)}.ranking-header{display:flex;align-items:center;gap:8px;padding-bottom:3px}.ranking-back{flex:none;width:44px;height:44px;border:2px solid #795b42;border-radius:12px;box-shadow:0 3px #d7c1a5,inset 0 0 0 2px #fff9ed;background:#fbf2e2;color:#543822;font-size:34px;line-height:30px;cursor:pointer}.ranking-header>div{flex:1;min-width:0;text-align:center}.ranking-header h1{display:flex;justify-content:center;align-items:center;gap:5px;margin:0;color:#fffdf4;font-size:clamp(24px,6.6vw,30px);font-weight:1000;line-height:1.3;paint-order:stroke fill;-webkit-text-stroke:4px #513621;filter:drop-shadow(0 2px 0 #b59b7d);white-space:nowrap}.rank-trophy{flex:none;width:30px;height:34px;filter:drop-shadow(0 2px #dfb87f)}.ranking-paper{position:relative;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:8px;border:2px solid #8c6d50;border-radius:16px;background:#fffaf0;box-shadow:inset 0 0 0 5px #f4e7d2,0 4px 6px #7c5a2c26}.ranking-clip{position:absolute;top:-13px;left:calc(50% - 14px);width:28px;height:15px;background:linear-gradient(#9d8d78,#78634d);border:2px solid #584736;border-radius:3px;box-shadow:0 2px #c7b397}.ranking-clip:before{content:"";position:absolute;width:9px;height:13px;left:7px;top:-8px;border:2px solid #68533f;border-radius:7px 7px 2px 2px;background:#f5e8d5}.ranking-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:34px;padding:0 2px 4px}.ranking-panel-heading h2{margin:0;font-size:clamp(17px,4.6vw,22px);white-space:nowrap;font-weight:900}.ranking-panel-heading h2 span{color:#799452;font-size:18px;letter-spacing:-3px;text-shadow:-2px 1px #bd784b}.ranking-panel-heading small{flex:none;padding:5px 7px;border-radius:16px;background:#f2e5d2;color:#8b755b;font-size:10px;font-weight:700;white-space:nowrap}.ranking-list{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccb592 transparent;border-radius:9px}.ranking-list:focus-visible{outline:2px solid #9c805c;outline-offset:1px}.ranking-list ol{display:grid;gap:6px;margin:0;padding:0 2px 2px;list-style:none}.ranking-row{min-width:0;display:flex;align-items:center;gap:9px;height:56px;padding:4px 8px;border:1px solid #d2bea4;border-radius:9px;background:linear-gradient(110deg,#fffdf6,#fbf4e7);box-shadow:inset 0 1px #fff}.ranking-row.is-me{background:#ebf1dc;border-color:#96b27d}.ranking-row img,.ranking-self img{width:46px;height:46px;flex:none;object-fit:cover;border:1px solid #ccb89e;border-radius:50%;background:#edddc5}.rank-medal,.rank-number{position:relative;display:grid;place-items:center;flex:none;width:32px;height:42px;color:#8d7864;font-size:25px;font-weight:900}.rank-medal svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.rank-medal path{fill:#c77d47;stroke:#86502b;stroke-width:2px}.rank-medal circle{fill:#f5c360;stroke:#a36b2c;stroke-width:2px}.rank-medal b{position:relative;padding-bottom:6px;color:#82511f;font-size:24px}.medal-2 circle{fill:#c8d3db;stroke:#7e8b98}.medal-2 path{fill:#899aaa;stroke:#647486}.medal-2 b{color:#586775}.medal-3 circle{fill:#e7a474;stroke:#aa663d}.medal-3 b{color:#8a4c27}.ranking-person{min-width:0;flex:1}.ranking-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.35;color:#32271f}.ranking-person>span{display:block;margin-top:3px;font-size:12px;color:#8a7b69;white-space:nowrap}.ranking-me{flex:none;padding:4px 6px;border-radius:9px;background:#698653;color:#fffdf4;font-size:12px}.ranking-source{margin:7px 0 0;font-size:10px;text-align:center;line-height:1.4;color:#93816a}.ranking-empty{display:grid;place-content:center;min-height:100%;margin:0;padding:18px 8px;text-align:center;color:#80694e;line-height:1.7;font-weight:700}.ranking-empty small,.ranking-empty p{font-size:12px;font-weight:400}.ranking-retry{min-height:44px;padding:6px 20px;border:1px solid #b49470;border-radius:9px;background:#f5e6cd;color:#64482c;cursor:pointer}.ranking-unranked{margin:9px 2px;text-align:center;color:#8b7b65;font-size:11px}.ranking-rules{display:flex;justify-content:center;align-items:center;gap:10px;padding:5px 8px;border:1px solid #c5ac8d;border-radius:10px;background:#fff8e9}.ranking-rules>span{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1.5px solid #846347;border-radius:50%;background:#e8cfac;font-family:Georgia,serif;font-weight:900}.ranking-rules p{margin:0;font-size:11px;font-weight:700;line-height:1.5}.ranking-self{display:flex;align-items:center;gap:10px;min-height:58px;padding:5px 10px 5px 12px;border:1.5px solid #8d7459;border-left:10px solid #779465;border-radius:12px;background:#fffaf0;box-shadow:0 2px #d6c2a6}.ranking-self>div{flex:1;min-width:0}.ranking-self strong{display:block;font-size:16px;white-space:nowrap}.ranking-self em{color:#5a7a45;font-style:normal}.ranking-self p{display:flex;gap:6px;margin:4px 0 0;font-size:11px;color:#8c7c68}.ranking-self p span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranking-self p small{flex:none;font-size:inherit}.ranking-home{min-height:56px;margin:12px -4px 4px;border:2px solid #62452d;border-radius:13px;box-shadow:0 4px #65472c,inset 0 2px #f1b786;background:radial-gradient(ellipse at 50% 0,#df8754,#c46338);color:#fff9ee;font-size:23px;font-weight:900;cursor:pointer}.ranking-home:active,.ranking-back:active{filter:brightness(.95)}@media(min-width:400px){.ranking-row{height:56px}.ranking-person strong{font-size:18px}.ranking-person>span{font-size:13px}}.stage-hub-dialog,.deck-dialog,.smooth-mode-dialog{width:min(412px,calc(100vw - 18px));max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(18px,env(safe-area-inset-bottom)));margin:auto;padding:0;border:3px solid #593418;border-radius:18px;background:linear-gradient(180deg,#fff8df,#f9e8be);box-shadow:inset 0 2px #fffdf3,0 8px #533019,0 20px 36px #2212067a;color:#472713;overflow:auto}dialog:modal{overscroll-behavior:contain}dialog::backdrop{overflow:hidden;overscroll-behavior:contain;background:#21140a9e;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.stage-hub-dialog[open],.deck-dialog[open],.smooth-mode-dialog[open]{display:flex;flex-direction:column}.deck-close-form{margin:0}.stage-hub-head{position:relative;display:grid;gap:8px;padding:14px 14px 10px;border-bottom:2px solid #cfa368;background:linear-gradient(180deg,#ffe792,#ffd768)}.stage-hub-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-right:36px}.stage-hub-title-wrap{display:flex;align-items:center;gap:8px;min-width:0}.stage-hub-title-wrap img{width:34px;height:34px;object-fit:contain;flex:none}.stage-hub-title-wrap h2{margin:0;font-size:clamp(18px,5vw,22px);font-weight:950;color:#4b260f;text-shadow:0 1px #fff6c9;line-height:1.15}.stage-hub-title-wrap small{display:block;font-size:11px;font-weight:800;color:#7c481e}.stage-hub-close{position:absolute;top:10px;right:10px}.stage-hub-status-bar{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap}.stage-hub-wallet,.stage-hub-stars,.stage-hub-record{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border:1.5px solid #5c3519;border-radius:999px;background:#fff6d6;font-size:11.5px;font-weight:900;color:#4a2812}.stage-hub-stars{color:#b45309;letter-spacing:1px}.stage-hub-wallet b{font-size:13px;color:#b45309}.stage-hub-handbook-btn{padding:4px 10px;border:1.5px solid #5c3519;border-radius:999px;background:#e8f5c8;color:#365314;font-size:12px;font-weight:900;cursor:pointer}.salary-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1.5px solid #dec08e;background:linear-gradient(90deg,#fff3c4,#fde68a)}.salary-bar strong{display:block;font-size:13px;font-weight:950;color:#7c2d12}.salary-bar small{display:block;font-size:11px;font-weight:700;color:#78350f}.salary-claim-btn{flex:none;min-height:34px;padding:5px 11px;border:2px solid #58280e;border-radius:10px;background:linear-gradient(180deg,#4ade80,#16a34a);box-shadow:inset 0 1px #dcfce7,0 2px #14532d;color:#fff;font-size:12px;font-weight:950;cursor:pointer}.salary-claim-btn:disabled{background:#e5dac3;border-color:#8c6d4e;box-shadow:none;color:#6b533b;cursor:default}.stage-hub-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 12px 0;background:#faecc8}.stage-hub-tab{padding:8px 10px;border:2px solid #7c4f28;border-bottom:0;border-radius:11px 11px 0 0;background:#edd7a7;color:#6b4423;font-size:14px;font-weight:900;cursor:pointer}.stage-hub-tab[aria-selected=true]{background:#fff8e4;color:#46230c;box-shadow:inset 0 2px #fffdf7}.stage-hub-body{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:12px;background:#fff8e4;display:grid;gap:10px}.stage-focus-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:2px solid #6b4121;border-radius:13px;background:linear-gradient(135deg,#fff2c2,#ffe49c);box-shadow:inset 0 1px #fffbeb}.stage-mini-map{width:112px;aspect-ratio:8 / 5;border:2px solid #5f391c;border-radius:8px;background:#b7cc7a;overflow:hidden;box-shadow:inset 0 0 0 1px #dce9ae}.stage-mini-map svg{display:block;width:100%;height:100%}.stage-focus-info{display:grid;gap:3px;min-width:0;text-align:left}.stage-focus-chapter{font-size:11px;font-weight:800;color:#854d1e}.stage-focus-info h3{margin:0;font-size:16px;font-weight:950;color:#43220d;line-height:1.2}.stage-focus-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.stage-focus-tags span{padding:1px 6px;border-radius:6px;border:1px solid #8c5c30;background:#fff8e1;font-size:11px;font-weight:800;color:#5c3517}.stage-focus-brief{margin:3px 0 0;font-size:12px;line-height:1.35;color:#5a3419;font-weight:700}.rank-rules-card,.deck-group-card{display:grid;gap:8px;padding:10px;border:2px solid #7c4f28;border-radius:12px;background:#fff4d4;text-align:left}.deck-group-card.is-gold{border-color:#b45309;background:linear-gradient(180deg,#fff8dc,#fef0ba)}.deck-group-head{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.deck-group-head strong{font-size:13.5px;font-weight:950;color:#43220d}.deck-group-head span{font-size:11px;font-weight:800;color:#7c4a21}.rank-stat-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.rank-stat-pills span{display:flex;align-items:center;justify-content:space-between;padding:5px 8px;border-radius:8px;border:1px solid #c69a63;background:#fffaf0;font-size:12px;font-weight:800;color:#5c361a}.rank-stat-pills b{color:#c2410c;font-weight:950}.rank-protection-row{display:flex;flex-wrap:wrap;gap:5px}.rank-protection-row span{padding:3px 8px;border-radius:999px;background:#dcfce7;border:1px solid #16a34a;color:#14532d;font-size:11px;font-weight:900}.map-practice-grid{display:grid;gap:7px}.map-practice-card{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:8px;align-items:center;padding:6px 8px;border:1.5px solid #8c6239;border-radius:10px;background:#fffaf0}.map-practice-card.is-locked{opacity:.65;background:#ede2cc}.map-practice-thumb{width:74px;aspect-ratio:8 / 5;border-radius:6px;border:1.5px solid #5f391c;overflow:hidden}.map-practice-thumb svg{display:block;width:100%;height:100%}.map-practice-meta strong{display:block;font-size:13px;font-weight:950;color:#43220d}.map-practice-meta strong i{font-style:normal;padding:1px 5px;border-radius:999px;background:#fef3c7;border:1px solid #d97706;color:#92400e;font-size:10px}.map-practice-meta small{display:block;font-size:11px;font-weight:700;color:#6b4423}.map-practice-btn{min-width:58px;min-height:32px;padding:4px 10px;border:1.5px solid #4d2c14;border-radius:8px;background:linear-gradient(180deg,#fde047,#f59e0b);color:#451a03;font-size:12px;font-weight:950;cursor:pointer}.map-practice-btn:disabled{background:#d6cbb5;color:#6b5b47;cursor:not-allowed}.rank-ladder-list{display:grid;gap:4px}.rank-ladder-row{display:grid;grid-template-columns:1.1fr 1fr auto;gap:6px;align-items:center;padding:5px 8px;border-radius:7px;background:#fffaf0;border:1px solid #dec08e;font-size:11.5px;font-weight:800;color:#5c361a}.rank-ladder-row.is-current{background:#fef08a;border-color:#ca8a04;color:#422006}.stage-hub-footer{padding:10px 12px 12px;border-top:2px solid #dec08e;background:#faecc8}.stage-launch-btn{width:100%;min-height:48px;font-size:16px}.deck-prob-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.deck-prob-chip{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1.5px solid #c69a63;border-radius:9px;background:#fffdf6}.deck-prob-chip.is-gold{border-color:#d97706;background:#fffbeb}.deck-glyph{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:7px;border:1.5px solid #7c4f28;background:#fff6df;font-size:16px;font-weight:950;flex:none}.deck-glyph.is-gold{border-color:#b45309;background:linear-gradient(180deg,#fef08a,#f59e0b);color:#451a03}.deck-prob-chip b{display:block;font-size:13px;font-weight:950;color:#43220d}.deck-prob-chip small{display:block;font-size:10.5px;font-weight:700;color:#7c4a21}.deck-note{margin:0;font-size:12px;font-weight:700;line-height:1.4;color:#5c361a}.codex-dept-list{display:grid;gap:7px}.codex-dept-card{display:grid;gap:4px;padding:8px 10px;border-radius:10px;border:1.5px solid #b45309;background:#fffdf5}.codex-dept-card.is-locked{border-style:dashed;border-color:#9a7b56;background:#f3ead6;color:#6b533b}.codex-dept-top{display:flex;align-items:center;gap:7px}.codex-pair{display:inline-flex;align-items:center;gap:2px}.codex-pair b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:5px;border:1.5px solid #92400e;background:linear-gradient(180deg,#fde047,#f59e0b);color:#451a03;font-size:12px;font-weight:950}.codex-pair.is-locked b{border-color:#786048;background:#dfd3bc;color:#574533}.codex-pair i{font-style:normal;font-weight:900;font-size:11px}.codex-dept-top strong{font-size:14px;font-weight:950}.codex-tag-unlocked,.codex-tag-locked{margin-left:auto;font-style:normal;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:900}.codex-tag-unlocked{background:#dcfce7;color:#166534}.codex-tag-locked{background:#e2d6c1;color:#6b533b}.codex-stats{font-size:11px;font-weight:800;color:#92400e}.codex-dept-card p{margin:0;font-size:11.5px;font-weight:700;line-height:1.38}.codex-basic-list{display:grid;gap:5px;font-size:12px;font-weight:800;color:#4a2812}.codex-basic-list div{display:flex;align-items:center;gap:7px;padding:4px 7px;border-radius:7px;background:#fffaf0}.codex-basic-list b{font-size:14px;font-weight:950}.tech-fair-note{margin:2px 0 0;padding:7px 9px;border-radius:9px;background:#efe3c5;color:#6b4626;font-size:11px;font-weight:700;line-height:1.4}.deck-entry-btn{display:grid;align-content:center;justify-items:center;gap:1px;width:48px;min-height:48px;padding:4px 3px;border:2px solid #5a3418;border-radius:11px;background:linear-gradient(180deg,#ffe89e,#f5b942);box-shadow:inset 0 1px #fffbeb,0 3px #5a3418;color:#46230c;font-family:inherit;cursor:pointer}.deck-entry-btn strong{font-size:12px;font-weight:950;line-height:1.1}.deck-entry-btn small{font-size:9.5px;font-weight:800;color:#6e3b16;line-height:1}.deck-entry-btn:active{transform:translateY(1px);box-shadow:inset 0 1px #fffbeb,0 2px #5a3418}.boss-tip-banner{position:fixed;top:max(50px,calc(env(safe-area-inset-top) + 46px));left:50%;transform:translate(-50%);z-index:125;width:min(392px,calc(100vw - 16px));border:2.5px solid #7f1d1d;border-radius:14px;background:linear-gradient(180deg,#fef2f2,#fee2e2);box-shadow:0 8px 22px #7f1d1d5c;overflow:hidden;color:#450a0a}@media(prefers-reduced-motion:no-preference){.boss-tip-banner{animation:boss-tip-enter .24s cubic-bezier(.2,.85,.32,1)}}@keyframes boss-tip-enter{0%{opacity:0;transform:translate(-50%,-10px) scale(.96)}to{opacity:1;transform:translate(-50%) scale(1)}}.boss-tip-strip{padding:3px 10px;background:repeating-linear-gradient(-45deg,#991b1b 0,#991b1b 10px,#b91c1c 10px,#b91c1c 20px);color:#fef2f2;font-size:10px;font-weight:950;letter-spacing:.6px;text-align:center}.boss-tip-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px}.boss-tip-emblem{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;border:2px solid #7f1d1d;background:linear-gradient(180deg,#ef4444,#b91c1c);color:#fff;font-size:20px;font-weight:950}.boss-tip-copy strong{display:block;font-size:13.5px;font-weight:950;color:#7f1d1d}.boss-tip-copy small{display:block;font-size:11px;font-weight:700;color:#991b1b}.boss-tip-btn{padding:6px 12px;border:2px solid #7f1d1d;border-radius:9px;background:linear-gradient(180deg,#fde047,#f59e0b);color:#451a03;font-size:12px;font-weight:950;cursor:pointer}.smooth-mode-card{display:grid;gap:10px;padding:16px;text-align:left}.smooth-mode-card h2{margin:0;font-size:18px;font-weight:950;color:#4b260f}.smooth-mode-card p{margin:0;font-size:13px;line-height:1.45;font-weight:700;color:#5c361a}.smooth-mode-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}.smooth-btn-cancel,.smooth-btn-enable{min-height:40px;border-radius:10px;border:2px solid #593418;font-size:13px;font-weight:950;cursor:pointer}.smooth-btn-cancel{background:#efe3c5;color:#5c361a}.smooth-btn-enable{background:linear-gradient(180deg,#4ade80,#16a34a);color:#fff}.battle-end-rank-banner{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:4px auto 6px;padding:5px 12px;border:2px solid #7c4f28;border-radius:999px;background:#fff4cf;font-size:13px}.battle-end-rank-banner.is-promoted{border-color:#ca8a04;background:linear-gradient(90deg,#fef08a,#fde047)}.battle-end-rank-banner strong{font-weight:950;color:#451a03}.battle-end-delta{font-style:normal;padding:1px 7px;border-radius:999px;background:#5c3519;color:#fff7ed;font-size:11px;font-weight:900}.office-duel.smooth-mode .damage-float{display:none!important}.home-comic-a #open-handbook-tool>img{position:absolute;top:2%;left:12%;width:78%;height:62%;object-fit:contain;pointer-events:none}.home-comic-a #open-handbook-tool>.home-tool-label{inset:63% 9% auto 3%;width:auto;height:34%;border:max(1px,.18em) solid #5a301b;border-radius:100px;background:#fff3d7;box-shadow:0 0 0 2px #fff9eb}.platform-toggles{display:grid;gap:7px;margin-top:10px;padding-top:10px;border-top:1.5px dashed #b98c58}.platform-toggle-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:6px 12px;border:2px solid #633c1e;border-radius:10px;background:#fff6db;color:#472713;font-size:13px;font-weight:900;cursor:pointer}.platform-toggle-btn em{font-style:normal;padding:2px 8px;border-radius:999px;font-size:11px;background:#e5dac3;color:#5c4028}.platform-toggle-btn[aria-pressed=true] em{background:#bbf7d0;color:#14532d}.office-duel.wx-capsule-safe .hud{padding-right:var(--wx-capsule-reserve, 98px)}.wx-capsule-preview{position:fixed;top:calc(env(safe-area-inset-top) + 7px);right:max(8px,calc((100vw - min(100vw,480px))/2 + 8px));z-index:130;display:inline-grid;grid-template-columns:1fr 1px 1fr;align-items:center;width:87px;height:32px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:#19191994;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;font-size:12px;font-weight:900;text-align:center;pointer-events:none;box-shadow:0 2px 6px #00000038}.wx-capsule-preview i{display:block;width:1px;height:16px;background:#ffffff52}body:has(.mode-phone.home-comic-a){background:radial-gradient(ellipse at 50% 20%,#e8f7ff 0,#dceefa 45%,#f6e5ce)}#app:has(.mode-phone.home-comic-a){display:grid;align-items:center;min-height:100dvh}.mode-phone.home-comic-a{--comic-scale: .45;display:block;width:min(100%,calc(max(480px,100dvh) * 830 / 1895));height:auto;min-height:0;aspect-ratio:830 / 1895;margin:0 auto;padding:0;background:#8ed0ff center / 100% 100% no-repeat;box-shadow:0 0 32px #445e6f25;font-family:Microsoft YaHei,system-ui,sans-serif}.home-comic-a:before,.home-comic-a .office-scene:before,.home-comic-a .office-scene:after{display:none}.home-comic-a .home-actions{display:contents}.home-comic-a .home-component,.home-comic-a .home-actions .mode-button{position:absolute;z-index:2;display:block;right:auto;bottom:auto;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent center / 100% 100% no-repeat;box-shadow:none;color:#3b2115;font-size:0;letter-spacing:0;text-shadow:none;filter:none;opacity:1;mix-blend-mode:normal;transform:none;translate:none}.home-comic-a .home-component-brand{z-index:4;display:grid;place-items:center;font-size:calc(var(--comic-scale) * 64px);font-weight:900}.home-comic-a .home-component-characters{z-index:3;pointer-events:none}.home-comic-a button.home-component{z-index:10;cursor:pointer;transform-origin:center;transition:transform .14s cubic-bezier(.2,.8,.3,1.25),filter .14s}.home-comic-a button.home-component:not(:disabled):active{transform:translateY(2px) scale(.96);filter:brightness(.96)}.home-comic-a button.home-component:disabled{cursor:wait;filter:grayscale(.35) brightness(.93)}.home-comic-a button.home-component:focus-visible{outline:3px solid #392116;outline-offset:3px;border-radius:12px;box-shadow:0 0 0 5px #fff8e9}.home-comic-a .home-component-ai{clip-path:inset(-8px 3.66% -8px -8px)}.home-comic-a .home-component-pvp{clip-path:inset(-8px -8px -8px 4.24%)}.home-comic-a button.home-component-profile{z-index:11}@media(hover:hover){.home-comic-a button.home-component:not(:disabled):hover:not(:active){filter:brightness(1.045)}}.home-comic-a .home-entry-title-art{position:absolute;display:block;max-width:none;max-height:none;margin:0;padding:0;border:0;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.home-comic-a .home-tool-label{position:absolute;left:17%;top:68%;width:66%;height:25%;display:grid;place-items:center;color:#3b2115;font-size:calc(var(--comic-scale) * 27px);font-weight:800;line-height:1;pointer-events:none}.home-comic-a .home-profile>img{position:absolute;left:12.4242%;top:40.5512%;width:16.9697%;height:42.5197%;max-width:none;max-height:none;aspect-ratio:auto;margin:0;border:0;border-radius:50%;object-fit:cover;background:none;box-shadow:none;pointer-events:none}.home-comic-a .home-profile>strong{position:absolute;left:35.4545%;top:40.1575%;width:46.2121%;height:18.8976%;display:block;overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis;color:#3b2115;font-size:calc(var(--comic-scale) * 34px);font-weight:800;line-height:calc(var(--comic-scale) * 48px);letter-spacing:0;pointer-events:none}.home-comic-a .home-profile>small{position:absolute;left:34.8485%;top:62.5984%;width:43.4848%;height:16.9291%;display:grid;place-items:center;margin:0;padding:0 3px;background:none;color:#3b2115;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:calc(var(--comic-scale) * 28px);font-weight:700;line-height:1;pointer-events:none}.home-comic-a .home-daily-status{position:absolute;left:33.3333%;top:59.2%;width:35.8974%;height:25.2%;display:grid;place-items:center;margin:0;padding:0 3px;color:#214511;background:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:calc(var(--comic-scale) * 28px);font-weight:800;line-height:1;pointer-events:none}.home-comic-a .home-daily-status-long{font-size:calc(var(--comic-scale) * 24px)}.home-comic-a button.home-component:not(.home-component-art){border:2px solid #493426;border-radius:14px;background-color:#fff4da}.home-comic-a .home-component-characters:not(.home-component-art){visibility:hidden}.home-comic-a .home-actions .home-entry-title{position:absolute;top:0;bottom:0;left:0;display:grid;place-items:center;right:auto;width:100%;margin:0;font-size:calc(var(--comic-scale) * 46px);font-weight:900;line-height:1.2}.home-comic-a .home-component-daily>.home-entry-title{left:33%;top:18%;width:42%;height:28%;color:#3b2115;text-shadow:0 1px 0 #fff7db;font-size:calc(var(--comic-scale) * 40px)}.home-art-status{position:absolute;z-index:25;bottom:max(5px,env(safe-area-inset-bottom));left:3%;width:94%;display:flex;align-items:center;justify-content:center;gap:6px;color:#392116;background:#fff4dce8;border-radius:9px;font:11px Microsoft YaHei,system-ui,sans-serif;pointer-events:none}.home-art-status button{min-height:28px;padding:3px 8px;border:2px solid #392116;border-radius:8px;background:#ffc954;color:#392116;font:700 11px Microsoft YaHei,system-ui,sans-serif;cursor:pointer;pointer-events:auto}.home-art-status button:focus-visible{outline:3px solid #392116;outline-offset:3px}.home-comic-a .home-actions>p{position:absolute;z-index:12;bottom:calc(4px + var(--notice-row, 0) * 22px);left:3%;width:94%;max-height:36px;margin:0;padding:2px 5px;overflow:auto;border-radius:5px;background:#fff6e9f0;color:#773d2b;font:11px/1.3 Microsoft YaHei,system-ui,sans-serif}.home-comic-a #retry-profile{position:absolute;z-index:13;left:24%;top:97%;width:52%;margin:0;padding:0 4px;min-height:24px;border:1px solid #422717;border-radius:8px;background:#fff5db;color:#422717;font:700 11px Microsoft YaHei,system-ui,sans-serif}.home-comic-a:has(#retry-profile) .home-actions>p{bottom:calc(30px + var(--notice-row, 0) * 22px)}@media(prefers-reduced-motion:reduce){.home-comic-a button.home-component{transition:none}}.home-comic-a #open-share>img{position:absolute;top:0;left:8%;width:88%;height:67%;object-fit:contain;pointer-events:none}.home-comic-a #open-share>.home-tool-label{inset:63% 9% auto 3%;width:auto;height:34%;border:max(1px,.18em) solid #5a301b;border-radius:100px;background:#fff3d7;box-shadow:0 0 0 2px #fff9eb}.home-share-dialog{position:fixed;width:min(calc(100% - 28px),390px);max-height:calc(100dvh - 28px);overflow-y:auto;margin:auto;text-align:center}.home-share-dialog::backdrop{background:var(--office-modal-veil);-webkit-backdrop-filter:var(--office-modal-blur);backdrop-filter:var(--office-modal-blur)}.home-share-dialog figure{margin:0 auto 12px}.home-share-dialog figure img{width:100%;max-height:45dvh;aspect-ratio:5 / 4;object-fit:contain;background:#fff6dc;border-radius:10px}.home-share-dialog figcaption{margin-top:6px;font-size:16px;font-weight:900}.home-share-link{width:100%;min-height:40px;padding:6px 9px;border:1px solid #9b6738;border-radius:8px;background:#fffaf0;color:#492a17}.home-share-actions{display:flex;gap:8px;margin-top:8px}.home-share-actions>button{flex:1}.home-share-status{margin:8px 0 0;min-height:1.25em;font-size:13px}@media(prefers-reduced-motion:no-preference){.home-comic-a #mode-ai.home-component-art:not(:disabled):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;mask:var(--ai-sheen-mask) center / 100% 100%;background:linear-gradient(114deg,transparent 40%,#fff8c16b 50%,transparent 60%) 150% center / 200% 100%;animation:home-ai-sheen 5s .65s infinite}@keyframes home-ai-sheen{0%{background-position:150% center;opacity:1}11.6%{background-position:-50% center;opacity:1}11.7%,to{background-position:-50% center;opacity:0}}}.battle-end-overlay{position:fixed;z-index:110;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:max(50px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));background:var(--office-modal-veil);backdrop-filter:var(--office-modal-blur);-webkit-backdrop-filter:var(--office-modal-blur);overscroll-behavior:contain}.battle-end-paper{position:relative;width:min(350px,100%);max-height:calc(100dvh - 72px);padding:42px 18px 18px;border:3px solid #70492f;border-radius:22px;background:repeating-linear-gradient(0deg,transparent 0 17px,#d2ae6e29 17px 18px) center / calc(100% - 32px) calc(100% - 34px) no-repeat,linear-gradient(145deg,#fffaf0,#faecd5);box-shadow:inset 0 0 0 4px #e4c8a4,inset 0 0 0 7px #fff7e8,0 7px #553827,0 18px 28px #21160c70;color:#5d452f;text-align:center}.battle-end-scroll{max-height:calc(100dvh - 138px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b99b76 #fff3df}.battle-end-paper:before,.battle-end-paper:after{content:"";position:absolute;z-index:3;width:42px;height:20px;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2070%2030'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='a'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23fff0b4'/%3e%3cstop%20offset='1'%20stop-color='%23f8cc70'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='m4%203%205%202%203-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%205-3%204%204-2%2019-4-2-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%202z'%20fill='url(%23a)'%20fill-opacity='.92'%20stroke='%23d8ab57'%20stroke-width='1.4'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%206h48'%20stroke='%23fff9d9'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e") center / 100% 100% no-repeat;filter:drop-shadow(0 1px 1px #9d7c4544);transform:rotate(-44deg);pointer-events:none}.battle-end-paper:before{left:-7px;top:2px}.battle-end-paper:after{right:-8px;bottom:-1px}.battle-end-clip{position:absolute;z-index:4;left:50%;top:-46px;width:116px;height:58px;transform:translate(-50%);filter:drop-shadow(0 3px 2px #4c492d66);pointer-events:none}.battle-end-clip [fill="#bcebd8"]{fill:#99bc83;stroke:#4f683d}.battle-end-clip [stroke="#effff5"]{stroke:#e4f0cf}.battle-end-clip [fill="#497f70"]{fill:#4f683d}.battle-end-clip [stroke="#8dcab5"]{stroke:#c0d3a3}.battle-end-paper h2{position:relative;isolation:isolate;width:fit-content;max-width:100%;margin:0 auto 15px;color:#e58a43;font-size:clamp(46px,14.5vw,62px);font-weight:1000;line-height:1.22;letter-spacing:-2px;white-space:nowrap;-webkit-text-stroke:3px #5c311d;paint-order:stroke fill;text-shadow:0 3px #ffdba0,0 5px #743c20,2px 7px 1px #562b2144}.battle-end-paper h2:after{content:"";position:absolute;z-index:-1;left:1%;right:1%;bottom:-10px;height:14px;border-radius:50% 56% 40% 43%;background:#e8c490;transform:rotate(-1deg)}.battle-end-victory h2{color:#ffc841;-webkit-text-stroke:2.4px #6d270d;text-shadow:0 2px #ffe892,0 5px #b14b11,0 7px #67290d,2px 9px 1px #562b2155}.battle-end-victory h2:after{background:#9bdec0}.battle-end-paper .battle-end-title-art{display:flex;justify-content:center;gap:0;padding:2px 5px 6px;margin:0 auto 8px;font-family:Microsoft YaHei,PingFang SC,sans-serif;font-size:clamp(48px,14vw,64px);line-height:1.22;letter-spacing:-4px;-webkit-text-stroke:0;text-shadow:none}.battle-end-title-art:after{display:none}.battle-end-title-art span{position:relative;display:block;isolation:isolate;background:linear-gradient(150deg,#ffe69d 4%,#ffc16b 30%,#fa8a34,#e46b2c);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-stroke:.6px #ffe3a2}.battle-end-title-art span:before{content:attr(data-letter);position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;color:#ed873a;-webkit-text-stroke:5px #542e1c;text-shadow:0 2px #98491f,0 4px #7c3a1c,1px 6px #562b1c,1px 8px 3px #562b2155}.battle-end-title-art span:nth-child(1){transform:rotate(-6deg) translateY(2px)}.battle-end-title-art span:nth-child(2){transform:rotate(3deg) translateY(-1px)}.battle-end-title-art span:nth-child(3){transform:rotate(-3deg)}.battle-end-title-art span:nth-child(4){transform:rotate(4deg) translateY(2px)}.battle-end-victory .battle-end-title-art span{background-image:linear-gradient(155deg,#fff6a5 3%,#ffe46a 30%,#ffbf27 66%,#ff9419);-webkit-text-stroke-color:#fff2a2}.battle-end-victory .battle-end-title-art span:before{color:#ffc334;-webkit-text-stroke-color:#79300e;text-shadow:0 2px #bd5c0f,0 4px #a64809,1px 6px #78300c,1px 8px 3px #70331155}.battle-end-victory .battle-end-title-art:after{display:block;top:-16px;right:-22px;bottom:-3px;left:-22px;height:auto;z-index:-2;border-radius:0;transform:none;background:repeating-conic-gradient(from -8deg at 50% 88%,#ffdc594d 0deg 12deg,transparent 12deg 27deg);-webkit-mask-image:radial-gradient(ellipse at 50% 80%,#000 15%,transparent 70%);mask-image:radial-gradient(ellipse at 50% 80%,#000 15%,transparent 70%);pointer-events:none}.battle-end-confetti{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.battle-end-confetti i{position:absolute;width:8px;height:16px;border-radius:3px;transform:rotate(-35deg)}.battle-end-confetti i:nth-child(1){top:43px;left:25%;background:#65c791}.battle-end-confetti i:nth-child(2){top:36px;left:34%;background:#ffbf2e;transform:rotate(-18deg)}.battle-end-confetti i:nth-child(3){top:68px;left:10%;background:#ff7436;transform:rotate(-50deg)}.battle-end-confetti i:nth-child(4){top:50px;right:17%;background:#ff722c;transform:rotate(35deg)}.battle-end-confetti i:nth-child(5){top:84px;right:7%;background:#5dc798;transform:rotate(-56deg)}.battle-end-confetti i:nth-child(6){top:91px;left:8%;background:#ffc347;transform:rotate(62deg)}.battle-end-message{width:fit-content;max-width:100%;margin:0 auto;padding:7px 18px;border-radius:999px;background:#f2dbb6;color:#70472b;font-size:clamp(16px,4.6vw,19px);font-weight:900;line-height:1.2}.battle-end-victory .battle-end-message{background:#c0ecd0;color:#176247}.battle-end-hint{margin:5px 0 0;color:#9a7959;font-size:clamp(13px,3.7vw,16px);font-weight:800;line-height:1.25}.battle-end-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:14px}.battle-end-metrics>div{display:grid;gap:3px;min-width:0;padding:10px 2px 8px;border:1px solid #d8b381;border-radius:12px;background:linear-gradient(#fff6e1,#f6e9cc);box-shadow:inset 0 0 0 1px #e7c799,inset 0 3px #fffaf0}.battle-end-metrics strong{white-space:nowrap;color:#335c3f;font-size:clamp(19px,5.8vw,25px);line-height:1}.battle-end-metrics strong small{font-size:.56em}.battle-end-metrics span{color:#8b7153;font-size:12px;font-weight:800}.battle-end-highlight{margin-top:12px;padding:9px 10px;border-radius:12px;background:linear-gradient(110deg,#f7ebcc,#faefd8);box-shadow:inset 3px 0 #a9bb84;text-align:left}.battle-end-highlight b{color:#896747;font-size:13px}.battle-end-highlight p{margin:4px 0 0;color:#355b3d;font-size:16px;font-weight:900;overflow-wrap:anywhere}.battle-end-record{margin:9px 0 0;color:#826446;font-size:13px;font-weight:800}.battle-end-achievement{margin:9px 0 0;padding:7px 9px;border:1px solid #e3bd77;border-radius:9px;background:#fff3d5;color:#79521f;font-size:13px;font-weight:900}.battle-end-record-new{color:#af561b;animation:battle-record-pop .55s ease-out}@keyframes battle-record-pop{0%{transform:scale(.93);opacity:.5}to{transform:scale(1);opacity:1}}.battle-end-goal{margin:10px 0 0;color:#876b4e;font-size:13px;line-height:1.35;text-align:left}.battle-end-goal b{display:block;color:#5c432c}.battle-end-detail-toggle{display:block;margin:8px auto 0;padding:5px 8px;border:0;background:transparent;color:#4f6c49;font-size:13px;font-weight:800;text-decoration:underline;cursor:pointer}.battle-end-detail-toggle:focus-visible{outline:2px solid #d5a24b;border-radius:4px}.battle-end-details{margin-top:5px;padding:7px 10px;border-radius:10px;background:repeating-linear-gradient(0deg,transparent 0 17px,#d7b98c1c 17px 18px),linear-gradient(#fff4de,#f5e5c7);box-shadow:inset 0 0 0 1px #d5ae7c,inset 0 0 0 3px #fff5df;color:#6a5138;text-align:left;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.battle-end-details[hidden]{display:none}.battle-end-details p{margin:3px 0}.battle-end-saved{display:flex;align-items:center;justify-content:center;gap:10px;margin:13px 0 0;padding:12px 0 0;border-top:2px solid #d7bc96;color:#5d4a32;font-size:clamp(15px,4.2vw,18px);font-weight:900;line-height:1.3}.battle-end-saved span{display:grid;flex:none;place-items:center;width:28px;height:28px;border-radius:50%;background:#29b86d;color:#fff}.battle-end-saved svg{width:23px;height:23px}.battle-end-restart-message{margin:12px 0 0;color:#a24f24;font-size:13px;font-weight:800;line-height:1.4}.battle-end-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.battle-end-buttons button{min-width:0;min-height:55px;padding:7px 4px;border:3px solid #4d5334;border-radius:15px;background:linear-gradient(#e8efd1,#c5d4a5);box-shadow:inset 0 0 0 2px #f7f8e6,0 4px #5b5136,0 7px 8px #4430223b;color:#34513a;font-size:clamp(15px,4.3vw,19px);font-weight:900;line-height:1.1;cursor:pointer}.battle-end-buttons button small{display:block;margin-top:4px;font-size:10px;font-weight:700;line-height:1.2}.battle-end-buttons .battle-end-challenge{position:relative;min-height:70px;padding:10px 4px 9px;border-width:2px;border-color:#3e3928;border-radius:16px;background:radial-gradient(ellipse at 25% 0%,#b3daa566,transparent 65%),linear-gradient(135deg,#6ba875,#498a55 50%,#326d40);box-shadow:inset 0 0 0 2px #b0d69a,inset 0 -4px 5px #315a3866,0 4px #3f3928,0 7px 7px #49342240;color:#fffaf0;text-shadow:0 1px #365638}.battle-end-challenge>span{display:block;white-space:nowrap;font-size:clamp(17px,4.8vw,21px);line-height:1.15}.battle-end-buttons .battle-end-challenge small{margin-top:5px;font-size:clamp(9px,2.7vw,11px);line-height:1.2}.battle-end-buttons #new-seed,.battle-end-buttons-pvp #same-seed{border-color:#693b24;background:radial-gradient(ellipse at 25% 0%,#ffdb9566,transparent 65%),linear-gradient(135deg,#ffa143,#f18735 52%,#df6927);box-shadow:inset 0 0 0 2px #ffd18d,inset 0 -4px 5px #bd582c66,0 4px #733b23,0 7px 7px #74402140;color:#fffaf0;text-shadow:0 1px #a6522d}.battle-end-buttons #new-seed>span{font-size:clamp(21px,5.8vw,26px)}.battle-end-buttons #choose-mode{grid-column:1 / -1;min-height:39px;padding:4px;font-size:14px}.battle-end-buttons-pvp #choose-mode{grid-column:auto;min-height:55px;font-size:clamp(15px,4.3vw,19px)}.battle-end-buttons button:disabled{opacity:.6;cursor:wait}.battle-end-buttons button:focus-visible{outline:3px solid #d5a24b;outline-offset:3px}.battle-end-buttons button:active{translate:0 2px;box-shadow:inset 0 0 0 2px #ffffff60,0 1px #6b5035}.campaign-entry .battle-end-paper h2{font-size:clamp(28px,8vw,36px);letter-spacing:0;white-space:normal}.campaign-entry-detail{padding:12px;border-radius:12px;background:#f7ebd3;color:#704b32;font-weight:800;line-height:1.6}.campaign-entry .battle-end-buttons #campaign-cancel{grid-column:1 / -1;min-height:42px}.battle-end-buttons #campaign-rest{min-height:55px}.hud #campaign-exit{grid-column:3;grid-row:1;justify-self:end;border:1px solid #bd9473;border-radius:8px;background:#fff6e6;padding:3px 7px;color:#80543d;font-weight:800;font-size:12px}@media(max-height:420px){.battle-end-overlay{padding-block:28px}.battle-end-paper{padding-block:24px 12px}.battle-end-paper h2{margin-bottom:10px;font-size:34px}.battle-end-paper .battle-end-title-art{font-size:34px}.battle-end-saved{margin-top:8px;padding-top:8px}.battle-end-buttons{margin-top:11px}}.battle-end-stars{margin:-4px 0 8px;font-size:26px;line-height:1;letter-spacing:4px;color:#f59e0b;text-shadow:0 2px #78350f}.battle-end-campaign-reward{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding:8px 10px;border:2px solid #6b3e1d;border-radius:11px;background:linear-gradient(135deg,#fff5cc,#ffe594);text-align:left}.battle-end-campaign-reward strong{display:block;font-size:14px;font-weight:950;color:#7c2d12}.battle-end-campaign-reward small{display:block;margin-top:2px;font-size:11px;font-weight:800;color:#854d0e}.battle-double-btn{flex:none;padding:7px 10px;border:2px solid #451a03;border-radius:9px;background:linear-gradient(180deg,#4ade80,#16a34a);box-shadow:inset 0 1px #dcfce7,0 2px #14532d;color:#fff;text-shadow:0 1px #14532d;font-size:12px;font-weight:950;cursor:pointer}.battle-double-done{flex:none;padding:4px 8px;border-radius:999px;background:#dcfce7;color:#166534;font-size:11px;font-weight:900}.battle-end-dps{margin-top:10px;padding:8px 10px;border:1.5px solid #6b4222;border-radius:11px;background:#fff6de;text-align:left}.battle-end-dps-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px;font-size:12px;color:#5b3518}.battle-end-dps-head span{font-size:11px;font-weight:800;color:#85552b}.battle-end-dps-list{display:grid;gap:6px}.battle-end-dps-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:7px;align-items:center}.dps-badge{display:grid;place-items:center;height:24px;border-radius:6px;background:var(--dps-color, #6b7280);color:#fff;font-size:11px;font-weight:950;text-shadow:0 1px rgba(0,0,0,.35)}.dps-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:11px;font-weight:800;color:#4b2a14}.dps-meta b i{font-style:normal;padding:0 5px;border-radius:4px;background:#f59e0b;color:#fff;font-size:10px}progress.dps-progress{-moz-appearance:none;appearance:none;-webkit-appearance:none;display:block;width:100%;height:7px;margin-top:3px;border:1px solid #8a5b32;border-radius:999px;overflow:clip;background-color:#ead7b3}progress.dps-progress::-webkit-progress-bar{background-color:transparent}progress.dps-progress::-webkit-progress-value{background:linear-gradient(90deg,#f59e0b,#d97706);border-radius:999px}progress.dps-progress::-moz-progress-bar{background:linear-gradient(90deg,#f59e0b,#d97706);border-radius:999px}.tutorial-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;pointer-events:none;font-family:inherit}.tutorial-mask,.tutorial-trail{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.tutorial-practice .tutorial-mask{opacity:.15}.tutorial-mask>rect{fill:#1c1814a6}.tutorial-trail path{stroke:#daa347}.tutorial-highlights i{position:absolute;box-sizing:border-box;border:3px solid #efb847;border-radius:10px;box-shadow:0 0 0 3px #fff0c4cc,0 0 18px #efa72f;animation:tutorial-pulse 1.4s ease-in-out infinite}.tutorial-opening .tutorial-highlights i{border-color:#ffd27b;box-shadow:0 0 0 4px #fff1c9cc,0 0 22px #ffc85a}.tutorial-finger{position:absolute;z-index:2;width:70px;height:84px;pointer-events:none;background:url(/tafang/tutorial-hand.webp) center / contain no-repeat;transform:translate(-31px,-8px)}.tutorial-finger-hidden{display:none}.tutorial-skip{z-index:5;top:max(8px,env(safe-area-inset-top));pointer-events:auto}.tutorial-card{position:absolute;z-index:3;max-width:calc(100vw - 16px);box-sizing:border-box;padding:10px 13px 12px;border:2px solid #b78451;border-radius:16px;background:linear-gradient(145deg,#fffaf0,#fcebd1);color:#503723;box-shadow:inset 0 0 0 3px #f4d9b4,inset 0 0 0 5px #fff8e9,0 4px #785139,0 9px 18px #31201550;pointer-events:none}.tutorial-card:before{content:"";position:absolute;left:8px;top:-10px;width:36px;height:17px;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2070%2030'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='a'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23fff0b4'/%3e%3cstop%20offset='1'%20stop-color='%23f8cc70'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='m4%203%205%202%203-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%205-3%204%204-2%2019-4-2-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%202z'%20fill='url(%23a)'%20fill-opacity='.92'%20stroke='%23d8ab57'%20stroke-width='1.4'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%206h48'%20stroke='%23fff9d9'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e") center / contain no-repeat;filter:drop-shadow(0 1px #b5813d40);transform:rotate(-14deg);pointer-events:none}.tutorial-card .tutorial-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.tutorial-card small{font-size:12px;font-weight:700;color:#96704e}.tutorial-card h2{margin:5px 0 3px;font-size:17px;line-height:1.25}.tutorial-card p{margin:0;font-size:13px;line-height:1.4}.tutorial-card .tutorial-rule{display:block;margin-top:6px;font-size:11px;line-height:1.3}.tutorial-card.tutorial-success{border-color:#67874e;animation:tutorial-success .35s ease-out both}.tutorial-card button{position:relative;z-index:4;padding:4px 9px;border:1px solid #8f6040;border-radius:9px;background:linear-gradient(#fffaf0,#f1ddbc);color:#65412c;box-shadow:0 2px #b18b63;font-size:13px;font-weight:700;pointer-events:auto;cursor:pointer}.tutorial-layer .tutorial-skip.sticker-button:not([hidden]){width:50px;min-height:44px;padding:2px 4px;border:1px solid #8f6040;border-radius:10px;border-image:none;background:#fff8e9;color:#65412c;font-size:13px;text-shadow:none;box-shadow:none}.tutorial-card .tutorial-confirm.sticker-button{display:grid;width:min(100%,160px);min-height:44px;margin:10px auto 0;color:#fff8e9;font-size:16px}.tutorial-graduation{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:var(--office-modal-veil);pointer-events:auto}.tutorial-graduation-card{position:relative;width:min(340px,100%);box-sizing:border-box;padding:24px;border:2px solid #70492f;border-radius:24px;background:linear-gradient(145deg,#fffaf0,#f9e9ce);text-align:center;box-shadow:inset 0 0 0 4px #e6c7a0,inset 0 0 0 7px #fff6e6,0 6px #553827,0 16px 32px #21160c70}.tutorial-graduation-card:before{content:"";position:absolute;left:16px;top:-23px;width:37px;height:43px;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2070'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='a'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23df9361'/%3e%3cstop%20offset='1'%20stop-color='%23a45431'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='M12%2033h40l7%2029H5z'%20fill='%235f3826'%20opacity='.25'/%3e%3cpath%20d='M12%2029h40l7%2029H5z'%20fill='url(%23a)'%20stroke='%23523423'%20stroke-width='4'%20stroke-linejoin='round'/%3e%3cpath%20d='m21%2043-4-24C13-3%2051-3%2047%2019l-4%2024'%20stroke='%235c3f2d'%20stroke-width='9'%20stroke-linecap='round'/%3e%3cpath%20d='m21%2043-4-24C13-3%2051-3%2047%2019l-4%2024'%20stroke='%23fff3dd'%20stroke-width='4'%20stroke-linecap='round'/%3e%3cpath%20d='M13%2052h38M15%2033l-4%2016'%20stroke='%23f9bc87'%20stroke-width='3'%20stroke-linecap='round'/%3e%3c/svg%3e") center / contain no-repeat;filter:drop-shadow(0 2px 0 #5e3b2640);transform:rotate(-9deg);pointer-events:none}.tutorial-graduation-card:after{content:"";position:absolute;right:7px;top:6px;width:52px;height:52px;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2080%2080'%20fill='none'%3e%3ccircle%20cx='40'%20cy='40'%20r='36'%20stroke='%23c27051'%20stroke-width='2.5'/%3e%3ccircle%20cx='40'%20cy='40'%20r='30'%20stroke='%23c27051'%20stroke-width='2'%20stroke-dasharray='4%203'/%3e%3cpath%20d='m40%2017%207%2015%2017%203-12%2012%203%2017-15-8-16%208%203-17-12-12%2018-3z'%20fill='%23c27051'/%3e%3c/svg%3e") center / contain no-repeat;opacity:.34;transform:rotate(12deg);pointer-events:none}.tutorial-graduation-card small{color:#477047;font-weight:800}.tutorial-graduation-card h2{display:table;max-width:100%;margin:10px auto;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20400%2030'%20preserveAspectRatio='none'%3e%3cpath%20d='m9%207%2089-3%2089%203%20101-2%2090%202%2012%205-9%204%2010%205-14%205-110-2-91%202-87-2-70%202-15-5%205-4-7-5z'%20fill='%23f9d879'%20fill-opacity='.65'/%3e%3cpath%20d='m17%2016%20180-3%20175%204'%20fill='none'%20stroke='%23ffe7a2'%20stroke-width='6'%20stroke-linecap='round'/%3e%3c/svg%3e") left bottom / 100% 11px no-repeat;color:#2f5b3d;font-weight:950;text-shadow:0 2px #fff5d8}.tutorial-graduation-card p{color:#634a35}.tutorial-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:15px 0}.tutorial-badges span{padding:5px 8px;border-radius:5px;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2070%2030'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='a'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23fff0b4'/%3e%3cstop%20offset='1'%20stop-color='%23f8cc70'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='m4%203%205%202%203-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%204-3%204%203%205-3%204%204-2%2019-4-2-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%203-4-3-4%202z'%20fill='url(%23a)'%20fill-opacity='.92'%20stroke='%23d8ab57'%20stroke-width='1.4'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%206h48'%20stroke='%23fff9d9'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e") center / 100% 100% no-repeat;color:#3b6e49;font-size:12px;font-weight:800}.tutorial-graduation-card button{width:100%;padding:11px;border:0;border-radius:12px;background:radial-gradient(ellipse at 50% 0,#e97c4d,#bf4e2d);box-shadow:inset 0 0 0 2px #5e3827,inset 0 3px #f9bc8e,inset 0 -2px #a74b29,0 4px #4a3228;color:#fffaf0;text-shadow:0 2px #8f442a;font-size:16px;font-weight:950;cursor:pointer}.tutorial-skip:active,.tutorial-card button:active,.tutorial-graduation-card button:active{translate:0 2px}.tutorial-skip:focus-visible,.tutorial-card button:focus-visible,.tutorial-graduation-card button:focus-visible{outline:3px solid #e4ae4b;outline-offset:3px}@keyframes tutorial-pulse{50%{box-shadow:0 0 0 5px #fff0c4cc,0 0 24px #efa72f}}@keyframes tutorial-success{50%{transform:scale(1.035)}}@media(prefers-reduced-motion:reduce){.tutorial-highlights i,.tutorial-card.tutorial-success{animation:none}}
