:root {
  color-scheme: light;
  --bg: #eef0f3;
  --bg-soft: #e7eaee;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(17, 24, 39, 0.16);
  --text: #111318;
  --muted: #7b8088;
  --muted-2: #a1a6ad;
  --accent: #147ce5;
  --status-active: #15803d;
  --status-idle: #64707d;
  --status-broken: #b91c1c;
  --radius: 22px;
  --radius-lg: 22px;
  --radius-card: 20px;
  --radius-panel: 22px;
  --radius-control: 12px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 18px;
  --space-7: 20px;
  --font-xs: 10px;
  --font-sm: 12px;
  --font-md: 14px;
  --font-lg: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -4%, rgba(255,255,255,0.82), transparent 34rem),
    linear-gradient(180deg, #f1f3f6 0%, #e9ecef 48%, #f5f6f8 100%);
  transition: background 420ms var(--ease), color 420ms var(--ease);
}

body.is-detail {
  color: #f5f7fb;
  background:
    radial-gradient(circle at 64% 38%, rgba(148, 158, 174, 0.34), transparent 26rem),
    radial-gradient(circle at 46% 48%, rgba(255, 255, 255, 0.12), transparent 20rem),
    linear-gradient(180deg, #191c21 0%, #24282f 46%, #15181d 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.site-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 16px 16px 48px;
}

body.is-detail .site-shell {
  min-height: 100svh;
  padding-bottom: 12px;
  background: transparent;
}

body.is-detail #app {
  min-height: calc(100svh - 64px);
  background: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  margin: 0 -4px;
  padding: 0 4px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}

body.is-detail .site-header {
  display: flex;
  justify-content: space-between;
  background: transparent;
}

body.is-detail .top-nav {
  color: rgba(245, 247, 251, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 40px;
}

.brand.is-detail-brand {
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-logo {
  display: block;
  width: 126px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.brand.is-detail-brand .brand-logo {
  width: 126px;
  height: 40px;
  object-position: left center;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

body.is-detail .brand {
  justify-self: auto;
}

body.is-detail .brand-logo.is-detail-brand-logo {
  width: min(96px, 28vw);
  height: 34px;
  object-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.brand-logo.is-text {
  display: inline-flex;
  align-items: center;
  width: auto;
  color: var(--text);
  font-size: var(--font-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #636870;
  font-size: 14px;
  font-weight: 620;
}

.top-nav a {
  padding: 10px 0;
  transition: color 180ms var(--ease), opacity 180ms var(--ease);
}

.top-nav a:hover {
  color: var(--text);
}

body.is-detail .top-nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 184px;
  padding: 32px 0 16px;
  text-align: center;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(46px, 15vw, 78px);
  line-height: 1.1;
  font-weight: 760;
  letter-spacing: 0;
}

.hero p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 10px;
  width: min(360px, 100%);
  margin-top: 18px;
  margin-inline: auto;
}

.asset-summary,
.asset-count {
  display: grid;
  gap: var(--space-1);
  justify-items: center;
  padding: var(--space-3) var(--space-6);
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.asset-count {
  align-items: center;
  padding-inline: 16px;
}

.asset-summary span,
.asset-count span {
  color: var(--muted);
  font-size: var(--font-xs);
  font-weight: 700;
  line-height: 1;
}

.asset-summary strong,
.asset-count strong {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  font-size: var(--font-lg);
  line-height: 1.05;
  font-weight: 760;
}

.scroll-cue {
  display: none;
  place-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, #c8ccd2 25% 75%, transparent);
}

.dashboard-carousel {
  position: relative;
  display: grid;
  gap: 14px;
}

.dashboard-word-switch {
  position: absolute;
  top: clamp(48px, 7vw, 68px);
  left: 50%;
  z-index: 6;
  width: min(760px, calc(100% - 28px));
  height: 84px;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.dashboard-hero > div {
  padding-top: 86px;
}

.dashboard-word-switch button {
  position: absolute;
  top: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: clamp(42px, 11vw, 68px);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: 0;
  min-width: 148px;
  height: 84px;
  opacity: 0.16;
  pointer-events: auto;
  transition:
    opacity 260ms var(--ease),
    transform 420ms var(--ease-out),
    border-color 260ms var(--ease),
    color 260ms var(--ease);
}

.dashboard-word-switch button[aria-current="true"] {
  color: #111318;
  opacity: 0.96;
  visibility: visible;
  pointer-events: auto;
}

.dashboard-carousel.is-goods .dashboard-word-switch [data-dashboard-target="goods"] {
  left: 50%;
  transform: translateX(-50%);
}

.dashboard-carousel.is-goods .dashboard-word-switch [data-dashboard-target="subscriptions"] {
  left: calc(50% + clamp(132px, 24vw, 220px));
  transform: translateX(-50%);
}

.dashboard-carousel.is-subscriptions .dashboard-word-switch [data-dashboard-target="goods"] {
  left: calc(50% - clamp(132px, 24vw, 220px));
  transform: translateX(-50%);
}

.dashboard-carousel.is-subscriptions .dashboard-word-switch [data-dashboard-target="subscriptions"] {
  left: 50%;
  transform: translateX(-50%);
}

.dashboard-viewport {
  position: relative;
  overflow: visible;
  touch-action: pan-y;
}

.dashboard-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 560px;
}

.dashboard-panel {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 1;
  transition:
    opacity 360ms var(--ease),
    visibility 0s linear 0s;
}

.dashboard-panel[aria-hidden="true"] {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 260ms var(--ease),
    visibility 0s linear 260ms;
}

.collection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  padding: 8px 18px 0;
  overflow: visible;
}

.collection-group {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.collection-group + .collection-group {
  padding-top: 24px;
}

.group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.group-heading h2 {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: 0;
}

.group-heading h2 span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.group-toggle {
  min-height: 30px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-control);
  font-size: var(--font-sm);
  font-weight: 720;
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.group-toggle:hover,
.group-toggle:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  outline: 0;
}

.group-toggle:active {
  transform: translateY(1px);
}

.collection-group.is-collapsed {
  gap: 0;
}

.product-card {
  --charge-progress: 0;
  --press-progress: 0;
  --charge-color: rgba(100, 112, 125, 0.34);
  --charge-glow-color: rgba(100, 112, 125, 0.16);
  --media-width: 78%;
  --media-height: 78%;
  --media-scale: 1;
  --media-offset-y: 0px;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 1 / 1.08;
  min-height: 0;
  height: auto;
  padding: 8px;
  overflow: hidden;
  text-align: center;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.055);
  cursor: pointer;
  isolation: isolate;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.product-card:focus-visible {
  border-color: rgba(20, 124, 229, 0.34);
  outline: 0;
}

.product-card::before {
  position: absolute;
  inset: auto 10px 7px;
  z-index: 5;
  height: 3px;
  border-radius: 999px;
  background: var(--status-color, rgba(100, 112, 125, 0.42));
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.card-charge {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: calc(var(--charge-progress) * 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), var(--charge-color)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.42), transparent 58%);
  box-shadow: 0 -10px 26px var(--charge-glow-color);
  opacity: 0;
  pointer-events: none;
  transition:
    height 500ms linear,
    opacity 160ms var(--ease);
}

.product-card.status-active {
  --status-color: var(--status-active);
  --charge-color: rgba(34, 197, 94, 0.42);
  --charge-glow-color: rgba(34, 197, 94, 0.22);
}

.product-card.status-idle {
  --status-color: var(--status-idle);
  --charge-color: rgba(100, 116, 139, 0.34);
  --charge-glow-color: rgba(100, 116, 139, 0.16);
}

.product-card.status-broken {
  --status-color: var(--status-broken);
  --charge-color: rgba(239, 68, 68, 0.38);
  --charge-glow-color: rgba(239, 68, 68, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .product-card:focus-visible {
    z-index: 12;
    transform: scale(1.12);
    border-color: rgba(20, 124, 229, 0.26);
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.105);
  }

  .product-card:hover .model-stage,
  .product-card:focus-visible .model-stage {
    transform: translateY(2px);
  }
}

.product-card.is-pressing {
  z-index: 20;
  transform: scale(calc(1 + (var(--press-progress) * 0.22)));
  transform-origin: center center;
  border-color: rgba(20, 124, 229, 0.24);
  transition:
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}

.product-card.is-pressing .card-charge {
  opacity: 0.82;
  transition: opacity 160ms var(--ease);
}

.product-card.is-canceling {
  z-index: 18;
  transform: scale(calc(1 + (var(--press-progress) * 0.22)));
  transform-origin: center center;
  transition:
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}

.product-card.is-canceling .card-charge {
  height: 0;
  opacity: 0.72;
  transition:
    height 340ms var(--ease-out),
    opacity 340ms var(--ease-out);
}

.product-card.is-tapped {
  z-index: 9;
  transform: scale(1.1);
  transform-origin: center center;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.13);
}

.product-card.is-resetting {
  transform: scale(1);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}

.product-card.is-charged {
  z-index: 10;
  transform: scale(1.22);
  transform-origin: center center;
}

.card-brand {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(78px, 64%);
  height: 18px;
  transform: translateX(-50%);
  opacity: 0.72;
  pointer-events: none;
}

.card-info {
  position: absolute;
  right: 9px;
  bottom: 13px;
  left: 9px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
  backdrop-filter: blur(12px);
}

.card-info strong {
  min-width: 0;
  overflow: hidden;
  color: rgba(17, 24, 39, 0.88);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 720;
  letter-spacing: 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--status-color, rgba(100, 112, 125, 0.72));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.68);
}

