@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700;800;900&display=swap');
:root{color-scheme:dark;--bg:#0c0d20;--panel:#1c1c35;--text:#fbf8fb;--muted:#aaa8c5;--lime:#cefc62;--pink:#fc7dad;--violet:#9c83fc;--wheel:min(84vw,345px)}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,-apple-system,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,input:focus-visible{outline:2px solid var(--lime);outline-offset:3px}a{color:inherit}.app-shell{position:relative;max-width:540px;min-height:100vh;margin:auto;padding:0 20px 20px;isolation:isolate}.ambient{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.ambient i{position:absolute;display:block;filter:blur(70px);opacity:.48;border-radius:50%}.ambient i:first-child{width:270px;height:300px;background:#532d87;left:-120px;top:150px}.ambient i:nth-child(2){width:260px;height:280px;background:#8b3068;right:-150px;top:460px}.ambient i:nth-child(3){width:200px;height:190px;background:#315474;left:30%;bottom:-180px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:79px;border-bottom:1px solid #ffffff1c}.brand-mark{font-size:12px;font-weight:900;letter-spacing:.035em;display:flex;align-items:center;gap:8px;white-space:nowrap}.brand-symbol{display:grid;place-items:center;background:var(--lime);color:#171624;width:27px;height:27px;border-radius:9px;font-size:17px}.brand-dot{color:var(--lime)}.top-status{display:flex;align-items:center;gap:6px;border:1px solid #ffffff25;border-radius:50px;padding:7px 9px;font-weight:800;font-size:9px;white-space:nowrap;letter-spacing:.04em;color:#e5dffa}.online-dot{width:6px;height:6px;background:var(--lime);box-shadow:0 0 12px var(--lime);border-radius:100%}.screen{animation:appear .5s ease both}.screen[hidden],*[hidden]{display:none!important}.screen-login{padding:25px 0 16px;position:relative}.ticket-sticker{display:table;margin:0 0 25px auto;background:#fca4c6;color:#2b1530;padding:9px 12px;font-size:10px;font-weight:900;transform:rotate(7deg);border-radius:6px;box-shadow:4px 5px 0 #ad577b}.ticket-sticker span{font-size:16px}.hero-emoji{font-size:77px;margin:4px 0 4px;transform-origin:center;animation:bob 3s ease-in-out infinite;filter:drop-shadow(0 15px 24px #e379b94c)}.eyebrow{color:var(--lime);font-weight:900;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.screen-login h1,.game-title{font-family:Unbounded,system-ui,sans-serif;font-weight:900;letter-spacing:-.065em;line-height:1.14;margin:13px 0 17px;font-size:clamp(32px,9vw,49px)}h1 em,h2 em{font-style:normal;color:var(--lime)}.hero-text{font-size:14px;line-height:1.58;color:#c4c0dd;max-width:390px;margin:0 0 28px}.glass-card{border:1px solid #ffffff26;background:linear-gradient(155deg,#282743de,#151429ed);box-shadow:0 25px 70px #0004;border-radius:23px;padding:22px}.card-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#e9e5fa;font-size:10px;letter-spacing:.07em;font-weight:900;margin-bottom:22px}.card-heading span:last-child{color:#a8a1c2}.tiny-icon{font-size:19px;color:var(--lime)}label{font-size:12px;font-weight:800;color:#ece9fc;display:block;margin:15px 0 8px}input{display:block;width:100%;height:51px;padding:0 15px;background:#0e0e23;border-radius:12px;border:1px solid #ffffff2a;color:#fff;font-size:14px;min-width:0}input::placeholder{color:#74708c}.password-line{position:relative}.password-line input{padding-right:52px}.eye-button{position:absolute;right:7px;top:5px;height:41px;width:39px;border:0;color:#b4accd;font-size:21px;background:transparent}.action-button{margin-top:22px;border:0;display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;padding:18px 19px;background:var(--lime);color:#15172a;border-radius:13px;font-family:Unbounded,system-ui,sans-serif;font-size:12px;font-weight:900;box-shadow:0 7px 0 #a3c54f,0 19px 22px #bfff5230;transition:transform .15s ease,box-shadow .15s ease}.action-button:active{transform:translateY(5px);box-shadow:0 2px 0 #a3c54f}.action-button span{font-size:21px;line-height:0}.fine-print{text-align:center;color:#837f9b;font-size:11px;line-height:1.45;margin:24px 10px 0}.bottom-message{text-align:center;color:#817c9e;letter-spacing:.055em;font-size:9px;font-weight:800;margin:37px 0 5px}.bottom-message span{color:#fc85b1}
.welcome-row{display:flex;align-items:center;justify-content:space-between;padding-top:24px;gap:8px}.welcome-row .eyebrow{margin:0;font-size:10px}.logout-link{border:0;background:transparent;color:#c7bedb;font-size:12px;text-decoration:underline;padding:8px 0}.game-title{font-size:clamp(29px,8vw,44px);margin:19px 0 10px;overflow-wrap:anywhere}.game-title span{color:#ffa7c9}.game-description{color:#c9c4df;font-size:13px;line-height:1.55;margin:0 0 22px;max-width:410px}.game-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 20px}.mini-stat{border:1px solid #ffffff29;border-radius:14px;background:#ffffff0c;padding:15px 15px}.mini-stat span{font-weight:800;color:#aaa3c5;letter-spacing:.09em;font-size:9px;display:block;margin-bottom:8px}.mini-stat strong{font-family:Unbounded,sans-serif;font-size:16px;font-weight:800}.roulette-card{background:linear-gradient(160deg,#23223f 0%,#16162d 100%);border:1px solid #5f54777d;border-radius:23px;padding:18px 12px 24px;box-shadow:0 20px 50px #0006}.roulette-head{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 5px;font-size:9px;letter-spacing:.08em;font-weight:900;color:#aea7c8}.blinking{color:var(--lime);font-size:9px;animation:blink 1.2s infinite}.wheel-area{position:relative;width:var(--wheel);height:var(--wheel);margin:24px auto 18px;display:grid;place-items:center}.wheel-halo{position:absolute;width:calc(100% + 18px);height:calc(100% + 18px);border:2px dashed #e6d7fc8a;border-radius:50%}.wheel{position:relative;width:100%;height:100%;border-radius:50%;overflow:hidden;box-shadow:0 0 0 6px #4c365c,0 0 0 11px #bb87e6,0 15px 30px #0009;background:conic-gradient(from 0deg,#fac787 0.00000000deg 51.42857143deg,#8ac9e8 51.42857143deg 102.85714286deg,#ed8fbc 102.85714286deg 154.28571429deg,#dac0fa 154.28571429deg 205.71428571deg,#94ccb2 205.71428571deg 257.14285714deg,#ffb39e 257.14285714deg 308.57142857deg,#ddff77 308.57142857deg 360.00000000deg);will-change:transform}.wheel::after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 0deg,transparent 0deg 50.92857143deg,#3d2b518c 50.92857143deg 51.42857143deg)}.wheel-label{position:absolute;top:50%;left:50%;width:84px;display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center;color:#1b2030;font-weight:900;font-family:Unbounded,system-ui,sans-serif;font-size:9px;line-height:1.2;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(calc(var(--wheel)*-.345)) rotate(var(--neg-angle))}.wheel-label .item-icon{font-size:27px;line-height:1.1}.wheel-label.money .item-icon{font-size:0}.wheel-label.money .item-icon img{width:57px;height:38px;object-fit:contain;filter:drop-shadow(0 3px 2px #0003)}.wheel-pointer{width:0;height:0;position:absolute;left:50%;top:-19px;z-index:3;transform:translateX(-50%);border-style:solid;border-width:24px 15px 0;border-color:#fff transparent transparent;filter:drop-shadow(0 4px 1px #32233e)}.wheel-center{position:absolute;z-index:2;width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:#26213e;border:6px solid white;box-shadow:0 0 0 5px #c59af0,0 5px 15px #0008;overflow:hidden}.wheel-center::after{content:'';position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 2px #ffffff12;pointer-events:none}.wheel-center-star{position:relative;z-index:2;font-size:33px;color:var(--lime);transition:opacity .18s ease,transform .18s ease}.wheel-center-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;border-radius:50%;opacity:0;transition:opacity .18s ease;transform:scale(1.06);filter:saturate(1.03) contrast(1.03)}.wheel-center.playing .wheel-center-video{opacity:1}.wheel-center.playing .wheel-center-star{opacity:0;transform:scale(.8)}.wheel-note{color:#ccc7e3;text-align:center;font-size:12px;min-height:20px;padding:0 8px}.spin-button{margin:21px auto 15px;width:calc(100% - 15px);background:#fe8eb7;box-shadow:0 7px 0 #bb6087,0 20px 25px #f98cb32f}.spin-button:active{box-shadow:0 2px 0 #bb6087}.spin-button:disabled{opacity:.66}.attempt-warning{text-align:center;color:#afa6c8;font-size:10px;line-height:1.5}
.prize-card{border:1px solid #d6fd8b7c;background:radial-gradient(circle at 50% 0,#475a3b 0,#1d342f 55%,#15272c);border-radius:24px;margin:20px 0;padding:26px 17px 28px;text-align:center;box-shadow:0 20px 45px #0005;animation:pop .55s ease both}.prize-label{color:var(--lime);font-size:10px;letter-spacing:.1em;font-weight:900}.prize-money{width:160px;height:116px;object-fit:contain;display:block;margin:8px auto 2px;filter:drop-shadow(0 15px 10px #0005)}.prize-card h3{font:900 22px/1.18 Unbounded,sans-serif;margin:8px 0 13px}.prize-card p{font-size:12px;line-height:1.55;color:#c6dacd;max-width:290px;margin:0 auto 15px}.prize-amount{font:900 clamp(30px,9vw,43px)/1.1 Unbounded,sans-serif;color:var(--lime);margin:18px auto 14px}.added-note{display:inline-block;background:#b5fb8c29;color:var(--lime);font-size:10px;letter-spacing:.05em;font-weight:900;border:1px solid #cefc6260;border-radius:40px;padding:10px 13px}.balance-card{border:1px solid #ffffff2b;background:#22213a;border-radius:20px;margin:20px 0;padding:21px}.balance-card .card-heading{margin-bottom:12px}.balance-card .card-heading span:last-child{color:var(--lime);font-size:21px}.balance-value{font:900 clamp(32px,9vw,43px)/1.2 Unbounded,sans-serif}.balance-card p{font-size:11px;line-height:1.6;color:#c9c4db;margin:13px 0}.balance-card label{margin-top:18px}.withdraw-button{margin-bottom:12px;background:var(--lime)}.withdraw-status{border:1px solid #a5ed8e70;background:#b7f89919;border-radius:13px;color:#c9ffc2;padding:17px;line-height:1.55;font-size:12px}.withdraw-status strong{display:block;font-size:15px;margin-bottom:7px}.game-footer{text-align:center;color:#958dae;font-size:11px;padding:8px 0 18px}.error-message{color:#ff9fac;font-size:12px;line-height:1.4;margin:13px 0 0}.toast{position:fixed;z-index:100;left:50%;bottom:30px;width:max-content;max-width:calc(100vw - 40px);transform:translateX(-50%);padding:14px 18px;border:1px solid #ffffff4d;background:#1c1b32;box-shadow:0 15px 30px #0007;border-radius:16px;color:white;font-size:12px;text-align:center}.confetti-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:99}.confetti-bit{position:absolute;top:-25px;width:10px;height:18px;animation:fall var(--duration) linear var(--delay) forwards;transform:rotate(var(--spin));border-radius:2px}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-9px) rotate(8deg)}}@keyframes blink{0%,100%{opacity:1}50%{opacity:.25}}@keyframes appear{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes pop{from{opacity:0;transform:translateY(20px) scale(.93)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fall{to{top:110%;transform:translateX(var(--drift)) rotate(calc(var(--spin) + 980deg));opacity:.6}}
@media(max-width:360px){.app-shell{padding:0 14px 20px}.brand-mark{font-size:10px}.top-status{font-size:8px}.wheel-label{width:70px;font-size:8px}.wheel-label .item-icon{font-size:23px}.wheel-label.money .item-icon img{width:49px}.roulette-card{padding-left:8px;padding-right:8px}.wheel-area{margin-top:25px}.card-heading{font-size:9px}}@media(min-width:540px){.app-shell{border-left:1px solid #ffffff10;border-right:1px solid #ffffff10}}@media(prefers-reduced-motion:reduce){.hero-emoji,.blinking,.screen,.prize-card{animation:none}.wheel{transition:none!important}}

/* Three-round birthday storyline */
.joke-card{margin:18px 8px 4px;padding:19px 17px 21px;text-align:center;border:1px solid #ff93c36f;border-radius:20px;background:linear-gradient(135deg,#492b51,#2c2345);animation:pop .45s ease both;box-shadow:0 10px 24px #0003}
.joke-badge{font-size:10px;font-weight:900;letter-spacing:.13em;color:#ffbcda}
.joke-icon{font-size:67px;margin:5px 0;animation:bob 2.2s ease-in-out infinite;line-height:1.25}
.joke-card h3{font:900 clamp(16px,5.4vw,22px)/1.25 Unbounded,sans-serif;color:#fff;margin:4px 0 8px}
.joke-card p{font-size:13px;line-height:1.57;color:#eee1ef;margin:0 auto;max-width:310px}
@media(prefers-reduced-motion:reduce){.joke-card,.joke-icon{animation:none}}
.wheel-center-video {
    object-position: center 10%;
    transform: scale(1.7);
}