.yc-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 28px;
  width: min(1760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 8px;
}

/* --- 2026-06-27 commercial category refresh --- */
.category-commerce-shell {
  width: min(1540px, calc(100% - 34px));
  margin: 12px auto 42px;
  padding: 20px 22px 36px;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,254,250,.86), rgba(255,249,238,.70)) padding-box,
    linear-gradient(135deg, rgba(255,248,220,.92), rgba(199,154,75,.16), rgba(255,255,255,.72), rgba(176,126,54,.18)) border-box;
  box-shadow:
    0 24px 70px rgba(68,42,12,.07),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.category-commerce-shell .category-breadcrumb {
  margin: 0 0 12px;
  font-size: 12px;
  color: rgba(96,78,57,.62);
}

.category-compact-hero {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(360px, 1.25fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(199,154,75,.13);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 15%, rgba(216,183,106,.18), transparent 30%),
    linear-gradient(180deg, rgba(255,254,250,.78), rgba(255,250,242,.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90);
}

.category-compact-hero small,
.category-toolbar-copy small,
.category-side-title span {
  display: block;
  color: rgba(145,103,49,.74);
  font-family: var(--yc-serif);
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.category-compact-hero h1 {
  margin: 4px 0 3px;
  font-family: var(--yc-serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.06;
  font-weight: 620;
  color: #2b2118;
}

.category-compact-hero p {
  max-width: 56ch;
  margin: 0;
  color: var(--yc-muted);
  font-size: 13px;
  line-height: 1.65;
}

.category-hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,252,.94), rgba(255,250,241,.76)) padding-box,
    linear-gradient(135deg, rgba(255,248,218,.96), rgba(199,154,75,.20), rgba(255,255,255,.68)) border-box;
  box-shadow: 0 12px 28px rgba(68,42,12,.055), inset 0 1px 0 rgba(255,255,255,.96);
}

.category-hero-search span {
  color: #a46f28;
  font-size: 20px;
}

.category-hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #2b2118;
  font-size: 14px;
}

.category-commerce-shell .yc-movie-hot {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,254,250,.82), rgba(255,249,238,.62)) padding-box,
    linear-gradient(135deg, rgba(255,248,220,.92), rgba(199,154,75,.15), rgba(255,255,255,.72), rgba(176,126,54,.16)) border-box;
  box-shadow: 0 16px 42px rgba(68,42,12,.065), inset 0 1px 0 rgba(255,255,255,.94);
  backdrop-filter: none;
}

.category-commerce-shell .yc-movie-hot-head {
  margin-bottom: 10px;
}

.category-commerce-shell .yc-movie-hot-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.category-commerce-shell .yc-movie-hot-rail {
  grid-auto-columns: minmax(310px, 30%);
  gap: 12px;
  padding: 1px 2px 4px;
}

.category-commerce-shell .yc-movie-hot-slide {
  min-height: 166px;
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(68,42,12,.08);
}

.category-commerce-shell .yc-movie-hot-visual::after {
  background:
    linear-gradient(180deg, rgba(18,13,8,.02), rgba(18,13,8,.76)),
    radial-gradient(circle at 20% 0%, rgba(255,236,183,.18), transparent 36%);
}

.category-commerce-shell .yc-movie-hot-overlay {
  padding: 14px;
}

.category-commerce-shell .yc-movie-hot-overlay strong {
  font-size: 18px;
  line-height: 1.25;
}

.category-commerce-layout {
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 18px;
}

.category-commerce-sidebar {
  top: 88px;
  gap: 4px;
  min-height: auto;
  padding: 9px;
  border: 1px solid rgba(199,154,75,.13);
  border-radius: 14px;
  background: rgba(255,253,247,.72);
  box-shadow: 0 14px 36px rgba(68,42,12,.055), inset 0 1px 0 rgba(255,255,255,.94);
}

.category-side-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 9px;
  border-bottom: 1px solid rgba(199,154,75,.12);
  margin-bottom: 4px;
}

.category-side-title b {
  color: #a46f28;
  font-size: 12px;
}

.category-commerce-sidebar button {
  min-height: 35px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 650;
  transition:
    transform .28s cubic-bezier(.22,.8,.2,1),
    background .28s cubic-bezier(.22,.8,.2,1),
    color .28s cubic-bezier(.22,.8,.2,1),
    box-shadow .28s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-sidebar button::before {
  content: "◇";
  color: rgba(199,154,75,.72);
  font-size: 9px;
}

.category-commerce-sidebar button.is-active,
.category-commerce-sidebar button:hover {
  transform: translateX(2px);
  background: linear-gradient(180deg, rgba(232,206,150,.26), rgba(199,154,75,.10));
  color: #8c6125;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}

.category-commerce-toolbar {
  position: relative;
  z-index: 82;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 9px;
  align-items: end;
  margin: 0 0 10px;
}

.category-toolbar-copy h2 {
  margin: 2px 0 0;
  font-size: 22px;
  line-height: 1.1;
  color: #2b2118;
}

.category-commerce-toolbar button,
.category-commerce-tags button,
.category-pagination button,
.category-pagination b {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(199,154,75,.16);
  border-radius: 10px;
  background: rgba(255,255,252,.74);
  color: #5d5146;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition:
    transform .28s cubic-bezier(.22,.8,.2,1),
    box-shadow .28s cubic-bezier(.22,.8,.2,1),
    background .28s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-toolbar button:hover,
.category-commerce-tags button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(68,42,12,.08);
}

.category-commerce-tags {
  gap: 7px;
  margin-bottom: 12px;
}

.category-commerce-tags button.is-active,
.category-pagination b {
  background: linear-gradient(180deg, #ead39a, #c9933c);
  color: #2b2118;
  box-shadow: inset 0 1px 0 rgba(255,250,229,.82), 0 10px 22px rgba(128,84,25,.12);
}

.category-commerce-grid {
  gap: 13px;
}

.category-commerce-shell .category-resource-card {
  position: relative;
  border: 1px solid transparent;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,254,250,.94), rgba(255,249,238,.76)) padding-box,
    linear-gradient(138deg, rgba(255,248,220,.92), rgba(199,154,75,.16), rgba(255,255,255,.72), rgba(176,126,54,.16)) border-box;
  box-shadow:
    0 12px 30px rgba(68,42,12,.06),
    inset 0 1px 0 rgba(255,255,255,.96);
  transition:
    transform .38s cubic-bezier(.22,.8,.2,1),
    box-shadow .38s cubic-bezier(.22,.8,.2,1),
    filter .38s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-shell .category-resource-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.34), transparent 28%, transparent 68%, rgba(240,195,111,.16));
  opacity: .42;
  mix-blend-mode: screen;
}

.category-commerce-shell .category-resource-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 46px rgba(68,42,12,.12),
    0 0 24px rgba(216,183,106,.10),
    inset 0 1px 0 rgba(255,255,255,.98);
}

.category-commerce-shell .category-resource-card figure {
  margin: 5px 5px 0;
  border-radius: 10px;
}

.category-commerce-shell .category-resource-card figure img {
  transition: transform .55s cubic-bezier(.22,.8,.2,1), filter .55s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-shell .category-resource-card:hover figure img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.category-commerce-shell .category-resource-card figure span,
.category-page-movie .movie-card-badge {
  left: 8px;
  top: 8px;
  right: auto;
  bottom: auto;
  padding: 3px 7px;
  border: 1px solid rgba(255,244,211,.38);
  border-radius: 8px;
  background: rgba(42,31,20,.74);
  color: #f4cb78;
  font-size: 10px;
  font-weight: 750;
}

.category-commerce-shell .category-resource-card > div,
.category-commerce-shell .movie-card-body {
  padding: 10px 11px 11px;
}

.category-commerce-shell .category-resource-card h2 {
  margin: 0 0 4px;
  font-family: var(--yc-serif);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 650;
  color: #2b2118;
}

.category-commerce-shell .category-resource-card p,
.category-commerce-shell .category-resource-card em,
.category-commerce-shell .category-resource-card small {
  color: #8a7a66;
  font-size: 11px;
  line-height: 1.48;
}

.category-commerce-shell .category-resource-card em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  min-height: 2.95em;
}

.category-commerce-shell .category-resource-card small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 10px;
}

.category-commerce-shell .category-resource-card small i {
  font-style: normal;
}

.category-commerce-shell .category-resource-card small b {
  margin-left: auto;
  color: #b47d2d;
}

.category-commerce-shell .movie-poster-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-commerce-shell .movie-poster-card {
  border-radius: 13px;
}

.category-commerce-shell .movie-poster-frame {
  margin: 5px 5px 0;
  border-radius: 10px;
}

.category-commerce-shell .movie-poster-frame img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.category-commerce-shell .movie-card-score {
  right: 8px;
  top: 8px;
  min-width: 34px;
  padding: 3px 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ecd8a4, #c9933c);
  color: #2b2118;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,250,229,.82), 0 7px 16px rgba(82,57,27,.14);
}

.category-commerce-shell .movie-card-type {
  margin: 0 0 6px;
  color: #a07840;
  font-size: 11px;
  font-weight: 650;
}

.category-commerce-shell .movie-card-meta {
  gap: 4px;
}

.category-commerce-shell .movie-card-meta span {
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  background: rgba(199,154,75,.11);
}

.category-pagination {
  gap: 7px;
  margin-top: 22px;
}

.category-page-ai-era .category-commerce-grid,
.category-page-hot .category-commerce-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1280px) {
  .category-commerce-shell .movie-poster-grid,
  .game-landscape-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-page-ai-era .category-commerce-grid,
  .category-page-hot .category-commerce-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .category-compact-hero,
  .category-commerce-layout {
    grid-template-columns: 1fr;
  }

  .category-commerce-sidebar {
    position: static;
    display: flex;
    min-height: auto;
    overflow-x: auto;
  }

  .category-side-title {
    flex: 0 0 auto;
    min-width: 86px;
    border-bottom: 0;
    border-right: 1px solid rgba(199,154,75,.12);
    margin: 0 4px 0 0;
  }

  .category-commerce-sidebar button {
    flex: 0 0 auto;
  }

  .category-commerce-shell .movie-poster-grid,
  .game-landscape-grid,
  .category-page-ai-era .category-commerce-grid,
  .category-page-hot .category-commerce-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .category-commerce-shell {
    width: min(100% - 16px, 1540px);
    padding: 12px 10px 28px;
    border-radius: 14px;
  }

  .category-compact-hero {
    padding: 14px;
    gap: 14px;
  }

  .category-commerce-shell .yc-movie-hot {
    padding: 10px;
  }

  .category-commerce-shell .yc-movie-hot-rail {
    grid-auto-columns: minmax(244px, 82%);
  }

  .category-commerce-shell .yc-movie-hot-slide {
    min-height: 145px;
  }

  .category-commerce-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .category-toolbar-copy {
    grid-column: 1 / -1;
  }

  .category-commerce-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .category-commerce-tags button {
    flex: 0 0 auto;
  }

  .category-commerce-shell .movie-poster-grid,
  .game-landscape-grid,
  .category-page-ai-era .category-commerce-grid,
  .category-page-hot .category-commerce-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-commerce-shell .category-resource-card h2 {
    font-size: 14px;
  }

  .category-commerce-shell .category-resource-card em,
  .category-commerce-shell .category-resource-card small i:nth-child(2) {
    display: none;
  }
}

.yc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 42px;
  font-size: 15px;
  font-weight: 700;
}
.yc-nav-right { justify-content: flex-end; gap: 22px; }
.yc-nav a { position: relative; color: rgba(43, 33, 24, 0.86); }
.yc-nav a {
  transition: color .24s ease;
}
.yc-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--yc-champagne), transparent);
  transition: left .24s ease, right .24s ease;
}
.yc-nav a:hover {
  color: var(--yc-champagne);
}
.yc-nav a:hover::before {
  left: 0;
  right: 0;
}
.yc-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yc-gold), var(--yc-champagne));
}

.yc-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 0;
}
.yc-icon-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--yc-ink);
}

.yc-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -6px;
  text-align: center;
}
.yc-brand strong {
  font-family: var(--yc-serif);
  font-size: clamp(58px, 4.25vw, 70px);
  line-height: 0.95;
  letter-spacing: 0.055em;
  font-weight: 650;
  color: transparent;
  background:
    linear-gradient(105deg, rgba(255,244,210,.0) 0 28%, rgba(255,244,210,.72) 38%, rgba(255,244,210,.0) 48%),
    linear-gradient(180deg, #74512c 0%, #2f2217 42%, #5f3d20 66%, #c79a4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255,255,255,.38),
    0 10px 24px rgba(91, 65, 28, 0.13);
}
.yc-brand small {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--yc-muted);
}

.yc-round-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.yc-home {
  position: relative;
  z-index: 2;
  width: min(1760px, calc(100% - 32px));
  margin: 0 auto;
}

.yc-search-section {
  position: relative;
  z-index: 25;
  display: flex;
  justify-content: center;
  margin: 8px 0 42px;
}
.yc-search {
  position: relative;
  width: min(680px, 96%);
  height: 62px;
  border: 1px solid rgba(199,154,75,.28);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 60px rgba(80, 55, 20, 0.10), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.yc-search:focus-within {
  border-color: rgba(199,154,75,.56);
  box-shadow: 0 20px 70px rgba(80, 55, 20, 0.14), 0 0 0 6px rgba(199,154,75,.10), inset 0 1px 0 rgba(255,255,255,0.95);
  transform: translateY(-1px);
}
.yc-search input {
  width: 100%;
  height: 100%;
  padding: 0 28px 0 76px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--yc-ink);
  font-size: 17px;
}
.yc-search input::placeholder {
  color: rgba(138,122,102,.62);
}
.yc-search-icon {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #5b4022;
  border-radius: 50%;
  transform: translateY(-50%);
}
.yc-search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: #5b4022;
  transform: rotate(45deg);
}

.yc-hero {
  position: relative;
  z-index: 10;
  height: 560px;
  min-height: 560px;
  margin-top: 18px;
  perspective: 2800px;
  transform-style: preserve-3d;
  overflow: visible;
}
.yc-hero::before,
.yc-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.yc-hero::before {
  left: 10%;
  right: 18%;
  top: 6%;
  height: 72%;
  background: radial-gradient(circle at 50% 50%, rgba(216,183,106,.34), rgba(216,183,106,.10) 32%, transparent 66%);
  filter: blur(18px);
}
.yc-hero::after {
  left: 50%;
  bottom: 30px;
  width: 980px;
  height: 160px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(216,183,106,.26), transparent 62%),
    radial-gradient(ellipse at center, rgba(60,40,20,.13), transparent 70%);
  filter: blur(18px);
  opacity: .9;
  transform: translateX(-50%);
}
.yc-coverflow {
  position: absolute;
  inset: 18px 40px 92px 40px;
  transform-style: preserve-3d;
  z-index: 2;
  cursor: grab;
}
.yc-coverflow.is-dragging {
  cursor: grabbing;
}
.yc-cover-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 450px;
  overflow: visible;
  border-radius: 28px;
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(22,17,12,.98), rgba(7,6,5,.98)) padding-box,
    linear-gradient(145deg, rgba(255,240,185,.96), rgba(119,79,32,.42) 24%, rgba(255,255,255,.42) 46%, rgba(181,127,48,.82) 70%, rgba(73,45,19,.72)) border-box;
  box-shadow:
    0 36px 80px rgba(40, 25, 10, 0.28),
    0 12px 30px rgba(216, 183, 106, 0.16),
    inset 0 0 0 1px rgba(255,242,199,.20),
    inset 0 0 26px rgba(216,183,106,.10);
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms ease, filter 500ms ease, box-shadow 500ms ease;
}
.yc-coverflow.is-dragging .yc-cover-card {
  transition-duration: 80ms;
}
.yc-cover-card:hover { filter: brightness(1.06) saturate(1.06); }
.yc-cover-card.is-active {
  width: 390px;
  height: 520px;
  box-shadow:
    0 46px 110px rgba(40, 25, 10, 0.36),
    0 0 0 1px rgba(255,236,182,.36),
    0 0 46px rgba(216,183,106,.30),
    inset 0 0 0 1px rgba(255,248,220,.34),
    inset 0 0 36px rgba(216,183,106,.14);
}
.yc-cover-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(var(--rim-angle, 132deg), rgba(255,246,210,.62), transparent 18% 74%, rgba(240,195,111,.54)),
    radial-gradient(circle at var(--rim-x, 50%) 0%, rgba(255,255,255,.42), transparent 34%);
  opacity: var(--rim-opacity, .42);
  mix-blend-mode: screen;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.yc-cover-card::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -46px;
  height: 46px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,.18), transparent);
  filter: blur(12px);
  opacity: .28;
  pointer-events: none;
}
.yc-cover-media,
.yc-cover-shine,
.yc-cover-content {
  position: absolute;
  inset: 1px;
  overflow: hidden;
  border-radius: 27px;
}
.yc-cover-media {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.yc-cover-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,6,4,.88) 0%, rgba(8,6,4,.54) 42%, rgba(8,6,4,.12) 100%),
    radial-gradient(circle at var(--shine-origin, 50% 18%), rgba(255,235,175,.24), transparent 30%),
    linear-gradient(90deg, rgba(240,195,111,0.10), transparent 48%, rgba(255,255,255,0.10));
}
.yc-cover-shine {
  left: auto;
  width: 48%;
  background:
    linear-gradient(102deg, transparent 0%, rgba(255,244,207,0.0) 20%, rgba(255,244,207,0.30) 48%, rgba(255,255,255,0.14) 58%, transparent 100%);
  opacity: var(--shine-opacity, .40);
  pointer-events: none;
  transform: translateX(var(--shine-x, -120%)) skewX(var(--shine-skew, -10deg));
  transition: transform 650ms cubic-bezier(.22,1,.36,1), opacity 500ms ease;
  mix-blend-mode: screen;
}
.yc-cover-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff7e8;
}
.yc-cover-kicker {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(240,195,111,0.34);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,235,183,.20), rgba(80,54,23,.44));
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 20px rgba(0,0,0,.18);
}
.yc-cover-content h2 {
  margin: 0;
  font-family: var(--yc-serif);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 8px 26px rgba(0,0,0,0.42), 0 0 20px rgba(216,183,106,.12);
}
.yc-cover-card.is-active .yc-cover-content h2 {
  font-size: 42px;
  line-height: 1.12;
}
.yc-cover-card:not(.is-active) .yc-cover-content h2 {
  opacity: .9;
}
.yc-cover-content p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,247,232,0.82);
}
.yc-cover-card:not(.is-active) .yc-cover-content p {
  opacity: .68;
}
.yc-cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  color: #f0c36f;
  font-weight: 700;
}
.yc-cover-bottom b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240,195,111,0.32);
  border-radius: 50%;
  color: rgba(255,247,232,0.86);
  font-size: 12px;
}
.yc-flow-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216,183,106,.36);
  border-radius: 50%;
  background: rgba(78, 54, 26, .58);
  color: #fff6e4;
  font-size: 34px;
  box-shadow: 0 16px 34px rgba(82, 57, 27, 0.22), inset 0 1px 0 rgba(255,255,255,.20);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.yc-flow-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(122, 87, 38, .72);
  box-shadow: 0 22px 44px rgba(82, 57, 27, 0.28), 0 0 24px rgba(216,183,106,.18);
}
.yc-flow-arrow:active {
  transform: translateY(-50%) scale(.96);
}
.yc-flow-prev { left: 10px; }
.yc-flow-next { right: 10px; }
.yc-flow-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.yc-flow-dots button {
  width: 38px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(100, 76, 46, 0.22);
}
.yc-flow-dots button.is-active { background: var(--yc-champagne); }

