:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.84);
  --accent: #f5f7fb;
  --accent-soft: rgba(245, 247, 251, 0.62);
  --highlight: rgba(255, 255, 255, 0.18);
  --apple-blue: #0071e3;
  --apple-blue-soft: #47a5ff;
  --apple-blue-deep: #0055c8;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  --glass-edge: rgba(255, 255, 255, 0.2);
  --glass-inner: rgba(255, 255, 255, 0.14);
  --glass-tint: rgba(255, 255, 255, 0.1);
  --ui-scale: 1;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.startup-active {
  overflow: hidden;
}

.startup-splash {
  position: fixed;
  inset: 0;
  z-index: 60000;
  overflow: hidden;
  background: #050505;
  opacity: 1;
  transition:
    opacity 0.46s ease,
    background 0.6s ease,
    backdrop-filter 0.6s ease,
    -webkit-backdrop-filter 0.6s ease;
}

.startup-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 56%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.18));
}

.startup-splash-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  transition:
    opacity 0.45s ease,
    transform 0.72s ease,
    filter 0.72s ease;
}

.startup-splash.is-whiteout {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(132%);
  -webkit-backdrop-filter: blur(24px) saturate(132%);
}

.startup-splash.is-whiteout .startup-splash-video {
  opacity: 0;
  transform: scale(1.025);
  filter: blur(26px) brightness(1.12);
}

.startup-splash.is-closing {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding: 0 clamp(20px, 5vw, 80px) 120px;
}

.page-scale {
  --scale: var(--ui-scale);
  width: 100%;
  zoom: var(--scale);
}

@supports not (zoom: 1) {
  .page-scale {
    transform: scale(var(--scale));
    transform-origin: top center;
    width: calc(100% / var(--scale));
    margin-inline: auto;
  }
}

.page-section {
  display: none;
  padding-top: 40px;
  animation: pageFade 0.45s ease;
}

.page-section.active {
  display: block;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, #161616 0%, #070707 45%, #000000 100%);
}

.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.2'/></svg>");
  opacity: 0.18;
  mix-blend-mode: screen;
}

.orb {
  position: absolute;
  width: 50vmin;
  height: 50vmin;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.2;
}

.orb-1 {
  top: -10%;
  left: -5%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0) 60%);
}

.orb-2 {
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 210, 230, 0.18), rgba(0, 0, 0, 0) 60%);
}

.orb-3 {
  top: 20%;
  right: 15%;
  width: 30vmin;
  height: 30vmin;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0) 60%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px clamp(20px, 5vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 44px;
  pointer-events: auto;
}

.brand {
  position: static;
  justify-self: start;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: rgba(245, 247, 251, 0.74);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px) saturate(140%);
  overflow: hidden;
}

.nav-links::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 50%);
  opacity: 0.75;
  pointer-events: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 8px 23px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: color 0.28s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #ffffff;
}

.nav-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 80px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(150%);
  transition: transform 0.62s cubic-bezier(0.2, 0.88, 0.22, 1.04),
    width 0.62s cubic-bezier(0.2, 0.88, 0.22, 1.04),
    border-radius 0.62s cubic-bezier(0.2, 0.88, 0.22, 1.04);
  overflow: hidden;
  pointer-events: none;
  will-change: transform, width;
}

.nav-indicator::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    inset 0 -8px 16px rgba(0, 0, 0, 0.34);
}

.nav-indicator::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.2), transparent 48%),
    radial-gradient(circle at 72% 72%, rgba(255, 180, 200, 0.24), transparent 62%);
  animation: nav-liquid 5.2s ease-in-out infinite;
  opacity: 0.8;
}

.nav-indicator.moving::after {
  animation-duration: 2.2s;
  opacity: 0.98;
}

@keyframes nav-liquid {
  0% {
    transform: translateX(-6%) translateY(2%);
  }
  50% {
    transform: translateX(6%) translateY(-3%);
  }
  100% {
    transform: translateX(-6%) translateY(2%);
  }
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.hero {
  padding: clamp(50px, 10vh, 120px) 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-soft);
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: rgba(255, 180, 200, 1);
  color: #22121a;
  border-color: rgba(255, 210, 222, 0.95);
  box-shadow: 0 0 15px rgba(255, 180, 200, 0.5), 0 10px 28px rgba(255, 180, 200, 0.2);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.liquid {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 222, 0.94);
  background: rgba(255, 180, 200, 1);
  color: var(--accent);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 0 15px rgba(255, 180, 200, 0.5), 0 10px 28px rgba(255, 180, 200, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.liquid::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.45), transparent 46%);
  opacity: 0.7;
  animation: liquid-shimmer 4.6s linear infinite;
  pointer-events: none;
}

.liquid::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 70% 60%, rgba(255, 150, 186, 0.28), transparent 55%);
  opacity: 0.85;
  animation: liquid-float 6.6s ease-in-out infinite;
  pointer-events: none;
}

.liquid:hover {
  transform: translateY(-2px);
  background: rgb(255, 190, 208);
  box-shadow: 0 0 22px rgba(255, 180, 200, 0.72), 0 16px 34px rgba(255, 180, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.liquid:active {
  transform: translateY(0);
}

.btn.primary.liquid,
.btn.ghost.liquid,
.nav-cta.liquid {
  background: rgba(255, 180, 200, 1);
  color: #22121a;
  border-color: rgba(255, 210, 222, 0.94);
  box-shadow: 0 0 15px rgba(255, 180, 200, 0.5), 0 10px 28px rgba(255, 180, 200, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

@keyframes liquid-shimmer {
  0% {
    transform: translateX(-10%) translateY(-6%);
  }
  50% {
    transform: translateX(8%) translateY(4%);
  }
  100% {
    transform: translateX(-10%) translateY(-6%);
  }
}

@keyframes liquid-float {
  0% {
    transform: translateX(-6%) translateY(6%);
  }
  50% {
    transform: translateX(8%) translateY(-4%);
  }
  100% {
    transform: translateX(-6%) translateY(6%);
  }
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.meta-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(160%);
}

.glass > * {
  position: relative;
  z-index: 1;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.22), transparent 56%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.hero-card {
  padding: 30px;
}

.hero-card-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: linear-gradient(135deg, #111827, #334155);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  font-size: 1.3rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--accent);
}

.scroll-indicator {
  position: absolute;
  left: 0;
  bottom: 20px;
  font-size: 0.8rem;
  color: var(--accent-soft);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: float 2.4s ease-in-out infinite;
}

.home-hero {
  padding: clamp(50px, 10vh, 110px) 0 60px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.home-photo {
  padding: 20px;
  border-radius: 26px;
}

.home-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.home-info {
  display: grid;
  gap: 24px;
}

.home-name {
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  margin: 0;
}

.home-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

.home-meta .meta-label {
  font-size: 0.85rem;
}

.home-meta .meta-value {
  font-size: 1.05rem;
}

.home-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  width: 100%;
}

.home-bio h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.home-bio p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.section {
  margin-top: clamp(60px, 12vh, 140px);
}

.section-header h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

.direction-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.direction-card {
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: left;
  display: grid;
  gap: 12px;
}

.direction-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.direction-card p {
  margin: 0;
  color: rgba(245, 247, 251, 0.88);
}

.skill-groups {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.skill-card {
  padding: 22px;
  border-radius: var(--radius-md);
  display: grid;
  gap: 16px;
}

.skill-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.skill-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  overflow: hidden;
}

.skill-logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.skill-logo:hover img {
  transform: scale(1.12);
}

.skill-logo.text-only {
  font-weight: 600;
}

.project-stack {
  margin-top: 30px;
  display: grid;
  gap: clamp(34px, 3.2vw, 42px);
}

.projects-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
}

.projects-layout .project-stack {
  margin-top: 0;
}

.projects-sidebar {
  position: sticky;
  top: 74px;
  align-self: start;
  z-index: 8;
}

.projects-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.projects-timeline::before {
  content: none;
}

.project-timeline-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 12px 14px 13px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(247, 242, 234, 0.6));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 8px 22px rgba(60, 42, 18, 0.04);
  color: var(--muted);
  text-decoration: none;
  opacity: 0.5;
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    opacity 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.project-timeline-link:hover {
  transform: translateY(-2px);
  color: var(--text);
  opacity: 0.78;
  border-color: rgba(24, 22, 20, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(248, 244, 236, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 12px 26px rgba(60, 42, 18, 0.08);
}

.project-timeline-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 20, 0.24);
  background: rgba(24, 22, 20, 0.22);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease,
    box-shadow 0.24s ease;
  animation: projectTimelinePulseSoft 2.4s ease-in-out infinite;
}

.project-timeline-copy {
  display: grid;
  gap: 1px;
}

.project-timeline-index {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(24, 22, 20, 0.34);
}

.project-timeline-name {
  font-size: clamp(0.88rem, 0.94vw, 0.98rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.project-timeline-meta {
  font-size: 0.68rem;
  color: rgba(24, 22, 20, 0.44);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-timeline-link::after {
  content: none;
}

.project-timeline-link.active .project-timeline-dot {
  transform: scale(1.18);
  border-color: rgba(24, 22, 20, 0.68);
  background: var(--farhan-lime);
  box-shadow: 0 0 0 7px rgba(200, 255, 44, 0.26), 0 0 18px rgba(182, 255, 0, 0.26);
}

.project-timeline-link.active .project-timeline-name,
.project-timeline-link.active .project-timeline-meta,
.project-timeline-link.active .project-timeline-index {
  color: var(--text);
}

.project-timeline-link.active {
  opacity: 1 !important;
  transform: translateY(-1px);
  border-color: rgba(24, 22, 20, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 236, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 32px rgba(60, 42, 18, 0.12),
    0 3px 0 rgba(200, 255, 44, 0.72);
}

.project-stack {
  position: relative;
  padding-top: 8px;
}

.project-detail {
  padding: 30px;
  display: grid;
  gap: 24px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

.project-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.project-head h3 {
  margin: 0;
}

.project-title-wrapper {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr auto; /* 大屏左右并排 */
  align-items: start;
  gap: 24px;
  width: 100%;
}

.project-main-title {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.project-title-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  padding-top: 4px;
}

.project-title-logos img {
  height: 68px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* 响应式处理：当屏幕宽度小于 850px 时切换布局 */
@media (max-width: 850px) {
  .project-title-wrapper {
    grid-template-columns: 1fr; /* 切换为单列，上下堆叠 */
    gap: 16px;
  }

  .project-title-logos {
    justify-content: flex-start; /* 小屏时 Logo 靠左对齐 */
    padding-top: 0;
  }

  .project-title-logos img {
    height: 52px; /* 小屏时适当缩小 Logo 以适配空间 */
  }
}

.project-title-logos img:hover {
  transform: translateY(-2px) scale(1.05);
}

.project-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: -4px; /* Pull tags slightly closer to title row */
}

.project-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.project-block h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.project-jump-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12));
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease, background 0.26s ease, border-color 0.26s ease, color 0.26s ease;
}

.project-jump-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06) 54%);
  z-index: -1;
}

.project-jump-link::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f7fbff;
  text-shadow: 0 1px 2px rgba(0, 57, 123, 0.4);
  background: linear-gradient(
    150deg,
    var(--apple-blue-soft) 0%,
    var(--apple-blue) 46%,
    var(--apple-blue-deep) 100%
  );
  box-shadow: 0 6px 14px rgba(0, 99, 193, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease;
}

.project-jump-link:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.14));
  border-color: rgba(255, 255, 255, 0.34);
}

.project-jump-link:hover::after {
  transform: translateX(1px) rotate(-4deg);
  box-shadow: 0 8px 16px rgba(0, 99, 193, 0.36),
    inset 0 1px 1px rgba(255, 255, 255, 0.56);
}

.project-jump-link:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.42);
  outline-offset: 3px;
}

.project-block {
  display: grid;
  gap: 12px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.project-result-group {
  display: grid;
  gap: 10px;
}

.project-result-group + .project-result-group {
  margin-top: 10px;
}

.project-result-group h5 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent);
}

.project-link-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.project-link-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(24, 22, 20, 0.96);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.project-link-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(24, 22, 20, 0.9);
  flex-shrink: 0;
}

