.home-figma {
  --fan-bg: #151518;
  --fan-top: #17171a;
  --fan-panel: #252227;
  --fan-card: #222126;
  --fan-text: #f9f8f8;
  --fan-muted: #aaa4ac;
  --fan-line: #39363b;
  --fan-pink: #f4a8c8;
  --fan-pink-strong: #ed517b;
  --mint: var(--fan-pink);
  background:
    radial-gradient(ellipse 75% 45% at 95% 3%, rgba(161, 102, 155, .16), transparent 70%),
    radial-gradient(ellipse 68% 42% at 4% 86%, rgba(111, 91, 156, .12), transparent 72%),
    var(--fan-bg);
  color: var(--fan-text);
}
.home-figma [hidden] { display: none !important; }
.home-figma :focus-visible { outline-color: var(--fan-pink); }
.fan-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 84px;
  border-bottom: 1px solid #353238;
  background: var(--fan-top);
}
.fan-topbar-inner, .fan-hero-inner, .fan-section-nav-inner, .fan-today, .fan-catchup {
  max-width: 1440px;
  margin-inline: auto;
}
.fan-topbar-inner {
  min-height: 84px;
  padding-inline: clamp(24px, 2.9vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fan-identity, .fan-quick-nav, .fan-hero-actions { display: flex; align-items: center; }
.fan-identity { gap: clamp(20px, 2.4vw, 36px); }
.fan-login {
  width: 142px;
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #f9f8fa;
  color: #202028;
  font-size: 1rem;
  font-weight: 850;
  white-space: nowrap;
}
.fan-login:hover { background: var(--fan-pink); }
.fan-wordmark {
  color: var(--fan-text);
  font-size: clamp(1.18rem, 1.9vw, 1.65rem);
  font-weight: 850;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.fan-wordmark span { color: var(--fan-pink); margin-left: .15em; font-size: 1.2em; }
.fan-quick-nav { gap: clamp(13px, 1.9vw, 27px); font-size: .91rem; font-weight: 750; white-space: nowrap; }
.fan-quick-nav a:not(.fan-channel-link) { color: #cac3cb; }
.fan-quick-nav a:hover { color: var(--fan-pink); }
.fan-quick-nav a[aria-current=page] { color: var(--fan-pink); }
.fan-channel-link {
  padding: 12px 20px;
  border: 1px solid #4d454d;
  border-radius: 999px;
  color: var(--fan-text);
}
.fan-theme-toggle {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #4d454d;
  border-radius: 50%;
  background: transparent;
  color: var(--fan-text);
}
.home-figma .member-label { max-width: 220px; color: var(--fan-pink); }
.fan-hero {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(107deg, transparent 0 34%, rgba(0,0,0,.055) 34% 41%, transparent 41% 53%),
    linear-gradient(105deg, #211f25 0%, #221f24 52%, #30232b 100%);
}
.fan-hero-inner {
  min-height: 300px;
  padding: 40px clamp(24px, 2.9vw, 42px);
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 2.9vw, 46px);
}
.fan-avatar {
  width: 176px;
  height: 176px;
  border: 3px solid #806376;
  border-radius: 50%;
  background: #24212a;
  padding: 5px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,.22);
}
.fan-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.fan-hero-copy { min-width: 0; }
.fan-overline {
  margin: 0 0 12px;
  color: var(--fan-pink);
  font-size: .9rem;
  font-weight: 850;
}
.fan-hero h1 {
  margin: 0 0 15px;
  font-size: clamp(2.4rem, 4.5vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.08em;
}
.fan-hero-copy > p:last-child { margin: 0; color: #c3bcc3; font-size: clamp(1rem, 1.4vw, 1.32rem); line-height: 1.5; }
.fan-hero-actions { justify-content: flex-end; gap: 12px; }
.fan-button {
  min-height: 53px;
  padding: 15px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: .89rem;
  font-weight: 850;
  white-space: nowrap;
  transition: transform .18s ease, filter .18s ease;
}
.fan-button:hover { transform: translateY(-2px); filter: brightness(1.07); }
.fan-button-pink { background: var(--fan-pink); color: #29212a; }
.fan-button-muted { background: #3a373f; color: var(--fan-text); }
.fan-section-nav { border-bottom: 1px solid var(--fan-line); background: #18181b; }
.fan-section-nav-inner { display: flex; gap: clamp(35px, 4vw, 70px); padding-inline: clamp(24px, 2.9vw, 42px); }
.fan-section-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 73px;
  color: #b8b0b9;
  font-size: 1.1rem;
  font-weight: 750;
}
.fan-section-nav a:hover, .fan-section-nav a[aria-current=page] { color: var(--fan-text); }
.fan-section-nav a[aria-current=page]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 5px 5px 0 0;
  background: var(--fan-pink);
}
.fan-today { padding: 37px clamp(24px, 2.9vw, 42px) 0; }
.fan-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 19px; }
.fan-section-heading h2 { margin: 0 0 7px; font-size: clamp(1.65rem, 2.35vw, 2.3rem); line-height: 1.2; letter-spacing: -.055em; }
.fan-section-heading p { margin: 0; color: var(--fan-muted); font-size: 1rem; }
.fan-section-heading > a { color: var(--fan-pink); font-size: .88rem; font-weight: 800; white-space: nowrap; padding-bottom: 4px; }
.fan-replay-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 18px;
}
.fan-replay-track::-webkit-scrollbar { display: none; }
.fan-replay-track:focus-visible { outline: 3px solid var(--fan-pink); outline-offset: 4px; }
.fan-replay-empty { display: grid; place-items: center; width: 100%; min-height: 220px; margin: 0; border: 1px solid var(--fan-line); border-radius: 18px; background: var(--fan-panel); color: var(--fan-muted); text-align: center; }
.fan-featured {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(0, 38%);
  border: 1px solid var(--fan-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--fan-panel);
}
.fan-featured-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  align-self: center;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #655275 url("/assets/figma-moment-gradient.webp") center / cover no-repeat;
}
.fan-featured-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 14, 29, .18), transparent 70%); pointer-events: none; }
.fan-featured-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #201b23; }
.fan-featured-art > span { z-index: 1; }
.fan-art-tag, .fan-art-date { position: absolute; top: 26px; border-radius: 999px; font-weight: 850; }
.fan-art-tag { left: 26px; padding: 9px 17px; border-radius: 12px; background: #6759c9; color: #fff; font-size: .86rem; }
.fan-art-date { right: 26px; padding: 10px 24px; background: #fff; color: #ad6686; font-size: 1.16rem; }
.fan-play {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fan-pink-strong);
  box-shadow: 0 16px 34px rgba(38,25,42,.3);
  transition: transform .2s ease;
}
.fan-play::before { content: ""; width: 0; height: 0; margin-left: 9px; border-top: 32px solid transparent; border-bottom: 32px solid transparent; border-left: 45px solid #fff; }
.fan-featured-art:hover .fan-play { transform: scale(1.06); }
.fan-featured-copy { padding: clamp(30px, 3.2vw, 48px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.fan-featured-kind { margin-bottom: 18px; color: var(--fan-pink); font-size: .95rem; font-weight: 800; }
.fan-featured-copy h3 { margin: 0 0 19px; font-size: clamp(1.7rem, 2.35vw, 2.35rem); line-height: 1.32; letter-spacing: normal; overflow-wrap: anywhere; }
.fan-featured-copy p { margin: 0 0 31px; color: var(--fan-muted); font-size: .92rem; }
.fan-featured-copy .fan-button { min-height: 51px; }
.fan-replay-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.fan-replay-pager { display: flex; align-items: center; gap: 13px; color: var(--fan-muted); font-weight: 800; font-variant-numeric: tabular-nums; }
.fan-replay-pager button { width: 42px; height: 42px; border: 1px solid var(--fan-line); border-radius: 50%; background: var(--fan-panel); color: var(--fan-text); font: inherit; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.fan-replay-pager button:hover, .fan-replay-pager button:focus-visible { border-color: var(--fan-pink); color: var(--fan-pink); }
.fan-replay-pager button:disabled { opacity: .45; cursor: not-allowed; }
.fan-replay-all { min-height: 42px; }
.fan-catchup { padding: 43px clamp(24px, 2.9vw, 42px) 34px; }
.fan-catchup .fan-video-filters { display: grid; grid-template-columns: minmax(120px, 180px) minmax(180px, 320px) auto; align-items: end; justify-content: start; gap: 12px; margin: 0 0 24px; }
.fan-catchup .fan-video-filters label { display: grid; gap: 7px; min-width: 0; color: var(--fan-text); font-size: .9rem; font-weight: 750; }
.fan-catchup .fan-video-filters input, .fan-catchup .fan-video-filters select { width: 100%; min-width: 0; min-height: 43px; border: 1px solid var(--fan-line); border-radius: 10px; background: var(--fan-panel); color: var(--fan-text); padding: 9px 12px; font: inherit; }
.fan-catchup .fan-video-filters button { min-height: 43px; border: 0; border-radius: 10px; background: var(--fan-pink); color: #fff; padding: 9px 18px; font: inherit; font-weight: 800; cursor: pointer; }
.fan-catchup .fan-video-filters button:hover { filter: brightness(1.1); }
.fan-moment-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 0 10px;
  scrollbar-color: #5b505e transparent;
  scroll-snap-type: x proximity;
}
.fan-moment-list > p { flex: 1 0 100%; min-height: 100px; display: grid; place-items: center; margin: 0; border: 1px solid var(--fan-line); border-radius: 16px; background: var(--fan-panel); color: var(--fan-muted); text-align: center; padding: 20px; }
.fan-moment-card {
  flex: 0 0 clamp(300px, 36vw, 520px);
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fan-line);
  border-radius: 24px;
  background: var(--fan-card);
  scroll-snap-align: start;
  transition: border-color .2s ease, transform .2s ease;
}
.fan-moment-card:hover { border-color: var(--fan-pink); transform: translateY(-3px); }
.fan-moment-art {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: url("/assets/figma-moment-gradient.webp") center / cover no-repeat;
}
.fan-moment-art-chat { background-position: 65% center; }
.fan-moment-art-gift { background-position: 30% center; }
.fan-moment-label { margin: 18px 4px 5px; color: var(--fan-pink); font-size: .77rem; font-weight: 850; }
.fan-moment-card strong { margin: 0 4px 4px; color: var(--fan-text); font-size: 1.45rem; letter-spacing: normal; overflow-wrap: anywhere; }
.fan-cat-mark { position: relative; width: 77px; height: 74px; margin-top: 19px; border-radius: 50%; background: #22232e; }
.fan-cat-mark::before, .fan-cat-mark::after { content: ""; position: absolute; top: -24px; width: 37px; height: 38px; background: #f8cfdf; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fan-cat-mark::before { left: 0; transform: rotate(-8deg); }
.fan-cat-mark::after { right: 0; transform: rotate(8deg); }
.fan-chat-mark { width: 145px; height: 68px; border-radius: 16px; background: #fffafc; position: relative; }
.fan-chat-mark::after { content: ""; position: absolute; right: 28px; bottom: -25px; border-top: 27px solid #fffafc; border-left: 31px solid transparent; }
.fan-gift-mark { position: relative; width: 100px; height: 76px; margin-top: 15px; border-radius: 8px; background: #b995ad; box-shadow: 0 -21px 0 -3px #e9b9d1; }
.fan-gift-mark::before { content: ""; position: absolute; left: 40px; top: -18px; width: 20px; height: 94px; background: #edcade; }
.fan-login-feedback { max-width: 1356px; margin: 0 auto; padding: 10px 42px 30px; color: var(--fan-pink); }
@media (max-width: 1050px) {
  .fan-topbar-inner { flex-wrap: wrap; padding-block: 10px; }
  .fan-quick-nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .fan-theme-toggle { position: sticky; right: 0; flex: none; margin-left: auto; background: var(--fan-top); }
  .fan-hero-inner { grid-template-columns: 140px minmax(0, 1fr); }
  .fan-avatar { width: 140px; height: 140px; }
  .fan-hero-actions { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 700px) {
  .fan-topbar, .fan-topbar-inner { min-height: 68px; }
  .fan-topbar-inner { gap: 8px; }
  .fan-identity { gap: 13px; }
  .fan-login { width: auto; min-height: 38px; padding: 8px 16px; font-size: .79rem; }
  .fan-wordmark { font-size: 1.1rem; }
  .fan-quick-nav { gap: 9px; }
  .fan-quick-nav > a { display: inline-flex; }
  .fan-quick-nav .member-label { display: none; }
  .fan-theme-toggle { width: 30px; height: 30px; font-size: .85rem; }
  .fan-hero-inner { min-height: 310px; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding-block: 28px; }
  .fan-avatar { width: 100px; height: 100px; border-width: 2px; padding: 3px; }
  .fan-overline { font-size: .62rem; margin-bottom: 7px; }
  .fan-hero h1 { font-size: clamp(2.25rem, 8vw, 3.4rem); margin-bottom: 8px; }
  .fan-hero-copy > p:last-child { font-size: .78rem; }
  .fan-hero-actions { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .fan-button { min-height: 45px; padding: 12px 15px; font-size: .77rem; border-radius: 10px; }
  .fan-section-nav-inner { gap: 33px; overflow-x: auto; }
  .fan-section-nav a { min-height: 62px; font-size: .93rem; white-space: nowrap; }
  .fan-today { padding-top: 26px; }
  .fan-section-heading h2 { font-size: 1.55rem; }
  .fan-section-heading p { font-size: .83rem; }
  .fan-section-heading > a { font-size: .78rem; }
  .fan-featured { display: flex; flex-direction: column; }
  .fan-featured-art { min-height: 0; }
  .fan-art-tag, .fan-art-date { top: 18px; }
  .fan-art-tag { left: 18px; font-size: .73rem; }
  .fan-art-date { right: 18px; font-size: .78rem; padding: 10px 15px; }
  .fan-play { width: 90px; height: 90px; }
  .fan-play::before { border-top-width: 24px; border-bottom-width: 24px; border-left-width: 34px; }
  .fan-featured-copy { padding: 28px; }
  .fan-featured-copy h3 { font-size: 1.65rem; }
  .fan-replay-actions { align-items: stretch; }
  .fan-replay-pager { gap: 7px; }
  .fan-replay-pager button { width: 36px; height: 36px; }
  .fan-catchup { padding-top: 34px; }
  .fan-catchup .fan-video-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fan-catchup .fan-video-filters button { grid-column: 1 / -1; }
  .fan-moment-card { flex-basis: min(82vw, 400px); }
  .fan-moment-art { min-height: 0; }
}
@media (max-width: 480px) {
  .fan-catchup .fan-video-filters { grid-template-columns: minmax(0, 1fr); }
  .fan-catchup .fan-video-filters button { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-button, .fan-play, .fan-moment-card { transition: none; }
  .fan-button:hover, .fan-featured-art:hover .fan-play, .fan-moment-card:hover { transform: none; }
}
[data-theme=light] .home-figma {
  --fan-bg: #f9f5fa;
  --fan-top: #fffaff;
  --fan-panel: #fffaff;
  --fan-card: #fffaff;
  --fan-text: #211e24;
  --fan-muted: #6a5e68;
  --fan-line: #e5d8e7;
  --fan-pink: #bb4c82;
  background:
    radial-gradient(ellipse 75% 50% at 97% 2%, rgba(246, 205, 226, .62), transparent 72%),
    radial-gradient(ellipse 75% 50% at 0% 90%, rgba(223, 210, 245, .53), transparent 72%),
    var(--fan-bg);
}
[data-theme=light] .fan-hero { background: linear-gradient(105deg, #f3e9f0, #f4e1eb); }
[data-theme=light] .fan-hero-copy > p:last-child { color: #665a66; }
[data-theme=light] .fan-section-nav { background: #fff9fd; }
[data-theme=light] .fan-section-nav a { color: #756b75; }
[data-theme=light] .fan-quick-nav a:not(.fan-channel-link) { color: #564b55; }
[data-theme=light] .fan-quick-nav a[aria-current=page] { color: #a93871; }
[data-theme=light] .fan-login { background:#f0e4ee; color:#29212a; box-shadow:inset 0 0 0 1px #decbdc; }
[data-theme=light] .fan-channel-link, [data-theme=light] .fan-theme-toggle { border-color: #d3c2ce; }
[data-theme=light] .fan-button-pink { background: #ad3f76; color: #fff; }
[data-theme=light] .fan-button-pink:hover { background: #922d62; filter: none; }
[data-theme=light] .fan-button-muted { background: #e6d7e1; color: #29212a; }
