:root {
  color-scheme: dark;
  --bg: #101214;
  --panel: #191d21;
  --panel-2: #20262b;
  --text: #f2f3f5;
  --muted: #a6adb5;
  --line: #313840;
  --accent: #e34f6f;
  --accent-2: #f0b84f;
  --brand-main: #06162b;
  --brand-sub: #111c34;
  --brand-blue: #082f5f;
  --brand-red: #d94136;
  --brand-yellow: #ffb000;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 28%, rgba(9, 42, 88, 0.18), transparent 38%),
    linear-gradient(112deg, #020204 0%, #03060d 50%, #06162c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}
.brand-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 0;
  padding: 0 min(4vw, 30px) 2px;
}
.brand-row::before,
.brand-row::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.brand-row::before {
  left: 0;
  bottom: 0;
  width: 360px;
  height: 82px;
  background: linear-gradient(12deg, rgba(92, 10, 20, 0.08), transparent 76%);
}
.brand-row::after {
  right: 6%;
  top: 4px;
  width: 310px;
  height: 42px;
  opacity: 0.16;
  background-image: radial-gradient(#d94136 2px, transparent 2px), radial-gradient(#52a9e8 2px, transparent 2px);
  background-position: 0 0, 12px 13px;
  background-size: 22px 22px;
}
.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 1 1 760px;
  max-width: min(760px, 64vw);
  min-width: 0;
}
.brand img {
  display: block;
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}
.nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  background: rgba(7, 10, 18, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px);
}
.site-search {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 260px;
  max-width: 400px;
  min-width: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}
