.clover-page{width:calc(100% - 64px);max-width:1600px;margin:32px auto;color:#284637;font-family:'Trebuchet MS','Malgun Gothic',sans-serif}.clover-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:#59806a}.clover-heading h1{font-size:clamp(25px,3vw,40px);font-weight:900;letter-spacing:-1.5px;margin:5px 0}.clover-heading h1 span{font-size:13px;letter-spacing:1px;background:#e6edcf;border:1px solid #cbd9ae;border-radius:20px;padding:5px 10px;vertical-align:middle}.clover-heading p:last-child{font-size:14px;color:#758675}.record{font-size:11px;text-align:right;color:#69816c}.record b{display:block;font-size:15px;margin-top:5px}.forest-shell{border:1px solid #bccdb1;border-radius:24px;overflow:hidden;background:#f7f8eb;box-shadow:0 12px 40px #29482b12}.forest-toolbar{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;gap:8px}.forest-tag{font-size:12px;font-weight:900;letter-spacing:.13em}.forest-toolbar button{border:1px solid #ced8bf;border-radius:9px;padding:7px 12px;font-size:12px;margin-left:7px;background:#fffdf3;color:#34523b;cursor:pointer}.forest-toolbar button:disabled{opacity:.4;cursor:default}.arena{position:relative;height:clamp(470px,68vh,820px);overflow:hidden;background:#dbe8bb;touch-action:none}.arena canvas{display:block;width:100%;height:100%;outline-offset:-4px}.hud{position:absolute;top:23px;left:24px;right:24px;display:flex;justify-content:space-between;pointer-events:none;gap:15px;font-size:12px}.hud>div:first-child{width:150px}.hud span{display:block;font-size:11px;font-weight:bold}.hud b{display:block;font-size:15px}.meter{background:#fff9;border:2px solid #fff9;border-radius:20px;height:10px;margin-top:5px;overflow:hidden}.meter i{display:block;width:100%;height:100%;background:#f4878f;border-radius:20px}.time{text-align:center}.time b{font-size:29px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:1px}.time span{margin-top:8px}.hud-right{text-align:right;width:150px}.xp-track{position:absolute;top:0;left:0;right:0;background:#6b955530;height:6px}.xp-track i{display:block;background:#7dabbc;height:100%;width:0}.forest-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#dfe9c359;backdrop-filter:blur(3px);padding:18px;overflow:auto}.forest-overlay[hidden]{display:none}.panel{background:#fffcf0;border:1px solid #fff;border-radius:25px;padding:30px 40px;text-align:center;box-shadow:0 14px 0 -7px #93a77333,0 25px 65px #46633420;max-width:620px;width:100%;max-height:100%;overflow:auto}.intro{max-width:420px}.intro-art{font-size:58px;line-height:1.2;margin-bottom:18px}.intro-art span{font-size:25px;color:#d9af4c;margin:0 10px}.panel h2{font-size:32px;font-weight:900;letter-spacing:-1.4px;line-height:1.25;margin:10px 0 16px}.panel p{font-size:14px;line-height:1.8;color:#73816b}.primary{display:block;width:100%;background:#365d46;color:#fff9e8;border:0;border-radius:13px;padding:15px;font-weight:bold;font-size:16px;cursor:pointer;margin-top:22px;box-shadow:0 4px 0 #213e2d}.primary:hover{background:#467455}.primary span{float:right}.panel small{display:block;font-size:11px;color:#89927c;margin-top:16px}.arena-caption{position:absolute;bottom:20px;left:0;right:0;text-align:center;font-size:11px;color:#547047;pointer-events:none}.loadout{min-height:55px;padding:13px 22px;display:flex;align-items:center;gap:16px;font-size:12px;flex-wrap:wrap}.loadout>span:first-child{color:#809078}.auto-label{margin-left:auto;color:#648351;font-size:11px}.forest-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:30px 6px}.forest-guide article>span{color:#91a278;letter-spacing:2px;font-size:10px;font-weight:bold}.forest-guide h2{font-size:18px;font-weight:800;margin:6px 0}.forest-guide p{font-size:13px;line-height:1.8;color:#7d8877;max-width:370px}.forest-note{font-size:11px;color:#87917c;text-align:center}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.choice{background:#f0f3df;border:1px solid #d6dfbb;border-radius:15px;padding:20px 10px;cursor:pointer;color:#34513b;text-align:left}.choice:hover{background:#e3edcc;border-color:#78966a;transform:translateY(-2px)}.choice strong,.choice small,.choice span{display:block}.choice span{font-size:29px;margin-bottom:12px}.choice strong{font-size:15px}.choice small{font-size:12px;line-height:1.6;color:#728065;margin-top:8px}.joystick{position:absolute;width:100px;height:100px;border:2px solid #fff9;background:#fff3;border-radius:50%;pointer-events:none}.joystick i{position:absolute;left:31px;top:31px;width:34px;height:34px;border-radius:50%;background:#fff9;border:1px solid #729264}.forest-shell:fullscreen{width:100%;height:100%;border:0;border-radius:0;display:flex;flex-direction:column}.forest-shell:fullscreen .arena{flex:1;height:auto}.forest-shell:fullscreen .loadout{padding-bottom:max(13px,env(safe-area-inset-bottom))}button:focus-visible{outline:3px solid #e4ad42;outline-offset:3px}@media(min-width:1500px){body:has(.clover-page) .mega-nav-shell{max-width:1600px}}@media(max-width:640px){.clover-page{width:calc(100% - 20px);margin:18px auto}.clover-heading{align-items:flex-start;margin:0 5px 16px}.clover-heading h1{font-size:25px}.clover-heading h1 span{display:none}.clover-heading p:last-child{font-size:12px}.record{font-size:10px;max-width:92px}.record b{font-size:11px}.eyebrow{font-size:9px;letter-spacing:.1em}.forest-toolbar{padding:0 10px;height:47px}.forest-tag{font-size:9px;letter-spacing:.05em}.forest-toolbar button{font-size:10px;padding:7px;margin-left:4px;min-height:32px}.forest-shell{border-radius:17px}.arena{height:clamp(450px,68svh,720px)}.hud{left:13px;right:13px;top:19px}.hud>div:first-child,.hud-right{width:95px}.hud b{font-size:12px}.time b{font-size:25px}.panel{padding:22px 20px}.panel h2{font-size:28px}.intro-art{font-size:47px;margin-bottom:12px}.choices{grid-template-columns:1fr;gap:8px}.choice{padding:12px 15px;display:grid;grid-template-columns:36px 1fr;column-gap:10px}.choice span{grid-row:span 2;margin:0}.choice small{margin-top:3px}.loadout{padding:12px;font-size:10px;gap:8px}.forest-guide{grid-template-columns:1fr;gap:20px;padding:25px 8px}.forest-guide p{max-width:none}.arena-caption{font-size:10px}}@media(max-height:520px){.forest-shell:fullscreen .panel{padding:15px 25px}.forest-shell:fullscreen .intro-art{display:none}.forest-shell:fullscreen .choices{grid-template-columns:repeat(3,1fr)}.forest-shell:fullscreen .choice{display:block}.forest-shell:fullscreen .panel h2{font-size:22px}}
body:has(.clover-page){background:#f4f5eb}body:has(.clover-page) .mega-menu{flex-shrink:0}body:has(.clover-page) .mega-menu summary{white-space:nowrap}@media(max-width:640px){body:has(.clover-page) .current-page-label{display:none}body:has(.clover-page) #theme-select{margin-left:auto}body:has(.clover-page) .mega-nav-shell{max-width:100%}}
/* The arena reads as an arcade cabinet, with warm highlights against forest ink. */
.forest-shell{border:2px solid #315f4a;box-shadow:0 12px 0 -5px #d3dcc2,0 22px 60px #274c3926}.forest-toolbar{background:#244b3d;color:#f4efcd}.forest-toolbar button{background:#355f4d;border-color:#59846a;color:#fffae6}.forest-tag{color:#d6e69b}.forest-toolbar button:hover{background:#4b775d}.forest-overlay{background:#294d3430;backdrop-filter:blur(2px)}.intro{background:#fff9df;border:2px solid #fff7c2;max-width:470px;box-shadow:0 10px 0 #40664522,0 25px 80px #254b3740}.intro h2{font-size:clamp(32px,4vw,48px);letter-spacing:-2px}.intro .primary{background:#ef9860;color:#342f24;box-shadow:0 4px 0 #b9653e;font-size:18px}.intro .primary:hover{background:#ffaf75}.intro-pills{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:23px}.intro-pills span{font-size:10px;background:#ebeed6;padding:6px 9px;border-radius:30px;font-weight:bold}.combat-score{position:absolute;left:25px;top:91px;pointer-events:none;display:flex;flex-direction:column;color:#31523b}.combat-score span{font-size:8px;font-weight:900;letter-spacing:2px}.combat-score b{font-size:24px;font-weight:900;font-variant-numeric:tabular-nums}.combat-score strong{font-size:13px;color:#aa572c;min-height:20px}.dash-button{position:absolute;right:22px;bottom:23px;width:91px;height:64px;border:2px solid #fff2bd;background:#355f45;color:#fff7d3;border-radius:20px;box-shadow:0 5px 0 #23412f;font-size:15px;font-weight:900;cursor:pointer;touch-action:manipulation}.dash-button:disabled{background:#6d8165;color:#e3e8d5;box-shadow:none;opacity:.7}.loadout{background:#fff9e5}.clover-meta{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:32px}.clover-meta article{padding:27px;background:#fffdf0;border:1px solid #d6dfc5;border-radius:20px;min-width:0}.clover-meta h2{font-size:22px;font-weight:900;margin:7px 0 16px}.arsenal-list{display:grid;grid-template-columns:1fr 1fr;gap:15px}.arsenal-list b,.arsenal-list span{display:block}.arsenal-list b{font-size:14px}.arsenal-list span{font-size:11px;color:#7c876e;margin-top:4px}.evolution-tip{padding:12px;background:#f1edcf;border-radius:10px;margin-top:19px;font-size:12px}.rank-card>p:not(.eyebrow){font-size:11px;color:#788369}.rank-card h2{display:flex;justify-content:space-between;align-items:center;gap:10px}.rank-card h2 button{font-size:11px;font-weight:normal;background:#e8eed9;padding:8px 10px;border-radius:8px;cursor:pointer}.rank-card #leaderboard{margin-top:17px;font-size:13px}.rank-card table{width:100%}.score-submit{border-top:1px solid #d9dec6;margin-top:24px;padding-top:16px;text-align:left}.score-submit>strong{font-size:14px}.score-submit label{display:block;font-size:11px;margin:12px 0 6px}.score-submit>div{display:flex;gap:8px}.score-submit input{min-width:0;width:100%;border:1px solid #bcc8a8;border-radius:10px;padding:10px;background:#fffef5}.score-submit .primary{margin:0;width:auto;white-space:nowrap;font-size:12px;padding:10px}.score-submit p{font-size:11px;margin-top:9px}.score-submit button:disabled{opacity:.6}@media(max-width:640px){.forest-toolbar{height:auto;min-height:49px;flex-wrap:wrap;padding:9px 10px;gap:8px}.forest-toolbar>div{display:flex;flex-wrap:wrap;gap:4px}.forest-toolbar button{margin:0}.combat-score{left:14px;top:82px}.combat-score b{font-size:20px}.dash-button{right:15px;bottom:30px;width:76px;height:58px;font-size:13px}.arena-caption{bottom:10px}.intro{padding:22px}.intro h2{font-size:34px}.intro-art{font-size:42px;margin-bottom:9px}.clover-meta{grid-template-columns:1fr;gap:15px;margin-top:23px}.clover-meta article{padding:20px}.clover-meta h2{font-size:20px}.arsenal-list{gap:14px}.hud{top:18px}}
.starter-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:20px}.starter-choices button{border:1px solid #d1dabb;background:#f0f2df;color:#466047;border-radius:11px;padding:10px 6px;cursor:pointer}.starter-choices button[aria-pressed="true"]{background:#355d46;color:#fff9d9;border-color:#355d46;box-shadow:0 3px 0 #203e2c}.starter-choices b,.starter-choices small{display:block}.starter-choices b{font-size:11px}.starter-choices small{font-size:9px;margin-top:4px;color:inherit}.intro{max-width:520px}.intro-art{margin-bottom:8px;font-size:46px}.intro h2{margin:8px 0 12px}.intro-pills{margin-top:15px}.intro .primary{margin-top:16px}@media(max-width:640px){.intro{padding:18px 15px}.intro h2{font-size:31px}.intro-art{font-size:36px}.intro .eyebrow{font-size:9px}.intro p{font-size:12px}.starter-choices{margin-top:13px}.starter-choices b{font-size:10px}.intro small{font-size:9px}}

.forest-toolbar{height:auto;min-height:54px;padding-block:9px;flex-wrap:wrap}.forest-toolbar>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.forest-toolbar button{margin-left:0}@media(max-width:600px){.forest-toolbar{padding-inline:10px}.forest-toolbar .forest-tag{font-size:10px}.forest-toolbar button{font-size:10px;padding:6px 7px}}
/* Restrict selection prevention to gameplay; keep nickname editing available. */
.forest-shell,.forest-shell *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.forest-shell input,.forest-shell textarea{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.forest-shell button{touch-action:manipulation}
.forest-overlay,.forest-overlay .panel{touch-action:pan-y}
