/* KORZH v476 — hard visual correction after screenshot review */

/* 1) Multi-upgrade: six compact source slots, never giant weapon panels. */
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source:has(.k473-multi-source-grid-wrap){overflow:visible!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source:has(.k473-multi-source-grid-wrap) .hub-u151-side-content{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:14px 22px!important;box-sizing:border-box!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-multi-source-grid-wrap{min-height:0!important;height:auto!important;width:min(100%,330px)!important;padding:0!important;margin:0 auto!important;display:grid!important;grid-template-columns:1fr!important;place-content:center!important;gap:12px!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-multi-source-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(3,86px)!important;grid-auto-rows:68px!important;gap:9px!important;justify-content:center!important;align-content:center!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-mini-source-slot{width:86px!important;height:68px!important;min-height:68px!important;max-height:68px!important;border-radius:13px!important;overflow:hidden!important;box-sizing:border-box!important;background:linear-gradient(180deg,rgba(27,24,28,.92),rgba(10,11,15,.97))!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-mini-source-slot.is-empty{border:1px dashed rgba(255,255,255,.10)!important;background:rgba(8,9,12,.42)!important;opacity:.62!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-mini-source-slot.is-filled{border:1px solid color-mix(in srgb,var(--rarity,#d98a61) 46%,rgba(255,255,255,.11))!important;box-shadow:inset 0 1px rgba(255,255,255,.045),0 6px 16px rgba(0,0,0,.18)!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-mini-source-slot .skin-art,
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-side .k473-mini-source-slot .skin-art{width:100%!important;height:68px!important;min-height:68px!important;max-height:68px!important;padding:5px!important;box-sizing:border-box!important;transform:none!important;overflow:hidden!important;display:grid!important;place-items:center!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-mini-source-slot .skin-art img,
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-side .k473-mini-source-slot .skin-art img{width:auto!important;height:auto!important;max-width:78px!important;max-height:52px!important;object-fit:contain!important;transform:none!important;margin:auto!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-mini-source-slot .skin-glow{opacity:.12!important;filter:blur(15px)!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-multi-source-meta{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:22px!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-multi-source-meta span,
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-multi-source-meta small{font-size:8px!important;letter-spacing:.12em!important;line-height:1!important;margin:0!important}
html:root[data-visual-style="2040"][data-theme="hub"] .hub-u151-source .k473-multi-source-meta strong{font-size:13px!important;line-height:1!important;margin:0!important;white-space:nowrap!important}

/* 2) One exact case-price capsule across every collection. */
html:root[data-visual-style="2040"][data-theme="hub"] body :is(
  .k221-oscar-price.case-price-premium,
  .k449-chick-pick-price.case-price-premium,
  .case-grid .case-price-tag.case-price-premium,
  .case-grid .case-price-tag.case-price-centered
){box-sizing:border-box!important;width:86px!important;min-width:86px!important;max-width:86px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0 9px!important;margin-top:8px!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;transform:none!important}
html:root[data-visual-style="2040"][data-theme="hub"] body :is(.k221-oscar-price,.k449-chick-pick-price,.case-grid .case-price-tag) :is(.case-price-value,.korzh-money){font-size:12px!important;font-weight:850!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important}
html:root[data-visual-style="2040"][data-theme="hub"] body :is(.k221-oscar-price,.k449-chick-pick-price,.case-grid .case-price-tag) .korzh-currency-icon{width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important}

/* 3) Telegram mark is the logo itself — no legacy plate/background can leak through. */
.k476-telegram-mark{display:block!important;width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;margin:0 auto 15px!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;transform:none!important}

/* 4) Public player card: remove the dark radial blot and decorative orbit under the name. */
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command>.k417-ambient,
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command::before,
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command::after{display:none!important;content:none!important;background:none!important;box-shadow:none!important;filter:none!important}
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command .profile-v160-user,
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command .profile-v156-user-card{background:linear-gradient(100deg,rgba(72,39,27,.48),rgba(23,15,13,.72))!important;background-image:linear-gradient(100deg,rgba(72,39,27,.48),rgba(23,15,13,.72))!important;box-shadow:inset 0 1px rgba(255,255,255,.045),0 12px 30px rgba(0,0,0,.10)!important;filter:none!important}
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command .profile-v160-user::before,
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command .profile-v160-user::after,
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command .profile-v156-user-card::before,
html:root[data-visual-style="2040"][data-theme="hub"] .k420-public-command .profile-v156-user-card::after{display:none!important;content:none!important;background:none!important;box-shadow:none!important;filter:none!important}

/* 5) Deposit 2040 — full composition, deliberately unlike the legacy modal. */
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-overlay{background:radial-gradient(circle at 50% 45%,rgba(88,50,33,.20),transparent 33%),rgba(5,4,4,.80)!important;backdrop-filter:blur(18px) saturate(.86)!important;-webkit-backdrop-filter:blur(18px) saturate(.86)!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modal{position:relative!important;width:min(920px,calc(100vw - 36px))!important;max-width:920px!important;max-height:min(760px,calc(100vh - 34px))!important;padding:0!important;display:grid!important;grid-template-columns:300px minmax(0,1fr)!important;overflow:hidden!important;border-radius:30px!important;border:1px solid rgba(230,174,133,.18)!important;background:#090a0f!important;box-shadow:0 45px 130px rgba(0,0,0,.70),inset 0 1px rgba(255,255,255,.035)!important;contain:layout paint!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modal::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:linear-gradient(90deg,rgba(215,139,97,.10),transparent 30%,transparent 72%,rgba(106,77,145,.07))!important;z-index:0!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-close{z-index:8!important;top:16px!important;right:16px!important;width:38px!important;height:38px!important;border-radius:12px!important;background:#101218!important;border:1px solid rgba(255,255,255,.09)!important;color:#e8ddd6!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-brand{position:relative!important;z-index:1!important;min-height:620px!important;padding:42px 30px 28px!important;display:flex!important;flex-direction:column!important;border-right:1px solid rgba(255,255,255,.055)!important;background:linear-gradient(160deg,rgba(61,37,28,.82),rgba(21,14,14,.96) 50%,rgba(11,10,13,.98))!important;overflow:hidden!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-brand::after{content:"WALLET";position:absolute;left:-25px;bottom:88px;font:950 78px/1 Sora,sans-serif;letter-spacing:.08em;color:rgba(255,255,255,.025);transform:rotate(-90deg);transform-origin:left bottom;pointer-events:none}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-orbit{position:relative;width:118px;height:118px;margin:4px 0 30px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(232,166,119,.18);background:radial-gradient(circle,rgba(215,139,91,.14),rgba(14,12,14,.22) 56%,transparent 57%)}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-orbit::before,html:root[data-visual-style="2040"] #depositPortal .k476-wallet-orbit::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(232,166,119,.10)}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-orbit::before{inset:13px}html:root[data-visual-style="2040"] #depositPortal .k476-wallet-orbit::after{inset:29px;border-style:dashed}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-orbit img{width:54px!important;height:54px!important;object-fit:contain!important;filter:drop-shadow(0 0 20px rgba(228,137,89,.18))!important}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-orbit>span{position:absolute;width:8px;height:8px;border-radius:50%;background:#e6a177;top:12px;right:20px;box-shadow:0 0 16px #e6a177}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-copy .deposit-v106-eyebrow{display:block!important;margin:0 0 8px!important;font-size:9px!important;font-weight:850!important;letter-spacing:.22em!important;color:#d1946d!important}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-copy h2{margin:0!important;color:#fff8f3!important;font-size:33px!important;line-height:.98!important;letter-spacing:-.045em!important}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-copy p{margin:13px 0 0!important;max-width:220px!important;color:rgba(235,220,211,.48)!important;font-size:11px!important;line-height:1.55!important}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-trust{margin-top:34px!important;display:grid!important;gap:8px!important}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-trust>span{height:38px!important;padding:0 11px!important;display:flex!important;align-items:center!important;gap:10px!important;border-radius:11px!important;border:1px solid rgba(255,255,255,.055)!important;background:rgba(255,255,255,.018)!important}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-trust i{font-style:normal!important;color:#d88f67!important;font-size:8px!important;font-weight:900!important}.k476-wallet-trust b{font-size:8px!important;letter-spacing:.11em!important;color:rgba(255,245,238,.58)!important}
html:root[data-visual-style="2040"] #depositPortal .k476-wallet-foot{margin-top:auto!important;display:grid!important;grid-template-columns:10px 1fr!important;column-gap:7px!important;row-gap:3px!important;align-items:center!important}.k476-wallet-foot .k476-live-dot{width:7px;height:7px;border-radius:50%;background:#7fd6a1;box-shadow:0 0 12px rgba(111,219,158,.45)}.k476-wallet-foot b{font-size:7px!important;letter-spacing:.15em!important;color:rgba(215,232,221,.65)!important}.k476-wallet-foot small{grid-column:2;font-size:7px!important;color:rgba(255,255,255,.26)!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-workspace{position:relative!important;z-index:2!important;min-width:0!important;padding:54px 30px 24px!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;gap:14px!important;background:linear-gradient(180deg,rgba(12,13,19,.96),rgba(7,8,12,.99))!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modes{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:0!important;padding:0!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modes>button{min-height:72px!important;padding:11px 13px!important;display:grid!important;grid-template-columns:42px 1fr auto!important;gap:11px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.065)!important;background:rgba(255,255,255,.022)!important;box-shadow:none!important;transform:none!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modes>button.active{border-color:rgba(222,151,109,.38)!important;background:linear-gradient(135deg,rgba(111,67,46,.25),rgba(255,255,255,.025))!important;box-shadow:inset 0 1px rgba(255,255,255,.035),0 0 24px rgba(199,113,68,.07)!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modes .deposit-mode-icon-shell{width:42px!important;height:42px!important;border-radius:12px!important}.k476-deposit-modes .deposit-mode-copy strong{font-size:11px!important;letter-spacing:.04em!important}.k476-deposit-modes .deposit-mode-copy small{font-size:8px!important;margin-top:4px!important;line-height:1.25!important}.k476-deposit-modes em{font-style:normal!important;font-size:8px!important;letter-spacing:.12em!important;color:rgba(255,255,255,.34)!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-promo{margin:0!important;padding:0!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;align-items:center!important;border:0!important;background:none!important}.k476-deposit-promo>span{font-size:8px!important;letter-spacing:.16em!important;color:rgba(255,255,255,.36)!important}.k476-deposit-promo>div{display:grid!important;grid-template-columns:minmax(0,1fr) 108px!important;gap:7px!important}.k476-deposit-promo input{height:42px!important;border-radius:11px!important;background:#090a0f!important}.k476-deposit-promo button{height:42px!important;border-radius:11px!important;background:rgba(205,132,88,.12)!important}.k476-deposit-promo .deposit-v162-promo-ok{grid-column:2;margin:0!important;font-size:7px!important;color:#7fd6a1!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-stage{min-height:360px!important;max-height:440px!important;overflow:auto!important;padding:18px!important;border-radius:20px!important;border:1px solid rgba(255,255,255,.055)!important;background:linear-gradient(180deg,rgba(4,6,10,.78),rgba(8,9,13,.96))!important;box-shadow:inset 0 1px rgba(255,255,255,.02)!important}.k476-deposit-stage.is-empty{display:grid!important;place-items:center!important}.k476-deposit-empty{text-align:center;display:grid;justify-items:center;gap:8px}.k476-deposit-empty span{width:54px;height:54px;border-radius:50%;border:1px solid rgba(220,152,108,.22);display:grid;place-items:center;color:#d38d67;font-size:8px;letter-spacing:.12em}.k476-deposit-empty strong{font-size:12px;letter-spacing:.08em;color:#e9ddd5}.k476-deposit-empty small{font-size:9px;color:rgba(255,255,255,.32)}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-stage .deposit-v106-section{padding:7px 0!important}.k476-deposit-stage .deposit-v106-kicker{font-size:8px!important;letter-spacing:.14em!important}.k476-deposit-stage .deposit-mini-amount{margin-top:10px!important}.k476-deposit-stage .deposit-mini-submit{height:50px!important;margin-top:12px!important;border-radius:13px!important;background:linear-gradient(105deg,#a96f4c,#d0976f 55%,#a06a4b)!important;color:#1b110d!important;font-weight:950!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-legal{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;color:rgba(255,255,255,.25)!important}.k476-deposit-legal>span{width:6px;height:6px;border-radius:50%;background:#7fd6a1}.k476-deposit-legal b{font-size:6.8px!important;letter-spacing:.12em!important}.k476-deposit-legal i{font-style:normal!important;font-size:7px!important}
html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modal>.deposit-mini-note{display:none!important}
@media(max-width:760px){html:root[data-visual-style="2040"] #depositPortal .k476-deposit-modal{grid-template-columns:1fr!important;width:min(620px,calc(100vw - 20px))!important;max-height:calc(100vh - 18px)!important;overflow:auto!important}.k476-deposit-brand{min-height:0!important;padding:24px 22px 18px!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.055)!important}.k476-wallet-orbit{width:78px!important;height:78px!important;margin-bottom:18px!important}.k476-wallet-orbit img{width:38px!important;height:38px!important}.k476-wallet-trust{display:none!important}.k476-wallet-foot{margin-top:18px!important}.k476-deposit-workspace{padding:20px 18px!important}.k476-deposit-stage{min-height:320px!important}.k476-deposit-modes{grid-template-columns:1fr!important}}