.mascot-widget {
  position: fixed;
  right: 48px;
  top: 128px;
  z-index: 80;
  width: clamp(260px, 18vw, 360px);
  --mascot-bubble-x: auto;
  --mascot-bubble-y: 18px;
  --mascot-bubble-right: calc(100% + 4px);
  --mascot-bubble-offset-x: 0px;
  --mascot-bubble-offset-y: 0px;
  --mascot-scale: 0.75;
  --mascot-tilt-x: 0deg;
  --mascot-tilt-y: 0deg;
  --mascot-shift-x: 0px;
  --mascot-shift-y: 0px;
  --mascot-aura-x: 50%;
  --mascot-aura-y: 52%;
  min-height: min(68vh, 720px);
  pointer-events: auto;
  user-select: none;
  transition: opacity .2s ease;
}
.mascot-body,
.mascot-controls {
  transform: scale(var(--mascot-scale));
  transition: transform .2s ease;
}
.mascot-body {
  transform-origin: bottom center;
  transform:
    scale(var(--mascot-scale))
    translate3d(var(--mascot-shift-x), var(--mascot-shift-y), 0)
    perspective(900px)
    rotateY(var(--mascot-tilt-x))
    rotateX(var(--mascot-tilt-y));
  transform-style: preserve-3d;
  will-change: transform;
}
.mascot-controls {
  transform-origin: bottom right;
}
.mascot-widget.is-dragging .mascot-body,
.mascot-widget.is-dragging .mascot-controls {
  transition: none;
}
.mascot-widget.is-dragging {
  opacity: .86;
  transition: none;
}
.mascot-bubble {
  position: absolute;
  left: var(--mascot-bubble-x);
  right: var(--mascot-bubble-right);
  top: var(--mascot-bubble-y);
  transform: translate(var(--mascot-bubble-offset-x), var(--mascot-bubble-offset-y));
  z-index: 4;
  width: min(290px, 86vw);
  max-width: none;
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(199, 154, 75, 0.34);
  box-shadow: 0 18px 45px rgba(68, 42, 12, 0.12);
  color: #2B2118;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  backdrop-filter: blur(14px);
  transition: left .24s ease, right .24s ease, top .24s ease, transform .24s ease, max-width .24s ease;
}
.mascot-bubble-toolbar {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.mascot-bubble-drag,
.mascot-bubble-minimize {
  height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(199,154,75,.28);
  border-radius: 999px;
  background: rgba(255,250,240,.82);
  color: #8a6a38;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.mascot-bubble-minimize {
  width: 22px;
  padding: 0;
  line-height: 1;
  font-size: 14px;
}
.mascot-bubble-drag {
  cursor: grab;
}
.mascot-bubble-drag:active {
  cursor: grabbing;
}
.mascot-bubble.is-hidden,
.mascot-bubble[hidden] {
  display: none !important;
}
.mascot-bubble.is-bubble-dragging {
  transition: none;
}
.mascot-chat-log {
  display: grid;
  gap: 6px;
  max-height: 132px;
  overflow-y: auto;
  padding: 24px 2px 0 0;
}
.mascot-chat-log p {
  margin: 0;
}
.mascot-chat-log p.is-user {
  justify-self: end;
  max-width: 92%;
  padding: 5px 9px;
  border-radius: 12px;
  background: rgba(199,154,75,.15);
  color: #5c4327;
}
.mascot-chat-log p.is-assistant {
  justify-self: start;
}
.mascot-bubble.is-speaking {
  animation: ycBubblePop .28s ease;
}
.mascot-bubble::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: rgba(255, 250, 240, 0.88);
  border-right: 1px solid rgba(199, 154, 75, 0.34);
  border-bottom: 1px solid rgba(199, 154, 75, 0.34);
  transform: rotate(45deg);
}
.mascot-chat-form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.mascot-dialog-input {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid rgba(199,154,75,.26);
  border-radius: 999px;
  outline: none;
  background: rgba(255,255,255,.56);
  color: #2B2118;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76);
}
.mascot-send {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(199,154,75,.30);
  border-radius: 50%;
  background: rgba(255,248,230,.88);
  color: #6F583A;
  font-weight: 900;
  cursor: pointer;
}
.mascot-body {
  position: relative;
  width: 100%;
  height: min(68vh, 720px);
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: auto;
}
.mascot-body::before {
  content: "";
  position: absolute;
  inset: 8% -8% 12%;
  z-index: 0;
  border-radius: 45% 55% 38% 62%;
  background:
    radial-gradient(circle at var(--mascot-aura-x) var(--mascot-aura-y), rgba(255, 244, 204, .38), rgba(216, 183, 106, .14) 24%, transparent 56%);
  filter: blur(18px);
  opacity: 0;
  transform: translateZ(-24px);
  transition: opacity .28s ease;
  pointer-events: none;
}
.mascot-widget.is-mouse-aware .mascot-body::before {
  opacity: .9;
}
.mascot-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(0 28px 44px rgba(58, 36, 14, 0.22))
    drop-shadow(0 0 26px rgba(216, 183, 106, 0.16));
  user-select: none;
  pointer-events: auto;
  animation: ycMascotBreathe 4.2s ease-in-out infinite;
  transition: filter .22s ease;
  will-change: transform, filter;
}
.mascot-widget.is-mouse-aware .mascot-img {
  filter:
    drop-shadow(0 30px 48px rgba(58, 36, 14, 0.24))
    drop-shadow(0 0 34px rgba(216, 183, 106, 0.24));
}
.mascot-widget[data-style="alt"] .mascot-body {
  justify-content: center;
}
.mascot-widget[data-style="alt"] {
  --mascot-bubble-x: auto;
  --mascot-bubble-y: 22px;
  --mascot-bubble-right: calc(100% - 26px);
}
.mascot-widget[data-style="alt"] .mascot-img {
  width: 78%;
  max-height: 86%;
}
.mascot-body::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(58,36,14,.30), rgba(58,36,14,.16) 38%, transparent 72%),
    radial-gradient(ellipse at center, rgba(216,183,106,.22), transparent 66%);
  filter: blur(16px);
  opacity: .88;
  transform: scaleX(1.08);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mascot-widget.is-mouse-aware .mascot-body::after {
  opacity: 1;
  transform: scaleX(1.14) translateX(calc(var(--mascot-shift-x) * .18));
}
.mascot-missing {
  padding: 10px 12px;
  border: 1px dashed rgba(199,154,75,.28);
  border-radius: 12px;
  background: rgba(255,250,240,.58);
  color: var(--yc-muted);
  font-size: 12px;
  text-align: center;
  backdrop-filter: blur(16px);
}
.mascot-controls {
  position: absolute;
  right: 24px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(199,154,75,.22);
  border-radius: 999px;
  background: rgba(255,250,240,.58);
  box-shadow: 0 10px 28px rgba(68,42,12,.10);
  backdrop-filter: blur(12px);
}
.mascot-chat-toggle,
.mascot-voice-toggle,
.mascot-style-toggle,
.mascot-close,
.mascot-scale-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(199,154,75,.28);
  background: rgba(255,250,240,.72);
  color: #6F583A;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.mascot-chat-toggle span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 15px;
  line-height: 1;
}
.mascot-voice-toggle span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 15px;
  line-height: 1;
}
.mascot-voice-toggle.is-active {
  background: linear-gradient(180deg, #27211a, #8f672c);
  color: #fff5d5;
  box-shadow:
    inset 0 1px 0 rgba(255,250,229,.24),
    0 7px 16px rgba(68,42,12,.18);
}
.mascot-chat-toggle.is-active {
  background: linear-gradient(180deg, #f0d89f, #c99a4b);
  color: #2b2118;
  box-shadow:
    inset 0 1px 0 rgba(255,250,229,.84),
    0 7px 16px rgba(119,78,25,.16);
}
.mascot-style-toggle span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 15px;
  line-height: 1;
}
.mascot-style-toggle::before,
.mascot-style-toggle::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(199,154,75,.34);
}
.mascot-style-toggle::before {
  left: 6px;
  background: #2B2118;
}
.mascot-style-toggle::after {
  right: 6px;
  background: #fff8e8;
}
.mascot-bubble-minimize:hover,
.mascot-chat-toggle:hover,
.mascot-voice-toggle:hover,
.mascot-style-toggle:hover,
.mascot-close:hover,
.mascot-scale-btn:hover,
.mascot-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(199,154,75,.16);
}
.mascot-orb {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(199,154,75,.42);
  background: linear-gradient(180deg, #fff8e8, #e8cf9a);
  color: #2B2118;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(68,42,12,.18);
  z-index: 90;
  cursor: pointer;
  animation: ycPulse 2.8s ease infinite;
}
.mascot-widget.is-collapsed {
  display: none;
}
.mascot-orb[hidden] {
  display: none;
}

.mascot-cursor-familiar {
  position: fixed;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  z-index: 78;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-80px, -80px, 0);
  transition: opacity .24s ease;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}
.mascot-cursor-familiar.is-visible:not(.is-hidden-by-mascot) {
  opacity: .86;
}
.mascot-cursor-familiar.is-idle {
  opacity: .38;
}
.mascot-cursor-familiar span {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, #fffdf0 0 16%, #f3d37b 34%, #c99a4b 62%, rgba(201,154,75,0) 74%);
  box-shadow:
    0 0 18px rgba(216,183,106,.42),
    0 6px 18px rgba(68,42,12,.16);
}
.mascot-cursor-familiar::before,
.mascot-cursor-familiar::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 16px;
  height: 10px;
  border-radius: 70% 30% 70% 30%;
  background: linear-gradient(135deg, rgba(255,253,240,.84), rgba(230,198,120,.34));
  border: 1px solid rgba(201,154,75,.22);
  filter: blur(.1px);
  animation: ycFamiliarWing .14s linear infinite;
}
.mascot-cursor-familiar::before {
  right: 17px;
  transform-origin: right center;
}
.mascot-cursor-familiar::after {
  left: 17px;
  transform-origin: left center;
  animation-direction: reverse;
}

@keyframes ycFamiliarWing {
  0%, 100% { transform: rotate(18deg) scaleY(.7); opacity: .68; }
  50% { transform: rotate(-24deg) scaleY(1.08); opacity: .92; }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .mascot-cursor-familiar {
    display: none !important;
  }
  .mascot-body {
    transform: scale(var(--mascot-scale));
  }
}

.yc-section {
  position: relative;
  z-index: 4;
  margin: 128px 0 0;
}
.yc-section-head {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}
.yc-section-head h2 {
  margin: 0;
  font-size: 32px;
}
.yc-section-head span {
  color: var(--yc-muted);
  letter-spacing: 0.08em;
}
.yc-pick-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 18px;
}
.yc-pick-card {
  position: relative;
  min-height: 150px;
}
.yc-pick-cover {
  height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(201,155,82,0.26);
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 28px rgba(82,57,27,0.14);
}
.yc-pick-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--yc-muted);
}
.yc-pick-meta strong {
  color: var(--yc-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yc-save-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 10px;
  background: rgba(20,15,10,0.28);
  color: #fff;
}
.yc-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 48px;
}
.yc-tag-cloud a {
  padding: 11px 16px;
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.36);
  backdrop-filter: blur(12px);
  font-weight: 700;
}
.yc-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  color: var(--yc-muted);
}

.yc-site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 44px;
  border-bottom: 1px solid var(--yc-line);
  background: rgba(255,250,240,.72);
  backdrop-filter: blur(20px);
}
body[data-theme="dark"] .yc-site-header {
  background: rgba(12,10,8,.72);
}
.yc-site-logo {
  font-family: var(--yc-serif);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: .08em;
  color: transparent;
  background: linear-gradient(180deg, #5f4122, var(--yc-champagne));
  -webkit-background-clip: text;
  background-clip: text;
}
.yc-site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-weight: 800;
}
.yc-site-nav a {
  position: relative;
  color: var(--yc-ink);
}
.yc-site-nav a:hover,
.yc-site-nav a.is-active {
  color: var(--yc-champagne);
}
.yc-site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -14px;
  height: 2px;
  background: var(--yc-champagne);
}
.yc-theme-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--yc-line);
  border-radius: 50%;
  background: rgba(255,255,255,.46);
  color: var(--yc-ink);
}

.yc-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0;
  color: var(--yc-muted);
}

.yc-category-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  width: min(1500px, calc(100% - 80px));
  margin: 0 auto 70px;
}
.yc-category-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--yc-line);
  border-radius: 22px;
  background: rgba(255,250,240,.68);
  backdrop-filter: blur(16px);
}
.yc-category-sidebar a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--yc-muted);
  font-weight: 800;
}
.yc-category-sidebar a.is-active,
.yc-category-sidebar a:hover {
  background: rgba(199,154,75,.13);
  color: var(--yc-champagne);
}
.yc-category-hero {
  min-height: 230px;
  padding: 34px 42px;
  border: 1px solid var(--yc-line);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255,250,240,.96), rgba(255,250,240,.58)),
    radial-gradient(circle at 86% 40%, rgba(216,183,106,.22), transparent 32%);
  box-shadow: 0 24px 60px rgba(80,55,20,.10);
}
.yc-category-hero h1 {
  margin: 8px 0;
  font-family: var(--yc-serif);
  font-size: 48px;
}
.yc-category-stats {
  display: flex;
  gap: 42px;
  margin-top: 24px;
}
.yc-category-stats b {
  display: grid;
  font-size: 26px;
  color: var(--yc-gold);
}
.yc-category-stats small {
  margin-top: 4px;
  color: var(--yc-muted);
  font-size: 13px;
  font-weight: 500;
}
.yc-category-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin: 24px 0 18px;
}
.yc-category-tools label {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 20px;
  border: 1px solid var(--yc-line);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
}
.yc-category-tools input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
}
.yc-category-tools button,
.yc-category-tabs button,
.yc-pagination button,
.yc-pagination b {
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  background: rgba(255,250,240,.72);
  color: var(--yc-ink);
  font-weight: 800;
}
.yc-category-tools button { padding: 0 28px; }
.yc-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.yc-category-tabs button {
  min-height: 40px;
  padding: 0 18px;
}
.yc-category-tabs button.is-active,
.yc-pagination b {
  background: linear-gradient(180deg, #d8b76a, #b88a42);
  color: #fff;
}
.yc-game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.yc-ai-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.yc-category-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--yc-line);
  border-radius: 18px;
  background: rgba(255,250,240,.78);
  box-shadow: 0 18px 45px rgba(80,55,20,.10);
}
.yc-ai-list .yc-category-card {
  grid-template-columns: 180px 1fr auto;
  align-items: center;
}
.yc-category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}
.yc-category-card h2 {
  margin: 6px 0;
  font-size: 20px;
}
.yc-category-card p {
  color: var(--yc-muted);
  line-height: 1.7;
}
.yc-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
}
.yc-pagination button,
.yc-pagination b {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
}

.yc-detail-shell,
.yc-resource-shell,
.yc-article-shell {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto 70px;
}
.yc-detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  overflow: hidden;
  min-height: 460px;
  padding: 42px;
  border-radius: 26px;
}
.yc-detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: blur(1px);
}
.yc-detail-cover,
.yc-detail-copy {
  position: relative;
  z-index: 1;
}
.yc-detail-cover img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(80,55,20,.18);
}
.yc-detail-copy h1,
.yc-article-main h1,
.yc-resource-hero h1 {
  margin: 10px 0;
  font-family: var(--yc-serif);
  font-size: clamp(44px, 5vw, 72px);
}
.yc-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid var(--yc-line);
  border-radius: 16px;
  background: rgba(255,250,240,.66);
}
.yc-detail-meta b {
  display: grid;
  gap: 6px;
}
.yc-detail-meta small,
.yc-detail-copy p {
  color: var(--yc-muted);
  line-height: 1.9;
}
.yc-detail-actions,
.yc-resource-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.yc-detail-actions a,
.yc-resource-downloads a.primary {
  padding: 14px 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8b76a, #b88a42);
  color: #fff;
  font-weight: 900;
}
.yc-detail-actions a + a,
.yc-resource-downloads a:not(.primary),
.yc-resource-downloads button {
  padding: 14px 42px;
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  background: rgba(255,250,240,.62);
  color: var(--yc-gold);
  font-weight: 900;
}
.yc-thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.yc-thumb-strip img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 14px;
}
.yc-detail-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}
.yc-detail-panel,
.yc-detail-side section,
.yc-resource-card,
.yc-article-main,
.yc-article-toc {
  border: 1px solid var(--yc-line);
  border-radius: 22px;
  background: rgba(255,250,240,.78);
  box-shadow: 0 18px 48px rgba(80,55,20,.10);
  backdrop-filter: blur(16px);
}
.yc-detail-panel,
.yc-resource-card,
.yc-article-main {
  padding: 28px;
}
.yc-detail-tabs {
  display: flex;
  gap: 34px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--yc-line);
  padding-bottom: 14px;
}
.yc-detail-tabs a.is-active {
  color: var(--yc-champagne);
  font-weight: 900;
}
.yc-detail-side {
  display: grid;
  gap: 20px;
}
.yc-detail-side section {
  padding: 24px;
}
.yc-download-card a,
.yc-download-card button {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--yc-line);
  text-align: center;
}
.yc-download-card a {
  background: linear-gradient(180deg, #d8b76a, #b88a42);
  color: #fff;
}

.yc-resource-hero {
  padding: 56px;
  border: 1px solid rgba(216,183,106,.26);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(20,18,14,.92), rgba(42,32,18,.74));
  color: var(--yc-ink);
}
.yc-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.yc-article-shell {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
}
.yc-article-shell .yc-breadcrumb {
  grid-column: 1 / -1;
}
.yc-article-main header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--yc-line);
}
.yc-article-main section {
  line-height: 2;
}
.yc-article-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 20px;
}
.yc-anon-comments {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--yc-line);
}
.yc-anon-comments form {
  display: grid;
  gap: 12px;
}
.yc-anon-comments textarea {
  min-height: 86px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--yc-line);
  border-radius: 14px;
  background: rgba(255,255,255,.52);
}
.yc-anon-comments button {
  justify-self: end;
  padding: 10px 22px;
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  background: var(--yc-champagne);
  color: #fff;
}
.yc-anon-comments article {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.38);
}