.project-link-url {
  color: rgba(24, 22, 20, 0.82);
  font-size: 0.92rem;
  line-height: 1.7;
  word-break: break-all;
  text-decoration: underline;
  text-decoration-color: rgba(24, 22, 20, 0.24);
  text-underline-offset: 3px;
}

.project-link-url:hover {
  color: rgba(24, 22, 20, 1);
  text-decoration-color: rgba(24, 22, 20, 0.42);
}

.result-pages-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.result-pages-grid .marquee-page {
  width: 100%;
  min-width: 0;
}

.result-pages-grid-expanded {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.result-page-card {
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 30px rgba(72, 54, 27, 0.06);
}

.result-page-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(247, 243, 236, 0.96);
}

.project-block p {
  margin: 0;
  color: var(--muted);
}

.project-detail {
  scroll-margin-top: 120px;
}

.project-detail[hidden] {
  display: none !important;
}

.project-detail.is-active {
  animation: projectPanelFade 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes projectPanelFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes projectTimelinePulseSoft {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(24, 22, 20, 0.08);
  }

  40% {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px rgba(24, 22, 20, 0.04);
  }

  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(24, 22, 20, 0);
  }
}

@keyframes projectTimelinePulseActive {
  0% {
    transform: scale(1.02);
    box-shadow: 0 0 0 0 rgba(200, 255, 44, 0.24);
  }

  35% {
    transform: scale(1.22);
    box-shadow: 0 0 0 10px rgba(200, 255, 44, 0.12);
  }

  100% {
    transform: scale(1.02);
    box-shadow: 0 0 0 0 rgba(200, 255, 44, 0);
  }
}

.project-timeline-link.active .project-timeline-dot {
  animation: projectTimelinePulseActive 2.1s ease-in-out infinite;
}

.project-list {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.project-list li {
  margin-bottom: 10px;
}

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

.workflow-grid.workflow-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.workflow-grid.workflow-grid-three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(82%, 1120px);
  margin: 0 auto;
  column-gap: clamp(18px, 2.2vw, 34px);
  row-gap: clamp(14px, 1.6vw, 24px);
  align-items: start;
}

.workflow-grid.workflow-grid-three .media-frame {
  padding: 0;
}

.workflow-grid.workflow-grid-three .media-frame img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
  background: transparent;
  border-radius: 0;
}

.workflow-grid.workflow-grid-three .workflow-frame-comfyui {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

.workflow-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.workflow-step-list {
  display: grid;
  gap: 16px;
}

.workflow-step {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.workflow-step h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.workflow-step-marker {
  display: inline-block;
  color: #86c61a;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
}

.workflow-step-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.workflow-step-media-lora {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-step-media-triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-step-media-double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-step-media-quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-step .media-frame {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.workflow-media-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(24, 22, 20, 0.82);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: 0 10px 20px rgba(24, 22, 20, 0.16);
}

.workflow-media-span-full {
  grid-column: 1 / -1;
}

.workflow-step .media-frame img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 14px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.project-hit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.project-hit-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(24, 22, 20, 0.06);
}

.project-hit-link {
  position: relative;
  display: block;
  background: rgba(246, 241, 234, 0.92);
}

.project-hit-link-disabled {
  pointer-events: none;
}

.project-hit-link img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.project-hit-link .media-zoom,
.circle-game-result-link .media-zoom,
.live-action-result-link .media-zoom {
  transition: none;
}

.project-hit-link .media-zoom:hover,
.circle-game-result-link .media-zoom:hover,
.live-action-result-link .media-zoom:hover {
  transform: none;
  filter: none;
}

.project-hit-meta {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 234, 0.96));
  border-top: 1px solid rgba(24, 22, 20, 0.08);
}

.project-hit-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-hit-tag {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 20, 0.12);
  background: rgba(24, 22, 20, 0.06);
  color: rgba(24, 22, 20, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
}

.project-hit-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(24, 22, 20, 0.08);
  color: rgba(24, 22, 20, 0.96);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.project-hit-views::before {
  content: "▶";
  color: #86c61a;
  font-size: 0.82rem;
  line-height: 1;
}

.project-hit-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
  font-size: 1rem;
  font-weight: 700;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.project-hit-play::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(8, 14, 25, 0.76);
  color: #f7fbff;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.project-hit-link:hover .project-hit-play,
.circle-game-result-link:hover .project-hit-play {
  opacity: 1;
  transform: translateY(0) scale(1.04);
}

.project-hit-link:hover .project-hit-play::after,
.circle-game-result-link:hover .project-hit-play::after {
  opacity: 1;
}

.circle-game-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.circle-game-result-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(24, 22, 20, 0.06);
}

.circle-game-result-link {
  position: relative;
  display: block;
  background: rgba(246, 241, 234, 0.92);
}

.circle-game-result-link img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.circle-game-result-meta {
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 234, 0.96));
  border-top: 1px solid rgba(24, 22, 20, 0.08);
}

.circle-game-result-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(24, 22, 20, 0.96);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.circle-game-result-name::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #86c61a;
  flex-shrink: 0;
}

.live-action-result-layout {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.live-action-result-grid {
  display: contents;
}

.live-action-result-card {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.live-action-result-card-cover {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
  height: 100%;
}

.live-action-result-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.live-action-result-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.live-action-result-link:hover .project-hit-play {
  opacity: 1;
  transform: translateY(0) scale(1.04);
}

.live-action-result-link:hover .project-hit-play::after {
  opacity: 1;
}

.live-action-cover-stat {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 22, 20, 0.8);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(24, 22, 20, 0.2);
}

.live-action-cover-stat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #86c61a;
  flex-shrink: 0;
}

.live-action-result-card-cover .live-action-result-link img {
  object-position: center top;
}

.live-action-result-grid .live-action-result-card {
  aspect-ratio: 9 / 16;
}

/* Refined live-action project result: hero poster + horizontal episode reel. */
.live-action-result-layout {
  display: grid;
  grid-template-columns: minmax(220px, 285px) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
  padding: clamp(14px, 1.4vw, 20px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 247, 241, 0.86)),
    radial-gradient(circle at 10% 10%, rgba(185, 255, 68, 0.12), transparent 38%);
  box-shadow: 0 18px 42px rgba(72, 54, 27, 0.08);
}

.live-action-result-card-cover {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}

.live-action-result-card-cover .live-action-result-link {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(24, 22, 20, 0.12);
}

.live-action-result-card-cover .live-action-result-link::after {
  content: "成片封面";
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #111111;
  font-size: 0.78rem;
  font-weight: 900;
}

.live-action-result-card-cover .live-action-result-link img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 34vw, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

.live-action-result-grid {
  counter-reset: liveActionEpisode;
  display: flex;
  gap: clamp(14px, 1.2vw, 20px);
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 6px 14px 0;
  scroll-snap-type: x proximity;
}

.live-action-result-grid .live-action-result-card {
  counter-increment: liveActionEpisode;
  position: relative;
  flex: 0 0 clamp(170px, 14vw, 230px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  scroll-snap-align: start;
  box-shadow: 0 14px 30px rgba(24, 22, 20, 0.08);
}

.live-action-result-grid .live-action-result-card::before {
  content: "EP" counter(liveActionEpisode, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.76);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 20px rgba(24, 22, 20, 0.16);
}

.live-action-result-grid .live-action-result-link img {
  object-fit: cover;
  object-position: center;
}

.live-action-result-grid::-webkit-scrollbar {
  height: 8px;
}

.live-action-result-grid::-webkit-scrollbar-track {
  background: rgba(24, 22, 20, 0.05);
  border-radius: 999px;
}

.live-action-result-grid::-webkit-scrollbar-thumb {
  background: rgba(134, 198, 26, 0.62);
  border-radius: 999px;
}

.live-action-type-group {
  margin-top: 24px;
}

.live-action-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.live-action-type-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(24, 22, 20, 0.04);
}

.live-action-type-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: rgba(247, 243, 236, 0.72);
}

.live-action-type-card figcaption {
  padding: 10px 12px 12px;
  color: rgba(24, 22, 20, 0.96);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.media-frame img {
  border: none;
  border-radius: 0;
  display: block;
}

.workflow-frame-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(8, 14, 25, 0.7);
  color: #f7fbff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(6px) saturate(145%);
  -webkit-backdrop-filter: blur(6px) saturate(145%);
  pointer-events: none;
}

.workflow-frame-wide {
  max-width: 1120px;
  margin: 0 auto;
}

.workflow-frame-wide img {
  width: 100%;
  aspect-ratio: 2185 / 919;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.gallery-section {
  margin-top: 32px;
}

.gallery-title {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px) saturate(150%);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item figcaption {
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.content-works-root {
  margin-top: 28px;
  display: grid;
  gap: 26px;
}

.works-group {
  padding: 24px;
  display: grid;
  gap: 18px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
  scroll-margin-top: 108px;
}

.works-group-head h3 {
  margin: 0;
  font-size: 1.26rem;
}

.works-group-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.works-subsection {
  display: grid;
  gap: 10px;
}

.works-subhead {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
}

.works-subhead h4 {
  margin: 0;
  font-size: 1rem;
}

.works-subhead span {
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.works-group-head {
  display: grid;
  gap: 8px;
}

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

.works-group-meta {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.works-group-action-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.works-group-action-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.32);
}

.works-subcards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.works-group-focus .works-subcards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.works-subcards-focus-columns .works-subcards-col {
  display: grid;
  gap: 14px;
  align-content: start;
}

.works-group-single .works-subcards {
  gap: 0;
}

.works-group-netease-game {
  overflow: visible;
}

.works-group-netease-game .works-group-head {
  margin-bottom: 18px;
}

.works-group-netease-game .works-subcards {
  display: block;
}

.netease-game-showcase {
  --game-color: #ecebe8;
  --game-accent: #4c5561;
  display: grid;
  grid-template-columns: minmax(104px, 126px) minmax(0, 1fr);
  gap: clamp(14px, 1.7vw, 22px);
  height: auto;
  min-height: 560px;
}

.netease-game-tabs {
  display: grid;
  grid-auto-rows: 52px;
  gap: 14px;
  align-content: start;
  min-height: 0;
  padding-top: 4px;
}

.netease-game-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.44)),
    var(--game-color);
  color: rgba(18, 18, 18, 0.62);
  box-shadow: 0 10px 26px rgba(18, 18, 18, 0.05);
  padding: 7px 10px;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    opacity 0.24s ease;
}

.netease-game-tab::before {
  content: "";
  position: absolute;
  inset: 9px auto 9px 0;
  width: 3px;
  border-radius: 999px;
  background: var(--game-accent);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
  transform: scaleY(0.42);
}

.netease-game-tab:hover,
.netease-game-tab.active {
  color: rgba(18, 18, 18, 0.92);
  border-color: color-mix(in srgb, var(--game-accent) 38%, rgba(255, 255, 255, 0.5));
  box-shadow: 0 16px 34px rgba(18, 18, 18, 0.11);
  transform: translateX(3px);
}

.netease-game-tab.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.netease-game-tab-title {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.netease-game-tab-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--game-accent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--game-accent) 9%, transparent),
    0 0 10px color-mix(in srgb, var(--game-accent) 28%, transparent);
  opacity: 0.72;
  animation: neteaseGameDotBreath 3.2s ease-in-out infinite;
}

.netease-game-panel {
  min-width: 0;
  height: auto;
  border: 1px solid color-mix(in srgb, var(--game-accent) 18%, rgba(255, 255, 255, 0.66));
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--game-color) 72%, transparent) 0, transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--game-color) 48%, rgba(255, 255, 255, 0.92)), rgba(255, 255, 255, 0.76));
  box-shadow: 0 28px 74px rgba(18, 18, 18, 0.1);
  padding: clamp(16px, 2vw, 24px);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 14px;
  overflow: visible;
}

.netease-game-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  padding-bottom: 10px;
}

