/* Crate Market Step 12 UI cleanup and production controls */
.topbar > div:first-child > .eyebrow,
.free-chance-box,
.hard-mode-box,
.activity-popup-toggle,
.page > .panel:first-child > .heading,
.line-tab small,
#lineRule,
.hard-mode-summary,
.stats,
.storage-helper,
.marketplace-heading-side > p,
#onlineMarketplace > .heading > p,
.selected-cloud-status.verified,
.crate-card .verified-badge,
.crate-card [class*="verified"],
.crate-card [class*="verification"] { display:none !important; }

.step12-header-button { width:100%; }
.step12-settings-grid { display:grid; gap:12px; text-align:left; }
.step12-setting-row { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:12px; border:1px solid rgba(255,255,255,.12); border-radius:12px; background:rgba(255,255,255,.035); }
.step12-setting-row span { display:grid; gap:3px; }
.step12-setting-row small { color:var(--muted); line-height:1.4; }
.step12-setting-row input[type="checkbox"] { width:20px; height:20px; margin-top:2px; }
.step12-status-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; text-align:left; }
.step12-status-card { padding:12px; border:1px solid rgba(255,255,255,.12); border-radius:12px; background:rgba(255,255,255,.035); }
.step12-status-card span { display:block; color:var(--muted); font-size:.78rem; }
.step12-status-card strong { display:block; margin-top:4px; }
.step12-auth-gate { position:fixed; inset:0; z-index:5000; display:grid; place-items:center; padding:20px; background:rgba(6,8,16,.92); backdrop-filter:blur(10px); }
.step12-auth-gate.hidden { display:none; }
.step12-auth-gate-card { width:min(480px,100%); padding:28px; border:1px solid rgba(149,135,255,.42); border-radius:20px; background:linear-gradient(145deg,rgba(25,28,48,.98),rgba(11,13,25,.98)); box-shadow:0 30px 80px rgba(0,0,0,.45); text-align:center; }
.step12-auth-gate-card h2 { margin:8px 0; }
.step12-auth-gate-card p { color:var(--muted); line-height:1.55; }
.step12-instance-list { display:grid; gap:10px; }
.step12-crate-instance { border-left:3px solid rgba(149,135,255,.7); }
.step12-instance-id { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.7rem; color:var(--muted); }
.step12-sell-control { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.step12-sell-control select { min-width:72px; }
.step12-rate-button { min-width:38px; }
.step12-support-addresses { display:grid; gap:8px; margin:12px 0 16px; text-align:left; }
.step12-support-addresses p { margin:0; padding:10px 12px; border:1px solid rgba(255,255,255,.1); border-radius:10px; background:rgba(255,255,255,.035); line-height:1.5; }
.step12-support-addresses strong { display:block; color:var(--text); }
.step12-support-addresses a { color:#bfb6ff; word-break:break-all; }
.step12-zero-fee-hidden { display:none !important; }
.step12-discount-badge { display:inline-flex; gap:6px; align-items:center; padding:5px 9px; border-radius:999px; background:rgba(89,222,155,.12); border:1px solid rgba(89,222,155,.32); color:#7ef0b6; font-weight:800; }
.step12-original-price { text-decoration:line-through; color:var(--muted); margin-right:8px; }
.step12-final-price { font-weight:900; }
.step12-notifications-disabled { display:none !important; }
@media (max-width:640px){.step12-status-grid{grid-template-columns:1fr}.step12-setting-row{gap:10px}}
.cloud-offer-status.verified { display:none !important; }

/* Step 12 inventory selection and whole-number market movement */
.crate-storage-heading .crate-heading-actions { display:flex !important; }
.step12-crate-select { flex:1; min-width:0; }
.step12-crate-select input[type="checkbox"] { flex:0 0 auto; }
.step12-crate-instance .crate-inventory-heading { align-items:flex-start; gap:10px; }
.step12-crate-instance .inv-meta { margin-top:4px; }
.inventory-market-change { white-space:nowrap; }
@media (max-width:720px) {
  .crate-storage-heading .crate-heading-actions { width:100%; align-items:stretch; }
  .crate-storage-heading .crate-heading-actions .btn { width:100%; }
}

/* Step 12.1 crate preview and rarity-highlighted opening results */
.rarity-result-icon {
  display:inline-grid;
  place-items:center;
  width:1.9em;
  height:1.9em;
  flex:0 0 auto;
  border:1px solid currentColor;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  box-shadow:0 0 14px rgba(255,255,255,.08), inset 0 0 12px rgba(255,255,255,.035);
  line-height:1;
}
.multi-result-icon.rarity-result-icon { margin-right:7px; text-align:center; }
.modal-rarity-icon {
  width:1.35em;
  height:1.35em;
  margin:0 auto 4px;
  border-radius:18px;
}
.single-rarity-result {
  display:grid;
  justify-items:center;
  gap:9px;
  margin-top:10px;
  padding:14px;
  border:1px solid currentColor;
  border-radius:14px;
  background:rgba(255,255,255,.035);
}
.single-rarity-result .rarity-result-icon { font-size:2rem; }
.single-rarity-result strong { font-size:1rem; }
.single-rarity-result p { margin:0; color:var(--muted); }
.rarity-result-row { border-left:2px solid currentColor; }

.rarity-result-icon.common, .rarity-result-row.common { color:#d2d7e6; background:rgba(170,179,205,.09); }
.rarity-result-icon.uncommon, .rarity-result-row.uncommon { color:#78e8aa; background:rgba(85,217,147,.09); }
.rarity-result-icon.rare, .rarity-result-row.rare { color:#8cbcff; background:rgba(82,142,255,.09); }
.rarity-result-icon.epic, .rarity-result-row.epic { color:#d7a0ff; background:rgba(174,94,255,.09); }
.rarity-result-icon.legendary, .rarity-result-row.legendary { color:#f4d68d; background:rgba(244,190,68,.09); }
.rarity-result-icon.ascendant, .rarity-result-row.ascendant { color:#ff9fd8; background:rgba(255,87,181,.09); }
.rarity-result-icon.mythic, .rarity-result-row.mythic { color:#ff9b8f; background:rgba(255,96,86,.09); }
.rarity-result-icon.celestial, .rarity-result-row.celestial { color:#8ff4ff; background:rgba(73,220,240,.09); }
.rarity-result-icon.transcendent, .rarity-result-row.transcendent { color:#b7a8ff; background:rgba(125,103,255,.09); }
.rarity-result-icon.primordial, .rarity-result-row.primordial { color:#ffb56b; background:rgba(255,137,48,.09); }
.rarity-result-icon.eternal, .rarity-result-row.eternal { color:#fff39a; background:rgba(255,229,77,.09); }

.rarity-result-icon.common { box-shadow:0 0 18px rgba(210,215,230,.22); }
.rarity-result-icon.uncommon { box-shadow:0 0 18px rgba(120,232,170,.24); }
.rarity-result-icon.rare { box-shadow:0 0 18px rgba(140,188,255,.26); }
.rarity-result-icon.epic { box-shadow:0 0 18px rgba(215,160,255,.28); }
.rarity-result-icon.legendary { box-shadow:0 0 18px rgba(244,214,141,.3); }
.rarity-result-icon.ascendant { box-shadow:0 0 18px rgba(255,159,216,.3); }
.rarity-result-icon.mythic { box-shadow:0 0 18px rgba(255,155,143,.3); }
.rarity-result-icon.celestial { box-shadow:0 0 18px rgba(143,244,255,.3); }
.rarity-result-icon.transcendent { box-shadow:0 0 18px rgba(183,168,255,.3); }
.rarity-result-icon.primordial { box-shadow:0 0 18px rgba(255,181,107,.3); }
.rarity-result-icon.eternal { box-shadow:0 0 20px rgba(255,243,154,.34); }


/* Step 12.3 global wealth leaderboard */
.step12-leaderboard-wrap { display:grid; gap:12px; text-align:left; }
.step12-leaderboard-meta { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--muted); font-size:.78rem; }
.step12-leaderboard-scroll { max-height:min(62vh,620px); overflow:auto; border:1px solid rgba(255,255,255,.12); border-radius:12px; overscroll-behavior:contain; }
.step12-leaderboard-table { width:100%; border-collapse:collapse; }
.step12-leaderboard-table th, .step12-leaderboard-table td { padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left; }
.step12-leaderboard-table th { position:sticky; top:0; z-index:1; background:rgba(18,20,35,.98); color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; }
.step12-leaderboard-table td:last-child, .step12-leaderboard-table th:last-child { text-align:right; }
.step12-leaderboard-current { background:rgba(153,136,255,.18); outline:1px solid rgba(153,136,255,.48); outline-offset:-1px; }
.step12-personal-rank { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:12px 14px; border:1px solid rgba(153,136,255,.35); border-radius:12px; background:rgba(153,136,255,.10); }


/* Step 13: progression bridges, visible exact-crate protection and VIP market tools */
/* Loss protection remains active internally; all player-facing counters are hidden. */
.loss-protection-badge,.step13-protection,.selected-loss-protection,.crate-info-protection{display:none!important;margin:0!important;padding:0!important;border:0!important}
.step13-bridge-panel{margin:.85rem 0 1rem;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.035);padding:.8rem}
.step13-bridge-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.65rem}.step13-bridge-heading div{display:flex;flex-direction:column}.step13-bridge-heading span{font-size:.78rem;color:#9da5bc}
.step13-bridge-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.55rem}.step13-bridge-card{display:grid;grid-template-columns:1fr auto;grid-template-areas:'copy price' 'copy button';gap:.35rem .6rem;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:13px;padding:.65rem;background:rgba(0,0,0,.12)}.step13-bridge-card.ready{border-color:rgba(122,242,175,.38);background:rgba(44,184,109,.08)}
.step13-bridge-copy{grid-area:copy;display:flex;gap:.5rem;align-items:center}.step13-bridge-copy div{display:flex;flex-direction:column}.step13-bridge-copy small{color:#9da5bc}.step13-bridge-icon{font-size:1.45rem}.step13-bridge-price{grid-area:price;display:flex;flex-direction:column;text-align:right;font-size:.76rem}.step13-bridge-price s{color:#858da4}.step13-bridge-price strong{color:#d9ffe6}.step13-bridge-card button{grid-area:button}.step13-bridge-complete{text-align:center;color:#9da5bc}
.step13-price-tools{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;padding:.45rem .55rem;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.035)}.step13-price-tools span{font-size:.75rem;color:#aab1c5;margin-right:auto}.step13-price-tools button{border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(255,255,255,.07);color:inherit;padding:.28rem .5rem;cursor:pointer}.step13-price-tools.hidden{display:none}
@media(max-width:700px){.step13-bridge-heading{align-items:flex-start;flex-direction:column}.step13-bridge-card{grid-template-columns:1fr;grid-template-areas:'copy' 'price' 'button'}.step13-bridge-price{text-align:left}.loss-protection-badge{display:none!important}}


/* CrateMarket UI Refresh Phase 6: account, access and storage blockers. */
html.cm-ui-refresh.cm-ui-page-game:has(#authModal:not(.hidden)),
html.cm-ui-refresh.cm-ui-page-game:has(#step12AuthGate:not(.hidden)),
html.cm-ui-refresh.cm-ui-page-game:has(#step6MaintenanceOverlay:not(.hidden)),
html.cm-ui-refresh.cm-ui-page-game:has(#cmInventoryFullOverlay),
html.cm-ui-refresh.cm-ui-page-game:has(#authModal:not(.hidden)) body,
html.cm-ui-refresh.cm-ui-page-game:has(#step12AuthGate:not(.hidden)) body,
html.cm-ui-refresh.cm-ui-page-game:has(#step6MaintenanceOverlay:not(.hidden)) body,
html.cm-ui-refresh.cm-ui-page-game:has(#cmInventoryFullOverlay) body {
  overflow-x: hidden;
  overflow-y: hidden !important;
}

html.cm-ui-refresh.cm-ui-page-game #authModal {
  background:
    radial-gradient(circle at 50% 18%, rgba(139, 92, 246, .16), transparent 28rem),
    rgba(3, 6, 15, .88);
  backdrop-filter: blur(14px);
}

html.cm-ui-refresh.cm-ui-page-game #authModal > .auth-card {
  width: min(100%, 32rem);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  border: 1px solid rgba(154, 119, 255, .38);
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(28, 27, 53, .99), rgba(10, 14, 29, .99));
  box-shadow:
    0 1.8rem 5rem rgba(0, 0, 0, .58),
    0 0 0 1px rgba(255, 255, 255, .025) inset;
  text-align: start;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .close {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .85rem;
  background: rgba(255, 255, 255, .035);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .cm-auth-brand-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  padding: .65rem;
  margin: 0 auto .8rem;
  border: 1px solid rgba(159, 122, 255, .36);
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(124, 58, 237, .28), rgba(89, 56, 186, .08));
  box-shadow: 0 .8rem 2rem rgba(82, 39, 173, .2);
  object-fit: contain;
  font-size: 1.8rem;
  line-height: 1;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .eyebrow,
html.cm-ui-refresh.cm-ui-page-game #authModal #authTitle,
html.cm-ui-refresh.cm-ui-page-game #authModal .auth-intro {
  text-align: center;
}

html.cm-ui-refresh.cm-ui-page-game #authModal #authTitle {
  margin: .35rem 0 .45rem;
  font-size: clamp(1.55rem, 4vw, 2rem);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-intro {
  max-width: 27rem;
  margin: 0 auto 1.1rem;
  color: var(--muted, #aab3cd);
  font-size: .9rem;
  line-height: 1.6;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  padding: .3rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .95rem;
  background: rgba(3, 7, 18, .38);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-mode-switch .btn {
  min-height: 2.75rem;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-mode-switch .btn.active {
  border-color: rgba(159, 122, 255, .38);
  background: linear-gradient(135deg, rgba(124, 58, 237, .46), rgba(99, 73, 184, .28));
  color: #fff;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .step9-social-auth {
  margin: .85rem 0 .2rem;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .step9-social-btn {
  min-height: 2.85rem;
  border-radius: .85rem;
  box-shadow: 0 .45rem 1rem rgba(0, 0, 0, .14);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .step9-provider-note {
  min-height: 1.2em;
  text-align: center;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-form {
  display: grid;
  gap: .78rem;
  margin-top: .85rem;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-field {
  display: grid;
  gap: .38rem;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-field > span {
  color: #d8def2;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-field input {
  min-height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .82rem;
  background: rgba(3, 7, 18, .48);
  color: var(--text, #f7f8ff);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .025) inset;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-field input:focus,
html.cm-ui-refresh.cm-ui-page-game #authModal .auth-field input:focus-visible {
  border-color: rgba(167, 139, 250, .76);
  outline: 3px solid rgba(139, 92, 246, .18);
  outline-offset: 1px;
}

html.cm-ui-refresh.cm-ui-page-game #authModal #authSubmit {
  min-height: 3rem;
  margin-top: .15rem;
  border-color: rgba(167, 139, 250, .58);
  background: linear-gradient(135deg, #7138d5, #5521a7);
  color: #fff;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .step7-auth-actions {
  gap: .55rem;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .step7-auth-actions .btn {
  min-height: 2.75rem;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-message {
  margin: .75rem 0 0;
  padding: 0;
  text-align: center;
  line-height: 1.45;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-message:not(:empty) {
  padding: .7rem .8rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .035);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-message.error:not(:empty) {
  border-color: rgba(248, 113, 113, .32);
  background: rgba(127, 29, 29, .14);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .auth-message.success:not(:empty) {
  border-color: rgba(74, 222, 128, .3);
  background: rgba(20, 83, 45, .16);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .cm-auth-trust-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem .85rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .075);
}

html.cm-ui-refresh.cm-ui-page-game #authModal .cm-auth-trust-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: #c7b7ff;
  font-size: .76rem;
  font-weight: 750;
  text-decoration: none;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .cm-auth-trust-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}

html.cm-ui-refresh.cm-ui-page-game #authModal .cloud-save-panel {
  border-color: rgba(99, 229, 176, .24);
  background: linear-gradient(145deg, rgba(20, 83, 45, .14), rgba(3, 7, 18, .38));
}

html.cm-ui-refresh.cm-ui-page-game #step12AuthGate.step12-auth-gate {
  background:
    radial-gradient(circle at 50% 24%, rgba(124, 58, 237, .2), transparent 25rem),
    rgba(3, 6, 15, .94);
  backdrop-filter: blur(14px);
}

html.cm-ui-refresh.cm-ui-page-game #step12AuthGate .step12-auth-gate-card {
  width: min(100%, 31rem);
  padding: clamp(1.4rem, 5vw, 2rem);
  border-color: rgba(159, 122, 255, .42);
  background: linear-gradient(145deg, rgba(28, 27, 53, .99), rgba(10, 14, 29, .99));
  box-shadow: 0 2rem 5.5rem rgba(0, 0, 0, .58);
}

html.cm-ui-refresh.cm-ui-page-game #step12AuthGate .step12-auth-gate-icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto .9rem;
  border: 1px solid rgba(159, 122, 255, .38);
  border-radius: 1.2rem;
  background: rgba(124, 58, 237, .2);
  font-size: 1.9rem;
}

html.cm-ui-refresh.cm-ui-page-game #step12AuthGate .btn {
  width: 100%;
  min-height: 3rem;
  margin-top: .5rem;
}

html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay.step6-maintenance-overlay {
  z-index: 2147483647;
  padding: clamp(.75rem, 3vw, 1.5rem);
  background:
    radial-gradient(circle at 50% 18%, rgba(245, 190, 68, .12), transparent 26rem),
    rgba(3, 6, 15, .96);
  backdrop-filter: blur(16px);
}

html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay .step6-maintenance-card {
  width: min(100%, 35rem);
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(245, 190, 68, .38);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(36, 31, 28, .99), rgba(10, 14, 29, .99));
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .66);
  text-align: center;
}

html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay .step6-maintenance-icon,
html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay .cm-inventory-full-icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto .9rem;
  border: 1px solid rgba(245, 190, 68, .36);
  border-radius: 1.2rem;
  background: rgba(245, 190, 68, .1);
  font-size: 1.85rem;
}

html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay h2,
html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay h2 {
  margin: .35rem 0 .65rem;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
}

html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay #step6MaintenanceMessage,
html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay #cmInventoryFullDescription {
  margin: 0;
  color: var(--muted, #aab3cd);
  line-height: 1.65;
}

html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay .step6-maintenance-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.35rem;
}

html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay .step6-maintenance-actions .btn {
  min-height: 3rem;
  margin: 0;
  text-decoration: none;
}

html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay.cm-inventory-full-overlay {
  padding: clamp(.75rem, 3vw, 1.5rem);
  background: rgba(3, 6, 15, .9);
  backdrop-filter: blur(12px);
}

html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay .cm-inventory-full-card {
  width: min(100%, 34rem);
  padding: clamp(1.35rem, 4vw, 2rem);
  border-color: rgba(167, 139, 250, .4);
  background: linear-gradient(145deg, rgba(28, 27, 53, .99), rgba(10, 14, 29, .99));
  box-shadow: 0 2rem 5.5rem rgba(0, 0, 0, .62);
  text-align: center;
}

html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay .cm-inventory-full-icon {
  border-color: rgba(167, 139, 250, .4);
  background: rgba(124, 58, 237, .16);
}

html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay .cm-inventory-full-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.35rem;
}

html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay .cm-inventory-full-actions .btn {
  min-height: 3rem;
  margin: 0;
}

html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay [data-cm-vip] {
  border-color: rgba(245, 190, 68, .36);
  background: rgba(245, 190, 68, .08);
  color: #f8dfa3;
}

html.cm-ui-refresh.cm-ui-page-game #authModal :focus-visible,
html.cm-ui-refresh.cm-ui-page-game #step12AuthGate :focus-visible,
html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay :focus-visible,
html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay :focus-visible {
  outline: 3px solid rgba(196, 181, 253, .72);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  html.cm-ui-refresh.cm-ui-page-game #authModal > .auth-card {
    padding: 1rem;
  }

  html.cm-ui-refresh.cm-ui-page-game #authModal .cm-auth-brand-icon {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.5rem;
  }

  html.cm-ui-refresh.cm-ui-page-game #authModal .auth-intro {
    font-size: .84rem;
  }

  html.cm-ui-refresh.cm-ui-page-game #authModal .cm-auth-trust-links {
    gap: .25rem .7rem;
  }

  html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay .step6-maintenance-actions,
  html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay .cm-inventory-full-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.cm-ui-refresh.cm-ui-page-game #authModal *,
  html.cm-ui-refresh.cm-ui-page-game #step12AuthGate *,
  html.cm-ui-refresh.cm-ui-page-game #step6MaintenanceOverlay *,
  html.cm-ui-refresh.cm-ui-page-game #cmInventoryFullOverlay * {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
  }
}
