:root {
  --bg: #f5f6f7;
  --white: #fff;
  --text: #333;
  --muted: #666;
  --line: #e5e5e5;
  --blue: #1e88e5;
  --blue-dark: #1565c0;
  --orange: #ff9800;
  --red: #f44336;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; }
.container { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-badge { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; font-size: 12px; font-weight: 700; }
.brand-name { font-size: 20px; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { text-decoration: none; color: #444; padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-size: 14px; line-height: 1; }
.nav-links a:hover { background: #f0f7ff; color: var(--blue); }
.nav-search { position: relative; display: flex; gap: 6px; width: min(430px, 36vw); flex: 0 0 auto; }
.nav-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: #a0a0a0; pointer-events: none; }
.nav-search input { width: 100%; border: 0; background: #f3f4f6; border-radius: 10px; padding: 10px 12px 10px 40px; font-size: 13px; color: #444; }
.nav-search input::placeholder { color: #a0a0a0; }
.nav-search button { border: 0; background: var(--blue); color: #fff; border-radius: 8px; padding: 8px 10px; min-width: 52px; font-size: 13px; line-height: 1; white-space: nowrap; font-weight: 600; cursor: pointer; }

.main { padding: 24px 0 48px; }
.panel { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.page-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.col-main { grid-column: span 9; display: grid; gap: 24px; min-width: 0; }
.col-side { grid-column: span 3; display: grid; gap: 24px; min-width: 0; }
.section-title { margin: 0; font-size: 20px; font-weight: 600; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.title-with-icon { display: inline-flex; align-items: center; gap: 8px; }
.title-icon { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 13px; background: #f5f6f7; }
.more-link { color: var(--blue); text-decoration: none; font-size: 14px; }

.hero-title { margin: 0 0 8px; font-size: 32px; font-weight: 600; }
.hero-desc { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-search { display: flex; gap: 10px; }
.hero-search input { flex: 1; background: #f5f6f7; border: 0; border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.hero-search button { border: 0; background: var(--blue); color: #fff; border-radius: 10px; padding: 12px 18px; font-weight: 600; }

.app-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.featured-free-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.featured-free-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  transition: transform .25s ease;
  will-change: transform;
}
.featured-free-page { flex: 0 0 100%; max-width: 100%; min-width: 0; }
.featured-free-page .app-grid4 { width: 100%; }
.app-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.app-row { display: flex; gap: 14px; text-decoration: none; padding: 14px; border-radius: 10px; background: #fff; }
.app-row:hover { background: #f8f9fa; }
.app-row img, .app-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #eee; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.app-row h3, .app-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.app-row p, .app-card p { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.app-meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.pill { background: #e3f2fd; color: var(--blue); border-radius: 999px; padding: 2px 8px; }
.rating { color: var(--orange); font-weight: 600; }

.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.category-item { text-decoration: none; text-align: center; background: #f8f9fa; border-radius: 10px; padding: 14px; }
.category-item:hover { background: #f0f7ff; color: var(--blue); }
.category-icon { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.category-item strong { display: block; font-size: 14px; }
.category-item span { color: var(--muted); font-size: 12px; }
.carousel-nav { display: inline-flex; gap: 8px; align-items: center; }
.carousel-btn {
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #5b6470;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.carousel-btn:hover:not(:disabled) { background: #e7eaee; }
.carousel-btn:disabled { opacity: .4; cursor: default; }
.category-carousel { overflow: hidden; }
.category-track {
  display: flex;
  transition: transform .25s ease;
  will-change: transform;
}
.category-page {
  flex: 0 0 100%;
  max-width: 100%;
}

.app-card { display: flex; gap: 14px; align-items: flex-start; background: #f8f9fa; border-radius: 10px; padding: 14px; text-decoration: none; transition: .2s ease; min-height: 108px; }
.app-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); }
.app-card-body { min-width: 0; }
.app-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  max-width: 120px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #5b6470;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card-featured-free .app-card-body { width: 100%; min-width: 0; overflow: visible; display: block; position: relative; padding-bottom: 28px; }
.free-badge { background: #e8f5e9; color: #1b8f3a; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.app-card-featured-free {
  border: 0;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 14px;
  min-height: 168px;
  align-items: stretch;
  position: relative;
}
.app-card-featured-free img {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  box-shadow: none;
  margin-bottom: 8px;
  flex: 0 0 66px;
}
.app-card-featured-free .app-card-body h3 {
  font-size: 15px;
  line-height: 1.25;
  margin: 0 0 6px;
  min-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.app-card-featured-free .app-card-body p {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  min-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.featured-category {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.3;
  margin: 0 0 8px;
}
.featured-rating-row {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  color: #f59e0b;
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  left: 0;
  bottom: 0;
}
.featured-star { line-height: 1; }

.side-title { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
.tag-cloud { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-cloud a { text-decoration: none; background: #f5f6f7; color: var(--muted); border-radius: 999px; padding: 6px 10px; font-size: 13px; }
.tag-cloud a:hover { background: #e3f2fd; color: var(--blue); }
.rank-list { display: grid; gap: 10px; }
.rank-item { display: flex; gap: 10px; align-items: center; text-decoration: none; padding: 8px; border-radius: 8px; }
.rank-item:hover { background: #f8f9fa; }
.rank-no { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #f5f6f7; color: #999; font-size: 12px; font-weight: 700; }
.rank-item:nth-child(1) .rank-no { background: #f44336; color: #fff; }
.rank-item:nth-child(2) .rank-no { background: #ff9800; color: #fff; }
.rank-item:nth-child(3) .rank-no { background: #ffc107; color: #fff; }
.rank-item img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.stats-panel { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.stats-panel p { margin: 0 0 8px; font-size: 14px; }

.list-header h1 { margin: 0 0 6px; font-size: 32px; }
.list-header p { margin: 0; color: var(--muted); }
.list-count { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.pagination { margin-top: 16px; display: flex; gap: 10px; }
.pagination a { text-decoration: none; background: #e3f2fd; color: var(--blue); padding: 8px 12px; border-radius: 8px; font-weight: 600; }

/* Category page spacing */
.category-page .list-header { margin-bottom: 24px; }
.category-page .list-header h1 { margin-bottom: 10px; }
.category-page .col-main > .panel { padding: 22px 24px; }
.category-page .pagination { margin-top: 20px; }
.category-page .category-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.category-page .category-app-card {
  min-height: 132px;
  height: 100%;
  padding: 12px;
}
.category-page .category-app-card .app-card-body {
  min-width: 0;
}
.category-page .category-app-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.category-page .category-app-card p {
  margin: 0 0 8px;
  min-height: 36px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.category-page .col-side {
  align-content: start !important;
  justify-content: start !important;
  grid-auto-rows: max-content !important;
  grid-template-rows: auto auto !important;
  row-gap: 16px !important;
  height: auto !important;
  min-height: 0 !important;
}
.category-hero { display: grid; gap: 10px; }
.category-hero-stats { display: flex; gap: 16px; color: #667085; font-size: 13px; }
.category-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filter-chip {
  text-decoration: none;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
}
.filter-chip.active {
  background: #e3f2fd;
  border-color: #bbdefb;
  color: #1e88e5;
  font-weight: 600;
}
.category-page .col-side .panel {
  padding: 16px;
  height: auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
}
.category-page .col-side .panel.rank-panel {
  height: auto;
  min-height: 0;
}
.category-page .col-side .panel.related-panel {
  height: auto;
  min-height: 0;
}
.category-page .col-side .rank-list {
  display: grid;
  grid-auto-rows: 56px;
  align-content: start;
  justify-content: stretch;
  overflow: hidden;
  padding-right: 0;
  gap: 8px;
  flex: 0 0 auto;
}
.category-page .col-side .rank-item {
  height: 56px;
  overflow: hidden;
}

/* force-fit right rank panel to content (avoid legacy cached fixed heights) */
.category-page aside.col-side > .panel.rank-panel {
  height: fit-content !important;
  min-height: unset !important;
  max-height: none !important;
}
.category-page aside.col-side > .panel.rank-panel .rank-list {
  height: auto !important;
  max-height: none !important;
}
.category-page .col-side .rank-item > div {
  min-width: 0;
}
.category-page .col-side .rank-item > div > div:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-page .col-side .tag-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
  overflow: hidden;
}
.category-page .col-side .tag-cloud a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Search page spacing */
.search-page .hero-search { gap: 12px; }
.search-page > .panel:first-child { margin-bottom: 24px; }
.search-page .page-grid,
.search-page > .panel + .panel { margin-top: 24px; }
.search-page .col-main > .panel { padding: 22px 24px; }
.search-page .list-count { margin: 0 0 16px; }
.search-page .col-main .app-row + .app-row { margin-top: 6px; }
.search-page .pagination { margin-top: 20px; }

.app-detail-page {
  --detail-space-lg: 30px;
  --detail-space-md: 22px;
  --detail-space-sm: 14px;
}
.app-detail-page > * + * { margin-top: var(--detail-space-lg); }
.detail-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(390px, 1fr); gap: 24px; padding: 22px 24px; border-radius: 16px; }
.detail-hero-left { display: grid; gap: 18px; }
.detail-head { display: flex; gap: 24px; align-items: flex-start; }
.detail-head-content { display: grid; gap: 14px; align-content: start; }
.detail-icon { width: 126px; height: 126px; border-radius: 18px; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.14); flex: 0 0 126px; }
.detail-title { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: .2px; }
.detail-sub { margin: 0; color: #4f5b68; font-size: 15px; line-height: 1.5; }
.detail-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.detail-chip { background: #eceff2; color: #5f6b78; border-radius: 999px; padding: 8px 14px; font-size: 14px; line-height: 1; }
.detail-chip.is-blue { background: #dbeeff; color: #1e88e5; }
.detail-chip.is-warn { background: #fef0da; color: #f08a00; }
.detail-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 18px; color: #1e2837; }
.stat-item { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; line-height: 1; }
.stat-item strong { font-size: 34px; color: #1f2d3d; font-weight: 700; line-height: 1; }
.stat-item em { font-style: normal; color: #6d7684; font-size: 14px; line-height: 1; }
.stat-icon { width: 18px; height: 18px; color: #707a86; flex: 0 0 18px; }
.stat-item.stat-rating { gap: 7px; }
.stat-item.stat-rating .icon-star { width: 20px; height: 20px; color: #ff9800; fill: currentColor; margin-top: 1px; }
.detail-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.action-btn { border: 0; background: #f3f4f6; color: #222; border-radius: 12px; padding: 11px 16px; font-size: 15px; line-height: 1; cursor: pointer; }
.detail-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--blue); color: #fff; border-radius: 12px; padding: 11px 18px; font-size: 15px; font-weight: 600; width: fit-content; }
.detail-divider { height: 1px; background: #e8ebee; }
.detail-tag-block h4 { margin: 0 0 10px; font-size: 16px; color: #374151; font-weight: 600; }
.detail-tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-tag-list a { background: #f2f4f6; color: #556270; border-radius: 10px; padding: 8px 12px; font-size: 13px; text-decoration: none; }
.detail-tag-list a:hover { background: #e8f1ff; color: #1e88e5; }
.hero-iap-block { margin-top: 14px; }
.hero-iap-block h4 { margin: 0 0 10px; font-size: 16px; color: #374151; font-weight: 600; }
.hero-iap-list { display: grid; gap: 8px; }
.hero-iap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f6f7f9;
  border: 1px solid #eceff3;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: #374151;
}
.hero-iap-item span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7280;
}
.hero-iap-item .iap-price {
  flex: 0 0 auto;
  min-width: 72px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: #0f6ddf;
}
.hero-iap-item.is-free {
  background: #eef7ff;
  border-color: #cfe3ff;
}
.hero-iap-item.is-free .iap-price {
  color: #0a65d9;
}
.hero-iap-more {
  margin: 8px 2px 0;
  color: #8b95a3;
  font-size: 12px;
}
.detail-info-panel { background: #f5f6f7; padding: 24px 22px; border-radius: 12px; display: grid; gap: 18px; }
.detail-info-panel .side-title { margin-bottom: 0; }
.info-list { display: grid; grid-template-columns: 90px 1fr; gap: 14px 10px; margin: 0; font-size: 14px; align-content: start; }
.info-list dt { color: #53606e; }
.info-list dd { margin: 0; color: #1f2937; line-height: 1.45; text-align: right; }
.topic-block { border-top: 1px solid #d8dde3; padding-top: 16px; display: grid; gap: 8px; }
.topic-block h4 { margin: 0 0 8px; font-size: 16px; }
.topic-row { text-decoration: none; display: flex; justify-content: space-between; align-items: center; color: #4b5563; background: #fff; padding: 10px 8px; border-radius: 8px; font-size: 14px; }
.topic-row em { font-style: normal; color: #a0a9b4; font-size: 17px; }
.detail-section { padding: 24px; }
.detail-section-title { margin-bottom: var(--detail-space-sm); }
.screenshots-wrap {
  position: relative;
  padding: 0 46px;
}
.screenshots {
  display: flex;
  gap: 18px;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
}
.screenshots .shot-item {
  display: block;
  flex: 0 0 auto;
  width: 280px;
  border-radius: 28px;
  overflow: hidden;
  background: #e9eaed;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.screenshots img {
  display: block;
  width: 280px;
  height: 590px;
  border-radius: 28px;
  object-fit: cover;
}
.shot-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 56px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  font-size: 42px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: none;
  transition: background .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}
.shot-prev { left: 2px; }
.shot-next { right: 2px; }
.screenshots-wrap:hover .shot-nav:not([disabled]) {
  color: #5f6672;
}
.shot-nav:hover:not([disabled]) {
  background: rgba(244, 245, 247, .92);
  color: #565e69;
}
.shot-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}
.detail-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: var(--detail-space-md); align-items: start; }
.detail-main-stack,
.detail-side-stack { display: grid; gap: var(--detail-space-md); }
.detail-description { white-space: pre-line; line-height: 1.9; color: #333; margin: 0; font-size: 15px; }
.related-list { display: grid; gap: 10px; }
.review-list { display: grid; gap: 14px; }
.review-list.review-list-cards .review-item { margin: 0; }
.review-item { background: #f9fafb; border: 1px solid #edf0f3; border-radius: 12px; padding: 14px 16px; }
.review-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; }
.review-user { font-size: 14px; color: #1f2937; }
.review-meta { color: #7b8794; font-size: 12px; white-space: nowrap; }
.review-title { margin: 0 0 8px; font-size: 14px; color: #111827; }
.review-content { margin: 0; color: #374151; font-size: 14px; line-height: 1.75; white-space: pre-line; word-break: break-word; }
.iap-list { display: grid; gap: 10px; }
.iap-item { background: #f8f9fa; border-radius: 10px; padding: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.iap-price { color: #1e88e5; }

.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 22px 0 34px; color: #999; font-size: 13px; }

@media (max-width: 1100px) {
  .col-main, .col-side { grid-column: span 12; }
  .app-grid4, .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-page .category-app-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .app-grid2 { grid-template-columns: 1fr; }
  .detail-hero, .detail-columns { grid-template-columns: 1fr; gap: 20px; }
  .app-detail-page > * + * { margin-top: 24px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 24px); }
  .nav-inner { display: grid; height: auto; padding: 10px 0; }
  .nav-search { width: 100%; }
  .category-grid, .app-grid4 { grid-template-columns: 1fr; }
  [data-cat-nav] { display: none; }
  .category-page .category-app-grid { grid-template-columns: 1fr; }
  .detail-head { gap: 14px; }
  .detail-icon { width: 104px; height: 104px; border-radius: 20px; flex-basis: 104px; }
  .detail-title { font-size: 30px; }
  .detail-sub { font-size: 16px; }
  .detail-chip { font-size: 14px; }
  .detail-stats { gap: 12px; font-size: 16px; }
  .stat-item { font-size: 16px; }
  .stat-item strong { font-size: 22px; }
  .stat-item em { font-size: 13px; }
  .action-btn, .detail-btn { font-size: 14px; padding: 10px 14px; }
  .detail-tag-block h4 { font-size: 16px; }
  .detail-tag-list span { font-size: 13px; }
  .info-list { font-size: 14px; grid-template-columns: 80px 1fr; }
  .topic-block h4, .topic-row { font-size: 15px; }
  .detail-info-panel,
  .detail-section { padding: 18px; }
  .screenshots { gap: 12px; }
  .screenshots-wrap { padding: 0 34px; }
  .screenshots .shot-item,
  .screenshots img {
    width: 190px;
    height: 405px;
    border-radius: 20px;
  }
  .shot-nav { width: 30px; height: 44px; font-size: 32px; }
}


.review-list.review-list-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { background: #f2f3f5; border: 0; border-radius: 18px; padding: 16px 18px; min-height: 184px; }
.review-card .review-head { align-items: flex-start; margin-bottom: 10px; }
.review-meta-right { display: grid; justify-items: end; gap: 2px; text-align: right; }
.review-stars { display: flex; gap: 2px; color: #fb8c00; font-size: 18px; line-height: 1; margin-top: 6px; }
.review-content-excerpt { font-size: 14px; line-height: 1.72; color: #2f3742; }
.review-more { color: #1e88e5; text-decoration: none; margin-left: 2px; }
.review-more:hover { text-decoration: underline; }
.review-modal { position: fixed; inset: 0; display: none; z-index: 120; }
.review-modal.is-open { display: block; }
.review-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.review-modal-dialog { position: relative; width: min(860px, calc(100vw - 48px)); margin: 74px auto 24px; background: #fff; border-radius: 12px; padding: 30px 36px 34px; max-height: calc(100vh - 100px); overflow: auto; }
.review-modal-close { position: absolute; left: 16px; top: 14px; border: 0; background: transparent; color: #666; font-size: 42px; line-height: 1; cursor: pointer; }
.review-modal-title { margin: 22px 0 10px; font-size: 46px; line-height: 1.1; font-weight: 700; color: #1f2937; }
.review-modal-stars { color: #fb8c00; font-size: 34px; letter-spacing: 3px; line-height: 1; margin-bottom: 10px; }
.review-modal-meta { display: grid; justify-items: end; gap: 3px; color: #657285; font-size: 28px; margin-bottom: 16px; }
.review-modal-content { color: #2f3742; font-size: 33px; line-height: 1.75; white-space: pre-line; word-break: break-word; }

@media (max-width: 1100px) {
  .review-list.review-list-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .review-list.review-list-cards { grid-template-columns: 1fr; }
  .review-modal-dialog { width: calc(100vw - 24px); margin-top: 18px; padding: 18px 16px 20px; }
  .review-modal-close { font-size: 30px; left: 10px; top: 8px; }
  .review-modal-title { margin-top: 18px; font-size: 30px; }
  .review-modal-stars { font-size: 24px; }
  .review-modal-meta { font-size: 15px; }
  .review-modal-content { font-size: 16px; }
}

/* review carousel override */
.review-wrap {
  position: relative;
  padding: 0 46px;
}
.review-list.review-list-cards {
  display: flex;
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.review-list.review-list-cards .review-card {
  flex: 0 0 calc((100% - 32px) / 3);
}
@media (max-width: 1100px) {
  .review-list.review-list-cards .review-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (max-width: 760px) {
  .review-wrap {
    padding: 0 34px;
  }
  .review-list.review-list-cards .review-card {
    flex-basis: 100%;
  }
}
