*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1D2129;
  --ink-soft: #4E5969;
  --muted: #86909C;
  --subtle: #a4a4ad;
  --line: #E5E6EB;
  --line-strong: rgba(17, 17, 20, 0.16);
  --page: #F7F8FA;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #FFFFFF;
  --blue: #165DFF;
  --blue-soft: #e8f3ff;
  --green: #00B42A;
  --coral: #ff6b5f;
  --amber: #FF7D00;
  --violet: #7657ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.08);
  --max: 1180px;
  --radius: 12px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  padding: 0 clamp(18px, 5vw, 120px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  background: linear-gradient(145deg, var(--blue), #0A3D9E);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 15px;
  font-weight: 700;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(17, 17, 20, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.top-nav:empty {
  display: none;
}

.top-nav a {
  transition: color 180ms ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-menu {
  position: relative;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 30;
}

.user-menu.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
  white-space: nowrap;
}

.user-dropdown-item:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.user-dropdown-item[data-logout-open] {
  color: var(--muted);
}

.user-dropdown-item[data-logout-open]:hover {
  background: #fff1f0;
  color: #d63031;
}

.user-menu.open [data-user-menu-toggle]:hover {
  transform: none;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  white-space: nowrap;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.primary-button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.24);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 113, 227, 0.3);
}

.secondary-button,
.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.detail-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p,
.detail-title-row p {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
}

.meta-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.detail-hero-preview,
.screenshot-card,
.app-card,
.comment-form,
.comment-item {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.section-wrap {
  width: min(1220px, calc(100% - 128px));
  margin: 0 auto;
  padding: clamp(42px, 5vw, 64px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2 {
  margin-bottom: 12px;
  color: #6e6e73;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 800;
}

.section-heading h2 span {
  color: #1d1d1f;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.segmented button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.segmented button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: min(100%, 280px);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box span {
  flex: 0 0 auto;
  min-width: 28px;
  white-space: nowrap;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-inline: 0;
  padding: 0;
  overflow: visible;
}

.app-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.12);
}

.app-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.art-dashboard,
.art-mobile,
.art-media,
.art-dev {
  position: absolute;
  inset: 0;
  padding: 22px;
}

.app-art::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.48), transparent 52%);
  content: "";
}

