:root{--navy:#102333;--blue:#23627f;--bg:#f2f5f7;--muted:#71808c;--orange:#f28b30;--white:#fff;font-family:'Poppins',sans-serif;color:var(--navy);background:#e5ebef;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.app-shell{max-width:560px;margin:auto;min-height:100dvh;background:var(--bg);box-shadow:0 0 90px #1023330c}.topbar{background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:25px 28px 23px;padding-top:calc(25px + env(safe-area-inset-top));border-bottom:3px solid #ffffff06}.brand{display:flex;gap:11px;align-items:center;color:inherit;text-decoration:none;font-family:'Poppins',sans-serif;font-size:25px;font-weight:800;letter-spacing:1px;line-height:1.15}.brand-symbol{display:grid;place-items:center;color:var(--orange)}.brand-symbol svg{height:39px;width:39px;stroke-width:1.4}.brand-light{font-weight:400}.brand small{display:block;font-family:'Poppins',sans-serif;font-size:8px;letter-spacing:3px;color:#aabac6;font-weight:400;margin-top:7px}.header-actions{display:flex;gap:12px;align-items:center}.icon-button{border:1px solid #ffffff14;background:#ffffff05;color:#d9e2e8;display:grid;place-items:center;width:38px;height:38px;border-radius:12px}.icon-button svg{width:19px;height:19px}.profile-button{border-radius:50%;background:#294051;border-color:#486070}.profile-button svg{width:18px;height:18px}main{padding:28px 25px calc(112px + env(safe-area-inset-bottom))}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:10px}.eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:700;color:var(--muted);margin:0 0 6px}h1,h2,p{margin-top:0}h1,h2{font-family:'Poppins',sans-serif}h1{font-size:30px;letter-spacing:-1.2px;line-height:1.2;margin-bottom:0;font-weight:800}h1>span{color:var(--orange)}.connection-label{font-size:10px;display:flex;align-items:center;gap:5px;color:#647582;white-space:nowrap}.connection-label i{width:5px;height:5px;border-radius:50%;background:#9aabb6}.connection-label.connected i{background:#398c6e}.balance-card{position:relative;overflow:hidden;background:linear-gradient(115deg,#153446,#102333);color:white;border-radius:20px;padding:24px 24px 19px;box-shadow:0 8px 20px #10233312}.balance-top,.balance-label,.balance-bottom{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.balance-label{gap:9px;font-size:13px;font-weight:400;justify-content:flex-start;color:#e1ebf0}.balance-label svg{width:19px;height:19px;color:#a3bdcd}.balance-eye{background:transparent;border:0;padding:3px;color:#9cb4c3;display:grid;place-items:center}.balance-eye svg{width:19px;height:19px}.balance-amount{font-family:'Poppins',sans-serif;font-size:35px;letter-spacing:-1px;font-weight:700;position:relative;z-index:1;margin:18px 0 23px;min-height:48px}.balance-amount span{letter-spacing:2px}.balance-bottom{padding-top:14px;border-top:1px solid #ffffff15;font-size:10px;color:#b1c2ce;gap:8px}.balance-detail{display:flex;align-items:center;gap:5px;font-size:8px;letter-spacing:1.5px;color:#7d9aaa}.balance-detail svg{width:15px;height:15px}.container-lines{position:absolute;right:-18px;top:32px;width:155px;height:135px;border:1px solid #ffffff06;transform:skewY(-22deg);background:repeating-linear-gradient(90deg,transparent 0 17px,#ffffff04 18px 19px)}.card{background:white;border:1px solid #e5eaee;border-radius:19px;margin-top:15px;box-shadow:0 3px 9px #10233302}.income-card{padding:21px 19px;display:flex;align-items:center;gap:13px}.section-icon{width:43px;height:43px;border-radius:13px;background:#edf4f7;display:grid;place-items:center;color:var(--blue);flex-shrink:0}.section-icon svg{width:22px;height:22px}h2{font-size:16px;letter-spacing:-.35px;font-weight:800;margin-bottom:8px}.income-content{flex:1}.income-content h2{font-size:13px;margin-bottom:6px}.income-content p{font-size:11px;color:var(--muted);margin-bottom:0;line-height:1.5}.income-value{font-size:15px;color:#8997a2;font-weight:600}.checkin-card{padding:22px}.card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.orange-icon{background:#fff2e6;color:#ce7022}.status-badge{font-size:9px;letter-spacing:.2px;font-weight:600;padding:6px 9px;border-radius:6px;background:#f0f3f5;color:#73818c}.status-badge.available{background:#e9f4ef;color:#2c775b}.checkin-card h2{font-size:19px}.checkin-card>p:not(.feature-note){color:var(--muted);font-size:12px;line-height:1.7;margin-bottom:19px}.checkin-button{width:100%;display:flex;justify-content:center;align-items:center;gap:24px;border:0;border-radius:10px;background:var(--orange);color:#102333;font-size:11px;letter-spacing:1px;font-weight:800;min-height:47px}.checkin-button svg{width:17px;height:17px}.checkin-button:disabled{background:#f9c697;color:#674426}.feature-note{margin:12px 0 0;display:flex;justify-content:center;gap:5px;font-size:9px;line-height:1.5;color:#7c8993;text-align:center}.feature-note svg{width:12px;height:12px;margin-top:1px}.roulette-card{padding:24px 22px 21px;overflow:hidden}.roulette-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.roulette-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.roulette-heading h2{font-size:19px;margin-bottom:0}.wheel-stage{position:relative;height:243px;display:grid;place-items:center;margin-top:10px;isolation:isolate}.wheel-halo{width:226px;height:226px;border:1px solid #eaf0f3;border-radius:50%;position:absolute;background:radial-gradient(circle,#f0f5f7 0%,#f8fafb 65%,transparent 66%)}.wheel-halo:before,.wheel-halo:after{content:'';position:absolute;border:1px solid #f0f3f5;border-radius:50%;inset:-13px}.wheel-halo:after{inset:-26px}.wheel-rim{width:197px;height:197px;padding:7px;border-radius:50%;background:#fff;box-shadow:0 5px 18px #1023331a,0 0 0 1px #dee6eb;position:relative}.wheel{height:100%;width:100%;border-radius:50%;background:conic-gradient(from -22.5deg,#102333 0 45deg,#f2f5f7 45deg 90deg,#23627f 90deg 135deg,#f28b30 135deg 180deg,#102333 180deg 225deg,#f2f5f7 225deg 270deg,#23627f 270deg 315deg,#f28b30 315deg 360deg);position:relative;display:grid;place-items:center;border:1px solid #10233315}.wheel-center{z-index:2;position:relative;display:grid;place-items:center;background:var(--navy);width:61px;height:61px;border:6px solid white;border-radius:50%;box-shadow:0 1px 6px #10233325;color:var(--orange)}.wheel-center svg{width:27px;height:27px}.wheel-pointer{position:absolute;top:18px;left:calc(50% - 9px);border-left:9px solid transparent;border-right:9px solid transparent;border-top:20px solid var(--orange);z-index:3;filter:drop-shadow(0 2px 1px #10233320)}.wheel-mark{position:absolute;font-size:21px;line-height:1;color:#ffffff9c;left:calc(50% - 10px);top:calc(50% - 10px)}.m1{transform:rotate(0deg) translateY(-65px)}.m2{transform:rotate(45deg) translateY(-65px);color:#23627f77}.m3{transform:rotate(90deg) translateY(-65px)}.m4{transform:rotate(135deg) translateY(-65px)}.m5{transform:rotate(180deg) translateY(-65px)}.m6{transform:rotate(225deg) translateY(-65px);color:#23627f77}.m7{transform:rotate(270deg) translateY(-65px)}.m8{transform:rotate(315deg) translateY(-65px)}.roulette-description{text-align:center;color:var(--muted);font-size:11px;margin-bottom:16px}.roulette-button{min-height:43px;width:100%;border:1px solid #dce4e9;background:#f3f6f8;border-radius:10px;display:flex;justify-content:center;gap:8px;align-items:center;font-size:10px;font-weight:700;letter-spacing:.7px;color:#8796a1}.roulette-button svg{width:14px;height:14px}.roulette-card .feature-note{font-size:8px}.footer-signature{margin:25px 0 0;text-align:center;font-size:8px;letter-spacing:1.1px;color:#8d9ca6}.footer-signature span{margin:0 5px;color:#d09b6f}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fffffff5;backdrop-filter:blur(16px);padding:10px 14px calc(11px + env(safe-area-inset-bottom));border-top:1px solid #e0e7ec;z-index:10;box-shadow:0 -5px 20px #10233304}.nav-item{display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 0 3px;text-decoration:none;border:0;background:none;color:#7e8c97;position:relative;font-size:9px;font-weight:400}.nav-item svg{height:21px;width:21px}.nav-item.selected{color:var(--blue);font-weight:700}.nav-item.selected:before{content:'';position:absolute;top:-11px;left:calc(50% - 13px);width:26px;height:3px;border-radius:0 0 4px 4px;background:var(--orange)}.nav-item.selected svg{fill:#23627f0d}.load-feedback{font-size:12px;text-align:center;margin-top:18px;color:var(--muted)}.load-feedback button{color:var(--blue);background:white;border:1px solid #dce4e9;border-radius:8px;padding:8px 15px}dialog{border:1px solid #e5eaee;border-radius:22px;max-width:min(370px,calc(100% - 32px));padding:28px;color:var(--navy);box-shadow:0 20px 80px #10233330}dialog::backdrop{background:#10233380;backdrop-filter:blur(4px)}dialog h2{font-size:20px}dialog p{font-size:13px;line-height:1.7;color:var(--muted)}.dialog-icon{color:var(--blue);margin-bottom:14px}.dialog-close{width:100%;background:var(--navy);color:white;border:0;border-radius:10px;padding:12px;font-weight:600}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}.loading .balance-amount{opacity:.5}.loading .balance-amount span{animation:pulse 1.2s infinite alternate}@keyframes pulse{to{opacity:.3}}@media(min-width:700px){body{padding:30px 0}.app-shell{border-radius:26px 26px 0 0;overflow:hidden;min-height:calc(100dvh - 30px)}.topbar{padding:27px 30px}main{padding-left:30px;padding-right:30px}.bottom-nav{border-radius:0}}@media(max-width:360px){main{padding-left:16px;padding-right:16px}.topbar{padding-left:20px;padding-right:20px}.connection-label{font-size:8px}.page-heading .eyebrow{font-size:8px}.balance-detail{display:none}.roulette-heading h2{font-size:17px}.roulette-heading .status-badge{font-size:8px}.income-card{gap:9px;padding:18px 14px}.income-content h2{font-size:12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
.bonus-card{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px}.bonus-card h2{font-size:15px;margin:0 0 6px}.bonus-card p:not(.eyebrow){font-size:10px;color:var(--muted);margin:0;line-height:1.6}.bonus-card strong{color:var(--blue);font-size:20px;white-space:nowrap}.roulette-button:not(:disabled){background:var(--orange);border-color:var(--orange);color:var(--navy)}.wheel-number{position:absolute;transform:translate(-50%,-50%);color:white;font-size:13px;font-weight:700;z-index:1}.wheel-number.dark{color:var(--navy)}.roulette-prizes{display:grid;gap:8px;padding:0;list-style:none;margin:20px 0 0}.roulette-prizes:empty{display:none}.roulette-prizes li{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);border-top:1px solid #edf1f4;padding-top:8px;line-height:1.6}.roulette-prizes b{font-weight:400;color:var(--navy);overflow-wrap:anywhere}.roulette-prizes li span{flex-shrink:0}#roulette-result{padding:13px;border-radius:9px;background:#edf4f7;color:var(--blue);font-size:12px;line-height:1.7;margin:15px 0 0}.promotion-history{padding:19px 22px}.promotion-history summary{cursor:pointer;font-size:13px;font-weight:700}.promotion-record{display:grid;gap:5px;border-top:1px solid #edf1f4;padding:13px 0;font-size:11px;margin-top:10px}.promotion-record span,.promotion-record time{font-size:10px;color:var(--muted)}.promotion-record strong{overflow-wrap:anywhere}.promotion-retry{background:#f1f5f7;color:var(--blue);border:1px solid #dfe7ec;padding:9px 12px;font-size:11px;border-radius:8px;margin-top:14px}@media(max-width:360px){.bonus-card{align-items:flex-start;flex-direction:column}.roulette-prizes li{flex-direction:column;gap:2px}}
.roulette-card .wheel-stage{height:clamp(252px,68vw,310px)}.roulette-card .wheel-rim{width:clamp(208px,60vw,280px);height:clamp(208px,60vw,280px)}.roulette-card .wheel-pointer{top:calc(50% - clamp(104px,30vw,140px) - 6px)}.roulette-card .wheel-halo{width:clamp(224px,65vw,296px);height:clamp(224px,65vw,296px)}.roulette-wheel-svg{position:absolute;inset:0;width:100%;height:100%;stroke:none;fill:none;overflow:hidden}.wheel-prize-label{font-family:'Poppins',sans-serif;font-size:12px;font-weight:600;fill:#fff;stroke:none;paint-order:normal}.wheel-prize-label.dark{fill:#102333}.wheel-prize-value{font-size:11px;font-weight:800}
.roulette-card .wheel{touch-action:pan-y;backface-visibility:hidden;transform:translateZ(0);will-change:transform}.roulette-card .roulette-button{touch-action:manipulation;-webkit-user-select:none;user-select:none}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:360px){.header-actions{gap:6px}.header-actions .icon-button{width:32px;height:34px;flex-shrink:0}.topbar .brand{font-size:22px;gap:8px}.topbar .brand-symbol svg{width:30px;height:30px}.topbar .brand small{font-size:7px;letter-spacing:2px}}
.missions-entry{display:flex;align-items:center;gap:13px;padding:20px;color:var(--navy);text-decoration:none;border:1px solid #e1e8ed}.missions-entry>span:nth-child(2){flex:1;min-width:0}.missions-entry strong{display:block;font-family:'Poppins',sans-serif;font-size:16px}.missions-entry small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:5px}.missions-entry>svg{width:19px;color:var(--blue)}
.income-onboarding{display:inline-block;font-size:12px;font-weight:700;color:#23627f;text-underline-offset:3px;line-height:1.8;margin-top:6px}.checkin-reward{display:grid;gap:6px;padding:14px 16px;border:1px solid #ffd7b2;border-radius:12px;background:#fff1e3;margin:18px 0}.checkin-reward strong{font-size:14px;font-weight:700;color:#9a4a0b}.checkin-reward span{font-size:11px;line-height:1.6;color:#88572f}.bonus-card{background:#f1f3f5;border-color:#e0e5e9;align-items:flex-start}.bonus-card h2{font-size:14px;color:#596a76}.bonus-card strong{font-size:18px;color:#697985}.bonus-card .eyebrow{font-size:8px;color:#7d8a94}.bonus-explanation{margin-top:9px;font-size:11px;color:#637582}.bonus-explanation summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;line-height:1.8}.bonus-explanation p{margin-top:9px!important;max-width:320px}.promotion-history-wrap{position:relative;padding:0}.promotion-history-wrap .promotion-history{padding:20px 68px 20px 22px}.promotion-history-wrap .promotion-retry{position:absolute;top:11px;right:12px;margin:0;width:40px;height:40px;display:grid;place-items:center;font-size:25px;font-weight:400;line-height:1;padding:0;border:0;background:transparent;color:#5b7384}.promotion-history-wrap .promotion-retry:hover{background:#edf3f6}.promotion-history-wrap .promotion-history[open]{padding-right:22px}.promotion-history summary{padding-right:30px}.missions-entry progress{appearance:none;display:block;border:0;height:5px;width:100%;border-radius:6px;overflow:hidden;background:#dce7ee;margin:10px 0 2px}.missions-entry progress::-webkit-progress-bar{background:#dce7ee}.missions-entry progress::-webkit-progress-value{background:#f28b30;border-radius:6px}.missions-entry progress::-moz-progress-bar{background:#f28b30}
@media(max-width:360px){.checkin-reward{padding:13px}.checkin-reward strong{font-size:13px}.income-onboarding{font-size:11px}.promotion-history-wrap .promotion-history{padding-left:18px}.promotion-history-wrap .promotion-history[open]{padding-right:18px}}

/* Six client tabs, retaining their original routes and order. */
.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr));padding-left:6px;padding-right:6px}.nav-item[href="./referrals"].selected{color:#F97316}.nav-item[href="./referrals"].selected svg{fill:none}

.icon-button#notifications{position:relative}
dialog.notification-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(420px,100vw);max-width:none;height:100dvh;max-height:100dvh;padding:22px;border:0;border-left:1px solid #e5e7eb;border-radius:0;background:#f9fafb;color:#111827;box-shadow:-16px 0 48px #0f172a26;overflow-y:auto}
dialog.notification-drawer::backdrop{background:#0f172a80;backdrop-filter:blur(2px)}
.notification-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}
.notification-drawer-head h2{margin:0;font-size:20px;font-weight:700}
.notification-drawer-actions{display:flex;gap:8px;align-items:center}
.notification-drawer-actions button{border:0;background:transparent;color:#f97316;font-size:12px;font-weight:600;text-decoration:underline;padding:6px}
.notification-drawer-actions button:disabled{color:#9ca3af;text-decoration:none}
.notification-drawer-status{margin:16px 0;color:#6b7280;font-size:13px;line-height:1.6}
.notification-drawer-list{display:grid;gap:8px}
.notification-drawer-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start;width:100%;padding:13px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#111827;text-align:left}
.notification-drawer-item.unread{background:#ffedd5;border-color:#fed7aa}
.notification-kind-icon{font-size:21px}
.notification-item-copy{display:grid;gap:4px}
.notification-item-copy strong{font-size:14px;font-weight:700}
.notification-item-copy span{font-size:13px;line-height:1.5;color:#4b5563}
.notification-item-copy small{font-size:11px;color:#9ca3af}
.notification-unread-badge{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font:700 11px/1 'Poppins',sans-serif;z-index:2}
.notification-drawer-item:focus-visible,.notification-drawer-actions button:focus-visible{outline:3px solid #f97316;outline-offset:2px}

dialog.onboarding-dialog{width:min(400px,90vw);max-width:90vw;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:20px;background:#fff;overflow:auto;box-shadow:0 24px 80px #0005}
dialog.onboarding-dialog::backdrop{background:rgba(0,0,0,.7)}
.onboarding-card{padding:25px}
.onboarding-device-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.onboarding-device-actions button{min-height:48px;border-radius:10px;padding:10px 12px;font:600 13px/1.3 Poppins,sans-serif;cursor:pointer}
.onboarding-install{border:1px solid #F97316;background:#fff;color:#F97316}
.onboarding-push{border:1px solid #F97316;background:#F97316;color:#fff}
.onboarding-device-actions button:disabled{opacity:.65;cursor:wait}
.owner-admin-action{grid-column:1/-1}
.onboarding-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.onboarding-progress{display:flex;gap:7px}
.onboarding-dot{width:8px;height:8px;border-radius:50%;background:#e5e7eb}
.onboarding-dot.active{background:#f97316}
.onboarding-top>button{border:0;background:transparent;color:#9ca3af;text-decoration:underline;font-size:13px}
.onboarding-content{text-align:center;min-height:220px}
.onboarding-content h2{margin:12px 0;font-size:24px;font-weight:800;color:#111827}
.onboarding-content>p{color:#6b7280;font-size:16px;line-height:1.7}
.onboarding-logo{display:grid;place-items:center;margin:16px auto;width:64px;height:64px;border-radius:18px;background:#ffedd5;font-size:42px}
.onboarding-illustration{padding:15px 0;font-size:54px}
.onboarding-steps{display:grid;gap:16px;margin-top:22px;text-align:left}
.onboarding-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:center}
.onboarding-step>span:first-child{font-size:24px}
.onboarding-step strong,.onboarding-step small{display:block}
.onboarding-step strong{font-size:15px;color:#111827}
.onboarding-step small{margin-top:3px;color:#6b7280;font-size:13px}
.onboarding-referral-copy{margin:25px 0!important;font-size:15px!important}
.onboarding-referral-copy::first-letter{}
.onboarding-feedback{min-height:18px;margin:5px 0;color:#b91c1c;font-size:12px;text-align:center}
.onboarding-next{width:100%;min-height:52px;border:0;border-radius:12px;background:#f97316;color:#fff;font-size:15px;font-weight:700}
.onboarding-next:disabled{opacity:.6}
@media(max-width:480px){.onboarding-card{padding:20px}.onboarding-content{min-height:210px}.onboarding-device-actions{grid-template-columns:1fr}.onboarding-device-actions button{font-size:14px}}
dialog.push-prompt{width:min(420px,calc(100% - 32px));max-width:420px;padding:26px;border-radius:18px;background:#fff;color:#111827}
dialog.push-prompt h2{font-size:21px;line-height:1.45;font-weight:700}
dialog.push-prompt p{font-size:13px;line-height:1.7;color:#6b7280}
dialog.push-prompt .push-prompt-message{min-height:18px;color:#b91c1c}
.push-prompt-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}
.push-prompt-actions button{min-height:44px;padding:10px 18px;border-radius:10px;font-size:13px;font-weight:700}
.push-enable{border:0;background:#f97316;color:#fff}
.push-later{border:1px solid #e5e7eb;background:#fff;color:#6b7280}
.notification-drawer-item{position:relative}
.notification-drawer-item.unread:before{content:'';position:absolute;left:5px;top:18px;width:7px;height:7px;border-radius:50%;background:#f97316}
.notification-drawer-item.unread{padding-left:17px}

/* BOXPORT supplied brand assets */
.brand-logo{display:block;width:120px;height:60px;object-fit:contain}.admin-brand .brand-logo{width:142px;height:71px}.identity-brand{padding:4px 8px;border-radius:10px;background:#0F172A}.identity-brand-logo{display:block;width:116px;height:58px;object-fit:contain}@media(max-width:360px){.topbar .brand-logo{width:104px;height:52px}}
@media(max-width:699px){.home-page main{padding-bottom:calc(78px + env(safe-area-inset-bottom))}}

/* Eight equal sectors; probability comes exclusively from server weights. */
.roulette-wheel-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.wheel-prize-name{font:600 10px 'Poppins',sans-serif;fill:#fff}.roulette-wheel-svg .wheel-prize-value{font:800 13px 'Poppins',sans-serif;fill:#fff}.roulette-wheel-svg text.dark{fill:#102333}.cash-seal{fill:#ffffff20;stroke:#fce3a1;stroke-width:1.2}.wheel-sector{stroke:#ffffff24;stroke-width:.7}.wheel-sector.winner{animation:prize-glow .65s ease-in-out 2}@keyframes prize-glow{50%{filter:brightness(1.7);stroke:#fff;stroke-width:4}}
.roulette-subtitle{text-align:center;font-size:11px;color:#71808c;margin:12px 0}.roulette-settings{font-size:11px;margin-top:14px;color:#71808c}.roulette-settings summary{cursor:pointer}.roulette-settings label{display:flex;gap:8px;align-items:center;min-height:44px}#prize-dialog{text-align:center}#prize-name{font-size:22px;font-weight:800}#prize-value{font-size:32px;font-weight:800;color:#f97316;margin:10px 0}#prize-value.cash{color:#10b981}#prize-destination{font-size:13px;color:#71808c}
.roulette-card .wheel-rim{width:min(100%,294px);height:auto;aspect-ratio:1}.roulette-card .wheel-stage{height:auto;min-height:286px;padding:20px 0}.roulette-card .wheel-pointer{top:8px}.roulette-card .wheel-center{width:50px;height:50px;border-width:4px}.roulette-card .wheel-center svg{width:22px;height:22px}.roulette-button:not(:disabled){box-shadow:0 4px 12px #f9731628}
@media(prefers-reduced-motion:no-preference){.card,.balance-card{animation:card-enter .25s ease-out both}.roulette-button,.checkin-button,.nav-item,.icon-button{transition:transform .15s ease,background-color .15s ease}.roulette-button:active,.checkin-button:active,.icon-button:active{transform:scale(.98)}@keyframes card-enter{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media(max-width:699px){.bottom-nav{backdrop-filter:none;background:#fff}dialog::backdrop{backdrop-filter:none}.app-shell{box-shadow:none}}

.roulette-refresh{width:100%;min-height:44px;margin:8px 0;border:1px solid #23627f;border-radius:10px;background:#fff;color:#23627f;font-weight:700}.roulette-prize-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.roulette-prize-list[hidden],.roulette-refresh[hidden]{display:none}.roulette-prize-list li{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:10px;background:#f2f5f7;font-size:12px}.roulette-prize-list span{color:#23627f}
