@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#353142;background:#f6f4ed;font-synthesis:none;--ink:#353142;--purple:#537fb8;--green:#c3e77e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,label.import{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #72a1df;outline-offset:4px}header{height:108px;border-bottom:1px solid #deddd4;display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:24px;background:#faf8f1}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-family:'Space Grotesk',sans-serif;font-size:25px;font-weight:700;line-height:.85;letter-spacing:-1.5px}.brand-icon{background:var(--green);font-size:39px;padding:14px 10px;border-radius:16px;transform:rotate(-7deg);border:2px solid var(--ink)}.brand-bottom{display:block;margin-top:6px}.brand-dot{color:var(--purple)}nav{display:flex;gap:8px;background:#eeece4;padding:6px;border-radius:12px}.nav{border:0;background:none;border-radius:8px;padding:12px 17px;font-weight:600;font-size:14px}.nav.active{background:white;box-shadow:0 2px 5px #28384d12}.nav b{background:#d5e0ee;border-radius:5px;padding:2px 6px;font-size:11px;margin-left:3px}.parent{background:none;border:0;font-size:13px}.parent:first-letter{font-size:20px}main{max-width:1380px;margin:auto;padding:48px 5% 35px}.eyebrow{font-size:11px;letter-spacing:2.4px;font-weight:700;display:flex;align-items:center;gap:8px}.eyebrow>span{width:7px;height:7px;background:var(--purple);border-radius:50%}h1,h2{font-family:'Space Grotesk',sans-serif}h1{font-size:clamp(30px,3.5vw,48px);letter-spacing:-2px;line-height:1.15;margin:16px 0 12px;font-weight:600}h1 em{font-style:normal;color:var(--purple);position:relative}h1 em:after{content:'';position:absolute;height:6px;border-top:2px solid #b9c9df;border-radius:50%;bottom:-8px;left:0;right:0;transform:rotate(-1deg)}.page-heading>p{font-size:14px;color:#567aa8;margin:16px 0 32px}.lab{display:grid;grid-template-columns:1.48fr 1fr;gap:25px}.drawing-panel,.creation-panel{border:1px solid #dcd9cf;border-radius:18px;background:#fffdf8;overflow:hidden;box-shadow:0 4px 0 #e9e5d9}.panel-top{height:69px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;border-bottom:1px solid #e6e2d7}.panel-top h2{font-size:17px;letter-spacing:-.5px;display:flex;gap:10px;align-items:center;margin:0}.number{background:#e1edcb;border-radius:8px;font-size:13px;padding:5px 9px}.number.purple{background:#e1eaf6;color:#587fb3}.paper-tag{font-size:8px;letter-spacing:1.5px;color:#6b8ab3}.canvas-wrap{margin:18px 20px 0;border:1px dashed #dcd7c9;border-radius:7px;position:relative;overflow:hidden;background:#fffdf7}canvas{display:block;width:100%;aspect-ratio:1.25;touch-action:none;cursor:crosshair}#canvas-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none;color:#aaa2a4}#canvas-hint[hidden]{display:none}#canvas-hint>span{font-size:64px;color:#a6b9d1;transform:rotate(-20deg);line-height:1.1;margin-bottom:14px}#canvas-hint strong{font-size:17px;font-weight:500}#canvas-hint p{font-size:12px}.canvas-corner{position:absolute;bottom:13px;right:16px;font-size:10px;color:#aaa18e;pointer-events:none;transform:rotate(-3deg)}.toolbar{padding:18px 20px;display:flex;justify-content:space-between;gap:10px;align-items:center}.colors{display:flex;gap:7px}.swatch{width:25px;height:25px;border-radius:50%;background:var(--color);border:3px solid #fffdf8;outline:1px solid transparent}.swatch.selected{outline-color:var(--color);transform:scale(1.1)}.tools{display:flex;align-items:center;gap:7px}.tools button{border:0;background:#f0eee6;border-radius:7px;font-size:21px;width:31px;height:31px}.tools .selected{background:#d1def0}.brush-label{display:flex;font-size:10px;gap:5px;align-items:center;color:#6888b1}.brush-label input{width:45px;accent-color:var(--purple)}.drawing-note{text-align:center;border-top:1px solid #eee9de;padding:12px;font-size:11px;color:#6787b1}.specimen{background:#e8eef6;position:relative;text-align:center;overflow:hidden;padding:16px 20px 10px;background-image:radial-gradient(#c5d2e2 .8px,transparent .8px);background-size:15px 15px}.specimen svg{width:205px;height:186px;display:block;margin:0 auto;transform:rotate(-6deg)}.specimen-label{font-size:8px;letter-spacing:1.7px;color:#6888b1}.sample-label{display:inline-block;font-size:10px;background:#fffcf5;padding:6px 12px;border-radius:6px;transform:rotate(-3deg);box-shadow:0 2px 0 #cfd9e6}.sparkle{position:absolute;color:#7593ba;font-size:36px}.sparkle.one{left:13%;top:56px}.sparkle.two{right:12%;top:120px;font-size:24px}.creation-form{padding:23px}.creation-form label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.creation-form label span{font-weight:400;color:#7693b9}input[type=text],#monster-name,select{width:100%;background:#faf8f2;border:1px solid #ded8d0;border-radius:8px;padding:12px;font-size:12px;color:var(--ink)}#monster-name{margin-bottom:21px}.elements{display:flex;gap:6px;margin-bottom:22px}.element{flex:1;min-width:0;background:#faf8f2;border:1px solid #e2dbd2;border-radius:8px;padding:8px 0;font-size:9px}.element span{font-size:19px;display:block;margin-bottom:3px}.element.selected{border-color:#7392ba;background:#e8eff8;color:#4e719f;box-shadow:0 0 0 1px #7392ba}.primary{background:var(--green);border:1.5px solid var(--ink);border-radius:9px;font-weight:700;padding:13px 18px;box-shadow:0 3px 0 var(--ink);font-size:13px;transition:transform .15s}.primary:hover{transform:translateY(-2px)}.primary:active{transform:translateY(2px);box-shadow:none}.generate{width:100%;display:flex;justify-content:space-between;align-items:center}.api-note{font-size:10px;text-align:center;color:#7592b8;margin:13px 0 0}#status{font-size:12px;line-height:1.6;color:#5275a3;margin-top:10px}.steps{display:flex;align-items:center;gap:19px;margin-top:33px;font-size:11px;color:#5f81ad}.steps b{color:#87a0c1;margin-right:7px;font-family:'Space Grotesk'}.steps i{color:#bbb29f;font-size:25px}.steps button{border:0;background:none;margin-left:auto;color:var(--purple);font-size:11px}footer{max-width:1242px;margin:0 auto;padding:25px 0;border-top:1px solid #dedbd1;display:flex;justify-content:space-between;font-size:10px;color:#7693b9}dialog{max-width:520px;border:1px solid #d9d1c4;border-radius:20px;padding:36px;background:#fffdf7;color:var(--ink)}dialog::backdrop{background:#35314270;backdrop-filter:blur(4px)}dialog h2{font-size:32px;line-height:1.1;letter-spacing:-1px}dialog p{font-size:14px;line-height:1.7;color:#52739e}.close{position:absolute;right:15px;top:12px;background:none;border:0;font-size:26px}.secondary{border:1px solid #d8d0c4;background:#fffdf8;border-radius:8px;padding:11px 15px;font-size:12px;font-weight:600}.collection-actions{display:flex;justify-content:space-between;gap:15px;margin:25px 0}.collection-actions>div{display:flex;gap:10px}.import{cursor:pointer;display:inline-block}.monster-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.monster-card{border:1px solid #dcd6ca;background:#fffdf8;padding:20px;border-radius:16px;position:relative}.energy-badge{font-size:10px;letter-spacing:.8px;border:1px solid #d1dbe8;padding:5px 8px;border-radius:6px;color:#5578a6;background:#eff3f9}.monster-art{height:220px;display:flex;align-items:center;justify-content:center;margin:15px 0}.monster-art img,.battle-art img{width:100%;height:100%;object-fit:contain;border-radius:12px}.monster-art svg{height:100%;width:100%}.monster-card h2{margin:10px 0;font-size:23px}.monster-card p{color:#6081ad;font-size:12px;line-height:1.6;min-height:40px}.power-badge{padding:10px;background:#eaf0f7;border-radius:7px;font-size:12px;color:#5476a2}.monster-bottom{display:flex;align-items:center;justify-content:space-between;margin:18px 0 5px;gap:8px}.monster-bottom>span{font-size:11px;color:#6182ae}.delete{border:0;background:none;font-size:10px;color:#9d8d93;text-decoration:underline;padding:9px 0 0}.empty{grid-column:1/-1;text-align:center;padding:15px}.empty svg{height:230px}.empty p{color:#6f8db5;font-size:14px}.battle-setup{background:#fffdf8;border:1px solid #dcd6ca;border-radius:20px;max-width:850px;margin:auto;padding:30px;text-align:center}.setup-art{display:flex;align-items:center;justify-content:center;gap:20px}.setup-art svg{width:32%}.setup-art>span,.versus{font-family:'Space Grotesk';font-size:29px;font-weight:700;color:#95abc8;transform:rotate(-10deg)}.setup-options{display:grid;grid-template-columns:1fr 1fr;gap:25px;text-align:left}.setup-options label{font-size:12px;font-weight:700}.setup-options select{display:block;margin-top:9px}.setup-note{font-size:11px;color:#6a89b2;margin:20px}.arena{display:grid;grid-template-columns:1fr 45px 1fr;gap:20px;align-items:center;max-width:960px;margin:auto}.combatant{padding:24px;border:1px solid #dbd3c7;border-radius:18px;background:#fffdf8}.combatant.current{border:2px solid #809abd;padding:23px;box-shadow:0 5px 0 #d2dce9}.combatant-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.combatant-title h2{font-size:24px}.combatant-title>span{font-size:11px}meter{width:100%;height:17px;appearance:none}meter::-webkit-meter-bar{background:#ebe5dc;border:0;border-radius:20px}meter::-webkit-meter-optimum-value{background:#a6ca6c;border-radius:20px}.battle-art{height:260px;margin-top:10px}.battle-art svg{height:100%;width:100%}.energy{color:#7390b7;letter-spacing:5px;margin:15px 0 0;text-align:center}.energy span{font-size:11px;letter-spacing:0;color:#708eb5}.battle-controls{max-width:960px;margin:25px auto;text-align:center}.moves{display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px}.moves button{font-size:14px;padding:15px 10px}.moves small{display:block;font-size:10px;font-weight:400;margin-top:7px}.battle-log{background:#eee9df;padding:14px;border-radius:10px;margin-top:23px;font-size:12px;min-height:88px;color:#6686b0}.battle-log p{margin:6px}.text-button{border:0;background:none;color:#6384af;text-decoration:underline;font-size:12px;margin:20px}.versus{text-align:center}#collection-status{margin-bottom:15px;font-size:13px;color:var(--purple)}
@media(min-width:1450px){main{padding-left:25px;padding-right:25px}.canvas-wrap{max-height:440px}canvas{max-height:440px}}@media(max-width:1000px){header{padding:0 3%;gap:10px}.parent span{display:none}.nav{padding:10px}.lab{gap:17px;grid-template-columns:1.2fr 1fr}.toolbar{flex-wrap:wrap}.steps{gap:12px}.steps button{display:none}.paper-tag{display:none}footer{margin:0 5%}.brush-label input{width:70px}.monster-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){header{height:auto;min-height:100px;flex-wrap:wrap;padding:17px 5%;gap:17px}.brand{font-size:21px}.brand-icon{font-size:28px;padding:11px}nav{order:3;width:100%;justify-content:space-between}.nav{flex:1;font-size:11px;padding:10px 5px}.parent{margin-left:auto}main{padding-top:32px}h1{letter-spacing:-1px;font-size:34px}.page-heading>p{line-height:1.7;margin-bottom:25px}.lab{grid-template-columns:1fr}.canvas-wrap{margin:15px}.toolbar{flex-wrap:nowrap;padding:15px;gap:6px}.colors{gap:4px}.swatch{width:23px;height:23px}.brush-label{font-size:0}.brush-label input{width:38px}.tools{gap:4px}.tools button{width:26px}.creation-panel .specimen{height:205px}.specimen svg{height:150px}.creation-form{padding:20px}.steps{display:none}footer{gap:15px;line-height:1.5}footer span:last-child{max-width:115px;text-align:right}.collection-actions{flex-direction:column}.collection-actions>div{justify-content:space-between}.monster-grid{grid-template-columns:1fr}.monster-art{height:260px}.setup-options{grid-template-columns:1fr;gap:15px}.battle-setup{padding:20px}.setup-art{gap:8px}.setup-art svg{width:44%}.setup-art>span{font-size:20px}.arena{gap:5px;grid-template-columns:1fr 20px 1fr}.combatant,.combatant.current{padding:12px}.combatant-title{display:block}.combatant-title h2{font-size:17px;margin:12px 0 4px}.combatant-title>span{display:block;margin-bottom:6px}.battle-art{height:170px}.energy{letter-spacing:2px;font-size:12px}.energy span{display:block;font-size:9px;margin-top:5px}.energy-badge{font-size:8px;letter-spacing:0;padding:4px}.versus{font-size:16px}.moves{grid-template-columns:1fr}.moves button{padding:12px}.moves small{margin-top:3px}.battle-log{font-size:11px}}
/* Battle effects stay above the cards and never intercept taps. */
.arena{position:relative;isolation:isolate}.battle-art{transform-origin:50% 80%}.attack-effects{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:visible}.attack-effects>span{position:absolute;display:block;pointer-events:none}.attack-projectile{font-size:48px;line-height:1;color:#f4c64e;text-shadow:0 0 12px #f4c64e99;filter:drop-shadow(0 3px 1px #35314222)}.special-projectile{font-size:66px;color:var(--effect-color);text-shadow:0 0 22px var(--effect-color)}.element-water{width:45px;height:45px;border:4px solid #d1f3ff;border-radius:50%;background:#6bc9eaaa;box-shadow:inset -6px -5px 0 #47a5ce88,0 0 15px #62c8eb80;color:transparent}.element-leaf{border-radius:70% 5% 70% 5%;background:#9fce7d55}.element-flame{filter:drop-shadow(0 -7px 8px #ffc966);color:#f07c4c}.element-cosmic{filter:drop-shadow(0 0 13px #89b5ee);color:#759dd1}.impact-ring{width:72px;height:72px;border:5px solid var(--effect-color);border-radius:50%;box-shadow:0 0 18px color-mix(in srgb,var(--effect-color),transparent 65%)}.attack-particle{color:var(--effect-color);font-size:24px;font-weight:700}.damage-pop{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:27px;white-space:nowrap;color:#537fb8;background:#fffdf7ed;border:2px solid #cfdcee;border-radius:12px;padding:5px 11px;box-shadow:0 3px 0 #35314216;z-index:2}.shield-bubble{width:155px;height:175px;transform:translate(-50%,-50%);border:4px solid #91c5ed;border-radius:48% 48% 55% 55%;background:radial-gradient(ellipse at 35% 25%,#fff9,#a7d9ef33 55%,#84c1e777);box-shadow:0 0 22px #87bcdd55,inset 0 0 18px #fff9}.shield-bubble.blocking{border-color:#b3e1fc}.move-caption{transform:translate(-50%,-50%);color:#5380a5;background:#f5fcff;border:1px solid #bddceb;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:700;white-space:nowrap;z-index:2}@media(max-width:700px){.special-projectile{font-size:46px}.damage-pop{font-size:19px;padding:4px 7px}.shield-bubble{width:110px;height:140px}.move-caption{font-size:9px;padding:6px}}@media(prefers-reduced-motion:reduce){.attack-projectile,.impact-ring,.attack-particle{display:none}}
/* A single open meadow replaces the two monster cards. */
.battlefield{height:490px;display:block;border:1px solid #c5d6ba;border-radius:24px;background:#d5edf1;overflow:hidden;box-shadow:0 5px 0 #dce1cd}.field-scenery{position:absolute;inset:0;overflow:hidden;pointer-events:none}.field-sun{position:absolute;width:74px;height:74px;left:46%;top:48px;border-radius:50%;background:#ffdf83;box-shadow:0 0 0 13px #ffe8a155,0 0 0 28px #fff3bc33}.field-cloud{position:absolute;width:115px;height:27px;background:#fffdf4cc;border-radius:50px;top:104px;left:8%}.field-cloud:before,.field-cloud:after{content:'';position:absolute;background:inherit;border-radius:50%;width:46px;height:46px;left:22px;bottom:0}.field-cloud:after{width:60px;height:60px;left:47px}.cloud-right{left:auto;right:5%;top:68px;transform:scale(.75)}.field-hill{position:absolute;border-radius:50% 50% 0 0;width:110%;height:210px;left:-30%;bottom:87px;background:#b3d7b5;transform:rotate(7deg)}.hill-front{left:27%;bottom:54px;background:#94c9a4;height:230px;transform:rotate(-9deg)}.field-ground{position:absolute;inset:49% 0 0;background:linear-gradient(#a8d28b,#bfdc95 50%,#cee3a3);border-radius:50% 48% 0 0 / 12% 13% 0 0;box-shadow:0 -3px 0 #c9e2ac88}.field-path{position:absolute;width:110%;height:92px;bottom:41px;left:-5%;background:#e5dbae85;border-radius:50%;transform:rotate(-3deg);border-top:2px solid #eee8c055}.field-label{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:2px;white-space:nowrap;color:#658752}.field-flower{position:absolute;font-size:26px;bottom:44px;color:#fff3bf;text-shadow:0 2px 0 #85ad63}.flower-one{left:4%;bottom:76px;transform:rotate(15deg)}.flower-two{right:9%;bottom:31px;color:#c4d3e7;font-size:21px}.flower-three{left:48%;bottom:23px;font-size:17px}.battlefield .combatant,.battlefield .combatant.current{position:absolute;top:24px;bottom:37px;width:39%;padding:0;border:0;box-shadow:none;border-radius:0;background:transparent;display:flex;flex-direction:column;z-index:1}.battlefield .combatant:first-of-type{left:5%}.battlefield .combatant:last-of-type{right:5%}.battlefield .energy-badge{align-self:flex-start;background:#fffdf3a6;border-color:#ffffff85;color:#52685a}.battlefield .combatant-title{gap:5px}.battlefield .combatant-title h2{font-size:22px;text-shadow:0 1px 0 #fff8;margin:12px 0 9px}.battlefield .combatant-title>span{font-weight:600;font-size:11px;white-space:nowrap;color:#526758}.battlefield meter{height:13px;flex-shrink:0;filter:drop-shadow(0 1px 1px #4e715322)}.battlefield meter::-webkit-meter-bar{background:#fffdf1aa}.battlefield meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#82b558,#acd16c)}.battlefield .battle-art{position:relative;width:100%;height:265px;margin-top:auto;flex-shrink:1;min-height:0;isolation:isolate;display:flex;align-items:center;justify-content:center}.battlefield .battle-art img,.battlefield .battle-art svg{position:relative;width:100%;height:100%;object-fit:contain;border-radius:0;mix-blend-mode:multiply;z-index:1}.monster-ground-shadow{position:absolute;width:67%;height:23px;left:16.5%;bottom:12px;border-radius:50%;background:#54793e2b;filter:blur(3px);transition:background .2s}.current .monster-ground-shadow{background:#f5f7b688;box-shadow:0 0 0 3px #f5f7b644}.battlefield .energy{margin:7px 0 0;color:#4b6a93;line-height:1.5}.battlefield .energy span{color:#516d43}.battlefield .versus{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-9deg);color:#f9fff0b3;font-size:26px;text-shadow:0 2px 2px #62865c33}.battlefield .attack-effects{z-index:4}.battlefield .damage-pop{box-shadow:0 4px 10px #486c3b26}.battlefield .combatant.current .energy-badge{background:#f8ffda;border-color:#bed28f}
@media(max-width:700px){.battlefield{height:400px;border-radius:18px}.battlefield .combatant,.battlefield .combatant.current{width:41%;top:18px;bottom:34px}.battlefield .combatant:first-of-type{left:4%}.battlefield .combatant:last-of-type{right:4%}.battlefield .combatant-title{display:block;min-height:66px}.battlefield .combatant-title h2{font-size:17px;line-height:1.15;margin:10px 0 5px}.battlefield .combatant-title>span{font-size:10px;margin-bottom:6px}.battlefield .battle-art{height:208px}.battlefield .energy-badge{font-size:8px}.battlefield .energy{font-size:12px;letter-spacing:3px}.battlefield .energy span{font-size:9px;letter-spacing:0}.field-sun{width:48px;height:48px;left:44%;top:115px}.field-cloud{top:142px;left:-25px;transform:scale(.65)}.cloud-right{top:115px;left:auto;right:-30px;transform:scale(.55)}.field-ground{top:55%}.field-hill{bottom:60px;height:160px}.hill-front{height:145px;bottom:80px}.field-path{height:64px;bottom:45px}.monster-ground-shadow{height:17px;bottom:7px}.field-label{font-size:7px;letter-spacing:1.7px}.battlefield .versus{font-size:20px;top:56%}}
.battlefield .battle-art{isolation:auto}.battlefield .battle-art .cutout-sprite{mix-blend-mode:normal}
/* Picture-first moves: the same sword or shield always means the same action. */
.moves.picture-moves{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.picture-moves button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;min-height:178px;border:2px solid #384f6c;border-radius:17px;padding:13px 10px 12px;box-shadow:0 5px 0 #384f6c;transition:transform .15s,box-shadow .15s}.picture-moves .attack-button{background:#ffe1cb}.picture-moves .special-button{background:#d8e7fa}.picture-moves .defense-button{background:#d2edf7}.move-icon{width:76px;height:76px;display:block;filter:drop-shadow(0 3px 0 #35314215);flex-shrink:0}.move-title{display:block;font-size:18px;line-height:1.25;margin:5px 0}.picture-moves .move-energy{display:block;font-size:16px;line-height:1.3;padding:4px 8px;background:#fff8;border-radius:8px;margin-top:3px;min-height:28px}.picture-moves button small{font-size:11px;line-height:1.35;margin-top:8px;color:#49678e;overflow-wrap:anywhere}.picture-moves button:hover:enabled{transform:translateY(-3px);box-shadow:0 8px 0 #384f6c}.picture-moves button:active:enabled{transform:translateY(4px);box-shadow:0 1px 0 #384f6c}.picture-moves button:disabled{opacity:.6;filter:saturate(.45);cursor:default}.picture-moves .special-button:disabled .move-icon{opacity:.65}.battle-controls{margin-top:18px}@media(max-width:700px){.moves.picture-moves{gap:9px}.picture-moves button{min-height:154px;padding:9px 5px 10px;border-radius:13px}.move-icon{width:59px;height:59px}.move-title{font-size:14px;margin:4px 0}.picture-moves .move-energy{font-size:13px;padding:4px 6px;min-height:25px}.picture-moves button small{font-size:9px;margin-top:7px}}@media(max-width:360px){.move-icon{width:48px;height:48px}.move-title{font-size:12px}.moves.picture-moves{gap:6px}}
.battle-audio{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-bottom:13px}.sound-toggle,.repeat-turn{display:flex;align-items:center;gap:7px;border:1px solid #c6d2e2;border-radius:20px;background:#fffdf7;padding:7px 12px;font-size:12px;color:#49678e}.sound-toggle>span,.repeat-turn>span{font-size:21px}.sound-toggle[aria-pressed=true]{background:#e5eef9;border-color:#93aac7}.repeat-turn:disabled{opacity:.4;cursor:default}.picture-moves button .move-name{margin:0 0 8px;font-size:13px;line-height:1.35;font-weight:600;color:#415c7f;min-height:35px;display:flex;align-items:flex-start;justify-content:center}.picture-moves button .move-energy{margin-top:auto}.picture-moves button{min-height:203px}@media(max-width:700px){.picture-moves button .move-name{font-size:11px;min-height:31px;margin-bottom:7px}.picture-moves button{min-height:184px}.battle-audio{gap:8px}.sound-toggle,.repeat-turn{font-size:11px;padding:6px 10px}}
.tablet-pairing{margin:26px 0 24px;padding:24px;background:#e7eef7;border:1px solid #c8d5e6;border-radius:16px;text-align:left}.pair-heading>span{font-size:30px}.pair-heading h2{font-size:23px;margin:10px 0}.pair-heading p,.tablet-help p{font-size:12px;line-height:1.7;color:#5476a2}.pair-actions{display:flex;align-items:center;gap:20px;margin-top:20px}.pair-actions>span{font-size:12px;color:#7894b9}.pair-actions>button{white-space:nowrap;align-self:flex-end;margin-bottom:3px}.pair-actions form{flex:1}.pair-actions label{display:block;font-size:11px;font-weight:700;margin-bottom:7px}.pair-actions form>div{display:flex;gap:8px}.pair-actions input{min-width:0;width:100%;border:1px solid #aabcd3;border-radius:8px;padding:11px;font-size:18px;letter-spacing:3px;background:#fffdf8;color:#415c7f}.pair-actions form button{white-space:nowrap}.tablet-help{font-size:12px;border-top:1px solid #ccd7e5;padding-top:15px;margin-top:18px}.tablet-help summary{cursor:pointer;color:#4d6d96;font-weight:600}.tablet-help a{display:block;color:#466a98;padding:7px;background:#fff9;border-radius:7px;overflow-wrap:anywhere;margin:6px 0;font-weight:600}#pair-status{font-size:12px;color:#4b6991;min-height:16px;margin-bottom:0}.room-waiting{max-width:720px;margin:auto;padding:30px;border:1px solid #ccd7e5;border-radius:22px;background:#fffdf8;text-align:center}.room-waiting>.eyebrow{justify-content:center}.room-code{display:flex;justify-content:center;gap:9px;margin:20px 0}.room-code>span{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:42px;border:1px solid #b6c6db;background:#e6edf7;border-radius:12px;width:60px;line-height:1.5;color:#51729e;box-shadow:0 3px 0 #c4d1e1}.waiting-monster{height:220px;max-width:260px;margin:5px auto}.waiting-monster img,.waiting-monster svg{height:100%;width:100%;object-fit:contain;border-radius:15px}.room-waiting h2{font-size:25px}.room-waiting p{font-size:13px;line-height:1.7;color:#6383ae}.remote-banner{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;background:#e7eef7;border:1px solid #c8d5e6;border-radius:11px;margin-bottom:14px;font-size:12px;color:#4e6d96}.remote-banner>span:first-child{white-space:nowrap;font-weight:700}.remote-banner #room-status{font-size:12px;text-align:right}.room-waiting #room-status{min-height:20px}@media(max-width:700px){.tablet-pairing{padding:18px;margin:22px 0}.pair-actions{flex-direction:column;gap:14px;align-items:stretch}.pair-actions>button{align-self:stretch}.pair-actions>span{text-align:center}.room-waiting{padding:22px 13px}.room-code{gap:6px}.room-code>span{font-size:29px;width:40px;border-radius:8px}.remote-banner{align-items:flex-start;padding:11px;font-size:10px}.remote-banner #room-status{font-size:11px}.pair-heading h2{font-size:21px}}
.sketch-sources{padding:15px 20px 0;font-size:11px;color:#6383ae}.sketch-sources>div{display:flex;gap:9px;margin-top:10px}.sketch-source{cursor:pointer;border:1px solid #b9c8db;border-radius:8px;background:#ecf2fa;color:#4d6d96;font-weight:600;padding:10px 15px;display:inline-flex;align-items:center;gap:7px}.sketch-sources p{min-height:14px;font-size:11px;line-height:1.5;margin-bottom:0}.loadout-choices{margin:0 0 19px}.loadout-choices fieldset{padding:0;border:0;min-width:0;margin:0 0 15px}.loadout-choices legend{font-size:12px;font-weight:700;margin-bottom:8px}.loadout-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.loadout-option{border:1px solid #d1dbe7;border-radius:9px;background:#faf8f2;padding:8px 4px;display:flex;align-items:center;flex-direction:column;min-width:0;color:#5375a2}.loadout-option>span{font-size:23px;line-height:1.2;margin-bottom:5px}.loadout-option strong{font-size:10px;line-height:1.3}.loadout-option small{font-size:8px;line-height:1.5;margin-top:4px}.loadout-option[aria-pressed=true]{border-color:#7392ba;background:#e1eaf6;color:#42628d;box-shadow:0 0 0 1px #7392ba}.creation-panel .specimen{max-height:224px}.creation-panel .specimen svg{height:145px}.monster-progress{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:11px;color:#6383ae;margin:12px 0}.monster-progress>span:first-child{font-weight:700}.monster-progress progress{display:block;flex-basis:100%;width:100%;height:8px;border:0;border-radius:9px;overflow:hidden;accent-color:#88a4c8}.monster-progress progress::-webkit-progress-bar{background:#e7ecf3;border-radius:9px}.monster-progress progress::-webkit-progress-value{background:#8ca7ca;border-radius:9px}.power-badge{line-height:1.9}.training-note{font-size:11px;color:#6e8db5;line-height:1.6;margin:13px 0 0}.xp-rewards{background:#edf3d9;border:1px solid #c6d89d;border-radius:12px;padding:12px;margin:20px 0 0;color:#6e8844;font-size:15px;font-weight:700}.xp-rewards p{margin:6px}.battlefield .energy-badge{font-size:9px}.battlefield .combatant-title h2{max-width:100%;overflow-wrap:anywhere}@media(max-width:700px){.sketch-sources{padding:15px 15px 0}.loadout-option strong{font-size:11px}.loadout-option small{font-size:9px}.battlefield .energy-badge{font-size:7px}.xp-rewards{font-size:13px}}
.battlefield .battle-art img,.battlefield .battle-art .cutout-sprite{mix-blend-mode:normal}
/* Short, consecutive studio pages keep the controls within tablet reach. */
body.building-scrib>footer{display:none}body.building-scrib header{min-height:72px;padding-top:12px;padding-bottom:12px}body.building-scrib main{padding:16px 24px;max-width:1200px;margin:auto}.scrib-builder{height:calc(100dvh - 112px);min-height:490px;display:flex;flex-direction:column;gap:12px}.builder-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.builder-title .eyebrow{font-size:9px}.builder-title h1{font-size:clamp(19px,2.6vw,30px);margin:3px 0;line-height:1.2}.builder-counter{font-weight:700;color:#52739f;white-space:nowrap}.build-progress{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding-bottom:8px;flex-shrink:0}.build-progress button{min-height:54px;display:flex;align-items:center;justify-content:center;gap:8px;background:#e7ecf3;border:1px solid transparent;border-radius:12px;color:#456287;font-size:14px;font-weight:700;cursor:pointer}.build-progress button.active{background:#5388ce;color:white}.build-progress button.complete{background:#e0edcf;color:#49643b}.build-progress button:disabled{opacity:.48;cursor:default}.build-step-icon{font-size:24px}.step-check{font-size:12px}.build-progress-track{position:absolute;bottom:0;left:0;right:0;height:4px;background:#dde4ed;border-radius:10px;overflow:hidden}.build-progress-track>span{display:block;height:100%;background:#5388ce;transition:width .2s}.scrib-builder [hidden]{display:none!important}.build-stage{flex:1;min-height:0;overflow:auto;padding:4px 8px 8px;overscroll-behavior:contain}.stage-heading{text-align:center;margin-bottom:10px}.stage-heading h2{font-size:21px;margin:0 0 4px}.stage-heading p{font-size:13px;margin:0;color:#5374a0}.wizard-drawing{max-width:720px;margin:auto}.wizard-canvas-wrap{width:min(100%,calc((100dvh - 410px)*1.25));min-width:240px;margin:auto;aspect-ratio:1.25}.wizard-canvas-wrap canvas{width:100%;height:100%;touch-action:none}.wizard-canvas-wrap #canvas-hint span{font-size:36px}.wizard-canvas-wrap #canvas-hint strong{font-size:16px}.wizard-drawing .toolbar{padding:8px 0;gap:8px;flex-wrap:wrap;justify-content:center}.wizard-drawing .swatch{width:32px;height:32px}.wizard-drawing .tools button{min-width:44px;min-height:44px}.wizard-drawing .sketch-sources{margin:0 0 8px;padding:0;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;background:none;border:0}.wizard-drawing .sketch-sources>span{display:none}.wizard-drawing .sketch-sources>div{display:flex;gap:8px}.wizard-drawing .sketch-sources p{flex-basis:100%;text-align:center;margin:0}.wizard-drawing .sketch-sources p:empty{display:none}.sketch-source{min-height:44px;display:inline-flex;align-items:center;justify-content:center}.energy-stage{max-width:760px;margin:12px auto}.scrib-name-label{display:block;font-weight:700;margin-bottom:8px}.scrib-name-label small{font-weight:400;color:#5374a0}.energy-stage input{width:100%;min-height:48px;padding:12px 16px;border:1px solid #c9d4e3;border-radius:12px;background:#fffcf5;font:inherit}.wizard-energies{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:22px 0 14px}.energy-choice{border:2px solid #d2dce8;border-radius:16px;background:#fffcf5;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font:inherit;cursor:pointer}.energy-choice>span{font-size:32px;color:#3a5272}.energy-choice[aria-pressed=true]{background:color-mix(in srgb,var(--energy-color),white 75%);border-color:var(--energy-color);box-shadow:0 3px 0 var(--energy-color)}.energy-explanation{text-align:center;min-height:30px;font-size:14px}.sketch-mini{display:flex;align-items:center;justify-content:center;gap:16px;color:#5374a0;font-size:13px}.sketch-mini img{width:100px;height:80px;object-fit:contain;border:1px solid #d9e1ec;border-radius:12px}.wizard-moves{max-width:900px;margin:auto}.wizard-moves fieldset{border:0;padding:0;margin:0 0 10px}.wizard-moves legend{font-size:14px;font-weight:700;padding:0 0 6px}.wizard-move-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.wizard-move-row button{min-height:84px;padding:8px 12px;border:2px solid #d2dce8;border-radius:13px;background:#fffcf5;color:#2e4159;display:grid;grid-template-columns:32px 1fr;align-content:center;text-align:left;column-gap:8px;cursor:pointer}.wizard-move-row button>span{font-size:27px;grid-row:span 2;align-self:center}.wizard-move-row strong{font-size:14px}.wizard-move-row small{font-size:11px;line-height:1.4;color:#5374a0;margin-top:4px}.wizard-move-row button[aria-pressed=true]{border-color:var(--energy-color);background:color-mix(in srgb,var(--energy-color),white 85%);box-shadow:0 2px 0 var(--energy-color)}.build-footer{flex-shrink:0;display:flex;align-items:center;gap:12px;border-top:1px solid #d6dfea;padding-top:10px}.build-footer>button{min-height:48px;min-width:112px;justify-content:center}.build-footer-note{flex:1;text-align:center;font-size:11px;color:#5374a0}.builder-status{font-size:13px;text-align:center;color:#5377a5;flex-shrink:0}.builder-status:empty{display:none}.review-stage{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;align-items:center;max-width:850px;margin:auto}.review-art{height:min(40dvh,370px);border-radius:20px;background:radial-gradient(ellipse,#e2ecd5,#f6f0e8);display:flex;justify-content:center}.review-art img{width:100%;height:100%;object-fit:contain}.review-details h2{font-size:28px;margin:10px 0}.review-details p{font-size:14px;line-height:1.5}.review-details .energy-badge{display:inline-block}.review-move{font-size:15px;padding:7px 0}.review-change-note{color:#52739f}.review-details button{min-height:44px}.attack-projectile{color:var(--effect-color)}.shield-bubble,.shield-bubble.blocking{border-color:var(--effect-color);background:radial-gradient(ellipse at 35% 25%,#fff9,color-mix(in srgb,var(--effect-color),transparent 70%));box-shadow:0 0 22px color-mix(in srgb,var(--effect-color),transparent 65%)}
@media(max-width:700px){body.building-scrib main{padding:10px 12px}.scrib-builder{height:calc(100dvh - 102px);gap:8px}.builder-title h1{font-size:18px}.builder-title .eyebrow{display:none}.build-progress button{font-size:12px;gap:4px;min-height:50px}.build-step-icon{font-size:21px}.stage-heading h2{font-size:18px}.wizard-energies{gap:6px}.energy-choice{min-height:86px;font-size:12px}.wizard-move-row{gap:6px}.wizard-move-row button{padding:8px 6px;grid-template-columns:1fr;text-align:center;min-height:106px}.wizard-move-row button>span{font-size:23px;grid-row:auto}.wizard-move-row strong{font-size:12px}.wizard-move-row small{font-size:10px}.build-footer-note{display:none}.build-footer{justify-content:space-between}.review-stage{gap:14px}.review-details h2{font-size:23px}.review-details p{font-size:12px}.review-move{font-size:12px}.wizard-canvas-wrap{width:min(100%,calc((100dvh - 400px)*1.25))}}
@media(max-height:700px) and (min-width:701px){.builder-title .eyebrow{display:none}.scrib-builder{gap:8px}.stage-heading{margin-bottom:6px}.wizard-canvas-wrap{width:min(100%,calc((100dvh - 340px)*1.25))}.wizard-drawing .toolbar{padding:4px}.wizard-moves fieldset{margin-bottom:7px}.wizard-move-row button{min-height:65px}.wizard-energies{margin-top:12px}.sketch-mini{display:none}}
body.building-scrib header{height:76px}.scrib-builder .build-progress{background:none;padding-left:0;padding-right:0}.scrib-builder button:disabled{cursor:default}
.build-stage[data-stage="0"]:not([hidden]){display:flex;flex-direction:column}.wizard-drawing{display:grid;grid-template-rows:auto minmax(0,1fr) auto;flex:1;min-height:0;width:100%}.wizard-drawing .wizard-canvas-wrap{height:100%;width:auto;max-width:100%;min-width:0;margin:0 auto;aspect-ratio:1.25}.wizard-drawing .wizard-canvas-wrap canvas{height:100%;width:100%}.wizard-drawing .sketch-sources{padding:0;margin:0 0 8px}.scrib-builder .builder-title h1{letter-spacing:-.7px}
.wizard-drawing .swatch{width:32px;height:32px;padding:0;flex-shrink:0}.build-progress button:focus-visible,.wizard-move-row button:focus-visible,.energy-choice:focus-visible{outline:3px solid #5388ce;outline-offset:2px}
.setup-art{align-items:center}.setup-art figure{width:42%;margin:0;min-width:0}.setup-scrib-art{height:clamp(140px,22vh,230px);display:flex;align-items:center;justify-content:center}.setup-art .setup-scrib-art img,.setup-art .setup-scrib-art svg{width:100%;height:100%;object-fit:contain}.setup-art figcaption{text-align:center;font-size:13px;font-weight:700;margin:8px 0 12px;overflow-wrap:anywhere}.battlefield .combatant-title h2 small{font-size:11px;display:inline-block;font-weight:500;letter-spacing:0}.voice-settings{padding:16px 0;margin:18px 0;border-top:1px solid #d3dde9;border-bottom:1px solid #d3dde9}.voice-settings label{display:block;font-weight:700;margin-bottom:8px}.voice-settings select{font-size:13px;min-height:48px}.voice-settings p{font-size:12px;margin:10px 0}.voice-settings button{min-height:44px}
.scrib-builder .build-progress{order:0}@media(max-width:700px){body.building-scrib header{height:auto;min-height:128px}.scrib-builder{height:calc(100dvh - 164px)}}
/* Give the sketch the main workspace; keep the palette in a compact rail. */
.wizard-drawing{max-width:1000px;gap:8px}
.wizard-drawing .toolbar{gap:12px;padding:4px 0}
.wizard-drawing .colors{gap:8px}
.wizard-drawing .tools button{min-width:36px;min-height:36px;width:36px;height:36px}
.wizard-drawing .sketch-source{min-height:36px;padding:8px 12px}
@media(min-aspect-ratio:1/1) and (min-width:701px){
  .wizard-drawing{grid-template-columns:minmax(0,1fr) 152px;grid-template-rows:auto minmax(0,1fr);column-gap:20px}
  .wizard-drawing .wizard-canvas-wrap{grid-column:1;grid-row:1 / span 2;align-self:center;max-height:100%;max-width:100%;width:auto;height:100%;margin:0 auto}
  .wizard-drawing .sketch-sources{grid-column:2;grid-row:1;align-self:start;margin:0;gap:4px}
  .wizard-drawing .sketch-sources>div{width:100%;flex-direction:column;gap:6px}
  .wizard-drawing .toolbar{grid-column:2;grid-row:2;align-self:start;flex-direction:column;justify-content:flex-start;align-items:stretch;padding-top:8px;gap:16px}
  .wizard-drawing .colors{display:grid;grid-template-columns:repeat(4,32px);gap:8px}
  .wizard-drawing .tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .wizard-drawing .brush-label{grid-column:1 / -1;font-size:12px;justify-content:space-between;padding:6px 0}
  .wizard-drawing .brush-label input{width:100px;min-height:28px}
}
@media(max-height:800px) and (min-width:701px){
  .scrib-builder{gap:8px}
  .builder-title .eyebrow{display:none}
  .builder-title h1{font-size:22px}
  .build-progress button{min-height:44px}
  .stage-heading{margin-bottom:6px}
  .stage-heading h2{font-size:18px}
  .stage-heading p{font-size:12px}
}
/* Battle setup follows the same clear choices as the Scrib studio. */
.battle-lobby{max-width:1100px;margin:auto}.lobby-title h1{font-size:32px;margin:8px 0 20px}.battle-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 0 10px;border-bottom:4px solid #dde5ef;margin-bottom:18px}.battle-mode-tabs button{border:1px solid #d3ddea;border-radius:12px;background:#e6ecf3;font-weight:700;font-size:16px;min-height:56px;color:#4c6b94}.battle-mode-tabs button[aria-selected=true]{background:#5388ce;color:white;border-color:#5388ce;box-shadow:0 3px 0 #385f91}.battle-lobby .battle-setup{max-width:none;padding:20px 24px}.battle-size{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:620px;margin:0 auto 16px}.battle-size button{border:2px solid #d1dbe8;background:#faf7f0;border-radius:14px;display:grid;grid-template-columns:70px 1fr;align-items:center;text-align:left;padding:10px 14px;min-height:80px}.battle-size button>span{grid-row:span 2;font-size:24px;letter-spacing:-3px}.battle-size strong{font-size:20px}.battle-size small{font-size:11px;color:#52739e;margin-top:4px}.battle-size button[aria-pressed=true]{border-color:#5388ce;background:#e9f0fa;box-shadow:0 2px 0 #5388ce}.battle-size button:disabled{opacity:.48;filter:grayscale(1);cursor:default}.friend-device{display:flex;gap:8px;justify-content:center;margin:12px 0}.friend-device button{min-height:44px;border:1px solid #d1dbe8;border-radius:9px;background:#faf7f0;padding:8px 16px;font-size:13px}.friend-device button[aria-pressed=true]{border-color:#5388ce;background:#e4eefb}.lobby-rule{text-align:center;font-size:13px;color:#52739e;margin:10px 0}.battle-lobby .setup-options{align-items:start;margin:12px 0}.setup-options fieldset{border:0;min-width:0;padding:0;margin:0}.setup-options legend{font-weight:700;font-size:14px;margin-bottom:8px}.setup-options fieldset label{font-size:11px;display:block;text-align:left;margin-bottom:6px}.setup-options fieldset select{margin-top:3px;min-height:44px}.setup-options fieldset p{font-size:12px;line-height:1.5;color:#52739e}.battle-lobby .setup-scrib-art{height:150px}.battle-lobby .team-preview{display:flex;gap:8px;align-items:center;justify-content:center}.lobby-scrib{min-width:0;flex:1}.battle-lobby .team-preview .setup-scrib-art{height:100px}.battle-lobby figcaption{font-size:11px;margin:4px 0}.waiting-team-icon{font-size:65px;padding:20px}.friend-team-note{font-size:13px;color:#52739e;text-align:center;padding:12px;line-height:1.7}.battle-lobby .tablet-pairing{margin-top:14px;padding-top:16px}.battle-lobby .pair-heading h2{font-size:19px;margin:6px}.battle-lobby .pair-heading>span{font-size:25px}.battle-lobby .pair-heading p{font-size:12px}.battle-lobby .setup-note{min-height:18px;font-size:12px}.battle-team-strip{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:10px 0 20px}.battle-team-strip>div{display:flex;gap:8px;align-items:center;padding:8px;border:1px solid #d1dbe8;border-radius:12px;background:#fffdf6}.battle-team-strip strong{font-size:11px;max-width:45px}.team-member{display:flex;flex-direction:column;align-items:center;min-width:0;flex:1;border-radius:8px;padding:4px}.team-member img,.team-member svg{width:50px;height:45px;object-fit:contain}.team-member small{font-size:9px;text-align:center}.team-member.active{background:#e7efd8;outline:1px solid #b8cf91}.team-member.knocked-out{opacity:.35;filter:grayscale(1)}
@media(max-width:700px){.battle-mode-tabs button{font-size:13px;min-height:50px}.battle-lobby .battle-setup{padding:14px 12px}.battle-size button{grid-template-columns:1fr;text-align:center;padding:8px;min-height:92px}.battle-size button>span{grid-row:auto;font-size:20px}.battle-size strong{font-size:18px}.battle-lobby .setup-art{gap:5px}.battle-lobby .setup-art>span{font-size:17px}.battle-lobby .team-preview{gap:3px}.battle-lobby .team-preview .setup-scrib-art{height:65px}.battle-lobby figcaption{font-size:9px}.battle-team-strip{gap:7px}.battle-team-strip>div{gap:3px;flex-wrap:wrap}.battle-team-strip strong{flex-basis:100%;max-width:none}.team-member img,.team-member svg{width:38px;height:38px}}
body:has(.battle-lobby)>footer{display:none}body:has(.battle-lobby)>main{padding:18px 24px}body:has(.battle-lobby)>header{height:76px;min-height:76px}.lobby-title{display:flex;align-items:center;gap:18px;margin-bottom:12px}.lobby-title h1{font-size:27px;margin:0}.lobby-title .eyebrow{font-size:9px}.battle-mode-tabs{margin-bottom:12px}.setup-options .team-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.setup-options .team-picks legend{grid-column:1/-1}.setup-options .team-picks select{font-size:11px;padding:9px 4px}.battle-lobby .setup-note{margin:10px 0}.battle-lobby .training-note{margin:10px 0 0}.battle-lobby .battle-setup{padding-top:16px;padding-bottom:16px}@media(max-width:700px){body:has(.battle-lobby)>header{height:auto;min-height:128px}body:has(.battle-lobby)>main{padding:12px}.lobby-title .eyebrow{display:none}.lobby-title h1{font-size:25px}.setup-options .team-picks select{font-size:10px}.battle-lobby .setup-options{gap:12px}}
.battlefield .battle-sprite{position:relative;display:flex;width:100%;height:100%;align-items:center;justify-content:center;z-index:1}.battlefield .battle-sprite.mirrored{transform:scaleX(-1)}.battlefield .battle-sprite img,.battlefield .battle-sprite svg{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}.roster-count{font-size:12px;color:#52739f;align-self:center;font-weight:700}.roster-full-note{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:10px 12px;border:1px solid #dfcfa4;background:#fff0cf;border-radius:10px}.roster-full-note[hidden]{display:none}.roster-full-note .secondary{white-space:nowrap;min-height:40px}
.computer-picker{width:min(94vw,940px);max-height:90dvh;padding:20px;border:1px solid #c9d9ee;border-radius:22px;background:#fff9f1;color:#263549;box-shadow:0 20px 80px #15243866}.computer-picker::backdrop{background:#1c304a99}.picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.picker-heading h2{margin:0;font-size:24px}.computer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.computer-grid button{display:flex;flex-direction:column;align-items:center;padding:8px;border:2px solid #dce4ef;border-radius:15px;background:#fff;cursor:pointer;min-width:0;color:inherit}.computer-grid button[aria-pressed=true]{border-color:#598ac9;background:#eaf2fd}.computer-grid img{height:112px;width:100%;object-fit:contain}.computer-grid strong{font-size:14px;margin-top:4px}.computer-grid small{color:#4f6f99}.choose-computer{margin-top:8px;min-height:44px}@media(max-width:700px){.computer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.computer-grid img{height:96px}.computer-picker{padding:12px}.computer-grid strong{font-size:12px}}
.scrib-slot{min-width:0}.scrib-slot .choose-computer{width:100%;margin-top:0;font-size:12px;padding:8px 6px}.picker-art{display:flex;width:100%;height:112px;align-items:center;justify-content:center}.computer-grid .picker-art img,.computer-grid .picker-art svg{height:100%;width:100%;object-fit:contain}.computer-grid button:disabled{opacity:.45;cursor:default;filter:grayscale(.6)}.picker-used{font-size:11px;margin-top:4px;color:#4d6c94}.picker-note{font-size:13px;color:#4f6f99;margin:0 0 12px}.setup-options .team-picks .scrib-slot .choose-computer{font-size:10px}@media(max-width:700px){.picker-art{height:96px}.picker-heading h2{font-size:20px}.setup-options .team-picks .scrib-slot .choose-computer{font-size:10px;padding:7px 3px}}
/* Blue Flame: royal blue, warm orange and crisp white. */
:root{--ink:#102e55;--purple:#0754d8;--green:#ff9b19;--brand-blue:#0754d8;--brand-navy:#102e55;--brand-orange:#ff9b19;--brand-line:#cbdff5;color:var(--ink);background:#f0f7ff}
body{background:radial-gradient(ellipse at 8% 5%,#d9efff 0,transparent 44%),radial-gradient(ellipse at 100% 20%,#fff0dc 0,transparent 36%),#f0f7ff}
header{background:#ffffffed;border-bottom:2px solid #cbdff5;box-shadow:0 3px 0 #fff;}
.brand{flex-shrink:0}.brand-logo{display:block;width:145px;height:76px;object-fit:contain}
header nav{background:#e7f1ff;border:1px solid #d5e5fa;box-shadow:inset 0 1px 0 #fff}
.nav{color:#36567d;min-height:44px}.nav.active{color:#fff;background:linear-gradient(135deg,#0877ed,#0647bf);box-shadow:0 3px 0 #073888}
.nav b{background:#d1e5ff;color:#17467e}.nav.active b{background:#fff;color:#0754d8}.parent{color:#234c7d;font-weight:700;min-height:44px}
h1 em{color:#0754d8}h1 em:after{border-color:#ff9b19}.eyebrow{color:#41648c}.eyebrow>span{background:#ff9b19}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.build-progress button:focus-visible,.wizard-move-row button:focus-visible,.energy-choice:focus-visible{outline:3px solid #ed8500;outline-offset:3px}
.primary{background:linear-gradient(#ffb53d,#ff9814);border-color:#8f4c00;color:#142c4b;box-shadow:0 3px 0 #9c5000}
.primary:hover:enabled{background:linear-gradient(#ffc15d,#ffa52b)}.primary:disabled{cursor:default}
.secondary,.sketch-source{background:#fff;border-color:#b8d2f0;color:#174b86}.secondary:hover:enabled,.sketch-source:hover{background:#edf6ff;border-color:#4d8bda}
.drawing-panel,.creation-panel,.monster-card,.room-waiting,.battle-setup{background:#fff;border-color:#cbdff5;box-shadow:0 4px 0 #dce9f8}
.canvas-wrap{background:#fffdf7;border:2px dashed #a6c7ef;box-shadow:0 3px 0 #dceafa}.tools button{background:#e6f0ff;color:#16497f}.tools .selected{background:#ffdfaa}
input[type=text],input[type=password],#monster-name,select,.energy-stage input{background:#fff;border-color:#b9d2ef;color:#102e55}
footer{color:#526e8d;border-color:#cbdff5}.page-heading>p,.stage-heading p,.build-footer-note,.review-change-note,.energy-stage small,.sketch-mini,.monster-card p,.monster-bottom>span,.training-note,.setup-note,.builder-counter,.roster-count{color:#506b8c}
.build-progress button{background:#e5efff;color:#2a527f;border-color:#cbdff5}.build-progress button.active{background:linear-gradient(135deg,#0877ed,#0647bf);color:#fff;border-color:#0647bf;box-shadow:0 3px 0 #073888}
.build-progress button.complete{background:#dceeff;color:#124e91;border-color:#acd2ff}.build-progress-track{background:#d6e6fa}.build-progress-track>span{background:linear-gradient(90deg,#0877ed,#ff9b19)}
.build-footer{border-color:#cbdff5}.builder-status{color:#174e91}.review-art{background:radial-gradient(ellipse,#d9efff,#f4f9ff 60%,#ffecd3);border:1px solid #cbdff5}
.energy-choice,.wizard-move-row button{background:#fff;border-color:#cbdff5}.wizard-move-row small{color:#506b8c}
.energy-badge{background:#edf5ff;border-color:#bdd7f5;color:#245a95}.power-badge{background:#edf5ff;color:#245a95}
.monster-progress{color:#315b8c}.monster-progress progress{accent-color:#ff9b19}.monster-progress progress::-webkit-progress-bar{background:#e0edfd}.monster-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#0877ed,#ff9b19)}
.battle-mode-tabs{border-color:#cbdff5}.battle-mode-tabs button{background:#e7f1ff;border-color:#c5dcf7;color:#315b8c}.battle-mode-tabs button[aria-selected=true]{background:linear-gradient(135deg,#0877ed,#0647bf);border-color:#0647bf;color:#fff;box-shadow:0 3px 0 #073888}
.battle-size button,.friend-device button{background:#f7fbff;border-color:#c5dcf7}.battle-size button[aria-pressed=true],.friend-device button[aria-pressed=true]{background:#fff0d9;border-color:#e88a0b;color:#513403;box-shadow:0 2px 0 #e88a0b}.battle-size small,.lobby-rule,.setup-options fieldset p,.friend-team-note{color:#506b8c}
.tablet-pairing,.remote-banner{background:#e9f3ff;border-color:#bad6f8;color:#235891}.room-code>span{background:#e7f2ff;border-color:#8db8ed;color:#0754d8;box-shadow:0 3px 0 #c1d9f7}
.battle-team-strip>div{background:#fff;border-color:#cbdff5}.team-member.active{background:#fff0d9;outline-color:#eea03d}
.computer-picker{background:#f5faff;border-color:#b9d4f3;box-shadow:0 20px 80px #0b2d6166}.computer-picker::backdrop{background:#09264a99}.computer-grid button{background:#fff;border-color:#d2e3f8;color:#102e55}.computer-grid button[aria-pressed=true]{background:#fff0d9;border-color:#e88a0b;box-shadow:0 2px 0 #d78009}.computer-grid small,.picker-note,.picker-used{color:#506b8c}
.sound-toggle,.repeat-turn{background:#fff;border-color:#bed6f3;color:#245a95}.sound-toggle[aria-pressed=true]{background:#e5f1ff;border-color:#87b3e9}
.picture-moves button{border-color:#153f78;box-shadow:0 5px 0 #153f78}.picture-moves button:hover:enabled{box-shadow:0 8px 0 #153f78}.picture-moves .attack-button{background:#ffe0b3}.picture-moves .special-button{background:#dcecff}.picture-moves .defense-button{background:#d7f2fa}.picture-moves button .move-name,.picture-moves button small{color:#2f527a}
.battlefield{border-color:#98c3e5;box-shadow:0 5px 0 #c5ddf3}.battlefield .energy{color:#173f7c}.battlefield .combatant.current .energy-badge{background:#fff0cc;border-color:#efad4f}
.roster-full-note{background:#fff0d9;border-color:#efb86e;color:#6a420d}
dialog{background:#fff;border-color:#bad6f8;color:#102e55}dialog::backdrop{background:#102e5577}dialog p{color:#506b8c}.voice-settings{border-color:#cbdff5}
.welcome-logo{display:block;width:100%;height:190px;object-fit:contain;margin:0 0 24px}
@media(max-width:700px){.brand-logo{width:132px;height:74px}header{padding-top:8px;padding-bottom:10px;row-gap:8px}body.building-scrib header{padding-top:8px;padding-bottom:8px}.nav{font-size:12px;padding-left:10px;padding-right:10px}.welcome-logo{height:160px}}
/* Size the studio from the available screen, including the taller phone header. */
body.building-scrib{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
body.building-scrib>header{flex-shrink:0}
body.building-scrib>main{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}
body.building-scrib .scrib-builder{height:auto;min-height:0;flex:1}
.element-cosmic{filter:drop-shadow(0 0 13px #ba89ee);color:#9b75d1}
/* Pick directly from the Scrib artwork instead of separate dropdowns and buttons. */
.setup-options[hidden],.setup-options fieldset[hidden]{display:none}
.scrib-preview-pick{display:block;width:100%;padding:10px 8px;border:2px solid #cbdff5;border-radius:16px;background:#f7fbff;color:#102e55;text-align:center;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.scrib-preview-pick:hover{border-color:#f19b28;background:#fff5e5;transform:translateY(-2px)}
.scrib-preview-pick:active{transform:translateY(1px)}
.preview-slot-label{display:block;font-size:11px;font-weight:700;color:#406995;margin-bottom:4px}
.preview-scrib-name{display:block;font-size:12px;font-weight:700;margin:5px 0;overflow-wrap:anywhere}
.preview-pick-hint{display:inline-block;font-size:11px;color:#164f91;background:#e3efff;border-radius:20px;padding:5px 9px}
.battle-lobby .team-preview{align-items:stretch}.team-preview .lobby-scrib{display:flex;flex-direction:column;justify-content:center}.team-preview .preview-pick-hint{margin-top:auto}.team-preview .scrib-preview-pick{justify-content:flex-start}
.setup-options .friend-team-note{grid-column:1/-1}
@media(max-width:700px){.scrib-preview-pick{padding:8px 3px;border-radius:12px}.preview-scrib-name{font-size:10px}.preview-slot-label{font-size:9px}.preview-pick-hint{font-size:9px;padding:5px}.team-preview .preview-scrib-name{font-size:9px}.team-preview .preview-pick-hint{font-size:8px;padding:4px}}
/* Drawing-first layout: compact chrome, one tool dock, a large paper area. */
body.building-scrib:has(.draw-stage:not([hidden]))>header{height:58px;min-height:58px;padding:0 16px;flex-wrap:nowrap;gap:10px}
body.building-scrib:has(.draw-stage:not([hidden])) .brand-logo{width:94px;height:56px}
body.building-scrib:has(.draw-stage:not([hidden]))>header nav{order:initial;width:auto;flex:initial;gap:3px;padding:3px;margin-left:auto}
body.building-scrib:has(.draw-stage:not([hidden]))>header .nav{min-height:40px;padding:7px 10px;font-size:12px}
body.building-scrib:has(.draw-stage:not([hidden]))>header .parent{min-width:40px;padding:0 5px}
body.building-scrib:has(.draw-stage:not([hidden]))>main{padding:8px 12px;max-width:1600px}
body.building-scrib:has(.draw-stage:not([hidden])) .builder-title{display:none}
body.building-scrib:has(.draw-stage:not([hidden])) .scrib-builder{gap:6px}
body.building-scrib:has(.draw-stage:not([hidden])) .build-progress{gap:5px;padding-bottom:6px}
body.building-scrib:has(.draw-stage:not([hidden])) .build-progress button{min-height:40px;font-size:12px;border-radius:10px;gap:5px}
body.building-scrib:has(.draw-stage:not([hidden])) .build-step-icon{font-size:19px}
.draw-stage{padding:0!important;overflow:hidden!important;gap:5px}
.draw-stage>.stage-heading{display:flex;align-items:center;justify-content:space-between;margin:0;flex-shrink:0;min-height:32px}
.draw-stage>.stage-heading h2{margin:0;font-size:17px}.draw-stage #expand-drawing{padding:5px 10px;font-size:11px;min-height:32px}
.draw-stage .wizard-drawing,.drawing-zoom .wizard-drawing{display:flex;flex-direction:column;gap:6px;max-width:none;width:100%;min-height:0;flex:1}
.draw-stage .wizard-canvas-wrap,.drawing-zoom .wizard-canvas-wrap{grid-column:auto;grid-row:auto;flex:1;min-height:0;min-width:0;width:100%;height:auto;max-width:none;max-height:none;aspect-ratio:auto;margin:0;border:0;border-radius:10px;background:transparent;box-shadow:none;display:flex;justify-content:center;align-items:center;overflow:hidden}
.draw-stage .wizard-canvas-wrap canvas,.drawing-zoom .wizard-canvas-wrap canvas{width:100%;height:100%;object-fit:contain;aspect-ratio:auto}
.draw-stage .wizard-canvas-wrap #canvas-hint,.drawing-zoom .wizard-canvas-wrap #canvas-hint{font-size:12px}
.draw-stage .wizard-canvas-wrap #canvas-hint strong,.drawing-zoom .wizard-canvas-wrap #canvas-hint strong{font-size:13px}
.draw-stage .toolbar,.drawing-zoom .toolbar{display:flex;flex-direction:row;align-self:auto;align-items:center;justify-content:center;flex-wrap:wrap;flex-shrink:0;gap:6px 12px;padding:6px 4px;background:#fff;border:1px solid #cbdff5;border-radius:12px}
.draw-stage .colors,.drawing-zoom .colors{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;max-width:428px;min-width:0}
.draw-stage .swatch,.drawing-zoom .swatch{width:32px;height:32px;padding:0;flex-shrink:0}
.draw-stage .tools,.drawing-zoom .tools{display:flex;gap:4px;flex-shrink:0}
.draw-stage .tools button,.drawing-zoom .tools button{width:36px;height:36px;min-width:36px;min-height:36px}
.draw-stage .brush-label,.drawing-zoom .brush-label{font-size:10px;gap:3px}.draw-stage .brush-label input,.drawing-zoom .brush-label input{width:42px}
.draw-stage .sketch-sources,.drawing-zoom .sketch-sources{display:flex;flex:initial;flex-direction:column;width:auto;margin:0;padding:0;gap:0;border:0;background:none}
.draw-stage .sketch-sources>span,.drawing-zoom .sketch-sources>span{display:none}
.draw-stage .sketch-sources>div,.drawing-zoom .sketch-sources>div{display:flex;flex-direction:row;width:auto;gap:4px;margin:0}
.draw-stage .sketch-source,.drawing-zoom .sketch-source{display:inline-flex;min-width:36px;min-height:36px;padding:5px 8px;gap:4px;font-size:11px}
.draw-stage .sketch-source>span:first-child,.drawing-zoom .sketch-source>span:first-child{font-size:19px}
.draw-stage #upload-status,.drawing-zoom #upload-status{font-size:11px;max-width:200px;line-height:1.4;margin:4px 0 0;min-height:0}
.draw-stage #upload-status:empty,.drawing-zoom #upload-status:empty{display:none}
body.building-scrib:has(.draw-stage:not([hidden])) .build-footer{padding-top:6px;gap:8px}
body.building-scrib:has(.draw-stage:not([hidden])) .build-footer>button{min-height:40px;padding:9px 14px}
.drawing-zoom{width:calc(100vw - 16px);max-width:none;height:calc(100dvh - 16px);max-height:none;padding:10px;margin:auto;overflow:hidden;border-radius:16px}
.drawing-zoom[open]{display:flex;flex-direction:column;gap:8px}.draw-zoom-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.draw-zoom-top h2{font-size:18px;margin:0}.draw-zoom-top button{min-height:40px;padding:8px 13px}
.draw-zoom-content{display:flex;flex:1;min-height:0}.drawing-zoom .wizard-canvas-wrap{margin:0}.drawing-zoom::backdrop{background:#102e55cc}
@media(max-width:900px){.draw-stage .source-label,.drawing-zoom .source-label{display:none}.draw-stage .sketch-source,.drawing-zoom .sketch-source{padding:4px}.draw-stage .toolbar,.drawing-zoom .toolbar{gap:5px 8px}}
@media(max-width:480px){body.building-scrib:has(.draw-stage:not([hidden]))>header .nav span,body.building-scrib:has(.draw-stage:not([hidden]))>header .parent span{display:none}body.building-scrib:has(.draw-stage:not([hidden]))>header .nav{min-width:44px;font-size:18px;padding:7px}body.building-scrib:has(.draw-stage:not([hidden]))>header .nav b{font-size:9px;margin:0}body.building-scrib:has(.draw-stage:not([hidden]))>header{padding:0 10px;gap:6px}body.building-scrib:has(.draw-stage:not([hidden]))>header .parent{font-size:18px}body.building-scrib:has(.draw-stage:not([hidden])) .build-footer-note{display:none}}
@media(max-width:420px){.draw-stage .toolbar,.drawing-zoom .toolbar{padding:5px 3px}.draw-stage .colors,.drawing-zoom .colors{flex-basis:100%;justify-content:center}.draw-stage .tools,.drawing-zoom .tools{order:2}.draw-stage .sketch-sources,.drawing-zoom .sketch-sources{order:1}.draw-stage #canvas-hint strong,.drawing-zoom #canvas-hint strong{font-size:11px}}
.draw-stage .wizard-canvas-wrap canvas,.drawing-zoom .wizard-canvas-wrap canvas{flex:none;object-fit:fill;background:#fffdf7;border-radius:8px;outline:2px dashed #a6c7ef;outline-offset:-2px;box-shadow:0 3px 0 #dceafa}

body.building-scrib:has(.draw-stage:not([hidden]))>header .nav{position:relative;white-space:nowrap;flex:none;height:40px}
@media(max-width:480px){body.building-scrib:has(.draw-stage:not([hidden]))>header .nav span,body.building-scrib:has(.draw-stage:not([hidden]))>header .parent span{display:inline-block;position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body.building-scrib:has(.draw-stage:not([hidden]))>header .nav b{position:absolute;top:2px;right:2px;line-height:1;padding:2px 3px}}
.draw-stage .wizard-drawing,.drawing-zoom .wizard-drawing{margin:0}
.draw-zoom-content{flex-direction:column}
.energy-symbol{display:inline-block;width:1.4em;height:1.4em;vertical-align:middle;flex-shrink:0;overflow:visible}
.energy-choice .energy-symbol{width:52px;height:52px}.energy-choice>span{line-height:1;display:flex;align-items:center;justify-content:center}.energy-choice{min-height:116px}
.wizard-move-row .energy-symbol{width:32px;height:32px}.energy-badge .energy-symbol{width:20px;height:20px;margin-right:3px}.battlefield .energy-badge .energy-symbol{width:18px;height:18px}
.computer-grid small .energy-symbol{width:18px;height:18px}
.attack-projectile.energy-projectile{width:60px;height:60px;border:0;background:none;box-shadow:none;color:inherit;border-radius:0}.energy-projectile .energy-symbol{width:100%;height:100%}.energy-projectile.special-projectile{width:80px;height:80px}
@media(max-width:700px){.energy-choice .energy-symbol{width:42px;height:42px}.energy-choice{min-height:100px}.energy-projectile.special-projectile{width:64px;height:64px}}
.profile-page{max-width:1040px;margin:auto}.profile-page h1{margin:8px 0 12px}.profile-page>p,.profile-page p{color:#506b8c;line-height:1.5}.profile-tabs{display:flex;gap:8px;margin:22px 0 14px;flex-wrap:wrap}.profile-tabs button{border:1px solid #b9d4f5;background:#fff;border-radius:10px;min-height:44px;padding:9px 15px}.profile-tabs button[aria-pressed=true]{background:#0754d8;color:#fff}.profile-page form label,.profile-page>label,.parent-section>label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.profile-page input,.profile-page select{display:block;width:100%;border:1px solid #aacbed;border-radius:10px;background:#fff;padding:12px;min-height:46px;color:#102e55;font:inherit}.profile-page #profile-auth{max-width:460px;display:grid;gap:14px;padding:22px;border:1px solid #cbdff5;border-radius:18px;background:white}.profile-help{font-size:12px;font-weight:400}.profile-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.parent-title{display:flex;align-items:center;justify-content:space-between;gap:18px}.parent-section{padding:22px;background:#ffffffd9;border:1px solid #cbdff5;border-radius:18px;margin:20px 0}.parent-section h2{margin-top:0;font-size:23px}.profile-kids{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:15px 0}.profile-kids article{display:flex;align-items:center;flex-direction:column;gap:9px;background:#f3f8ff;border:1px solid #c3daf4;border-radius:15px;padding:16px}.profile-kids article h3,.profile-kids article p{margin:0}.profile-kids article details{width:100%}.profile-kids .secondary{font-size:11px}.player-avatar{font-size:48px;line-height:1.2;display:block}.profile-form-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}.profile-form-row label{flex:1;min-width:130px}.profile-form-row button{min-height:46px}.family-code{padding:15px;border-radius:12px;background:#e6f1ff;margin-top:16px}.family-code code{display:block;font-size:22px;letter-spacing:2px;margin:10px 0;user-select:all}.family-code p{font-size:12px;margin-bottom:0}.family-connections article,.incoming-challenges article{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid #cbdff5;border-radius:12px;margin:12px 0;background:#fff}.family-connections article span{flex:1;font-size:13px}.profile-add summary,.profile-kids summary{cursor:pointer;padding:8px 0;color:#19538e;font-weight:700}.profile-menu{display:flex;align-items:center;gap:6px;border:1px solid #bdd7f4;border-radius:12px;background:#fff7e9;padding:6px 9px;min-height:40px;max-width:160px;color:#153f72;font-size:12px;font-weight:700}.profile-menu[hidden]{display:none}.profile-menu>span:first-child{font-size:23px}.profile-menu-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.approved-friends{margin-top:18px;padding:18px;background:#edf5ff;border:1px solid #bad5f5;border-radius:16px;text-align:left}.approved-friends h2{font-size:21px;margin:0 0 8px}.approved-friends>p{font-size:13px;line-height:1.5;color:#506b8c}.friend-player-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.friend-player{display:flex;flex-direction:column;align-items:center;gap:6px;border:2px solid #bad5f5;border-radius:14px;background:#fff;padding:14px 8px;color:#102e55;min-height:170px}.friend-player small{font-size:11px}.friend-player>span:last-child{font-size:12px;font-weight:700;color:#1658ac}.friend-player:disabled{cursor:default;filter:grayscale(.5)}.incoming-challenges strong{flex:1}.challenge-notice{position:fixed;right:18px;bottom:18px;max-width:400px;z-index:12;box-shadow:0 5px 30px #153f7244;border-radius:14px}.challenge-notice[hidden]{display:none}.challenge-notice button{display:block;padding:16px 20px;min-height:60px;border:2px solid #e38b13;border-radius:14px;background:#fff0d6;color:#173761;font-weight:700}.challenge-notice strong{display:block;margin-top:6px}#profile-status{color:#174e91;min-height:24px;white-space:pre-line}
@media(max-width:1000px){.profile-menu-name{display:none}.profile-menu{max-width:48px}header .profile-menu{flex-shrink:0}}
@media(max-width:700px){.parent-title{align-items:start;flex-direction:column}.parent-section{padding:16px}.profile-page #profile-auth{padding:16px}.profile-form-row{gap:10px}.profile-kids{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-kids article{padding:12px 7px}.profile-kids .secondary{padding:9px 6px}.challenge-notice{left:12px;right:12px;bottom:12px;max-width:none}.profile-menu{order:0}.profile-page h1{font-size:30px}}
body.building-scrib:has(.draw-stage:not([hidden]))>header .profile-menu{margin-left:0}
@media(max-width:600px){body.building-scrib:has(.draw-stage:not([hidden]))>header{gap:4px;padding:0 6px}body.building-scrib:has(.draw-stage:not([hidden]))>header .brand-logo{width:78px}body.building-scrib:has(.draw-stage:not([hidden]))>header .nav span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body.building-scrib:has(.draw-stage:not([hidden]))>header .nav{min-width:40px;padding:6px;font-size:18px}body.building-scrib:has(.draw-stage:not([hidden]))>header nav{margin-left:auto}}
.profile-kids{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.profile-menu{position:relative}.approval-dot{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#ff9b19;color:#102e55;border:1px solid #945000;font-size:12px}.profile-page .profile-add:not([open]){margin:12px 0}
@media(max-width:700px){.profile-kids{grid-template-columns:repeat(2,minmax(0,1fr))}}
.profile-page form[hidden]{display:none}.profile-page #kid-switch{display:flex;gap:12px;align-items:end;max-width:460px;background:#fff;border:1px solid #cbdff5;border-radius:12px;padding:16px}.profile-page #kid-switch[hidden]{display:none}.profile-page #kid-switch label{flex:1}

.creation-budget{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;background:#eaf6ff;border:2px solid #229de3;border-radius:16px;padding:14px 18px;margin:12px 0 20px;color:#12375e}.creation-budget strong{font-size:1.15rem}.creation-budget small{flex-basis:100%;line-height:1.45}.token-level{width:100%;margin:12px 0 2px;min-height:44px}.token-level:disabled{opacity:.5;cursor:default}

.host-token-controls{border:2px solid #eba338;background:#fff8ea}.host-token-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.host-token-heading h2{margin:0}.host-token-controls form label:first-child{flex:3;min-width:200px}.host-token-controls form label:nth-child(2){flex:1;max-width:150px}.host-token-help{font-size:12px}.host-token-controls [role=status]{font-weight:700;min-height:24px;color:#174e91}

.draw-stage .swatch[data-color="#ffffff"],.drawing-zoom .swatch[data-color="#ffffff"]{border:1px solid #a9b9cc}

/* Give guide download links their own touch targets and layout space. */
#guide a.primary,#guide a.secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;white-space:normal;overflow-wrap:anywhere;text-align:center;text-decoration:none;line-height:1.4}
#guide{width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}
@media(max-width:480px){#guide{padding:36px 20px 24px}}

.challenge-notice .challenge-open{width:100%;padding-right:64px;text-align:left}.challenge-notice .challenge-dismiss{position:absolute;top:4px;right:4px;width:48px;min-height:48px;padding:0;border:0;box-shadow:none;background:transparent;font-size:30px;line-height:1}.challenge-error:not(:empty){display:block;padding:8px 12px;background:#fff0d6;border-radius:0 0 14px 14px;color:#173761;font-size:12px}

.arena-background-picker{display:grid;grid-template-columns:auto minmax(140px,220px) 56px;align-items:center;justify-content:center;gap:12px;margin:18px 0;font-size:14px;font-weight:700;text-align:left}.arena-background-picker select{min-height:48px}.arena-background-swatch{display:block;height:48px;border-radius:12px;border:2px solid #fff;box-shadow:0 0 0 1px #abc8e5;background:linear-gradient(#d5edf1 50%,#a8d28b 50%)}.session-actions{display:flex;justify-content:flex-end;max-width:960px;margin:12px auto}.leave-session{min-height:48px;padding:12px 20px;background:#fff;color:#174e91;border:2px solid #9bbfe8;font-size:15px}.battle-size[hidden]{display:none}.battle-mode-tabs{flex-wrap:wrap}.battle-mode-tabs button{min-height:48px}
.arena-theme-beach{background:linear-gradient(#9fe5ff 48%,#ffe3a1 48%)}.arena-theme-beach .field-hill{background:#71cbe0}.arena-theme-beach .hill-front{background:#41a9cd}.arena-theme-beach .field-ground{background:linear-gradient(#ffe3a1,#fff0c5)}.arena-theme-beach .field-path{background:#72d4e3aa;border-color:#ddfcff}.arena-theme-beach .field-label{color:#4b6688}
.arena-theme-snow{background:linear-gradient(#b9d7f7 48%,#eff8ff 48%)}.arena-theme-snow .field-hill{background:#c0d2ea;clip-path:polygon(0 100%,45% 0,100% 100%);border-radius:0}.arena-theme-snow .hill-front{background:#d9e8fa}.arena-theme-snow .field-ground{background:linear-gradient(#f2fbff,#d4e6fa)}.arena-theme-snow .field-path{background:#abc9e055;border-color:#fff}.arena-theme-snow .field-sun{background:#ffefc6;box-shadow:0 0 30px #fff9}.arena-theme-snow .field-label{color:#456e99}
.arena-theme-volcano{background:linear-gradient(#ffd2ac 48%,#dc8b72 48%)}.arena-theme-volcano .field-hill{background:#9d7687;clip-path:polygon(0 100%,40% 0,55% 15%,65% 3%,100% 100%);border-radius:0}.arena-theme-volcano .hill-front{background:#ba8190}.arena-theme-volcano .field-ground{background:linear-gradient(#efb18e,#dc9a8c)}.arena-theme-volcano .field-path{background:linear-gradient(90deg,#ff923d,#ffe5a1,#ff923d);box-shadow:0 0 18px #ffa75e;border-color:#ffedaf}.arena-theme-volcano .field-label{color:#754254}.arena-theme-volcano .field-cloud{background:#fff4dcaa}
.arena-theme-space{background:radial-gradient(circle at 22% 12%,#fff 1px,transparent 3px),radial-gradient(circle at 72% 32%,#fff 1px,transparent 3px),linear-gradient(#363773 48%,#a3a1d6 48%);background-size:75px 91px,113px 67px,100% 100%}.arena-theme-space .field-hill{background:#777cb2}.arena-theme-space .hill-front{background:#8f8fc3}.arena-theme-space .field-ground{background:linear-gradient(#c3c3e6,#aaaed9)}.arena-theme-space .field-path{background:#dee1f066;border-color:#edf1ff66}.arena-theme-space .field-cloud{display:none}.arena-theme-space .field-sun{background:#fff0bb;box-shadow:inset -14px -4px 0 #d4c8ab,0 0 40px #fff4}.arena-theme-space .field-label{color:#434777}.arena-theme-space .combatant-title h2{color:#f8fbff;text-shadow:0 2px 3px #30345c}.arena-theme-space .combatant-title>span{color:#f1f5ff}
.battlefield .battle-art img,.battlefield .battle-art svg{mix-blend-mode:normal}.showoff-arena .battle-art{height:310px}.showoff-power{min-height:40px;display:flex;gap:8px;align-items:center;justify-content:center;background:#ffffffe6;border-radius:12px;padding:8px;font-size:13px;color:#173761}.showoff-power .energy-symbol{width:24px;height:24px;flex-shrink:0}.showoff-collection{max-width:960px;margin:20px auto}.showoff-collection h2{font-size:22px;margin:12px 0}.showoff-collection p{font-size:13px;color:#486b91}.showoff-picks{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.showoff-pick{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:160px;padding:10px;background:#fff;border:2px solid #b3d3f5;border-radius:14px;color:#173761}.showoff-pick:hover,.showoff-pick:focus-visible{border-color:#0754d8;background:#eaf5ff}.showoff-pick>span{display:block;width:100%;height:100px}.showoff-pick img,.showoff-pick svg{width:100%;height:100%;object-fit:contain}.showoff-pick strong{font-size:13px}.showoff-pick small{font-size:11px}.showoff-arena .combatant-title h2 small{display:block;font-size:13px;margin-top:4px}
@media(max-width:600px){.arena-background-picker{grid-template-columns:1fr 48px;gap:8px}.arena-background-picker select{grid-row:2;grid-column:1}.arena-background-swatch{grid-row:2;grid-column:2}.battle-mode-tabs button{padding:10px 8px;font-size:12px;flex:1}.session-actions{justify-content:stretch}.session-actions .leave-session{width:100%}.showoff-picks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.showoff-pick{padding:8px 4px;min-height:140px}.showoff-pick>span{height:80px}.showoff-arena .battle-art{height:240px}.showoff-power{font-size:11px}}
.math-opponent-tabs{display:flex;justify-content:center;gap:12px;margin:16px 0}.math-opponent-tabs[hidden]{display:none}.math-opponent-tabs button{min-height:48px;padding:10px 20px;border:2px solid #b5d1f4;border-radius:12px;background:#fff;color:#174e91;font-weight:700}.math-opponent-tabs button[aria-pressed=true]{background:#0754d8;color:#fff;border-color:#0754d8}.profile-kids form[data-age]{width:100%;display:grid;gap:8px}.profile-kids form[data-age] label{font-size:12px}.profile-kids form[data-age] input{margin-top:5px;min-height:44px}.math-playing main{padding:18px 4%}.math-game{max-width:960px;margin:auto}.math-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.math-heading h1{font-size:30px;margin:6px 0;letter-spacing:-1px}.math-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.math-heading .leave-session{font-size:13px;min-height:44px}.math-arena.battlefield{height:290px;margin:0}.math-arena .combatant,.math-arena .combatant.current{top:14px;bottom:28px}.math-arena .battle-art{height:165px;margin-top:5px}.math-arena .combatant-title h2{font-size:18px;margin:8px 0 6px}.math-arena .combatant-title h2 small{font-size:10px}.math-arena .field-sun{width:50px;height:50px;top:30px}.math-arena .field-label{bottom:8px}.math-question-panel{border:2px solid #9bc9f0;border-radius:18px;background:#fff;padding:14px 20px;margin-top:14px;text-align:center}.math-question-panel.is-power{border-color:#ec9b20;background:#fff7e8;box-shadow:0 0 0 4px #ffc65a33}.math-question-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:#173761}.math-streak{display:flex;gap:5px;font-size:25px;color:#ccd6e4}.math-streak .earned{color:#ed9d13;text-shadow:0 1px 0 #a85d10}.math-feedback{min-height:22px;margin:4px 0;font-size:13px;color:#45688d}.math-prompt{font-family:'Space Grotesk',sans-serif;font-size:40px;font-weight:700;line-height:1.3;color:#123b6e;padding:8px 0;overflow-wrap:anywhere}.math-read{min-height:40px;padding:8px 12px;margin:0 0 10px}.math-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.math-answer{font-size:32px;font-weight:800;min-height:74px;padding:10px 5px;border:3px solid #86b7f0;border-radius:14px;background:#eaf5ff;color:#124785;box-shadow:0 4px 0 #9fbee3;touch-action:manipulation}.math-answer:hover{background:#d4ebff;border-color:#0754d8}.math-answer:active{transform:translateY(3px);box-shadow:none}.math-power{display:block;width:100%;min-height:52px;margin-top:14px;font-size:16px}.math-hint{font-size:12px;color:#587392;margin:12px 0 0}.math-sound{display:block;margin:12px auto;min-height:42px}#math-status{font-size:13px;color:#a13b39;margin:8px 0 0;min-height:0}.math-damage{position:absolute;left:30%;top:20%;z-index:6;font-size:30px;color:#fff;background:#e97124;border:2px solid #ffe492;border-radius:14px;padding:7px 12px;white-space:nowrap;pointer-events:none;animation:mathDamage .45s ease-out}.math-impact{animation:mathImpact .3s ease-in-out}.math-strike{animation:mathStrike .25s ease-in-out}@keyframes mathStrike{50%{transform:translateY(-12px) scale(1.05)}}@keyframes mathImpact{25%{transform:translateX(-8px)}75%{transform:translateX(8px)}}@keyframes mathDamage{to{transform:translateY(-35px);opacity:0}}@media(prefers-reduced-motion:reduce){.math-impact,.math-strike,.math-damage{animation:none}}
@media(max-width:600px){.math-playing main{padding:10px 3%}.math-heading h1{font-size:23px}.math-heading .eyebrow{font-size:8px;letter-spacing:1px}.math-heading .leave-session{padding:8px 10px;font-size:12px}.math-arena.battlefield{height:240px}.math-arena .combatant-title{min-height:56px}.math-arena .combatant-title h2{font-size:14px}.math-arena .combatant-title h2 small{display:none}.math-arena .battle-art{height:135px}.math-question-panel{padding:10px 12px;margin-top:10px}.math-prompt{font-size:30px}.math-answer{font-size:27px;min-height:64px}.math-answers{gap:9px}.math-feedback{font-size:11px}.math-question-top{font-size:12px}.math-streak{font-size:21px}.math-power{font-size:14px}.math-damage{font-size:21px;padding:4px 8px}}

.math-earned-xp{text-align:center;font-size:13px;font-weight:700;color:#315f94;margin:12px 0 6px}
.profile-kids form[data-reading]{width:100%;display:grid;gap:8px}.profile-kids form[data-reading] label{font-size:12px}.profile-kids form[data-reading] select{margin-top:5px;min-height:44px;font-size:13px}.reading-game{max-width:960px;margin:auto}.rally-course{position:relative;isolation:isolate;border:2px solid #b6d8ec;border-radius:20px;overflow:hidden;background:#d5edf1;padding:14px}.rally-course .field-scenery{z-index:-1}.rally-course .field-label,.rally-course .field-flower{display:none}.rally-course .field-ground{inset:45% 0 0}.rally-course .field-sun{top:8px;width:45px;height:45px}.rally-lanes{display:grid;gap:12px}.rally-lane{padding:8px 12px;background:#ffffffd9;border:1px solid #c9e0f4;border-radius:14px}.rally-lane-label{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px;color:#193f6b}.rally-lane-label small{font-size:11px}.rally-lane-label>span{font-size:10px;font-weight:700;white-space:nowrap}.rally-track{height:92px;position:relative;border-bottom:3px dashed #83b4dd;background:linear-gradient(transparent 65%,#d1eaf6 65%);overflow:hidden;border-radius:8px}.rally-lane:nth-child(2) .rally-track{border-color:#e8b657;background:linear-gradient(transparent 65%,#ffedc4 65%)}.rally-runner{position:absolute;bottom:5px;width:20%;height:80px;z-index:2}.rally-runner .battle-sprite{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.rally-runner img,.rally-runner svg{width:100%;height:100%;object-fit:contain}.rally-finish{position:absolute;right:2%;bottom:13px;font-size:35px}.rally-finish:before{content:'';position:absolute;right:50%;top:-55px;bottom:-13px;width:10px;background:repeating-conic-gradient(#1c355c 0 25%,#fff 0 50%) 0/10px 10px;opacity:.35;z-index:-1}.rally-distance{position:absolute;left:0;bottom:0;width:100%;height:5px;accent-color:#2582d8}.rally-runner.advancing{animation:rallyAdvance .4s ease-out}@keyframes rallyAdvance{from{left:var(--rally-from)}to{left:var(--rally-to)}}.rally-prompt{font-size:23px;line-height:1.35;margin:10px 0 12px;color:#183e6b;letter-spacing:0}.rally-passage{background:#f0f7ff;border:1px solid #c8ddf5;border-radius:12px;text-align:left;font-size:19px;line-height:1.65;color:#1a3a60;padding:14px 18px;margin:12px 0}.rally-picture{font-size:72px;line-height:1.2;padding:8px}.rally-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rally-answer{font-size:18px;padding:12px;line-height:1.35;min-height:68px;overflow-wrap:anywhere}.reading-question-panel .math-feedback{margin:6px 0}.reading-question-panel{margin-top:12px}
@media(max-width:600px){.rally-course{padding:9px;border-radius:16px}.rally-lanes{gap:8px}.rally-lane{padding:6px 8px}.rally-lane-label{align-items:start;font-size:12px}.rally-lane-label strong small{display:block;font-size:10px}.rally-lane-label>span{font-size:8px}.rally-track{height:72px}.rally-runner{height:62px}.rally-finish{font-size:27px;bottom:10px}.rally-prompt{font-size:20px}.rally-passage{font-size:17px;padding:10px 12px;line-height:1.6}.rally-answers{gap:8px}.rally-answer{font-size:15px;padding:10px 7px;min-height:62px}.rally-picture{font-size:62px}}
@media(prefers-reduced-motion:reduce){.rally-runner.advancing{animation:none}}
/* Scrib and Seek: a large five-by-five field, with a compact pair tray. */
.seek-game{max-width:1100px;margin:auto;padding:10px 0 24px}.seek-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.seek-heading h1{font-size:clamp(28px,4vw,44px);margin:4px 0}.seek-heading button{flex-shrink:0}.seek-status{background:#e4f5ff;border:2px solid #91ccec;border-radius:16px;padding:12px 16px;font-size:clamp(17px,2vw,21px);font-weight:800;margin:10px 0 14px;min-height:52px}.seek-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.seek-sidebar h2,.seek-field-title h2{font-size:18px;margin:0 0 8px}.seek-field-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.seek-field-title>span{font-size:12px;color:#49627b}.seek-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;background:linear-gradient(160deg,#a3d5b0,#609c81);padding:12px;border:3px solid #387483;border-radius:22px;width:min(100%,560px);margin:auto;box-shadow:0 8px 0 #dce9ed}.seek-grid.arena-theme-beach{background:linear-gradient(150deg,#c8f1f4,#eace8e)}.seek-grid.arena-theme-snow{background:linear-gradient(150deg,#f3fcff,#9bbfd6)}.seek-grid.arena-theme-space{background:linear-gradient(150deg,#6876b7,#333756)}.seek-grid.arena-theme-volcano{background:linear-gradient(150deg,#bd9f8b,#75595d)}.seek-tile{position:relative;aspect-ratio:1;border:2px solid #acdfff;border-radius:12px;background:linear-gradient(140deg,#286491,#153755);padding:3px;box-shadow:0 3px 0 #22404d;overflow:hidden;min-width:0;min-height:0;touch-action:manipulation}.seek-tile:disabled{opacity:1;cursor:default}.seek-tile:not(:disabled):hover,.seek-tile:focus-visible{outline:3px solid #ffe894;outline-offset:2px}.seek-card-back{font-size:clamp(22px,4vw,40px);color:#b7e9ff;text-shadow:0 2px 0 #153755}.seek-tile.seek-revealed{background:#f6fcf5;border-color:#f8fff5}.seek-tile img,.seek-tile svg{width:100%;height:100%;object-fit:contain;display:block}.seek-tile.seek-matched{border-color:#ffe16f;background:#fff7cd}.seek-check{position:absolute;bottom:1px;right:3px;background:#16664e;color:white;border-radius:50%;width:20px;height:20px;font-size:14px}.seek-scenery{font-size:clamp(24px,4vw,42px)}.seek-flipped{animation:seek-pop .3s ease-out}.seek-brushes{display:grid;gap:8px;margin-bottom:12px}.seek-brush{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;text-align:left;border:2px solid #ccdfec;background:#fff;border-radius:14px;padding:5px 8px;gap:0 8px}.seek-brush>span{grid-row:span 2;width:58px;height:58px}.seek-brush img,.seek-brush svg{width:100%;height:100%;object-fit:contain}.seek-brush strong{font-size:14px;overflow-wrap:anywhere}.seek-brush small{font-size:12px;color:#4e6580}.seek-brush[aria-pressed=true],.seek-brushes>[aria-pressed=true],.seek-board-tabs>[aria-pressed=true]{border-color:#197fbd;background:#ddf2ff;box-shadow:0 0 0 2px #a6dcff}.seek-sidebar>#seek-lock{width:100%;font-size:16px}.seek-help{font-size:13px;color:#4c6377;line-height:1.5;margin:10px 0}.seek-board-tabs{display:flex;gap:8px;margin-bottom:18px}.seek-board-tabs>button{flex:1;padding:10px 6px;font-size:14px}.seek-lineup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:20px}.seek-scrib{text-align:center;min-width:0}.seek-scrib>span{display:block;aspect-ratio:1;background:#ecf4f9;border-radius:12px;padding:4px}.seek-scrib img,.seek-scrib svg{width:100%;height:100%;object-fit:contain}.seek-scrib strong{display:block;font-size:12px;overflow-wrap:anywhere}.seek-scrib small{display:block;font-size:10px;color:#4c6377}.seek-found>span{background:#fff0ab;box-shadow:inset 0 0 0 2px #d2ae46}.seek-found small{color:#16664e;font-weight:800}.seek-audio{display:flex;gap:10px;justify-content:center;margin-top:12px}.seek-audio button{font-size:14px}.seek-field-wrap>#seek-again{display:block;margin:12px auto}.seek-field-wrap #room-status{color:#9b263e;font-weight:700}@keyframes seek-pop{from{transform:scale(.88)}to{transform:scale(1)}}
@media(max-width:700px){.seek-layout{grid-template-columns:1fr;gap:12px}.seek-sidebar{order:2}.seek-field-wrap{order:1}.seek-brushes{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.seek-brush{display:flex;flex-direction:column;text-align:center;padding:4px}.seek-brush>span{width:52px;height:52px}.seek-brush strong{font-size:12px}.seek-brushes>.secondary{grid-column:span 3;padding:6px}.seek-lineup{margin-bottom:12px}.seek-scrib>span{height:64px;aspect-ratio:auto}.seek-field-title{display:block}.seek-field-title>span{display:block;margin-bottom:8px}.seek-grid{gap:6px;padding:8px;width:min(100%,470px)}.seek-heading .secondary{font-size:12px;padding:9px}.seek-board-tabs{margin-bottom:12px}.seek-status{font-size:16px}}
@media(prefers-reduced-motion:reduce){.seek-flipped{animation:none}}

@media(min-width:701px){.seek-grid{width:min(100%,560px,max(310px,calc(100dvh - 350px)))}}
@media(max-width:700px){.seek-game.is-placing .seek-sidebar{order:0}.seek-game.is-placing .seek-brushes>button.secondary{grid-column:auto}.seek-game.is-placing .seek-help{display:none}}