.theme-blue {
  background: linear-gradient(145deg, #e8f3ff, #dcefff 45%, #ffffff);
}

.theme-green {
  background: linear-gradient(145deg, #e8fff8, #dff7ef 48%, #ffffff);
}

.theme-coral {
  background: linear-gradient(145deg, #fff0ee, #ffe7dc 48%, #ffffff);
}

.theme-violet {
  background: linear-gradient(145deg, #f0edff, #e4e7ff 48%, #ffffff);
}

.mini-window,
.mini-phone,
.mini-panel {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.mini-window {
  min-height: 188px;
  border-radius: 20px;
  padding: 18px;
}

.mini-window::before {
  display: block;
  width: 76px;
  height: 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(17, 17, 20, 0.14);
  content: "";
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 96px;
}

.bars i {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.mini-phone {
  width: 118px;
  min-height: 212px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 16px 14px;
}

.mini-phone::before {
  display: block;
  width: 44px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(17, 17, 20, 0.18);
  content: "";
}

.mini-panel {
  height: 76px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(0, 113, 227, 0.92), rgba(118, 87, 255, 0.82));
}

.mini-lines {
  display: grid;
  gap: 8px;
}

.mini-lines i {
  height: 9px;
  border-radius: 999px;
  background: rgba(17, 17, 20, 0.12);
}

.mini-lines i:nth-child(2) {
  width: 72%;
}

.mini-lines i:nth-child(3) {
  width: 48%;
}

.media-tile-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.media-tile-grid i {
  min-height: 86px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

.media-tile-grid i:first-child {
  grid-row: span 2;
  background: linear-gradient(145deg, var(--coral), var(--amber));
}

.code-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.code-lines i {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.38);
}

.code-lines i:nth-child(2n) {
  width: 74%;
  background: rgba(20, 184, 166, 0.86);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.card-top h3 {
  margin: 0 0 4px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.app-category-inline {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue);
  vertical-align: middle;
  white-space: nowrap;
  margin-left: 4px;
}

.card-top p,
.app-desc {
  color: var(--muted);
  line-height: 1.58;
}

.price-badge {
  align-self: start;
  min-width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.price-badge.has-discount {
  background: rgba(234, 67, 53, 0.1);
  color: #ea4335;
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-badge.is-free {
  background: rgba(13, 159, 110, 0.1);
  color: #0d9f6e;
}

.price-original {
  text-decoration: line-through;
  opacity: 0.55;
  font-weight: 600;
  font-size: 11px;
}

.detail-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(234, 67, 53, 0.1);
  color: #ea4335;
  font-size: 12px;
  font-weight: 700;
}

.detail-price .price-original {
  font-size: 11px;
}

.detail-price.is-free {
  background: rgba(13, 159, 110, 0.1);
  color: #0d9f6e;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.card-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}

.app-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.card-actions .secondary-button,
.card-actions .primary-button {
  flex: 1;
  min-height: 40px;
  padding-inline: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.xunchang-logo {
  height: 60px;
  width: auto;
  vertical-align: middle;
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.powered-label {
  white-space: nowrap;
}

.powered-name {
  font-weight: 700;
  white-space: nowrap;
}

.powered-slogan {
  font-style: italic;
  opacity: 0.7;
  white-space: nowrap;
}

.detail-page {
  background: var(--page);
}

.detail-container {
  width: min(var(--max), calc(100% - 128px));
  margin: 0 auto;
  padding: 32px 0 80px;
}

.detail-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  transition: color 180ms ease;
}

.detail-back-link:hover {
  color: var(--blue);
}

.detail-hero {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
  margin-bottom: 40px;
}

.detail-hero-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.app-icon-large {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--blue), var(--green));
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(22, 93, 255, 0.28);
  overflow: hidden;
}

.detail-title-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-title-text h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: #1D2129;
  line-height: 1.2;
}

.detail-category-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-category-tag {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(22, 93, 255, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.detail-version {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-solid);
  font-size: 14px;
  color: var(--ink-soft);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.detail-meta-item .meta-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.detail-meta-item .meta-label {
  color: var(--muted);
  margin-right: 4px;
}

.detail-meta-item .meta-value {
  color: var(--ink);
  font-weight: 500;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.detail-hero-preview {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f3ff, #f0fff8);
  max-height: 380px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: transform 300ms ease;
  border: 1px solid var(--line);
}

.detail-hero-preview:hover {
  transform: scale(1.02);
}

.detail-hero-preview img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.detail-showcase {
  position: relative;
  height: 100%;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.detail-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 无封面时的默认占位 */
.default-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 360px;
  background: linear-gradient(145deg, #EEF2FF, #F0FFF4);
  border-radius: var(--radius);
}

.default-cover-letter {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.default-cover-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.detail-anchor-nav {
  position: sticky;
  top: 64px;
  z-index: 15;
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  padding: 6px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.anchor-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  border-bottom: none;
  transition: color 180ms ease, background 180ms ease;
}

.anchor-tab:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
}

.anchor-tab.active {
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 600;
  border-bottom: none;
}

.detail-section {
  margin-bottom: 56px;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: #1D2129;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.screenshot-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.screenshot-carousel::-webkit-scrollbar {
  height: 6px;
}

.screenshot-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.screenshot-carousel::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.screenshot-card {
  flex: 0 0 auto;
  width: 340px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  scroll-snap-align: start;
  cursor: pointer;
  transition: box-shadow 200ms ease, transform 200ms ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.screenshot-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.screenshot-art {
  height: 200px;
  padding: 20px;
}

.screenshot-caption {
  padding: 16px;
}

.screenshot-caption h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.screenshot-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.feature-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-item span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #1D2129;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.detail-split-layout {
  display: grid;
  grid-template-columns: 65fr 30fr;
  gap: clamp(22px, 5vw, 48px);
  align-items: start;
}

.detail-about-panel {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.detail-about-panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 500;
  color: #4E5969;
}

.detail-about-body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.detail-about-body p {
  margin: 0 0 12px;
}

.detail-about-body p:last-child {
  margin-bottom: 0;
}

.detail-changelog-panel {
  position: sticky;
  top: 120px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
  padding-left: 18px;
}

.timeline-item::before {
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.timeline-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.timeline-item .timeline-date {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--muted);
}

.timeline-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.timeline-item.is-current strong::after {
  content: "当前";
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(22, 93, 255, 0.08);
  border-radius: 4px;
  vertical-align: middle;
}

.comment-overview {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 28px 32px;
  margin-bottom: 24px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.comment-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}

.comment-score-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.comment-score-stars {
  color: var(--amber);
  font-size: 16px;
  letter-spacing: 2px;
}

.comment-score-count {
  font-size: 12px;
  color: var(--muted);
}

.comment-distribution {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.star-dist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.star-dist-row .star-label {
  min-width: 28px;
  text-align: right;
  color: var(--ink-soft);
  font-weight: 500;
}

.star-dist-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.star-dist-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--amber);
  transition: width 400ms ease;
}

.star-dist-count {
  min-width: 24px;
  text-align: right;
}

.comment-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.comment-list-col {
  display: grid;
  gap: 12px;
}

.comment-form-col {
  position: sticky;
  top: 120px;
}

.comment-form {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  display: grid;
  gap: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.comment-form-login-hint {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(22, 93, 255, 0.06);
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.comment-form-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(22, 93, 255, 0.04);
}

.comment-user-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.comment-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.comment-form.is-locked {
  opacity: 0.55;
  pointer-events: none;
}

.star-rating-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-rating-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
}

.star-rating-input {
  display: flex;
  gap: 2px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--line);
  cursor: pointer;
  padding: 0 2px;
  transition: color 140ms ease, transform 140ms ease;
}

.star-btn:hover {
  transform: scale(1.15);
}

.star-btn.active {
  color: var(--amber);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  outline: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 112px;
  margin-bottom: 14px;
  padding: 12px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0, 113, 227, 0.54);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.11);
}

input:user-invalid,
textarea:user-invalid,
select:user-invalid {
  border-color: var(--coral);
  background: rgba(255, 107, 95, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 107, 95, 0.1);
}

.field-err {
  margin: -6px 0 0;
  color: var(--coral);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.comment-list {
  display: grid;
  gap: 12px;
}

.comment-item {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  transition: box-shadow 200ms ease;
}

.comment-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.comment-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.comment-head span {
  color: var(--amber);
  font-size: 13px;
}

.comment-date {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
}

.comment-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.62;
}

dialog {
  width: min(620px, calc(100% - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(17, 17, 20, 0.32);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.modal-note,
.form-message,
.purchase-card p {
  color: var(--muted);
  line-height: 1.58;
}

.download-card h2 {
  margin: 0 0 6px;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 8px;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: left;
  width: 100%;
  font: inherit;
}

.platform-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.1);
}

.platform-item.is-recommended {
  border-color: var(--blue);
  background: rgba(0, 113, 227, 0.04);
}

.platform-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.08);
  font-size: 20px;
  flex-shrink: 0;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.platform-info strong {
  font-size: 15px;
  color: var(--ink);
}

.platform-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 22px 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.86);
}

.auth-tabs button {
  min-height: 36px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-tabs button.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
}

.auth-panel {
  display: none;
  gap: 14px;
}

.auth-panel.active {
  display: grid;
}

.forgot-link {
  justify-self: end;
  margin-top: -4px;
  font-size: 13px;
  color: var(--blue, #0071e3);
  text-decoration: none;
  cursor: pointer;
}

.forgot-link:hover {
  text-decoration: underline;
}

.inline-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.inline-field .secondary-button {
  min-height: 44px;
  min-width: max-content;
  white-space: nowrap;
}

.inline-field .secondary-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.captcha-refresh {
  display: block;
  margin: 6px auto 0;
  background: none;
  border: none;
  font-size: 13px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: color 140ms ease, background 140ms ease;
}

.captcha-refresh:hover {
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
}

.slide-captcha {
  user-select: none;
  -webkit-user-select: none;
}

.captcha-image-wrapper {
  position: relative;
  width: 310px;
  height: 155px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f0f0f0;
}

.captcha-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.captcha-jigsaw {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.35));
}

.captcha-slider-track {
  position: relative;
  width: 310px;
  height: 40px;
  margin-top: 12px;
  background: #e8e8e8;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.captcha-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.18), rgba(0, 113, 227, 0.32));
  border-radius: 20px;
  transition: none;
}

.captcha-slider-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
  transition: box-shadow 140ms ease;
  z-index: 2;
}

.captcha-slider-thumb::after {
  content: "⟩";
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.captcha-slider-thumb:active {
  cursor: grabbing;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.5);
}

.captcha-slider-track.success .captcha-slider-fill {
  background: linear-gradient(90deg, rgba(82, 196, 26, 0.18), rgba(82, 196, 26, 0.32));
}

.captcha-slider-track.success .captcha-slider-thumb {
  background: #52c41a;
  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.35);
}

.captcha-slider-track.success .captcha-slider-thumb::after {
  content: "✓";
}

.captcha-slider-track.fail .captcha-slider-fill {
  background: linear-gradient(90deg, rgba(255, 107, 95, 0.18), rgba(255, 107, 95, 0.32));
}

.captcha-slider-track.fail .captcha-slider-thumb {
  background: var(--coral);
  box-shadow: 0 2px 8px rgba(255, 107, 95, 0.35);
}

.captcha-slider-track.fail .captcha-slider-thumb::after {
  content: "✕";
}

.captcha-slider-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
  font-size: 13px;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 140ms ease;
}

