.eight-page{color:#2c493f;background:#f5f5ec;min-height:100vh;padding:22px 20px 55px}.eight-header{justify-content:space-between;align-items:center;gap:20px;max-width:1040px;margin:auto;display:flex}.eight-header img{width:105px}.eight-header a{color:#2c493f;font-weight:750}.eight-heading{text-align:center;max-width:950px;margin:30px auto}.eight-heading h1{margin:12px 0;font-size:clamp(38px,6vw,64px);line-height:1.1}.eight-heading>p:last-child{font-size:20px}.eight-shell{text-align:center;background:#fffefa;border:1px solid #dce2d3;border-radius:30px;max-width:960px;margin:auto;padding:28px;box-shadow:0 18px 50px #304b3510}.eight-toolbar{border-bottom:1px solid #dce5d7;justify-content:space-between;align-items:center;gap:12px;padding-bottom:18px;font-size:14px;display:flex}.eight-toolbar>div{gap:8px;display:flex}.eight-page button{color:#2c493f;min-height:48px;font:inherit;cursor:pointer;background:#fff;border:1px solid #b9ccbf;border-radius:14px;padding:11px 18px;font-weight:750}.eight-page button:disabled{opacity:.6;cursor:default}.eight-page button:focus-visible,.eight-page a:focus-visible{outline-offset:4px;outline:3px solid #28689b}.eight-page .eight-pink{color:#fff;background:#b72c68;border-color:#b72c68;border-radius:40px;min-width:220px;padding:15px 25px}.eight-welcome{max-width:700px;margin:auto}.eight-welcome-art{color:#367967;width:260px;margin:10px auto;font-family:Georgia,serif;font-size:180px;line-height:1.2;position:relative}.eight-welcome-art span{color:#947326;background:#fff9e2;border-radius:50%;width:45px;font-size:40px;line-height:1;position:absolute;top:85px;left:118px}.eight-welcome h2{font-size:clamp(26px,4vw,35px);line-height:1.3}.eight-welcome>p{line-height:1.7}.eight-play-choices{grid-template-columns:1fr 1fr;gap:14px;margin:22px 0;display:grid}.eight-play-choices p{background:#edf4e9;border:1px solid #d5e1cf;border-radius:18px;padding:18px;line-height:1.65}.eight-play-choices strong,.eight-play-choices span{display:block}.eight-welcome>.eight-pink{margin:14px auto}.eight-stops{justify-content:center;gap:12px;margin:25px auto;display:flex}.eight-stops>span{background:#f0f5eb;border:2px solid #d4e0d1;border-radius:15px;flex-direction:column;align-items:center;min-width:48px;padding:6px 12px;display:flex}.eight-stops b{font-size:25px}.eight-stops small{font-size:12px;font-weight:800}.eight-stops .current{background:#fce8f0;border-color:#a42e61}.eight-stops .visited{background:#e4f0e5;border-color:#4f8371}.eight-title{margin:8px 0;font-size:clamp(28px,4.5vw,40px)}.eight-instruction{max-width:750px;margin:14px auto 22px;font-size:18px;line-height:1.65}.eight-board{border:2px solid #d1dfcb;border-radius:24px;max-width:850px;margin:auto;overflow:hidden}.eight-board svg{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;width:100%;height:auto;display:block}.eight-tools{flex-wrap:wrap;justify-content:center;gap:10px;margin:20px auto;display:flex}.eight-colours{border:0;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px auto;padding:0;display:flex}.eight-colours legend{margin-bottom:12px;font-size:14px;font-weight:800}.eight-colours button{align-items:center;gap:8px;font-size:14px;display:flex}.eight-colours span{border-radius:50%;width:18px;height:18px}.eight-colours [aria-pressed=true]{background:#e9f1e5;border:2px solid #294f45}.eight-demo-note{max-width:700px;margin:16px auto;font-size:14px;line-height:1.6}.eight-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin:24px auto 0;display:flex}.eight-page .eight-restart{background:0 0;border:0;margin-top:16px;font-size:14px;text-decoration:underline}.eight-rest{background:#eef4e9;border-radius:22px;padding:35px 20px}.eight-rest>span{font-size:90px}.eight-rest h3{font-size:27px}.eight-finish{padding:35px 0}.eight-finish>span{font-size:85px}.eight-finish h2{font-size:clamp(28px,5vw,42px)}.eight-finish p{line-height:1.7}.eight-finish button,.eight-finish a{margin:22px auto;display:block}.eight-page>.game-problem-link{text-align:center;margin:24px auto;display:block}.eight-guide{background:#e7efdf;border-radius:22px;max-width:960px;margin:28px auto 0;padding:24px;line-height:1.7}.eight-guide h2,.eight-guide h3{margin-top:5px}.eight-audio{font-size:14px}@media (width<=600px){.eight-page{padding:16px 12px 35px}.eight-header img{width:80px}.eight-header a{font-size:14px}.eight-shell{border-radius:22px;padding:20px 12px}.eight-toolbar{flex-direction:column;align-items:flex-start}.eight-play-choices{grid-template-columns:1fr;gap:0}.eight-stops{gap:5px}.eight-stops>span{min-width:34px;padding:5px 8px}.eight-stops b{font-size:22px}.eight-actions{flex-direction:column}.eight-guide{padding:20px}.eight-heading{margin:25px auto}.eight-instruction{font-size:16px}.eight-tools button{padding:10px 13px;font-size:14px}}
