body.case-screen-open {
  overflow: clip;
}

.case-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  min-width: 980px;
  min-height: 640px;
  overflow: clip;
  color: rgba(244, 242, 234, 0.94);
  background:
    linear-gradient(180deg, rgba(18, 19, 18, 0.42), rgba(29, 29, 27, 0.34) 43%, rgba(13, 14, 13, 0.76)),
    url("../assets/mirage-background.png") center / cover no-repeat;
  isolation: isolate;
}

.case-screen::before,
.case-screen::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

.case-screen::before {
  inset: -18px;
  opacity: 0.8;
  background: url("../assets/mirage-background.png") center / cover no-repeat;
  filter: blur(10px) saturate(0.72);
  transform: scale(1.03);
}

.case-screen::after {
  display: none;
}

.case-screen-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(104px, 13vh, 138px);
  padding: clamp(27px, 3.2vh, 42px) clamp(46px, 5.6vw, 108px) 0;
  background: linear-gradient(180deg, rgba(10, 11, 11, 0.48), transparent);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}

.case-heading {
  max-width: 620px;
}

.case-kicker {
  color: rgba(237, 235, 226, 0.52);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 15px;
  text-transform: uppercase;
}

.case-heading h1 {
  margin: 1px 0 0;
  color: rgba(255, 255, 249, 0.94);
  font-size: clamp(28px, 2.15vw, 42px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.case-heading p {
  margin: 5px 0 0;
  color: rgba(237, 235, 226, 0.48);
  font-size: 12px;
  letter-spacing: 0.035em;
}

.case-detail-body {
  position: absolute;
  top: clamp(100px, 12vh, 130px);
  right: clamp(34px, 4.2vw, 80px);
  bottom: clamp(104px, 12vh, 125px);
  left: clamp(34px, 4.2vw, 80px);
  display: grid;
  grid-template-rows: minmax(205px, 1fr) auto auto;
  min-height: 0;
}

.case-object-stage {
  position: relative;
  display: grid;
  min-height: 205px;
  place-items: center;
  perspective: 850px;
}

.case-object-stage::before {
  display: none;
}

.case-object-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(47vw, 660px);
  height: min(37vh, 360px);
  transform: translate(-50%, -48%);
  border-radius: 50%;
  opacity: 0.4;
  background: radial-gradient(ellipse, rgba(218, 199, 155, 0.21), transparent 65%);
  filter: blur(6px);
}

.case-object-image {
  position: relative;
  z-index: 2;
  width: min(33vw, 500px);
  height: min(35vh, 350px);
  object-fit: contain;
  filter: drop-shadow(0 28px 19px rgba(0, 0, 0, 0.48));
  transform: translateY(-1%);
  animation: case-arrive 430ms cubic-bezier(0.16, 0.84, 0.22, 1) both;
}

@keyframes case-arrive {
  from { transform: translateY(9px) scale(0.96); opacity: 0; }
  to { transform: translateY(-1%) scale(1); opacity: 1; }
}

.case-contents-title {
  margin-bottom: 6px;
  color: rgba(242, 240, 232, 0.64);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.case-contents-grid {
  display: grid;
  grid-template-columns: repeat(var(--case-content-count, 18), minmax(58px, 1fr));
  gap: clamp(2px, 0.25vw, 5px);
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 9px;
  scrollbar-width: none;
}

.case-contents-grid::-webkit-scrollbar {
  display: none;
}

.case-content-card {
  position: relative;
  aspect-ratio: 1.22 / 1;
  min-width: 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(239, 239, 234, 0.2), transparent 58%),
    linear-gradient(158deg, rgba(92, 93, 91, 0.92), rgba(151, 151, 145, 0.93));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 5px rgba(0, 0, 0, 0.2);
}

.case-content-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.055) 1px, transparent 1px);
  background-size: 12px 12px;
}

.case-content-image {
  position: absolute;
  z-index: 1;
  top: 1%;
  left: -5%;
  width: 110%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.28));
}

.case-content-rare .case-content-image {
  top: 5%;
  left: 4%;
  width: 92%;
  height: 70%;
}

.case-content-name {
  position: absolute;
  z-index: 2;
  right: 4px;
  bottom: 5px;
  left: 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(7px, 0.47vw, 10px);
  font-weight: 700;
  line-height: 11px;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
}

.case-content-rarity {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--case-rarity, #4b69ff);
}

