/* ==========================================================================
   OS UPDATE 页面样式
   与 Home / Contact 一致的全屏摄影背景 + 暗色玻璃面板 + 白色无衬线标题风格
   所有规则限定在 body[data-route="update"] 下，不影响其他页面
   ========================================================================== */

body[data-route="update"] {
  color: var(--cream);
  background: var(--black);
}

body[data-route="update"] .site-noise {
  opacity: 0;
}

/* ---------- 顶栏：与 home / contact 完全一致 ---------- */
body[data-route="update"] .site-header {
  justify-content: space-between;
  min-height: var(--nav-bar-height);
  padding: 0 clamp(28px, 3.2vw, 56px);
  background-image: var(--nav-bar-bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-route="update"] .brand {
  display: inline-flex;
  opacity: 0;
}

body[data-route="update"] .site-nav {
  gap: clamp(36px, 5.8vw, 108px);
}

body[data-route="update"] .site-nav a {
  min-height: var(--nav-bar-height);
  padding: 0 0.15em;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-sans);
  font-size: clamp(1.18rem, 1.42vw, 1.62rem);
  font-weight: 400;
  text-shadow: none;
  opacity: 1;
}

body[data-route="update"] .site-nav a::after {
  bottom: clamp(14px, 2.2vw, 20px);
  height: 1px;
  background: rgba(255, 255, 255, 0.92);
}

body[data-route="update"] .site-nav a:hover,
body[data-route="update"] .site-nav a.is-active,
body[data-route="update"] .site-nav a:focus-visible,
body[data-route="update"] .site-nav a.is-focused {
  color: #fff;
  background: transparent;
  outline: none;
}

body[data-route="update"] .site-nav a.is-active::after {
  width: 100%;
  opacity: 0.95;
}

body[data-route="update"] .site-nav a:hover::after,
body[data-route="update"] .site-nav a:focus-visible::after {
  width: 100%;
  opacity: 0.55;
}

/* ---------- 全屏固定摄影背景 + 暗色蒙版 ---------- */
body[data-route="update"] .update-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

body[data-route="update"] .update-bg .photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body[data-route="update"] .update-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 12, 0.32) 0%,
      rgba(8, 10, 12, 0.52) 42%,
      rgba(8, 10, 12, 0.74) 100%
    );
}

/* ---------- 内容容器 ---------- */
body[data-route="update"] .page-view.app-view {
  position: relative;
  z-index: 1;
  padding: clamp(104px, 13vh, 152px) clamp(18px, 3vw, 28px) clamp(56px, 8vh, 88px);
}

body[data-route="update"] .content-shell {
  position: relative;
  z-index: 1;
  width: min(1140px, 100%);
  min-width: 0;
  margin: 0 auto;
}

/* ---------- 通用排版 ---------- */
body[data-route="update"] .kicker {
  margin-bottom: 16px;
  color: rgba(225, 224, 204, 0.62);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-route="update"] h2,
body[data-route="update"] h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: #fff;
}

/* ---------- 玻璃面板基底 ---------- */
body[data-route="update"] .product-illustration,
body[data-route="update"] .version-card,
body[data-route="update"] .update-panel,
body[data-route="update"] .status-card,
body[data-route="update"] .library-window,
body[data-route="update"] .release-card,
body[data-route="update"] .selected-firmware,
body[data-route="update"] .step,
body[data-route="update"] .progress-area,
body[data-route="update"] .notice,
body[data-route="update"] .empty-state {
  border: 1px solid rgba(225, 224, 204, 0.15);
  background: rgba(18, 20, 22, 0.4);
  box-shadow:
    inset 0 1px 1px rgba(225, 224, 204, 0.1),
    0 22px 64px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ---------- 主视觉区 ---------- */
body[data-route="update"] .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
  min-width: 0;
}

body[data-route="update"] .hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(8px, 2vw, 28px) clamp(6px, 1.5vw, 20px);
}

body[data-route="update"] .hero-title {
  display: grid;
  gap: 0.02em;
  max-width: 720px;
  margin: 0 0 24px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(4rem, 8.6vw, 7.4rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.42);
}

body[data-route="update"] .hero-title span {
  display: block;
}

