/* 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}
/* Pointer focus can match :focus-visible on editable fields. Keep the keyboard indicator. */
html[data-theme][data-player-pointer] :is(button,a,input,select,textarea,summary):focus,
html[data-theme][data-player-pointer] :is(.game-search-form,.withdraw-account-wrap,label):focus-within{
 outline-style:none!important;
}
html[data-theme] #deposit-page #withdrawal-page output#withdraw-amount{display:flex;align-items:center}
html[data-theme] #deposit-page #withdrawal-page output#withdraw-amount:empty::before{
 content:attr(data-placeholder);color:var(--polish-muted);font-size:14px;
}
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]:is([data-android-app],[data-android-browser]) .app>.bottom-nav {
 padding-bottom:6px;
 padding-bottom:calc(6px + env(safe-area-inset-bottom,0px));
}

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="light"] dialog#audio-settings-dialog::backdrop{background:#0006;backdrop-filter:none;-webkit-backdrop-filter:none}
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] :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] :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{margin:8px 0 0;font-size:13px;line-height:1.55;color:var(--polish-accent);overflow-wrap:anywhere}
html[data-theme] .login-panel .login-result:empty{margin:0}
html[data-theme] dialog.login-panel :is(#login-form,#register-form) .auth-form-result{color:#a72f50}
html[data-theme="dark"] dialog.login-panel :is(#login-form,#register-form) .auth-form-result{color:#ffabb9}
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="light"] .gift .gift-close{background:#efe5f4;color:#62377b;font-weight:700}
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,.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,.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] 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,.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}}

dialog.photo-crop-dialog[open]{
 display:grid;grid-template-rows:minmax(0,1fr) auto;box-sizing:border-box;
 max-height:calc(100vh - 24px);max-height:min(92dvh,calc(100dvh - 24px));overflow:hidden;
}
.photo-crop-body{min-height:0;overflow:auto;overscroll-behavior:contain}
.photo-crop-dialog .crop-buttons{margin-top:12px}
@media(max-height:520px){
 html[data-theme] body dialog.photo-crop-dialog[open]{padding-block:12px}
 .photo-crop-dialog .crop-buttons,.photo-crop-dialog label{margin-top:8px}
 .photo-crop-dialog .photo-crop-stage{
  width:min(100%,calc(clamp(72px,40dvh,230px) * var(--photo-crop-ratio,1)));margin-inline:auto;
 }
 .photo-crop-dialog .photo-crop-stage.round-crop{width:min(100%,clamp(64px,34dvh,210px))}
}