.case-action-footer {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: clamp(94px, 11vh, 116px);
  align-items: center;
  justify-content: flex-end;
  gap: clamp(30px, 5vw, 90px);
  padding: 0 clamp(46px, 5.6vw, 108px);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.54), rgba(12, 13, 12, 0.83));
  box-shadow: 0 -15px 38px rgba(0, 0, 0, 0.16);
}

.case-key-requirement {
  display: flex;
  min-width: 300px;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.case-key-image {
  width: 72px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.36));
}

.case-package-mini {
  padding: 3px 8px;
}

.case-key-copy {
  display: grid;
  min-width: 210px;
}

.case-key-copy strong {
  color: rgba(247, 245, 237, 0.89);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 15px;
  text-transform: uppercase;
}

.case-key-copy span {
  color: rgba(239, 237, 228, 0.5);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 14px;
}

.case-footer-actions,
.case-purchase-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-button {
  min-width: 168px;
  min-height: 43px;
  padding: 3px 19px 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.52);
  transition: filter 90ms ease, background-color 90ms ease;
}

.case-button:hover {
  filter: brightness(1.1);
}

.case-button-primary {
  background: linear-gradient(180deg, #789b42, #5f8133);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 3px 8px rgba(0, 0, 0, 0.18);
}

.case-button-secondary {
  min-width: 104px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(28, 29, 27, 0.84);
}

.case-purchase-shade {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  background: rgba(7, 8, 8, 0.67);
  backdrop-filter: blur(2px);
}

.case-purchase-panel {
  width: min(560px, calc(100vw - 80px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(55, 56, 53, 0.98), rgba(25, 26, 25, 0.99));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62);
  animation: purchase-in 120ms ease-out both;
}

@keyframes purchase-in {
  from { transform: translateY(7px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.case-purchase-title {
  height: 52px;
  padding: 18px 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.case-purchase-product {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 20px 30px 9px;
}

.case-purchase-key {
  width: 180px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.38));
}

.case-purchase-copy {
  display: grid;
  min-width: 210px;
}

.case-purchase-copy strong {
  font-size: 20px;
  font-weight: 400;
  line-height: 23px;
}

.case-purchase-copy span {
  margin-top: 5px;
  color: #a8c477;
  font-size: 17px;
  font-weight: 700;
}

.case-purchase-notice {
  margin: 0 22px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-align: center;
}

.case-purchase-actions {
  justify-content: flex-end;
  padding: 13px 18px 18px;
  background: rgba(10, 11, 10, 0.26);
}

.case-purchase-actions .case-button {
  min-width: 130px;
}

.case-roll-stage {
  position: absolute;
  inset: clamp(115px, 14vh, 150px) 0 0;
  display: grid;
  align-content: center;
  padding-bottom: 5vh;
}

.case-reel-viewport {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(168px, 24vh, 236px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.38);
  background: rgba(21, 22, 21, 0.48);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32), inset 0 0 55px rgba(0, 0, 0, 0.2);
}

.case-reel-viewport::before,
.case-reel-viewport::after {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: clamp(150px, 18vw, 330px);
  content: "";
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.case-reel-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(19, 20, 19, 0.28), rgba(19, 20, 19, 0.1) 46%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 38%, rgba(0, 0, 0, 0.22) 76%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 38%, rgba(0, 0, 0, 0.22) 76%, transparent 100%);
}

.case-reel-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(19, 20, 19, 0.28), rgba(19, 20, 19, 0.1) 46%, transparent 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.82) 38%, rgba(0, 0, 0, 0.22) 76%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.82) 38%, rgba(0, 0, 0, 0.22) 76%, transparent 100%);
}

.case-reel {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  height: 100%;
  align-items: stretch;
  gap: 7px;
  will-change: transform;
  contain: layout style;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.case-reel-card {
  position: relative;
  flex: 0 0 clamp(170px, 12vw, 225px);
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 51% 43%, rgba(232, 232, 226, 0.2), transparent 58%),
    linear-gradient(158deg, rgba(86, 87, 84, 0.96), rgba(146, 146, 140, 0.96));
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.055), inset -1px 0 0 rgba(0, 0, 0, 0.2);
  contain: layout paint;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  will-change: transform;
}

