/* Play for Connection · The Enchanted Forest v4.0 · independent animated storybook game */
.pfc-forest-page{color:#fff;background:radial-gradient(ellipse at 75% 0%,#313a70,#0a193e 52%,#091b31);padding:38px 0 78px}
.pfc-forest-shell{max-width:1230px;margin:0 auto}
.pfc-forest-intro{max-width:900px;margin:0 0 24px}
.pfc-forest-back{display:inline-block;color:#d5edfc!important;text-decoration:underline!important;text-underline-offset:5px;font-weight:800;margin-bottom:24px}
.pfc-forest-tag{display:block;font-size:11px;letter-spacing:.17em;color:#ffe4a0;font-weight:900}
.pfc-forest-intro h1{color:#fff!important;line-height:1.03;letter-spacing:-.055em;font-size:clamp(40px,6.6vw,78px);margin:9px 0 15px;font-weight:950}
.pfc-forest-intro h1 em{color:#ffda8a;font-style:normal;text-shadow:0 0 35px #ffb95744}
.pfc-forest-intro p{font-size:clamp(15px,1.5vw,19px);color:#e4ebff;max-width:790px;line-height:1.6;margin:0 0 12px}
.pfc-forest-intro small{font-size:12px;color:#a7d5d4;font-weight:850;letter-spacing:.05em}
.pfc-forest-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:17px 0 21px}
.pfc-forest-toolbar button{padding:12px 18px;min-height:47px;background:#213c57;color:#fff;border:1px solid #728ea5;border-radius:12px;font:800 14px/1.2 system-ui,sans-serif;cursor:pointer}
.pfc-forest-toolbar button[data-forest-start]{background:linear-gradient(130deg,#ffe9ac,#ffc36c);color:#182541;border-color:#ffe4a3}
.pfc-forest-toolbar button:disabled{opacity:.48;cursor:not-allowed}
.pfc-forest-toolbar button:hover:not(:disabled){filter:brightness(1.12)}
.pfc-forest-toolbar button:focus-visible,.pfc-forest-controls button:focus-visible,.pfc-forest-back:focus-visible{outline:3px solid #fff1ad;outline-offset:3px}
.pfc-forest-game{border:1px solid #537c99;border-radius:20px;overflow:hidden;background:#17253d;box-shadow:0 28px 65px #02081980}
.pfc-forest-hud{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;background:linear-gradient(100deg,#1c3051,#1e4453);font:800 14px/1.3 system-ui,sans-serif;color:#f0faff}
.pfc-forest-hud b{font-size:19px}.pfc-forest-lights{color:#fff5c6}
.pfc-forest-game canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;touch-action:pan-y}
.pfc-forest-game canvas:focus-visible{outline:3px solid #ffe0a0;outline-offset:-3px}
.pfc-forest-status{color:#fbf6dc;background:#1b3148;margin:0;padding:13px 17px;line-height:1.45;text-align:center;min-height:53px;font:750 15px/1.5 system-ui,sans-serif}
.pfc-forest-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}
.pfc-forest-controller{background:#142946;border:1px solid #4d7986;border-radius:17px;padding:18px}
.pfc-forest-controller.gold{border-color:#a98a57;background:#302c47}
.pfc-forest-controller h2{color:#f3fbff!important;margin:0 0 13px;font-size:15px;font-weight:850}
.pfc-forest-controller>div{display:flex;gap:10px;flex-wrap:wrap}
.pfc-forest-controller button{touch-action:none;user-select:none;border:1px solid #668da4;background:#31586b;color:#fff;border-radius:11px;min-width:58px;min-height:52px;font:850 18px/1.2 system-ui,sans-serif;cursor:pointer;padding:11px 16px}
.pfc-forest-controller.gold button{background:#574667;border-color:#b5986c}
.pfc-forest-controller button[aria-pressed=true]{transform:translateY(2px);background:#456b93;box-shadow:inset 0 2px 3px #162033}
.pfc-forest-guidance{background:#152947;margin-top:19px;border:1px solid #ffffff2a;border-radius:17px;padding:23px}
.pfc-forest-guidance h2{font:900 21px/1.2 system-ui,sans-serif!important;color:#ffe2a5!important;margin:0 0 8px}
.pfc-forest-guidance p{color:#e5edfc;font-size:15px;line-height:1.6;margin:0 0 8px}
.pfc-forest-guidance .pfc-forest-facts{font-size:12px;color:#bac9e2;margin-top:10px}
@media(max-width:750px){.pfc-forest-page{padding:25px 0 46px}.pfc-forest-controls{grid-template-columns:1fr}.pfc-forest-game{border-radius:12px}.pfc-forest-intro h1{font-size:40px}.pfc-forest-toolbar{gap:6px}.pfc-forest-toolbar button{font-size:12px;padding:10px 12px;min-height:41px}.pfc-forest-status{font-size:12px}.pfc-forest-hud{padding:9px;font-size:11px}}

/* v4.5: richer but still readable game frame; no additional asset downloads. */
.pfc-forest-game{border:1px solid #8bada4;box-shadow:0 24px 70px #02081995,0 0 40px #8cd9b314}
.pfc-forest-game canvas{background:linear-gradient(#16264c,#688c8a)}
.pfc-forest-toolbar button{transition:filter .16s ease,transform .16s ease}
@media(prefers-reduced-motion:reduce){.pfc-forest-toolbar button{transition:none}}