.product-card:hover .card-info,
.product-card:focus-visible .card-info,
.product-card.is-pressing .card-info,
.product-card.is-tapped .card-info,
.product-card.is-charged .card-info {
  opacity: 1;
  transform: translateY(0);
}

.product-brand-logo {
  display: block;
  width: min(100%, 76px);
  height: min(100%, 18px);
  object-fit: contain;
  object-position: center;
  transform: scale(var(--logo-scale, 1));
  transform-origin: center;
}

.product-brand-logo.is-text {
  width: auto;
  height: auto;
  color: #171a20;
  filter: none;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-card:nth-child(3n + 2) .product-model {
  animation-delay: -1.3s;
}

.product-card:nth-child(3n + 3) .product-model {
  animation-delay: -2.4s;
}

.product-card[data-product="aer3-backpack"] .product-brand-logo {
  filter: brightness(0) saturate(100%);
  opacity: 0.86;
}

.product-card[data-model="phone"] {
  --media-width: 84%;
  --media-height: 86%;
  --media-scale: 1.04;
}

.product-card[data-model="tablet"] {
  --media-width: 86%;
  --media-height: 88%;
  --media-scale: 1.02;
}

.product-card[data-model="headphones"] {
  --media-width: 82%;
  --media-height: 78%;
  --media-scale: 1.02;
}

.product-card[data-model="earbuds"] {
  --media-width: 78%;
  --media-height: 72%;
  --media-scale: 1.02;
}

.product-card[data-model="speaker"] {
  --media-width: 86%;
  --media-height: 72%;
  --media-scale: 1.02;
}

.product-card[data-model="controller"] {
  --media-width: 84%;
  --media-height: 78%;
  --media-scale: 1.02;
}

.product-card[data-model="keyboard"] {
  --media-width: 90%;
  --media-height: 62%;
  --media-scale: 1;
}

.product-card[data-model="camera"] {
  --media-width: 84%;
  --media-height: 78%;
  --media-scale: 1.02;
}

.product-card[data-model="monitor"] {
  --media-width: 94%;
  --media-height: 70%;
  --media-scale: 1;
}

.product-card[data-model="game-card"] {
  --media-width: 82%;
  --media-height: 82%;
  --media-scale: 0.95;
  --media-offset-y: -2px;
}

.product-card[data-model="backpack"] {
  --media-width: 86%;
  --media-height: 78%;
  --media-scale: 1.03;
  --media-offset-y: -6px;
}

.product-card[data-product="aer3-backpack"],
.product-card[data-product="nike-utility-backpack"] {
  --media-width: 88%;
  --media-height: 80%;
  --media-scale: 1.03;
  --media-offset-y: -6px;
}

.product-card[data-product="edifier-g4"] .product-brand-logo {
  filter: brightness(0) saturate(100%) invert(35%) sepia(88%) saturate(1523%) hue-rotate(185deg) brightness(92%) contrast(95%);
  opacity: 0.9;
  transform: scale(1.18);
}

.product-card[data-product="edifier-g4"] .product-photo {
  filter: saturate(1.08) contrast(1.04);
}

.product-card[data-product="adata-2666-8gbx2"] .product-photo {
  filter: saturate(1.16) contrast(1.04);
}

.product-card[data-product="sama-750w-atx3"] .product-photo,
.product-card[data-product="sama-750w"] .product-photo {
  filter: contrast(1.02);
}

.product-card[data-product="sandisk-extreme-sd-128gb"] {
  --media-width: 82%;
  --media-height: 74%;
  --media-offset-y: -4px;
}

.product-card[data-product="skyworth-f27g1q"] .product-photo,
.product-card[data-product="ktc-h27t22c-3"] .product-photo {
  object-position: center 52%;
  mix-blend-mode: normal;
  filter: contrast(1.04) saturate(1.04);
}

.product-card[data-product="skyworth-f27g1q"],
.product-card[data-product="ktc-h27t22c-3"] {
  --media-width: 94%;
  --media-height: 72%;
}

.product-card[data-product="msi-rtx-5060-ventus-2x-oc"] .product-brand-logo {
  transform: scale(0.72);
}

.product-card[data-product="custom-gaming-pc"] .product-brand-logo {
  filter: brightness(0) saturate(100%);
  opacity: 0.9;
  transform: scale(0.86);
}

.product-card[data-product="ktc-h27t22c-3"] {
  background: #fff;
}

.product-card[data-product="wd-2t-black"] {
  --media-width: 76%;
  --media-height: 66%;
}

.product-card[data-product="kioxia-rc20-1t"] .product-brand-logo,
.product-card[data-product="i5-10400f-asus-b460m-k"] .product-brand-logo,
.product-card[data-product="asus-5600xt-triple-fan"] .product-brand-logo {
  transform: scale(0.76);
}

.product-card[data-product="sama-750w-atx3"] .product-brand-logo,
.product-card[data-product="sama-750w"] .product-brand-logo {
  transform: scale(0.76);
}

.product-card[data-product="merida-explorer-100-2024"] .product-photo {
  filter: none;
}

.product-card[data-product="xbox-cyberpunk-2077-simplified"] .product-photo {
  filter: none;
}

.product-card[data-product="xbox-sekiro-traditional"] .product-photo,
.product-card[data-product="hollow-knight-switch"] .product-photo {
  object-position: center;
  filter: none;
}

.product-card[data-product="hollow-knight-switch"] {
  --media-offset-y: -2px;
}

.product-card[data-product="kirby-return-to-dream-land"] {
  --media-width: 80%;
  --media-height: 80%;
  --media-offset-y: -2px;
}

.product-card[data-product="kirby-return-to-dream-land"] .product-photo {
  object-position: center;
  filter: none;
}

.product-card[data-product="iphone-15-pro-white"] {
  --media-width: 88%;
  --media-height: 88%;
  --media-scale: 1.56;
}

.product-card[data-product="huawei-mate30pro-black"] {
  --media-width: 86%;
  --media-height: 86%;
  --media-scale: 1.08;
}

.product-card[data-product="ipad-mini-7-gray"] {
  --media-width: 88%;
  --media-height: 88%;
  --media-scale: 1.05;
  --media-offset-y: -3px;
}

.product-card[data-product="sony-wh1000xm3-black"] {
  --media-width: 84%;
  --media-height: 78%;
  --media-scale: 1.05;
}

.product-card[data-product="jbl-flip-6"] {
  --media-width: 88%;
  --media-height: 72%;
  --media-scale: 1.36;
}

.product-card[data-product="nintendo-switch"] {
  --media-width: 86%;
  --media-height: 76%;
  --media-scale: 1.5;
}

.product-card[data-product="xbox-controller"] {
  --media-width: 86%;
  --media-height: 76%;
  --media-scale: 1.25;
}

.product-card[data-product="pxn-p50-purple"] {
  --media-scale: 1.20;
}

.model-stage {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: 22px 4px 6px;
  perspective: 900px;
  transition: transform 460ms var(--ease);
}

.glb-stage {
  width: 100%;
  overflow: hidden;
  cursor: grab;
}

.detail-media .glb-stage:active {
  cursor: grabbing;
}

.glb-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  outline: 0;
}

.image-stage {
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.product-card .card-media {
  width: 100%;
  height: 76%;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  background: #fff;
  overflow: hidden;
}

.product-card .card-media .model-shadow {
  display: none;
}

.product-card .card-media .product-photo {
  width: var(--media-width, 78%);
  height: var(--media-height, 78%);
  max-width: 96%;
  max-height: 96%;
  object-fit: contain;
  transform: translateY(var(--media-offset-y, 0px)) scale(var(--media-scale, 1));
  transform-origin: center center;
}

.product-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(86%, 220px);
  max-height: 78%;
  background: #fff;
  mix-blend-mode: normal;
  object-fit: contain;
  transform: translateY(0) scale(1);
  transform-origin: center;
}

.glb-fallback-photo {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 220ms var(--ease);
}

.glb-fallback-placeholder {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 220ms var(--ease);
}

.glb-stage.has-error .glb-canvas {
  opacity: 0;
}

.glb-stage.has-error .glb-fallback-photo,
.glb-stage.has-error .glb-fallback-placeholder {
  opacity: 1;
}