.netease-game-panel-head span {
  color: var(--game-accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.netease-game-panel-head h4 {
  margin: 0;
  color: rgba(18, 18, 18, 0.92);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.netease-game-section {
  min-width: 0;
  min-height: 0;
  display: grid;
  gap: 8px;
}

.netease-game-scenes {
  align-content: start;
}

.netease-game-scripts {
  grid-template-rows: auto auto;
}

.netease-game-section-title {
  justify-self: start;
  border: 1px solid rgba(18, 18, 18, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(18, 18, 18, 0.72);
  box-shadow: 0 10px 22px rgba(18, 18, 18, 0.05);
  padding: 5px 11px;
  font-size: 0.76rem;
  font-weight: 850;
}

.netease-game-scene-strip {
  position: relative;
  min-width: 0;
  height: clamp(154px, 13vw, 188px);
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.netease-game-scene-strip::before,
.netease-game-scene-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 70px;
  pointer-events: none;
}

.netease-game-scene-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), transparent);
}

.netease-game-scene-strip::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.82), transparent);
}

.netease-game-scene-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  height: 100%;
  padding: 9px 12px;
  animation: neteaseSceneMarquee 42s linear infinite;
}

.netease-game-scene-strip:hover .netease-game-scene-track {
  animation-play-state: paused;
}

.netease-game-scene {
  flex: 0 0 auto;
  height: 100%;
  margin: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(18, 18, 18, 0.08);
}

.netease-game-scene img {
  width: auto;
  min-width: 118px;
  max-width: min(340px, 28vw);
  height: 100%;
  object-fit: contain;
  display: block;
}

.netease-game-script-rail {
  min-width: 0;
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
  overflow: visible;
  align-content: start;
  padding: 0 0 10px;
}

.netease-game-script-card {
  min-width: 0;
  height: auto;
  color: inherit;
  text-decoration: none;
  border-radius: 0;
  display: block;
}

.netease-game-script-media {
  position: relative;
  min-height: 0;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: block;
}

.netease-game-script-media img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(18, 18, 18, 0.12);
}

.netease-game-script-views {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.74);
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 18, 18, 0.18);
  backdrop-filter: blur(12px) saturate(140%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px 5px 7px;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  pointer-events: none;
}

.netease-game-script-views-icon {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(18, 18, 18, 0.78);
  font-size: 0.46rem;
  line-height: 1;
  transform: translateY(-0.2px);
}

.netease-game-script-meta {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(18, 18, 18, 0.78);
  font-size: 0.72rem;
  font-weight: 850;
}

.netease-game-script-meta span:last-child {
  color: var(--game-accent);
  opacity: 0.72;
  font-size: 0.66rem;
  white-space: nowrap;
}

.netease-game-script-card:hover .netease-game-script-media {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(18, 18, 18, 0.14);
}

.netease-game-script-media,
.netease-game-script-card .project-hit-play {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@keyframes neteaseSceneMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes neteaseGameDotBreath {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.62;
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--game-accent) 7%, transparent),
      0 0 8px color-mix(in srgb, var(--game-accent) 20%, transparent);
  }
  50% {
    transform: scale(1.06);
    opacity: 0.9;
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--game-accent) 12%, transparent),
      0 0 12px color-mix(in srgb, var(--game-accent) 30%, transparent);
  }
}

.works-subcard {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px) saturate(150%);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.works-subcard-flat {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 10px;
}

.works-subcard-static .works-subcard-head {
  justify-content: flex-start;
}

.works-group-plain .works-subcard {
  padding: 14px;
}

.works-subcard[data-expanded="true"] {
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.4);
}

.works-subcard-flat[data-expanded="true"] {
  box-shadow: none;
}

.works-subcard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.works-subcard-head-toggle-only {
  justify-content: flex-end;
}

.works-subcard-heading {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.works-subcard-heading h4 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--text);
}

.works-subcard-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  padding: 2px 8px;
  font-size: 0.76rem;
  color: var(--muted);
}

.works-toggle-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.works-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.32);
}

.works-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.works-group-focus .works-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.works-thumb {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.works-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.works-thumb-has-link img {
  cursor: pointer;
}

.works-thumb-link-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(17, 24, 39, 0.62);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  pointer-events: none;
}

.works-thumb-preview {
  aspect-ratio: 4 / 3;
}

.works-thumb-full {
  aspect-ratio: 4 / 3;
}

.works-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-group-focus .works-thumb img {
  object-fit: contain;
  background: rgba(247, 250, 255, 0.96);
}

.works-group-live-action .works-thumb-preview {
  aspect-ratio: 2 / 3;
}

.works-group-live-action .works-thumb-full {
  aspect-ratio: 2 / 3;
}

.works-group-live-action .works-preview-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.works-group-live-action .works-full-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.works-group-live-action .works-thumb img {
  object-fit: cover;
  background: transparent;
}

.works-group-aigc-standalone .works-thumb {
  border: 0;
  background: transparent;
}

.works-group-aigc-standalone .works-thumb-preview,
.works-group-aigc-standalone .works-thumb-full {
  aspect-ratio: auto;
}

.works-group-aigc-standalone .works-thumb img {
  height: auto;
  object-fit: contain;
  background: transparent;
}

.works-group-aigc-standalone .works-thumb-link {
  height: auto;
}

.works-group-aigc-recall-video .works-preview-grid,
.works-group-aigc-recall-video .works-full-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.works-group-aigc-recall-video {
  --recall-thumb-height: clamp(280px, 25vw, 420px);
}

.works-group-aigc-recall-video .works-marquee {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.works-group-aigc-recall-video .works-marquee::before,
.works-group-aigc-recall-video .works-marquee::after {
  width: 56px;
}

.works-group-aigc-recall-video .works-marquee-track {
  gap: 12px;
  padding: 2px 6px;
}

.works-group-aigc-recall-video .works-thumb-preview,
.works-group-aigc-recall-video .works-thumb-full {
  aspect-ratio: unset;
}

.works-group-aigc-recall-video .works-thumb {
  width: calc(var(--recall-thumb-height) * 0.67);
  height: var(--recall-thumb-height);
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.works-group-aigc-recall-video .works-thumb.works-thumb-landscape {
  width: calc(var(--recall-thumb-height) * 1.78);
}

.works-group-aigc-recall-video .works-thumb.works-thumb-square {
  width: var(--recall-thumb-height);
}

.works-group-aigc-recall-video .works-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.works-group-aigc-recall-video .works-thumb-link {
  width: 100%;
  height: 100%;
}

.works-group-aigc-recall-video .works-thumb[aria-hidden="true"] .works-thumb-link {
  pointer-events: none;
}

.works-group-tapnow .works-preview-grid,
.works-group-tapnow .works-full-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.works-group-tapnow .works-thumb-preview,
.works-group-tapnow .works-thumb-full {
  aspect-ratio: 16 / 9;
}

.works-group-tapnow .works-thumb {
  display: flex;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.works-group-tapnow .works-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.works-group-tapnow .works-thumb-link {
  width: 100%;
  height: 100%;
}

.works-group-operations .works-full-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.works-group-operations .works-thumb-preview,
.works-group-operations .works-thumb-full {
  aspect-ratio: 9 / 16;
}

.works-group-operations .works-thumb img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.works-group-character-assets {
  gap: 22px;
}

.works-group-character-assets .works-subcards {
  gap: 0;
}

.works-character-asset {
  display: grid;
  gap: 24px;
}

.works-character-asset-intro {
  display: grid;
  gap: 12px;
}

.works-character-asset-copy {
  display: grid;
  gap: 8px;
}

.works-character-asset-copy h4 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.2;
  color: var(--text);
}

.works-character-asset-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: none;
}

.works-character-asset-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.works-character-asset-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(134, 198, 26, 0.18);
  background: rgba(134, 198, 26, 0.1);
  color: rgba(24, 22, 20, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.works-character-asset-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.works-character-asset-stage.works-character-asset-stage-stack {
  grid-template-columns: minmax(0, 1fr);
}

.works-character-asset-flow {
  margin: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(24, 22, 20, 0.05);
  align-content: start;
}

.works-character-asset-flow img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(250, 247, 241, 0.92);
}

.works-character-asset-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.works-character-asset-flow-grid-main-side {
  grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr);
  align-items: start;
}

.works-character-asset-flow-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.works-character-asset-flow-grid-main-side > .works-character-asset-flow-media.is-main {
  aspect-ratio: 4 / 3;
}

.works-character-asset-flow-grid-main-side > .works-character-asset-flow-side .works-character-asset-flow-media {
  aspect-ratio: 7 / 4;
}

.works-character-asset-flow-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(250, 247, 241, 0.94);
}

.works-character-asset-flow-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.works-character-asset-flow-caption {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(248, 245, 239, 0.96);
  color: rgba(24, 22, 20, 0.94);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.works-character-asset-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.works-character-step {
  min-height: 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(24, 22, 20, 0.045);
  display: grid;
  gap: 10px;
  align-content: start;
}

.works-character-step-index {
  color: #86c61a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.works-character-step h5 {
  margin: 0;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.38;
}

.works-character-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

.works-character-asset-section {
  display: grid;
  gap: 14px;
}

.works-character-asset-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.works-character-asset-section-head h5 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.works-character-asset-section-head span {
  color: rgba(120, 112, 98, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
}

.works-character-asset-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.works-character-asset-grid {
  display: grid;
  grid-template-columns: repeat(var(--works-character-grid-columns, 2), minmax(0, 1fr));
  gap: 16px;
}

.works-character-asset-card {
  margin: 0;
  display: block;
}

.works-character-asset-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--works-character-card-ratio, 2.16 / 1);
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(24, 22, 20, 0.05);
}

.works-character-asset-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(249, 246, 239, 0.92);
}

.works-character-asset-result-plain .works-character-asset-card-media {
  display: block;
  aspect-ratio: auto;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  background: transparent;
}

.works-character-asset-result-plain .works-character-asset-card-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  background: transparent;
}

.works-character-asset-card-label {
  margin: 0;
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: calc(100% - 28px);
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(24, 22, 20, 0.76);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.works-character-asset-expand {
  display: grid;
  gap: 14px;
}

.works-character-asset-expand[hidden] {
  display: none !important;
}

.works-character-asset-toggle-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 17px 20px 15px;
  border-radius: 18px;
  border: 1px solid rgba(134, 198, 26, 0.34);
  background:
    linear-gradient(
      148deg,
      rgba(255, 255, 255, 0.84) 0%,
      rgba(248, 255, 236, 0.78) 42%,
      rgba(238, 249, 255, 0.66) 100%
    );
  box-shadow:
    0 20px 42px rgba(72, 54, 27, 0.12),
    0 8px 22px rgba(134, 198, 26, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -16px 28px rgba(134, 198, 26, 0.1);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.works-character-asset-toggle-bar::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 270px;
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(165, 224, 65, 0.95), transparent);
  pointer-events: none;
}

.works-character-asset-toggle-bar::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -32%;
  width: 34%;
  height: 190%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.08) 70%,
    transparent 100%
  );
  pointer-events: none;
  transform: translateX(0);
  opacity: 0.65;
  transition: transform 0.48s ease, opacity 0.48s ease;
}

.works-character-asset-toggle-bar:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 198, 26, 0.56);
  background:
    linear-gradient(
      148deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(248, 255, 235, 0.88) 44%,
      rgba(236, 250, 255, 0.76) 100%
    );
  box-shadow:
    0 24px 46px rgba(72, 54, 27, 0.14),
    0 12px 30px rgba(134, 198, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -18px 30px rgba(134, 198, 26, 0.12);
}

.works-character-asset-toggle-bar:hover::after {
  transform: translateX(300%);
  opacity: 0.92;
}

.works-character-asset-toggle-bar[aria-expanded="true"] {
  border-color: rgba(134, 198, 26, 0.62);
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(246, 255, 229, 0.9) 46%,
      rgba(234, 248, 255, 0.8) 100%
    );
  box-shadow:
    0 22px 44px rgba(72, 54, 27, 0.14),
    0 11px 26px rgba(134, 198, 26, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -18px 28px rgba(134, 198, 26, 0.14);
}

.works-character-asset-toggle-bar:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(160, 222, 53, 0.28),
    0 24px 46px rgba(72, 54, 27, 0.14),
    0 12px 30px rgba(134, 198, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -18px 30px rgba(134, 198, 26, 0.12);
}