.yc-shorts-page {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  margin-top: 24px;
}
.yc-shorts-topics {
  display: grid;
  align-content: start;
  gap: 12px;
}
.yc-shorts-topics button {
  min-height: 44px;
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  background: rgba(255,250,240,.68);
}
.yc-shorts-topics button.is-active {
  background: linear-gradient(180deg, #d8b76a, #b88a42);
  color: #fff;
}
.yc-shorts-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
}
.yc-short-card {
  position: absolute;
  width: min(390px, 78vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 24px;
  opacity: .22;
  transform: translateX(240px) scale(.82);
  transition: transform .3s ease, opacity .3s ease;
  background: #111;
}
.yc-short-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}
.yc-short-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.yc-short-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.62));
}
.yc-short-copy,
.yc-short-actions {
  position: absolute;
  z-index: 1;
  color: #fff;
}
.yc-short-copy {
  left: 22px;
  right: 72px;
  bottom: 24px;
}
.yc-short-actions {
  right: 18px;
  bottom: 90px;
  display: grid;
  gap: 14px;
}
.yc-short-actions button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
}

.yc-category-layout.yc-category-clean {
  display: block;
  width: min(1420px, calc(100% - 80px));
}
.yc-category-layout.is-shorts {
  width: min(1180px, calc(100% - 80px));
}
.yc-category-clean .yc-category-hero {
  min-height: 148px;
}
.yc-category-clean .yc-category-hero p,
.yc-category-clean .yc-category-stats,
.yc-category-clean .yc-category-sidebar {
  display: none;
}
.yc-shorts-page {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 16px;
  min-height: calc(100vh - 160px);
  margin-top: 10px;
}
.yc-shorts-title {
  width: min(520px, 100%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.yc-shorts-title h1 {
  margin: 0;
  font-family: var(--yc-serif);
  font-size: clamp(36px, 4vw, 48px);
}
.yc-shorts-title span {
  color: var(--yc-muted);
  font-size: 14px;
}
.yc-shorts-stage {
  width: min(520px, 100%);
  height: min(720px, calc(100vh - 230px));
  min-height: 520px;
  overflow: hidden;
}
.yc-short-card {
  left: 50%;
  width: min(420px, 86vw);
  opacity: 0;
  transform: translate(-50%, 72px) scale(.96);
}
.yc-short-card.is-active {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.yc-short-card.is-prev {
  opacity: .16;
  transform: translate(-50%, -82%) scale(.9);
}
.yc-short-card.is-next {
  opacity: .16;
  transform: translate(-50%, 82%) scale(.9);
}

@media (max-width: 900px) {
  .yc-site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }
  .yc-site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
  }
  .yc-category-layout,
  .yc-detail-content,
  .yc-article-shell,
  .yc-shorts-page {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1500px);
  }
  .yc-category-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
  }
  .yc-detail-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .yc-game-grid,
  .yc-ai-list,
  .yc-resource-grid {
    grid-template-columns: 1fr;
  }
  .yc-thumb-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.yc-subpage {
  min-height: 100vh;
}

.yc-copy-shell {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.yc-copy-topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 0 22px;
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  background: rgba(255, 250, 241, .72);
  box-shadow: 0 18px 44px rgba(80, 55, 20, .12);
  backdrop-filter: blur(18px);
}

.yc-copy-topbar > a {
  font-family: var(--yc-serif);
  font-size: 28px;
  font-weight: 900;
}

.yc-copy-topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--yc-muted);
  font-weight: 800;
}

.yc-copy-topbar nav a:hover {
  color: var(--yc-champagne);
}

.yc-copy-hero {
  margin: 74px 0 34px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(167,121,52,.16);
}

.yc-copy-hero span,
.yc-copy-card small,
.yc-copy-detail-main span {
  color: var(--yc-champagne);
  font-weight: 900;
  letter-spacing: .12em;
}

.yc-copy-hero h1 {
  margin: 12px 0 14px;
  font-family: var(--yc-serif);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
}

.yc-copy-hero p,
.yc-copy-section p,
.yc-copy-card p,
.yc-copy-detail-main p {
  color: var(--yc-muted);
  line-height: 1.9;
}

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

.yc-copy-card,
.yc-copy-section,
.yc-copy-detail {
  border: 1px solid var(--yc-line);
  border-radius: 24px;
  background: rgba(255, 250, 241, .58);
  box-shadow: 0 22px 56px rgba(80,55,20,.10);
  backdrop-filter: blur(16px);
}

.yc-copy-card {
  min-height: 220px;
  padding: 24px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.yc-copy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,154,75,.42);
  box-shadow: 0 28px 70px rgba(80,55,20,.16);
}

.yc-copy-card h2,
.yc-copy-section h2 {
  margin: 12px 0;
  font-family: var(--yc-serif);
  font-size: 28px;
}

.yc-copy-card b,
.yc-copy-actions a {
  color: var(--yc-champagne);
}

.yc-copy-detail {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
}

.yc-copy-cover {
  min-height: 460px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 24%, rgba(216,183,106,.36), transparent 42%),
    linear-gradient(145deg, #241b12, #090706);
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 70px rgba(40,25,10,.22);
}

.yc-copy-detail-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yc-copy-detail-main h1 {
  margin: 14px 0;
  font-family: var(--yc-serif);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.yc-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.yc-copy-actions a {
  padding: 12px 18px;
  border: 1px solid rgba(199,154,75,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  font-weight: 900;
}

.yc-copy-section {
  margin-top: 22px;
  padding: 28px;
}

.yc-copy-search input {
  width: min(680px, 100%);
  height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(199,154,75,.28);
  border-radius: 999px;
  outline: 0;
  background: rgba(255,250,240,.72);
  color: var(--yc-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

@media (max-width: 1180px) {
  .yc-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }
  .yc-nav-right { flex-wrap: wrap; justify-content: center; }
  .yc-hero { min-height: 540px; }
  .yc-coverflow { inset: 0 34px 84px; }
  .yc-flow-next { right: 10px; }
  .mascot-widget {
    right: 22px;
    top: 110px;
    width: clamp(240px, 22vw, 320px);
  }
  .yc-pick-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-copy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-copy-detail {
    grid-template-columns: 1fr;
  }
  .yc-copy-cover {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .yc-home,
  .yc-header { width: min(100% - 28px, 1680px); }
  .yc-nav { gap: 14px; font-size: 13px; }
  .yc-brand strong { font-size: 46px; }
  .yc-search { height: 54px; }
  .yc-hero { min-height: 470px; overflow: hidden; }
  .yc-cover-card { width: 265px; height: 370px; }
  .yc-cover-content h2 { font-size: 26px; }
  .yc-coverflow { inset: 0 24px 58px; }
  .yc-pick-row { grid-template-columns: 1fr; }
  .yc-footer { flex-direction: column; text-align: center; }
  .mascot-widget {
    right: 14px;
    top: 96px;
    width: min(58vw, 260px);
    --mascot-bubble-x: auto;
    --mascot-bubble-y: 10px;
    --mascot-bubble-right: calc(100% + 2px);
  }
  .mascot-img {
    max-height: 100%;
  }
  .mascot-body {
    height: 58vh;
  }
  .mascot-bubble {
    max-width: 210px;
    width: min(220px, 82vw);
    padding: 11px 13px;
    font-size: 12px;
  }
  .mascot-widget[data-style="alt"] {
    --mascot-bubble-x: auto;
    --mascot-bubble-y: 18px;
    --mascot-bubble-right: calc(100% - 16px);
  }
  .mascot-chat-log {
    max-height: 88px;
  }
  .mascot-dialog-input {
    height: 30px;
    font-size: 12px;
  }
  .mascot-send {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .yc-copy-shell {
    width: min(100% - 28px, 1180px);
  }
  .yc-copy-topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
    padding: 18px;
  }
  .yc-copy-topbar nav {
    justify-content: flex-start;
  }
  .yc-copy-grid {
    grid-template-columns: 1fr;
  }
  .yc-copy-hero {
    margin-top: 38px;
  }
}

.yc-header-search { display: none; }
.detail-page .yc-header {
  position: sticky;
  top: 0;
  z-index: 72;
  width: 100%;
  grid-template-columns: auto auto 1fr;
  padding: 14px 48px;
  border-bottom: 1px solid var(--detail-border);
  background: color-mix(in srgb, var(--detail-bg) 82%, transparent);
  backdrop-filter: blur(18px);
}
.detail-page .yc-brand { align-items: flex-start; margin: 0; }
.detail-page .yc-header > .yc-nav:first-child { order: 2; }
.detail-page .yc-brand { order: 1; }
.detail-page .yc-nav-right { order: 3; justify-content: flex-end; }
.detail-page .yc-brand strong { font-size: 34px; letter-spacing: .05em; }
.detail-page .yc-brand small,
.detail-page .yc-icon-btn { display: none; }
.detail-page .yc-nav { justify-content: center; }
.detail-page .yc-nav-right { gap: 18px; }
.detail-page .yc-header-search { display: flex; width: min(300px, 24vw); height: 42px; }
.detail-page .yc-header-search input {
  width: 100%;
  padding: 0 18px;
  border: 1px solid var(--detail-border);
  border-radius: 999px;
  outline: 0;
  background: var(--detail-surface);
  color: var(--detail-text);
}
.detail-page {
  min-height: 100vh;
  background: transparent;
  color: var(--detail-text);
}
.detail-page[data-theme="dark"] {
  background: transparent;
}
.detail-page-shell { position: relative; z-index: 2; max-width: 1760px; margin: 0 auto; padding: 24px 48px 56px; }
.detail-hero-compact {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, .85fr) 190px;
  gap: 24px;
  align-items: start;
}
.detail-media-panel,
.detail-info-panel,
.detail-score-card,
.detail-video-card,
.detail-download-card,
.detail-related-card {
  border: 1px solid var(--detail-border);
  background: var(--detail-surface);
  box-shadow: 0 24px 70px rgba(68,42,12,.10);
  backdrop-filter: blur(18px);
}
.detail-page[data-theme="dark"] .detail-media-panel,
.detail-page[data-theme="dark"] .detail-info-panel,
.detail-page[data-theme="dark"] .detail-score-card,
.detail-page[data-theme="dark"] .detail-video-card,
.detail-page[data-theme="dark"] .detail-download-card,
.detail-page[data-theme="dark"] .detail-related-card {
  box-shadow: 0 26px 80px rgba(0,0,0,.42), 0 0 36px rgba(216,183,106,.06);
}
.detail-media-panel,
.detail-info-panel,
.detail-video-card,
.detail-download-card,
.detail-related-card { border-radius: 20px; }
.detail-media-panel { padding: 10px; }
.detail-main-cover { margin: 0; overflow: hidden; border-radius: 18px; }
.detail-main-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-main-cover img.is-broken,
.detail-related-list img.is-broken,
.detail-thumb img.is-broken {
  background: radial-gradient(circle at 50% 35%, rgba(216,183,106,.28), transparent 40%), linear-gradient(135deg, rgba(43,33,24,.18), rgba(199,154,75,.18));
}
.detail-thumb-row { display: grid; grid-template-columns: repeat(5, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.detail-thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--detail-border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.detail-thumb.is-active { border-color: var(--detail-gold-strong); box-shadow: 0 0 0 2px color-mix(in srgb, var(--detail-gold) 36%, transparent); }
.detail-thumb img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.detail-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 900; background: rgba(0,0,0,.28); }
.detail-info-panel { padding: 28px 30px; min-height: 100%; }
.detail-kicker,
.detail-en-title { color: var(--detail-gold); letter-spacing: .24em; }
.detail-info-panel h1 { margin: 6px 0; font-family: var(--yc-serif); font-size: clamp(44px, 4vw, 64px); line-height: 1.05; }
.detail-en-title { margin: 0 0 18px; font-weight: 700; }
.detail-summary {
  display: -webkit-box;
  margin: 0 0 18px;
  color: var(--detail-text-soft);
  line-height: 1.9;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 22px; }
.detail-tags span {
  padding: 6px 13px;
  border: 1px solid var(--detail-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--detail-gold) 12%, transparent);
  color: var(--detail-gold);
  font-weight: 800;
  font-size: 13px;
}
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--detail-border); border-bottom: 1px solid var(--detail-border); }
.detail-facts div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--detail-border); }
.detail-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.detail-facts dt { color: var(--detail-text-soft); }
.detail-facts dd { margin: 0; color: var(--detail-text); }
.detail-action-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 22px; }
.detail-action-row a,
.detail-action-row button { display: grid; place-items: center; min-height: 54px; border-radius: 10px; font-weight: 900; cursor: pointer; }
.detail-primary-action { border: 0; background: linear-gradient(180deg, var(--detail-gold-strong), var(--detail-gold)); color: #fff; }
.detail-secondary-action { border: 1px solid var(--detail-gold); background: transparent; color: var(--detail-gold); }
.detail-score-card { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 18px; text-align: center; }
.detail-score-card span,
.detail-score-card small { color: var(--detail-text-soft); }
.detail-score-card strong { font-family: var(--yc-serif); font-size: 62px; line-height: 1; color: var(--detail-gold); }
.detail-score-card b { color: var(--detail-gold-strong); letter-spacing: .1em; }
.detail-content-grid { display: grid; grid-template-columns: minmax(520px, 2fr) minmax(260px, .85fr) minmax(300px, 1fr); gap: 24px; margin-top: 24px; }
.detail-video-card,
.detail-download-card,
.detail-related-card { padding: 20px; }
.detail-video-card h2,
.detail-download-card h2,
.detail-related-card h2 { margin: 0 0 16px; font-family: var(--yc-serif); font-size: 26px; }
.detail-video-frame,
.detail-video-frame video,
.detail-video-frame iframe,
.detail-video-placeholder { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
.detail-video-frame { overflow: hidden; background: #111; }
.detail-video-frame video,
.detail-video-frame iframe { display: block; object-fit: cover; }
.detail-video-placeholder { display: grid; place-items: center; background-size: cover; background-position: center; color: #fff; cursor: pointer; }
.detail-video-placeholder span { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: rgba(0,0,0,.46); font-size: 28px; }
.detail-intro-copy { color: var(--detail-text-soft); line-height: 1.9; }
.detail-download-list { display: grid; gap: 0; border: 1px solid var(--detail-border); border-radius: 14px; overflow: hidden; }
.detail-download-list article { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--detail-border); }
.detail-download-list article:last-child { border-bottom: 0; }
.detail-download-list small { display: block; margin-top: 4px; color: var(--detail-text-soft); }
.detail-download-list a,
.detail-download-list button { padding: 8px 16px; border: 0; border-radius: 8px; background: linear-gradient(180deg, var(--detail-gold-strong), var(--detail-gold)); color: #fff; font-weight: 900; cursor: pointer; }
.detail-download-card.is-highlighted,
.detail-download-list article.is-highlighted { box-shadow: 0 0 0 4px color-mix(in srgb, var(--detail-gold) 22%, transparent); }
.detail-related-list { display: grid; gap: 12px; }
.detail-related-list a { display: grid; grid-template-columns: 94px 1fr auto; align-items: center; gap: 12px; color: var(--detail-text); }
.detail-related-list img { width: 94px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.detail-related-list small { display: block; margin-top: 5px; color: var(--detail-text-soft); }
.detail-related-list em { color: var(--detail-gold); font-style: normal; font-weight: 900; }
.detail-toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; padding: 10px 16px; border: 1px solid var(--detail-border); border-radius: 999px; background: var(--detail-surface-strong); color: var(--detail-text); opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; }
.detail-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.category-page {
  background: transparent;
}
.category-shell {
  position: relative;
  z-index: 2;
  width: min(1680px, calc(100% - 36px));
  margin: 18px auto 42px;
  padding: 26px 34px 48px;
  border: 1px solid rgba(199,154,75,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(80,55,20,.08);
  backdrop-filter: blur(18px);
}
.category-layout {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 34px;
}
.category-main {
  min-width: 0;
}
.category-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 70vh;
  padding: 12px;
  border: 1px solid rgba(199,154,75,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}
.category-sidebar button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5d5146;
  font-weight: 700;
  text-align: left;
}
.category-sidebar button.is-active,
.category-sidebar button:hover {
  background: rgba(199,154,75,.12);
  color: #c78d37;
}
.category-breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 4px 0 28px;
  color: #9a8c7c;
  font-size: 14px;
}
.category-head-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(199,154,75,.12);
}
.category-head-compact.has-ad {
  grid-template-columns: 1fr auto;
}
.category-head-compact h1 {
  margin: 0 0 8px;
  font-family: var(--yc-serif);
  font-size: 42px;
  color: #2b2118;
}
.category-head-compact p {
  margin: 0;
  color: #8a7a66;
}
.category-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  color: #8a7a66;
  font-size: 13px;
}
.category-mini-stats b {
  color: #c78d37;
  font-weight: 900;
}
.category-ad-mini {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 520px;
  height: 96px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(199,154,75,.16);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(248,238,216,.74), rgba(255,255,255,.28));
}
.category-ad-mini img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}
.category-ad-mini span,
.category-ad-mini em {
  position: relative;
  z-index: 1;
}
.category-ad-mini b,
.category-ad-mini small {
  display: block;
}
.category-ad-mini em {
  padding: 8px 12px;
  border-radius: 999px;
  background: #c79a4b;
  color: #fff;
  font-style: normal;
  font-weight: 900;
}
.category-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  margin: 22px 0 18px;
}
.category-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(199,154,75,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
}
.category-toolbar label span {
  color: #c78d37;
}
.category-toolbar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
}
.category-toolbar button,
.category-filter-tags button,
.category-pagination button,
.category-pagination b {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(199,154,75,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.76);
  color: #5d5146;
  font-weight: 700;
}
.category-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  max-width: 100%;
}
.category-filter-tags button.is-active,
.category-pagination b {
  background: linear-gradient(180deg, #e5c684, #c9933c);
  color: #fff;
}
.category-grid {
  display: grid;
  gap: 20px;
}
.game-landscape-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.movie-poster-grid,
.movie-landscape-grid,
.category-landscape-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.category-resource-card {
  overflow: hidden;
  border: 1px solid rgba(199,154,75,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 32px rgba(70,45,20,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.category-resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,154,75,.28);
  box-shadow: 0 22px 46px rgba(70,45,20,.12);
}
.category-resource-card[hidden] {
  display: none;
}
.category-resource-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.category-resource-card figure img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(199,154,75,.18), rgba(255,255,255,.62));
}
.game-landscape-grid .category-resource-card figure img,
.movie-landscape-grid .category-resource-card figure img,
.category-landscape-grid .category-resource-card figure img {
  aspect-ratio: 16 / 9;
}
.movie-poster-grid .category-resource-card figure img,
.movie-poster-grid .movie-poster-frame img {
  aspect-ratio: 2 / 3;
}
.movie-poster-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 16px;
}
.category-resource-card figure span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(199,154,75,.86);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.category-resource-card div {
  padding: 14px;
}
.category-resource-card h2 {
  margin: 0 0 7px;
  font-size: 18px;
  color: #2b2118;
}
.category-resource-card p,
.category-resource-card em,
.category-resource-card small {
  display: block;
  color: #8a7a66;
  font-style: normal;
  line-height: 1.55;
}
.category-resource-card em {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.category-resource-card small {
  margin-top: 10px;
  font-size: 12px;
}
.category-resource-card small b {
  float: right;
  color: #c78d37;
}
.category-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 0;
}