.model-stage[data-size="large"] .glb-fallback-photo {
  width: min(82vw, 520px);
  max-height: min(56vh, 440px);
}

.detail-photo {
  width: min(82vw, 520px);
  max-height: min(56vh, 440px);
}

.glb-status {
  position: absolute;
  z-index: 2;
  inset: 38% 0 auto;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.glb-stage.is-loaded .glb-status {
  display: none;
}

.product-card .glb-status {
  display: none;
}

.glb-stage.has-error .glb-status {
  display: none;
}

.placeholder-stage {
  padding-inline: 10px;
}

.product-image-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(76%, 190px);
  aspect-ratio: 1.18;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(235,238,243,0.72)),
    radial-gradient(circle at 50% 20%, rgba(20,124,229,0.08), transparent 54%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 18px 28px rgba(17,24,39,0.1);
  text-align: center;
}

.image-fallback-inline {
  width: min(76%, 190px);
}

.image-stage.has-image-error .image-fallback-inline,
.photo-stage.has-image-error .image-fallback-inline {
  place-self: center;
}

.glb-stage .image-fallback-inline {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 220ms var(--ease);
}

.glb-stage.has-error .image-fallback-inline {
  opacity: 1;
}

.product-image-placeholder span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-image-placeholder strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.model-stage[data-size="large"] .product-image-placeholder {
  width: min(62vw, 420px);
  border-radius: 26px;
}

.model-stage[data-size="large"] .product-image-placeholder strong {
  font-size: clamp(22px, 4vw, 34px);
}

.model-shadow {
  display: none;
}

.product-model {
  --c1: #1e2228;
  --c2: #6e747d;
  --c3: #cfd4da;
  position: relative;
  width: 112px;
  height: 112px;
  transform-style: preserve-3d;
  animation: floaty 5.6s var(--ease) infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotateX(9deg) rotateY(-12deg);
  }
  50% {
    transform: translateY(-10px) rotateX(4deg) rotateY(12deg);
  }
}

.model-stage[data-size="large"] {
  min-height: 460px;
}

.model-stage[data-size="large"] .product-model {
  width: min(76vw, 420px);
  height: min(76vw, 420px);
  animation-duration: 6.8s;
}

.model-stage[data-size="large"] .model-shadow {
  bottom: 28px;
  width: min(42vw, 180px);
  height: 26px;
}

.product-model span,
.product-model::before,
.product-model::after {
  position: absolute;
  content: "";
  display: block;
}

.product-model.headphones .band {
  inset: 8% 17% 27%;
  border: clamp(9px, 7vw, 22px) solid transparent;
  border-top-color: var(--c1);
  border-left-color: var(--c1);
  border-right-color: var(--c1);
  border-radius: 50% 50% 32% 32%;
  box-shadow: inset 0 8px 10px rgba(255, 255, 255, 0.16);
}