.case-reel-card.is-rare-special {
  background:
    radial-gradient(circle at 50% 42%, rgba(230, 198, 103, 0.19), transparent 57%),
    linear-gradient(158deg, rgba(91, 87, 71, 0.98), rgba(145, 134, 100, 0.95));
}

.case-reel-image {
  position: absolute;
  top: 3%;
  left: -5%;
  width: 110%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 9px 6px rgba(0, 0, 0, 0.32));
}

.case-reel-labels {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: grid;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
}

.case-reel-labels strong,
.case-reel-labels span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-reel-labels strong {
  font-size: 12px;
  line-height: 14px;
}

.case-reel-labels span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 12px;
}

.case-reel-rarity {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--case-rarity, #4b69ff);
}

.case-reel-marker {
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, rgba(243, 232, 189, 0.78), rgba(244, 239, 220, 0.92), rgba(243, 232, 189, 0.78));
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

.case-reel-marker::before,
.case-reel-marker::after {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  transform: translateX(-50%);
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
}

.case-reel-marker::before {
  top: 0;
  border-top: 11px solid #e6d79e;
}

.case-reel-marker::after {
  bottom: 0;
  border-bottom: 11px solid #e6d79e;
}

.case-roll-vignette {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 21, 20, 0.96), transparent 14%, transparent 86%, rgba(20, 21, 20, 0.96));
}

.case-image-fallback {
  display: grid;
  place-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (max-height: 760px) {
  .case-detail-body {
    grid-template-rows: minmax(180px, 1fr) auto auto;
  }

  .case-object-stage {
    min-height: 180px;
  }

  .case-object-image {
    width: min(28vw, 390px);
    height: min(29vh, 250px);
  }

  .case-content-name {
    display: none;
  }

  .case-content-image {
    height: 91%;
  }
}

@media (min-width: 2100px) and (min-height: 1100px) {
  .case-content-card {
    max-height: 126px;
  }

  .case-contents-grid {
    align-items: end;
  }
}

/* CS2-style container opening reference layout */
.case-opening-reference {
  background:
    linear-gradient(180deg, rgba(28, 31, 29, 0.2), rgba(40, 42, 38, 0.14) 52%, rgba(19, 21, 20, 0.38)),
    url("../assets/mirage-background.png") center / cover no-repeat;
}

.case-opening-reference::before {
  inset: -10px;
  opacity: 0.93;
  filter: blur(3px) saturate(0.64) brightness(1.08);
  transform: scale(1.015);
}

.case-opening-reference::after {
  z-index: -1;
  display: block;
  background:
    radial-gradient(circle at 50% 49%, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(24, 27, 25, 0.08), rgba(45, 46, 42, 0.08) 62%, rgba(20, 22, 21, 0.28));
}

.case-opening-ui-header {
  position: absolute;
  z-index: 20;
  top: clamp(34px, 5.2vh, 58px);
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  color: rgba(245, 244, 238, 0.95);
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.48);
  white-space: nowrap;
}

.case-opening-ui-header h1 {
  margin: 0;
  font-size: clamp(29px, 2.35vw, 40px);
  font-weight: 400;
  letter-spacing: 0.018em;
  line-height: 1;
}

.case-opening-ui-subtitle {
  margin: 10px 0 0;
  color: rgba(245, 244, 238, 0.84);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.case-opening-ui-subtitle strong {
  font-weight: 700;
}

.case-opening-ui-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: rgba(246, 245, 239, 0.72);
  font-family: Arial, sans-serif;
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 18px;
}

.case-opening-ui-info img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.case-opening-container-visual {
  position: absolute;
  z-index: 1;
  top: 17.5%;
  left: 50%;
  width: min(520px, 37vw);
  height: min(320px, 34vh);
  transform: translateX(-50%);
  pointer-events: none;
}

.case-opening-container-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.52;
  filter: saturate(0.86) drop-shadow(0 18px 13px rgba(0, 0, 0, 0.36));
}

