*{box-sizing:border-box}html{height:100%;background:#061a1e}body{margin:0;color:#ffefcc;font-family:var(--font-family);height:100dvh;overflow:hidden;touch-action:manipulation}.forest{position:fixed;inset:0;background:linear-gradient(#071c2799,#081d2633),url('assets/forest.png') center/cover;z-index:-1}.game{width:min(1220px,100%);height:100%;margin:auto;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
header{display:flex;align-items:center;gap:12px}.brand{flex:1}.brand small{font-size:10px;letter-spacing:.2em;color:#e8c777}h1{font:700 clamp(24px,4vw,44px) Georgia;margin:0;color:#f7d185;text-shadow:0 3px 4px #000}button,a,select,textarea{font:inherit}.icon{border:1px solid #d9b86a;background:#0b282bd9;color:#f6deb0;width:44px;height:44px;flex:none;border-radius:14px;display:grid;place-items:center;text-decoration:none;font-size:24px;cursor:pointer}.hud{display:flex;gap:8px}.hud>div{min-width:82px;text-align:center;background:linear-gradient(#3b221eef,#1b1217ee);border:2px solid #a47c43;border-radius:12px;padding:4px 14px;box-shadow:inset 0 0 0 2px #553b23}.hud small{display:block;font-size:10px;color:#edc16e}.hud b{font-size:25px;font-variant-numeric:tabular-nums;color:#ffde87}.question-card{padding:10px 18px;text-align:center;color:#302215;border:3px solid #a97b40;border-radius:15px;background:linear-gradient(110deg,#e7cfa6,#fff2d5,#d8bc8a);box-shadow:0 7px 18px #0006}.question-card small{font-size:10px;letter-spacing:.14em;color:#626643}.question-card h2{font:700 clamp(20px,2.4vw,31px) Georgia;margin:3px 0}.question-card p{font-size:12px;margin:4px 0 0;min-height:18px}.question-card.good{box-shadow:0 0 25px #f5cb72}.question-card.bad{animation:shake .2s ease}
.field{width:100%;max-width:1030px;min-height:0;margin:auto;align-self:stretch;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:clamp(6px,1.5vw,16px);padding:12px 20px 14px;border:8px solid #6a492a;border-bottom-color:#382719;border-radius:32px;background:repeating-linear-gradient(2deg,#301b17aa 0 3px,#63432dad 4px 8px),url('assets/forest.png') center/cover;box-shadow:0 14px 30px #0009,inset 0 0 0 3px #bc996366}.field.six{grid-template-rows:repeat(2,minmax(0,1fr))}.hole{position:relative;min-height:0;border:0;background:none;padding:0;isolation:isolate;cursor:pointer;color:#21180e;outline-offset:3px}.hole::before{content:'';position:absolute;bottom:7%;left:2%;width:96%;height:60%;border-radius:50%;background:radial-gradient(ellipse at 50% 75%,#24170e,#080a06 70%);box-shadow:0 0 0 7px #765b34,0 0 0 10px #435536,0 4px 0 12px #2e301b,inset 0 12px 12px #000}.burrow{position:absolute;inset:-8% -2% 6%;overflow:hidden;border-radius:0 0 45% 45%;pointer-events:none}.beaver{position:absolute;inset:0;transform:translateY(110%);opacity:0;transition:transform .23s cubic-bezier(.2,.8,.3,1),opacity .15s;display:flex;align-items:flex-end;justify-content:center}.beaver img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 3px #0008)}.hole.up .beaver{transform:translateY(0);opacity:1}.answer{position:absolute;left:16%;right:16%;bottom:8%;display:flex;align-items:center;justify-content:center;min-height:23%;border-radius:6px;padding:4px;color:#2a1c12;background:linear-gradient(#f4dbac,#c4a373);box-shadow:0 1px 0 #916b36;font:700 clamp(12px,1.8vw,23px) Georgia;overflow-wrap:anywhere;line-height:1.05}.key{position:absolute;bottom:0;left:0;font:600 10px var(--font-family);color:#f8dda6;opacity:.65}.hole.good .beaver{animation:happy .5s ease}.hole.bad .beaver{animation:shake .22s ease}.burst{position:absolute;z-index:5;left:50%;top:25%;transform:translate(-50%,-50%);font-size:clamp(22px,3vw,40px);color:#ffdf82;font-weight:800;text-shadow:0 2px 4px #321900;pointer-events:none;animation:burst .65s ease-out forwards;white-space:nowrap}.star{position:absolute;left:50%;top:45%;color:#ffdf82;pointer-events:none;z-index:4;animation:star .6s ease-out forwards}
footer{display:flex;align-items:center;gap:8px;background:#082529de;border:1px solid #ae914f;border-radius:16px;padding:8px 12px}#combo{flex:1;font-size:13px;color:#ffda82}.primary,.secondary{min-height:44px;border:2px solid #b28c49;border-radius:12px;padding:8px 20px;cursor:pointer;font-weight:700}.primary{color:#20251d;background:linear-gradient(#ffdea0,#cba45d);box-shadow:0 0 14px #d9aa4740}.secondary{color:#f4dfad;background:#0e292eea}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffeca8;outline-offset:3px}
dialog{color:#f6e8c8;background:linear-gradient(145deg,#15383a,#081a23);border:2px solid #c2a162;border-radius:24px;width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;overflow:auto;box-shadow:0 15px 60px #000b}dialog::backdrop{background:#010d14c9;backdrop-filter:blur(5px)}dialog h2{font:700 28px Georgia;color:#f1d08c;margin:0}dialog p{font-size:14px;line-height:1.6}dialog .primary{width:100%;margin-top:12px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.dialog-heading .icon{width:36px;height:36px}.segments{display:flex;gap:6px}.segments label{flex:1;position:relative}.segments input{position:absolute;opacity:0}.segments span{display:block;text-align:center;padding:12px 4px;background:#071d23;border:2px solid #47615c;border-radius:12px;font-size:13px}.segments input:checked+span{border-color:#f2cc78;background:#4c4025}.segments input:focus-visible+span{outline:3px solid #fff}fieldset{border:0;padding:0;margin:18px 0}legend{font-weight:700;margin-bottom:8px}.settings-row{display:flex;gap:12px}.settings-row label{flex:1;font-size:13px}select,textarea{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #759089;border-radius:10px;background:#081e26;color:#fff;min-height:44px}textarea{resize:vertical}details{margin-top:18px}summary{cursor:pointer;font-size:14px;color:#f4d38d}.rules{color:#bccfc7}.error{color:#ffb6a7;margin:8px 0}.result-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.result-stats>div{padding:12px;background:#061c24;border-radius:12px;text-align:center}.result-stats b{display:block;color:#ffda85;font-size:25px}#word-results>div{padding:8px 0;border-bottom:1px solid #48615a;font-size:13px}
#hammer{position:fixed;left:0;top:0;z-index:12;width:90px;height:130px;pointer-events:none;display:none;transform:translate(-20%,-45%) rotate(25deg);transform-origin:40% 75%;filter:drop-shadow(3px 5px 4px #0008)}#hammer .handle{position:absolute;left:35px;top:36px;width:15px;height:90px;background:linear-gradient(90deg,#50321a,#ad7c46,#68431e);border-radius:8px;border:1px solid #4d2d14}#hammer .head{position:absolute;left:0;top:2px;width:84px;height:54px;border-radius:14px;background:linear-gradient(100deg,#392627 0 12%,#6b4331 12% 17%,#c18f4c 17% 80%,#6b4331 80% 86%,#392627 86%);border:2px solid #352019;display:grid;place-items:center;color:#2d251b;font-size:25px}#hammer.swing{animation:swing .2s ease-in-out}
@keyframes swing{50%{transform:translate(-20%,-30%) rotate(-35deg)}}@keyframes burst{to{opacity:0;transform:translate(-50%,-170%) scale(1.2)}}@keyframes star{to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(100deg)}}@keyframes happy{45%{transform:translateY(-8%) rotate(3deg)}}@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media(max-width:600px){.game{padding:8px;gap:6px}header{gap:6px}.brand small{display:none}h1{font-size:24px}.icon{width:40px;height:40px;border-radius:11px}.hud{gap:4px}.hud>div{min-width:58px;padding:3px 6px}.hud small{font-size:8px}.hud b{font-size:19px}.question-card{padding:8px}.question-card h2{font-size:21px}.question-card small{font-size:8px}.question-card p{font-size:10px}.field{padding:8px 10px 12px;border-width:5px;border-radius:22px;gap:8px}.answer{font-size:clamp(11px,3.5vw,16px);left:10%;right:10%;bottom:8%;min-height:24%}.hole::before{box-shadow:0 0 0 4px #765b34,0 0 0 6px #435536,0 3px 0 7px #2e301b}.key{display:none}footer{flex-wrap:wrap;padding:6px;gap:5px}#combo{flex:0 0 100%;text-align:center;font-size:11px}.primary,.secondary{flex:1;min-height:42px;padding:7px 8px;font-size:12px}}
@media(max-height:500px) and (orientation:landscape){.game{padding:4px 10px;gap:4px}header{gap:7px}h1{font-size:22px}.brand small{display:none}.hud>div{padding:1px 8px}.hud b{font-size:19px}.icon{height:36px;width:36px}.question-card{padding:3px 10px}.question-card h2{font-size:17px;margin:0}.question-card small{display:none}.question-card p{font-size:10px;min-height:12px;margin:1px 0}.field{max-width:750px;padding:3px 14px 8px;border-width:4px;gap:8px}.answer{font-size:12px;min-height:24%;padding:2px;left:20%;right:20%}footer{padding:3px 8px}.primary,.secondary{min-height:36px;padding:4px 14px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Fill the available grid row; vertical auto margins collapse a stretched board. */
.field{margin:0 auto;height:100%;background:repeating-linear-gradient(2deg,#412718 0 3px,#573721 4px 8px);}
@media(max-width:600px){h1{font-size:20px;white-space:nowrap}.brand{min-width:0}.hud>div{min-width:52px;padding:3px 4px}header{gap:4px}}
.field{background:linear-gradient(#3a25102b,#1c120d33),url('assets/forest.png') center bottom/100% 400%;}
.hole::before{height:auto;aspect-ratio:2.25}
@media(max-width:375px){h1{font-size:18px}.icon{width:34px;height:38px}.hud>div{min-width:46px;padding:3px}.hud b{font-size:17px}.hud{gap:3px}}
.field{background-size:auto,auto 400%;}
/* Keep the animal and its word plaque together at every viewport size. */
.beaver{inset:auto;bottom:0;left:50%;width:var(--sprite-size,100%);height:var(--sprite-size,100%);margin-left:calc(var(--sprite-size,100%)*-.5)}
.answer{left:10%;right:10%;bottom:8%;min-height:23%;font-size:clamp(12px,1.6vw,22px)}
.hole:nth-child(3n+2) .beaver img{transform:rotate(-2deg)}
.hole:nth-child(3n) .beaver img{transform:rotate(2deg)}
.linger-label{display:block;font-size:13px;margin-top:16px}
#hammer{width:var(--mallet-size,65px);height:calc(var(--mallet-size,65px)*1.45)}
#hammer .head{width:100%;height:42%;font-size:18px}
#hammer .handle{left:42%;top:32%;width:17%;height:65%}
@media(max-width:600px){.answer{font-size:clamp(11px,3.5vw,15px)}}
/* Place text on the plaque held by each character, above the burrow rim. */
.answer{background:none;box-shadow:none;left:18%;right:18%;bottom:24%;min-height:22%;padding:2px}
.hole[data-character="0"] .answer{bottom:18%;left:15%;right:15%;min-height:24%}
.hole[data-character="1"] .answer{bottom:26%;left:22%;right:22%;min-height:21%}
.hole[data-character="2"] .answer{bottom:24%;left:22%;right:22%;min-height:21%}
.hole:nth-child(n) .beaver img{transform:none}
.beaver{bottom:6%}
/* Blender-rendered 3D swing: frame animation, transparent background. */
#hammer{width:var(--mallet-size,100px);height:calc(var(--mallet-size,100px)*1.25);transform:translate(-50%,-25%);filter:drop-shadow(2px 4px 3px #0007)}
#hammer img{display:block;width:100%;height:100%;object-fit:contain}
.hole:disabled{opacity:1}
/* Final forest finish and accessible sound controls. */
.icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sound-settings{padding:12px 14px;background:#061e2466;border:1px solid #536950;border-radius:14px}.sound-settings label{font-size:13px}.sound-settings output{float:right;color:#f4d38a;font-variant-numeric:tabular-nums}.sound-settings input[type=range]{display:block;width:100%;margin:12px 0;accent-color:#e9c47b;min-height:28px}.check-row{display:flex;align-items:center;gap:10px}.check-row input{width:18px;height:18px;accent-color:#e9c47b}
.field{border-top-color:#ad824c;border-bottom-color:#49331e;box-shadow:0 12px 25px #0007,inset 0 0 0 2px #dec18c66,inset 0 8px 18px #120b0666}.hole::before{box-shadow:0 0 0 5px #805e32,0 0 0 8px #3e5835,0 4px 0 10px #29341f,inset 0 16px 15px #000}.field.idle .up .beaver{animation:idle-breathe 4s ease-in-out infinite}.field.idle .up:nth-child(5) .beaver{animation-delay:-1.4s}.field.idle .up:nth-child(9) .beaver{animation-delay:-2.8s}
@keyframes idle-breathe{50%{transform:translateY(-3%)}}
@media(max-width:600px){.hole::before{box-shadow:0 0 0 3px #805e32,0 0 0 5px #3e5835,0 3px 0 7px #29341f,inset 0 12px 12px #000}.sound-settings{padding:10px}}
@media(prefers-reduced-motion:reduce){.field.idle .up .beaver{animation:none}}
/* Original half-body portrait: head and hands only, contained in each hole. */
.burrow{inset:0 -2% 0;overflow:hidden;border-radius:0}
.beaver{bottom:0}
.hole[data-character] .answer{left:22%;right:22%;bottom:16%;min-height:22%;padding:1px;background:none;box-shadow:none;font-size:clamp(11px,1.45vw,20px)}
.hole.up .beaver{transform:translateY(0)}
.hole.good .beaver{animation:peek-happy .5s ease}
@keyframes peek-happy{45%{transform:translateY(-2%)}}
@media(max-width:600px){.hole[data-character] .answer{font-size:clamp(10px,3.3vw,14px)}}
.beaver{bottom:6%}
.hole[data-character] .answer{font-size:var(--label-font,12px);line-height:1.05}
@media(max-height:500px) and (orientation:landscape){.field:not(.six){grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}}
/* Small variations of the approved portrait, including its held plaque. */
.portrait{position:absolute;inset:0;transform-origin:50% 80%;perspective:500px}
.hole[data-pose="0"] .portrait{transform:perspective(500px) rotateY(-12deg) rotateZ(-2deg)}
.hole[data-pose="1"] .portrait{transform:none}
.hole[data-pose="2"] .portrait{transform:perspective(500px) rotateY(12deg) rotateZ(2deg)}
#hammer{transform:none}
#hammer[data-state="ready"]{opacity:.85}
#hammer[data-state="strike"]{opacity:1}
@media(pointer:fine){.field:not(.idle) .hole:not(:disabled){cursor:none}}
/* Head variants share the exact approved lower portrait and plaque. */
.hole[data-pose] .portrait{transform:none}
.portrait .sprite-body,.portrait .sprite-face{position:absolute;inset:0}
.portrait .sprite-body{clip-path:inset(57% 0 0)}
.portrait .sprite-face{clip-path:inset(0 0 43%)}
.variant-link{display:inline-block;margin-top:10px;color:#f4d38a;font-size:13px}

/* A calm, one-click practice menu, separate from the playing field. */
.menu-open .game{display:none}.menu-open #hammer{display:none!important}
.home{height:100dvh;display:flex;flex-direction:column;padding:22px clamp(18px,5vw,80px);background:radial-gradient(ellipse at 25% 55%,#163d2833,transparent 55%),linear-gradient(90deg,#061e21bf,#081c29b3),url('assets/forest.png') center/cover;overflow:auto}
.home[hidden]{display:none}.home-top{display:flex;align-items:center;gap:14px;flex:none}.home-top>span{flex:1;font-weight:800;font-size:13px;letter-spacing:.23em;color:#f0d08b}.home-top .icon{background:#0a252bc9}
.home-content{width:min(1080px,100%);margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;padding:24px 0}.home-intro{text-align:center}.home-tag{font-size:10px;letter-spacing:.19em;color:#c1d7bf}.home h1{font:700 clamp(48px,6.8vw,94px) Georgia;color:#f7d185;white-space:normal;margin:8px 0;text-shadow:0 4px 8px #000b}.home-intro>p{font-size:20px;line-height:1.55;margin:8px 0 14px;color:#f5e7c5}
.home-friends{display:flex;justify-content:center;align-items:end;gap:0}.home-friend{position:relative;width:230px;aspect-ratio:1;flex:0 1 230px;filter:drop-shadow(0 12px 10px #0007)}.home-friend.girl{width:210px;flex-basis:210px;transform:rotate(3deg)}.home-friend img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.home-friend .sprite-body{clip-path:inset(57% 0 0)}.home-friend .sprite-face{clip-path:inset(0 0 43%)}.home-friend>span{position:absolute;left:22%;right:22%;bottom:16%;height:22%;display:grid;place-items:center;color:#392416;font:700 21px Georgia}
.home-card{padding:32px;border:2px solid #ba975e;border-radius:26px;color:#342a1d;background:linear-gradient(135deg,#fff3d8,#ebd3a6);box-shadow:0 18px 50px #0007,inset 0 0 0 5px #fffae54d;text-align:center}.home-card-label{font-size:10px;letter-spacing:.14em;color:#6a724e}.home-card h2{font:700 29px Georgia;margin:12px 0}.home-instruction{font-size:14px;line-height:1.7;margin:0}.home-facts{display:flex;justify-content:center;gap:12px;margin:20px 0}.home-facts span{background:#fff9e47a;border:1px solid #b7a779;border-radius:20px;padding:6px 15px;font-size:13px;color:#516047}.pace-label{font-size:13px;font-weight:700;margin:0 0 9px}.home-pace{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-pace button{min-height:74px;border:1px solid #bdac80;border-radius:13px;background:#fff9e670;color:#55472f;font-size:12px;cursor:pointer}.home-pace button>span{display:block;font-size:25px;margin-bottom:4px}.home-pace button[aria-pressed=true]{background:#164b3a;color:#fff2cc;border:2px solid #bf963d;box-shadow:0 3px 0 #12362b}.home-pace button:hover{border-color:#98743c}.home #home-play{display:flex;align-items:center;justify-content:center;gap:24px;width:100%;min-height:58px;margin-top:22px;font-size:21px;background:linear-gradient(#236549,#14422f);color:#fff3d3;border-color:#ddba6e;box-shadow:0 5px 0 #0b2e23,0 7px 14px #28482733}.home #home-play:hover{background:#287656}.home-reassurance{font-size:11px;line-height:1.5;color:#67724f;margin:15px 0 8px}.home-settings{font-size:12px;min-height:40px;padding:8px 14px;border:0;background:transparent;color:#536247;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.home-bottom{text-align:center;font-size:11px;line-height:1.5;color:#c5d1bf;margin:8px 0 0;flex:none}
@media(max-width:900px){.home-content{gap:20px}.home-card{padding:24px}.home-intro>p{font-size:17px}.home-friend{flex-basis:180px}.home-friend.girl{flex-basis:165px}.home-friend>span{font-size:17px}.home-card h2{font-size:25px}.home-instruction{font-size:12px}}
@media(max-width:600px){.home{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.home-top{gap:10px}.home-top>span{font-size:10px}.home-top .icon{width:36px;height:36px}.home-content{grid-template-columns:1fr;gap:6px;padding:12px 0;max-width:430px}.home-tag{font-size:8px}.home h1{font-size:43px;margin:4px 0}.home-intro>p{display:none}.home-friends{height:134px;margin-top:0}.home-friend{height:142px;width:142px;flex:0 0 142px}.home-friend.girl{height:130px;flex-basis:130px}.home-friend>span{font-size:14px}.home-card{padding:18px;border-radius:20px}.home-card-label{font-size:8px}.home-card h2{font-size:24px;margin:8px 0}.home-instruction{font-size:12px;line-height:1.6}.home-facts{margin:12px 0;gap:8px}.home-facts span{font-size:11px;padding:4px 12px}.home-pace{gap:6px}.home-pace button{min-height:58px;font-size:11px}.home-pace button>span{font-size:21px;margin-bottom:2px}.home #home-play{min-height:52px;margin-top:14px;font-size:19px}.home-reassurance{font-size:10px;margin:12px 0 0}.home-settings{min-height:36px;font-size:11px}.home-bottom{font-size:9px;max-width:300px;align-self:center}}
@media(max-width:600px) and (max-height:700px){.home-content{padding:6px 0;gap:3px}.home-tag{display:none}.home h1{font-size:36px;margin:0}.home-friends{height:100px}.home-friend{height:110px;width:110px;flex-basis:110px}.home-friend.girl{height:102px;flex-basis:102px}.home-friend>span{font-size:11px}.home-card{padding:12px 16px}.home-card-label{display:none}.home-card h2{font-size:22px;margin:4px 0 6px}.home-facts{margin:8px 0}.home-pace button{min-height:52px}.home #home-play{margin-top:10px;min-height:48px}.home-reassurance{margin-top:9px}.home-bottom{margin-top:3px}}
@media(max-height:500px) and (orientation:landscape){.home{padding:8px 20px}.home-top .icon{height:30px;width:30px}.home-top>span{font-size:10px}.home-content{grid-template-columns:.85fr 1.15fr;gap:20px;padding:6px 0;max-width:850px}.home-tag,.home-intro>p,.home-card-label{display:none}.home h1{font-size:44px;margin:0}.home-friends{height:156px}.home-friend{height:158px;width:158px;flex:0 1 158px}.home-friend.girl{height:145px;flex-basis:145px}.home-friend>span{font-size:14px}.home-card{padding:10px 18px;border-radius:18px}.home-card h2{font-size:21px;margin:0 0 4px}.home-instruction{font-size:10px;line-height:1.4}.home-facts{margin:6px 0}.home-facts span{padding:2px 10px;font-size:10px}.pace-label{font-size:10px;margin:0 0 4px}.home-pace button{min-height:38px;font-size:10px}.home-pace button>span{display:inline;font-size:15px;margin-right:5px}.home #home-play{min-height:40px;margin-top:8px;font-size:17px}.home-reassurance{font-size:9px;margin:8px 0 0}.home-settings{min-height:28px;font-size:10px;padding:4px 10px}.home-bottom{font-size:9px;margin:2px 0 0;max-width:none}}

@media (orientation:landscape){
 #setup{width:calc(100vw - 16px);max-width:1000px;max-height:calc(100dvh - 16px);padding:8px;overflow:visible}
 #setup-form{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px 10px}
 #setup-form>.dialog-heading,#setup-form>p,#setup-form>button[type=submit]{grid-column:1/-1;margin:0}
 #setup-form>.dialog-heading h2{font-size:20px;margin:0}
 #setup-form>p{font-size:10px;line-height:1.25}
 #setup-form>fieldset:not(.sound-settings){grid-column:1;grid-row:3}
 #setup-form>.settings-row{grid-column:2;grid-row:3}
 #setup-form>.linger-label{grid-column:3;grid-row:3}
 #setup-form>.sound-settings{grid-column:1;grid-row:4}
 #setup-form>details{grid-column:2/4;grid-row:4}
 #setup-form fieldset,#setup-form label{margin:0;padding:4px;font-size:11px;gap:3px;min-width:0}
 #setup-form legend,#setup-form summary{font-size:12px;margin:0}
 #setup-form select{min-height:28px;padding:3px;font-size:11px}
 #setup-form .segments label span{padding:5px;font-size:11px;min-height:28px}
 #setup-form .settings-row{gap:6px}
 #setup-form textarea{width:100%;height:65px;min-height:0;font-size:12px;padding:4px}
 #setup-form details p{font-size:10px;line-height:1.25;margin:2px 0}
 #setup-form>.primary{min-height:32px;padding:4px;font-size:14px}
}
@media (orientation:landscape){
 #setup{padding:4px}#setup-form{gap:3px 8px}
 #setup-form .dialog-heading .icon{width:30px;height:30px;min-height:30px;padding:2px}
}

.game header{padding-right:56px}.home-top{padding-right:56px}.field:not(.six){grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding-right:clamp(75px,12vw,160px)}.field:not(.six) .hole{grid-column:span 2}.field:not(.six) .hole:nth-child(6){grid-column:2/span 2}.field.six{padding-right:clamp(75px,12vw,160px)}#hammer{pointer-events:none}.homework-game .game header>a,.homework-game #menu,.homework-game #pause-menu,.homework-game .home-top>a{display:none!important}

#live-pace27 button{flex:1;min-height:44px;padding:8px;border:1px solid #aa8a50;border-radius:10px;background:#15343a;color:#f8e8c0}#live-pace27 button[aria-pressed=true]{background:#e7bd6d;color:#18302b}#pace-panel27{width:min(480px,calc(100vw - 32px))}#pace-settings27{flex:none}
