@font-face{font-family:CunggoTitle;src:url('/assets/home-20261017/bricolage-800.woff');font-weight:800;font-display:swap}@font-face{font-family:CunggoBody;src:url('/assets/home-20261017/manrope-500.woff');font-weight:500;font-display:swap}@font-face{font-family:CunggoBody;src:url('/assets/home-20261017/manrope-800.woff');font-weight:800;font-display:swap}
:root{--cunggo-pink:#ee71b2;--cunggo-purple:#8549b5;--cunggo-ink:#51336b;--cunggo-cream:#fffaf3}body{font-family:CunggoBody,system-ui;color:var(--cunggo-ink);background-color:#cdeaff;background-image:url('/assets/home-20261017/spring-scene.webp');background-position:center;background-size:cover;background-attachment:fixed}main{max-width:1040px;padding:16px;margin:auto}header{background:#fffaf5f5;border:3px solid white;border-radius:44px;padding:12px 22px;margin:0 0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 5px 24px #9164a317}.brand-home{width:185px;display:block;line-height:0;max-width:55%}.brand-home svg{width:100%;height:auto}header>a:last-child{font-weight:800;text-decoration:none;background:#eee1fb;padding:12px 16px;border-radius:24px;min-height:48px;display:flex;align-items:center}h1,h2{font-family:CunggoTitle,CunggoBody,system-ui;font-weight:800}h1{font-size:clamp(32px,5vw,54px);line-height:1.05;letter-spacing:-1.8px;color:var(--cunggo-purple);text-shadow:0 2px #fff;margin:10px 0}h2{letter-spacing:-.6px}.brand-hero{display:grid;grid-template-columns:170px 1fr;align-items:center;gap:24px;padding:20px;background:#fffaf4f5;border:3px solid white;border-radius:30px;box-shadow:0 9px 26px #7d5a8a18;margin-bottom:18px}.brand-hero>img{display:block;width:100%;height:auto;min-height:0;max-height:260px;aspect-ratio:4/5;object-fit:contain;align-self:center;border:3px solid white;border-radius:22px;box-shadow:0 5px 14px #7961a21c}.brand-hero p{font-size:16px;line-height:1.65;margin:10px 0}.brand-hero .brand-kicker{font-weight:800;text-transform:uppercase;letter-spacing:1.5px;font-size:11px;color:#9a6ba8}.brand-hero .brand-friends{color:#b14386;font-weight:800;font-size:13px}body:has(#meet:not([hidden])) .brand-hero,body:has(#game:not([hidden])) .brand-hero{display:none}body:has(#meet:not([hidden])) main>h1,body:has(#game:not([hidden])) main>h1{display:none}
section,#lobby,#meet,#game{border:3px solid white;border-radius:28px;background:#fffaf4f5;box-shadow:0 7px 24px #886a9a14}button,input,select{font-family:inherit}button{font-weight:800;border:2px solid white;border-radius:24px;box-shadow:inset 0 2px 0 #ffffff99,0 2px 0 #76569017;min-height:48px;background:linear-gradient(#eee1ff,#d0a6f1);transition:filter .1s}button:active{filter:brightness(.96)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8d4eb6;outline-offset:3px}#solo,#create,#start,#catch{background:linear-gradient(#ffb0d8,#f06caf);color:#632b65;border:3px solid white;box-shadow:0 0 0 1px #fac9e2,inset 0 2px #ffffff88}#join,#public{background:linear-gradient(#d8f1ff,#a9d9fb)}#status{background:#fffaf4f2;border:2px solid white;padding:12px 16px;border-radius:20px;line-height:1.6;min-height:48px}.solo-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.solo-events button{min-height:84px;background:linear-gradient(#fff5d4,#ffdf8d);border-radius:20px;font-size:14px;color:#734779}.solo-events button:nth-child(3n+2){background:linear-gradient(#ffe4f1,#f7b4d7)}.solo-events button:nth-child(3n){background:linear-gradient(#e7dcff,#d1b2f1)}#scores li{background:#f5edf9;border:1px solid #eadcf3;border-radius:16px;padding:12px;line-height:1.5}#stage{border:3px solid white;box-shadow:0 0 0 1px #eadcf3;border-radius:24px}#hint,#message{font-weight:800;color:#765287}#left{background:linear-gradient(#ffe8f4,#f6bddb)}#right{background:linear-gradient(#e1f5ff,#b5dff9)}#jump{background:linear-gradient(#effbdc,#c6e8ad)}#throw{background:linear-gradient(#fff6d8,#ffe38d)}#controls{gap:10px}#count{pointer-events:none;text-shadow:0 2px white,0 0 18px #fff}#count:empty{display:none}#precision{background:#f2e8fa}#settings{background:#f5edf9;border:1px solid #e9d8f2}.brand-footer{text-align:center;font-family:CunggoTitle,CunggoBody;font-size:22px;color:#a84194;padding:20px 12px;text-shadow:0 2px white}.brand-footer a{font-family:CunggoBody;font-size:13px;display:block;margin-top:8px;color:#765287}
#stage:before,#stage:after{display:none}.dog{background:none!important}#overlay{background:#fffaf3ed}#overlay h2{color:#8948b8}#overlay p{max-width:480px;margin:12px auto;line-height:1.6}#hud{background:#f5ecfb;padding:12px;border-radius:18px;gap:12px}#bar,.bar{padding:10px;border-radius:18px;background:#f7effa}#joystick{background:#c8a8eb88}#fire{background:linear-gradient(#ffb6dc,#ef7bb8)}#room{font-family:CunggoTitle;font-weight:800}#look span{color:#51336b;background:#fffaf4bb;border-radius:14px;padding:5px 10px}#hint{line-height:1.7}
@media(max-width:620px){main{padding:10px}.brand-hero{grid-template-columns:105px 1fr;padding:12px;gap:14px;border-radius:24px}.brand-hero h1{font-size:32px;letter-spacing:-1.2px}.brand-hero p{font-size:12px;margin:8px 0}.brand-hero .brand-kicker{font-size:8px;letter-spacing:.8px}.brand-hero .brand-friends{font-size:10px}.brand-hero>img{border-radius:16px}.solo-events{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.solo-events button{font-size:12px;min-height:70px}header{padding:10px 14px;margin-bottom:12px}.brand-home{width:150px}header>a:last-child{font-size:12px;padding:10px}#controls button{font-size:14px;min-height:64px;padding:8px}#stage{border-radius:18px}#scores li{font-size:12px}.brand-footer{font-size:19px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Private prototypes: one responsive play surface, with controls beside the action. */
*{box-sizing:border-box}main,section,.brand-hero>div,#bar,.bar{min-width:0}button{touch-action:manipulation;min-width:44px}input,select{font-size:16px}p,small,label,h1,h2,#room{overflow-wrap:anywhere}#scores:empty{display:none}
body:has(#canvas) #stage{width:min(100%,400px);height:auto;min-height:0;aspect-ratio:4/5;margin-inline:auto}
body:has(#meet) #stage{width:100%;height:auto;min-height:0;aspect-ratio:40/21;max-width:800px;margin-inline:auto}
body:has(#bubble-play:not([hidden])) main,body:has(#game:not([hidden])) main,body:has(#meet:not([hidden])) main{max-width:880px}
body:has(#bubble-play:not([hidden])) main>header,body:has(#game:not([hidden])) main>header,body:has(#meet:not([hidden])) main>header{display:none}
body:has(#game:not([hidden])) main,body:has(#meet:not([hidden])) main{display:flex;flex-direction:column}
#game,#meet{order:0}body:has(#game:not([hidden])) #status,body:has(#meet:not([hidden])) #status{order:1;margin:10px 0}.brand-footer{order:2}
#bubble-play:not([hidden]){display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:center}#bubble-play nav{display:contents}#bubble-play>#hud,#bubble-play>#stage,#bubble-play>#overlay,#bubble-play>#message,#bubble-play>#catch,#bubble-play>small,#duel-status{grid-column:1/-1}.mode-return{margin:0}#bubble-play #hud{margin:0;padding:8px;font-size:14px}#bubble-play #message{margin:0;min-height:0;font-size:14px;line-height:1.4}#bubble-play>small{font-size:12px;margin:0}#game #room{flex:1 1 140px}#game #health{font-size:14px}#game #bar{gap:6px;padding:6px}#meet #room{flex:1}.bar{justify-content:flex-end}#meet #event{font-size:clamp(20px,4vw,30px);margin:8px 0}#difficulty-label{margin:6px 0}#hint{font-size:14px;line-height:1.4;min-height:0;margin:8px 0}#controls{position:sticky;bottom:max(6px,env(safe-area-inset-bottom));z-index:2;padding:6px;background:#fffaf4f5;border-radius:20px;box-shadow:0 3px 16px #76528725}#precision{padding:8px;margin:6px 0;font-size:13px}#precision small{font-size:11px}#feedback{font-size:13px;min-height:0}#look{height:100%}#joystick,#fire{z-index:2}
@media(max-width:620px){body{background-attachment:scroll}main{padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))}section,#lobby,#game,#meet{padding:10px;border-radius:22px}.brand-hero{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:10px}.brand-hero h1{font-size:clamp(25px,7vw,32px)}.brand-hero p{font-size:13px;line-height:1.4}.brand-hero .brand-friends{font-size:11px}.brand-hero .brand-kicker{font-size:9px}.mode-menu{padding:4px 0}.mode-menu>p{margin-bottom:12px}.mode-choices button{font-size:18px;min-height:110px}.mode-choices small{font-size:12px}.solo-events button{font-size:14px;min-height:72px}#bar button,.bar button,#bubble-play>button,#bubble-play nav button{padding:8px;font-size:14px;min-height:48px}#bubble-play>small{line-height:1.4}#hud{gap:4px}#game #stage{height:calc(100svh - 120px);height:calc(100dvh - 120px);min-height:240px;max-height:640px}#joystick{left:10px;bottom:16px;width:100px;height:100px}#joystick i{left:27px;top:27px}#fire{right:10px;bottom:20px;width:88px;height:88px;font-size:14px}#meet #controls button{min-height:64px;font-size:15px}#settings{padding:8px}#settings label{margin:6px 0}#scores li{font-size:13px}#overlay{padding:12px}#overlay h2{font-size:24px;margin:6px 0}#overlay p{font-size:14px;line-height:1.4;margin:8px auto}}
@media(max-height:500px) and (orientation:landscape){body:has(#game:not([hidden])) main{max-width:none;padding:4px}#game{padding:4px}#game #bar{margin-bottom:4px}#game #stage{height:calc(100dvh - 80px);min-height:180px;max-height:none}body:has(#canvas) #stage{width:min(100%,calc((100svh - 90px)*.8))}#bubble-play{column-gap:12px}#joystick{bottom:10px}#fire{bottom:10px}}

#game #bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto}#game #room{grid-column:1/-1;font-size:15px}#game #health{grid-column:1}#game #again{grid-column:1/-1}#meet>#start{width:100%;margin:8px 0}#controls:has(button:not([hidden])){min-height:76px}#controls:not(:has(button:not([hidden]))){display:none}
@media(max-width:620px){#game #stage{height:calc(100svh - 152px);height:calc(100dvh - 152px);min-height:180px}#game #bar{margin-bottom:8px}#game #room{font-size:14px}#game #bar button{font-size:13px}}
@media(max-height:500px) and (orientation:landscape){#game #bar{display:flex;flex-wrap:nowrap}#game #room{flex:1}#game #stage{height:calc(100dvh - 80px);min-height:180px}}

#game,#meet,#bubble-play{overflow-anchor:none}
@media(max-width:620px){body:has(#canvas) #stage{width:min(100%,400px,calc((100svh - 250px)*.8))}}

.private-options,#settings{font-size:14px}.private-options{margin-top:20px;text-align:left}summary{cursor:pointer;min-height:48px;padding:14px 10px;font-weight:800;border-radius:16px;background:#f0e5fa}details[open]>summary{margin-bottom:12px}#multiplayer-options>#public{width:100%;min-height:64px;font-size:20px}#mode-settings{display:none!important}

/* The same cover + Play pattern as the original Vibes games. */
main{max-width:540px}main>header{padding:8px 14px;border-radius:28px;margin-bottom:12px}main>header .brand-home{width:140px}#lobby,body:has(#canvas) main>section{padding:0;overflow:hidden}.mode-menu{max-width:460px;padding:0}.start-cover{display:block;width:100%;height:auto;max-height:55svh;object-fit:contain;background:#e8ecfc;border-radius:20px 20px 0 0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}.mode-choices{display:flex;flex-direction:column;gap:8px;padding:16px 14px 8px}.mode-choices button{display:block;min-height:58px;padding:12px;font-size:23px;border-radius:28px;background:linear-gradient(#ff9ccf,#f14b9e);color:white;text-shadow:0 1px #ba468855}.mode-choices button:nth-child(2){min-height:50px;font-size:18px;color:#765287;background:#fffbff;text-shadow:none}.start-help{margin:0 14px 14px}.start-help summary{text-align:center;background:#fff7fc}.start-help p{font-size:14px;padding:6px 10px;line-height:1.5}#multiplayer-options{padding:0 14px 14px}#mode-back{margin:12px}body:has(#bubble-play:not([hidden])) main>section{padding:10px}body:has(#mode-menu:not([hidden])) #status{display:none}
@media(max-width:620px){main>header{padding:6px 10px;margin-bottom:8px}.brand-home{width:120px}.mode-choices{padding:12px 12px 6px}.mode-choices button{min-height:58px;font-size:23px}.mode-choices button:nth-child(2){min-height:48px;font-size:18px}.start-help{margin:0 12px 12px}.start-help summary{min-height:44px;padding:11px}}
.mode-menu .mode-choices{display:flex;flex-direction:column;gap:8px;padding:14px 12px 8px}.mode-menu .mode-choices button{display:block;min-height:58px;padding:12px;font-size:23px;border-radius:28px;background:linear-gradient(#ff9ccf,#f14b9e);color:white;text-shadow:0 1px #ba468855}.mode-menu .mode-choices button:nth-child(2){min-height:48px;font-size:18px;background:#fffbff;color:#765287;text-shadow:none}.mode-menu .start-help{margin:0 12px 12px}
