:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#243128;background:#eef2e8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 82% 2%,#fff5c9 0 16%,transparent 38%),linear-gradient(145deg,#eff4e8,#d9e8df)}.game-shell{max-width:900px;margin:auto;padding:20px 20px 50px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{color:#243128;text-decoration:none;font-weight:900;letter-spacing:.08em}.brand span{color:#4f7d5c}.lang,.button{border:1px solid #bdccb9;background:#fffdf7;color:#243128;border-radius:999px;padding:9px 15px;font-weight:800;cursor:pointer;text-decoration:none;font-size:14px;min-height:44px}.intro{padding:68px 0 34px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#4f7d5c;font-weight:900}.intro h1{font:clamp(46px,9vw,82px)/.95 Georgia,serif;letter-spacing:-.055em;margin:15px 0}.intro p:last-child{color:#647268;line-height:1.6;font-size:17px;max-width:650px}.game-card{background:rgba(255,253,247,.84);border:1px solid #cfddcc;border-radius:28px;padding:18px;box-shadow:0 22px 55px rgba(53,78,57,.14)}.hud{display:flex;align-items:center;gap:20px;border-bottom:1px solid #d9e3d4;padding:3px 4px 15px}.hud div{display:flex;align-items:baseline;gap:7px}.hud span{text-transform:uppercase;letter-spacing:.08em;color:#788377;font-size:11px}.hud strong{font-size:21px}.hud .button{margin-left:auto}.hud .button+.button{margin-left:0}.bottle-grid{display:grid;grid-template-columns:repeat(6,minmax(58px,1fr));gap:18px;align-items:end;max-width:710px;margin:34px auto 20px;padding:18px 6px 14px}.bottle{position:relative;display:grid;grid-template-rows:repeat(4,1fr);gap:2px;width:100%;aspect-ratio:.55;border:3px solid #7fa18a;border-top-width:10px;border-radius:15px 15px 20px 20px;padding:7px 6px 6px;background:linear-gradient(90deg,rgba(255,255,255,.6),rgba(206,230,216,.4) 50%,rgba(255,255,255,.72));box-shadow:inset 4px 0 0 rgba(255,255,255,.48),0 10px 20px rgba(65,92,69,.1);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.bottle::before{content:"";position:absolute;top:-17px;left:50%;width:42%;height:11px;transform:translateX(-50%);border:3px solid #7fa18a;border-bottom:0;border-radius:8px 8px 0 0;background:#eff7ed}.bottle.selected{transform:translateY(-10px) rotate(-2deg);border-color:#c79342;box-shadow:0 0 0 4px #e8c36a66,0 17px 26px rgba(95,90,50,.17)}.liquid-slot{position:relative;display:block;min-height:20px;border-radius:8px;overflow:hidden;background:rgba(245,250,244,.46)}.liquid-slot.filled{background:linear-gradient(180deg,var(--liquid-color),var(--liquid-color));filter:saturate(1.04) brightness(1.08);box-shadow:inset 0 -3px 0 rgba(38,61,39,.1),inset 0 2px 0 rgba(255,255,255,.28)}.liquid-slot.filled::after{content:"";position:absolute;inset:2px 8px auto;height:3px;border-radius:50%;background:rgba(255,255,255,.38)}.liquid-slot.filled::before{content:"";position:absolute;width:4px;height:4px;left:26%;top:44%;border-radius:50%;background:rgba(255,255,255,.48);box-shadow:12px -8px 0 rgba(255,255,255,.32)}.tone-amber,.tone-sun{--pattern:#9a5c22}.tone-teal,.tone-aqua{--pattern:#285e67}.tone-rose,.tone-berry{--pattern:#713a49}.tone-violet,.tone-plum{--pattern:#4b3a70}.tone-leaf,.tone-moss{--pattern:#3f613d}.tone-sky{--pattern:#3e6385}.tone-clay{--pattern:#75442e}.message{min-height:30px;text-align:center;color:#58705b;font-weight:800}.controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:8px}.button.primary{background:#4f7d5c;color:#fff;border-color:#4f7d5c}.button:disabled{opacity:.45;cursor:default}.copy{padding:42px 0}.copy h2{font:32px Georgia,serif;margin:0 0 12px}.copy p{color:#647268;line-height:1.7;max-width:750px}footer{border-top:1px solid #cad8c8;padding-top:18px;color:#7b877b;font-size:13px}footer a{color:#4f7d5c}button,a,input,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(button,a,input,select,[tabindex]):focus-visible{outline:3px solid #b07a2d;outline-offset:3px}.lang,.button{transition:transform .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.lang:active,.button:not(:disabled):active{transform:translateY(1px) scale(.98)}@media(hover:hover)and(pointer:fine){.lang:hover,.button:not(:disabled):hover{background:#edf5e8;border-color:#88a781;box-shadow:0 4px 12px #374d2f14}.button.primary:not(:disabled):hover{background:#3f684b;border-color:#3f684b}}.bottle.shake{animation:bottle-shake .28s ease}.bottle.pour-out{animation:pour-out .34s ease}.bottle.pour-in{animation:pour-in .34s ease}@keyframes bottle-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes pour-out{50%{transform:translateY(-8px) rotate(-6deg)}}@keyframes pour-in{50%{transform:translateY(-6px) scale(1.04)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.bottle-grid{gap:12px;padding-inline:0}.bottle{border-width:2px;border-top-width:8px;padding:5px 4px 4px}.bottle::before{top:-13px;border-width:2px;height:8px}.liquid-slot{min-height:16px}}@media(max-width:520px){.game-shell{padding-inline:14px}.intro{padding-top:50px}.intro h1{font-size:52px}.hud{gap:9px;flex-wrap:wrap}.hud .button{margin-left:auto}.hud .button+.button{margin-left:0}.bottle-grid{grid-template-columns:repeat(3,minmax(58px,1fr));gap:22px 18px;max-width:390px}.bottle{aspect-ratio:.62}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.level-picker{display:flex;align-items:center;gap:7px;margin-left:auto;color:#7b847a;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.level-picker select{min-height:44px;border:1px solid #c4c1d1;border-radius:999px;background:#fffdf8;color:inherit;padding:0 10px;font-weight:800}.hud .level-picker + .button{margin-left:0}@media(max-width:700px){.level-picker{width:100%;margin-left:0}.level-picker select{flex:1}}
