/* 全球 99% 场景 AI 实拍改造 SEO/GEO 聚合页与深度档案页样式 */

.gphoto-hero {
  background: radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.22), transparent 46%),
    radial-gradient(circle at 82% 20%, rgba(15, 118, 110, 0.28), transparent 48%),
    linear-gradient(155deg, #07111c 0%, #0d1b2a 54%, #102430 100%);
  color: #f8fafc;
  padding: 46px 0 42px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.gphoto-hero h1 {
  color: #ffffff !important;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
  font-weight: 800;
}

.gphoto-hero .gphoto-sub {
  color: #cbd5e1;
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 0 20px;
}

.gphoto-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fde68a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gphoto-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.gphoto-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}

.gphoto-breadcrumb a:hover {
  color: #fde68a;
  text-decoration: underline;
}

.gphoto-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 20px 0 22px;
}

.gphoto-kpi-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.gphoto-kpi-item small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.gphoto-kpi-item b {
  display: block;
  font-size: 15px;
  color: #ffffff;
  font-weight: 700;
}

.gphoto-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gphoto-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b111c !important;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.32);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.gphoto-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.44);
}

.gphoto-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc !important;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
}

.gphoto-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* 筛选条与网格 */
.gphoto-section {
  padding: 36px 0;
}

.gphoto-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 22px;
}

.gphoto-region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gphoto-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease;
}

.gphoto-pill small {
  font-size: 11px;
  opacity: 0.72;
}

.gphoto-pill:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.gphoto-pill.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fde68a;
}

.gphoto-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 240px;
  flex: 0 1 300px;
}

.gphoto-search-box input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  font-size: 13.5px;
  color: #0f172a;
  background: #f8fafc;
}

.gphoto-search-box input:focus {
  outline: none;
  border-color: #0f766e;
  background: #ffffff;
}

.gphoto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.gphoto-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gphoto-card:hover {
  transform: translateY(-3px);
  border-color: #0f766e;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.gphoto-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.gphoto-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.28s ease;
}

.gphoto-card-media .gphoto-img-before {
  opacity: 0;
}

.gphoto-card.show-before .gphoto-card-media .gphoto-img-before {
  opacity: 1;
}

.gphoto-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.gphoto-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(9, 14, 24, 0.8);
  color: #fde68a;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.gphoto-toggle-btn {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 118, 110, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

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

.gphoto-card-en {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.gphoto-card-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 800;
}

.gphoto-card-title a {
  color: inherit;
  text-decoration: none;
}

.gphoto-card-title a:hover {
  color: #0f766e;
}

.gphoto-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 4px 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
}

.gphoto-card-meta span {
  color: #64748b;
  display: block;
  font-size: 10.5px;
}

.gphoto-card-meta b {
  color: #0f172a;
  font-weight: 700;
}

.gphoto-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px;
  flex: 1;
}

.gphoto-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gphoto-btn-wb {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #0f172a;
  color: #fde68a !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.gphoto-btn-wb:hover {
  background: #1e293b;
}

.gphoto-btn-detail {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  color: #0f766e !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.gphoto-btn-detail:hover {
  border-color: #0f766e;
  background: #f0fdfa;
}

/* 详情页同机位交互滑杆 */
.gphoto-slider-shell {
  margin: -18px auto 0;
  position: relative;
  z-index: 4;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #090e18;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
}

.gphoto-slider-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 13px;
  font-weight: 700;
}

.gphoto-slider-quick {
  display: flex;
  gap: 6px;
}

.gphoto-slider-quick button {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.gphoto-slider-quick button:hover {
  border-color: #f59e0b;
  color: #fde68a;
}

.gphoto-slider-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 580px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: #070b12;
}

.gphoto-slider-after,
.gphoto-slider-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.gphoto-slider-before {
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}

.gphoto-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2.5px;
  transform: translateX(-1.25px);
  background: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.78);
  pointer-events: none;
}

.gphoto-slider-knob {
  position: absolute;
  top: 50%;
  left: var(--split, 50%);
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fde68a;
  background: rgba(9, 14, 24, 0.9);
  color: #fde68a;
  font-size: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18), 0 6px 20px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.gphoto-tag-before,
.gphoto-tag-after {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.gphoto-tag-before {
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.gphoto-tag-after {
  right: 14px;
  background: rgba(245, 158, 11, 0.26);
  color: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.65);
}

/* 详情内容两栏布局 */
.gphoto-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.gphoto-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.gphoto-card-box h2 {
  margin: 0 0 12px;
  font-size: 19px;
  color: #0f172a;
  font-weight: 800;
}

.gphoto-geo-box {
  background: linear-gradient(135deg, #f0fdfa 0%, #fffbeb 100%);
  border: 1px solid #99f6e4;
  border-left: 4px solid #0f766e;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.gphoto-geo-box strong {
  display: block;
  font-size: 12.5px;
  color: #0f766e;
  margin-bottom: 6px;
}

.gphoto-geo-box p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #0f172a;
}

.gphoto-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.gphoto-table th,
.gphoto-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.gphoto-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.gphoto-prompt-pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px 16px;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 10px 0 12px;
}

.gphoto-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gphoto-chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 600;
}

.gphoto-checklist {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

.gphoto-faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.gphoto-faq-item:last-child {
  border-bottom: 0;
}

.gphoto-faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #0f172a;
}

.gphoto-faq-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
}

.gphoto-side-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.gphoto-side-card h3 {
  margin: 0 0 10px;
  font-size: 15.5px;
  color: #0f172a;
}

.gphoto-dl {
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.gphoto-dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px dashed #e2e8f0;
}

.gphoto-dl dt {
  color: #64748b;
}

.gphoto-dl dd {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

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

.gphoto-related-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #0f172a;
  transition: border-color 0.15s ease;
}

.gphoto-related-item:hover {
  border-color: #0f766e;
  background: #f8fafc;
}

.gphoto-related-item img {
  width: 78px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 78px;
}

.gphoto-related-item b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.gphoto-related-item small {
  color: #64748b;
  font-size: 11px;
}

.gphoto-filing-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 900px) {
  .gphoto-detail-layout {
    grid-template-columns: 1fr;
  }
  .gphoto-hero {
    padding: 32px 0 30px;
  }
}