.product-model.headphones .cup {
  top: 49%;
  width: 28%;
  height: 36%;
  border-radius: 42%;
  background:
    radial-gradient(circle at 38% 35%, rgba(255, 255, 255, 0.2), transparent 23%),
    linear-gradient(145deg, var(--c2), var(--c1) 62%, #08090b);
  box-shadow: inset -8px -10px 20px rgba(0, 0, 0, 0.32);
}

.product-model.headphones .cup.left {
  left: 15%;
  transform: rotate(-12deg);
}

.product-model.headphones .cup.right {
  right: 15%;
  transform: rotate(12deg);
}

.product-model.headphones .accent {
  right: 24%;
  top: 50%;
  width: 3%;
  height: 15%;
  border-radius: 9px;
  background: #ff8a2a;
}

.product-model.mouse .body,
.product-model.gaming-mouse .body {
  inset: 10% 21% 8%;
  border-radius: 48% 48% 42% 42%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.2) 49% 51%, transparent 52%),
    radial-gradient(circle at 52% 22%, #aeb7c0 0 4%, transparent 5%),
    linear-gradient(145deg, var(--c2), var(--c1) 58%, #07080a);
  box-shadow:
    inset -14px -20px 28px rgba(0, 0, 0, 0.34),
    inset 10px 8px 18px rgba(255, 255, 255, 0.12);
}

.product-model.mouse .mark,
.product-model.gaming-mouse .mark {
  left: 48%;
  top: 54%;
  width: 20%;
  height: 20%;
  border: clamp(3px, 2vw, 8px) solid #e9edf2;
  border-right-color: transparent;
  border-radius: 50%;
}

.product-model.gaming-mouse .body {
  clip-path: polygon(23% 4%, 70% 0, 91% 26%, 84% 88%, 42% 100%, 7% 77%, 11% 23%);
}

.product-model.gaming-mouse .lights {
  left: 22%;
  top: 33%;
  width: 6%;
  height: 34%;
  border-radius: 10px;
  background: linear-gradient(#48c8ff, #147ce5);
  box-shadow: 0 0 18px rgba(20, 124, 229, 0.6);
}

.product-model.gaming-mouse .cord {
  left: 47%;
  top: -10%;
  width: 4%;
  height: 26%;
  border-radius: 999px;
  background: linear-gradient(#2b3037, transparent);
}

.product-model.speaker .body {
  inset: 27% 4% 25%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 0 9%, transparent 10%) 0 0 / 8px 8px,
    linear-gradient(145deg, #333840, #111318 58%, #050506);
  box-shadow: inset -20px -12px 30px rgba(0, 0, 0, 0.42);
}

.product-model.speaker .cap {
  right: 1%;
  top: 31%;
  width: 30%;
  height: 39%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #111318 0 22%, #6c737b 23% 32%, #151719 33%);
  box-shadow: inset -8px -10px 18px rgba(0, 0, 0, 0.38);
}

.product-model.earbuds .case {
  left: 18%;
  right: 18%;
  bottom: 11%;
  height: 35%;
  border-radius: 24% 24% 34% 34%;
  background: linear-gradient(155deg, #fff, #e9edf1 72%, #cdd3da);
  box-shadow:
    inset -10px -8px 20px rgba(0, 0, 0, 0.09),
    0 12px 24px rgba(17, 24, 39, 0.1);
}

.product-model.earbuds .bud {
  top: 12%;
  width: 26%;
  height: 35%;
  border-radius: 50% 50% 42% 42%;
  background:
    radial-gradient(circle at 62% 28%, #111318 0 7%, transparent 8%),
    linear-gradient(145deg, #fff, #e8ebef);
  box-shadow: inset -8px -8px 16px rgba(0, 0, 0, 0.08);
}

.product-model.earbuds .bud.left {
  left: 22%;
  transform: rotate(-16deg);
}

.product-model.earbuds .bud.right {
  right: 22%;
  transform: rotate(16deg);
}

.product-model.earbuds .stem {
  top: 41%;
  width: 8%;
  height: 30%;
  border-radius: 999px;
  background: linear-gradient(#fff, #dfe4ea);
}

.product-model.earbuds .stem.left {
  left: 35%;
}

.product-model.earbuds .stem.right {
  right: 35%;
}

.product-model.tablet .device,
.product-model.phone .device {
  inset: 5% 26% 6%;
  border-radius: 12%;
  background: linear-gradient(145deg, #f7f2ec, #cfc8be);
  box-shadow:
    inset -8px -12px 18px rgba(0, 0, 0, 0.12),
    8px 10px 22px rgba(17, 24, 39, 0.12);
}

.product-model.tablet .screen,
.product-model.phone .screen {
  inset: 6% 6%;
  border: 3px solid #111318;
  border-radius: 9%;
  background:
    linear-gradient(135deg, transparent 0 24%, #ff5c7c 25% 34%, transparent 35%),
    linear-gradient(160deg, #16181d, #252934 44%, #ff9f3d 45% 55%, #ffe070 70%, #16181d 71%);
}

.product-model.phone .device {
  inset: 4% 31% 5%;
  border-radius: 17%;
}

.product-model.dark-phone .device {
  background: linear-gradient(145deg, #282c33, #07080a);
}

.product-model.dark-phone .screen {
  background:
    radial-gradient(circle at 50% 20%, #25c39d 0 10%, transparent 11%),
    linear-gradient(160deg, #111318, #29313a);
}

.product-model.dark-phone .camera-ring {
  left: 37%;
  top: 20%;
  width: 27%;
  height: 18%;
  border: 4px solid #161a20;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.product-model.keyboard .deck {
  inset: 35% 3% 26%;
  border-radius: 13%;
  background: linear-gradient(145deg, #eceff2, #aeb5be);
  transform: rotateX(58deg) rotateZ(-9deg);
  box-shadow: 0 20px 26px rgba(17, 24, 39, 0.12);
}

.product-model.keyboard .keys {
  inset: 43% 12% 36%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #22262d 0 9%, transparent 10% 13%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 38%, transparent 39% 52%);
  transform: rotateX(58deg) rotateZ(-9deg);
}

.product-model.camera .body {
  inset: 26% 10% 24%;
  border-radius: 18%;
  background: linear-gradient(145deg, #353b43, #111318 60%, #050506);
  box-shadow: inset -14px -12px 24px rgba(0, 0, 0, 0.4);
}

.product-model.camera .lens {
  left: 36%;
  top: 31%;
  width: 35%;
  height: 35%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 42%, #1c6ee9 0 12%, #111318 13% 26%, #747b84 27% 39%, #0b0c0e 40%);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.product-model.watch .case {
  inset: 24% 29% 24%;
  border-radius: 28%;
  background: linear-gradient(145deg, #edf1f4, #9fa7b0);
  box-shadow: inset -8px -10px 18px rgba(0, 0, 0, 0.18);
}

.product-model.watch .screen {
  inset: 29% 33% 29%;
  border-radius: 24%;
  background: linear-gradient(145deg, #101215, #2c3440);
}

.product-model.watch .strap {
  left: 42%;
  width: 16%;
  height: 34%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7dce2, #a2aab4);
}

.product-model.watch .strap.top {
  top: 0;
}

.product-model.watch .strap.bottom {
  bottom: 0;
}

.product-model.powerbank .body {
  inset: 15% 23% 10%;
  border-radius: 18%;
  background: linear-gradient(145deg, #f6f7f8, #cdd3da 68%, #a9b1ba);
  transform: rotateZ(-8deg);
  box-shadow:
    inset -10px -14px 24px rgba(0, 0, 0, 0.13),
    8px 12px 24px rgba(17, 24, 39, 0.12);
}

.product-model.powerbank .ports {
  left: 35%;
  top: 21%;
  width: 30%;
  height: 7%;
  border-radius: 999px;
  background: #2a2f36;
  transform: rotateZ(-8deg);
}

.product-model.switch .screen {
  inset: 29% 20% 28%;
  border-radius: 10%;
  background: linear-gradient(145deg, #14171d, #252a33);
  box-shadow: inset 0 0 0 3px #0b0d10;
}

.product-model.switch .joy {
  top: 27%;
  width: 18%;
  height: 47%;
  border-radius: 18%;
  box-shadow: inset -4px -8px 14px rgba(0, 0, 0, 0.2);
}

.product-model.switch .joy.left {
  left: 4%;
  background: linear-gradient(145deg, var(--c3), var(--c2));
}

.product-model.switch .joy.right {
  right: 4%;
  background: linear-gradient(145deg, #ff5b62, #c8232e);
}

.product-model.shoe .sole {
  left: 13%;
  right: 10%;
  bottom: 22%;
  height: 18%;
  border-radius: 40% 28% 30% 42%;
  background: linear-gradient(180deg, #f6f7f8, #cfd4da);
}

.product-model.shoe .upper {
  left: 15%;
  top: 35%;
  width: 72%;
  height: 35%;
  border-radius: 52% 24% 16% 22%;
  background: linear-gradient(145deg, #343941, #090a0d);
  transform: skewX(-10deg);
  box-shadow: inset -10px -12px 18px rgba(0, 0, 0, 0.32);
}

.product-model.shoe .swoosh {
  left: 45%;
  top: 52%;
  width: 29%;
  height: 8%;
  border-radius: 999px;
  background: #f2f4f7;
  transform: rotate(-15deg);
}

.product-model.backpack .pack {
  left: 25%;
  top: 16%;
  width: 50%;
  height: 68%;
  border-radius: 22% 22% 18% 18%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.16) 49% 51%, transparent 52%),
    linear-gradient(145deg, #3b414b, #0d0f13 64%);
  box-shadow: inset -12px -16px 24px rgba(0,0,0,0.32);
}

.product-model.backpack .zip {
  left: 38%;
  top: 30%;
  width: 24%;
  height: 2%;
  border-radius: 999px;
  background: #a7adb6;
}

.product-model.backpack .strap {
  top: 25%;
  width: 10%;
  height: 48%;
  border: 3px solid #1b1f26;
  border-bottom-color: transparent;
  border-radius: 999px;
}

.product-model.backpack .strap.left {
  left: 16%;
}

.product-model.backpack .strap.right {
  right: 16%;
}

.product-model.pc .tower {
  inset: 7% 24% 4%;
  border-radius: 13% 13% 10% 10%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.1), transparent 16% 84%, rgba(255,255,255,0.08)),
    linear-gradient(145deg, var(--c2), var(--c1) 58%, #05070a);
  box-shadow:
    inset -14px -18px 26px rgba(0,0,0,0.38),
    0 18px 26px rgba(17,24,39,0.18);
}

.product-model.pc .glass {
  inset: 15% 32% 18% 34%;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10%;
  background: linear-gradient(145deg, rgba(118,228,255,0.2), rgba(255,255,255,0.04));
}

.product-model.pc .fan {
  left: 39%;
  width: 22%;
  aspect-ratio: 1;
  border: 3px solid rgba(118,228,255,0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(118,228,255,0.25);
}

.product-model.pc .fan-one {
  top: 24%;
}

.product-model.pc .fan-two {
  top: 48%;
}

.product-model.pc .gpu {
  left: 34%;
  right: 32%;
  bottom: 20%;
  height: 8%;
  border-radius: 999px;
  background: var(--c3);
}

.product-model.gpu-card .board {
  left: 10%;
  right: 10%;
  top: 30%;
  height: 34%;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,0.12) 13% 15%, transparent 16% 100%),
    linear-gradient(145deg, var(--c2), var(--c1) 64%, #05070a);
  box-shadow:
    inset -12px -12px 24px rgba(0,0,0,0.34),
    0 18px 28px rgba(17,24,39,0.14);
}

.product-model.gpu-card .fan {
  top: 37%;
  width: 20%;
  aspect-ratio: 1;
  border: 5px solid rgba(245,247,251,0.4);
  border-radius: 50%;
  background: rgba(8,12,18,0.82);
}

.product-model.gpu-card .fan.left {
  left: 29%;
}

.product-model.gpu-card .fan.right {
  right: 21%;
}

.product-model.gpu-card .pcie {
  left: 22%;
  right: 18%;
  bottom: 28%;
  height: 4%;
  border-radius: 999px;
  background: var(--c3);
}

.product-model.psu .box {
  inset: 20% 18% 20%;
  border-radius: 16%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12), transparent 18% 82%, rgba(255,255,255,0.08)),
    linear-gradient(145deg, var(--c2), var(--c1) 62%, #05070a);
  box-shadow:
    inset -14px -16px 28px rgba(0,0,0,0.36),
    0 18px 28px rgba(17,24,39,0.14);
}

.product-model.psu .fan {
  inset: 31% 35%;
  border: 5px solid rgba(245,247,251,0.42);
  border-radius: 50%;
  background: rgba(8,12,18,0.82);
}

.product-model.psu .grill {
  left: 28%;
  right: 28%;
  bottom: 27%;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--c3) 0 5px, transparent 5px 9px);
}

.product-model.controller .pad {
  inset: 30% 13% 26%;
  border-radius: 32% 32% 28% 28%;
  background:
    radial-gradient(circle at 28% 50%, rgba(255,255,255,0.18) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 48%, rgba(255,255,255,0.14) 0 10%, transparent 11%),
    linear-gradient(145deg, var(--c2), var(--c1) 64%, #07090d);
  box-shadow: inset -12px -16px 24px rgba(0,0,0,0.34), 0 18px 26px rgba(17,24,39,0.14);
}

.product-model.controller .stick {
  top: 44%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #111318;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.16);
}

.product-model.controller .stick.left { left: 33%; }
.product-model.controller .stick.right { right: 35%; }

.product-model.controller .button {
  top: 38%;
  width: 6%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c3);
}

.product-model.controller .button.one { right: 27%; }
.product-model.controller .button.two { right: 19%; top: 45%; }

.product-model.game-card .case {
  inset: 14% 25% 12%;
  border-radius: 8%;
  background: linear-gradient(145deg, var(--c1), #0b0d12 70%);
  box-shadow: inset -10px -14px 22px rgba(0,0,0,0.34), 0 18px 28px rgba(17,24,39,0.14);
}

.product-model.game-card .label {
  left: 33%;
  right: 33%;
  top: 23%;
  height: 46%;
  border-radius: 6%;
  background: linear-gradient(145deg, var(--c3), var(--c2));
}

.product-model.game-card .stripe {
  left: 37%;
  right: 37%;
  bottom: 23%;
  height: 5%;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
}

.product-model.motherboard .board {
  inset: 20% 20% 18%;
  border-radius: 10%;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(255,255,255,0.12) 23% 26%, transparent 27% 100%),
    linear-gradient(145deg, var(--c2), var(--c1) 66%, #05070a);
  box-shadow: inset -14px -16px 24px rgba(0,0,0,0.34), 0 18px 26px rgba(17,24,39,0.14);
}

.product-model.motherboard .socket {
  inset: 34% 43% 38% 31%;
  border-radius: 12%;
  background: #cdd3dc;
}

.product-model.motherboard .slot {
  right: 28%;
  width: 5%;
  height: 42%;
  border-radius: 999px;
  background: var(--c3);
}

.product-model.motherboard .slot.one { top: 29%; }
.product-model.motherboard .slot.two { top: 29%; right: 36%; }

.product-model.ram .stick {
  inset: 40% 13% 38%;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--c2), var(--c1));
  box-shadow: inset -8px -8px 16px rgba(0,0,0,0.28), 0 16px 24px rgba(17,24,39,0.12);
}

.product-model.ram .chips {
  left: 24%;
  right: 24%;
  top: 44%;
  height: 8%;
  background: repeating-linear-gradient(90deg, var(--c3) 0 12px, transparent 12px 18px);
}

.product-model.ssd .drive {
  inset: 31% 18% 31%;
  border-radius: 12%;
  background: linear-gradient(145deg, var(--c2), var(--c1) 70%);
  box-shadow: inset -10px -12px 20px rgba(0,0,0,0.3), 0 16px 24px rgba(17,24,39,0.12);
}

.product-model.ssd .label {
  inset: 39% 34% 39%;
  border-radius: 8%;
  background: rgba(255,255,255,0.72);
}

.product-model.cooler .sink {
  inset: 29% 27% 24%;
  border-radius: 14%;
  background: repeating-linear-gradient(90deg, var(--c2) 0 7px, var(--c1) 7px 12px);
  box-shadow: inset -10px -12px 20px rgba(0,0,0,0.22), 0 18px 24px rgba(17,24,39,0.12);
}

.product-model.cooler .fan {
  top: 41%;
  width: 17%;
  aspect-ratio: 1;
  border: 4px solid rgba(17,24,39,0.62);
  border-radius: 50%;
  background: rgba(255,255,255,0.52);
}

.product-model.cooler .fan.left { left: 31%; }
.product-model.cooler .fan.right { right: 31%; }

.product-model.bike .wheel {
  bottom: 22%;
  width: 28%;
  aspect-ratio: 1;
  border: 5px solid var(--c1);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.36);
}

.product-model.bike .wheel.front { right: 18%; }
.product-model.bike .wheel.rear { left: 18%; }

.product-model.bike .frame {
  left: 34%;
  top: 42%;
  width: 34%;
  height: 24%;
  clip-path: polygon(0 100%, 48% 0, 100% 100%, 38% 100%, 48% 0, 18% 100%);
  background: var(--c3);
}

.product-model.bike .bar {
  right: 25%;
  top: 36%;
  width: 18%;
  height: 5%;
  border-radius: 999px;
  background: var(--c2);
  transform: rotate(-20deg);
}

.product-model.ball .sphere {
  inset: 21% 24%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.28), transparent 24%),
    linear-gradient(145deg, var(--c1), var(--c2));
  box-shadow: inset -18px -20px 28px rgba(0,0,0,0.22), 0 18px 28px rgba(17,24,39,0.14);
}

.product-model.ball .line {
  background: rgba(17,24,39,0.72);
}

.product-model.ball .line.vertical {
  left: 49%;
  top: 24%;
  width: 3%;
  height: 52%;
  border-radius: 50%;
}

.product-model.ball .line.horizontal {
  left: 29%;
  right: 29%;
  top: 49%;
  height: 3%;
  border-radius: 50%;
}

.product-model.cable .cord {
  left: 19%;
  right: 19%;
  top: 46%;
  height: 18%;
  border: 5px solid var(--c2);
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.product-model.cable .port {
  top: 38%;
  width: 17%;
  height: 18%;
  border-radius: 8%;
  background: linear-gradient(145deg, var(--c2), var(--c1));
  box-shadow: inset -4px -6px 12px rgba(0,0,0,0.28);
}

.product-model.cable .port.left { left: 16%; }
.product-model.cable .port.right { right: 16%; }

.detail {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 8px 0 20px;
  isolation: isolate;
  min-height: calc(100svh - 64px);
  background: transparent;
}

.detail::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at 50% 52%, rgba(225, 231, 241, 0.18), transparent 18rem);
  pointer-events: none;
}

.detail-hero {
  min-height: auto;
  display: grid;
  align-content: start;
  gap: 18px;
}

.detail-title {
  display: grid;
  gap: 8px;
  text-align: center;
}

.detail-title h1 {
  width: min(100%, 980px);
  margin: 0 auto;
  overflow: hidden;
  font-size: clamp(24px, 5.4vw, 54px);
  line-height: 1.02;
  font-weight: 640;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-title p {
  width: min(560px, 100%);
  margin: 0 auto;
  color: rgba(232, 236, 244, 0.66);
  font-size: 15px;
  line-height: 1.55;
}

.measure-pair {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 38px;
}

.no-break {
  white-space: nowrap;
}

.detail-title .detail-variant {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.detail-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  touch-action: none;
  perspective: 1200px;
}

.detail-media::after {
  display: none;
}

.brand-backdrop {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  display: grid;
  place-items: center;
  gap: 16px;
  width: min(112%, 780px);
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.46);
  font-size: clamp(12px, 1.8vw, 16px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: none;
}

.brand-icon {
  display: block;
  width: clamp(16px, 3vw, 22px);
  height: clamp(16px, 3vw, 22px);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.58;
}

.brand-icon.is-text {
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: inherit;
  font-weight: inherit;
}

.brand-word {
  max-width: 100%;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.22), rgba(138, 149, 166, 0.04));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "SF Pro Display", "Helvetica Neue", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(74px, 20vw, 196px);
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: none;
  transform: none;
  opacity: 0.78;
}

.visual-flip {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 460px;
  transform-style: preserve-3d;
  transition: transform 720ms var(--ease);
}

.detail-media.is-photo .visual-flip.can-toggle {
  transform: rotateY(180deg);
}

.visual-side {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  backface-visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms var(--ease), visibility 180ms var(--ease);
}

.visual-side.is-active,
.visual-flip.single-view .visual-side {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.visual-photo {
  transform: rotateY(180deg);
}

.visual-flip.single-view .visual-photo {
  transform: none;
}

.photo-stage {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: inherit;
}

.detail-measures {
  width: min(560px, 100%);
  margin: -24px auto 0;
  color: rgba(232, 236, 244, 0.66);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.sketchfab-embed-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(100%, 720px);
  min-height: min(64vw, 430px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(8, 10, 14, 0.38);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.sketchfab-embed-wrapper iframe {
  display: block;
  width: 100%;
  min-height: min(58vw, 380px);
  border: 0;
  border-radius: 12px;
  background: #111318;
}

.sketchfab-embed-wrapper p {
  margin: 0;
  color: rgba(232, 236, 244, 0.58);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.sketchfab-embed-wrapper a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-decoration: none;
}

.sketchfab-embed-wrapper a:hover {
  text-decoration: underline;
}

.detail-grid {
  display: grid;
  gap: 12px;
}

.info-panel,
.spec-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: hidden;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(10, 12, 17, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}

.info-panel::before,
.spec-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  pointer-events: none;
}

.panel-heading {
  display: grid;
  gap: 4px;
}

.panel-heading span {
  color: rgba(232, 236, 244, 0.48);
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-heading h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 22px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.info-list,
.spec-list {
  display: grid;
  gap: 4px;
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.info-row dt,
.spec-panel dt {
  margin: 0;
  color: rgba(232, 236, 244, 0.58);
  font-size: 13px;
  line-height: 1.25;
}

.info-row dt {
  display: grid;
  gap: 4px;
}

.info-row dt span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.info-row dt small {
  color: rgba(232, 236, 244, 0.38);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-row dd,
.spec-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.35;
  text-align: right;
}

.price-note {
  display: block;
  margin-top: 2px;
  color: rgba(232, 236, 244, 0.58);
  font-size: 11px;
  font-weight: 680;
  line-height: 1.2;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(86px, 0.46fr) 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.spec-panel dd {
  font-weight: 560;
  text-align: left;
}

.component-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.component-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 720;
}

.component-grid {
  display: grid;
  gap: 12px;
}

.component-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.07);
}

.component-card h3 {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.2;
}

.component-card p {
  margin: 4px 0 8px;
  color: rgba(232,236,244,0.58);
  font-size: 12px;
  line-height: 1.35;
}

.component-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.component-card dt {
  color: rgba(232,236,244,0.48);
  font-size: 10px;
}

.component-card dd {
  margin: 2px 0 0;
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 650;
}

.component-thumb {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(118,228,255,0.34), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.component-thumb::before,
.component-thumb::after {
  position: absolute;
  content: "";
  display: block;
}

.component-thumb.cpu::before,
.component-thumb.gpu::before,
.component-thumb.motherboard::before,
.component-thumb.ram::before,
.component-thumb.ssd::before,
.component-thumb.psu::before,
.component-thumb.hdd::before {
  inset: 15px;
  border-radius: 6px;
  background: rgba(8,12,18,0.78);
  box-shadow: inset 0 0 0 2px rgba(118,228,255,0.28);
}

.component-thumb.gpu::before {
  inset: 21px 9px 18px;
}

.component-thumb.ram::before {
  inset: 17px 11px;
  border-radius: 999px;
}

.component-thumb.cooler::before {
  inset: 13px;
  border: 5px solid rgba(118,228,255,0.56);
  border-radius: 50%;
}

.component-thumb.case::before {
  inset: 9px 17px;
  border-radius: 7px;
  background: rgba(8,12,18,0.78);
}

.component-thumb.monitor::before {
  inset: 12px 8px 18px;
  border-radius: 5px;
  background: rgba(8,12,18,0.78);
  box-shadow: inset 0 0 0 2px rgba(118,228,255,0.28);
}

.component-thumb.monitor::after {
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
}

.component-thumb.hdd::before {
  border-radius: 8px;
}

.notes {
  margin: 0;
  color: #3f444c;
  font-size: 14px;
  line-height: 1.6;
}

.about {
  min-height: calc(100svh - 86px);
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px 0 44px;
}

.about h1 {
  margin: 0;
  font-size: clamp(44px, 14vw, 76px);
  line-height: 0.96;
  font-weight: 760;
}

.about p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.manager {
  min-height: calc(100svh - 86px);
  display: grid;
  gap: 22px;
  padding: 34px 0 48px;
}

.manager-head h1 {
  margin: 0;
  font-size: clamp(42px, 13vw, 72px);
  line-height: 1.02;
  font-weight: 760;
}

.manager-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.manager-list {
  display: grid;
  gap: 10px;
}

.manager-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-card);
}

.manager-row h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.manager-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.manager-row label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.manager-row input,
.manager-row select,
.subscription-row input,
.subscription-row select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  font-size: var(--font-md);
  font-weight: 600;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.manager-row input:focus,
.manager-row select:focus,
.subscription-row input:focus,
.subscription-row select:focus {
  border-color: rgba(20, 124, 229, 0.34);
  box-shadow: 0 0 0 3px rgba(20, 124, 229, 0.11);
  outline: 0;
}

.timeline-page {
  min-height: calc(100svh - 86px);
  display: grid;
  gap: 14px;
  padding: 4px 0 48px;
}

.subscriptions-page {
  display: grid;
  gap: 22px;
}

.subscriptions-page .hero h1 {
  font-size: clamp(41px, 13.5vw, 70px);
}

.timeline-page .dashboard-hero > div {
  padding-top: 0;
}

.subscriptions-page .manager-head {
  display: grid;
  place-items: center;
  min-height: 280px;
  text-align: center;
}

.timeline-page .manager-head {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
}

.subscriptions-page .manager-head h1,
.timeline-page .manager-head h1 {
  margin: 0;
  font-size: clamp(44px, 12vw, 74px);
  line-height: 1.1;
  font-weight: 760;
  letter-spacing: 0;
}

.subscriptions-page .manager-head p {
  max-width: 34rem;
}

.subscription-list {
  display: grid;
  gap: 10px;
  padding-inline: 18px;
  overflow: visible;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: var(--space-2);
  min-height: 180px;
  padding: 28px;
  border: 1px dashed rgba(17, 24, 39, 0.16);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.empty-state span {
  color: var(--text);
  font-size: var(--font-lg);
  font-weight: 760;
}

.empty-state p {
  max-width: 30rem;
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.55;
}

body.is-detail .empty-state {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(232, 236, 244, 0.58);
}

body.is-detail .empty-state span {
  color: rgba(255, 255, 255, 0.9);
}

.subscription-row {
  display: grid;
  gap: 14px;
  align-items: center;
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-card);
  transform-origin: center center;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .subscription-row:hover,
  .subscription-row:focus-within {
    z-index: 12;
    transform: scale(1.08);
    border-color: rgba(20, 124, 229, 0.2);
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  }
}

.subscription-row.is-tapped {
  z-index: 12;
  transform: scale(1.08);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
}

.subscription-main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.subscription-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(235,238,243,0.72)),
    rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}

.subscription-icon svg {
  width: 21px;
  height: 21px;
}

.subscription-icon img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.subscription-icon > span {
  color: var(--text);
  font-size: 11px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0;
}

.subscription-icon-gpt-plus img {
  filter: brightness(0) saturate(100%);
}

.subscription-icon-china-mobile img {
  width: 36px;
  height: 36px;
}

.subscription-main h2 {
  margin: 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 720;
}

.subscription-main p {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.subscription-status {
  color: var(--muted);
  font-weight: 760;
}

.subscription-status.is-active {
  color: var(--status-active);
}

.subscription-status.is-idle {
  color: var(--status-idle);
}

.subscription-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 12px;
  background: rgba(247, 248, 250, 0.72);
}

.subscription-field span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subscription-field strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 720;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-track {
  position: relative;
  min-height: var(--timeline-height);
  margin-top: 4px;
  padding-bottom: 18px;
}

.timeline-axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(17,24,39,0.08), rgba(17,24,39,0.46), rgba(17,24,39,0.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.timeline-tick {
  position: absolute;
  top: var(--tick-y);
  left: 0;
  right: 0;
  height: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  pointer-events: none;
}

.timeline-tick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 9px;
  width: 13px;
  height: 1px;
  background: rgba(17,24,39,0.16);
}

.timeline-tick-day::before {
  left: 12px;
  width: 7px;
  background: rgba(17,24,39,0.1);
}

.timeline-tick-month::before {
  left: 8px;
  width: 16px;
  height: 2px;
  background: rgba(17,24,39,0.26);
}

.timeline-tick span {
  position: absolute;
  left: 0;
  top: -18px;
  padding: 4px 6px 4px 0;
  background: var(--bg);
}

.timeline-item {
  position: absolute;
  top: var(--card-y-mobile);
  left: 42px;
  right: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 64px;
  padding: 13px 15px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 30px rgba(17,24,39,0.05);
  backdrop-filter: blur(14px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--timeline-status-color, #111318);
  opacity: 0.74;
}

.timeline-item.status-active {
  --timeline-status-color: var(--status-active);
}

.timeline-item.status-idle {
  --timeline-status-color: var(--status-idle);
}

.timeline-item.status-broken {
  --timeline-status-color: var(--status-broken);
}

.timeline-item.is-straight .timeline-connector {
  transform: rotate(0deg);
}

.timeline-item time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.timeline-node {
  position: absolute;
  top: calc(var(--node-offset-mobile) - 7px);
  left: -35px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 3px solid #f3f5f8;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 1px rgba(17,24,39,0.2), 0 8px 18px rgba(17,24,39,0.18);
}

.timeline-connector {
  position: absolute;
  top: var(--connector-anchor);
  left: calc(-1 * var(--connector-length-mobile));
  width: var(--connector-length-mobile);
  height: 1px;
  background: linear-gradient(90deg, rgba(17,24,39,0.28), rgba(17,24,39,0.1));
  transform: rotate(var(--connector-angle-mobile));
  transform-origin: right center;
}

.timeline-connector::after {
  display: none;
}

.timeline-item strong {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 720;
}

.timeline-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.timeline-item.is-sold {
  opacity: 0.72;
}

.timeline-item.status-active .timeline-node {
  background: var(--status-active);
  box-shadow: 0 0 0 1px rgba(38,196,111,0.4), 0 0 0 7px rgba(38,196,111,0.12);
}

.timeline-item.status-idle .timeline-node {
  background: var(--status-idle);
  box-shadow: 0 0 0 1px rgba(107,114,128,0.34), 0 0 0 7px rgba(107,114,128,0.1);
}

.timeline-item.status-broken .timeline-node {
  background: var(--status-broken);
  box-shadow: 0 0 0 1px rgba(229,72,77,0.42), 0 0 0 7px rgba(229,72,77,0.12);
}

.timeline-item.status-default .timeline-node {
  background: #111318;
}

.timeline-board {
  display: grid;
  gap: 22px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.timeline-year-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 92% 0%, var(--timeline-year-glow), transparent 22rem),
    linear-gradient(135deg, var(--timeline-year-bg), rgba(255, 255, 255, 0.78));
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.09);
  backdrop-filter: blur(18px);
}

.timeline-year-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--timeline-year-accent);
  opacity: 0.78;
}

.timeline-year-card.tone-0 {
  --timeline-year-bg: #eef5ff;
  --timeline-year-accent: #2f6fd6;
  --timeline-year-glow: rgba(47, 111, 214, 0.13);
}

.timeline-year-card.tone-1 {
  --timeline-year-bg: #f3f0ff;
  --timeline-year-accent: #6650c8;
  --timeline-year-glow: rgba(102, 80, 200, 0.13);
}

.timeline-year-card.tone-2 {
  --timeline-year-bg: #edf8f1;
  --timeline-year-accent: #238a52;
  --timeline-year-glow: rgba(35, 138, 82, 0.13);
}

.timeline-year-card.tone-3 {
  --timeline-year-bg: #fff5e8;
  --timeline-year-accent: #b96918;
  --timeline-year-glow: rgba(185, 105, 24, 0.13);
}

.timeline-year-card.tone-4 {
  --timeline-year-bg: #f1f3f6;
  --timeline-year-accent: #475569;
  --timeline-year-glow: rgba(71, 85, 105, 0.13);
}

.timeline-year-card.tone-5 {
  --timeline-year-bg: #fff0f3;
  --timeline-year-accent: #c43f5f;
  --timeline-year-glow: rgba(196, 63, 95, 0.12);
}

.timeline-year-card.tone-6 {
  --timeline-year-bg: #ebf8fb;
  --timeline-year-accent: #0e7490;
  --timeline-year-glow: rgba(14, 116, 144, 0.12);
}

.timeline-year-card.tone-7 {
  --timeline-year-bg: #f6f1ea;
  --timeline-year-accent: #8b6f47;
  --timeline-year-glow: rgba(139, 111, 71, 0.12);
}

.timeline-year-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}

.timeline-year-head div {
  display: grid;
  gap: 4px;
}

.timeline-year-head span {
  color: var(--timeline-year-accent);
  font-size: 11px;
  font-weight: 780;
  line-height: 1;
  text-transform: uppercase;
}

.timeline-year-head strong {
  color: var(--text);
  font-size: clamp(34px, 7vw, 56px);
  line-height: 0.9;
  font-weight: 760;
}

.timeline-year-head small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.timeline-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: start;
  gap: 16px;
}

.timeline-month-card,
.timeline-group {
  display: grid;
  gap: 12px;
  align-self: start;
  width: 100%;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64));
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.055);
}

.timeline-period {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
}

.timeline-period span {
  font-size: 12px;
  font-weight: 760;
}

.timeline-period strong {
  color: var(--text);
  font-size: 21px;
  line-height: 1;
  font-weight: 760;
}

.timeline-period small {
  margin-left: auto;
  font-size: 11px;
  font-weight: 680;
}

.timeline-events {
  display: grid;
  align-items: start;
  gap: 10px;
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 10px 13px 10px 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.075);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.timeline-card > div:last-child {
  min-width: 0;
}

.timeline-card-thumbnail {
  display: grid;
  place-items: center;
  align-self: center;
  width: 58px;
  height: 58px;
  min-width: 0;
  border-radius: 14px;
  background: #fff;
}

.timeline-card-thumbnail .timeline-photo {
  display: block;
  max-width: 50px;
  max-height: 50px;
  background: #fff;
  mix-blend-mode: normal;
  object-fit: contain;
  filter: none;
}

.timeline-card-thumbnail .product-image-placeholder {
  width: 58px;
  padding: 7px;
  border-radius: 12px;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--timeline-status-color, #111318);
}

.timeline-card.status-active {
  --timeline-status-color: var(--status-active);
}

.timeline-card.status-idle {
  --timeline-status-color: var(--status-idle);
}

.timeline-card.status-broken {
  --timeline-status-color: var(--status-broken);
}

.timeline-card time {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
}

.timeline-card span {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 760;
}

.timeline-card strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 720;
  display: -webkit-box;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.timeline-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.timeline-card.is-sold {
  opacity: 0.7;
}

.timeline-line-board {
  position: relative;
  --timeline-lane-step: clamp(104px, 13vw, 160px);
  width: min(1180px, 100%);
  min-height: var(--timeline-board-height, 2480px);
  margin: 0 auto;
  padding: 72px 0;
}

.timeline-center-line {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(17, 24, 39, 0.28) 4%,
    rgba(17, 24, 39, 0.36) 96%,
    transparent
  );
}

.timeline-year-layer {
  position: absolute;
  inset: 18px 0;
  pointer-events: none;
}

.timeline-year-layer span {
  position: absolute;
  top: var(--year-y);
  left: 50%;
  z-index: 2;
  min-width: 54px;
  padding: 5px 10px;
  transform: translate(-50%, -50%);
  color: #111318;
  background: var(--bg);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
}

.timeline-photo-layer {
  position: absolute;
  inset: 18px 0;
}

.timeline-photo-event {
  position: absolute;
  top: var(--event-y);
  z-index: 3;
  display: grid;
  gap: 6px;
  width: clamp(78px, 10.8vw, 124px);
  transform: translateY(-50%);
}

.timeline-photo-event.is-left {
  right: calc(50% + 42px + var(--event-lane) * var(--timeline-lane-step));
  justify-items: end;
  text-align: right;
}

.timeline-photo-event.is-right {
  left: calc(50% + 42px + var(--event-lane) * var(--timeline-lane-step));
  justify-items: start;
  text-align: left;
}

.timeline-connector {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: calc(34px + var(--event-lane) * var(--timeline-lane-step));
  height: 2px;
  pointer-events: none;
}

.timeline-photo-event.is-left .timeline-connector {
  right: calc(-42px - var(--event-lane) * var(--timeline-lane-step));
}

.timeline-photo-event.is-right .timeline-connector {
  left: calc(-42px - var(--event-lane) * var(--timeline-lane-step));
}

.timeline-connector span {
  position: absolute;
  display: block;
  border-radius: var(--radius-pill);
  background: rgba(17, 24, 39, 0.22);
}

.timeline-connector-run {
  inset: 0;
}

.timeline-connector-tail,
.timeline-connector-turn {
  display: none;
}

.timeline-photo-event.is-bent-connector .timeline-connector {
  top: calc(50% - var(--connector-rise));
  height: var(--connector-rise);
}

.timeline-photo-event.is-bent-connector .timeline-connector-run {
  right: auto;
  left: auto;
  top: auto;
  bottom: 0;
  width: 26px;
  height: 2px;
}

.timeline-photo-event.is-bent-connector .timeline-connector-tail {
  top: 0;
  right: auto;
  bottom: auto;
  left: auto;
  display: block;
  width: calc(100% - 26px);
  height: 2px;
}

.timeline-photo-event.is-bent-connector .timeline-connector-turn {
  top: auto;
  right: auto;
  bottom: 0;
  left: auto;
  display: block;
  width: 2px;
  height: 100%;
}

.timeline-photo-event.is-bent-connector.is-right .timeline-connector-run {
  right: 0;
}

.timeline-photo-event.is-bent-connector.is-right .timeline-connector-tail {
  left: 0;
}

.timeline-photo-event.is-bent-connector.is-right .timeline-connector-turn {
  right: 26px;
}

.timeline-photo-event.is-bent-connector.is-left .timeline-connector-run {
  left: 0;
}

.timeline-photo-event.is-bent-connector.is-left .timeline-connector-tail {
  right: 0;
}

.timeline-photo-event.is-bent-connector.is-left .timeline-connector-turn {
  left: 26px;
}

.timeline-photo-event time {
  position: relative;
  z-index: 2;
  color: var(--text);
  background: rgba(238, 240, 243, 0.86);
  font-size: 13px;
  line-height: 1;
  font-weight: 780;
}

.timeline-photo-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.18;
  background: #fff;
}