.site-search input {
  width: 100%;
  min-width: 0;
  padding: 9px 14px;
  border: 0;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #222;
}
.site-search button {
  padding: 9px 16px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #050607;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.nav a, .tabs a, .link-grid a {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
}
.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-width: 0 1px 0 0;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
}
.nav a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.nav a:hover {
  background: rgba(217, 65, 54, 0.22);
  color: #fff;
}
.nav a:hover, .tabs a:hover, .tabs .active, .link-grid a:hover { color: var(--text); border-color: var(--accent); }
.age-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 6px 16px;
  background: #261a1f;
  color: #ffd6df;
  border-bottom: 1px solid #4a2630;
}
.age-strip a { color: #fff; text-decoration: underline; }
.page { width: 100%; max-width: 1180px; margin: 0 auto; padding: 24px 18px 56px; }
.hero { padding: 30px 0 18px; }
.hero h1 { margin: 0; font-size: 42px; letter-spacing: 0; }
.hero p, .empty, .meta, .line, .tags, .lead { color: var(--muted); }
.home-hero {
  position: relative;
  display: block;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 22px;
}
.home-hero-lead {
  max-width: 760px;
  margin: 14px auto 0;
  color: #c9cfd6;
  font-weight: 700;
}
.home-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}
.home-hero-actions a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: #fff;
  transform: translateY(0);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.home-hero-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.home-hero-actions a {
  padding: 10px 14px;
  font-weight: 800;
}
.home-hero-actions a:first-child {
  border-color: var(--brand-main);
  background: var(--brand-main);
  color: #fff;
}
.home-hero-actions a:last-child {
  color: #fff;
}
.section { margin-top: 34px; }
.section.narrow { max-width: 720px; }
.section h1, .section h2 { margin: 0 0 16px; letter-spacing: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head a { color: var(--accent-2); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.tabs span {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
}
.clip-controls {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.clip-controls .tabs { margin-bottom: 0; }
.limit-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.limit-switch span,
.limit-switch a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}
.limit-switch a:hover,
.limit-switch .active {
  border-color: var(--accent);
  color: var(--text);
  background: #2a1720;
}
.profile-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 12px;
}
.profile-filter div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-filter label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.profile-filter input {
  width: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090d11;
  color: var(--text);
  padding: 8px;
}
.profile-filter button,
.profile-filter a {
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: #2a1720;
  color: var(--text);
  padding: 8px 12px;
  font-weight: 800;
}
.ranking-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: start;
  gap: 8px;
  margin: 0 0 18px;
}
.ranking-menu-group {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
}
.ranking-menu-group h2 {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.ranking-menu-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ranking-menu-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
}
.ranking-menu-links a:hover,
.ranking-menu-links .active {
  border-color: var(--accent);
  color: var(--text);
  background: #2a1720;
}
.archive-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}
.archive-strip span,
.archive-strip a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}
.archive-strip a:hover {
  border-color: var(--accent);
  color: var(--text);
  background: #2a1720;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.archive-grid a {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 14px;
}
.archive-grid strong { display: block; margin-bottom: 4px; }
.archive-grid span { color: var(--muted); }
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.pager a { color: var(--text); }
.pager a:hover { border-color: var(--accent); }
.pager .disabled { color: var(--muted); opacity: 0.55; }
.pager-current { color: var(--accent-2); font-weight: 800; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.ranking-list {
  display: grid;
  gap: 12px;
}
.work-card, .clip-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.ranking-list .work-card {
  display: flex;
  align-items: stretch;
}
.ranking-list .work-card > .thumb {
  flex: 0 0 clamp(260px, 30vw, 340px);
}
.thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--panel-2);
}
.ranking-list .thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #080b0e;
}
.thumb img, .detail-media img, .detail-media video, .detail-media iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.thumb img {
  object-fit: contain;
  padding: 6px;
  background: #080b0e;
}
.ranking-list .thumb img {
  object-fit: contain;
  padding: 6px;
}
.detail-media img, .detail-media video { object-fit: cover; }
.thumb-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}
.rank {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--accent);
}
.work-body { min-width: 0; padding: 12px; }
.ranking-list .work-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 14px 16px;
}
.clip-body { padding: 12px; }
.work-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
  font-weight: 700;
}
.ranking-list .work-title {
  display: block;
  overflow: visible;
  min-height: 0;
  font-size: 19px;
  line-height: 1.4;
}
.work-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #d6d9de;
  font-size: 14px;
  line-height: 1.55;
}
.original-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.original-title span {
  margin-right: 5px;
  color: var(--accent-2);
  font-weight: 700;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.article-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.article-cover {
  display: block;
  aspect-ratio: 16 / 9;
  background: #080b0e;
}
.article-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 6px;
}
.article-card-body {
  padding: 12px;
}
.article-title {
  display: block;
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
}
.article-card p {
  margin: 8px 0 0;
  color: #d6d9de;
  font-size: 14px;
  line-height: 1.6;
}
.article-detail {
  max-width: 980px;
}
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-hero h1 {
  margin: 10px 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
}
.article-hero p {
  margin: 0;
  color: #d6d9de;
  line-height: 1.8;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.share-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(227, 79, 111, 0.52);
  border-radius: 8px;
  background: rgba(227, 79, 111, 0.12);
  color: #ffe2e8;
  font-weight: 800;
}
.share-actions a:hover {
  border-color: var(--accent);
  background: #2a1720;
}
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080b0e;
  padding: 6px;
}
.article-work-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.article-work {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.article-work .thumb {
  aspect-ratio: 16 / 9;
}
.article-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.article-work-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 700;
}
.article-work-actions a:hover {
  border-color: var(--accent);
}
.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.home-split .clip-grid {
  grid-template-columns: 1fr;
}
.discovery-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}
.discovery-group + .discovery-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.discovery-group h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(227, 79, 111, 0.48);
  border-radius: 6px;
  background: rgba(227, 79, 111, 0.12);
  color: #ffe2e8;
  padding: 7px 9px;
  font-size: 13px;
  font-weight: 700;
}
.tag-cloud span {
  color: var(--accent-2);
  font-size: 12px;
}
.clip-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--panel-2);
}
.clip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clip-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8em;
  font-weight: 700;
}
.source-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-2);
  font-size: 13px;
}
.meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; margin-top: 8px; }
.line, .tags { margin: 8px 0 0; font-size: 13px; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.link-grid span { color: var(--accent-2); margin-left: 6px; }
.link-grid small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.detail {
  display: grid;
  grid-template-columns: minmax(360px, 620px) 1fr;
  gap: 28px;
  align-items: start;
}
.detail-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.detail-media video, .detail-media img, .detail-media iframe {
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  background: #050607;
}
.detail-media video, .detail-media img { object-fit: contain; }
.detail-media iframe {
  border: 0;
}
.detail-body h1 { margin: 0 0 18px; line-height: 1.35; }
.article-detail {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.article-head {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}
.article-head-priority {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.article-kicker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.article-kicker span {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
}
.article-head h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0;
}
.primary-cta {
  justify-self: start;
  margin-top: 0;
}
.article-head-cta {
  justify-self: start;
  margin-top: 2px;
}
.article-media {
  max-width: 760px;
  margin: 0 auto;
}
.article-media video, .article-media img, .article-media iframe {
  max-height: none;
}
.article-media iframe {
  aspect-ratio: 3 / 2;
}
.vr-video-crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050607;
}
.vr-video-crop video {
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(0);
  transform-origin: left center;
}
.media-note {
  max-width: 760px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.detail-image-stack {
  display: grid;
  gap: 14px;
  max-width: 960px;
  margin: 18px auto 0;
}
.detail-image-stack img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  background: #050607;
}
.package-link {
  display: block;
}
.detail-media .package-link {
  width: 100%;
  height: 100%;
}
.package-link img {
  transition: opacity 0.16s ease;
}
.package-link:hover img {
  opacity: 0.88;
}
.affiliate-panel {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 30px auto 0;
  padding: 18px;
  border: 1px solid #4b3640;
  border-radius: 8px;
  background: linear-gradient(180deg, #241b20 0%, var(--panel) 100%);
}
.affiliate-panel-head {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}
.affiliate-panel-head span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}
.affiliate-panel-head strong {
  font-size: 20px;
  line-height: 1.35;
}
.affiliate-panel-head p {
  margin: 0;
  color: #ffd6df;
  font-size: 13px;
}
.affiliate-package {
  position: relative;
  display: block;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  border: 8px solid #f6f0e8;
  border-radius: 8px;
  background: #050607;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}
.affiliate-package img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.affiliate-package:hover img {
  opacity: 0.9;
  transform: scale(1.01);
}
.affiliate-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.affiliate-click-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(213, 54, 69, 0.94);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.affiliate-summary {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}
.affiliate-summary p {
  max-width: 760px;
  margin: 0;
  font-weight: 700;
}
.affiliate-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
.affiliate-meta span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #2a3036;
}
.affiliate-cta {
  margin-top: 2px;
  background: #d53645;
}
.affiliate-cta:hover {
  background: #f05262;
}
.article-panel {
  margin-top: 24px;
  border: 1px solid #2b333b;
  border-radius: 2px;
  background: #11161b;
  overflow: hidden;
}
.work-info-panel h2 {
  margin: 0;
  padding: 8px 12px;
  background: #050607;
  border-bottom: 1px solid #2b333b;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}
.info-list {
  grid-template-columns: minmax(86px, 128px) 1fr;
  gap: 0;
  background: #151b21;
}
.info-list dt, .info-list dd {
  padding: 10px 12px;
  border-bottom: 1px solid #2b333b;
}
.info-list dt {
  background: #20272e;
  color: #d9e2eb;
  font-weight: 700;
}
.info-list dt:last-of-type, .info-list dd:last-of-type {
  border-bottom: 0;
}
.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-row span {
  padding: 3px 7px;
  border-radius: 3px;
  background: #26313a;
  color: #e9eef3;
  font-size: 13px;
}
.tag-row a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 3px;
  background: #182533;
  color: #7db7ff;
  font-size: 13px;
  border: 1px solid #2c4660;
}
.tag-row a::before {
  content: "◇";
  color: var(--accent-2);
  font-size: 11px;
}
.tag-row a:hover {
  background: #22364a;
  color: var(--text);
}
.work-rail-section {
  max-width: 1040px;
  margin: 30px auto 0;
}
.work-rail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--text);
}
.work-rail-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
}
.rail-more {
  margin-left: auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.sale-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  background: #e63445;
  color: #fff;
  font-weight: 900;
  line-height: 1;
}
.work-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 230px);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 2px 12px;
  scrollbar-color: var(--accent) #20262c;
  scrollbar-width: thin;
}
.work-rail::-webkit-scrollbar {
  height: 10px;
}
.work-rail::-webkit-scrollbar-track {
  background: #20262c;
}
.work-rail::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}
.work-rail-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 4px;
  min-width: 0;
  color: #7db7ff;
}
.work-rail-card img,
.work-rail-card .thumb-empty {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #050607;
}
.work-rail-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
  font-size: 13px;
  line-height: 1.45;
}
.rail-score {
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 1;
  padding: 2px 6px;
  background: rgba(5, 6, 7, 0.82);
  color: #ffd15c;
  font-size: 12px;
  font-weight: 800;
}
.dmm-widget-section {
  max-width: 1040px;
  margin: 30px auto 0;
}
.dmm-widget-section[data-widget-empty] {
  display: none;
}
.dmm-widget-box {
  overflow-x: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2f2f2;
}
.dmm-widget-box .dmm-widget-placement {
  display: block;
  min-height: 220px;
}
.entity-ranking-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.entity-ranking-list li {
  display: grid;
  grid-template-columns: 58px 180px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.entity-ranking-image {
  width: 180px;
  height: 120px;
  object-fit: contain;
  background: #080b0e;
  border-radius: 6px;
}
.rank-badge { color: var(--accent-2); font-size: 18px; font-weight: 900; }
.search-subhead { margin-top: 32px; }
.search-summary { color: var(--muted); }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.admin-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 14px;
}
.admin-card strong { display: block; font-size: 26px; color: var(--accent-2); }
.admin-card span { color: var(--muted); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.admin-table th,
.admin-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.admin-table th {
  background: var(--panel-2);
  color: var(--muted);
  font-size: 13px;
}
.admin-table tr:last-child td { border-bottom: 0; }
.article-action {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}
.article-action-main {
  margin-top: 18px;
}
.clip-detail {
  display: grid;
  grid-template-columns: minmax(280px, 540px) 1fr;
  gap: 28px;
  align-items: start;
}
.clip-embed {
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.clip-embed img {
  width: 100%;
  display: block;
}
.clip-embed .twitter-tweet {
  margin: 0 auto !important;
}
.clip-article .clip-embed {
  max-width: 760px;
  min-height: 260px;
  margin: 0 auto;
}
.clip-article .clip-embed img {
  width: 100%;
  height: auto;
}
.video-thumbnail {
  position: relative;
  display: block;
  background: #050607;
}
.video-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  font-size: 34px;
  line-height: 1;
}
.video-thumbnail:hover .play-icon {
  background: var(--accent);
}
.clip-article .clip-embed video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #050607;
}
.clip-text-block {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.clip-text-block .lead {
  max-width: 760px;
  margin: 0;
  white-space: pre-wrap;
}
.clip-source {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.clip-source h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.clip-source-grid {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 14px auto 0;
}
.x-video-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 420px);
  grid-template-columns: none;
  max-width: min(100%, 960px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12px;
  padding: 0 4px 14px;
  scrollbar-color: var(--accent) #20262c;
  scrollbar-width: thin;
}
.x-video-slider::-webkit-scrollbar {
  height: 10px;
}
.x-video-slider::-webkit-scrollbar-track {
  background: #20262c;
  border-radius: 999px;
}
.x-video-slider::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}
.x-video-slider .x-clip-preview {
  scroll-snap-align: start;
}
.x-video-gallery {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.x-video-main {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 14px auto 0;
}
.x-video-player {
  position: relative;
  border-radius: 8px;
  background: #050607;
}
.x-video-main video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #050607;
  cursor: pointer;
  object-fit: contain;
}
.x-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  z-index: 3;
}
.x-video-play:hover {
  background: var(--accent);
}
.x-video-play[hidden] {
  display: none;
}
.x-video-embed {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.x-video-embed[hidden] {
  display: none;
}
.x-video-embed .twitter-tweet {
  margin: 0 auto !important;
}
.x-video-main p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
}
.x-video-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.x-video-meta span:empty {
  display: none;
}
.x-video-error {
  padding: 10px 12px;
  border: 1px solid #5b2d2d;
  border-radius: 8px;
  background: #231516;
  color: #ffb8b8;
}
.x-video-error[hidden] {
  display: none;
}
.x-video-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.x-video-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(116px, 156px);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  margin-top: 14px;
  padding: 0 4px 12px;
  scrollbar-color: var(--accent) #20262c;
  scrollbar-width: thin;
}
.x-video-thumbs::-webkit-scrollbar {
  height: 8px;
}
.x-video-thumbs::-webkit-scrollbar-track {
  background: #20262c;
  border-radius: 999px;
}
.x-video-thumbs::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}
.x-video-thumb {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  scroll-snap-align: start;
}
.x-video-thumb img,
.x-video-thumb .thumb-empty {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.x-video-thumb .x-video-index {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 700;
}
.x-video-thumb small {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 42px);
  padding: 4px 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.x-video-thumb.is-active {
  border-color: var(--accent);
}
.x-clip-preview {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.x-clip-preview > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #050607;
}
.x-clip-preview p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.x-clip-preview .source-link {
  margin-top: 0;
}
.muted {
  color: var(--muted);
}
dl { display: grid; grid-template-columns: 80px 1fr; gap: 8px 14px; }
dt { color: var(--muted); }
dd { margin: 0; }
.legal-table {
  grid-template-columns: minmax(110px, 180px) 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.legal-table dt, .legal-table dd {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.legal-table dt { background: var(--panel-2); }
.legal-table dt:last-of-type, .legal-table dd:last-of-type { border-bottom: 0; }
.legal-sections {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.legal-sections h2 { font-size: 18px; margin: 0 0 6px; }
.legal-sections p { margin: 0; color: var(--muted); }
.notice {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid #514025;
  border-radius: 8px;
  background: #211b12;
  color: #f6ddb0;
}
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}
.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 18px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
@media (max-width: 1024px) {
  .brand-row {
    gap: 12px;
    padding: 0 22px 2px;
  }
  .brand {
    flex-basis: 560px;
    max-width: min(560px, 58vw);
  }
  .brand img {
    max-height: 78px;
  }
  .site-search {
    max-width: 340px;
  }
  .home-split {
    grid-template-columns: 1fr;
  }
  .detail, .clip-detail {
    grid-template-columns: 1fr;
  }
  .article-hero {
    grid-template-columns: 1fr;
  }
  .article-work {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  }
  .ranking-list .work-card {
    align-items: stretch;
  }
  .ranking-list .work-card > .thumb {
    flex-basis: clamp(240px, 34vw, 320px);
  }
  .work-rail-section {
    max-width: 100%;
  }
}
@media (max-width: 720px) {
  .brand-row {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding: 0 16px 6px;
  }
  .brand {
    flex: 0 1 auto;
    max-width: 100%;
  }
  .brand img {
    max-height: 56px;
  }
  .nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }
  .nav a {
    flex: 0 0 auto;
    min-width: 104px;
    min-height: 32px;
    padding: 6px 10px;
  }
  .site-search {
    flex: 0 1 auto;
    width: 100%;
    max-width: none;
  }
  .ranking-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .ranking-menu-group {
    flex: 0 0 auto;
    grid-template-columns: max-content max-content;
    gap: 7px;
    min-width: 260px;
    scroll-snap-align: start;
  }
  .ranking-menu-links {
    flex-wrap: nowrap;
  }
  .ranking-menu-links a {
    padding: 4px 7px;
    font-size: 11px;
  }
  .hero h1 { font-size: 34px; }
  .home-hero {
    padding: 22px 4px 16px;
  }
  .home-split { grid-template-columns: 1fr; }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-work {
    grid-template-columns: 1fr;
  }
  .ranking-list .work-card { display: block; }
  .ranking-list .thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .ranking-list .work-body { padding: 14px; }
  .ranking-list .work-title { font-size: 18px; }
  .entity-ranking-list li { grid-template-columns: 48px 120px 1fr; gap: 9px; }
  .entity-ranking-image { width: 120px; height: 90px; }
  .article-head h1 { font-size: 22px; }
  .article-head-priority {
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .article-head-cta {
    width: 100%;
  }
  .article-media { max-width: none; }
  .x-video-slider {
    grid-auto-columns: minmax(260px, 86vw);
    max-width: 100%;
  }
  .x-video-thumbs {
    grid-auto-columns: minmax(104px, 34vw);
  }
  .info-list { grid-template-columns: 1fr; }
  .info-list dt { padding-bottom: 4px; border-bottom: 0; }
  .info-list dd { padding-top: 4px; }
  .detail, .clip-detail { grid-template-columns: 1fr; }
  .legal-table { grid-template-columns: 1fr; }
  .legal-table dt { padding-bottom: 4px; border-bottom: 0; }
  .legal-table dd { padding-top: 4px; }
}
