:root { --bg: #083321; --glow: #146943; --accent: #ffd15c; }
.game-area { inset: 54px 0 0; padding: clamp(10px, 2.2vw, 28px); }
.water-wrap { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 12px; width: 100%; height: 100%; }
.bottles { display: flex; align-content: center; align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: clamp(13px, 2.2vw, 30px); width: min(100%, 1120px); height: 100%; padding: clamp(8px, 2vh, 20px); }
.bottle { position: relative; display: flex; flex-direction: column-reverse; width: clamp(58px, 7vw, 86px); height: clamp(190px, 47vh, 345px); overflow: hidden; border: 4px solid rgba(242,249,255,.82); border-top-color: transparent; border-radius: 13px 13px 30px 30px; padding: 9px 5px; background: linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.2),rgba(255,255,255,.035)); box-shadow: inset 8px 0 14px rgba(255,255,255,.05), 0 14px 25px rgba(0,0,0,.24); cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.bottle::before { position: absolute; z-index: 2; left: -8px; right: -8px; top: -5px; height: 10px; border: 4px solid rgba(242,249,255,.84); border-radius: 50%; content: ""; }
.bottle.selected { transform: translateY(-12px) rotate(-2deg); border-color: #ffe17c; border-top-color: transparent; filter: drop-shadow(0 0 13px rgba(255,225,124,.65)); }
.liquid { position: relative; display: grid; place-items: center; width: 100%; height: 25%; flex: none; background: linear-gradient(100deg, color-mix(in srgb,var(--liquid) 72%,black), var(--liquid) 28% 70%, color-mix(in srgb,var(--liquid) 65%,white)) !important; box-shadow: inset 10px 0 12px rgba(255,255,255,.14), inset -8px 0 10px rgba(0,0,0,.14) !important; animation: pour-in .25s ease; }
.liquid::after { position: absolute; inset: 0 0 auto; height: 5px; border-radius: 50%; background: color-mix(in srgb,var(--liquid) 68%,white); content: ""; opacity: .72; }
.liquid:first-child { border-radius: 0 0 19px 19px; }
.liquid span { display: none; color: rgba(0,0,0,.72); font-size: 16px; font-weight: 1000; }
.bottles.colorblind .liquid span { display: block; }
.moves { margin: 0 0 4px; padding: 6px 12px; border-radius: 999px; background: rgba(3,39,22,.76); color: #d7e7dd; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.moves strong { color: #ffe17c; }
.level-label { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 13px; color: #cbd1e0; font-size: 11px; font-weight: 800; }
.level-label select { border: 1px solid rgba(255,255,255,.18); border-radius: 9px; padding: 7px 10px; background: #123b2a; color: #fff; font: inherit; }
.icon-button.active { background: #ffe17c; color: #153220; }
@keyframes pour-in { from { transform: translateY(-22px); opacity: .3; } }
@media (max-width: 620px) { .game-area { inset: 88px 0 0; padding: 6px; } .bottles { align-content: center; gap: 12px; padding: 4px; } .bottle { width: clamp(50px, 15vw, 64px); height: clamp(160px, 30vh, 230px); padding: 7px 4px; border-width: 3px; } .bottle::before { border-width: 3px; } }
@media (max-height: 520px) { .game-area { inset: 49px 0 0; } .bottles { align-content: center; gap: 8px 14px; } .bottle { width: 50px; height: min(67vh, 215px); } }