@media (max-width: 1380px) {
  .game-landscape-grid,
  .movie-landscape-grid,
  .category-landscape-grid,
  .movie-poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1120px) {
  .category-layout { grid-template-columns: 1fr; }
  .category-sidebar {
    position: static;
    display: flex;
    min-height: auto;
    overflow-x: auto;
  }
  .category-sidebar button { flex: 0 0 auto; }
  .game-landscape-grid,
  .movie-landscape-grid,
  .category-landscape-grid,
  .movie-poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .category-shell {
    width: min(100% - 20px, 1680px);
    padding: 18px 14px 34px;
  }
  .category-head-compact,
  .category-head-compact.has-ad,
  .category-toolbar {
    grid-template-columns: 1fr;
  }
  .category-ad-mini { display: none; }
  .category-sidebar,
  .category-filter-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
  .category-filter-tags button {
    flex: 0 0 auto;
  }
  .game-landscape-grid,
  .movie-landscape-grid,
  .category-landscape-grid,
  .movie-poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-resource-card h2 { font-size: 16px; }
}

.template-page {
  min-height: 100vh;
}
.template-shell {
  position: relative;
  z-index: 2;
  width: min(1420px, calc(100% - 80px));
  margin: 0 auto;
  padding: 34px 0 70px;
}
.template-hero {
  margin: 28px 0 24px;
  padding: 34px 38px;
  border: 1px solid var(--yc-line);
  border-radius: 24px;
  background: rgba(255,250,240,.68);
  box-shadow: 0 24px 70px rgba(68,42,12,.10);
  backdrop-filter: blur(18px);
}
body[data-theme="dark"] .template-hero,
body[data-theme="dark"] .template-result-card,
body[data-theme="dark"] .template-topic-card,
body[data-theme="dark"] .template-info-grid article {
  background: rgba(18,17,14,.78);
}
.template-hero span,
.template-result-card span,
.template-topic-card small {
  color: var(--yc-champagne);
  font-weight: 900;
  letter-spacing: .16em;
}
.template-hero h1 {
  margin: 8px 0 12px;
  font-family: var(--yc-serif);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.04;
}
.template-hero p {
  max-width: 760px;
  color: var(--yc-muted);
  line-height: 1.9;
}
.template-search {
  width: min(780px, 100%);
  height: 58px;
  margin-top: 22px;
}
.template-search input {
  width: 100%;
  height: 100%;
  padding: 0 24px;
  border: 1px solid var(--yc-line);
  border-radius: 999px;
  outline: 0;
  background: rgba(255,255,255,.5);
  color: var(--yc-ink);
}
.template-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.template-result-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--yc-line);
  border-radius: 18px;
  background: rgba(255,250,240,.68);
  box-shadow: 0 18px 48px rgba(68,42,12,.09);
  backdrop-filter: blur(16px);
}
.template-result-card[hidden] {
  display: none;
}
.template-result-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 12px;
}
.template-result-card h2,
.template-topic-card h2,
.template-info-grid h2 {
  margin: 8px 0;
  font-family: var(--yc-serif);
  font-size: 25px;
}
.template-result-card p,
.template-topic-card p,
.template-info-grid p {
  color: var(--yc-muted);
  line-height: 1.75;
}
.template-result-card small {
  color: var(--yc-muted);
}
.template-topic-grid,
.template-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.template-topic-card,
.template-info-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--yc-line);
  border-radius: 22px;
  background: rgba(255,250,240,.68);
  box-shadow: 0 18px 48px rgba(68,42,12,.09);
  backdrop-filter: blur(16px);
}
.template-topic-card b {
  display: inline-flex;
  margin-top: 12px;
  color: var(--yc-champagne);
}

@media (max-width: 1100px) {
  .template-result-grid,
  .template-topic-grid,
  .template-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .template-result-card {
    grid-template-columns: 130px 1fr;
  }
}

@media (max-width: 680px) {
  .template-shell {
    width: min(100% - 28px, 1420px);
  }
  .template-result-grid,
  .template-topic-grid,
  .template-info-grid,
  .template-result-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1220px) {
  .detail-hero-compact,
  .detail-content-grid { grid-template-columns: 1fr; }
  .detail-score-card { max-width: 260px; }
}
@media (max-width: 760px) {
  .detail-page-shell { padding: 18px 16px 40px; }
  .detail-page .yc-header { padding: 14px 18px; }
  .detail-page .yc-header-search { width: 100%; }
  .detail-thumb-row { display: flex; overflow-x: auto; }
  .detail-thumb { flex: 0 0 120px; }
  .detail-facts,
  .detail-action-row { grid-template-columns: 1fr; }
  .detail-related-list a { grid-template-columns: 82px 1fr auto; }
}

/* 影视分类：热门横滑（新模板风格） */
.yc-movie-hot {
  margin: 0 0 28px;
  padding: 22px 24px 18px;
  border-radius: 22px;
  border: 1px solid rgba(199, 154, 75, 0.18);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 18px 48px rgba(80, 55, 20, 0.08);
  backdrop-filter: blur(14px);
}
.detail-page .yc-category-hot {
  margin-bottom: 22px;
  padding: 18px 20px 14px;
}
.yc-movie-hot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.yc-movie-hot-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--yc-muted);
}
.yc-movie-hot-head h2 {
  margin: 0;
  font-family: var(--yc-serif);
  font-size: clamp(24px, 2.4vw, 32px);
}
.yc-movie-hot-controls {
  display: flex;
  gap: 10px;
}
.yc-movie-hot-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--yc-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--yc-ink);
  font-size: 24px;
  line-height: 1;
}
.yc-movie-hot-rail-wrap {
  overflow: hidden;
  min-width: 0;
  contain: paint;
}
.yc-movie-hot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
  max-width: 100%;
  width: 100%;
  contain: paint;
}
.yc-movie-hot-rail::-webkit-scrollbar {
  display: none;
}
.yc-movie-hot-slide {
  scroll-snap-align: center;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(199, 154, 75, 0.16);
  background: #16110c;
  color: #fff7e8;
  box-shadow: 0 20px 44px rgba(40, 25, 10, 0.22);
  text-decoration: none;
}
.detail-page .yc-movie-hot-rail {
  grid-auto-columns: minmax(260px, 24%);
}
.detail-page .yc-movie-hot-slide {
  display: grid;
  grid-template-rows: 132px auto;
  height: 246px;
}
.yc-movie-hot-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.yc-movie-hot-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.yc-movie-hot-slide:hover .yc-movie-hot-visual img {
  transform: scale(1.04);
}
.yc-movie-hot-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 22px 20px;
  background: linear-gradient(180deg, rgba(12, 8, 4, 0) 0%, rgba(12, 8, 4, 0.72) 42%, rgba(12, 8, 4, 0.92) 100%);
}
.yc-movie-hot-overlay strong {
  display: block;
  font-family: var(--yc-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  margin-bottom: 8px;
}
.yc-movie-hot-overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 247, 232, 0.86);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.yc-movie-hot-overlay .yc-movie-hot-tags {
  margin-bottom: 10px;
}
.yc-movie-hot-empty-cover {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, #2a2118, #16110c);
}
.yc-movie-hot-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(199, 154, 75, 0.88);
  color: #1f1408;
  font-size: 11px;
  font-weight: 700;
}
.yc-movie-hot-copy {
  display: none;
}
.yc-movie-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yc-movie-hot-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
}
@media (max-width: 760px) {
  .yc-movie-hot {
    padding: 16px;
  }
  .yc-movie-hot-head {
    align-items: flex-start;
  }
  .yc-movie-hot-overlay {
    padding: 36px 16px 16px;
  }
  .yc-movie-hot-overlay strong {
    font-size: 20px;
  }
}
.yc-movie-hot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.yc-movie-hot-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(167, 121, 52, 0.28);
  padding: 0;
}
.yc-movie-hot-dots button.is-active {
  background: var(--yc-champagne);
}
.yc-movie-hot-empty {
  padding: 28px;
  text-align: center;
  color: var(--yc-muted);
}
.yc-resource-downloads .episode-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  margin: 0 8px 8px 0;
  border-radius: 10px;
  border: 1px solid rgba(199, 154, 75, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
}

/* Visual polish pass: champagne metal edges, softer identity, richer cards. */
.yc-search,
.yc-pick-card,
.category-resource-card,
.yc-category-card,
.template-result-card,
.template-topic-card,
.template-info-grid article,
.detail-media-panel,
.detail-info-panel,
.detail-score-card,
.detail-video-card,
.detail-download-card,
.detail-related-card,
.yc-movie-hot {
  position: relative;
  border-color: rgba(199,154,75,.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,250,240,.64)) padding-box,
    linear-gradient(135deg, rgba(255,241,199,.70), rgba(199,154,75,.18) 35%, rgba(255,255,255,.42) 52%, rgba(167,121,52,.26)) border-box;
  box-shadow:
    0 18px 50px rgba(68,42,12,.08),
    inset 0 1px 0 rgba(255,255,255,.82),
    inset 0 -1px 0 rgba(167,121,52,.08);
}

.yc-pick-card::before,
.category-resource-card::before,
.yc-category-card::before,
.template-result-card::before,
.template-topic-card::before,
.detail-media-panel::before,
.detail-info-panel::before,
.detail-score-card::before,
.detail-video-card::before,
.detail-download-card::before,
.detail-related-card::before,
.yc-movie-hot::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,246,214,.92), transparent);
  pointer-events: none;
}

.category-resource-card:hover,
.yc-category-card:hover,
.template-result-card:hover,
.template-topic-card:hover {
  border-color: rgba(199,154,75,.38);
  box-shadow:
    0 24px 58px rgba(68,42,12,.13),
    0 0 28px rgba(216,183,106,.13),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.category-resource-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,244,214,.20) 45%, transparent 58% 100%);
  opacity: .42;
  mix-blend-mode: screen;
}

.category-resource-card h2,
.yc-category-card h2,
.template-result-card h2,
.detail-info-panel h1,
.detail-video-card h2,
.detail-download-card h2,
.detail-related-card h2 {
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255,255,255,.42);
}

body[data-theme="dark"] .yc-search,
body[data-theme="dark"] .yc-pick-card,
body[data-theme="dark"] .category-resource-card,
body[data-theme="dark"] .yc-category-card,
body[data-theme="dark"] .template-result-card,
body[data-theme="dark"] .template-topic-card,
body[data-theme="dark"] .template-info-grid article,
body[data-theme="dark"] .detail-media-panel,
body[data-theme="dark"] .detail-info-panel,
body[data-theme="dark"] .detail-score-card,
body[data-theme="dark"] .detail-video-card,
body[data-theme="dark"] .detail-download-card,
body[data-theme="dark"] .detail-related-card,
body[data-theme="dark"] .yc-movie-hot {
  background:
    linear-gradient(180deg, rgba(24,22,18,.84), rgba(10,9,7,.78)) padding-box,
    linear-gradient(135deg, rgba(240,195,111,.48), rgba(216,183,106,.14) 44%, rgba(255,255,255,.14) 56%, rgba(167,121,52,.24)) border-box;
  box-shadow:
    0 20px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.09);
}

html,
body,
.yc-page {
  max-width: 100%;
  overflow-x: hidden;
}

/* Stronger homepage cover metal rim (non-home subpages only). */
body.yc-subpage .yc-cover-card {
  border: 1px solid rgba(255, 239, 194, .86);
  background:
    linear-gradient(145deg, rgba(22,17,12,.98), rgba(7,6,5,.98)) padding-box,
    linear-gradient(145deg,
      #fff8df 0%,
      #f4d99a 12%,
      #b9873f 31%,
      #fff0b8 50%,
      #d0a15a 72%,
      #fff7dc 100%
    ) border-box;
  box-shadow:
    0 36px 80px rgba(40, 25, 10, 0.30),
    0 0 0 1px rgba(255, 250, 226, .56),
    0 0 0 3px rgba(210, 160, 84, .28),
    0 0 28px rgba(216,183,106,.18),
    inset 0 0 0 1px rgba(255,252,236,.42),
    inset 0 0 24px rgba(216,183,106,.12);
}

body.yc-subpage .yc-cover-card.is-active {
  border-color: rgba(255, 246, 212, .98);
  box-shadow:
    0 48px 112px rgba(40, 25, 10, 0.38),
    0 0 0 1px rgba(255, 252, 232, .82),
    0 0 0 4px rgba(216, 176, 96, .34),
    0 0 34px rgba(255, 224, 154, .30),
    0 0 72px rgba(216,183,106,.16),
    inset 0 0 0 1px rgba(255,252,236,.58),
    inset 0 0 36px rgba(216,183,106,.18);
}

.yc-cover-card::before {
  inset: -2px;
  z-index: 7;
  padding: 0;
  border: 2px solid rgba(255, 244, 205, .72);
  background:
    linear-gradient(var(--rim-angle, 132deg),
      rgba(255,255,248,.96) 0%,
      rgba(255,232,167,.72) 16%,
      rgba(190,137,63,.36) 36%,
      rgba(255,252,232,.82) 52%,
      rgba(218,171,91,.62) 74%,
      rgba(255,248,220,.90) 100%
    ) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.38),
    inset 0 0 10px rgba(255,237,184,.22),
    0 0 22px rgba(216,183,106,.18);
  opacity: var(--rim-opacity, .70);
  mask: none;
  -webkit-mask: none;
  mix-blend-mode: screen;
}

.yc-cover-card .yc-cover-content {
  box-shadow:
    inset 0 0 0 1px rgba(255,245,212,.16),
    inset 0 0 0 2px rgba(181,128,55,.08);
}

.yc-home .yc-cover-card .yc-cover-content {
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.yc-home .yc-cover-card .yc-cover-text-panel {
  box-shadow: inset 0 1px 0 rgba(255, 250, 236, .34) !important;
}

.yc-cover-card::after {
  z-index: 1;
}

.yc-cover-card .yc-cover-shine {
  z-index: 6;
}

.yc-cover-card .yc-cover-shine::after {
  content: "";
  position: absolute;
  top: 8%;
  right: 8%;
  width: 34%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,248,220,.36), rgba(255,248,220,0) 70%);
  filter: blur(6px);
  opacity: .5;
}

.yc-cover-card.is-active .yc-cover-shine::after {
  opacity: .72;
}

/* Homepage premium pass: quiet metal, glass depth, and motion. */
.yc-home {
  isolation: isolate;
}

.yc-home::before {
  content: "";
  position: absolute;
  inset: 96px -8vw auto -8vw;
  height: 680px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 31%, rgba(199,154,75,.12) 31.3%, transparent 31.7%),
    linear-gradient(68deg, transparent 0 62%, rgba(255,239,194,.16) 62.2%, transparent 62.8%),
    radial-gradient(ellipse at 54% 18%, rgba(255,255,248,.92), rgba(255,250,237,.38) 42%, rgba(255,255,255,0) 72%);
  filter: saturate(1.02);
}

.yc-search {
  overflow: visible;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,254,249,.88), rgba(255,249,235,.70)) padding-box,
    linear-gradient(132deg, rgba(255,250,224,.96), rgba(207,162,83,.34) 24%, rgba(255,255,255,.80) 49%, rgba(176,126,54,.32) 76%, rgba(255,246,210,.84)) border-box;
  box-shadow:
    0 22px 60px rgba(68,42,12,.10),
    0 0 0 1px rgba(255,255,255,.64),
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(174,126,56,.12);
}

.yc-search::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.58);
  box-shadow: inset 0 0 18px rgba(216,183,106,.08);
}

.yc-search::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255,243,199,.72), transparent 22%);
  opacity: .42;
  mix-blend-mode: screen;
}

.yc-hero {
  height: 590px;
  min-height: 590px;
  margin-top: 18px;
}

.yc-hero::before {
  top: 0;
  left: 8%;
  right: 12%;
  height: 82%;
  opacity: .82;
}

.yc-hero::after {
  bottom: 6px;
  height: 190px;
  background:
    radial-gradient(ellipse at center, rgba(113,84,43,.17), rgba(113,84,43,0) 68%),
    linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  filter: blur(1px);
}

.yc-coverflow {
  perspective: 2800px;
}

.yc-cover-card {
  overflow: hidden;
}

.yc-home .yc-cover-card {
  outline: none;
}

.yc-cover-card.is-active {
  outline: none;
}

.yc-cover-card .yc-cover-shine {
  background:
    linear-gradient(116deg, transparent 0 18%, rgba(255,246,215,.12) 30%, rgba(255,255,255,.33) 39%, transparent 51%),
    radial-gradient(circle at 26% 13%, rgba(255,245,204,.25), transparent 24%);
}

.yc-cover-card.is-active .yc-cover-shine {
  animation: yc-card-sweep 5.6s ease-in-out infinite;
}

@keyframes yc-card-sweep {
  0%, 42%, 100% { transform: translateX(-16%) rotate(0.001deg); opacity: .50; }
  58% { transform: translateX(14%) rotate(0.001deg); opacity: .78; }
}

.yc-home-ribbon {
  position: relative;
  z-index: 22;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 196px 0 40px;
}

.yc-ribbon-item {
  position: relative;
  min-height: 124px;
  padding: 20px 22px 18px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--yc-ink);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,254,249,.80), rgba(255,249,236,.58)) padding-box,
    linear-gradient(132deg, rgba(255,249,221,.96), rgba(205,158,80,.24) 28%, rgba(255,255,255,.74) 52%, rgba(176,124,54,.25) 78%, rgba(255,246,211,.80)) border-box;
  box-shadow:
    0 18px 46px rgba(68,42,12,.075),
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(174,126,56,.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.yc-ribbon-item::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.58);
  pointer-events: none;
}

.yc-ribbon-item::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background:
    radial-gradient(circle at var(--spot-x, 24%) var(--spot-y, 18%), rgba(255,238,190,.54), transparent 18%),
    linear-gradient(112deg, transparent 0 36%, rgba(255,255,255,.36) 45%, transparent 56%);
  opacity: .38;
  transform: translateX(-18%);
  transition: opacity .28s ease, transform .38s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.yc-ribbon-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 68px rgba(68,42,12,.12),
    0 0 26px rgba(216,183,106,.14),
    inset 0 1px 0 rgba(255,255,255,.98);
}

.yc-ribbon-item:hover::after {
  opacity: .72;
  transform: translateX(0);
}

.yc-ribbon-item small {
  display: block;
  margin-bottom: 14px;
  color: rgba(142,100,45,.82);
  font-family: var(--yc-serif);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.yc-ribbon-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--yc-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .02em;
}

.yc-ribbon-item span {
  display: block;
  color: var(--yc-muted);
  font-size: 13px;
  line-height: 1.55;
}

.yc-section {
  position: relative;
}

.yc-section-head h2 {
  font-family: var(--yc-serif);
  font-weight: 600;
  letter-spacing: .03em;
}

.yc-section-head h2::before {
  color: rgba(199,154,75,.92);
  text-shadow: 0 0 14px rgba(216,183,106,.34);
}

.yc-pick-card {
  display: block;
  min-height: 176px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease;
}