body[data-route="update"] .hero__lead {
  max-width: 540px;
  margin: 0 0 32px;
  color: rgba(242, 245, 246, 0.78);
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 400;
  line-height: 1.62;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

body[data-route="update"] .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

body[data-route="update"] .micro-status {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(225, 224, 204, 0.18);
  border-radius: 999px;
  color: rgba(225, 224, 204, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- 设备插画 ---------- */
body[data-route="update"] .product-illustration {
  position: relative;
  min-width: 0;
  min-height: clamp(280px, 42vw, 460px);
  overflow: hidden;
  border-radius: 30px;
}

body[data-route="update"] .product-illustration::after {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 72px;
  content: "";
  border: 1px solid rgba(225, 224, 204, 0.14);
  border-radius: 18px;
  background: rgba(225, 224, 204, 0.045);
  transform: skewX(-14deg);
}

body[data-route="update"] .reppo-device-photo {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  width: min(440px, calc(100% - 36px));
  aspect-ratio: 439 / 210;
  container-type: inline-size;
  transform: translate(-50%, -50%);
  animation: update-device-float 6s ease-in-out infinite;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.42));
}

body[data-route="update"] .reppo-device-photo__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* 动效覆盖层严格贴合实拍产品屏幕。 */
body[data-route="update"] .device-screen-effect {
  position: absolute;
  left: 6.15%;
  top: 10.95%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 51.94%;
  height: 59.52%;
  overflow: hidden;
  border-radius: 1.5%;
  background: rgba(2, 4, 5, 0.28);
  box-shadow: inset 0 0 18px rgba(177, 219, 235, 0.06);
}

body[data-route="update"] .device-screen-effect::before {
  position: absolute;
  left: -35%;
  top: -25%;
  width: 36%;
  height: 150%;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(205, 238, 250, 0.05) 22%,
    rgba(226, 247, 255, 0.28) 50%,
    rgba(205, 238, 250, 0.05) 78%,
    transparent
  );
  transform: skewX(-16deg);
  animation: update-screen-glint 4.8s ease-in-out infinite;
}

body[data-route="update"] .device-screen-effect::after {
  position: absolute;
  left: 0;
  top: 48%;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(207, 236, 246, 0.22), transparent);
  animation: update-screen-line 3.6s ease-in-out infinite;
}

body[data-route="update"] .device-screen-logo {
  position: relative;
  z-index: 2;
  color: rgba(239, 241, 225, 0.94);
  font-family: var(--font-sans);
  font-size: 4.2cqi;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 0 12px rgba(225, 241, 235, 0.36);
  animation: update-screen-logo-pulse 3.2s ease-in-out infinite;
}

/* 流水光覆盖在实拍图唯一的底部灯条上。 */
body[data-route="update"] .device-light-strip {
  position: absolute;
  left: 11.85%;
  top: 83.1%;
  z-index: 3;
  width: 46.25%;
  height: 2.4%;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(183, 197, 201, 0.08);
  box-shadow: 0 0 5px rgba(190, 225, 237, 0.12);
}

body[data-route="update"] .device-light-strip span {
  position: absolute;
  left: -42%;
  top: 8%;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(183, 226, 243, 0.42) 24%,
    rgba(246, 253, 255, 0.98) 50%,
    rgba(183, 226, 243, 0.42) 76%,
    transparent
  );
  box-shadow: 0 0 8px rgba(213, 241, 251, 0.68);
  animation: update-light-strip-flow 3.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

/* ---------- 版本卡片 ---------- */
body[data-route="update"] .version-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  min-width: 0;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 28px;
}

body[data-route="update"] .version-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.92;
}

body[data-route="update"] .version-copy {
  margin: 0;
  color: rgba(225, 224, 204, 0.66);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.58;
}

/* ---------- 更新面板 ---------- */
body[data-route="update"] .update-panel {
  min-width: 0;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding: clamp(22px, 3.2vw, 40px);
  border-radius: 28px;
}

body[data-route="update"] .panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 18px;
  align-items: stretch;
  min-width: 0;
  margin-bottom: 20px;
}

body[data-route="update"] .panel-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1;
}

body[data-route="update"] .status-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
}

body[data-route="update"] .status-card span {
  color: rgba(225, 224, 204, 0.6);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-route="update"] .status-card strong {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1;
}

/* ---------- 提示条 ---------- */
body[data-route="update"] .notice {
  display: none;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  line-height: 1.5;
}

