/* Presentation-only layer. The original stylesheet remains available for rollback. */
.ub-pro {
  --void: #101113;
  --panel: #181a1d;
  --panel2: #202327;
  --stroke: #2c3035;
  --stroke2: #42474f;
  --text: #f2f3f5;
  --muted: #a2a7b0;
  --accent: #e9c56b;
  --money: #e9c56b;
  --font-display: 'Inter', system-ui, sans-serif;
  --radius: 6px;
  background: var(--void);
  color-scheme: dark;
  line-height: 1.5;
  overflow-x: clip;
}
.ub-pro *, .ub-pro *::before, .ub-pro *::after { letter-spacing: 0; }
.ub-pro .bgFx, .ub-pro::after { display: none; }
.ub-pro .wrap { width: min(1280px, calc(100% - 64px)); padding: 0 0 32px; }
.ub-pro .siteNav {
  min-height: 76px; padding: 16px 0; margin: 0; gap: 24px;
  background: none; border: 0; border-bottom: 1px solid var(--stroke);
  box-shadow: none; clip-path: none; border-radius: 0;
}
.ub-pro .navLogo { font-size: 15px; }
.ub-pro .navLogo b { color: var(--text); }
.ub-pro .navLogo .brand__mark { border: 0; }
.ub-pro .navLinks a { font-size: 12px; text-transform: none; padding: 8px 0; }
.ub-pro .navRight { gap: 8px; margin-left: auto; }
.ub-pro .pill { min-height: 36px; padding: 7px 10px; background: none; border-radius: 5px; border-color: var(--stroke); font-size: 11px; }
.ub-pro .wallet { gap: 7px; border: 0; }
.ub-pro #swgcVal { color: var(--text); font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.ub-pro .wallet .cur { color: var(--muted); }
.ub-pro .navDiscord { min-height: 36px; padding: 8px 12px; background: none; color: #b6bcff; border: 1px solid #454977; border-radius: 5px; font-size: 11px; text-decoration: none; }
.ub-pro #ubAcct::before, .ub-pro #ubLogout::before { display: none; }
.ub-pro .pageHeading { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px; padding: 27px 0 22px; margin: 0; }
.ub-pro .pageEyebrow { font-size: 10px; font-weight: 600; color: var(--muted); }
.ub-pro h1 { font-size: 30px; line-height: 1.2; font-weight: 650; margin: 5px 0 0; text-transform: none; }
.ub-pro .inventoryJump { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; text-decoration: none; padding: 10px 0; }
.ub-pro .inventoryJump:hover { color: var(--text); }
.ub-pro .card { border: 0; border-radius: 0; box-shadow: none; background: none; backdrop-filter: none; overflow: visible; min-width: 0; }
.ub-pro .card-h { border: 0; background: none; padding: 0 0 14px; min-height: 38px; gap: 12px; }
.ub-pro .card-h h2 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--text); }
.ub-pro .card-h .mono, .ub-pro .currencyLabel { color: var(--muted); font-family: var(--font-body); font-size: 11px; }
.ub-pro .card-b { padding: 0; min-width: 0; }
.ub-pro .boxStore { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ub-pro .boxCard {
  display: flex; flex-direction: column; min-width: 0; padding: 10px 12px 12px;
  background: var(--panel); border: 1px solid var(--stroke); border-radius: 6px;
  clip-path: none; cursor: default; box-shadow: none;
}
.ub-pro .boxCard:hover { transform: none; box-shadow: none; border-color: var(--stroke2); }
.ub-pro .boxCard.active { border-color: var(--ba); box-shadow: inset 0 2px 0 var(--ba); }
.ub-pro .boxCard-glow, .ub-pro .caseArt-glow, .ub-pro .box3d .shine { display: none; }
.ub-pro .boxCard .boxSelect {
  display: block; padding: 0; width: 100%; text-align: left; min-width: 0;
  color: var(--text); background: none; border: 0; border-radius: 3px; text-transform: none;
}
.ub-pro .boxCard .boxSelect:hover { background: none; transform: none; }
.ub-pro .boxCard-art { display: block; height: 108px; margin: 0 0 8px; filter: none; background-size: contain; transition: transform 180ms ease; }
.ub-pro .boxSelect:hover .boxCard-art { transform: translateY(-3px); }
.ub-pro .boxCard .boxCard-name { display: block; color: var(--text); text-shadow: none; font-size: 14px; line-height: 1.4; font-weight: 600; min-height: 20px; }
.ub-pro .boxCard-sub { display: none; }
.ub-pro .boxCard-badges { display: flex; align-items: center; min-height: 23px; margin: 4px 0 0; gap: 5px; }
.ub-pro .srvBadge { font-size: 9px; line-height: 1.4; padding: 1px 5px; border: 0; border-radius: 3px; }
.ub-pro .boxTag { top: 8px; right: 8px; width: 15px; height: 15px; padding: 0; font-size: 0; background: none; color: var(--ba); }
.ub-pro .boxTag::after { content: '\2713'; font-size: 13px; }
.ub-pro .boxCard-own { margin: 9px 0 0; padding: 7px 0 0; text-align: left; border-top: 1px solid var(--stroke); border-bottom: 0; font-size: 11px; white-space: normal; color: var(--muted); }
.ub-pro .boxCard-own b { color: var(--text); font-weight: 600; }
.ub-pro .boxCard-buys { gap: 6px; margin-top: 9px; }
.ub-pro .wrap button, .ub-pro .inventoryJump, .ub-pro .navDiscord {
  box-shadow: none; text-shadow: none; clip-path: none; text-transform: none;
  transition: background-position 300ms ease, border-color 180ms ease, color 180ms ease;
}
.ub-pro .wrap button:not(.boxSelect) {
  border-radius: 5px; color: var(--text); font-family: var(--font-body); font-weight: 500;
  border: 1px solid var(--stroke2);
  background: linear-gradient(90deg, transparent 50%, #ffffff0c 50%) 0 0 / 200% 100%;
}
.ub-pro .wrap button:not(.boxSelect):hover:not(:disabled) { background-position: -100% 0; border-color: #747b85; transform: none; }
.ub-pro .wrap button:disabled { cursor: not-allowed; opacity: .4; }
.ub-pro .boxCard-buys .boxBuy { gap: 6px; min-height: 36px; padding: 5px; font-size: 13px; white-space: nowrap; }
.ub-pro .boxCard-buys .boxBuy .ico { width: 14px; height: 14px; color: var(--muted); }
.ub-pro .priceCurrency { font-size: 9px; color: var(--muted); font-weight: 400; }
.ub-pro .openingLayout { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 30px; padding: 28px 0 32px; margin-top: 26px; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.ub-pro #stateText { display: flex; align-items: center; gap: 6px; }
.ub-pro #stateText::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #78cda4; }
.ub-pro .box3d { padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.ub-pro .caseHead { flex-wrap: nowrap; gap: 14px; margin: 0 0 16px; min-height: 76px; }
.ub-pro .caseArt { width: 88px; height: 72px; }
.ub-pro .caseArt-img { filter: none; }
.ub-pro .caseInfo { min-width: 0; flex: 1; }
.ub-pro .caseSeries { font-size: 10px; font-family: var(--font-body); color: var(--muted); }
.ub-pro .caseInfo h2 { font-size: 20px; margin: 3px 0 5px; color: var(--text); line-height: 1.3; overflow-wrap: anywhere; }
.ub-pro #activeBoxName { color: var(--text); text-shadow: none; }
.ub-pro .caseInfo .serverBadges { display: none; }
.ub-pro .ownership { display: flex; gap: 18px; }
.ub-pro .ownership span { display: inline-flex; gap: 7px; align-items: baseline; }
.ub-pro .ownership b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ub-pro .rollerWrap { margin: 0; padding: 13px 0; background: #0c0d0f; border: 1px solid var(--stroke); border-radius: 6px; box-shadow: none; clip-path: none; }
.ub-pro .rollerWrap::before, .ub-pro .rollerWrap::after { width: 36px; }
.ub-pro .csItem { flex: 0 0 174px; height: 184px; border-radius: 4px; background: var(--panel); border-color: var(--stroke); box-shadow: none; }
.ub-pro .csItem:hover { transform: none; box-shadow: none; border-color: var(--stroke2); }
.ub-pro .csItem-bg { background: var(--panel); }
.ub-pro .csItem-glow { opacity: .12; }
.ub-pro .csItem-icon { top: 27px; bottom: 62px; left: 16px; right: 16px; filter: none; }
.ub-pro .csItem-name { min-height: 59px; padding: 0 10px 11px; font-size: 12px; line-height: 1.35; text-shadow: none; white-space: normal; overflow-wrap: anywhere; }
.ub-pro .csItem-sub { font-size: 9px; margin-bottom: 4px; color: var(--muted) !important; }
.ub-pro .csItem-bar { height: 3px; box-shadow: none !important; }
.ub-pro .csItem-srv { border: 0; background: none; left: 6px; font-size: 9px; }
.ub-pro .btnRow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ub-pro .wrap #btnOpen { height: 42px; min-width: 134px; padding: 0 16px; color: #f2d78d; border-color: #9c8147; font-weight: 600; }
.ub-pro .openingCost { font-size: 11px; color: var(--muted); }
.ub-pro .wrap button.settingSwitch { position: relative; margin-left: auto; border: 0; padding: 6px 0; min-height: 36px; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; background: none; }
.ub-pro .settingSwitch::before { content: ''; width: 26px; height: 16px; border: 1px solid #626872; border-radius: 10px; background: #555b65; }
.ub-pro .settingSwitch::after { content: ''; position: absolute; width: 10px; height: 10px; margin-left: 3px; border-radius: 50%; background: #f2f3f5; transition: transform 160ms ease; }
.ub-pro .settingSwitch[aria-checked='true']::before { background: #336c54; border-color: #69b590; }
.ub-pro .settingSwitch[aria-checked='true']::after { transform: translateX(10px); }
.ub-pro .wrap .iconButton { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-height: 36px; padding: 0; flex: 0 0 36px; font-size: 18px; }
.ub-pro .wrap #btnSound[aria-pressed='true'] { color: #a7d8bd; border-color: #465c50; }
.ub-pro .seedDetails { font-size: 10px; color: var(--muted); margin-top: 16px; }
.ub-pro .seedDetails summary { cursor: pointer; width: fit-content; padding: 4px 0; }
.ub-pro #seedPill { margin-top: 6px; padding: 0; background: none; border: 0; }
.ub-pro .oddsSection { padding-left: 24px; border-left: 1px solid var(--stroke); }
.ub-pro .oddsBar { height: 6px; margin: 8px 0 14px; border: 0; border-radius: 2px; }
.ub-pro .oddsSeg span { display: none; }
.ub-pro .chances { gap: 0; }
.ub-pro .chance { padding: 12px 0; border: 0; border-bottom: 1px solid var(--stroke); border-radius: 0; background: none; overflow: visible; }
.ub-pro .chance::before { display: none; }
.ub-pro .chance .tag { gap: 8px; min-width: 0; }
.ub-pro .chance .dot { width: 6px; height: 6px; border-radius: 2px; box-shadow: none !important; }
.ub-pro .chance .rarityClick { color: var(--text) !important; font-size: 12px; font-weight: 500; }
.ub-pro .wrap .chance .rarityClick { border: 0; background: none; padding: 0; text-align: left; }
.ub-pro .chance .cs { display: none; }
.ub-pro .chance .pct { font-size: 12px; font-weight: 600; color: var(--text); }
.ub-pro .footerNote { color: var(--muted); font-size: 11px; line-height: 1.6; }
.ub-pro #oddsNote { margin-top: 15px; }
.ub-pro .inventorySection { padding-top: 28px; scroll-margin-top: 16px; }
.ub-pro .inventorySection .card-h { align-items: baseline; flex-wrap: wrap; }
.ub-pro .inventoryTools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 18px; }
.ub-pro .inventorySearch { flex: 1; min-width: 160px; max-width: 320px; }
.ub-pro .inventoryTools input, .ub-pro .inventoryTools select { width: 100%; height: 38px; padding: 0 12px; font: 12px var(--font-body); color: var(--text); background: var(--panel); border: 1px solid var(--stroke2); border-radius: 5px; color-scheme: dark; }
.ub-pro .inventoryTools input::placeholder { color: var(--muted); }
.ub-pro .inventoryTabs { display: flex; gap: 2px; padding: 3px; border-radius: 5px; background: var(--panel); margin-left: auto; }
.ub-pro .wrap .inventoryTabs button { border: 0; padding: 6px 12px; font-size: 11px; color: var(--muted); }
.ub-pro .wrap .inventoryTabs button[aria-pressed='true'] { background: #34383e; color: #fff; }
.ub-pro .history { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; max-height: none; overflow: visible; padding: 0; }
.ub-pro .historyItem { min-width: 0; min-height: 78px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--stroke); border-radius: 0; background: none; gap: 12px; }
.ub-pro .historyItem::before { display: none; }
.ub-pro .historyItem .hLeft { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; flex: 1; }
.ub-pro .hThumb { width: 48px; height: 48px; grid-row: span 2; border: 0; border-bottom: 3px solid var(--rc); border-radius: 4px; background-color: var(--panel); background-size: 84%; }
.ub-pro .historyItem .hName { color: var(--text) !important; font-size: 12px; line-height: 1.45; font-weight: 500; white-space: normal; overflow-wrap: anywhere; align-self: end; }
.ub-pro .historyItem .hLeft > .srvBadge { justify-self: start; align-self: start; }
.ub-pro .historyItem .hRight { display: grid; grid-template-columns: auto auto; justify-items: end; align-items: center; gap: 3px 7px; }
.ub-pro .hRight .claimBtn, .ub-pro .hRight .delivered { grid-column: 1 / -1; }
.ub-pro .historyItem .claimBtn { min-height: 32px; padding: 5px 10px; color: #dfc580; border-color: #645537; font-size: 11px; }
.ub-pro .historyItem .hWear { font-size: 9px; }
.ub-pro .historyItem .hSt { font-size: 8px; border: 0; padding: 0; }
.ub-pro .historyItem .delivered { max-width: 110px; overflow-wrap: anywhere; font-size: 10px; }
.ub-pro .inventoryPager { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 0; font-size: 11px; color: var(--muted); }
.ub-pro .inventoryPager > div { display: flex; align-items: center; gap: 10px; }
.ub-pro #inventoryPage { min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.ub-pro .filterEmpty, .ub-pro .emptyInv { padding: 32px 0; text-align: center; font-size: 13px; color: var(--muted); }
.ub-pro .statsSection { padding: 28px 0 0; margin-top: 28px; border-top: 1px solid var(--stroke); }
.ub-pro .statGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ub-pro .statTile { padding: 0; border: 0; border-radius: 0; background: none; }
.ub-pro .statTile:hover { transform: none; }
.ub-pro .statTile.wide { grid-column: auto; }
.ub-pro .statLabel { color: var(--muted); font-size: 11px; text-transform: none; }
.ub-pro .statNum { font-size: 24px; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ub-pro .statNum.best { font-size: 16px; }
.ub-pro .rcChip { background: none; border: 0; padding: 0; margin-right: 12px; font-size: 10px; color: var(--muted); box-shadow: none; }
.ub-pro .rcChip .dot { width: 5px; height: 5px; box-shadow: none; }
.ub-pro .siteFooter { padding: 24px 0 0; margin-top: 28px; border-top: 1px solid var(--stroke); font-family: var(--font-body); font-size: 10px; color: var(--muted); }
.ub-pro .srOnly { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ub-pro [hidden] { display: none !important; }
.ub-pro :is(button, a, input, select, summary):focus-visible { outline: 2px solid #8fcfda; outline-offset: 3px; box-shadow: none; }
.ub-pro .boxSelect:focus-visible { outline-offset: 1px; }
.ub-pro .infoModal { padding: 16px; }
.ub-pro .infoBox { max-width: min(900px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); min-width: 0; width: auto; overflow-y: auto; overscroll-behavior: contain; border-radius: 8px; clip-path: none; background: var(--panel); }
.ub-pro #infoDesc ul { display: grid !important; grid-auto-flow: row !important; grid-template-rows: none !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); width: 100% !important; }
.ub-pro #infoDesc li { min-width: 0 !important; border-radius: 4px !important; }
@media (max-width: 1150px) {
  .ub-pro .siteNav { flex-wrap: wrap; gap: 12px; }
  .ub-pro .navLinks { flex: 0 0 auto; }
  .ub-pro .boxCard .priceCurrency { display: none; }
  .ub-pro .boxStore { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(176px, 1fr); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #51565f transparent; }
  .ub-pro .boxCard { scroll-snap-align: start; }
  .ub-pro .openingLayout { grid-template-columns: minmax(0, 1fr) 248px; gap: 20px; }
  .ub-pro .oddsSection { padding-left: 20px; }
  .ub-pro .wrap button.settingSwitch { margin-left: 0; }
}
@media (max-width: 900px) {
  .ub-pro .wrap { width: calc(100% - 40px); }
  .ub-pro .openingLayout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ub-pro .oddsSection { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--stroke); }
  .ub-pro .chances { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .ub-pro .chance { display: block; border: 0; padding: 4px 0; }
  .ub-pro .chance .pct { display: block; margin: 6px 0 0 14px; }
  .ub-pro .chance .tag { display: flex; }
  .ub-pro .history { grid-template-columns: minmax(0, 1fr); }
  .ub-pro .inventoryTools { gap: 10px; }
  .ub-pro .inventoryTabs { margin-left: 0; }
}
@media (max-width: 540px) {
  .ub-pro .wrap { width: calc(100% - 28px); }
  .ub-pro .siteNav { padding: 14px 0; gap: 10px; }
  .ub-pro .navLogo { font-size: 14px; }
  .ub-pro .navLinks { margin-left: auto; }
  .ub-pro .navRight { width: 100%; margin: 0; gap: 6px; }
  .ub-pro .navRight .wallet { padding-left: 0; }
  .ub-pro .navDiscord { display: none; }
  .ub-pro #ubLogout { font-size: 9px; padding: 6px; }
  .ub-pro #ubAcct { max-width: 150px; }
  .ub-pro #ubAcctName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ub-pro .pageHeading { padding: 24px 0 20px; align-items: center; gap: 12px; }
  .ub-pro .pageHeading > div { min-width: 0; flex: 1; }
  .ub-pro h1 { font-size: 24px; }
  .ub-pro .pageEyebrow { font-size: 9px; }
  .ub-pro .inventoryJump { font-size: 11px; width: 90px; flex: 0 0 90px; line-height: 1.4; padding: 4px 0; }
  .ub-pro .boxStore { grid-auto-columns: 174px; gap: 10px; }
  .ub-pro .openingLayout { margin-top: 18px; padding-top: 22px; }
  .ub-pro .caseInfo h2 { font-size: 18px; }
  .ub-pro .caseArt { width: 72px; height: 66px; }
  .ub-pro .caseHead { gap: 12px; }
  .ub-pro .csItem { flex-basis: 154px; height: 184px; }
  .ub-pro .btnRow { gap: 10px 12px; }
  .ub-pro .wrap #btnOpen { flex: 1; }
  .ub-pro .wrap button.settingSwitch { margin-left: auto; }
  .ub-pro .chances { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ub-pro .chance { display: flex; border-bottom: 1px solid var(--stroke); padding: 10px 0; }
  .ub-pro .chance .pct { margin: 0; }
  .ub-pro .inventorySection .card-h-right { width: 100%; justify-content: space-between; }
  .ub-pro .inventoryTools > label { flex: 1; min-width: 0; }
  .ub-pro .inventoryTabs { width: 100%; }
  .ub-pro .inventoryTabs button { flex: 1; }
  .ub-pro .historyItem { gap: 8px; }
  .ub-pro .historyItem .hLeft { gap: 4px 10px; }
  .ub-pro .statGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .ub-pro .statsSection .card-h { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ub-pro *, .ub-pro *::before, .ub-pro *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