.yc-pick-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 68px rgba(68,42,12,.14),
    0 0 30px rgba(216,183,106,.14),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.yc-pick-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 12%), rgba(255,243,204,.46), transparent 20%),
    linear-gradient(112deg, transparent 0 35%, rgba(255,255,255,.24) 45%, transparent 58%);
  opacity: .32;
  transition: opacity .25s ease;
  mix-blend-mode: screen;
}

.yc-pick-card:hover::after {
  opacity: .68;
}

.yc-pick-cover {
  height: 108px;
  border-radius: 13px;
  border: 1px solid rgba(255,240,199,.42);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.16),
    0 12px 26px rgba(46,30,12,.12);
}

.yc-pick-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(16,12,8,.35)), linear-gradient(118deg, transparent 0 36%, rgba(255,247,220,.20) 45%, transparent 56%);
}

.yc-pick-meta {
  position: relative;
  z-index: 2;
  padding: 0 2px 2px;
}

.yc-tag-cloud a {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,250,.80), rgba(255,248,234,.56)) padding-box,
    linear-gradient(135deg, rgba(255,247,215,.92), rgba(199,154,75,.24), rgba(255,255,255,.66), rgba(176,126,54,.22)) border-box;
  box-shadow:
    0 10px 24px rgba(68,42,12,.06),
    inset 0 1px 0 rgba(255,255,255,.86);
  transition: transform .24s ease, box-shadow .24s ease, color .24s ease;
}

.yc-tag-cloud a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255,241,198,.62), transparent 36%);
  opacity: 0;
  transition: opacity .24s ease;
}

.yc-tag-cloud a:hover {
  transform: translateY(-2px);
  color: var(--yc-gold-strong);
  box-shadow:
    0 16px 34px rgba(68,42,12,.10),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.yc-tag-cloud a:hover::after {
  opacity: .56;
}

.yc-reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition:
    opacity .65s ease var(--reveal-delay, 0ms),
    transform .65s ease var(--reveal-delay, 0ms),
    filter .65s ease var(--reveal-delay, 0ms);
}

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

@media (max-width: 1180px) {
  .yc-home-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .yc-hero {
    height: 500px;
    min-height: 500px;
  }

  .yc-home-ribbon {
    grid-template-columns: 1fr;
    margin: 8px 0 30px;
  }

  .yc-ribbon-item {
    min-height: 108px;
  }

  .yc-pick-card {
    min-height: 164px;
  }
}

/* Compact game catalog and resource detail. */
.category-page-game .category-shell {
  z-index: auto;
  width: min(1640px, calc(100% - 32px));
  margin: 12px auto 34px;
  padding: 18px 22px 34px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,254,250,.82), rgba(255,249,238,.66)) padding-box,
    linear-gradient(135deg, rgba(255,248,220,.90), rgba(199,154,75,.16), rgba(255,255,255,.68), rgba(176,126,54,.16)) border-box;
  box-shadow:
    0 22px 62px rgba(68,42,12,.07),
    inset 0 1px 0 rgba(255,255,255,.94);
  backdrop-filter: none;
}

.yc-map-link {
  color: var(--yc-gold) !important;
  font-size: 12px;
}

.category-page-entertainment .category-shell {
  width: min(1480px, calc(100% - 32px));
  padding: 18px 22px 40px;
}

.category-page-entertainment .category-layout {
  display: block;
}

.category-page-entertainment .category-breadcrumb {
  margin-bottom: 10px;
}

.category-page-entertainment .yc-shorts-title {
  align-items: flex-end;
  margin-bottom: 12px;
}

.category-page-entertainment .yc-shorts-title small {
  display: block;
  margin-bottom: 3px;
  color: rgba(145,103,49,.72);
  font-family: var(--yc-serif);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.yc-entertainment-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
  overflow-x: auto;
}

.yc-entertainment-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(199,154,75,.18);
  border-radius: 9px;
  background: rgba(255,253,247,.66);
  color: var(--yc-muted);
  cursor: pointer;
}

.yc-entertainment-tabs button.is-active {
  background: linear-gradient(180deg, #e8ce96, #c99a4b);
  color: #2b2118;
}

.yc-entertainment-empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 36px;
  border: 1px dashed rgba(199,154,75,.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(216,183,106,.17), transparent 34%),
    rgba(255,253,247,.55);
  text-align: center;
}

.yc-entertainment-empty span {
  color: var(--yc-gold);
  font-size: 11px;
  letter-spacing: .12em;
}

.yc-entertainment-empty h2 {
  margin: 8px 0;
  font-family: var(--yc-serif);
  font-size: 28px;
}

.yc-entertainment-empty p {
  max-width: 56ch;
  margin: 0;
  color: var(--yc-muted);
  line-height: 1.7;
}

.hot-tracking-hero {
  padding-bottom: 24px;
}

.hot-tracking-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 14px;
  margin: 18px 0 24px;
}

.hot-tracking-grid article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,254,249,.88), rgba(255,249,238,.70)) padding-box,
    linear-gradient(135deg, rgba(255,247,215,.90), rgba(199,154,75,.17), rgba(255,255,255,.70)) border-box;
  box-shadow: 0 16px 38px rgba(68,42,12,.07);
}

.hot-tracking-grid .hot-track-lead {
  background:
    linear-gradient(135deg, rgba(41,31,22,.96), rgba(92,65,32,.90)) padding-box,
    linear-gradient(135deg, #fff2c6, #bd873c 44%, #fff8df) border-box;
  color: #fff8e9;
}

.hot-tracking-grid small,
.hot-tracking-list header small {
  color: #b9853c;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hot-tracking-grid h2 {
  margin: 12px 0 8px;
  font-family: var(--yc-serif);
  font-size: 25px;
}

.hot-tracking-grid p {
  color: var(--yc-muted);
  line-height: 1.7;
}

.hot-track-lead p {
  color: rgba(255,248,233,.72);
}

.hot-tracking-grid a {
  display: inline-block;
  margin-top: 12px;
  color: #f0ca7c;
  font-weight: 700;
}

.hot-tracking-list {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,253,247,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}

.hot-tracking-list header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hot-tracking-list header h2 {
  margin: 3px 0 0;
  font-family: var(--yc-serif);
}

.hot-tracking-list > a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(199,154,75,.13);
  color: var(--yc-ink);
}

.hot-tracking-list > a > span {
  color: rgba(145,103,49,.58);
  font-family: var(--yc-serif);
  font-size: 20px;
}

.hot-tracking-list h3,
.hot-tracking-list p {
  margin: 0;
}

.hot-tracking-list p {
  margin-top: 4px;
  color: var(--yc-muted);
  font-size: 12px;
}

.hot-tracking-list b {
  color: var(--yc-gold);
  font-size: 11px;
}

.hot-track-empty {
  padding: 34px;
  color: var(--yc-muted);
  text-align: center;
}

.yc-copyright-notice {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid rgba(199,154,75,.15);
  border-radius: 12px;
  background: rgba(255,253,247,.62);
  color: var(--yc-muted);
  font-size: 11px;
  line-height: 1.65;
}

.yc-copyright-notice strong {
  color: var(--yc-ink);
  font-family: var(--yc-serif);
  font-size: 15px;
}

.yc-copyright-notice p {
  margin: 0;
}

.yc-copyright-notice div {
  display: flex;
  gap: 8px;
}

.yc-copyright-notice a {
  white-space: nowrap;
  color: var(--yc-gold);
}

@media (max-width: 900px) {
  .hot-tracking-grid {
    grid-template-columns: 1fr;
  }

  .yc-copyright-notice {
    grid-template-columns: 1fr;
  }
}

.category-page-game .category-layout {
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 20px;
}

.category-page-game .category-sidebar {
  top: 18px;
  align-self: start;
  gap: 3px;
  min-height: auto;
  padding: 8px;
  border: 1px solid rgba(199,154,75,.13);
  border-radius: 13px;
  background: rgba(255,253,247,.68);
  box-shadow:
    0 14px 36px rgba(68,42,12,.055),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.category-page-game .category-sidebar button {
  min-height: 35px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 600;
  transition:
    transform .28s cubic-bezier(.22,.8,.2,1),
    background .28s cubic-bezier(.22,.8,.2,1),
    color .28s cubic-bezier(.22,.8,.2,1);
}

.category-page-game .category-sidebar button::before {
  content: "◇";
  color: rgba(199,154,75,.66);
  font-size: 10px;
}

.category-page-game .category-sidebar button.is-active,
.category-page-game .category-sidebar button:hover {
  transform: translateX(2px);
  background: rgba(199,154,75,.11);
  color: #8c6125;
}

.category-page-game .category-breadcrumb {
  margin: 2px 0 10px;
  font-size: 12px;
}

.category-page-game .yc-movie-hot {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 15px;
}

.category-page-game .yc-movie-hot-head {
  margin-bottom: 10px;
}

.category-page-game .yc-movie-hot-head h2 {
  font-size: 22px;
}

.category-page-game .yc-movie-hot-rail {
  grid-auto-columns: minmax(290px, 30%);
  gap: 11px;
}

.category-page-game .yc-movie-hot-slide {
  min-height: 174px;
  border-radius: 12px;
}

.category-page-game .category-head-compact {
  margin-bottom: 12px;
  padding: 2px 2px 12px;
  border-bottom-color: rgba(199,154,75,.13);
}

.category-kicker {
  display: block;
  margin-bottom: 3px;
  color: rgba(145,103,49,.72);
  font-family: var(--yc-serif);
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.category-page-game .category-head-compact h1 {
  margin-bottom: 2px;
  font-size: 32px;
  font-weight: 600;
}

.category-page-game .category-head-compact p {
  font-size: 13px;
}

.category-page-game .category-toolbar {
  position: relative;
  z-index: 82;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 9px;
  margin: 12px 0 10px;
}

.category-page-game .category-toolbar label {
  height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255,255,252,.86), rgba(255,250,240,.68)) padding-box,
    linear-gradient(135deg, rgba(255,248,218,.90), rgba(199,154,75,.18), rgba(255,255,255,.66)) border-box;
}

.category-page-game .category-toolbar button {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition:
    transform .28s cubic-bezier(.22,.8,.2,1),
    box-shadow .28s cubic-bezier(.22,.8,.2,1);
}

.category-page-game .category-toolbar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(68,42,12,.08);
}

.category-page-game .category-filter-tags {
  gap: 6px;
  margin-bottom: 12px;
}

.category-page-game .category-filter-tags button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

.category-page-game .game-landscape-grid {
  gap: 12px;
}

.category-page-game .category-resource-card {
  border: 1px solid transparent;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255,254,250,.90), rgba(255,249,238,.72)) padding-box,
    linear-gradient(138deg, rgba(255,247,215,.90), rgba(199,154,75,.17), rgba(255,255,255,.70), rgba(176,126,54,.15)) border-box;
  box-shadow:
    0 12px 28px rgba(68,42,12,.065),
    inset 0 1px 0 rgba(255,255,255,.94);
  transition:
    transform .38s cubic-bezier(.22,.8,.2,1),
    box-shadow .38s cubic-bezier(.22,.8,.2,1);
}

.category-page-game .category-resource-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    0 20px 44px rgba(68,42,12,.12),
    0 0 20px rgba(216,183,106,.09),
    inset 0 1px 0 rgba(255,255,255,.98);
}

.category-page-game .category-resource-card figure {
  margin: 5px 5px 0;
  border-radius: 8px;
}

.category-page-game .category-resource-card figure img {
  transition: transform .55s cubic-bezier(.22,.8,.2,1);
}

.category-page-game .category-resource-card:hover figure img {
  transform: scale(1.035);
}

.category-page-game .category-resource-card figure span {
  left: 8px;
  top: 8px;
  padding: 3px 7px;
  border: 1px solid rgba(255,244,211,.34);
  border-radius: 7px;
  background: rgba(42,31,20,.76);
  color: #f4cb78;
  font-size: 10px;
}

.category-page-game .category-resource-card > div {
  padding: 10px 11px 11px;
}

.category-page-game .category-resource-card h2 {
  margin-bottom: 4px;
  font-family: var(--yc-serif);
  font-size: 15px;
  font-weight: 600;
}

.category-page-game .category-resource-card p {
  font-size: 11px;
}

.category-page-game .category-resource-card em {
  margin-top: 2px;
  font-size: 11px;
}

.category-page-game .category-resource-card small {
  margin-top: 7px;
  font-size: 10px;
}

.category-page-game .category-pagination {
  gap: 7px;
  margin-top: 24px;
}

.category-page-game .category-pagination button,
.category-page-game .category-pagination b {
  min-width: 30px;
  height: 30px;
  font-size: 12px;
}

/* --- Movie category: portrait poster grid --- */
.category-page-movie .movie-poster-grid {
  gap: 20px 18px;
}

.category-page-movie .movie-poster-card {
  border-radius: 14px;
  background: rgba(255,255,255,.92);
}

.category-page-movie .movie-poster-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(70,45,20,.14);
}

.category-page-movie .movie-poster-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #f3ece2, #e8dfd3);
}

.category-page-movie .movie-poster-frame img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.category-page-movie .movie-card-score {
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 38px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(199,141,55,.94);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 4px 12px rgba(120,80,20,.25);
}

.category-page-movie .movie-card-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24,18,12,.78);
  color: #f4cb78;
  font-size: 11px;
  font-weight: 700;
}

.category-page-movie .movie-card-body {
  padding: 12px 13px 14px;
}

.category-page-movie .movie-poster-card h2 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #2b2118;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.category-page-movie .movie-card-type {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #a07840;
}

.category-page-movie .movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-page-movie .movie-card-meta span {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(199,154,75,.12);
  color: #6f5a42;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.category-page-movie .movie-card-meta .movie-card-status {
  background: rgba(90,120,180,.12);
  color: #4a6088;
}

.category-page-movie .category-filter-tags button.is-active {
  background: rgba(199,141,55,.18);
  color: #8a5a18;
  font-weight: 700;
}

@media (max-width: 1380px) {
  .category-page-movie .movie-poster-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .category-page-movie .movie-poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .category-page-movie .movie-poster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .category-page-movie .movie-poster-card h2 {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .category-page-movie .movie-poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.category-page-game .category-pagination button,
.category-page-game .category-pagination b {
  min-width: 34px;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 9px;
}

.detail-page .detail-page-shell {
  max-width: 1640px;
  padding: 18px 32px 42px;
}

.detail-page .detail-hero-compact {
  grid-template-columns: minmax(480px, 1.12fr) minmax(390px, .88fr) 158px;
  gap: 14px;
}

.detail-page .detail-media-panel,
.detail-page .detail-info-panel,
.detail-page .detail-score-card,
.detail-page .detail-video-card,
.detail-page .detail-download-card,
.detail-page .detail-related-card {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,254,250,.86), rgba(255,249,238,.68)) padding-box,
    linear-gradient(135deg, rgba(255,248,220,.90), rgba(199,154,75,.17), rgba(255,255,255,.68), rgba(176,126,54,.16)) border-box;
  box-shadow:
    0 17px 44px rgba(68,42,12,.075),
    inset 0 1px 0 rgba(255,255,255,.94);
  backdrop-filter: none;
}

.detail-page .detail-media-panel,
.detail-page .detail-info-panel,
.detail-page .detail-video-card,
.detail-page .detail-download-card,
.detail-page .detail-related-card {
  border-radius: 14px;
}

.detail-page .detail-media-panel {
  padding: 7px;
}

.detail-page .detail-main-cover {
  border-radius: 10px;
}

.detail-page .detail-thumb-row {
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.detail-page .detail-thumb {
  border-radius: 7px;
}

.detail-page .detail-info-panel {
  padding: 20px 22px;
}

.detail-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-version {
  padding: 4px 8px;
  border: 1px solid rgba(199,154,75,.18);
  border-radius: 7px;
  background: rgba(199,154,75,.08);
  color: var(--detail-text-soft);
  font-size: 10px;
}

.detail-page .detail-kicker,
.detail-page .detail-en-title {
  font-size: 11px;
  letter-spacing: .16em;
}

.detail-page .detail-info-panel h1 {
  margin: 5px 0 2px;
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 600;
}

.detail-page .detail-en-title {
  margin-bottom: 10px;
}

.detail-page .detail-summary {
  margin-bottom: 10px;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  font-size: 13px;
}

.detail-page .detail-tags {
  gap: 6px;
  margin: 10px 0 13px;
}

.detail-page .detail-tags span {
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 600;
}

.detail-page .detail-facts div {
  grid-template-columns: 68px 1fr;
  gap: 6px;
  padding: 8px 0;
  font-size: 12px;
}

.detail-page .detail-action-row {
  gap: 8px;
  margin-top: 13px;
}

.detail-page .detail-action-row a,
.detail-page .detail-action-row button {
  min-height: 42px;
  border-radius: 9px;
  font-size: 12px;
  transition:
    transform .28s cubic-bezier(.22,.8,.2,1),
    box-shadow .28s cubic-bezier(.22,.8,.2,1);
}

.detail-page .detail-action-row a:hover,
.detail-page .detail-action-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(89,58,19,.12);
}

.detail-page .detail-score-card {
  gap: 4px;
  padding: 20px 10px;
  border-radius: 14px;
}

.detail-page .detail-score-card strong {
  font-size: 48px;
}

.detail-page .detail-score-card span,
.detail-page .detail-score-card small {
  font-size: 10px;
}