body[data-route="update"] .notice.is-visible {
  display: block;
}

/* ---------- 系统库窗口 ---------- */
body[data-route="update"] .library-window {
  margin-bottom: 18px;
  border-radius: 24px;
  overflow: hidden;
}

body[data-route="update"] .library-window__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(225, 224, 204, 0.12);
}

body[data-route="update"] .library-window__bar h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}

body[data-route="update"] .library-stats {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-route="update"] .library-window__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 16px;
  min-width: 0;
  padding: 18px;
}

body[data-route="update"] .version-slot {
  display: grid;
  gap: 12px;
  align-content: start;
}

/* ---------- 固件卡片 ---------- */
body[data-route="update"] .release-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  color: var(--cream);
  text-align: left;
  appearance: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

body[data-route="update"] .release-card:hover,
body[data-route="update"] .release-card:focus-visible,
body[data-route="update"] .release-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(225, 224, 204, 0.4);
  background: rgba(36, 38, 40, 0.55);
  outline: 0;
}

body[data-route="update"] .release-card h3,
body[data-route="update"] .selected-firmware h3 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 0.96;
}

body[data-route="update"] .release-card p,
body[data-route="update"] .selected-firmware p {
  margin: 0;
  color: rgba(225, 224, 204, 0.62);
  font-weight: 400;
  line-height: 1.5;
}

body[data-route="update"] .release-card__tags,
body[data-route="update"] .selected-firmware__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

body[data-route="update"] .release-card__tags span,
body[data-route="update"] .selected-firmware__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(225, 224, 204, 0.18);
  border-radius: 999px;
  color: rgba(225, 224, 204, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-route="update"] .release-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--black);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-route="update"] .empty-state {
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  color: rgba(225, 224, 204, 0.6);
  font-weight: 700;
}

/* ---------- 已选固件 ---------- */
body[data-route="update"] .selected-firmware {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(36, 38, 40, 0.5);
}

body[data-route="update"] .selected-firmware__label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-route="update"] .selected-firmware__tagline {
  font-size: 1.02rem;
}

body[data-route="update"] .selected-firmware ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body[data-route="update"] .selected-firmware li {
  position: relative;
  padding-left: 20px;
  color: rgba(225, 224, 204, 0.82);
  font-weight: 700;
  line-height: 1.4;
}

body[data-route="update"] .selected-firmware li::before {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: rgba(225, 224, 204, 0.7);
}

/* ---------- 步骤 ---------- */
body[data-route="update"] .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

body[data-route="update"] .step {
  min-height: 86px;
  padding: 18px;
  border-radius: 20px;
}

body[data-route="update"] .step span {
  display: block;
  margin-bottom: 10px;
  color: rgba(225, 224, 204, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

body[data-route="update"] .step p {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}

body[data-route="update"] .step.is-active,
body[data-route="update"] .step.is-done {
  border-color: rgba(225, 224, 204, 0.42);
  background: rgba(225, 224, 204, 0.16);
}

body[data-route="update"] .step.is-active span,
body[data-route="update"] .step.is-done span {
  color: rgba(225, 224, 204, 0.85);
}

/* ---------- 操作按钮 ---------- */
body[data-route="update"] .install-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

body[data-route="update"] .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid rgba(225, 224, 204, 0.2);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease;
}

body[data-route="update"] .button:hover:not(:disabled),
body[data-route="update"] .button:focus-visible:not(:disabled) {
  transform: translateY(-2px);
  outline: 0;
}

body[data-route="update"] .button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

body[data-route="update"] .button--primary {
  background: var(--cream);
  color: var(--black);
  border-color: transparent;
}

body[data-route="update"] .button--primary:hover:not(:disabled),
body[data-route="update"] .button--primary:focus-visible:not(:disabled) {
  background: #fff;
}

body[data-route="update"] .button--secondary {
  background: rgba(225, 224, 204, 0.06);
  color: var(--cream);
}

body[data-route="update"] .button--secondary:hover:not(:disabled),
body[data-route="update"] .button--secondary:focus-visible:not(:disabled) {
  background: rgba(225, 224, 204, 0.14);
  border-color: rgba(225, 224, 204, 0.4);
}

/* hero CTA 文字按钮自适应宽度 */
body[data-route="update"] .hero__actions .button {
  padding: 0 32px;
}

/* ---------- 进度 ---------- */
body[data-route="update"] .progress-area {
  padding: 20px;
  border-radius: 20px;
}

body[data-route="update"] .progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: rgba(225, 224, 204, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-route="update"] .progress-track {
  overflow: hidden;
  height: 16px;
  border: 1px solid rgba(225, 224, 204, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
}

body[data-route="update"] .progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cream), #fff);
  transition: width 0.25s ease;
}