.timeline-photo-frame .timeline-photo {
  display: block;
  max-width: 100%;
  max-height: 102px;
  background: #fff;
  mix-blend-mode: normal;
  object-fit: contain;
}

.timeline-photo-event[data-product="xbox-sekiro-traditional"] .timeline-photo,
.timeline-photo-event[data-product="xbox-cyberpunk-2077-simplified"] .timeline-photo,
.timeline-photo-event[data-product="kirby-return-to-dream-land"] .timeline-photo,
.timeline-photo-event[data-product="hollow-knight-switch"] .timeline-photo {
  max-height: 128px;
}

.timeline-photo-frame .timeline-photo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(17, 24, 39, 0.16) 0 32%, transparent 34%),
    rgba(17, 24, 39, 0.04);
}

.timeline-photo-frame .product-image-placeholder {
  width: min(100%, 132px);
}

@media (max-width: 700px) {
  .timeline-line-board {
    --timeline-mobile-lane-step: 142px;
    width: 100%;
  }

  .timeline-center-line {
    left: 22px;
  }

  .timeline-year-layer span {
    left: 22px;
    min-width: 44px;
    padding: 5px 7px;
    font-size: 12px;
  }

  .timeline-photo-event {
    top: var(--event-mobile-y);
    width: 64px;
    gap: 4px;
  }

  .timeline-photo-event.is-left,
  .timeline-photo-event.is-right {
    right: auto;
    left: calc(54px + var(--event-mobile-lane) * var(--timeline-mobile-lane-step));
    justify-items: start;
    text-align: left;
  }

  .timeline-photo-event.is-left::before,
  .timeline-photo-event.is-right::before {
    content: none;
  }

  .timeline-photo-event.is-left .timeline-connector,
  .timeline-photo-event.is-right .timeline-connector {
    right: auto;
    left: calc(-32px - var(--event-mobile-lane) * var(--timeline-mobile-lane-step));
    width: calc(32px + var(--event-mobile-lane) * var(--timeline-mobile-lane-step));
  }

  .timeline-photo-event.is-bent-connector.is-left .timeline-connector-run,
  .timeline-photo-event.is-bent-connector.is-right .timeline-connector-run {
    right: 0;
    left: auto;
  }

  .timeline-photo-event.is-bent-connector.is-left .timeline-connector-tail,
  .timeline-photo-event.is-bent-connector.is-right .timeline-connector-tail {
    right: auto;
    left: 0;
  }

  .timeline-photo-event.is-bent-connector.is-left .timeline-connector-turn,
  .timeline-photo-event.is-bent-connector.is-right .timeline-connector-turn {
    right: 26px;
    left: auto;
  }

  .timeline-photo-event time {
    font-size: 10px;
  }

  .timeline-photo-frame .timeline-photo {
    max-height: 58px;
  }

  .timeline-photo-event[data-product="xbox-sekiro-traditional"] .timeline-photo,
  .timeline-photo-event[data-product="xbox-cyberpunk-2077-simplified"] .timeline-photo,
  .timeline-photo-event[data-product="kirby-return-to-dream-land"] .timeline-photo,
  .timeline-photo-event[data-product="hollow-knight-switch"] .timeline-photo {
    max-height: 86px;
  }
}