.works-character-asset-toggle-bar-copy {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.works-character-asset-toggle-bar-title {
  color: rgba(24, 22, 20, 0.98);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
}

.works-character-asset-toggle-bar-icon {
  color: #78bd10;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 12px rgba(134, 198, 26, 0.36);
  transition: transform 0.22s ease, color 0.22s ease;
}

.works-character-asset-toggle-bar[aria-expanded="true"] .works-character-asset-toggle-bar-icon {
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .works-character-asset-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-character-asset-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-character-asset-flow-grid-main-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-character-asset-flow-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 920px) {
  .works-character-asset-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .works-character-asset {
    gap: 20px;
  }

  .works-character-asset-meta {
    gap: 8px;
  }

  .works-character-asset-meta span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .works-character-asset-flow {
    padding: 10px;
    border-radius: 18px;
  }

  .works-character-asset-flow img {
    border-radius: 12px;
  }

  .works-character-asset-flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-character-asset-flow-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-character-asset-steps,
  .works-character-asset-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-character-step {
    padding: 14px;
  }

  .works-character-asset-card-media {
    border-radius: 16px;
  }

  .works-character-asset-card-media img {
    border-radius: 16px;
  }

  .works-character-asset-toggle-bar {
    padding: 14px 15px;
  }
}

.works-video-stack {
  display: grid;
  gap: 16px;
}

.works-video-stack-head {
  display: flex;
  align-items: flex-start;
}

.works-video-stack-heading h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--text);
}

.works-video-list {
  display: grid;
  gap: 16px;
}

.works-video-item {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  grid-template-areas:
    "video-cover video-copy"
    "video-frames video-frames";
  column-gap: 22px;
  row-gap: 12px;
  align-items: start;
  border-radius: 14px;
  border: 1px solid rgba(206, 221, 242, 0.78);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.96),
    rgba(245, 249, 255, 0.78)
  );
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 12px;
}

.works-video-cover {
  grid-area: video-cover;
  margin: 0;
  width: min(100%, 520px);
  justify-self: start;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: #dce7f6;
  aspect-ratio: 16 / 9;
}

.works-video-cover-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.works-video-cover-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 25, 0.08),
    rgba(8, 14, 25, 0.34)
  );
  pointer-events: none;
  opacity: 0.84;
  transition: opacity 0.25s ease;
}

.works-video-cover-link:hover::after {
  opacity: 1;
}

.works-video-cover-link[aria-disabled="true"] {
  cursor: default;
}

.works-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(8, 14, 25, 0.5);
  box-shadow: 0 8px 20px rgba(8, 14, 25, 0.26);
  pointer-events: none;
}

.works-video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.works-video-frames {
  grid-area: video-frames;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.works-video-frame {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(235, 242, 252, 0.8);
  aspect-ratio: 16 / 9;
}

.works-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-video-copy {
  grid-area: video-copy;
  display: grid;
  gap: 14px;
  padding-top: 16px;
  align-content: start;
}

.works-video-copy h5 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--text);
}

.works-video-copy ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 1.06rem;
}

.works-video-copy li {
  line-height: 1.76;
}

.works-subcard-photo {
  gap: 12px;
}

.works-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.works-photo-item {
  margin: 0;
  height: clamp(160px, 12.8vw, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.works-photo-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.works-subcard-photo .media-zoom:hover {
  transform: none;
  filter: none;
}

.works-thumb-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 14, 25, 0.5);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.works-expand-panel {
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
  padding-top: 10px;
}

.works-subcard-flat .works-expand-panel {
  border-top: 0;
  padding-top: 8px;
}

.works-full-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.works-group-focus .works-full-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.works-group-plain .works-full-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.works-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7),
    rgba(244, 248, 255, 0.55)
  );
}

.works-marquee::before,
.works-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.works-marquee::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(244, 248, 255, 0.95),
    rgba(244, 248, 255, 0)
  );
}

.works-marquee::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(244, 248, 255, 0.95),
    rgba(244, 248, 255, 0)
  );
}

.works-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 12px;
  animation: works-marquee-scroll var(--works-duration, 42s) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.works-marquee-track.reverse {
  animation-direction: reverse;
}

.works-marquee.is-running .works-marquee-track {
  animation-play-state: running;
}

.works-fixed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.works-item {
  --works-ratio: 0.75;
  margin: 0;
  height: 220px;
  width: clamp(124px, calc(220px * var(--works-ratio)), 360px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.13);
  background: rgba(255, 255, 255, 0.2);
  flex: 0 0 auto;
}

.works-item-fixed {
  width: 100%;
  height: auto;
  flex: none;
  aspect-ratio: auto;
}

.works-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(236, 242, 251, 0.86);
  display: block;
}

.works-item-fixed img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: linear-gradient(
    160deg,
    rgba(245, 249, 255, 0.95),
    rgba(238, 244, 254, 0.92)
  );
  display: block;
}

@keyframes works-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.media-zoom {
  transition: transform 0.35s ease, filter 0.35s ease;
  will-change: transform;
}

.zoomable-image {
  cursor: zoom-in;
}

.media-zoom:hover {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
  background: rgba(10, 14, 22, 0.58);
  backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.image-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-img {
  max-width: min(92vw, 1540px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  transform: scale(0.965);
  transition: transform 0.3s cubic-bezier(0.2, 0.85, 0.3, 1);
  object-fit: contain;
}

.image-lightbox.active .image-lightbox-img {
  transform: scale(1);
}

.image-lightbox-close {
  position: fixed;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #f7f9ff;
  background: rgba(16, 20, 28, 0.62);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

body.video-lightbox-open {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(7, 10, 16, 0.72);
  backdrop-filter: blur(10px) saturate(130%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.video-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox-panel {
  width: min(94vw, 760px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 14, 22, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.video-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #f2f5fb;
}

.video-lightbox-title {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.92;
}

.video-lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f9ff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.video-lightbox-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-lightbox-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-lightbox-actions {
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px 12px;
}

.video-lightbox-open {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #f5f8ff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(150%);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 20px;
  animation: marquee-ltr 35s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.marquee.is-running .marquee-track {
  animation-play-state: running;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  margin: 0;
  width: 280px;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.09));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px) saturate(150%);
  position: relative;
}

.marquee-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.marquee-header {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
}

.marquee-cover {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.marquee-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.marquee-meta h5 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.marquee-meta p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.marquee-meta span {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--accent-soft);
}

.marquee-section span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.marquee-section p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.episode-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.episode-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.play-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30, 34, 45, 0.72);
  color: #fff;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.play-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10.5' fill='white' opacity='0.95'/><polygon points='10,8 16,12 10,16' fill='%23101318'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

@keyframes marquee-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  padding: 16px 0;
}

.carousel-track {
  display: flex;
  gap: 12px;
  animation: carousel-scroll 55s linear infinite;
  width: max-content;
  animation-play-state: paused;
  will-change: transform;
}

.carousel-container.is-running .carousel-track {
  animation-play-state: running;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  flex-shrink: 0;
  width: 220px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(150%);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-6px) scale(1.04);
  z-index: 2;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.circle-game-carousel .carousel-item {
  width: 248px;
}

.live-action-carousel .carousel-item {
  width: 262px;
}

.circle-game-carousel,
.live-action-carousel {
  overflow: visible;
  mask-image: none;
  -webkit-mask-image: none;
  padding: 10px 0 0;
}

.circle-game-carousel .carousel-track,
.live-action-carousel .carousel-track {
  width: 100%;
  display: grid;
  animation: none;
  transform: none !important;
  gap: 12px;
}

.circle-game-carousel .carousel-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.live-action-carousel .carousel-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.circle-game-carousel .carousel-item,
.live-action-carousel .carousel-item {
  width: 100%;
}

.live-action-carousel .carousel-item {
  max-width: 220px;
  justify-self: center;
}

.circle-game-carousel .carousel-item:hover,
.live-action-carousel .carousel-item:hover {
  transform: none;
  z-index: auto;
}

.circle-game-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  align-content: start;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px) saturate(150%);
}

.circle-game-card img {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.circle-game-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.02em;
}

.result-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30, 34, 45, 0.75);
  color: #fff;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.result-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10.5' fill='white' opacity='0.95'/><polygon points='10,8 16,12 10,16' fill='%23101318'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-10 * (220px + 12px)));
  }
}

.marquee-soft {
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.marquee-track-tight {
  padding: 14px 12px;
  animation-duration: 30s;
}

.marquee-page {
  margin: 0;
  width: 230px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px) saturate(150%);
}

.marquee-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  display: block;
}

.card-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(26px) saturate(160%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card h3 {
  margin-top: 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.48);
}

.timeline {
  margin-top: 32px;
  padding: 30px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  font-weight: 600;
  color: var(--accent);
}

.timeline-content ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.timeline-content li {
  margin-bottom: 8px;
  color: var(--muted);
}

.projects .project {
  position: relative;
  overflow: hidden;
}

.project-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 18px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.contact {
  margin-top: 30px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.availability {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(160%);
}

.footer {
  padding: 40px clamp(20px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(160%);
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 420px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid.workflow-grid-three {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
    row-gap: 12px;
  }

  .workflow-grid.workflow-grid-three .workflow-frame-comfyui {
    width: 100%;
    margin: 0;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-photo {
    max-width: 360px;
  }

  .works-item {
    height: 194px;
    width: clamp(116px, calc(194px * var(--works-ratio)), 300px);
  }

  .works-item-fixed {
    height: auto;
    width: 100%;
    aspect-ratio: auto;
  }

  .result-pages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .result-pages-grid-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .works-subcards {
    grid-template-columns: 1fr;
  }

  .works-full-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .works-video-item {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    column-gap: 16px;
    row-gap: 10px;
  }

  .works-video-cover {
    width: min(100%, 470px);
  }

  .works-video-copy {
    padding-top: 12px;
  }

  .works-video-play-btn {
    width: 56px;
    height: 56px;
  }

  .works-video-play-icon {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 16px;
  }

  .works-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .works-photo-item {
    height: clamp(150px, 14vw, 205px);
  }

  .circle-game-carousel .carousel-track,
  .live-action-carousel .carousel-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .live-action-carousel .carousel-item {
    max-width: 100%;
  }

}

@media (max-width: 720px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    min-height: auto;
  }

  .brand {
    justify-self: center;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 6px;
    white-space: nowrap;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .skill-groups {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }

  .home-meta-grid {
    grid-template-columns: 1fr;
  }

  .works-group {
    padding: 18px;
  }

  .works-marquee::before,
  .works-marquee::after {
    width: 26px;
  }

  .works-item {
    height: 164px;
    width: clamp(98px, calc(164px * var(--works-ratio)), 248px);
  }

  .works-fixed-grid {
    grid-template-columns: 1fr;
  }

  .works-item-fixed {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .works-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .works-group-live-action .works-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .works-full-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .works-group-live-action .works-full-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .works-group-operations .works-full-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .works-group-tapnow .works-full-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .works-group-aigc-recall-video .works-preview-grid,
  .works-group-aigc-recall-video .works-full-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .works-group-aigc-recall-video {
    --recall-thumb-height: clamp(196px, 56vw, 320px);
  }

  .works-group-aigc-recall-video .works-marquee::before,
  .works-group-aigc-recall-video .works-marquee::after {
    width: 24px;
  }

  .works-group-aigc-recall-video .works-marquee-track {
    gap: 8px;
    padding: 0 2px;
  }

  .works-subcard {
    padding: 10px;
    gap: 8px;
  }

  .works-subcard-head {
    gap: 8px;
  }

  .works-subcard-heading h4 {
    font-size: 0.92rem;
  }

  .works-video-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "video-cover"
      "video-copy"
      "video-frames";
    gap: 10px;
    padding: 10px;
  }

  .works-video-cover {
    width: 100%;
    max-width: none;
  }

  .works-video-frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .works-video-copy {
    gap: 9px;
    padding-top: 2px;
  }

  .works-video-copy h5 {
    font-size: 1.1rem;
  }

  .works-video-copy ul {
    font-size: 0.98rem;
    gap: 6px;
  }

  .works-video-play-btn {
    width: 48px;
    height: 48px;
  }

  .works-video-play-icon {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

  .video-lightbox {
    padding: 8px;
  }

  .video-lightbox-panel {
    width: 96vw;
    border-radius: 12px;
  }

  .video-lightbox-head {
    padding: 8px 10px;
  }

  .video-lightbox-title {
    font-size: 0.82rem;
  }

  .video-lightbox-close {
    font-size: 0.76rem;
    padding: 5px 9px;
  }

  .video-lightbox-actions {
    padding: 8px 10px 10px;
  }

  .works-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .works-photo-item {
    height: clamp(136px, 34vw, 180px);
  }

  .circle-game-carousel .carousel-track,
  .live-action-carousel .carousel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .circle-game-card {
    padding: 10px;
    gap: 8px;
  }

  .circle-game-card-title {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Apple-inspired premium light theme overrides */
:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --border: rgba(17, 17, 20, 0.08);
  --text: #111114;
  --muted: rgba(17, 17, 20, 0.68);
  --accent: #111114;
  --accent-soft: rgba(17, 17, 20, 0.48);
  --highlight: rgba(255, 255, 255, 0.86);
  --shadow: 0 28px 72px rgba(15, 23, 42, 0.08);
  --glass-edge: rgba(255, 255, 255, 0.78);
  --glass-inner: rgba(255, 255, 255, 0.94);
  --glass-tint: rgba(255, 255, 255, 0.74);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

html {
  background: #f5f5f7;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 34%, #eef2f7 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(0, 113, 227, 0.18);
  color: #111114;
}

main {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 88px) 144px;
}

.page-section {
  padding-top: 56px;
}

.bg {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 88% 12%, rgba(220, 232, 255, 0.78), rgba(220, 232, 255, 0) 28%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 42%, #eef2f7 100%);
}

.noise {
  opacity: 0.035;
  mix-blend-mode: multiply;
}

.orb {
  filter: blur(120px);
  opacity: 0.55;
}

.orb-1 {
  top: -16%;
  left: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 68%);
}

.orb-2 {
  bottom: -24%;
  right: -12%;
  background: radial-gradient(circle at 35% 35%, rgba(214, 227, 255, 0.7), rgba(214, 227, 255, 0) 72%);
}

.orb-3 {
  top: 18%;
  right: 12%;
  width: 42vmin;
  height: 42vmin;
  background: radial-gradient(circle at 35% 35%, rgba(246, 249, 255, 0.88), rgba(246, 249, 255, 0) 72%);
}

.nav {
  padding: 14px clamp(20px, 5vw, 80px);
  background: rgba(245, 245, 247, 0.72);
  border-bottom: 1px solid rgba(17, 17, 20, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.nav-inner {
  min-height: 52px;
}

.brand {
  color: #111114;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav-links {
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(17, 17, 20, 0.6);
  border: 1px solid rgba(17, 17, 20, 0.06);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.nav-links::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  opacity: 1;
}

.nav-links a {
  padding: 10px 22px;
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111114;
}

.nav-indicator {
  top: 6px;
  bottom: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 252, 0.92));
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(219, 225, 235, 0.48);
  backdrop-filter: blur(18px) saturate(180%);
}

.nav-indicator::before {
  box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.04);
}

.nav-indicator::after {
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(225, 233, 245, 0.34)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 60%);
  animation: none;
  opacity: 0.95;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(250, 251, 253, 0.72));
  border: 1px solid rgba(17, 17, 20, 0.06);
  box-shadow:
    0 28px 72px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(215, 223, 234, 0.35);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.glass::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 100% 0%, rgba(228, 236, 248, 0.7), rgba(228, 236, 248, 0) 44%);
  opacity: 1;
}

