/* t_photo_gloss — 美图_时尚 · Fashion Gloss
   layout:spotlight
   sexmap-style theme tokens + full layout table
*/
:root {
  --bg: #12080c;
  --bg-subtle: #1c0e14;
  --bg-card: #241018;
  --bg-card-hover: #30141e;
  --bg-input: #1c0e14;
  --ink: #fff1f2;
  --ink-secondary: #fecdd3;
  --muted: #fda4af;
  --line: rgba(244,63,94,0.2);
  --line-light: rgba(244,63,94,0.2);
  --primary: #e11d48;
  --primary-hover: #fbbf24;
  --primary-glow: #e11d4866;
  --primary-light: #e11d4822;
  --accent: #fbbf24;
  --accent-glow: #fbbf2455;
  --comic-color: #e11d48;
  --novel-color: #fbbf24;
  --radius: 12px;
  --radius-lg: calc(12px + 8px);
  --radius-sm: calc(12px - 4px);
}
html { color-scheme: dark; }
body::before { opacity:.18; }
body{background-image:radial-gradient(800px 380px at 50% -18%,rgba(225,29,72,.2),transparent 55%);}

/* layout:spotlight hero + filmstrip */
html[data-layout="spotlight"] .feature-spot {
  display: grid;
}
html[data-layout="spotlight"] .feature-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
html[data-layout="spotlight"] .feature-spot {
  grid-template-columns: minmax(0, 1fr);
  order: 1;
  min-height: 380px;
}
html[data-layout="spotlight"] .feature-cover {
  aspect-ratio: 21 / 9;
  min-height: 280px;
  border-radius: 0;
}
html[data-layout="spotlight"] .work-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
html[data-layout="spotlight"] .work-card {
  flex: 0 0 148px;
  flex-direction: column;
  scroll-snap-align: start;
}
html[data-layout="spotlight"] .work-card .cover {
  aspect-ratio: 3 / 4;
}
html[data-layout="spotlight"] .home-primary {
  order: 2;
}
html[data-layout="spotlight"] .home-ranks {
  order: 3;
}
html[data-layout="spotlight"] .layout-block.cat-wall, .top10-block, .nav-extra {
  display: none;
}
html[data-layout="spotlight"] .ad-carousel-section {
  display: none;
}
html[data-layout="spotlight"] .channel-cat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

html[data-layout="spotlight"] .channel-cat-bar .cat-pill {
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-secondary);
}

html[data-layout="spotlight"] .filter-panel {
  border-radius: var(--radius);
  background: var(--bg-card);
  border-color: var(--line);
}

html[data-layout="spotlight"] .filter-item.active {
  background: var(--primary);
  color: #fff;
}

html[data-layout="spotlight"] .search-hero {
  margin-top: 8px;
}

html[data-layout="spotlight"] .big-search-form input {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
}

html[data-layout="spotlight"] .work-card .card-body h3 {
  color: var(--ink);
  white-space: normal;
}

html[data-layout="spotlight"] .card-cat {
  color: var(--primary);
}

html[data-layout="spotlight"] .card-meta, .card-extra {
  color: var(--muted);
}

html[data-layout="spotlight"] .rail-head h2 {
  color: var(--ink);
}

html[data-layout="spotlight"] .more-link {
  color: var(--primary);
}

html[data-layout="spotlight"] .topbar {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

html[data-layout="spotlight"] .brand {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: var(--ink);
}

html[data-layout="spotlight"] .nav a {
  color: var(--muted);
}

html[data-layout="spotlight"] .nav a.active, .nav a:hover {
  color: var(--ink);
  background: var(--primary-light);
  border-color: var(--line);
  box-shadow: none;
}

html[data-layout="spotlight"] .tabbar {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-color: var(--line);
}

html[data-layout="spotlight"] .footer-links a {
  color: var(--muted);
}

html[data-layout="spotlight"] .compact-rank-item {
  border-color: var(--line);
}

html[data-layout="spotlight"] .compact-rank-item h4 {
  color: var(--ink);
}

html[data-layout="spotlight"] .pagination .page-btn {
  border-color: var(--line);
  color: var(--ink);
}

html[data-layout="spotlight"] .empty, .empty-box {
  color: var(--muted);
}

@media (max-width: 860px) {
  html[data-layout="spotlight"] .page-shell {
    display: block;
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
  }
  html[data-layout="spotlight"] .layout-sidebar {
    display: none !important;
  }
  html[data-layout="spotlight"] .home-stack {
    display: flex;
    flex-direction: column;
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-layout="spotlight"] .feature-spot {
    grid-template-columns: minmax(0, 1fr);
  }
}

html[data-site-kind="photo"] .photo-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
html[data-site-kind="photo"] .photo-thumb {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
html[data-site-kind="photo"] .photo-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