.subscription-row label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

@media (min-width: 760px) {
  .site-shell {
    padding: 24px 36px 72px;
  }

  body.is-detail .site-shell {
    padding-bottom: 36px;
  }

  .site-header {
    height: 60px;
  }

  .hero {
    min-height: 280px;
  }

  .collection {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    gap: 14px;
  }

  .product-card {
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 1 / 1.08;
    height: auto;
    padding: 10px;
    border-radius: 18px;
  }

  .model-stage {
    align-self: stretch;
    height: 100%;
    max-height: none;
    padding: 28px 4px 8px;
  }

  .product-photo {
    width: min(92%, 260px);
    max-height: 86%;
  }

  .product-model {
    width: min(78%, 150px);
    height: min(78%, 150px);
  }

  .manager-row {
    grid-template-columns: minmax(180px, 1.2fr) repeat(auto-fit, minmax(104px, 1fr));
    align-items: center;
  }

  .subscription-row,
  .subscription-row.has-period {
    grid-template-columns: minmax(0, 1fr) 190px 120px;
    align-items: center;
  }

  .subscription-row.is-monthly:not(.has-period) {
    grid-template-columns: minmax(0, 1fr) 120px;
  }

  .timeline-group {
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 18px;
  }

  .timeline-month-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    align-self: start;
    gap: 12px;
    padding: 16px;
  }

  .timeline-months {
    grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
    justify-content: start;
    justify-items: stretch;
  }

  .timeline-period {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 6px;
    padding: 8px 0;
  }

  .timeline-period small {
    margin-left: 0;
  }

  .timeline-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-month-card .timeline-period {
    position: static;
    top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0;
  }

  .timeline-month-card .timeline-period small {
    margin-left: auto;
  }

  .timeline-month-card .timeline-events {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    align-items: start;
    justify-content: start;
  }

  .timeline-month-card .timeline-card {
    max-width: none;
    width: 100%;
  }

  .timeline-axis {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-tick::before {
    left: calc(50% - 8px);
  }

  .timeline-tick-day::before {
    left: calc(50% - 4px);
    width: 8px;
  }

  .timeline-tick-month::before {
    left: calc(50% - 11px);
    width: 22px;
  }

  .timeline-tick span {
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 999px;
    background: rgba(238,240,243,0.92);
  }

  .timeline-item {
    top: var(--card-y);
    right: auto;
    width: calc(50% - 54px);
  }

  .timeline-item.timeline-side-left {
    left: 0;
  }

  .timeline-item.timeline-side-left::before {
    right: 0;
    left: auto;
    border-radius: 999px 0 0 999px;
  }

  .timeline-item.timeline-side-right {
    left: calc(50% + 54px);
  }

  .timeline-item.timeline-side-left .timeline-node {
    top: calc(var(--node-offset) - 7px);
    left: auto;
    right: -62px;
  }

  .timeline-item.timeline-side-right .timeline-node {
    top: calc(var(--node-offset) - 7px);
    left: -62px;
  }

  .timeline-item.timeline-side-left .timeline-connector {
    left: auto;
    right: calc(-1 * var(--connector-length));
    width: var(--connector-length);
    background: linear-gradient(90deg, rgba(17,24,39,0.1), rgba(17,24,39,0.28));
    transform: rotate(var(--connector-angle));
    transform-origin: left center;
  }

  .timeline-item.timeline-side-left .timeline-connector::after {
    left: 0;
  }

  .timeline-item.timeline-side-right .timeline-connector {
    left: calc(-1 * var(--connector-length));
    width: var(--connector-length);
    transform: rotate(var(--connector-angle));
    transform-origin: right center;
  }

  .detail {
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: 0;
    gap: 12px;
  }

  .detail-title {
    text-align: center;
  }

  .detail[data-product="iphone-15-pro-white"] .detail-title h1 {
    font-size: clamp(22px, 4.8vw, 48px);
  }

  .detail-title p {
    margin-left: 0;
  }

  .detail-media {
    min-height: min(48vw, 500px);
    overflow: visible;
  }

  .visual-flip {
    min-height: min(48vw, 500px);
  }

  .detail-measures {
    grid-column: auto;
    margin-top: -34px;
  }

  .detail-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 20px;
  }
}