.glass::after {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.eyebrow {
  color: rgba(17, 17, 20, 0.46);
  letter-spacing: 0.28em;
}

.muted,
.project-block p,
.project-list,
.timeline-content li,
.works-group-head p,
.works-video-copy ul,
.marquee-meta p,
.marquee-section p,
.footer {
  color: var(--muted);
}

.home-hero {
  padding: clamp(64px, 12vh, 136px) 0 74px;
}

.home-hero-grid {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
}

.home-photo {
  padding: 24px;
  border-radius: 34px;
}

.home-photo img {
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.home-info {
  gap: 30px;
  max-width: 900px;
}

.home-name {
  font-size: clamp(3.7rem, 8vw, 6.8rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.home-meta-grid {
  gap: 18px;
}

.home-meta {
  padding: 18px 20px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 17, 20, 0.06);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.home-meta .meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(17, 17, 20, 0.44);
}

.home-meta .meta-value {
  color: #111114;
  font-size: 1.08rem;
  font-weight: 600;
}

.home-divider {
  background: linear-gradient(90deg, rgba(17, 17, 20, 0.12), rgba(17, 17, 20, 0.02));
}

.home-bio h3 {
  margin-bottom: 12px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: rgba(17, 17, 20, 0.52);
}

.home-bio p {
  max-width: 48rem;
  font-size: 1.06rem;
  line-height: 1.9;
  color: rgba(17, 17, 20, 0.72);
}

.section {
  margin-top: clamp(78px, 11vh, 152px);
}

.section-header {
  max-width: 980px;
}

.section-header h2 {
  color: #111114;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  max-width: 13ch;
  text-wrap: balance;
}

.card-grid,
.skill-groups,
.project-stack,
.content-works-root {
  margin-top: 34px;
}

.card,
.skill-card,
.project-detail,
.works-group,
.marquee-item,
.carousel-item,
.marquee-page,
.works-item,
.circle-game-card {
  border-color: rgba(17, 17, 20, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 252, 0.82));
  box-shadow:
    0 22px 54px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
}

.card {
  padding: 30px 28px;
}

.card h3,
.skill-card h3,
.timeline-content h3,
.project-block h4,
.project-result-group h5,
.works-subcard-heading h4,
.works-video-copy h5,
.marquee-meta h5,
.circle-game-card-title {
  color: #111114;
  letter-spacing: -0.02em;
}

.card:hover,
.carousel-item:hover {
  box-shadow:
    0 26px 58px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.skill-card {
  padding: 26px;
}

.skill-logo,
.project-tags span,
.works-group-action-btn,
.works-toggle-btn,
.works-subcard-count,
.episode-row span,
.chip {
  border: 1px solid rgba(17, 17, 20, 0.08);
  background: rgba(245, 246, 249, 0.94);
  color: #111114;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.skill-logo {
  padding: 10px 14px;
}

.skill-logo img {
  width: 24px;
  height: 24px;
}

.timeline {
  margin-top: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.timeline::before,
.timeline::after {
  display: none;
}

.timeline-item {
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(17, 17, 20, 0.08);
}

.timeline-date {
  color: rgba(17, 17, 20, 0.42);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.timeline-content .muted {
  margin-top: 6px;
  color: rgba(17, 17, 20, 0.5);
}

.timeline-content li {
  line-height: 1.8;
}

.project-detail {
  padding: clamp(30px, 4vw, 44px);
  gap: 30px;
}

.project-head {
  gap: 18px;
}

.project-main-title {
  color: #111114;
  font-size: clamp(1.85rem, 2.4vw, 2.6rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.project-tags span {
  color: rgba(17, 17, 20, 0.62);
}

.project-block {
  gap: 16px;
}

.project-block + .project-block {
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 20, 0.06);
}

.project-list li {
  margin-bottom: 12px;
}

.project-jump-link {
  border: 1px solid rgba(0, 113, 227, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.92));
  color: var(--apple-blue);
  box-shadow:
    0 14px 36px rgba(0, 113, 227, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
}

.project-jump-link::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.42));
}

.project-jump-link::after {
  content: ">";
  color: #ffffff;
  text-shadow: none;
  background: linear-gradient(180deg, #2997ff 0%, #0071e3 100%);
  box-shadow:
    0 8px 18px rgba(0, 113, 227, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.project-jump-link:hover {
  color: #0058cc;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 249, 253, 0.96));
  border-color: rgba(0, 113, 227, 0.18);
  box-shadow:
    0 18px 42px rgba(0, 113, 227, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.project-jump-link:hover::after {
  transform: translateX(2px);
}

.workflow-grid img,
.media-frame img,
.marquee-page img,
.carousel-item img,
.works-item img,
.works-item-fixed img {
  background: linear-gradient(180deg, rgba(251, 252, 253, 0.98), rgba(243, 246, 250, 0.92));
}

.workflow-grid img {
  border: 0;
}

.media-frame {
  border: 1px solid rgba(17, 17, 20, 0.07);
  background: linear-gradient(180deg, rgba(251, 252, 253, 0.98), rgba(244, 247, 251, 0.9));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.07);
}

.workflow-frame-label {
  border: 1px solid rgba(17, 17, 20, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: #111114;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.works-group {
  padding: 28px;
  border-radius: 32px;
  gap: 22px;
}

.works-group-head h3 {
  font-size: 1.42rem;
  letter-spacing: -0.03em;
  color: #111114;
}

.works-group-meta,
.works-subhead span {
  color: rgba(17, 17, 20, 0.52);
}

.works-group-action-btn:hover,
.works-toggle-btn:hover {
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.2);
}

.works-subcard {
  border: 1px solid rgba(17, 17, 20, 0.06);
  background: linear-gradient(180deg, rgba(252, 252, 253, 0.94), rgba(247, 248, 251, 0.86));
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(22px) saturate(180%);
}

.works-subcard[data-expanded="true"] {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.works-thumb {
  border: 1px solid rgba(17, 17, 20, 0.08);
  background: rgba(246, 248, 251, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.works-thumb-link-hint {
  border: 1px solid rgba(17, 17, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(17, 17, 20, 0.72);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.works-group-focus .works-thumb img,
.works-group-operations .works-thumb img {
  background: rgba(248, 250, 252, 0.98);
}

.works-thumb-more {
  background: rgba(245, 247, 250, 0.8);
  color: #111114;
  backdrop-filter: blur(6px);
}

.works-expand-panel {
  border-top: 1px dashed rgba(17, 17, 20, 0.08);
}

.works-marquee,
.marquee,
.marquee-soft {
  border: 1px solid rgba(17, 17, 20, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 16px 36px rgba(15, 23, 42, 0.05);
}

.works-marquee::before {
  background: linear-gradient(to right, rgba(247, 249, 252, 0.98), rgba(247, 249, 252, 0));
}

.works-marquee::after {
  background: linear-gradient(to left, rgba(247, 249, 252, 0.98), rgba(247, 249, 252, 0));
}

.marquee-cover {
  border: 1px solid rgba(17, 17, 20, 0.08);
  background: rgba(245, 247, 250, 0.92);
}

.play-badge,
.result-badge {
  background: rgba(255, 255, 255, 0.82);
  color: #111114;
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px) saturate(180%);
}

.play-badge::before,
.result-badge::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10.5' fill='%23111114' opacity='0.96'/><polygon points='10,8 16,12 10,16' fill='white'/></svg>");
}

.works-video-item {
  border: 1px solid rgba(17, 17, 20, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.84));
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.works-video-cover,
.works-video-frame {
  border: 1px solid rgba(17, 17, 20, 0.08);
  background: rgba(243, 246, 250, 0.92);
}

.works-video-cover-link::after {
  background: linear-gradient(180deg, rgba(8, 14, 25, 0.02), rgba(8, 14, 25, 0.18));
}

.works-video-play-btn {
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

.works-video-play-icon {
  border-left-color: #111114;
}

.image-lightbox {
  background: rgba(241, 244, 248, 0.66);
  backdrop-filter: blur(16px) saturate(180%);
}

.image-lightbox-img {
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.footer {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(17, 17, 20, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
}

.reveal {
  transition: opacity 0.72s cubic-bezier(0.2, 0.85, 0.2, 1), transform 0.72s cubic-bezier(0.2, 0.85, 0.2, 1);
}

@media (max-width: 1024px) {
  main {
    padding-bottom: 120px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .section-header h2 {
    max-width: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-head {
    align-items: flex-start;
  }

  .projects-sidebar {
    top: 70px;
  }

  .projects-timeline {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 12px;
    scroll-snap-type: x proximity;
  }

  .project-timeline-link {
    min-width: 176px;
    padding: 9px 0 12px;
    scroll-snap-align: start;
  }

  .project-timeline-dot {
    margin-top: 7px;
  }

  .result-pages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.82);
  }

  .home-name {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .home-meta {
    padding: 16px 18px 18px;
  }

  .section {
    margin-top: 66px;
  }

  .section-header h2 {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }

  .card,
  .skill-card,
  .project-detail,
  .works-group {
    border-radius: 24px;
  }

  .project-jump-link {
    width: 100%;
    justify-content: space-between;
  }

  .projects-layout {
    gap: 18px;
  }

  .projects-timeline {
    display: flex;
    gap: 10px;
    padding: 8px 0 12px;
    margin-inline: -2px;
  }

  .project-timeline-link {
    min-width: 206px;
  }

  .works-group {
    padding: 20px;
  }

  .result-pages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .result-pages-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Farhan Rao inspired warm editorial landing overrides */
:root {
  --bg: #f3efe6;
  --surface: #ffffff;
  --surface-soft: #f7f2ea;
  --surface-muted: #f0ebe2;
  --text: #181614;
  --muted: rgba(24, 22, 20, 0.72);
  --accent-soft: rgba(24, 22, 20, 0.5);
  --border: rgba(24, 22, 20, 0.08);
  --farhan-lime: #c8ff2c;
  --farhan-lime-deep: #b6ff00;
}

body {
  font-family: "Plus Jakarta Sans", "Avenir Next", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #f8f4ec 0%, #f3efe6 42%, #efe9df 100%);
}

main {
  max-width: 1420px;
  padding-inline: clamp(18px, 4vw, 60px);
}

.bg {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 26%),
    linear-gradient(180deg, #f8f4ec 0%, #f3efe6 42%, #efe9df 100%);
}

.noise {
  opacity: 0.025;
}

.orb-1,
.orb-2,
.orb-3 {
  opacity: 0.18;
  filter: blur(150px);
}

.nav {
  padding-top: 26px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-inner {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 68px;
  padding: 9px 10px 9px 28px;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  box-shadow:
    0 24px 60px rgba(27, 22, 17, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  pointer-events: auto;
}

.brand {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.nav-links {
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-links::before,
.glass::before,
.glass::after {
  display: none;
}

.nav-links a {
  padding: 14px 20px;
  font-size: 0.98rem;
  font-weight: 500;
  color: inherit;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-indicator {
  top: 7px;
  bottom: 7px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: none;
}

.nav-indicator::before,
.nav-indicator::after {
  display: none;
}

.page-section {
  padding-top: 42px;
}

.home-hero {
  padding: 34px 0 28px;
}

.home-hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 84px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  box-shadow:
    0 36px 70px rgba(64, 44, 16, 0.08),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
  text-align: center;
}

.home-photo {
  width: 116px;
  height: 116px;
  padding: 8px;
  margin: 0 auto;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(24, 22, 20, 0.08);
  box-shadow: none;
}

.home-photo img {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  object-position: center 18%;
  box-shadow: none;
}

.home-info {
  width: 100%;
  max-width: 860px;
  justify-items: center;
  gap: 20px;
}

.home-name {
  max-width: 9ch;
  font-size: clamp(3.8rem, 8vw, 6.25rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.09em;
  text-wrap: balance;
}

.home-divider {
  display: none;
}

.home-bio {
  order: 2;
  max-width: 720px;
}

.home-bio h3 {
  margin-bottom: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(24, 22, 20, 0.46);
}

.home-bio p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(24, 22, 20, 0.76);
}

.home-meta-grid {
  order: 3;
  width: 100%;
  max-width: 860px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-meta {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(24, 22, 20, 0.06);
  box-shadow: none;
  text-align: left;
}

.home-meta .meta-label {
  margin-bottom: 7px;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: rgba(24, 22, 20, 0.42);
}

.home-meta .meta-value {
  font-size: 0.97rem;
  line-height: 1.45;
}

.section {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  box-shadow: 0 26px 54px rgba(64, 44, 16, 0.06);
}

.section-header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(24, 22, 20, 0.44);
}

.section-header h2 {
  max-width: none;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.085em;
}

.card-grid,
.skill-groups,
.project-stack,
.content-works-root {
  margin-top: 30px;
}

.card,
.skill-card,
.project-detail,
.works-group,
.works-subcard,
.works-video-item,
.carousel-item,
.marquee-item,
.marquee-page {
  background: var(--surface-soft);
  border: 1px solid rgba(24, 22, 20, 0.06);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card,
.skill-card,
.project-detail,
.works-group {
  border-radius: 28px;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(64, 44, 16, 0.06);
}

.skill-logo,
.project-tags span,
.works-group-action-btn,
.works-toggle-btn,
.works-subcard-count,
.episode-row span {
  background: #ffffff;
  border: 1px solid rgba(24, 22, 20, 0.08);
  box-shadow: none;
}

.timeline {
  margin-top: 18px;
}

.timeline-item {
  gap: 24px;
  padding: 22px 0;
  border-bottom-color: rgba(24, 22, 20, 0.08);
}

.project-stack {
  gap: 22px;
}

.project-detail {
  padding: clamp(24px, 4vw, 38px);
}

.project-main-title {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.07em;
}

.project-block + .project-block {
  border-top-color: rgba(24, 22, 20, 0.06);
}

.project-jump-link {
  border: 0;
  background: var(--farhan-lime);
  color: #111111;
  box-shadow: none;
  font-weight: 700;
}

.project-jump-link::before {
  display: none;
}

.project-jump-link::after {
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  color: #111111;
  content: "→";
}

.project-jump-link:hover {
  background: var(--farhan-lime-deep);
  color: #111111;
  box-shadow: none;
}

.project-jump-link:hover::after {
  transform: translateX(2px);
  box-shadow: none;
}

.media-frame,
.works-thumb,
.works-video-cover,
.works-video-frame,
.marquee-cover {
  border-color: rgba(24, 22, 20, 0.08);
  background: #ffffff;
  box-shadow: none;
}

.works-group {
  padding: 24px;
}

.works-group-head h3 {
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.works-thumb-link-hint,
.play-badge,
.result-badge {
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  border: 1px solid rgba(24, 22, 20, 0.08);
  box-shadow: none;
  backdrop-filter: none;
}

.works-video-play-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 22, 20, 0.08);
  box-shadow: none;
}

.works-video-play-icon {
  border-left-color: #111111;
}

.works-marquee,
.marquee,
.marquee-soft,
.footer {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(24, 22, 20, 0.06);
  box-shadow: none;
  backdrop-filter: none;
}

.works-marquee::before {
  background: linear-gradient(to right, rgba(247, 242, 234, 0.98), rgba(247, 242, 234, 0));
}

.works-marquee::after {
  background: linear-gradient(to left, rgba(247, 242, 234, 0.98), rgba(247, 242, 234, 0));
}

.footer {
  max-width: 1100px;
  margin: 34px auto 34px;
  border-radius: 24px;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

@media (max-width: 1024px) {
  .nav-inner {
    width: min(100%, 960px);
    gap: 16px;
    padding-left: 18px;
  }

  .home-hero-grid,
  .section,
  .footer {
    max-width: none;
  }

  .home-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    padding-top: 18px;
  }

  .nav-inner {
    width: 100%;
    border-radius: 28px;
    padding: 16px;
    gap: 12px;
    min-height: auto;
  }

  .brand {
    font-size: 1.5rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .home-hero {
    padding-top: 24px;
  }

  .home-hero-grid {
    padding: 28px 18px 24px;
    border-radius: 28px;
  }

  .home-photo {
    width: 110px;
    height: 110px;
  }

  .home-name {
    font-size: clamp(2.6rem, 12.5vw, 3.8rem);
    max-width: 8ch;
  }

  .home-bio p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .home-meta-grid {
    grid-template-columns: 1fr;
  }

  .home-meta {
    text-align: center;
  }

  .section {
    margin-top: 24px;
    padding: 24px 18px;
    border-radius: 28px;
  }

  .section-header h2 {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .footer {
    margin-bottom: 20px;
    padding-inline: 18px;
  }
}

/* Local refinement pass after feedback */
:root {
  --bg: rgb(244, 239, 232);
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --surface-muted: rgb(251, 249, 246);
  --text: rgb(24, 22, 20);
  --muted: rgba(24, 22, 20, 0.72);
  --accent-soft: rgba(24, 22, 20, 0.5);
  --border: rgba(24, 22, 20, 0.07);
}

html,
body {
  background: rgb(244, 239, 232);
}

body {
  font-family: "PingFang SC", "SF Pro Display", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgb(247, 243, 236) 0%, rgb(244, 239, 232) 38%, rgb(241, 235, 227) 100%);
}

main {
  max-width: none;
  padding-inline: clamp(20px, 2.5vw, 40px);
  padding-bottom: 120px;
}

.bg {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 22%),
    linear-gradient(180deg, rgb(247, 243, 236) 0%, rgb(244, 239, 232) 40%, rgb(241, 235, 227) 100%);
}

.noise {
  opacity: 0.012;
}

.orb-1,
.orb-2,
.orb-3 {
  opacity: 0.06;
}

.page-section {
  padding-top: 34px;
}

.nav {
  padding-top: 16px;
  padding-inline: clamp(20px, 2.5vw, 40px);
}

.nav-inner {
  width: fit-content;
  max-width: calc(100vw - 40px);
  min-height: 60px;
  padding: 6px 10px 6px 20px;
  gap: 16px;
  border-radius: 999px;
  box-shadow: 0 24px 56px rgba(72, 54, 27, 0.18);
  pointer-events: auto;
}

.brand,
.home-name {
  font-family: "PingFang SC", "SF Pro Display", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}

.brand {
  font-size: 1.44rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a.active {
  color: rgb(20, 20, 20);
}

.nav-indicator {
  top: 4px;
  bottom: 4px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(24, 22, 20, 0.22);
}

.home-hero {
  padding: 28px 0 42px;
}

.home-hero-grid {
  width: min(1320px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: clamp(42px, 4.6vw, 68px) clamp(24px, 4.8vw, 68px) clamp(36px, 4vw, 56px);
  gap: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  align-items: start;
  justify-items: start;
  text-align: left;
  background: #ffffff;
  border-radius: 40px;
  box-shadow:
    0 28px 60px rgba(72, 54, 27, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.78) inset;
}

.home-photo {
  width: min(100%, 320px);
  height: clamp(340px, 38vw, 462px);
  padding: 14px;
  border-radius: 28px;
  background: #ffffff;
  margin: 0;
  border: 1px solid rgba(24, 22, 20, 0.06);
  box-shadow: 0 18px 38px rgba(24, 22, 20, 0.08);
}

.home-photo img {
  border-radius: 18px;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-info {
  width: 100%;
  max-width: 860px;
  gap: 22px;
  justify-items: start;
  text-align: left;
}

.home-name {
  max-width: none;
  font-size: clamp(2.35rem, 4.1vw, 3.95rem);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgb(24, 22, 20);
}

.home-bio {
  width: 100%;
  max-width: none;
}

.home-bio p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(24, 22, 20, 0.8);
}

.home-meta-grid {
  width: 100%;
  max-width: 820px;
  gap: 16px 54px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  order: 1;
}

.home-divider {
  display: block;
  order: 2;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  width: 100%;
  margin-top: 2px;
}

.home-bio {
  order: 3;
  text-align: left;
}

.home-meta {
  display: grid;
  gap: 6px;
  text-align: left;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.home-meta .meta-label {
  margin-bottom: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(24, 22, 20, 0.5);
}

.home-meta .meta-value,
.section-header h2,
.project-main-title,
.works-group-head h3 {
  color: rgb(24, 22, 20);
}

.home-meta .meta-value {
  font-size: 1.42rem;
  font-size: clamp(1.22rem, 1.6vw, 1.55rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section {
  width: min(1320px, 100%);
  max-width: none;
  margin-inline: auto;
  margin-top: clamp(46px, 5vw, 68px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section-header {
  margin: 0 0 26px;
  max-width: 980px;
  text-align: left;
}

.section-header h2 {
  max-width: 15ch;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

#skills .section-header h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  max-width: none;
  white-space: nowrap;
}

.card,
.skill-card,
.project-detail,
.works-group,
.works-subcard,
.works-video-item,
.carousel-item,
.marquee-item,
.marquee-page {
  background: #ffffff;
  border-color: rgba(24, 22, 20, 0.06);
  box-shadow: 0 16px 34px rgba(72, 54, 27, 0.06);
}

.card,
.skill-card {
  border-radius: 28px;
}

.project-detail,
.works-group {
  border-radius: 32px;
  padding: clamp(28px, 3.5vw, 40px);
}

.works-group {
  padding: 26px;
}

.works-subcard,
.works-video-item {
  box-shadow: none;
}

.media-frame,
.works-thumb,
.works-video-cover,
.works-video-frame,
.marquee-cover,
.skill-logo,
.project-tags span,
.works-group-action-btn,
.works-toggle-btn,
.works-subcard-count,
.episode-row span {
  background: #ffffff;
  border-color: rgba(24, 22, 20, 0.07);
  box-shadow: none;
}

.timeline {
  margin-top: 8px;
}

.timeline-item {
  grid-template-columns: 160px 1fr;
  gap: 28px;
}

.timeline-content {
  background: #ffffff;
  border: 1px solid rgba(24, 22, 20, 0.06);
  border-radius: 22px;
  padding: 18px 18px;
  box-shadow: 0 16px 34px rgba(72, 54, 27, 0.06);
  align-self: start;
}

.timeline-content h3 {
  margin: 0;
}

.project-main-title {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.project-title-logos {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 0 !important;
  flex-shrink: 0;
}

.project-title-logos img {
  display: block;
  width: auto;
  max-width: min(240px, 30vw);
  height: clamp(40px, 4.8vw, 68px);
  object-fit: contain;
}

/* Keep project logos above titles and prevent right-edge clipping. */
.project-title-wrapper {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.8vw, 42px);
}

.project-title-wrapper .project-title-logos {
  order: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
  max-width: min(38%, 460px);
  min-width: 0;
  overflow: visible;
  margin-left: auto !important;
}

.project-title-wrapper .project-title-logos img {
  flex: 0 1 auto;
  max-width: min(190px, 18vw);
  height: clamp(44px, 4.8vw, 74px);
  filter: drop-shadow(0 12px 18px rgba(24, 22, 20, 0.13));
}

.project-title-wrapper .project-main-title {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
}

#projects .section,
.project-stack,
.project-detail,
.project-head,
.project-block,
.project-title-wrapper {
  box-sizing: border-box;
  max-width: 100%;
}

.project-head > div,
.project-block,
.project-link-card {
  min-width: 0;
}

.project-link-url {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#projects .project-title-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: clamp(18px, 2.8vw, 42px);
}

#projects .project-title-wrapper .project-main-title {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

#projects .project-title-wrapper .project-title-logos {
  flex: 0 1 min(38%, 460px);
  max-width: min(38%, 460px);
  min-width: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.2vw, 18px);
  margin: 0 !important;
}

#projects .project-title-wrapper .project-title-logos img {
  width: auto;
  max-width: min(190px, 18vw);
  height: clamp(44px, 4.8vw, 74px);
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(24, 22, 20, 0.13));
}

@media (max-width: 760px) {
  #projects .project-title-wrapper {
    flex-wrap: wrap;
  }

  #projects .project-title-wrapper .project-title-logos {
    flex-basis: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  #projects .project-title-wrapper .project-title-logos img {
    max-width: min(180px, 42vw);
    height: clamp(34px, 5vw, 48px);
  }
}

.project-jump-link {
  padding: 12px 18px 12px 20px;
  background: var(--farhan-lime);
}

.project-jump-link::after {
  content: "→";
}

.works-marquee,
.marquee,
.marquee-soft {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.works-marquee::before {
  background: linear-gradient(to right, rgba(244, 239, 232, 0.98), rgba(244, 239, 232, 0));
}

.works-marquee::after {
  background: linear-gradient(to left, rgba(244, 239, 232, 0.98), rgba(244, 239, 232, 0));
}

.footer {
  width: min(1320px, 100%);
  max-width: none;
  margin: 44px auto 24px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(24, 22, 20, 0.08);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  justify-content: space-between;
  text-align: left;
}

@media (max-width: 1024px) {
  .nav-inner {
    width: fit-content;
    max-width: calc(100vw - 40px);
  }

  .home-hero-grid,
  .section,
  .footer {
    width: 100%;
  }

  .home-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-grid {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 22px;
  }

  .home-photo {
    width: min(100%, 260px);
    height: clamp(300px, 40vw, 380px);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .workflow-step-media-lora {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step-media-triple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step-media-double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step-media-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-hit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .circle-game-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-action-result-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .live-action-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .live-action-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-action-result-card-cover {
    grid-column: auto;
    grid-row: auto;
  }

  .live-action-result-grid .live-action-result-card {
    aspect-ratio: 9 / 16;
  }
}

@media (max-width: 720px) {
  main,
  .nav {
    padding-inline: 16px;
  }

  .nav-inner {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
  }

  .brand {
    font-size: 1.4rem;
  }

  .nav-links a {
    padding: 14px 17px;
  }

  .home-hero-grid,
  .section,
  .footer {
    width: calc(100vw - 32px);
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 18px 22px;
    gap: 18px;
    border-radius: 30px;
  }

  .home-name {
    font-size: clamp(2.05rem, 10vw, 3.1rem);
  }

  .home-photo {
    width: min(100%, 270px);
    height: clamp(300px, 78vw, 370px);
    justify-self: center;
  }

  .workflow-step-media-lora {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-step-media-triple {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-step-media-double,
  .workflow-step-media-quad {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-hit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .circle-game-result-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .live-action-result-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 10px;
  }

  .live-action-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .live-action-type-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .live-action-result-card-cover {
    grid-column: auto;
    grid-row: auto;
  }

  .live-action-cover-stat {
    top: 12px;
    left: 12px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .home-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .home-meta {
    text-align: left;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .section-header h2 {
    max-width: none;
    font-size: clamp(1.35rem, 8vw, 2.2rem);
    white-space: normal;
  }

  #skills .section-header h2 {
    font-size: clamp(1.08rem, 4.8vw, 1.32rem);
    white-space: nowrap;
  }

  .project-detail,
  .works-group {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .project-title-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }

  .project-main-title {
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    flex: 1;
    min-width: 0;
  }

  .project-title-logos {
    flex-shrink: 1;
    margin-left: 0 !important;
    justify-content: flex-start;
    max-width: 100%;
  }

  .project-title-logos img {
    max-width: min(180px, 42vw);
    height: clamp(34px, 5vw, 48px) !important;
  }

  .footer {
    margin-top: 34px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Glass upgrade for expand controls */
.works-group-action-btn,
.works-toggle-btn {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(134, 198, 26, 0.34);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(248, 255, 235, 0.74) 50%,
      rgba(236, 248, 255, 0.68) 100%
    );
  color: rgba(24, 22, 20, 0.92);
  box-shadow:
    0 10px 20px rgba(72, 54, 27, 0.11),
    0 4px 12px rgba(134, 198, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.works-group-action-btn::after,
.works-toggle-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 34%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.46) 50%,
    transparent 100%
  );
  opacity: 0.58;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.42s ease;
}

.works-group-action-btn:hover,
.works-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(134, 198, 26, 0.55);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(248, 255, 235, 0.86) 54%,
      rgba(236, 248, 255, 0.78) 100%
    );
  box-shadow:
    0 14px 24px rgba(72, 54, 27, 0.14),
    0 7px 14px rgba(134, 198, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.works-group-action-btn:hover::after,
.works-toggle-btn:hover::after {
  transform: translateX(300%);
}

.works-group-action-btn:focus-visible,
.works-toggle-btn:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(160, 222, 53, 0.24),
    0 14px 24px rgba(72, 54, 27, 0.14),
    0 7px 14px rgba(134, 198, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.works-recall-workflow {
  display: grid;
  gap: 22px;
}

.works-recall-intro {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(249, 246, 240, 0.88)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(24, 22, 20, 0.045);
}

.works-recall-copy {
  display: grid;
  gap: 8px;
}

.works-recall-copy h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.2;
}

.works-recall-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.82;
}

.works-recall-copy p strong {
  color: var(--text);
  font-weight: 900;
}

.works-recall-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.works-recall-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(134, 198, 26, 0.18);
  background: rgba(134, 198, 26, 0.1);
  color: rgba(24, 22, 20, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.works-recall-timeline {
  display: grid;
  gap: 14px;
}

.works-recall-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.works-recall-step-rail {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  padding-top: 18px;
  min-height: 100%;
}

.works-recall-step-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c8f34a 0%, #86c61a 100%);
  box-shadow:
    0 0 0 4px rgba(134, 198, 26, 0.13),
    0 0 18px rgba(134, 198, 26, 0.28);
}

.works-recall-step-line {
  width: 2px;
  min-height: 100%;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(134, 198, 26, 0.38) 0%,
    rgba(134, 198, 26, 0.12) 100%
  );
}

.works-recall-step.is-last .works-recall-step-line {
  opacity: 0;
}

.works-recall-step-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 236, 0.9)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(24, 22, 20, 0.045);
  align-content: start;
}

.works-recall-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.works-recall-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(134, 198, 26, 0.14);
  border: 1px solid rgba(134, 198, 26, 0.24);
  color: #6fa700;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.works-recall-step-head h5 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.works-recall-step-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.works-recall-step-media {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.works-recall-step-shot {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(24, 22, 20, 0.04);
}

.works-recall-step-shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  object-position: center;
  background: rgba(246, 241, 234, 0.92);
}

.works-recall-result {
  display: grid;
  gap: 14px;
}

.works-recall-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.works-recall-result-head h5 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.works-recall-result-layout {
  display: flex;
  width: min(100%, 1140px);
  margin-inline: auto;
  gap: clamp(18px, 5%, 40px);
  justify-content: center;
  align-items: center;
}

.works-recall-result-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 34px rgba(24, 22, 20, 0.05);
}

.works-recall-result-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(246, 241, 234, 0.92);
}

.works-recall-result-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: rgba(246, 241, 234, 0.92);
}

.works-recall-result-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 18, 30, 0.66);
  color: #f7fbff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.works-recall-result-link .project-hit-play {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.works-recall-result-link:hover .project-hit-play {
  transform: translateY(0) scale(1.05);
}

.works-recall-result-link:hover .project-hit-play::after {
  opacity: 1;
}

.works-recall-result-card-featured {
  flex: 0 0 34%;
  max-width: 34%;
  aspect-ratio: 9 / 16;
  align-self: flex-start;
  box-shadow: 0 20px 38px rgba(24, 22, 20, 0.06);
}

.works-recall-result-side {
  flex: 1 1 0;
  max-width: 62%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.works-recall-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  width: min(100%, 560px);
  gap: clamp(14px, 3.5%, 20px);
  align-items: start;
  justify-content: center;
}

.works-recall-demo-grid .works-recall-result-card {
  aspect-ratio: 3 / 4;
  height: auto;
}

.works-recall-result-card-featured .works-recall-result-link img {
  object-fit: contain;
  object-position: center;
}

#gallery .section {
  width: min(1680px, 100%);
  max-width: none;
}

.works-group-live-action,
.works-group-live-action .works-subcards,
.works-group-live-action .works-subcards > *,
.works-group-live-action .works-subcards > * > *,
.works-group-live-action .works-live-action-showcase {
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  align-self: stretch;
}

.works-live-action-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 100%;
  justify-self: stretch;
  gap: 32px;
}

.works-live-action-produced,
.works-live-action-themes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 100%;
  justify-self: stretch;
  gap: 18px;
}

.works-live-action-produced-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 100%;
  justify-self: stretch;
  gap: 22px;
}

.works-live-action-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 100%;
  justify-self: stretch;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 242, 234, 0.9));
  box-shadow: 0 18px 34px rgba(24, 22, 20, 0.05);
}

.works-live-action-work-title {
  margin: 0;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 20, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 238, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 26px rgba(24, 22, 20, 0.05);
  color: #111111;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.works-live-action-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.works-live-action-section-head h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.24;
}

.works-live-action-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.works-live-action-tab {
  appearance: none;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 242, 234, 0.84));
  color: rgba(24, 22, 20, 0.7);
  padding: 10px 14px;
  min-height: 42px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 10px 22px rgba(60, 42, 18, 0.04);
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
  cursor: pointer;
}

.works-live-action-tab:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(24, 22, 20, 0.14);
}

.works-live-action-tab.active {
  color: var(--text);
  border-color: rgba(24, 22, 20, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(248, 244, 236, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 28px rgba(60, 42, 18, 0.08),
    0 2px 0 rgba(200, 255, 44, 0.84);
}

.works-live-action-stage {
  display: grid;
  grid-template-columns: clamp(170px, 13vw, 214px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "coverTag previewTag"
    "cover preview";
  width: 100%;
  min-width: 100%;
  column-gap: clamp(20px, 2.2vw, 34px);
  row-gap: 12px;
  align-items: stretch;
}

.works-live-action-column-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: #111111;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.works-live-action-column-tag-cover {
  grid-area: coverTag;
  justify-self: center;
}

.works-live-action-column-tag-preview {
  grid-area: previewTag;
  justify-self: start;
}

.works-live-action-cover-panel {
  grid-area: cover;
  min-width: 0;
}

.works-live-action-cover-link {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(302px, 23.1vw, 380px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(24, 22, 20, 0.06);
}

.works-live-action-cover-link img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: rgba(246, 241, 234, 0.88);
}

.works-live-action-preview-panel {
  grid-area: preview;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  width: 100%;
}

.works-live-action-marquee-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}

.works-live-action-marquee {
  border-radius: 22px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 242, 234, 0.88));
  box-shadow: 0 16px 30px rgba(24, 22, 20, 0.04);
  width: 100%;
  max-width: none;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-self: stretch;
}

.works-live-action-marquee::before,
.works-live-action-marquee::after {
  width: 34px;
}

.works-live-action-marquee .works-marquee-track {
  gap: clamp(10px, 1vw, 16px);
  padding: 10px;
  min-width: 100%;
  width: max-content;
}

.works-live-action-shot-card {
  flex: 0 0 auto;
  height: clamp(302px, 23.1vw, 380px);
  width: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.works-live-action-shot-card img {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  object-position: center;
}

.works-live-action-theme-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 14px;
  align-items: stretch;
  justify-items: stretch;
}

.works-live-action-theme-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(24, 22, 20, 0.04);
}

.works-live-action-theme-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  object-fit: cover;
  object-position: center;
}

.works-live-action-theme-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: calc(100% - 20px);
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.works-live-action-theme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 12px;
}

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

  .works-recall-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .works-recall-result-card-featured,
  .works-recall-result-side {
    max-width: none;
  }

  .works-recall-result-side {
    padding: 0;
  }

  .works-recall-demo-grid {
    width: min(100%, 560px);
    gap: 14px;
    margin-inline: auto;
  }

  .works-recall-demo-grid .works-recall-result-card {
    aspect-ratio: 3 / 4;
  }

  .works-live-action-stage {
    grid-template-columns: clamp(170px, 16vw, 210px) minmax(0, 1fr);
    grid-template-areas:
      "coverTag previewTag"
      "cover preview";
  }

  .works-live-action-cover-panel {
    max-width: none;
  }

  .works-live-action-theme-preview {
    grid-template-columns: repeat(5, 1fr);
  }

  .works-live-action-theme-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 720px) {
  .works-recall-workflow {
    gap: 18px;
  }

  .works-recall-intro,
  .works-recall-step-card {
    padding: 16px;
    border-radius: 20px;
  }

  .works-recall-step {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .works-recall-step-rail {
    padding-top: 16px;
  }

  .works-recall-step-head {
    gap: 10px;
  }

  .works-recall-step-head h5 {
    font-size: 0.94rem;
  }

  .works-recall-step-desc,
  .works-recall-copy p {
    font-size: 0.88rem;
  }

  .works-recall-step-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .works-recall-result-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .works-recall-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
    margin-inline: 0;
  }

  .works-recall-demo-grid .works-recall-result-card {
    aspect-ratio: 3 / 4;
  }

  .works-recall-result-badge {
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
  }

  .works-live-action-cover-panel {
    max-width: none;
  }

  .works-live-action-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "coverTag"
      "cover"
      "previewTag"
      "preview";
  }

  .works-live-action-work {
    padding: 16px;
  }

  .works-live-action-theme-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-live-action-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .works-recall-step-media,
  .works-recall-result-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-recall-demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-live-action-theme-preview,
  .works-live-action-theme-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Rebuilt AIGC live-action short drama layout */
#gallery .works-group-live-action {
  width: 100%;
  max-width: none;
  overflow: visible;
}

