/* Shared Sweden Code scenery, scoped to this reversible unboxing release. */
body.ub-polish { background: #090c11; --muted: #b2b7c0; --stroke: #ffffff1c; --stroke2: #ffffff36; }
.ub-polish .bgvid { z-index: 0; }
body.ub-polish::before, body.ub-polish.has-bgvid::before {
  content: ''; display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #080b124d, #080b12bd 26%, #080b12bd 74%, #080b124d),
    linear-gradient(180deg, #080b122e, #080b1240 65%, #080b128c) !important;
}
.ub-polish .wrap { z-index: 2; }
.ub-polish .siteNav { border-bottom-color: #ffffff24; min-height: 78px; }
.ub-polish .navLogo b { color: #8bd0e2; }
.ub-polish .navLogo .brand__mark { background: #10151ddb; border: 1px solid #ffffff18; }
.ub-polish .navLinks a { color: #c0c5cc; }
.ub-polish .navRight .pill { background-color: #10151dc4; }
.ub-polish .wallet { background: none !important; }
.ub-polish .navDiscord { background-color: #1516259c; }
.ub-polish .pageHeading { padding: 30px 0 26px; }
.ub-polish .pageEyebrow { color: #ddc488; }
.ub-polish .inventoryJump { color: #d2d5db; }
.ub-polish .inventoryJump .ico { width: 16px; height: 16px; color: #ddc488; }
.ub-polish .storeSection .card-h { align-items: center; }
.ub-polish .storeNav { display: inline-flex; align-items: center; gap: 5px; }
.ub-polish .storeNav .iconButton { width: 30px; min-height: 30px; height: 30px; flex-basis: 30px; font-size: 15px; }
.ub-polish .boxCard { background: #171b22eb; border-color: #ffffff24; padding-top: 14px; }
.ub-polish .boxCard.active { background: #1c2027f2; box-shadow: inset 0 2px 0 var(--ba), 0 5px 18px #00000030; }
.ub-polish .boxCard:hover { border-color: color-mix(in srgb, var(--ba) 65%, #ffffff30); }
.ub-polish .boxCard-art { height: 116px; margin-bottom: 10px; }
.ub-polish .boxCard-badges { gap: 6px; }
.ub-polish .boxCard .srvBadge { padding: 2px 5px; }
.ub-polish .boxCard-own { padding-top: 10px; margin-top: 10px; }
.ub-polish .boxCard-buys { margin-top: 10px; }
.ub-polish .boxCard .boxBuy { border-color: #ffffff32; min-height: 38px; }
.ub-polish .boxStore { scrollbar-width: thin; scrollbar-color: #9da7b150 #0c101580; }
.ub-polish .openingLayout, .ub-polish .inventorySection, .ub-polish .statsSection {
  background: #0b0f15d9; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px;
}
.ub-polish .openingLayout { margin-top: 28px; padding-top: 25px; padding-bottom: 28px; border-color: #ffffff24; }
.ub-polish .inventorySection { padding-top: 28px; padding-bottom: 26px; }
.ub-polish .statsSection { margin-top: 0; padding-top: 24px; padding-bottom: 26px; border-top-color: #ffffff1c; }
.ub-polish .caseArt { width: 94px; height: 78px; }
.ub-polish .caseInfo h2 { margin-bottom: 7px; }
.ub-polish .ownership { gap: 20px; font-size: 12px; }
.ub-polish .ownership b { font-size: 13px; }
.ub-polish .rollerWrap { padding-top: 15px; padding-bottom: 15px; border-color: #ffffff26; background: #080b10e8; }
.ub-polish .csItem { background: #1a1e25; border-color: #ffffff1a; }
.ub-polish .csItem-bg { background: #1a1e25; }
.ub-polish .csItem-icon { top: 28px; bottom: 66px; }
.ub-polish .csItem-sub { color: #b1b6c0 !important; }
.ub-polish .wrap #btnOpen { color: #f3d995; border-color: #b29a60; background-color: #c4a3520c; }
.ub-polish .wrap #btnOpen:hover:not(:disabled) { border-color: #efd79b; }
.ub-polish .btnRow { column-gap: 14px; }
.ub-polish .wrap .settingSwitch { color: #bbc1ca; }
.ub-polish .seedDetails { opacity: .85; }
.ub-polish .chance .tag { gap: 10px; }
.ub-polish .chance .rarityClick { text-decoration: none; }
.ub-polish .chance .rarityClick:hover { text-decoration: underline; text-underline-offset: 4px; }
.ub-polish .inventorySearch { position: relative; }
.ub-polish .inventorySearch .ico { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); width: 16px; height: 16px; color: #8b949f; pointer-events: none; }
.ub-polish .inventorySearch input { padding-left: 36px; }
.ub-polish .inventoryTools input, .ub-polish .inventoryTools select { background-color: #1a2029d9; border-color: #ffffff2b; }
.ub-polish .inventoryTools input:hover, .ub-polish .inventoryTools select:hover { border-color: #ffffff50; }
.ub-polish .inventoryTools > .iconButton { width: 38px; height: 38px; flex-basis: 38px; }
.ub-polish .inventoryTabs { background: #202630a8; }
.ub-polish .wrap .inventoryTabs button { padding: 7px 15px; }
.ub-polish .wrap .inventoryTabs button[aria-pressed='true'] { background: #ffffff12; box-shadow: inset 0 -2px 0 #e4c77d; }
.ub-polish .historyItem { transition: background-color 160ms ease; min-height: 82px; }
.ub-polish .historyItem:hover { background-color: #ffffff04; }
.ub-polish .hThumb { background-color: #1b232e; width: 52px; height: 52px; }
.ub-polish .historyItem .hLeft { grid-template-columns: 52px minmax(0, 1fr); }
.ub-polish .historyItem .hName { font-size: 13px; }
.ub-polish .historyItem .claimBtn { min-height: 36px; padding: 6px 12px; border-color: #b8a16866; color: #e2ce9c; }
.ub-polish .inventoryPager { padding-top: 20px; }
.ub-polish .statLabel { margin-bottom: 8px; }
.ub-polish .siteFooter { margin-top: 0; padding-top: 24px; background: none; border: 0; }
.ub-polish .ico-left { -webkit-mask-image: url('ui-polish/arrow-left.svg'); mask-image: url('ui-polish/arrow-left.svg'); }
.ub-polish .ico-right { -webkit-mask-image: url('ui-polish/arrow-right.svg'); mask-image: url('ui-polish/arrow-right.svg'); }
.ub-polish .ico-logout { -webkit-mask-image: url('ui-polish/log-out.svg'); mask-image: url('ui-polish/log-out.svg'); }
.ub-polish .ico-search { -webkit-mask-image: url('ui-polish/search.svg'); mask-image: url('ui-polish/search.svg'); }
.ub-polish .ico-filter-clear { -webkit-mask-image: url('ui-polish/filter-x.svg'); mask-image: url('ui-polish/filter-x.svg'); }
.ub-polish .iconButton .ico { width: 17px; height: 17px; }
.ub-polish .wrap #ubLogout { width: 36px; height: 36px; padding: 0; }
@media (max-width: 900px) {
  body.ub-polish::before, body.ub-polish.has-bgvid::before {
    background: linear-gradient(180deg, #080b1285, #080b12ae 50%, #080b12d1) !important;
  }
  .ub-polish .bgvid--img { background-position: 70% center; }
  .ub-polish .openingLayout, .ub-polish .inventorySection, .ub-polish .statsSection { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 540px) {
  .ub-polish .siteNav { gap: 12px; padding-top: 15px; padding-bottom: 15px; }
  .ub-polish .navRight { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .ub-polish .navRight .wallet { padding: 0; gap: 5px; }
  .ub-polish .wallet .cur { font-size: 9px; }
  .ub-polish #swgcVal { font-size: 13px; }
  .ub-polish #ubAcct { width: 36px; min-width: 36px; height: 36px; padding: 4px !important; justify-content: center; }
  .ub-polish #ubAcctName { display: none; }
  .ub-polish #ubAcct .ubchip__av { width: 26px; height: 26px; }
  .ub-polish #ubBuy { padding: 6px 9px; font-size: 10px; min-width: 57px; }
  .ub-polish .navRight .iconButton { min-width: 36px; }
  .ub-polish .pageHeading { padding-top: 26px; padding-bottom: 24px; }
  .ub-polish .pageHeading h1 { line-height: 1.25; }
  .ub-polish .storeSection .card-h-right { gap: 10px; flex-wrap: nowrap; }
  .ub-polish .currencyLabel { font-size: 10px; }
  .ub-polish .boxCard { padding-top: 12px; }
  .ub-polish .boxCard-art { height: 108px; }
  .ub-polish .boxCard-buys .boxBuy { min-height: 42px; }
  .ub-polish .openingLayout, .ub-polish .inventorySection, .ub-polish .statsSection { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .ub-polish .caseArt { width: 72px; height: 68px; }
  .ub-polish .btnRow { gap: 12px; }
  .ub-polish .wrap #btnOpen { min-height: 46px; }
  .ub-polish .inventoryTools .inventorySearch { min-width: 100%; flex-basis: 100%; max-width: none; }
  .ub-polish .inventoryTools input, .ub-polish .inventoryTools select { height: 42px; }
  .ub-polish .inventoryTools > .iconButton { width: 42px; height: 42px; flex-basis: 42px; }
  .ub-polish .inventoryTabs { margin-top: 3px; }
  .ub-polish .wrap .inventoryTabs button { min-height: 36px; }
  .ub-polish .historyItem .claimBtn { min-height: 42px; padding: 6px 10px; }
  .ub-polish .inventoryPager .iconButton { width: 42px; height: 42px; }
}