.detail-page .detail-content-grid {
  grid-template-columns: minmax(520px, 1.7fr) minmax(250px, .82fr) minmax(280px, .92fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.detail-page .detail-download-card,
.detail-page .detail-related-card {
  align-self: start;
}

.detail-page .detail-video-card,
.detail-page .detail-download-card,
.detail-page .detail-related-card {
  padding: 14px;
}

.detail-card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.detail-card-heading small {
  display: block;
  margin-bottom: 2px;
  color: rgba(145,103,49,.72);
  font-family: var(--yc-serif);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.detail-page .detail-card-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.detail-card-heading > a {
  color: var(--detail-gold);
  font-size: 11px;
  text-decoration: none;
}

.detail-page .detail-video-frame,
.detail-page .detail-video-frame video,
.detail-page .detail-video-frame iframe,
.detail-page .detail-video-placeholder {
  border-radius: 10px;
}

.detail-page .detail-video-placeholder span {
  width: 58px;
  height: 58px;
  font-size: 22px;
}

.detail-page .detail-intro-copy {
  line-height: 1.65;
  font-size: 12px;
}

.detail-page .detail-intro-copy p {
  margin: 10px 0 0;
}

.detail-page .detail-download-list {
  border-radius: 10px;
}

.detail-page .detail-download-list article {
  grid-template-columns: 26px 1fr auto;
  gap: 8px;
  padding: 11px 9px;
  font-size: 11px;
}

.detail-page .detail-download-list small {
  margin-top: 2px;
  font-size: 9px;
}

.detail-page .detail-download-list a,
.detail-page .detail-download-list button {
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 10px;
}

.detail-page .detail-related-list {
  gap: 7px;
}

.detail-page .detail-related-list a {
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(199,154,75,.11);
  font-size: 11px;
}

.detail-page .detail-related-list a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-page .detail-related-list img {
  width: 72px;
  border-radius: 6px;
}

.detail-page .detail-related-list small {
  margin-top: 2px;
  font-size: 9px;
}

@media (max-width: 1180px) {
  .category-page-game .category-layout {
    grid-template-columns: 1fr;
  }

  .category-page-game .category-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .category-page-game .category-sidebar button {
    flex: 0 0 auto;
  }

  .detail-page .detail-hero-compact,
  .detail-page .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .detail-page .detail-score-card {
    grid-template-columns: auto auto auto auto;
    justify-content: start;
    align-items: center;
    max-width: none;
    padding: 12px 16px;
    text-align: left;
  }

  .detail-page .detail-score-card strong {
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .category-page-game .category-shell {
    width: min(100% - 18px, 1640px);
    padding: 12px 10px 26px;
  }

  .category-page-game .category-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .category-page-game .category-toolbar label {
    grid-column: 1 / -1;
  }

  .category-page-game .game-landscape-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .category-page-game .category-resource-card em,
  .category-page-game .category-resource-card small {
    display: none;
  }

  .detail-page .detail-page-shell {
    padding: 12px 10px 30px;
  }

  .detail-page .detail-info-panel {
    padding: 16px;
  }

  .detail-page .detail-info-panel h1 {
    font-size: 34px;
  }

  .detail-page .detail-facts,
  .detail-page .detail-action-row {
    grid-template-columns: 1fr;
  }

  .detail-page .detail-score-card {
    grid-template-columns: repeat(2, auto);
  }
}

/* Final category commerce overrides. Keep this block last so older category rules cannot win. */
.category-commerce-shell {
  width: min(1540px, calc(100% - 34px));
  margin: 12px auto 42px;
  padding: 20px 22px 36px;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,254,250,.86), rgba(255,249,238,.70)) padding-box,
    linear-gradient(135deg, rgba(255,248,220,.92), rgba(199,154,75,.16), rgba(255,255,255,.72), rgba(176,126,54,.18)) border-box;
  box-shadow: 0 24px 70px rgba(68,42,12,.07), inset 0 1px 0 rgba(255,255,255,.96);
}

.category-commerce-shell .category-breadcrumb {
  margin: 0 0 12px;
  font-size: 12px;
  color: rgba(96,78,57,.62);
}

.category-compact-hero {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(360px, 1.25fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(199,154,75,.13);
  border-radius: 16px;
  background: radial-gradient(circle at 82% 15%, rgba(216,183,106,.18), transparent 30%), linear-gradient(180deg, rgba(255,254,250,.78), rgba(255,250,242,.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90);
}

.category-compact-hero small,
.category-toolbar-copy small,
.category-side-title span {
  display: block;
  color: rgba(145,103,49,.74);
  font-family: var(--yc-serif);
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.category-compact-hero h1 {
  margin: 4px 0 3px;
  font-family: var(--yc-serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.06;
  font-weight: 620;
  color: #2b2118;
}

.category-compact-hero p {
  max-width: 56ch;
  margin: 0;
  color: var(--yc-muted);
  font-size: 13px;
  line-height: 1.65;
}

.category-hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,252,.94), rgba(255,250,241,.76)) padding-box,
    linear-gradient(135deg, rgba(255,248,218,.96), rgba(199,154,75,.20), rgba(255,255,255,.68)) border-box;
  box-shadow: 0 12px 28px rgba(68,42,12,.055), inset 0 1px 0 rgba(255,255,255,.96);
}

.category-hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #2b2118;
  font-size: 14px;
}

.category-commerce-shell .yc-movie-hot {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,254,250,.82), rgba(255,249,238,.62)) padding-box,
    linear-gradient(135deg, rgba(255,248,220,.92), rgba(199,154,75,.15), rgba(255,255,255,.72), rgba(176,126,54,.16)) border-box;
  box-shadow: 0 16px 42px rgba(68,42,12,.065), inset 0 1px 0 rgba(255,255,255,.94);
  backdrop-filter: none;
}

.category-commerce-shell .yc-movie-hot-head { margin-bottom: 10px; }
.category-commerce-shell .yc-movie-hot-head h2 { margin: 0; font-size: 20px; font-weight: 650; }
.category-commerce-shell .yc-movie-hot-rail { grid-auto-columns: minmax(310px, 30%); gap: 12px; padding: 1px 2px 4px; }
.category-commerce-shell .yc-movie-hot-slide { min-height: 166px; border-radius: 13px; box-shadow: 0 14px 34px rgba(68,42,12,.08); }
.category-commerce-shell .yc-movie-hot-overlay { padding: 14px; }
.category-commerce-shell .yc-movie-hot-overlay strong { font-size: 18px; line-height: 1.25; }

.category-commerce-layout {
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 18px;
}

.category-commerce-sidebar {
  top: 88px;
  gap: 4px;
  min-height: auto;
  padding: 9px;
  border: 1px solid rgba(199,154,75,.13);
  border-radius: 14px;
  background: rgba(255,253,247,.72);
  box-shadow: 0 14px 36px rgba(68,42,12,.055), inset 0 1px 0 rgba(255,255,255,.94);
}

.category-side-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(199,154,75,.12);
}

.category-side-title b { color: #a46f28; font-size: 12px; }

.category-commerce-sidebar button {
  min-height: 35px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--yc-muted);
  font-size: 12px;
  font-weight: 650;
  transition: transform .28s cubic-bezier(.22,.8,.2,1), background .28s cubic-bezier(.22,.8,.2,1), color .28s cubic-bezier(.22,.8,.2,1), box-shadow .28s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-sidebar button::before {
  content: "◇";
  color: rgba(199,154,75,.72);
  font-size: 9px;
}

.category-commerce-sidebar button.is-active,
.category-commerce-sidebar button:hover {
  transform: translateX(2px);
  background: linear-gradient(180deg, rgba(232,206,150,.26), rgba(199,154,75,.10));
  color: #8c6125;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}

.category-commerce-toolbar {
  position: relative;
  z-index: 82;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 9px;
  align-items: end;
  margin: 0 0 10px;
}

.category-toolbar-copy h2 {
  margin: 2px 0 0;
  font-size: 22px;
  line-height: 1.1;
  color: #2b2118;
}

.category-commerce-toolbar button,
.category-commerce-tags button,
.category-pagination button,
.category-pagination b {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(199,154,75,.16);
  border-radius: 10px;
  background: rgba(255,255,252,.74);
  color: #5d5146;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .28s cubic-bezier(.22,.8,.2,1), box-shadow .28s cubic-bezier(.22,.8,.2,1), background .28s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-toolbar button:hover,
.category-commerce-tags button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(68,42,12,.08);
}

.category-commerce-tags { gap: 7px; margin-bottom: 12px; }
.category-commerce-tags button.is-active,
.category-pagination b {
  background: linear-gradient(180deg, #ead39a, #c9933c);
  color: #2b2118;
  box-shadow: inset 0 1px 0 rgba(255,250,229,.82), 0 10px 22px rgba(128,84,25,.12);
}

.category-commerce-grid { gap: 13px; }

.category-commerce-shell .category-resource-card {
  position: relative;
  border: 1px solid transparent;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,254,250,.94), rgba(255,249,238,.76)) padding-box,
    linear-gradient(138deg, rgba(255,248,220,.92), rgba(199,154,75,.16), rgba(255,255,255,.72), rgba(176,126,54,.16)) border-box;
  box-shadow: 0 12px 30px rgba(68,42,12,.06), inset 0 1px 0 rgba(255,255,255,.96);
  transition: transform .38s cubic-bezier(.22,.8,.2,1), box-shadow .38s cubic-bezier(.22,.8,.2,1), filter .38s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-shell .category-resource-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.34), transparent 28%, transparent 68%, rgba(240,195,111,.16));
  opacity: .42;
  mix-blend-mode: screen;
}

.category-commerce-shell .category-resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(68,42,12,.12), 0 0 24px rgba(216,183,106,.10), inset 0 1px 0 rgba(255,255,255,.98);
}

.category-commerce-shell .category-resource-card figure {
  margin: 5px 5px 0;
  border-radius: 10px;
}

.category-commerce-shell .category-resource-card figure img {
  transition: transform .55s cubic-bezier(.22,.8,.2,1), filter .55s cubic-bezier(.22,.8,.2,1);
}

.category-commerce-shell .category-resource-card:hover figure img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.category-commerce-shell .category-resource-card figure span,
.category-page-movie .movie-card-badge {
  left: 8px;
  top: 8px;
  right: auto;
  bottom: auto;
  padding: 3px 7px;
  border: 1px solid rgba(255,244,211,.38);
  border-radius: 8px;
  background: rgba(42,31,20,.74);
  color: #f4cb78;
  font-size: 10px;
  font-weight: 750;
}

.category-commerce-shell .category-resource-card > div,
.category-commerce-shell .movie-card-body {
  padding: 10px 11px 11px;
}

.category-commerce-shell .category-resource-card h2 {
  margin: 0 0 4px;
  font-family: var(--yc-serif);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 650;
  color: #2b2118;
}

.category-commerce-shell .category-resource-card p,
.category-commerce-shell .category-resource-card em,
.category-commerce-shell .category-resource-card small {
  color: #8a7a66;
  font-size: 11px;
  line-height: 1.48;
}

.category-commerce-shell .category-resource-card em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  min-height: 2.95em;
}

.category-commerce-shell .category-resource-card small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 10px;
}

.category-commerce-shell .category-resource-card small i { font-style: normal; }
.category-commerce-shell .category-resource-card small b { margin-left: auto; color: #b47d2d; }

.category-commerce-shell .movie-poster-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-commerce-shell .movie-poster-card { border-radius: 13px; }
.category-commerce-shell .movie-poster-frame { margin: 5px 5px 0; border-radius: 10px; }
.category-commerce-shell .movie-poster-frame img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.category-commerce-shell .movie-card-score {
  right: 8px;
  top: 8px;
  min-width: 34px;
  padding: 3px 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ecd8a4, #c9933c);
  color: #2b2118;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,250,229,.82), 0 7px 16px rgba(82,57,27,.14);
}

.category-commerce-shell .movie-card-type { margin: 0 0 6px; color: #a07840; font-size: 11px; font-weight: 650; }
.category-commerce-shell .movie-card-meta { gap: 4px; }
.category-commerce-shell .movie-card-meta span { padding: 2px 6px; border-radius: 6px; font-size: 10px; background: rgba(199,154,75,.11); }
.category-pagination { gap: 7px; margin-top: 22px; }
.category-page-ai-era .category-commerce-grid,
.category-page-hot .category-commerce-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1280px) {
  .category-commerce-shell .movie-poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .game-landscape-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-page-ai-era .category-commerce-grid,
  .category-page-hot .category-commerce-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .category-compact-hero,
  .category-commerce-layout { grid-template-columns: 1fr; }
  .category-commerce-sidebar { position: static; display: flex; min-height: auto; overflow-x: auto; }
  .category-side-title {
    flex: 0 0 auto;
    min-width: 86px;
    margin: 0 4px 0 0;
    border-right: 1px solid rgba(199,154,75,.12);
    border-bottom: 0;
  }
  .category-commerce-sidebar button { flex: 0 0 auto; }
  .category-commerce-shell .movie-poster-grid,
  .game-landscape-grid,
  .category-page-ai-era .category-commerce-grid,
  .category-page-hot .category-commerce-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .category-commerce-shell {
    width: min(100% - 16px, 1540px);
    padding: 12px 10px 28px;
    border-radius: 14px;
  }
  .category-compact-hero { padding: 14px; gap: 14px; }
  .category-commerce-shell .yc-movie-hot { padding: 10px; }
  .category-commerce-shell .yc-movie-hot-rail { grid-auto-columns: minmax(244px, 82%); }
  .category-commerce-shell .yc-movie-hot-slide { min-height: 145px; }
  .category-commerce-toolbar { grid-template-columns: 1fr 1fr; }
  .category-toolbar-copy { grid-column: 1 / -1; }
  .category-commerce-tags { flex-wrap: nowrap; overflow-x: auto; }
  .category-commerce-tags button { flex: 0 0 auto; }
  .category-commerce-shell .movie-poster-grid,
  .game-landscape-grid,
  .category-page-ai-era .category-commerce-grid,
  .category-page-hot .category-commerce-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .category-commerce-shell .category-resource-card h2 { font-size: 14px; }
  .category-commerce-shell .category-resource-card em,
  .category-commerce-shell .category-resource-card small i:nth-child(2) { display: none; }
}

.category-commerce-shell .landscape-resource-card figure {
  aspect-ratio: 16 / 9;
}

.category-commerce-shell .landscape-resource-card figure img {
  height: 100%;
  object-fit: cover;
}

.category-commerce-shell .movie-poster-frame {
  aspect-ratio: 2 / 3;
}

.category-commerce-shell .movie-poster-frame img {
  height: 100%;
}

.category-commerce-shell .category-resource-card h2 {
  display: -webkit-box;
  min-height: 2.56em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-commerce-shell .category-resource-card p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.category-page-movie .category-commerce-shell .movie-poster-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.category-page-game .category-commerce-shell .game-landscape-grid,
body.category-page-ai-era .category-commerce-shell .category-commerce-grid,
body.category-page-hot .category-commerce-shell .category-commerce-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.category-page .category-commerce-shell .landscape-resource-card figure,
body.category-page .category-commerce-shell .movie-poster-frame {
  display: block;
  height: auto;
}

body.category-page .category-commerce-shell .landscape-resource-card figure {
  aspect-ratio: 16 / 9;
}

body.category-page .category-commerce-shell .movie-poster-frame {
  aspect-ratio: 2 / 3;
}

body.category-page .category-commerce-shell .landscape-resource-card figure img,
body.category-page .category-commerce-shell .movie-poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  body.category-page-movie .category-commerce-shell .movie-poster-grid,
  body.category-page-game .category-commerce-shell .game-landscape-grid,
  body.category-page-ai-era .category-commerce-shell .category-commerce-grid,
  body.category-page-hot .category-commerce-shell .category-commerce-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.category-page-movie .category-commerce-shell .movie-poster-grid,
  body.category-page-game .category-commerce-shell .game-landscape-grid,
  body.category-page-ai-era .category-commerce-shell .category-commerce-grid,
  body.category-page-hot .category-commerce-shell .category-commerce-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Compact content-first homepage pass */
.yc-home .yc-search-section {
  margin-top: -2px;
  margin-bottom: 0;
}

.yc-home .yc-search {
  height: 58px;
}

.yc-home .yc-hero {
  height: 555px;
  min-height: 555px;
  margin-top: 2px;
}

.yc-home .yc-coverflow {
  inset: -8px 38px 80px 38px;
}

.yc-home .yc-cover-card {
  width: 306px;
  height: 430px;
}

.yc-home .yc-cover-card.is-active {
  width: 368px;
  height: 492px;
}

.yc-home .yc-home-ribbon {
  margin-top: 118px;
  margin-bottom: 30px;
}

.yc-home .yc-today {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .yc-home .yc-hero {
    height: 520px;
    min-height: 520px;
  }

  .yc-home .yc-coverflow {
    inset: -4px 24px 66px;
  }

  .yc-home .yc-home-ribbon {
    margin-top: 76px;
  }
}

@media (max-width: 640px) {
  .yc-home .yc-search-section {
    margin-top: 4px;
  }

  .yc-home .yc-hero {
    height: 450px;
    min-height: 450px;
  }

  .yc-home .yc-cover-card {
    width: 252px;
    height: 352px;
  }

  .yc-home .yc-cover-card.is-active {
    width: 278px;
    height: 382px;
  }

  .yc-home .yc-home-ribbon {
    margin-top: 48px;
  }
}

.yc-home .yc-cover-media::after {
  content: none !important;
  background: none !important;
}

.yc-home .yc-cover-card .yc-cover-shine {
  background:
    linear-gradient(116deg, transparent 0 22%, rgba(255,234,174,.08) 32%, rgba(255,255,255,.20) 39%, rgba(240,195,111,.08) 46%, transparent 56%),
    radial-gradient(ellipse at 24% 12%, rgba(255,245,204,.14), transparent 22%);
  opacity: calc(var(--shine-opacity, .36) * .74);
}

.yc-home .yc-cover-card .yc-cover-shine::after {
  background: radial-gradient(ellipse at center, rgba(255,248,220,.22), rgba(255,248,220,0) 70%);
  opacity: .36;
}

.yc-home .yc-cover-card.is-active .yc-cover-shine::after {
  opacity: .48;
}

.yc-home .yc-cover-content {
  padding: 18px 20px 19px;
}

.yc-home .yc-cover-kicker {
  top: 18px;
  left: 18px;
  padding: 4px 9px;
  font-size: 10px;
}

.yc-home .yc-cover-content h2 {
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 6px 20px rgba(0,0,0,.44), 0 0 16px rgba(216,183,106,.10);
}

.yc-home .yc-cover-card.is-active .yc-cover-content h2 {
  font-size: 30px;
  line-height: 1.10;
  max-width: 94%;
}

.yc-home .yc-cover-content p {
  -webkit-line-clamp: 2;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.46;
  color: rgba(255,247,232,.78);
}

.yc-home .yc-cover-bottom {
  margin-top: 12px;
  font-size: 12px;
}

.yc-home .yc-cover-bottom b {
  width: 34px;
  height: 34px;
  font-size: 10px;
}

@media (max-width: 640px) {
  .yc-home .yc-cover-content h2 {
    font-size: 18px;
  }

  .yc-home .yc-cover-card.is-active .yc-cover-content h2 {
    font-size: 23px;
  }

  .yc-home .yc-cover-content p {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* Home header/search/coverflow spacing guard */
body:not(.yc-subpage) .yc-header {
  padding-top: 18px;
  padding-bottom: 0;
  min-height: 124px;
  align-items: start;
}

body:not(.yc-subpage) .yc-brand {
  margin-top: -2px;
}

body:not(.yc-subpage) .yc-brand strong {
  font-size: clamp(52px, 3.9vw, 64px);
  line-height: .92;
}

body:not(.yc-subpage) .yc-brand small {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: .30em;
}

body:not(.yc-subpage) .yc-home .yc-search-section {
  margin-top: 2px;
  margin-bottom: 32px;
}

body:not(.yc-subpage) .yc-home .yc-hero {
  margin-top: 0;
  height: 602px;
  min-height: 602px;
}

body:not(.yc-subpage) .yc-home .yc-coverflow {
  inset: 22px 38px 82px 38px;
}

body:not(.yc-subpage) .yc-home .yc-home-ribbon {
  margin-top: 104px;
}

@media (max-width: 980px) {
  body:not(.yc-subpage) .yc-header {
    min-height: 104px;
  }

  body:not(.yc-subpage) .yc-brand strong {
    font-size: 46px;
  }

  body:not(.yc-subpage) .yc-home .yc-search-section {
    margin-bottom: 24px;
  }

  body:not(.yc-subpage) .yc-home .yc-hero {
    height: 510px;
    min-height: 510px;
  }

  body:not(.yc-subpage) .yc-home .yc-coverflow {
    inset: 18px 24px 70px;
  }
}

@media (max-width: 640px) {
  body:not(.yc-subpage) .yc-header {
    min-height: auto;
    padding-top: 12px;
  }

  body:not(.yc-subpage) .yc-brand small {
    margin-top: 7px;
    letter-spacing: .18em;
  }

  body:not(.yc-subpage) .yc-home .yc-search-section {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  body:not(.yc-subpage) .yc-home .yc-hero {
    height: 442px;
    min-height: 442px;
  }

body:not(.yc-subpage) .yc-home .yc-coverflow {
    inset: 18px 20px 58px;
  }
}

.yc-header .yc-map-link {
  display: none !important;
}

/* Game detail compact commerce pass */
.detail-page .detail-page-shell {
  max-width: 1500px;
  padding: 12px 28px 34px;
}

.detail-page .detail-hero-compact {
  grid-template-columns: minmax(410px, .94fr) minmax(420px, 1fr) 128px;
  gap: 12px;
  align-items: stretch;
}

.detail-page .detail-media-panel,
.detail-page .detail-info-panel,
.detail-page .detail-score-card,
.detail-page .detail-video-card,
.detail-page .detail-download-card,
.detail-page .detail-related-card {
  box-shadow:
    0 14px 34px rgba(68,42,12,.068),
    inset 0 1px 0 rgba(255,255,255,.94);
}

.detail-page .detail-media-panel {
  padding: 6px;
}

.detail-page .detail-main-cover img {
  aspect-ratio: 16 / 8.75;
}

.detail-page .detail-thumb-row {
  grid-template-columns: repeat(5, minmax(58px, 1fr));
  gap: 5px;
  margin-top: 5px;
}

.detail-page .detail-thumb img {
  aspect-ratio: 16 / 7.4;
}

.detail-page .detail-info-panel {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}

.detail-page .detail-info-panel h1 {
  margin: 4px 0 2px;
  font-size: clamp(30px, 2.75vw, 42px);
  line-height: 1.04;
  text-wrap: balance;
}

.detail-page .detail-en-title {
  margin-bottom: 7px;
  font-size: 10px;
}

.detail-page .detail-summary {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.52;
  -webkit-line-clamp: 2;
}

.detail-page .detail-tags {
  gap: 5px;
  margin: 7px 0 10px;
}

.detail-page .detail-tags span {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
}

.detail-page .detail-facts {
  margin-top: auto;
}

.detail-page .detail-facts div {
  grid-template-columns: 62px 1fr;
  gap: 5px;
  padding: 6px 0;
  font-size: 11px;
}

.detail-page .detail-action-row {
  gap: 7px;
  margin-top: 10px;
}

.detail-page .detail-action-row a,
.detail-page .detail-action-row button {
  min-height: 36px;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: .03em;
}

.detail-page .detail-score-card {
  gap: 3px;
  padding: 14px 8px;
  border-radius: 12px;
}

.detail-page .detail-score-card strong {
  font-size: 38px;
}

.detail-page .detail-score-card b {
  font-size: 12px;
}

.detail-page .detail-score-card span,
.detail-page .detail-score-card small {
  font-size: 9px;
}

.detail-page .detail-content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}

.detail-page .detail-video-card {
  grid-row: span 2;
  min-width: 0;
}

.detail-page .detail-video-card,
.detail-page .detail-download-card,
.detail-page .detail-related-card {
  padding: 12px;
  border-radius: 13px;
}

.detail-page .detail-card-heading {
  margin-bottom: 8px;
  align-items: center;
}

.detail-page .detail-card-heading h2 {
  font-size: 18px;
}

.detail-page .detail-card-heading small,
.detail-page .detail-card-heading > a {
  font-size: 9px;
}

.detail-page .detail-video-frame,
.detail-page .detail-video-frame video,
.detail-page .detail-video-frame iframe,
.detail-page .detail-video-placeholder {
  border-radius: 9px;
}

.detail-page .detail-intro-copy {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  line-height: 1.62;
  font-size: 12px;
}

.detail-page .detail-intro-copy p,
.detail-page .detail-intro-copy ul,
.detail-page .detail-intro-copy ol,
.detail-page .detail-intro-copy h2,
.detail-page .detail-intro-copy h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.detail-page .detail-intro-copy img {
  border-radius: 10px;
}

.detail-page .detail-download-list {
  border-radius: 9px;
}

.detail-page .detail-download-list article {
  grid-template-columns: 22px 1fr auto;
  gap: 7px;
  padding: 9px 8px;
  font-size: 11px;
}

.detail-page .detail-download-list small {
  font-size: 9px;
}

.detail-page .detail-download-list a,
.detail-page .detail-download-list button {
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 10px;
}

.detail-page .detail-related-list {
  gap: 0;
}

.detail-page .detail-related-list a {
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px 0;
  font-size: 11px;
}

.detail-page .detail-related-list img {
  width: 68px;
  border-radius: 6px;
}

.detail-page .detail-related-list b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.detail-page .detail-related-list em {
  font-size: 11px;
}

.detail-page .yc-copyright-notice {
  margin-top: 14px;
  padding: 12px 14px;
}

.detail-page .detail-content-grid.detail-content-main {
  grid-template-columns: 1fr;
}

.detail-page .detail-bottom-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.detail-page .detail-bottom-stack-game {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: start;
}

.detail-page .detail-download-card-compact {
  padding: 12px 14px;
  max-width: 320px;
}

.detail-page .detail-download-card-compact .detail-card-heading h2 {
  font-size: 18px;
}

.detail-page .detail-download-card-compact .detail-download-list article {
  padding: 10px 12px;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
}

.detail-page .detail-download-card-compact .detail-download-list b {
  font-size: 13px;
}

.detail-page .detail-download-card-compact .detail-download-list small {
  font-size: 11px;
}

.detail-page .detail-download-note-compact {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--detail-text-soft);
}

.detail-page .detail-download-note-compact em {
  font-size: 11px;
  font-style: normal;
  color: var(--detail-gold);
}

.detail-page .detail-download-note-compact button {
  font-size: 11px;
  padding: 2px 8px;
}

.detail-page .detail-related-card-wide {
  padding: 16px 18px;
}

.detail-page .detail-related-list-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-page .detail-related-list-wide a {
  grid-template-columns: 112px 1fr auto;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(199,154,75,.12);
}

.detail-page .detail-related-list-wide img {
  width: 112px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
}

.detail-page .detail-related-list-wide b {
  font-size: 15px;
  line-height: 1.45;
}

.detail-page .detail-related-list-wide small {
  font-size: 12px;
}

.detail-page .detail-video-frame video {
  width: auto;
  max-width: 100%;
  height: auto;
  background: #000;
  border-radius: 12px;
  object-fit: contain;
}

.detail-page-article .detail-page-shell-article {
  max-width: none !important;
  padding-top: 8px;
}

.detail-page-article .detail-page-focus-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

.detail-page-article .detail-article-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: rgba(142, 100, 45, .72);
  font-size: 13px;
}

.detail-page-article .detail-article-main {
  padding: 22px 24px 26px;
  border: 1px solid var(--detail-border);
  border-radius: 18px;
  background: rgba(255, 251, 242, .84);
  box-shadow: 0 14px 34px rgba(68, 42, 12, .06);
}

.detail-page-article .detail-article-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(243, 230, 207, .88);
  color: #98671f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.detail-page-article .detail-article-header h1 {
  margin: 0 0 12px;
  font-family: var(--yc-serif);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.28;
}

.detail-page-article .detail-article-lead {
  margin: 0 0 18px;
  color: var(--detail-text-soft);
  font-size: 15px;
  line-height: 1.82;
}

.detail-page-article .detail-article-hero {
  margin: 0 0 20px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(199, 154, 75, .16);
}

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

.detail-page-article .detail-article-body {
  display: grid;
  gap: 12px;
  color: #5d5144;
  font-size: 15px;
  line-height: 1.88;
}

.detail-page-article .detail-article-body h2 {
  margin: 18px 0 0;
  font-size: 20px;
  color: var(--yc-ink);
}

.detail-page-article .detail-article-body p {
  margin: 0;
}

.detail-page-article .detail-article-source {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(178, 132, 63, .28);
  font-size: 13px;
  color: #8d7c68;
}

.detail-page-article .detail-article-source a {
  color: #a26d24;
  font-weight: 700;
}

.detail-page-article .detail-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.detail-page-article .detail-article-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 230, 207, .72);
  color: #8b6a35;
  font-size: 12px;
  font-weight: 700;
}