/* ---------- 动画 ---------- */
@keyframes update-device-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-7px); }
}

@keyframes update-screen-glint {
  0%, 18% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  28% { opacity: 1; }
  62%, 100% { transform: translateX(390%) skewX(-16deg); opacity: 0; }
}

@keyframes update-screen-line {
  0%, 100% { transform: translateY(-30px); opacity: 0; }
  30% { opacity: 0.7; }
  70% { opacity: 0.22; }
  82% { transform: translateY(30px); opacity: 0; }
}

@keyframes update-screen-logo-pulse {
  0%, 100% { opacity: 0.72; filter: blur(0.15px); }
  50% { opacity: 1; filter: blur(0); }
}

@keyframes update-light-strip-flow {
  0%, 12% { transform: translateX(0); opacity: 0; }
  24% { opacity: 1; }
  68%, 100% { transform: translateX(340%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-route="update"] .reppo-device-photo,
  body[data-route="update"] .device-screen-effect::before,
  body[data-route="update"] .device-screen-effect::after,
  body[data-route="update"] .device-screen-logo,
  body[data-route="update"] .device-light-strip span {
    animation: none;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  body[data-route="update"] .hero,
  body[data-route="update"] .version-card,
  body[data-route="update"] .panel-head,
  body[data-route="update"] .library-window__bar,
  body[data-route="update"] .library-window__body,
  body[data-route="update"] .release-card,
  body[data-route="update"] .steps,
  body[data-route="update"] .install-actions {
    grid-template-columns: 1fr;
  }

  body[data-route="update"] .product-illustration {
    min-height: clamp(260px, 52vw, 380px);
  }

  body[data-route="update"] .library-window__bar {
    gap: 12px;
  }

  body[data-route="update"] .library-stats {
    justify-self: start;
  }

  body[data-route="update"] .release-card {
    gap: 12px;
  }

  body[data-route="update"] .release-badge {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  body[data-route="update"] .site-header {
    min-height: 52px;
    padding: 0 14px;
  }

  body[data-route="update"] .site-nav {
    gap: clamp(14px, 4vw, 28px);
  }

  body[data-route="update"] .site-nav a {
    min-height: 52px;
    font-size: clamp(0.88rem, 3.4vw, 1rem);
  }

  body[data-route="update"] .site-nav a::after {
    bottom: 12px;
  }

  body[data-route="update"] .page-view.app-view {
    padding: clamp(92px, 16vh, 120px) 14px 48px;
  }

  body[data-route="update"] .hero-title {
    font-size: clamp(3.2rem, 15vw, 4.9rem);
  }

  body[data-route="update"] .version-card,
  body[data-route="update"] .update-panel {
    padding: 20px;
    border-radius: 22px;
  }

  body[data-route="update"] .button,
  body[data-route="update"] .micro-status {
    width: 100%;
  }

  body[data-route="update"] .hero__actions {
    align-items: stretch;
  }

  body[data-route="update"] .product-illustration {
    min-height: clamp(220px, 58vw, 320px);
    border-radius: 22px;
  }

  body[data-route="update"] .library-window__body {
    padding: 14px;
  }

  body[data-route="update"] .release-card {
    padding: 16px;
  }

  body[data-route="update"] .selected-firmware {
    padding: 18px;
  }

  body[data-route="update"] .library-stats,
  body[data-route="update"] .release-badge {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  body[data-route="update"] .site-nav {
    gap: clamp(8px, 2.8vw, 16px);
  }

  body[data-route="update"] .site-nav a {
    min-height: 48px;
    font-size: clamp(0.78rem, 3.1vw, 0.9rem);
  }

  body[data-route="update"] .hero-title {
    font-size: clamp(2.85rem, 14vw, 4rem);
  }

  body[data-route="update"] .version-card h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  body[data-route="update"] .panel-head h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}