.captcha-slider-track.dragging .captcha-slider-hint,
.captcha-slider-track.success .captcha-slider-hint,
.captcha-slider-track.fail .captcha-slider-hint {
  opacity: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.icon-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 17, 20, 0.08);
  color: var(--ink);
  font-size: 22px;
}

.checkout-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(245, 245, 247, 0.74);
}

.checkout-box span {
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 50px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.orders-tab {
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.orders-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.orders-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.orders-list {
  display: grid;
  gap: 14px;
}

.orders-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

.page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-info {
  font-size: 13px;
  color: var(--muted);
  padding: 0 8px;
}

.order-card {
  display: grid;
  gap: 12px;
  padding: 20px 24px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-info h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.order-no {
  font-size: 12px;
  color: var(--muted);
}

.order-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.order-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status-paid {
  background: #e6f9f0;
  color: #0d9f6e;
}

.status-pending {
  background: #fff7e6;
  color: #c27803;
}

.status-cancelled {
  background: #f5f5f7;
  color: var(--muted);
}

.status-refunded {
  background: #ffe6e6;
  color: #d63031;
}

.order-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-time {
  font-size: 13px;
  color: var(--muted);
}

.order-action {
  font-size: 13px;
  padding: 6px 16px;
}

.pay-card {
  max-width: 480px;
  margin: 0 auto;
}

.pay-body {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin: 20px 0 0;
}

.pay-qr-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pay-qr-wrapper [data-pay-qr-container] {
  display: contents;
}

.pay-qr-wrapper [data-pay-qr-container] canvas,
.pay-qr-wrapper [data-pay-qr-container] img {
  display: block;
  width: 180px !important;
  height: 180px !important;
}

.pay-qr-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.pay-qr-overlay span {
  font-size: 15px;
  font-weight: 700;
  color: var(--coral);
}

.pay-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.pay-amount-row,
.pay-countdown-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.pay-amount-label,
.pay-countdown-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.pay-amount-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
}

.pay-countdown-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pay-countdown-value.is-urgent {
  color: var(--coral);
}

.pay-hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.pay-hint strong {
  color: var(--blue);
}

.status-activated {
  background: #e8f3ff;
  color: var(--blue);
}

.status-refunding {
  background: #fff7e6;
  color: #c27803;
}

.profile-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.profile-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.profile-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-label {
  flex-shrink: 0;
  width: 72px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.profile-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .profile-label {
    width: auto;
  }
}

@media (max-width: 520px) {
  .pay-body {
    flex-direction: column;
    align-items: center;
  }

  .pay-info {
    width: 100%;
  }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: soft-rise 620ms ease both;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-hero-preview {
    max-height: 280px;
  }

  .detail-split-layout {
    grid-template-columns: 1fr;
  }

  .detail-changelog-panel {
    position: static;
    max-height: none;
  }

  .comment-layout {
    grid-template-columns: 1fr;
  }

  .comment-form-col {
    position: static;
  }

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

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

}

@media (max-width: 720px) {
  .site-header {
    height: 60px;
  }

  .detail-container {
    width: min(100% - 28px, var(--max));
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-hero-preview {
    max-height: 220px;
  }

  .detail-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-anchor-nav {
    top: 60px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .anchor-tab {
    padding: 12px 16px;
    white-space: nowrap;
    font-size: 13px;
  }

  .detail-section {
    margin-bottom: 48px;
  }

  .detail-split-layout {
    grid-template-columns: 1fr;
  }

  .detail-changelog-panel {
    position: static;
    max-height: none;
  }

  .comment-overview {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .comment-layout {
    grid-template-columns: 1fr;
  }

  .comment-form-col {
    position: static;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .search-box {
    min-width: 0;
  }

  .app-grid,
  .feature-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .app-grid {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: initial;
    overflow-x: visible;
    padding-inline: 0;
    margin-inline: 0;
  }

  .app-art {
    aspect-ratio: 16 / 9;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-actions,
  .card-actions {
    flex-direction: column;
  }

  .detail-showcase {
    min-height: 280px;
  }
}