.detail-page-article .detail-article-related {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--detail-border);
  border-radius: 16px;
  background: rgba(255, 251, 242, .72);
}

.detail-page-article .detail-article-related-list {
  display: grid;
  gap: 10px;
}

.detail-page-article .detail-article-related-list a {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(199, 154, 75, .14);
  background: rgba(255, 255, 255, .56);
  transition: transform .18s ease, box-shadow .18s ease;
}

.detail-page-article .detail-article-related-list a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(68, 42, 12, .08);
}

.detail-page-article .detail-article-related-list strong {
  font-size: 15px;
  color: var(--yc-ink);
}

.detail-page-article .detail-article-related-list small {
  color: #9a8d7e;
  font-size: 12px;
}

.category-page-hot .landscape-resource-card.is-text-only figure {
  display: none;
}

.category-page-hot .landscape-resource-card.is-text-only {
  grid-template-columns: 1fr;
}

.category-page-hot .landscape-resource-card.is-text-only small b {
  display: none;
}

.detail-page-game .detail-page-shell {
  max-width: none !important;
}

.detail-page-game .detail-page-focus {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

.detail-page-game .detail-hero-compact {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.detail-page-game .detail-score-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: start;
  align-items: center;
  gap: 10px;
  max-width: none;
  padding: 10px 14px;
  text-align: left;
}

.detail-page-game .detail-summary {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
  font-size: 13px;
  line-height: 1.72;
}

.detail-page-game .detail-intro-copy {
  font-size: 14px;
  line-height: 1.78;
}

.detail-page-game .detail-intro-copy h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  color: var(--yc-ink);
}

.detail-page-game .detail-intro-copy p {
  margin: 0 0 12px;
}

.detail-page-game .detail-video-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 12px;
  background: transparent;
  overflow: visible;
}

.detail-page-game .detail-video-frame,
.detail-page-game .detail-video-frame video,
.detail-page-game .detail-video-frame iframe {
  width: auto;
  max-width: 100%;
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.detail-page-game .detail-bottom-stack-game {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
}

.detail-page-game .detail-download-card-compact {
  max-width: 260px;
}

.detail-page-game .detail-video-card .detail-screenshots-card {
  margin-top: 16px;
  padding: 14px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-top: 1px solid rgba(199, 154, 75, .14);
}

.detail-page-game .detail-screenshots-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.detail-page-game .detail-screenshots-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-page-game .detail-screenshot-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(199,154,75,.16);
  background: rgba(12,12,16,.04);
}

.detail-page-game .detail-screenshot-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 168px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-page-game .detail-screenshot-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 5px);
  justify-self: center;
}

.detail-page-game .detail-thumb-row-game {
  grid-template-columns: minmax(88px, 120px);
  justify-content: start;
}

.detail-page-game .detail-thumb-row-game:empty {
  display: none;
}

.detail-page .detail-screenshots-card {
  margin-top: 14px;
  padding: 14px 16px 16px;
  border: 1px solid var(--detail-border);
  border-radius: 20px;
  background: rgba(255, 251, 242, .82);
}

.detail-page .detail-screenshots-card .detail-card-heading {
  margin-bottom: 12px;
}

.detail-page .detail-screenshots-count {
  color: rgba(142,100,45,.72);
  font-size: 12px;
  letter-spacing: .06em;
}

.detail-page .detail-screenshots-grid {
  display: grid;
  gap: 10px;
}

.detail-page .detail-screenshots-grid figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(199,154,75,.16);
}

.detail-page .detail-screenshots-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .detail-page .detail-bottom-stack,
  .detail-page .detail-bottom-stack-game {
    grid-template-columns: 1fr;
  }

  .detail-page .detail-download-card-compact {
    max-width: none;
  }

  .detail-page .detail-related-list-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .detail-page .detail-hero-compact,
  .detail-page .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .detail-page .detail-video-card {
    grid-row: auto;
  }

  .detail-page .detail-score-card {
    grid-template-columns: auto auto auto auto;
    justify-content: start;
    align-items: center;
    max-width: none;
    padding: 10px 14px;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .detail-page .detail-page-shell {
    padding: 10px 9px 28px;
  }

  .detail-page .detail-info-panel {
    padding: 14px;
  }

  .detail-page .detail-info-panel h1 {
    font-size: 30px;
  }

  .detail-page .detail-action-row {
    grid-template-columns: 1fr;
  }
}

/* Home coverflow clarity pass: remove failed glare layer and keep text readable. */
.yc-home .yc-cover-card::before,
.yc-home .yc-cover-card::after {
  display: none !important;
}

.yc-home .yc-cover-card .yc-cover-shine,
.yc-home .yc-cover-card .yc-cover-shine::after {
  display: none !important;
  opacity: 0 !important;
}

.yc-home .yc-cover-media {
  filter: none !important;
  transform: translateZ(0) scale(1.001);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.yc-home .yc-cover-media::after {
  content: none !important;
  background: none !important;
}

.yc-home .yc-cover-kicker {
  backdrop-filter: none;
  background: rgba(32, 24, 16, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 16px rgba(0,0,0,.16);
}

.yc-home .yc-cover-content h2 {
  text-shadow: 0 4px 14px rgba(0,0,0,.42);
}

.yc-home .yc-cover-content p {
  color: rgba(255,247,232,.88);
}

.yc-home .yc-pick-cover::after {
  background: linear-gradient(180deg, transparent 58%, rgba(16,12,8,.22));
}

.yc-home .yc-cover-card {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.yc-home .yc-cover-card.is-active {
  /* outer shadow handled in final pass */
}

.yc-home .yc-cover-content h2,
.yc-home .yc-cover-content p,
.yc-home .yc-cover-kicker,
.yc-home .yc-cover-bottom,
.yc-home .yc-cover-bottom b {
  color: #fff6e6;
}

body[data-theme="dark"] .yc-home .yc-cover-content h2 {
  color: #fff4dc;
  text-shadow: 0 8px 24px rgba(0,0,0,.72);
}

body[data-theme="dark"] .yc-home .yc-cover-content p {
  color: rgba(255,241,214,.88);
}

body[data-theme="dark"] .yc-home .yc-cover-kicker {
  color: #ffe2a0;
  border-color: rgba(232,188,98,.38);
  background: rgba(32,24,16,.68);
}

body[data-theme="dark"] .yc-home .yc-cover-bottom,
body[data-theme="dark"] .yc-home .yc-cover-bottom b {
  color: #f0c36f;
}

/* Homepage cards: outer frame only; glass text dock is in final pass. */
.yc-home .yc-cover-card .yc-cover-media {
  inset: 0;
  border-radius: 0;
}

.yc-home .yc-cover-card.is-active .yc-cover-media {
  inset: 0;
}

.yc-home .yc-cover-content h2 {
  font-size: clamp(22px, 2.15vw, 36px);
}

.yc-home .yc-cover-content p {
  font-size: clamp(12px, .86vw, 15px);
}

/* PDF-inspired commercial footer, compatible with both new and older output markup. */
.yc-commercial-footer {
  margin-top: 72px;
  background:
    radial-gradient(circle at 14% 0%, rgba(201, 151, 68, .16), transparent 34%),
    linear-gradient(180deg, #17130e 0%, #0d0b08 100%);
  color: rgba(255, 250, 238, .82);
  border-top: 1px solid rgba(221, 178, 97, .22);
}

.yc-footer-main,
.yc-commercial-footer-grid {
  width: min(1500px, calc(100% - 56px));
  margin: 0 auto;
  padding: 52px 0 44px;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(130px, .72fr)) minmax(140px, .55fr);
  gap: 34px;
  align-items: start;
}

.yc-footer-brand strong,
.yc-commercial-footer-brand strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  color: #f3d18a;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.yc-footer-brand p,
.yc-commercial-footer-brand p {
  max-width: 360px;
  margin: 0 0 20px;
  line-height: 1.8;
  color: rgba(255, 250, 238, .68);
}

.yc-footer-contact {
  max-width: 390px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 232, 180, .12);
}

.yc-footer-contact b {
  display: block;
  margin-bottom: 4px;
  color: #f2ce86;
  font-size: 14px;
}

.yc-footer-contact span {
  display: block;
  color: rgba(255, 250, 238, .58);
  font-size: 12px;
  line-height: 1.7;
}

.yc-footer-col h3,
.yc-commercial-footer-col h3 {
  margin: 0 0 18px;
  color: #fff7e5;
  font-size: 15px;
  font-weight: 650;
}

.yc-footer-col a,
.yc-commercial-footer-col a {
  display: block;
  width: fit-content;
  margin: 0 0 12px;
  color: rgba(255, 250, 238, .58);
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.yc-footer-col a:hover,
.yc-commercial-footer-col a:hover {
  color: #f4ca7b;
  transform: translateX(3px);
}

.yc-footer-qr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: center;
}

.yc-footer-qr > div {
  text-align: center;
}

.yc-qr-box {
  width: 94px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 238, .16), rgba(255, 250, 238, .06)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 2px, transparent 2px 6px);
  border: 1px solid rgba(246, 213, 147, .22);
  color: #f2ce86;
  font: 700 24px/1 "Noto Serif SC", serif;
}

.yc-footer-qr span {
  display: block;
  color: rgba(255, 250, 238, .58);
  font-size: 12px;
}

.yc-footer-bottom,
.yc-commercial-footer-bottom {
  min-height: 54px;
  padding: 14px max(28px, calc((100% - 1500px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #eee9df;
  color: rgba(43, 33, 24, .70);
  font-size: 12px;
}

.yc-sitemap-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 0;
}

.yc-sitemap-hero {
  margin: 28px 0 22px;
}

.yc-sitemap-hero span {
  color: #bf8a35;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.yc-sitemap-hero h1 {
  margin: 8px 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 700;
  color: #3e2c1b;
}

.yc-sitemap-hero p {
  max-width: 720px;
  margin: 0;
  line-height: 1.8;
  color: rgba(68, 52, 35, .68);
}

.yc-sitemap-board {
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 10%, rgba(215, 169, 88, .22), transparent 34%),
    linear-gradient(180deg, #18130d, #0e0b08);
  border: 1px solid rgba(211, 164, 84, .22);
  box-shadow: 0 28px 70px rgba(77, 48, 16, .14);
}

.yc-sitemap-board-inner {
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 2.1fr);
  gap: 42px;
}

.yc-sitemap-brand strong {
  font-family: "Noto Serif SC", serif;
  font-size: 34px;
  color: #f3d18a;
  letter-spacing: .08em;
}

.yc-sitemap-brand p {
  margin: 14px 0 0;
  color: rgba(255, 250, 238, .62);
  line-height: 1.8;
}

.yc-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 24px;
}

.yc-sitemap-group h2 {
  margin: 0 0 16px;
  color: #fff7e8;
  font-size: 15px;
}

