/* T062 host adapter: only forest. A066 owns skins, host owns real IDs/state. */
#view-game.forest-v09{width:100%;max-width:none;height:var(--forest-height,100svh);min-height:100svh;margin:0;padding:0;position:relative;overflow:hidden;background:#174448 url('forest-ui/forest.webp') center bottom/cover no-repeat;container-type:normal}
#view-game .forest-ui-safe{left:50%;right:auto;top:var(--safe-top,0px);bottom:var(--safe-bottom,0px);width:min(100%,520px);transform:translateX(-50%);inset-inline-start:50%;pointer-events:none}
#view-game .forest-play-slot{position:absolute;left:0;right:0;top:var(--board-top,180px);height:var(--board-height,472px);display:flex;justify-content:center;align-items:start;pointer-events:none;z-index:2}
#view-game .game-stage{position:relative;inset:auto;left:auto;top:auto;right:auto;width:var(--board-width,354px);height:var(--board-height,472px);aspect-ratio:3/4;border:0;border-radius:0;background:transparent;overflow:visible;pointer-events:auto;line-height:0}
#view-game .game-stage #game{position:relative;z-index:2;display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}
#view-game canvas.forest-frame{position:absolute;left:-5.7142857%;top:-2.1428571%;width:111.4285714%;height:114.6428571%;pointer-events:none}#forest-frame-back{z-index:1}#forest-frame-front{z-index:3}
#view-game .a066-hud{inset:auto;position:absolute;left:18px;right:18px;top:92px;bottom:auto;height:82px;display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:12px;padding:0;margin:0}
#view-game .a066-hud>.a066-harvest{position:relative;inset:auto;width:auto;height:77px;text-align:center;padding:5px 11px 4px}
#view-game #score.a066-number{display:block;line-height:1.08;font-size:36px;max-width:100%;letter-spacing:-.025em;color:#a4412c;white-space:nowrap}#view-game #score>span{display:none}
#view-game .forest-best{font-size:9px;line-height:12px;color:#775d3a;white-space:nowrap;margin-top:1px}#view-game .forest-best b{font-size:inherit;font-weight:700;color:inherit}
#view-game .a066-next{position:relative;inset:auto;margin:0;width:82px;height:78px;text-align:center}#view-game .a066-next-slot{position:relative;display:block;width:64px;height:53px;overflow:hidden}#view-game #next-image{position:absolute;max-width:none;display:block;object-fit:fill}
#view-game .a066-tools>.actions{position:static;inset:auto;display:flex;width:auto;height:auto;gap:0;pointer-events:auto}#view-game .a066-tool{width:44px;height:44px;min-height:44px;border:0;background:none!important;padding:0;line-height:1;color:#fff0c6;pointer-events:auto;font-size:16px;display:grid;place-items:center;text-shadow:none}#view-game .a066-tool span{display:grid;place-items:center;width:30px;height:30px;font-size:16px}
#view-game .forest-footer-host{position:absolute;inset:0;pointer-events:none}#view-game .a066-footer{left:10px;right:10px;bottom:10px;height:105px;background:none;border:0;padding:0;pointer-events:none}#view-game .forest-pocket-row{display:contents}#view-game .a066-footer button{pointer-events:auto}
#view-game .forest-avatar{display:block;width:56px;height:58px}#view-game .forest-avatar .a066-sprite,#view-game .forest-avatar .md-sprite{display:block;width:56px;height:58px}#view-game .a066-select .a066-sprite{filter:drop-shadow(0 2px 1px #29382d77)}
#view-game .a066-help{width:44px;height:44px;right:-13.5px;top:-5.5px;background:radial-gradient(circle at center,#eeddac 0 10px,#705638 10px 11px,transparent 11px);border:0;border-radius:50%;font-size:12px}#view-game .a066-help:before{content:none}
#view-game .a066-nav>span:last-child:not(.a066-nav-face){font-size:9px;line-height:12px;white-space:nowrap;text-shadow:0 1px #345037}#view-game .a066-skill:has(.a066-select[aria-pressed=true]) .a066-seat{box-shadow:0 0 9px #f2dea080,0 3px #73512f66}
#view-game .candidate-row{position:absolute;bottom:124px;left:12px;right:12px;display:flex;justify-content:center;gap:6px;min-height:0;pointer-events:auto;z-index:20}#view-game .candidate-row button{min-height:44px;border:1px solid #c5b17e;background:#214d3eea;color:#ffefd2;border-radius:12px;font-size:12px;padding:7px 10px}#view-game #skill-help{position:absolute;bottom:119px;left:16px;right:16px;min-height:0;margin:0;font-size:10px;line-height:1.4;text-align:center;color:#e8e4be;text-shadow:0 1px 3px #183f32;pointer-events:none}body.skill-selecting #view-game #skill-help{bottom:174px;padding:5px 9px;background:#163b36dd;border-radius:10px}#view-game .candidate-caption{display:none}
#view-game .overlay{inset:0;z-index:15;line-height:1.6;background:#123c38bd;border-radius:15px}#view-game .dialog{padding:20px 16px;max-height:100%;overflow:auto}#view-game .dialog h2{font-size:24px}#view-game .dialog p{font-size:12px}#view-game .dialog button{min-height:44px}
#view-game .toast{z-index:7;line-height:1.4}#view-game .skill-targets{z-index:6}#view-game .skill-links{z-index:5}
#view-game .lab-badge{left:15%;right:15%;top:calc(var(--board-top) - 18px);z-index:15}.technical-qa.in-lab #view-game.forest-v09{width:100%;height:var(--forest-height,100svh);margin:0 0 230px}.technical-qa.in-lab #view-game .lab-controls{position:absolute;top:100%;left:10px;right:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:10px 0;background:#173e36;z-index:5}.technical-qa.in-lab #view-game .lab-controls button{min-height:44px;font-size:11px}
#view-game .a066-compact .a066-hud{left:17px;right:17px;top:76px;height:72px;gap:10px;grid-template-columns:minmax(0,1fr) 76px}#view-game .a066-compact .a066-harvest{height:70px;padding-top:4px}#view-game .a066-compact .a066-next{width:76px;height:72px}#view-game .a066-compact .a066-next-slot{width:60px;height:48px}#view-game .a066-compact .a066-footer{height:99px;bottom:6px}#view-game .a066-compact #skill-help{bottom:109px}.a066-compact .forest-best{font-size:8px!important;line-height:10px!important}

#view-game.forest-v09{--env-top:env(safe-area-inset-top,0px);--env-bottom:env(safe-area-inset-bottom,0px)}

#view-game .a066-hud>.a066-harvest{height:82px}#view-game .forest-best{line-height:10px;margin-top:0}#view-game .a066-compact .a066-hud>.a066-harvest{height:72px}#view-game .a066-compact .forest-best{line-height:8px!important}