.case-opening-focus-disc {
  position: absolute;
  z-index: 2;
  top: 50.5%;
  left: 50%;
  width: min(620px, 65vh);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: none;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.case-opening-reference .case-roll-stage {
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 0 1.3vh;
}

.case-opening-reference .case-reel-viewport {
  width: 100vw;
  height: clamp(188px, 24.8vh, 235px);
  border: 0;
  background: rgba(54, 57, 54, 0.12);
  box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 4%, rgba(0, 0, 0, 0.58) 10%, #000 18%, #000 82%, rgba(0, 0, 0, 0.58) 90%, rgba(0, 0, 0, 0.12) 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 4%, rgba(0, 0, 0, 0.58) 10%, #000 18%, #000 82%, rgba(0, 0, 0, 0.58) 90%, rgba(0, 0, 0, 0.12) 96%, transparent 100%);
}

.case-opening-reference .case-reel {
  gap: 12px;
  align-items: center;
}

.case-opening-reference .case-reel-card {
  flex-basis: clamp(210px, 16vw, 278px);
  height: 88%;
  border: 1px solid rgba(255, 255, 255, 0.035);
  background:
    radial-gradient(circle at 50% 44%, rgba(236, 236, 230, 0.2), transparent 58%),
    linear-gradient(158deg, rgba(100, 102, 99, 0.87), rgba(150, 151, 146, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.case-opening-reference .case-reel-card.is-rare-special {
  background:
    radial-gradient(circle at 50% 42%, rgba(235, 199, 95, 0.25), transparent 60%),
    linear-gradient(158deg, rgba(117, 108, 72, 0.94), rgba(171, 151, 85, 0.91));
}

.case-opening-reference .case-reel-image {
  top: 1%;
  left: -4%;
  width: 108%;
  height: 79%;
  filter: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.3));
}

.case-opening-reference .case-reel-labels {
  right: 9px;
  bottom: 8px;
  left: 9px;
}

.case-opening-reference .case-reel-labels strong {
  font-size: 12px;
  line-height: 14px;
}

.case-opening-reference .case-reel-labels span {
  font-size: 10px;
  line-height: 12px;
}

.case-opening-reference .case-reel-rarity {
  height: 5px;
}

.case-opening-reference .case-reel-marker {
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(224, 215, 151, 0.96);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.42);
}

.case-opening-reference .case-reel-marker::before,
.case-opening-reference .case-reel-marker::after {
  display: none;
}

.case-opening-reference .case-roll-vignette {
  z-index: 7;
  background: linear-gradient(
    90deg,
    rgba(30, 32, 30, 0.26),
    transparent 16%,
    transparent 84%,
    rgba(30, 32, 30, 0.26)
  );
}

.case-opening-ui-footer {
  position: absolute;
  z-index: 20;
  bottom: 17px;
  left: 50%;
  width: min(830px, 74vw);
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-top: 1px solid rgba(244, 243, 236, 0.38);
  color: rgba(246, 245, 239, 0.86);
}

.case-opening-ui-requirement {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.case-opening-ui-key {
  width: 58px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.44));
}

.case-opening-ui-use {
  overflow: hidden;
  color: rgba(246, 245, 239, 0.72);
  font-family: var(--font-ui);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 300;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-opening-ui-use strong {
  color: rgba(246, 245, 239, 0.92);
  font-family: var(--font-ui);
  font-weight: 700;
}

.case-opening-ui-controls {
  display: flex;
  align-items: center;
  gap: 45px;
  padding-right: 12px;
}

.case-opening-spinner {
  width: 29px;
  height: 29px;
  display: block;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-right-color: transparent;
  border-radius: 50%;
  animation: case-opening-spinner 720ms linear infinite;
}

@keyframes case-opening-spinner {
  to { transform: rotate(360deg); }
}

.case-opening-ui-close {
  padding: 7px 0;
  cursor: default;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

@media (max-height: 760px) {
  .case-opening-ui-header {
    top: 24px;
  }

  .case-opening-container-visual {
    top: 16%;
    height: 29vh;
  }

  .case-opening-reference .case-reel-viewport {
    height: 190px;
  }

  .case-opening-focus-disc {
    width: min(520px, 68vh);
  }

  .case-opening-ui-footer {
    bottom: 9px;
    height: 62px;
  }
}

/* Opening polish: the reel is the only large visual during the spin. */
.case-opening-reference .case-opening-container-visual { display: none !important; }
.case-purchase-actions .case-button-buy-unbox { min-width: 178px; }

/* 013: the in-spin CLOSE control is intentionally interactive. */
.case-opening-ui-close {
  border: 0;
  outline: 0;
  cursor: pointer;
}

.case-opening-ui-close:hover,
.case-opening-ui-close:focus-visible {
  color: #fff;
  text-shadow: 0 0 9px rgba(255, 255, 255, 0.24), 0 1px 3px rgba(0, 0, 0, 0.55);
}
