:root{--u-bg:#171923;--u-panel:#20232f;--u-panel2:#252936;--u-line:#353a4a;--u-text:#f1f2f5;--u-muted:#9298a8;--u-accent:#8069c3;color-scheme:dark}
html,body{background:var(--u-bg)!important;color:var(--u-text)!important}button,a,input{transition:background-color .15s,border-color .15s,color .15s,opacity .15s!important}button:not(:disabled):hover,a:hover{transform:none!important}
body>.top{background:#1c1e28!important;border-bottom:1px solid #2d3140!important;box-shadow:none!important}.text-brand{width:auto!important;min-width:0!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important;padding:0 4px!important}.brand-wordmark{display:inline-flex!important;gap:5px!important;color:#f4f4f7!important;font-size:20px!important;font-weight:950!important;letter-spacing:.4px!important;text-shadow:none!important}.brand-wordmark b{color:#a58be5!important}.top .goldbox{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border:1px solid #514768!important;border-radius:11px!important;background:#2b2737!important;box-shadow:none!important}.top .goldbox .deposit-label{display:none!important}.top .goldbox .ui-icon{width:19px!important;height:19px!important;color:#b9a3ec!important;stroke:currentColor!important}.top .profile-btn-top,.top .login-top{border-radius:11px!important;background:#252936!important;border-color:#393e4e!important;box-shadow:none!important}
.layout>.main{background:var(--u-bg)!important}.layout>.main>.live-drop-section,.layout>.main>.upgrade-layout>.pick,.layout>.main>.upgrade-layout>.wheel-card,.layout>.main>.upgrade-controls,.layout>.main>.workspace-shell{background:var(--u-panel)!important;border:1px solid var(--u-line)!important;border-radius:12px!important;box-shadow:none!important}.selection-summary,.target-selection-summary{background:#1b1e29!important;border:1px solid var(--u-line)!important;border-radius:10px!important;box-shadow:none!important}.wheel,.wheel:before,.wheel:after,.wheel-card{filter:none!important;box-shadow:none!important}.chance-cap{background:#292534!important;border-color:#4c435e!important;color:#bca8e5!important}
.upgrade-btn{border:1px solid #735db0!important;border-radius:11px!important;background:#745fba!important;color:#fff!important;box-shadow:none!important;text-shadow:none!important}.upgrade-btn:not(:disabled):hover{background:#816ac5!important}.upgrade-btn:disabled{background:#303342!important;border-color:#3d4150!important;color:#777d8c!important}.upgrade-action>.settings,.quick button,.stake-presets button{border:1px solid #3b4050!important;border-radius:10px!important;background:#292d3a!important;color:#c8cbd4!important;box-shadow:none!important}.quick button:hover,.stake-presets button:hover,.upgrade-action>.settings:hover{background:#313544!important;border-color:#555c70!important;color:#fff!important}.quick #customChanceQuick{border-color:#625588!important;color:#c7b5ed!important;background:#302a3d!important}
.skin,.shop-item,.target-card,.live-drop-section #liveFeed>.side-item{background:#232632!important;border:1px solid #353a48!important;border-radius:10px!important;box-shadow:none!important}.skin:hover,.shop-item:hover,.target-card:hover{background:#282c39!important;border-color:#484e60!important}.skin:before,.shop-item:before,.target-card:before,.side-item:before{opacity:.12!important}.rarity-common,.rarity-uncommon,.rarity-rare,.rarity-epic,.rarity-legendary,.rarity-arcane,.rarity-nameless{border-color:#383d4c!important}.card-price{background:#1d202a!important;border:1px solid #343947!important;border-radius:8px!important;color:#d4d6dd!important}.buy,.sell{background:#343947!important;border:1px solid #474d5e!important;border-radius:9px!important;color:#e9eaf0!important}
input,input[type=number],.profile-page input,.profile-price-filter input,.inventory-price-filter input,.shop-filters input,.target-filters input{appearance:none!important;-webkit-appearance:none!important;background:#191c26!important;color:#eef0f5!important;border:1px solid #3b4050!important;border-radius:9px!important;box-shadow:none!important;color-scheme:dark!important}input:focus{outline:none!important;border-color:#7665a4!important;box-shadow:0 0 0 3px rgba(118,101,164,.13)!important}input::placeholder{color:#686e7e!important;opacity:1}
.settings-popover{position:fixed!important;inset:0!important;z-index:1000!important}.settings-popover:not(.show){pointer-events:none!important}.settings-popover .settings-backdrop{position:absolute!important;inset:0!important;background:rgba(8,9,14,.68)!important}.settings-popover .settings-card,.settings-popover.show .settings-card{position:absolute!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(400px,calc(100vw - 24px))!important;max-height:calc(100vh - 28px)!important;overflow:auto!important;border:1px solid #404555!important;border-radius:14px!important;background:#20232e!important;box-shadow:0 24px 70px rgba(0,0,0,.45)!important}.settings-option{background:#272b37!important;border:1px solid #383d4c!important;border-radius:10px!important}.settings-option.spin-mode.active{background:#302b3e!important;border-color:#6d5a9f!important;box-shadow:none!important}.settings-option-icon{color:#ad99dc!important}.custom-chance-setting{margin-top:10px;padding:13px;border:1px solid #383d4c;border-radius:10px;background:#1a1d27}.custom-chance-setting>label{display:block;margin-bottom:8px;font-weight:800}.custom-chance-setting>div{display:grid;grid-template-columns:1fr auto;gap:7px}.custom-chance-setting input{min-width:0;height:42px;padding:0 11px}.custom-chance-setting button{padding:0 13px;border:1px solid #675798;border-radius:9px;background:#514477;color:#fff;font-weight:800}.custom-chance-setting small{display:block;margin-top:7px;color:var(--u-muted)}
.profile-page{background:var(--u-bg)!important}.profile-page .admin-head{background:#1c1e28!important;border-bottom-color:#2d3140!important}.profile-page .profile-hero,.profile-page .admin-card,.profile-page .profile-stat-card,.profile-page .profile-balance{background:var(--u-panel)!important;border:1px solid var(--u-line)!important;border-radius:12px!important;box-shadow:none!important}.profile-page .profile-avatar{border-radius:11px!important;background:#6550a0!important;box-shadow:none!important}.profile-page .gold,.profile-page .profile-price-filter button,.profile-page .profile-pages button,.profile-page .profile-skin-button,.profile-page .email-reveal-btn,.profile-page .profile-head-actions a,.profile-page .profile-head-actions button{border-radius:10px!important;box-shadow:none!important}.profile-page .gold,.profile-page .profile-balance .small-gold{background:#6754a7!important;border-color:#7965b7!important;color:#fff!important}.profile-management{margin:14px 0 24px}.profile-management>summary,.operations-disclosure>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border:1px solid var(--u-line);border-radius:12px;background:var(--u-panel);box-shadow:none}.profile-management>summary::-webkit-details-marker,.operations-disclosure>summary::-webkit-details-marker{display:none}.profile-management>summary>span{display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center}.profile-management>summary .ui-icon{grid-row:1/3;width:22px;height:22px;color:#a58be5}.profile-management>summary small{color:var(--u-muted)}.profile-management>summary>i{font-style:normal;font-size:9px;font-weight:900;color:#a58be5}.profile-management[open]>summary>i{font-size:0}.profile-management[open]>summary>i:after{content:'СВЕРНУТЬ';font-size:9px}.profile-management-body{padding-top:10px}.operations-disclosure>summary{padding:13px 15px;font-weight:900}.operations-disclosure>summary span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:#514477}.operations-disclosure .admin-card{margin-top:7px}.profile-form label small{display:block;margin-top:6px;color:#8e94a4;font-size:9px}.profile-form input:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:650px){body>.top{height:58px!important;padding:0 7px!important}.brand-wordmark{font-size:16px!important}.top .online{display:none!important}.upgrade-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:'wheel wheel' 'source target'!important;gap:6px!important;padding:6px!important}.upgrade-layout>.wheel-card{grid-area:wheel!important;order:0!important;width:100%!important;height:310px!important;min-height:310px!important;max-height:310px!important}.upgrade-layout>.source-panel{grid-area:source!important;order:1!important}.upgrade-layout>.target-panel{grid-area:target!important;order:2!important}.upgrade-layout>.pick.source-panel,.upgrade-layout>.pick.target-panel{width:100%!important;min-width:0!important;height:186px!important;min-height:186px!important;max-height:186px!important;padding:7px!important}.upgrade-layout .selection-summary,.upgrade-layout .target-selection-summary{height:140px!important;min-height:140px!important;max-height:140px!important}.upgrade-layout .stake-empty-preview,.upgrade-layout .target-empty-preview{height:72px!important;min-height:72px!important}.selected-empty strong,.target-empty strong{font-size:9px!important}.selected-empty span,.target-empty span{font-size:7.5px!important;line-height:1.25!important}.upgrade-controls .quick{grid-template-columns:repeat(4,minmax(0,1fr))!important;height:auto!important;min-height:78px!important}.upgrade-controls .quick button{height:34px!important;min-height:34px!important}.profile-code-row,.profile-grid{grid-template-columns:1fr!important}.profile-management>summary{padding:13px}.profile-management>summary>i{display:none}.profile-management-body .admin-card{padding:12px!important}.profile-price-filter{grid-template-columns:1fr 1fr!important}.profile-price-filter input{width:100%!important;min-width:0!important}}
@media(max-width:380px){.brand-wordmark{font-size:14px!important}.upgrade-layout>.wheel-card{height:292px!important;min-height:292px!important;max-height:292px!important}.upgrade-layout>.pick.source-panel,.upgrade-layout>.pick.target-panel{height:174px!important;min-height:174px!important;max-height:174px!important}.upgrade-layout .selection-summary,.upgrade-layout .target-selection-summary{height:128px!important;min-height:128px!important;max-height:128px!important}}
@media(max-width:900px) and (max-height:650px) and (orientation:landscape){.upgrade-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr)!important;grid-template-areas:'source wheel target'!important}.upgrade-layout>.source-panel{grid-area:source!important}.upgrade-layout>.wheel-card{grid-area:wheel!important;height:310px!important;min-height:310px!important}.upgrade-layout>.target-panel{grid-area:target!important}.upgrade-layout>.pick.source-panel,.upgrade-layout>.pick.target-panel{height:310px!important;min-height:310px!important;max-height:310px!important}}

/* Final neutralization of legacy rarity and brand rules. */
body>.top>a.brand.text-brand{display:flex!important;grid-template-columns:none!important;align-items:center!important;width:auto!important;min-width:112px!important;height:42px!important;padding:0!important;background:transparent!important;border:0!important}
body>.top>a.brand.text-brand>.brand-wordmark{display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;width:auto!important;height:auto!important;font-size:19px!important;line-height:1!important;white-space:nowrap!important;color:#f3f3f5!important}
body>.top>a.brand.text-brand>.brand-wordmark>b{display:inline!important;margin:0!important;padding:0!important;font:inherit!important;color:#a58be5!important;line-height:1!important}
.layout>.main>.live-drop-section #liveFeed>.side-item,.layout>.main>.live-drop-section #liveFeed>.side-item[class*="rarity-"]{border:1px solid #363b49!important;border-left-color:#363b49!important;border-right-color:#363b49!important;border-top-color:#363b49!important;border-bottom-color:#363b49!important;box-shadow:none!important;background:#232632!important}
.layout>.main>.live-drop-section #liveFeed>.side-item:before,.layout>.main>.live-drop-section #liveFeed>.side-item:after{display:none!important}
.layout>.main>.live-drop-section #liveFeed>.side-item>.side-thumb{border:0!important;border-bottom:1px solid #303543!important;background:#20232e!important;box-shadow:none!important}
.layout>.main>.live-drop-section #liveFeed>.side-item>.side-meta{border-top:0!important;background:#232632!important}.layout>.main>.live-drop-section #liveFeed>.side-item>.side-meta b{color:#e5e7ec!important;text-shadow:none!important}
@media(max-width:650px){body>.top>a.brand.text-brand{min-width:92px!important}body>.top>a.brand.text-brand>.brand-wordmark{font-size:16px!important}.upgrade-layout>.pick.source-panel,.upgrade-layout>.pick.target-panel{overflow:hidden!important}.upgrade-layout .selection-summary,.upgrade-layout .target-selection-summary{width:100%!important;min-width:0!important;overflow:hidden!important}}

.header-logo-mark{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;background:transparent!important;overflow:visible!important}.header-logo-mark img{display:block!important;width:42px!important;height:42px!important;object-fit:contain!important;background:transparent!important}.deposit-plus{display:block!important;color:#bba7e8!important;font:800 25px/1 Arial,sans-serif!important;background:none!important;border:0!important;box-shadow:none!important}
.settings-popover.show{pointer-events:auto!important;opacity:1!important;visibility:visible!important}.settings-popover:not(.show){pointer-events:none!important;opacity:0!important;visibility:hidden!important}.settings-popover.show .settings-backdrop,.settings-popover.show .settings-card{pointer-events:auto!important}
.layout>.main>.live-drop-section #liveFeed>.side-item[class*="rarity-"]{border-bottom:3px solid var(--rarity-color,#7f8798)!important}.layout>.main>.live-drop-section #liveFeed>.side-item[class*="rarity-"]>.side-meta{border-bottom:0!important}
#balanceStakeRange,#buyQuantityRange{appearance:auto!important;-webkit-appearance:auto!important;accent-color:#9278d2!important;cursor:pointer!important;filter:none!important;opacity:1!important}#balanceStakeRange{height:18px!important}.stake-slider-wrap:before,.buy-quantity-range:before{opacity:.22!important}.buy-quantity-card{border-radius:14px!important;background:#20232f!important;border:1px solid #3a3f4f!important}.buy-quantity-card .buy-quantity-confirm{background:#6d59ad!important;border:1px solid #806ac0!important;color:#fff!important;box-shadow:none!important}
@media(max-width:650px){.header-logo-mark,.header-logo-mark img{width:34px!important;height:34px!important;min-width:34px!important}body>.top>a.brand.text-brand{min-width:126px!important}.deposit-plus{font-size:23px!important}}

body>.top{display:flex!important;align-items:center!important;gap:18px!important;padding-left:18px!important}.header-logo-mark{flex:0 0 42px!important}.text-brand .brand-wordmark{flex:0 0 auto!important}.top .online{margin-left:2px!important;padding-left:18px!important;border-left:1px solid #343846!important;white-space:nowrap!important}.footer-brand,.auth-brand{display:flex!important;align-items:center!important;gap:8px!important}.footer-brand:after,.auth-brand:after{content:'SKIN RUSH';display:block;color:#eeeef2;font-size:14px;font-weight:950;white-space:nowrap}
body.modal-open{overflow:hidden!important;touch-action:none!important}.upgrade-busy #inventorySection,.upgrade-busy #targetWorkspace{position:relative!important;pointer-events:none!important;filter:saturate(.45) brightness(.72)!important}.upgrade-busy #inventorySection:after,.upgrade-busy #targetWorkspace:after{content:'АПГРЕЙД ВЫПОЛНЯЕТСЯ';position:absolute;inset:0;z-index:80;display:grid;place-items:center;background:rgba(17,19,28,.52);color:#ddd8ea;font-size:11px;font-weight:900;letter-spacing:.08em;border-radius:12px}
.upgrade-busy .layout,.upgrade-busy footer{pointer-events:none!important;user-select:none!important}.upgrade-busy .top .brand,.upgrade-busy .top .online,.upgrade-busy .top .head-bal,.upgrade-busy .top .login-top{pointer-events:none!important}.upgrade-busy #depOpen,.upgrade-busy a.profile-btn-top[href="/profile"],.upgrade-busy #deposit,.upgrade-busy #deposit *{pointer-events:auto!important}
.deposit-modal.show{display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;overflow-y:auto!important}.deposit-card{position:relative!important;width:min(620px,100%)!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;border-radius:16px!important;background:#20232f!important;border:1px solid #3b4050!important;box-shadow:0 24px 70px rgba(0,0,0,.5)!important}.deposit-close{position:sticky!important;float:right!important;top:8px!important;right:8px!important;z-index:30!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:10px!important;background:#292d3a!important;border:1px solid #444a5b!important;color:#fff!important;font-size:24px!important}.deposit-method,.deposit-presets button,.deposit-submit{border-radius:10px!important;box-shadow:none!important}
.settings-card #settingsDirection{margin-top:8px!important}
@media(max-width:650px){body>.top{gap:9px!important;padding:0 8px!important}.top .online{display:flex!important;margin:0!important;padding-left:9px!important;font-size:9px!important}.top .online b{font-size:10px!important}.header-logo-mark,.header-logo-mark img{width:32px!important;height:32px!important;min-width:32px!important}body>.top>a.brand.text-brand{min-width:0!important;gap:7px!important}body>.top>a.brand.text-brand>.brand-wordmark{font-size:14px!important}.profile-btn-top{margin-left:auto!important}.upgrade-layout>.pick.source-panel,.upgrade-layout>.pick.target-panel{height:188px!important;min-height:188px!important;max-height:188px!important}.upgrade-layout .selection-summary,.upgrade-layout .target-selection-summary{height:142px!important;min-height:142px!important;max-height:142px!important;padding:6px!important}.selected-empty,.target-empty{height:100%!important;min-height:0!important;padding:4px!important;gap:3px!important}.stake-empty-preview,.target-empty-preview{width:100%!important;max-width:132px!important;height:76px!important;min-height:76px!important}.deposit-modal.show{align-items:flex-start!important;padding:8px!important}.deposit-card{width:100%!important;max-height:calc(100dvh - 16px)!important;margin:0!important;padding:14px!important;border-radius:13px!important}.deposit-head{padding-right:38px!important}.deposit-content{grid-template-columns:1fr!important}.deposit-methods{grid-template-columns:1fr 1fr!important}.deposit-presets{grid-template-columns:repeat(3,1fr)!important}.deposit-bottom{position:static!important}.profile-page .profile-main{width:calc(100% - 12px)!important}.profile-page .profile-hero{grid-template-columns:48px minmax(0,1fr)!important;gap:9px!important;padding:11px!important}.profile-page .profile-main-info h1{font-size:18px!important}.profile-page .profile-balance{grid-column:1/-1!important;min-width:0!important;width:100%!important}.profile-page .profile-stats-grid{grid-template-columns:1fr 1fr!important}.profile-page .profile-stat-card{min-width:0!important}.profile-page .profile-inv-head{display:grid!important;gap:10px!important}.profile-page .profile-inv-tools{width:100%!important}.profile-page .profile-price-filter{grid-template-columns:1fr 1fr!important;gap:6px!important}.profile-page .profile-price-filter label{min-width:0!important}.profile-page .profile-price-filter input{width:100%!important}}
@media(max-width:900px) and (max-height:650px) and (orientation:landscape){body>.top{height:54px!important}.upgrade-layout{grid-template-columns:minmax(0,1fr) minmax(260px,1.35fr) minmax(0,1fr)!important;gap:6px!important}.upgrade-layout>.wheel-card,.upgrade-layout>.pick.source-panel,.upgrade-layout>.pick.target-panel{height:286px!important;min-height:286px!important;max-height:286px!important}.profile-page .profile-main{width:calc(100% - 16px)!important}.profile-page .profile-hero{grid-template-columns:56px minmax(0,1fr) minmax(190px,240px)!important}.profile-page .profile-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.profile-code-row,.profile-grid{grid-template-columns:1fr 1fr!important}.deposit-card{max-width:760px!important;max-height:calc(100dvh - 16px)!important}.deposit-content{grid-template-columns:1fr 1fr!important}}

.header-logo-mark,.header-logo-mark img{position:static!important;inset:auto!important;transform:none!important;margin:0!important}.text-brand{flex:0 0 auto!important;width:auto!important}.top .online{flex:0 0 auto!important}
@media(max-width:650px){body>.top{gap:5px!important}.text-brand{flex:0 0 126px!important;width:126px!important;min-width:126px!important;max-width:126px!important}.header-logo-mark,.header-logo-mark img{flex:0 0 30px!important;width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important}.text-brand .brand-wordmark,body>.top>a.brand.text-brand>.brand-wordmark{font-size:13px!important;width:89px!important;min-width:89px!important}.top .online{display:flex!important;flex:0 0 54px!important;width:54px!important;max-width:54px!important;padding-left:5px!important;font-size:7px!important;overflow:hidden!important}.top .online b{font-size:9px!important}.top .head-bal{font-size:15px!important;white-space:nowrap!important}.top .head-bal em{font-size:9px!important;padding:3px 5px!important}.top .goldbox,.top .profile-btn-top,.top .login-top{flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important}.top .profile-btn-top{margin-left:0!important}}

/* v136 — stable header, dialogs and responsive upgrade scene. */
html{scroll-behavior:auto!important;overflow-y:scroll!important}
body{overflow-x:hidden!important;overscroll-behavior-y:auto!important}
.layout,.layout>.main{overscroll-behavior-y:auto!important}
.inventory-scroll,.target-grid,.shop-grid,.feed{overscroll-behavior:auto!important;scroll-behavior:auto!important}

/* Desktop header: mark — wordmark — online are separate, non-shrinking pieces. */
body>.top{display:flex!important;align-items:center!important;gap:0!important;padding:0 24px!important;min-width:0!important}
body>.top>a.brand.text-brand{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:48px!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important}
body>.top>a.brand.text-brand>.header-logo-mark{display:grid!important;place-items:center!important;position:static!important;inset:auto!important;transform:none!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;margin:0!important;background:transparent!important}
body>.top>a.brand.text-brand>.header-logo-mark img{display:block!important;position:static!important;transform:none!important;width:42px!important;height:42px!important;margin:0!important;object-fit:contain!important}
body>.top>a.brand.text-brand>.brand-wordmark{display:inline-flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:19px!important;line-height:1!important;letter-spacing:.45px!important;white-space:nowrap!important}
body>.top>.online{display:flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin-left:20px!important;padding-left:20px!important;border-left:1px solid #343846!important;white-space:nowrap!important}
body>.top>.head-spacer{min-width:12px!important}

/* A fixed viewport overlay prevents settings/deposit from travelling with page scroll. */
.modal.deposit-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;padding:16px!important;align-items:center!important;justify-content:center!important;overflow:auto!important;background:rgba(7,8,13,.74)!important;z-index:1200!important}
.modal.deposit-modal:not(.show){display:none!important}
.modal.deposit-modal.show{display:flex!important}
.modal.deposit-modal .deposit-card{display:block!important;position:relative!important;isolation:isolate!important;width:min(620px,100%)!important;max-width:620px!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:24px!important;overflow:auto!important;border-radius:16px!important;background:#20232f!important;border:1px solid #454b5c!important;box-shadow:0 28px 72px rgba(0,0,0,.56)!important}
.modal.deposit-modal .deposit-close{position:absolute!important;top:12px!important;right:12px!important;float:none!important;z-index:3!important;width:38px!important;height:38px!important;margin:0!important;border-radius:10px!important}
.modal.deposit-modal .deposit-head{padding-right:48px!important}

/* Equal source/target cards: wheel above them on portrait touch devices. */
@media (max-width:1024px) and (orientation:portrait){
  .layout>.main>.upgrade-layout{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:'wheel wheel' 'source target'!important;align-items:stretch!important;gap:8px!important;padding:8px!important}
  .layout>.main>.upgrade-layout>.wheel-card{grid-area:wheel!important;order:0!important;width:100%!important;height:320px!important;min-height:320px!important;max-height:320px!important}
  .layout>.main>.upgrade-layout>.source-panel{grid-area:source!important;order:1!important}
  .layout>.main>.upgrade-layout>.target-panel{grid-area:target!important;order:2!important}
  .layout>.main>.upgrade-layout>.pick.source-panel,.layout>.main>.upgrade-layout>.pick.target-panel{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;height:210px!important;min-height:210px!important;max-height:210px!important;padding:9px!important;overflow:hidden!important}
  .layout>.main>.upgrade-layout>.pick .panel-title{height:18px!important;min-height:18px!important;margin:0 0 7px!important;font-size:10px!important;line-height:18px!important}
  .layout>.main>.upgrade-layout>.pick .hint,.layout>.main>.upgrade-layout>.pick .source-note,.layout>.main>.upgrade-layout>.pick .mini-selected{display:none!important}
  .layout>.main>.upgrade-layout .selection-summary,.layout>.main>.upgrade-layout .target-selection-summary{display:flex!important;flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:6px!important;overflow:hidden!important}
  .layout>.main>.upgrade-layout .selected-empty,.layout>.main>.upgrade-layout .target-empty{display:grid!important;grid-template-rows:minmax(62px,1fr) auto auto!important;align-content:center!important;justify-items:center!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:3px!important;gap:4px!important;text-align:center!important}
  .layout>.main>.upgrade-layout .target-empty{grid-template-rows:minmax(56px,1fr) auto auto!important}
  .layout>.main>.upgrade-layout .stake-empty-preview,.layout>.main>.upgrade-layout .target-empty-preview{display:block!important;width:100%!important;max-width:128px!important;height:auto!important;min-height:0!important;max-height:78px!important;object-fit:contain!important}
  .layout>.main>.upgrade-layout .selected-empty strong,.layout>.main>.upgrade-layout .target-empty strong{font-size:10px!important;line-height:1.2!important}
  .layout>.main>.upgrade-layout .selected-empty span,.layout>.main>.upgrade-layout .target-empty span{font-size:8px!important;line-height:1.28!important;overflow-wrap:anywhere!important}
  .profile-page .admin-head{display:flex!important;align-items:center!important;gap:10px!important;padding:0 12px!important;min-height:62px!important}
  .profile-page .profile-brand{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}.profile-page .profile-brand .sr-logo-picture,.profile-page .profile-brand .sr-logo{width:34px!important;height:34px!important;flex:0 0 34px!important}.profile-page .profile-brand .brand-wordmark{display:inline-flex!important;font-size:15px!important;white-space:nowrap!important}
  .profile-page .profile-head-actions{display:flex!important;align-items:center!important;gap:6px!important;margin-left:auto!important;min-width:0!important}.profile-page .profile-head-actions a,.profile-page .profile-head-actions button{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important}.profile-page .profile-head-actions span{display:none!important}
}
@media (min-width:651px) and (max-width:1024px) and (orientation:portrait){.layout>.main>.upgrade-layout>.wheel-card{height:380px!important;min-height:380px!important;max-height:380px!important}.layout>.main>.upgrade-layout>.pick.source-panel,.layout>.main>.upgrade-layout>.pick.target-panel{height:230px!important;min-height:230px!important;max-height:230px!important}.layout>.main>.upgrade-layout .stake-empty-preview,.layout>.main>.upgrade-layout .target-empty-preview{max-width:155px!important;max-height:92px!important}}
@media (max-width:650px){
  body>.top{height:58px!important;padding:0 8px!important;gap:0!important}
  body>.top>a.brand.text-brand{gap:6px!important;flex:0 1 auto!important;min-width:0!important;height:44px!important}
  body>.top>a.brand.text-brand>.header-logo-mark,body>.top>a.brand.text-brand>.header-logo-mark img{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;flex-basis:30px!important}
  body>.top>a.brand.text-brand>.brand-wordmark{width:auto!important;min-width:0!important;font-size:13px!important;letter-spacing:.2px!important}
  body>.top>.online{display:flex!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;margin-left:7px!important;padding-left:7px!important;font-size:8px!important}.top .online b{font-size:9px!important}
  .layout>.main>.upgrade-layout>.wheel-card{height:306px!important;min-height:306px!important;max-height:306px!important}
  .layout>.main>.upgrade-layout>.pick.source-panel,.layout>.main>.upgrade-layout>.pick.target-panel{height:198px!important;min-height:198px!important;max-height:198px!important}
  .modal.deposit-modal{padding:8px!important;align-items:flex-start!important}.modal.deposit-modal .deposit-card{width:100%!important;max-width:none!important;max-height:calc(100dvh - 16px)!important;padding:16px!important;border-radius:14px!important}.modal.deposit-modal .deposit-content{grid-template-columns:1fr!important}.modal.deposit-modal .deposit-methods{grid-template-columns:1fr 1fr!important}.modal.deposit-modal .deposit-presets{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:900px) and (max-height:650px) and (orientation:landscape){
  .layout>.main>.upgrade-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,1.35fr) minmax(0,1fr)!important;grid-template-areas:'source wheel target'!important;gap:7px!important;padding:7px!important}
  .layout>.main>.upgrade-layout>.source-panel{grid-area:source!important}.layout>.main>.upgrade-layout>.wheel-card{grid-area:wheel!important;transform:none!important;height:286px!important;min-height:286px!important;max-height:286px!important}.layout>.main>.upgrade-layout>.target-panel{grid-area:target!important}
  .layout>.main>.upgrade-layout>.pick.source-panel,.layout>.main>.upgrade-layout>.pick.target-panel{height:286px!important;min-height:286px!important;max-height:286px!important}
  .profile-page .admin-head{min-height:54px!important;padding:0 12px!important}.profile-page .profile-head-actions span{display:none!important}.profile-page .profile-head-actions a,.profile-page .profile-head-actions button{width:38px!important;height:38px!important;padding:0!important}.profile-page .profile-hero{grid-template-columns:54px minmax(0,1fr)!important}.profile-page .profile-balance{grid-column:1/-1!important;width:100%!important}
}

/* v140 — a compact action group keeps balance, deposit and profile distinct. */
.top>.head-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex:0 0 auto!important;min-width:0!important}
.top>.head-actions>.head-bal{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;min-width:68px!important;margin:0!important;padding:0 2px!important;white-space:nowrap!important}
.top>.head-actions>.goldbox,.top>.head-actions>.profile-btn-top,.top>.head-actions>.login-top{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important}
.top>.head-actions>.goldbox{border-radius:11px!important}.top>.head-actions>.profile-btn-top,.top>.head-actions>.login-top{border-radius:11px!important}
@media(max-width:650px){
  .top>.head-spacer{min-width:0!important;flex:1 1 auto!important}
  .top>.head-actions{gap:6px!important}
  .top>.head-actions>.head-bal{min-width:0!important;padding:0!important;font-size:13px!important}
  .top>.head-actions>.goldbox,.top>.head-actions>.profile-btn-top,.top>.head-actions>.login-top{flex-basis:38px!important;width:38px!important;min-width:38px!important;height:38px!important}
  .profile-page .admin-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;min-height:60px!important;padding:0 10px!important}
  .profile-page .profile-brand{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;width:auto!important;height:44px!important;overflow:hidden!important}
  .profile-page .profile-brand .sr-logo-picture,.profile-page .profile-brand .sr-logo{display:block!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;object-fit:contain!important}
  .profile-page .profile-brand .brand-wordmark{display:inline-flex!important;min-width:0!important;font-size:14px!important;line-height:1!important;white-space:nowrap!important}
  .profile-page .profile-head-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;margin:0!important}
  .profile-page .profile-head-actions a,.profile-page .profile-head-actions button{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;margin:0!important;padding:0!important;border-radius:11px!important}
  .profile-page .profile-head-actions span{display:none!important}
  .profile-page .profile-main{width:calc(100% - 16px)!important;margin:10px auto 0!important}
  .profile-page .profile-hero{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;padding:13px!important}
  .profile-page .profile-avatar{width:52px!important;height:52px!important;min-width:52px!important}
  .profile-page .profile-kicker{font-size:9px!important;letter-spacing:.08em!important;line-height:1.2!important}
  .profile-page .profile-main-info h1{margin:3px 0!important;font-size:19px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  .profile-page .profile-main-info p{margin:0!important;font-size:10px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
  .profile-page .profile-email{grid-column:1/-1!important;margin-top:3px!important;min-width:0!important}
  .profile-page .profile-email-value{min-width:0!important;flex-wrap:wrap!important;gap:6px!important}
  .profile-page .profile-balance{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;margin:2px 0 0!important;padding:13px!important}
  .profile-page .profile-balance small{grid-column:1/-1!important}.profile-page .profile-balance strong{min-width:0!important;font-size:18px!important;overflow:hidden!important;text-overflow:ellipsis!important}.profile-page .profile-balance .small-gold{min-height:38px!important;padding:0 11px!important;white-space:nowrap!important}
}
@media(max-width:380px){.top>.head-actions{gap:4px!important}.top>.head-actions>.head-bal{font-size:12px!important}.top>.head-actions>.goldbox,.top>.head-actions>.profile-btn-top,.top>.head-actions>.login-top{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:36px!important}.profile-page .profile-brand .brand-wordmark{font-size:12px!important}.profile-page .profile-head-actions a,.profile-page .profile-head-actions button{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:36px!important}}

/* Two large Platega methods, equal on desktop and mobile. */
.deposit-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.deposit-method{min-height:112px!important;padding:16px 12px!important;align-content:center!important}
.deposit-method .crypto-icon{color:#e7b95a!important;font-size:20px!important;font-weight:900!important}
#deposit .deposit-submit{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:54px!important;padding:0 18px!important;border:1px solid #8a72cc!important;border-radius:12px!important;background:#745fba!important;color:#fff!important;font-size:14px!important;font-weight:900!important;letter-spacing:.04em!important;opacity:1!important;visibility:visible!important}
#deposit .deposit-submit:hover:not(:disabled){background:#836cc8!important}
#deposit .deposit-submit:disabled{display:flex!important;background:#4c465f!important;border-color:#5e586f!important;color:#d1cddd!important;opacity:.8!important}
.upgrade-busy .balance-stake{pointer-events:none!important;opacity:.55!important;filter:saturate(.45)!important}
@media(max-width:650px){.modal.deposit-modal .deposit-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.deposit-method{min-width:0!important;min-height:104px!important;padding:12px 7px!important}.deposit-method b{font-size:12px!important}.deposit-method small{font-size:9px!important;line-height:1.25!important}.method-icon{width:34px!important;height:34px!important}}

/* v145 — stable mobile pointer compositor and always-reachable deposit close. */
#wheel>#pointerOrbit{position:absolute!important;left:50%!important;top:50%!important;width:0!important;height:0!important;transform-origin:0 0!important;will-change:transform!important;backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important;perspective:1000px!important;animation:none!important;transition:none!important}
#wheel>#pointerOrbit>.pointer{transform:translateZ(0)!important;backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important}
@media(max-width:650px){
  #wheel>#pointerOrbit{left:50%!important;top:50%!important}
  #wheel>#pointerOrbit>.pointer{left:-10px!important;top:-125px!important}
  .modal.deposit-modal .deposit-close{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 12px)!important;right:calc(env(safe-area-inset-right,0px) + 12px)!important;z-index:1220!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;padding:0!important;border:1px solid #5b6274!important;border-radius:12px!important;background:#303544!important;color:#fff!important;font:400 30px/1 Arial,sans-serif!important;box-shadow:0 8px 24px rgba(0,0,0,.45)!important;opacity:1!important;visibility:visible!important}
  .modal.deposit-modal .deposit-head{padding-right:54px!important}
}
@media(max-width:900px) and (max-height:650px) and (orientation:landscape){
  #wheel>#pointerOrbit{left:50%!important;top:50%!important}
  #wheel>#pointerOrbit>.pointer{left:-10px!important;top:-109px!important}
  .modal.deposit-modal .deposit-close{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 10px)!important;right:calc(env(safe-area-inset-right,0px) + 10px)!important;z-index:1220!important}
}

/* The older layout declared a fixed flex basis for these two inner cards.
   Override it at the actual component IDs so they can never escape their panels. */
@media (max-width:1024px) and (orientation:portrait){
  #upgradeScene>.target-panel>.target-panel-head{height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
  #upgradeScene>.source-panel>#selectedBox,#upgradeScene>.target-panel>#targetSelection{flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important}
}
@media (max-width:650px){
  #upgradeScene>.source-panel>#selectedBox,#upgradeScene>.target-panel>#targetSelection{flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important}
}