#gallery .works-group-live-action .works-subcards-live-action-redesign {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-self: stretch !important;
}

#gallery .works-group-live-action .works-subcards-live-action-redesign > .live-action-redesign {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.live-action-redesign {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 34px;
  color: #111111;
}

.live-action-redesign-works {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: clamp(26px, 2.6vw, 40px);
  counter-reset: liveActionWork;
}

.live-action-redesign-work {
  --work-accent: #8bcf16;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  position: relative;
  display: grid;
  gap: clamp(16px, 1.4vw, 22px);
  padding: clamp(20px, 2.2vw, 34px);
  border-radius: 32px;
  border: 1px solid rgba(24, 22, 20, 0.075);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 247, 242, 0.9)),
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--work-accent) 18%, transparent), transparent 34%);
  box-shadow: 0 22px 46px rgba(72, 54, 27, 0.075);
  overflow: visible;
  counter-increment: liveActionWork;
}

.live-action-redesign-work::before {
  content: "";
  position: absolute;
  inset: 22px auto 22px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--work-accent), rgba(255, 255, 255, 0));
}

.live-action-redesign-work:nth-child(2) {
  --work-accent: #d8a522;
}

.live-action-redesign-work:nth-child(3) {
  --work-accent: #4db2c5;
}

.live-action-redesign-work:nth-child(4) {
  --work-accent: #d46f7d;
}

