/* Juicy Magic Pop master polish: presentation only; physics/world coordinates unchanged. */
@font-face { font-family: Fredoka; src: url('assets/fonts/fredoka-latin.woff2') format('woff2'); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('assets/fonts/nunito-sans-latin.woff2') format('woff2'); font-style: normal; font-weight: 200 900; font-display: swap; }
:root { --bg: #101536; --surface: #292354; --text: #FFF9FB; --muted: #DDCDEB; --mint: #A1F8DD; --gold: #FFE38B; --line: #E6BCFF30; font-family: 'Nunito Sans', sans-serif; }
.mobile-game { grid-template-rows: 58px minmax(0, 1fr) auto; background: #111B52 url('assets/magic-garden.jpg') center / cover; }
.hud { height: 58px; padding: 4px 12px; grid-template-rows: 44px 5px; gap: 1px 8px; background: linear-gradient(110deg, #100B2CF0, #19143EDA); border-bottom: 0; box-shadow: inset 0 -1px #D69DE12E, inset 0 1px #D7E6FF18; }
.hud-stat, .hud-next { gap: 2px; }
.hud strong { font-weight: 800; }
.hud-stat > span, .hud-next > span { font-size: 8px; font-weight: 800; letter-spacing: 1px; color: #E1CDEA; }
.hud-score strong { color: #FFF5CF; text-shadow: 0 2px #2C1246, 0 0 12px #FFE7AD18; }
.hud-next strong { color: #FFE38B; }
.progress-bar { height: 5px; background: #0F0C27; box-shadow: inset 0 1px #0005, 0 1px #C08ED025; }
.progress-bar span { position: relative; overflow: hidden; background: linear-gradient(90deg, #4FBCD7, #8785FF 55%, #FF98D7); box-shadow: inset 0 1px #FFFFFF8C; }
.progress-bar span::after { content: ''; position: absolute; right: 0; top: 0; width: 10px; height: 100%; border-radius: 50%; background: linear-gradient(90deg, transparent, #FFFFECDD); }
.icon-btn { border: 1px solid #DDADFF42; background: #180F39A6; box-shadow: inset 0 1px #FFFFFF16; border-radius: 50%; }
.icon-btn:active:not(:disabled) { transform: none; box-shadow: inset 0 0 12px #BCE7FF33; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ui-icon { width: 20px; height: 20px; display: inline-block; flex-shrink: 0; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sound-toggle.secondary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sound-off-glyph, .sound-toggle[aria-pressed='false'] .sound-on-glyph { display: none; }
.sound-toggle[aria-pressed='false'] .sound-off-glyph { display: inline-block; }
.pause-btn { position: relative; border: 0; background: none; box-shadow: none; font-size: 16px; }
.pause-btn .ui-icon { width: 17px; height: 17px; }
.pause-btn::before { content: ''; position: absolute; inset: 5px; border: 1px solid #B9C9FF2B; border-radius: 11px; background: #C7DFFF08; }
.board-chrome { display: none; }
.board-chrome b { color: #92265F; font-weight: 600; }
.state-pill { background: #3B175E; color: #F6EAFF; text-shadow: none; font-family: 'Nunito Sans', sans-serif; font-weight: 800; letter-spacing: .6px; }
[data-state='AIMING'] .state-pill { color: #BFF6FF; background: #3B175E; }
[data-state='SHOOTING'] .state-pill, [data-state='RESOLVING'] .state-pill { color: #FFE38B; background: #56257A; }
.game-controls { min-height: 0; height: 0; padding: 0; border: 0; display: block; background: none; }
.launcher-sound { position: absolute; left: calc(var(--launcher-x, 50%) + var(--launcher-side, 74px) - 22px); top: calc(var(--launcher-y, 80%) + var(--launcher-pod-y, 39px) - 22px); width: 44px; height: 44px; border-color: #C1D9FF30; background: radial-gradient(ellipse at 35% 10%, #8DA3E344, #141D3FB0 70%); color: #D8E8FF; box-shadow: inset 0 1px #FFFFFF33, inset 0 -2px #0C142966, 0 3px 5px #101D3844; }
.launcher-sound .ui-icon { width: 18px; height: 18px; }
[data-state='CASHOUT_READY'] .game-controls { height: 64px; }
.next-control { position: absolute; left: calc(var(--launcher-x, 50%) - var(--launcher-side, 74px) - 22px); top: calc(var(--launcher-y, 80%) + var(--launcher-pod-y, 39px) - 17px); width: 44px; gap: 5px; flex-direction: column; pointer-events: none; font-family: 'Nunito Sans', sans-serif; font-weight: 850; color: #DEECFF; letter-spacing: 1.5px; font-size: 8px; text-shadow: 0 1px 3px #0C173B; }
.next-bubble { width: 34px; height: 34px; background: none; box-shadow: none; }
.is-home .next-control, .is-home .launcher-sound { visibility: hidden; }
.game-stage::after { content: ''; position: absolute; pointer-events: none; left: calc(var(--launcher-x, 50%) - 54px); top: calc(var(--launcher-y, 80%) + 35px); width: 108px; height: 23px; background: radial-gradient(ellipse, #9AF3FF66, #D073FF19 45%, transparent 72%); opacity: .5; }
[data-state='ACTIVE'] .game-stage::after, [data-state='AIMING'] .game-stage::after { animation: jelly-aura 2.8s ease-in-out infinite alternate; }
.is-home .game-stage::after, [data-state='SHOOTING'] .game-stage::after { opacity: 0; }
.garden-motes { position: absolute; inset: 0; z-index: 12; pointer-events: none; overflow: hidden; }
.garden-motes i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #E9FFC5; box-shadow: 0 0 5px 2px #BFFFC448; opacity: .4; animation: garden-drift 7s ease-in-out infinite; }
.garden-motes i:nth-child(1) { left: 7%; top: 44%; animation-delay: -2s; }
.garden-motes i:nth-child(2) { right: 5%; top: 29%; animation-delay: -4s; background: #D2C5FF; }
.garden-motes i:nth-child(3) { left: 4%; top: 77%; animation-delay: -1s; animation-duration: 9s; }
.garden-motes i:nth-child(4) { right: 7%; top: 66%; animation-delay: -6s; }
.garden-motes i:nth-child(5) { left: 9%; top: 20%; animation-delay: -5s; animation-duration: 10s; background: #D2C5FF; }
.garden-motes i:nth-child(6) { right: 4%; top: 89%; animation-delay: -3s; animation-duration: 8s; }
[data-state='LOST'] .garden-motes { opacity: 0; }
.mobile-game:has(#pauseScreen:not([hidden])) .garden-motes i, .mobile-game:has(#pauseScreen:not([hidden])) .game-stage::after { animation-play-state: paused; }
.ready-hint { left: 50%; right: auto; bottom: auto; top: calc(var(--launcher-y, 80%) - 128px); transform: translateX(-50%); width: 235px; border-radius: 18px; padding: 12px; background: #120D325C; text-shadow: 0 1px 3px #100F32; }
.ready-hint span { color: #FFFFFFBD; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; }
.ready-hint strong { color: #FFF6D8; font-family: Fredoka, sans-serif; font-size: 21px; margin: 5px 0; }
.ready-hint small { color: #FFFFFFE3; font-size: 10px; }
.primary-btn { font-family: Fredoka, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .8px; color: #FFF8F1; border: 1px solid #FFCEF0; background: linear-gradient(#FFB1E3 0%, #F75EB6 20%, #DB218E 85%, #C91E87); box-shadow: inset 0 2px #FFFFFF80, inset 0 -2px #AA1A7B77, 0 5px #791555, 0 9px 20px #10143380; border-radius: 20px; text-shadow: 0 2px 1px #A32977; }
.primary-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 2px #FFFFFF40, 0 2px #B23281; }
.menu-btn { border: 1px solid #BA86D185; background: #2C124650; color: #FFF1FF; font-weight: 800; font-size: 11px; letter-spacing: .6px; }
.secondary-btn { font-weight: 800; color: #EEE1F5; }
.sound-icon { color: #FFCEE9; }
.sound-toggle[aria-pressed='false'] { color: #CBB2D7; }
#cashoutBtn { position: absolute; left: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); width: calc(100% - 28px); min-height: 48px; border: 1px solid #FFF0AF; color: #093E2C; text-shadow: 0 1px #D7FFD9; background: linear-gradient(#B7F8D3, #52D9A6 24%, #14B783 75%, #07956E); box-shadow: inset 0 2px #F7FFD2A0, 0 3px #096744, 0 0 20px #43EE8A26; animation: sweet-ready .95s ease-out both; }
[data-state='CASHOUT_READY'] .progress-bar span { background: linear-gradient(90deg, #62E995, #FFE38B, #FF78C9); }
[data-state='CASHOUT_READY'] .state-pill { color: #FFF2B8; background: #3B175E; }
[data-state='CASHOUT_READY'] .board-chrome > span:first-child { visibility: hidden; }
.target-banner { top: 8px; width: calc(100% - 40px); max-width: 350px; transform: translateX(-50%); grid-template-columns: 44px 1fr; text-align: left; border: 1px solid #D8EBA64D; border-radius: 19px; background: radial-gradient(ellipse at 10% 0%, #66856D66, transparent 70%), linear-gradient(115deg, #193A3AEE, #151D36EB); box-shadow: inset 0 1px #FFF6C733, 0 6px 18px #07132E44; gap: 1px 12px; padding: 9px 15px; }
[data-state='CASHOUT_READY'] .target-banner { display: grid; animation: reward-arrive .55s ease-out both; }
.target-banner strong { font-family: Fredoka, sans-serif; font-size: 22px; line-height: 24px; color: #FFF0B0; letter-spacing: -.3px; }
.target-banner > span:last-child { color: #D7E8DE; font-size: 9px; line-height: 13px; grid-column: 2; }
.target-banner .eyebrow { color: #B8ECC8; font-size: 7px; line-height: 10px; margin: 0; }
.target-banner .target-seal { grid-row: 1 / 4; width: 42px; height: 42px; }
.game-stage[data-compact-reward='true'] .target-banner { top: 3px; height: 40px; padding: 3px 12px; grid-template-columns: 32px 1fr; border-radius: 13px; }
.game-stage[data-compact-reward='true'] .target-banner .target-seal { width: 30px; height: 30px; grid-row: auto; }
.game-stage[data-compact-reward='true'] .target-banner .target-seal .ui-icon { width: 21px; height: 21px; }
.game-stage[data-compact-reward='true'] .target-banner .eyebrow, .game-stage[data-compact-reward='true'] .target-banner > span:last-child { display: none; }
.target-seal { color: #FFF0B9; border: 1px solid #D5E6EF88; background: radial-gradient(ellipse at 35% 15%, #9292BC, #46456F 45%, #1A2F4D); box-shadow: inset 0 2px #FFFFFF60, 0 4px #14263D, 0 0 0 6px #CCEBFF09, 0 0 26px #AFD7FF1A; }
.target-seal .ui-icon { width: 32px; height: 32px; filter: drop-shadow(0 0 5px #F5DA7180); }
[data-state='CASHOUT_READY'] .target-seal { animation: candy-celebrate .9s ease-out both; }
[data-state='CASHOUT_READY'] .target-banner::after { content: ''; position: absolute; pointer-events: none; width: 4px; height: 7px; border-radius: 3px; left: 50%; top: 50px; background: #FFE38B; box-shadow: -83px 26px #FF78C9, 81px 32px #B5F597, -63px -19px #8EEDFF, 62px -14px #FFE38B; animation: sugar-confetti .9s ease-out both; }
.home-screen { background: linear-gradient(#090E3433, #11103377 65%, #0C102ABB), url('assets/magic-garden.jpg') center / cover; }
.screen-overlay { padding-inline: 20px; }
.home-content { min-height: 0; max-height: 880px; gap: 14px; }
.home-topline { min-height: 53px; flex-shrink: 0; color: #FFF1FF; }
.wordmark { gap: 9px; font-family: Fredoka, sans-serif; font-size: 19px; font-weight: 600; letter-spacing: .5px; line-height: 1; text-shadow: 0 2px #25224C; }
.wordmark small { display: block; color: #E3CCFF; font: 800 8px 'Nunito Sans', sans-serif; letter-spacing: 1.4px; margin-top: 5px; }
.brand-mark { width: 25px; height: 25px; border: 1px solid #FFB3EC; background: radial-gradient(ellipse at 30% 20%, #FFF 0 6%, #FA9FDA 15%, #E838A2 45%, #681B91 86%); box-shadow: 0 3px 6px #04092366, inset 0 -2px #79246F; }
.brand-mark::after { width: 12px; height: 12px; right: -5px; bottom: -4px; background: radial-gradient(ellipse at 30% 20%, #FFF, #79E7FF 20%, #1399EF 60%, #152A83); border: 1px solid #B0EFFF; }
.home-balance { padding: 7px 11px 7px 8px; gap: 9px; border: 1px solid #B3C0FF33; background: #111538BF; border-radius: 16px; box-shadow: inset 0 1px #F1D9FF16; }
.home-balance strong { margin-top: 1px; font-size: 19px; font-weight: 850; letter-spacing: -.6px; color: #FFF4C9; }
.field-label { font-size: 7px; font-weight: 800; color: #C8C1E8; letter-spacing: .8px; }
.credit-icon { width: 28px; height: 28px; border: 1px solid #D6B3FF5C; color: #FFEBA6; background: linear-gradient(#764B9B, #352C60); border-radius: 50%; font-size: 19px; }
.demo-pill { color: #C4BAE2; border: 1px solid #FFFFFF25; background: #A785E012; border-radius: 20px; font-size: 7px; padding: 4px 8px; font-weight: 800; letter-spacing: 1px; }
.home-hero { position: relative; min-height: 290px; padding: 34px 0 24px; overflow: hidden; border-radius: 29px; border: 1px solid transparent; background: linear-gradient(#12266D09, #33277700 55%, #171B50B3), url('assets/magic-garden.jpg') center 80% / 100% auto; box-shadow: inset 0 0 45px #131B4A55, 0 10px 20px #0B103922; mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent); }
.home-hero::before { content: ''; pointer-events: none; position: absolute; width: 280px; height: 235px; top: 50%; left: 50%; transform: translate(-50%, -58%); background: radial-gradient(ellipse, #CC8AFF3D, transparent 66%); }
.garden-label { position: absolute; top: 14px; left: 0; right: 0; color: #E3DBFF; font: 800 7px 'Nunito Sans', sans-serif; letter-spacing: 2.3px; text-shadow: 0 1px 3px #0F1740; }
.home-hero .magic-logo { position: relative; flex-shrink: 0; margin: 2px 0 0; font-family: Fredoka, sans-serif; font-weight: 700; line-height: .96; letter-spacing: -2px; transform: rotate(-5deg); filter: drop-shadow(0 7px 2px #0C164BB0) drop-shadow(0 0 14px #9A80ED35); }
.magic-logo .logo-juicy { display: flex; justify-content: center; font-size: clamp(63px, 19.4vw, 80px); line-height: .96; }
.logo-juicy b { --candy-top: #FFF3A3; --candy-bottom: #FF9C27; --candy-side: #A4455C; display: block; position: relative; padding: 0 1px 6px; color: transparent; background: linear-gradient(#FFFFFF 0%, var(--candy-top) 11%, #FFFFFF 17%, var(--candy-top) 23%, var(--candy-bottom) 75%, var(--candy-top) 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-stroke: 1px #FFFFFFCC; filter: drop-shadow(0 2px 0 var(--candy-side)) drop-shadow(0 4px 0 #312167); }
.logo-juicy b:nth-child(2) { --candy-top: #E1FFD3; --candy-bottom: #5CDE5F; --candy-side: #2B8C91; transform: translateY(-3px); }
.logo-juicy b:nth-child(3) { --candy-top: #D3FFFF; --candy-bottom: #45C9FC; --candy-side: #275AB3; transform: translateY(-6px); }
.logo-juicy b:nth-child(4) { --candy-top: #F3D1FF; --candy-bottom: #BD69FC; --candy-side: #7343BB; transform: translateY(-3px); }
.logo-juicy b:nth-child(5) { --candy-top: #FFCEE7; --candy-bottom: #FF5C9D; --candy-side: #B43F8C; }
.magic-logo .logo-bottom { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: -4px; }
.logo-bottom small { color: #ECFAFF; font-size: 24px; letter-spacing: .7px; text-shadow: 0 2px #408AC0, 0 4px #242C6B; }
.logo-bottom b { font-size: 76px; letter-spacing: -3px; color: transparent; background: linear-gradient(#FFF4CC 3%, #FFD770 17%, #FFBA5C 22%, #FF7772 78%); background-clip: text; -webkit-background-clip: text; -webkit-text-stroke: 1px #FFECCC; filter: drop-shadow(0 3px 0 #C44378) drop-shadow(0 4px 0 #4C236B); }
.jelly-cluster { position: relative; width: 245px; height: 91px; flex: 0 0 91px; margin: 14px 0 0; }
.jelly-cluster canvas { position: absolute; filter: drop-shadow(0 8px 5px #0A133D88); }
.jelly-cluster canvas:nth-child(1) { left: 7px; top: 13px; width: 65px; height: 65px; transform: rotate(-18deg); }
.jelly-cluster canvas:nth-child(2) { right: 27px; top: 12px; width: 75px; height: 75px; transform: rotate(15deg); }
.jelly-cluster canvas:nth-child(3) { left: 62px; top: -3px; width: 91px; height: 91px; }
.jelly-cluster canvas:nth-child(4) { right: 0; top: 1px; width: 39px; height: 39px; }
.jelly-cluster i { position: absolute; left: 1px; top: -9px; color: #FFF5B3; font-style: normal; font-size: 23px; text-shadow: 0 0 6px #FFA8F5; }
.jelly-cluster i:last-child { left: auto; right: -3px; top: 59px; font-size: 21px; color: #B4FBFF; }
.home-tagline { position: relative; color: #F5EFFF; font-size: 10px; font-weight: 750; margin: 6px 0 0; text-shadow: 0 1px 4px #100C38; }
.home-tagline b { color: #FFE798; }
.round-card { flex-shrink: 0; padding: 14px; border: 1px solid #B6ADFA2B; border-radius: 21px; background: linear-gradient(135deg, #24224DEB, #121836ED); box-shadow: inset 0 1px #FFFFFF16, 0 7px 18px #080C2D44; }
.entry-row { margin-top: 0; }
.entry-label { font-size: 11px; font-weight: 800; color: #EDE6FF; letter-spacing: .2px; }
.bet-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.bet-tiles button { min-height: 47px; padding: 0 1px; border: 1px solid #9F9AE45C; border-radius: 12px; color: #ECE8FF; background: linear-gradient(#403864, #262341); box-shadow: inset 0 1px #FFFFFF25, 0 2px #12142D; font-weight: 800; font-size: 10px; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.bet-tiles button[aria-pressed='true'] { border: 1px solid #FFF2A4; color: #472946; background: linear-gradient(#FFF6C7, #FFCF68 55%, #EFAB51); box-shadow: inset 0 2px #FFFFFFA0, 0 2px #A56651, 0 0 12px #FFDB8030; }
.bet-tiles button:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 1px #FFFFFF25; }
.target-row { flex-shrink: 0; min-height: 68px; padding: 9px 14px; margin-top: 0; gap: 10px; border: 1px solid #D7BDDB24; border-radius: 21px; background: linear-gradient(115deg, #42324CB8, #211F42E6); box-shadow: inset 0 1px #FFFFFF10; }
.target-row > b { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; padding: 0; margin: 0; border-radius: 13px; border: 1px solid #FCE2A888; font: 600 23px Fredoka, sans-serif; color: #FFE6B2; background: linear-gradient(#99728C88, #583C6788); text-shadow: 0 2px #4F345D; box-shadow: inset 0 1px #FFFFFF50; }
.target-row > span { flex: 1; color: #FFE0B8; font-size: 8px; letter-spacing: .8px; font-weight: 850; }
.target-row small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: 0; color: #CCC3E0; font-weight: 500; }
.target-row strong { color: #FFF1C5; font-weight: 900; font-size: 21px; letter-spacing: -.6px; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px #FFD7971C; }
.play-btn { flex-shrink: 0; min-height: 66px; justify-content: center; position: relative; font-size: 29px; line-height: 1; letter-spacing: 1.3px; box-shadow: inset 0 2px #FFFFFF80, inset 0 -2px #AA1A7B77, 0 5px #791555, 0 8px 24px #D3389433; }
.play-btn small { display: block; font: 850 7px 'Nunito Sans', sans-serif; letter-spacing: 2px; margin-top: 5px; color: #FFEAF8; }
.play-btn > span:last-child { position: absolute; right: 24px; font-size: 19px; color: #FFF1CE; }
.play-btn::before { content: ''; position: absolute; top: 3px; left: 14px; right: 14px; height: 18px; border-radius: 15px 15px 50% 50%; background: linear-gradient(#FFFFFF35, #FFFFFF00); pointer-events: none; }
.home-bottom { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 17px; padding: 0 3px; }
.home-bottom .secondary-btn { min-height: 44px; padding: 0 5px; font-size: 10px; white-space: nowrap; }
.home-bottom .dev-note { text-align: right; font-size: 8px; color: #CDC8E9; }
.eyebrow { color: #FFD794; font-weight: 800; letter-spacing: 1.4px; }
.menu-screen { background: linear-gradient(#080D3040, #120A3F66), url('assets/magic-garden.jpg') center / cover; }
.menu-card { border: 1px solid #C5D3FF3D; background: radial-gradient(ellipse at 50% 0%, #48517A66, transparent 60%), linear-gradient(145deg, #202440EE, #111731F2); border-radius: 30px; box-shadow: inset 0 1px #FFFFFF33, 0 16px 32px #070F3559; padding: 28px 22px; }
.menu-card h2 { font-family: Fredoka, sans-serif; font-size: 33px; font-weight: 600; letter-spacing: -.5px; color: #FFF0C5; }
.menu-description { color: #E9D6F1; font-size: 11px; }
.pause-emblem { background: #9B6EFF19; border: 1px solid #D4B0EC66; color: #DBEAFE; }
.pause-emblem .ui-icon { width: 26px; height: 26px; }
.result-card { padding: 30px 22px 24px; }
.result-emblem { width: 82px; height: 82px; margin-bottom: 25px; border: 1px solid #D5E6EFA0; color: #FFF0B9; background: radial-gradient(ellipse at 35% 15%, #9292BC, #46456F 45%, #1A2F4D); box-shadow: inset 0 2px #FFFFFF60, 0 4px #14263D, 0 0 0 7px #CCEBFF09, 0 0 30px #AFD7FF20; }
.result-emblem .ui-icon { width: 44px; height: 44px; }
.win-symbol .ui-icon { filter: drop-shadow(0 0 6px #F5DA7180); }
.payout-hero { padding: 20px 5px; margin: 21px 0 22px; border: 1px solid #BDCCF52B; border-radius: 20px; background: #080F2938; box-shadow: inset 0 1px #DCE7FF0D; }
.payout-hero > span, .payout-hero small { color: #E9CFF6; letter-spacing: 1.2px; }
.payout-hero strong { font-size: clamp(38px, 10.8vw, 46px); font-weight: 800; color: #FFF3DC; margin: 5px 0; }
.result-grid { margin-bottom: 14px; }
.result-grid > div { padding: 0 8px; }
.result-grid span { color: #EAD6F2; font-size: 9px; }
.result-grid strong { color: #FFF3DF; font-weight: 800; }
.result-card > .dev-note { font-size: 8px; margin-top: 18px; }
[data-state='CASHED_OUT'] .result-screen { background: radial-gradient(ellipse at 50% 28%, #FFD7743D, transparent 65%), url('assets/magic-garden.jpg') center / cover; }
[data-state='CASHED_OUT'] .result-card { border-color: #F4D6A057; background: radial-gradient(ellipse at 50% 0%, #9B714555, transparent 56%), linear-gradient(145deg, #242740F0, #151931F5); box-shadow: inset 0 1px #FFF3BB50, 0 18px 36px #070F3566; }
[data-state='CASHED_OUT'] .result-card .eyebrow { color: #D0FFBA; }
[data-state='CASHED_OUT'] .payout-hero { border-color: #FFE38B50; background: radial-gradient(ellipse at 50% 0%, #FFEBA725, transparent 85%), #080F2926; }
[data-state='CASHED_OUT'] .payout-hero strong { color: #FFE38B; background: linear-gradient(#FFF7D0 25%, #FFDF77 65%, #FFC66D); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px #573650) drop-shadow(0 0 12px #FFD36F30); }
[data-state='CASHED_OUT'] .result-emblem { color: #FFFADE; border-color: #FFF0B9; background: radial-gradient(ellipse at 35% 15%, #FFF3BA, #CC994C 38%, #78513B 73%, #392B43); box-shadow: inset 0 2px #FFFFFFB3, 0 4px #51364C, 0 0 0 7px #FFEAA213, 0 0 38px #FFD57244; animation: candy-celebrate .8s ease-out both; }
[data-state='CASHED_OUT'] .result-emblem::before { content: ''; position: absolute; inset: -22px; border: 1px solid #FFF4BF33; border-radius: 50%; mask-image: conic-gradient(#000, transparent 22%, #000 35%, transparent 54%, #000 70%, transparent); transform: rotate(-25deg); }
[data-state='CASHED_OUT'] .result-emblem i { border-radius: 5px; width: 7px; height: 12px; background: #FF78C9; animation: sugar-confetti 1.1s ease-out both; }
[data-state='CASHED_OUT'] .result-emblem i:nth-of-type(2n) { background: #82EFAF; }
[data-state='CASHED_OUT'] .result-emblem i:nth-of-type(3n) { background: #FFE38B; }
[data-state='LOST'] .result-screen { background: linear-gradient(#15223877, #171C38A6), url('assets/magic-garden.jpg') center / cover; animation: soft-round-over .65s ease-out both; }
[data-state='LOST'] .result-emblem { color: #BEDAD7; border-color: #AEC9DC6B; background: radial-gradient(ellipse at 35% 15%, #647D93, #33465D 50%, #182D43); box-shadow: inset 0 2px #FFFFFF2B, 0 3px #172B43, 0 0 0 7px #CCEBFF08; }
[data-state='LOST'] .result-card .eyebrow { color: #E5C6DA; }
[data-state='LOST'] .result-card h2 { color: #F4E6F8; }
.landscape-lock { background: linear-gradient(#56257A, #2C1246); }
.landscape-lock strong { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 27px; }
@keyframes sweet-ready { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: 1; transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes candy-celebrate { 0% { transform: scale(.75) rotate(-12deg); opacity: 0; } 55% { transform: scale(1.08) rotate(5deg); opacity: 1; } 100% { transform: none; } }
@keyframes sugar-confetti { 0% { opacity: 0; translate: 0 15px; scale: .2; } 35% { opacity: 1; } 100% { opacity: 0; translate: 0 -28px; scale: 1; } }
@keyframes soft-round-over { from { opacity: 0; filter: saturate(.6); } to { opacity: 1; filter: saturate(1); } }
@keyframes jelly-aura { from { opacity: .3; transform: scaleX(.9); } to { opacity: .7; transform: scaleX(1.06); } }
@keyframes garden-drift { 0%, 100% { opacity: .12; transform: translate(0, 8px) scale(.8); } 50% { opacity: .7; transform: translate(5px, -9px) scale(1); } }
@keyframes reward-arrive { from { opacity: 0; translate: 0 -5px; } to { opacity: 1; translate: 0 0; } }
@media (max-height: 820px) and (orientation: portrait) { .home-content { gap: 10px; } .home-hero { min-height: 242px; padding-top: 26px; padding-bottom: 14px; } .magic-logo .logo-juicy { font-size: 58px; } .logo-bottom b { font-size: 62px; } .jelly-cluster { height: 69px; flex-basis: 69px; margin-top: 6px; transform: scale(.8); transform-origin: top; } .home-tagline { margin-top: 3px; font-size: 9px; } .round-card { padding: 11px; } .target-row { min-height: 65px; } .play-btn { min-height: 59px; } .result-card { padding: 20px 18px; } .result-emblem { width: 65px; height: 65px; margin-bottom: 15px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