@media (max-width: 759px) {
  .dashboard-word-switch {
    top: 22px;
    height: 72px;
  }

  .dashboard-word-switch button {
    height: 72px;
  }

  .dashboard-hero {
    min-height: 158px;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .dashboard-hero > div {
    padding-top: 62px;
  }

  .timeline-page .dashboard-hero {
    min-height: 0;
  }

  .timeline-page .dashboard-hero > div {
    padding-top: 0;
  }

  .dashboard-viewport {
    overflow: visible;
  }

  .collection {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
    padding-inline: 12px;
  }

  .subscriptions-page {
    gap: 16px;
  }

  .subscriptions-page .hero {
    min-height: 230px;
    padding-bottom: 8px;
  }

  .subscriptions-page .hero h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .subscription-list {
    gap: 9px;
    padding-inline: 12px;
  }

  .subscription-row,
  .subscription-row.has-period,
  .subscription-row.is-monthly:not(.has-period) {
    grid-template-columns: minmax(118px, 1fr) minmax(74px, 0.72fr) minmax(62px, 0.58fr);
    grid-template-areas: "main period price";
    gap: 6px;
    padding: 10px;
    border-radius: 16px;
  }

  .subscription-main {
    grid-area: main;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
  }

  .subscription-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .subscription-icon img {
    width: 20px;
    height: 20px;
  }

  .subscription-main h2 {
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .subscription-main p {
    display: none;
  }

  .subscription-date-range {
    grid-area: period;
  }

  .subscription-row > .subscription-field:last-child {
    grid-area: price;
    min-width: 72px;
  }

  .subscription-field {
    min-height: 38px;
    padding: 6px 7px;
    gap: 3px;
  }

  .subscription-field strong {
    font-size: 10.5px;
    white-space: nowrap;
  }

  .subscription-field span {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .detail-hero {
    gap: 10px;
  }

  .detail-title h1 {
    font-size: clamp(23px, 7vw, 34px);
    font-weight: 620;
  }

  .detail-media,
  .visual-flip,
  .model-stage[data-size="large"] {
    min-height: 410px;
  }

  .detail-measures {
    margin-top: -16px;
  }

  .product-card[data-product="xbox-sekiro-traditional"],
  .product-card[data-product="hollow-knight-switch"] {
    --media-width: 80%;
    --media-height: 80%;
  }

  .product-card[data-product="kirby-return-to-dream-land"] {
    --media-width: 78%;
    --media-height: 78%;
  }

  .timeline-board {
    gap: 14px;
  }

  .timeline-year-card {
    gap: 12px;
    padding: 18px 14px 16px 18px;
    border-radius: 20px;
  }

  .timeline-months {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-card {
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    padding: 10px 12px 10px 16px;
  }

  .timeline-card-thumbnail {
    width: 68px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card.is-pressing,
  .product-card.is-canceling,
  .product-card.is-resetting,
  .product-card.is-tapped,
  .product-card.is-charged {
    transform: scale(1.02);
  }

  .product-card.is-pressing .card-charge,
  .product-card.is-canceling .card-charge {
    transition-duration: 80ms;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