.live-action-redesign-title {
  margin: 0;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--work-accent) 58%, rgba(24, 22, 20, 0.1));
  background: linear-gradient(135deg, color-mix(in srgb, var(--work-accent) 82%, #ffffff), color-mix(in srgb, var(--work-accent) 48%, #ffffff));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--work-accent) 22%, transparent);
  color: #111111;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.live-action-redesign-title::before {
  content: "作品 " counter(liveActionWork, decimal-leading-zero);
  margin-right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--work-accent) 20%, #ffffff);
  color: #111111;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.live-action-redesign-body {
  --live-action-media-width: clamp(168px, 13.6vw, 225px);
  --live-action-panel-pad: clamp(12px, 1.2vw, 18px);
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: calc(var(--live-action-media-width) + (var(--live-action-panel-pad) * 2)) minmax(0, 1fr);
  gap: clamp(18px, 1.8vw, 30px);
  align-items: stretch;
}

.live-action-redesign-cover-col,
.live-action-redesign-scenes {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.live-action-redesign-label {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.live-action-redesign-cover-col .live-action-redesign-label {
  justify-self: center;
}

.live-action-redesign-cover {
  position: relative;
  display: block;
  width: var(--live-action-media-width);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(24, 22, 20, 0.08);
}

.live-action-redesign-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.live-action-redesign-scenes {
  width: 100%;
  box-sizing: border-box;
  grid-column: auto;
  padding: var(--live-action-panel-pad);
  border-radius: 26px;
  border: 1px solid rgba(24, 22, 20, 0.065);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.live-action-redesign-scenes .live-action-redesign-label {
  justify-self: start;
  background: color-mix(in srgb, var(--work-accent) 15%, #ffffff);
}

.live-action-redesign-scene-strip {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
}

.live-action-redesign-scene-track {
  --live-action-scene-gap: clamp(10px, 1vw, 16px);
  width: max-content;
  min-width: 0;
  display: flex;
  gap: var(--live-action-scene-gap);
  align-items: stretch;
  animation: liveActionSceneMarquee 34s linear infinite;
  will-change: transform;
}

.live-action-redesign-scene-marquee:hover .live-action-redesign-scene-track {
  animation-play-state: paused;
}

.live-action-redesign-shot {
  flex: 0 0 var(--live-action-media-width);
  aspect-ratio: 9 / 16;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(24, 22, 20, 0.04);
}

.live-action-redesign-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  background: #ffffff;
}

@keyframes liveActionSceneMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - (var(--live-action-scene-gap) / 2)), 0, 0);
  }
}