.yc-sitemap-group a {
  display: block;
  width: fit-content;
  margin: 0 0 11px;
  color: rgba(255, 250, 238, .58);
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.yc-sitemap-group a:hover {
  color: #f3c977;
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .yc-footer-main,
  .yc-commercial-footer-grid,
  .yc-sitemap-board-inner {
    grid-template-columns: 1fr 1fr;
  }

  .yc-footer-brand,
  .yc-commercial-footer-brand,
  .yc-sitemap-brand {
    grid-column: 1 / -1;
  }

  .yc-sitemap-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}

@media (max-width: 640px) {
  .yc-footer-main,
  .yc-commercial-footer-grid {
    width: min(100% - 28px, 520px);
    grid-template-columns: 1fr;
    padding: 38px 0 32px;
  }

  .yc-footer-bottom,
  .yc-commercial-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .yc-sitemap-shell {
    width: min(100% - 28px, 520px);
  }

  .yc-sitemap-board-inner,
  .yc-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .yc-sitemap-board-inner {
    padding: 28px;
  }
}

/* Startup loader: a short entrance ritual for the portal, independent from page layout. */
.yc-startup-lock {
  overflow: hidden;
}

.yc-startup-loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #342415;
  background:
    radial-gradient(circle at 74% 52%, rgba(228, 190, 112, .28), transparent 28%),
    radial-gradient(circle at 26% 20%, rgba(255, 250, 238, .96), rgba(244, 235, 218, .76) 42%, rgba(226, 211, 184, .88) 100%);
  backdrop-filter: blur(18px);
  animation: ycStartupIn .34s ease-out both;
}

.yc-startup-loader::before,
.yc-startup-loader::after {
  content: "";
  position: absolute;
  inset: -14%;
  pointer-events: none;
}

.yc-startup-loader::before {
  background:
    linear-gradient(rgba(193, 145, 67, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193, 145, 67, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000 0 56%, transparent 78%);
  opacity: .72;
}

.yc-startup-loader::after {
  background:
    radial-gradient(circle, rgba(189, 136, 52, .60) 0 2px, transparent 3px) 11% 28% / 180px 180px,
    radial-gradient(circle, rgba(255, 242, 199, .75) 0 1px, transparent 2px) 72% 18% / 130px 130px,
    radial-gradient(circle, rgba(168, 115, 43, .52) 0 2px, transparent 3px) 84% 74% / 220px 220px;
  opacity: .7;
}

.yc-startup-orbit {
  position: absolute;
  width: min(74vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: rotate(-12deg);
  opacity: .72;
}

.yc-startup-orbit span {
  position: absolute;
  inset: var(--orbit-inset, 0);
  border: 1px solid rgba(182, 130, 55, .22);
  border-radius: 50%;
  animation: ycStartupOrbit 5.8s linear infinite;
}

.yc-startup-orbit span:nth-child(1) { --orbit-inset: 0; }
.yc-startup-orbit span:nth-child(2) { --orbit-inset: 36px; animation-duration: 7.6s; }
.yc-startup-orbit span:nth-child(3) { --orbit-inset: 72px; animation-duration: 9.2s; }

.yc-startup-orbit span::after {
  content: "";
  position: absolute;
  right: 11%;
  top: 21%;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c78d37;
  box-shadow: 0 0 24px rgba(213, 164, 75, .68);
}

.yc-startup-stage {
  position: relative;
  width: min(1040px, calc(100% - 48px));
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, .7fr);
  align-items: center;
  gap: 34px;
  padding: 50px 56px;
  border-radius: 30px;
  border: 1px solid rgba(194, 143, 61, .28);
  background:
    linear-gradient(135deg, rgba(255, 252, 242, .82), rgba(248, 238, 219, .52)) padding-box,
    linear-gradient(135deg, rgba(255, 243, 196, .9), rgba(181, 125, 43, .36), rgba(255, 255, 255, .72)) border-box;
  box-shadow:
    0 34px 90px rgba(84, 54, 20, .18),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.yc-startup-copy {
  position: relative;
  z-index: 2;
}

.yc-startup-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #9d6725;
  background: rgba(255, 250, 238, .64);
  border: 1px solid rgba(199, 145, 59, .24);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.yc-startup-copy strong {
  display: block;
  margin-top: 20px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(64px, 9vw, 118px);
  line-height: .92;
  font-weight: 700;
  letter-spacing: .08em;
  color: #3d2b1b;
  text-shadow:
    0 1px 0 rgba(255,255,255,.8),
    0 18px 40px rgba(80, 48, 18, .16);
}

.yc-startup-copy p {
  max-width: 520px;
  margin: 22px 0 28px;
  color: rgba(62, 45, 28, .70);
  font-size: 16px;
  line-height: 1.9;
}

.yc-startup-progress {
  position: relative;
  width: min(520px, 100%);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(94, 67, 34, .12);
  box-shadow: inset 0 1px 2px rgba(78, 50, 20, .16);
}

.yc-startup-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #91601f, #f1c875, #fff1b8);
  box-shadow: 0 0 22px rgba(212, 159, 66, .55);
  animation: ycStartupLoad 1.55s cubic-bezier(.22,.8,.28,1) both;
}

.yc-startup-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.yc-startup-status span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 250, 238, .56);
  border: 1px solid rgba(191, 135, 47, .18);
  color: rgba(65, 45, 25, .68);
  font-size: 12px;
}

.yc-startup-figure {
  position: relative;
  height: 500px;
  align-self: end;
  display: grid;
  place-items: end center;
  isolation: isolate;
}

.yc-startup-figure::before {
  content: "";
  position: absolute;
  inset: 9% -4% 2% 6%;
  border-radius: 42% 58% 52% 48%;
  background:
    radial-gradient(circle at 45% 38%, rgba(255, 244, 216, .82), transparent 32%),
    radial-gradient(circle at 58% 58%, rgba(212, 160, 72, .22), transparent 50%);
  filter: blur(6px);
  z-index: -2;
}

.yc-startup-figure img {
  width: auto;
  height: min(500px, 64vh);
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(0 34px 42px rgba(75, 47, 18, .20))
    drop-shadow(0 0 20px rgba(220, 176, 90, .18));
  animation: ycStartupFigure 1.8s ease-in-out infinite alternate;
}

.yc-startup-figure b {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 68%;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(63, 38, 14, .22), transparent 70%);
  filter: blur(9px);
  z-index: -1;
}

.yc-startup-skip {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 3;
  padding: 10px 16px;
  border: 1px solid rgba(188, 132, 44, .30);
  border-radius: 999px;
  color: #6d4618;
  background: rgba(255, 250, 238, .72);
  box-shadow: 0 12px 28px rgba(75, 47, 18, .10);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.yc-startup-skip:hover {
  transform: translateY(-2px);
  background: rgba(255, 252, 245, .92);
  box-shadow: 0 18px 36px rgba(75, 47, 18, .15);
}

.yc-startup-loader.is-leaving {
  pointer-events: none;
  animation: ycStartupOut .52s ease forwards;
}

body[data-theme="dark"] .yc-startup-loader {
  color: #fff2d7;
  background:
    radial-gradient(circle at 72% 50%, rgba(227, 174, 83, .22), transparent 30%),
    linear-gradient(180deg, rgba(16, 13, 9, .98), rgba(6, 5, 4, .98));
}

body[data-theme="dark"] .yc-startup-stage {
  background:
    linear-gradient(135deg, rgba(31, 25, 17, .86), rgba(16, 12, 8, .72)) padding-box,
    linear-gradient(135deg, rgba(255, 224, 150, .62), rgba(148, 94, 26, .34), rgba(255, 255, 255, .20)) border-box;
}

body[data-theme="dark"] .yc-startup-copy strong {
  color: #fff0cd;
}

body[data-theme="dark"] .yc-startup-copy p,
body[data-theme="dark"] .yc-startup-status span {
  color: rgba(255, 241, 214, .72);
}

@keyframes ycStartupIn {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes ycStartupOut {
  to { opacity: 0; transform: scale(.985); filter: blur(10px); }
}

@keyframes ycStartupOrbit {
  to { transform: rotate(360deg); }
}

@keyframes ycStartupLoad {
  from { width: 8%; }
  to { width: 100%; }
}

@keyframes ycStartupFigure {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (max-width: 760px) {
  .yc-startup-stage {
    width: min(100% - 28px, 480px);
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 34px 26px 28px;
    text-align: center;
  }

  .yc-startup-copy p {
    margin-inline: auto;
    font-size: 14px;
  }

  .yc-startup-progress {
    margin-inline: auto;
  }

  .yc-startup-status {
    justify-content: center;
  }

  .yc-startup-figure {
    height: 270px;
    order: -1;
  }

  .yc-startup-figure img {
    height: min(270px, 42vh);
  }

  .yc-startup-skip {
    right: 18px;
    bottom: 18px;
  }
}

/* Final Coverflow clarity pass.
   Keep the 3D stage, but remove the muddy layers that made covers look foggy. */
.yc-home .yc-hero {
  perspective: 3200px !important;
}

.yc-home .yc-cover-card,
.yc-home .yc-cover-card.is-active {
  transform-style: preserve-3d;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.yc-home .yc-cover-card .yc-cover-media {
  inset: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  transform: translateZ(0) scale(1.0001) !important;
  background-size: cover !important;
  background-position: center center !important;
  image-rendering: auto !important;
}

.yc-home .yc-cover-card.is-active .yc-cover-media {
  inset: 0 !important;
}

.yc-home .yc-cover-media::after {
  content: none !important;
  background: none !important;
}

.yc-home .yc-cover-card .yc-cover-shine,
.yc-home .yc-cover-card .yc-cover-shine::after,
.yc-home .yc-cover-card::before,
.yc-home .yc-cover-card::after {
  display: none !important;
  opacity: 0 !important;
}

.yc-home .yc-cover-card .yc-cover-kicker {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  backdrop-filter: blur(8px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.04) !important;
  background: rgba(24, 18, 12, .55) !important;
  border-color: rgba(237, 194, 111, .34) !important;
}

.yc-home .yc-cover-card .yc-cover-content {
  position: absolute !important;
  top: auto !important;
  right: 14px !important;
  bottom: 14px !important;
  left: 14px !important;
  width: auto !important;
  height: auto !important;
  inset: auto 14px 14px 14px !important;
  transform: translateZ(1px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
}

.yc-home .yc-cover-card .yc-cover-text-panel {
  padding: 12px 14px 11px !important;
  border-radius: 14px !important;
  background:
    linear-gradient(155deg, rgba(18, 13, 9, .34), rgba(10, 7, 5, .22)) !important;
  border: 1px solid rgba(255, 240, 210, .24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 250, 236, .36) !important;
  backdrop-filter: blur(6px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(6px) saturate(1.04) !important;
  overflow: hidden;
}

.yc-home .yc-cover-content::before {
  display: none !important;
}

.yc-home .yc-cover-content h2 {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-size: clamp(17px, 1.18vw, 21px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  color: #fff7e8 !important;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .46) !important;
}

.yc-home .yc-cover-card.is-active .yc-cover-content h2 {
  font-size: clamp(20px, 1.42vw, 22px) !important;
}

.yc-home .yc-cover-content p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: auto;
  max-width: 100%;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-size: clamp(10px, .72vw, 12px) !important;
  line-height: 1.5 !important;
  color: rgba(255, 248, 232, .86) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .36) !important;
}

.yc-home .yc-cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin-top: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-size: 11px !important;
}

.yc-home .yc-cover-bottom b {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 221, .08);
}

.yc-home .yc-cover-card {
  overflow: hidden !important;
  outline: none !important;
  border: 1px solid rgba(228, 186, 98, .40) !important;
  background: transparent !important;
  box-shadow:
    0 34px 74px rgba(43, 27, 10, .30),
    0 10px 28px rgba(195, 133, 46, .14) !important;
}

.yc-home .yc-cover-card.is-active {
  border-color: rgba(255, 236, 182, .56) !important;
  background: transparent !important;
  box-shadow:
    0 44px 96px rgba(43, 27, 10, .36),
    0 18px 46px rgba(197, 139, 49, .18),
    0 0 28px rgba(231, 187, 93, .12) !important;
}

@media (max-width: 760px) {
  .yc-home .yc-cover-card .yc-cover-content {
    inset: auto 12px 12px 12px !important;
  }

  .yc-home .yc-cover-card .yc-cover-text-panel {
    padding: 10px 12px 9px !important;
    border-radius: 12px !important;
  }
}

/* Homepage quick picks + AI era strip */
.yc-pick-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.yc-pick-summary {
  margin: 8px 0 0;
  color: var(--yc-muted);
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yc-pick-card.is-text-only {
  min-height: 148px;
  padding: 14px 14px 12px;
  background:
    linear-gradient(180deg, rgba(255,254,249,.92), rgba(255,249,236,.72)) padding-box,
    linear-gradient(132deg, rgba(255,249,221,.88), rgba(205,158,80,.18)) border-box;
}

.yc-pick-card.is-text-only .yc-pick-meta {
  margin-top: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.yc-pick-card.is-text-only .yc-pick-summary {
  -webkit-line-clamp: 4;
}

.yc-ai-quick,
.yc-hot-quick {
  margin-top: 8px;
}

.yc-ai-quick-grid,
.yc-hot-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yc-ai-quick-card,
.yc-hot-quick-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  min-height: 132px;
  padding: 12px;
  border: 1px solid rgba(199,154,75,.22);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 251, 242, .82);
  box-shadow: 0 14px 34px rgba(68,42,12,.06);
  transition: transform .24s ease, box-shadow .24s ease;
}

.yc-ai-quick-card:hover,
.yc-hot-quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(68,42,12,.10);
}

.yc-ai-quick-card.is-text-only,
.yc-hot-quick-card.is-text-only {
  grid-template-columns: 1fr;
}

.yc-ai-quick-cover,
.yc-hot-quick-cover {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(199,154,75,.18);
  aspect-ratio: 16 / 10;
}

.yc-ai-quick-cover img,
.yc-hot-quick-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-ai-quick-body,
.yc-hot-quick-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.yc-ai-quick-kicker,
.yc-hot-quick-kicker {
  color: rgba(142,100,45,.86);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.yc-ai-quick-body strong,
.yc-hot-quick-body strong {
  color: var(--yc-ink);
  font-size: 16px;
  line-height: 1.35;
}

.yc-ai-quick-body p,
.yc-hot-quick-body p {
  margin: 0;
  color: var(--yc-muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yc-ai-quick-empty,
.yc-hot-quick-empty {
  grid-column: 1 / -1;
  color: var(--yc-muted);
}

@media (max-width: 1180px) {
  .yc-home-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yc-pick-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .yc-home-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yc-pick-row {
    grid-template-columns: 1fr;
  }

  .yc-ai-quick-grid,
  .yc-hot-quick-grid {
    grid-template-columns: 1fr;
  }

  .yc-ai-quick-card,
  .yc-hot-quick-card {
    grid-template-columns: 1fr;
  }
}

/* Coverflow 2:3 portrait lock + sharpness */
.yc-cover-card {
  width: 300px !important;
  height: 450px !important;
  aspect-ratio: 2 / 3;
}
.yc-cover-card.is-active {
  width: 360px !important;
  height: 540px !important;
  aspect-ratio: 2 / 3;
}
.yc-home .yc-cover-card {
  width: 300px !important;
  height: 450px !important;
}
.yc-home .yc-cover-card.is-active {
  width: 360px !important;
  height: 540px !important;
}
.yc-home .yc-cover-card .yc-cover-media {
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  filter: none !important;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Online games (Y8) */
.category-page-online-game .landscape-resource-card.online-game-card figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  display: block;
}
.detail-page-online .online-game-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(196, 152, 72, 0.28);
  box-shadow: 0 18px 40px rgba(60, 40, 16, 0.08);
}
.detail-page-online .online-game-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.detail-page-online .online-game-meta h1 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}
.detail-page-online .online-game-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.detail-page-online .online-game-facts div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 248, 232, 0.9);
  border: 1px solid rgba(210, 170, 90, 0.22);
}
.detail-page-online .online-game-facts dt {
  font-size: 12px;
  opacity: 0.65;
}
.detail-page-online .online-game-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}
.detail-page-online .online-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 16px;
}
.detail-page-online .online-game-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(180,140,70,0.18);
}
@media (max-width: 760px) {
  .detail-page-online .online-game-card {
    grid-template-columns: 1fr;
  }
  .detail-page-online .online-game-facts {
    grid-template-columns: 1fr;
  }
  .yc-cover-card,
  .yc-home .yc-cover-card {
    width: 220px !important;
    height: 330px !important;
  }
  .yc-cover-card.is-active,
  .yc-home .yc-cover-card.is-active {
    width: 260px !important;
    height: 390px !important;
  }
}

/* Online games: image + title only */
.category-page-online-game .online-game-hero p,
.category-page-online-game .category-sidebar,
.category-page-online-game .yc-movie-hot {
  display: none !important;
}
.category-page-online-game .online-game-grid {
  width: min(1280px, calc(100% - 48px));
  margin: 8px auto 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.category-page-online-game .online-game-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 252, 246, 0.9);
  border: 1px solid rgba(196, 152, 72, 0.22);
  box-shadow: 0 12px 28px rgba(60, 40, 16, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.category-page-online-game .online-game-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(60, 40, 16, 0.14);
}
.category-page-online-game .online-game-tile figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #ebe4d8;
  overflow: hidden;
}
.category-page-online-game .online-game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-page-online-game .online-game-tile h2 {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-page-online-game .online-game-tile {
  position: relative;
}
.category-page-online-game .online-game-tile-score {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-width: 36px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(24, 18, 12, 0.72);
  color: #ffe7b0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(231, 188, 93, 0.35);
}
.detail-page-online .online-game-score {
  margin: 0 0 12px;
  color: #b8892f;
  font-weight: 700;
}
.detail-page-online .online-game-actions .detail-primary-action {
  appearance: none;
  border: 0;
  cursor: pointer;
}
.detail-page-online .online-game-card-simple .online-game-meta h1 {
  margin-top: 0;
}
@media (max-width: 980px) {
  .category-page-online-game .online-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .category-page-online-game .online-game-grid {
    width: calc(100% - 28px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
}

/* Same-page windowless play overlay */
html.yc-online-play-open,
body.yc-online-play-open {
  overflow: hidden !important;
}
.yc-online-play-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  background: #0b0907;
}
.yc-online-play-overlay[hidden] {
  display: none !important;
}
.yc-online-play-bar {
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  background: linear-gradient(180deg, #241c14, #16120f);
  border-bottom: 1px solid rgba(231, 188, 93, 0.28);
  color: #fff6e6;
}
.yc-online-play-bar h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(62vw, 720px);
}
.yc-online-play-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.yc-online-play-actions button {
  appearance: none;
  border: 1px solid rgba(231, 188, 93, 0.35);
  background: rgba(255, 246, 230, 0.08);
  color: #fff6e6;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.yc-online-play-actions button:hover {
  background: rgba(231, 188, 93, 0.18);
  border-color: rgba(231, 188, 93, 0.55);
}
.yc-online-play-stage {
  flex: 1 1 auto;
  min-height: 0;
  background: #000;
}
.yc-online-play-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
