*{box-sizing:border-box}html{font-family:Arial,sans-serif;font-synthesis:none}body.bv-game{margin:0;background:#172e33;color:#fff;--game-glass:#102630ed;--game-edge:#b5d4d54a;--game-text:#fff;--game-muted:#cfe2e2;--game-accent:#f7dc8a;--turn-color:#fff080;--header:106px;min-height:100svh}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:#f7dc8a}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f7dc8a;outline-offset:4px}[hidden]{display:none!important}.bv-game .world-background{position:fixed;inset:0;background:linear-gradient(90deg,#0718220a 15%,#07182262 70%),url('assets/forest.webp') center/cover no-repeat;z-index:-2}.bv-game .game-header{padding:18px clamp(16px,3vw,48px);display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(#071c29dd,transparent);height:auto;min-height:106px;position:relative}.bv-game .brand{display:flex;align-items:center;gap:7px;text-decoration:none;flex-shrink:0}.bv-game .brand img{width:145px;height:auto}.bv-game .brand span{font-size:25px;font-weight:bold;color:#fff;text-shadow:0 2px 8px #071c29}.bv-game .game-heading{flex:1}.bv-game .game-heading p{margin:0 0 6px;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#f7dc8a}.bv-game .game-heading h1{font-size:23px;line-height:1.2;margin:0}.bv-game .tools{display:flex;gap:9px}.bv-game .tools button{border:1px solid #dae9e970;border-radius:14px;background:#102630e8;color:white;padding:12px;min-height:45px;font-size:14px}.bv-game .setup-screen{padding:20px clamp(20px,4vw,64px) 36px;max-width:1480px;min-height:calc(100svh - 106px)}.bv-game .welcome-copy{width:49%;max-width:575px;margin-left:auto}.bv-game .intro h2{font-size:clamp(38px,4.8vw,66px);line-height:1.04;margin:8px 0 16px}.bv-game .intro>p:first-child{font-size:13px;letter-spacing:1.7px;margin-bottom:10px}.bv-game .intro p{font-size:18px;line-height:1.5;max-width:550px}.bv-game .setup-panel{padding:22px;border-radius:24px;margin-top:20px;border:1px solid #b6dddd70;background:#102630ec;box-shadow:0 10px 38px #05192345;backdrop-filter:blur(8px)}fieldset{border:0;padding:0;margin:0 0 16px;min-width:0}legend{font-weight:bold;font-size:17px;margin-bottom:13px}.players-inputs{display:grid;gap:9px}.player-field{display:flex;align-items:center;gap:9px}.player-number{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border-radius:50%;background:var(--player-color);font-size:14px;color:#152535;font-weight:bold}.player-field input{min-width:0;flex:1;border:1px solid #aec7cd80;border-radius:10px;background:#061c2b;color:white;padding:10px;min-height:43px}.player-field input::placeholder{color:#bad0d1}.remove-player{background:none;color:white;border:0;font-size:25px;min-width:40px;min-height:44px}.color-picker{position:relative}.color-picker summary{list-style:none;width:30px;height:30px;border:2px solid white;background:var(--player-color);border-radius:50%;cursor:pointer}.color-picker summary::-webkit-details-marker{display:none}.color-swatches{position:absolute;z-index:5;left:0;top:37px;display:grid;grid-template-columns:repeat(4,35px);gap:7px;padding:10px;border:1px solid #cde2eb;background:#123243;border-radius:12px}.color-swatch{width:35px;height:35px;border:2px solid transparent;border-radius:50%}.color-swatch[aria-pressed=true]{border-color:white;box-shadow:0 0 0 2px #000}.color-swatch:disabled{opacity:.2}.add-player{background:none;border:0;color:#f7dc8a;padding:10px 0;font-size:14px;min-height:44px}.setup-selects{display:grid;grid-template-columns:1fr 1fr;gap:14px}.setup-selects label{font-size:13px;display:flex;flex-direction:column;gap:7px}.setup-selects label:last-child{grid-column:1/-1}.setup-selects select{border:1px solid #aec7cd80;border-radius:10px;background:#061c2b;color:white;padding:10px;min-width:0;width:100%;height:43px}.motion-check{display:flex;gap:9px;align-items:center;margin:17px 0;font-size:14px}.motion-check input{width:18px;height:18px;accent-color:#b27cde}.primary,.secondary{display:inline-block;border:0;border-radius:25px;text-align:center;text-decoration:none;padding:13px 22px;font-size:16px;font-weight:bold;min-height:48px}.primary{background:linear-gradient(110deg,#7c2dc2,#c7248d);color:white;box-shadow:0 4px 16px #040f2433}.setup-panel>.primary{width:100%}.secondary{background:#183a49;color:white;border:1px solid #cde2eb70}.how-to{font-size:14px;line-height:1.6;margin-top:16px}.how-to summary{cursor:pointer;color:#f7dc8a;min-height:36px}.how-to p{font-size:14px;color:#d1e2e3}.privacy-note{font-size:11px!important;line-height:1.6;margin:12px 0 0;color:#d1e2e3}.bv-game .play-screen{max-width:1360px;margin:auto;padding:18px 32px 30px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;min-height:calc(100svh - 106px);align-content:center}.challenge-column{min-width:0}.challenge-card{max-width:810px;text-align:center;background:#102630eb;border:1px solid #c1e2e866;border-radius:30px;padding:26px 30px 22px;box-shadow:0 20px 55px #06182038;backdrop-filter:blur(10px)}#counter{font-size:13px;text-transform:uppercase;letter-spacing:1.7px;color:#f7dc8a;margin:0 0 20px}#sentence{font-size:clamp(18px,2.2vw,24px);line-height:1.5;min-height:36px;margin:0 0 10px}#word{font-size:clamp(38px,6.2vw,76px);letter-spacing:2px;line-height:1.2;margin:14px 0 26px;overflow-wrap:anywhere;color:white;text-shadow:0 2px 12px #031b28}.letter-gap{display:inline-block;min-width:.7em;border-bottom:4px solid #f7dc8a;color:#f7dc8a}.correct-letter{color:#82f0b1}.choices{display:flex;justify-content:center;gap:clamp(22px,4vw,60px);margin:16px 0}.choices button{color:#173644;background:radial-gradient(circle at 30% 20%,#fffbe0,#f1d479);border:3px solid #fff2bc;box-shadow:0 8px 0 #886325,0 15px 24px #0005;border-radius:32px;width:clamp(108px,12vw,155px);height:clamp(114px,13vw,165px);display:flex;align-items:center;justify-content:center;flex-direction:column;transform:translateY(0);transition:transform .18s,box-shadow .18s}.choices button:hover:enabled{transform:translateY(-5px);box-shadow:0 13px 0 #886325,0 20px 26px #0005}.choices button span{font-size:clamp(60px,8vw,95px);font-weight:bold;line-height:1}.choices button small{font-size:12px;margin-top:5px}.choices button.correct{background:#aeedc6;border-color:#e0ffea;box-shadow:0 8px 0 #3f8d60}.choices button.wrong{background:#ffe0dc;border-color:#ff9588;box-shadow:0 8px 0 #ad493e}.choices button:disabled:not(.correct):not(.wrong){opacity:.5}.keyboard-hint{font-size:13px;color:#cee0e0;margin:22px 0 0}.journey{margin-top:16px;background:#102630ef;border:1px solid #c1e2e866;border-radius:22px;padding:16px 20px}.journey-label{display:flex;justify-content:space-between;font-size:13px;gap:10px;margin-bottom:12px}.journey-label strong{color:#f7dc8a}.stones{display:grid;grid-template-columns:repeat(12,1fr);gap:7px}.stone{height:15px;border-radius:8px;background:#53737b;border:1px solid #bad1cd55;transition:background .3s,box-shadow .3s}.stone.lit{background:#f5d77a;box-shadow:0 0 15px #f5d77a88;animation:shine .55s ease-out}.stone.missed{background:#bd7470}.stone.current{outline:2px solid white;outline-offset:2px}.bv-game .player-panel{display:flex;gap:16px;flex-direction:column;min-width:0;padding:0;grid-column:auto;grid-row:auto}.bv-game .turn-heading{border-left:6px solid var(--turn-color);background:#102630f2;border-radius:19px;padding:15px 18px;display:flex;flex-direction:column;gap:8px}.turn-heading>span{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--turn-color)}#turn{font-size:25px;line-height:1.25;overflow-wrap:anywhere}.bv-game .scoreboard{display:flex;flex-direction:column;gap:6px;max-height:155px;overflow:auto;padding:0}.score{background:#102630eb;display:flex;justify-content:space-between;gap:10px;border-left:4px solid var(--player);border-radius:10px;padding:9px 12px;font-size:14px}.score span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score.active{background:var(--player);color:#173644;font-weight:bold}.score strong{white-space:nowrap}.bv-game #feedback{position:static;transform:none;display:block;width:100%;height:auto;min-height:170px;max-height:none;white-space:normal;pointer-events:auto;background:#102630f5;border:1px solid #c1e2e866;border-radius:19px;padding:18px;flex:1;margin:0;text-align:left;overflow:visible}.feedback h3{font-size:23px;line-height:1.3;margin:0 0 12px}.feedback p{font-size:16px;line-height:1.6;margin:0 0 13px}.feedback[data-result=correct]{border-color:#82f0b1}.feedback[data-result=wrong]{border-color:#ffa79d}#next-turn{font-size:13px;color:#f7dc8a}#next{width:100%;padding:12px 8px}.time-track{width:100%;height:12px;border:0;border-radius:8px;background:#466169;overflow:hidden}.time-track>div{height:100%;background:#f7dc8a;width:100%}#clock-wrap{position:relative;width:100%;margin:10px 0 22px}#time-label{position:static;display:block;text-align:right;margin-top:6px;font-size:12px;color:#f7dc8a}.results{margin:30px auto;max-width:720px;padding:32px;background:#102630f5;border:1px solid #c1e2e866;border-radius:30px;text-align:center}.results h2{font:44px Georgia,serif;margin:14px 0}.results p{line-height:1.6}.result-butterfly{width:65px;height:65px}#result-scores{display:grid;gap:8px;margin:22px 0}#review-list{font-size:15px;line-height:1.6;text-align:left}#review-list details{border-top:1px solid #6e929c;padding:12px 0}#review-list summary{cursor:pointer}#review-list li{margin:10px 0}.result-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:24px}dialog{max-width:430px;width:calc(100% - 36px);border:1px solid #91b7c0;border-radius:24px;background:#102630;color:white;padding:28px;box-shadow:0 20px 60px #0008}dialog::backdrop{background:#061b2dc9;backdrop-filter:blur(7px)}dialog h2{font-size:26px;margin:0 0 14px}dialog p{font-size:16px;line-height:1.6}dialog button,dialog a{display:block;width:100%;margin:14px 0;text-align:center}dialog a{padding:10px}.no-script{background:white;color:#152535;padding:25px}.no-script a{color:#673291}@keyframes shine{50%{transform:scale(1.25)}}.reduce-motion *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:1000px){.bv-game .game-header{gap:16px;flex-wrap:wrap}.bv-game .brand img{width:110px}.bv-game .brand span{font-size:20px}.bv-game .game-heading h1{font-size:19px}.bv-game .tools button{font-size:12px;padding:9px}.bv-game .play-screen{grid-template-columns:minmax(0,1fr) 270px;padding:10px 18px 24px;gap:18px}.challenge-card{padding:22px 18px}.bv-game .welcome-copy{width:58%;max-width:550px}.bv-game .intro h2{font-size:48px}}
@media(max-width:720px){.bv-game .game-header{padding:12px 16px;gap:12px;min-height:110px}.bv-game .game-heading{min-width:160px}.bv-game .game-heading p{font-size:10px}.bv-game .game-heading h1{font-size:16px}.bv-game .tools{width:100%;justify-content:flex-end}.bv-game .tools button{min-height:40px}.bv-game .brand img{width:100px}.bv-game .brand span{font-size:18px}.bv-game .setup-screen{padding:20px 16px 30px}.bv-game .welcome-copy{width:100%;max-width:550px;margin:0 auto}.bv-game .intro{padding:14px 18px;background:#102630e8;border-radius:22px;text-shadow:none}.bv-game .intro h2{font-size:42px}.bv-game .intro p{font-size:16px}.bv-game .setup-panel{padding:18px;margin-top:14px}.bv-game .play-screen{grid-template-columns:1fr;padding:8px 14px 28px;gap:16px}.bv-game .player-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bv-game #feedback{grid-column:1/-1;min-height:0}.bv-game .scoreboard{max-height:104px}#turn{font-size:21px}.challenge-card{padding:17px 16px;border-radius:24px}#word{font-size:clamp(33px,9vw,58px);margin:12px 0 18px}#sentence{font-size:18px}#counter{margin-bottom:14px}.choices{gap:40px;margin:14px 0}.choices button{width:104px;height:109px;border-radius:24px}.choices button span{font-size:68px}.keyboard-hint{font-size:12px;margin-top:18px}.stones{gap:5px}.stone{height:12px}.journey{padding:13px}.results{margin:12px 14px;padding:24px 18px}.results h2{font-size:35px}.result-actions>*{width:100%}.setup-selects{gap:10px}}
@media(max-height:480px) and (min-width:721px){.bv-game .setup-screen{padding-top:6px}.bv-game .game-header{min-height:76px;padding-block:10px}.bv-game .play-screen{min-height:0}.challenge-card{padding:15px}#word{font-size:45px;margin:8px 0}.choices button{width:96px;height:96px}.choices button span{font-size:55px}.choices{margin:10px 0}#sentence{font-size:18px}#counter{margin:0 0 10px}.keyboard-hint{margin:16px 0 0}.bv-game #feedback{min-height:0}}

body.bv-game .world-background{z-index:0;background-image:linear-gradient(90deg,#07182210 8%,#071822b8 58%,#071822eb 100%),url("assets/forest.webp");background-size:cover;background-position:center;background-color:#172e33;pointer-events:none}.bv-game>header,.bv-game>main{position:relative;z-index:1}.bv-game .challenge-card{max-width:none}.bv-game .feedback[data-result="wrong"] h3{color:#ffafa3}
@media(max-width:720px){body.bv-game .world-background{background-image:linear-gradient(#0718225c,#071822bd),url("assets/forest.webp")}}

.learning-note{position:relative;z-index:1;text-align:center;margin:0;padding:15px 18px 20px;background:#102630e8;color:#d2e2e4;font-size:12px;line-height:1.7}.learning-note span{display:block}.learning-note a{color:#f7dc8a;text-underline-offset:3px}