.live-action-redesign-themes {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 16px;
}

.live-action-redesign-theme-title {
  margin: 0;
  color: #111111;
  font-size: 1.08rem;
  line-height: 1.24;
}

.live-action-redesign-theme-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.live-action-redesign-theme {
  margin: 0;
  min-width: 0;
  appearance: none;
  position: relative;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(24, 22, 20, 0.04);
  cursor: pointer;
  overflow: hidden;
  text-align: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.live-action-redesign-theme:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 193, 31, 0.38);
  box-shadow: 0 20px 40px rgba(72, 54, 27, 0.1);
}

.live-action-redesign-theme img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
}

.live-action-redesign-theme-overlay {
  position: absolute;
  inset: 10px 10px 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.1), rgba(10, 14, 12, 0.58));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.live-action-redesign-theme:hover .live-action-redesign-theme-overlay {
  opacity: 1;
  transform: translateY(0);
}

.live-action-redesign-theme figcaption,
.live-action-redesign-theme-caption {
  color: #111111;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.live-action-theme-dialog {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: none;
  padding: clamp(72px, 8svh, 104px) clamp(18px, 3vw, 46px) clamp(18px, 3vw, 46px);
  background: rgba(248, 244, 236, 0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  pointer-events: none;
}

.live-action-theme-dialog.active {
  display: grid;
  align-items: start;
  justify-items: center;
}

.live-action-theme-dialog-panel {
  width: min(1320px, 96vw);
  max-height: calc(100svh - clamp(104px, 12svh, 150px));
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(20px, 2.4vw, 34px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 239, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(185, 255, 68, 0.18), transparent 34%);
  box-shadow: 0 34px 90px rgba(46, 36, 20, 0.18);
  overflow: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
}

.live-action-theme-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-action-theme-dialog-title {
  margin: 0;
  color: #111111;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.live-action-theme-dialog-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #111111;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.live-action-theme-dialog-kicker {
  margin: 0;
  color: #111111;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.live-action-theme-dialog-preview,
.live-action-theme-dialog-gallery {
  display: grid;
  gap: clamp(10px, 1vw, 16px);
}

.live-action-theme-dialog-preview {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.live-action-theme-dialog-gallery {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.live-action-theme-dialog-preview-card,
.live-action-theme-dialog-gallery-card {
  margin: 0;
  min-width: 0;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.live-action-theme-dialog-preview-card img,
.live-action-theme-dialog-gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

.live-action-theme-dialog-preview-card {
  aspect-ratio: 9 / 13;
}

.live-action-theme-dialog-gallery-card {
  aspect-ratio: auto;
}

body.live-action-theme-dialog-open {
  overflow: auto;
}

.live-action-redesign-title::before {
  content: "作品" counter(liveActionWork, decimal-leading-zero);
  background: rgba(255, 255, 255, 0.72);
}

.live-action-redesign-cover-col {
  width: 100%;
  box-sizing: border-box;
  padding: var(--live-action-panel-pad);
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--work-accent) 24%, rgba(24, 22, 20, 0.08));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--work-accent) 18%, #ffffff), rgba(255, 255, 255, 0.76));
  box-shadow:
    0 16px 30px color-mix(in srgb, var(--work-accent) 11%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.live-action-redesign-cover-col .live-action-redesign-label {
  justify-self: start;
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .live-action-redesign-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-action-redesign-cover-col {
    width: min(260px, 100%);
    justify-self: center;
  }

  .live-action-redesign-scenes {
    grid-column: auto;
  }

  .live-action-redesign-scene-strip {
    overflow-x: auto;
  }

  .live-action-redesign-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-action-redesign-scene-track {
    width: max-content;
    animation: none;
  }

  .live-action-redesign-shot {
    flex-basis: min(210px, 42vw);
  }

  .live-action-theme-dialog-preview,
  .live-action-theme-dialog-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .live-action-redesign-scene-strip {
    overflow-x: auto;
  }

  .live-action-redesign-theme-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-action-theme-dialog-preview,
  .live-action-theme-dialog-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

.game-title-logo {
  display: inline-block;
  vertical-align: middle;
  height: 1.2em;
  width: auto;
  margin-left: 8px;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.circle-game-result-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.circle-game-result-name .game-title-logo {
  height: 1.1em;
  margin-left: 0;
}

.netease-game-panel-head h4 {
  display: flex;
  align-items: center;
  gap: 10px;
}
