/* styles.css */
*{box-sizing:border-box} :root{--purple:#a32fe6;--ink:#252337;--muted:#9196aa;--surface:#f3f4f9}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#e9eaf2;color:var(--ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #a32fe6;outline-offset:4px}button{touch-action:manipulation}.app{max-width:430px;margin:auto;min-height:100dvh;background:var(--surface);position:relative;padding-bottom:108px;overflow:hidden}header{height:100px;display:flex;align-items:center;justify-content:space-between;padding:12px 30px;background:#fff;position:relative}h1{font-size:25px;font-weight:500;position:absolute;left:50%;transform:translateX(-50%);margin:0}.brand{text-decoration:none;width:51px;display:grid;justify-items:center;color:#fff}.brand b{font-size:33px;border-radius:12px;background:linear-gradient(135deg,#dc9aff,#7a11d2 65%,#d796ff);width:49px;height:49px;text-align:center;line-height:49px;box-shadow:inset 0 1px 5px #fff,0 3px 5px #b8a4d0;text-shadow:1px 2px 2px #6922a8}.brand small{font-size:7px;color:#8a33ba;font-weight:bold;margin-top:4px;letter-spacing:1px}.announcement{font-size:15px;color:#9c42cf;border:1px solid #e5d9ef;background:linear-gradient(#fff,#f4eafb);box-shadow:inset 0 0 3px #cfbadf;border-radius:10px;padding:9px 10px}.announcement span{font-size:19px}.banner-area{padding-top:20px}.carousel{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 30px}.carousel::-webkit-scrollbar{display:none}.banner{flex:0 0 100%;height:290px;border-radius:22px;position:relative;overflow:hidden;text-align:left;background:linear-gradient(120deg,#8018ca,#ba58e9 52%,#e3cffc);scroll-snap-align:center;border:2px solid #fff;isolation:isolate}.hero-art{position:absolute;inset:0;background-image:url('assets/optimized/promo-atlas.7bebedb56f82.webp');background-size:200% 200%;background-position:0 0;z-index:-2}.banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(100,17,158,.9),rgba(124,24,185,.45) 45%,transparent 70%);z-index:-1}.banner-copy{padding:26px 25px;position:relative;max-width:70%;color:#fff}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#f6d9ff}.banner h2{font-size:35px;line-height:1.08;margin:15px 0 10px;letter-spacing:-1.3px;text-shadow:0 2px 5px #662181}.banner em{font-style:normal;color:#ffedb5}.banner p{font-size:11px;max-width:175px;line-height:1.5;color:#f6dfff}.banner-cta{display:inline-flex;gap:20px;margin-top:12px;border:1px solid #f4d68e;border-radius:30px;background:linear-gradient(#ffeec6,#e9b85c);color:#6a3298;font-size:11px;font-weight:bold;padding:10px 15px;box-shadow:0 3px 8px #6a1a9060}.second .hero-art{background-position:100% 0}.third .hero-art{background-position:100% 100%}.dots{display:flex;gap:8px;justify-content:center;margin:13px 0 21px}.dots button{padding:0;width:18px;height:4px;background:#c5c4d7;border-radius:3px}.dots button.selected{background:#ad50df;width:27px}.content{padding:0 30px}.glass{border:1.5px solid white;border-radius:21px;box-shadow:5px 7px 16px #dce0eb,-4px -4px 14px #fff;background:linear-gradient(120deg,#f7f8fb,#f1f2f8)}.ticker{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:15px 18px;font-size:13px;white-space:nowrap}.ticker>span:nth-child(2){overflow:hidden;text-overflow:ellipsis}.speaker{color:#a23ce3;font-size:21px;font-weight:bold}.chevron{margin-left:auto;color:#b1acc2;font-size:22px}.wallet{display:flex;justify-content:space-between;align-items:center;padding:27px 25px;margin-top:22px;gap:15px}.account-name{font-size:17px;color:#586385;font-weight:bold;white-space:nowrap}.rank{color:#ffe684;font-size:9px;background:linear-gradient(#d675e9,#9d32c9);border:1px solid #e9c167;border-radius:3px;padding:2px 4px;margin-left:5px}.balance-row{display:flex;align-items:center;gap:12px;margin-top:12px}.balance-row strong{font-size:32px;font-weight:500;color:#14131f}.balance-row button{font-size:28px;color:#899ac2;padding:0}.balance-label{font-size:10px;color:#9c9caf;display:block;margin-top:4px}.wallet-actions{display:flex;gap:18px}.wallet-actions button{padding:0;display:grid;justify-items:center;gap:10px;font-size:13px;min-width:49px}.square{width:52px;height:52px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(140deg,#e8a2ff,#b342e9 53%,#a62bdf 70%,#ecb7ff);box-shadow:inset 0 1px 5px #fff,0 3px 1px white,0 5px 4px #c4bed5;color:white;font-size:34px;font-weight:bold;text-shadow:1px 2px 3px #9d45c8}.categories{display:grid;grid-template-columns:repeat(7,1fr);gap:13px;margin-top:17px}.categories button{display:grid;justify-items:center;align-content:center;gap:8px;padding:9px 0;font-size:13px;border-radius:18px;min-height:76px;background:linear-gradient(140deg,#fff,#eceef5);box-shadow:inset 1px 1px 4px white,0 3px 2px #c3c5cf,3px 3px 7px #dddfe8;color:#5c5970}.categories button>span{font-size:21px;color:#fff;border-radius:10px;background:linear-gradient(135deg,#da84f6,#8b25d6);width:28px;height:29px;display:grid;place-items:center;box-shadow:0 2px 5px #c5a6d8}.categories button.active{background:linear-gradient(135deg,#dc8efa,#a12fe2);color:white;box-shadow:inset 0 1px 5px #fff,0 4px 2px #c6becd}.categories button.active>span{background:white;color:#b245e6}.welcome{text-align:center;padding:48px 0 35px;color:#b4acc3}.sparkle{font-size:35px;color:#d1b6e7}.welcome p{font-size:9px;letter-spacing:3px;margin:12px 0}.welcome h2{font-size:24px;line-height:1.25;font-weight:500;color:#9e8aaf;margin:0 0 12px}.welcome>span:last-child{font-size:12px}.demo-label{text-align:center;font-size:8px;letter-spacing:1.5px;color:#a8a6b8;margin-bottom:25px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,430px);z-index:5;background:#f5f5fbeb;backdrop-filter:blur(20px);border:1px solid #fff;border-radius:24px 24px 0 0;display:grid;grid-template-columns:repeat(5,1fr);padding:14px 8px max(18px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #e3e5ee66}.bottom-nav button{display:grid;justify-items:center;gap:7px;color:#a4a6b4;font-size:12px}.bottom-nav button>span{font-size:31px;line-height:32px}.bottom-nav button.active{color:#a32fe6}.bottom-nav button.active>span{text-shadow:0 2px 8px #cf9cf0}.gift{position:fixed;right:max(15px,calc((100vw - 400px)/2));bottom:133px;z-index:4;text-align:center}.gift>button:first-child{display:grid;justify-items:center;padding:0}.gift span{font-size:47px;filter:drop-shadow(0 4px 6px #c3a3e1)}.gift b{font-size:11px;border-radius:15px;padding:6px 13px;background:linear-gradient(#d6afff,#b577e8);color:white;font-weight:500;box-shadow:0 3px 8px #bfa2d3}.gift-close{background:#494651a6;color:white;border-radius:0 0 7px 7px;padding:1px 13px;font-size:15px}dialog{border:1px solid #fff;border-radius:25px;padding:28px;width:min(90vw,390px);color:var(--ink);text-align:center;background:#f8f7fc;box-shadow:0 20px 100px #42235a55}dialog::backdrop{background:#25123570;backdrop-filter:blur(5px)}.modal-close{position:absolute;right:12px;top:8px;font-size:25px;color:#999}.modal-icon{font-size:38px;color:var(--purple)}dialog h2{font-size:23px;margin:10px 0}#modal-body{font-size:14px;line-height:1.7;color:#82748f}.primary{border-radius:22px;background:linear-gradient(135deg,#c86aef,#9020d5);color:white;padding:12px 40px;margin-top:22px}.toast{position:fixed;bottom:115px;left:50%;transform:translate(-50%,15px);background:#3f2a55ee;color:white;padding:12px 20px;border-radius:13px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:20;max-width:90%;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}@media(min-width:0px){header{height:85px;padding:12px 18px}h1{font-size:21px}.announcement{font-size:12px;padding:7px}.carousel{padding:0 16px;gap:12px}.banner{height:220px;border-radius:17px}.banner-copy{padding:18px 15px;max-width:72%}.banner h2{font-size:29px;margin:11px 0 8px}.eyebrow{font-size:7px;letter-spacing:1.2px}.banner p{font-size:9px;max-width:145px}.banner-cta{font-size:9px;margin-top:8px;padding:8px 12px}.content{padding:0 16px}.ticker{font-size:11px;padding:12px;gap:8px;border-radius:15px}.wallet{padding:22px 15px;margin-top:17px;gap:8px;border-radius:19px}.account-name{font-size:14px}.rank{font-size:7px;margin-left:3px}.balance-row{gap:8px}.balance-row strong{font-size:28px}.wallet-actions{gap:12px}.wallet-actions button{font-size:10px;min-width:35px;gap:9px}.square{width:39px;height:41px;font-size:27px;border-radius:11px}.categories{gap:8px;margin-top:14px}.categories button{min-height:65px;font-size:10px;gap:7px;border-radius:14px}.categories button>span{font-size:18px;width:25px;height:26px}.welcome{padding:45px 0 30px}.welcome h2{font-size:23px}.bottom-nav button{font-size:11px}.gift{bottom:123px}.gift span{font-size:40px}}@media(max-width:360px){.wallet{padding:18px 10px}.wallet-actions{gap:8px}.square{width:34px;height:37px}.account-name{font-size:12px}.balance-row strong{font-size:25px}.categories{gap:5px}.banner h2{font-size:25px}.banner-copy{max-width:75%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Mobile-first layout. Desktop renders the same 430px phone canvas. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 320px; }
.app { width: 100%; padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
header { padding-top: calc(12px + env(safe-area-inset-top, 0px)); height: calc(85px + env(safe-area-inset-top, 0px)); }
.announcement { min-height: 44px; }
.carousel { overscroll-behavior-x: contain; }
.banner { height: clamp(205px, 56vw, 235px); }
.banner-copy { max-width: 76%; }
.wallet { flex-wrap: nowrap; }
.account { min-width: 0; }
.wallet-actions { gap: clamp(7px, 2.6vw, 12px); }
.wallet-actions button { min-height: 62px; }
.balance-row button { min-width: 32px; min-height: 44px; }
.categories { gap: clamp(5px, 1.8vw, 8px); }
.categories button { min-width: 0; }
.dots { margin: 4px 0 12px; }
.dots button { height: 26px; position: relative; background: transparent; }
.dots button::after { content: ''; position: absolute; top: 11px; left: 0; width: 100%; height: 4px; border-radius: 4px; background: #c5c4d7; }
.dots button.selected { background: transparent; }
.dots button.selected::after { background: #ad50df; }
.bottom-nav { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.bottom-nav button { min-height: 50px; }
.gift { bottom: calc(115px + env(safe-area-inset-bottom, 0px)); }
.gift-close { min-width: 44px; min-height: 30px; }
.modal-close { min-width: 44px; min-height: 44px; }
.welcome { padding: 32px 0 22px; }
@media (min-width: 431px) {
 .app { box-shadow: 0 0 55px #77718e25; }
 .banner { height: 235px; }
 .toast { max-width: 390px; }
}
@media (max-width: 360px) {
 .content { padding-left: 12px; padding-right: 12px; }
 .wallet { padding-left: 10px; padding-right: 10px; }
 .wallet-actions { gap: 7px; }
 .wallet-actions button { min-width: 33px; font-size: 9px; }
 .account-name { font-size: 12px; }
 .balance-row { gap: 2px; }
 .rank { margin-left: 1px; }
 .categories button { font-size: 9px; }
}
/* Header mail icon */
.announcement.mail-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; box-shadow: none; color: #a32fe6; }
.announcement.mail-button:hover { background: #f3e8fc; }

/* Non-interactive continuous announcement marquee */
.ticker { cursor: default; }
.ticker .speaker { flex: 0 0 auto; }
.ticker > .ticker-window { flex: 1; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: announcement-scroll 18s linear infinite; }
.ticker-track > span { flex: 0 0 auto; padding-right: 48px; white-space: nowrap; }
@keyframes announcement-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-track > span:first-child { white-space: normal; padding-right: 0; } .ticker-track > span[aria-hidden] { display: none; } .ticker-track { width: auto; } }

.identity-action { display: block; width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid #d8b5ef; border-radius: 12px; color: #982ad2; background: #f3e7fc; padding: 10px; }
.account-name { font-size: 13px; }
@media (max-width:360px) { .account-name { font-size: 11px; } }

.account-name { display: flex; align-items: center; gap: 2px; }
.copy-id { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; min-height: 44px; padding: 0; color: #a32fe6; border-radius: 8px; }
.copy-id:hover { background: #efe1fb; }

/* Compact mobile proportions, based on a 430px iPhone viewport. */
header { height: calc(64px + env(safe-area-inset-top, 0px)); padding: calc(8px + env(safe-area-inset-top, 0px)) 18px 8px; }
.brand { width: 38px; }
.brand b { width: 35px; height: 35px; line-height: 35px; border-radius: 9px; font-size: 25px; }
.brand small { font-size: 5px; margin-top: 3px; letter-spacing: .7px; }
h1 { font-size: 20px; }
.banner-area { padding-top: 12px; }
.carousel { padding: 0 16px; gap: 12px; }
.banner { height: auto; aspect-ratio: 2.08 / 1; flex-basis: 100%; border-radius: 15px; }
.banner-copy { padding: 15px 14px; max-width: 76%; }
.banner h2 { font-size: clamp(23px, 6.5vw, 28px); margin: 10px 0 6px; line-height: 1.04; }
.eyebrow { font-size: 6px; letter-spacing: 1px; }
.banner p { font-size: 8px; line-height: 1.4; margin: 6px 0; max-width: 150px; }
.banner-cta { font-size: 9px; padding: 7px 11px; margin-top: 5px; }
.dots { margin: 0 0 6px; gap: 7px; }
.dots button { height: 20px; }
.dots button::after { top: 8px; height: 3px; }
.ticker { min-height: 40px; padding: 8px 12px; border-radius: 13px; gap: 9px; font-size: 11px; }
.speaker { font-size: 19px; }
.wallet { margin-top: 14px; padding: 16px 14px; min-height: 105px; border-radius: 17px; align-items: center; gap: 8px; }
.account-name { font-size: 13px; line-height: 18px; gap: 4px; }
.copy-id { position: relative; min-height: 24px; height: 24px; width: 22px; flex-basis: 22px; }
.copy-id::before { content: ''; position: absolute; inset: -8px -3px; }
.copy-id svg { width: 14px; height: 14px; }
.balance-row { margin-top: 4px; gap: 5px; }
.balance-row strong { font-size: 28px; line-height: 34px; }
.balance-row button { font-size: 25px; min-height: 34px; min-width: 30px; }
.balance-label { margin-top: 0; font-size: 9px; }
.wallet-actions { gap: 12px; }
.wallet-actions button { min-width: 35px; min-height: 58px; font-size: 10px; gap: 7px; }
.square { width: 37px; height: 38px; font-size: 25px; border-radius: 10px; }
.categories { gap: 9px; margin-top: 12px; }
.categories button { min-height: 55px; padding: 7px 0; border-radius: 12px; font-size: 10px; gap: 5px; }
.categories button > span { width: 23px; height: 24px; border-radius: 8px; font-size: 17px; }
.welcome { padding: 32px 0 22px; }
.welcome h2 { font-size: 21px; }
.bottom-nav { border-radius: 20px 20px 0 0; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.bottom-nav button { font-size: 10px; gap: 5px; min-height: 45px; }
.bottom-nav button > span { font-size: 27px; line-height: 29px; }
.gift { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.gift span { font-size: 36px; }
.gift b { font-size: 10px; padding: 5px 10px; }
@media (min-width: 431px) { .banner { height: auto; } }
@media (max-width: 374px) {
 .wallet { padding: 14px 10px; }
 .wallet-actions { gap: 7px; }
 .wallet-actions button { min-width: 31px; font-size: 9px; }
 .square { width: 32px; height: 34px; font-size: 23px; }
 .account-name { font-size: 11px; gap: 1px; }
 .balance-row strong { font-size: 25px; }
 .categories { gap: 6px; }
 .categories button { font-size: 9px; }
 .banner-copy { padding: 11px 12px; }
 .banner h2 { font-size: 23px; margin-top: 8px; }
 .banner p { font-size: 7px; }
 .banner-cta { padding: 6px 10px; font-size: 8px; }
}

/* Carousel fit: one complete banner and compact pagination. */
.carousel { gap: 0; padding: 0; margin: 0 16px; border-radius: 15px; scroll-padding: 0; }
.banner { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-stop: always; }
.banner-copy { max-width: 69%; padding: 16px 16px; }
.banner h2 { font-size: 27px; letter-spacing: -1px; }
.banner p { max-width: 145px; }
.banner::after { background: linear-gradient(90deg,rgba(100,17,158,.9),rgba(124,24,185,.55) 43%,rgba(124,24,185,.08) 66%,transparent 78%); }
.dots { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 0 5px; height: 28px; }
.dots button, .dots button.selected { position: relative; flex: 0 0 26px; width: 26px; height: 28px; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.dots button::after { top: 12px; left: 5px; width: 16px; height: 3px; border-radius: 3px; background: #c5c4d7; }
.dots button.selected::after { background: #ad50df; }
.dots button:focus-visible { outline: none; }
.dots button:focus-visible::after { outline: 1px solid #8520c1; outline-offset: 3px; }
@media (max-width:374px) {
 .banner-copy { padding: 12px; max-width: 72%; }
 .banner h2 { font-size: 23px; }
 .banner-cta { font-size: 8px; padding: 6px 9px; }
}

/* Account page */
[hidden] { display: none !important; }
.profile-page { padding-bottom: 12px; }
.profile-cover { height: 155px; position: relative; background: radial-gradient(ellipse at 80% 10%,#e1b5ff 0,transparent 52%),linear-gradient(135deg,#7b22b9,#b862e2 55%,#efd4ff); background-size: cover; background-position: center; }
.cover-edit { position: absolute; right: 13px; bottom: 13px; min-height: 34px; padding: 7px 10px; border-radius: 9px; color: white; font-size: 11px; background: #3d175f80; backdrop-filter: blur(8px); }
.profile-info { padding: 0 20px 18px; background: white; position: relative; }
.avatar-edit { position: relative; margin-top: -40px; width: 88px; height: 88px; padding: 0; border: 4px solid white; border-radius: 50%; color: white; background: linear-gradient(135deg,#cf8ef4,#9132cf); box-shadow: 0 3px 12px #85559b25; vertical-align: top; }
#avatar-placeholder { font-size: 37px; font-weight: bold; }
#profile-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-camera { position: absolute; bottom: -1px; right: -3px; background: #f1e4fa; color: #9a37ca; border: 2px solid white; border-radius: 50%; width: 27px; height: 27px; display: grid; place-items: center; font-size: 17px; }
.edit-profile { float: right; margin-top: 14px; border-radius: 9px; background: #f3e9fb; color: #9732cb; font-size: 11px; padding: 9px 12px; min-height: 36px; }
.profile-info h2 { font-size: 23px; letter-spacing: -.5px; margin: 10px 0 2px; }
.profile-id-row { display: flex; align-items: center; gap: 6px; color: #8e829c; font-size: 12px; }
.profile-id-row button { color: #a43bd6; min-width: 32px; min-height: 32px; font-size: 21px; }
#profile-signature { color: #93869f; font-size: 12px; line-height: 1.6; margin: 3px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
#signature-form { margin-top: 14px; }
#signature-form label { font-size: 11px; color: #8a749b; display: block; margin-bottom: 6px; }
#signature-input { resize: vertical; width: 100%; border: 1px solid #dcc6ed; border-radius: 10px; padding: 10px; color: #493556; font: 16px Arial,sans-serif; }
#signature-form > div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 7px; }
#signature-form button { padding: 10px 16px; border-radius: 9px; font-size: 12px; color: #9334c7; background: #f0e5f8; }
#signature-form button[type=submit] { background: #a23bdb; color: white; }
.profile-content { padding: 17px 16px 0; }
.profile-wallet { border-radius: 19px; padding: 16px; }
.profile-balance { display: flex; justify-content: space-between; align-items: center; padding: 0 3px 13px; }
.profile-balance > span { color: #9a8da6; font-size: 11px; }
.profile-balance strong { font-size: 25px; font-weight: 500; }
.profile-money-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.profile-money-actions > button { background: linear-gradient(140deg,#fff,#eee8f7); border: 1px solid #fff; border-radius: 15px; display: grid; place-items: center; gap: 7px; padding: 13px; box-shadow: 0 3px 8px #d9cde130; }
.money-icon { font-size: 29px; display: grid; place-items: center; width: 44px; height: 40px; color: #ab40df; text-shadow: 0 2px 2px #d7b3ee; }
.profile-money-actions b { font-size: 13px; font-weight: 600; }
.profile-vip { width: 100%; text-align: left; margin-top: 16px; border-radius: 17px; padding: 15px; color: white; background: radial-gradient(ellipse at 100% 100%,#da95f8,transparent 60%),linear-gradient(120deg,#8c37d6,#b852e7); box-shadow: inset 0 0 0 1px #d9b0f3; }
.vip-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.vip-medal { width: 35px; height: 35px; display: grid; place-items: center; border: 2px solid #f7d384; outline: 2px solid #fae6b460; border-radius: 50%; background: linear-gradient(135deg,#f3d782,#b98236); font-size: 22px; color: #fff5d8; }
.vip-card-top > strong { font-size: 23px; font-style: italic; }
.vip-bonus { margin-left: auto; font-size: 10px; }
.vip-bonus b { margin-left: 5px; font-size: 16px; }
.vip-card-top > span:last-child { font-size: 26px; margin-left: 6px; opacity: .7; }
.vip-progress-row { display: grid; grid-template-columns: 35% 1fr; gap: 13px; align-items: center; margin-top: 8px; font-size: 10px; }
.vip-progress { padding: 4px; border-radius: 10px; text-align: center; background: #ffffff30; font-size: 9px; }
.vip-progress-row b { margin-left: 4px; }
.profile-vip p { font-size: 9px; opacity: .75; margin: 11px 0 0; }
.profile-links { margin-top: 16px; padding: 3px 14px; border-radius: 17px; }
.profile-links button { display: flex; gap: 11px; align-items: center; width: 100%; min-height: 48px; font-size: 12px; text-align: left; }
.profile-links button + button { border-top: 1px solid #e9e4f0; }
.profile-links button > span { color: #aa51d6; font-size: 19px; }
.profile-links button b { margin-left: auto; font-size: 20px; color: #b9acbf; font-weight: normal; }
.profile-local-note { text-align: center; font-size: 9px; color: #a59aac; margin: 17px 0; }
@media(max-width:360px) { .profile-cover { height: 135px; } .vip-progress-row { gap: 9px; font-size: 9px; } .vip-bonus { font-size: 9px; } }

.profile-name-row { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.profile-name-row h2 { margin: 0; overflow-wrap: anywhere; min-width: 0; }
#edit-name { flex: 0 0 36px; min-height: 36px; color: #a23bdb; font-size: 20px; border-radius: 9px; }
#edit-name:hover { background: #f3e9fb; }
#name-form { margin: 10px 0; }
#name-form label { display: block; font-size: 11px; color: #8a749b; margin-bottom: 6px; }
#name-input { width: 100%; min-height: 42px; border: 1px solid #dcc6ed; border-radius: 10px; padding: 10px; font: 16px Arial,sans-serif; color: #493556; }
#name-form > div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 7px; }
#name-form button { min-height: 40px; padding: 10px 16px; border-radius: 9px; font-size: 12px; background: #f0e5f8; color: #9334c7; }
#name-form button[type=submit] { background: #a23bdb; color: white; }

/* App-wide mobile pull-to-refresh */
html, body { overscroll-behavior-y: none; }
.pull-refresh { position: fixed; top: calc(8px + env(safe-area-inset-top, 0px)); left: 50%; transform: translate(-50%,calc(-65px + var(--pull-offset,0px))); opacity: 0; pointer-events: none; z-index: 25; display: flex; align-items: center; gap: 8px; border: 1px solid #e6d0f4; border-radius: 24px; padding: 10px 16px; background: #ffffffed; color: #9c36ce; font-size: 12px; box-shadow: 0 5px 20px #54286c25; transition: opacity .15s, transform .15s; white-space: nowrap; }
.pull-refresh.visible { opacity: 1; transform: translate(-50%,var(--pull-offset,0px)); }
.pull-refresh-icon { display: inline-block; font-size: 20px; line-height: 22px; }
.pull-refresh.loading .pull-refresh-icon { animation: refresh-spin .7s linear infinite; }
@keyframes refresh-spin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .pull-refresh { transition: none; } .pull-refresh.loading .pull-refresh-icon { animation: none; } }

/* Consistent profile action icons */
.cover-edit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #9236c4; background: #faf4ffed; min-height: 36px; }
.cover-edit svg { width: 16px; height: 16px; flex-shrink: 0; }
.avatar-camera { width: 28px; height: 28px; background: #f3e7fc; color: #a13bd4; box-shadow: 0 1px 4px #68318e18; }
.avatar-camera svg { width: 15px; height: 15px; }
#edit-name { display: inline-grid; place-items: center; flex-basis: 32px; width: 32px; min-height: 36px; padding: 0; }
#edit-name svg { width: 15px; height: 15px; }
#profile-copy-id { display: inline-grid; place-items: center; padding: 0; color: #a13bd4; border-radius: 8px; }
#profile-copy-id svg { width: 15px; height: 15px; }
#profile-copy-id:hover { background: #f3e9fb; }

/* Wallet artwork preview */
.profile-money-actions > button { padding: 7px 12px 14px; gap: 0; }
.payment-icon { display: block; width: 68px; height: 68px; object-fit: contain; margin: 0 auto; }

.photo-picker { width: min(94vw,410px); max-height: 82dvh; overflow-y: auto; padding: 25px 18px; }
.photo-picker-close { position: absolute; top: 5px; right: 8px; min-width: 44px; min-height: 44px; font-size: 25px; color: #a489b5; }
.photo-picker h2 { font-size: 20px; margin: 10px 18px 8px; }
.picker-description { font-size: 12px; line-height: 1.5; color: #95849f; }
.picker-upload { width: 100%; min-height: 44px; border-radius: 12px; background: #a53cdb; color: white; font-size: 13px; margin: 8px 0 16px; }
.preset-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.preset-grid.cover-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.preset-option { padding: 4px; min-width: 0; border: 2px solid transparent; border-radius: 12px; }
.preset-option[aria-pressed=true] { border-color: #a53cdb; background: #f2e4fb; }
.preset-option img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.cover-grid .preset-option img { aspect-ratio: 2; border-radius: 8px; }
.preset-option span { display: block; font-size: 10px; margin-top: 5px; color: #9274a6; overflow-wrap: anywhere; }
.picker-empty { grid-column: 1 / -1; padding: 25px 15px; border-radius: 12px; background: #f2edf7; color: #a394b1; font-size: 12px; line-height: 1.6; }

/* Bottom-up photo action sheet and gallery. */
.photo-actions, .photo-picker { position: fixed; inset: auto 0 0; margin: 0 auto; width: min(100%,430px); max-width: 430px; max-height: 80dvh; box-shadow: none; }
.photo-actions::backdrop, .photo-picker::backdrop { background: #0006; backdrop-filter: none; }
.photo-actions { border: 0; background: transparent; padding: 0 10px calc(10px + env(safe-area-inset-bottom,0px)); border-radius: 0; overflow: visible; }
.photo-actions-group { overflow: hidden; border-radius: 14px; background: #fffffff5; }
.photo-actions button { display: block; width: 100%; min-height: 54px; padding: 15px; color: #a039cf; font-size: 15px; background: #fffffff5; }
.photo-actions-group button + button { border-top: 1px solid #eee7f2; }
.photo-actions .photo-actions-cancel { margin-top: 8px; border-radius: 14px; font-weight: 600; }
.photo-actions button:active { background: #f1e6f8; }
.photo-picker { border: 0; border-radius: 22px 22px 0 0; padding: 25px 18px calc(22px + env(safe-area-inset-bottom,0px)); background: #fcfaff; }
.photo-picker::before { content: ''; position: absolute; top: 9px; left: calc(50% - 18px); width: 36px; height: 4px; border-radius: 4px; background: #d9cde1; }
.photo-actions[open], .photo-picker[open] { animation: photo-sheet-up .24s cubic-bezier(.2,.7,.3,1); }
@keyframes photo-sheet-up { from { transform: translateY(100%); opacity: .5; } to { transform: translateY(0); opacity: 1; } }
@media(prefers-reduced-motion:reduce) { .photo-actions[open], .photo-picker[open] { animation: none; } }

/* Compact profile details with signature editing aligned right. */
.profile-info { padding-bottom: 12px; }
.profile-name-row { margin-top: 7px; }
.profile-id-row { min-height: 27px; }
.profile-signature-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.profile-signature-row #profile-signature { flex: 1; min-width: 0; margin: 3px 0 0; line-height: 1.6; }
#edit-signature { display: grid; place-items: center; flex: 0 0 34px; width: 34px; min-height: 34px; margin-top: -3px; padding: 0; border-radius: 9px; color: #a13bd4; background: #f6effb; }
#edit-signature svg { width: 15px; height: 15px; }
#edit-signature:hover { background: #eee0f8; }

.profile-name-row { gap: 5px; }
.profile-name-row h2 { flex: 0 1 auto; }
.profile-login { margin-left: auto; flex: 0 0 72px; min-width: 72px; min-height: 32px; border-radius: 10px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: #9a36cc; background: #f2e7fb; }
.profile-login:hover { background: #e9d5f7; }
.login-panel { text-align: left; max-width: 370px; padding: 28px 24px; }
.login-close { position: absolute; right: 7px; top: 5px; width: 44px; height: 44px; font-size: 26px; color: #ac97b9; }
.login-symbol { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 27px; font-weight: bold; color: white; background: linear-gradient(135deg,#d28cf5,#9d35d8); margin-bottom: 18px; }
.login-panel h2 { margin: 0 0 8px; }
.login-panel > p { color: #a08cac; font-size: 12px; margin-bottom: 20px; }
:is(#login-form,#register-form) label { display: block; font-size: 12px; color: #877095; margin: 14px 0 7px; }
:is(#login-form,#register-form) input { width: 100%; min-height: 44px; border: 1px solid #dfd0e9; border-radius: 10px; background: white; padding: 10px 12px; font: 16px Arial,sans-serif; color: #3f2a50; }
.login-submit { width: 100%; min-height: 44px; margin-top: 22px; background: linear-gradient(135deg,#be63e8,#9630cf); color: white; border-radius: 11px; font-size: 14px; }
.login-result { color: #9b53b6; font-size: 12px; line-height: 1.6; }
.login-panel > small { font-size: 10px; color: #b1a0bb; }
@media(max-width:360px) { .profile-name-row h2 { font-size: 20px; } .profile-login { flex-basis: 62px; min-width: 62px; font-size: 11px; padding: 7px 8px; } }

.login-panel { max-height: 90dvh; overflow-y: auto; padding: 24px; }
.login-panel .login-symbol { margin-bottom: 12px; }
.login-panel h2 { font-size: 21px; }
.login-panel > p { margin: 7px 0 15px; }
.auth-tabs { display: flex; padding: 4px; gap: 4px; background: #efe6f5; border-radius: 12px; margin-bottom: 16px; }
.auth-tabs button { flex: 1; min-height: 36px; border-radius: 9px; color: #a188af; font-size: 13px; }
.auth-tabs button[aria-pressed=true] { background: white; color: #9d36d1; font-weight: 600; box-shadow: 0 2px 7px #b8a1c42b; }
.social-auth { display: grid; gap: 9px; }
.social-auth button { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #e3d9eb; border-radius: 10px; background: white; color: #493852; font-size: 12px; }
.provider-icon { width: 19px; height: 19px; flex: 0 0 19px; }
.facebook-icon { background: #1877f2; color: white; font-family: Arial,sans-serif; font-weight: bold; font-size: 22px; line-height: 23px; text-align: center; border-radius: 50%; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 17px 0 10px; color: #b1a1bb; font-size: 10px; }
.auth-divider::before,.auth-divider::after { content: ''; flex: 1; height: 1px; background: #e8deee; }
:is(#login-form,#register-form) label { margin-top: 11px; }
.login-submit { margin-top: 17px; }
.login-panel .login-result { margin: 12px 0; font-size: 11px; line-height: 1.5; }

/* Prominent combined login / registration entry. */
.profile-name-row { flex-wrap: wrap; row-gap: 6px; }
.profile-name-row h2 { max-width: calc(100% - 38px); }
.profile-login { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; width: auto; min-width: 132px; min-height: 38px; padding: 9px 12px; border: 1px solid #bd69ed; border-radius: 12px; background: linear-gradient(135deg,#c467ed,#962bd4); color: white; font-size: 12px; font-weight: 700; box-shadow: 0 4px 10px #a33ed52e,inset 0 1px 0 #eec5ff66; white-space: nowrap; }
.profile-login svg { width: 16px; height: 16px; flex-shrink: 0; }
.profile-login:hover { background: linear-gradient(135deg,#b650e5,#8421c3); }
.profile-login:active { box-shadow: 0 1px 4px #a33ed52e; }
@media(max-width:374px) { .profile-login { min-width: 123px; min-height: 38px; font-size: 11px; padding: 9px 10px; } }

/* Withdrawal flow */
.withdrawal-open > header,.withdrawal-open > .bottom-nav,.withdrawal-open > .gift { display: none !important; }
.app.withdrawal-open { padding-bottom: env(safe-area-inset-bottom,0px); }
#withdrawal-page { min-height: 100dvh; background: #f5f3fa; }
.withdraw-header { display: flex; align-items: center; justify-content: space-between; height: calc(58px + env(safe-area-inset-top,0px)); padding: env(safe-area-inset-top,0px) 12px 0; background: white; }
.withdraw-header h1 { position: static; transform: none; font-size: 18px; font-weight: 600; }
.withdraw-header button { width: 38px; min-height: 44px; font-size: 27px; color: #9767b0; }
.withdraw-tabs { display: flex; background: white; padding: 0 16px; gap: 18px; border-bottom: 1px solid #e8dfef; }
.withdraw-tabs button { position: relative; flex: 1; min-height: 44px; font-size: 12px; padding: 9px 0 13px; color: #a28cae; white-space: nowrap; }
.withdraw-tabs button[aria-pressed=true] { color: #9a32d2; font-weight: 600; }
.withdraw-tabs button[aria-pressed=true]::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: #ad49df; }
.withdraw-balances { display: grid; grid-template-columns: 1fr 1fr; padding: 18px 20px; background: white; border-bottom: 1px solid #eee8f3; }
.withdraw-balances > div { display: grid; gap: 4px; }
.withdraw-balances > div + div { border-left: 1px solid #ece5f1; padding-left: 20px; }
.withdraw-balances span { font-size: 10px; color: #9d8aab; }
.withdraw-balances strong { font-size: 23px; font-weight: 600; }
.withdraw-balances button { font-size: 22px; color: #ac8cbe; vertical-align: middle; min-width: 32px; min-height: 30px; }
.withdraw-body { padding: 17px 16px 25px; }
.receiving-link { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 11px; padding: 12px 15px; background: white; border: 1px solid #e9deef; border-radius: 14px; font-size: 12px; text-align: left; }
.receiving-icon { width: 29px; height: 24px; border-radius: 7px; background: #f0e1fa; color: #a23bd8; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
#receiving-summary { overflow-wrap: anywhere; }
.receiving-link b { margin-left: auto; color: #b6a3c2; font-size: 22px; font-weight: 400; }
.withdraw-status { color: #ac9ab7; font-size: 10px; margin: 11px 0 24px; }
#withdraw-form label { display: block; font-size: 12px; color: #80678e; margin-bottom: 9px; }
.withdraw-amount-wrap { display: flex; align-items: center; min-height: 60px; border: 1px solid #c599e2; border-radius: 13px; background: white; padding: 0 13px; gap: 9px; }
.withdraw-amount-wrap > span { font-size: 22px; color: #806092; }
#withdraw-amount { width: 100%; min-width: 0; min-height: 44px; border: 0; background: transparent; font: 16px Arial,sans-serif; color: #493157; }
#withdraw-amount::placeholder { font-size: 13px; color: #b8a6c2; }
#withdraw-all { color: #a039d5; font-size: 13px; min-width: 34px; min-height: 44px; }
#withdraw-feedback { font-size: 10px; color: #a68cb5; min-height: 15px; line-height: 1.5; }
.withdraw-confirm { min-height: 46px; width: 100%; border-radius: 12px; background: #a33cda; color: white; font-weight: 600; font-size: 13px; }
.withdraw-confirm:disabled { background: #dbd2e2; color: #fff; cursor: not-allowed; }
.withdraw-note { text-align: center; font-size: 10px; line-height: 1.6; color: #b68b4f; margin: 13px 8px 23px; }
.withdraw-note span { font-size: 13px; margin-right: 4px; }
.redemption-card { background: white; border: 1px solid #e5d9ee; border-radius: 17px; padding: 14px; }
.redemption-title { display: flex; align-items: center; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid #eee4f5; margin-bottom: 11px; }
.redemption-title > span { flex-shrink: 0; width: 31px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg,#c26bea,#9233d4); color: white; font-size: 22px; }
.redemption-title h2 { margin: 0 0 5px; font-size: 14px; }
.redemption-title p { font-size: 9px; color: #a28aaf; margin: 0; }
.redemption-rule { padding: 12px; border-radius: 11px; border: 1px solid #e9def1; background: #faf7fd; margin-bottom: 9px; }
.redemption-rule h3 { font-size: 11px; margin: 0 0 7px; color: #8a499f; }
.redemption-rule p { font-size: 10px; line-height: 1.65; color: #9d86ab; margin: 0; }
#withdraw-help { width: 100%; padding: 10px 6px; border-radius: 9px; font-size: 9px; line-height: 1.6; color: #9975b2; background: #f1e5fa; }
#withdraw-help b { color: #9431c9; }
.withdraw-demo { color: #b7a5c2; font-size: 8px; text-align: center; letter-spacing: 1px; margin-top: 22px; }
.receiving-heading { text-align: center; padding: 12px 0; }
.receiving-heading > span { font-size: 32px; color: #ae57d9; }
.receiving-heading h2 { font-size: 18px; margin: 10px 0 8px; }
.receiving-heading p,.receiving-privacy { font-size: 11px; line-height: 1.6; color: #a48daf; }
#receiving-form label { display: block; font-size: 12px; color: #886e99; margin: 15px 0 8px; }
#receiving-form input,#receiving-form select { width: 100%; height: 45px; border: 1px solid #decbe9; border-radius: 10px; padding: 10px; font: 16px Arial,sans-serif; color: #5c426d; background: white; }
.receiving-save { width: 100%; min-height: 45px; border-radius: 11px; background: #a13ad6; color: white; margin-top: 13px; font-size: 13px; }

/* PayPal / Cash App receiving account list */
.payment-account-list { background: white; border: 1px solid #ece3f2; border-radius: 15px; overflow: hidden; }
.payment-account-row { display: flex; width: 100%; min-height: 73px; padding: 14px 15px; align-items: center; gap: 15px; text-align: left; }
.payment-account-row + .payment-account-row { border-top: 1px solid #eee6f3; }
.payment-account-row > strong { font-size: 14px; font-weight: 600; }
.account-add { margin-left: auto; font-size: 13px; color: #a13bd4; display: flex; align-items: center; gap: 8px; }
.account-add b { font-size: 24px; font-weight: 400; color: #b19bbe; }
.paypal-mark { position: relative; width: 36px; height: 38px; flex: 0 0 36px; font-family: Arial,sans-serif; font-style: italic; font-size: 31px; font-weight: 900; }
.paypal-mark i { position: absolute; left: 4px; top: 0; font-style: italic; color: #173e88; }
.paypal-mark b { position: absolute; left: 10px; top: 6px; font-style: italic; color: #169bd7; opacity: .85; }
.cashapp-mark { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 9px; background: #00d64b; color: #084b29; font-size: 32px; font-weight: 700; line-height: 36px; text-align: center; }
#receiving-editor { margin-top: 18px; border: 1px solid #e8dcef; border-radius: 15px; padding: 15px; background: white; }
.receiving-editor-header { display: flex; align-items: center; justify-content: space-between; }
.receiving-editor-header h2 { margin: 0; font-size: 15px; }
#receiving-editor-close { width: 36px; min-height: 36px; font-size: 24px; color: #aa91ba; }

/* Receiving account dialog, matching the supplied form layout. */
#receiving-editor { position: fixed; inset: 0; margin: auto; width: min(92vw,398px); max-height: 85dvh; height: fit-content; padding: 0; border: 1px solid #eadcf4; border-radius: 15px; background: #fcfaff; text-align: left; box-shadow: 0 18px 70px #4a245238; }
#receiving-editor::backdrop { background: #24112e70; backdrop-filter: blur(3px); }
.receiving-editor-header { position: relative; min-height: 55px; justify-content: center; border-bottom: 1px solid #ebdfF2; padding: 12px 40px; }
.receiving-editor-header h2 { font-size: 18px; text-align: center; }
#receiving-editor-close { position: absolute; right: 7px; top: 9px; }
#receiving-form { padding: 5px 17px 14px; }
#receiving-form label { margin: 15px 0 8px; }
#receiving-handle-label span { color: #e37a64; margin-left: 2px; }
.receiving-input-row { display: flex; align-items: center; border: 1px solid #ddcbea; border-radius: 12px; background: #f1ebf6; padding-right: 7px; }
#receiving-form .receiving-input-row input { min-width: 0; flex: 1; border: 0; background: transparent; height: 44px; border-radius: 12px; font-size: 15px; }
#receiving-paste { flex: 0 0 53px; min-height: 44px; color: #a33bd7; font-size: 13px; }
.receiving-warning { color: #df795d; font-size: 12px; line-height: 1.5; margin: 16px 0 19px; }
#receiving-form .receiving-save { margin: 0; min-height: 46px; background: linear-gradient(135deg,#bb60e7,#9630d2); font-size: 16px; }
.receiving-demo-note { text-align: center; color: #b4a0be; font-size: 9px; margin: 10px 0 0; }

.receiving-input-row.has-error { border-color: #ef6254; box-shadow: 0 0 0 1px #ef62541a; }
#receiving-form .receiving-input-row.has-error input:focus-visible { outline: none; }
.receiving-input-row.has-error:focus-within { box-shadow: 0 0 0 2px #ef625425; }
.receiving-error { color: #e45344; font-size: 12px; line-height: 1.5; margin: 7px 0 0; }

.bound-accounts { margin-bottom: 13px; }
.bound-heading { display: flex; align-items: center; gap: 3px; padding: 0 1px 10px; }
.bound-heading h2 { margin: 0; font-size: 13px; font-weight: 500; }
#bound-count { color: #aa94ba; font-size: 11px; }
#bound-refresh { min-width: 32px; min-height: 36px; color: #ac94ba; font-size: 23px; }
#bound-visibility { margin-left: auto; min-width: 36px; min-height: 36px; display: grid; place-items: center; color: #ab8fbb; }
#bound-visibility svg { width: 20px; height: 20px; }
.bound-account-card { display: flex; align-items: center; background: white; border: 1px solid #e6d9ef; border-radius: 13px; margin-bottom: 9px; overflow: hidden; }
.bound-account-card.selected { border-color: #ab4edc; background: #fcf9ff; }
.bound-account-select { display: flex; flex: 1; min-width: 0; align-items: center; gap: 13px; min-height: 72px; padding: 12px 14px; text-align: left; }
.bound-details { display: grid; gap: 6px; min-width: 0; }
.bound-details strong { font-size: 13px; font-weight: 600; }
.bound-details > span { font-size: 12px; color: #ab8ebc; overflow-wrap: anywhere; }
.bound-remove { flex: 0 0 44px; min-height: 44px; padding: 12px; margin-right: 6px; color: #ec5b53; }
.bound-remove svg { width: 19px; height: 19px; }
.bound-empty { font-size: 11px; color: #b29bbf; padding: 0 4px 6px; }

.withdraw-history { background:white; border:1px solid #e7dcef; padding:8px 13px; border-radius:13px; margin:0 0 18px; }
.withdraw-history > div { display:flex; justify-content:space-between; padding:10px 0; font-size:11px; color:#9c79b1; }
.withdraw-history > div + div { border-top:1px solid #f1eaf5; }
.withdraw-history strong { font-weight:500; color:#795789; }

.wallet-actions { gap:18px; justify-content:flex-end; }.wallet-actions button { min-width:46px; }

.wallet-actions .payment-icon { width:56px; height:56px; }.wallet-actions button { gap:3px; }
@media(max-width:360px){.wallet-actions .payment-icon { width:48px; height:48px; }}
.managed-banner { padding:0; background:transparent; }.managed-banner::after { display:none; }.managed-banner img { display:block; width:100%; height:100%; object-fit:cover; }.banner-no-link { cursor:default; }
.ticker-track.managed-ticker { animation:none; }.ticker-track.managed-ticker > span { padding-right:0; }.ticker-track.managed-ticker { will-change:transform; }
.ticker-track.ticker-winner-track { width:100%; line-height:1.5; }.ticker-track.ticker-winner-track > span { width:100%; white-space:normal; overflow-wrap:anywhere; }.ticker > .ticker-winner-window { min-height:34px; display:flex; align-items:center; }
.ticker-win-id { color:#20a759; font-weight:700; }.ticker-win-amount { color:#c8951e; font-weight:700; }

.ticker .speaker { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:11px; background:linear-gradient(145deg,#fff,#efe1fc); border:1px solid #ead6f8; box-shadow:inset 0 1px 1px #fff,0 2px 5px #a764d517; }.ticker .speaker svg { display:block; width:28px; height:28px; filter:drop-shadow(0 1px 1px #8f32bf22); }
/* Client typography: stronger contrast and readable phone-sized text. */
:root { --ink:#262235; --muted:#686174; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; font-size:14px; line-height:1.5; color:var(--ink); }
button,input,textarea,select { font-family:inherit; }
input,textarea,select { font-size:16px; }
h1,h2,h3,strong,b { text-rendering:optimizeLegibility; }
.ticker { font-size:13px; font-weight:500; color:#493b59; line-height:1.55; }
.account-name { font-size:14px; font-weight:600; color:#51425f; }
.balance-label { font-size:12px; color:#71657e; line-height:1.5; }
.balance-row strong { font-weight:650; letter-spacing:-.6px; }
.wallet-actions button { font-size:12px; font-weight:600; color:#463550; }
.categories { gap:6px; }
.categories button { font-size:11px; font-weight:600; color:#61536d; }
.bottom-nav button { font-size:12px; font-weight:600; color:#756e81; }
.bottom-nav button.active { color:#8e26c5; }
.banner .eyebrow { font-size:8px; font-weight:700; color:#fff; }
.banner p { font-size:10px; line-height:1.5; color:#fff; }
.banner-cta { font-size:11px; font-weight:650; }
.profile-id-row,#profile-signature { font-size:14px; color:#706077; line-height:1.6; }
.profile-info h2 { font-weight:700; }
.profile-balance > span { font-size:13px; color:#706078; }
.profile-balance strong { font-weight:650; }
.profile-money-actions b { font-size:14px; }
.profile-links button { font-size:14px; font-weight:500; }
.cover-edit,.edit-profile { font-size:12px; font-weight:600; }
#signature-form label,#name-form label { font-size:13px; color:#725a82; }
#signature-form button,#name-form button { font-size:14px; font-weight:600; }
.vip-bonus,.vip-progress-row { font-size:12px; font-weight:500; }
.vip-progress { font-size:11px; }
.profile-vip p { font-size:11px; opacity:1; color:#fff; }
.profile-local-note { font-size:12px; color:#786b82; }
dialog p,#modal-body { font-size:14px; line-height:1.65; color:#6b5978; }
#modal-title { font-weight:650; }
.withdraw-amount-section > label { font-size:14px; color:#685176; }
#withdraw-amount::placeholder { font-size:14px; color:#81718f; }
#withdraw-feedback { font-size:12px; color:#7d618f; }
.withdraw-confirm,.receiving-save { font-size:15px; font-weight:650; }
.withdraw-note { font-size:12px; color:#95621c; }
.redemption-title h2 { font-size:16px; font-weight:650; }
.redemption-title p { font-size:12px; color:#75617f; }
.redemption-rule h3 { font-size:14px; color:#77398f; }
.redemption-rule p { font-size:13px; color:#715d7f; line-height:1.65; }
#withdraw-help { font-size:12px; color:#77578e; }
.withdraw-demo,.receiving-demo-note { font-size:11px; color:#7b6889; letter-spacing:0; }
.receiving-heading p,.receiving-privacy { font-size:13px; color:#786286; }
#receiving-form label { font-size:14px; font-weight:500; color:#6d527d; }
.receiving-warning { font-size:13px; color:#b74c33; }
.receiving-error { font-size:13px; color:#c63b2e; }
.bound-heading h2 { font-size:15px; font-weight:600; }
#bound-count { font-size:13px; color:#7e668e; }
.account-add { font-size:14px; font-weight:600; }
.toast { font-size:14px; line-height:1.5; }
@media(max-width:374px){.wallet-actions button { font-size:11px; }.account-name { font-size:13px; }.categories button { font-size:10px; }.bottom-nav button { font-size:11px; }}
.auth-tabs button,.social-auth button { font-size:14px; font-weight:600; }.auth-tabs button { color:#786184; }.auth-divider { font-size:12px; color:#806b8c; }.login-panel > small { font-size:12px; color:#7b6886; }.login-panel .login-result { font-size:13px; color:#82449d; }.login-submit { font-size:15px; font-weight:650; }
.support-page { padding:20px 14px 28px; }.support-conversation { display:flex; align-items:flex-start; gap:10px; }.support-agent-icon { flex:0 0 42px; width:42px; height:42px; display:grid; place-items:center; background:linear-gradient(145deg,#fff,#f0e2fc); border:1px solid white; border-radius:50%; box-shadow:0 2px 8px #ac6bd522; color:#a03dda; }.support-agent-icon svg { width:28px; height:28px; }.support-help-card { flex:1; min-width:0; padding:20px 14px 14px; border:1px solid #eee5f5; border-radius:4px 20px 20px 20px; background:white; box-shadow:0 5px 20px #a685bf0a; }.support-help-card h2 { margin:0 0 9px; font-size:20px; line-height:1.3; font-weight:700; color:#352a40; }.support-intro { font-size:14px; line-height:1.65; margin:0 0 10px; color:#695576; }.support-availability { font-size:11px; line-height:1.5; color:#8d749d; border-bottom:1px solid #f0e8f6; padding-bottom:16px; margin:0 0 15px; }.support-faq { border:1px solid #f2eafa; border-radius:9px; margin-bottom:11px; background:#faf7fd; overflow:hidden; }.support-faq summary { display:flex; align-items:center; gap:8px; padding:13px 10px; list-style:none; cursor:pointer; color:#9230c5; font-size:13px; font-weight:600; line-height:1.45; }.support-faq summary::-webkit-details-marker { display:none; }.support-faq-number { color:#ad63d2; font-size:11px; flex-shrink:0; }.support-faq summary > svg { width:13px; height:13px; flex:0 0 13px; margin-left:auto; transition:transform .18s; }.support-faq[open] summary > svg { transform:rotate(90deg); }.support-faq[open] { border-color:#dfc4f1; background:#f7f0fc; }.support-faq-answer { font-size:13px; line-height:1.75; color:#6b5579; padding:0 12px 14px; overflow-wrap:anywhere; }.support-nav-icon { display:grid; place-items:center; }.support-nav-icon svg { width:29px; height:29px; }.bottom-nav button[data-page=Support].active { color:#932dc7; }@media(max-width:360px){.support-page { padding-left:10px; padding-right:10px; }.support-agent-icon { flex-basis:34px; width:34px; height:34px; }.support-conversation { gap:7px; }.support-help-card { padding:16px 10px 10px; }.support-faq summary { font-size:12px; gap:6px; }}
.support-topic-option { display:flex; width:100%; text-align:left; align-items:center; gap:8px; padding:13px 10px; border:1px solid #f0e6f7; border-radius:9px; margin-bottom:11px; background:#faf7fd; color:#9230c5; font-size:13px; font-weight:600; line-height:1.45; }.support-topic-option > svg { width:13px; height:13px; flex:0 0 13px; margin-left:auto; }.support-topic-option[aria-pressed=true] { border-color:#d9b5ed; background:#f3e7fc; }.support-user-row { display:flex; justify-content:flex-end; align-items:flex-end; gap:10px; margin:24px 0; }.support-user-bubble { max-width:80%; padding:13px 17px; border-radius:15px 15px 4px 15px; color:#fff; background:linear-gradient(135deg,#bc4deb,#9730d4); font-size:14px; line-height:1.5; }.support-user-avatar { display:grid; place-items:center; width:35px; height:35px; flex:0 0 35px; border-radius:50%; background:#e9dcf4; color:#9161ac; font-size:10px; font-weight:700; }.support-subtopic-title { margin:0 0 14px; font-size:16px; color:#775189; }.support-more-help { text-align:center; color:#94859d; font-size:13px; margin:20px 0 12px; }.support-live-agent { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:47px; border-radius:11px; background:linear-gradient(135deg,#bb44ed,#982ddd); color:#fff; font-size:15px; font-weight:600; }.support-live-agent svg { width:24px; height:24px; }.support-detailed-answer { font-size:14px; color:#6b5579; line-height:1.8; }#support-topic-thread,#support-answer-thread { scroll-margin-top:16px; }.support-page .support-conversation { margin-bottom:12px; }
.support-contact-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:16px 0 20px; }.support-contact-actions .support-live-agent,.support-contact-actions .support-facebook { min-height:43px; padding:9px 8px; display:flex; align-items:center; justify-content:center; gap:7px; font-size:12px; font-weight:650; border-radius:10px; white-space:nowrap; }.support-contact-actions .support-live-agent svg { width:20px; height:20px; }.support-facebook { background:#eef3ff; border:1px solid #d7e2fc; color:#2870d5; }.support-facebook b { font:800 20px Arial,sans-serif; }
.support-topic-reply { white-space:pre-wrap; margin:0 0 16px; }.support-detailed-answer { white-space:pre-wrap; }
.profile-summary-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); align-items:start; gap:8px 12px; margin-top:10px; }.profile-summary-row .profile-name-row { margin:0; align-items:center; }.profile-identity-right { min-width:0; text-align:right; padding-top:2px; }.profile-identity-right .profile-id-row { justify-content:flex-end; gap:3px; min-height:28px; font-size:13px; white-space:nowrap; }.profile-email { color:#71607c; font-size:12px; line-height:1.5; overflow-wrap:anywhere; margin-top:2px; }.profile-email[hidden] { display:none; }.profile-summary-row .profile-login { margin-left:0; min-width:0; font-size:11px; padding:8px; }@media(max-width:360px){.profile-summary-row { gap:7px; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); }.profile-identity-right .profile-id-row { font-size:12px; }.profile-email { font-size:11px; }}
.profile-identity-right { margin-top:-8px; padding-top:0; }.profile-identity-right .profile-id-row,.profile-email-row { display:flex; align-items:center; justify-content:flex-end; gap:3px; min-height:28px; font-size:13px; line-height:1.5; }.profile-email-row[hidden] { display:none; }.profile-email-row .profile-email { font-size:inherit; margin:0; min-width:0; overflow-wrap:anywhere; line-height:inherit; }.profile-identity-right #profile-copy-id,#profile-copy-email { flex:0 0 26px; width:26px; min-width:26px; height:28px; min-height:28px; padding:5px; display:grid; place-items:center; color:#a43bd6; }.profile-identity-right #profile-copy-id svg,#profile-copy-email svg { width:16px; height:16px; }@media(max-width:360px){.profile-identity-right .profile-id-row,.profile-email-row { font-size:12px; }}

.profile-identity-right { margin-top:-14px; }
.profile-summary-row.guest-profile { grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; gap:0 12px; }.guest-profile .profile-name-row { grid-column:1; grid-row:1; }.guest-profile .profile-identity-right { grid-column:1; grid-row:2; margin-top:0; text-align:left; }.guest-profile .profile-identity-right .profile-id-row { justify-content:flex-start; }.profile-summary-row.guest-profile > .profile-login { grid-column:2; grid-row:1 / span 2; align-self:center; justify-self:end; min-width:132px; font-size:12px; padding:9px 12px; margin:0; }@media(max-width:374px){.profile-summary-row.guest-profile { gap:0 8px; }.profile-summary-row.guest-profile > .profile-login { min-width:123px; padding:9px; font-size:11px; }}
.header-contact-actions { display:flex; align-items:center; gap:2px; margin-left:auto; }.header-contact-actions .mail-button,.header-support-button { display:grid; place-items:center; width:40px; height:42px; padding:0; border:0; border-radius:11px; background:transparent; box-shadow:none; color:#a32fe6; }.header-support-button svg { width:26px; height:26px; }.header-support-button:hover { background:#f3e8fc; }@media(max-width:360px){header h1 { max-width:calc(100% - 190px); font-size:18px; text-align:center; line-height:1.2; }.header-contact-actions { gap:0; }.header-contact-actions .mail-button,.header-support-button { width:38px; }}
.updates-page { padding:17px 16px 28px; min-height:calc(100dvh - 180px); background:#f4f3f9; }.updates-menu { display:grid; gap:13px; }.updates-menu-card { display:flex; align-items:center; gap:12px; width:100%; min-height:82px; padding:15px 14px; border:1px solid #f1edf6; border-radius:13px; background:#fff; text-align:left; box-shadow:0 3px 10px #8c6ba605; }.updates-menu-icon { display:grid; place-items:center; flex:0 0 43px; width:43px; height:47px; filter:drop-shadow(0 3px 3px #a05bc229); }.updates-menu-icon svg { width:43px; height:47px; }.updates-menu-title { font-size:16px; font-weight:550; color:#352c3e; line-height:1.4; min-width:0; }.updates-menu-arrow { width:15px; height:18px; flex:0 0 15px; margin-left:auto; color:#aaa1b3; }.updates-mini-brand { margin-left:auto; width:31px; height:31px; border-radius:8px; background:linear-gradient(135deg,#d397f8,#8931ca); box-shadow:inset 0 1px 2px #fff9; color:#fff; display:grid; place-items:center; font-size:23px; font-weight:800; }.updates-mini-brand + .updates-menu-arrow,.updates-mini-stage + .updates-menu-arrow,.updates-highlight-tag + .updates-menu-arrow,.updates-creator-note + .updates-menu-arrow { margin-left:0; }.updates-mini-stage { margin-left:auto; font-size:32px; line-height:1; color:#d0a246; text-shadow:0 2px 5px #f7dfb5; }.updates-highlight-tag { margin-left:auto; color:#b48124; background:linear-gradient(100deg,#fff6d7,#ffe8ae); border-radius:20px; padding:5px 8px; font-size:10px; white-space:nowrap; }.updates-creator-note { margin-left:auto; font-size:10px; color:#a394b0; line-height:1.4; text-align:right; white-space:nowrap; }.updates-nav-icon { display:grid; place-items:center; }.updates-nav-icon svg { width:28px; height:28px; }.updates-back { color:#9750bf; font-size:14px; margin:0 0 15px; padding:9px 0; }.updates-detail-card { padding:35px 22px; border:1px solid #eee5f4; border-radius:16px; background:#fff; text-align:center; }.updates-detail-icon svg { width:62px; height:62px; }.updates-detail-card h2 { font-size:21px; color:#674776; }.updates-detail-card p { color:#94829e; font-size:14px; line-height:1.8; }@media(max-width:360px){.updates-menu-card { gap:9px; padding:13px 11px; }.updates-menu-title { font-size:14px; }.updates-menu-icon { flex-basis:37px; width:37px; }.updates-menu-icon svg { width:37px; }.updates-highlight-tag { padding:4px 6px; font-size:9px; }}
.support-help-back { display:inline-flex; align-items:center; gap:5px; min-height:38px; padding:7px 12px 7px 7px; margin:0 0 13px; color:#9650bd; background:#fff; border:1px solid #eadcf4; border-radius:11px; font-size:14px; font-weight:600; }.support-help-back svg { width:20px; height:20px; }

.support-help-back { display:grid; place-items:center; width:42px; height:42px; padding:8px; }.support-help-back svg { width:26px; height:26px; }

.updates-back { display:grid; place-items:center; width:42px; height:42px; min-height:42px; padding:8px; margin:0 0 13px; color:#9650bd; background:#fff; border:1px solid #eadcf4; border-radius:11px; }.updates-back svg { width:26px; height:26px; }
.offers-page { padding:14px 15px 26px; background:#f4f3f9; min-height:calc(100dvh - 175px); }.offer-categories { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:0 0 15px; }.offer-categories button { display:grid; place-items:center; min-height:43px; padding:8px 4px; border:1px solid #fff; border-radius:13px; color:#564660; background:linear-gradient(145deg,#fff,#edeaf5); box-shadow:inset 0 1px 3px #fff,0 2px 5px #dcd4e52b; font-size:12px; font-weight:650; line-height:1.25; }.offer-categories button[aria-selected=true] { color:#fff; background:linear-gradient(140deg,#d375f5,#a139e5 65%,#9631d5); border-color:#db99f7; box-shadow:inset 0 1px 3px #f7d9ff99,0 3px 8px #ad6cdd2b; }.offer-banner-list { display:grid; gap:17px; }.offer-banner { display:block; position:relative; isolation:isolate; width:100%; aspect-ratio:2.05; overflow:hidden; text-align:left; border-radius:17px; border:1px solid #fff; padding:0; background:#9c47cf; box-shadow:0 3px 12px #c9b3dc20; }.offer-banner-art { position:absolute; inset:0; background-image:url('assets/optimized/promo-atlas.7bebedb56f82.webp'); background-size:200% 200%; background-position:0 0; z-index:-2; }.offer-art-1 .offer-banner-art { background-position:100% 0; }.offer-art-2 .offer-banner-art { background-position:0 100%; }.offer-art-3 .offer-banner-art { background-position:100% 100%; }.offer-banner-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#621baac9 0%,#7b27b58c 43%,transparent 72%); }.offer-category-tag { position:absolute; left:0; top:10px; padding:4px 9px; border-radius:0 7px 7px 0; background:linear-gradient(100deg,#ffa76b,#e88259); color:#fff; font-size:10px; line-height:1.2; font-weight:650; box-shadow:0 1px 2px #8f3c5740; }.offer-banner-copy { display:flex; flex-direction:column; align-items:flex-start; padding:43px 17px 13px; width:68%; height:100%; color:white; }.offer-banner-copy > strong { display:block; font-size:clamp(23px,6.6vw,29px); font-weight:800; line-height:1.02; letter-spacing:-.8px; color:#fff1c7; text-shadow:0 2px 1px #621d97,1px 1px 0 #621d97; }.offer-banner-subtitle { margin-top:7px; color:#fff3fa; font-size:10px; line-height:1.35; max-width:155px; }.offer-banner-cta { display:inline-flex; align-items:center; gap:14px; margin-top:auto; padding:6px 11px; border-radius:18px; color:#6d2c9a; background:linear-gradient(#fff0c8,#e6b45c); border:1px solid #f4d893; font-size:10px; font-weight:700; box-shadow:0 2px 4px #72239c40; }.offer-banner-cta b { font-size:13px; line-height:1; }.offer-detail-content { background:#fff; border:1px solid #eee0f6; padding:22px 18px; border-radius:15px; margin-top:18px; }.offer-detail-content h2 { margin:0 0 12px; font-size:21px; color:#70457f; }.offer-detail-content p { color:#8a7596; font-size:14px; line-height:1.75; }.offer-contact-support { display:block; margin:20px 0 0; border-radius:11px; padding:11px 16px; color:white; background:#a13bd9; font-size:14px; }@media(max-width:360px){.offers-page { padding:12px 12px 24px; }.offer-categories { gap:6px; }.offer-categories button { font-size:11px; min-height:41px; }.offer-banner { aspect-ratio:1.9; }.offer-banner-copy { padding:38px 13px 12px; }.offer-banner-copy > strong { font-size:23px; }.offer-banner-subtitle { font-size:9px; margin-top:5px; }.offer-banner-cta { padding:5px 9px; font-size:9px; }}

/* Lobby categories: slots, popular and favorites. */
.categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.categories button{font-size:12px}

/* Four lobby categories, including Pragmatic Play. */
.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.categories button{padding:7px 3px;font-size:11px;line-height:1.25;min-height:68px}

/* Twelve game positions per category: four columns, three rows. */
.category-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 8px;margin:18px 0 24px}
.game-placeholder{min-width:0;aspect-ratio:3/4;border-radius:12px;border:1px solid #e8dcf5;background:linear-gradient(145deg,#fff,#eee2f9);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:6px;color:#776087;text-align:center;font-size:10px;line-height:1.3}
.game-placeholder-icon{font-size:30px;font-weight:700;color:#b378de;line-height:1}

/* Three games per row; let additional rows extend the page naturally. */
.category-games{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;max-height:none;overflow:visible}

/* Continuous category sections with direct navigation. */
.game-sections{margin:18px 0 24px}
.game-category-section{scroll-margin-top:16px;margin-bottom:24px}
.game-category-section h2{font-size:18px;line-height:1.3;margin:0 0 12px;color:#352442}
.game-category-section .category-games{margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}

/* An empty favorites category keeps its heading without empty cards. */
.game-category-section .category-games:empty{display:none}

.game-load-footer{text-align:center;padding:16px 0 4px;color:#81718e;font-size:13px}
.game-load-footer p{margin:0 0 8px}
.game-load-more{min-height:44px;padding:8px 22px;color:#8e39c4;font-size:14px}
.game-load-more[hidden]{display:none}

.offer-custom-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}

.offer-custom-image{z-index:-2}

header .brand-63game{width:48px;flex-shrink:0}
header .brand-63game img{display:block;width:48px;height:48px;object-fit:contain;border-radius:12px}

/* Preserve uploaded image proportions and show the full photo. */
.profile-cover.has-profile-cover{background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#eee8f5}
#profile-avatar{object-fit:contain;object-position:center;background:#f3edf8}
.preset-option img{object-fit:contain;background:#f3edf8}

.profile-cover.has-profile-cover{background-size:cover}#profile-avatar{object-fit:cover}
.photo-crop-dialog{width:min(94vw,420px);max-height:92dvh;overflow:auto;padding:20px}.photo-crop-dialog h2{font-size:21px}.photo-crop-dialog p{font-size:13px;color:#786486}.photo-crop-stage{position:relative;overflow:hidden;border-radius:12px;background:#eee}.photo-crop-stage canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}.photo-crop-stage.round-crop:after{content:'';position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 80px #25113888;pointer-events:none;border:2px solid #fff}.photo-crop-dialog label{display:flex;align-items:center;gap:12px}.crop-zoom{flex:1;min-width:0;accent-color:#a32fe6}.crop-buttons{display:flex;gap:12px;margin-top:20px}.crop-buttons button{flex:1;border-radius:12px;padding:12px;background:#eee1f6}.crop-buttons .crop-save{background:#a32fe6;color:#fff}

/* Daily login rewards: seven-day mobile reward board. */
.daily-login-dialog{width:min(94vw,410px);max-height:90dvh;padding:0;border:1px solid #e2b46b;border-radius:26px;background:#f8f2ff;overflow:auto;text-align:left;box-shadow:0 20px 90px #21083f99;scrollbar-width:thin}.daily-login-dialog::backdrop{background:#180c2ac4;backdrop-filter:blur(5px)}.daily-close{position:absolute;right:12px;top:10px;z-index:2;background:#ffffff22;color:white;border:1px solid #ffffff44;border-radius:50%;width:32px;height:32px;font-size:24px;line-height:1}.daily-hero{position:relative;padding:27px 23px 23px;background:radial-gradient(ellipse at 90% 60%,#ca79f9aa,transparent 50%),linear-gradient(125deg,#421072,#8422bd 60%,#b54fdf);overflow:hidden;color:white}.daily-brand{font-size:10px;letter-spacing:2px;font-weight:800;color:#f4dba6}.daily-hero h2{font-size:36px;font-weight:850;letter-spacing:-1.2px;line-height:1.02;margin:18px 0 13px;position:relative;z-index:1}.daily-hero h2 em{font-style:normal;color:#ffe4a1}.daily-hero p{font-size:11px;margin:0;color:#ead6fa}.daily-hero-coins{position:absolute;right:19px;top:47px;width:89px;transform:rotate(15deg);filter:drop-shadow(0 7px 9px #36055566)}.daily-hero-coins svg{width:89px}.daily-hero-coins>span{position:absolute;right:-7px;top:-10px;color:#ffeab6;font-size:32px}.daily-body{padding:16px}.daily-progress{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;font-weight:650;color:#766182}.daily-progress b{font-size:10px;color:#923bc7;background:#ecdbf7;border-radius:12px;padding:6px 9px}.daily-days{display:grid;gap:8px}.daily-day{display:flex;align-items:center;gap:9px;padding:11px 10px;background:#fff;border:1px solid #e7d9ef;border-radius:13px;min-height:76px}.daily-day.is-today{border:2px solid #b44be1;background:linear-gradient(105deg,#fff,#f3e4ff);box-shadow:0 3px 10px #b779da20}.daily-day:last-child{background:linear-gradient(105deg,#fff9e6,#fff1ce);border-color:#e8c780}.daily-day-number{display:grid;text-align:center;flex-shrink:0;width:29px;color:#9e7bb2}.daily-day-number small{font-size:8px;font-weight:700;letter-spacing:1px}.daily-day-number strong{font-size:22px;line-height:1.1}.daily-reward-icon{width:38px;flex-shrink:0}.daily-reward-icon svg{display:block;width:38px;height:38px}.daily-gift{font-size:40px;color:#c29022;line-height:1}.daily-reward-copy{flex:1;min-width:0;display:grid;gap:5px}.daily-reward-copy strong{font-size:12px;color:#493153}.daily-reward-copy small{font-size:9px;color:#97879f}.daily-state{display:grid;justify-items:center;gap:2px;min-width:65px}.daily-state>small{font-size:9px;color:#aaa0af}.daily-lock{font-size:22px;color:#b3a6bd}.daily-claim{font-size:10px;font-weight:750;padding:9px 8px;color:#713390;background:linear-gradient(#ffeeb8,#e9bd60);border:1px solid #e2b255;border-radius:10px;box-shadow:0 2px 0 #cba34c}.daily-claimed{font-size:12px;font-weight:750;color:#479c77;text-align:center}.daily-claimed small{font-size:9px;font-weight:400}.daily-footnote{font-size:10px;line-height:1.6;text-align:center;color:#92809d;padding:14px 7px 5px}.daily-return{display:block;width:100%;margin-top:8px;padding:13px;border-radius:12px;background:linear-gradient(115deg,#ad40dd,#7922b7);color:#fff;font-size:13px;font-weight:750}@media(max-width:360px){.daily-body{padding:12px}.daily-day{gap:6px;padding:10px 7px}.daily-hero h2{font-size:32px}.daily-reward-icon,.daily-reward-icon svg{width:32px}.daily-state{min-width:60px}}

/* Compact check-in dialog: show four rows and scroll the remaining days. */
.daily-login-dialog{width:min(90vw,350px);max-height:90dvh;border-radius:21px}
.daily-hero{padding:20px 18px 16px}.daily-brand{font-size:9px;letter-spacing:1.4px}.daily-hero h2{font-size:29px;margin:12px 0 9px}.daily-hero p{font-size:10px;max-width:260px}.daily-hero-coins{width:65px;right:19px;top:43px}.daily-hero-coins svg{width:65px}.daily-body{padding:12px}.daily-progress{margin-bottom:10px;font-size:11px}
.daily-days{display:flex;flex-direction:column;gap:7px;height:293px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#c388e0 #f1e6f8;scroll-padding:0;padding-right:4px}
.daily-days .daily-day{flex:0 0 68px;min-height:68px;max-height:68px;padding:8px 7px;gap:6px}
.daily-day-number{width:25px}.daily-day-number strong{font-size:20px}.daily-reward-icon,.daily-reward-icon svg{width:31px;height:31px}.daily-reward-copy strong{font-size:11px}.daily-reward-copy small{font-size:8px}.daily-state{min-width:60px}.daily-claim{font-size:9px;padding:8px 6px}.daily-footnote{padding:10px 5px 3px;font-size:9px}.daily-return{padding:10px;margin-top:6px;font-size:12px}
@media(max-height:650px){.daily-hero{padding:15px 16px 12px}.daily-hero h2{font-size:25px;margin:8px 0}.daily-hero p{display:none}.daily-days{height:261px}.daily-days .daily-day{flex-basis:60px;min-height:60px;max-height:60px}}

/* Illustrated treasure-board treatment inspired by the reference. */
.daily-login-dialog{border:3px solid #d6a354;background:#452348;box-shadow:0 0 0 2px #6e3a27,0 18px 80px #17081dcc,inset 0 0 0 2px #ffdc8b}
.daily-hero{height:185px;padding:19px 17px 14px;background:#36115c url('assets/optimized/daily-treasure.15ef62d1fbab.webp') center/cover no-repeat;border-bottom:2px solid #e4b453}
.daily-brand{font-size:8px;letter-spacing:1.6px;display:inline-block;border:1px solid #ebc47c88;background:#32104499;border-radius:20px;padding:4px 7px;color:#ffe5a2}
.daily-hero h2{font-size:36px;font-weight:900;font-style:italic;line-height:.98;letter-spacing:-1px;margin:12px 0 9px;color:#ffe790;text-shadow:0 2px 0 #9d561b,0 4px 0 #502145,2px 0 0 #6d391b,-1px 0 0 #6d391b}
.daily-hero h2 em{color:#ffd265}.daily-hero p{font-size:10px;font-weight:650;line-height:1.4;color:#fff3d4;text-shadow:0 1px 3px #220927;max-width:145px}.daily-hero-coins{display:none}
.daily-close{background:#371436c9;border:1px solid #edcb83;color:#ffe5aa;box-shadow:0 2px 6px #22082488;width:27px;height:27px;right:8px;top:8px}
.daily-body{padding:10px;background:linear-gradient(90deg,#603344,#42203d 6%,#512443 94%,#754334)}
.daily-progress{color:#ffe0a1;font-size:9px;letter-spacing:.5px;margin:0 2px 9px}.daily-progress b{background:#2d1138;border:1px solid #9c6a57;color:#efc977;font-size:8px;padding:5px 6px}
.daily-days{padding:3px 5px 3px 3px;height:299px;border:1px solid #9c624e;border-radius:9px;background:#27132988;scrollbar-color:#c89b53 #38203d}
.daily-days .daily-day{position:relative;border:1px solid #c89957;border-radius:8px;background:radial-gradient(ellipse at 60% 0%,#fffdf0,#f5e8bd 75%);box-shadow:inset 0 0 0 2px #fff6d7,inset 0 0 12px #d6b27166,0 3px 0 #1e102755;color:#684624}
.daily-days .daily-day:before,.daily-days .daily-day:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#b08a55;box-shadow:inset 0 1px 1px #664c31;left:4px;top:4px}.daily-days .daily-day:after{left:auto;right:4px;top:auto;bottom:4px}
.daily-days .daily-day.is-today{border:2px solid #f9cc64;background:linear-gradient(110deg,#fff8d9,#ffe5a1);box-shadow:inset 0 0 0 2px #fff9de,0 0 8px #ffc64944}
.daily-day-number{color:#a07737}.daily-day-number strong{color:#775024;text-shadow:0 1px #fff}.daily-reward-icon{width:35px;height:37px;padding:2px;border:1px solid #bb8c31;border-radius:8px;background:linear-gradient(135deg,#fff1a8,#e3a93c);box-shadow:inset 0 0 0 2px #ffe6a2,0 2px 2px #b58a3b66}.daily-reward-copy strong{color:#583e27;font-weight:800}.daily-reward-copy small{color:#977b51}.daily-state>small{color:#9b815b}.daily-lock{color:#b99c65}.daily-claim{background:linear-gradient(#fff3bc,#f5cf72 50%,#e5ae46);color:#6d401d;border:1px solid #c48d32;box-shadow:inset 0 0 0 1px #fff1b4,0 3px 0 #b37a32;font-weight:800}.daily-claimed{border:2px solid #b7833f;border-radius:50%;padding:7px 4px;transform:rotate(-12deg);color:#a56b2f;font-size:11px}.daily-footnote{color:#d5b8cf;font-size:8px}.daily-return{border:1px solid #f8db8e;background:linear-gradient(#ffedb0,#eac170 55%,#d5a052);box-shadow:inset 0 0 0 2px #ffe4a1,0 3px 0 #80512e;color:#673d25;text-shadow:0 1px #ffe9af;font-weight:800;border-radius:10px}
@media(max-height:650px){.daily-hero{height:155px;padding-top:12px}.daily-hero h2{font-size:30px;margin:9px 0}.daily-days{height:267px}.daily-hero p{display:block}}

.daily-install-help{font-size:11px;line-height:1.6;color:#fff0cd;background:#30152c;border:1px solid #ac8050;border-radius:8px;padding:10px;margin:10px 0 0;text-align:center}

/* Keep the close control inset and centered within the dialog frame. */
.daily-login-dialog .daily-close{top:12px;right:12px;width:30px;height:30px;min-width:30px;padding:0;display:grid;place-items:center;border:1px solid #e8c77b;border-radius:50%;line-height:1;background:#371436ed;box-shadow:0 2px 5px #22082466;z-index:3}
.daily-close svg{display:block;width:16px;height:16px;pointer-events:none}


/* Animated floating offer gift. */
.gift .magic-gift{position:relative;display:block;width:82px;height:82px;font-size:initial;filter:none;isolation:isolate;animation:gift-hover 3.2s ease-in-out infinite}
.magic-gift svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 5px 4px #672e9255);position:relative;z-index:1}
.magic-gift .gift-aura{position:absolute;inset:15px 5px 0;border-radius:50%;background:radial-gradient(circle,#ffdf9c88,#cb7bff55 45%,transparent 72%);filter:blur(5px);animation:gift-glow 2.5s ease-in-out infinite}
.magic-gift .gift-lid{transform-origin:50px 48px;animation:gift-lid-wiggle 4s ease-in-out infinite}
.magic-gift .gift-spark{position:absolute;z-index:2;color:#ffe7a3;font-style:normal;font-size:18px;text-shadow:0 0 6px #e99c31,0 0 11px #fff;animation:gift-sparkle 2.4s ease-in-out infinite;pointer-events:none}
.magic-gift .spark-one{left:0;top:24px}.magic-gift .spark-two{right:2px;top:7px;animation-delay:.8s;font-size:23px}.magic-gift .spark-three{right:0;bottom:9px;animation-delay:1.6s;font-size:13px}
.gift>button:first-child b{position:relative;z-index:2;margin-top:-3px;padding:6px 12px;border:1px solid #eac8ff;background:linear-gradient(110deg,#c473ed,#a83cd7);box-shadow:0 3px 9px #8245a833;color:#fff;font-size:10px}
@keyframes gift-hover{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}
@keyframes gift-glow{0%,100%{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}
@keyframes gift-lid-wiggle{0%,65%,100%{transform:translateY(0) rotate(0)}72%{transform:translateY(-3px) rotate(-6deg)}79%{transform:translateY(-4px) rotate(5deg)}86%{transform:translateY(-2px) rotate(-3deg)}}
@keyframes gift-sparkle{0%,100%{opacity:.15;transform:scale(.5)}45%,55%{opacity:1;transform:scale(1.1)}}
@media(prefers-reduced-motion:reduce){.gift .magic-gift,.magic-gift .gift-aura,.magic-gift .gift-lid,.magic-gift .gift-spark{animation:none}.magic-gift .gift-spark{opacity:.8}}

/* Expand floating gift into a vertical activity rail without changing page. */
.gift-activity-menu{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);width:86px;margin-bottom:6px;padding:12px 6px;display:flex;flex-direction:column;gap:13px;border:1px solid #fff;border-radius:44px 44px 17px 17px;background:linear-gradient(#fffffff2,#f9edffeb);box-shadow:0 6px 22px #794c9c33;backdrop-filter:blur(12px);max-height:calc(100dvh - 260px);overflow-y:auto;scrollbar-width:none}
.gift-activity-menu[hidden]{display:none}.gift-activity-menu button{display:grid;justify-items:center;gap:5px;padding:0;flex-shrink:0}.gift .gift-activity-menu .gift-entry-art{display:grid;place-items:center;width:55px;height:55px;border-radius:50%;font-size:29px;font-weight:900;color:#fff0b2;border:2px solid #f9db97;background:radial-gradient(circle at 35% 20%,#e7a0ff,#9432cd 55%,#59208b);text-shadow:0 2px 2px #5a2446;box-shadow:inset 0 0 0 3px #ffffff44,0 3px 7px #8656a944;filter:none}.gift .gift-entry-daily{background:#7335a5 url('assets/optimized/daily-treasure.15ef62d1fbab.webp') center/cover!important}.gift .gift-activity-menu .gift-entry-jackpots{background:radial-gradient(circle at 35% 20%,#ffd894,#ef6b43 55%,#b72558)}.gift .gift-activity-menu .gift-entry-offers{background:radial-gradient(circle at 35% 20%,#f4b6ff,#bf48e0 55%,#7b1aab)}.gift-activity-menu strong{font-size:10px;color:#81429f;line-height:1.2;font-weight:750}.activities-open .magic-gift{animation:none}

.gift .gift-activity-menu .gift-entry-daily{width:64px;height:64px;background:transparent!important;border:0;border-radius:0;box-shadow:none;overflow:visible}.gift-entry-daily img{display:block;width:64px;height:64px;filter:drop-shadow(0 3px 3px #8145a833)}

/* Lighter background for the floating activity rail. */
.gift-activity-menu{background:linear-gradient(#ffffff66,#f9edff55);border-color:#ffffff88;backdrop-filter:blur(5px);box-shadow:0 4px 14px #794c9c1a}


/* Uploaded promotional artwork already includes its own colors. */
.offer-banner.has-custom-art .offer-banner-shade{display:none}
.offer-category-tag:empty{display:none}

/* Muted lavender theme: less glare, clearer hierarchy. */
:root{--surface:#e7e1ef;--ink:#30263e;--muted:#786c89}
body{background:#d5cfdf;color:var(--ink)}.app{background:#e7e1ef}
.app>header{background:#eee8f4;border-bottom:1px solid #d9cde5}.app>header h1{color:#352642}.brand-63game img{box-shadow:0 2px 7px #4e29551c}
#lobby-page{background:linear-gradient(180deg,#ece6f3,#e4deed 70%)}
.glass{background:linear-gradient(125deg,#f0eaf6,#e7dfef);border-color:#d7cbe3;box-shadow:0 3px 10px #55426b0d}
.ticker.glass{background:#eee7f4;border-color:#ded2e8;box-shadow:0 2px 7px #55426b09}.ticker{color:#655272}
.wallet.glass{background:linear-gradient(120deg,#f1ebf7,#e9e0f2);border-color:#d6c7e2;box-shadow:0 4px 12px #67437c0e}.account-name{color:#584268}.balance-row strong{color:#261b33}.balance-label{color:#756083}.wallet-actions button{color:#493457}
.categories button{background:linear-gradient(140deg,#f0eaf6,#e0d6ec);border:1px solid #d5c8e0;box-shadow:0 2px 3px #70617b26;color:#655171}.categories button.active{background:linear-gradient(140deg,#b65bdf,#9331ca);border-color:#bb7bdc;box-shadow:0 2px 6px #8d43b533;color:#fff}.categories button>span{box-shadow:0 2px 4px #74429222}
.game-category-section h2{color:#402b51}.game-placeholder{background:linear-gradient(145deg,#ede5f5,#dfd0ed);border-color:#cebbdf;color:#715d82}.game-placeholder-icon{color:#a56bca}.game-load-footer{color:#796587}.game-load-more{color:#8540a9}
.bottom-nav{background:#ebe4f3f5;border-color:#d8cce4;box-shadow:0 -3px 13px #58406f13}.bottom-nav button{color:#7c6d8c}.bottom-nav button.active{color:#9630c7}.bottom-nav button.active>span{text-shadow:0 1px 5px #bd8fda55}
.offers-page,.updates-page,.support-page,.profile-page{background:#e7e1ef}.profile-info{background:#eee7f4}.profile-signature-row p{color:#746081}.profile-links.glass{background:#eee6f5}.updates-menu-card,.support-help-card,.offer-detail-content{background:#f2edf7;border-color:#dcd0e6;box-shadow:0 3px 10px #59416e08}.support-topic-option{background:#eae0f3;border-color:#d9c4e8}.demo-label{color:#867494}

/* Match the lower-brightness official/community palette throughout the client. */
:root{--surface:#d9d0e4;--ink:#30213c;--muted:#725e80}
body{background:#c8c0d4;color:#30213c}.app,#lobby-page,.offers-page,.updates-page,.support-page,.profile-page,#withdrawal-page{background:#d9d0e4}
.app>header,.withdraw-header,.withdraw-tabs{background:#dfd4ea;border-color:#c5afd4}.app>header h1{color:#382040}
.glass,.wallet.glass,.ticker.glass,.profile-links.glass{background:#e8e0ef;border-color:#cdbdda;box-shadow:0 3px 10px #4b32660c}.account-name{color:#533665}.balance-row strong{color:#291c34}.balance-label,.profile-balance>span{color:#725e80}.wallet-actions button{color:#44304f}.ticker{color:#614a70}
.categories button{background:linear-gradient(140deg,#e8dff0,#d5c5e1);border-color:#c5afd4;box-shadow:0 2px 3px #55426520;color:#614871}.categories button.active{background:linear-gradient(140deg,#ae50d6,#8c2cc2);color:#fff;border-color:#ad6dce;box-shadow:0 2px 5px #73339422}
.game-placeholder{background:linear-gradient(145deg,#e7dcee,#d5c2e3);border-color:#c6acd8;color:#6d517e}.game-placeholder-icon{color:#9b60bd}.game-category-section h2{color:#40264f}.game-load-footer{color:#725e80}.game-load-more{color:#783696}
.bottom-nav{background:#dfd4eaf7;border-color:#c5afd4;box-shadow:0 -3px 12px #4b32660c}.bottom-nav button{color:#756080}.bottom-nav button.active{color:#8d29ba}
.profile-info{background:#e1d7eb}.profile-signature-row p,.profile-id-row,.profile-local-note{color:#725e80}.profile-money-actions>button{background:linear-gradient(125deg,#e9dff1,#d9c9e5);border-color:#cdb7dc;box-shadow:0 2px 6px #5432660c}.profile-links button+button{border-color:#cdbdda}
.updates-menu-card,.support-help-card,.offer-detail-content{background:#e8e0ef;border-color:#cdbdda;box-shadow:0 3px 10px #4b32660c}.support-topic-option{background:#d9c9e5;border-color:#c6acd8}.support-intro,.offer-detail-content p{color:#6e527f}
.app~dialog:not(.daily-login-dialog),.photo-crop-dialog{background:#e9e0f0;border-color:#c7afd7;color:#36223f}

/* Three compact wallet actions, including the app entry. */
.wallet .wallet-actions{gap:8px}.wallet .wallet-actions button{min-width:40px;font-size:10px}.wallet .wallet-actions .payment-icon{width:46px;height:46px}.wallet .account{min-width:0}@media(max-width:360px){.wallet .wallet-actions{gap:5px}.wallet .wallet-actions .payment-icon{width:39px;height:42px}.wallet .wallet-actions button{min-width:35px}}

/* Wallet layout: balance above, three equal-width actions below. */
.wallet.glass{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:15px 14px 12px}
.wallet .account{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:3px}
.wallet .account-name{grid-column:1;grid-row:1;font-size:13px;min-width:0}
.wallet .balance-label{grid-column:1;grid-row:2;margin:0;font-size:10px}
.wallet .balance-row{grid-column:2;grid-row:1 / span 2;margin:0;gap:5px}.wallet .balance-row strong{font-size:27px;line-height:34px}
.wallet .wallet-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%;border-top:1px solid #d4c5df;padding-top:12px}
.wallet .wallet-actions button{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:77px;padding:7px 4px;gap:3px;border:1px solid #d4c2e0;border-radius:12px;background:linear-gradient(135deg,#eee5f5,#ded0e9);font-size:11px;font-weight:650;line-height:1.3;color:#4e315f}
.wallet .wallet-actions .payment-icon{display:block;width:48px;height:48px;margin:0;object-fit:contain}
.wallet .wallet-actions button:active{background:#d8c2e6;transform:translateY(1px)}
@media(max-width:360px){.wallet.glass{padding:13px 11px 11px}.wallet .account-name{font-size:12px}.wallet .balance-row strong{font-size:24px}.wallet .wallet-actions{gap:7px}.wallet .wallet-actions button{min-width:0;font-size:11px}.wallet .wallet-actions .payment-icon{width:46px;height:46px}}

/* Compact two-row wallet panel. */
.wallet.glass{padding:11px 12px 10px;gap:8px;border-radius:16px}
.wallet .account{row-gap:1px}.wallet .account-name{font-size:12px}.wallet .balance-label{font-size:9px}.wallet .balance-row strong{font-size:24px;line-height:29px}.wallet .balance-row button{font-size:23px;min-height:30px;min-width:28px}
.wallet .wallet-actions{padding-top:8px;gap:8px}.wallet .wallet-actions button{min-height:63px;padding:5px 4px;gap:2px;border-radius:10px;font-size:10px}.wallet .wallet-actions .payment-icon{width:39px;height:39px}
@media(max-width:360px){.wallet.glass{padding:10px;gap:7px}.wallet .wallet-actions{gap:6px}.wallet .wallet-actions button{min-height:60px;font-size:10px}.wallet .wallet-actions .payment-icon{width:37px;height:37px}.wallet .balance-row strong{font-size:23px}}

/* First-visit guided spotlight. */
dialog.first-tour{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;padding:0;background:transparent!important;box-shadow:none;overflow:hidden;color:#fff}dialog.first-tour::backdrop{background:#190c2999;backdrop-filter:none}.tour-spot{position:fixed;border:2px solid #ffe19a;border-radius:15px;background:transparent;box-shadow:0 0 0 5px #c77aff55,0 0 25px #ffdc8177;z-index:1}.tour-spot[hidden]{display:none}.tour-card{position:fixed;padding:24px 22px 14px;border-radius:23px;background:radial-gradient(ellipse at 50% 0,#ba72dd55,transparent 60%),linear-gradient(150deg,#55256e,#30183f);border:1px solid #dab77c;box-shadow:0 16px 60px #17092499;text-align:left;z-index:2}.tour-skip{position:absolute;right:15px;top:13px;color:#dbc7e5;font-size:11px;padding:5px}.tour-art{font-size:49px;color:#ffe2a1;line-height:1;margin:5px 0 13px;text-shadow:0 3px 16px #eab95e55;height:55px}.tour-art img{width:62px;height:62px}.tour-eyebrow{font-size:9px;letter-spacing:1.5px;color:#ebc890;font-weight:700}.tour-card h2{font-size:25px;line-height:1.15;letter-spacing:-.5px;color:#fff0cd;margin:10px 0}.tour-card p{font-size:13px;line-height:1.65;color:#e2d0ec;margin:0 0 20px}.tour-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.tour-progress{display:flex;gap:5px}.tour-progress i{width:5px;height:5px;border-radius:50%;background:#9373a3}.tour-progress i.current{width:17px;border-radius:4px;background:#f8d48b}.tour-next{font-size:12px;font-weight:750;background:linear-gradient(#fff0ba,#e6b75f);border-radius:11px;padding:12px 14px;color:#633a31}.tour-next span{margin-left:6px}.tour-count{display:block;text-align:center;color:#ac91ba;font-size:9px;margin-top:14px}

/* Character welcome and two guided clicks. */
dialog.character-welcome{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:0;border-radius:0;background:transparent!important;box-shadow:none;overflow:hidden}.character-welcome::backdrop{background:#180b2cbf;backdrop-filter:blur(3px)}.welcome-scene{position:absolute;inset:0;max-width:430px;margin:auto}.welcome-character{position:absolute;height:70%;max-width:100%;object-fit:contain;bottom:19%;left:50%;transform:translateX(-50%);animation:welcome-idle 4s ease-in-out infinite;pointer-events:none}.welcome-speech{position:absolute;bottom:7%;left:5%;width:90%;padding:22px 21px 17px;border:2px solid #dfbd76;border-radius:20px;background:linear-gradient(135deg,#fff1d9,#ead8f1);box-shadow:0 10px 40px #1c0c3d66;text-align:left}.welcome-speech:before{content:'';position:absolute;top:-13px;left:45px;width:22px;height:22px;background:#f6e8df;border-top:2px solid #dfbd76;border-left:2px solid #dfbd76;transform:rotate(45deg)}.welcome-speech h2{position:relative;font-size:21px;line-height:1.25;color:#542867;min-height:27px;margin:0 0 10px}.welcome-speech p{color:#624d70;font-size:14px;line-height:1.6;min-height:68px;margin:0 0 15px}.welcome-speech>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.welcome-add{padding:12px 23px;border-radius:12px;background:linear-gradient(#bd58e2,#8c2cbb);border:1px solid #ce86e7;color:#fff;font-size:14px;font-weight:750}.welcome-voice{color:#795783;font-size:12px;padding:8px}.welcome-guide-skip{position:fixed;top:max(18px,env(safe-area-inset-top));right:max(18px,calc((100vw - 400px)/2));padding:9px 17px;color:#fff;background:#442455cc;border:1px solid #b18cbe;border-radius:20px;z-index:5;font-size:12px}.welcome-target-layer{position:fixed;inset:0;z-index:100;background:#190c2955}.welcome-target{position:fixed;border:2px solid #ffe49c;border-radius:18px;background:transparent;box-shadow:0 0 0 5px #d17cff55,0 0 23px #ffda8b88}.welcome-pointer{position:fixed;display:flex;align-items:center;gap:10px;color:#ffe4a0;pointer-events:none}.welcome-pointer span,.welcome-install-arrow>span{font-size:12px;background:#412053;border:1px solid #d5af71;border-radius:10px;padding:9px 12px;color:#ffe8b7}.welcome-pointer b{font-size:37px;animation:guide-point-right .8s ease-in-out infinite}.welcome-install-arrow{position:fixed;transform:translateX(-50%);z-index:15;display:grid;justify-items:center;pointer-events:none;white-space:nowrap}.welcome-install-arrow b{font-size:31px;line-height:30px;color:#ffe49a;text-shadow:0 2px 5px #492143;animation:guide-point-down .8s ease-in-out infinite}.welcome-install-skip{pointer-events:auto;position:absolute;right:0;top:-30px;font-size:10px;color:#fff;background:#482654cc;border-radius:12px;padding:5px 9px}.guide-install-target{outline:3px solid #fff0a5;outline-offset:3px;animation:guide-target-glow 1.2s ease-in-out infinite}@keyframes welcome-idle{50%{transform:translateX(-50%) translateY(-5px)}}@keyframes guide-point-right{50%{transform:translateX(7px)}}@keyframes guide-point-down{50%{transform:translateY(5px)}}@keyframes guide-target-glow{50%{outline-color:#d889ff;box-shadow:0 0 18px #f4d37b99}}@media(prefers-reduced-motion:reduce){.welcome-character,.welcome-pointer b,.welcome-install-arrow b,.guide-install-target{animation:none}}

.gift .gift-close{background:#c2b6cddd;color:#fff;box-shadow:none}

/* Redemption requirements use the same muted lavender as the rest of the client. */
body:has(.app.withdrawal-open){min-width:0}
#withdrawal-page .withdraw-balances{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#e4daec;border-color:#c9b5d7}
#withdrawal-page .withdraw-balances>div{display:block;padding:0;border:0}
#withdrawal-page .withdraw-balances>div>span{font-size:12px;color:#725e80}
#withdrawal-page .redemption-balance-value{display:flex;align-items:center;gap:7px;margin-top:4px}
#withdrawal-page .withdraw-balances strong{font-size:28px;font-weight:750;color:#30213c;line-height:1.2}
#withdrawal-page #withdraw-refresh.player-refresh{min-inline-size:var(--player-refresh-target-size);min-block-size:var(--player-refresh-target-size)}
#withdrawal-page .redemption-mode{font-size:12px;font-weight:700;white-space:nowrap;border:1px solid #c6a6d8;border-radius:20px;background:#d7c4e4;color:#71388c;padding:7px 12px}
#withdrawal-page .withdraw-body{padding:14px 16px 24px}
#withdrawal-page .redemption-progress-card{padding:16px;border-radius:16px;border:1px solid #c7b2d7;background:#e8dfef;margin-bottom:14px}
#withdrawal-page .redemption-progress-card h2{font-size:19px;font-weight:750;line-height:1.3;margin:0 0 5px;color:#392346}
#withdrawal-page #redemption-basis{font-size:12px;line-height:1.5;color:#725883;margin:0 0 17px}
#withdrawal-page .redemption-progress-row+.redemption-progress-row{margin-top:15px}
#withdrawal-page .redemption-progress-row>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:7px}
#withdrawal-page .redemption-progress-row strong{font-size:13px;color:#513262;font-weight:650}
#withdrawal-page .redemption-progress-row span{font-size:12px;color:#6c507d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}
#withdrawal-page .redemption-progress-track{height:8px;border-radius:8px;background:#cfbedb;overflow:hidden}
#withdrawal-page .redemption-progress-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ad65cf,#8e30bd);border-radius:inherit;transition:width .35s ease}
#withdrawal-page .redemption-progress-track.is-complete i{background:#69856e}
#withdrawal-page .withdraw-status{font-size:12px;line-height:1.5;color:#71517f;background:#ded0e8;border-radius:9px;padding:9px 10px;margin:16px 0 0}
#withdrawal-page .receiving-link{min-height:53px;background:#e5d9ed;border-color:#c6acd8;font-size:14px;color:#4e315e}
#withdrawal-page #withdraw-form{margin-top:16px}
#withdrawal-page #withdraw-form label{font-size:13px;color:#60416f;margin-bottom:7px}
#withdrawal-page .withdraw-amount-wrap{min-height:53px;background:#e8e0ef;border-color:#bb94d0}
#withdrawal-page #withdraw-amount{font-size:21px;font-weight:700;color:#3b224b}
#withdrawal-page #withdraw-amount:read-only{cursor:default}
#withdrawal-page #withdraw-feedback{font-size:12px;line-height:1.45;color:#725681;margin:9px 0 12px;min-height:18px}
#withdrawal-page .withdraw-confirm{min-height:49px;background:linear-gradient(110deg,#ae4bd4,#8c2cbd);font-size:16px;font-weight:750}
#withdrawal-page .withdraw-confirm:disabled{background:#b7a4c5;color:#f4edf8}
#withdrawal-page .redemption-reset-note{font-size:12px;line-height:1.6;color:#6c507b;margin:13px 1px 0}
#withdrawal-page .withdraw-note{font-size:11px;color:#786387;margin:12px 1px 17px;line-height:1.5}
#withdrawal-page #withdraw-help{min-height:44px;background:#dfcfe9;color:#725083;border:1px solid #c6add5;font-size:12px;border-radius:10px}
#withdrawal-page #withdraw-help b{color:#7b2da2}
#withdrawal-page .withdraw-demo{display:none}
#withdrawal-page .bound-accounts,#withdrawal-page .payment-account-list{background:#e8e0ef;border-color:#c7afd7}
#withdrawal-page .payment-account-row{background:#e8e0ef;border-color:#cfbbdc}
@media(max-width:360px){#withdrawal-page .withdraw-body{padding:12px}#withdrawal-page .redemption-progress-card{padding:14px}#withdrawal-page .redemption-progress-card h2{font-size:18px}#withdrawal-page .redemption-progress-row span{font-size:11px}}
@media(prefers-reduced-motion:reduce){#withdrawal-page .redemption-progress-track i{transition:none}}

/* First deposit access card; the existing deposited-player form stays unchanged. */
#withdrawal-page .withdraw-deposit-gate{padding:5px 0 7px}
#withdrawal-page .withdraw-deposit-card{padding:24px 16px 21px;border:1px solid #bfa6d0;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#e9d9f1 0,transparent 70%),linear-gradient(135deg,#e5daed,#d9cbe4);text-align:center;box-shadow:0 6px 16px #6040780b}
#withdrawal-page .withdraw-deposit-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #c6acd6;border-radius:20px;background:#d8c6e5;color:#7a448f;font-size:10px;font-weight:750;letter-spacing:.5px}
#withdrawal-page .withdraw-deposit-badge svg{width:15px;height:15px}
#withdrawal-page .withdraw-deposit-card h2{margin:15px 0 8px;color:#392446;font-size:20px;font-weight:750;line-height:1.3;letter-spacing:-.3px}
#withdrawal-page .withdraw-deposit-card>p{max-width:290px;margin:0 auto;color:#725d80;font-size:13px;line-height:1.55}
#withdrawal-page .withdraw-deposit-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}
#withdrawal-page .withdraw-deposit-balances>div{display:flex;align-items:center;justify-content:flex-start;flex-direction:column;min-height:109px;padding:16px 8px 12px;border:1px solid #c5aed4;border-radius:12px;background:#eee6f3aa}
#withdrawal-page .withdraw-deposit-balances span{color:#70567e;font-size:12px;font-weight:600;line-height:1.4}
#withdrawal-page .withdraw-deposit-balances strong{display:block;margin-top:9px;font-size:27px;font-weight:750;line-height:1.2;color:#382447;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#withdrawal-page .withdraw-deposit-balances>div+div{background:#d0bfdf66}
#withdrawal-page .withdraw-deposit-balances>div+div strong{color:#88619f}
#withdrawal-page .withdraw-deposit-balances small{margin-top:6px;color:#8b739a;font-size:10px;line-height:1.3}
#withdrawal-page .withdraw-deposit-progress{margin:0 0 18px;text-align:left}
#withdrawal-page .withdraw-gate-disabled{min-width:185px;min-height:45px;padding:10px 20px;border:0;border-radius:25px;background:#bfadca;color:#efebf3;font-size:16px;font-weight:700;cursor:not-allowed}
#withdrawal-page .withdraw-deposit-next{padding:23px 18px 9px;text-align:center}
#withdrawal-page .withdraw-deposit-next p{max-width:300px;margin:0 auto 21px;color:#725284;font-size:13px;line-height:1.65;font-weight:500}
#withdrawal-page #withdraw-deposit-now{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:52px;padding:8px 15px;border:1px solid #b760da;border-radius:29px;background:linear-gradient(110deg,#b251d7,#8e2fbc);box-shadow:0 5px 12px #7c36a61a;color:#fff;font-size:18px;font-weight:750}
#withdrawal-page #withdraw-deposit-now img{width:35px;height:35px;flex:none}
#withdrawal-page #withdraw-deposit-now>span{margin-left:8px;font-size:22px;line-height:1}
#withdrawal-page #withdraw-deposit-now:focus-visible{outline:3px solid #e2ba68;outline-offset:3px}
@media(max-width:360px){#withdrawal-page .withdraw-deposit-card{padding:21px 12px 19px}#withdrawal-page .withdraw-deposit-card h2{font-size:19px}#withdrawal-page .withdraw-deposit-balances{gap:8px}#withdrawal-page .withdraw-deposit-balances span{font-size:11px}#withdrawal-page .withdraw-deposit-balances strong{font-size:24px}#withdrawal-page .withdraw-deposit-next{padding:21px 10px 9px}}

/* Keep short and long shell pages the same width when switching navigation. */
html:has(body>.app){overflow-y:scroll;scrollbar-gutter:stable}
body:has(>.app){min-width:0}

/* One continuous bar with a softly raised center; no separate icon pedestal. */
.bottom-nav,.app.deposit-open nav.bottom-nav{overflow:visible;isolation:isolate;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.bottom-nav::before{content:'';position:absolute;left:0;right:0;top:-20px;height:44px;z-index:-1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V40Q0 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q430 20 430 40V44Z' fill='%23dfd4ea'/%3E%3Cpath d='M.5 44V40Q.5 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q429.5 20 429.5 40V44' fill='none' stroke='%23c5afd4' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center top/100% 44px no-repeat;filter:drop-shadow(0 -3px 5px #4b32660c)}
.bottom-nav::after{content:'';position:absolute;inset:23px 0 0;z-index:-1;pointer-events:none;background:#dfd4ea;border-left:1px solid #c5afd4;border-right:1px solid #c5afd4}
.bottom-nav button.bottom-deposit{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:0;padding:0 0 1px;min-width:0;isolation:isolate}
.bottom-nav button.bottom-deposit>.bottom-deposit-icon{position:absolute;top:-30px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:64px;height:64px;border:0;border-radius:0;background:none;box-shadow:none;line-height:0;font-size:0;text-shadow:none;transition:transform .16s ease}
.bottom-nav button.bottom-deposit .bottom-deposit-icon img{display:block;width:64px;height:64px;max-width:none;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.bottom-nav button.bottom-deposit>.bottom-deposit-label{font-size:12px;line-height:16px;font-weight:700;text-shadow:none;white-space:nowrap}
.bottom-nav button.bottom-deposit.active>.bottom-deposit-icon{background:none;box-shadow:none}
.bottom-nav button.bottom-deposit.active>.bottom-deposit-label{color:#8d29ba}
.bottom-nav button.bottom-deposit:active>.bottom-deposit-icon{transform:translateX(-50%) translateY(2px)}
.bottom-nav button.bottom-deposit:focus-visible>.bottom-deposit-icon{outline:3px solid #a451c5;outline-offset:3px}
@media(max-width:360px){.bottom-nav button.bottom-deposit>.bottom-deposit-icon{top:-28px;width:60px;height:60px}.bottom-nav button.bottom-deposit .bottom-deposit-icon img{width:60px;height:60px}.bottom-nav button.bottom-deposit>.bottom-deposit-label{font-size:11px}}

.lobby-back-top{position:fixed;left:max(14px,calc((100% - 430px)/2 + 14px));bottom:calc(112px + env(safe-area-inset-bottom,0px));z-index:4;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #bda1cf;border-radius:13px;background:#e9e0f0f2;color:#9855b7;box-shadow:0 3px 11px #50306220;backdrop-filter:blur(8px)}
.lobby-back-top[hidden]{display:none!important}
.lobby-back-top svg{display:block;width:24px;height:24px}
.lobby-back-top:hover{background:#f0e6f6;color:#8638aa}
.lobby-back-top:active{transform:translateY(1px)}

/* Keep wallet action labels readable at phone sizes. */
.wallet .wallet-actions button>span,.profile-money-actions>button>b{font-size:14px;font-weight:700;line-height:18px;color:#30213c;letter-spacing:0;text-shadow:none}

/* Mail status sits over the envelope without shifting the header. */
.announcement.mail-button{position:relative;overflow:visible}
.mail-unread-dot{position:absolute;top:1px;right:0;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border:1.5px solid #dfd4ea;border-radius:12px;background:#cf2846;color:#fff;font:700 10px/1 Arial,Helvetica,sans-serif;letter-spacing:0;white-space:nowrap;text-shadow:none;pointer-events:none}
.mail-unread-dot[hidden]{display:none!important}

/* Keep lobby categories available while the game list scrolls. */
.app:has(>#lobby-page:not([hidden])){overflow:clip}
#lobby-page .categories{position:sticky;top:calc(env(safe-area-inset-top,0px) + 8px);z-index:6;background:#d9d0e4}
#lobby-page .categories::before{content:'';position:absolute;inset:-8px -16px;z-index:-1;pointer-events:none;background:#d9d0e4;box-shadow:0 5px 9px #4b32660c}
#lobby-page .game-category-section{scroll-margin-top:calc(env(safe-area-inset-top,0px) + 100px)}

/* Half-body guide floats above a transparent, softly outlined message pane. */
dialog.character-welcome::backdrop{background:linear-gradient(180deg,#100d1c80,#171221b8 60%,#110e1bb3);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
dialog.character-welcome .welcome-scene{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:430px;padding:64px 22px max(30px,env(safe-area-inset-bottom,0px));isolation:isolate}
dialog.character-welcome .welcome-portrait{position:relative;z-index:2;flex:0 1 auto;width:100%;height:min(40dvh,318px);min-height:150px;pointer-events:none}
dialog.character-welcome .welcome-character{position:static;display:block;width:100%;height:100%;max-width:318px;margin:0 auto;object-fit:contain;object-position:center bottom;transform:none;filter:drop-shadow(0 9px 16px #180b2526);animation:welcome-half-idle 4s ease-in-out infinite;user-select:none;-webkit-user-drag:none}
dialog.character-welcome .welcome-speech{position:relative;z-index:1;bottom:auto;left:auto;flex:none;width:100%;margin-top:-4px;padding:22px 22px 19px;border:1px solid #ffffff30;border-radius:26px;background:linear-gradient(135deg,#ffffff0d,#ffffff03);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 #ffffff12,0 16px 40px #08060e1a;text-align:left}
dialog.character-welcome .welcome-speech::before{content:none}
dialog.character-welcome .welcome-speech-eyebrow{display:flex;align-items:center;gap:7px;width:fit-content;margin:0 0 12px;padding:6px 9px;border:1px solid #edce9138;border-radius:20px;background:#fff0c305;color:#f3dca9;font-size:9px;font-weight:650;line-height:12px;letter-spacing:1.3px}
dialog.character-welcome .welcome-speech-eyebrow i{width:5px;height:5px;border-radius:50%;background:#f0d390;box-shadow:0 0 8px #e9bf7050;flex:none}
dialog.character-welcome .welcome-speech h2{max-width:300px;min-height:2.36em;margin:0 0 10px;color:#fff8e9;font-size:clamp(25px,6.5vw,28px);font-weight:720;line-height:1.18;letter-spacing:-.65px;text-shadow:0 2px 10px #100b1b45;text-wrap:balance}
dialog.character-welcome .welcome-speech p{min-height:3.1em;margin:0 0 21px;color:#f1edf7;font-size:14px;font-weight:400;line-height:1.6;text-shadow:0 1px 5px #100b1b50}
dialog.character-welcome .welcome-speech-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
dialog.character-welcome .welcome-voice{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 11px;border:1px solid #ffffff29;border-radius:24px;background:#ffffff06;color:#f0e9f7;font-size:12px;font-weight:500;white-space:nowrap}
dialog.character-welcome .welcome-add{min-width:164px;min-height:47px;padding:11px 22px;border:1px solid #f1d697;border-radius:24px;background:linear-gradient(120deg,#ffeab1,#e6c170);box-shadow:0 4px 16px #120b201f,inset 0 1px 0 #fff7db;color:#402637;font-size:15px;font-weight:700;white-space:nowrap}
dialog.character-welcome .welcome-voice:focus-visible,dialog.character-welcome .welcome-add:focus-visible{outline:3px solid #f6d88e;outline-offset:3px}
dialog.character-welcome>.welcome-guide-skip{top:max(18px,env(safe-area-inset-top,0px));right:max(18px,calc((100vw - 394px)/2));min-height:40px;padding:8px 16px;border:1px solid #ffffff40;background:#ffffff0a;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:550;z-index:5}
dialog.character-welcome>.welcome-guide-skip:focus-visible{outline:2px solid #e2bf74;outline-offset:3px}
@keyframes welcome-half-idle{50%{transform:translateY(-4px)}}
@media(max-width:360px){dialog.character-welcome .welcome-scene{padding-left:16px;padding-right:16px}dialog.character-welcome .welcome-speech{padding:18px 18px 17px;border-radius:22px}dialog.character-welcome .welcome-speech h2{font-size:24px}dialog.character-welcome .welcome-speech p{min-height:4.65em;margin-bottom:17px}dialog.character-welcome .welcome-add{min-width:144px;padding-left:16px;padding-right:16px}dialog.character-welcome .welcome-speech-actions{gap:9px}}
@media(max-height:650px){dialog.character-welcome .welcome-scene{padding-top:52px;padding-bottom:max(18px,env(safe-area-inset-bottom,0px))}dialog.character-welcome .welcome-portrait{height:36dvh;min-height:120px}dialog.character-welcome .welcome-speech{padding-top:15px;padding-bottom:15px}dialog.character-welcome .welcome-speech h2{font-size:23px}dialog.character-welcome .welcome-speech p{margin-bottom:12px}}
@media(max-height:650px){dialog.character-welcome{overflow-y:auto;overscroll-behavior:contain}dialog.character-welcome .welcome-scene{position:relative;inset:auto;min-height:100%;height:auto;justify-content:flex-start}dialog.character-welcome .welcome-portrait{flex-shrink:0;height:min(33dvh,190px)}}
@media(prefers-reduced-motion:reduce){dialog.character-welcome .welcome-character{animation:none}}

/* Daily rewards keep their treasure-board frame while using real claim state. */
.daily-login-dialog .daily-reward-copy .daily-reward-amount{font-size:15px;line-height:1.15;white-space:nowrap}
.daily-login-dialog .daily-reward-copy small{font-size:9px}
.daily-login-dialog .daily-state{min-width:73px}
.daily-login-dialog .daily-claim{min-height:32px;white-space:nowrap;font-size:10px;padding:7px 6px}
.daily-login-dialog .daily-claim:disabled{cursor:default;opacity:.65;box-shadow:inset 0 0 0 1px #fff1b4}
.daily-login-dialog .daily-countdown{color:#88602f;font-size:10px;font-variant-numeric:tabular-nums;line-height:1.4}
.daily-login-dialog .daily-state>small{font-size:8px}
.daily-login-dialog .daily-claimed{font-size:10px;padding:7px 3px;white-space:nowrap}
.daily-login-dialog .daily-feedback{color:#f3dba4;font-size:10px;line-height:1.45;text-align:center;margin:8px 2px 0}
.daily-login-dialog .daily-feedback:empty{display:none}
.daily-login-dialog .daily-retry{color:#ffe2a1;text-decoration:underline;font-size:11px;min-height:28px;padding:3px 5px}
.daily-login-dialog .daily-footnote{font-size:9px;line-height:1.45;padding:8px 4px 3px;color:#d5b8cf}

/* Generated category icon artwork: keep original category buttons and labels. */
#lobby-page .categories button{gap:3px;padding-top:3px;padding-bottom:3px}
#lobby-page .categories button>span.category-art{display:grid;place-items:center;width:34px;height:34px;background:none;border-radius:0;box-shadow:none}
#lobby-page .category-art>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
@media(max-width:400px){
 #lobby-page .categories button{padding-top:4px;padding-bottom:4px}
 #lobby-page .categories button>span.category-art{width:28px;height:28px}
}

/* Champagne selection separates purple category art from its background. */
#lobby-page .categories button.active{background:linear-gradient(145deg,#f1e4c9,#e2c88e);border-color:#b99a60;color:#4b305b;box-shadow:inset 0 1px 0 #fff5dd,0 2px 5px #70542c20}

/* Static deposit shop in the raised navigation; keep its original icon box. */
.bottom-nav button.bottom-deposit .bottom-deposit-icon img.bottom-deposit-shop{width:50px;height:50px}
@media(max-width:360px){.bottom-nav button.bottom-deposit .bottom-deposit-icon img.bottom-deposit-shop{width:46px;height:46px}}

/* Neutral account photo defaults; custom uploads and gallery selections stay visible. */
#profile-page .profile-cover:not(.has-profile-cover){background:#d3d6db}
#profile-page .avatar-edit:has(#profile-avatar[hidden]){background:#e4e6eb;box-shadow:0 2px 8px #27313f12}
#profile-page #avatar-placeholder{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#e4e6eb;color:#969da7}
#profile-page #avatar-placeholder>svg{display:block;width:68%;height:68%}

/* Photo options share the account page's muted lavender palette. */
.app~dialog.photo-actions{background:transparent;border:0;box-shadow:none}
dialog.photo-actions .photo-actions-group{background:#ded3e7;border:1px solid #bea8cf;box-shadow:0 3px 12px #30213c18}
dialog.photo-actions button{background:transparent;color:#4e315f;font-weight:600}
dialog.photo-actions .photo-actions-group button+button{border-top-color:#c5b1d3}
dialog.photo-actions .photo-actions-cancel{background:#d2c3df;border:1px solid #b9a0cb;color:#60446f}
dialog.photo-actions button:active{background:#cdbbdd}
dialog.photo-actions .photo-actions-cancel:active{background:#c4afd3}
@media(hover:hover){dialog.photo-actions .photo-actions-group button:hover{background:#d5c5e2}dialog.photo-actions .photo-actions-cancel:hover{background:#c9b6d8}}

/* One account entry opens the two existing, independent audio controls. */
#audio-settings-entry>span{display:grid;place-items:center;width:22px}
.app~dialog.audio-settings{position:fixed;width:min(360px,calc(100vw - 32px));max-width:360px;max-height:calc(100dvh - 32px);margin:auto;padding:22px 16px 17px;border:1px solid #bea8cf;border-radius:20px;background:#ded3e7;color:#30213c;text-align:left;overflow:auto;box-shadow:0 14px 48px #21112e35}
dialog.audio-settings::backdrop{background:#23152d70;backdrop-filter:none}
dialog.audio-settings h2{margin:0 42px 18px 2px;font-size:20px;font-weight:700;line-height:1.25;letter-spacing:-.3px}
dialog.audio-settings .audio-settings-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;padding:12px;border-radius:12px;background:transparent;color:#60446f}
dialog.audio-settings .audio-settings-close svg{display:block;width:20px;height:20px}
dialog.audio-settings .audio-settings-controls{display:grid;gap:10px}
dialog.audio-settings .audio-settings-controls>button{display:flex;align-items:center;gap:10px;width:100%;min-height:64px;padding:13px 12px;border:1px solid #c5b1d3;border-radius:13px;background:#e8e0ef;color:#3f294e;text-align:left;font-size:14px;font-weight:600;line-height:1.4}
dialog.audio-settings .audio-settings-controls>button>span{flex:none;width:20px;text-align:center;color:#8b3cb1;font-size:21px}
dialog.audio-settings .audio-settings-controls>button>b{flex:none;min-width:48px;max-width:100px;margin-left:auto;padding:6px 10px;border-radius:20px;background:#d2c3df;color:#60446f;text-align:center;font-size:12px;font-weight:650;line-height:1.35}
dialog.audio-settings .audio-settings-controls>button[aria-pressed=true]>b{background:#8b3cb1;color:#fff}
dialog.audio-settings .audio-settings-controls>button:disabled{background:#d7cddd;color:#675774;cursor:default;opacity:1}
dialog.audio-settings .audio-settings-controls>button:disabled>b{min-width:48px;max-width:82px;font-size:11px;white-space:normal}
dialog.audio-settings button:focus-visible{outline:2px solid #8b3cb1;outline-offset:3px}
dialog.audio-settings .audio-settings-controls>button:not(:disabled):active{background:#dacbe5}
@media(hover:hover){dialog.audio-settings .audio-settings-close:hover{background:#d2c3df}dialog.audio-settings .audio-settings-controls>button:not(:disabled):hover{background:#e1d5e9}}

/* deposit.css */
/* Wallet page styles are intentionally scoped to the deposit view. */
.app.deposit-open{background:#d9d0e4;color:#30213c;min-height:100dvh}
.app.deposit-open>header{background:#dfd4ea;border-bottom:1px solid #c5afd4;box-shadow:none;color:#30213c}
.app.deposit-open>header h1{color:#30213c}
.app.deposit-open .header-contact-actions button{color:#9630c7}
.app.deposit-open .bottom-nav{background:#dfd4eaf7;border-color:#c5afd4;box-shadow:0 -3px 12px #4b32660c}
.app.deposit-open .bottom-nav button{color:#756080}
.app.deposit-open .bottom-nav button.active{color:#8d29ba}
#deposit-page{padding:12px 14px 16px;color:#30213c;background:#d9d0e4;font-family:Arial,Helvetica,sans-serif}
#deposit-page [hidden]{display:none!important}
#deposit-page button{font-family:inherit;box-shadow:none;text-shadow:none;touch-action:manipulation}
#deposit-page button:focus-visible,#deposit-page input:focus-visible{outline:2px solid #9630c7;outline-offset:3px}
#deposit-page .deposit-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:18px}
#deposit-page .deposit-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;padding:6px 2px;border-radius:6px;font-size:15px;font-weight:700;color:#725e80}
#deposit-page .deposit-tabs svg{width:23px;height:23px}
#deposit-page .deposit-tabs button[aria-pressed=true]{background:#e8e0ef;color:#8d29ba}
#deposit-page .deposit-offer{display:flex;align-items:center;width:100%;min-height:70px;padding:8px 12px;gap:10px;background:linear-gradient(120deg,#e5dbee,#ded1e8);border-radius:11px;text-align:left;color:#65337e}
#deposit-page .deposit-offer-gift{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;line-height:0}
#deposit-page .deposit-offer-gift img{display:block;width:50px;height:50px;object-fit:contain}
#deposit-page .deposit-offer-copy{flex:1;min-width:0}
#deposit-page .deposit-offer b{display:block;margin-bottom:3px;color:#80658e;font-size:12px;font-weight:600;line-height:1.35}
#deposit-page .deposit-offer strong{display:block;font-size:14px;font-weight:700;line-height:1.4}
#deposit-page .deposit-offer em{color:#89612d;font-style:normal;white-space:nowrap}
#deposit-page .deposit-offer>span:last-child{flex:none;font-size:24px;line-height:1}
#deposit-page .deposit-amount-heading{text-align:center;margin:14px 0 9px}
#deposit-page h2{margin:0;color:#30213c;font-size:18px;font-weight:700;line-height:1.4}
#deposit-page .deposit-amount-heading p{margin:2px 0 0;color:#783696;font-size:13px}
#deposit-page .deposit-amount-field{display:flex;align-items:center;gap:12px;background:#e8e0ef;border-radius:7px;padding:10px 17px;min-height:52px}
#deposit-page .deposit-dollar{display:inline-grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#a34bca;color:#fff;font-size:19px;font-weight:700;font-style:normal;line-height:1}
#deposit-page #deposit-amount{width:100%;min-width:0;border:0;outline:0;border-radius:3px;padding:0;background:transparent;text-align:right;color:#30213c;font-family:inherit;font-size:27px;font-weight:700;line-height:1.2}
#deposit-page .deposit-amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 17px;margin:15px 0 23px}
#deposit-page .deposit-amount-grid button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:70px;border:1px solid #cdbdda;border-radius:6px;padding:9px 2px;background:#e8e0ef;color:#30213c}
#deposit-page .deposit-amount-badge{position:absolute;top:-8px;right:-1px;z-index:1;display:block;padding:3px 7px;border:1px solid #dfbb76;border-radius:7px 7px 2px 7px;background:linear-gradient(135deg,#fff0c9,#e9c77f);color:#5b2e70;font-size:9px;font-style:normal;font-weight:700;line-height:1.25;letter-spacing:.1px;white-space:nowrap;box-shadow:0 2px 4px #6643241a;pointer-events:none}
#deposit-page .deposit-amount-grid button>span{display:flex;align-items:center;justify-content:center;gap:5px;font-size:23px;font-weight:700;white-space:nowrap}
#deposit-page .deposit-amount-grid .deposit-dollar{width:18px;height:18px;font-size:14px}
#deposit-page .deposit-amount-grid small{color:#783696;font-size:12px;font-weight:600;line-height:1.2}
#deposit-page .deposit-amount-grid button[aria-pressed=true]{background:linear-gradient(140deg,#ae50d6,#8c2cc2);border-color:#ad6dce;color:#fff}
#deposit-page .deposit-methods{border:0;padding:0;margin:0}
#deposit-page .deposit-methods legend{font-size:16px;font-weight:700;padding:0;margin:0 0 10px}
#deposit-page .deposit-methods>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
#deposit-page .deposit-methods button{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:6px;padding:6px 1px;background:#e8e0ef;color:#725e80;font-size:13px;font-weight:600}
#deposit-page .deposit-methods button[aria-pressed=true]{background:#d9c9e5;border-color:#a56ac5;color:#533665}
#deposit-page .deposit-methods svg{width:24px;height:21px}
#deposit-page .deposit-cash-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:5px;background:#00cf52;color:#fff;font-size:21px;font-weight:bold}
#deposit-page .deposit-google-icon{font-family:Arial,sans-serif;font-size:24px;font-weight:bold;line-height:22px;background:conic-gradient(#4285f4 0deg 100deg,#34a853 100deg 180deg,#fbbc05 180deg 245deg,#ea4335 245deg 310deg,#4285f4 310deg);background-clip:text;-webkit-background-clip:text;color:transparent}
#deposit-page .deposit-checkout{margin-top:25px}
#deposit-page .deposit-wallet-tip{position:relative;background:#e5d7bc;color:#6a5131;border-radius:20px;padding:5px 9px;text-align:center;font-size:11px;line-height:1.4;margin:0 0 9px}
#deposit-page .deposit-wallet-tip:after{content:'';position:absolute;left:calc(50% - 5px);bottom:-5px;border-top:6px solid #e5d7bc;border-left:5px solid transparent;border-right:5px solid transparent}
#deposit-page #deposit-submit,#deposit-page .deposit-vip-deposit{width:100%;min-height:53px;padding:12px;border-radius:30px;background:linear-gradient(#ae50d6,#8c2cc2);color:#fff;font-size:18px;font-weight:700}
#deposit-page #deposit-submit:disabled{opacity:.5;cursor:not-allowed}
#deposit-page .deposit-activity{min-width:0;margin:8px 3px 0;padding:0;border:0;background:none;box-shadow:none;color:#725e80;font-size:12px;line-height:21px}
#deposit-page .deposit-activity-window{width:100%;min-width:0;height:21px;overflow:hidden}
#deposit-page .deposit-activity-track{display:block;white-space:nowrap;animation:deposit-activity-flip 2.2s cubic-bezier(.22,.61,.36,1) infinite;animation-play-state:paused;will-change:transform}
#deposit-page .deposit-activity-row{display:block;height:21px;line-height:21px;white-space:nowrap;text-align:center}
#deposit-page .deposit-activity-single .deposit-activity-track{animation:none;transform:none;will-change:auto}
#deposit-page .deposit-activity-id{color:#286a54;font-weight:600}
#deposit-page .deposit-activity-amount{color:#8c641e;font-weight:700}
.app.deposit-open #deposit-selection:not([hidden]) .deposit-activity-track{animation-play-state:running}
@keyframes deposit-activity-flip{0%,81.8182%{transform:translateY(0)}100%{transform:translateY(-21px)}}
@media(prefers-reduced-motion:reduce){#deposit-page .deposit-activity-track{animation:none;transform:none;will-change:auto}}
#deposit-page #deposit-feedback{margin:12px 5px 0;color:#725e80;font-size:12px;line-height:1.5;text-align:center;min-height:36px}
#deposit-page .deposit-footer{display:none;margin:20px 3px 0;padding:18px 2px 5px;border-top:1px solid #c4b2d1;color:#695573;text-align:center;font-size:12px;line-height:1.75}
#deposit-page>:is(#deposit-selection,#withdrawal-page):not([hidden])~.deposit-footer{display:block}
#deposit-page .deposit-footer p{max-width:350px;margin:9px auto 0;line-height:1.75}
#deposit-page .deposit-footer-brand{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 10px}
#deposit-page .deposit-footer-brand img{border-radius:9px}
#deposit-page .deposit-footer-age{display:grid;place-items:center;width:32px;height:32px;margin-left:3px;border:1px solid #b09abe;border-radius:50%;color:#735281;font-size:11px;font-weight:700;line-height:1}
#deposit-page .deposit-footer-help{margin:17px auto 0;max-width:350px}
#deposit-page .deposit-footer-help>span{display:block;margin-top:11px;color:#765d81;font-size:11px}
#deposit-page .deposit-footer-help>a{display:inline-block;color:#7c329c;font-size:17px;font-weight:700;line-height:1.6;text-decoration:none}
#deposit-page .deposit-footer-help>small{display:block;color:#76617f;font-size:10px;line-height:1.7}
#deposit-page .deposit-footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px 11px;margin-top:15px;font-size:11px}
#deposit-page .deposit-footer-links a{padding:5px 0;color:#783b94;font-weight:600;text-decoration:none}
#deposit-page .deposit-footer a:hover{text-decoration:underline}
#deposit-page .deposit-footer a:focus-visible{outline:2px solid #9630c7;outline-offset:3px;border-radius:3px}
#deposit-page .deposit-subpage{padding:16px 0;min-height:420px}
#deposit-page .deposit-subtitle{color:#725e80;font-size:13px;line-height:1.7}
#deposit-page #deposit-history{padding-top:15px}
#deposit-page .deposit-history-tabs{display:flex;width:100%;max-width:360px;min-height:47px;margin:0 auto 25px;padding:2px;border:1px solid #bda6cd;border-radius:26px;background:#d7cce2;overflow:hidden}
#deposit-page .deposit-history-tabs button{flex:1;min-width:0;min-height:41px;padding:8px 12px;border:0;border-radius:22px;background:transparent;color:#806b8e;font-size:16px;font-weight:600}
#deposit-page .deposit-history-tabs button[aria-selected=true]{background:#e9e0f0;color:#432751;box-shadow:0 1px 5px #52326316}
#deposit-page .deposit-history-tabs button:focus-visible{outline:2px solid #a34ac7;outline-offset:-3px}
#deposit-page .deposit-history-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#533b63;font-size:14px}
#deposit-page .deposit-history-table th{padding:12px 5px 15px;border-bottom:1px solid #bfa9ce;color:#36233f;font-size:15px;font-weight:700;text-align:center}
#deposit-page .deposit-history-table th:first-child{width:24%;text-align:left}
#deposit-page .deposit-history-table th:nth-child(2){width:26%}
#deposit-page .deposit-history-table th:nth-child(3){width:28%}
#deposit-page .deposit-history-table th:last-child{width:22%;text-align:right}
#deposit-page .deposit-history-table td{padding:15px 5px;vertical-align:middle;border-bottom:1px solid #cab8d799;text-align:center;line-height:1.45;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#deposit-page .deposit-history-table td:first-child{text-align:left;font-weight:600;color:#4e315d}
#deposit-page .deposit-history-table small{display:block;margin-top:4px;font-size:12px;color:#846f91;font-weight:400}
#deposit-page .deposit-history-table time{display:block;font-size:12px}
#deposit-page .deposit-history-table .deposit-history-reference{font-size:13px;color:#68427d}
#deposit-page .deposit-history-table .deposit-history-quantity{font-weight:750;color:#7c369b;text-align:right;font-size:14px}
#deposit-page .deposit-history-status{padding:25px 10px;color:#715c7e;text-align:center;font-size:13px;line-height:1.6}
#deposit-page .deposit-history-empty{min-height:min(390px,47dvh);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#9b88aa}
#deposit-page .deposit-history-empty svg{width:145px;height:140px;opacity:.7}
#deposit-page .deposit-history-empty>span{font-size:25px;font-weight:400;line-height:1.4;color:#8c779d}
#deposit-page .deposit-history-refresh{display:block;margin:17px auto 4px;padding:8px 14px;border:1px solid #c6afd5;border-radius:16px;background:transparent;color:#80668f;font-size:12px}
#deposit-page .deposit-history-refresh:disabled{opacity:.5;cursor:wait}
@media(max-width:360px){#deposit-page .deposit-history-tabs{margin-bottom:20px}#deposit-page .deposit-history-table th{font-size:13px;padding-inline:3px}#deposit-page .deposit-history-table td{padding-inline:3px;font-size:12px}#deposit-page .deposit-history-table .deposit-history-reference{font-size:12px}#deposit-page .deposit-history-table .deposit-history-quantity{font-size:13px}#deposit-page .deposit-history-table small,#deposit-page .deposit-history-table time{font-size:11px}}
#deposit-page #deposit-vip{text-align:left}
#deposit-page .wallet-vip-hero{position:relative;overflow:hidden;padding:23px 20px 19px;border:1px solid #b99bca;border-radius:17px;background:radial-gradient(ellipse at 100% 0,#b98acb40,transparent 68%),linear-gradient(135deg,#e5d9ed,#d7c4e3);color:#442551}
#deposit-page .wallet-vip-eyebrow{display:block;margin-bottom:12px;font-size:10px;font-weight:750;letter-spacing:1.5px;color:#8c609e}
#deposit-page .wallet-vip-hero h2{max-width:260px;padding-right:25px;color:#482357;font-size:24px;line-height:1.18;letter-spacing:-.45px}
#deposit-page .wallet-vip-hero>p{max-width:245px;margin:12px 0 16px;color:#725183;font-size:14px;line-height:1.55}
#deposit-page .wallet-vip-crown{position:absolute;right:19px;top:25px;display:grid;place-items:center;width:48px;height:48px;border:1px solid #c49c56aa;border-radius:14px;background:linear-gradient(145deg,#efd9a255,#bf9c5360);transform:rotate(-8deg);color:#a27324}
#deposit-page .wallet-vip-crown svg{width:29px;height:29px}
#deposit-page .wallet-vip-separate{display:block;border-top:1px solid #bea2cf80;padding-top:12px;color:#876793;font-size:11px;line-height:1.5}
#deposit-page .wallet-vip-reference{display:flex;gap:8px;align-items:flex-start;padding:12px 4px;color:#84678f}
#deposit-page .wallet-vip-reference>span{font-size:16px;line-height:1.4}
#deposit-page .wallet-vip-reference p{margin:0;font-size:11px;line-height:1.6}
#deposit-page .wallet-vip-minimum{margin:13px 0 15px;padding:14px 16px;border:1px solid #c4a9d4;border-radius:13px;background:#e5d7ec}
#deposit-page .wallet-vip-minimum>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
#deposit-page .wallet-vip-minimum>div>span{color:#654374;font-size:13px;font-weight:650}
#deposit-page .wallet-vip-minimum strong{color:#926620;font-size:29px;font-weight:750;line-height:1.2}
#deposit-page .wallet-vip-minimum p{margin:9px 0 7px;color:#7d6189;font-size:12px;line-height:1.6}
#deposit-page .wallet-vip-minimum small{display:block;padding-top:8px;border-top:1px solid #cdb5da80;color:#90759b;font-size:11px;line-height:1.5}
#deposit-page .wallet-vip-section{margin:0 0 15px;padding:17px 15px;border:1px solid #c6afd5;border-radius:15px;background:#e5dceb}
#deposit-page .wallet-vip-section h3{margin:0 0 14px;color:#472b56;font-size:16px;font-weight:750;line-height:1.4}
#deposit-page .wallet-vip-points{padding:0;margin:0;list-style:none;counter-reset:wallet-vip-step}
#deposit-page .wallet-vip-points li{counter-increment:wallet-vip-step;display:flex;gap:10px;padding:13px 0;border-top:1px solid #ccb6d980}
#deposit-page .wallet-vip-points li:first-child{border:0;padding-top:0}
#deposit-page .wallet-vip-points li:last-child{padding-bottom:0}
#deposit-page .wallet-vip-points li::before{content:counter(wallet-vip-step,decimal-leading-zero);display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border:1px solid #c2a2d1;border-radius:8px;background:#dac7e5;color:#89509e;font-size:10px;font-weight:750;line-height:1}
#deposit-page .wallet-vip-guide h4{margin:1px 0 6px;color:#593466;font-size:14px;line-height:1.4;font-weight:700}
#deposit-page .wallet-vip-points p,#deposit-page .wallet-vip-benefits p{margin:0;color:#80668c;font-size:13px;line-height:1.65}
#deposit-page .wallet-vip-benefits{display:grid;gap:10px}
#deposit-page .wallet-vip-benefits>div{position:relative;padding:12px 12px 12px 46px;border:1px solid #cdb8da;border-radius:10px;background:#e1d3e9}
#deposit-page .wallet-vip-benefits>div>span{position:absolute;top:14px;left:13px;color:#a17a37;font-size:21px;line-height:1}
#deposit-page .wallet-vip-benefits h4{font-size:13px;margin:0 0 5px}
#deposit-page .wallet-vip-benefits p{font-size:12px}
#deposit-page .wallet-vip-section.wallet-vip-schedule{padding:16px 0 0;overflow:hidden}
#deposit-page .wallet-vip-table-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 13px 12px}
#deposit-page .wallet-vip-table-title h3{margin:0;font-size:15px}
#deposit-page .wallet-vip-table-title>span{flex:none;padding:4px 7px;border:1px solid #c5a7d5;border-radius:12px;color:#8c619f;font-size:10px}
#deposit-page .wallet-vip-table-wrap{width:100%;overflow-x:auto}
#deposit-page .wallet-vip-schedule table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:center;font-variant-numeric:tabular-nums}
#deposit-page .wallet-vip-schedule thead{background:#d2bfdc;color:#725180}
#deposit-page .wallet-vip-schedule th{padding:12px 3px;font-size:11px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
#deposit-page .wallet-vip-schedule thead th:first-child{width:17%}
#deposit-page .wallet-vip-schedule thead th:nth-child(2){width:35%}
#deposit-page .wallet-vip-schedule thead th:nth-child(3){width:26%}
#deposit-page .wallet-vip-schedule thead th:last-child{width:22%}
#deposit-page .wallet-vip-schedule tbody tr{background:#e9e0ef}
#deposit-page .wallet-vip-schedule tbody tr:nth-child(even){background:#e0d2e8}
#deposit-page .wallet-vip-schedule tbody th,#deposit-page .wallet-vip-schedule td{padding:12px 3px;border-top:1px solid #cdb7d955;font-size:12px;line-height:1.3}
#deposit-page .wallet-vip-schedule tbody th{color:#95651f;font-weight:750}
#deposit-page .wallet-vip-schedule td{color:#5f4370;white-space:nowrap}
#deposit-page .wallet-vip-schedule td.wallet-vip-daily,#deposit-page .wallet-vip-schedule td.wallet-vip-fee{font-size:11px;white-space:normal}
#deposit-page .wallet-vip-schedule td.wallet-vip-daily.is-unlimited{font-size:18px;font-weight:600;line-height:1;color:#78508d}
#deposit-page .wallet-vip-table-note{margin:0;padding:13px 13px 15px;border-top:1px solid #c8b0d6;background:#e1d4e9;color:#876c93;font-size:10px;line-height:1.6}
#deposit-page .wallet-vip-withdraw{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;margin:18px 0 6px;padding:10px 12px;border:1px solid #ab6ac3;border-radius:11px;background:linear-gradient(120deg,#b064d0,#9041b1);color:#fff;font-size:13px;font-weight:700}
@media(max-width:360px){#deposit-page .wallet-vip-hero{padding:20px 16px 17px}#deposit-page .wallet-vip-hero h2{font-size:21px}#deposit-page .wallet-vip-crown{right:14px;width:39px;height:39px}#deposit-page .wallet-vip-crown svg{width:24px;height:24px}#deposit-page .wallet-vip-section{padding-inline:12px}#deposit-page .wallet-vip-schedule tbody th,#deposit-page .wallet-vip-schedule td{font-size:11px;padding:11px 2px}#deposit-page .wallet-vip-schedule th{font-size:10px}#deposit-page .wallet-vip-schedule td.wallet-vip-daily,#deposit-page .wallet-vip-schedule td.wallet-vip-fee{font-size:10px}#deposit-page .wallet-vip-table-title{padding-inline:10px}#deposit-page .wallet-vip-table-title h3{font-size:14px}}
#deposit-page>#withdrawal-page.withdraw-embedded{min-height:0;background:transparent}
#deposit-page>#withdrawal-page.withdraw-embedded>.withdraw-header{display:none}
#deposit-page>#withdrawal-page.withdraw-embedded>.withdraw-tabs{padding-inline:0;background:transparent;margin-top:3px}
#deposit-page>#withdrawal-page.withdraw-embedded>.withdraw-balances{margin-top:13px;padding:14px;border:1px solid #c9b5d7;border-radius:14px}
#deposit-page>#withdrawal-page.withdraw-embedded>.withdraw-body{padding:14px 0 10px}
#deposit-page>#withdrawal-page.withdraw-direct>.withdraw-balances{margin-top:4px;padding:13px 15px}
#deposit-page #withdrawal-page.withdraw-direct .redemption-progress-card{padding:14px 15px;margin-bottom:18px}
#deposit-page #withdrawal-page.withdraw-direct .redemption-progress-card h2{font-size:18px}
#deposit-page #withdrawal-page.withdraw-direct #redemption-basis{margin-bottom:13px}
#deposit-page #withdrawal-page.withdraw-direct .redemption-progress-row+.redemption-progress-row{margin-top:12px}
#deposit-page #withdrawal-page.withdraw-direct .withdraw-status{margin-top:13px}
#deposit-page #withdrawal-page.withdraw-direct #withdraw-form{margin:0}
#deposit-page .withdraw-methods{border:0;padding:0;margin:0 0 18px;min-width:0}
#deposit-page .withdraw-methods legend{margin-bottom:11px;padding:0;color:#412c50;font-size:13px;font-weight:750;letter-spacing:.25px}
#deposit-page #withdraw-method-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#deposit-page #withdraw-method-list button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:76px;padding:9px 3px;border:1px solid #c9b2d9;border-radius:10px;background:#e6ddec;color:#634875;font-size:12px;line-height:1.3;font-weight:600}
#deposit-page #withdraw-method-list button[aria-pressed=true]{border-color:#9c43bf;background:#d9c5e6;color:#592676;box-shadow:inset 0 0 0 1px #a950c755}
#deposit-page #withdraw-method-list button[aria-pressed=true]::after{content:'✓';position:absolute;top:4px;right:5px;width:14px;height:14px;border-radius:50%;background:#9b3fbd;color:#fff;display:grid;place-items:center;font-size:10px}
#deposit-page #withdraw-method-list button:focus-visible,#deposit-page .withdraw-account-wrap:focus-within{outline:2px solid #9d47bc;outline-offset:2px}
#deposit-page .withdraw-method-icon{display:flex;align-items:center;justify-content:center;height:27px;min-width:28px;font-size:25px;line-height:1}
#deposit-page .withdraw-method-icon img{height:27px;max-width:42px;object-fit:contain}
#deposit-page .withdraw-cash-mark{display:grid;place-items:center;width:25px;height:27px;border-radius:6px;background:#00c65b;color:#fff;font-size:25px;font-weight:750}
#deposit-page .withdraw-paypal-mark{color:#173f91;font-size:30px;font-weight:850;font-style:italic;text-shadow:3px 1px #2f9cd7}
#deposit-page .withdraw-google-mark{font-size:27px;font-weight:800;background:conic-gradient(#4285f4 0 25%,#34a853 25% 45%,#fbbc05 45% 65%,#ea4335 65% 85%,#4285f4 85%);-webkit-background-clip:text;background-clip:text;color:transparent}
#deposit-page .withdraw-apple-mark{display:flex;align-items:center;gap:2px;color:#433448}
#deposit-page .withdraw-apple-mark svg{width:22px;height:25px}
#deposit-page .withdraw-apple-mark b{font-size:16px;font-weight:650}
#deposit-page #withdraw-method-status{font-size:13px;color:#796387;margin:8px 0;line-height:1.5}
#deposit-page .withdraw-account-field{margin:0 0 18px}
#deposit-page #withdraw-account-label{font-size:13px;font-weight:650;color:#553666}
#deposit-page .withdraw-account-wrap{display:flex;align-items:center;min-width:0;gap:7px;min-height:50px;padding:0 12px;border:1px solid #bb94d0;border-radius:12px;background:#e8e0ef}
#deposit-page #withdraw-account{flex:1;width:100%;min-width:0;height:48px;border:0;outline:0;background:transparent;color:#3b224b;font-size:16px;font-weight:500}
#deposit-page #withdraw-account::placeholder{color:#9983a8;font-size:13px;font-weight:400}
#deposit-page #withdraw-account-paste{flex:none;padding:10px 0 10px 7px;color:#9650b1;font-size:12px;font-weight:600}
#deposit-page #withdraw-account-paste:disabled{opacity:.4}
#deposit-page #withdraw-account-hint,#deposit-page #withdraw-account-error{margin:7px 1px 0;color:#80678e;font-size:11px;line-height:1.5}
#deposit-page #withdraw-account-error{color:#b44767}
#deposit-page .withdraw-account-wrap.has-error{border-color:#b95072}
#deposit-page #withdrawal-page.withdraw-direct #withdraw-form>label{font-weight:650}
#deposit-page #withdrawal-page .withdraw-fee-summary{margin:0 0 14px;padding:14px;border:1px solid #c5acd5;border-radius:12px;background:#dfd0e8}
#deposit-page #withdrawal-page .withdraw-fee-summary h3{margin:0 0 13px;color:#573366;font-size:13px;font-weight:700}
#deposit-page #withdrawal-page .withdraw-fee-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;color:#7a5d87;font-size:12px;line-height:1.5}
#deposit-page #withdrawal-page .withdraw-fee-summary>div strong{color:#5c366e;font-size:13px;font-weight:650;white-space:nowrap}
#deposit-page #withdrawal-page #withdraw-fee-rate{display:block;color:#9670a7;font-size:10px}
#deposit-page #withdrawal-page .withdraw-fee-summary>div.withdraw-fee-net{margin:13px 0 0;padding-top:13px;border-top:1px solid #c3a6d3;color:#57306b;font-weight:700}
#deposit-page #withdrawal-page .withdraw-fee-summary>div.withdraw-fee-net strong{color:#8c6229;font-size:22px;font-weight:750}
#deposit-page #withdrawal-page #withdraw-fee-status{margin:12px 0 0;color:#8c7196;font-size:10px;line-height:1.5}
#deposit-page #withdrawal-page #withdraw-fee-status.has-error{color:#a84e6b}
#deposit-page #withdrawal-page #withdraw-fee-retry{margin-top:8px;padding:7px 11px;border:1px solid #bb8ad0;border-radius:7px;color:#9142b0;background:#e4d9ec;font-size:11px;font-weight:600}
#deposit-page #withdrawal-page .withdraw-history-net{display:block;flex-basis:100%;margin-top:6px;color:#84638f;font-size:11px;line-height:1.5}
@media(max-width:360px){#deposit-page #withdraw-method-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#deposit-page #withdraw-method-list button{min-height:65px;flex-direction:row;gap:8px;font-size:13px}#deposit-page #withdraw-method-list button[aria-pressed=true]::after{width:12px;height:12px;font-size:9px}}
#deposit-page .deposit-vip-medal{color:#a37b30;padding:25px}
#deposit-page .deposit-vip-medal svg{width:60px;height:60px}
#deposit-page .deposit-vip-total{display:flex;justify-content:space-between;gap:10px;margin:24px 0;padding:18px 12px;border-radius:8px;background:#e1d7eb;font-size:13px}
#deposit-page .deposit-vip-total strong{color:#783696}
#deposit-page .deposit-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:360px){#deposit-page{padding-inline:10px}#deposit-page .deposit-amount-grid{gap:10px}#deposit-page .deposit-amount-grid button>span{font-size:20px}#deposit-page .deposit-tabs button{font-size:13px}#deposit-page #deposit-submit{font-size:16px}}
body:has(.app.deposit-open){min-width:0}

/* Use the same muted surfaces and purple accents as Lobby and Community. */
#deposit-page .deposit-amount-grid button[aria-pressed=true] small{color:#fff}
#deposit-page .deposit-amount-grid button[aria-pressed=true] .deposit-dollar{background:#ffffff2b;color:#fff}
#deposit-page .deposit-tabs button[aria-pressed=true]{background:linear-gradient(140deg,#ae50d6,#8c2cc2);color:#fff}
#deposit-page .deposit-amount-field,#deposit-page .deposit-offer{border:1px solid #cdbdda}

#deposit-page #withdrawal-page :is(.withdraw-confirm,.withdraw-gate-disabled){
  display:block;
  margin-inline:auto;
  max-width:100%;
  text-align:center;
}

#deposit-page .wallet-platforms{
  display:none;
  margin:11px 3px 0;
  padding:9px 0 8px;
  border-top:1px solid var(--polish-line,#c4b2d1);
  color:#5d626c;
  text-align:center;
}

#deposit-page:not(.first-deposit-open,.daily-promotions-open)>#deposit-selection:not([hidden])~.wallet-platforms,
#deposit-page>#withdrawal-page:not([hidden])~.wallet-platforms{
  display:block;
}

html[data-theme="dark"] #deposit-page .wallet-platforms{
  color:#a8adb7;
}

#deposit-page .wallet-platforms h2{
  margin:0 0 11px;
  color:inherit;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  line-height:1.4;
}

#deposit-page .wallet-platforms ul{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(88px,100%),1fr));
  max-width:21rem;
  gap:clamp(8px,2.6vw,13px) clamp(8px,3vw,16px);
  margin:0 auto;
  padding:0;
  list-style:none;
}

#deposit-page .wallet-platforms li{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  min-height:18px;
  font-size:12px;
  font-weight:600;
  line-height:1.3;
  text-align:left;
  overflow-wrap:anywhere;
}

#deposit-page .wallet-platforms svg{
  display:block;
  flex:0 0 16px;
  width:16px;
  height:16px;
  fill:currentColor;
}

/* first-deposit.css */
/* First-deposit subpage only; the standard deposit view keeps its own styles. */
#deposit-page.first-deposit-open{min-width:0;padding-top:13px}
.first-deposit-entry .deposit-offer-gift img{display:block;width:44px;height:44px;object-fit:contain}
#deposit-page.first-deposit-open #deposit-selection,
#deposit-page.first-deposit-open #deposit-form{min-width:0;max-width:100%}

#deposit-page.first-deposit-open .first-deposit-hero {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #8962ba;
  border-radius: 18px;
  background: #28173d;
  color: #fff8ff;
  box-shadow: 0 6px 22px #1e10374d;
}

#deposit-page.first-deposit-open .first-deposit-stage {
  position: relative;
  isolation: isolate;
  min-height: 13rem;
  padding: 12px 16px 15px;
}

#deposit-page.first-deposit-open .first-deposit-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("assets/activity-first-deposit-backdrop-v1.webp") right top / cover no-repeat;
}


#deposit-page.first-deposit-open .first-deposit-header {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 72%;
  margin-bottom: 9px;
}

#deposit-page.first-deposit-open .first-deposit-back {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e2c8ff73;
  border-radius: 11px;
  background: #32154caa;
  color: #fff8ff;
  cursor: pointer;
}

#deposit-page.first-deposit-open .first-deposit-back svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

#deposit-page.first-deposit-open .first-deposit-back:focus-visible {
  outline: 2px solid #ffe48e;
  outline-offset: 2px;
}

#deposit-page.first-deposit-open .first-deposit-eyebrow {
  color: #fff2fc;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.3;
}

#deposit-page.first-deposit-open .first-deposit-copy {
  max-width: 60%;
  overflow-wrap: anywhere;
}

#deposit-page.first-deposit-open .first-deposit-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 5.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}

#deposit-page.first-deposit-open .first-deposit-rate {
  display: block;
  margin-top: 2px;
  color: #ffe173;
  font-size: clamp(2rem, 9.1vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.05;
  text-shadow: 0 2px 8px #3c1b5e99;
}

#deposit-page.first-deposit-open .first-deposit-rate span {
  font-size: .56em;
  letter-spacing: -.025em;
}

#deposit-page.first-deposit-open .first-deposit-countdown {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin-top: 10px;
}

#deposit-page.first-deposit-open .first-deposit-time-label {
  color: #fff1fc;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.2;
}

#deposit-page.first-deposit-open .first-deposit-clock {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffe28a;
  font-variant-numeric: tabular-nums;
}

#deposit-page.first-deposit-open .first-deposit-clock strong {
  display: grid;
  place-items: center;
  min-width: 2.05rem;
  min-height: 1.9rem;
  padding: 3px 4px;
  border: 1px solid #dfbaff85;
  border-radius: 7px;
  background: #321646ed;
  font-size: 1.15rem;
  line-height: 1;
}

#deposit-page.first-deposit-open .first-deposit-clock b {
  font-size: .85rem;
  line-height: 1;
}

#deposit-page.first-deposit-open .first-deposit-clock[hidden] {
  display: none;
}

#deposit-page.first-deposit-open .first-deposit-state {
  color: #fff6fc;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.35;
}

#deposit-page.first-deposit-open .first-deposit-hero:is(.is-expired,.is-unavailable) .first-deposit-rate {
  color: #efe0f7;
}


#deposit-page.first-deposit-open .first-deposit-summary{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1.15fr);align-items:center;gap:5px;min-width:0;max-width:100%;margin:13px 0 18px;padding:8px;border:1px solid #c8b4d5;border-radius:16px;background:#e4daec}
#deposit-page.first-deposit-open .first-deposit-summary>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:67px;padding:9px 3px;text-align:center}
#deposit-page.first-deposit-open .first-deposit-summary span{display:block;max-width:100%;color:#7b6389;font-size:10px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
#deposit-page.first-deposit-open .first-deposit-summary strong{display:block;max-width:100%;color:#56366b;font-size:clamp(17px,4.8vw,21px);font-weight:800;letter-spacing:-.65px;line-height:1.25;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#deposit-page.first-deposit-open .first-deposit-summary>div:nth-of-type(2) strong{color:#8a682e}
#deposit-page.first-deposit-open .first-deposit-summary>b{color:#9b82aa;font-size:19px;font-weight:500;line-height:1;text-align:center;user-select:none}
#deposit-page.first-deposit-open .first-deposit-summary>.first-deposit-total{align-self:stretch;border:1px solid #cbb68d;border-radius:11px;background:linear-gradient(135deg,#eee2c9,#e4d4b7)}
#deposit-page.first-deposit-open .first-deposit-total span{color:#806334;font-weight:700}
#deposit-page.first-deposit-open .first-deposit-total strong{color:#6b482a}

#deposit-page.first-deposit-open .deposit-amount-heading{margin:0 0 9px;text-align:left}
#deposit-page.first-deposit-open .deposit-amount-heading h2{font-size:15px;line-height:1.4}
#deposit-page.first-deposit-open .deposit-amount-field{min-height:50px;padding:10px 14px;border-radius:11px}
#deposit-page.first-deposit-open #deposit-amount{font-size:25px}
#deposit-page.first-deposit-open .deposit-amount-grid{gap:13px 10px;margin:14px 0 21px}
#deposit-page.first-deposit-open .deposit-amount-grid button{gap:5px;min-width:0;min-height:66px;padding:10px 2px 8px;border-radius:10px}
#deposit-page.first-deposit-open .deposit-amount-grid button>span{max-width:100%;gap:4px;font-size:22px;line-height:1.2}
#deposit-page.first-deposit-open .deposit-amount-grid small{font-size:11px;line-height:1.3}
#deposit-page.first-deposit-open .deposit-amount-badge{padding:3px 5px;font-size:8px}
#deposit-page.first-deposit-open .deposit-methods{min-width:0}
#deposit-page.first-deposit-open .deposit-methods legend{margin-bottom:9px;font-size:14px}
#deposit-page.first-deposit-open .deposit-methods>div{gap:9px}
#deposit-page.first-deposit-open .deposit-methods button{min-width:0;min-height:54px;border-radius:9px;font-size:12px;overflow-wrap:anywhere}
#deposit-page.first-deposit-open .deposit-checkout{margin-top:21px}
#deposit-page.first-deposit-open .deposit-wallet-tip{padding:7px 9px;border-radius:10px;font-size:10px;line-height:1.5}
#deposit-page.first-deposit-open #deposit-submit{min-height:49px;padding:12px 10px;border-radius:13px;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
#deposit-page.first-deposit-open #deposit-feedback{min-height:0}
#deposit-page.first-deposit-open .deposit-footer{margin-top:18px;padding-top:15px;font-size:11px}

@media(max-width:360px){
 #deposit-page.first-deposit-open .first-deposit-stage{padding-inline:12px}
 #deposit-page.first-deposit-open .first-deposit-stage::before{background-position:right -9px top}
 #deposit-page.first-deposit-open .first-deposit-clock{gap:3px}
 #deposit-page.first-deposit-open .first-deposit-clock strong{min-width:1.85rem}

 #deposit-page.first-deposit-open .first-deposit-summary{gap:3px;margin-top:11px;padding:7px;border-radius:14px}
 #deposit-page.first-deposit-open .first-deposit-summary>div{min-height:61px;padding:8px 2px;gap:6px}
 #deposit-page.first-deposit-open .first-deposit-summary span{font-size:9px}
 #deposit-page.first-deposit-open .first-deposit-summary strong{font-size:17px;letter-spacing:-.6px}
 #deposit-page.first-deposit-open .first-deposit-summary>b{font-size:17px}
 #deposit-page.first-deposit-open .deposit-amount-grid{gap:12px 8px}
 #deposit-page.first-deposit-open .deposit-amount-grid button{min-height:64px}
 #deposit-page.first-deposit-open .deposit-amount-grid button>span{font-size:19px}
 #deposit-page.first-deposit-open .deposit-amount-grid .deposit-dollar{width:16px;height:16px;font-size:12px}
 #deposit-page.first-deposit-open .deposit-amount-grid small{font-size:10px}
 #deposit-page.first-deposit-open .deposit-methods>div{gap:7px}
}

@media(prefers-reduced-motion:reduce){
 #deposit-page.first-deposit-open .first-deposit-back,
 #deposit-page.first-deposit-open .deposit-amount-grid button{transition:none!important}
}

/* vip-rewards.css */
/* VIP views share the muted violet surfaces used by the lobby and community. */
body:has(.app.vip-open){min-width:0}
.app.vip-open{padding-bottom:0;background:#d9d0e4;color:#30213c;min-height:100dvh;overflow:clip}
.app.vip-open>header,.app.vip-open>.bottom-nav{display:none}
#vip-page{--vip-ink:#30213c;--vip-muted:#725e80;--vip-surface:#e8e0ef;--vip-border:#cbb8d9;--vip-purple:#8c2cbd;--vip-gold:#edc678;background:#d9d0e4;color:var(--vip-ink);min-height:100dvh;font-family:Arial,Helvetica,sans-serif;isolation:isolate}
#vip-page[hidden],#vip-page [hidden]{display:none!important}
#vip-page button{font:inherit;touch-action:manipulation}
#vip-page button:focus-visible,#vip-page summary:focus-visible{outline:3px solid #a064bf;outline-offset:3px}
#vip-page .vip-header{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center;min-height:calc(56px + env(safe-area-inset-top,0px));height:auto;padding:5px 12px;padding-top:calc(5px + env(safe-area-inset-top,0px));background:#dfd4eaf5;border-bottom:1px solid #c5afd4;box-shadow:none;backdrop-filter:blur(10px)}
#vip-page .vip-header h1{position:static;transform:none;left:auto;min-width:0;margin:0;text-align:center;color:#382040;font-size:19px;line-height:1.3;font-weight:700;letter-spacing:-.25px}
#vip-page .vip-header button{display:grid;place-items:center;width:44px;height:44px;padding:8px;border-radius:12px;background:#d5c5e1;color:#743b91}
#vip-page .vip-header svg{width:22px;height:22px}
#vip-page .vip-content{padding:17px 16px max(28px,env(safe-area-inset-bottom));max-width:100%;overflow:hidden}
#vip-page h2,#vip-page h3,#vip-page p{margin:0}
#vip-page h2{color:var(--vip-ink);font-size:17px;line-height:1.35;font-weight:700;letter-spacing:-.25px}
#vip-page .vip-hero{position:relative;overflow:hidden;isolation:isolate;padding:20px 19px 0;border-radius:22px;background:radial-gradient(ellipse at 110% 0,#ad78c22e,transparent 63%),linear-gradient(135deg,#4f2c65,#32213f 73%);border:1px solid #aa839e;color:#f7eefb;box-shadow:0 5px 16px #42254f17}
#vip-page .vip-hero:before{content:'';pointer-events:none;position:absolute;z-index:-1;width:185px;height:185px;right:-35px;top:-80px;transform:rotate(28deg);border:1px solid #e9c37b22;border-radius:37px;box-shadow:0 0 0 26px #edc67805,0 0 0 55px #edc67804}
#vip-page .vip-eyebrow{color:#e5c78b;font-size:9px;line-height:1.4;font-weight:750;letter-spacing:1.6px}
#vip-page .vip-hero-main{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:20px 0 19px}
#vip-page .vip-hero-main>div:first-child{min-width:0;flex:1}
#vip-page .vip-current-label{display:block;color:#d5bddf;font-size:12px;line-height:1.5}
#vip-page .vip-card-level{display:block;color:#f4d58f;font-size:44px;font-weight:800;line-height:1.12;letter-spacing:-1.5px;margin:3px 0 5px;text-shadow:0 2px 0 #2a173b}
#vip-page .vip-hero-subtitle{color:#cdb7d9;font-size:11px;line-height:1.5}
#vip-page .vip-hero-medal{flex:0 0 85px;width:85px;height:85px;display:grid;place-items:center;border-radius:27px;transform:rotate(-7deg);background:linear-gradient(140deg,#84604966,#57394d55);border:1px solid #c9a66a7a;box-shadow:inset 0 0 0 5px #ead39f08}
#vip-page .vip-hero-medal svg{width:49px;height:49px;color:#edc678;transform:rotate(7deg);filter:drop-shadow(0 3px 3px #24172d55)}
#vip-page .vip-hero-footer{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 -19px;padding:14px 19px 16px;border-top:1px solid #dcc1e02b;background:#291b3533}
#vip-page .vip-hero-footer>div{display:flex;flex-direction:column;gap:5px;min-width:0}
#vip-page .vip-hero-footer>div+div{border-left:1px solid #dcc1e02b;padding-left:15px}
#vip-page .vip-hero-footer span{color:#cfb8dc;font-size:10px;line-height:1.4}
#vip-page .vip-hero-footer strong{color:#f3e5fa;font-size:15px;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#vip-page .vip-account-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 3px;margin:0 0 13px}
#vip-page .vip-account-summary>div{display:flex;flex-direction:column;gap:5px;min-width:0}
#vip-page .vip-account-summary>div:last-child{align-items:flex-end;text-align:right}
#vip-page .vip-account-summary span{display:block;color:#725e80;font-size:10px;line-height:1.4}
#vip-page .vip-account-summary strong{display:block;color:#5f3675;font-size:16px;font-weight:750;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#vip-page .vip-account-summary #vip-current-level{font-size:18px;letter-spacing:-.3px}
#vip-page .vip-carousel-shell{min-width:0;max-width:100%;margin:0 -2px 17px}
#vip-page .vip-level-tabs{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;margin:0 0 8px;padding:4px 2px 7px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;white-space:nowrap;-webkit-overflow-scrolling:touch}
#vip-page .vip-level-tabs::-webkit-scrollbar{display:none}
#vip-page .vip-level-tab{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:57px;min-height:36px;padding:8px 13px;border:1px solid #c3abd2;border-radius:24px;background:#e6dcec;color:#79578c;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap}
#vip-page .vip-level-tab[aria-selected=true]{border-color:#9251b0;background:linear-gradient(135deg,#a363c1,#82409f);color:#fff5ff;box-shadow:0 2px 5px #6b3f8420,inset 0 1px 0 #e7c4f336}
#vip-page .vip-level-tab:focus-visible{outline-offset:-3px}
#vip-page .vip-card-stage{--vip-card-inset-start:44px;--vip-card-inset-end:36px;position:relative;min-width:0;max-width:100%}
#vip-page .vip-card-arrow{position:absolute;top:calc(50% - 3.5px);z-index:2;display:grid;place-items:center;width:38px;height:38px;padding:7px;border:1px solid #c5acd4;border-radius:50%;background:#e6d8efed;color:#704487;box-shadow:0 2px 7px #2516322e;line-height:1;font-size:25px;transform:translateY(-50%);backdrop-filter:blur(5px)}
#vip-page .vip-card-arrow.is-previous{left:5px}
#vip-page .vip-card-arrow.is-next{right:5px}
#vip-page .vip-card-arrow svg{display:block;width:18px;height:18px;pointer-events:none}
#vip-page .vip-card-arrow:disabled{opacity:.4;cursor:default}
#vip-page .vip-card-carousel{display:flex;align-items:stretch;gap:12px;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;padding:3px 0 10px;-webkit-overflow-scrolling:touch}
#vip-page .vip-card-carousel::-webkit-scrollbar{display:none}
#vip-page .vip-card-carousel{cursor:grab;user-select:none;-webkit-user-select:none}
#vip-page .vip-card-carousel.is-dragging{cursor:grabbing}
#vip-page .vip-card-carousel:focus-visible{outline:2px solid #a064bf;outline-offset:-2px;border-radius:23px}
#vip-page .vip-card-carousel:after{content:'';flex:0 0 6px;align-self:stretch}
#vip-page .vip-card-carousel .vip-slide{flex:0 0 calc(100% - 18px);min-width:0;height:242px;min-height:242px;display:flex;flex-direction:column;scroll-snap-align:start;scroll-snap-stop:always;padding-inline:var(--vip-card-inset-start) var(--vip-card-inset-end);border-color:#ae8ca6;box-shadow:0 4px 9px #42254f10}
#vip-page .vip-slide .vip-eyebrow{display:block;max-width:calc(100% - 62px);font-size:8px;letter-spacing:1.1px;white-space:nowrap}
#vip-page .vip-slide .vip-hero-main{flex:1;min-height:0;padding-top:17px;padding-bottom:17px}
#vip-page .vip-slide .vip-hero-footer{flex:none;min-height:67px;margin-inline:calc(-1 * var(--vip-card-inset-start)) calc(-1 * var(--vip-card-inset-end));padding:12px var(--vip-card-inset-end) 13px var(--vip-card-inset-start)}
#vip-page .vip-slide .vip-hero-footer strong{font-size:14px;line-height:1.3}
#vip-page .vip-slide[data-vip-tone=starter]{background:radial-gradient(ellipse at 110% 0,#aaa0c22e,transparent 63%),linear-gradient(135deg,#655371,#41364e 73%)}
#vip-page .vip-slide[data-vip-tone=classic]{background:radial-gradient(ellipse at 110% 0,#ad78c22e,transparent 63%),linear-gradient(135deg,#4f2c65,#32213f 73%)}
#vip-page .vip-slide[data-vip-tone=prestige]{background:radial-gradient(ellipse at 100% 0,#b7896933,transparent 65%),linear-gradient(135deg,#633957,#38243d 73%)}
#vip-page .vip-slide[data-vip-tone=elite]{background:radial-gradient(ellipse at 110% 0,#c8a36935,transparent 63%),linear-gradient(135deg,#554237,#302239 73%)}
#vip-page .vip-slide.is-selected{border-color:#e1bc75;box-shadow:inset 0 0 0 1px #e1bc7538,0 4px 10px #67434720}
#vip-page .vip-card-current-badge{position:absolute;right:14px;top:15px;padding:4px 7px;border-radius:20px;border:1px solid #d3b57a5c;background:#dfbf7e18;color:#ecd4a6;font-size:8px;font-weight:650;line-height:1.3;white-space:nowrap}
#vip-page .vip-benefits{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px;margin-bottom:17px}
#vip-page .vip-reward-card{position:relative;overflow:hidden;min-width:0;padding:17px 13px 15px;border-radius:17px;background:#e8e0ef;border:1px solid var(--vip-border)}
#vip-page .vip-reward-icon{display:grid;place-items:center;width:35px;height:35px;margin-bottom:11px;border-radius:11px;background:#d7c3e4;color:#8b43ae}
#vip-page .vip-reward-icon svg{width:22px;height:22px}
#vip-page .vip-upgrade-reward .vip-reward-icon{background:#e1d3bc;color:#8d6b2f}
#vip-page .vip-reward-card h3{font-size:11px;line-height:1.5;color:#6e557d;font-weight:600}
#vip-page .vip-reward-card>strong{display:block;margin:6px 0 6px;color:#56316f;font-size:29px;line-height:1.16;font-weight:800;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#vip-page .vip-upgrade-reward>strong{color:#79542e}
#vip-page .vip-reward-card p{font-size:10px;line-height:1.5;color:#796582}
#vip-page .vip-goals,#vip-page .vip-daily-panel{margin-bottom:17px;padding:18px 15px;border:1px solid var(--vip-border);border-radius:17px;background:var(--vip-surface)}
#vip-page .vip-section-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:19px}
#vip-page .vip-section-heading h2{font-size:15px}
#vip-page .vip-section-heading>span{color:#806590;font-size:9px;line-height:1.4;text-align:right}
#vip-page .vip-goal+.vip-goal{margin-top:19px}
#vip-page .vip-goal-label{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:9px;font-size:12px;line-height:1.4}
#vip-page .vip-goal-label strong{color:#5c3c70;font-weight:600}
#vip-page .vip-goal-label>span{color:#785e87;font-size:11px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#vip-page .vip-goal-track{height:7px;background:#d5c4e0;border-radius:20px;overflow:hidden}
#vip-page .vip-goal-track i{display:block;height:100%;max-width:100%;border-radius:inherit;background:linear-gradient(90deg,#a967c6,#883ab2);transition:width .25s ease}
#vip-page .vip-goal-track.is-unknown{background:repeating-linear-gradient(125deg,#d5c4e0 0 7px,#ddcee6 7px 14px)}
#vip-page .vip-goal-track.is-unknown i{display:none}
#vip-page .vip-goal-caption{margin-top:7px;font-size:11px;line-height:1.6;color:#80698b}
#vip-page .vip-daily-panel h2{font-size:15px;margin-bottom:7px}
#vip-page .vip-daily-panel>p{color:#735a81;font-size:12px;line-height:1.7}
#vip-page .vip-daily-equation{margin:14px 0;padding:12px 8px;border:1px solid #cfb9de;border-radius:11px;text-align:center;background:#dfd0e9;color:#6c3a87;font-size:13px;font-weight:700;line-height:1.5}
#vip-page .vip-daily-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 14px}
#vip-page .vip-daily-status label,#vip-page .vip-daily-status>span{font-size:11px;line-height:1.5;color:#735b81}
#vip-page .vip-daily-status strong{font-size:21px;font-weight:750;color:#6a467f;font-variant-numeric:tabular-nums}
#vip-page .vip-claim{display:block;width:100%;min-height:43px;padding:11px 12px;border-radius:11px;background:#d7c6e1;color:#775e86;font-size:12px;font-weight:600;line-height:1.4;border:1px solid #cbb5d9}
#vip-page .vip-claim:disabled{opacity:1;cursor:not-allowed}
#vip-page .vip-rules,#vip-page .vip-all-levels{margin:0 0 12px;border:1px solid var(--vip-border);border-radius:14px;background:#e3d8ec;overflow:hidden}
#vip-page .vip-rules summary,#vip-page .vip-all-levels summary{position:relative;padding:16px 38px 16px 15px;list-style:none;cursor:pointer;font-size:13px;line-height:1.4;font-weight:700;color:#5a396d}
#vip-page .vip-rules summary::-webkit-details-marker,#vip-page .vip-all-levels summary::-webkit-details-marker{display:none}
#vip-page .vip-rules summary:after,#vip-page .vip-all-levels summary:after{content:'';position:absolute;right:18px;top:20px;width:7px;height:7px;transform:rotate(45deg);border-right:1.5px solid #8d6aa0;border-bottom:1.5px solid #8d6aa0}
#vip-page .vip-rules[open] summary:after,#vip-page .vip-all-levels[open] summary:after{transform:rotate(225deg);top:24px}
#vip-page .vip-rules ol{margin:0;padding:0 19px 16px 32px;color:#71567f;font-size:11px;line-height:1.8}
#vip-page .vip-rules li+li{margin-top:7px}
#vip-page .vip-rules b,#vip-page .vip-rules strong{color:#543565}
#vip-page .vip-table-wrap{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b49ac5 transparent}
#vip-page .vip-table-wrap table{width:100%;min-width:380px;border-collapse:collapse;font-size:10px;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums}
#vip-page .vip-table-wrap th{background:#dacbe5;color:#634775;font-size:9px;font-weight:700;white-space:normal;padding:10px 8px;border-bottom:1px solid #cbb5d9}
#vip-page .vip-table-wrap td{padding:10px 8px;color:#725980;border-bottom:1px solid #d5c4df;white-space:nowrap}
#vip-page .vip-table-wrap tr:last-child td{border-bottom:0}
#vip-page .vip-table-wrap th:first-child,#vip-page .vip-table-wrap td:first-child{text-align:left;padding-left:15px;font-weight:700}
#vip-page .vip-table-wrap tr.is-selected td{background:#d0badd;color:#64327e}
#vip-page .vip-primary{display:block;width:100%;min-height:49px;margin-top:22px;padding:13px;border:1px solid #a25bc5;border-radius:13px;background:linear-gradient(130deg,#a344cc,#8c2cbd);color:#fff;font-size:14px;font-weight:700;line-height:1.5;box-shadow:0 3px 9px #7333941a}
#vip-page .vip-page-note{margin:11px 6px 0;text-align:center;color:#806c89;font-size:10px;line-height:1.65}

/* Compact profile entry: same structure, real progress beneath the level. */
.profile-vip.profile-vip-preview{background:radial-gradient(ellipse at 100% 0,#a96ac52b,transparent 70%),linear-gradient(125deg,#6c3a86,#47265d);color:#f3e7f9;border:1px solid #b58ca7;box-shadow:0 3px 10px #4b326615;padding:16px;border-radius:17px}
.profile-vip-preview .vip-card-top{display:flex;align-items:center;gap:9px;min-width:0}
.profile-vip-preview .vip-medal{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:12px;background:#c59b6133;border:1px solid #d4af6f66;color:#edc678;font-size:23px}
.profile-vip-preview .vip-medal svg{width:24px;height:24px}
.profile-vip-preview .vip-card-top>strong{font-size:23px;color:#f2d28d;white-space:nowrap}
.profile-vip-preview .vip-bonus{margin-left:auto;min-width:0;font-size:10px;line-height:1.5;color:#ddc8e8;text-align:right}
.profile-vip-preview .vip-bonus b{font-size:14px;margin-left:4px;color:#f3d99c}
.profile-vip-preview .vip-card-top>span:last-child{color:#d8bfdf;flex:none}
.profile-vip-preview .vip-progress-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);align-items:center;gap:10px;margin-top:11px;color:#e7d6ef;font-size:10px;line-height:1.4}
.profile-vip-preview .vip-progress{position:relative;display:block;padding:4px 6px;border-radius:12px;overflow:hidden;background:#27193766;border:1px solid #cda4e02b;font-size:9px;line-height:1.4;min-height:22px;color:#f2e5f8;text-align:center}
.profile-vip-preview .vip-progress i{position:absolute;left:0;top:0;bottom:0;max-width:100%;background:#b986d25c;border-radius:inherit;pointer-events:none}
.profile-vip-preview .vip-progress b{position:relative;z-index:1;margin:0;font-size:9px;font-weight:500}
.profile-vip-preview .vip-progress.is-unknown i{display:none}
.profile-vip-preview .vip-progress-row>span:last-child{min-width:0;overflow-wrap:anywhere}
.profile-vip-preview .vip-progress-row>span:last-child b{color:#f6dfae;font-weight:650}
.profile-vip.profile-vip-preview p{margin:12px 0 0;color:#cdb6da;font-size:10px;line-height:1.5;opacity:1}
@media(max-width:360px){
 #vip-page .vip-content{padding:14px 12px 24px}
 #vip-page .vip-hero{padding:18px 15px 0}
 #vip-page .vip-hero-footer{margin:0 -15px;padding:13px 15px}
 #vip-page .vip-hero-medal{flex-basis:70px;width:70px;height:70px;border-radius:23px}
 #vip-page .vip-hero-medal svg{width:41px;height:41px}
 #vip-page .vip-card-level{font-size:39px}
 #vip-page .vip-eyebrow{font-size:8px;letter-spacing:1.2px}
 #vip-page .vip-benefits{gap:9px}
 #vip-page .vip-reward-card{padding:14px 11px}
 #vip-page .vip-reward-card h3{min-height:33px}
 #vip-page .vip-reward-card>strong{font-size:22px;white-space:nowrap;letter-spacing:-.8px}
 #vip-page .vip-goals,#vip-page .vip-daily-panel{padding:16px 12px}
 #vip-page .vip-section-heading{gap:6px}
 #vip-page .vip-section-heading h2{font-size:14px}
 #vip-page .vip-card-carousel .vip-slide{height:230px;min-height:230px}
 #vip-page .vip-level-tabs{gap:6px;margin-bottom:6px}
 #vip-page .vip-level-tab{min-width:49px;min-height:32px;padding:7px 10px;font-size:10px}
 #vip-page .vip-card-stage{--vip-card-inset-start:36px;--vip-card-inset-end:28px}
 #vip-page .vip-card-arrow{width:32px;height:32px;padding:6px;font-size:23px}
 #vip-page .vip-card-arrow.is-previous{left:3px}
 #vip-page .vip-card-arrow.is-next{right:3px}
 #vip-page .vip-card-arrow svg{width:16px;height:16px}
 #vip-page .vip-slide .vip-eyebrow{font-size:7px;letter-spacing:.7px}
 #vip-page .vip-card-current-badge{right:12px;top:15px;font-size:7px;padding:3px 6px}
 #vip-page .vip-slide .vip-hero-footer strong{font-size:12px}
 #vip-page .vip-account-summary{gap:10px}
 #vip-page .vip-account-summary span{font-size:9px}
 .profile-vip.profile-vip-preview{padding:13px}
 .profile-vip-preview .vip-bonus{font-size:9px}
 .profile-vip-preview .vip-progress-row{gap:7px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){#vip-page *,#vip-page *:before,#vip-page *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Live daily cashback uses the earned tier, independently of the browsed card. */
html[data-theme] body #vip-page :is(#vip-daily-title,#vip-fixed-daily-title){scroll-margin-top:calc(80px + env(safe-area-inset-top,0px))}
html[data-theme] body #vip-page .vip-daily-panel{background:var(--polish-panel);border-color:var(--polish-border)}
html[data-theme] body #vip-page .vip-daily-panel>p{color:var(--polish-muted);font-size:14px;line-height:1.65}
html[data-theme] body #vip-page .vip-daily-panel .vip-daily-period{margin-top:10px;font-size:13px}
html[data-theme] body #vip-page .vip-daily-metrics{display:grid;gap:10px;margin:15px 0;padding:12px;border-radius:10px;background:var(--polish-raised);font-size:14px;line-height:1.5}
html[data-theme] body #vip-page .vip-daily-metrics>div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;min-width:0}
html[data-theme] body #vip-page .vip-daily-metrics dt{color:var(--polish-muted)}
html[data-theme] body #vip-page .vip-daily-metrics dd{min-width:0;margin:0 0 0 auto;color:var(--polish-ink);font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html[data-theme] body #vip-page .vip-daily-status{flex-wrap:wrap}
html[data-theme] body #vip-page .vip-daily-status>span{color:var(--polish-muted);font-size:14px}
html[data-theme] body #vip-page .vip-daily-status>strong{color:var(--polish-ink);font-size:26px}
html[data-theme] body #vip-page .vip-claim{min-height:46px;padding:12px;border:1px solid var(--polish-border);background:var(--polish-raised);color:var(--polish-muted);font-size:15px;line-height:1.4}
html[data-theme] body #vip-page .vip-claim:not(:disabled){border-color:#d9b858;background:var(--promotion-cta-fill,linear-gradient(180deg,#fdeea1,#ffd662));color:var(--promotion-cta-ink,#4a077e);font-weight:750;cursor:pointer}
html[data-theme] body #vip-page .vip-daily-feedback{margin-top:12px;color:var(--polish-muted);font-size:14px;line-height:1.65}
html[data-theme] body #vip-page .vip-daily-retry{min-height:44px;margin:8px 0 0;padding:9px 12px;border:1px solid var(--polish-border);border-radius:9px;background:transparent;color:var(--polish-accent);font-size:14px;font-weight:650;line-height:1.5}
html[data-theme] body #vip-page .vip-daily-panel .vip-daily-reset{margin-top:12px;font-size:13px}
html[data-theme] body #vip-page .vip-tier-example{margin:0 2px 16px;color:var(--polish-muted);font-size:13px;line-height:1.65}

/* Each earned level has its own server-confirmed, one-time bonus. */
html[data-theme] body #vip-page .vip-upgrade-reward>#vip-upgrade-value{min-width:0;max-width:100%;font-size:clamp(22px,6.5vw,29px);line-height:1.25;letter-spacing:-.8px;white-space:nowrap}
html[data-theme] body #vip-page .vip-upgrade-claim{display:block;width:100%;min-height:44px;margin:10px 0 0;padding:10px 8px;border:1px solid var(--polish-border);border-radius:9px;background:var(--polish-raised);color:var(--polish-muted);font-size:13px;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
html[data-theme] body #vip-page .vip-upgrade-claim:not(:disabled){border-color:#d9b858;background:var(--promotion-cta-fill,linear-gradient(180deg,#fdeea1,#ffd662));color:var(--promotion-cta-ink,#4a077e);cursor:pointer}
html[data-theme] body #vip-page .vip-upgrade-reward .vip-upgrade-feedback{margin:9px 0 0;color:var(--polish-muted);font-size:13px;line-height:1.55}
html[data-theme] body #vip-page .vip-upgrade-retry{min-height:44px;margin-top:7px;padding:8px 0;border:0;background:transparent;color:var(--polish-accent);font-size:13px;font-weight:650;line-height:1.5;text-align:left}
html[data-theme] body #vip-page .vip-upgrade-available{margin:0 0 17px;padding:15px;border:1px solid var(--polish-border);border-radius:14px;background:var(--polish-panel)}
html[data-theme] body #vip-page .vip-upgrade-available-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:5px 12px}
html[data-theme] body #vip-page .vip-upgrade-available-heading h2{color:var(--polish-ink);font-size:16px;line-height:1.4}
html[data-theme] body #vip-page #vip-upgrade-count{color:var(--polish-accent);font-size:13px;font-weight:650;line-height:1.5}
html[data-theme] body #vip-page .vip-upgrade-available>p{margin:8px 0 12px;color:var(--polish-muted);font-size:14px;line-height:1.6}
html[data-theme] body #vip-page .vip-upgrade-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-theme] body #vip-page .vip-upgrade-list button{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px 7px;min-width:0;min-height:44px;padding:9px 10px;border:1px solid var(--polish-border);border-radius:9px;background:var(--polish-raised);color:var(--polish-ink);font-size:13px;font-weight:650;line-height:1.5;text-align:left;cursor:pointer}
html[data-theme] body #vip-page .vip-upgrade-list button>span{margin-left:auto;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html[data-theme] body #vip-page .vip-upgrade-list button[aria-pressed=true]{border-color:var(--polish-accent);color:var(--polish-accent)}

/* popups.css */
dialog.promo-popup{position:fixed;inset:0 0 min(8dvh,72px);width:min(382px,calc(100vw - 42px));max-width:none;max-height:calc(100dvh - 104px - min(8dvh,72px));margin:auto;padding:0;border:1px solid #c29a5e;border-radius:22px;overflow:visible;background:#33203f;color:#fff1d9;box-shadow:0 24px 80px #110b1d99;isolation:isolate}
dialog.promo-popup::backdrop{background:#130d20bc;backdrop-filter:blur(3px)}
.promo-popup-close{position:absolute;top:-41px;right:-3px;z-index:3;width:34px;height:34px;display:grid;place-items:center;border:1px solid #eee3fa66;border-radius:50%;padding:6px;background:#352b4699;color:#fff;cursor:pointer}
.promo-popup-close svg{width:22px;height:22px}
.promo-popup-scroll{max-height:calc(100dvh - 106px - min(8dvh,72px));overflow-y:auto;overscroll-behavior:contain;border-radius:21px;scrollbar-width:thin;scrollbar-color:#ad8cba #392144}
.promo-popup-card{position:relative;min-height:180px;overflow:hidden;border-radius:21px;background:linear-gradient(145deg,#56305c,#302139)}
.promo-popup-art{display:none;position:absolute;inset:0;background:linear-gradient(180deg,#25143933,#2e1733dc 52%,#2e1d38 90%),url('assets/optimized/daily-treasure.15ef62d1fbab.webp') center top/cover;opacity:.9;pointer-events:none}
.promo-popup-first .promo-popup-art{display:block}
.promo-popup-content{position:relative;padding:24px 22px 22px;text-align:center}
.promo-popup-brand{display:flex;justify-content:center;gap:7px;align-items:center;font:700 9px/1.4 Arial,sans-serif;letter-spacing:1.2px;color:#f4d992}
.promo-popup-brand span+span{border-left:1px solid #e0c89666;padding-left:8px;color:#e3cbea;font-size:8px}
.promo-popup-gift{display:block;margin:10px auto 3px;width:58px;height:58px;filter:drop-shadow(0 3px 10px #e1ab4d55)}
.promo-popup h2{margin:0 auto 10px;font:700 19px/1.25 Arial,sans-serif;letter-spacing:.2px;color:#fff3e4;white-space:pre-wrap;overflow-wrap:anywhere}
.promo-popup-highlight{display:block;margin:0 0 18px;font:800 clamp(31px,9.5vw,44px)/1.15 Arial,sans-serif;letter-spacing:-1px;color:#f7d887;text-shadow:0 2px 0 #5d351c88;white-space:pre-wrap;overflow-wrap:anywhere}
.promo-popup-lines{list-style:none;margin:0 0 22px;padding:0;text-align:left;display:grid;gap:10px}
.promo-popup-lines li{position:relative;padding-left:20px;font:500 13px/1.5 Arial,sans-serif;color:#eee2ee;white-space:pre-wrap;overflow-wrap:anywhere}
.promo-popup-lines li::before{content:'✦';position:absolute;left:0;top:0;color:#e8c77c;font-size:13px}
.promo-popup-countdown{display:flex;justify-content:center;align-items:center;gap:12px;padding:15px 0;margin:0 0 17px;border-top:1px solid #d4b37e33;border-bottom:1px solid #d4b37e33}
.promo-popup-countdown>span{font:600 12px/1.4 Arial,sans-serif;color:#e9d8ec}
.promo-popup-countdown>div{display:flex;align-items:center;gap:4px}
.promo-popup-countdown b{display:grid;place-items:center;min-width:36px;height:38px;padding:0 3px;border:1px solid #d8b67b44;border-radius:7px;background:#6b456333;color:#f7d995;font:700 23px/1 Arial,sans-serif;font-variant-numeric:tabular-nums}
.promo-popup-countdown i{color:#c6accb;font:700 16px/1 Arial,sans-serif;font-style:normal}
.promo-popup-action{display:block;width:100%;min-height:48px;padding:12px 16px;border:1px solid #ffedb4;border-radius:26px;background:linear-gradient(#fbe7a2,#d8a752);color:#482a37;font:700 17px/1.3 Arial,sans-serif;box-shadow:0 4px 18px #c78b4033;cursor:pointer;white-space:pre-wrap;overflow-wrap:anywhere}
.promo-popup-action:hover{filter:brightness(1.05)}
.promo-popup-action:disabled{opacity:.65;cursor:wait}
.promo-popup-action:focus-visible,.promo-popup-close:focus-visible{outline:3px solid #f8db91;outline-offset:4px}
.promo-popup-picture{display:block;width:100%;height:auto;max-height:48dvh;object-fit:contain;background:#291a34}
.promo-popup-custom-image .promo-popup-art{display:none}
.promo-popup-custom-image:not(.promo-popup-first-offer) .promo-popup-gift{display:none}
.promo-popup-image .promo-popup-content{padding:18px}
.promo-popup-image .promo-popup-highlight{font-size:30px}
.promo-popup [hidden]{display:none!important}
@media(max-width:350px){.promo-popup-content{padding:21px 17px 18px}.promo-popup h2{font-size:17px}.promo-popup-lines li{font-size:12px}.promo-popup-countdown{gap:9px}.promo-popup-countdown>span{font-size:11px}.promo-popup-countdown b{min-width:31px;height:34px;font-size:21px}.promo-popup-highlight{margin-bottom:15px}}

html[data-theme] dialog.promo-popup.promo-popup-first-offer {
 inset:0;
 width:min(382px,88vw);
 max-height:calc(100dvh - 32px);
 border:1px solid #9466b1;
 border-radius:20px;
 background:#241730;
 box-shadow:0 18px 60px #08050fd1,inset 0 1px #e5c5ff29;
}
dialog.promo-popup-first-offer::backdrop {background:#1109199e;backdrop-filter:none}
.promo-popup-first-offer .promo-popup-scroll {max-height:calc(100dvh - 34px);border-radius:19px}
.promo-popup-first-offer .promo-popup-card {
 min-height:0;
 border-radius:19px;
 background:radial-gradient(ellipse at 88% 0%,#50286a 0%,transparent 55%),linear-gradient(154deg,#2f1d41,#23182e 72%);
}
.promo-popup-first-offer :is(.promo-popup-art,.promo-popup-brand) {display:none}
.promo-popup-first-offer .promo-popup-content {padding:24px;text-align:left}
.promo-popup-first-offer .promo-popup-close {
 inset:10px 10px auto auto;
 width:38px;
 height:38px;
 border:1px solid #dfc2ee40;
 border-radius:50%;
 background:#24163080;
}
.promo-popup-first-offer .promo-popup-close svg {width:18px;height:18px}
.promo-popup-first-offer .promo-popup-close:hover {background:#6b4a8099}
.promo-popup-first-offer .promo-popup-gift {
 position:absolute;
 inset:24px 46px auto auto;
 width:65px;
 height:65px;
 margin:0;
 filter:drop-shadow(0 7px 8px #0e071c99);
}
.promo-popup-first-offer #promo-popup-title {
 margin:2px 92px 18px 0;
 outline:none;
 color:#e3c3fa;
 font-size:14px;
 font-weight:650;
 line-height:1.45;
 letter-spacing:.025em;
}
.promo-popup-first-offer .promo-popup-highlight {
 width:fit-content;
 max-width:100%;
 margin:0 0 14px;
 color:#ffe08c;
 background:linear-gradient(#fff0b6,#ffd16c);
 background-clip:text;
 -webkit-text-fill-color:transparent;
 font-size:clamp(56px,18.5vw,82px);
 font-weight:800;
 line-height:1;
 letter-spacing:-.055em;
 text-shadow:none;
}
.promo-popup-first-offer .promo-popup-content .promo-popup-lines {gap:7px;margin:0 0 26px}
.promo-popup-first-offer .promo-popup-content .promo-popup-lines li {padding:0;color:#fff5ff;font-size:15px;line-height:1.55;font-weight:500}
.promo-popup-first-offer .promo-popup-content .promo-popup-lines li:not(:first-child) {font-size:13px;color:#d3bddd;font-weight:400}
.promo-popup-first-offer .promo-popup-lines li::before {content:none}
.promo-popup-first-offer .promo-popup-action {
 width:100%;
 min-height:50px;
 background:var(--promotion-cta-fill);
 color:var(--promotion-cta-ink);
 border:1px solid #fff0b1;
 border-radius:var(--promotion-cta-radius);
 box-shadow:0 4px 14px #14101b5c;
 font-size:var(--promotion-cta-font-size);
 font-weight:var(--promotion-cta-font-weight);
}
@media(max-width:350px) {
 .promo-popup-first-offer .promo-popup-gift {width:51px;height:51px;right:40px}
 .promo-popup-first-offer #promo-popup-title {margin-right:69px}
}

body dialog.promo-popup.promo-popup-facebook {
 --facebook-offset:0px;
 inset:var(--facebook-offset) 0 0;
 width:min(354px,calc(100vw - 32px));
 max-height:calc(100dvh - 24px - var(--facebook-offset));
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 color:#f8edf9;
 box-shadow:none;
}
dialog.promo-popup-facebook::backdrop {background:#0c0714c9;backdrop-filter:none}
.promo-popup-facebook .promo-popup-scroll {
 box-sizing:border-box;
 max-height:calc(100dvh - 24px - var(--facebook-offset));
 padding:0 2px 4px;
 border-radius:0;
 scrollbar-color:#9477a4 transparent;
}
.promo-popup-facebook .promo-popup-card {
 min-height:0;
 border:1px solid #a355c1;
 border-radius:19px;
 background:#21132d;
}
.promo-facebook-heading {
 --facebook-art-width:clamp(94px,33vw,128px);
 --facebook-art-end:clamp(12px,5vw,19px);
 position:relative;
 display:flex;
 align-items:center;
 min-height:116px;
 padding:25px calc(var(--facebook-art-width) + var(--facebook-art-end) + 5px) 25px 21px;
 text-align:left;
 background:
  radial-gradient(ellipse at 76% 51%,#973eaa 0%,#732589 29%,transparent 63%),
  linear-gradient(115deg,#411454,#54176a 57%,#351044);
}
.promo-facebook-caption {
 position:relative;
 z-index:1;
 min-width:0;
}
.promo-facebook-brand {
 margin-bottom:7px;
 color:#ffdb83;
 font:800 clamp(10px,3.05vw,12px)/1.3 system-ui,sans-serif;
 letter-spacing:.06em;
 text-transform:uppercase;
}
.promo-facebook-sketch {
 position:absolute;
 inset:auto var(--facebook-art-end) 4px auto;
 width:var(--facebook-art-width);
 height:104px;
 object-fit:contain;
 object-position:right bottom;
 filter:drop-shadow(0 4px 5px #1a0527a3);
 pointer-events:none;
}
.promo-popup-facebook .promo-popup-content {
 padding:7px 12px 16px;
 text-align:left;
}
.promo-popup-facebook #promo-facebook-title {
 margin:0;
 outline:none;
 color:#fff0d0;
 font:850 clamp(23px,7.8vw,30px)/1.12 system-ui,sans-serif;
 letter-spacing:-.035em;
}
.promo-popup-facebook .promo-popup-highlight {
 margin:10px 9px 0;
 color:#ffe58c;
 font-size:19px;
 text-shadow:none;
}
.promo-popup-facebook :is(.promo-facebook-bulletin,.promo-popup-lines) {
 list-style:none;
 margin:0 9px 10px;
 padding:0;
}
.promo-facebook-row {
 display:grid;
 grid-template-columns:32px minmax(0,1fr);
 align-items:center;
 gap:17px;
 min-height:50px;
 padding:10px 0;
}
.promo-facebook-row + .promo-facebook-row {
 border-top:1px solid #9c5bb57d;
}
.promo-facebook-row-icon {
 display:block;
 width:32px;
 height:32px;
 color:#d388ef;
}
.promo-facebook-row-reward .promo-facebook-row-icon {color:#ffe280}
.promo-facebook-row-title {
 display:block;
 color:#f6e9dd;
 font:750 15px/1.28 system-ui,sans-serif;
}
.promo-facebook-row-detail {
 display:block;
 margin-top:3px;
 color:#d7b8e9;
 font:500 12.5px/1.4 system-ui,sans-serif;
}
.promo-popup-facebook .promo-popup-lines {gap:0}
.promo-popup.promo-popup-facebook .promo-popup-content .promo-popup-lines li {
 padding:10px 0;
 color:#e1cde9;
 font:500 14px/1.45 system-ui,sans-serif;
}
.promo-popup.promo-popup-facebook .promo-popup-content .promo-popup-lines li:first-child {
 color:#fff0d1;
 font-weight:750;
}
.promo-popup.promo-popup-facebook .promo-popup-content .promo-popup-lines li + li {
 border-top:1px solid #9c5bb57d;
}
.promo-popup-facebook .promo-popup-lines li::before {content:none}
.promo-popup-facebook .promo-popup-close {
 top:8px;
 right:10px;
 width:34px;
 height:34px;
 padding:5px;
 border:1px solid #ac69c77d;
 background:#291039;
 color:#fff1f9;
}
.promo-popup-facebook .promo-popup-close:hover {background:#432152}
.promo-popup-facebook .promo-popup-action {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 width:100%;
 min-height:46px;
 padding:8px 12px;
 border:1px solid #ffeaa282;
 border-radius:var(--promotion-cta-radius,999px);
 background:var(--promotion-cta-fill,linear-gradient(#fdeea1,#ffd662));
 color:var(--promotion-cta-ink,#4a077e);
 box-shadow:0 4px 12px #15071b66;
 font-family:system-ui,sans-serif;
 font-size:var(--promotion-cta-font-size,15px);
 font-weight:var(--promotion-cta-font-weight,750);
 line-height:1.3;
}
.promo-popup-facebook .promo-popup-action::before {
 display:block;
 flex:none;
 width:20px;
 height:20px;
 background:url('/assets/facebook-brand.png') center/contain no-repeat;
 content:"";
}
.promo-facebook-footer {display:flex;justify-content:center;padding:6px 12px 0}
.promo-facebook-dismiss {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 min-height:44px;
 color:#ebe0f0;
 font:600 13px/1.3 system-ui,sans-serif;
 cursor:pointer;
}
.promo-facebook-dismiss input {
 inline-size:17px;
 block-size:17px;
 margin:0;
 accent-color:#eec66c;
 color-scheme:dark;
}
.promo-popup-facebook :is(.promo-popup-action,.promo-popup-close,.promo-facebook-dismiss input):focus-visible {
 outline:2px solid #ffdf88;
 outline-offset:3px;
}
.promo-popup-facebook .promo-popup-contact-status {
 margin:10px auto 0;
 max-width:35ch;
 color:#f5dfaa;
 font:500 13px/1.4 system-ui,sans-serif;
 text-align:center;
}
@media(max-width:340px){
 .promo-facebook-heading {--facebook-art-width:94px;min-height:104px;padding-left:16px}
 .promo-facebook-sketch {height:90px}
 .promo-facebook-row {grid-template-columns:28px minmax(0,1fr);gap:11px}
 .promo-facebook-row-icon {width:28px;height:28px}
}
@media(max-width:600px) and (min-height:500px){
 body dialog.promo-popup.promo-popup-facebook {--facebook-offset:52px}
}

/* lucky-spin.css */
#lucky-spin-dialog,#lucky-detail-dialog {padding:0;color:#edf4ff;color-scheme:dark;text-align:left}
#lucky-spin-dialog *,#lucky-detail-dialog * {box-sizing:border-box}
#lucky-spin-dialog [hidden],#lucky-detail-dialog [hidden] {display:none!important}
#lucky-spin-dialog button:focus-visible,#lucky-detail-dialog button:focus-visible {outline:2px solid #71efdf;outline-offset:2px}
#lucky-spin-dialog::backdrop,#lucky-detail-dialog::backdrop {background:#03060bc7}
#lucky-spin-dialog {
 --aqua:#5bf1cf;
 --gold:#ffd67f;
 --side-gutters:clamp(30px,10vw,64px);
 --wheel-size:min(calc(100vw - var(--side-gutters) - 30px),316px);
 position:fixed;
 inset:0;
 width:min(374px,calc(100% - var(--side-gutters)));
 max-width:none;
 max-height:calc(100dvh - 22px);
 margin:auto;
 overflow:auto;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 border:1px solid #5e729d;
 border-radius:19px;
 background:linear-gradient(165deg,#273755 0px,#182237 224px,#182332 390px);
 box-shadow:0 26px 65px #03060ccf,inset 0 1px 1px #d9e5ff36;
}
.lucky-spin-card {position:relative;isolation:isolate;padding:17px 13px 16px}
.lucky-wheel-backdrop {
 position:absolute;
 z-index:-1;
 inset:0 0 auto;
 height:clamp(210px,64vw,285px);
 overflow:hidden;
 pointer-events:none;
}
.lucky-wheel-people {
 position:absolute;
 inset:-4px;
 width:calc(100% + 8px);
 height:calc(100% + 8px);
 object-fit:cover;
 object-position:center top;
 filter:blur(1.8px);
}
.lucky-wheel-backdrop::after {
 content:"";
 position:absolute;
 inset:0;
 background:linear-gradient(180deg,#151f3910 8%,#1d2a3f12 52%,#1b263b 100%),
  linear-gradient(90deg,#202d48dd 0%,#202d486b 38%,#18233a12 72%);
}
.lucky-spin-header {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;position:relative;padding:0 0 3px}
.lucky-brand {display:flex;align-items:center;gap:5px;color:#c7d7ee;font:750 9px/1.3 system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.lucky-brand img {width:24px;height:auto;display:block}
#lucky-spin-title {margin:6px 0 0;color:#ffd786;font:850 clamp(17px,5.2vw,25px)/1.04 "Arial Narrow","Segoe UI",system-ui,sans-serif;letter-spacing:.012em;text-transform:uppercase;text-wrap:balance;text-shadow:0 2px 8px #101a30}
#lucky-spin-title:focus {outline:none}
.lucky-spin-nav {display:grid;justify-items:end;gap:4px;padding-top:40px}
.lucky-small-button {
 min-width:76px;
 min-height:26px;
 padding:4px 9px;
 border:1px solid #7a90bd54;
 border-radius:6px;
 background:#101c2fe6;
 color:#e4ebff;
 font-size:11px;
 font-weight:680;
}
.lucky-small-button:hover {background:#233956}
.lucky-close {
 position:absolute;
 top:0;
 right:0;
 display:grid;
 place-items:center;
 width:32px;
 height:32px;
 padding:0;
 border:1px solid #9bb2da49;
 border-radius:50%;
 background:#18243c;
 color:#e9f0ff;
 font-size:24px;
 line-height:1;
}
#lucky-close-spin {top:4px;right:7px;z-index:6;width:40px;height:40px;border-color:transparent;background:transparent}
#lucky-close-spin:hover {background:#344864}

.lucky-wheel-stage {
 position:relative;
 margin:12px 0 0;
 background:
  radial-gradient(ellipse at 50% 94%,#2eb7ba40 0%,#3c61a232 36%,transparent 72%),
  repeating-conic-gradient(from 0deg at 50% 107%,#7cb9e713 0deg 4deg,transparent 4deg 20deg);
}
#lucky-wheel-clip {
 position:relative;
 height:calc(var(--wheel-size) / 2 + 34px);
 overflow:hidden;
}
.lucky-wheel-frame {
 position:absolute;
 left:50%;
 top:25px;
 width:var(--wheel-size);
 aspect-ratio:1;
 transform:translateX(-50%);
 border-radius:50%;
 padding:8px;
 background:
  radial-gradient(circle at 25% 18%,#fff5ab 0%,transparent 17%),
  conic-gradient(from -15deg,#d3edf4,#55b4d6,#1c5587,#7954a9,#c680c8,#394d99,#52bdcf,#e0ecd6);
 border:1px solid #99dae8;
 box-shadow:0 0 0 3px #101a2e,0 0 0 4px #698dc774,0 2px 19px #59b7e06d,inset 0 0 0 2px #273355,inset 0 0 0 4px #9de0ea85;
}
.lucky-wheel-frame::after {
 content:"";
 position:absolute;
 inset:5px;
 border:1px solid #f1dc9caf;
 border-radius:50%;
 pointer-events:none;
}
#lucky-wheel-disc {
 position:absolute;
 inset:9px;
 overflow:hidden;
 border:1px solid #132b4d;
 border-radius:50%;
 background:
  radial-gradient(circle at 36% 16%,#e4fbff56,transparent 43%),
  radial-gradient(circle,#112a47 0%,transparent 52%,#080e3670 100%),
  repeating-conic-gradient(transparent 0deg 22deg,#c2ecffe0 22deg 22.5deg),
  repeating-conic-gradient(#267caf 0deg 22.5deg,#6851b1 22.5deg 45deg,#228ba3 45deg 67.5deg,#8a50b4 67.5deg 90deg);
}
.lucky-wheel-label {
 position:absolute;
 inset:0;
 display:grid;
 place-items:start center;
 padding-top:13%;
 transform:rotate(var(--angle));
}
.lucky-wheel-label span {
 transform:rotate(90deg);
 color:#f9fdff;
 font:720 clamp(12px,3.7vw,17px)/1 system-ui,sans-serif;
 font-variant-numeric:lining-nums tabular-nums;
 letter-spacing:.015em;
 white-space:nowrap;
 text-shadow:0 1px 3px #0d2039;
}
.lucky-wheel-label.lucky-label-inward span {transform:rotate(-90deg)}
.lucky-wheel-light {
 position:absolute;
 inset:2px;
 transform:rotate(var(--light-angle));
 pointer-events:none;
}
.lucky-wheel-light::before {
 content:"";
 position:absolute;
 top:-1px;
 left:calc(50% - 2px);
 width:4px;
 height:4px;
 border-radius:50%;
 background:#e9ffff;
 box-shadow:0 0 5px 1px #83e4ff80;
}
.lucky-wheel-halo {
 position:absolute;
 z-index:1;
 inset:-2px;
 border-radius:50%;
 opacity:0;
 pointer-events:none;
 transition:opacity 280ms ease-out;
 box-shadow:0 0 0 1.5px #ffdc99ba,0 0 9px 3px #b98affb8,0 0 22px 5px #5db7ffa0,inset 0 0 6px #ffe1ae8f;
}
.lucky-wheel-halo::before {
 content:"";
 position:absolute;
 inset:-4px;
 border-radius:inherit;
 background:conic-gradient(transparent 0%,#bd99ff 19%,#fff2bd 27%,transparent 42%,transparent 54%,#85dfff 65%,#fff0bb 76%,transparent 92%);
 mask-image:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 calc(100% - 5px),#000 calc(100% - 3px),transparent 100%);
}
.lucky-wheel-stage.is-spinning .lucky-wheel-halo {opacity:1;transition-duration:140ms}
.lucky-wheel-stage.is-spinning .lucky-wheel-halo::before {animation:lucky-halo-turn 1.2s linear infinite}
@keyframes lucky-halo-turn {to {transform:rotate(1turn)}}
.lucky-wheel-orbit {
 position:absolute;
 z-index:2;
 inset:1px;
 pointer-events:none;
}
.lucky-orbit-light {
 --rim-side:-90deg;
 position:absolute;
 inset:0;
 transform:rotate(-48deg);
 animation:lucky-orbit-sweep 2.15s linear infinite;
}
.lucky-orbit-light + .lucky-orbit-light {
 --rim-side:90deg;
 transform:rotate(48deg);
}
.lucky-orbit-light::before,.lucky-orbit-light::after {
 content:"";
 position:absolute;
 top:0;
 left:50%;
 transform:translate(-50%,-50%);
 border-radius:50%;
}
.lucky-orbit-light::before {
 z-index:1;
 width:16px;
 height:7px;
 background:radial-gradient(ellipse,#fffef0 5%,#fff0b3 27%,#ffcc63a1 54%,transparent 76%);
 filter:drop-shadow(0 0 4px #ffd78db5);
}
.lucky-orbit-light::after {
 width:57px;
 height:24px;
 background:radial-gradient(ellipse,#ffd88d78 8%,#eab95035 45%,transparent 73%);
 filter:blur(3px);
 opacity:.82;
 transition:opacity 180ms ease-out;
 animation:lucky-orbit-bloom 2.15s linear infinite;
}
.lucky-wheel-stage.is-spinning .lucky-orbit-light::after {opacity:1}
@keyframes lucky-orbit-sweep {
 0%,4%,96%,100% {transform:rotate(var(--rim-side))}
 47%,53% {transform:rotate(0deg)}
}
@keyframes lucky-orbit-bloom {
 0%,40%,60%,100% {transform:translate(-50%,-50%) scale(1);filter:blur(3px)}
 47%,53% {transform:translate(-50%,-67%) scale(1.55,1.5);filter:blur(3px) brightness(1.5)}
}
@media(prefers-reduced-motion:reduce){
 .lucky-orbit-light,.lucky-orbit-light::after {animation:none}
 .lucky-wheel-halo {display:none}
}
.lucky-wheel-pin {
 position:absolute;
 z-index:3;
 top:5px;
 left:50%;
 width:26px;
 height:43px;
 transform:translateX(-50%);
 background:linear-gradient(95deg,#a86141,#ffe0a0 43%,#f6a45c 72%,#965235);
 clip-path:polygon(24% 4%,46% 0,72% 5%,94% 22%,95% 37%,50% 100%,6% 39%,7% 22%);
 filter:drop-shadow(0 2px 4px #391a67);
}
.lucky-wheel-pin::after {
 content:"";
 position:absolute;
 top:8px;left:8px;
 width:10px;height:10px;
 border:2px solid #915e49;
 border-radius:50%;
 background:#ffe2a0;
}
#lucky-spin-hub {
 position:absolute;
 z-index:4;
 bottom:9px;
 left:50%;
 transform:translate(-50%,50%);
 display:grid;
 justify-items:center;
 align-content:center;
 gap:2px;
 width:68px;
 height:68px;
 padding:0;
 border:3px solid #7ae4e4;
 border-radius:50%;
 background:radial-gradient(circle at 31% 23%,#845ce1,#345da9 55%,#17385d);
 box-shadow:0 0 0 2px #304570,0 0 0 4px #93acd372,0 3px 13px #0a122ac0,inset 0 0 0 2px #5261a9,inset 0 3px 15px #ddebff44;
 color:#f8f6ff;
}
#lucky-spin-hub:disabled {filter:saturate(.63)}
#lucky-spin-count {font-weight:850;font-size:23px;line-height:1}
.lucky-hub-label {letter-spacing:.08em;font-size:10px;font-weight:850}

.lucky-invite-panel {
 position:relative;
 z-index:1;
 text-align:center;
 margin-top:0;
 padding:37px 10px 12px;
 border:1px solid #627a9e;
 border-radius:10px;
 background:linear-gradient(180deg,#293b54,#202d41);
 box-shadow:inset 0 1px 0 #e4efff19,0 4px 13px #111927b5;
}
#lucky-spin-message {display:grid;place-items:center;min-height:34px;margin:0 0 6px;color:#cfdbed;text-align:center;font-size:12px;line-height:1.4}
.lucky-share-offer {margin:0 0 8px;color:#edf4ff;font-size:12px;line-height:1.35}
.lucky-share-offer strong {color:#ffd786}
.lucky-share-offer-status {margin:7px 0 0;color:#c5d2e7;font-size:11px;line-height:1.35}
.lucky-vault {margin-top:12px}
.lucky-vault-header {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 5px}
.lucky-vault h3 {display:flex;align-items:center;gap:6px;margin:0;color:#eef3ff;font-size:13px;letter-spacing:.025em;text-transform:uppercase}
.lucky-vault h3::before {content:"";width:4px;height:13px;border-radius:2px;background:#5bf1cf}
.lucky-vault-row {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto minmax(0,1.12fr);
 align-items:center;
 gap:3px clamp(4px,2vw,9px);
 padding:8px 9px;
 border:1px solid #617298;
 border-radius:10px;
 background:radial-gradient(ellipse at 21% 35%,#634c863e,transparent 44%),linear-gradient(150deg,#303d55,#233044);
 box-shadow:inset 0 1px 1px #d9e5ff27;
}
.lucky-vault-art img {display:block;width:100%;height:81px;object-fit:contain;filter:drop-shadow(0 3px 4px #0d111ca8)}
.lucky-vault-arrow {color:#cca86b;font-size:17px;line-height:1}
.lucky-vault-content {display:grid;align-content:center;justify-items:center;gap:6px;text-align:center}
.lucky-key-balance {display:flex;align-items:center;justify-content:center;gap:4px;color:#ffdb8d;font-size:12px;font-weight:750}
.lucky-key-balance strong {font-size:18px;font-weight:850;font-variant-numeric:tabular-nums}
.lucky-vault-key {display:block;flex:0 1 40px;width:40px;min-width:28px;height:auto;filter:drop-shadow(0 2px 2px #0d111c8f)}
.lucky-vault-caption {align-self:start;margin:0;color:#c5d2e7;font-size:11px;line-height:1.25;text-align:center}
.lucky-key-caption {grid-column:3}
#lucky-open-chest {
 display:inline-flex;
 align-items:center;
 gap:6px;
 min-height:34px;
 max-width:100%;
 padding:4px 8px;
 border:1px solid #e4bb5f;
 border-radius:6px;
 background:linear-gradient(#ffe6a2,#dca64e);
 color:#2c2635;
 font-size:12px;font-weight:800;
}
.lucky-vault-cost {padding-right:6px;border-right:1px solid #5f4c3480;font-size:10px;white-space:nowrap}
#lucky-open-chest:disabled {opacity:.52}

#lucky-detail-dialog {
 width:min(354px,calc(100% - clamp(32px,10vw,62px)));
 max-width:none;
 max-height:calc(100dvh - 32px);
 margin:auto;
 overflow:auto;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 border:1px solid #667da7;
 border-radius:16px;
 background:radial-gradient(ellipse at 10% -8%,#334d72 0,transparent 56%),linear-gradient(161deg,#22344f,#172437);
 box-shadow:0 18px 64px #070b15;
}
.lucky-detail {position:relative;padding:18px}
.lucky-detail .lucky-close {right:12px;top:12px;width:38px;height:38px}
#lucky-detail-title {margin:0;padding:1px 40px 13px 0;border-bottom:1px solid #8da4ce4c;color:#ffda88;font-size:23px;line-height:1.2}
.lucky-detail-view {padding-top:14px}
.lucky-detail p,.lucky-detail li {color:#dce7fa;font-size:13px;line-height:1.45}
#lucky-detail-message {margin:9px 0 0;color:#b2fae9;font-size:12px}
#lucky-detail-message:empty {display:none}
.lucky-reward-rules {display:grid;gap:10px;margin:0 0 14px;padding:0;list-style:none}
.lucky-reward-rules li {padding-left:10px;border-left:2px solid #5bf1cf9c}
.lucky-reward-rules strong {display:block;margin-bottom:1px;color:#f6f8ff;font-size:13px}
.lucky-empty-invites {padding:26px 12px;text-align:center}
.lucky-empty-invites strong {display:block;color:#f1f5ff;font-size:17px}
.lucky-empty-invites p {max-width:238px;margin:6px auto 0;color:#c6d8ee}
#lucky-invites-list:not(:empty) {display:grid;gap:10px;margin-bottom:12px}
.lucky-referral-row {display:grid;gap:8px;padding:11px;border:1px solid #6c85b966;border-radius:9px;background:#111e32a6}
.lucky-referral-row-title {margin:0;color:#f1f7ff;font-size:15px}
.lucky-referral-row p {margin:0}
.lucky-invite {display:flex;width:100%;justify-content:center}
.lucky-invite:disabled {opacity:.55;cursor:default}
.lucky-pending {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding:9px;border:1px solid #617298;border-radius:8px;font-size:12px}
.lucky-pending p {margin:3px 0 0;font-size:11px;color:#cad7f2}
.lucky-pending p:empty {display:none}
.lucky-marquee {
 display:grid;
 grid-template-columns:auto minmax(0,1fr);
 align-items:center;
 gap:7px;
 min-height:32px;
 margin-top:9px;
 padding:2px 6px 2px 8px;
 border:1px solid #60749a86;
 border-radius:8px;
 background:#111b2c;
 color:#dae7ff;
 font-size:11px;
}
.lucky-marquee-caption {align-self:stretch;display:flex;align-items:center;padding-right:7px;border-right:1px solid #516486;color:#f9d68b;font-weight:800;white-space:nowrap}
.lucky-marquee-window {min-width:0;overflow:hidden}
.lucky-marquee-track {display:flex;width:max-content;animation:lucky-marquee-slide var(--lucky-marquee-duration,22s) linear infinite}
.lucky-marquee-group {display:flex;align-items:center;gap:22px;flex:none;min-width:320px;margin:0;padding:0 22px 0 0;list-style:none;white-space:nowrap}
.lucky-marquee-group strong {color:#ffdb88}
.lucky-winner-mask {font-weight:750;font-variant-numeric:tabular-nums}
@keyframes lucky-marquee-slide {to {transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
 .lucky-marquee-track {display:block;width:auto;animation:none}
 .lucky-marquee-group {display:block;min-width:0;padding:0}
 .lucky-marquee-group li:not(:first-child),.lucky-marquee-group[aria-hidden="true"] {display:none}
 .lucky-marquee-group li {overflow:hidden;text-overflow:ellipsis}
}
.lucky-preview-note {margin:9px 0 0;text-align:center;color:#bbcae2;font-size:11px}
.lucky-share-entry {margin:10px auto 0}
@media(max-width:352px){.lucky-detail {padding:15px}}
@media(max-width:352px){
 .lucky-spin-card {padding-inline:10px}
 .lucky-spin-header {gap:5px}
 .lucky-small-button {min-width:62px}
}
@media(max-height:650px){
 #lucky-spin-dialog {--wheel-size:min(calc(100vw - var(--side-gutters) - 30px),292px)}
 .lucky-spin-card {padding-top:13px;padding-bottom:11px}
 .lucky-spin-nav {padding-top:34px}
 .lucky-vault-art img {height:59px}
}

/* share.css */
/* Share inherits the muted lavender shell; dark plum and warm gold mark the invitation. */
.share-page{padding:14px 16px 16px;color:#30213c;min-height:calc(100dvh - 172px)}
.share-page[hidden]{display:none!important}
.share-page button,.share-sheet button,.share-sheet a{font-family:inherit;touch-action:manipulation}
.share-sheet a{text-decoration:none}
.share-page svg,.share-sheet svg{display:block;width:22px;height:22px;flex:none}
.share-page button:disabled,.share-sheet button:disabled,.share-sheet [aria-disabled=true]{opacity:.55;cursor:default}
.share-hero{position:relative;overflow:hidden;isolation:isolate;padding:21px 20px 0;border:1px solid #b99c62;border-radius:21px;background:radial-gradient(ellipse at 100% 0,#80608580,transparent 63%),linear-gradient(125deg,#4c2f5e,#2c1d38);color:#f6eff9;box-shadow:0 6px 16px #47295e18}
.share-hero::after{content:'';position:absolute;width:230px;height:230px;right:-85px;top:-65px;border:1px solid #dbc38d25;border-radius:50%;box-shadow:0 0 0 28px #dbc38d08,0 0 0 56px #dbc38d05;z-index:-1}
.share-eyebrow{display:block;color:#e7cd90;font-size:9px;line-height:14px;font-weight:700;letter-spacing:1.45px}
.share-hero-content{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:155px}
.share-hero h2{position:relative;z-index:1;margin:15px 0 10px;font-size:27px;font-weight:750;letter-spacing:-.8px;line-height:1.14}
.share-hero h2 em{font-style:normal;color:#f1d28c}
.share-hero p{position:relative;z-index:1;margin:0 0 16px;font-size:12px;line-height:1.55;color:#ded0e6}
.share-hero-footer{display:block;margin:0 -20px;padding:11px 20px;border-top:1px solid #d2b88e24;color:#d9c8e4;font-size:10px;letter-spacing:.25px}
.share-hero-art{position:relative;flex:none;align-self:center;width:112px;height:137px;margin-right:-3px}
.share-orbit{position:absolute;inset:26px -9px 25px;border:1px dashed #d3b87165;border-radius:50%;transform:rotate(-32deg)}
.share-orbit-two{inset:10px 4px 9px;transform:rotate(32deg);border-color:#c6a0dc30}
.share-art-coin{position:absolute;inset:41px 19px 29px;display:grid;place-items:center;border:2px solid #e7c676;border-radius:50%;background:linear-gradient(135deg,#fff0b7,#c29643);box-shadow:inset 0 0 0 5px #e5bb6677,0 7px 12px #170d2444;color:#6e423f;transform:rotate(-9deg)}
.share-art-coin svg{width:35px;height:35px;stroke-width:1.9}
.share-art-person{position:absolute;display:grid;place-items:center;width:37px;height:39px;border:1px solid #bd92d2;border-radius:12px;background:linear-gradient(145deg,#b690cf,#70498b);box-shadow:0 4px 8px #1e102632;color:#f8edf9;font-style:normal}
.share-art-person.one{left:0;top:11px;transform:rotate(-13deg)}
.share-art-person.two{right:0;bottom:5px;transform:rotate(11deg)}
.share-art-person svg{width:24px;height:24px}
.share-art-star{position:absolute;color:#f5dca0;font-size:18px;font-weight:400}
.share-art-star.one{right:8px;top:14px}.share-art-star.two{left:3px;bottom:16px;font-size:23px}
.share-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}
.share-stat{min-width:0;padding:14px 14px 12px;border:1px solid #c5afd5;border-radius:14px;background:#e4daed;box-shadow:0 2px 5px #50316406}
.share-stat-label{display:flex;align-items:center;gap:6px;color:#705b7e;font-size:11px;line-height:17px;font-weight:600}
.share-stat-label svg{width:16px;height:16px;color:#9d6ab6;stroke-width:1.8}
.share-stat strong{display:block;margin-top:8px;font-size:23px;line-height:27px;font-weight:750;font-variant-numeric:tabular-nums;color:#3b2848;overflow-wrap:anywhere}
.share-stat.is-reward{background:#dfd1e9}
.share-stat.is-reward strong{color:#805397}
.share-claim-card{margin:-3px 0 15px;padding:15px 16px 12px;border:1px solid #c5ab78;border-radius:15px;background:linear-gradient(125deg,#e9ddc5,#dfd1e3);box-shadow:0 3px 8px #5031640a}
.share-claim-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.share-claim-label{display:block;color:#75576f;font-size:11px;line-height:17px;font-weight:600}
.share-claim-summary strong{display:block;margin-top:3px;color:#69476e;font-size:27px;line-height:33px;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.share-free-badge{display:inline-flex;align-items:center;gap:4px;flex:none;padding:5px 8px;border:1px solid #c4a56d;border-radius:20px;background:#ebdbb9;color:#8b642e;font-size:10px;line-height:15px;font-weight:700}
.share-free-badge svg{width:14px;height:14px;stroke-width:1.8}
.share-claim-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin-top:12px;padding:9px 13px;border:1px solid #bb9455;border-radius:11px;background:linear-gradient(125deg,#f1da9d,#d5ad62);box-shadow:inset 0 1px 0 #fff3ce55;color:#6c483b;font-size:13px;font-weight:750;line-height:20px}
.share-claim-button:disabled{background:#d7c7d5;border-color:#c4accb;color:#967b9b;box-shadow:none;opacity:1}
.share-claim-note{margin:9px 0 0;color:#927784;font-size:10px;line-height:1.5;text-align:center}
.share-claim-message{margin:10px 0 0;padding-top:10px;border-top:1px solid #b99caa55;color:#7b526a;font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.share-claim-message[hidden]{display:none!important}
.share-invite-primary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 13px;border:1px solid #9d50bd;border-radius:12px;background:linear-gradient(120deg,#b359d2,#8c36b1);box-shadow:inset 0 1px 0 #ffffff22,0 3px 7px #69348416;color:#fff;font-size:14px;line-height:20px;font-weight:700}
.share-invite-primary svg{width:20px;height:20px}
.share-qr-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:9px 8px;border:1px solid #bda1cf;border-radius:12px;background:#dbcee5;color:#75438e;font-size:12px;font-weight:700}
.share-qr-button svg{width:18px;height:18px}
.share-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.share-rates>div{padding:10px;border:1px solid #bda0cb;border-radius:10px;background:#e5d8ec}
.share-rates span{display:block;color:#7b5e8b;font-size:10px;line-height:15px}
.share-rates strong{display:block;margin-top:5px;color:#86509d;font-size:23px;font-weight:750}
.share-error{margin-top:13px;padding:12px;border:1px solid #c4a1b2;border-radius:12px;background:#e6d3df;color:#805366;font-size:12px;line-height:1.55;text-align:center}
.share-error[hidden]{display:none!important}.share-error p{margin:0 0 8px}.share-error button{min-height:36px;padding:7px 14px;border:1px solid #b993bb;border-radius:8px;background:#d9bedb;color:#713c7d;font-size:12px;font-weight:650}
.bottom-nav button[data-page=Share] .share-nav-icon{display:grid;place-items:center;width:29px;height:32px}
.bottom-nav button[data-page=Share] .share-nav-icon svg{display:block;width:27px;height:27px;stroke-width:1.65}

dialog.share-sheet{position:fixed;inset:auto 0 0;max-width:430px;width:100%;max-height:calc(100dvh - 18px);margin:0 auto;padding:29px 21px max(24px,env(safe-area-inset-bottom,0px));border:1px solid #bba1cc;border-bottom:0;border-radius:24px 24px 0 0;background:#e3d7eb;box-shadow:0 -8px 40px #25132d33;text-align:left;color:#36213f;overflow:auto;overscroll-behavior:contain}
.share-sheet::backdrop{background:#24182e80;backdrop-filter:blur(3px)}
.share-sheet-handle{position:absolute;top:9px;left:50%;width:36px;height:4px;border-radius:5px;background:#b69ac8;transform:translateX(-50%)}
.share-sheet-close{position:absolute;right:13px;top:20px;display:grid;place-items:center;width:38px;min-height:38px;padding:8px;border-radius:11px;background:#d5c3e1;color:#885c9f}
.share-sheet-close svg{width:21px;height:21px}
.share-sheet-symbol{display:grid;place-items:center;width:43px;height:43px;margin-bottom:13px;border:1px solid #c8af8b;border-radius:14px;background:linear-gradient(140deg,#efdfbe,#d2b372);color:#7a527e}
.share-sheet-symbol svg{width:25px;height:25px}
.share-sheet h2{margin:0 38px 7px 0;color:#42294f;font-size:23px;font-weight:750;line-height:1.25;letter-spacing:-.6px}
.share-sheet-description{margin:0;color:#7d638b;font-size:12px;line-height:1.65}
.share-sheet-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.share-sheet-options button{display:flex;flex-direction:column;align-items:center;min-width:0;min-height:113px;padding:16px 6px 12px;border:1px solid #c5abd4;border-radius:15px;background:#eee5f3;color:#8a50a6}
.share-sheet-options svg{width:27px;height:27px;margin-bottom:10px}
.share-sheet-options b{color:#6c427f;font-size:12px;font-weight:700;white-space:nowrap}
.share-sheet-options small{display:block;margin-top:5px;color:#9b7bac;font-size:9px;line-height:13px}
.share-sheet-link-label{display:block;margin:19px 0 8px;color:#81618f;font-size:10px;font-weight:650}
.share-sheet-link{display:block;width:100%;min-width:0;height:42px;margin:0;padding:10px;border:1px solid #c0a5cf;border-radius:10px;background:#d8c8e3;color:#67427c;font:inherit;font-size:10px;text-overflow:ellipsis}
.share-sheet-status{margin:10px 0 0;color:#785386;font-size:11px;line-height:1.6}
.share-sheet-status:empty{display:none}
.share-qr-poster{margin-top:20px;padding:20px 19px 17px;border:1px solid #bea36f;border-radius:18px;background:radial-gradient(ellipse at 90% 0,#73507d,transparent 70%),linear-gradient(145deg,#4e2f60,#2c1c38);text-align:center;color:#f0d28f;box-shadow:0 5px 15px #4c315b1a}
.share-qr-brand{display:block;font-size:27px;font-weight:850;letter-spacing:1px;line-height:35px}
.share-qr-brand>span{font-size:19px;letter-spacing:1.5px;margin-left:2px}
.share-qr-poster>strong{display:block;margin:3px 0 16px;color:#e7d8ef;font-size:11px;font-weight:500;line-height:17px}
.share-qr-canvas{display:grid;place-items:center;min-height:160px;max-width:232px;margin:auto;padding:3px;border-radius:9px;background:white;color:#80579a;font-size:12px;line-height:1.6}
.share-qr-canvas canvas{display:block;width:100%;height:auto;border-radius:7px;image-rendering:pixelated}
.share-qr-poster>small{display:block;margin-top:13px;color:#d0b8df;font-size:10px}
.share-qr-sheet-actions{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:9px;margin-top:15px}
.share-qr-sheet-actions .share-invite-primary{font-size:12px;padding-left:8px;padding-right:8px}
.share-qr-sheet-actions .share-qr-button{font-size:11px}
@media(max-width:360px){
 .share-page{padding:12px 12px 16px}
 .share-hero{padding:18px 16px 0;border-radius:18px}.share-eyebrow{font-size:8px;letter-spacing:1.1px}.share-hero-content{min-height:146px}.share-hero h2{font-size:24px;letter-spacing:-.7px}.share-hero p{font-size:11px}.share-hero-footer{margin:0 -16px;padding-left:16px;padding-right:16px;font-size:9px}
 .share-hero-art{width:83px;height:124px;margin-left:-7px}.share-art-coin{inset:40px 7px 26px}.share-art-coin svg{width:31px;height:31px}.share-art-person{width:31px;height:33px}.share-art-person svg{width:21px;height:21px}.share-art-person.one{left:-3px}.share-art-person.two{right:-3px}.share-art-star.one{right:-2px}.share-art-star.two{left:-7px}.share-orbit-one{inset:26px -10px 25px}.share-orbit-two{inset:13px -3px}
 .share-stats{gap:8px;margin:12px 0}.share-stat{padding:12px 11px 11px}.share-stat-label{font-size:10px;gap:5px}.share-stat strong{font-size:21px}
 .share-claim-card{margin-top:0;padding:13px 12px 11px}.share-claim-summary strong{font-size:25px}.share-claim-note{font-size:9px}.share-claim-button{font-size:12px}
 .share-invite-primary{font-size:12px;gap:6px;padding-left:9px;padding-right:9px}.share-qr-button{font-size:11px;gap:4px}.share-steps b{font-size:9px}
 dialog.share-sheet{padding-left:17px;padding-right:17px}.share-sheet-options{gap:7px}.share-sheet-options button{padding-left:4px;padding-right:4px}.share-sheet-options small{font-size:8px}.share-sheet h2{font-size:21px}.share-qr-canvas{max-width:208px}
}

/* Invitation destinations use a centered card; the QR preview keeps its sheet. */
dialog.share-sheet[data-share-mode="invite"]{inset:0;width:min(390px,calc(100% - 36px));max-width:390px;height:fit-content;max-height:calc(100dvh - 40px);margin:auto;padding:27px 24px 24px;border:1px solid #a17caa;border-radius:22px;background:radial-gradient(ellipse at 50% 0,#69457655,transparent 55%),linear-gradient(145deg,#3c2b49,#292035);box-shadow:0 20px 70px #160d2259,inset 0 1px 0 #e6ccf31a;color:#f4eaf7;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#80628c #30243d;isolation:isolate}
dialog.share-sheet[data-share-mode="invite"]::backdrop{background:#1b1123ad;backdrop-filter:blur(3px)}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-handle{display:none}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-close{position:sticky;top:0;right:auto;z-index:3;width:38px;min-height:38px;margin:-10px -9px -28px auto;border:1px solid #8b6c9b4d;border-radius:12px;background:#493552;color:#e0cdea;box-shadow:0 2px 8px #1c10231f}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-close:hover{background:#5a4165;color:#fff}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol{position:relative;width:80px;height:80px;margin:0 auto 21px;border:2px solid #e1c784;border-radius:50% 50% 50% 17%;background:linear-gradient(135deg,#f6e6b4,#d5ae60 62%,#a87d39);color:#6b3c69;box-shadow:inset 0 0 0 5px #f5df9e55,inset -4px -5px 9px #8e5e283b,0 8px 18px #160d2852;transform:rotate(-5deg)}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol svg{width:41px;height:41px;stroke-width:1.8;transform:rotate(5deg)}
dialog.share-sheet[data-share-mode="invite"] h2{margin:0 0 12px;color:#f8edda;font-size:23px;font-weight:750;line-height:1.23;letter-spacing:-.55px}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-description{margin:0;color:#d1bedb;font-size:13px;line-height:1.65}
dialog.share-sheet[data-share-mode="invite"] .share-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px;margin:22px 0 20px}
dialog.share-sheet[data-share-mode="invite"] .share-choice{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:49px;margin:0;padding:10px 13px;border:1px solid #ffffff21;border-radius:15px;background:#654c83;color:#fff;font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;text-align:left;box-shadow:inset 0 1px 0 #ffffff12,0 3px 8px #160d231c;cursor:pointer;touch-action:manipulation}
dialog.share-sheet[data-share-mode="invite"] .share-choice:hover{filter:brightness(1.1)}
dialog.share-sheet[data-share-mode="invite"] .share-choice:active{filter:brightness(.95)}
dialog.share-sheet[data-share-mode="invite"] .share-choice:focus-visible,dialog.share-sheet[data-share-mode="invite"] .share-sheet-close:focus-visible{outline:3px solid #ecd18c;outline-offset:3px}
dialog.share-sheet[data-share-mode="invite"] .share-choice-icon{display:grid;place-items:center;flex:none;width:23px;height:25px;color:inherit}
dialog.share-sheet[data-share-mode="invite"] .share-choice-icon svg{width:23px;height:23px;flex:none}
dialog.share-sheet[data-share-mode="invite"] .share-choice-icon img.facebook-brand-icon{display:block;flex:none;width:23px;height:23px;object-fit:contain;filter:none;opacity:1}
dialog.share-sheet[data-share-mode="invite"] .share-choice-label{display:block;min-width:0;color:inherit;font-size:inherit;font-weight:inherit;line-height:1.16;overflow-wrap:anywhere}
dialog.share-sheet[data-share-mode="invite"] .share-choice-facebook{background:#2365bc;border-color:#5994e140}
dialog.share-sheet[data-share-mode="invite"] .share-choice-sms{background:linear-gradient(125deg,#e6c581,#d0a359);border-color:#edcf9380;color:#422e18}
dialog.share-sheet[data-share-mode="invite"] .share-choice-copy{background:#147c7b;border-color:#5bc6b440}
dialog.share-sheet[data-share-mode="invite"] .share-choice-qr{background:#794bb8;border-color:#b88cdf50}
dialog.share-sheet[data-share-mode="invite"] .share-choice-telegram{background:#277ea5;border-color:#72c7e650}
dialog.share-sheet[data-share-mode="invite"] .share-choice-whatsapp{background:#23804b;border-color:#67c98c40}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-link-label{margin:16px 0 8px;color:#c4accf;font-size:10px;font-weight:600;line-height:1.5}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-link{height:41px;border-color:#7e5b8d;background:#493650;color:#f0e4f5;font-size:10px}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-link:focus-visible{outline:2px solid #d9bc7c;outline-offset:3px}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-status{margin-top:11px;color:#e2ccab;font-size:11px;line-height:1.55}
@media(max-width:360px){
 dialog.share-sheet[data-share-mode="invite"]{width:calc(100% - 30px);max-height:calc(100dvh - 32px);padding:23px 19px 20px;border-radius:20px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol{width:70px;height:70px;margin-bottom:18px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol svg{width:36px;height:36px}
 dialog.share-sheet[data-share-mode="invite"] h2{font-size:21px;letter-spacing:-.4px;margin-bottom:10px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-description{font-size:12px;line-height:1.6}
 dialog.share-sheet[data-share-mode="invite"] .share-choice-grid{gap:9px 8px;margin:18px 0}
 dialog.share-sheet[data-share-mode="invite"] .share-choice{gap:7px;min-height:48px;padding:9px 10px;border-radius:13px;font-size:12px}
 dialog.share-sheet[data-share-mode="invite"] .share-choice-icon,dialog.share-sheet[data-share-mode="invite"] .share-choice-icon svg{width:21px;height:23px}
}
@media(max-height:650px){
 dialog.share-sheet[data-share-mode="invite"]{max-height:calc(100dvh - 24px);padding-top:21px;padding-bottom:19px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol{width:58px;height:58px;margin-bottom:14px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol svg{width:31px;height:31px}
 dialog.share-sheet[data-share-mode="invite"] h2{font-size:20px;margin-bottom:9px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-description{font-size:12px;line-height:1.5}
 dialog.share-sheet[data-share-mode="invite"] .share-choice-grid{gap:8px;margin:16px 0}
 dialog.share-sheet[data-share-mode="invite"] .share-choice{min-height:44px;padding-top:8px;padding-bottom:8px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-link-label{margin-top:12px}
}

/* A collectible invitation pass: velvet layers, an orbital seal and a ticket stub. */
dialog.share-sheet[data-share-mode="invite"]{
 --invitation-stub:106px;
 border:1px solid #c8ac7099;border-top-color:#eed49dc2;border-radius:30px 9px 30px 9px;
 background:linear-gradient(180deg,transparent calc(100% - var(--invitation-stub)),#160f2480 0),radial-gradient(ellipse at 9% 0,#9b66cf52,transparent 48%),radial-gradient(ellipse at 95% 26%,#9068a52b,transparent 55%),repeating-linear-gradient(135deg,transparent 0 22px,#d5baff05 22px 23px),linear-gradient(150deg,#483054,#2b203b 64%,#261d32);
 box-shadow:0 24px 76px #100b1d85,0 0 0 4px #ebd3a009,inset 0 1px 0 #fff1d536,inset 0 -1px 0 #cfad7533;
 -webkit-mask:radial-gradient(circle 10px at 0 calc(100% - var(--invitation-stub)),#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 10px at 100% calc(100% - var(--invitation-stub)),#0000 98%,#000) right/51% 100% no-repeat;
 mask:radial-gradient(circle 10px at 0 calc(100% - var(--invitation-stub)),#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 10px at 100% calc(100% - var(--invitation-stub)),#0000 98%,#000) right/51% 100% no-repeat;
}
dialog.share-sheet[data-share-mode="invite"]:has(.share-sheet-status:not(:empty)){--invitation-stub:151px}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-status:not(:empty){min-height:3.1em}
dialog.share-sheet[data-share-mode="invite"]::before{
 content:"91GAME  /  INVITATION";position:absolute;z-index:1;top:18px;left:24px;
 padding:6px 13px 6px 9px;border-left:2px solid #efd18f;background:linear-gradient(90deg,#cfad6d24,#cfad6d03);
 color:#e5c88f;font-family:inherit;font-size:9px;font-weight:700;line-height:1.3;letter-spacing:1.7px;clip-path:polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%);pointer-events:none;
}
dialog.share-sheet[data-share-mode="invite"]::after{
 content:"";position:absolute;z-index:-1;inset:8px;border:1px solid #d8bb8138;border-radius:22px 4px 22px 4px;pointer-events:none;
 background:linear-gradient(90deg,#eac88080,transparent) 15px 0/65px 1px no-repeat,linear-gradient(270deg,#eac88080,transparent) calc(100% - 15px) 100%/65px 1px no-repeat;
}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol{
 width:76px;height:76px;margin:35px auto 19px;border-color:#f1d58f;border-radius:24px 11px 24px 11px;
 background:linear-gradient(140deg,#fff0c3,#d9b365 57%,#ae8243);box-shadow:inset 0 0 0 4px #efd29477,inset -5px -5px 12px #7b4d2633,0 8px 18px #110b2366,0 0 30px #e3bf5e17;
 transform:rotate(-8deg);
}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::before,
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::after{content:"";position:absolute;z-index:-1;pointer-events:none}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::before{
 inset:-23px;border:1px solid #d7bd7245;border-radius:50%;background:radial-gradient(circle,#ddbd5d12,transparent 67%);transform:rotate(8deg);
 box-shadow:0 0 0 11px #dbc17c05;
}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::after{
 width:142px;height:45px;top:14px;left:-35px;border:1px solid #e3c68170;border-radius:50%;transform:rotate(-16deg);
 background:radial-gradient(circle at 7% 47%,#f7df9f 0 2px,transparent 3px),radial-gradient(circle at 93% 47%,#f7df9f 0 2px,transparent 3px);
}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol svg{transform:rotate(8deg)}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-close{border-radius:50%;border-color:#d7bb8a42;background:#493651ed;color:#eddbb7;box-shadow:0 3px 10px #160f2866,inset 0 1px 0 #fff1d51a}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-link-label{
 position:relative;margin-top:21px;padding-top:16px;border-top:1px dashed #d7bc7d69;color:#dbc99f;letter-spacing:.25px;
}
dialog.share-sheet[data-share-mode="invite"] .share-sheet-link{border-color:#9979557a;background:#241b31;color:#e7dced;box-shadow:inset 0 2px 5px #100b1d33}
@media(max-width:360px){
 dialog.share-sheet[data-share-mode="invite"]{border-radius:25px 8px 25px 8px;--invitation-stub:101px}
 dialog.share-sheet[data-share-mode="invite"]:has(.share-sheet-status:not(:empty)){--invitation-stub:146px}
 dialog.share-sheet[data-share-mode="invite"]::before{top:16px;left:20px;font-size:8px;letter-spacing:1.35px;padding-left:8px;padding-right:11px}
 dialog.share-sheet[data-share-mode="invite"]::after{inset:7px;border-radius:18px 3px 18px 3px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol{width:66px;height:66px;margin-top:32px;margin-bottom:18px;border-radius:21px 9px 21px 9px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::before{inset:-19px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::after{width:124px;height:40px;top:12px;left:-31px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-link-label{margin-top:18px;padding-top:15px}
}
@media(max-height:650px){
 dialog.share-sheet[data-share-mode="invite"]{border-radius:23px 8px 23px 8px;-webkit-mask:none;mask:none;background:radial-gradient(ellipse at 12% 0,#9b66cf45,transparent 60%),linear-gradient(145deg,#44304f,#2a2039)}
 dialog.share-sheet[data-share-mode="invite"]::before{top:12px;font-size:8px;padding-top:5px;padding-bottom:5px}
 dialog.share-sheet[data-share-mode="invite"]::after{display:none}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol{width:54px;height:54px;margin-top:25px;margin-bottom:13px;border-radius:18px 8px 18px 8px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::before{inset:-13px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-symbol::after{width:104px;height:34px;left:-27px;top:10px}
 dialog.share-sheet[data-share-mode="invite"] .share-sheet-link-label{margin-top:14px;padding-top:12px}
}

/* The invitation image keeps its slot artwork clear, with a small scannable corner. */
dialog.share-sheet[data-share-mode="qr"]{
 max-height:calc(100dvh - 12px);padding:24px 16px max(18px,env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;isolation:isolate;
}
dialog.share-sheet[data-share-mode="qr"] .share-sheet-symbol{display:none}
dialog.share-sheet[data-share-mode="qr"] .share-sheet-close{
 position:sticky;top:0;right:auto;z-index:5;width:34px;min-height:34px;margin:-3px -3px -31px auto;padding:7px;border-radius:50%;background:#d5c3e1f2;
}
dialog.share-sheet[data-share-mode="qr"] h2{margin:0 42px 5px 0;font-size:20px;line-height:1.25;letter-spacing:-.4px}
dialog.share-sheet[data-share-mode="qr"] .share-sheet-description{font-size:11px;line-height:1.5}
dialog.share-sheet[data-share-mode="qr"] .share-qr-poster{
 position:relative;isolation:isolate;container-type:inline-size;display:block;width:100%;aspect-ratio:1080/1360;margin:14px auto 0;padding:0;overflow:hidden;
 border:1px solid #b59a61;border-radius:16px;background:#21132d;text-align:left;color:#f3d58e;box-shadow:0 5px 17px #38204821;
}
dialog.share-sheet[data-share-mode="qr"] .share-poster-art{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
dialog.share-sheet[data-share-mode="qr"] .share-poster-art[hidden]{display:none!important}
dialog.share-sheet[data-share-mode="qr"] .share-qr-poster[data-art-state="fallback"]{background:radial-gradient(ellipse at 65% 45%,#7b4d9b,#342044 60%,#21132d)}
dialog.share-sheet[data-share-mode="qr"] .share-qr-poster::before{
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#130822ad,transparent 36% 68%,#120a22ed);
}
dialog.share-sheet[data-share-mode="qr"] .share-qr-poster::after{content:"";position:absolute;inset:6px;z-index:3;border:1px solid #f0d7963d;border-radius:11px;pointer-events:none}
dialog.share-sheet[data-share-mode="qr"] .share-poster-top{position:absolute;z-index:2;left:6.5%;right:6.5%;top:4.9%;min-width:0}
dialog.share-sheet[data-share-mode="qr"] .share-qr-brand{margin:0;color:#f5d68d;font-size:20px;font-size:5cqw;font-weight:850;line-height:1.2;letter-spacing:1.5px;text-shadow:0 2px 8px #10061980}
dialog.share-sheet[data-share-mode="qr"] .share-qr-brand>span{margin-left:2px;font-size:.72em;letter-spacing:2px}
dialog.share-sheet[data-share-mode="qr"] .share-poster-heading{display:block;margin:12px 0 0;color:#fff1c5;font-size:22px;font-size:5.65cqw;font-weight:850;line-height:1.065;letter-spacing:-.5px;text-shadow:0 2px 9px #170826ad}
dialog.share-sheet[data-share-mode="qr"] .share-poster-tagline{margin:7px 0 0;color:#f3e9f8;font-size:10px;font-size:2.6cqw;line-height:1.45;font-weight:500;text-shadow:0 2px 6px #170826c2}
dialog.share-sheet[data-share-mode="qr"] .share-poster-footer{position:absolute;z-index:2;left:6.5%;right:5%;bottom:4.4%;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-width:0}
dialog.share-sheet[data-share-mode="qr"] .share-poster-footer-copy{flex:1;min-width:0;padding-bottom:4.3cqw}
dialog.share-sheet[data-share-mode="qr"] .share-poster-footer-copy>span{display:block;max-width:100%;color:#f0d28c;font-size:8px;font-size:2.13cqw;font-weight:750;letter-spacing:.8px;line-height:1.45}
dialog.share-sheet[data-share-mode="qr"] .share-poster-footer-copy>small{display:block;margin-top:3px;color:#fff3d4;font-size:11px;font-size:2.96cqw;line-height:1.4;font-weight:600}
dialog.share-sheet[data-share-mode="qr"] .share-qr-canvas{display:grid;place-items:center;flex:0 0 29.38%;width:29.38%;max-width:none;min-height:0;aspect-ratio:1;margin:0;padding:0;border:0;border-radius:3px;overflow:hidden;background:#fff;color:#633b78;font-size:8px;line-height:1.3;text-align:center;overflow-wrap:anywhere;box-shadow:0 3px 12px #0b031d40}
dialog.share-sheet[data-share-mode="qr"] .share-qr-canvas canvas{display:block;width:100%;height:auto;border-radius:0;image-rendering:pixelated}
dialog.share-sheet[data-share-mode="qr"] .share-qr-sheet-actions{margin-top:12px;gap:8px}
dialog.share-sheet[data-share-mode="qr"] .share-sheet-link-label{margin-top:13px;font-size:10px}
dialog.share-sheet[data-share-mode="qr"] .share-sheet-link{height:39px}
@media(max-width:360px){
 dialog.share-sheet[data-share-mode="qr"]{padding-left:14px;padding-right:14px}
 dialog.share-sheet[data-share-mode="qr"] h2{font-size:18px}
 dialog.share-sheet[data-share-mode="qr"] .share-qr-poster{border-radius:13px}
 dialog.share-sheet[data-share-mode="qr"] .share-qr-poster::after{inset:5px;border-radius:9px}
 dialog.share-sheet[data-share-mode="qr"] .share-poster-heading{margin-top:10px}
 dialog.share-sheet[data-share-mode="qr"] .share-poster-tagline{margin-top:7px}
 dialog.share-sheet[data-share-mode="qr"] .share-poster-footer{gap:9px}
 dialog.share-sheet[data-share-mode="qr"] .share-poster-footer-copy>span{letter-spacing:.5px}
 dialog.share-sheet[data-share-mode="qr"] .share-poster-footer-copy>small{margin-top:3px}
}
@media(max-height:650px){
 dialog.share-sheet[data-share-mode="qr"] .share-qr-poster{max-width:285px}
 dialog.share-sheet[data-share-mode="qr"] h2{font-size:18px}
}

html[data-theme] body dialog.share-sheet{border-color:var(--polish-border);border-radius:20px;background:var(--polish-panel);color:var(--polish-ink);box-shadow:0 16px 48px #00000038}
html[data-theme] body dialog.share-sheet::before{display:none}
html[data-theme] body dialog.share-sheet :is(.share-sheet-description,.share-sheet-link-label,.share-sheet-status){color:var(--polish-muted)}
html[data-theme] body dialog.share-sheet :is(.share-sheet-symbol,.share-sheet-close){border-color:var(--polish-border);background:var(--polish-raised);color:var(--polish-accent);box-shadow:none}
html[data-theme] body dialog.share-sheet .share-sheet-link{border-color:var(--polish-border);background:var(--polish-raised);color:var(--polish-ink)}

/* The referral dashboard uses the 91 Game palette and its own app mark. */
html[data-theme] body #share-page.share-page {
 --share-gold:#ffdc86;
 display:grid;
 grid-template-columns:minmax(0,1fr);
 align-content:start;
 gap:12px;
 color:var(--polish-ink);
 background:var(--polish-canvas);
}
.app:has(>#share-page:not([hidden])) {padding-bottom:0}
.share-page {
 --share-invite-height:54px;
 --share-invite-bottom:calc(var(--share-nav-height,73px + env(safe-area-inset-bottom,0px)) + 28px);
 padding-bottom:calc(var(--share-invite-bottom) + var(--share-invite-height) + 16px);
}
.share-invite-fixed {
 position:fixed;
 z-index:19;
 left:50%;
 bottom:var(--share-invite-bottom);
 transform:translateX(-50%);
 display:flex;
 align-items:center;
 justify-content:center;
 gap:9px;
 width:calc(min(100%,430px) - 42px);
 min-height:var(--share-invite-height);
 padding:6px 16px;
 border:1px solid #50dea03d;
 border-radius:999px;
 background:linear-gradient(180deg,#00ab71,#007d56);
 box-shadow:0 4px 14px #0004;
 color:#fff;
 font-size:19px;
 font-weight:750;
}
.share-invite-fixed:active:not(:disabled) {filter:brightness(.94)}
.share-invite-fixed:focus-visible {outline:2px solid #e5ffef;outline-offset:3px}
.share-page .share-invite-fixed:disabled {
 border-color:var(--polish-border,#766783);
 background:var(--polish-raised,#262330);
 color:var(--polish-muted,#c9bdd2);
 box-shadow:none;
 opacity:1;
}
.share-live {
 display:grid;
 gap:7px;
 padding:0 1px;
}
.share-live-count,.share-ticker {
 display:flex;
 align-items:center;
 gap:8px;
 min-width:0;
 border-radius:10px;
 font-size:13px;
}
.share-live-count {
 min-height:40px;
 padding:5px 11px;
 border:1px solid var(--polish-border);
 background:var(--polish-panel);
 color:var(--polish-ink);
 font-size:16px;
 font-weight:650;
 line-height:1.35;
}
.share-live-total {display:flex;align-items:center;gap:7px;min-width:0}
.share-live-count strong {color:var(--polish-accent);font-size:19px;font-variant-numeric:tabular-nums}
.share-live-count svg,.share-ticker svg {width:17px;height:17px;color:var(--polish-accent)}
.share-ticker {
 min-height:27px;
 padding:0 7px;
 overflow:hidden;
 color:var(--polish-muted);
}
.share-ticker-copy {
 flex:1;
 min-width:0;
 overflow:hidden;
}
.share-ticker-entry {
 display:block;
 overflow:hidden;
 white-space:nowrap;
 text-overflow:ellipsis;
 animation:share-claim-slide .36s ease-out both;
}
.share-ticker-entry strong {color:var(--polish-accent)}
.share-ticker-entry-generated strong {color:#f7ce6f}
html[data-theme="light"] .share-ticker-entry-generated strong {color:#785018}
@keyframes share-claim-slide {
 from {opacity:0;transform:translateX(18px)}
 to {opacity:1;transform:translateX(0)}
}
html[data-theme] #share-page.share-page .share-hero {
 margin:0;
 padding:0;
 border:1px solid #60447a;
 border-radius:18px;
 background:linear-gradient(105deg,#392153,#261634);
 box-shadow:none;
}
html[data-theme] #share-page.share-page .share-hero::after {display:none}
.share-hero-banner {
 position:relative;
 isolation:isolate;
 display:grid;
 align-content:center;
 min-height:clamp(154px,38vw,190px);
 padding:16px 15px;
 text-shadow:0 1px 4px #08080ce0,0 2px 11px #08080cb3;
}
.share-hero-banner::before {
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 background:
  linear-gradient(90deg,#0c0b11ee 0%,#0c0b11bf 24%,#0c0b1150 48%,transparent 74%),
  url("/assets/referral-host-slot-v2.jpg") center 49% / cover no-repeat #0c0b11;
 -webkit-mask-image:linear-gradient(#000 72%,#000e 80%,transparent);
 mask-image:linear-gradient(#000 72%,#000e 80%,transparent);
}
html[data-theme] #share-page.share-page .share-hero h2 {
 width:62%;
 margin:0;
 color:#fff8ff;
 font-size:clamp(23px,6.2vw,32px);
 line-height:1.11;
 font-weight:770;
 letter-spacing:-.035em;
}
html[data-theme] #share-page.share-page .share-hero h2 span {
 display:block;
 margin-top:4px;
 color:var(--share-gold);
}
.share-hero-rates {
 padding:5px 12px 10px;
}
html[data-theme] #share-page.share-page .share-hero .share-rates {margin:0;gap:8px}
html[data-theme] #share-page.share-page .share-hero .share-rates>div {
 display:grid;
 grid-template-rows:1fr auto;
 padding:8px 9px;
 border-color:#e4baff3d;
 border-radius:9px;
 background:#b879ea15;
}
html[data-theme] body #share-page.share-page .share-hero .share-rates span {
 color:#f4e4ff;
 font-size:12px;
 font-weight:570;
}
html[data-theme] #share-page.share-page .share-hero .share-rates strong {
 color:var(--share-gold);
 margin-top:3px;
 font-size:22px;
 line-height:1.12;
 font-variant-numeric:tabular-nums;
}
html[data-theme] body #share-page.share-page .share-hero p {
 margin:0;
 color:#f5e4ff;
 font-size:12px;
 line-height:1.5;
}
html[data-theme] body #share-page.share-page .share-hero-banner p {width:54%;margin-top:9px}
html[data-theme] body #share-page.share-page .share-hero-rates .share-offer-condition {margin-top:7px}

html[data-theme] #share-page.share-page .share-overview {
 margin:0;
 border:1px solid var(--polish-border);
 border-radius:15px;
 background:color-mix(in srgb,var(--polish-panel),var(--polish-accent) 8%);
 color:var(--polish-ink);
}
html[data-theme] #share-page.share-page #share-progress-title {
 margin:0;
 font-size:15px;
 font-weight:700;
 color:var(--polish-ink);
}
html[data-theme] body #share-page.share-page .share-claim-button {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 min-width:0;
 min-height:44px;
 padding:8px 9px;
 border:1px solid transparent;
 border-radius:10px;
 font-size:13px;
 font-weight:700;
 line-height:1.33;
 text-align:center;
}
html[data-theme] #share-page.share-page .share-claim-button {
 background:linear-gradient(118deg,#73419c,#523277);
 color:#fff;
 box-shadow:inset 0 1px 0 #ffffff2b;
}
html[data-theme] #share-page.share-page .share-claim-button:disabled {
 background:var(--polish-raised);
 border-color:var(--polish-border);
 color:var(--polish-muted);
 opacity:1;
 box-shadow:none;
}
html[data-theme] #share-page.share-page .share-overview {
 overflow:hidden;
 border-color:#7953a0;
 background:linear-gradient(130deg,#452666,#2d193f);
 color:#fbf2ff;
}
html[data-theme] #share-page.share-page .share-claim-card {
 margin:0;
 padding:14px 13px 12px;
 border:0;
 border-bottom:1px solid #edcbff3b;
 border-radius:0;
 background:linear-gradient(110deg,#a46ad530,#c188f315);
 box-shadow:none;
}
html[data-theme] #share-page.share-page .share-claim-main {
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(104px,auto);
 gap:8px;
 align-items:center;
}
html[data-theme] #share-page.share-page .share-claim-button {margin:0;width:auto;max-width:136px}
html[data-theme] #share-page.share-page .share-claim-summary strong {
 margin:3px 0 0;
 font-size:30px;
 line-height:1.13;
 color:#fff1ce;
}
html[data-theme] #share-page.share-page .share-claim-note {
 margin:7px 0 0;
 text-align:left;
}
html[data-theme] #share-page.share-page .share-claim-state[hidden] {display:none}
html[data-theme] #share-page.share-page .share-stats {
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:0;
 margin:0;
}
html[data-theme] #share-page.share-page .share-stat {
 padding:10px 13px;
 border:0;
 border-radius:0;
 background:transparent;
 box-shadow:none;
}
html[data-theme] #share-page.share-page .share-stat:nth-child(even) {border-left:1px solid #edcbff30}
html[data-theme] #share-page.share-page .share-stat:nth-child(n+3) {border-top:1px solid #edcbff30}
html[data-theme] body #share-page.share-page .share-stat-label {font-size:12px;line-height:1.4}
html[data-theme] #share-page.share-page .share-stat-label svg {width:15px;height:15px;color:#e7c2ff}
html[data-theme] #share-page.share-page .share-stat strong {
 margin:4px 0 0 21px;
 color:#fff6ff;
 font-size:20px;
 line-height:1.25;
}
.share-stat-value {
 display:flex;
 align-items:center;
 gap:8px;
 min-height:36px;
}
.share-records-trigger {
 display:grid;
 place-items:center;
 flex:none;
 width:37px;
 min-height:36px;
 margin-inline-start:auto;
 padding:0;
 border:0;
 border-radius:50%;
 background:transparent;
 color:#f4d8ff;
}
.share-records-trigger svg {width:19px;height:19px}
.share-records-trigger:focus-visible {outline:2px solid #ffe0ff;outline-offset:2px}
html[data-theme] #share-page.share-page .share-stat:nth-child(n+3) strong {color:#efd2ff}
.share-progress {
 min-width:0;
}
html[data-theme] #share-page.share-page #share-progress-title {
 display:flex;
 align-items:center;
 gap:9px;
 margin:0 0 9px;
 font-size:16px;
}
#share-progress-title::before {
 content:"";
 width:4px;
 height:14px;
 flex:none;
 border-radius:5px;
 background:var(--polish-accent);
}
.share-steps-panel {
 padding:11px 10px 13px;
 border:1px solid var(--polish-border);
 border-radius:15px;
 background:
  radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--polish-accent),transparent 82%),transparent 67%),
  var(--polish-panel);
}
html[data-theme] #share-page.share-page .share-steps {
 --share-step-size:clamp(60px,17vw,74px);
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;
 margin:0;
 padding:0;
 list-style:none;
}
.share-steps>li {
 position:relative;
 display:grid;
 align-content:start;
 justify-items:center;
 gap:2px;
 min-width:0;
 text-align:center;
}
.share-steps>li+li::before {
 content:"";
 position:absolute;
 inset-inline-start:-9px;
 top:calc(var(--share-step-size) / 2 - 4px);
 width:7px;
 height:7px;
 border-block-start:2px solid var(--polish-accent);
 border-inline-end:2px solid var(--polish-accent);
 transform:rotate(45deg);
}
.share-step-art {
 width:var(--share-step-size);
 aspect-ratio:1;
 background-image:url("/assets/share-steps-art-v1.png");
 background-size:300% 100%;
 background-repeat:no-repeat;
}
.share-step-art--invite {background-position:left center}
.share-step-art--deposit {background-position:center center}
.share-step-art--claim {background-position:right center}
.share-step-label {
 max-width:90px;
 padding-inline:2px;
 color:var(--polish-ink);
 font-size:13px;
 line-height:1.3;
 font-weight:650;
}
.share-progress-meter {
 margin-top:12px;
 padding-top:9px;
 border-top:1px solid var(--polish-line);
}
.share-progress-status {color:var(--polish-muted);font-size:12px;line-height:1.45}
.share-progress progress {
 display:block;
 width:100%;
 height:7px;
 margin-top:6px;
 appearance:none;
 border:0;
 border-radius:100px;
 background:var(--polish-raised);
 color:var(--polish-accent);
}
.share-progress progress::-webkit-progress-bar {border-radius:inherit;background:var(--polish-raised)}
.share-progress progress::-webkit-progress-value {border-radius:inherit;background:linear-gradient(90deg,#955ac2,var(--polish-accent))}
.share-progress progress::-moz-progress-bar {border-radius:inherit;background:linear-gradient(90deg,#955ac2,var(--polish-accent))}
.share-rules {
 padding:7px 2px 4px;
 color:var(--polish-muted,#62586c);
 font-size:15px;
 line-height:1.42;
}
.share-rules h3 {
 display:flex;
 align-items:center;
 gap:8px;
 margin:0;
 color:var(--polish-ink,#33213f);
 font-size:17px;
 font-weight:750;
}
.share-rules h3::before {
 content:"";
 width:6px;
 height:13px;
 border-radius:3px;
 background:#05bb8c;
}
.share-rules > p {margin:9px 0 0}
.share-rules ol {margin:11px 0 0;padding-inline-start:1.3em}
.share-rules li + li {margin-top:11px}

#share-page .share-leaderboard-entry {
 display:grid;
 grid-template-columns:26px minmax(0,1fr) 18px;
 align-items:center;
 gap:10px;
 width:100%;
 min-height:54px;
 padding:10px 13px;
 border:1px solid #9a754f;
 border-radius:13px;
 background:linear-gradient(110deg,#3c2e1c,#2d2537 82%);
 color:#ffe195;
 text-align:left;
 font-size:15px;
 font-weight:750;
}
.share-leaderboard-entry svg:first-child {width:23px;height:23px}
.share-leaderboard-entry svg:last-child {width:17px;height:17px}
.app.share-leaderboard-open {
 min-height:100dvh;
 padding-bottom:env(safe-area-inset-bottom,0px);
 background:var(--ranking-canvas,#191922);
}
html[data-theme="light"] .app.share-leaderboard-open {
 --ranking-canvas:var(--polish-canvas);
 --ranking-panel:var(--polish-panel);
 --ranking-raised:var(--polish-raised);
 --ranking-border:var(--polish-border);
 --ranking-rule:var(--polish-line);
 --ranking-ink:var(--polish-ink);
 --ranking-muted:var(--polish-muted);
 --ranking-accent:var(--polish-accent);
 --ranking-focus:var(--polish-focus);
}
.app.share-leaderboard-open > :is(header,.bottom-nav) {display:none}
.share-leaderboard-page[hidden] {display:none!important}
.share-leaderboard-page {
 min-height:100dvh;
 padding:env(safe-area-inset-top,0px) 16px 22px;
 background:var(--ranking-canvas,#191922);
 color:var(--ranking-ink,#f8f2ff);
}
.share-ranking-top {padding:2px 0}
.share-ranking-top button {
 display:inline-flex;
 align-items:center;
 gap:5px;
 min-height:44px;
 padding:4px 8px 4px 0;
 border-radius:7px;
 background:transparent;
 color:var(--ranking-accent,#f3e8fa);
 font-size:14px;
 font-weight:650;
}
.share-ranking-top button svg {width:21px;height:21px;transform:rotate(180deg)}
.share-ranking-hero {
 --ranking-hero-art:linear-gradient(0deg,#191922 0%,#19192208 36%),
  linear-gradient(90deg,#171320ee 0%,#171320ba 40%,transparent 74%),
  #211827 url("/assets/weekly-leaderboard-slot-v1.jpg") center / cover no-repeat;
 position:relative;
 isolation:isolate;
 display:grid;
 align-content:center;
 height:auto;
 min-height:160px;
 margin:0 -16px;
 padding:20px 16px 36px;
 overflow:hidden;
 background:var(--ranking-hero-art);
 color:#f8f2ff;
}
.share-ranking-hero::before {
 content:"";
 position:absolute;
 z-index:-1;
 inset:0;
 background:var(--ranking-hero-art);
 filter:blur(3px);
 mask-image:linear-gradient(90deg,#000 3%,transparent 53%,transparent 80%,#000 100%);
}
.share-ranking-hero h1 {
 position:static;
 transform:none;
 margin:0;
 color:#ffdc86;
 font-size:clamp(25px,7vw,36px);
 font-weight:850;
 line-height:1.04;
 letter-spacing:-.02em;
 text-transform:uppercase;
 text-shadow:0 2px 12px #130b16;
}
.share-ranking-prizes {margin-top:12px;font-size:14px;line-height:1.4}
.share-ranking-prizes h2 {display:flex;align-items:center;gap:6px;margin:0 0 5px;font-size:14px}
.share-ranking-prizes h2 svg {width:16px;height:16px;color:#ffdc86}
.share-ranking-prizes dl {display:grid;gap:2px;margin:0}
.share-ranking-prizes dl div {display:grid;grid-template-columns:74px auto;gap:8px;align-items:baseline}
.share-ranking-prizes dd {margin:0;color:#ffdc86;font-weight:750}
.share-ranking-prizes p {margin:7px 0 0;color:#eee3f6;font-size:12px}
.share-ranking-controls {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:6px;
 padding:4px;
 border:1px solid var(--ranking-border,#44384f);
 border-radius:13px;
 background:var(--ranking-panel,#20202b);
}
.share-ranking-controls button {
 min-height:44px;
 border-radius:9px;
 background:transparent;
 color:var(--ranking-muted,#d3c7dc);
 font-size:14px;
 font-weight:700;
}
.share-ranking-controls button[aria-pressed="true"] {
 background:var(--ranking-accent,linear-gradient(120deg,#75459c,#563581));
 color:#fff;
}
.share-ranking-period,.share-ranking-empty {
 margin:12px 0 8px;
 color:var(--ranking-muted,#c9bfd4);
 font-size:12px;
}
.share-ranking-empty {margin:0;padding:20px 0;text-align:center}
.share-ranking-retry {
 display:inline-flex;
 align-items:center;
 min-height:44px;
 padding:0 6px;
 background:transparent;
 color:var(--ranking-accent,#e2befd);
 font-weight:700;
}
.share-ranking-board {overflow:hidden;border:1px solid var(--ranking-border,#44384f);border-radius:14px;background:var(--ranking-panel,#252432)}
.share-ranking-board table {width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.share-ranking-board caption {padding:8px 12px;color:var(--ranking-muted,#c9bfd4);font-size:12px;text-align:left}
.share-ranking-board :is(th,td) {
 padding:10px 12px;
 color:inherit;
 text-align:left;
 font-size:14px;
 line-height:1.25;
 overflow-wrap:anywhere;
}
.share-ranking-board thead th {background:var(--ranking-raised,#2e283d);color:var(--ranking-muted,#d5c9de);font-size:12px;font-weight:700}
.share-ranking-board thead th:first-child {width:20%}
.share-ranking-board thead th:last-child {width:32%}
.share-ranking-board tr > :last-child:not([colspan]) {text-align:right}
.share-ranking-board tbody tr {border-top:1px solid var(--ranking-rule,#3d3449)}
.share-ranking-board tbody tr.share-rank-you {background:var(--ranking-raised,#352746)}
.share-ranking-board small {margin-left:4px;color:var(--ranking-accent,#dfb9f9);font-size:11px;font-weight:650}
.share-rank-place {
 display:inline-grid;
 place-content:center;
 min-width:27px;
 min-height:27px;
 padding:0 4px;
 border:1px solid var(--ranking-border,#56465f);
 border-radius:50%;
 color:var(--ranking-ink,#f1e6f7);
 font-size:12px;
 font-weight:700;
}
.share-ranking-board tbody tr:nth-child(1) .share-rank-place {background:#ffda83;border-color:#ffe7b3;color:#382111}
.share-ranking-board tbody tr:nth-child(2) .share-rank-place {background:#d3dbeb;border-color:#eff3fd;color:#243048}
.share-ranking-board tbody tr:nth-child(3) .share-rank-place {background:#eab389;border-color:#f6c7a7;color:#4b2d20}
.share-leaderboard-page button:focus-visible,#share-page .share-leaderboard-entry:focus-visible {outline:2px solid var(--ranking-focus,#e7c1ff);outline-offset:2px}
.share-ranking-top button:focus-visible {outline-offset:-1px}

html[data-theme] body #share-page.share-page :is(.share-claim-label,.share-claim-note,.share-claim-state,.share-claim-message,.share-stat-label) {color:#efe1fa}
html[data-theme] #share-page.share-page .share-claim-button:disabled {
 background:#2b183e;
 border-color:#ad80c480;
 color:#eee0f5;
}

html[data-theme] body dialog.share-records-dialog {
 --records-surface:#252b38;
 --records-header:#285985;
 --records-ink:#edf4ff;
 --records-muted:#aab8cb;
 --records-accent:#add4fb;
 --records-art:#708299;
 --records-line:#849ab82e;
 position:fixed;
 inset:0;
 width:min(380px,calc(100% - 54px));
 height:min(572px,calc(100dvh - 26px));
 max-width:none;
 max-height:none;
 margin:auto;
 padding:42px 0 0;
 border:0;
 border-radius:0;
 overflow:visible;
 background:transparent;
 color:var(--records-ink);
 box-shadow:none;
}
html[data-theme="light"] body dialog.share-records-dialog {
 --records-surface:#edf1f8;
 --records-header:#bdd6f0;
 --records-ink:#243044;
 --records-muted:#56647b;
 --records-accent:#2c5b89;
 --records-art:#65809d;
 --records-line:#657e9d38;
}
.share-records-dialog::backdrop {background:#080a10c7}
.share-records-panel {
 display:grid;
 grid-template-rows:auto minmax(0,1fr) auto;
 height:100%;
 overflow:hidden;
 border:1px solid var(--records-line);
 border-radius:12px 12px 17px 17px;
 background:var(--records-surface);
 box-shadow:0 18px 52px #080b174d;
}
.share-records-header {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 min-width:0;
 padding:8px 13px 8px 18px;
 background:linear-gradient(180deg,var(--records-header),var(--records-surface));
}
.share-records-dialog .share-records-header h2 {
 margin:0;
 color:var(--records-ink);
 font-size:19px;
 font-weight:640;
 line-height:1.22;
 text-align:left;
}
.share-records-art {
 display:block;
 flex:none;
 width:clamp(66px,21vw,86px);
 height:auto;
 aspect-ratio:1;
 object-fit:contain;
}
.share-records-dialog button {
 display:grid;
 place-items:center;
 min-width:40px;
 min-height:40px;
 padding:7px;
 border:1px solid var(--records-line);
 border-radius:10px;
 background:color-mix(in srgb,var(--records-surface),var(--records-accent) 7%);
 color:var(--records-accent);
}
.share-records-dialog button svg {display:block;width:19px;height:19px}
.share-records-dialog .share-records-close {
 position:absolute;
 top:0;
 right:1px;
 width:40px;
 height:40px;
 padding:7px;
 border:0;
 border-radius:50%;
 background:transparent;
 color:#f1f5ff;
}
.share-records-dialog .share-records-close svg {width:25px;height:25px;stroke-width:2}
.share-records-dialog button:focus-visible {outline:2px solid var(--records-accent);outline-offset:-2px}
.share-records-dialog .share-records-close:focus-visible {outline-color:#dbeaff}
.share-records-dialog button[aria-disabled="true"] {opacity:.45;cursor:default}
.share-records-body {
 display:flex;
 flex-direction:column;
 min-height:0;
 overflow:auto;
 overscroll-behavior:contain;
}
.share-records-body table {
 width:calc(100% - 24px);
 margin:0 12px;
 table-layout:fixed;
 border-collapse:separate;
 border-spacing:0;
}
.share-records-body th,.share-records-body td {
 padding:10px 6px;
 overflow-wrap:anywhere;
 text-align:center;
 vertical-align:middle;
 font-size:13px;
}
.share-records-body thead th {
 position:sticky;
 top:0;
 z-index:1;
 width:33.333%;
 background:var(--records-surface);
 color:var(--records-muted);
 font-size:14px;
 font-weight:650;
}
.share-records-body tbody th {font-weight:650}
.share-records-body tbody tr>* {border-bottom:1px solid var(--records-line)}
.share-records-body small {display:block;margin-top:3px;color:var(--records-muted);font-size:11px;font-weight:500}
.share-records-body small.is-qualified,.share-records-body td>strong {color:var(--records-accent)}
.share-records-empty {
 display:grid;
 justify-items:center;
 flex:none;
 margin-top:auto;
 padding:14px 10px clamp(24px,6dvh,48px);
 color:var(--records-muted);
 font-size:18px;
 font-weight:500;
 text-align:center;
}
.share-records-empty-art {
 position:relative;
 display:grid;
 place-items:center;
 width:145px;
 height:112px;
 margin-bottom:5px;
 color:var(--records-art);
}
.share-records-empty-art svg {width:104px;height:104px;stroke-width:1.18}
.share-records-empty-art::before,.share-records-empty-art::after {
 content:"";
 position:absolute;
 border:2px solid currentColor;
 border-radius:50%;
}
.share-records-empty-art::before {width:7px;height:7px;top:22px;right:8px}
.share-records-empty-art::after {width:6px;height:6px;bottom:24px;left:5px;opacity:.63}
.share-records-dialog .share-records-message {margin:0;padding:8px 12px;color:var(--records-muted);font-size:12px}
.share-records-footer {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 padding:8px 12px;
 border-top:1px solid var(--records-line);
}
.share-records-pagination {display:flex;align-items:center;gap:8px;color:var(--records-muted);font-size:12px}
.share-records-footer[hidden],.share-records-pagination[hidden],.share-records-empty[hidden] {display:none}
.share-records-pagination [data-records-action="previous"] svg {transform:rotate(180deg)}
@media(max-height:560px) {
 .share-records-art {width:62px}
 .share-records-empty-art {height:82px}
 .share-records-empty-art svg {width:77px;height:77px}
}


@media(max-width:360px) {
 html[data-theme] body #share-page.share-page {padding-inline:12px}
 .share-hero-banner {padding-inline:12px}
 .share-hero-banner::before {background-position:center,60% 51%}
}
@media(prefers-reduced-motion:reduce) {
 .share-ticker-entry {animation:none}
}

/* night-theme.css */
/* Night mode is a reversible client theme; artwork and account data stay original. */
:root{--night-canvas:#121016;--night-panel:#1d1924;--night-raised:#272130;--night-border:#3b3148;--night-ink:#eee7f4;--night-muted:#b4a6c1;--night-accent:#c28bea;--night-gold:#e4c37d}
#night-mode-toggle>b{min-width:42px;padding:4px 8px;border-radius:20px;background:#d2c3df;color:#60446f;font-size:11px;font-weight:650;line-height:1.4;text-align:center}
html[data-theme="dark"]{--surface:var(--night-canvas);--ink:var(--night-ink);--muted:var(--night-muted);color-scheme:dark;scrollbar-color:#51435e #16121c}
html[data-theme="dark"] body{background:#0d0b11;color:var(--night-ink)}
html[data-theme="dark"] :is(.app,#lobby-page,.profile-page){background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] .app>header{background:var(--night-panel);border-color:var(--night-border);color:var(--night-ink)}
html[data-theme="dark"] .app>header h1{color:var(--night-ink)}
html[data-theme="dark"] .header-contact-actions button{color:var(--night-accent)}
html[data-theme="dark"] .mail-unread-dot{border-color:var(--night-panel)}
html[data-theme="dark"] :is(.glass,.wallet.glass,.ticker.glass,.profile-links.glass){background:var(--night-panel);border-color:var(--night-border);box-shadow:0 4px 14px #00000016;color:var(--night-ink)}
html[data-theme="dark"] :is(.account-name,.wallet-actions button,.wallet .wallet-actions button>span,.profile-money-actions>button>b,.profile-balance strong){color:var(--night-ink)}
html[data-theme="dark"] .balance-row strong{color:#f0e8f6}
html[data-theme="dark"] :is(.balance-label,.profile-balance>span,.ticker,.demo-label){color:var(--night-muted)}
html[data-theme="dark"] .ticker .speaker{background:#30243b;border-color:#47324f;box-shadow:none}
html[data-theme="dark"] .balance-row button{color:#b197ca}
html[data-theme="dark"] #lobby-page .categories{background:var(--night-canvas)}
html[data-theme="dark"] #lobby-page .categories::before{background:var(--night-canvas);box-shadow:0 5px 9px #0003}
html[data-theme="dark"] #lobby-page .categories button{background:var(--night-raised);border-color:var(--night-border);color:var(--night-muted);box-shadow:0 2px 4px #0002}
html[data-theme="dark"] #lobby-page .categories button.active{background:linear-gradient(140deg,#493a29,#322a22);border-color:#9a7b44;color:#efd69e;box-shadow:inset 0 1px 0 #eccb8d1c,0 2px 5px #0003}
html[data-theme="dark"] .game-category-section h2{color:var(--night-ink)}
html[data-theme="dark"] .game-placeholder{background:linear-gradient(145deg,#231c2c,#1b1622);border-color:#3b2d49;color:var(--night-muted)}
html[data-theme="dark"] .game-placeholder-icon{color:#9965b7}
html[data-theme="dark"] :is(.game-load-footer,.game-load-more){color:var(--night-muted)}
html[data-theme="dark"] .game-load-more{color:var(--night-accent)}
html[data-theme="dark"] :is(.bottom-nav,.app.deposit-open nav.bottom-nav){background:transparent;border:0;box-shadow:none}
html[data-theme="dark"] .bottom-nav::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V40Q0 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q430 20 430 40V44Z' fill='%231d1924'/%3E%3Cpath d='M.5 44V40Q.5 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q429.5 20 429.5 40V44' fill='none' stroke='%2343364e' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");filter:drop-shadow(0 -3px 5px #0003)}
html[data-theme="dark"] .bottom-nav::after{background:var(--night-panel);border-color:#43364e}
html[data-theme="dark"] .bottom-nav button{color:#aa9cb8}
html[data-theme="dark"] :is(.bottom-nav button.active,.bottom-nav button.bottom-deposit.active>.bottom-deposit-label){color:#d3a2f0}
html[data-theme="dark"] .bottom-nav button.active>span{text-shadow:none}
html[data-theme="dark"] .lobby-back-top{background:#282031ed;border-color:#59406b;color:#d8b3ee;box-shadow:0 3px 12px #0004}
html[data-theme="dark"] .dots button,html[data-theme="dark"] .dots button.selected{background:transparent}
html[data-theme="dark"] .dots button::after{background:#584563}
html[data-theme="dark"] .dots button.selected::after{background:#ba7bdf}
html[data-theme="dark"] #profile-page .profile-info{background:var(--night-panel)}
html[data-theme="dark"] #profile-page .profile-cover:not(.has-profile-cover){background:#302d35}
html[data-theme="dark"] #profile-page .avatar-edit{border-color:#51435e;box-shadow:0 3px 12px #0003}
html[data-theme="dark"] #profile-page .avatar-edit:has(#profile-avatar[hidden]),html[data-theme="dark"] #profile-page #avatar-placeholder{background:#39343f;color:#9c93a6}
html[data-theme="dark"] :is(.profile-name-row h2,.profile-signature-row p,.profile-id-row,.profile-email-row,.profile-local-note){color:var(--night-muted)}
html[data-theme="dark"] .profile-name-row h2{color:var(--night-ink)}
html[data-theme="dark"] :is(#edit-name,#profile-copy-id,#profile-copy-email){color:var(--night-accent)}
html[data-theme="dark"] :is(.cover-edit,.avatar-camera,#edit-signature){background:#302539ed;color:#d1a5ea;border-color:var(--night-border);box-shadow:none}
html[data-theme="dark"] .profile-money-actions>button{background:linear-gradient(125deg,#2c2335,#251d2e);border-color:#44334f;box-shadow:none;color:var(--night-ink)}
html[data-theme="dark"] .profile-links button{color:var(--night-ink)}
html[data-theme="dark"] .profile-links button+button{border-color:var(--night-border)}
html[data-theme="dark"] .profile-links button>span{color:var(--night-accent)}
html[data-theme="dark"] .profile-links button b{color:var(--night-muted)}
html[data-theme="dark"] #night-mode-toggle>b{background:#45314f;color:#f0d9fc}
html[data-theme="dark"] #night-mode-toggle[aria-pressed=true]>b{background:#774096;color:#fff0ff}
html[data-theme="dark"] :is(dialog#modal,dialog.login-panel,dialog.photo-picker,dialog.photo-crop-dialog,dialog.audio-settings){background:var(--night-panel);border-color:var(--night-border);color:var(--night-ink);box-shadow:0 18px 70px #0006}
html[data-theme="dark"] :is(dialog#modal,dialog.login-panel,dialog.photo-picker,dialog.photo-crop-dialog,dialog.audio-settings)::backdrop{background:#08060dcc;backdrop-filter:none}
html[data-theme="dark"] :is(.login-close,.modal-close,.photo-picker-close,.photo-crop-close,.audio-settings-close){color:var(--night-muted)}
html[data-theme="dark"] :is(.login-panel>p,.login-panel>small,.picker-description,.picker-empty,.photo-crop-dialog p,.auth-divider){color:var(--night-muted)}
html[data-theme="dark"] :is(#login-form,#register-form,#name-form,#signature-form) label{color:var(--night-muted)}
html[data-theme="dark"] :is(#login-form,#register-form,#name-form,#signature-form) :is(input,textarea){background:var(--night-raised);border-color:#51405f;color:var(--night-ink)}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#a492b3;opacity:1}
html[data-theme="dark"] .auth-tabs{background:var(--night-raised)}
html[data-theme="dark"] .auth-tabs button{color:var(--night-muted)}
html[data-theme="dark"] .auth-tabs button[aria-pressed=true]{background:#4d305f;color:#f2dffa;box-shadow:none}
html[data-theme="dark"] .social-auth button{background:var(--night-raised);border-color:var(--night-border);color:var(--night-ink)}
html[data-theme="dark"] .auth-divider::before,html[data-theme="dark"] .auth-divider::after{background:var(--night-border)}
html[data-theme="dark"] .login-result{color:#d5abea}
html[data-theme="dark"] .app~dialog.photo-actions{background:transparent;box-shadow:none}
html[data-theme="dark"] dialog.photo-actions .photo-actions-group{background:var(--night-raised);border-color:#4c3b59;box-shadow:0 3px 12px #0004}
html[data-theme="dark"] dialog.photo-actions button{color:var(--night-ink);background:transparent}
html[data-theme="dark"] dialog.photo-actions .photo-actions-group button+button{border-color:#44334f}
html[data-theme="dark"] dialog.photo-actions .photo-actions-cancel{background:#33283e;border-color:#4c3b59;color:#d0beda}
html[data-theme="dark"] dialog.photo-actions button:active{background:#3c2e49}
html[data-theme="dark"] :is(.picker-empty,.preset-option[aria-pressed=true]){background:var(--night-raised);border-color:#8d5aad}
html[data-theme="dark"] .preset-option span{color:var(--night-muted)}
html[data-theme="dark"] dialog.audio-settings h2{color:var(--night-ink)}
html[data-theme="dark"] dialog.audio-settings .audio-settings-controls>button{background:var(--night-raised);border-color:#483654;color:var(--night-ink)}
html[data-theme="dark"] dialog.audio-settings .audio-settings-controls>button>span{color:var(--night-accent)}
html[data-theme="dark"] dialog.audio-settings .audio-settings-controls>button>b{background:#44314f;color:#ddc3eb}
html[data-theme="dark"] dialog.audio-settings .audio-settings-controls>button[aria-pressed=true]>b{background:#81409e;color:#fff}
html[data-theme="dark"] dialog.audio-settings .audio-settings-controls>button:disabled{background:#241e2b;color:#b0a0bc}
html[data-theme="dark"] .pull-refresh{background:var(--night-raised);border-color:#68447f;color:#d3a3ed;box-shadow:0 4px 15px #0005}
html[data-theme="dark"] .toast{background:#392846;color:#f1e2fa;box-shadow:0 3px 12px #0005}
html[data-theme="dark"] .wallet .wallet-actions{border-color:var(--night-border)}
html[data-theme="dark"] .wallet .wallet-actions button{background:var(--night-raised);border-color:#493655;color:var(--night-ink);box-shadow:none}
html[data-theme="dark"] .wallet .wallet-actions button:active{background:#392941}
html[data-theme="dark"] .banner{border-color:#624272}
html[data-theme="dark"] .gift-activity-menu{background:#231b2dbd;border-color:#574262;box-shadow:0 4px 14px #0004}
html[data-theme="dark"] .gift-activity-menu strong{color:#d1a7e7}
html[data-theme="dark"] .gift .gift-close{background:#493c54dd;color:#e5d5ef}
html[data-theme="dark"] .header-contact-actions .mail-button,html[data-theme="dark"] .header-support-button{background:transparent;box-shadow:none}
html[data-theme="dark"] .header-contact-actions .mail-button:hover,html[data-theme="dark"] .header-support-button:hover{background:#30213c}
html[data-theme="dark"] .app.deposit-open .bottom-nav button{color:#aa9cb8}
html[data-theme="dark"] .app.deposit-open .bottom-nav button.active{color:#d3a2f0}
@media(hover:hover){html[data-theme="dark"] dialog.audio-settings .audio-settings-controls>button:not(:disabled):hover,html[data-theme="dark"] dialog.photo-actions .photo-actions-group button:hover,html[data-theme="dark"] :is(.audio-settings-close,.photo-actions-cancel):hover{background:#3b2b49}}

/* night-wallet.css */
/* Night wallet palette only. Layout, payment marks, artwork and business states stay native. */
html[data-theme="dark"] .app.deposit-open,
html[data-theme="dark"] #deposit-page,
html[data-theme="dark"] .app.vip-open{background:var(--night-canvas,#121016);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] .app.deposit-open>header{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] .app.deposit-open>header h1{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] .app.deposit-open .header-contact-actions button{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page button:focus-visible,
html[data-theme="dark"] #deposit-page input:focus-visible{outline-color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page .deposit-tabs button{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .deposit-tabs button[aria-pressed=true]{background:linear-gradient(140deg,#8343a5,#65308d);color:#f4ebfa}
html[data-theme="dark"] #deposit-page .deposit-offer{background:linear-gradient(120deg,#30243b,#241d2e);border-color:#51405f;color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page .deposit-offer b{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .deposit-offer em{color:var(--night-gold,#e4c37d)}
html[data-theme="dark"] #deposit-page h2,
html[data-theme="dark"] #deposit-page .deposit-methods legend{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page .deposit-amount-heading p,
html[data-theme="dark"] #deposit-page .deposit-amount-grid small{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page .deposit-amount-field,
html[data-theme="dark"] #deposit-page .deposit-amount-grid button,
html[data-theme="dark"] #deposit-page .deposit-methods button{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page #deposit-amount{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page .deposit-amount-grid button[aria-pressed=true]{background:linear-gradient(140deg,#8343a5,#65308d);border-color:#ac73c7;color:#f6edf9}
html[data-theme="dark"] #deposit-page .deposit-amount-grid button[aria-pressed=true] small{color:#f1e2fa}
html[data-theme="dark"] #deposit-page .deposit-methods button[aria-pressed=true]{background:#32233f;border-color:#ab77c5;color:#ecdff5}
html[data-theme="dark"] #deposit-page .deposit-dollar{background:#8d49aa;color:#fbf4ff}
html[data-theme="dark"] #deposit-page .deposit-wallet-tip{background:#3d3223;color:#e3cea4}
html[data-theme="dark"] #deposit-page .deposit-wallet-tip:after{border-top-color:#3d3223}
html[data-theme="dark"] #deposit-page #deposit-submit,
html[data-theme="dark"] #deposit-page .deposit-vip-deposit{background:linear-gradient(140deg,#8742ac,#682b93);color:#f8effd}
html[data-theme="dark"] #deposit-page .deposit-activity,
html[data-theme="dark"] #deposit-page #deposit-feedback,
html[data-theme="dark"] #deposit-page .deposit-footer,
html[data-theme="dark"] #deposit-page .deposit-subtitle{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .deposit-activity-id{color:#87c6a7}
html[data-theme="dark"] #deposit-page .deposit-activity-amount{color:var(--night-gold,#e4c37d)}
html[data-theme="dark"] #deposit-page .deposit-footer{border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page .deposit-footer-help>span,
html[data-theme="dark"] #deposit-page .deposit-footer-help>small{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .deposit-footer-age{color:var(--night-muted,#b4a6c1);border-color:#685372}
html[data-theme="dark"] #deposit-page .deposit-footer-help>a,
html[data-theme="dark"] #deposit-page .deposit-footer-links a{color:var(--night-accent,#c28bea)}

/* Deposit / withdrawal history. */
html[data-theme="dark"] #deposit-page .deposit-history-tabs{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page .deposit-history-tabs button{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .deposit-history-tabs button[aria-selected=true]{background:#34273f;color:#f0e5f7;box-shadow:none}
html[data-theme="dark"] #deposit-page .deposit-history-table,
html[data-theme="dark"] #deposit-page .deposit-history-table td:first-child,
html[data-theme="dark"] #deposit-page .deposit-history-table th{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page .deposit-history-table td,
html[data-theme="dark"] #deposit-page .deposit-history-table th{border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page .deposit-history-table small,
html[data-theme="dark"] #deposit-page .deposit-history-status,
html[data-theme="dark"] #deposit-page .deposit-history-empty,
html[data-theme="dark"] #deposit-page .deposit-history-empty>span{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .deposit-history-table .deposit-history-reference,
html[data-theme="dark"] #deposit-page .deposit-history-table .deposit-history-quantity,
html[data-theme="dark"] #deposit-page .deposit-history-refresh{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page .deposit-history-refresh{border-color:var(--night-border,#3b3148)}

/* Wallet VIP guide; the separate membership cards retain their artwork and tones. */
html[data-theme="dark"] #deposit-page .wallet-vip-hero{background:radial-gradient(ellipse at 100% 0,#71517f40,transparent 68%),linear-gradient(135deg,#32233e,#211927);border-color:#60456d;color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page .wallet-vip-hero h2,
html[data-theme="dark"] #deposit-page .wallet-vip-section h3,
html[data-theme="dark"] #deposit-page .wallet-vip-guide h4,
html[data-theme="dark"] #deposit-page .wallet-vip-benefits h4{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page .wallet-vip-eyebrow,
html[data-theme="dark"] #deposit-page .wallet-vip-minimum>div>span{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page .wallet-vip-hero>p,
html[data-theme="dark"] #deposit-page .wallet-vip-separate,
html[data-theme="dark"] #deposit-page .wallet-vip-reference,
html[data-theme="dark"] #deposit-page .wallet-vip-minimum p,
html[data-theme="dark"] #deposit-page .wallet-vip-minimum small,
html[data-theme="dark"] #deposit-page .wallet-vip-points p,
html[data-theme="dark"] #deposit-page .wallet-vip-benefits p{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .wallet-vip-separate,
html[data-theme="dark"] #deposit-page .wallet-vip-minimum small,
html[data-theme="dark"] #deposit-page .wallet-vip-points li{border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page .wallet-vip-crown{background:linear-gradient(145deg,#7b643044,#47362266);color:var(--night-gold,#e4c37d);border-color:#806945}
html[data-theme="dark"] #deposit-page .wallet-vip-minimum,
html[data-theme="dark"] #deposit-page .wallet-vip-section{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page .wallet-vip-minimum strong,
html[data-theme="dark"] #deposit-page .wallet-vip-benefits>div>span,
html[data-theme="dark"] #deposit-page .wallet-vip-schedule tbody th{color:var(--night-gold,#e4c37d)}
html[data-theme="dark"] #deposit-page .wallet-vip-points li::before,
html[data-theme="dark"] #deposit-page .wallet-vip-benefits>div,
html[data-theme="dark"] #deposit-page .wallet-vip-table-title>span{background:var(--night-raised,#272130);border-color:var(--night-border,#3b3148);color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page .wallet-vip-schedule thead{background:#302638;color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page .wallet-vip-schedule tbody tr{background:var(--night-panel,#1d1924)}
html[data-theme="dark"] #deposit-page .wallet-vip-schedule tbody tr:nth-child(even){background:#241d2c}
html[data-theme="dark"] #deposit-page .wallet-vip-schedule tbody th,
html[data-theme="dark"] #deposit-page .wallet-vip-schedule td{border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page .wallet-vip-schedule td{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page .wallet-vip-schedule td.wallet-vip-daily.is-unlimited{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page .wallet-vip-table-note{background:var(--night-raised,#272130);color:var(--night-muted,#b4a6c1);border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page .deposit-vip-total{background:var(--night-panel,#1d1924)}
html[data-theme="dark"] #deposit-page .deposit-vip-total strong{color:var(--night-accent,#c28bea)}

/* Redemption, receiving details and the no-deposit entry state. */
html[data-theme="dark"] #withdrawal-page{background:var(--night-canvas,#121016);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page>#withdrawal-page.withdraw-embedded{background:transparent}
html[data-theme="dark"] #withdrawal-page .withdraw-header,
html[data-theme="dark"] #withdrawal-page .withdraw-tabs{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #withdrawal-page .withdraw-header h1{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #withdrawal-page .withdraw-tabs button{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #withdrawal-page .withdraw-tabs button[aria-pressed=true],
html[data-theme="dark"] #withdrawal-page #withdraw-refresh{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #withdrawal-page .withdraw-balances,
html[data-theme="dark"] #withdrawal-page .redemption-progress-card,
html[data-theme="dark"] #withdrawal-page .receiving-link,
html[data-theme="dark"] #withdrawal-page .withdraw-amount-wrap,
html[data-theme="dark"] #withdrawal-page .bound-accounts,
html[data-theme="dark"] #withdrawal-page .payment-account-list,
html[data-theme="dark"] #withdrawal-page .payment-account-row,
html[data-theme="dark"] #withdrawal-page .redemption-card{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #withdrawal-page .withdraw-balances strong,
html[data-theme="dark"] #withdrawal-page .redemption-progress-card h2,
html[data-theme="dark"] #withdrawal-page .redemption-progress-row strong,
html[data-theme="dark"] #withdrawal-page #withdraw-amount{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #withdrawal-page .withdraw-balances>div>span,
html[data-theme="dark"] #withdrawal-page #redemption-basis,
html[data-theme="dark"] #withdrawal-page .redemption-progress-row span,
html[data-theme="dark"] #withdrawal-page #withdraw-form label,
html[data-theme="dark"] #withdrawal-page #withdraw-feedback,
html[data-theme="dark"] #withdrawal-page .redemption-reset-note,
html[data-theme="dark"] #withdrawal-page .withdraw-note{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #withdrawal-page .redemption-mode,
html[data-theme="dark"] #withdrawal-page .withdraw-status,
html[data-theme="dark"] #withdrawal-page .redemption-rule,
html[data-theme="dark"] #withdrawal-page #withdraw-help{background:var(--night-raised,#272130);border-color:var(--night-border,#3b3148);color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #withdrawal-page .redemption-mode,
html[data-theme="dark"] #withdrawal-page #withdraw-all,
html[data-theme="dark"] #withdrawal-page .withdraw-amount-wrap>span,
html[data-theme="dark"] #withdrawal-page #withdraw-help b,
html[data-theme="dark"] #withdrawal-page .redemption-rule h3{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #withdrawal-page .redemption-title{border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #withdrawal-page .redemption-title p,
html[data-theme="dark"] #withdrawal-page .redemption-rule p{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #withdrawal-page .redemption-progress-track{background:#3c3048}
html[data-theme="dark"] #withdrawal-page .redemption-progress-track i{background:linear-gradient(90deg,#bb7bd8,#8d4eaf)}
html[data-theme="dark"] #withdrawal-page .redemption-progress-track.is-complete i{background:#71a787}
html[data-theme="dark"] #withdrawal-page .withdraw-confirm{background:linear-gradient(110deg,#8742ac,#682b93);color:#f8effd}
html[data-theme="dark"] #withdrawal-page .withdraw-confirm:disabled,
html[data-theme="dark"] #withdrawal-page .withdraw-gate-disabled{background:#3b3146;color:#b9a9c8}
html[data-theme="dark"] #withdrawal-page #withdraw-amount::placeholder{color:#a090ad}
html[data-theme="dark"] #deposit-page .withdraw-methods legend,
html[data-theme="dark"] #deposit-page #withdraw-account-label{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page #withdraw-method-list button,
html[data-theme="dark"] #deposit-page .withdraw-account-wrap{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page #withdraw-method-list button[aria-pressed=true]{background:#34233f;border-color:#ac73c7;color:#f0e3f8;box-shadow:inset 0 0 0 1px #8e5aa04a}
html[data-theme="dark"] #deposit-page .withdraw-apple-mark{color:#e6dce9}
html[data-theme="dark"] #deposit-page #withdraw-account{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page #withdraw-account::placeholder{color:#a090ad}
html[data-theme="dark"] #deposit-page #withdraw-account-paste{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #deposit-page #withdraw-method-status,
html[data-theme="dark"] #deposit-page #withdraw-account-hint{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page #withdraw-account-error,
html[data-theme="dark"] #deposit-page #withdrawal-page #withdraw-fee-status.has-error{color:#e89ab1}
html[data-theme="dark"] #deposit-page .withdraw-account-wrap.has-error{border-color:#c56e8b}
html[data-theme="dark"] #deposit-page #withdrawal-page .withdraw-fee-summary{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page #withdrawal-page .withdraw-fee-summary h3,
html[data-theme="dark"] #deposit-page #withdrawal-page .withdraw-fee-summary>div strong{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page #withdrawal-page .withdraw-fee-summary>div,
html[data-theme="dark"] #deposit-page #withdrawal-page #withdraw-fee-rate,
html[data-theme="dark"] #deposit-page #withdrawal-page #withdraw-fee-status,
html[data-theme="dark"] #deposit-page #withdrawal-page .withdraw-history-net{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page #withdrawal-page .withdraw-fee-summary>div.withdraw-fee-net{border-color:var(--night-border,#3b3148);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page #withdrawal-page .withdraw-fee-summary>div.withdraw-fee-net strong{color:var(--night-gold,#e4c37d)}
html[data-theme="dark"] #deposit-page #withdrawal-page #withdraw-fee-retry{background:var(--night-raised,#272130);border-color:var(--night-border,#3b3148);color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-card{background:radial-gradient(ellipse at 50% 0,#51395d44,transparent 70%),linear-gradient(135deg,#282030,#1c1723);border-color:#4a3858;box-shadow:none}
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-badge{background:#352740;border-color:#614770;color:#d1a4e8}
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-card h2,
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-balances strong{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-card>p,
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-balances span,
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-balances small,
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-next p{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-balances>div{background:#211a29;border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-balances>div+div{background:#30233b}
html[data-theme="dark"] #withdrawal-page .withdraw-deposit-balances>div+div strong{color:var(--night-accent,#c28bea)}

/* Receiving-account editor can also be opened from retained account links. */
html[data-theme="dark"] #receiving-editor{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #receiving-editor .receiving-editor-header{border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #receiving-editor #receiving-editor-close,
html[data-theme="dark"] #receiving-editor #receiving-paste{color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #receiving-form label,
html[data-theme="dark"] #withdrawal-page .receiving-heading p,
html[data-theme="dark"] #withdrawal-page .receiving-privacy,
html[data-theme="dark"] #receiving-editor .receiving-demo-note{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #receiving-form input,
html[data-theme="dark"] #receiving-form select,
html[data-theme="dark"] #receiving-editor .receiving-input-row{background:var(--night-raised,#272130);border-color:var(--night-border,#3b3148);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #receiving-form .receiving-input-row input{background:transparent;color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #receiving-editor .receiving-input-row.has-error{border-color:#d47e97}
html[data-theme="dark"] #receiving-editor .receiving-warning{color:#e5b58c}

/* First deposit calculation keeps its gold offer art and dark hero. */
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-summary{background:var(--night-panel,#1d1924);border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-summary span{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-summary strong{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-summary>div:nth-of-type(2) strong,
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-summary>b{color:var(--night-gold,#e4c37d)}
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-summary>.first-deposit-total{background:linear-gradient(135deg,#423325,#32271f);border-color:#80683f}
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-total span,
html[data-theme="dark"] #deposit-page.first-deposit-open .first-deposit-total strong{color:#ecd19b}

/* Separate membership / daily reward detail view. */
html[data-theme="dark"] #vip-page{--vip-ink:var(--night-ink,#eee7f4);--vip-muted:var(--night-muted,#b4a6c1);--vip-surface:var(--night-panel,#1d1924);--vip-border:var(--night-border,#3b3148);--vip-purple:var(--night-accent,#c28bea);--vip-gold:var(--night-gold,#e4c37d);background:var(--night-canvas,#121016);color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #vip-page .vip-header{background:#1d1924f5;border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #vip-page .vip-header h1{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #vip-page .vip-header button,
html[data-theme="dark"] #vip-page .vip-level-tab,
html[data-theme="dark"] #vip-page .vip-card-arrow{background:var(--night-raised,#272130);border-color:#55405f;color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #vip-page .vip-account-summary span,
html[data-theme="dark"] #vip-page .vip-reward-card h3,
html[data-theme="dark"] #vip-page .vip-reward-card p,
html[data-theme="dark"] #vip-page .vip-section-heading>span,
html[data-theme="dark"] #vip-page .vip-goal-label>span,
html[data-theme="dark"] #vip-page .vip-goal-caption,
html[data-theme="dark"] #vip-page .vip-daily-panel>p,
html[data-theme="dark"] #vip-page .vip-daily-status label,
html[data-theme="dark"] #vip-page .vip-daily-status>span,
html[data-theme="dark"] #vip-page .vip-rules ol,
html[data-theme="dark"] #vip-page .vip-page-note{color:var(--night-muted,#b4a6c1)}
html[data-theme="dark"] #vip-page .vip-account-summary strong,
html[data-theme="dark"] #vip-page .vip-reward-card>strong,
html[data-theme="dark"] #vip-page .vip-goal-label strong,
html[data-theme="dark"] #vip-page .vip-daily-status strong,
html[data-theme="dark"] #vip-page .vip-rules summary,
html[data-theme="dark"] #vip-page .vip-all-levels summary,
html[data-theme="dark"] #vip-page .vip-rules b,
html[data-theme="dark"] #vip-page .vip-rules strong{color:var(--night-ink,#eee7f4)}
html[data-theme="dark"] #vip-page .vip-level-tab[aria-selected=true]{background:linear-gradient(135deg,#834ca2,#623580);border-color:#b080ca;color:#f7effb}
html[data-theme="dark"] #vip-page .vip-reward-card{background:var(--night-panel,#1d1924)}
html[data-theme="dark"] #vip-page .vip-reward-icon{background:#3a2948;color:#d0a0e7}
html[data-theme="dark"] #vip-page .vip-upgrade-reward .vip-reward-icon{background:#403325;color:var(--night-gold,#e4c37d)}
html[data-theme="dark"] #vip-page .vip-upgrade-reward>strong{color:var(--night-gold,#e4c37d)}
html[data-theme="dark"] #vip-page .vip-goal-track{background:#3a2e46}
html[data-theme="dark"] #vip-page .vip-goal-track.is-unknown{background:repeating-linear-gradient(125deg,#352b40 0 7px,#44344f 7px 14px)}
html[data-theme="dark"] #vip-page .vip-daily-equation{background:var(--night-raised,#272130);border-color:var(--night-border,#3b3148);color:var(--night-accent,#c28bea)}
html[data-theme="dark"] #vip-page .vip-claim{background:#342a3f;border-color:#554061;color:#c8b3d5}
html[data-theme="dark"] #vip-page .vip-rules,
html[data-theme="dark"] #vip-page .vip-all-levels{background:var(--night-panel,#1d1924)}
html[data-theme="dark"] #vip-page .vip-rules summary:after,
html[data-theme="dark"] #vip-page .vip-all-levels summary:after{border-color:#b68bcc}
html[data-theme="dark"] #vip-page .vip-table-wrap{scrollbar-color:#6a4f7a transparent}
html[data-theme="dark"] #vip-page .vip-table-wrap th{background:var(--night-raised,#272130);color:#d5c5df;border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #vip-page .vip-table-wrap td{color:var(--night-muted,#b4a6c1);border-color:var(--night-border,#3b3148)}
html[data-theme="dark"] #vip-page .vip-table-wrap tr.is-selected td{background:#382444;color:#e4c4f4}

/* night-content.css */
/* Night surfaces for client content. Artwork, avatars, video and QR pixels stay original. */

/* Invitations and rewards. */
html[data-theme="dark"] #share-page{background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] #share-page :is(.share-stat,.share-link-card,.share-rules-card,.share-records-card){background:var(--night-panel);border-color:var(--night-border);box-shadow:0 3px 12px #00000016}
html[data-theme="dark"] #share-page .share-stat.is-reward{background:#241d2e}
html[data-theme="dark"] #share-page :is(.share-stat strong,.share-section-heading h3,.share-record-main>strong,.share-empty strong){color:var(--night-ink)}
html[data-theme="dark"] #share-page :is(.share-stat-label,.share-link-card>p:not(.share-feedback),.share-steps b,.share-rules-card>p,.share-rules-card li,.share-record-main>small,.share-record-reward small,.share-empty p,.share-private-label,.share-pagination){color:var(--night-muted)}
html[data-theme="dark"] #share-page :is(.share-stat-label svg,.share-stat.is-reward strong,.share-record-reward strong,.share-rates strong,.share-record-count){color:var(--night-accent)}
html[data-theme="dark"] #share-page .share-claim-card{background:linear-gradient(125deg,#30271e,#251d2e);border-color:#6d5739;box-shadow:0 3px 12px #00000018}
html[data-theme="dark"] #share-page .share-claim-summary strong{color:var(--night-gold)}
html[data-theme="dark"] #share-page :is(.share-claim-label,.share-claim-note,.share-claim-message){color:#ccb99e}
html[data-theme="dark"] #share-page .share-claim-message{border-color:#675139}
html[data-theme="dark"] #share-page .share-free-badge{background:#42321d;border-color:#7b643d;color:#e7cb8f}
html[data-theme="dark"] #share-page .share-claim-button:disabled{background:#3a3140;border-color:#514259;color:#b5a4bd}
html[data-theme="dark"] #share-page .share-link-field{background:var(--night-canvas);border-color:var(--night-border)}
html[data-theme="dark"] #share-page .share-link-field input{color:#d3c1df}
html[data-theme="dark"] #share-page :is(.share-copy-small,.share-feedback){color:var(--night-accent)}
html[data-theme="dark"] #share-page .share-copy-small:hover{background:#382943}
html[data-theme="dark"] #share-page :is(.share-qr-button,.share-steps>div>span,.share-steps small,.share-status-pill,.share-rates>div,.share-record-count,.share-refresh-button,.share-empty>span,.share-record-avatar,.share-pagination button){background:var(--night-raised);border-color:var(--night-border);color:var(--night-accent)}
html[data-theme="dark"] #share-page :is(.share-rates span,.share-record-status){color:var(--night-muted)}
html[data-theme="dark"] #share-page :is(.share-rules-card ul,.share-record){border-color:var(--night-border)}
html[data-theme="dark"] #share-page .share-status-pill.is-active{background:#1e3529;border-color:#3c7154;color:#a4d4b7}
html[data-theme="dark"] #share-page .share-record-status.is-qualified{color:#9ad4ad}
html[data-theme="dark"] #share-page .share-error{background:#35232e;border-color:#674252;color:#e5b6c7}
html[data-theme="dark"] #share-page .share-error button{background:#482b41;border-color:#79516d;color:#e8bfde}

/* Existing invitation-pass colors and the poster itself already suit night mode. */
html[data-theme="dark"] .app~dialog.share-sheet[data-share-mode="qr"]{background:var(--night-panel);border-color:var(--night-border);color:var(--night-ink);box-shadow:0 -8px 40px #0000005c}
html[data-theme="dark"] dialog.share-sheet[data-share-mode="qr"]>h2{color:var(--night-ink)}
html[data-theme="dark"] dialog.share-sheet[data-share-mode="qr"] :is(.share-sheet-description,.share-sheet-link-label,.share-sheet-status){color:var(--night-muted)}
html[data-theme="dark"] dialog.share-sheet[data-share-mode="qr"] :is(.share-sheet-close,.share-qr-button){background:var(--night-raised);border-color:var(--night-border);color:var(--night-accent)}
html[data-theme="dark"] dialog.share-sheet[data-share-mode="qr"] .share-sheet-link{background:var(--night-canvas);border-color:var(--night-border);color:#d5c4e1}
html[data-theme="dark"] dialog.share-sheet[data-share-mode="qr"] .share-sheet-handle{background:#695574}
html[data-theme="dark"] dialog.share-sheet[data-share-mode="qr"] .share-qr-canvas{background:#fff}

/* Updates, promotions and customer-service help in the main client shell. */
html[data-theme="dark"] :is(.updates-page,.offers-page,.support-page){background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] :is(.updates-menu-card,.updates-detail-card,.offer-detail-content,.support-help-card){background:var(--night-panel);border-color:var(--night-border);box-shadow:0 3px 12px #00000016}
html[data-theme="dark"] :is(.updates-menu-title,.updates-detail-card h2,.offer-detail-content h2,.support-help-card h2){color:var(--night-ink)}
html[data-theme="dark"] :is(.updates-menu-arrow,.updates-creator-note,.updates-detail-card p,.offer-detail-content p,.support-intro,.support-availability,.support-more-help,.support-detailed-answer,.support-faq-answer){color:var(--night-muted)}
html[data-theme="dark"] :is(.updates-back,.support-help-back,.support-agent-icon){background:var(--night-raised);border-color:var(--night-border);color:var(--night-accent);box-shadow:none}
html[data-theme="dark"] .updates-highlight-tag{background:linear-gradient(110deg,#41331d,#53401f);color:var(--night-gold)}
html[data-theme="dark"] .updates-mini-stage{text-shadow:0 2px 8px #00000030}
html[data-theme="dark"] .offer-banner{border-color:var(--night-border);box-shadow:0 3px 12px #00000020}
html[data-theme="dark"] .offer-categories button{background:var(--night-raised);border-color:var(--night-border);box-shadow:none;color:var(--night-muted)}
html[data-theme="dark"] .offer-categories button[aria-selected="true"]{background:linear-gradient(140deg,#7733a6,#542478);border-color:#9b62be;color:#f4eaf9}
html[data-theme="dark"] :is(.support-topic-option,.support-faq){background:var(--night-raised);border-color:var(--night-border);color:var(--night-accent)}
html[data-theme="dark"] :is(.support-topic-option[aria-pressed="true"],.support-faq[open]){background:#33233f;border-color:#76518d}
html[data-theme="dark"] :is(.support-faq summary,.support-faq-number,.support-subtopic-title){color:var(--night-accent)}
html[data-theme="dark"] .support-availability{border-color:var(--night-border)}
html[data-theme="dark"] .support-user-avatar{background:var(--night-raised);color:var(--night-accent)}
html[data-theme="dark"] .support-user-bubble{background:linear-gradient(135deg,#7836a3,#59277d);color:#f4eaf9}
html[data-theme="dark"] .support-facebook{background:#1b2942;border-color:#344d74;color:#9bc0fa}

/* Official updates and community share their reading surfaces. */
html[data-theme="dark"] body:has(>.official-page),html[data-theme="dark"] body:has(>.community),html[data-theme="dark"] body:has(>.mail-app){background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"]:has(body>.mail-app){background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] :is(.official-page,.community){background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] :is(.official-post,.community-post,.feed-composer){background:var(--night-panel);border-color:var(--night-border);box-shadow:0 3px 12px #00000016}
html[data-theme="dark"] :is(.official-page .feed-heading strong,.community .feed-tools strong,.official-page .post-content>p,.community .post-text){color:var(--night-ink)}
html[data-theme="dark"] :is(.official-page .post-content h2,.community .post-content h3){color:var(--night-accent)}
html[data-theme="dark"] .official-page .post-content .post-title{color:#f1e5f6}
html[data-theme="dark"] :is(.official-page .preview-note,.official-page .post-meta,.official-page .feed-end,.community .post-meta,.community #status){color:var(--night-muted)}
html[data-theme="dark"] :is(.official-page .post-avatar,.community .post-avatar){border-color:var(--night-border)}
html[data-theme="dark"] :is(.official-page .feed-heading>span,.official-page .post-meta button,.community .post-meta button,.community .feed-tools button,.community #more){background:var(--night-raised);border-color:var(--night-border);color:var(--night-accent)}
html[data-theme="dark"] .official-page .post-meta button[aria-pressed="true"]{background:#4a2d5c;color:#e4b2fa}
html[data-theme="dark"] :is(.official-page .post-reactions,.official-page .post-comments p){background:var(--night-raised);color:#cfbadd;border-color:var(--night-border)}
html[data-theme="dark"] .official-page .post-comments strong{color:#ddbbea}
html[data-theme="dark"] .official-page .post-support{color:var(--night-accent)}
html[data-theme="dark"] .official-page .official-sticky-title{background:#1d1924f5;border-color:var(--night-border);box-shadow:0 2px 9px #00000022}
html[data-theme="dark"] .official-page .official-sticky-title strong{color:var(--night-ink)}
html[data-theme="dark"] .official-page .official-sticky-title a{color:var(--night-accent)}
html[data-theme="dark"] .official-page .comment-form textarea{background:var(--night-canvas);border-color:var(--night-border);color:var(--night-ink)}
html[data-theme="dark"] :is(.official-page .comment-form label,.official-page .comment-form small){color:var(--night-muted)}
html[data-theme="dark"] .community .community-profile{background:linear-gradient(110deg,#251e2e,#1d1924);border-color:var(--night-border)}
html[data-theme="dark"] .community .community-profile>img{border-color:var(--night-panel);box-shadow:0 4px 14px #00000030}
html[data-theme="dark"] .community .community-profile h2{color:var(--night-ink)}
html[data-theme="dark"] .community .community-profile p{color:var(--night-muted)}
html[data-theme="dark"] .community .feed-composer-main button{background:var(--night-raised);border-color:var(--night-border);color:var(--night-muted)}
html[data-theme="dark"] :is(.community .feed-composer-actions,.community .feed-composer-actions button+button){border-color:var(--night-border)}
html[data-theme="dark"] .community .feed-composer-actions button{color:var(--night-muted)}
html[data-theme="dark"] :is(.community .post-media,#attachment img,#attachment video){background:#151119}
html[data-theme="dark"] #composer{background:var(--night-panel);border-color:var(--night-border);color:var(--night-ink)}
html[data-theme="dark"] #composer :is(#post-text,.composer-heading h2){color:var(--night-ink)}
html[data-theme="dark"] #composer #post-text{background:transparent}
html[data-theme="dark"] #composer :is(.composer-heading button,.upload-actions label){background:var(--night-raised);border-color:var(--night-border);color:var(--night-accent)}
html[data-theme="dark"] #composer #publish{background:#7936a4;color:#f5ebfa}
html[data-theme="dark"] #composer .upload-note{color:var(--night-muted)}
html[data-theme="dark"] #composer :is(#remove-media,#post-error){color:#e5a9c3}
html[data-theme="dark"] #composer::backdrop{background:#09070dbb}
html[data-theme="dark"] :is(.official-page .comment-form textarea,#composer #post-text)::placeholder{color:#a99ab7}

/* Player chat only. Chinese operator workstations keep their existing theme. */
html[data-theme="dark"] body.client-chat-body{background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] .client-chat{background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] .client-chat :is(.chat-topbar,.chat-compose-area){background:var(--night-panel);border-color:var(--night-border)}
html[data-theme="dark"] .client-chat .chat-topbar h1{color:var(--night-ink)}
html[data-theme="dark"] .client-chat :is(.chat-back,.chat-plus,#chat-emoji,.chat-feedback,.chat-pending button){color:var(--night-accent)}
html[data-theme="dark"] .client-chat :is(.chat-topbar p,.chat-topbar .chat-timezone,.chat-message-meta){color:var(--night-muted)}
html[data-theme="dark"] .client-chat .chat-history{background:var(--night-canvas)}
html[data-theme="dark"] .client-chat :is(.chat-welcome,.chat-message-bubble,.chat-bubble){background:var(--night-panel);border-color:var(--night-border);color:var(--night-ink);box-shadow:0 2px 7px #00000016}
html[data-theme="dark"] .client-chat .chat-message-own :is(.chat-message-bubble,.chat-bubble){background:linear-gradient(135deg,#7534a5,#58277b);border-color:#8654a2;color:#f4eaf9}
html[data-theme="dark"] .client-chat .chat-order-card{background:var(--night-raised);border-color:var(--night-border);color:#d4bce1}
html[data-theme="dark"] .client-chat .chat-message-own .chat-order-card{background:#ffffff0d;border-color:#ffffff35;color:#f1e5f7}
html[data-theme="dark"] .client-chat :is(#chat-input,.chat-add-menu,.chat-pending,.chat-load-older){background:var(--night-raised);border-color:var(--night-border);color:var(--night-ink)}
html[data-theme="dark"] .client-chat #chat-input::placeholder{color:#a99ab7}
html[data-theme="dark"] .client-chat .chat-add-menu button{color:var(--night-muted)}
html[data-theme="dark"] .client-chat .chat-add-menu button span{background:#31253b;border-color:#513e60;color:var(--night-accent)}
html[data-theme="dark"] .client-chat .chat-welcome-facebook{background:#1b2942;border-color:#344d74;color:#9bc0fa}
html[data-theme="dark"] #chat-order-dialog{background:var(--night-panel);border-color:var(--night-border);color:var(--night-ink)}
html[data-theme="dark"] #chat-order-dialog :is(p,.chat-order-close){color:var(--night-muted)}
html[data-theme="dark"] #chat-order-dialog .chat-order-choice{background:var(--night-raised);border-color:var(--night-border);color:#d4bce1}

/* Inbox, read messages and real free-reward claims. */
html[data-theme="dark"] .mail-app{background:var(--night-canvas);color:var(--night-ink)}
html[data-theme="dark"] .mail-app .mail-header{background:var(--night-panel);border-color:var(--night-border)}
html[data-theme="dark"] .mail-app :is(.mail-back,#mail-refresh){color:var(--night-accent)}
html[data-theme="dark"] .mail-app :is(.mail-count,.mail-status,.mail-card-meta,.mail-sender time,.mail-empty){color:var(--night-muted)}
html[data-theme="dark"] .mail-app .mail-card{background:#282032;border-color:#665079}
html[data-theme="dark"] .mail-app .mail-card:hover{background:#30263b}
html[data-theme="dark"] .mail-app .mail-card.is-read{background:var(--night-panel);border-color:var(--night-border)}
html[data-theme="dark"] .mail-app .mail-card-title strong{color:#f0e6f6}
html[data-theme="dark"] .mail-app .mail-card.is-read .mail-card-title strong{color:#b4a6c1}
html[data-theme="dark"] .mail-app .mail-card.is-read :is(.mail-card-meta,.mail-card-title svg){color:#a99ab7}
html[data-theme="dark"] .mail-app .mail-card-arrow{color:var(--night-accent)}
html[data-theme="dark"] .mail-app .mail-detail{background:var(--night-panel);border-color:var(--night-border)}
html[data-theme="dark"] .mail-app .mail-detail h2{color:var(--night-ink)}
html[data-theme="dark"] .mail-app .mail-sender{border-color:var(--night-border)}
html[data-theme="dark"] .mail-app .mail-sender strong{color:var(--night-accent)}
html[data-theme="dark"] .mail-app .mail-body{color:#d3c7dc}
html[data-theme="dark"] .mail-app .mail-reward{background:linear-gradient(130deg,#33291d,#29202a);border-color:#6e5737}
html[data-theme="dark"] .mail-app :is(.mail-reward-heading,.mail-reward-heading strong){color:var(--night-gold)}
html[data-theme="dark"] .mail-app :is(.mail-reward-note,.mail-reward-reason){color:#c9b18d}
html[data-theme="dark"] .mail-app .mail-claim-button:disabled{background:#3d3428;border-color:#665338;color:#baa785}
html[data-theme="dark"] .mail-app .mail-pull{background:var(--night-raised);border-color:var(--night-border);color:var(--night-accent);box-shadow:0 3px 12px #00000030}

/* visual-polish.css */
/* Shared, low-glare material finish for the client. No account or media data is changed. */
html[data-theme]{--polish-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--polish-canvas:#e2e3e9;--polish-panel:#f5f4f7;--polish-raised:#ebe8f0;--polish-border:#c9c5d2;--polish-ink:#282431;--polish-muted:#625b70;--polish-accent:#8244a2;--polish-line:#bdb8ca66;--polish-nav:#f0eef4;--polish-focus:#8b50ad;--polish-shadow:0 1px 2px #30203e06,0 6px 18px #30203e08;--polish-inset:inset 0 1px 0 #ffffff55;--surface:var(--polish-canvas);--ink:var(--polish-ink);--muted:var(--polish-muted)}
html[data-theme="dark"]{--polish-canvas:#14151b;--polish-panel:#24232d;--polish-raised:#302d3b;--polish-border:#4a4358;--polish-ink:#f2eef6;--polish-muted:#bfb5cb;--polish-accent:#caa4e8;--polish-line:#62576f66;--polish-nav:#24232d;--polish-focus:#caa4e8;--polish-shadow:0 6px 22px #00000020;--polish-inset:inset 0 1px 0 #ffffff05;--night-canvas:var(--polish-canvas);--night-panel:var(--polish-panel);--night-raised:var(--polish-raised);--night-border:var(--polish-border);--night-ink:var(--polish-ink);--night-muted:var(--polish-muted);--night-accent:var(--polish-accent);scrollbar-color:#4a4358 #14151b}
html[data-theme] body{font-family:var(--polish-font);font-size:14px;line-height:1.5;color:var(--polish-ink);background:#d3d5df;text-rendering:optimizeLegibility}
html[data-theme="dark"] body{background:#0d0e13}
html[data-theme] :is(.app,#lobby-page,.profile-page){background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] button,html[data-theme] input,html[data-theme] textarea{font-family:var(--polish-font)}
html[data-theme] :is(button,a,input,textarea,summary):focus-visible{outline:2px solid var(--polish-focus);outline-offset:3px}
html[data-theme] .app>header{height:calc(64px + env(safe-area-inset-top,0px));padding:calc(7px + env(safe-area-inset-top,0px)) 16px 7px;background:var(--polish-panel);border-bottom:1px solid var(--polish-line);box-shadow:0 1px 0 #ffffff08}
html[data-theme] .app>header h1{max-width:calc(100% - 152px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px;line-height:1.25;font-weight:600;letter-spacing:-.35px;color:var(--polish-ink)}
html[data-theme] .brand-63game img{width:44px;height:44px;border-radius:12px;box-shadow:0 2px 7px #2a143a12}
html[data-theme] .header-contact-actions{gap:1px}
html[data-theme] .header-contact-actions :is(.mail-button,.header-support-button){width:40px;height:44px;border-radius:12px;color:var(--polish-accent);background:transparent;box-shadow:none}
html[data-theme] .header-contact-actions :is(.mail-button,.header-support-button) svg{width:24px;height:24px}
html[data-theme] .app>header .mail-unread-dot{width:auto;min-width:18px;height:18px;top:1px;right:0;padding:0 4px;font-size:10px;border-color:var(--polish-panel);box-shadow:0 1px 3px #540c211f}
html[data-theme] .app>header .mail-button:has(>.mail-unread-dot:not([hidden]))>svg{
 transform-origin:50% 55%;
 animation:mail-unread-sway 1.2s ease-in-out infinite;
}
@keyframes mail-unread-sway{
 0%,100%{transform:rotate(0)}
 25%{transform:rotate(-12deg)}
 75%{transform:rotate(12deg)}
}
@media(prefers-reduced-motion:reduce){html[data-theme] .app>header .mail-button:has(>.mail-unread-dot:not([hidden]))>svg{animation:none}}
html[data-theme] .banner-area{padding-top:14px}
html[data-theme] .carousel{padding-inline:0}
html[data-theme] .banner{border:1px solid #bba7cc70;border-radius:18px;box-shadow:0 5px 16px #28113910}
html[data-theme] .banner:not(.managed-banner){min-height:184px}
html[data-theme] .banner-copy{display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;height:100%;max-width:70%;padding:16px 20px 15px}
html[data-theme] .banner-copy .eyebrow{font-size:8px;line-height:12px}
html[data-theme] .banner-copy h2{flex:none;font-size:26px;line-height:1.08;margin:8px 0 6px}
html[data-theme] .banner-copy p{flex:none;font-size:11px;line-height:1.4;max-width:170px;margin:0}
html[data-theme] .banner-copy .banner-cta{flex:none;align-self:flex-start;max-width:100%;min-height:28px;margin-top:auto;padding:7px 11px;gap:14px;font-size:10px;line-height:14px;white-space:nowrap}
html[data-theme="dark"] .banner{border-color:#655075;box-shadow:0 8px 22px #0003}
html[data-theme] .banner h2{font-weight:750;letter-spacing:-.7px;text-shadow:none}
html[data-theme] .banner p{line-height:1.55}
html[data-theme] .dots{margin-bottom:6px}
html[data-theme] .dots button,html[data-theme] .dots button.selected{background:transparent}
html[data-theme] .dots button::after{height:3px;background:#c9c5d2;transition:background-color .16s}
html[data-theme] .dots button.selected::after{background:#8244a2}
html[data-theme="dark"] .dots button::after{background:#4a4358}
html[data-theme="dark"] .dots button.selected::after{background:#caa4e8}
html[data-theme] :is(.glass,.wallet.glass,.ticker.glass,.profile-links.glass){background:var(--polish-panel);border:1px solid var(--polish-border);box-shadow:var(--polish-inset),var(--polish-shadow);color:var(--polish-ink)}
html[data-theme] .ticker.glass{border-radius:13px;padding:7px 12px;min-height:46px;gap:10px;font-size:13px;line-height:1.5;color:var(--polish-muted);box-shadow:0 2px 8px #29173705}
html[data-theme] .ticker .speaker{width:30px;height:30px;border-radius:9px;background:var(--polish-raised);border-color:var(--polish-line);box-shadow:none}
html[data-theme] .ticker .speaker svg{width:24px;height:24px}
html[data-theme] .ticker>.ticker-winner-window{min-height:30px}
html[data-theme] .wallet.glass{padding:13px 14px 12px;gap:11px;border-radius:18px;margin-top:13px}
html[data-theme] .wallet .account-name{font-size:13px;font-weight:600;letter-spacing:.05px;color:var(--polish-muted)}
html[data-theme] .wallet .balance-label{font-size:12px;line-height:1.4;color:var(--polish-muted)}
html[data-theme] .wallet .balance-row strong{font-size:28px;font-weight:700;line-height:1.2;letter-spacing:-.3px;font-variant-numeric:tabular-nums;color:var(--polish-ink)}
html[data-theme] .wallet .balance-row button:not(.player-refresh){width:30px;min-height:36px;font-size:24px;color:var(--polish-accent)}
html[data-theme] .wallet .balance-row .player-refresh[data-player-refresh="balance"]{min-inline-size:var(--player-refresh-target-size);min-block-size:var(--player-refresh-target-size)}
html[data-theme] .wallet .wallet-actions{padding-top:10px;gap:8px;border-color:var(--polish-line)}
html[data-theme] .wallet .wallet-actions button{min-height:68px;padding:6px 4px 7px;gap:3px;border-radius:12px;border:1px solid var(--polish-line);background:var(--polish-raised);box-shadow:inset 0 1px 0 #ffffff16;color:var(--polish-ink)}
html[data-theme] .wallet .wallet-actions button>span{color:var(--polish-ink);font-size:13px;line-height:17px;font-weight:600;letter-spacing:0}
html[data-theme] .wallet .wallet-actions .payment-icon{width:39px;height:39px}
html[data-theme] #lobby-page .categories{gap:8px;margin-top:12px;background:var(--polish-canvas)}
html[data-theme] #lobby-page .categories::before{background:var(--polish-canvas);box-shadow:0 1px 0 var(--polish-line)}
html[data-theme] #lobby-page .categories button{border-radius:13px;min-height:76px;padding:7px 3px;gap:3px;background:var(--polish-panel);border:1px solid var(--polish-border);color:var(--polish-muted);box-shadow:var(--polish-inset),0 2px 5px #27153507;font-size:12px;font-weight:600;line-height:1.3}
html[data-theme] #lobby-page .categories button.active{background:linear-gradient(145deg,#efe3c5,#e3d1a7);border-color:#bda26e;color:#5f482b;box-shadow:inset 0 1px 0 #fff6df90,0 2px 6px #6e542312}
html[data-theme="dark"] #lobby-page .categories button.active{background:linear-gradient(145deg,#4a3d2e,#392f25);border-color:#937a51;color:#efdbaf;box-shadow:inset 0 1px 0 #eed8ae10,0 3px 8px #0002}
html[data-theme] #lobby-page .categories button>span.category-art{width:34px;height:34px}
html[data-theme] .game-category-section h2{margin-bottom:11px;color:var(--polish-ink);font-size:18px;font-weight:650;line-height:1.35;letter-spacing:-.25px}
html[data-theme] .game-placeholder{border:1px solid var(--polish-border);border-radius:15px;background:linear-gradient(150deg,var(--polish-panel),var(--polish-raised));box-shadow:var(--polish-inset);color:var(--polish-muted)}
html[data-theme] .game-placeholder-icon{color:#ae8bc5;text-shadow:none}
html[data-theme] .game-placeholder-label,html[data-theme] .game-placeholder>span:last-child{font-size:11px;line-height:1.4;font-weight:400}
html[data-theme] .game-load-footer{font-size:12px;line-height:1.5;color:var(--polish-muted)}
html[data-theme] .game-load-more{font-size:13px;font-weight:500;color:var(--polish-accent)}
html[data-theme] :is(.bottom-nav,.app.deposit-open nav.bottom-nav){z-index:20;background:transparent;border:0;box-shadow:none}
html[data-theme] .bottom-nav::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V40Q0 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q430 20 430 40V44Z' fill='%23f0eef4'/%3E%3Cpath d='M.5 44V40Q.5 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q429.5 20 429.5 40V44' fill='none' stroke='%23c9c5d2' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");filter:drop-shadow(0 -2px 5px #33213d08)}
html[data-theme="dark"] .bottom-nav::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V40Q0 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q430 20 430 40V44Z' fill='%2324232d'/%3E%3Cpath d='M.5 44V40Q.5 20 20 20H139C162 20 170 20 182 9C192 0 202 0 215 0C228 0 238 0 248 9C260 20 268 20 291 20H410Q429.5 20 429.5 40V44' fill='none' stroke='%234a4358' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");filter:drop-shadow(0 -2px 6px #0002)}
html[data-theme] .bottom-nav::after{background:var(--polish-nav);border-color:#c9c5d2}
html[data-theme="dark"] .bottom-nav::after{border-color:#4a4358}
html[data-theme] .bottom-nav button,html[data-theme] .app.deposit-open .bottom-nav button{font-size:12px;font-weight:500;line-height:16px;color:var(--polish-muted);gap:5px;transition:color .16s}
html[data-theme] .bottom-nav button.active,html[data-theme] .app.deposit-open .bottom-nav button.active{color:var(--polish-accent);font-weight:650}
html[data-theme] .bottom-nav button:not(.bottom-deposit)>span{font-size:26px;line-height:27px}
html[data-theme] .bottom-nav .share-nav-icon svg{width:25px;height:25px}
html[data-theme] .bottom-nav button:not(.bottom-deposit)>.bottom-nav-icon{display:grid;place-items:center;width:28px;height:28px;font-size:0;line-height:0}
html[data-theme] .bottom-nav .bottom-nav-icon svg{display:block;width:24px;height:24px}
html[data-theme] .bottom-nav button.active>span{box-shadow:none;text-shadow:none}
html[data-theme] .bottom-nav button.bottom-deposit>.bottom-deposit-label{font-size:12px;line-height:16px;font-weight:600;color:var(--polish-muted)}
html[data-theme] .bottom-nav button.bottom-deposit.active>.bottom-deposit-label{color:var(--polish-accent)}
html[data-theme] .lobby-back-top{border-radius:13px;background:var(--polish-panel);border-color:var(--polish-border);color:var(--polish-accent);box-shadow:var(--polish-shadow)}
html[data-theme] #profile-page .profile-info{background:var(--polish-panel);padding-bottom:15px;border-bottom:1px solid var(--polish-line)}
html[data-theme] #profile-page .profile-name-row h2{font-size:23px;font-weight:650;line-height:1.3;letter-spacing:-.35px;color:var(--polish-ink)}
html[data-theme] #profile-page :is(.profile-signature-row p,.profile-id-row,.profile-email-row,.profile-local-note){color:var(--polish-muted);line-height:1.55}
html[data-theme] #profile-page :is(.cover-edit,.avatar-camera,#edit-signature){border:1px solid var(--polish-line);background:var(--polish-panel);color:var(--polish-accent);box-shadow:0 2px 7px #2917370b}
html[data-theme] #profile-page .avatar-edit{border-color:var(--polish-panel);box-shadow:0 3px 12px #21132c20}
html[data-theme] #profile-page .profile-cover:not(.has-profile-cover){background:linear-gradient(135deg,#c6c1cc,#d5d0da)}
html[data-theme="dark"] #profile-page .profile-cover:not(.has-profile-cover){background:linear-gradient(135deg,#302c38,#3a3444)}
html[data-theme] #profile-page :is(.profile-balance strong,.profile-vip strong){font-variant-numeric:tabular-nums}
html[data-theme] #profile-page .profile-balance strong{font-size:26px;font-weight:700;letter-spacing:-.3px;color:var(--polish-ink)}
html[data-theme] #profile-page .profile-balance>span{font-size:12px;color:var(--polish-muted)}
html[data-theme] #profile-page .profile-money-actions>button{border-radius:13px;border-color:var(--polish-border);background:var(--polish-raised);box-shadow:var(--polish-inset);color:var(--polish-ink)}
html[data-theme] #profile-page .profile-money-actions>button>b{font-size:14px;font-weight:600;color:var(--polish-ink)}
html[data-theme] #profile-page .profile-vip{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 3% -12%,#b695c531 0,transparent 63%),linear-gradient(120deg,#493052 0%,#302337 55%,#1b1b24 100%);border:1px solid #b9a16d80;box-shadow:inset 0 1px 0 #fff1ce19,inset 0 -1px 0 #09071040,0 5px 16px #24172e18;color:#eee5ef}
html[data-theme] #profile-page .profile-vip::before{content:"";position:absolute;z-index:-1;pointer-events:none;width:142px;height:142px;right:-30px;bottom:-31px;transform:rotate(-12deg);opacity:.055;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none'%3E%3Cpath d='m24 57 28 20 28-39 28 39 28-20-13 66H37L24 57Z' fill='%23e6c68c'/%3E%3Cpath d='M42 136h76M47 110h66' stroke='%23e6c68c' stroke-width='7' stroke-linecap='round'/%3E%3Ccircle cx='24' cy='48' r='7' fill='%23e6c68c'/%3E%3Ccircle cx='80' cy='27' r='8' fill='%23e6c68c'/%3E%3Ccircle cx='136' cy='48' r='7' fill='%23e6c68c'/%3E%3C/svg%3E") center/contain no-repeat;mask-image:linear-gradient(90deg,transparent,#000 48%)}
html[data-theme] #profile-page .profile-vip::after{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;border-radius:inherit;background-image:linear-gradient(115deg,transparent 30%,#fff2d607 40%,#fff2d61c 47%,#fff9eb30 50%,#fff2d61c 53%,#fff2d607 60%,transparent 70%),linear-gradient(118deg,#ffffff06,transparent 38%,#eacb8e04 67%,transparent 68%);background-size:48% 240%,100% 100%;background-repeat:no-repeat;background-position:-110% 50%,0 0;box-shadow:inset 0 0 0 3px #e6c88e04;animation:vip-card-light-sweep 5s ease-in-out infinite}
@keyframes vip-card-light-sweep{0%,16.8%{background-position:-110% 50%,0 0}53.2%,100%{background-position:210% 50%,0 0}}
@media(prefers-reduced-motion:reduce){html[data-theme] #profile-page .profile-vip::after{animation:none;background-position:-110% 50%,0 0}}
html[data-theme] #profile-page .profile-vip .vip-medal{background:linear-gradient(145deg,#c8aa6e26,#b18b4e0d);border-color:#d7b77a80;outline:none;box-shadow:inset 0 1px 0 #fbe2a42b;color:#eed39a}
html[data-theme] #profile-page .profile-vip .vip-card-top>strong{color:#f1d49b;text-shadow:0 1px 2px #1d102442}
html[data-theme] #profile-page .profile-vip .vip-bonus{color:#d6cbd9}
html[data-theme] #profile-page .profile-vip .vip-bonus b{color:#f1d49b}
html[data-theme] #profile-page .profile-vip .vip-card-top>span:last-child{color:#bfa987}
html[data-theme] #profile-page .profile-vip .vip-progress-row{color:#dfd4e2}
html[data-theme] #profile-page .profile-vip .vip-progress{background:#14121b66;border-color:#baa27035;color:#f2e8d4;box-shadow:inset 0 1px 2px #07050d1f}
html[data-theme] #profile-page .profile-vip .vip-progress i{background:linear-gradient(90deg,#b38d4938,#d3b27659);box-shadow:inset 0 1px 0 #efce8c19}
html[data-theme] #profile-page .profile-vip .vip-progress-row>span:last-child b{color:#e8cb96}
html[data-theme] #profile-page .profile-vip p{color:#c8bbcc}
html[data-theme] .profile-links.glass{padding:3px 14px;border-radius:17px}
html[data-theme] .profile-links button{min-height:51px;font-size:14px;font-weight:500;color:var(--polish-ink);border-color:var(--polish-line)}
html[data-theme] .profile-links button+button{border-color:var(--polish-line)}
html[data-theme] .profile-links button>span{color:var(--polish-accent);font-size:20px}
html[data-theme] .profile-links button>.profile-menu-icon,html[data-theme] #audio-settings-entry>.profile-menu-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;font-size:0;line-height:1;color:var(--polish-accent)}
html[data-theme] .profile-links .profile-menu-icon svg{display:block;width:22px;height:22px;overflow:visible}
html[data-theme] .profile-links button>b{color:var(--polish-muted);font-size:17px}
html[data-theme] #night-mode-toggle>b{font-size:11px;background:var(--polish-raised);color:var(--polish-accent)}
html[data-theme] #night-mode-toggle[aria-pressed=true]>b{background:#74478c;color:#f9eefc}
html[data-theme] :is(dialog#modal,dialog.login-panel,dialog.photo-picker,dialog.photo-crop-dialog,dialog.audio-settings){border:1px solid var(--polish-border);border-radius:20px;background:var(--polish-panel);color:var(--polish-ink);box-shadow:0 18px 60px #170e2540;padding:22px 18px}
html[data-theme] :is(dialog#modal,dialog.photo-picker).photo-picker{border-radius:22px 22px 0 0;padding:25px 18px calc(22px + env(safe-area-inset-bottom,0px))}
html[data-theme] :is(dialog#modal,dialog.login-panel,dialog.photo-picker,dialog.photo-crop-dialog,dialog.audio-settings)::backdrop{background:#17101f99;backdrop-filter:blur(2px)}
html[data-theme] :is(dialog#modal,dialog.login-panel,dialog.photo-picker,dialog.photo-crop-dialog,dialog.audio-settings) h2{font-size:20px;font-weight:650;line-height:1.3;letter-spacing:-.3px;color:var(--polish-ink)}
html[data-theme] :is(dialog#modal,dialog.login-panel,dialog.photo-picker,dialog.photo-crop-dialog,dialog.audio-settings) :is(p,small,label){color:var(--polish-muted)}
html[data-theme] .login-panel>p{font-size:14px;line-height:1.55}
html[data-theme] :is(#login-form,#register-form,#name-form,#signature-form) label{font-size:13px;font-weight:500;color:var(--polish-muted)}
html[data-theme] :is(#login-form,#register-form,#name-form,#signature-form) :is(input,textarea){border:1px solid var(--polish-border);background:var(--polish-raised);color:var(--polish-ink);border-radius:11px;line-height:1.5;box-shadow:inset 0 1px 2px #27132e04;font-size:16px}
html[data-theme] :is(input,textarea)::placeholder{color:var(--polish-muted);opacity:.85}
html[data-theme] .auth-tabs{background:var(--polish-raised);padding:4px;border-radius:12px}
html[data-theme] .auth-tabs button{font-size:14px;font-weight:500;color:var(--polish-muted);border-radius:9px}
html[data-theme] .auth-tabs button[aria-pressed=true]{background:var(--polish-panel);color:var(--polish-accent);box-shadow:0 1px 4px #29163912}
html[data-theme] .social-auth button{background:var(--polish-raised);border-color:var(--polish-border);border-radius:11px;color:var(--polish-ink);font-size:13px;font-weight:500;min-height:46px}
html[data-theme] :is(.login-submit,#name-form button[type=submit],#signature-form button[type=submit],.picker-upload){background:linear-gradient(145deg,#9c5abb,#754093);border:1px solid #814597;border-radius:12px;color:#fff4ff;box-shadow:inset 0 1px 0 #ffffff19,0 3px 9px #58316e14;font-weight:650}
html[data-theme="dark"] :is(.login-submit,#name-form button[type=submit],#signature-form button[type=submit],.picker-upload){background:linear-gradient(145deg,#8352a3,#603981);border-color:#986db6}
html[data-theme] .login-panel .login-result{font-size:13px;line-height:1.55;color:var(--polish-accent)}
html[data-theme] :is(.login-close,.modal-close,.photo-picker-close,.photo-crop-close,.audio-settings-close){color:var(--polish-muted);border-radius:11px}
html[data-theme] .app~dialog.photo-actions{background:transparent;box-shadow:none}
html[data-theme] dialog.photo-actions .photo-actions-group{background:var(--polish-panel);border-color:var(--polish-border);box-shadow:0 5px 20px #21102c14;border-radius:16px}
html[data-theme] dialog.photo-actions button{color:var(--polish-ink);font-size:14px;font-weight:500;min-height:55px;background:transparent}
html[data-theme] dialog.photo-actions .photo-actions-group button+button{border-color:var(--polish-line)}
html[data-theme] dialog.photo-actions .photo-actions-cancel{background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-muted);border-radius:16px;font-weight:600}
html[data-theme] dialog.audio-settings .audio-settings-controls>button{background:var(--polish-raised);border-color:var(--polish-border);border-radius:13px;color:var(--polish-ink);font-weight:500;min-height:64px}
html[data-theme] dialog.audio-settings .audio-settings-controls>button>b{background:var(--polish-panel);color:var(--polish-muted);font-weight:600}
html[data-theme] dialog.audio-settings .audio-settings-controls>button[aria-pressed=true]>b{background:#805098;color:#fff5ff}
html[data-theme] dialog.audio-settings .audio-settings-controls>button:disabled{background:var(--polish-raised);color:var(--polish-muted)}
html[data-theme] .gift{z-index:10}
html[data-theme] .gift .magic-gift{width:68px;height:68px;animation-duration:6.5s}
html[data-theme] .magic-gift .gift-aura{opacity:.35;animation-duration:5.5s}
html[data-theme] .magic-gift .gift-lid{animation-duration:7s}
html[data-theme] .magic-gift .gift-spark{font-size:14px;text-shadow:0 0 4px #d9b56c66;animation-duration:4.8s}
html[data-theme] .gift b{font-size:10px;font-weight:550;padding:5px 9px;box-shadow:0 2px 6px #3a1b4d18}
html[data-theme] .gift .gift-close{min-width:44px;min-height:30px;border-radius:0 0 9px 9px;background:#b6a6c4dd;color:#fbf6ff;font-size:14px}
html[data-theme="dark"] .gift .gift-close{background:#51415fdd;color:#e5d5ee}
html[data-theme] .gift-activity-menu{width:76px;padding:10px 4px;border-radius:37px 37px 16px 16px;border-color:#c9c5d280;background:#f5f4f7d9;box-shadow:0 3px 11px #391c4e10;backdrop-filter:blur(3px)}
html[data-theme="dark"] .gift-activity-menu{background:#24232dd9;border-color:#4a4358}
html[data-theme] .gift .gift-activity-menu .gift-entry-daily,html[data-theme] .gift-entry-daily img{width:56px;height:56px}
html[data-theme] .gift-activity-menu strong{font-size:10px;line-height:1.4;font-weight:550;color:var(--polish-accent)}
html[data-theme] :is(.wallet-actions button,.profile-money-actions>button,.categories button,.profile-links button,.header-contact-actions button,.social-auth button,.login-submit,.photo-actions button,.audio-settings-controls>button){transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s,transform .12s}
html[data-theme] :is(.wallet-actions button,.profile-money-actions>button,.social-auth button,.login-submit,.photo-actions button):active{transform:translateY(1px)}
@media(hover:hover){html[data-theme] .header-contact-actions button:hover,html[data-theme] .profile-links button:hover{background:#9873ad0c}html[data-theme] .wallet-actions button:hover,html[data-theme] .profile-money-actions>button:hover{border-color:#ad87c2;box-shadow:0 3px 9px #4920570d}html[data-theme] .social-auth button:hover{border-color:#ac8bbb}html[data-theme] dialog.photo-actions .photo-actions-group button:hover,html[data-theme] dialog.audio-settings .audio-settings-controls>button:not(:disabled):hover{background:var(--polish-panel)}}
@media(max-width:360px){html[data-theme] .app>header{padding-inline:12px}html[data-theme] .app>header h1{font-size:17px;max-width:calc(100% - 146px)}html[data-theme] .brand-63game img{width:42px;height:42px}html[data-theme] .wallet.glass{padding:12px 11px;gap:10px}html[data-theme] .wallet .balance-row strong{font-size:26px}html[data-theme] #lobby-page .categories{gap:6px}html[data-theme] #lobby-page .categories button{font-size:11px;min-height:72px}html[data-theme] #lobby-page .categories button>span.category-art{width:30px;height:30px}html[data-theme] .gift .magic-gift{width:64px;height:64px}html[data-theme] .bottom-nav button,html[data-theme] .bottom-nav button.bottom-deposit>.bottom-deposit-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){html[data-theme] :is(.wallet-actions button,.profile-money-actions>button,.categories button,.profile-links button,.header-contact-actions button,.social-auth button,.login-submit,.photo-actions button,.audio-settings-controls>button){transition:none}html[data-theme] :is(.gift .magic-gift,.magic-gift .gift-aura,.magic-gift .gift-lid,.magic-gift .gift-spark){animation:none}}
@media(max-width:360px){html[data-theme] .banner:not(.managed-banner){min-height:176px}html[data-theme] .banner-copy{max-width:76%;padding:14px 16px}html[data-theme] .banner-copy h2{font-size:23px}html[data-theme] .banner-copy p{font-size:10.5px;max-width:160px}}

/* polish-wallet.css */
/* Wallet finish: quiet surfaces, clear amounts and consistent touch feedback. */
html[data-theme] #deposit-page,
html[data-theme] #vip-page{
 --wallet-highlight:transparent;
 --wallet-shadow:none;
 --wallet-selected:#80539a;
 --wallet-selected-border:#9563b3;
 --wallet-gold-ink:#79552c;
 --wallet-gold-surface:linear-gradient(135deg,#eee3cc,#e3d3b7);
 --wallet-gold-border:#c5ac78;
 --wallet-track:#d1ccd9;
 --wallet-error:#a3385a;
 --wallet-success:#327454;
 color:var(--polish-ink);
 background:var(--polish-canvas);
 font-family:var(--polish-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif);
 line-height:1.55;
}
html[data-theme="dark"] #deposit-page,
html[data-theme="dark"] #vip-page{
 --wallet-highlight:transparent;
 --wallet-shadow:none;
 --wallet-selected:#80539a;
 --wallet-selected-border:#a878c2;
 --wallet-gold-ink:#e2c688;
 --wallet-gold-surface:linear-gradient(135deg,#3c3023,#2b241e);
 --wallet-gold-border:#75603e;
 --wallet-track:#51475e;
 --wallet-error:#efa6bc;
 --wallet-success:#8fc5a6;
}
html[data-theme] .app.deposit-open,
html[data-theme] .app.vip-open{background:var(--polish-canvas);color:var(--polish-ink)}

/* Keep the raised navigation artwork outside the scrolling wallet content. */
@media (max-width:480px) {
 html[data-theme] .app.deposit-open {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr) auto;
  height:100dvh;
  padding-bottom:0;
 }
 html[data-theme] .app.deposit-open>header {grid-row:1}
 html[data-theme] .app.deposit-open>#deposit-page {
  grid-row:2;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  scroll-padding-block:12px;
 }
 html[data-theme] .app.deposit-open>.bottom-nav {
  grid-row:3;
  position:relative;
  inset:auto;
  width:100%;
  margin-top:24px;
  transform:none;
 }
}
html[data-theme] #deposit-page :is(input,td,strong,.deposit-amount-grid button>span){font-variant-numeric:tabular-nums}
html[data-theme] #deposit-page :is(button,input):focus-visible,
html[data-theme] #vip-page :is(button,summary):focus-visible{outline:2px solid var(--polish-accent);outline-offset:3px}

/* Navigation remains in its current position and order. */
html[data-theme] #deposit-page .deposit-tabs{gap:7px;margin-bottom:16px;padding:3px;border:1px solid var(--polish-line);border-radius:16px;background:var(--polish-panel)}
html[data-theme] #deposit-page .deposit-tabs button{min-height:52px;border-radius:12px;color:var(--polish-muted);font-size:14px;font-weight:650;line-height:1.4;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
html[data-theme] #deposit-page .deposit-tabs button[aria-pressed=true]{background:var(--wallet-selected);color:#fff7fd;box-shadow:inset 0 1px 0 #e8c6f52b,0 3px 8px #57266f24}
html[data-theme] #deposit-page .deposit-tabs button svg{width:22px;height:22px}

/* Deposit choice cards and the selected amount. */
html[data-theme] #deposit-page .deposit-offer{border:1px solid var(--polish-border);border-radius:16px;background:var(--polish-panel);box-shadow:inset 0 1px 0 var(--wallet-highlight),var(--wallet-shadow);color:var(--polish-ink)}
html[data-theme] #deposit-page .deposit-offer b{font-size:12px;letter-spacing:.1px;color:var(--polish-muted)}
html[data-theme] #deposit-page .deposit-offer strong{font-size:14px;line-height:1.45;font-weight:700}
html[data-theme] #deposit-page .deposit-offer em{color:var(--wallet-gold-ink)}
html[data-theme] #deposit-page .deposit-amount-heading{margin:16px 0 11px}
html[data-theme] #deposit-page .deposit-amount-heading h2{font-size:18px;line-height:1.35;font-weight:700;letter-spacing:-.2px;color:var(--polish-ink)}
html[data-theme] #deposit-page .deposit-amount-heading p{min-height:20px;margin-top:4px;font-size:12px;line-height:1.6;color:var(--polish-accent)}
html[data-theme] #deposit-page .deposit-amount-field{min-height:55px;padding:11px 15px;border:1px solid var(--polish-border);border-radius:14px;background:var(--polish-panel);box-shadow:inset 0 1px 0 var(--wallet-highlight);transition:border-color .16s ease,box-shadow .16s ease}
html[data-theme] #deposit-page .deposit-amount-field:focus-within{border-color:var(--polish-accent);box-shadow:0 0 0 3px #9b66bd18}
html[data-theme] #deposit-page #deposit-amount{color:var(--polish-ink);font-size:27px;font-weight:750;letter-spacing:-.6px;line-height:1.2}
html[data-theme] #deposit-page .deposit-amount-grid{gap:13px 11px;margin:17px 0 23px}
html[data-theme] #deposit-page .deposit-amount-grid button{min-height:73px;padding:10px 3px 9px;gap:6px;border:1px solid var(--polish-border);border-radius:13px;background:var(--polish-panel);color:var(--polish-ink);box-shadow:inset 0 1px 0 var(--wallet-highlight),0 2px 6px #35223e08;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .12s ease}
html[data-theme] #deposit-page .deposit-amount-grid button>span{gap:4px;font-size:22px;font-weight:750;line-height:1.2;letter-spacing:-.45px}
html[data-theme] #deposit-page .deposit-amount-grid small{font-size:12px;font-weight:600;line-height:1.3;color:var(--polish-accent)}
html[data-theme] #deposit-page .deposit-amount-grid button[aria-pressed=true]{background:var(--wallet-selected);border-color:var(--wallet-selected-border);color:#fff7fd;box-shadow:inset 0 1px 0 #ebc9f636,0 4px 11px #6933842c}
html[data-theme] #deposit-page .deposit-amount-grid button[aria-pressed=true] small{color:#f4e7fa}
html[data-theme] #deposit-page .deposit-amount-grid button[aria-pressed=true] .deposit-dollar{background:#ffffff25;color:#fff}
html[data-theme] #deposit-page .deposit-amount-badge{top:-9px;right:-1px;padding:3px 6px;border-color:#d2b477;border-radius:8px 8px 3px 8px;background:linear-gradient(135deg,#f6e8bf,#dfbe78);color:#60451e;font-size:9px;font-weight:750;line-height:1.35;letter-spacing:0;box-shadow:0 2px 5px #4f371816}
html[data-theme] #deposit-page .deposit-methods legend{margin-bottom:11px;color:var(--polish-ink);font-size:14px;font-weight:700;letter-spacing:.15px;line-height:1.5}
html[data-theme] #deposit-page .deposit-methods button{min-height:64px;border:1px solid var(--polish-line);border-radius:13px;background:var(--polish-panel);color:var(--polish-muted);font-size:13px;line-height:1.4;box-shadow:inset 0 1px 0 var(--wallet-highlight);transition:background .16s ease,border-color .16s ease,transform .12s ease}
html[data-theme] #deposit-page .deposit-methods button[aria-pressed=true]{background:var(--polish-raised);border-color:var(--polish-accent);color:var(--polish-ink);box-shadow:inset 0 0 0 1px #9b66bd20}
html[data-theme] #deposit-page .deposit-checkout{margin-top:22px}
html[data-theme] #deposit-page .deposit-wallet-tip{padding:7px 11px;border:1px solid var(--wallet-gold-border);border-radius:12px;background:var(--wallet-gold-surface);color:var(--wallet-gold-ink);font-size:11px;line-height:1.55}
html[data-theme] #deposit-page .deposit-wallet-tip:after{border-top-color:var(--wallet-gold-border)}
html[data-theme] #deposit-page :is(#deposit-submit,.deposit-vip-deposit,.wallet-vip-withdraw){min-height:51px;border:1px solid var(--wallet-selected-border);border-radius:15px;background:var(--wallet-selected);color:#fff7fd;font-size:16px;font-weight:700;line-height:1.4;letter-spacing:.05px;box-shadow:inset 0 1px 0 #eac5f32b,0 4px 10px #54256d20;transition:box-shadow .16s ease,filter .16s ease,transform .12s ease}
html[data-theme] #deposit-page #deposit-submit:disabled{opacity:1;background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-muted);box-shadow:none}
html[data-theme] #deposit-page :is(.deposit-subtitle,#deposit-feedback){color:var(--polish-muted);font-size:13px;line-height:1.65}
html[data-theme] #deposit-page .deposit-activity{font-size:12px;line-height:21px;color:var(--polish-muted)}
html[data-theme] #deposit-page .deposit-activity-id{color:var(--wallet-success)}
html[data-theme] #deposit-page .deposit-activity-amount{color:var(--wallet-gold-ink)}
html[data-theme] #deposit-page .deposit-footer{padding-top:20px;border-color:var(--polish-line);color:var(--polish-muted);font-size:12px;line-height:1.75}
html[data-theme] #deposit-page :is(.deposit-footer-help>span,.deposit-footer-help>small){color:var(--polish-muted)}
html[data-theme] #deposit-page :is(.deposit-footer-links a,.deposit-footer-help>a){color:var(--polish-accent)}
html[data-theme] #deposit-page .deposit-footer-age{border-color:var(--polish-border);color:var(--polish-muted)}

@media (max-width:480px) {
 html[data-theme] #deposit-page .deposit-tabs {margin-bottom:12px}
 html[data-theme] #deposit-page .deposit-offer {min-height:66px}
 html[data-theme] #deposit-page .deposit-amount-grid {gap:10px;margin:12px 0 14px}
 html[data-theme] #deposit-page .deposit-amount-grid button {min-height:63px}
 html[data-theme] #deposit-page .deposit-checkout {margin-top:13px}
}

/* The history list has the same quiet dividers as the wallet cards. */
html[data-theme] #deposit-page .deposit-history-tabs{padding:3px;margin-bottom:22px;border-color:var(--polish-border);border-radius:16px;background:var(--polish-panel);box-shadow:inset 0 1px 0 var(--wallet-highlight)}
html[data-theme] #deposit-page .deposit-history-tabs button{min-height:41px;border-radius:12px;font-size:14px;font-weight:650;color:var(--polish-muted);transition:background .16s ease,color .16s ease}
html[data-theme] #deposit-page .deposit-history-tabs button[aria-selected=true]{background:var(--polish-raised);color:var(--polish-ink);box-shadow:0 1px 5px #2b1a3912}
html[data-theme] #deposit-page .deposit-history-table{color:var(--polish-ink);font-size:13px}
html[data-theme] #deposit-page .deposit-history-table th{padding-top:11px;padding-bottom:14px;border-color:var(--polish-border);color:var(--polish-ink);font-size:13px;font-weight:700;line-height:1.45}
html[data-theme] #deposit-page .deposit-history-table td{padding-top:15px;padding-bottom:15px;border-color:var(--polish-line);color:var(--polish-ink);font-size:13px;line-height:1.55}
html[data-theme] #deposit-page .deposit-history-table td:first-child{color:var(--polish-ink)}
html[data-theme] #deposit-page .deposit-history-table :is(small,time){font-size:11px;line-height:1.5;color:var(--polish-muted)}
html[data-theme] #deposit-page .deposit-history-table :is(.deposit-history-reference,.deposit-history-quantity){color:var(--polish-accent);font-size:13px}
html[data-theme] #deposit-page :is(.deposit-history-status,.deposit-history-empty,.deposit-history-empty>span){color:var(--polish-muted)}
html[data-theme] #deposit-page .deposit-history-refresh{min-height:40px;padding:8px 15px;border-color:var(--polish-border);border-radius:12px;color:var(--polish-accent);font-size:12px}

/* Withdrawal details: the balance, progress and fee panels use a single material. */
html[data-theme] #withdrawal-page{background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] #deposit-page>#withdrawal-page.withdraw-embedded{background:transparent}
html[data-theme] #deposit-page #withdrawal-page :is(.withdraw-balances,.redemption-progress-card,.receiving-link,.withdraw-amount-wrap,.redemption-card,.bound-accounts,.payment-account-list){background:var(--polish-panel);border-color:var(--polish-border);border-radius:16px;color:var(--polish-ink);box-shadow:inset 0 1px 0 var(--wallet-highlight),var(--wallet-shadow)}
html[data-theme] #deposit-page #withdrawal-page .withdraw-balances{padding:15px 16px}
html[data-theme] #deposit-page #withdrawal-page .withdraw-balances strong{color:var(--polish-ink);font-size:27px;line-height:1.25;font-weight:750;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
html[data-theme] #deposit-page #withdrawal-page .withdraw-balances>div>span{color:var(--polish-muted);font-size:12px;line-height:1.5}
html[data-theme] #deposit-page #withdrawal-page .redemption-progress-card{padding:17px 16px;margin-bottom:18px}
html[data-theme] #deposit-page #withdrawal-page .redemption-progress-card h2{font-size:19px;font-weight:700;line-height:1.35;letter-spacing:-.3px;color:var(--polish-ink)}
html[data-theme] #deposit-page #withdrawal-page #redemption-basis{margin-top:5px;margin-bottom:15px;font-size:12px;line-height:1.6;color:var(--polish-muted)}
html[data-theme] #deposit-page #withdrawal-page .redemption-progress-row strong{color:var(--polish-ink);font-size:13px;line-height:1.45;font-weight:650}
html[data-theme] #deposit-page #withdrawal-page .redemption-progress-row span{color:var(--polish-muted);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
html[data-theme] #deposit-page #withdrawal-page .redemption-progress-track{height:7px;background:var(--wallet-track);border-radius:20px}
html[data-theme] #deposit-page #withdrawal-page .redemption-progress-track i{border-radius:inherit;background:linear-gradient(90deg,#aa73c6,#8550a8)}
html[data-theme] #deposit-page #withdrawal-page .redemption-progress-track.is-complete i{background:var(--wallet-success)}
html[data-theme] #deposit-page #withdrawal-page :is(.withdraw-status,.redemption-mode,.redemption-rule,#withdraw-help){background:var(--polish-raised);border-color:var(--polish-line);border-radius:12px;color:var(--polish-muted);font-size:12px;line-height:1.65}
html[data-theme] #deposit-page #withdrawal-page :is(.redemption-mode,#withdraw-all,.withdraw-amount-wrap>span){color:var(--polish-accent)}
html[data-theme] #deposit-page #withdrawal-page :is(#withdraw-form>label,.withdraw-fee-summary h3){font-size:13px;line-height:1.5;font-weight:650;color:var(--polish-ink)}
html[data-theme] #deposit-page #withdrawal-page :is(#withdraw-amount,#withdraw-account){color:var(--polish-ink);font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme] #deposit-page #withdrawal-page #withdraw-amount{font-size:23px;line-height:1.3}
html[data-theme] #deposit-page #withdrawal-page .withdraw-confirm{min-height:50px;border:1px solid var(--wallet-selected-border);border-radius:15px;background:var(--wallet-selected);color:#fff7fd;font-size:16px;font-weight:700;line-height:1.4;box-shadow:inset 0 1px 0 #eac5f32b,0 4px 10px #54256d20;transition:transform .12s ease,box-shadow .16s ease}
html[data-theme] #deposit-page #withdrawal-page :is(.withdraw-confirm,.withdraw-gate-disabled):disabled{opacity:1;background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-muted);box-shadow:none;cursor:not-allowed}
html[data-theme] #deposit-page #withdrawal-page :is(#withdraw-feedback,.withdraw-note,.redemption-reset-note,.withdraw-history-net){color:var(--polish-muted);font-size:12px;line-height:1.65}
html[data-theme] #deposit-page :is(.withdraw-methods legend,#withdraw-account-label){color:var(--polish-ink);font-size:13px;font-weight:650;line-height:1.5}
html[data-theme] #deposit-page #withdraw-method-list button{background:var(--polish-panel);border-color:var(--polish-border);border-radius:13px;color:var(--polish-muted);font-size:12px;line-height:1.4;box-shadow:inset 0 1px 0 var(--wallet-highlight);transition:background .16s ease,border-color .16s ease,transform .12s ease}
html[data-theme] #deposit-page #withdraw-method-list button[aria-pressed=true]{background:var(--polish-raised);border-color:var(--polish-accent);color:var(--polish-ink);box-shadow:inset 0 0 0 1px #9b66bd24}
html[data-theme] #deposit-page .withdraw-account-wrap{background:var(--polish-panel);border-color:var(--polish-border);border-radius:14px;box-shadow:inset 0 1px 0 var(--wallet-highlight);transition:border-color .16s ease,box-shadow .16s ease}
html[data-theme] #deposit-page .withdraw-account-wrap:focus-within{outline:2px solid var(--polish-accent);outline-offset:3px}
html[data-theme] #deposit-page #withdraw-account{font-size:16px;color:var(--polish-ink)}
html[data-theme] #deposit-page #withdraw-account::placeholder{color:var(--polish-muted);font-size:13px;opacity:.9}
html[data-theme] #deposit-page #withdraw-account-paste{min-height:42px;color:var(--polish-accent);font-size:12px;font-weight:650}
html[data-theme] #deposit-page :is(#withdraw-method-status,#withdraw-account-hint){color:var(--polish-muted);font-size:12px;line-height:1.6}
html[data-theme] #deposit-page #withdraw-account-error{color:var(--wallet-error);font-size:12px;line-height:1.6}
html[data-theme] #deposit-page .withdraw-account-wrap.has-error{border-color:var(--wallet-error)}
html[data-theme] #deposit-page #withdrawal-page .withdraw-fee-summary{padding:16px;border:1px solid var(--polish-border);border-radius:15px;background:var(--polish-panel);box-shadow:inset 0 1px 0 var(--wallet-highlight)}
html[data-theme] #deposit-page #withdrawal-page .withdraw-fee-summary>div{color:var(--polish-muted);font-size:13px;line-height:1.6}
html[data-theme] #deposit-page #withdrawal-page .withdraw-fee-summary>div strong{color:var(--polish-ink);font-size:14px;font-weight:650}
html[data-theme] #deposit-page #withdrawal-page .withdraw-fee-summary>div.withdraw-fee-net{border-color:var(--polish-line);color:var(--polish-ink)}
html[data-theme] #deposit-page #withdrawal-page .withdraw-fee-summary>div.withdraw-fee-net strong{color:var(--polish-ink);font-size:25px;letter-spacing:-.5px}
html[data-theme] #deposit-page #withdrawal-page :is(#withdraw-fee-rate,#withdraw-fee-status){color:var(--polish-muted);font-size:11px;line-height:1.6}
html[data-theme] #deposit-page #withdrawal-page #withdraw-fee-status.has-error{color:var(--wallet-error)}
html[data-theme] #deposit-page #withdrawal-page #withdraw-fee-retry{min-height:36px;border-color:var(--polish-border);border-radius:10px;background:var(--polish-raised);color:var(--polish-accent);font-size:12px}

/* The no-deposit state stays clear without becoming a large luminous block. */
html[data-theme] #withdrawal-page .withdraw-deposit-card{padding:23px 17px 21px;border-color:var(--polish-border);border-radius:18px;background:var(--polish-panel);box-shadow:inset 0 1px 0 var(--wallet-highlight),var(--wallet-shadow)}
html[data-theme] #withdrawal-page .withdraw-deposit-card h2{color:var(--polish-ink);font-size:20px;line-height:1.4;letter-spacing:-.3px}
html[data-theme] #withdrawal-page .withdraw-deposit-card>p{color:var(--polish-muted);font-size:13px;line-height:1.65}
html[data-theme] #withdrawal-page .withdraw-deposit-badge{background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-accent);font-size:10px;letter-spacing:.55px}
html[data-theme] #withdrawal-page .withdraw-deposit-balances{gap:10px;margin:20px 0}
html[data-theme] #withdrawal-page .withdraw-deposit-balances>div,
html[data-theme] #withdrawal-page .withdraw-deposit-balances>div+div{background:var(--polish-raised);border-color:var(--polish-line);border-radius:13px}
html[data-theme] #withdrawal-page .withdraw-deposit-balances span{color:var(--polish-muted);font-size:12px;line-height:1.5}
html[data-theme] #withdrawal-page .withdraw-deposit-balances strong{color:var(--polish-ink);font-weight:750;font-size:28px;letter-spacing:-.5px}
html[data-theme] #withdrawal-page .withdraw-deposit-balances>div+div strong{color:var(--polish-accent)}
html[data-theme] #withdrawal-page .withdraw-deposit-balances small{color:var(--polish-muted);font-size:11px;line-height:1.5}
html[data-theme] #withdrawal-page .withdraw-deposit-next p{color:var(--polish-muted);font-size:13px;line-height:1.7}
html[data-theme] #withdrawal-page #withdraw-deposit-now{min-height:51px;border:1px solid var(--wallet-selected-border);border-radius:15px;background:var(--wallet-selected);color:#fff7fd;font-size:16px;line-height:1.4;box-shadow:inset 0 1px 0 #eac5f32b,0 4px 10px #54256d20}

/* Wallet VIP is the guide, Account VIP remains the rewards view. */
html[data-theme] #deposit-page .wallet-vip-hero{border-color:var(--polish-border);border-radius:18px;box-shadow:inset 0 1px 0 var(--wallet-highlight),var(--wallet-shadow)}
html[data-theme] #deposit-page .wallet-vip-hero>p{font-size:14px;line-height:1.65}
html[data-theme] #deposit-page :is(.wallet-vip-separate,.wallet-vip-reference p){font-size:12px;line-height:1.65}
html[data-theme] #deposit-page :is(.wallet-vip-minimum,.wallet-vip-section){background:var(--polish-panel);border-color:var(--polish-border);border-radius:16px;box-shadow:inset 0 1px 0 var(--wallet-highlight),var(--wallet-shadow)}
html[data-theme] #deposit-page :is(.wallet-vip-minimum>div>span,.wallet-vip-section h3,.wallet-vip-guide h4){color:var(--polish-ink)}
html[data-theme] #deposit-page .wallet-vip-section h3{font-size:16px;line-height:1.4;letter-spacing:-.15px}
html[data-theme] #deposit-page .wallet-vip-minimum strong{color:var(--wallet-gold-ink);font-size:29px;letter-spacing:-.6px}
html[data-theme] #deposit-page :is(.wallet-vip-minimum p,.wallet-vip-minimum small,.wallet-vip-points p,.wallet-vip-benefits p){color:var(--polish-muted);font-size:13px;line-height:1.65}
html[data-theme] #deposit-page :is(.wallet-vip-minimum small,.wallet-vip-points li){border-color:var(--polish-line)}
html[data-theme] #deposit-page .wallet-vip-points li::before,
html[data-theme] #deposit-page :is(.wallet-vip-benefits>div,.wallet-vip-table-title>span){background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-accent)}
html[data-theme] #deposit-page .wallet-vip-benefits>div{border-radius:12px}
html[data-theme] #deposit-page .wallet-vip-benefits h4{color:var(--polish-ink);font-size:13px;line-height:1.5}
html[data-theme] #deposit-page .wallet-vip-table-title>span{padding:4px 8px;font-size:10px;line-height:1.5}
html[data-theme] #deposit-page .wallet-vip-schedule thead{background:var(--polish-raised);color:var(--polish-muted)}
html[data-theme] #deposit-page .wallet-vip-schedule th{font-size:11px;line-height:1.45;font-weight:700}
html[data-theme] #deposit-page .wallet-vip-schedule tbody tr{background:var(--polish-panel)}
html[data-theme] #deposit-page .wallet-vip-schedule tbody tr:nth-child(even){background:var(--polish-raised)}
html[data-theme] #deposit-page .wallet-vip-schedule :is(tbody th,td){padding-top:13px;padding-bottom:13px;border-color:var(--polish-line);font-size:12px;line-height:1.4}
html[data-theme] #deposit-page .wallet-vip-schedule tbody th{color:var(--wallet-gold-ink)}
html[data-theme] #deposit-page .wallet-vip-schedule td{color:var(--polish-ink)}
html[data-theme] #deposit-page .wallet-vip-schedule :is(td.wallet-vip-daily,td.wallet-vip-fee){font-size:11px;line-height:1.4}
html[data-theme] #deposit-page .wallet-vip-schedule td.wallet-vip-daily.is-unlimited{color:var(--polish-accent);font-size:19px}
html[data-theme] #deposit-page .wallet-vip-table-note{background:var(--polish-raised);border-color:var(--polish-line);color:var(--polish-muted);font-size:11px;line-height:1.65}

/* First-deposit hero artwork remains original; its calculator receives the new material. */
html[data-theme] #deposit-page.first-deposit-open .first-deposit-hero{border-color:#b397b3;border-radius:20px;box-shadow:inset 0 1px 0 #e2bceb14,var(--wallet-shadow)}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-time-label{font-size:12px;line-height:1.5}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-facts{font-size:10px;line-height:1.5}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary{padding:9px;border-color:var(--polish-border);border-radius:16px;background:var(--polish-panel);box-shadow:inset 0 1px 0 var(--wallet-highlight),var(--wallet-shadow)}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary span{font-size:11px;line-height:1.45;color:var(--polish-muted)}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary strong{color:var(--polish-ink);font-size:21px;line-height:1.25;font-weight:750;letter-spacing:-.5px}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary>div:nth-of-type(2) strong{color:var(--wallet-gold-ink)}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary>b{color:var(--polish-muted)}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary>.first-deposit-total{border-color:var(--wallet-gold-border);border-radius:12px;background:var(--wallet-gold-surface)}
html[data-theme] #deposit-page.first-deposit-open .first-deposit-total :is(span,strong){color:var(--wallet-gold-ink)}
html[data-theme] #deposit-page.first-deposit-open .deposit-amount-field{border-radius:14px}
html[data-theme] #deposit-page.first-deposit-open .deposit-amount-grid button{border-radius:13px;min-height:71px}
html[data-theme] #deposit-page.first-deposit-open .deposit-methods button{border-radius:13px;min-height:61px}

/* Member rewards retain the original jewel-toned carousel. */
html[data-theme] #vip-page{--vip-ink:var(--polish-ink);--vip-muted:var(--polish-muted);--vip-surface:var(--polish-panel);--vip-border:var(--polish-border);--vip-purple:var(--polish-accent)}
html[data-theme] #vip-page .vip-header{background:var(--polish-panel);border-color:var(--polish-line);color:var(--polish-ink)}
html[data-theme] #vip-page :is(.vip-header h1,.vip-account-summary strong){color:var(--polish-ink)}
html[data-theme] #vip-page .vip-account-summary span{color:var(--polish-muted);font-size:11px;line-height:1.5}
html[data-theme] #vip-page .vip-level-tab{border-color:var(--polish-border);background:var(--polish-panel);color:var(--polish-muted);font-size:12px;box-shadow:inset 0 1px 0 var(--wallet-highlight)}
html[data-theme] #vip-page .vip-level-tab[aria-selected=true]{border-color:var(--wallet-selected-border);background:var(--wallet-selected);color:#fff7fd;box-shadow:inset 0 1px 0 #ebc9f62b,0 2px 6px #57266f20}
html[data-theme] #vip-page .vip-card-arrow{border-color:var(--polish-border);background:var(--polish-raised);color:var(--polish-accent);box-shadow:0 2px 8px #00000018;backdrop-filter:none}
html[data-theme] #vip-page .vip-card-carousel .vip-slide{border-radius:20px;box-shadow:inset 0 1px 0 #ffffff0c,var(--wallet-shadow)}
html[data-theme] #vip-page .vip-card-carousel .vip-slide.is-selected{border-color:#ddbd80;box-shadow:inset 0 0 0 1px #e1bc7524,0 5px 13px #21132726}
html[data-theme] #vip-page :is(.vip-reward-card,.vip-goals,.vip-daily-panel,.vip-rules,.vip-all-levels){border-color:var(--polish-border);border-radius:16px;background:var(--polish-panel);box-shadow:inset 0 1px 0 var(--wallet-highlight),var(--wallet-shadow)}
html[data-theme] #vip-page .vip-reward-card{padding:17px 14px 16px}
html[data-theme] #vip-page .vip-reward-card h3{font-size:12px;line-height:1.5;color:var(--polish-muted)}
html[data-theme] #vip-page .vip-reward-card>strong{font-size:29px;letter-spacing:-.65px;color:var(--polish-accent)}
html[data-theme] #vip-page .vip-upgrade-reward>strong{color:var(--wallet-gold-ink)}
html[data-theme] #vip-page .vip-reward-card p{font-size:12px;line-height:1.6;color:var(--polish-muted)}
html[data-theme] #vip-page .vip-reward-icon{border:1px solid var(--polish-line);background:var(--polish-raised);color:var(--polish-accent)}
html[data-theme] #vip-page .vip-upgrade-reward .vip-reward-icon{border-color:var(--wallet-gold-border);background:var(--wallet-gold-surface);color:var(--wallet-gold-ink)}
html[data-theme] #vip-page :is(.vip-section-heading h2,.vip-daily-panel h2,.vip-goal-label strong,.vip-rules summary,.vip-all-levels summary){color:var(--polish-ink)}
html[data-theme] #vip-page .vip-section-heading h2,html[data-theme] #vip-page .vip-daily-panel h2{font-size:16px;line-height:1.45;font-weight:700;letter-spacing:-.2px}
html[data-theme] #vip-page .vip-section-heading>span{font-size:11px;line-height:1.5;color:var(--polish-muted)}
html[data-theme] #vip-page .vip-goal-label{font-size:13px;line-height:1.5}
html[data-theme] #vip-page .vip-goal-label>span{font-size:12px;line-height:1.5;color:var(--polish-muted)}
html[data-theme] #vip-page .vip-goal-track{background:var(--wallet-track)}
html[data-theme] #vip-page .vip-goal-track.is-unknown{background:repeating-linear-gradient(125deg,var(--wallet-track) 0 7px,var(--polish-raised) 7px 14px)}
html[data-theme] #vip-page :is(.vip-goal-caption,.vip-daily-panel>p,.vip-daily-status label,.vip-daily-status>span,.vip-rules ol,.vip-page-note){font-size:12px;line-height:1.7;color:var(--polish-muted)}
html[data-theme] #vip-page .vip-daily-equation{border-color:var(--polish-border);border-radius:12px;background:var(--polish-raised);color:var(--polish-accent);font-size:13px;line-height:1.6}
html[data-theme] #vip-page .vip-daily-status strong{font-size:23px;color:var(--polish-accent)}
html[data-theme] #vip-page .vip-claim{min-height:46px;border-color:var(--polish-border);border-radius:13px;background:var(--polish-raised);color:var(--polish-muted);font-size:13px;line-height:1.5}
html[data-theme] #vip-page .vip-rules :is(b,strong){color:var(--polish-ink)}
html[data-theme] #vip-page .vip-table-wrap table{font-size:12px;line-height:1.55}
html[data-theme] #vip-page .vip-table-wrap th{padding-top:12px;padding-bottom:12px;border-color:var(--polish-line);background:var(--polish-raised);color:var(--polish-muted);font-size:11px;line-height:1.5}
html[data-theme] #vip-page .vip-table-wrap td{padding-top:12px;padding-bottom:12px;border-color:var(--polish-line);color:var(--polish-ink)}
html[data-theme] #vip-page .vip-table-wrap tr.is-selected td{background:var(--polish-raised);color:var(--polish-accent);font-weight:650}
html[data-theme] #vip-page .vip-primary{min-height:50px;border-color:var(--wallet-selected-border);border-radius:15px;background:var(--wallet-selected);color:#fff7fd;box-shadow:inset 0 1px 0 #eac5f32b,0 4px 10px #54256d20;font-size:14px;line-height:1.5}

/* Light, intentional feedback instead of large lifts or glow. */
html[data-theme] #deposit-page :is(.deposit-amount-grid button,.deposit-methods button,#withdraw-method-list button,#deposit-submit,.wallet-vip-withdraw):not(:disabled):active,
html[data-theme] #deposit-page #withdrawal-page .withdraw-confirm:not(:disabled):active,
html[data-theme] #vip-page .vip-primary:not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 1px 2px #24132f20}
@media(hover:hover) and (pointer:fine){
 html[data-theme] #deposit-page .deposit-amount-grid button:not(:disabled):not([aria-pressed=true]):hover,
 html[data-theme] #deposit-page .deposit-methods button:not(:disabled):not([aria-pressed=true]):hover,
 html[data-theme] #deposit-page #withdraw-method-list button:not(:disabled):not([aria-pressed=true]):hover{background:var(--polish-raised);border-color:var(--polish-accent);box-shadow:inset 0 1px 0 var(--wallet-highlight),0 3px 9px #35223e12}
}
@media(max-width:360px){
 html[data-theme] #deposit-page .deposit-tabs{gap:4px;padding:3px;margin-bottom:14px}
 html[data-theme] #deposit-page .deposit-tabs button{font-size:12px;min-height:50px}
 html[data-theme] #deposit-page .deposit-amount-grid{gap:13px 9px}
 html[data-theme] #deposit-page .deposit-amount-grid button{min-height:70px;padding-inline:2px}
 html[data-theme] #deposit-page .deposit-amount-grid button>span{font-size:20px;letter-spacing:-.5px}
 html[data-theme] #deposit-page .deposit-amount-grid small{font-size:11px}
 html[data-theme] #deposit-page .deposit-amount-badge{font-size:8.5px;padding:3px 5px}
 html[data-theme] #deposit-page .deposit-methods button{font-size:12px}
 html[data-theme] #deposit-page #withdraw-method-list button{font-size:12px}
 html[data-theme] #deposit-page .wallet-vip-schedule :is(tbody th,td){font-size:11px;padding-top:12px;padding-bottom:12px}
 html[data-theme] #deposit-page .wallet-vip-schedule :is(td.wallet-vip-daily,td.wallet-vip-fee){font-size:10px}
 html[data-theme] #deposit-page .wallet-vip-schedule th{font-size:10px}
 html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary strong{font-size:17px}
 html[data-theme] #deposit-page.first-deposit-open .first-deposit-summary span{font-size:10px}
 html[data-theme] #deposit-page.first-deposit-open .first-deposit-time-label{font-size:10px}
 html[data-theme] #vip-page .vip-benefits{gap:9px}
 html[data-theme] #vip-page .vip-reward-card{padding-inline:11px}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme] #deposit-page :is(.deposit-tabs button,.deposit-amount-grid button,.deposit-methods button,#withdraw-method-list button,.withdraw-account-wrap,.deposit-amount-field,#deposit-submit,.wallet-vip-withdraw),
 html[data-theme] #deposit-page #withdrawal-page .withdraw-confirm{transition:none}
 html[data-theme] #deposit-page :is(.deposit-amount-grid button,.deposit-methods button,#withdraw-method-list button,#deposit-submit,.wallet-vip-withdraw):active,
 html[data-theme] #deposit-page #withdrawal-page .withdraw-confirm:active,
 html[data-theme] #vip-page .vip-primary:active{transform:none}
}

/* Keep the decision and its cost readable, with no decorative layers. */
html[data-theme] body #deposit-page #withdrawal-page .withdraw-status{margin:10px 0 16px;padding:10px 12px;background:var(--polish-raised);color:var(--polish-ink);font-size:13px}
html[data-theme] body #withdrawal-page .withdraw-remaining{margin:10px 0 0;padding:0;color:var(--polish-ink);font-size:13px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums}
html[data-theme] body #withdrawal-page .withdraw-deposit-card{padding:20px 16px;text-align:left;border-radius:14px;box-shadow:none}
html[data-theme] body #withdrawal-page .withdraw-deposit-card h2{margin-top:14px;font-size:20px;font-weight:650;letter-spacing:-.3px}
html[data-theme] body #withdrawal-page .withdraw-deposit-card>p{font-size:13px}
html[data-theme] body #withdrawal-page .withdraw-deposit-balances{margin:16px 0}
html[data-theme] body #withdrawal-page .withdraw-deposit-next{margin-top:14px}
html[data-theme] body #deposit-page #withdrawal-page .withdraw-fee-summary{border-radius:12px;box-shadow:none}
html[data-theme] body #deposit-page #withdrawal-page .withdraw-fee-net{margin-top:12px;padding-top:12px}
html[data-theme] body #deposit-page #withdrawal-page :is(.withdraw-confirm,#withdraw-deposit-now){border-radius:12px;box-shadow:none}
html[data-theme] body #deposit-page .deposit-amount-placeholder{display:block;min-height:72px;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-raised)}
html[data-theme] body #deposit-page .deposit-methods>div{min-height:60px;align-content:start}
html[data-theme] body #deposit-page .deposit-subtitle{margin:12px 0;color:var(--polish-muted);font-size:13px;line-height:1.5}
html[data-theme] body #deposit-page #deposit-settings-retry{min-height:44px;margin-top:8px;padding:8px 16px;border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-panel);color:var(--polish-accent);font-size:14px;font-weight:600}
html[data-theme] body #deposit-page #deposit-settings-retry:disabled{color:var(--polish-muted)}

html[data-theme] body #deposit-page #withdrawal-page #redemption-access-loading{display:flex;align-items:center;justify-content:center;min-height:220px;margin:0;text-align:center}
html[data-theme] body #deposit-page #withdrawal-page #redemption-access-loading[hidden]{display:none!important}

/* polish-content.css */
/* Reading and interaction polish for both client themes. No media or account state is altered. */
html[data-theme]{--polish-content-shadow:inset 0 1px 0 #ffffff65,0 4px 16px #2523320d;--polish-content-primary:linear-gradient(145deg,#9c5abb,#754093);--polish-content-own:#e6def0;--polish-content-own-ink:#432b55}
html[data-theme="dark"]{--polish-content-shadow:inset 0 1px 0 #ffffff09,0 7px 22px #00000024;--polish-content-primary:linear-gradient(145deg,#8352a3,#603981);--polish-content-own:#44334f;--polish-content-own-ink:#f2e7fa}

/* Invitations use calm surfaces and a clear numeric hierarchy. */
html[data-theme] #share-page{background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] #share-page :is(.share-stat,.share-link-card,.share-rules-card,.share-records-card){background:var(--polish-panel);border-color:var(--polish-border);border-radius:18px;box-shadow:var(--polish-content-shadow)}
html[data-theme] #share-page .share-stats{gap:11px;margin-block:16px}
html[data-theme] #share-page .share-stat{padding:15px 14px 14px}
html[data-theme] #share-page .share-stat.is-reward{background:var(--polish-panel)}
html[data-theme] #share-page .share-stat-label{color:var(--polish-muted);font-size:12px;line-height:1.45;font-weight:550}
html[data-theme] #share-page .share-stat-label svg{color:var(--polish-accent)}
html[data-theme] #share-page .share-stat strong{margin-top:8px;color:var(--polish-ink);font-size:25px;line-height:1.2;font-weight:720;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
html[data-theme] #share-page .share-stat.is-reward strong{color:var(--polish-accent)}
html[data-theme] #share-page :is(.share-link-card,.share-rules-card,.share-records-card){padding:18px 16px}
html[data-theme] #share-page .share-section-heading h3{color:var(--polish-ink);font-size:16px;font-weight:680;line-height:1.4;letter-spacing:-.2px}
html[data-theme] #share-page :is(.share-private-label,.share-link-card>p:not(.share-feedback),.share-rules-card>p,.share-rules-card li,.share-empty p){color:var(--polish-muted);font-size:12px;line-height:1.65}
html[data-theme] #share-page .share-private-label{font-size:11px}
html[data-theme] #share-page .share-link-field{background:var(--polish-raised);border-color:var(--polish-border);border-radius:12px;box-shadow:inset 0 1px 3px #24133005}
html[data-theme] #share-page .share-link-field input{height:46px;color:var(--polish-ink);font-size:12px}
html[data-theme] #share-page :is(.share-copy-small,.share-feedback){color:var(--polish-accent)}
html[data-theme] #share-page .share-feedback{font-size:12px;line-height:1.5}
html[data-theme] #share-page .share-invite-actions{gap:10px;margin-top:13px}
html[data-theme] #share-page .share-invite-primary{background:var(--polish-primary,var(--polish-content-primary));border-color:#8c58a7;border-radius:13px;min-height:48px;color:#fff8ff;font-weight:650;box-shadow:inset 0 1px 0 #ffffff1d,0 3px 8px #38204715}
html[data-theme] #share-page :is(.share-qr-button,.share-refresh-button,.share-pagination button){background:var(--polish-raised);border-color:var(--polish-border);border-radius:12px;color:var(--polish-accent);box-shadow:inset 0 1px 0 #ffffff08}
html[data-theme] #share-page .share-qr-button{font-size:12px;line-height:1.4;font-weight:650}
html[data-theme] #share-page .share-steps{padding-block:20px 22px}
html[data-theme] #share-page .share-steps>div>span{background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-accent);border-radius:12px}
html[data-theme] #share-page .share-steps b{color:var(--polish-muted);font-size:11px;line-height:1.45;font-weight:550}
html[data-theme] #share-page .share-steps small{background:var(--polish-panel);color:var(--polish-accent);box-shadow:0 0 0 2px var(--polish-canvas)}
html[data-theme] #share-page :is(.share-status-pill,.share-record-count,.share-rates>div,.share-record-avatar,.share-empty>span){background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-accent)}
html[data-theme] #share-page .share-status-pill{font-size:10px;line-height:1.4}
html[data-theme] #share-page .share-rules-card ul{border-color:var(--polish-line);gap:9px;padding-top:14px}
html[data-theme] #share-page .share-rates>div{border-radius:12px}
html[data-theme] #share-page .share-rates span{color:var(--polish-muted);font-size:11px;line-height:1.45}
html[data-theme] #share-page .share-rates strong{color:var(--polish-accent);font-size:24px;font-variant-numeric:tabular-nums}
html[data-theme] #share-page .share-record{padding-block:15px;border-color:var(--polish-line)}
html[data-theme] #share-page .share-record-main>strong{color:var(--polish-ink);font-size:13px;line-height:1.45;font-weight:650}
html[data-theme] #share-page :is(.share-record-main>small,.share-record-status,.share-record-reward small,.share-pagination){color:var(--polish-muted);font-size:11px;line-height:1.5}
html[data-theme] #share-page .share-record-reward strong{color:var(--polish-accent);font-size:15px;line-height:1.35;font-weight:650}
html[data-theme] #share-page .share-empty{padding-block:30px}
html[data-theme] #share-page .share-empty strong{color:var(--polish-ink);font-size:14px;font-weight:650}
html[data-theme] #share-page .share-claim-card{border-radius:18px;box-shadow:var(--polish-content-shadow)}
html[data-theme] #share-page .share-claim-label{font-size:12px;line-height:1.45}
html[data-theme] #share-page .share-claim-summary strong{font-size:28px;font-weight:720;line-height:1.2;letter-spacing:-.5px}
html[data-theme] #share-page :is(.share-claim-note,.share-claim-message){font-size:11px;line-height:1.6}
html[data-theme] #share-page .share-claim-button{min-height:46px;border-radius:12px;font-size:14px;font-weight:650;transition:background .16s,border-color .16s,box-shadow .16s}
html[data-theme] #share-page .share-claim-button:disabled{background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-muted);box-shadow:none;opacity:1}

/* QR sheet chrome only. The invitation pass and all poster/QR pixels are kept intact. */
html[data-theme] .app~dialog.share-sheet[data-share-mode="qr"]{background:var(--polish-panel);border-color:var(--polish-border);color:var(--polish-ink);box-shadow:0 -12px 45px #17101f30}
html[data-theme] dialog.share-sheet[data-share-mode="qr"]>h2{color:var(--polish-ink);font-size:20px;font-weight:680;line-height:1.3;letter-spacing:-.35px}
html[data-theme] dialog.share-sheet[data-share-mode="qr"] :is(.share-sheet-description,.share-sheet-link-label,.share-sheet-status){color:var(--polish-muted);line-height:1.6}
html[data-theme] dialog.share-sheet[data-share-mode="qr"] .share-sheet-description{font-size:12px}
html[data-theme] dialog.share-sheet[data-share-mode="qr"] :is(.share-sheet-close,.share-qr-button){background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-accent);box-shadow:none}
html[data-theme] dialog.share-sheet[data-share-mode="qr"] .share-sheet-link{background:var(--polish-raised);border-color:var(--polish-border);border-radius:11px;color:var(--polish-muted);font-size:11px}
html[data-theme] dialog.share-sheet[data-share-mode="qr"] .share-sheet-handle{background:var(--polish-border)}

/* Content destinations share the same card and title grammar. */
html[data-theme] :is(.updates-page,.offers-page,.support-page){background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] :is(.updates-menu-card,.updates-detail-card,.offer-detail-content,.support-help-card){background:var(--polish-panel);border-color:var(--polish-border);border-radius:18px;box-shadow:var(--polish-content-shadow)}
html[data-theme] .updates-menu{gap:12px}
html[data-theme] .updates-menu-card{min-height:78px;padding:15px 16px;transition:background .16s,border-color .16s,box-shadow .16s}
html[data-theme] .updates-menu-title{color:var(--polish-ink);font-size:15px;font-weight:650;line-height:1.45;letter-spacing:-.15px}
html[data-theme] .updates-menu-arrow{color:var(--polish-muted);opacity:.75}
html[data-theme] :is(.updates-detail-card h2,.offer-detail-content h2,.support-help-card h2){color:var(--polish-ink);font-weight:680;line-height:1.35;letter-spacing:-.3px}
html[data-theme] :is(.updates-creator-note,.updates-detail-card p,.offer-detail-content p,.support-intro,.support-more-help,.support-detailed-answer,.support-faq-answer){color:var(--polish-muted);font-size:14px;line-height:1.7}
html[data-theme] .updates-creator-note{font-size:11px;line-height:1.45}
html[data-theme] :is(.updates-back,.support-help-back,.support-agent-icon){background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-accent);box-shadow:none}
html[data-theme] .updates-mini-stage{text-shadow:none}
html[data-theme] .offer-banner{border-color:var(--polish-border);border-radius:19px;box-shadow:0 4px 13px #21142e10}
html[data-theme] .offer-detail-content{padding:21px 18px}
html[data-theme] .support-help-card{padding:20px 16px 17px;border-radius:6px 19px 19px 19px}
html[data-theme] .support-help-card h2{font-size:20px}
html[data-theme] :is(.support-topic-option,.support-faq){background:var(--polish-raised);border-color:var(--polish-border);border-radius:11px;color:var(--polish-accent);box-shadow:inset 0 1px 0 #ffffff08;transition:background .16s,border-color .16s}
html[data-theme] .support-topic-option{min-height:48px;padding:12px;font-size:13px;line-height:1.5;font-weight:600}
html[data-theme] :is(.support-topic-option[aria-pressed="true"],.support-faq[open]){border-color:var(--polish-accent);background:var(--polish-panel)}
html[data-theme] :is(.support-faq summary,.support-faq-number,.support-subtopic-title){color:var(--polish-accent)}
html[data-theme] .support-subtopic-title{font-size:14px;line-height:1.55;font-weight:650}
html[data-theme] .support-availability{color:var(--polish-muted);border-color:var(--polish-line);font-size:12px;line-height:1.6}
html[data-theme] .support-user-avatar{background:var(--polish-raised);color:var(--polish-accent)}
html[data-theme] .support-user-bubble{background:var(--polish-content-primary);color:#fff6ff;box-shadow:0 3px 9px #33214114}
html[data-theme] .support-contact-actions :is(.support-live-agent,.support-facebook){min-height:46px;border-radius:12px;font-size:13px;line-height:1.4;font-weight:650}
html[data-theme] .support-contact-actions .support-live-agent{background:var(--polish-primary,var(--polish-content-primary));color:#fff8ff;box-shadow:inset 0 1px 0 #ffffff17,0 3px 8px #38204713}

/* Long-form reading: neutral backgrounds, consistent small-print, relaxed leading. */
html[data-theme] body:has(>.official-page),html[data-theme] body:has(>.community),html[data-theme] body:has(>.mail-app){background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme]:has(body>.mail-app){background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] :is(.official-page,.community){background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] :is(.official-post,.community-post,.feed-composer){background:var(--polish-panel);border-color:var(--polish-border);border-radius:18px;box-shadow:var(--polish-content-shadow)}
html[data-theme] :is(.official-post,.community-post){margin:14px 12px 0;padding:19px 14px;gap:11px}
html[data-theme] .community-post{margin-bottom:14px}
html[data-theme] :is(.official-page .post-avatar,.community .post-avatar){border-color:var(--polish-line);border-radius:11px;box-shadow:0 2px 5px #25182e0c}
html[data-theme] :is(.official-page .feed-heading strong,.community .feed-tools strong){color:var(--polish-ink);font-size:15px;font-weight:650;letter-spacing:-.1px}
html[data-theme] :is(.official-page .post-content h2,.community .post-content h3){color:var(--polish-accent);font-size:14px;font-weight:650;line-height:1.45;letter-spacing:-.1px}
html[data-theme] :is(.official-page .post-content>p,.community .post-text){color:var(--polish-ink);font-size:15px;line-height:1.72;font-weight:400}
html[data-theme] .official-page .post-content .post-title{color:var(--polish-ink);font-size:15px;font-weight:650;line-height:1.5}
html[data-theme] :is(.official-page .preview-note,.official-page .post-meta,.official-page .feed-end,.community .post-meta,.community #status){color:var(--polish-muted);font-size:12px;line-height:1.55}
html[data-theme] :is(.official-page .feed-heading>span,.official-page .post-meta button,.community .post-meta button,.community .feed-tools button,.community #more){background:var(--polish-raised);border-color:var(--polish-border);border-radius:9px;color:var(--polish-accent);font-size:12px;line-height:1.4;box-shadow:none}
html[data-theme] .official-page .post-meta button[aria-pressed="true"]{background:var(--polish-content-own);color:var(--polish-accent)}
html[data-theme] :is(.official-page .post-reactions,.official-page .post-comments p){background:var(--polish-raised);border-color:var(--polish-line);border-radius:10px;color:var(--polish-muted);font-size:13px;line-height:1.65}
html[data-theme] .official-page .post-comments strong{color:var(--polish-accent);font-weight:650}
html[data-theme] .official-page .post-support{color:var(--polish-accent);font-size:13px;line-height:1.6;font-weight:600}
html[data-theme] .official-page .official-sticky-title{background:var(--polish-panel);border-color:var(--polish-line);box-shadow:0 3px 10px #17101e0c}
html[data-theme] .official-page .official-sticky-title strong{color:var(--polish-ink);font-size:17px;font-weight:650}
html[data-theme] .official-page .official-sticky-title a{color:var(--polish-accent)}
html[data-theme] .official-page .comment-form textarea{background:var(--polish-raised);border-color:var(--polish-border);border-radius:12px;color:var(--polish-ink);font-size:15px;line-height:1.6}
html[data-theme] :is(.official-page .comment-form label,.official-page .comment-form small){color:var(--polish-muted);font-size:12px;line-height:1.6}
html[data-theme] .community .community-profile{background:var(--polish-panel);border-color:var(--polish-line)}
html[data-theme] .community .community-cover{background-color:#5a4d69;background-image:linear-gradient(135deg,#5a4d69,#7b688b)}
html[data-theme="dark"] .community .community-cover{background-color:#282631;background-image:linear-gradient(135deg,#282631,#4b4058)}
html[data-theme] .community .community-profile>img{border-color:var(--polish-panel);box-shadow:0 4px 14px #21142e18}
html[data-theme] .community .community-profile h2{color:var(--polish-ink);font-size:17px;font-weight:680;line-height:1.4;letter-spacing:-.2px}
html[data-theme] .community .community-profile p{color:var(--polish-muted);font-size:13px;line-height:1.6}
html[data-theme] .community .feed-composer{padding:14px 14px 0}
html[data-theme] .community .feed-composer-main button{background:var(--polish-raised);border-color:var(--polish-border);border-radius:24px;color:var(--polish-muted);font-size:14px;line-height:1.5}
html[data-theme] :is(.community .feed-composer-actions,.community .feed-composer-actions button+button){border-color:var(--polish-line)}
html[data-theme] .community .feed-composer-actions button{color:var(--polish-muted);font-size:13px;line-height:1.4;font-weight:600}
html[data-theme] .community .post-media{background:var(--polish-raised);border-radius:13px}
html[data-theme] :is(#attachment img,#attachment video){background:var(--polish-raised);border-radius:12px}
html[data-theme] #composer{background:var(--polish-panel);border-color:var(--polish-border);border-radius:20px;color:var(--polish-ink);box-shadow:0 18px 60px #160e243d}
html[data-theme] #composer .composer-heading h2{color:var(--polish-ink);font-size:18px;font-weight:680;letter-spacing:-.2px}
html[data-theme] #composer #post-text{background:transparent;color:var(--polish-ink);font-size:15px;line-height:1.7}
html[data-theme] #composer :is(.composer-heading button,.upload-actions label){background:var(--polish-raised);border-color:var(--polish-border);border-radius:11px;color:var(--polish-accent);font-size:13px;line-height:1.45;font-weight:600}
html[data-theme] #composer #publish{background:var(--polish-primary,var(--polish-content-primary));color:#fff8ff}
html[data-theme] #composer .upload-note{color:var(--polish-muted);font-size:12px;line-height:1.55}
html[data-theme] #composer::backdrop{background:#15101f99;backdrop-filter:blur(3px)}
html[data-theme] :is(.official-page .comment-form textarea,#composer #post-text)::placeholder{color:var(--polish-muted);opacity:.85}

/* Chat remains a quiet reading surface, including media and order attachments. */
html[data-theme] body.client-chat-body{background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] .client-chat{background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] .client-chat :is(.chat-topbar,.chat-compose-area){background:var(--polish-panel);border-color:var(--polish-line);box-shadow:0 2px 12px #160e2408}
html[data-theme] .client-chat .chat-topbar h1{color:var(--polish-ink);font-size:18px;font-weight:680;line-height:1.4;letter-spacing:-.2px}
html[data-theme] .client-chat :is(.chat-back,.chat-plus,#chat-emoji,.chat-feedback,.chat-pending button){color:var(--polish-accent)}
html[data-theme] .client-chat :is(.chat-topbar p,.chat-topbar .chat-timezone,.chat-message-meta){color:var(--polish-muted);font-size:11px;line-height:1.5}
html[data-theme] .client-chat .chat-history{background:var(--polish-canvas);padding:20px 14px}
html[data-theme] .client-chat :is(.chat-welcome,.chat-message-bubble,.chat-bubble){background:var(--polish-panel);border-color:var(--polish-border);border-radius:5px 18px 18px 18px;color:var(--polish-ink);box-shadow:var(--polish-content-shadow);font-size:15px;line-height:1.68;padding:13px 15px}
html[data-theme] .client-chat .chat-message-own :is(.chat-message-bubble,.chat-bubble){background:var(--polish-content-own);border:1px solid var(--polish-border);border-radius:18px 5px 18px 18px;color:var(--polish-content-own-ink);box-shadow:0 3px 12px #2413300b}
html[data-theme] .client-chat .chat-order-card{background:var(--polish-raised);border-color:var(--polish-line);border-radius:11px;color:var(--polish-ink);padding:10px 12px}
html[data-theme] .client-chat .chat-order-card p{font-size:13px;line-height:1.55}
html[data-theme] .client-chat .chat-message-own .chat-order-card{background:#ffffff0b;border-color:var(--polish-line);color:inherit}
html[data-theme] .client-chat #chat-input{background:var(--polish-raised);border-color:var(--polish-border);border-radius:14px;color:var(--polish-ink);font-size:16px;line-height:1.45;box-shadow:inset 0 1px 3px #24133004;resize:none;scrollbar-width:none}
html[data-theme] .client-chat #chat-input::-webkit-scrollbar{display:none}
html[data-theme] .client-chat #chat-input::placeholder{color:var(--polish-muted);opacity:.85;font-size:13px}
html[data-theme] .client-chat :is(.chat-add-menu,.chat-pending,.chat-load-older){background:var(--polish-raised);border-color:var(--polish-border);border-radius:12px;color:var(--polish-ink)}
html[data-theme] .client-chat .chat-add-menu button{color:var(--polish-muted);font-size:13px;line-height:1.5}
html[data-theme] .client-chat .chat-add-menu button span{background:var(--polish-panel);border-color:var(--polish-border);border-radius:13px;color:var(--polish-accent);box-shadow:var(--polish-content-shadow)}
html[data-theme] .client-chat .chat-compose .chat-send{background:var(--polish-primary,var(--polish-content-primary));border:1px solid #9163a8;border-radius:12px;color:#fff8ff;font-size:13px;font-weight:650;box-shadow:inset 0 1px 0 #ffffff12}
html[data-theme] .client-chat .chat-compose .chat-send:disabled{background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-muted);opacity:1}
html[data-theme] .client-chat .chat-welcome-action{border-radius:11px;font-size:12px;font-weight:650;line-height:1.45;min-height:42px}
html[data-theme] .client-chat .chat-welcome-live{background:var(--polish-primary,var(--polish-content-primary));color:#fff8ff}
html[data-theme] #chat-order-dialog{background:var(--polish-panel);border-color:var(--polish-border);border-radius:20px;color:var(--polish-ink);box-shadow:0 18px 60px #160e243d}
html[data-theme] #chat-order-dialog :is(p,.chat-order-close){color:var(--polish-muted);font-size:13px;line-height:1.6}
html[data-theme] #chat-order-dialog .chat-order-choice{background:var(--polish-raised);border-color:var(--polish-border);border-radius:12px;color:var(--polish-ink);font-size:14px;line-height:1.65}

/* Inbox: stronger unread hierarchy, calmer read states and comfortable letter spacing. */
html[data-theme] .mail-app{background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] .mail-app .mail-header{background:var(--polish-panel);border-color:var(--polish-line);box-shadow:0 2px 10px #21142e08}
html[data-theme] .mail-app .mail-header h1{color:var(--polish-ink);font-size:20px;font-weight:650;line-height:1.4;letter-spacing:-.3px}
html[data-theme] .mail-app :is(.mail-back,#mail-refresh){color:var(--polish-accent)}
html[data-theme] .mail-app :is(.mail-count,.mail-status,.mail-card-meta,.mail-sender time,.mail-empty){color:var(--polish-muted);font-size:12px;line-height:1.6}
html[data-theme] .mail-app .mail-list{gap:11px}
html[data-theme] .mail-app .mail-card{background:var(--polish-raised);border-color:var(--polish-border);border-radius:16px;box-shadow:inset 2px 0 var(--polish-accent),var(--polish-content-shadow);padding:17px 15px;transition:background .16s,border-color .16s,box-shadow .16s}
html[data-theme] .mail-app .mail-card.is-read{background:var(--polish-panel);border-color:var(--polish-line);box-shadow:var(--polish-content-shadow)}
html[data-theme] .mail-app .mail-card-title strong{color:var(--polish-ink);font-size:15px;font-weight:680;line-height:1.4;letter-spacing:-.1px}
html[data-theme] .mail-app .mail-card.is-read .mail-card-title strong{color:var(--polish-muted);font-weight:550}
html[data-theme] .mail-app .mail-card.is-read :is(.mail-card-meta,.mail-card-title svg){color:var(--polish-muted)}
html[data-theme] .mail-app .mail-card-arrow{color:var(--polish-accent);opacity:.8}
html[data-theme] .mail-app .mail-detail{background:var(--polish-panel);border-color:var(--polish-border);border-radius:18px;box-shadow:var(--polish-content-shadow);padding:23px 19px 25px}
html[data-theme] .mail-app .mail-detail h2{color:var(--polish-ink);font-size:22px;font-weight:680;line-height:1.4;letter-spacing:-.35px}
html[data-theme] .mail-app .mail-sender{border-color:var(--polish-line)}
html[data-theme] .mail-app .mail-sender strong{color:var(--polish-accent);font-size:13px;line-height:1.5;font-weight:650}
html[data-theme] .mail-app .mail-body{color:var(--polish-ink);font-size:15px;line-height:1.8;letter-spacing:.02px}
html[data-theme] .mail-app .mail-reward{border-radius:14px;box-shadow:inset 0 1px 0 #ffffff15}
html[data-theme] .mail-app :is(.mail-reward-note,.mail-reward-reason){font-size:12px;line-height:1.65}
html[data-theme] .mail-app :is(.mail-link-button,.mail-claim-button){min-height:47px;border-radius:12px;font-size:14px;line-height:1.5;font-weight:650;box-shadow:inset 0 1px 0 #ffffff1a,0 3px 8px #38204712}
html[data-theme] .mail-app .mail-link-button{background:var(--polish-primary,var(--polish-content-primary));color:#fff8ff;border-color:#9163a8}
html[data-theme] .mail-app .mail-claim-button:disabled{box-shadow:none;opacity:.8}
html[data-theme] .mail-app .mail-pull{background:var(--polish-raised);border-color:var(--polish-border);color:var(--polish-accent);box-shadow:0 4px 16px #21142e20}

/* Small tactile responses; media and financial state never animate as decoration. */
html[data-theme] :is(#share-page button,.updates-menu-card,.support-topic-option,.support-contact-actions button,.official-page .post-meta button,.community .feed-composer button,.community .post-meta button,.mail-app .mail-card,.client-chat .chat-compose button){transition:background .16s,border-color .16s,box-shadow .16s,color .16s}
html[data-theme] :is(#share-page button,.updates-menu-card,.support-topic-option,.support-contact-actions button,.mail-app .mail-card):not(:disabled):active{box-shadow:inset 0 1px 4px #21142e14}
html[data-theme] :is(#share-page button,.updates-menu-card,.support-topic-option,.official-page button,.community button,.mail-app button,.mail-app a,.client-chat button,.client-chat a):focus-visible{outline:2px solid var(--polish-accent);outline-offset:3px}
html[data-theme] :is(.official-page .comment-form textarea,#composer #post-text,.client-chat #chat-input):focus-visible{outline:2px solid var(--polish-accent);outline-offset:2px}
@media(hover:hover){
 html[data-theme] :is(.updates-menu-card,.mail-app .mail-card,.support-topic-option):not(:disabled):hover{background:var(--polish-raised);border-color:var(--polish-accent);box-shadow:var(--polish-content-shadow)}
 html[data-theme] #share-page :is(.share-qr-button,.share-copy-small,.share-refresh-button):not(:disabled):hover{background:var(--polish-panel);color:var(--polish-accent)}
 html[data-theme] :is(.official-page .post-meta button,.community .post-meta button):hover{background:var(--polish-panel);color:var(--polish-accent)}
}
@media(max-width:360px){
 html[data-theme] #share-page .share-stat{padding:14px 12px}
 html[data-theme] #share-page .share-stat strong{font-size:23px}
 html[data-theme] #share-page .share-section-heading h3{font-size:15px}
 html[data-theme] #share-page .share-private-label{font-size:10px}
 html[data-theme] .updates-menu-card{padding:14px 12px}
 html[data-theme] .updates-menu-title{font-size:14px}
 html[data-theme] .support-help-card{padding:18px 13px 15px}
 html[data-theme] .support-help-card h2{font-size:19px}
 html[data-theme] :is(.official-post,.community-post){padding:17px 12px;gap:10px}
 html[data-theme] .mail-app .mail-card{padding:15px 12px;gap:9px}
 html[data-theme] .mail-app .mail-card-meta{font-size:12px;gap:8px}
 html[data-theme] .mail-app .mail-detail{padding:20px 16px 22px}
 html[data-theme] .mail-app .mail-detail h2{font-size:20px}
 html[data-theme] .client-chat .chat-topbar h1{font-size:17px}
 html[data-theme] .client-chat .chat-welcome-actions{grid-template-columns:minmax(0,1fr)}
 html[data-theme] .client-chat .chat-welcome-action{min-width:0;white-space:normal}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme] :is(#share-page button,.updates-menu-card,.support-topic-option,.support-contact-actions button,.official-page button,.community button,.mail-app button,.client-chat button){transition:none}
}
/* Daily check-in shares the lobby's Zeus artwork, gradient and readable copy. */
html[data-theme] body dialog.daily-login-dialog .daily-hero.daily-checkin-hero{height:185px;padding:20px 17px 16px;background-color:#872cb4;background-image:linear-gradient(90deg,#701b9ce8,#842bb773 48%,transparent 76%),url('assets/optimized/promo-atlas.7bebedb56f82.webp');background-size:100% 100%,200% 200%;background-position:center,100% 0;background-repeat:no-repeat;border-bottom:1px solid #ba7fd0}
html[data-theme] body dialog.daily-login-dialog .daily-checkin-hero .daily-brand{display:block;max-width:calc(100% - 40px);margin:0;padding:0;border:0;border-radius:0;background:none;color:#fff;font-size:9px;line-height:13px;font-weight:750;letter-spacing:.45px}
html[data-theme] body dialog.daily-login-dialog .daily-checkin-hero h2{max-width:77%;margin:12px 0 8px;color:#fff;font-size:29px;font-weight:760;font-style:normal;line-height:1.02;letter-spacing:-.8px;text-shadow:none}
html[data-theme] body dialog.daily-login-dialog .daily-checkin-hero h2 em{color:#ffea9e;font-style:normal}
html[data-theme] body dialog.daily-login-dialog .daily-hero.daily-checkin-hero p{max-width:64%;margin:0;color:#fff;font-size:12px;line-height:1.45;font-weight:500;text-shadow:none}
html[data-theme] body #offers-page .offer-banner.daily-checkin-banner{min-height:180px;aspect-ratio:2}
html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-art{background-position:100% 0}
html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-shade{background:linear-gradient(90deg,#701b9ce8,#842bb773 48%,transparent 76%)}
html[data-theme] body #offers-page .daily-checkin-banner .offer-category-tag{left:17px;top:15px;padding:0;border-radius:0;background:none;box-shadow:none;font-size:9px;line-height:13px;font-weight:750;letter-spacing:.45px;color:#fff}
html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-copy{width:77%;padding:37px 17px 14px}
html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-copy>strong{color:#fff;font-size:28px;line-height:1.04;font-weight:760;letter-spacing:-.7px;text-shadow:none}
html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-copy>strong em{color:#ffea9e;font-style:normal}
html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-subtitle{max-width:170px;margin-top:7px;color:#fff;font-size:12px;line-height:1.4}
html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-cta{min-height:29px;padding:6px 11px;font-size:11px;line-height:15px}
@media(max-width:360px){html[data-theme] body dialog.daily-login-dialog .daily-checkin-hero h2{max-width:88%;font-size:25px}html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-copy>strong{font-size:25px}html[data-theme] body #offers-page .daily-checkin-banner .offer-banner-copy{width:86%;padding-inline:14px}html[data-theme] body #offers-page .daily-checkin-banner .offer-category-tag{left:14px}}
/* The generated banner is one 2:1 image; neither location stretches its pixels. */
html[data-theme] body dialog.daily-login-dialog .daily-hero.daily-generated-hero{height:auto;min-height:0;padding:0;background:#6d259a;border-bottom:1px solid #ba7fd0}
html[data-theme] body dialog.daily-login-dialog .daily-generated-hero .daily-generated-image{display:block;position:static;width:100%;height:auto;max-width:100%;object-fit:contain}
html[data-theme] body dialog.daily-login-dialog .daily-hero.daily-generated-hero .daily-artwork-a11y{position:absolute;width:1px;height:1px;max-width:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-theme] body dialog.daily-login-dialog .daily-generated-cta,html[data-theme] body #offers-page .daily-generated-banner>.offer-banner-cta{position:absolute;left:5.5%;bottom:9%;display:inline-flex;align-items:center;gap:12px;min-height:29px;margin:0;padding:6px 11px;border:1px solid #f4d893;border-radius:20px;background:linear-gradient(#fff0c8,#e6b45c);box-shadow:none;color:#6d2c9a;font-size:11px;font-weight:700;line-height:15px;white-space:nowrap}
html[data-theme] body #offers-page .offer-banner.daily-generated-banner{height:auto;min-height:0;aspect-ratio:auto;padding:0;background:#6d259a}
html[data-theme] body #offers-page .daily-generated-banner>.offer-custom-image{position:static;display:block;width:100%;height:auto;object-fit:contain}

/* The Facebook artwork already includes its message and button. */
html[data-theme] body #offers-page .offer-banner.facebook-reward-banner{height:auto;min-height:0;aspect-ratio:auto;padding:0;background:#6a249b}
html[data-theme] body #offers-page .facebook-reward-banner>.offer-custom-image{position:static;display:block;width:100%;height:auto;object-fit:contain}
html[data-theme] body #offers-page .offer-banner.daily-promotions-banner{height:auto;min-height:0;aspect-ratio:auto;padding:0;background:#4c126c}
html[data-theme] body #offers-page .daily-promotions-banner>.offer-custom-image{position:static;display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:360px){html[data-theme] body dialog.daily-login-dialog .daily-generated-cta,html[data-theme] body #offers-page .daily-generated-banner>.offer-banner-cta{min-height:25px;padding:4px 9px;font-size:10px}}

/* profile-home.css */
/* Account profile: a shared cover, centred portrait and readable personal details. */
html[data-theme] #profile-page{padding-bottom:16px;background:var(--polish-canvas);color:var(--polish-ink)}
html[data-theme] #profile-page .profile-cover{height:232px;background-position:center;background-size:cover}
html[data-theme] #profile-page .profile-cover:not(.has-profile-cover){background:linear-gradient(180deg,#b9b8c1 0%,#d9d6df 100%)}
html[data-theme="dark"] #profile-page .profile-cover:not(.has-profile-cover){background:linear-gradient(180deg,#38333e 0%,#514859 100%)}
html[data-theme] #profile-page .cover-edit{z-index:2;right:14px;bottom:30px;display:grid;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:9px;border-radius:12px;background:var(--polish-panel);border-color:var(--polish-line);color:var(--polish-ink);box-shadow:0 2px 9px #1b102b16;backdrop-filter:none}
html[data-theme] #profile-page .cover-edit>span{display:none}
html[data-theme] #profile-page .cover-edit svg{width:20px;height:20px}
html[data-theme] #profile-page .profile-info{display:flow-root;position:relative;z-index:1;margin-top:-20px;padding:0 16px 14px;border:0;border-radius:26px 26px 0 0;background:var(--polish-panel);text-align:center}
html[data-theme] #profile-page .avatar-edit{display:block;position:relative;z-index:2;width:128px;height:128px;min-width:128px;margin:-64px auto 0;padding:0;border:5px solid var(--polish-panel);border-radius:50%;box-shadow:0 3px 15px #25162f18;vertical-align:top;overflow:visible}
html[data-theme] #profile-page #profile-avatar{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center}
html[data-theme] #profile-page #profile-avatar[hidden]{display:none}
html[data-theme] #profile-page .avatar-camera{right:-2px;bottom:1px;width:32px;height:32px;border:3px solid var(--polish-panel);background:var(--polish-raised);color:var(--polish-ink);box-shadow:none}
html[data-theme] #profile-page .avatar-camera svg{width:18px;height:18px}
html[data-theme="dark"] #profile-page .avatar-edit:has(#profile-avatar[hidden]),html[data-theme="dark"] #profile-page #avatar-placeholder{background:#3b3544;color:#9a8ca6}
html[data-theme] #profile-page .profile-summary-row,html[data-theme] #profile-page .profile-summary-row.guest-profile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:start;gap:8px 12px;margin:6px 0 0;min-width:0}
html[data-theme] #profile-page .profile-name-row{display:flex;grid-column:1;grid-row:1;justify-content:flex-start;align-items:center;gap:5px;flex-wrap:nowrap;min-width:0;max-width:100%;margin:0;text-align:left}
html[data-theme] #profile-page .profile-name-row h2{flex:0 1 auto;min-width:0;margin:0;max-width:100%;font-size:24px;line-height:1.25;letter-spacing:-.5px;font-weight:720;color:var(--polish-ink);overflow-wrap:anywhere}
html[data-theme] #profile-page #profile-name-edit{display:block;width:100%;min-width:0;min-height:0;height:auto;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;overflow-wrap:anywhere;box-shadow:none}
html[data-theme] #profile-page #profile-name-edit:focus-visible{outline:2px solid var(--polish-accent);outline-offset:3px}
html[data-theme] #profile-page .profile-name-row #edit-name{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;margin:1px 0 0;padding:6px;border:1px solid var(--polish-border);border-radius:9px;background:var(--polish-raised);color:var(--polish-accent);box-shadow:none}
html[data-theme] #profile-page .profile-name-row #edit-name svg{width:15px;height:15px}
html[data-theme] #profile-page .profile-identity-right{display:flex;grid-column:2;grid-row:1;flex-direction:column;align-items:flex-end;gap:0;max-width:100%;min-width:0;margin:0;padding:0;text-align:right}
html[data-theme] #profile-page .profile-identity-right .profile-id-row,html[data-theme] #profile-page .profile-email-row{display:flex;align-items:center;justify-content:flex-end;gap:3px;min-height:25px;max-width:100%;margin:0;color:var(--polish-muted);font-size:13px;line-height:1.45;text-align:right}
html[data-theme] #profile-page .profile-email-row[hidden]{display:none}
html[data-theme] #profile-page .profile-email{min-width:0;margin:0;color:inherit;font:inherit;overflow-wrap:anywhere;white-space:normal}
html[data-theme] #profile-page :is(#profile-copy-id,#profile-copy-email){flex:0 0 26px;display:grid;place-items:center;width:26px;min-width:26px;height:26px;min-height:26px;padding:5px;color:var(--polish-accent)}
html[data-theme] #profile-page :is(#profile-copy-id,#profile-copy-email) svg{width:15px;height:15px}
html[data-theme] #profile-page .profile-info .profile-access-row{display:flex;align-items:stretch;min-width:0;margin:0}
html[data-theme] #profile-page .profile-info .profile-access-row>.profile-login{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1 1 auto;width:100%;min-width:0;max-width:100%;height:40px;min-height:40px;margin:0;padding:8px 9px;border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-raised);color:var(--polish-accent);font-size:12px;font-weight:650;line-height:1.3;box-shadow:none;white-space:nowrap}
html[data-theme] #profile-page .profile-info .profile-access-row>.profile-login svg{flex:0 0 16px;width:16px;height:16px}
html[data-theme] #profile-page .profile-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
html[data-theme] #profile-page .profile-home-actions>button{display:flex;justify-content:center;align-items:center;gap:7px;min-width:0;height:40px;min-height:40px;padding:8px 9px;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-raised);color:var(--polish-ink);font-size:13px;font-weight:650;line-height:1.35;box-shadow:var(--polish-inset)}
html[data-theme] #profile-page .profile-home-actions>button svg{flex:0 0 20px;width:20px;height:20px}
html[data-theme] #profile-page .profile-story-row{position:absolute;z-index:3;top:16px;left:16px;width:calc(50% - 80px);min-width:0}
html[data-theme] #profile-page .profile-story-row>#profile-add-story{display:flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;width:100%;min-width:0;min-height:34px;padding:7px;border:1px solid #8a4da8;border-radius:10px;background:var(--polish-primary,linear-gradient(145deg,#a363c0,#7d419c));color:#fff;font-size:12px;font-weight:650;line-height:1.35;white-space:nowrap;box-shadow:inset 0 1px 0 #ffffff24,0 3px 8px #41234f13}
html[data-theme] #profile-page .profile-story-row>#profile-add-story svg{flex:0 0 16px;width:16px;height:16px}
html[data-theme] #profile-page .profile-home-actions>button:hover{filter:brightness(.97)}
html[data-theme] #profile-page .profile-content{padding:14px 14px 0}
html[data-theme] #profile-gift-code .profile-gift-code-note{flex:none;margin-inline-start:auto;color:var(--polish-accent,#80539a);font-size:13px;font-weight:750;line-height:1.5;white-space:nowrap}
html[data-theme] #profile-gift-code .profile-gift-code-note+b{margin-inline-start:0}
html[data-theme] #profile-page .profile-personal-details{padding:14px 15px 15px;margin:0 0 14px;border:1px solid var(--polish-border);border-radius:17px;background:var(--polish-panel);box-shadow:var(--polish-shadow)}
html[data-theme] #profile-page .profile-personal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
html[data-theme] #profile-page .profile-personal-heading h3{margin:0;color:var(--polish-ink);font-size:15px;line-height:1.4;font-weight:680;letter-spacing:-.15px}
html[data-theme] #profile-page #edit-signature{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:6px;border:0;border-radius:9px;background:transparent;color:var(--polish-accent);box-shadow:none}
html[data-theme] #profile-page #edit-signature svg{width:18px;height:18px}
html[data-theme] #profile-page .profile-signature-row{display:block;margin:0}
html[data-theme] #profile-page .profile-signature-row #profile-signature{min-height:21px;margin:0;color:var(--polish-muted);font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-theme] #profile-page #signature-form{text-align:left;margin-top:12px}
html[data-theme] #profile-page #signature-form label{font-size:12px;color:var(--polish-muted)}
html[data-theme] #profile-page #signature-input{font-family:inherit;font-size:14px;line-height:1.55;border-color:var(--polish-border);background:var(--polish-raised);color:var(--polish-ink)}
html[data-theme] #profile-page #signature-form button{background:var(--polish-raised);color:var(--polish-ink);font-weight:600}
html[data-theme] #profile-page #signature-form button[type=submit]{background:var(--polish-primary,linear-gradient(145deg,#a363c0,#7d419c));color:#fff}
html[data-theme] #profile-page .profile-wallet{padding:14px;border-radius:17px}
html[data-theme] #profile-page .profile-balance{padding:0 2px 11px}
html[data-theme] #profile-page .profile-money-actions{gap:10px}
html[data-theme] #profile-page .profile-money-actions>button{min-height:87px;padding:9px;gap:3px}
html[data-theme] #profile-page .profile-money-actions .payment-icon{width:46px;height:46px;object-fit:contain}
html[data-theme] #profile-page .profile-money-actions>button>b{font-size:14px;line-height:1.35}
html[data-theme] #profile-page .profile-vip{margin-top:14px}

/* The dedicated editor shares the same materials as the profile. */
html[data-theme] dialog.profile-home-editor{width:min(92vw,400px);max-height:86dvh;margin:auto;padding:0;border:1px solid var(--polish-border);border-radius:22px;background:var(--polish-panel);color:var(--polish-ink);box-shadow:0 20px 65px #140d203b;overflow:auto;text-align:left}
html[data-theme] dialog.profile-home-editor::backdrop{background:#160d2466;backdrop-filter:blur(4px)}
html[data-theme] .profile-home-editor .profile-home-editor-head{position:relative;inset:auto;height:auto;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:18px 18px 12px;border-bottom:1px solid var(--polish-line);background:transparent}
html[data-theme] .profile-home-editor .profile-home-editor-head h2{margin:0;color:var(--polish-ink);font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.3px}
html[data-theme] .profile-home-editor .profile-home-editor-head>button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin:0;padding:7px;border:0;border-radius:50%;background:var(--polish-raised);color:var(--polish-muted)}
html[data-theme] .profile-home-editor .profile-home-editor-head>button svg{width:18px;height:18px}
html[data-theme] .profile-home-editor .profile-home-editor-form{padding:16px 18px 18px}
html[data-theme] .profile-home-editor .profile-home-photo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:17px}
html[data-theme] .profile-home-editor .profile-home-photo-actions>button{display:flex;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:43px;padding:9px 7px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-raised);color:var(--polish-accent);font-family:inherit;font-size:12px;line-height:1.4;font-weight:600}
html[data-theme] .profile-home-editor .profile-home-photo-actions>button svg{width:18px;height:18px}
html[data-theme] .profile-home-editor label{display:block;margin:13px 0 6px;color:var(--polish-ink);font-size:13px;font-weight:600}
html[data-theme] .profile-home-editor :is(input,textarea){display:block;box-sizing:border-box;width:100%;min-width:0;margin-top:7px;padding:11px 12px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-raised);color:var(--polish-ink);font-family:inherit;font-size:16px;line-height:1.5;box-shadow:inset 0 1px 2px #21112a05}
html[data-theme] .profile-home-editor textarea{min-height:93px;resize:vertical}
html[data-theme] .profile-home-editor .profile-home-editor-count{margin:5px 0 0;color:var(--polish-muted);font-size:11px;line-height:1.4;text-align:right}
html[data-theme] .profile-home-editor .profile-home-editor-error{margin:12px 0 0;min-height:18px;color:#b6415b;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
html[data-theme="dark"] .profile-home-editor .profile-home-editor-error{color:#f1a4b5}
html[data-theme] .profile-home-editor .profile-home-editor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:13px}
html[data-theme] .profile-home-editor .profile-home-editor-actions>button{min-height:42px;margin:0;padding:10px 15px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-raised);color:var(--polish-ink);font-family:inherit;font-size:13px;font-weight:650;line-height:1.4}
html[data-theme] .profile-home-editor .profile-home-editor-actions>button[type=submit]{background:var(--polish-primary,linear-gradient(145deg,#a363c0,#7d419c));border-color:#8b52a7;color:#fff}
html[data-theme] .profile-home-editor button:disabled{opacity:.55}

@media(max-width:360px){
 html[data-theme] #profile-page .profile-cover{height:196px}
 html[data-theme] #profile-page .avatar-edit{width:112px;height:112px;min-width:112px;margin-top:-56px}
 html[data-theme] #profile-page .profile-info{padding-inline:13px;padding-bottom:14px;border-radius:23px 23px 0 0}
 html[data-theme] #profile-page .profile-summary-row,html[data-theme] #profile-page .profile-summary-row.guest-profile{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px}
 html[data-theme] #profile-page .profile-name-row h2{font-size:22px}
 html[data-theme] #profile-page .profile-identity-right .profile-id-row,html[data-theme] #profile-page .profile-email-row{font-size:12px}
 html[data-theme] #profile-page .profile-story-row{left:13px;width:calc(50% - 70px)}
 html[data-theme] #profile-page .profile-story-row>#profile-add-story svg{display:none}
 html[data-theme] #profile-page .profile-home-actions .profile-access-row>.profile-login svg{display:none}
 html[data-theme] #profile-page .profile-home-actions{gap:7px;margin-top:10px}
 html[data-theme] #profile-page .profile-home-actions>button{gap:5px;padding-inline:7px;font-size:12px}
 html[data-theme] #profile-page .profile-home-actions>button svg{flex-basis:18px;width:18px;height:18px}
 html[data-theme] #profile-page .profile-content{padding-inline:12px}
 html[data-theme] #profile-page .profile-personal-details{padding:12px 13px}
 html[data-theme] .profile-home-editor .profile-home-editor-form{padding-inline:14px}
 html[data-theme] .profile-home-editor .profile-home-editor-head{padding-inline:14px}
}
@media(prefers-reduced-motion:reduce){html[data-theme] #profile-page .profile-home-actions>button{transition:none}}

/* profile-editor.css */
/* Dedicated profile editor, using the same day and night surfaces as the app. */
html[data-theme]:has(dialog.profile-field-screen[open]){overflow:hidden}
html[data-theme] :is(.app.profile-editor-open,.profile-editor-open .app){padding-bottom:0;overflow:clip}
html[data-theme] :is(.app.profile-editor-open,.profile-editor-open .app)>:is(header,.bottom-nav,.gift,#gift-activity-menu,.lobby-back-top){display:none!important}
html[data-theme] .profile-editor-open :is(.gift,.gift-activity-menu,.lobby-back-top){display:none!important}
html[data-theme] #profile-editor-page{display:block;min-width:0;min-height:100dvh;padding:0 0 calc(28px + env(safe-area-inset-bottom,0px));background:var(--polish-panel);color:var(--polish-ink);font-family:var(--polish-font);text-align:left}
html[data-theme] #profile-editor-page[hidden]{display:none}
html[data-theme] #profile-editor-page .profile-editor-header{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:4px;width:100%;height:calc(56px + env(safe-area-inset-top,0px));margin:0;padding:calc(5px + env(safe-area-inset-top,0px)) 12px 5px;border-bottom:1px solid var(--polish-line);background:var(--polish-panel);color:var(--polish-ink);box-shadow:none}
html[data-theme] #profile-editor-page .profile-editor-header h2{grid-column:2;min-width:0;margin:0;font-size:20px;line-height:1.3;font-weight:650;letter-spacing:-.3px;text-align:center;overflow-wrap:anywhere}
html[data-theme] #profile-editor-page .profile-editor-back{display:grid;place-items:center;width:44px;height:44px;min-width:44px;margin:0;padding:9px;border:0;border-radius:50%;background:transparent;color:var(--polish-ink);box-shadow:none}
html[data-theme] #profile-editor-page .profile-editor-back svg{width:26px;height:26px}
html[data-theme] #profile-editor-page .profile-editor-cover{position:relative;height:240px;min-width:0;background-color:var(--polish-raised);background-size:cover;background-position:center}
html[data-theme] #profile-editor-page .profile-editor-cover:not(.has-profile-cover){background-image:linear-gradient(180deg,var(--polish-raised),var(--polish-border))}
html[data-theme] #profile-editor-page :is(.profile-editor-cover-edit,.profile-editor-avatar-edit){display:grid;place-items:center;width:42px;height:42px;min-width:42px;min-height:42px;padding:0;border:3px solid var(--polish-panel);border-radius:50%;background:var(--polish-raised);color:var(--polish-accent);box-shadow:0 2px 8px #160f2114}
html[data-theme] #profile-editor-page .profile-editor-cover-edit{position:absolute;right:16px;bottom:15px;z-index:3}
html[data-theme] #profile-editor-page :is(.profile-editor-cover-edit,.profile-editor-avatar-edit) svg{display:block;width:23px;height:23px}
html[data-theme] #profile-editor-page .profile-editor-identity{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;min-width:0;margin:-80px 0 0;padding:0 20px 20px;text-align:center}
html[data-theme] #profile-editor-page .profile-editor-avatar{display:grid;place-items:center;flex:0 0 160px;width:160px;height:160px;min-width:160px;overflow:hidden;border:5px solid var(--polish-panel);border-radius:50%;background:var(--polish-raised);color:var(--polish-muted)}
html[data-theme] #profile-editor-page .profile-editor-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}
html[data-theme] #profile-editor-page .profile-editor-avatar-placeholder{display:grid;place-items:center;width:100%;height:100%;color:var(--polish-muted);font-size:48px;font-weight:650;line-height:1}
html[data-theme] #profile-editor-page .profile-editor-avatar-placeholder svg{width:94px;height:94px;max-width:70%;max-height:70%}
html[data-theme] #profile-editor-page .profile-editor-avatar-edit{position:absolute;top:114px;left:calc(50% + 43px);z-index:3}
html[data-theme] #profile-editor-page .profile-editor-name{display:none}
html[data-theme] #profile-editor-page .profile-editor-sections{display:grid;min-width:0;gap:12px;padding:0 16px}
html[data-theme] #profile-editor-page .profile-editor-section{min-width:0;margin:0;border:1px solid var(--polish-line);border-radius:14px;background:var(--polish-canvas);box-shadow:none}
html[data-theme] #profile-editor-page .profile-editor-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin:0;padding:12px 14px;list-style:none;color:var(--polish-ink);font-size:17px;line-height:1.35;font-weight:680;letter-spacing:-.25px;cursor:pointer;-webkit-tap-highlight-color:transparent}
html[data-theme] #profile-editor-page .profile-editor-section>summary::-webkit-details-marker{display:none}
html[data-theme] #profile-editor-page .profile-editor-section>summary::marker{content:""}
html[data-theme] #profile-editor-page .profile-editor-section>summary>span{min-width:0;overflow-wrap:anywhere}
html[data-theme] #profile-editor-page .profile-editor-section>summary>span:last-child{display:block;flex:0 0 20px;width:20px;height:20px;color:var(--polish-muted);transition:transform .18s ease}
html[data-theme] #profile-editor-page .profile-editor-section>summary>span:last-child svg{display:block;width:20px;height:20px}
html[data-theme] #profile-editor-page .profile-editor-section[open]>summary>span:last-child{transform:rotate(180deg)}
html[data-theme] #profile-editor-page .profile-editor-section-body{display:grid;min-width:0;gap:0;padding:0 10px 5px;border-top:1px solid var(--polish-line)}
html[data-theme] #profile-editor-page .profile-editor-row{display:flex;align-items:center;gap:12px;min-width:0;min-height:62px;width:100%;margin:0;padding:10px 4px;border:0;border-radius:8px;background:transparent;color:var(--polish-ink);text-align:left;box-shadow:none}
html[data-theme] #profile-editor-page .profile-editor-row+.profile-editor-row{border-top:1px solid var(--polish-line);border-top-left-radius:0;border-top-right-radius:0}
html[data-theme] #profile-editor-page .profile-editor-row-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:var(--polish-raised);color:var(--polish-accent)}
html[data-theme] #profile-editor-page .profile-editor-row-icon svg{display:block;width:20px;height:20px}
html[data-theme] #profile-editor-page .profile-editor-row-copy{display:block;flex:1 1 auto;min-width:0}
html[data-theme] #profile-editor-page .profile-editor-row-copy>strong{display:block;margin:0;color:var(--polish-ink);font-size:16px;line-height:1.4;font-weight:600;letter-spacing:-.1px;overflow-wrap:anywhere}
html[data-theme] #profile-editor-page .profile-editor-row-copy>small{display:-webkit-box;margin-top:3px;overflow:hidden;color:var(--polish-ink);font-size:13px;line-height:1.4;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
html[data-theme] #profile-editor-page .profile-editor-row-copy>small:empty{display:none}
html[data-theme] #profile-editor-page .profile-editor-row-copy>small.is-placeholder{color:var(--polish-muted)}
html[data-theme] #profile-editor-page .profile-editor-row-action{display:block;flex:0 0 20px;width:20px;height:20px;margin-left:4px;color:var(--polish-muted)}
html[data-theme] #profile-editor-page .profile-editor-row-action svg{display:block;width:20px;height:20px}
html[data-theme] #profile-editor-page :is(button,summary):focus-visible{outline:2px solid var(--polish-focus);outline-offset:3px}
html[data-theme] dialog.profile-field-dialog{position:fixed;inset:var(--profile-field-viewport-top,0px) 0 auto;width:min(100%,430px);max-width:430px;height:var(--profile-field-viewport-height,100dvh);max-height:none;margin:0 auto;padding:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:calc(64px + env(safe-area-inset-top,0px));border:0;border-radius:0;background:var(--polish-panel);color:var(--polish-ink);font-family:var(--polish-font);text-align:left;box-shadow:none;scrollbar-width:thin;scrollbar-color:var(--polish-border) transparent}
html[data-theme] dialog.profile-field-dialog::backdrop{background:#100c19b3;backdrop-filter:none}
html[data-theme] .profile-field-dialog .profile-field-dialog-header{position:sticky;inset:0 0 auto;z-index:3;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:0;height:calc(56px + env(safe-area-inset-top,0px));min-height:0;margin:0;padding:calc(5px + env(safe-area-inset-top,0px)) 10px 5px;border-bottom:1px solid var(--polish-line);background:var(--polish-panel);color:var(--polish-ink)}
html[data-theme] .profile-field-dialog .profile-field-dialog-header h2{grid-column:2;min-width:0;margin:0;color:var(--polish-ink);font-size:18px;line-height:1.3;font-weight:650;letter-spacing:-.25px;text-align:center;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog .profile-field-close{display:grid;place-items:center;justify-self:start;width:44px;height:44px;min-height:44px;margin:0;padding:9px;border:0;border-radius:50%;background:transparent;color:var(--polish-ink);box-shadow:none}
html[data-theme] .profile-field-dialog .profile-field-close svg{display:block;width:26px;height:26px}
html[data-theme] .profile-field-dialog .profile-field-close>span{display:grid;place-items:center}
html[data-theme] .profile-field-dialog .profile-field-save{display:inline-flex;align-items:center;justify-content:center;justify-self:stretch;min-height:44px;margin:0;padding:7px 3px;border:0;border-radius:9px;background:var(--polish-primary);color:#fff;font-size:13px;line-height:1.4;font-weight:700;white-space:nowrap;box-shadow:none}
html[data-theme] .profile-field-dialog .profile-field-save:disabled{background:var(--polish-raised);color:var(--polish-muted);cursor:default}
html[data-theme] .profile-field-dialog .profile-field-form{min-width:0;margin:0;padding:18px 18px calc(28px + env(safe-area-inset-bottom,0px))}
html[data-theme] .profile-field-dialog .profile-field-form>label{display:block;margin:0 0 9px;color:var(--polish-ink);font-size:15px;line-height:1.5;font-weight:600}
html[data-theme] .profile-field-dialog :is(.profile-field-input,.profile-field-custom){display:block;box-sizing:border-box;width:100%;min-width:0;min-height:46px;margin:0;padding:11px 12px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-raised);color:var(--polish-ink);font-family:inherit;font-size:16px;line-height:1.5;box-shadow:inset 0 1px 2px #21122c05;accent-color:var(--polish-accent)}
html[data-theme] .profile-field-dialog textarea.profile-field-input{min-height:112px;resize:vertical}
html[data-theme] .profile-field-dialog :is(.profile-field-input,.profile-field-custom)::placeholder{color:var(--polish-muted);opacity:1}
html[data-theme] .profile-field-dialog :is(.profile-field-input,.profile-field-custom):focus-visible{border-color:var(--polish-focus);outline:2px solid var(--polish-focus);outline-offset:2px}
html[data-theme] .profile-field-dialog .profile-field-custom{margin-top:10px}
html[data-theme] .profile-field-dialog .profile-birthday-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) minmax(0,1.1fr);gap:10px;min-width:0;margin-top:5px}
html[data-theme] .profile-field-dialog .profile-birthday-fields>label{display:block;min-width:0;margin:0;color:var(--polish-muted);font-size:13px;line-height:1.5;font-weight:500;text-align:left}
html[data-theme] .profile-field-dialog .profile-birthday-select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:50px;margin-top:8px;padding:11px 8px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-raised);color:var(--polish-ink);font:inherit;font-size:16px;line-height:1.5;accent-color:var(--polish-accent);color-scheme:light}
html[data-theme="dark"] .profile-field-dialog .profile-birthday-select{color-scheme:dark}
html[data-theme] .profile-field-dialog .profile-birthday-select:focus-visible{border-color:var(--polish-focus);outline:2px solid var(--polish-focus);outline-offset:2px}
html[data-theme] .profile-field-dialog .profile-field-input-wrap{position:relative;min-width:0}
html[data-theme] .profile-field-dialog .profile-place-search{min-height:48px;padding-left:42px;border-color:var(--polish-line);background:var(--polish-raised);border-radius:11px;appearance:none;-webkit-appearance:none}
html[data-theme] .profile-field-dialog .profile-field-input-wrap:has(>.profile-place-search)::before{content:"";position:absolute;z-index:1;top:15px;left:15px;width:13px;height:13px;box-sizing:border-box;border:1.8px solid var(--polish-muted);border-radius:50%;pointer-events:none}
html[data-theme] .profile-field-dialog .profile-field-input-wrap:has(>.profile-place-search)::after{content:"";position:absolute;z-index:1;top:28px;left:27px;width:6px;height:2px;border-radius:2px;background:var(--polish-muted);transform:rotate(45deg);transform-origin:left center;pointer-events:none}
html[data-theme] .profile-field-dialog .profile-place-search::-webkit-search-decoration,html[data-theme] .profile-field-dialog .profile-place-search::-webkit-search-cancel-button{-webkit-appearance:none}
html[data-theme] .profile-field-dialog .profile-place-results{display:grid;min-width:0;gap:0;margin:10px 0 0;padding:0}
html[data-theme] .profile-field-dialog .profile-place-results:empty{margin:0}
html[data-theme] .profile-field-dialog .profile-place-option{display:grid;grid-template-columns:36px minmax(0,1fr) 22px;align-items:center;gap:12px;width:100%;min-width:0;min-height:73px;margin:0;padding:12px 0;border:0;border-bottom:1px solid var(--polish-line);border-radius:0;background:transparent;color:var(--polish-ink);text-align:left;box-shadow:none}
html[data-theme] .profile-field-dialog .profile-place-icon{display:grid;place-items:center;width:36px;height:36px;color:var(--polish-muted)}
html[data-theme] .profile-field-dialog .profile-place-icon svg{display:block;width:25px;height:25px}
html[data-theme] .profile-field-dialog .profile-place-copy{display:block;min-width:0}
html[data-theme] .profile-field-dialog .profile-place-copy>strong{display:block;margin:0;color:var(--polish-ink);font-size:16px;line-height:1.4;font-weight:550;letter-spacing:-.1px;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog .profile-place-copy>small{display:block;margin-top:3px;color:var(--polish-muted);font-size:13px;line-height:1.4;font-weight:400;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog .profile-place-check{display:grid;place-items:center;width:22px;height:22px;color:var(--polish-accent);opacity:0}
html[data-theme] .profile-field-dialog .profile-place-check svg{display:block;width:21px;height:21px}
html[data-theme] .profile-field-dialog .profile-place-option.is-selected .profile-place-check{opacity:1}
html[data-theme] .profile-field-dialog .profile-place-option.is-selected .profile-place-icon{color:var(--polish-accent)}
html[data-theme] .profile-field-dialog :is(.profile-place-option.is-selected,.profile-field-choice.is-selected){background:color-mix(in srgb,var(--polish-accent) 8%,transparent)}
html[data-theme] .profile-field-dialog .profile-place-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:10px 0 0;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--polish-accent);font-size:14px;line-height:1.4;font-weight:600;box-shadow:none}
html[data-theme] .profile-field-dialog .profile-place-more:disabled{color:var(--polish-muted);opacity:.6;cursor:default}
html[data-theme] .profile-field-dialog .profile-place-status{display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;margin:12px 0 0;padding:12px 5px;color:var(--polish-muted);font-size:14px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog .profile-place-status:empty{display:none}
html[data-theme] .profile-field-dialog .profile-place-status:is(.is-loading,[data-state=loading])::before{content:"";display:block;flex:0 0 16px;box-sizing:border-box;width:16px;height:16px;border:2px solid var(--polish-border);border-top-color:var(--polish-accent);border-radius:50%;animation:profile-place-loading .75s linear infinite}
html[data-theme] .profile-field-dialog .profile-place-status:is(.is-error,[data-state=error]){color:#b73d57}
html[data-theme="dark"] .profile-field-dialog .profile-place-status:is(.is-error,[data-state=error]){color:#f196aa}
html[data-theme] .profile-field-dialog .profile-place-attribution{margin:18px 0 0;color:var(--polish-muted);font-size:11px;line-height:1.5;text-align:center}
html[data-theme] .profile-field-dialog .profile-place-attribution:empty{display:none}
html[data-theme] .profile-field-dialog .profile-place-attribution a{color:inherit;text-decoration:underline;text-underline-offset:2px}
html[data-theme] .profile-field-dialog .profile-field-choices{display:grid;min-width:0;gap:0;margin:5px 0 0;padding:0}
html[data-theme] .profile-field-dialog .profile-field-choice{position:relative;display:flex;align-items:center;gap:16px;width:100%;min-width:0;min-height:64px;margin:0;padding:15px 0;border:0;border-bottom:1px solid var(--polish-line);background:transparent;color:var(--polish-ink);font-size:16px;line-height:1.4;font-weight:500;cursor:pointer}
html[data-theme] .profile-field-dialog .profile-field-choice>input[type=radio]{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;opacity:0}
html[data-theme] .profile-field-dialog .profile-field-choice-copy{display:block;flex:1 1 auto;min-width:0}
html[data-theme] .profile-field-dialog .profile-field-choice-copy>strong{display:block;color:var(--polish-ink);font-size:16px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog .profile-field-choice-copy>small{display:block;margin-top:4px;color:var(--polish-muted);font-size:13px;line-height:1.45;font-weight:400;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog .profile-field-choice-copy>small:empty{display:none}
html[data-theme] .profile-field-dialog .profile-field-choice-mark{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;margin-left:auto;box-sizing:border-box;border:2px solid var(--polish-muted);border-radius:50%;background:transparent;color:var(--polish-accent)}
html[data-theme] .profile-field-dialog .profile-field-choice-mark::after{content:"";display:block;width:10px;height:10px;border-radius:50%;background:var(--polish-accent);transform:scale(0)}
html[data-theme] .profile-field-dialog .profile-field-choice:is(.is-selected,:has(input:checked)) .profile-field-choice-mark{border-color:var(--polish-accent)}
html[data-theme] .profile-field-dialog .profile-field-choice:is(.is-selected,:has(input:checked)) .profile-field-choice-mark::after{transform:scale(1)}
html[data-theme] .profile-field-dialog .profile-field-choice:has(input:focus-visible){outline:2px solid var(--polish-focus);outline-offset:3px}
html[data-theme] .profile-field-dialog .profile-field-count{min-height:0;margin:7px 1px 0;color:var(--polish-muted);font-size:11px;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums}
html[data-theme] .profile-field-dialog .profile-field-error{margin:10px 0 0;padding:9px 11px;border:1px solid currentColor;border-radius:8px;color:#b73d57;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html[data-theme="dark"] .profile-field-dialog .profile-field-error{color:#f196aa}
html[data-theme] .profile-field-dialog :is(.profile-field-count,.profile-field-error):empty{display:none}
html[data-theme] .profile-field-dialog .profile-field-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin:20px 0 0;padding:0}
html[data-theme] .profile-field-dialog .profile-field-actions>button{display:inline-flex;align-items:center;justify-content:center;min-width:70px;min-height:42px;margin:0;padding:10px 14px;border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-raised);color:var(--polish-ink);font-size:13px;line-height:1.4;font-weight:600;box-shadow:none}
html[data-theme] .profile-field-dialog .profile-field-actions>button[data-profile-field-clear]{min-width:0;margin-right:auto;padding-inline:5px;border-color:transparent;background:transparent;color:var(--polish-muted)}
html[data-theme] .profile-field-dialog .profile-field-actions>button[type=submit]{border-color:transparent;background:var(--polish-primary,linear-gradient(145deg,#a363c0,#7d419c));color:#fff}
html[data-theme] .profile-field-dialog.profile-field-screen .profile-field-actions{display:block;margin-top:24px;padding:0;border-top:1px solid var(--polish-line)}
html[data-theme] .profile-field-dialog.profile-field-screen .profile-field-actions>.profile-field-remove{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:48px;margin:0;padding:12px 0;border:0;border-radius:0;background:transparent;color:#b73d57;font-size:15px;line-height:1.5;font-weight:500;box-shadow:none;text-align:left}
html[data-theme="dark"] .profile-field-dialog.profile-field-screen .profile-field-actions>.profile-field-remove{color:#f196aa}
html[data-theme] .profile-field-dialog button:focus-visible{outline:2px solid var(--polish-focus);outline-offset:3px}
html[data-theme] .profile-field-dialog [hidden]{display:none!important}
@keyframes profile-place-loading{to{transform:rotate(360deg)}}
@media(hover:hover){
 html[data-theme] #profile-editor-page .profile-editor-row:hover{background:color-mix(in srgb,var(--polish-raised) 50%,transparent)}
 html[data-theme] #profile-editor-page .profile-editor-back:hover{background:var(--polish-raised)}
 html[data-theme] .profile-field-dialog :is(.profile-place-option,.profile-field-choice):hover{background:color-mix(in srgb,var(--polish-raised) 55%,transparent)}
}
@media(max-width:360px){
 html[data-theme] .profile-field-dialog .profile-birthday-fields{gap:7px}
 html[data-theme] .profile-field-dialog .profile-birthday-select{padding-inline:6px}
 html[data-theme] #profile-editor-page .profile-editor-header{height:calc(56px + env(safe-area-inset-top,0px));padding:calc(5px + env(safe-area-inset-top,0px)) 8px 5px}
 html[data-theme] #profile-editor-page .profile-editor-header h2{font-size:19px}
 html[data-theme] #profile-editor-page .profile-editor-cover{height:200px}
 html[data-theme] #profile-editor-page .profile-editor-cover-edit{right:13px;bottom:13px}
 html[data-theme] #profile-editor-page .profile-editor-identity{margin-top:-70px;padding-inline:16px;padding-bottom:18px}
 html[data-theme] #profile-editor-page .profile-editor-avatar{flex-basis:140px;width:140px;height:140px;min-width:140px}
 html[data-theme] #profile-editor-page .profile-editor-avatar-edit{top:98px;left:calc(50% + 36px);width:40px;height:40px;min-width:40px;min-height:40px}
 html[data-theme] #profile-editor-page .profile-editor-name{margin-top:11px;font-size:25px}
 html[data-theme] #profile-editor-page .profile-editor-sections{padding-inline:16px}
 html[data-theme] #profile-editor-page .profile-editor-section>summary{min-height:48px;font-size:16px}
 html[data-theme] #profile-editor-page .profile-editor-row{gap:10px}
 html[data-theme] #profile-editor-page .profile-editor-row-action{margin-left:1px}
 html[data-theme] .profile-field-dialog .profile-field-dialog-header{height:calc(56px + env(safe-area-inset-top,0px));padding:calc(5px + env(safe-area-inset-top,0px)) 6px 5px;grid-template-columns:58px minmax(0,1fr) 58px}
 html[data-theme] .profile-field-dialog .profile-field-dialog-header h2{font-size:17px}
 html[data-theme] .profile-field-dialog .profile-field-save{min-width:58px}
 html[data-theme] .profile-field-dialog .profile-field-form{padding:16px 15px calc(24px + env(safe-area-inset-bottom,0px))}
 html[data-theme] .profile-field-dialog .profile-place-option{grid-template-columns:32px minmax(0,1fr) 22px;gap:10px;min-height:70px}
 html[data-theme] .profile-field-dialog .profile-place-icon{width:32px}
 html[data-theme] .profile-field-dialog .profile-field-actions{gap:6px}
 html[data-theme] .profile-field-dialog .profile-field-actions>button{min-width:64px;padding-inline:11px}
}
@media(prefers-reduced-motion:reduce){html[data-theme] #profile-editor-page .profile-editor-section>summary>span:last-child{transition:none}html[data-theme] .profile-field-dialog .profile-place-status::before{animation:none!important}}
/* Field-specific profile editors share the full-screen workspace and theme. */
html[data-theme] .profile-field-dialog .profile-detail-host{min-width:0}
html[data-theme] .profile-field-dialog .profile-detail-widget{display:grid;gap:16px;min-width:0}
html[data-theme] .profile-field-dialog .profile-detail-helper{margin:0 0 2px;color:var(--polish-muted);font-size:14px;line-height:1.55}
html[data-theme] .profile-field-dialog .profile-detail-label{display:block;min-width:0;margin:0;color:var(--polish-ink);font-size:15px;line-height:1.5;font-weight:600}
html[data-theme] .profile-field-dialog :is(.profile-detail-control,.profile-detail-search){display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin:8px 0 0;padding:11px 13px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-raised);color:var(--polish-ink);font-family:inherit;font-size:16px;line-height:1.5;box-shadow:none;appearance:none;-webkit-appearance:none}
html[data-theme] .profile-field-dialog :is(.profile-detail-control,.profile-detail-search)::placeholder{color:var(--polish-muted);opacity:1}
html[data-theme] .profile-field-dialog :is(.profile-detail-control,.profile-detail-search):focus-visible{border-color:var(--polish-focus);outline:2px solid var(--polish-focus);outline-offset:2px}
html[data-theme] .profile-field-dialog .profile-detail-search{padding-left:14px;margin:0}
html[data-theme] .profile-field-dialog .profile-detail-selected{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
html[data-theme] .profile-field-dialog .profile-detail-selected:empty{display:none}
html[data-theme] .profile-field-dialog .profile-detail-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:38px;padding:3px 5px 3px 12px;border:1px solid var(--polish-border);border-radius:22px;background:var(--polish-raised);color:var(--polish-ink);font-size:14px;line-height:1.4;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog .profile-detail-chip-remove{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin:0;padding:3px;border:0;border-radius:50%;background:transparent;color:var(--polish-muted);font-size:23px;line-height:1;box-shadow:none}
html[data-theme] .profile-field-dialog .profile-detail-options{display:grid;gap:0;min-width:0}
html[data-theme] .profile-field-dialog .profile-detail-option{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:58px;width:100%;margin:0;padding:12px 0;border:0;border-bottom:1px solid var(--polish-line);border-radius:0;background:transparent;color:var(--polish-ink);font-size:16px;line-height:1.4;text-align:left;box-shadow:none;cursor:pointer}
html[data-theme] .profile-field-dialog .profile-detail-option>input[type=checkbox]{flex:0 0 21px;width:21px;height:21px;margin:0;accent-color:var(--polish-accent)}
html[data-theme] .profile-field-dialog .profile-detail-option-copy{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}

html[data-theme] .profile-field-dialog .profile-detail-add{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;width:100%;min-height:46px;padding:11px 13px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-raised);color:var(--polish-accent);font-size:15px;font-weight:600;line-height:1.45;box-shadow:none;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog :is(.profile-detail-status,.profile-detail-error){margin:0;color:var(--polish-muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html[data-theme] .profile-field-dialog :is(.profile-detail-status,.profile-detail-error):empty{display:none}
html[data-theme] .profile-field-dialog .profile-detail-error{color:#b73d57}
html[data-theme="dark"] .profile-field-dialog .profile-detail-error{color:#f196aa}
html[data-theme] .profile-field-dialog .profile-detail-options-heading{margin:4px 0 0;color:var(--polish-muted);font-size:13px;font-weight:600;line-height:1.5}
html[data-theme] .profile-field-dialog .profile-detail-widget :disabled{opacity:.6;cursor:default}
@media(hover:hover){html[data-theme] .profile-field-dialog .profile-detail-option:hover{background:color-mix(in srgb,var(--polish-raised) 55%,transparent)}}
html[data-theme] .profile-field-dialog .profile-detail-subtitle{margin:2px 0 -6px;color:var(--polish-muted);font-size:13px;line-height:1.5;font-weight:600;letter-spacing:0}
html[data-theme] .profile-field-dialog textarea.profile-detail-control{min-height:85px;resize:vertical;white-space:pre-wrap}

/* gift-code.css */
/* Compact redemption dialog uses the same quiet surfaces in both game themes. */
.app~dialog.gift-code-dialog{position:fixed;width:min(386px,calc(100vw - 32px));max-width:386px;max-height:calc(100dvh - 32px);margin:auto;padding:19px 17px 17px;border:1px solid var(--polish-border,#cdbdda);border-radius:19px;background:var(--polish-panel,#f0ebf4);color:var(--polish-ink,#30263b);text-align:left;overflow:auto;box-shadow:0 20px 65px #180f2b45}
dialog.gift-code-dialog::backdrop{background:#17101f91;backdrop-filter:none}
dialog.gift-code-dialog .gift-code-heading{display:flex;align-items:center;gap:10px;margin:0 34px 17px 0}
dialog.gift-code-dialog h2{margin:0;font-size:21px;font-weight:750;letter-spacing:-.35px;line-height:1.3;color:var(--polish-ink,#30263b)}
dialog.gift-code-dialog .gift-code-badge{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:var(--polish-raised,#e8e1ee);color:var(--polish-accent,#8445a5)}
dialog.gift-code-dialog .gift-code-badge svg{width:21px;height:21px}
dialog.gift-code-dialog .gift-code-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;padding:9px;color:var(--polish-accent,#8445a5);background:var(--polish-raised,#e8e1ee)}
dialog.gift-code-dialog .gift-code-close svg{width:18px;height:18px}
dialog.gift-code-dialog .gift-code-form{display:grid;gap:12px}
dialog.gift-code-dialog .gift-code-input-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
dialog.gift-code-dialog #gift-code-input{display:block;width:100%;min-width:0;min-height:49px;margin:0;padding:12px 13px;border:1.5px solid var(--polish-border,#cdbdda);border-radius:12px;background:var(--polish-raised,#e8e1ee);color:var(--polish-ink,#30263b);font:inherit;font-size:15px;line-height:22px;box-shadow:inset 0 1px 2px #30203e05}
dialog.gift-code-dialog #gift-code-input::placeholder{color:var(--polish-muted,#6c5e7b);opacity:1;font-size:13px}
dialog.gift-code-dialog #gift-code-input:focus{outline:none;border-color:var(--polish-accent,#8445a5);box-shadow:0 0 0 3px #9e6fb516}
dialog.gift-code-dialog #gift-code-input[aria-invalid=true]{border-color:#b04e67}
dialog.gift-code-dialog .gift-code-result{margin:0;color:#a43b57;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
dialog.gift-code-dialog .gift-code-result:empty{display:none}
dialog.gift-code-dialog .gift-code-result.is-success{color:#227955}
dialog.gift-code-dialog .gift-code-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
dialog.gift-code-dialog .gift-code-actions button{min-width:0;min-height:44px;padding:10px 7px;border-radius:11px;font-size:14px;font-weight:700;line-height:20px}
dialog.gift-code-dialog .gift-code-facebook{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--polish-border,#cdbdda);background:transparent;color:var(--polish-accent,#8445a5)}
dialog.gift-code-dialog .gift-code-facebook img.facebook-brand-icon{display:block;flex:none;width:22px;height:22px;object-fit:contain;filter:none;opacity:1}
dialog.gift-code-dialog .gift-code-facebook:disabled{cursor:default}
dialog.gift-code-dialog .gift-code-submit{border:1px solid #81449f;background:linear-gradient(120deg,#9851b9,#7d3d9e);color:#fff;box-shadow:0 3px 8px #73408a24}
dialog.gift-code-dialog button:disabled,dialog.gift-code-dialog input:disabled{cursor:wait;opacity:.65}
dialog.gift-code-dialog button:focus-visible{outline:2px solid var(--polish-focus,#9257b1);outline-offset:3px}
html[data-theme=dark] dialog.gift-code-dialog::backdrop{background:#08060dbd}
html[data-theme=dark] dialog.gift-code-dialog .gift-code-result{color:#f1a7b9}
html[data-theme=dark] dialog.gift-code-dialog .gift-code-result.is-success{color:#91dbb6}
html[data-theme=dark] dialog.gift-code-dialog .gift-code-submit{background:linear-gradient(120deg,#9253b2,#794299);border-color:#a16cbe;color:#fff}
.updates-menu-icon.gift-code-menu-icon svg{width:35px;height:35px;color:var(--polish-accent,#a054c5);filter:drop-shadow(0 2px 2px #9561b223)}
@media(max-width:360px){.app~dialog.gift-code-dialog{width:calc(100vw - 28px);padding:17px 14px 14px;border-radius:17px}dialog.gift-code-dialog h2{font-size:20px}dialog.gift-code-dialog .gift-code-heading{margin-bottom:15px}dialog.gift-code-dialog .gift-code-actions{gap:8px}}

dialog.gift-code-dialog .gift-code-limit-note{margin:0;color:var(--polish-muted,#6c5e7b);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
dialog.gift-code-dialog .gift-code-intro{margin:0;color:var(--polish-ink,#30263b);font-size:14px;line-height:1.65}
dialog.gift-code-dialog .gift-code-support-status{margin:0;color:var(--polish-muted,#6c5e7b);font-size:13px;line-height:1.6}
dialog.gift-code-dialog .gift-code-support-status:empty{display:none}

/* readability.css */
/* Client typography. Keep the established surfaces, artwork and icon dimensions. */
html[data-theme] body{font-size:15px;line-height:1.6;font-weight:400;text-rendering:optimizeLegibility}
html[data-theme] body :is(input,textarea,select){font-family:var(--polish-font);font-size:16px;line-height:1.5}
html[data-theme] body :is(input,textarea)::placeholder{color:var(--polish-muted);opacity:1}
html[data-theme] body :is(.toast,.pull-refresh){font-size:14px;line-height:1.5;text-shadow:none}
html[data-theme] body .banner-copy .eyebrow{font-size:10px;line-height:1.4;letter-spacing:.6px}
html[data-theme] body .banner-copy p{font-size:12px;line-height:1.5;font-weight:500;max-width:180px}
html[data-theme] body .banner-copy .banner-cta{font-size:12px;line-height:1.4;font-weight:600;min-height:30px;padding:7px 11px;gap:8px}
html[data-theme] body .banner:not(.managed-banner){min-height:200px}
html[data-theme] body .banner-copy{padding:15px 18px;max-width:73%;gap:0}
html[data-theme] body .banner-copy h2{margin:7px 0 6px}
html[data-theme] body .ticker.glass{font-size:14px;font-weight:400;line-height:1.5;color:var(--polish-ink)}
html[data-theme] body .wallet .account-name{font-size:14px;line-height:1.5;font-weight:600;color:var(--polish-ink)}
html[data-theme] body .wallet .balance-label{font-size:13px;line-height:1.5;font-weight:400}
html[data-theme] body .wallet .wallet-actions button>span{font-size:14px;line-height:1.4;font-weight:600;text-shadow:none}
html[data-theme] body #lobby-page .categories button{font-size:13px;line-height:1.35;font-weight:600;overflow-wrap:normal}
html[data-theme] body .game-placeholder-label,
html[data-theme] body .game-placeholder>span:last-child{font-size:13px;line-height:1.5;font-weight:400}
html[data-theme] body .game-load-footer{font-size:13px;line-height:1.6}
html[data-theme] body .game-load-more{font-size:14px;line-height:1.5;font-weight:500}
html[data-theme] body .bottom-nav button,
html[data-theme] body .app.deposit-open .bottom-nav button{font-size:13px;line-height:1.35;font-weight:600;letter-spacing:0;text-shadow:none}
html[data-theme] body .bottom-nav button.bottom-deposit>.bottom-deposit-label{font-size:13px;line-height:1.35;font-weight:600}
html[data-theme] body #profile-page .profile-identity-right .profile-id-row,
html[data-theme] body #profile-page .profile-email-row{font-size:14px;line-height:1.5;font-weight:400}
html[data-theme] body #profile-page .profile-signature-row #profile-signature{font-size:15px;line-height:1.65}
html[data-theme] body #profile-page .profile-info .profile-access-row>.profile-login{font-size:14px;line-height:1.4;white-space:normal;height:auto;min-height:40px}
html[data-theme] body #profile-page .profile-home-actions>button{font-size:14px;line-height:1.4;height:auto;min-height:40px}
html[data-theme] body #profile-page .profile-story-row>#profile-add-story{font-size:13px;line-height:1.35;white-space:normal}
html[data-theme] body #profile-page .profile-balance>span{font-size:14px;line-height:1.5}
html[data-theme] body #profile-page .profile-money-actions>button>b{font-size:15px;line-height:1.4;font-weight:600;text-shadow:none}
html[data-theme] body #profile-page .profile-vip .vip-bonus{font-size:12px;line-height:1.5}
html[data-theme] body #profile-page .profile-vip .vip-bonus b{font-size:14px;line-height:1.5}
html[data-theme] body #profile-page .profile-vip .vip-progress-row{font-size:13px;line-height:1.5;align-items:center}
html[data-theme] body #profile-page .profile-vip .vip-progress{font-size:12px;line-height:1.5;min-height:23px;height:auto}
html[data-theme] body #profile-page .profile-vip .vip-progress>b{font-size:12px;line-height:1.5;font-weight:500}
html[data-theme] body #profile-page .profile-vip .vip-progress-row>span:last-child{min-width:0;overflow-wrap:anywhere}
html[data-theme] body #profile-page .profile-vip p{font-size:13px;line-height:1.55}
html[data-theme] body .profile-links button{font-size:15px;line-height:1.5;font-weight:500;text-shadow:none}
html[data-theme] body #night-mode-toggle>b{font-size:12px;line-height:1.4}
html[data-theme] body :is(#gift-toggle>b,.gift-activity-menu button>strong){font-size:11px;line-height:1.4;font-weight:600}
html[data-theme] body .demo-label{font-size:12px;line-height:1.6;letter-spacing:.3px}
html[data-theme] body .local-note{font-size:12px;line-height:1.6}
@media(max-width:360px){
 html[data-theme] body .banner-copy{padding:13px 14px;max-width:78%}
 html[data-theme] body .banner-copy h2{font-size:24px}
 html[data-theme] body .app>header h1{max-width:calc(100% - 170px);font-size:17px;letter-spacing:0}
 html[data-theme] body #deposit-page .deposit-amount-grid button>span{font-size:19px;letter-spacing:-.25px}
 html[data-theme] body #lobby-page .categories{gap:6px}
 html[data-theme] body #lobby-page .categories button{font-size:12px;line-height:1.35;min-height:78px}
 html[data-theme] body .bottom-nav button,
 html[data-theme] body .app.deposit-open .bottom-nav button,
 html[data-theme] body .bottom-nav button.bottom-deposit>.bottom-deposit-label{font-size:12px}
 html[data-theme] body #profile-page .profile-identity-right .profile-id-row,
 html[data-theme] body #profile-page .profile-email-row{font-size:13px}
 html[data-theme] body #profile-page .profile-vip .vip-card-top{flex-wrap:wrap;row-gap:5px}
 html[data-theme] body #profile-page .profile-vip .vip-bonus{font-size:12px}
}

/* Wallet text remains readable at phone scale, including its compact states. */
html[data-theme] body #deposit-page,
html[data-theme] body #vip-page{font-size:15px;line-height:1.6}
html[data-theme] body #deposit-page .deposit-tabs button{font-size:14px;font-weight:650;line-height:1.4}
html[data-theme] body #deposit-page .deposit-offer b{font-size:13px;line-height:1.45;color:var(--polish-muted)}
html[data-theme] body #deposit-page .deposit-offer strong{font-size:15px;line-height:1.45;font-weight:650}
html[data-theme] body #deposit-page .deposit-amount-heading h2{font-size:19px;line-height:1.4;letter-spacing:0}
html[data-theme] body #deposit-page .deposit-amount-heading p{font-size:13px;line-height:1.5;min-height:20px;font-weight:500}
html[data-theme] body #deposit-page .deposit-amount-grid button>span{font-size:23px;line-height:1.2;font-weight:700;letter-spacing:-.25px}
html[data-theme] body #deposit-page .deposit-amount-grid small{font-size:13px;font-weight:600;line-height:1.35}
html[data-theme] body #deposit-page .deposit-amount-badge{max-width:calc(100% + 6px);font-size:10px;font-weight:700;line-height:1.35;padding:3px 5px;text-align:center;white-space:normal}
html[data-theme] body #deposit-page .deposit-amount-grid button:has(>.deposit-amount-badge){padding-top:14px}
html[data-theme] body #deposit-page .deposit-methods legend{font-size:15px;line-height:1.5;font-weight:650;letter-spacing:0}
html[data-theme] body #deposit-page .deposit-methods button{font-size:14px;font-weight:500;line-height:1.4}
html[data-theme] body #deposit-page .deposit-wallet-tip{font-size:12px;line-height:1.6;font-weight:500}
html[data-theme] body #deposit-page :is(.deposit-subtitle,#deposit-feedback){font-size:14px;line-height:1.65}
html[data-theme] body #deposit-page .deposit-activity{font-size:13px;line-height:21px}
html[data-theme] body #deposit-page .deposit-footer{font-size:14px;line-height:1.75}
html[data-theme] body #deposit-page .deposit-footer :is(.deposit-footer-help>span,.deposit-footer-help>small,.deposit-footer-links){font-size:12px;line-height:1.7}
html[data-theme] body #deposit-page .deposit-footer-age{font-size:12px;font-weight:650}

/* Transaction labels and references keep complete values rather than shrinking. */
html[data-theme] body #deposit-page .deposit-history-tabs button{font-size:15px;line-height:1.45;font-weight:600}
html[data-theme] body #deposit-page .deposit-history-table{font-size:14px;line-height:1.55}
html[data-theme] body #deposit-page .deposit-history-table th{font-size:13px;line-height:1.45;font-weight:650}
html[data-theme] body #deposit-page .deposit-history-table td{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
html[data-theme] body #deposit-page .deposit-history-table :is(small,time){font-size:12px;line-height:1.5}
html[data-theme] body #deposit-page .deposit-history-table :is(.deposit-history-reference,.deposit-history-quantity){font-size:13px;line-height:1.55}
html[data-theme] body #deposit-page :is(.deposit-history-status,.deposit-history-refresh){font-size:13px;line-height:1.5}

/* Redemption requirements and fees are normal reading text, not fine print. */
html[data-theme] body #deposit-page #withdrawal-page .withdraw-balances>div>span{font-size:14px;line-height:1.5}
html[data-theme] body #deposit-page #withdrawal-page .redemption-mode{font-size:13px;line-height:1.45;font-weight:600}
html[data-theme] body #deposit-page #withdrawal-page #redemption-basis{font-size:13px;line-height:1.6}
html[data-theme] body #deposit-page #withdrawal-page .redemption-progress-row>div:first-child{flex-wrap:wrap;gap:4px 10px}
html[data-theme] body #deposit-page #withdrawal-page .redemption-progress-row strong{font-size:14px;line-height:1.5;font-weight:600}
html[data-theme] body #deposit-page #withdrawal-page .redemption-progress-row span{font-size:13px;line-height:1.5;letter-spacing:0}
html[data-theme] body #deposit-page #withdrawal-page :is(.withdraw-status,.redemption-rule,#withdraw-help,#withdraw-feedback,.withdraw-note,.redemption-reset-note,.withdraw-history-net){font-size:13px;line-height:1.65}
html[data-theme] body #deposit-page :is(.withdraw-methods legend,#withdraw-account-label){font-size:14px;line-height:1.5;font-weight:600}
html[data-theme] body #deposit-page #withdraw-method-list button{font-size:13px;line-height:1.45;font-weight:500}
html[data-theme] body #deposit-page #withdraw-account{font-size:16px;line-height:1.5;font-weight:500}
html[data-theme] body #deposit-page #withdraw-account::placeholder{font-size:14px;color:var(--polish-muted);opacity:1}
html[data-theme] body #deposit-page #withdraw-account-paste{font-size:13px;font-weight:600}
html[data-theme] body #deposit-page :is(#withdraw-method-status,#withdraw-account-hint,#withdraw-account-error){font-size:13px;line-height:1.6}
html[data-theme] body #deposit-page #withdrawal-page :is(#withdraw-form>label,.withdraw-fee-summary h3){font-size:14px;line-height:1.5;font-weight:600}
html[data-theme] body #deposit-page #withdrawal-page .withdraw-fee-summary>div{font-size:14px;line-height:1.6}
html[data-theme] body #deposit-page #withdrawal-page :is(#withdraw-fee-rate,#withdraw-fee-status,#withdraw-fee-retry){font-size:13px;line-height:1.6}
html[data-theme] body #withdrawal-page .withdraw-deposit-card>p,
html[data-theme] body #withdrawal-page .withdraw-deposit-next p{font-size:14px;line-height:1.65}
html[data-theme] body #withdrawal-page .withdraw-deposit-badge{font-size:11px;line-height:1.5;letter-spacing:.2px}
html[data-theme] body #withdrawal-page .withdraw-deposit-balances span{font-size:13px;line-height:1.5}
html[data-theme] body #withdrawal-page .withdraw-deposit-balances small{font-size:12px;line-height:1.5}

/* The wallet guide and its four-column fee schedule. */
html[data-theme] body #deposit-page .wallet-vip-eyebrow{font-size:11px;line-height:1.5;letter-spacing:.9px}
html[data-theme] body #deposit-page .wallet-vip-hero>p{font-size:15px;line-height:1.65}
html[data-theme] body #deposit-page :is(.wallet-vip-separate,.wallet-vip-reference p){font-size:13px;line-height:1.65}
html[data-theme] body #deposit-page :is(.wallet-vip-minimum p,.wallet-vip-minimum small,.wallet-vip-points p,.wallet-vip-benefits p){font-size:14px;line-height:1.65}
html[data-theme] body #deposit-page .wallet-vip-benefits h4{font-size:14px;line-height:1.5}
html[data-theme] body #deposit-page .wallet-vip-table-title>span{font-size:11px;line-height:1.5;white-space:nowrap}
html[data-theme] body #deposit-page .wallet-vip-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
html[data-theme] body #deposit-page .wallet-vip-table-wrap table{min-width:340px}
html[data-theme] body #deposit-page .wallet-vip-schedule thead th{font-size:12px;line-height:1.5;font-weight:650}
html[data-theme] body #deposit-page .wallet-vip-schedule :is(tbody th,td,td.wallet-vip-daily,td.wallet-vip-fee){font-size:13px;line-height:1.5}
html[data-theme] body #deposit-page .wallet-vip-schedule td.wallet-vip-daily.is-unlimited{font-size:20px;line-height:1.2}
html[data-theme] body #deposit-page .wallet-vip-table-note{font-size:13px;line-height:1.65}

/* First-deposit copy remains clear over its dark jewel-coloured hero. */
html[data-theme] body #deposit-page.first-deposit-open .first-deposit-eyebrow{font-size:10px;line-height:1.5;letter-spacing:.6px;color:#e5d8eb}
html[data-theme] body #deposit-page.first-deposit-open .first-deposit-hero h2{font-size:18px;line-height:1.4;font-weight:650}
html[data-theme] body #deposit-page.first-deposit-open .first-deposit-time-label{font-size:13px;line-height:1.5;color:#eee4f3}
html[data-theme] body #deposit-page.first-deposit-open .first-deposit-facts{font-size:12px;line-height:1.5;color:#e5d8eb}
html[data-theme] body #deposit-page.first-deposit-open .first-deposit-summary span{font-size:12px;line-height:1.45;font-weight:500}
html[data-theme] body #deposit-page.first-deposit-open .first-deposit-summary strong{font-size:21px;line-height:1.25;font-weight:700;letter-spacing:-.25px}
html[data-theme] body #deposit-page.first-deposit-open .first-deposit-hero:is(.is-expired,.is-unavailable) .first-deposit-time-label{color:#e5d8eb}

/* Account VIP rewards: readable captions, with the same horizontal card model. */
html[data-theme] body #vip-page .vip-account-summary span{font-size:13px;line-height:1.5}
html[data-theme] body #vip-page .vip-level-tab{font-size:13px;line-height:1.4;font-weight:600}
html[data-theme] body #vip-page .vip-card-carousel .vip-slide{height:auto;min-height:258px}
html[data-theme] body #vip-page .vip-slide .vip-eyebrow{font-size:10px;line-height:1.35;letter-spacing:.5px;white-space:normal;color:#f2d99d}
html[data-theme] body #vip-page .vip-card-current-badge{font-size:10px;line-height:1.4;color:#fff0cb}
html[data-theme] body #vip-page .vip-current-label{font-size:12px;line-height:1.5;color:#e9dbef}
html[data-theme] body #vip-page .vip-hero-subtitle{font-size:13px;line-height:1.5;color:#eee3f3}
html[data-theme] body #vip-page .vip-hero-footer span{font-size:12px;line-height:1.5;color:#e9dbef}
html[data-theme] body #vip-page .vip-hero-footer strong{font-size:14px;line-height:1.4;color:#fff6ff;font-weight:650}
html[data-theme] body #vip-page .vip-reward-card h3{font-size:13px;line-height:1.5;font-weight:600}
html[data-theme] body #vip-page .vip-reward-card p{font-size:13px;line-height:1.6}
html[data-theme] body #vip-page .vip-section-heading>span{font-size:12px;line-height:1.5}
html[data-theme] body #vip-page .vip-goal-label{font-size:14px;line-height:1.5}
html[data-theme] body #vip-page .vip-goal-label>span{font-size:13px;line-height:1.5}
html[data-theme] body #vip-page :is(.vip-goal-caption,.vip-daily-panel>p,.vip-daily-status label,.vip-daily-status>span,.vip-rules ol,.vip-page-note){font-size:14px;line-height:1.65}
html[data-theme] body #vip-page .vip-daily-equation{font-size:14px;line-height:1.6}
html[data-theme] body #vip-page .vip-claim{font-size:14px;line-height:1.5}
html[data-theme] body #vip-page :is(.vip-rules summary,.vip-all-levels summary){font-size:15px;line-height:1.5}
html[data-theme] body #vip-page .vip-table-wrap table{min-width:490px;font-size:13px;line-height:1.55}
html[data-theme] body #vip-page .vip-table-wrap th{font-size:12px;line-height:1.5;font-weight:650}
html[data-theme] body #vip-page .vip-table-wrap td{font-size:13px;line-height:1.55}

@media(max-width:360px){
 html[data-theme] body #deposit-page .deposit-tabs button{font-size:13px}
 html[data-theme] body #deposit-page .deposit-amount-grid button>span{font-size:19px;letter-spacing:-.25px}
 html[data-theme] body #deposit-page .deposit-amount-grid small{font-size:12px}
 html[data-theme] body #deposit-page .deposit-amount-badge{font-size:10px}
 html[data-theme] body #deposit-page .deposit-history-table :is(th,td,.deposit-history-reference,.deposit-history-quantity){font-size:12px;line-height:1.55}
 html[data-theme] body #deposit-page.first-deposit-open .first-deposit-summary strong{font-size:18px;letter-spacing:-.25px}
 html[data-theme] body #vip-page .vip-level-tab{font-size:12px}
}

/* Frontend reading surfaces. Loaded after the visual theme; no media or state changes. */

/* Help, updates navigation and promotion details. */
html[data-theme] body .updates-menu-title{font-size:16px;line-height:1.45;font-weight:650;letter-spacing:normal;text-shadow:none}
html[data-theme] body .updates-creator-note{font-size:12px;line-height:1.5;font-weight:500;color:var(--polish-muted);text-shadow:none}
html[data-theme] body :is(.updates-detail-card p,.offer-detail-content p,.support-intro,.support-more-help,.support-detailed-answer,.support-faq-answer){font-size:15px;line-height:1.7;font-weight:400;color:var(--polish-ink);text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body :is(.updates-detail-card h2,.offer-detail-content h2,.support-help-card h2){text-shadow:none;letter-spacing:normal;overflow-wrap:anywhere}
html[data-theme] body .support-topic-option{font-size:14px;line-height:1.55;font-weight:600;text-shadow:none}
html[data-theme] body .support-topic-option>span:not(.support-faq-number){min-width:0;overflow-wrap:anywhere}
html[data-theme] body .support-faq-number{font-size:12px;font-weight:600;line-height:1.5}
html[data-theme] body :is(.support-faq summary,.support-subtopic-title){font-size:15px;line-height:1.55;font-weight:600;text-shadow:none}
html[data-theme] body .support-availability{font-size:13px;line-height:1.6;color:var(--polish-muted);text-shadow:none}
html[data-theme] body .support-user-bubble{font-size:15px;line-height:1.6;font-weight:400;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .support-contact-actions :is(.support-live-agent,.support-facebook){font-size:14px;line-height:1.5;font-weight:650;text-shadow:none}
html[data-theme] body .offer-category-tag{font-size:12px;line-height:1.4;font-weight:600;text-shadow:none}
html[data-theme] body :is(.offer-banner-subtitle,.offer-banner-cta){font-size:13px;line-height:1.5;text-shadow:none}
html[data-theme] body .offer-contact-support{font-size:15px;line-height:1.5;font-weight:600;text-shadow:none}

/* Posts and comments have a readable body, a distinct author and quieter metadata. */
html[data-theme] body :is(.official-page .feed-heading strong,.community .feed-tools strong){font-size:16px;line-height:1.5;font-weight:650;letter-spacing:normal;text-shadow:none}
html[data-theme] body :is(.official-page .post-content h2,.community .post-content h3){font-size:15px;line-height:1.5;font-weight:650;letter-spacing:normal;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body :is(.official-page .post-content>p,.community .post-text){font-size:16px;line-height:1.7;font-weight:400;color:var(--polish-ink);letter-spacing:normal;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .official-page .post-content .post-title{font-size:16px;line-height:1.5;font-weight:650;text-shadow:none}
html[data-theme] body :is(.official-page .preview-note,.official-page .post-meta,.official-page .feed-end,.community .post-meta,.community #status){font-size:13px;line-height:1.6;font-weight:400;color:var(--polish-muted);text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body :is(.official-page .post-meta,.community .post-meta){flex-wrap:wrap;gap:8px}
html[data-theme] body .official-page .post-meta>div{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
html[data-theme] body :is(.official-page .post-meta time,.community .post-meta time){min-width:0;overflow-wrap:anywhere}
html[data-theme] body .official-page .feed-heading>span{font-size:12px;line-height:1.5;font-weight:500;text-shadow:none}
html[data-theme] body :is(.official-page .post-meta button,.community .post-meta button,.community .feed-tools button,.community #more){font-size:14px;line-height:1.45;font-weight:600;text-shadow:none}
html[data-theme] body :is(.official-page .post-reactions,.official-page .post-comments p){font-size:14px;line-height:1.65;font-weight:400;color:var(--polish-ink);text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .official-page .post-support{font-size:14px;line-height:1.6;font-weight:600;text-shadow:none}
html[data-theme] body .official-page .official-sticky-title strong{font-size:18px;line-height:1.4;letter-spacing:normal;text-shadow:none}
html[data-theme] body .official-page .comment-form textarea{font-size:16px;line-height:1.6;font-weight:400;letter-spacing:normal;text-shadow:none}
html[data-theme] body .official-page .comment-form label{font-size:14px;line-height:1.6;color:var(--polish-ink);text-shadow:none}
html[data-theme] body .official-page .comment-form small{font-size:13px;line-height:1.6;color:var(--polish-muted);text-shadow:none}
html[data-theme] body .official-page .comment-form button[type="submit"]{font-size:14px;line-height:1.5;font-weight:600;text-shadow:none}
html[data-theme] body .community .community-profile h2{font-size:18px;line-height:1.4;font-weight:650;letter-spacing:normal;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .community .community-profile p{font-size:14px;line-height:1.6;color:var(--polish-muted);text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .community .feed-composer-main button{font-size:15px;line-height:1.55;font-weight:400;color:var(--polish-muted);text-shadow:none}
html[data-theme] body .community .feed-composer-actions button{font-size:14px;line-height:1.5;font-weight:600;color:var(--polish-ink);text-shadow:none}
html[data-theme] body #composer #post-text{font-size:16px;line-height:1.65;font-weight:400;letter-spacing:normal;text-shadow:none}
html[data-theme] body #composer :is(.composer-heading button,.upload-actions label,#remove-media){font-size:14px;line-height:1.5;font-weight:600;text-shadow:none}
html[data-theme] body #composer :is(.upload-note,#post-error){font-size:13px;line-height:1.6;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body :is(.official-page .comment-form textarea,#composer #post-text)::placeholder{color:var(--polish-muted);opacity:1}

/* Customer chat. Icon-only controls and the administrator workbench are excluded. */
html[data-theme] body .client-chat .chat-topbar h1{font-size:18px;line-height:1.4;font-weight:650;letter-spacing:normal;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .client-chat :is(.chat-topbar p,.chat-topbar .chat-timezone){font-size:12px;line-height:1.55;color:var(--polish-muted);text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .client-chat .chat-message-meta{font-size:12px;line-height:1.6;font-weight:400;color:var(--polish-muted);text-shadow:none;white-space:normal;overflow-wrap:anywhere}
html[data-theme] body .client-chat .chat-message-meta time{font-size:12px;line-height:1.6;color:var(--polish-muted)}
html[data-theme] body .client-chat :is(.chat-welcome,.chat-message-bubble,.chat-bubble){font-size:16px;line-height:1.65;font-weight:400;letter-spacing:normal;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .client-chat .chat-order-card p{font-size:14px;line-height:1.6;font-weight:400;white-space:normal;overflow-wrap:anywhere;text-shadow:none}
html[data-theme] body .client-chat #chat-input{font-size:16px;line-height:1.5;font-weight:400;letter-spacing:normal;text-shadow:none}
html[data-theme] body .client-chat #chat-input::placeholder{font-size:15px;color:var(--polish-muted);opacity:1}
html[data-theme] body .client-chat :is(.chat-add-menu button,.chat-welcome-action,.chat-load-older){font-size:14px;line-height:1.5;font-weight:600;text-shadow:none}
html[data-theme] body .client-chat .chat-compose .chat-send{font-size:14px;line-height:1.5;font-weight:650;text-shadow:none}
html[data-theme] body .client-chat :is(.chat-feedback,.chat-pending){font-size:13px;line-height:1.55;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body #chat-order-dialog>p{font-size:14px;line-height:1.6;color:var(--polish-muted);text-shadow:none}
html[data-theme] body #chat-order-dialog .chat-order-choice{font-size:15px;line-height:1.6;font-weight:400;text-shadow:none;white-space:normal;overflow-wrap:anywhere}

/* Inbox metadata remains secondary without becoming tiny or translucent. */
html[data-theme] body .mail-app .mail-card-title strong{font-size:16px;line-height:1.45;font-weight:650;letter-spacing:normal;text-shadow:none}
html[data-theme] body .mail-app .mail-card.is-read .mail-card-title strong{font-weight:550;color:var(--polish-muted)}
html[data-theme] body .mail-app :is(.mail-count,.mail-status,.mail-card-meta,.mail-sender time,.mail-empty,.mail-pull){font-size:13px;line-height:1.6;font-weight:400;color:var(--polish-muted);text-shadow:none}
html[data-theme] body .mail-app .mail-card-meta{flex-wrap:wrap;gap:3px 10px}
html[data-theme] body .mail-app .mail-card-preview{flex:1 1 145px}
html[data-theme] body .mail-app :is(.mail-sender>div,.mail-card-main){min-width:0}
html[data-theme] body .mail-app .mail-sender strong{font-size:14px;line-height:1.5;font-weight:600;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .mail-app .mail-sender time{white-space:normal;overflow-wrap:anywhere}
html[data-theme] body .mail-app .mail-body{font-size:16px;line-height:1.75;font-weight:400;letter-spacing:normal;color:var(--polish-ink);text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .mail-app .mail-detail h2{letter-spacing:normal;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .mail-app .mail-reward-heading{font-size:14px;line-height:1.5;font-weight:600;text-shadow:none}
html[data-theme] body .mail-app :is(.mail-reward-note,.mail-reward-reason){font-size:13px;line-height:1.6;font-weight:400;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body .mail-app :is(.mail-link-button,.mail-claim-button){font-size:15px;line-height:1.5;font-weight:650;text-shadow:none;white-space:normal;overflow-wrap:anywhere}

@media(max-width:360px){
 html[data-theme] body .updates-menu-title{font-size:15px}
 html[data-theme] body .updates-creator-note{font-size:12px}
 html[data-theme] body .client-chat .chat-topbar h1{font-size:17px}
 html[data-theme] body .mail-app .mail-card-meta{font-size:13px}
 html[data-theme] body .mail-app .mail-card-preview{flex-basis:100%}
}

/* Dialogs and profile editing: readable copy without changing the established artwork or surfaces. */
html[data-theme] body dialog.login-panel > p {
  font-size: 15px;
  line-height: 1.6;
}
html[data-theme] body dialog.login-panel :is(.auth-divider, .login-result),
html[data-theme] body dialog.login-panel > small {
  font-size: 13px;
  line-height: 1.55;
}
html[data-theme] body dialog.login-panel > small,
html[data-theme] body dialog.login-panel .auth-divider {
  color: var(--polish-muted);
}
html[data-theme] body :is(#login-form, #register-form, #name-form, #signature-form) label {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--polish-ink);
}
html[data-theme] body :is(#login-form, #register-form, #name-form, #signature-form) :is(input, textarea) {
  font-size: 16px;
  line-height: 1.5;
}
html[data-theme] body dialog.login-panel :is(.auth-tabs button, .social-auth button) {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}
html[data-theme] body :is(.login-submit, #name-form button[type=submit], #signature-form button[type=submit]) {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

html[data-theme] body :is(.picker-description, .picker-empty, .photo-crop-dialog p) {
  font-size: 14px;
  line-height: 1.6;
  color: var(--polish-muted);
}
html[data-theme] body .preset-option span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--polish-muted);
}
html[data-theme] body :is(.picker-upload, dialog.photo-actions button, .crop-buttons button) {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}
html[data-theme] body .photo-crop-dialog label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--polish-ink);
}
html[data-theme] body dialog.audio-settings .audio-settings-controls > button {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}
html[data-theme] body dialog.audio-settings .audio-settings-controls > button > b,
html[data-theme] body dialog.audio-settings .audio-settings-controls > button:disabled > b {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

html[data-theme] body #gift-code-input {
  font-size: 16px;
  line-height: 1.5;
}
html[data-theme] body #gift-code-input::placeholder {
  font-size: 14px;
  color: var(--polish-muted);
}
html[data-theme] body dialog.gift-code-dialog :is(.gift-code-limit-note, .gift-code-result) {
  font-size: 13px;
  line-height: 1.55;
}
html[data-theme] body dialog.gift-code-dialog .gift-code-limit-note {
  color: var(--polish-muted);
}
html[data-theme] body dialog.gift-code-dialog .gift-code-actions button {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

/* Profile field controls keep their native layout; only copy and counters gain clarity. */
html[data-theme] body #profile-editor-page .profile-editor-row-copy > small {
  font-size: 14px;
  line-height: 1.55;
  color: var(--polish-muted);
}
html[data-theme] body .profile-field-dialog :is(.profile-place-copy > small, .profile-field-choice-copy > small, .profile-detail-subtitle) {
  font-size: 14px;
  line-height: 1.5;
  color: var(--polish-muted);
}
html[data-theme] body .profile-field-dialog :is(.profile-field-count, .profile-place-attribution) {
  font-size: 12px;
  line-height: 1.5;
  color: var(--polish-muted);
}
html[data-theme] body .profile-field-dialog :is(.profile-field-error, .profile-detail-error, .profile-detail-status) {
  font-size: 13px;
  line-height: 1.5;
}
html[data-theme] body .profile-field-dialog .profile-field-actions > button {
  font-size: 15px;
  line-height: 1.45;
}
html[data-theme] body .profile-field-dialog :is(.profile-field-input, .profile-field-custom, .profile-detail-control, .profile-detail-search) {
  font-size: 16px;
  line-height: 1.5;
}
html[data-theme] body .profile-field-dialog .profile-birthday-fields > label {
  font-size: 14px;
  line-height: 1.5;
}

/* The welcome glass remains transparent, including its speech and character placement. */
html[data-theme] body dialog.character-welcome .welcome-speech-eyebrow {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 1px;
}
html[data-theme] body dialog.character-welcome .welcome-speech p {
  font-size: 15px;
  line-height: 1.6;
}
html[data-theme] body dialog.character-welcome .welcome-voice {
  font-size: 14px;
  line-height: 1.4;
}
html[data-theme] body dialog.character-welcome .welcome-add {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}
html[data-theme] body :is(.welcome-guide-skip, .welcome-pointer span, .welcome-install-arrow > span) {
  font-size: 13px;
  line-height: 1.45;
}
html[data-theme] body .welcome-install-skip {
  font-size: 12px;
  line-height: 1.4;
}

/* Keep the four-day scrolling window and compact reward rows. */
html[data-theme] body dialog.daily-login-dialog .daily-brand {
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 1px;
}
html[data-theme] body dialog.daily-login-dialog .daily-hero p {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}
html[data-theme] body dialog.daily-login-dialog .daily-progress {
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0;
}
html[data-theme] body dialog.daily-login-dialog .daily-progress b {
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}
html[data-theme] body dialog.daily-login-dialog .daily-day-number small {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: .3px;
  color: #795329;
}
html[data-theme] body dialog.daily-login-dialog .daily-reward-copy .daily-reward-amount {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 650;
  color: #56381d;
}
html[data-theme] body dialog.daily-login-dialog :is(.daily-reward-copy small, .daily-state > small) {
  font-size: 12px;
  line-height: 1.3;
  color: #765632;
}
html[data-theme] body dialog.daily-login-dialog .daily-claim {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  padding-inline: 5px;
}
html[data-theme] body dialog.daily-login-dialog .daily-countdown {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: #714b22;
}
html[data-theme] body dialog.daily-login-dialog .daily-claimed {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: #825323;
}
html[data-theme] body dialog.daily-login-dialog :is(.daily-feedback, .daily-footnote, .daily-install-help, .daily-retry) {
  font-size: 12px;
  line-height: 1.5;
}
html[data-theme] body dialog.daily-login-dialog .daily-footnote { color: #e5cfe1; }
html[data-theme] body dialog.daily-login-dialog .daily-return {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-shadow: none;
}

/* Referral page: useful labels remain readable beside the large reward amounts. */
html[data-theme] body #share-page .share-eyebrow {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 1px;
}
html[data-theme] body #share-page .share-hero p {
  font-size: 14px;
  line-height: 1.55;
  color: #eee6f4;
}
html[data-theme] body #share-page .share-hero-footer {
  font-size: 13px;
  line-height: 1.5;
  color: #e9deef;
}
html[data-theme] body #share-page :is(.share-stat-label, .share-claim-label, .share-rates span) {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--polish-muted);
}
html[data-theme] body #share-page :is(.share-claim-note, .share-claim-message, .share-private-label, .share-feedback, .share-empty p, .share-record-count, .share-record-main > small, .share-record-status, .share-record-reward small, .share-pagination) {
  font-size: 13px;
  line-height: 1.5;
}
html[data-theme] body #share-page :is(.share-claim-note, .share-private-label, .share-feedback, .share-empty p, .share-record-main > small, .share-record-reward small, .share-pagination) {
  color: var(--polish-muted);
}
html[data-theme] body #share-page :is(.share-link-card > p:not(.share-feedback), .share-rules-card > p, .share-rules-card li, .share-error) {
  font-size: 14px;
  line-height: 1.6;
  color: var(--polish-muted);
}
html[data-theme] body #share-page :is(.share-empty strong, .share-record-main > strong) {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--polish-ink);
}
html[data-theme] body #share-page .share-link-field input {
  font-size: 16px;
  line-height: 1.5;
}
html[data-theme] body #share-page :is(.share-invite-primary, .share-claim-button, .share-error button) {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}
html[data-theme] body #share-page .share-qr-button {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}
html[data-theme] body #share-page :is(.share-free-badge, .share-status-pill, .share-steps b, .share-steps small) {
  font-size: 12px;
  line-height: 1.4;
}
html[data-theme] body #share-page .share-steps b { font-weight: 500; }

/* Sharing overlays retain the dark invitation card and the slot poster artwork. */
html[data-theme] body dialog.share-sheet .share-sheet-description {
  font-size: 14px;
  line-height: 1.6;
}
html[data-theme] body dialog.share-sheet :is(.share-sheet-link-label, .share-sheet-status) {
  font-size: 13px;
  line-height: 1.5;
}
html[data-theme] body dialog.share-sheet .share-sheet-link {
  font-size: 16px;
  line-height: 1.5;
}
html[data-theme] body dialog.share-sheet .share-sheet-options b {
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
}
html[data-theme] body dialog.share-sheet .share-sheet-options small {
  font-size: 12px;
  line-height: 1.4;
}
html[data-theme] body dialog.share-sheet[data-share-mode="invite"] .share-choice {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}
html[data-theme] body dialog.share-sheet[data-share-mode="invite"] .share-sheet-description { color: #e4d8ec; }
html[data-theme] body dialog.share-sheet[data-share-mode="invite"] :is(.share-sheet-link-label, .share-sheet-status) { color: #daccdf; }
html[data-theme] body dialog.share-sheet[data-share-mode="qr"] .share-poster-tagline {
  font-size: 12px;
  line-height: 1.45;
}
html[data-theme] body dialog.share-sheet[data-share-mode="qr"] .share-poster-footer-copy > span {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .3px;
}
html[data-theme] body dialog.share-sheet[data-share-mode="qr"] .share-poster-footer-copy > small {
  font-size: 12px;
  line-height: 1.45;
}
html[data-theme] body dialog.share-sheet[data-share-mode="qr"] .share-qr-canvas {
  font-size: 12px;
  line-height: 1.4;
}
html[data-theme] body dialog.share-sheet .share-qr-sheet-actions .share-invite-primary {
  font-size: 14px;
  line-height: 1.4;
}
html[data-theme] body dialog.share-sheet .share-qr-sheet-actions .share-qr-button {
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 360px) {
  html[data-theme] body #share-page .share-invite-primary { font-size: 14px; }
  html[data-theme] body dialog.share-sheet[data-share-mode="invite"] .share-choice {
    padding-inline: 9px;
    gap: 6px;
  }
}

/* Managed promotions and the shared app-install/information dialog. */
html[data-theme] body dialog.promo-popup,
html[data-theme] body dialog.promo-popup :is(.promo-popup-brand,.promo-popup-brand span,h2,.promo-popup-highlight,.promo-popup-lines li,.promo-popup-countdown>span,.promo-popup-countdown b,.promo-popup-countdown i,.promo-popup-action){font-family:var(--polish-font)}
html[data-theme] body dialog.promo-popup .promo-popup-brand,
html[data-theme] body dialog.promo-popup .promo-popup-brand span+span{font-size:10px;line-height:1.5;letter-spacing:.6px}
html[data-theme] body dialog.promo-popup .promo-popup-lines li{font-size:14px;line-height:1.6;font-weight:400;text-shadow:none}
html[data-theme] body dialog.promo-popup .promo-popup-countdown>span{font-size:13px;line-height:1.5;font-weight:600;text-shadow:none}
html[data-theme] body dialog#modal :is(#modal-body,p,li){font-size:15px;line-height:1.65;font-weight:400;color:var(--polish-ink);letter-spacing:normal;text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body dialog#modal :is(small,footer){font-size:13px;line-height:1.6;color:var(--polish-muted);text-shadow:none;overflow-wrap:anywhere}
html[data-theme] body dialog#modal #modal-ok{font-size:15px;line-height:1.5;font-weight:600;text-shadow:none}
html[data-theme] body .updates-highlight-tag{font-size:12px;line-height:1.5;font-weight:500}

/* Swipeable lobby category chips; wallet and other lobby sections are unchanged. */
html[data-theme] body #lobby-page .categories {
  display: flex;
  align-items: stretch;
  margin-top: 10px;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 3px 1px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding-inline: 1px;
  cursor: grab;
}
html[data-theme] body #lobby-page .categories.is-dragging,
html[data-theme] body #lobby-page .categories.is-dragging button { cursor: grabbing; }
html[data-theme] body #lobby-page .categories::-webkit-scrollbar { display: none; }
html[data-theme] body #lobby-page .categories button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 7px 12px;
  gap: 7px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  border-radius: 11px;
  white-space: nowrap;
  overflow-wrap: normal;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
html[data-theme] body #lobby-page .categories button > span.category-art {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: inherit;
}
html[data-theme] body #lobby-page .categories button > span.category-art > svg {
  display: block;
  width: 100%;
  height: 100%;
}
html[data-theme] body #lobby-page .recently-played-empty {
  margin: 0;
  color: var(--polish-muted);
  font-size: 13px;
  line-height: 1.5;
}
html[data-theme] body #lobby-page .game-category-section {
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 70px);
}

/* Compact lobby announcements, wallet summary and inter-section spacing. */
html[data-theme] body #lobby-page .banner-area { padding-top: 10px; }
html[data-theme] body #lobby-page .dots { margin-bottom: 8px; }
html[data-theme] body #lobby-page .content { padding-top: 0; }
html[data-theme] body #lobby-page .ticker.glass {
  height: 44px;
  min-height: 44px;
  padding: 3px 12px;
  line-height: 18px;
}
html[data-theme] body #lobby-page .ticker > :is(.ticker-window, .ticker-winner-window) {
  height: 36px;
  min-height: 36px;
  min-width: 0;
  overflow: hidden;
}
html[data-theme] body #lobby-page .ticker .ticker-track {
  min-height: 36px;
  align-items: center;
  line-height: 18px;
}
html[data-theme] body #lobby-page .ticker .ticker-track.ticker-winner-track { line-height: 18px; }
html[data-theme] body #lobby-page .wallet.glass {
  margin-top: 8px;
  padding: 10px 14px;
  gap: 8px;
}
html[data-theme] body #lobby-page .wallet .account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 0;
}
html[data-theme] body #lobby-page .wallet .account-name {
  grid-row: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 36px;
}
html[data-theme] body #lobby-page .wallet .balance-row {
  grid-row: 1;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
}
html[data-theme] body #lobby-page .wallet .balance-label { display: none; }
html[data-theme] body #lobby-page .wallet .wallet-actions { padding-top: 8px; }
html[data-theme] body #lobby-page .categories { margin-top: 8px; }
html[data-theme] body #lobby-page .game-sections { margin-top: 10px; }

/* Preserve complete two-line winnings text on narrow phones without smaller type. */
html[data-theme] body dialog.login-panel #auth-format-hint{margin:8px 0 4px;max-width:100%;color:var(--polish-muted,#b3bbc8);font-size:12px;font-weight:400;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere}
html[data-theme] body dialog.login-panel #auth-format-hint[hidden]{display:none}
@media (max-width: 360px) {
  html[data-theme] body #lobby-page .ticker.glass { padding-inline: 8px; gap: 8px; }
  html[data-theme] body #lobby-page .ticker .speaker { width: 28px; height: 28px; flex: 0 0 28px; }
  html[data-theme] body #lobby-page .ticker .speaker svg { width: 22px; height: 22px; }
}

/* player-refinement.css */
/* Shared player surfaces. Page layout and money rules live in their own modules. */
html[data-theme] {
 --polish-canvas:#f4f5f7; --polish-panel:#fff; --polish-raised:#f0f1f4;
 --polish-border:#dee1e7; --polish-line:#dee1e7; --polish-ink:#252a34;
 --polish-muted:#616977; --polish-accent:#80539a; --polish-focus:#80539a;
 --polish-nav:#fff; --polish-primary:#80539a; --polish-shadow:0 2px 8px #20263206;
 --polish-inset:none; --surface:var(--polish-canvas); --ink:var(--polish-ink); --muted:var(--polish-muted);
}
html[data-theme="dark"] {
 --polish-canvas:#14161b; --polish-panel:#20232b; --polish-raised:#292d37;
 --polish-border:#3b414d; --polish-line:#343a45; --polish-ink:#f1f3f6;
 --polish-muted:#b3bbc8; --polish-accent:#c19bd9; --polish-focus:#c19bd9;
 --polish-nav:#20232b; --polish-primary:#88519f; --polish-shadow:0 2px 10px #00000014;
 --night-canvas:var(--polish-canvas); --night-panel:var(--polish-panel); --night-raised:var(--polish-raised);
 --night-border:var(--polish-border); --night-ink:var(--polish-ink); --night-muted:var(--polish-muted); --night-accent:var(--polish-accent);
 scrollbar-color:#555f70 #14161b;
}
html[data-theme] body {
 font-family:var(--polish-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif);
 font-size:15px; line-height:1.55; background:#e6e8ed; color:var(--polish-ink);
 -webkit-text-size-adjust:100%; text-size-adjust:100%;
}
html[data-theme="dark"] body { background:#101216; }
html[data-theme] :is(button,input,select,textarea) { font-family:inherit; }
html[data-theme] :is(.app,.mail-app,.community-app,.official-app,.client-chat) { background:var(--polish-canvas); color:var(--polish-ink); }
html[data-theme] :is(button,a,input,select,textarea,summary):focus-visible { outline:2px solid var(--polish-focus); outline-offset:3px; }
html[data-theme] .app>header { background:var(--polish-panel); border-color:var(--polish-line); box-shadow:none; }
html[data-theme] .app>header h1 { font-weight:600; letter-spacing:-.2px; }
html[data-theme] .brand-63game img { box-shadow:none; }
html[data-theme] :is(.glass,.profile-personal-details,.profile-links,.mail-card,.mail-detail,.updates-menu-card,.updates-detail-card,.share-link-card,.share-stat) {
 border-color:var(--polish-border); box-shadow:none;
}
html[data-theme] :is(.wallet,.profile-wallet,.profile-personal-details,.profile-links,.mail-card,.updates-menu-card,.updates-detail-card) { background:var(--polish-panel); }
html[data-theme] :is(.wallet,.profile-wallet) { border-radius:15px; }
html[data-theme] :is(.wallet-actions button,.profile-money-actions>button) { background:var(--polish-raised); border-color:var(--polish-line); box-shadow:none; }
html[data-theme] :is(.wallet-actions button,.profile-money-actions>button)>b { font-weight:600; }
html[data-theme] .bottom-nav button { font-weight:500; }
html[data-theme] .bottom-nav button.active { font-weight:600; }
html[data-theme] :is(.profile-links,.updates-menu-card,.mail-card) { border-radius:13px; }
html[data-theme] .profile-links button { font-weight:500; }

html[data-theme] .mail-card-title { gap:8px; }
html[data-theme] .mail-card-title strong { min-width:0; overflow:hidden; text-overflow:ellipsis; font-size:15px; font-weight:600; }
html[data-theme] .mail-card-state { flex:none; margin-left:auto; padding:2px 6px; border-radius:4px; background:var(--polish-raised); color:var(--polish-accent); font-size:11px; font-weight:600; line-height:18px; }
html[data-theme] .mail-card.is-read .mail-card-title strong { font-weight:500; }
html[data-theme] .mail-card-meta { color:var(--polish-muted); font-size:13px; }
html[data-theme] .mail-body { font-size:16px; line-height:1.7; }

/* Profile keeps its cover and portrait; account-only details have a clear label. */
html[data-theme] body #profile-page .profile-cover:not(.has-profile-cover) { background:linear-gradient(180deg,#cbd0d7,#e0e4e9); }
html[data-theme="dark"] body #profile-page .profile-cover:not(.has-profile-cover) { background:linear-gradient(180deg,#2c303a,#363c49); }
html[data-theme] body #profile-page .avatar-edit { box-shadow:none; }
html[data-theme="dark"] body #profile-page .avatar-edit:has(#profile-avatar[hidden]),
html[data-theme="dark"] body #profile-page #avatar-placeholder { background:#343a45; color:#a2abb9; }
html[data-theme] body #profile-page .profile-info { border-radius:22px 22px 0 0; background:var(--polish-panel); }
html[data-theme] body #profile-page .profile-name-row h2 { font-weight:650; letter-spacing:-.3px; }
html[data-theme] body #profile-page .profile-private-label { align-self:flex-end; color:var(--polish-muted); font-size:11px; line-height:16px; }
html[data-theme] body #profile-page .profile-identity-right :is(.profile-id-row,.profile-email-row) { min-height:28px; }
html[data-theme] body #profile-page :is(#profile-copy-id,#profile-copy-email) { flex-basis:44px; width:44px; min-width:44px; height:28px; min-height:28px; padding:6px 12px; border-radius:8px; }
html[data-theme] body #profile-page :is(#edit-name,#edit-signature) { flex-basis:44px; width:44px; min-width:44px; height:44px; min-height:44px; padding:12px; }
html[data-theme] body #profile-page .profile-story-row>#profile-add-story { min-height:44px; padding:6px 8px; border-radius:9px; line-height:1.2; white-space:normal; font-weight:600; box-shadow:none; }
html[data-theme] body #profile-page .profile-home-actions>button,
html[data-theme] body #profile-page .profile-access-row>.profile-login { min-height:44px; height:auto; border-radius:9px; box-shadow:none; font-weight:500; }
html[data-theme] body #profile-page :is(.cover-edit,.avatar-camera) { min-width:44px; min-height:44px; width:44px; height:44px; padding:10px; border-radius:10px; box-shadow:none; }
html[data-theme] body #profile-page .avatar-camera { border-radius:50%; }
html[data-theme] body #profile-page .profile-personal-details { padding:8px 12px 10px; margin-bottom:12px; border-radius:13px; }
html[data-theme] body #profile-page .profile-personal-heading { margin-bottom:0; }
html[data-theme] body #profile-page .profile-personal-heading h3 { font-size:14px; font-weight:600; line-height:1.4; }
html[data-theme] body #profile-page .profile-signature-row #profile-signature { min-height:19.5px; font-size:13px; line-height:1.5; }
html[data-theme] body #profile-page #edit-signature svg { width:16px; height:16px; }
html[data-theme] body #profile-page .profile-personal-details.has-signature { display:grid; grid-template-columns:minmax(0,1fr) 44px; column-gap:8px; align-items:start; }
html[data-theme] body #profile-page .has-signature .profile-personal-heading { display:contents; }
html[data-theme] body #profile-page .has-signature #profile-personal-title { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
html[data-theme] body #profile-page .has-signature #edit-signature { grid-column:2; grid-row:1; }
html[data-theme] body #profile-page .has-signature .profile-signature-row { grid-column:1; grid-row:1; min-width:0; padding:10px 0 6px; }
html[data-theme] body #profile-page .has-signature #signature-form { grid-column:1 / -1; min-width:0; }

/* Smaller icon artwork can still have a comfortable touch target. */
html[data-theme] :is(.modal-close,.popup-close,.daily-close,.first-deposit-back,.profile-editor-back,.profile-field-back,.mail-back,.chat-back,.official-back,.community-back) { min-width:44px; min-height:44px; }
html[data-theme] :is(dialog:not(.game-play-layer),.profile-photo-actions) { border-color:var(--polish-border); box-shadow:0 16px 48px #00000032; }
html[data-theme] dialog:not(.game-play-layer)::backdrop { backdrop-filter:none; -webkit-backdrop-filter:none; }
html[data-theme] :is(.photo-actions,.photo-actions button,.profile-photo-actions button) { box-shadow:none; }

/* The introduction is short, static and silent until Listen is chosen. */
html[data-theme] .character-welcome .welcome-speech { border-color:#ffffff29; background:linear-gradient(180deg,#1c1e27c9,#1c1e27e6); border-radius:18px; box-shadow:none; backdrop-filter:none; }
html[data-theme] .character-welcome::backdrop { background:#101219a8; }
html[data-theme] .character-welcome .welcome-speech h2 { font-size:24px; line-height:1.2; font-weight:650; letter-spacing:-.4px; }
html[data-theme] .character-welcome .welcome-speech p { font-size:14px; line-height:1.6; }
html[data-theme] .character-welcome .welcome-speech-eyebrow { letter-spacing:.7px; font-size:10px; }
html[data-theme] .character-welcome .welcome-speech-actions { display:grid; grid-template-columns:1fr; gap:8px; margin-top:16px; }
html[data-theme] .character-welcome :is(.welcome-add,.welcome-daily) { width:100%; min-height:44px; margin:0; padding:10px 14px; border-radius:9px; font-size:14px; font-weight:600; }
html[data-theme] .character-welcome .welcome-add { background:#80539a; border:1px solid #9668ae; color:#fff; box-shadow:none; }
html[data-theme] .character-welcome .welcome-daily { background:#ffffff0a; border:1px solid #ffffff35; color:#f1f3f6; box-shadow:none; }
html[data-theme] .character-welcome .welcome-voice { width:auto; min-height:44px; margin:4px 0 0; padding:10px 0; border:0; background:transparent; color:#e1d5e8; font-size:12px; box-shadow:none; }
html[data-theme] .character-welcome .welcome-guide-skip { min-width:44px; min-height:44px; font-size:13px; }

@media(max-width:360px) {
 html[data-theme] body #profile-page .profile-name-row h2 { font-size:21px; }
 html[data-theme] body #profile-page .profile-identity-right :is(.profile-id-row,.profile-email-row) { font-size:12px; }
 html[data-theme] .character-welcome .welcome-speech h2 { font-size:22px; }
}

/* updates.css */
html[data-theme] body #updates-page .updates-groups{display:grid;gap:22px;padding:4px 0 10px}html[data-theme] body #updates-page .updates-group h2{position:static;transform:none;margin:0 3px 9px;font-size:13px;line-height:1.5;font-weight:600;letter-spacing:.1px;color:var(--polish-muted,#616977)}html[data-theme] body #updates-page .updates-menu{display:grid;gap:0;border:1px solid var(--polish-border,#DEE1E7);border-radius:12px;overflow:hidden;background:var(--polish-panel,#fff)}html[data-theme] body #updates-page .updates-menu-card{min-height:64px;margin:0;padding:13px 15px;gap:12px;border:0;border-bottom:1px solid var(--polish-border,#DEE1E7);border-radius:0;background:transparent;box-shadow:none}html[data-theme] body #updates-page .updates-menu-card:last-child{border-bottom:0}html[data-theme] body #updates-page .updates-menu-icon{width:26px;height:26px;flex-basis:26px;filter:none;box-shadow:none;color:var(--polish-accent,#80539A)}html[data-theme] body #updates-page .updates-menu-icon svg{width:25px;height:25px}html[data-theme] body #updates-page .updates-menu-title{font-size:15px;line-height:1.5;font-weight:500;color:var(--polish-ink,#252A34)}html[data-theme] body #updates-page .updates-menu-arrow{color:var(--polish-muted,#616977);width:16px;height:16px}html[data-theme] body #updates-page .updates-detail-icon svg{width:32px;height:32px}html[data-theme] body #updates-page .updates-detail-card{padding:24px 18px;border-radius:12px;box-shadow:none}html[data-theme] body #updates-page .updates-detail-card p{font-size:15px;line-height:1.6;color:var(--polish-muted,#616977)}
html[data-theme] body #updates-page .updates-menu-note{flex:none;margin-left:auto;color:var(--polish-accent,#80539a);font-size:13px;font-weight:750;line-height:1.5;white-space:nowrap}
html[data-theme] body #updates-page .updates-menu-note+.updates-menu-arrow{margin-left:0}
.bottom-nav .updates-nav-icon,#updates-page [data-update-category="stage"] .updates-menu-icon{position:relative}
.community-unread-dot{
 position:absolute;top:-4px;right:-6px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;
 color:#fff;background:#d92b4c;font:700 10px/16px system-ui,sans-serif;
 box-shadow:0 0 0 2px var(--polish-panel,#fff);pointer-events:none;
}
.community-unread-dot[hidden]{display:none}

/* game-catalog.css */
/* Real games use the existing lobby grid and light/dark surface variables. */
html[data-theme] body #lobby-page .game-catalog-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--polish-border);
  border-radius: 14px;
  background: var(--polish-panel);
  box-shadow: var(--polish-inset);
}
html[data-theme] body #lobby-page .game-card-launch {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--polish-ink);
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}
html[data-theme] body #lobby-page .game-card-launch:disabled {
  cursor: default;
  opacity: 1;
}
html[data-theme] body #lobby-page .game-card-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 350 / 472;
  overflow: hidden;
  background: linear-gradient(145deg, var(--polish-raised), var(--polish-panel));
}
html[data-theme] body #lobby-page .game-card-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
html[data-theme] body #lobby-page .game-card-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  width: 100%;
  height: 100%;
  padding: 32px 10px 12px;
  color: var(--polish-accent);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
html[data-theme] body #lobby-page .game-card-fallback[hidden] { display: none; }
html[data-theme] body #lobby-page .game-card-favorite {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff5df;
  box-shadow: none;
  cursor: pointer;
}
html[data-theme] body #lobby-page .game-card-favorite::before { content:''; position:absolute; top:3px; right:3px; width:27px; height:27px; border:1px solid #ffffff44; border-radius:50%; background:#15111dbf; }
html[data-theme] body #lobby-page .game-card-favorite svg { position:absolute; top:8px; right:8px; display: block; width:17px; height:17px; }
html[data-theme] body #lobby-page .game-card-favorite[aria-pressed="true"] { color: #ffda80; }
html[data-theme] body #lobby-page .game-card-favorite[aria-pressed="true"] svg { fill: currentColor; }
html[data-theme] body #lobby-page .game-card-favorite:disabled { opacity: .65; cursor: wait; }
html[data-theme] body #lobby-page .game-card-unavailable {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 5px 4px;
  background: #18151fdb;
  color: #eee7f6;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
html[data-theme] body #lobby-page .game-catalog-empty {
  margin: 0;
  padding: 10px 0;
  color: var(--polish-muted);
  font-size: 13px;
  line-height: 1.5;
}
html[data-theme] body #lobby-page .game-catalog-empty[hidden],
html[data-theme] body #lobby-page .game-catalog-footer[hidden] { display: none; }
html[data-theme] body #lobby-page .game-card-launch[aria-busy="true"] .game-card-art { opacity: .6; }
html[data-theme] body #lobby-page .game-card-opening { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px; background:#17121abf; color:#fff; font-size:12px; font-weight:600; line-height:1.4; text-align:center; }
html[data-theme] body #lobby-page .game-card-opening[hidden] { display:none; }
html[data-theme] body #lobby-page .game-card-opening::before { content:''; width:22px; height:22px; border:2px solid #ffffff55; border-top-color:#fff; border-radius:50%; animation:game-opening-turn .9s linear infinite; }
@keyframes game-opening-turn { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { html[data-theme] body #lobby-page .game-card-opening::before { animation:none; } }
html[data-theme] body #lobby-page .game-card-launch:focus-visible,
html[data-theme] body #lobby-page .game-card-favorite:focus-visible {
  outline: 3px solid var(--polish-focus);
  outline-offset: -3px;
}
html.game-play-open, html.game-play-open body, body.game-play-open { overflow: hidden; }
html[data-theme] body dialog.game-play-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #101015;
  color: var(--polish-ink);
  box-shadow: none;
}
html[data-theme] body dialog.game-play-layer:not([open]) { display: none; }
html[data-theme] body dialog.game-play-layer::backdrop { background: #101015; backdrop-filter: none; }
html[data-theme] body .game-play-shell { display: flex; flex-direction: column; width: 100%; height: 100%; }
html[data-theme] body .game-play-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: calc(52px + env(safe-area-inset-top, 0px));
  padding: calc(4px + env(safe-area-inset-top, 0px)) 10px 4px;
  border-bottom: 1px solid var(--polish-line);
  background: var(--polish-panel);
}
html[data-theme] body .game-play-back {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--polish-ink);
  box-shadow: none;
}
html[data-theme] body .game-play-back svg { width: 24px; height: 24px; }
html[data-theme] body .game-play-back:focus-visible { outline: 3px solid var(--polish-focus); outline-offset: -2px; }
html[data-theme] body .game-play-back:disabled { opacity: .5; }
html[data-theme] body .game-play-bar h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--polish-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-theme] body .game-play-brand { color: var(--polish-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
html[data-theme] body .game-play-stage { position: relative; flex: 1 1 auto; min-height: 0; background: #101015; }
html[data-theme] body .game-play-frame { display: block; width: 100%; height: 100%; border: 0; background: #101015; }
html[data-theme] body .game-play-status {
  position: absolute;
  top: calc(64px + env(safe-area-inset-top, 0px));
  right: 16px;
  left: 16px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--polish-border);
  border-radius: 12px;
  background: var(--polish-panel);
  color: var(--polish-ink);
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
}
html[data-theme] body .game-play-status[hidden] { display: none; }
@media (max-width: 360px) {
  html[data-theme] body #lobby-page .game-card-favorite { top: 0; right: 0; }
  html[data-theme] body .game-play-brand { display: none; }
}

/* lobby-refinement.css */
/* Lobby-only refinements: complete artwork, quiet controls and less chrome. */
html[data-theme] body #lobby-page .banner-area { position:relative; padding-top:6px; }
html[data-theme] body #lobby-page .banner { height:200px; min-height:200px; aspect-ratio:auto; }
html[data-theme] body #lobby-page .banner-copy { max-width:74%; padding:11px 16px 12px; }
html[data-theme] body #lobby-page .banner-copy .eyebrow { font-size:9px; line-height:12px; }
html[data-theme] body #lobby-page .banner-copy h2 { font-size:24px; line-height:1.06; margin:6px 0; }
html[data-theme] body #lobby-page .banner-copy p { font-size:12px; line-height:1.4; }
html[data-theme] body #lobby-page .banner-copy .banner-cta { min-height:28px; padding:6px 10px; font-size:11px; line-height:16px; }
html[data-theme] body #lobby-page .managed-banner { isolation:isolate; background:var(--polish-panel); }
html[data-theme] body #lobby-page .managed-banner>img { position:relative; z-index:1; object-fit:contain; }
html[data-theme] body #lobby-page .dots { height:24px; margin:0; }
html[data-theme] body #lobby-page .dots button { height:24px; }
html[data-theme] body #lobby-page .content { padding-top:0; }
html[data-theme] body #lobby-page .wallet.glass { margin-top:6px; gap:6px; padding-block:9px; }
html[data-theme] body #lobby-page .wallet .wallet-actions { padding-top:6px; }
html[data-theme] body #lobby-page .categories { margin-top:6px; }
html[data-theme] body #lobby-page .categories.has-more-categories { mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 20px),transparent 100%); -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 20px),transparent 100%); }
html[data-theme] body #lobby-page .game-sections { margin-top:8px; }
html[data-theme] body #lobby-page .game-loading-placeholder { aspect-ratio:350 / 472; background:var(--polish-raised); border-color:var(--polish-line); box-shadow:none; }
html[data-theme] body #lobby-page .game-catalog-loading { margin:8px 0 0; color:var(--polish-muted); font-size:13px; line-height:1.5; }
html[data-theme] body #lobby-page .game-catalog-retry { min-height:44px; padding:7px 14px; color:var(--polish-accent); font-size:14px; line-height:1.5; }
html[data-theme] body #lobby-page .game-category-section { margin-bottom:20px; }
html[data-theme] body #lobby-page .game-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:9px; }
html[data-theme] body #lobby-page .game-section-heading h2 { margin:0; }
html[data-theme] body #lobby-page .game-search-toolbar { margin-top:4px; margin-bottom:6px; }
html[data-theme] body #lobby-page .game-search-toolbar>h2 { flex:none; margin:0; color:var(--polish-ink); font-size:18px; font-weight:650; line-height:1.35; letter-spacing:-.25px; }
html[data-theme] body #lobby-page .game-search-toolbar>.game-search-form { flex:0 1 62%; max-width:210px; margin:0 0 0 auto; }
html[data-theme] body #lobby-page .game-search-toolbar~:is(.game-search,.game-sections) { margin-top:0; }
/* Keep the Hot heading and search field below the sticky category navigation. */
html[data-theme] body #lobby-page .game-search-toolbar~.game-sections #games-0 { scroll-margin-top:calc(env(safe-area-inset-top,0px) + 122px); }
html[data-theme] body #lobby-page .game-load-footer { --catalog-footer-ink:#686a73; padding:10px 0 2px; text-align:center; border:0; border-radius:0; background:transparent; box-shadow:none; }
html[data-theme="dark"] body #lobby-page .game-load-footer { --catalog-footer-ink:#9698a2; }
html[data-theme] body #lobby-page .game-load-footer p { margin:0; font-size:16px; font-weight:400; line-height:1.5; color:var(--catalog-footer-ink); }
html[data-theme] body #lobby-page .game-load-more { display:inline-flex; align-items:center; justify-content:center; margin-top:2px; min-width:140px; min-height:44px; padding:6px 12px; border:0; border-radius:0; background:transparent; box-shadow:none; color:var(--catalog-footer-ink); font-size:16px; font-weight:400; line-height:1.5; }
html[data-theme] body #lobby-page .game-load-more[hidden] { display:none; }
html[data-theme] body #lobby-page .game-load-more:hover:not(:disabled) { background:transparent; box-shadow:none; color:var(--polish-ink); }
html[data-theme] body #lobby-page .game-search { margin-top:8px; scroll-margin-top:12px; }
html[data-theme] body #lobby-page .game-search[hidden] { display:none; }
html[data-theme] body #lobby-page .game-search-form { display:flex; align-items:center; gap:7px; min-width:0; margin:8px 0 12px; padding:0 10px 0 12px; border:1px solid var(--polish-border); border-radius:10px; background:var(--polish-panel); }
html[data-theme] body #lobby-page .game-search-form:focus-within { outline:2px solid var(--polish-focus); outline-offset:1px; }
html[data-theme] body #lobby-page .game-search-form>svg { order:2; flex:none; width:18px; height:18px; color:var(--polish-muted); }
html[data-theme] body #lobby-page .game-search-form input { min-width:0; flex:1; width:100%; min-height:44px; margin:0; padding:9px 0; border:0; border-radius:0; outline:none; box-shadow:none; background:transparent; color:var(--polish-ink); font:inherit; font-size:16px; line-height:1.5; }
html[data-theme] body #lobby-page .game-search-form input::placeholder { color:var(--polish-muted); opacity:1; }
html[data-theme] body #lobby-page .game-search-form input::-webkit-search-cancel-button { -webkit-appearance:none; }
html[data-theme] body #lobby-page .game-search-form .game-search-clear { order:1; display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; min-height:44px; padding:12px; border:0; border-radius:8px; background:transparent; color:var(--polish-muted); box-shadow:none; }
html[data-theme] body #lobby-page .game-search-form .game-search-clear[hidden] { display:none; }
html[data-theme] body #lobby-page .game-search-clear svg { width:18px; height:18px; }
html[data-theme] body #lobby-page .game-search .category-games { margin-top:0; }
@media(max-width:360px) {
 html[data-theme] body #lobby-page .banner-copy { max-width:75%; padding-inline:12px; }
 html[data-theme] body #lobby-page .banner-copy h2 { font-size:23px; }
 html[data-theme] body #lobby-page .banner-copy p { max-width:150px; }
}

/* Keep longer page titles between the home link and the two header actions. */
html[data-theme] body .app>header {display:grid;grid-template-columns:104px minmax(0,1fr) 88px;column-gap:8px;align-items:center;height:calc(56px + env(safe-area-inset-top,0px));padding-top:calc(5px + env(safe-area-inset-top,0px));padding-bottom:5px}
html[data-theme] body .app>header h1 {position:static;left:auto;transform:none;min-width:0;max-width:none;margin:0;text-align:center;white-space:normal;overflow-wrap:normal;line-height:1.18}
html[data-theme] body .app>header .header-contact-actions {width:88px;min-width:88px;margin-left:0;gap:0}
html[data-theme] body .app>header .header-contact-actions>button {flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}

/* All main navigation pages share the same compact header dimensions. */

/* The daily slide shares the generated 2:1 artwork without stretching its pixels. */
html[data-theme] body #lobby-page .banner.daily-generated-home {display:grid;place-items:center;padding:0;background:#792bb0}
html[data-theme] body #lobby-page .daily-generated-home::after {display:none}
html[data-theme] body #lobby-page .home-daily-visual {display:block;position:relative;width:100%;line-height:0}
html[data-theme] body #lobby-page .home-daily-visual>img {display:block;width:100%;height:auto;object-fit:contain}
html[data-theme] body #lobby-page .home-daily-visual>.banner-cta {position:absolute;left:5.5%;bottom:9%;margin:0;min-height:29px;padding:6px 11px;gap:10px;font-size:11px;line-height:15px;white-space:nowrap}

html[data-theme] body #lobby-page .banner.facebook-reward-home {display:grid;place-items:center;padding:0;background:#6a249b}
html[data-theme] body #lobby-page .facebook-reward-home::after {display:none}
html[data-theme] body #lobby-page .facebook-reward-home>img {display:block;width:100%;height:auto;max-height:100%;object-fit:contain}
html[data-theme] body #lobby-page .banner.daily-promotions-home {display:block;align-self:center;height:auto;min-height:0;aspect-ratio:2;padding:0;background:#4c126c}
html[data-theme] body #lobby-page .daily-promotions-home::after {display:none}
html[data-theme] body #lobby-page .daily-promotions-home>img {position:static;display:block;width:100%;height:auto;max-height:none;object-fit:contain}

/* Compact, legible domain wordmark with the approved ring-free gold numerals. */
html[data-theme] body .app>header .brand-domain{display:inline-flex;align-items:center;justify-content:flex-start;width:104px;height:44px;gap:2px;padding:0;white-space:nowrap;text-decoration:none;line-height:1;flex-shrink:0}
html[data-theme] body .app>header .brand-domain .brand-domain-digits{display:block;flex:0 0 40px;width:40px;height:33px;object-fit:contain;border:0;border-radius:0;box-shadow:none}
html[data-theme] body .app>header .brand-domain-name{display:inline-block;color:var(--polish-ink);font-family:var(--polish-font,system-ui,sans-serif);font-size:20px;font-weight:850;font-style:italic;letter-spacing:-.8px;line-height:1.15;transform:translateY(1px)}
html[data-theme] body .app>header .brand-domain-tld{color:var(--polish-accent);font-size:17px;font-weight:800;font-style:normal;letter-spacing:-.4px;margin-left:.4px}
html[data-theme] body .app>header .brand-domain-dot{color:#e4b44c;font-size:22.5px;font-weight:900;font-style:normal;letter-spacing:-.8px}

/* daily-promotions.css */
/* Cartoon gifts run only in the visible promotion view; all money stays readable. */
html[data-theme] body #deposit-page .daily-promotions-entry{gap:12px;min-height:76px;padding:11px 14px;border:1px solid var(--polish-border);background:var(--polish-panel);color:var(--polish-ink);border-radius:14px}
html[data-theme] body #deposit-page .daily-promotions-entry .deposit-offer-gift{width:48px;flex-basis:48px;height:48px}
html[data-theme] body #deposit-page .daily-promotions-entry b{color:var(--polish-ink);font-size:15px;line-height:1.4}
html[data-theme] body #deposit-page .daily-promotions-entry strong{color:var(--polish-muted);font-size:13px;font-weight:500;line-height:1.5}
.daily-gift{--gift-box:#a762e3;--gift-lid:#c58cf4;--gift-highlight:#e0b3ff;--gift-shade:#7042a3;--gift-inside:#4d286e;--gift-outline:#4c285e;--gift-ribbon:#f9cd59;--gift-cycle:3.8s;--gift-phase:0s;--gift-running:paused;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}
.daily-gift[data-gift="1"]{--gift-box:#51bc9e;--gift-lid:#79dfbf;--gift-highlight:#aaf4d4;--gift-shade:#2c897d;--gift-inside:#215b53;--gift-outline:#20584e;--gift-phase:-1.25s}
.daily-gift[data-gift="2"]{--gift-box:#efb646;--gift-lid:#ffd974;--gift-highlight:#ffedb0;--gift-shade:#c68632;--gift-inside:#7e512f;--gift-outline:#79502c;--gift-phase:-2.5s;--gift-ribbon:#fcf1c4}
#deposit-page:not([hidden]) .daily-promotions-entry:not([hidden]) .daily-gift,#deposit-page:not([hidden]) .daily-promotions-panel:not([hidden]) .daily-gift{--gift-running:running}
.daily-gift-lid,.daily-gift-body,.daily-gift-shadow,.daily-gift-glow,.daily-gift-sparkles,.daily-gift-particle{transform-box:view-box;transform-origin:72px 92px;animation-duration:var(--gift-cycle);animation-delay:var(--gift-phase);animation-iteration-count:infinite;animation-play-state:var(--gift-running);animation-timing-function:cubic-bezier(.3,.05,.25,1)}
.daily-gift-lid{animation-name:daily-gift-open}
.daily-gift-body{transform-origin:72px 138px;animation-name:daily-gift-squash}
.daily-gift-shadow{transform-origin:72px 145px;animation-name:daily-gift-ground}
.daily-gift-glow{transform-origin:72px 94px;animation-name:daily-gift-light}
.daily-gift-sparkles{opacity:0;animation-name:daily-gift-twinkle}
.daily-gift-particle{opacity:0;animation-name:daily-gift-money;animation-delay:calc(var(--gift-phase) + var(--particle-offset));animation-timing-function:linear}
.daily-gift-flutter{transform-box:fill-box;transform-origin:center;animation:daily-gift-flutter .65s ease-in-out infinite alternate;animation-play-state:var(--gift-running)}
.daily-gift-particle.is-bill .daily-gift-flutter{animation-name:daily-gift-bill;animation-duration:.8s}
.daily-promotions-entry .daily-gift-particle:nth-of-type(2n),.daily-promotions-entry .daily-gift-sparkles{display:none}
@keyframes daily-gift-open{0%,12%,80%,100%{transform:translate(0,0) rotate(0)}18%{transform:translate(1px,3px) rotate(4deg)}31%{transform:translate(-6px,-38px) rotate(-15deg)}42%,55%{transform:translate(-5px,-34px) rotate(-11deg)}70%{transform:translate(0,2px) rotate(2deg)}75%{transform:translate(0,-3px) rotate(-1deg)}}
@keyframes daily-gift-squash{0%,12%,38%,60%,83%,100%{transform:scale(1,1)}18%{transform:scale(1.06,.9)}29%{transform:scale(.97,1.04)}71%{transform:scale(1.07,.91)}77%{transform:scale(.98,1.03)}}
@keyframes daily-gift-ground{0%,15%,75%,100%{transform:scaleX(1);opacity:.17}35%,55%{transform:scaleX(.87);opacity:.11}}
@keyframes daily-gift-light{0%,23%,72%,100%{opacity:0;transform:scale(.55)}35%,48%{opacity:.15;transform:scale(1.08)}63%{opacity:.04;transform:scale(1.2)}}
@keyframes daily-gift-twinkle{0%,26%,72%,100%{opacity:0;transform:scale(.7)}35%,52%{opacity:1;transform:scale(1)}63%{opacity:0;transform:scale(1.1)}}
@keyframes daily-gift-money{0%,27%{opacity:0;transform:translate(0,4px) rotate(0) scale(.45)}31%{opacity:1;transform:translate(calc(var(--drift)*.18),-16px) rotate(0) scale(.8)}43%{opacity:1;transform:translate(calc(var(--drift)*.6),var(--rise)) rotate(calc(var(--turn)*-.6)) scale(1)}52%{opacity:1;transform:translate(calc(var(--drift)*.84),calc(var(--rise)*.6)) rotate(var(--turn)) scale(1)}63%{opacity:1;transform:translate(var(--drift),var(--fall)) rotate(calc(var(--turn)*1.7)) scale(.85)}68%,100%{opacity:0;transform:translate(var(--drift),calc(var(--fall) + 8px)) rotate(calc(var(--turn)*2)) scale(.55)}}
@keyframes daily-gift-flutter{from{transform:scaleX(1) rotate(-7deg)}to{transform:scaleX(.45) rotate(10deg)}}
@keyframes daily-gift-bill{from{transform:rotate(-17deg) skewX(-5deg)}to{transform:rotate(18deg) skewX(7deg)}}
html[data-theme] body #deposit-page.daily-promotions-open{padding-top:12px}
html[data-theme] body #deposit-page .daily-promo-heading{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:20px;color:var(--polish-muted);font-size:11px;font-weight:650;letter-spacing:.6px;line-height:1.4}
html[data-theme] body #deposit-page .daily-promotions-back{display:grid;place-items:center;width:44px;height:44px;padding:11px;border:1px solid var(--polish-border);border-radius:11px;background:var(--polish-panel);color:var(--polish-ink)}
html[data-theme] body #deposit-page .daily-promotions-back svg{width:20px;height:20px}
html[data-theme] body #deposit-page .daily-promo-date{letter-spacing:0;font-size:12px;font-weight:500;white-space:nowrap}
html[data-theme] body #deposit-page .daily-promo-intro{margin:0 2px 20px}
html[data-theme] body #deposit-page .daily-promo-intro h2{color:var(--polish-ink);font-size:27px;font-weight:700;letter-spacing:-.65px;line-height:1.2;overflow-wrap:anywhere}
html[data-theme] body #deposit-page .daily-promo-intro p{color:var(--polish-muted);margin:9px 0 0;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
html[data-theme] body #deposit-page .daily-promo-packages{display:grid;gap:12px}
html[data-theme] body #deposit-page .daily-package{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:132px;padding:8px 15px 8px 6px;border:1px solid var(--polish-border);border-radius:16px;text-align:left;background:var(--polish-panel);color:var(--polish-ink);transition:border-color .15s,background .15s}
html[data-theme] body #deposit-page .daily-package[aria-pressed="true"]{border-color:var(--polish-accent);background:color-mix(in srgb,var(--polish-accent) 7%,var(--polish-panel))}
html[data-theme] body #deposit-page .daily-package:disabled{cursor:default}
html[data-theme] body #deposit-page .daily-package:disabled .daily-gift{--gift-running:paused}
html[data-theme] body #deposit-page .daily-package-copy .daily-package-purchased{justify-self:start;padding:3px 7px;border-radius:5px;background:var(--polish-raised);font-size:11px;letter-spacing:0}
html[data-theme] body #deposit-page .daily-package-art{display:block;width:96px;height:116px;pointer-events:none}
html[data-theme] body #deposit-page .daily-package-copy{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
html[data-theme] body #deposit-page .daily-package-copy small{color:var(--polish-muted);font-size:10px;font-weight:650;letter-spacing:.7px;line-height:1.3}
html[data-theme] body #deposit-page .daily-package-copy strong{color:var(--polish-ink);font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
html[data-theme] body #deposit-page .daily-package-bonus{color:var(--polish-accent);font-size:14px;font-weight:600;line-height:1.4}
html[data-theme] body #deposit-page .daily-package-rate{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:15px;max-width:78px}
html[data-theme] body #deposit-page .daily-package-rate b{padding:4px 7px;border-radius:7px;background:var(--polish-raised);color:var(--polish-ink);font-size:13px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
html[data-theme] body #deposit-page .daily-package-check{display:grid;place-items:center;width:23px;height:23px;border:1px solid var(--polish-border);border-radius:50%;font-size:13px;color:transparent}
html[data-theme] body #deposit-page .daily-package[aria-pressed="true"] .daily-package-check{border-color:var(--polish-accent);background:var(--polish-accent);color:#fff}
html[data-theme] body #deposit-page :is(.daily-promo-cutoff,.daily-promo-status){margin:14px 2px 0;color:var(--polish-muted);font-size:12px;line-height:1.6}
html[data-theme] body #deposit-page .daily-promo-status{padding:20px 16px;border:1px solid var(--polish-border);border-radius:14px;background:var(--polish-panel);font-size:14px}
html[data-theme] body #deposit-page .daily-promo-retry{min-height:44px;margin-top:12px;padding:10px 18px;border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-raised);color:var(--polish-ink);font-size:14px}
html[data-theme] body #deposit-page .daily-promo-quote{display:grid;gap:9px;margin:20px 0 16px;padding:18px;border:1px solid var(--polish-border);border-radius:14px;background:var(--polish-panel);color:var(--polish-ink)}
html[data-theme] body #deposit-page .daily-promo-quote h3{margin:0 0 3px;font-size:16px;font-weight:650}
html[data-theme] body #deposit-page .daily-promo-quote>div{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:1.5}
html[data-theme] body #deposit-page .daily-promo-quote>div>span{color:var(--polish-muted)}
html[data-theme] body #deposit-page .daily-promo-quote strong{font-weight:650;font-variant-numeric:tabular-nums}
html[data-theme] body #deposit-page .daily-promo-quote-total{border-top:1px solid var(--polish-border);padding-top:10px;margin-top:2px}
html[data-theme] body #deposit-page .daily-promo-quote-total strong{font-size:18px;color:var(--polish-accent)}
html[data-theme] body #deposit-page .daily-promo-quote p{margin:2px 0 0;color:var(--polish-muted);font-size:12px;line-height:1.5}
html[data-theme] body #deposit-page.daily-promotions-open :is(.deposit-amount-heading,.deposit-amount-field,.deposit-amount-grid){display:none!important}
html[data-theme] body #deposit-page.daily-promotions-open .deposit-checkout{margin-top:18px}
@media(max-width:360px){html[data-theme] body #deposit-page .daily-package{grid-template-columns:72px minmax(0,1fr) auto;gap:7px;padding:8px 10px 8px 3px;min-height:118px}html[data-theme] body #deposit-page .daily-package-art{width:72px;height:100px}html[data-theme] body #deposit-page .daily-package-copy strong{font-size:18px}html[data-theme] body #deposit-page .daily-promo-intro h2{font-size:25px}html[data-theme] body #deposit-page .daily-promo-heading{gap:8px;font-size:10px;letter-spacing:.3px}}
@media(prefers-reduced-motion:reduce){html[data-theme] body #deposit-page .daily-package{transition:none}.daily-gift *{animation:none!important}.daily-gift-particle,.daily-gift-glow,.daily-gift-sparkles{opacity:0}}

/* support-contact.css */
/* Keep recognizable brand artwork intact in both player themes. */
html[data-theme] body .support-social-logo{display:block;flex:0 0 22px;width:22px;height:22px;object-fit:contain;filter:none;opacity:1}
html[data-theme] body img.facebook-brand-icon{display:block;object-fit:contain;filter:none;opacity:1;border:0;border-radius:50%}
html[data-theme] body .support-contact-actions .support-facebook{gap:8px}
html[data-theme] body .client-chat .chat-welcome-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
html[data-theme] body .client-chat .chat-welcome-action{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:44px;padding:9px 7px;font-size:14px;line-height:1.35;white-space:nowrap;box-shadow:none}
html[data-theme] body .client-chat .chat-welcome-button-icon{display:block;flex:0 0 22px;width:22px;height:22px;font-size:0;line-height:0}
html[data-theme] body .client-chat .chat-welcome-telegram{border:1px solid #b4dbea;background:#eaf5fb;color:#216c8e}
html[data-theme="dark"] body .client-chat .chat-welcome-telegram{border-color:#315970;background:#1b303e;color:#acd8ee}
html[data-theme] body .client-chat .chat-agent-message .chat-message-bubble:has(.chat-welcome-actions){box-sizing:border-box;width:100%;max-width:100%;padding:12px}
html[data-theme="light"] body .support-contact-actions .support-facebook,
html[data-theme] body .client-chat .chat-welcome-facebook{border:1px solid #c2d4ee;background:#edf3fc;color:#285fa8}
html[data-theme="dark"] body .client-chat .chat-welcome-facebook{border-color:#344d74;background:#1b2942;color:#9bc0fa}
@media(max-width:360px){html[data-theme] body .support-contact-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}html[data-theme] body .support-contact-actions button{width:100%;min-width:0;justify-content:center}}
@media(max-width:340px){html[data-theme] body .client-chat .chat-welcome-action{gap:5px;padding-inline:5px;font-size:13px}html[data-theme] body .client-chat :is(.chat-welcome-button-icon,.support-social-logo){flex-basis:20px;width:20px;height:20px}}

/* catalog-status.css */
/* Neutral first paint for server-managed activity catalogs. */
html[data-theme] body .promotion-catalog-status{display:grid;place-content:center;justify-items:center;gap:12px;padding:20px 16px;border:1px solid var(--polish-border,#dee1e7);border-radius:15px;background:var(--polish-raised,#f0f1f4);color:var(--polish-muted,#616977);font-size:14px;line-height:1.5;text-align:center;box-shadow:none}
html[data-theme] body .promotion-catalog-status[hidden]{display:none!important}
html[data-theme] body .promotion-catalog-status p{margin:0;max-width:28em}
html[data-theme] body .promotion-catalog-status--home{width:calc(100% - 32px);min-width:0;min-height:200px;aspect-ratio:2/1}
html[data-theme] body .promotion-catalog-status--offers{width:100%;min-height:160px;aspect-ratio:2/1}
html[data-theme] body .promotion-catalog-status--notice{min-height:0;padding:10px 14px;margin:8px 0;gap:8px}
html[data-theme] body .promotion-catalog-retry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border:1px solid var(--polish-border,#dee1e7);border-radius:10px;background:var(--polish-panel,#fff);color:var(--polish-accent,#80539a);font:600 14px/1.4 var(--polish-font,system-ui,sans-serif);cursor:pointer}
html[data-theme] body .promotion-catalog-retry:disabled{opacity:.6;cursor:default}
html[data-theme] body .promotion-catalog-retry:focus-visible{outline:2px solid var(--polish-focus,#80539a);outline-offset:3px}

/* promotion-layout.css */
/* Shared colors for the built-in promotion banners and their CTA. */
:root {
 --promotion-backdrop:linear-gradient(180deg,#5c1ba1 0%,#6623b3 27%,#7c34cb 52%,#9247e4 77%,#a85cf8 100%);
 --promotion-illustration-mask:linear-gradient(90deg,transparent 38%,#000 63%);
 --promotion-cta-fill:linear-gradient(180deg,#fdeea1 0%,#ffd662 100%);
 --promotion-cta-ink:#4a077e;
 --promotion-cta-font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 --promotion-cta-font-size:15px;
 --promotion-cta-font-weight:750;
 --promotion-cta-line-height:20px;
 --promotion-cta-min-height:34px;
 --promotion-cta-radius:999px;
 --promotion-cta-padding:6px 14px;
}
/* The daily check-in banner provides the palette for the built-in illustrations. */
html[data-theme] body :is(
 #lobby-page .banner.promotion-layout,
 #lobby-page .banner:not(.managed-banner),
 #offers-page .offer-banner.promotion-layout,
 #offers-page .offer-banner:not(.has-custom-art),
 dialog.daily-login-dialog .daily-hero.promotion-layout,
 #deposit-page.first-deposit-open .first-deposit-stage
){
 background:#5c1ba1 var(--promotion-backdrop);
}
html[data-theme] body :is(
 #lobby-page .promotion-layout>.promotion-image,
 #lobby-page .banner:not(.managed-banner)>.hero-art,
 #offers-page .promotion-layout>.promotion-image,
 #offers-page .offer-banner:not(.has-custom-art)>.offer-banner-art,
 dialog.daily-login-dialog .promotion-layout>.promotion-image
),
#deposit-page.first-deposit-open .first-deposit-stage::before{
 -webkit-mask-image:var(--promotion-illustration-mask);
 mask-image:var(--promotion-illustration-mask);
}
html[data-theme] body #lobby-page .banner:not(.managed-banner)::after,
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art)>.offer-banner-shade{display:none}


/* One text grid for built-in homepage, activity and daily-reward artwork. */
html[data-theme] body :is(#lobby-page .banner.promotion-layout,#offers-page .offer-banner.promotion-layout,dialog.daily-login-dialog .daily-hero.promotion-layout){position:relative;display:block;height:200px;min-height:200px;aspect-ratio:auto;padding:0;overflow:hidden;isolation:isolate}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout>.promotion-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:70% center;z-index:0}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout::after{display:none}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout>.promotion-copy{position:absolute;inset:15px auto 15px 16px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:64%;max-width:245px;text-align:left;color:#fff}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-tag{display:block;margin:0;padding:0;border:0;background:none;color:#fff;font-size:12px;font-weight:700;line-height:17px;letter-spacing:.35px;text-transform:uppercase}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-title{display:block;margin:7px 0 0;padding:0;color:#fff;font-size:26px;font-weight:750;line-height:1.07;letter-spacing:-.6px;text-shadow:none}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-title em{color:#ffed9c;font-style:normal}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-subtitle{display:block;max-width:180px;margin:7px 0 0;padding:0;color:#fff;font-size:13px;font-weight:500;line-height:1.4;text-shadow:none}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown{display:block;width:max-content;max-width:100%;margin-top:8px;padding:0;background:none}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown[hidden]{display:none}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown strong{display:flex;align-items:center;gap:4px;color:#ffed9c;font-size:25px;line-height:36px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:0}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout [data-first-deposit-time-part]{display:grid;place-items:center;flex:0 0 42px;min-width:42px;height:36px;padding:0 5px;border:1px solid #ffe7a65e;border-radius:7px;background:linear-gradient(180deg,#6f259be6,#45116bd9);box-shadow:inset 0 1px 0 #ffffff1a}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown i{font-style:normal;font-size:22px;line-height:36px}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-cta{position:static;width:max-content;max-width:100%;margin:auto 0 0}
/* Existing editable templates use the same anchors and type scale. */
html[data-theme] body #lobby-page .banner:not(.managed-banner):not(.promotion-layout){height:200px;min-height:200px}
html[data-theme] body #lobby-page .banner:not(.promotion-layout) .banner-copy{position:absolute;inset:15px auto 15px 16px;display:flex;flex-direction:column;align-items:flex-start;width:64%;max-width:245px;height:auto;min-height:0;padding:0;z-index:2}
html[data-theme] body #lobby-page .banner-copy .eyebrow{margin:0;padding:0;color:#fff;font-size:12px;font-weight:700;line-height:17px;letter-spacing:.35px}
html[data-theme] body #lobby-page .banner-copy h2{margin:7px 0 0;color:#fff;font-size:26px;font-weight:750;line-height:1.07;letter-spacing:-.6px}
html[data-theme] body #lobby-page .banner-copy h2 em{color:#ffed9c}
html[data-theme] body #lobby-page .banner-copy p{max-width:180px;margin:7px 0 0;color:#fff;font-size:13px;font-weight:500;line-height:1.4}
html[data-theme] body #lobby-page .banner-copy .banner-cta{margin:auto 0 0}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art){height:200px;min-height:200px;aspect-ratio:auto}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-category-tag{position:absolute;left:16px;top:15px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#fff;font-size:12px;font-weight:700;line-height:17px;letter-spacing:.35px;text-transform:uppercase}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy{position:absolute;inset:39px auto 15px 16px;display:flex;flex-direction:column;align-items:flex-start;width:64%;max-width:245px;height:auto;min-height:0;padding:0}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy>strong{margin:0;padding:0;color:#fff;font-size:26px;font-weight:750;line-height:1.07;letter-spacing:-.6px;text-shadow:none}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy>strong em{color:#ffed9c;font-style:normal}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-subtitle{max-width:180px;margin:7px 0 0;padding:0;color:#fff;font-size:13px;font-weight:500;line-height:1.4}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-cta{position:static;width:max-content;max-width:100%;margin:auto 0 0}
@media(max-width:360px){
 html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-title,html[data-theme] body #lobby-page .banner-copy h2,html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy>strong{font-size:24px;letter-spacing:-.5px}
 html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout>.promotion-copy,html[data-theme] body #lobby-page .banner:not(.promotion-layout) .banner-copy,html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy{left:14px;width:68%}
 html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-category-tag{left:14px}
}
html[data-theme] body #lobby-page .community-rewards-banner>.promotion-image{
 object-position:46% center;
}
html[data-theme] body #lobby-page .community-rewards-banner>.promotion-copy{
 font-family:var(--promotion-cta-font-family);
}
html[data-theme] body #lobby-page .community-rewards-banner .promotion-tag{
 font-size:clamp(12px,3.5vw,14px);line-height:1.25;letter-spacing:.25px;
}
html[data-theme] body #lobby-page .community-rewards-banner .promotion-title{
 font-size:clamp(30px,8.5vw,37px);font-weight:800;line-height:1.04;letter-spacing:-.75px;
}
html[data-theme] body #lobby-page .community-rewards-banner .promotion-subtitle{
 max-width:188px;font-size:clamp(14px,3.8vw,15px);line-height:1.35;
}
/* Appearance is shared; each card retains its established action position. */
.promotion-cta,
html[data-theme] body :is(#lobby-page .banner,#offers-page .offer-banner,dialog.daily-login-dialog .daily-hero) :is(.promotion-cta,.banner-cta,.offer-banner-cta,.daily-generated-cta){
 display:inline-flex;align-items:center;justify-content:center;
 width:fit-content;max-width:100%;min-width:0;height:auto;min-height:var(--promotion-cta-min-height);padding:var(--promotion-cta-padding);flex:0 1 auto;
 border:0;border-radius:var(--promotion-cta-radius);background:var(--promotion-cta-fill);box-shadow:none;
 color:var(--promotion-cta-ink);font-family:var(--promotion-cta-font-family);font-size:var(--promotion-cta-font-size);
 font-weight:var(--promotion-cta-font-weight);line-height:var(--promotion-cta-line-height);letter-spacing:0;
 text-align:center;text-decoration:none;text-shadow:none;white-space:normal;overflow-wrap:anywhere;
}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-cta:has(>.promotion-facebook-logo){gap:7px}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-cta>.promotion-facebook-logo{position:static;inset:auto;display:block;flex:0 0 20px;width:20px;height:20px;max-width:none;max-height:none;margin:0;padding:0;object-fit:contain;object-position:center;filter:none;opacity:1;border:0;border-radius:50%;transform:none}

/* withdrawal-rules.css */
/* Wallet rules are a separate reader view; all monetary values come from the server. */
html[data-theme] body #deposit-page .deposit-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
html[data-theme] body #deposit-page .deposit-tabs button{min-width:0;font-size:13px;white-space:nowrap}
html[data-theme] body #deposit-page #deposit-rules{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));color:var(--polish-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;text-align:left;font-size:15px;line-height:1.65}
html[data-theme] body #deposit-rules .withdraw-rules-header{margin:0 0 16px}
html[data-theme] body #deposit-rules #withdrawal-rules-title{margin:0 0 8px;color:var(--polish-ink);font-size:23px;font-weight:700;line-height:1.3;letter-spacing:-.3px}
html[data-theme] body #deposit-rules .withdraw-rules-intro{margin:0;color:var(--polish-muted);font-size:15px;line-height:1.6}
html[data-theme] body #deposit-rules .withdraw-rules-definition{margin:0 0 16px;padding:13px 14px;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-raised,var(--polish-panel));color:var(--polish-muted);font-size:14px;line-height:1.6}
html[data-theme] body #deposit-rules .withdraw-rules-definition strong{display:block;margin-bottom:4px;color:var(--polish-ink);font-size:14px;font-weight:700}
html[data-theme] body #deposit-rules .withdraw-rules-definition p{margin:0}
html[data-theme] body #deposit-rules .withdraw-rules-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 18px}
html[data-theme] body #deposit-rules .withdraw-rules-jump a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:9px 10px;border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-panel);color:var(--polish-accent);font-size:14px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none}
html[data-theme] body #deposit-rules :is(.withdraw-rules-section,.withdraw-rules-current){margin:0 0 14px;padding:15px;border:1px solid var(--polish-border);border-radius:14px;background:var(--polish-panel);scroll-margin-top:18px}
html[data-theme] body #deposit-rules :is(.withdraw-rules-section,.withdraw-rules-current) h3{margin:0 0 10px;color:var(--polish-ink);font-size:18px;font-weight:700;line-height:1.4}
html[data-theme] body #deposit-rules .withdraw-rules-current{border-left:3px solid var(--polish-accent);background:var(--polish-raised,var(--polish-panel))}
html[data-theme] body #deposit-rules .withdraw-rules-fund-tag{display:inline-flex;align-items:center;min-height:25px;margin:0 0 9px;padding:2px 9px;border:1px solid var(--polish-border);border-radius:7px;color:var(--polish-ink);font-size:12px;font-weight:700;line-height:1.4}
html[data-theme] body #deposit-rules .withdraw-rules-fund-tag.is-free{background:#9c60bf20;border-color:#a66dc75c;color:var(--polish-accent)}
html[data-theme] body #deposit-rules .withdraw-rules-fund-tag.is-deposit{background:#d3ab4a20;border-color:#cfa34e66}
html[data-theme] body #deposit-rules .withdraw-rules-note{color:var(--polish-muted);font-size:14px;line-height:1.6}
html[data-theme] body #deposit-rules .withdraw-rules-details{margin-top:12px;padding:0 11px;border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-raised,var(--polish-panel))}
html[data-theme] body #deposit-rules .withdraw-rules-details summary{min-height:44px;padding:10px 0;color:var(--polish-accent);font-size:14px;font-weight:650;line-height:1.6;cursor:pointer}
html[data-theme] body #deposit-rules .withdraw-rules-details[open]{padding-bottom:11px}
html[data-theme] body #deposit-rules .withdraw-rules-section :is(p,ol,ul){margin:0 0 12px}
html[data-theme] body #deposit-rules .withdraw-rules-section :is(ol,ul){padding-left:21px}
html[data-theme] body #deposit-rules .withdraw-rules-section li+li{margin-top:8px}
html[data-theme] body #deposit-rules .withdraw-rules-section :is(p,ol,ul):last-child{margin-bottom:0}
html[data-theme] body #deposit-rules :is(.withdraw-rules-section,.withdraw-rules-current) strong{color:var(--polish-ink);font-weight:700}
html[data-theme] body #deposit-rules .withdraw-rules-metrics{display:grid;gap:9px;margin:0 0 14px;padding:12px;border-radius:10px;background:var(--polish-raised,var(--polish-canvas))}
html[data-theme] body #deposit-rules .withdraw-rules-metrics div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 12px;min-width:0}
html[data-theme] body #deposit-rules .withdraw-rules-metrics dt{min-width:0;color:var(--polish-muted);font-size:13px;line-height:1.5}
html[data-theme] body #deposit-rules .withdraw-rules-metrics dd{min-width:0;margin:0 0 0 auto;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.5;overflow-wrap:anywhere}
html[data-theme] body #deposit-rules .withdraw-rules-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--polish-border);border-radius:10px;margin-bottom:12px}
html[data-theme] body #deposit-rules table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.5}
html[data-theme] body #deposit-rules :is(th,td){padding:9px 10px;border-bottom:1px solid var(--polish-border)}
html[data-theme] body #deposit-rules th{color:var(--polish-muted);font-size:13px;font-weight:650;background:var(--polish-raised,var(--polish-panel))}
html[data-theme] body #deposit-rules tbody tr:last-child :is(th,td){border-bottom:0}
html[data-theme] body #deposit-rules :is(.withdraw-rules-status,.withdraw-rules-error){margin:0 0 14px;color:var(--polish-muted);font-size:14px;line-height:1.6}
html[data-theme] body #deposit-rules .withdraw-rules-retry{min-height:44px;padding:9px 15px;border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-panel);color:var(--polish-accent);font:inherit;font-size:14px;font-weight:650}
html[data-theme] body #deposit-rules :is(a,button):focus-visible{outline:2px solid var(--polish-focus,var(--polish-accent));outline-offset:3px}
@media(max-width:360px){
 html[data-theme] body #deposit-page .deposit-tabs{display:flex;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 html[data-theme] body #deposit-page .deposit-tabs::-webkit-scrollbar{display:none}
 html[data-theme] body #deposit-page .deposit-tabs button{flex:1 0 64px;min-width:64px;font-size:12px}
 html[data-theme] body #deposit-rules :is(.withdraw-rules-section,.withdraw-rules-current){padding:13px}
}

/* wallet-vip-benefits.css */
/* Wallet VIP overview. Scoped to this view; reward and withdrawal behavior stays in the existing flows. */
html[data-theme] body #deposit-vip .wallet-vip-perks{
 --wallet-vip-gold:#86601c;
 --wallet-vip-gold-wash:#caa74714;
 --wallet-vip-hero-tint:#9c69bc14;
 display:block;
 min-width:0;
 padding:0 0 calc(88px + env(safe-area-inset-bottom,0px));
 color:var(--polish-ink);
 font-family:var(--polish-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif);
 font-size:14px;
 line-height:1.6;
 text-align:left;
}
html[data-theme="dark"] body #deposit-vip .wallet-vip-perks{
 --wallet-vip-gold:#e9cd8a;
 --wallet-vip-gold-wash:#d5b76d12;
 --wallet-vip-hero-tint:#a27cc51c;
}
html[data-theme] body #deposit-vip .wallet-vip-perks :is(div,article,section,h2,h3,p,ol,li,a,button,span){box-sizing:border-box;min-width:0}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-perks-hero{
 display:grid;
 grid-template-columns:40px minmax(0,1fr);
 column-gap:12px;
 align-items:center;
 margin:0 0 16px;
 padding:19px 18px;
 border:1px solid var(--polish-border);
 border-radius:18px;
 background:linear-gradient(135deg,var(--wallet-vip-hero-tint),transparent 75%),var(--polish-panel);
 box-shadow:var(--polish-inset);
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-emblem{
 display:grid;
 grid-column:1;
 grid-row:1 / 3;
 place-items:center;
 width:40px;
 height:44px;
 border:1px solid var(--polish-border);
 border-radius:12px;
 background:var(--wallet-vip-gold-wash);
 color:var(--wallet-vip-gold);
}
html[data-theme] body #deposit-vip .wallet-vip-perks :is(.wallet-vip-emblem,.wallet-vip-card-icon) svg{display:block;flex:none;width:24px;height:24px}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-kicker{
 display:block;
 grid-column:2;
 margin:0 0 5px;
 color:var(--wallet-vip-gold);
 font-size:12px;
 font-weight:700;
 line-height:1.4;
 letter-spacing:1px;
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-title{
 grid-column:2;
 margin:0;
 padding:0;
 color:var(--polish-ink);
 font-size:23px;
 font-weight:700;
 line-height:1.25;
 letter-spacing:-.35px;
 text-wrap:balance;
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-intro{
 grid-column:1 / -1;
 margin:12px 0 0;
 color:var(--polish-muted);
 font-size:14px;
 line-height:1.65;
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:0}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-card{
 display:grid;
 grid-template-columns:40px minmax(0,1fr);
 column-gap:12px;
 row-gap:5px;
 align-items:start;
 margin:0;
 padding:16px;
 border:1px solid var(--polish-border);
 border-radius:14px;
 background:var(--polish-panel);
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-card-icon{
 display:grid;
 grid-column:1;
 grid-row:1 / 3;
 place-items:center;
 width:40px;
 height:40px;
 border:1px solid var(--polish-line,var(--polish-border));
 border-radius:11px;
 background:var(--polish-raised);
 color:var(--polish-accent);
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-card-title{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:6px 8px;
 grid-column:2;
 margin:0;
 color:var(--polish-ink);
 font-size:15px;
 font-weight:700;
 line-height:1.45;
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-card-status{
 display:inline-flex;
 align-items:center;
 min-height:24px;
 padding:2px 7px;
 border:1px solid var(--polish-border);
 border-radius:6px;
 background:var(--polish-raised);
 color:var(--polish-muted);
 font-size:12px;
 font-weight:600;
 line-height:1.4;
 letter-spacing:0;
 white-space:nowrap;
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-card-copy{
 grid-column:2;
 margin:0;
 color:var(--polish-muted);
 font-size:14px;
 line-height:1.65;
 overflow-wrap:anywhere;
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-footer{display:grid;justify-items:start;gap:12px;margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--polish-border)}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-footer-copy{margin:0;color:var(--polish-muted);font-size:14px;line-height:1.65}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-cta{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:0;
 width:auto;
 max-width:100%;
 min-height:46px;
 margin:0;
 padding:12px 20px;
 border:1px solid #e4c267;
 border-radius:999px;
 background:var(--promotion-cta-fill,linear-gradient(180deg,#fdeea1 0%,#ffd662 100%));
 color:var(--promotion-cta-ink,#4a077e);
 font:inherit;
 font-size:15px;
 font-weight:750;
 line-height:1.4;
 text-align:center;
 text-decoration:none;
 white-space:normal;
 overflow-wrap:anywhere;
 cursor:pointer;
}
html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-contact{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 width:auto;
 max-width:100%;
 min-height:44px;
 margin:0;
 padding:9px 10px;
 border:1px solid var(--polish-border);
 border-radius:10px;
 background:transparent;
 color:var(--polish-accent);
 font:inherit;
 font-size:14px;
 font-weight:650;
 line-height:1.5;
 text-align:center;
 text-decoration:none;
 white-space:normal;
 overflow-wrap:anywhere;
 cursor:pointer;
}
html[data-theme] body #deposit-vip .wallet-vip-perks :is(.wallet-vip-cta,.wallet-vip-contact):focus-visible{outline:2px solid var(--polish-focus,var(--polish-accent));outline-offset:4px}
@media(max-width:360px){
 html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-perks-hero{padding:17px 14px;column-gap:10px}
 html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-title{font-size:22px}
 html[data-theme] body #deposit-vip .wallet-vip-perks .wallet-vip-card{padding:14px 12px;column-gap:10px}
}

/* records.css */
/* History is an independent, read-only account view. */
html[data-theme] body .app.records-open{padding-bottom:0;background:var(--polish-canvas);color:var(--polish-ink);min-height:100dvh}
html[data-theme] body .app.records-open>header,html[data-theme] body .app.records-open>.bottom-nav{display:none}
html[data-theme] body #records-page{min-width:0;max-width:100%;min-height:100dvh;background:var(--polish-canvas);color:var(--polish-ink);font-family:var(--polish-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif);font-size:14px;line-height:1.6;text-align:left}
html[data-theme] body #records-page[hidden],html[data-theme] body #records-page [hidden]{display:none!important}
html[data-theme] body #records-page :is(div,nav,table,thead,tbody,tr,th,td,button,h2,h3,p,strong,small,span,time){box-sizing:border-box;min-width:0}
html[data-theme] body #records-page .records-header{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:calc(56px + env(safe-area-inset-top,0px));padding:5px 12px;padding-top:calc(5px + env(safe-area-inset-top,0px));border-bottom:1px solid var(--polish-border);background:var(--polish-panel)}
html[data-theme] body #records-page #records-title{margin:0;padding:0;color:var(--polish-ink);font-size:20px;font-weight:700;line-height:1.3;text-align:center;letter-spacing:-.25px}
html[data-theme] body #records-page .records-back{display:grid;place-items:center;width:44px;min-height:44px;margin:0;padding:10px;border:0;border-radius:11px;background:transparent;color:var(--polish-accent);cursor:pointer}
html[data-theme] body #records-page .records-header-spacer{width:44px;height:44px}
html[data-theme] body #records-page :is(.records-back,.records-refresh) svg:not(.player-refresh-icon){display:block;width:22px;height:22px}
html[data-theme] body #records-page .records-refresh-bar{display:flex;justify-content:center;margin-top:17px}
html[data-theme] body #records-page .records-refresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:0;padding:9px 15px;border:1px solid var(--polish-border);border-radius:11px;background:transparent;color:var(--polish-accent);font:inherit;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer}
html[data-theme] body #records-page .records-refresh:disabled:not(.is-refreshing){opacity:.5;cursor:wait}
html[data-theme] body #records-page .records-content{max-width:100%;padding:16px 14px max(26px,env(safe-area-inset-bottom,0px))}
html[data-theme] body #records-page .records-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;width:100%;margin:0 0 20px;padding:4px;border:1px solid var(--polish-border);border-radius:13px;background:var(--polish-panel)}
html[data-theme] body #records-page .records-tab{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:8px 2px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--polish-muted);font:inherit;font-size:14px;font-weight:650;line-height:1.4;text-align:center;white-space:nowrap;cursor:pointer}
html[data-theme] body #records-page .records-tab[aria-selected=true]{border-color:var(--polish-border);background:var(--polish-raised);color:var(--polish-accent);box-shadow:var(--polish-inset)}
html[data-theme] body #records-page .records-toolbar{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:5px 12px;margin:0 0 12px}
html[data-theme] body #records-page .records-results-title{margin:0;color:var(--polish-ink);font-size:16px;font-weight:700;line-height:1.4}
html[data-theme] body #records-page .records-summary{margin:0;color:var(--polish-muted);font-size:12px;line-height:1.5}
html[data-theme] body #records-page .records-table-wrap{max-width:100%;overflow:clip;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-panel)}
html[data-theme] body #records-page .records-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.5}
html[data-theme] body #records-page .records-table th{width:27%;padding:11px 8px;border-bottom:1px solid var(--polish-border);background:var(--polish-raised);color:var(--polish-muted);font-size:12px;font-weight:650;line-height:1.5;text-align:right}
html[data-theme] body #records-page .records-table th:first-child{width:43%;text-align:left}
html[data-theme] body #records-page .records-table th:last-child{width:30%}
html[data-theme] body #records-page .records-table td{padding:13px 8px;border-bottom:1px solid var(--polish-line,var(--polish-border));vertical-align:top;overflow-wrap:anywhere}
html[data-theme] body #records-page .records-table tr:last-child td{border-bottom:0}
html[data-theme] body #records-page :is(.records-name,.records-value){display:block;color:var(--polish-ink);font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
html[data-theme] body #records-page .records-amount>.records-value{color:var(--polish-accent)}
html[data-theme] body #records-page .records-description{text-align:left}
html[data-theme] body #records-page :is(.records-amount,.records-when){text-align:right;font-variant-numeric:tabular-nums}
html[data-theme] body #records-page .records-detail{display:block;margin-top:4px;color:var(--polish-muted);font-size:12px;line-height:1.55;overflow-wrap:anywhere}
html[data-theme] body #records-page .records-when time{display:block;color:var(--polish-muted);font-size:12px;line-height:1.55}
html[data-theme] body #records-page :is(.records-date,.records-clock){display:block}
html[data-theme] body #records-page .records-clock{margin-top:4px}
html[data-theme] body #records-page .records-badge{display:inline-block;max-width:100%;margin-top:6px;padding:2px 6px;border:1px solid var(--polish-border);border-radius:6px;background:var(--polish-raised);color:var(--polish-muted);font-size:12px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
html[data-theme] body #records-page .records-badge.is-completed{color:var(--polish-accent)}
html[data-theme] body #records-page .records-badge:is(.is-pending,.is-approved){border-color:#b28f4f70;color:#8d631e}
html[data-theme="dark"] body #records-page .records-badge:is(.is-pending,.is-approved){color:#e4c37d}
html[data-theme] body #records-page .records-badge:is(.is-rejected,.is-failed){color:#a23c49}
html[data-theme="dark"] body #records-page .records-badge:is(.is-rejected,.is-failed){color:#e7a2aa}
html[data-theme] body #records-page .records-status{margin:12px 0;color:var(--polish-muted);font-size:14px;line-height:1.6}
html[data-theme] body #records-page .records-error{margin:14px 0;padding:14px;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-panel);color:var(--polish-muted)}
html[data-theme] body #records-page .records-error p{margin:0 0 8px;font-size:14px;line-height:1.6}
html[data-theme] body #records-page .records-empty{display:flex;min-height:32vh;padding:28px 18px;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-panel);color:var(--polish-muted);text-align:center}
html[data-theme] body #records-page .records-empty strong{color:var(--polish-ink);font-size:16px;font-weight:650;line-height:1.5}
html[data-theme] body #records-page .records-empty p{max-width:260px;margin:0;font-size:14px;line-height:1.65}
html[data-theme] body #records-page .records-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:16px}
html[data-theme] body #records-page :is(.records-previous,.records-next,.records-retry){min-height:44px;padding:9px 11px;border:1px solid var(--polish-border);border-radius:9px;background:var(--polish-panel);color:var(--polish-accent);font:inherit;font-size:13px;font-weight:650;line-height:1.5;cursor:pointer}
html[data-theme] body #records-page .records-previous{justify-self:start}
html[data-theme] body #records-page .records-next{justify-self:end}
html[data-theme] body #records-page :is(.records-previous,.records-next):disabled{color:var(--polish-muted);opacity:.5;cursor:default}
html[data-theme] body #records-page .records-page-number{color:var(--polish-muted);font-size:12px;line-height:1.5;text-align:center}
html[data-theme] body #records-page .records-local-time{margin:14px 0 0;color:var(--polish-muted);font-size:12px;line-height:1.6;text-align:center}
html[data-theme] body #records-page .records-table-wrap:is(.is-transaction,.is-reward){border:0;border-radius:0;background:transparent}
html[data-theme] body #records-page .records-table.is-transaction th{width:26%;padding:12px 4px 14px;background:transparent;font-size:13px;text-align:center}
html[data-theme] body #records-page .records-table.is-transaction th:first-child{width:24%;text-align:left}
html[data-theme] body #records-page .records-table.is-transaction th:nth-child(3){width:28%}
html[data-theme] body #records-page .records-table.is-transaction th:last-child{width:22%;text-align:right}
html[data-theme] body #records-page .records-table.is-transaction td{padding:14px 4px;vertical-align:top}
html[data-theme] body #records-page .records-table.is-transaction tr:last-child td{border-bottom:1px solid var(--polish-line,var(--polish-border))}
html[data-theme] body #records-page .records-table.is-transaction :is(.records-order,.records-when){text-align:center}
html[data-theme] body #records-page .records-order-id{display:block;overflow:hidden;color:var(--polish-accent);font-size:13px;font-weight:500;line-height:1.6;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-theme] body #records-page .records-table.is-transaction .records-badge{margin-top:4px;padding:0;border:0;border-radius:0;background:transparent;font-weight:400}
html[data-theme] body #records-page .records-table.is-reward th{padding:12px 4px 14px;background:transparent;font-size:13px;text-align:center}
html[data-theme] body #records-page .records-table.is-reward th:first-child{width:42%;text-align:left}
html[data-theme] body #records-page .records-table.is-reward th:nth-child(2){width:32%}
html[data-theme] body #records-page .records-table.is-reward th:last-child{width:26%;text-align:right}
html[data-theme] body #records-page .records-table.is-reward td{padding:14px 4px;vertical-align:top}
html[data-theme] body #records-page .records-table.is-reward tr:last-child td{border-bottom:1px solid var(--polish-line,var(--polish-border))}
html[data-theme] body #records-page .records-table.is-reward .records-when{text-align:center}
html[data-theme] body #records-page .records-table.is-reward .records-badge{margin-top:4px;padding:0;border:0;border-radius:0;background:transparent;font-weight:400}
html[data-theme] body #records-page .records-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-theme] body #records-page button:focus-visible{outline:2px solid var(--polish-focus,var(--polish-accent));outline-offset:3px}
html[data-theme] body #profile-records .records-menu-icon{color:#94702d}
html[data-theme="dark"] body #profile-records .records-menu-icon{color:#e4c37d}
html[data-theme] body #profile-records .records-menu-summary{display:block;flex:0 1 145px;min-width:0;max-width:48%;margin-left:auto;color:var(--polish-muted);font-size:12px;font-weight:400;line-height:1.45;text-align:right;white-space:normal}
html[data-theme] body #profile-records>b{flex:0 0 auto;margin-left:0}
@media(max-width:360px){
 html[data-theme] body #records-page .records-content{padding-inline:10px}
 html[data-theme] body #records-page .records-tabs{gap:1px;padding:3px}
 html[data-theme] body #records-page .records-tab{font-size:13px}
 html[data-theme] body #records-page .records-table :is(th,td){padding-inline:6px}
 html[data-theme] body #records-page :is(.records-name,.records-value){font-size:13px}
}

/* onboarding.css */
.player-onboarding,
.onboarding-spotlight {
 --onboarding-edge:#a778cf;
 --onboarding-gold:#ffe19a;
 --onboarding-ink:#fff7fc;
 --onboarding-muted:#e3d5ef;
 color-scheme:dark;
 font-family:system-ui,sans-serif;
}

html[data-theme] dialog.player-onboarding {
 box-sizing:border-box;
 max-width:none;
 padding:0;
 border:0;
 background:transparent;
 box-shadow:none;
 color:var(--onboarding-ink);
 text-align:start;
}

dialog.player-onboarding::backdrop {
 background:#11091fb0;
 backdrop-filter:none;
}

dialog.player-onboarding[data-install-view=welcome]::backdrop {background:#11091f8a}

dialog.player-onboarding[data-install-view=welcome] {
 position:fixed;
 inset:auto 0 max(72px,calc(60px + env(safe-area-inset-bottom,0px)));
 width:min(calc(100% - 24px),408px);
 max-height:calc(100dvh - 96px);
 margin:0 auto;
 overflow:visible;
}

.onboarding-welcome {
 position:relative;
 display:grid;
 align-items:end;
 padding-inline-start:clamp(87px,27vw,110px);
}

.onboarding-guide-figure {
 position:absolute;
 z-index:1;
 inset-inline-start:-6px;
 inset-block-end:0;
 width:clamp(104px,31vw,134px);
 margin:0;
 pointer-events:none;
 transform-origin:bottom left;
 filter:drop-shadow(0 8px 14px #08040e80);
}

.onboarding-guide-figure img {
 display:block;
 width:100%;
 height:auto;
 max-height:min(246px,48dvh);
 object-fit:contain;
 object-position:left bottom;
}

.onboarding-content {
 position:relative;
 display:grid;
 gap:12px;
 justify-items:start;
 min-width:0;
 padding:18px 16px 16px;
 border:1px solid #ab783e80;
 border-radius:17px;
 background:radial-gradient(ellipse at 100% 0%,#5b33736b,transparent 65%),linear-gradient(145deg,#332045,#21152f 74%);
 color:var(--onboarding-ink);
 box-shadow:0 16px 40px #09051488,inset 0 1px #f5d0ff0d;
}

.onboarding-welcome .onboarding-content::before {
 content:"";
 position:absolute;
 inset-inline-start:-5px;
 inset-block-end:34px;
 width:9px;
 height:9px;
 transform:rotate(45deg);
 border-block-end:1px solid #ab783e80;
 border-inline-start:1px solid #ab783e80;
 border-radius:0 0 0 2px;
 background:#2a1b39;
}

.player-onboarding #onboarding-title {
 margin:0;
 padding-inline-end:34px;
 color:var(--onboarding-ink);
 outline:none;
 font-size:clamp(21px,5.8vw,26px);
 font-weight:750;
 line-height:1.14;
 letter-spacing:-.025em;
 text-wrap:balance;
}

.player-onboarding #onboarding-description {
 margin:0;
 color:var(--onboarding-muted);
 font-size:14px;
 line-height:1.48;
 text-wrap:pretty;
}

.player-onboarding .onboarding-primary.promotion-cta {
 min-height:44px;
 padding:8px 16px;
 border-radius:var(--promotion-cta-radius,999px);
 background:var(--promotion-cta-fill,linear-gradient(#fdebb4,#efd079));
 color:var(--promotion-cta-ink,#421f5e);
 white-space:nowrap;
}

.player-onboarding .onboarding-primary:disabled {
 opacity:.65;
 cursor:wait;
}

.onboarding-dismiss {
 display:grid;
 place-items:center;
 box-sizing:border-box;
 min-width:44px;
 min-height:44px;
 padding:0;
 border:0;
 border-radius:9px;
 background:transparent;
 color:#e3cdef;
 font:400 24px/1 system-ui,sans-serif;
 cursor:pointer;
}

.onboarding-content>.onboarding-dismiss {
 position:absolute;
 z-index:2;
 inset-block-start:3px;
 inset-inline-end:3px;
}

.onboarding-dismiss:hover {background:#dec4fa19;color:var(--onboarding-ink)}

.player-onboarding button:focus-visible,
.onboarding-spotlight button:focus-visible {
 outline:2px solid var(--onboarding-gold);
 outline-offset:2px;
}

dialog.player-onboarding[data-install-view=instructions] {
 width:min(calc(100% - 28px),390px);
 max-height:calc(100dvh - 28px);
 margin:auto;
 overflow:auto;
 border-radius:17px;
}

.player-onboarding[data-install-view=instructions] .onboarding-content {padding:20px}
.onboarding-help {
 width:100%;
 padding:11px 12px;
 border:1px solid #c599e132;
 border-radius:10px;
 background:#130c2155;
}

.onboarding-help[hidden] {display:none}
.onboarding-help ol {
 display:grid;
 gap:7px;
 margin:0;
 padding-inline-start:21px;
 color:var(--onboarding-muted);
 font-size:14px;
 line-height:1.42;
}
.onboarding-help li::marker {color:var(--onboarding-gold);font-weight:750}

.onboarding-spotlight {
 position:fixed;
 z-index:90;
 inset:0;
 pointer-events:none;
}
.onboarding-spotlight[hidden] {display:none}
.onboarding-spotlight-halo {
 position:absolute;
 inset-inline-start:var(--onboarding-target-x);
 inset-block-start:var(--onboarding-target-y);
 width:var(--onboarding-target-width);
 height:var(--onboarding-target-height);
 border-radius:12px;
 box-shadow:0 0 0 2px var(--onboarding-gold),0 0 0 5px #ba85f675,0 0 15px 5px #b77dfb57,0 0 0 190vmax #0c0717a1;
}
.onboarding-spotlight-halo[hidden] {display:none}
.onboarding-spotlight-copy {
 position:absolute;
 inset-inline-start:var(--onboarding-tooltip-x);
 inset-block-start:var(--onboarding-tooltip-y);
 box-sizing:border-box;
 display:flex;
 align-items:center;
 gap:5px;
 width:var(--onboarding-tooltip-width);
 max-width:calc(100% - 24px);
 min-height:48px;
 padding:3px 3px 3px 12px;
 border:1px solid #bb8dd296;
 border-radius:11px;
 background:#29183c;
 color:var(--onboarding-ink);
 box-shadow:0 9px 25px #09051485;
}
.onboarding-spotlight-copy[data-position=above] {transform:translateY(-100%)}
.onboarding-spotlight-copy p {
 flex:1;
 margin:5px 0;
 font-size:14px;
 font-weight:600;
 line-height:1.36;
}
.onboarding-spotlight-copy .onboarding-dismiss {flex:none;pointer-events:auto}

@media(prefers-reduced-motion:no-preference) {
 dialog.player-onboarding[open] .onboarding-guide-figure {animation:onboarding-character-in .34s cubic-bezier(.2,.8,.25,1) both}
 dialog.player-onboarding[open] .onboarding-content {animation:onboarding-dialogue-in .23s .1s ease-out both}
 dialog.player-onboarding[data-install-view=instructions][open] .onboarding-content {animation-delay:0s}
 .onboarding-spotlight-halo,.onboarding-spotlight-copy {animation:onboarding-focus-in .19s ease-out both}
}
@keyframes onboarding-character-in {
 from{opacity:0;transform:translate(-12px,18px) scale(.97)}
 to{opacity:1;transform:none}
}
@keyframes onboarding-dialogue-in {
 from{opacity:0;transform:translateY(6px)}
 to{opacity:1;transform:none}
}
@keyframes onboarding-focus-in {from{opacity:0}to{opacity:1}}

@media(max-width:340px) {
 .onboarding-welcome .onboarding-content {gap:10px;padding:14px 12px}
 .player-onboarding #onboarding-description {font-size:13px}
 .onboarding-welcome .onboarding-primary.promotion-cta {padding-inline:13px}
}

@media(max-height:510px) {
 dialog.player-onboarding[data-install-view=welcome] {inset-block-end:max(14px,env(safe-area-inset-bottom,0px))}
}

/* player-refresh.css */
.player-refresh[data-player-refresh] {
 --player-refresh-icon-size:18px;
 --player-refresh-target-size:36px;
 --player-refresh-touch-size:44px;
 --player-refresh-accent:var(--polish-accent,#be98ec);
 display:inline-flex;
 align-items:center;
 justify-content:center;
 flex:none;
 box-sizing:border-box;
 inline-size:var(--player-refresh-target-size);
 min-block-size:var(--player-refresh-target-size);
 padding:0;
 border-radius:8px;
 color:var(--player-refresh-accent);
 cursor:pointer;
 touch-action:manipulation;
}
.player-refresh[data-player-refresh="balance"] {
 --player-refresh-icon-size:14px;
 --player-refresh-target-size:28px;
 --player-refresh-touch-size:40px;
}
#lobby-page #refresh.player-refresh[data-player-refresh="balance"] {
 --player-refresh-icon-size:20px;
}
.player-refresh[data-player-refresh="compact"] {
 --player-refresh-icon-size:16px;
 --player-refresh-target-size:32px;
 --player-refresh-touch-size:40px;
}
.player-refresh[data-player-refresh="panel"] {
 --player-refresh-icon-size:20px;
 --player-refresh-target-size:40px;
}
.player-refresh[data-player-refresh].player-refresh-with-label {
 inline-size:auto;
 padding-inline:10px;
 gap:6px;
}
.player-refresh[data-player-refresh][hidden] {display:none!important}
.player-refresh[data-player-refresh] > .player-refresh-icon {
 display:block;
 inline-size:var(--player-refresh-icon-size);
 block-size:var(--player-refresh-icon-size);
 color:var(--player-refresh-accent);
 flex:none;
 transform-origin:center;
 pointer-events:none;
}
.player-refresh[data-player-refresh]:focus-visible {
 outline:2px solid var(--player-refresh-accent);
 outline-offset:2px;
}
.player-refresh[data-player-refresh]:active > .player-refresh-icon,
.player-refresh[data-player-refresh].is-refreshing > .player-refresh-icon {
 filter:brightness(1.22) drop-shadow(0 0 4px #a66be578);
}
.player-refresh[data-player-refresh].is-refreshing {
 cursor:progress;
}
.player-refresh[data-player-refresh].is-refreshing > .player-refresh-icon {
 animation:player-refresh-clockwise .65s linear infinite;
}
@keyframes player-refresh-clockwise {
 to {transform:rotate(360deg)}
}
@media (pointer:coarse) {
 .player-refresh[data-player-refresh] {
  --player-refresh-target-size:var(--player-refresh-touch-size);
 }
}
@media (prefers-reduced-motion:reduce) {
 .player-refresh[data-player-refresh].is-refreshing > .player-refresh-icon {
  animation:none;
 }
}
