/* Layout additions to the official site's shared page and theme styles. */
#fanclub {
  background: var(--theme-greige) url("../images/bg05.jpg") center / cover no-repeat;
}
#fanclub::before {
  background: rgba(247, 246, 242, .66);
}
#fanclub .inner {
  max-width: 760px;
  text-align: center;
}
#fanclub h2 {
  clip-path: none;
}
.fc-visual {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  outline: 1px solid var(--theme-line);
  box-shadow: 0 12px 32px rgba(38, 56, 68, .1);
}
.fc-visual picture, .fc-visual picture img {
  display: block;
  width: 100%;
}
.fc-logo, .fc-visual-caption { display: none; }
.fc-intro, .fc-membership, .fc-campaign { margin: 36px auto 0; max-width: 640px; }
#fanclub h3 {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .055em;
}
#fanclub p, #fanclub li, #fanclub .fc-fees {
  font-size: 15px;
  line-height: 1.85;
}
.fc-intro p { margin-top: 12px; text-wrap: pretty; }
.fc-intro h3 span { display: inline-block; }
.fc-registration {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 24px 0;
  border-block: 1px solid var(--theme-line);
  scroll-margin-top: 100px;
}
.fc-registration p { margin-top: 8px; }
.fc-account-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 280px;
  margin: 18px auto 12px;
}
.fc-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 9px 16px;
  border: 1px solid var(--theme-blue-deep);
  border-radius: 999px;
  background: var(--theme-paper);
  color: var(--theme-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.fc-action-primary { background: var(--theme-ink); border-color: var(--theme-ink); color: #fff; }
.fc-action:hover { background: var(--theme-blue-deep); color: #fff; }
.fc-section-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.fc-section-links a { font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }
.fc-plan-terms { text-align: left; }
.fc-plan-terms a { text-decoration: underline; text-underline-offset: .2em; }
.fc-download { margin: 34px auto 0; }
#fanclub .fc-download h3 { font-size: 16px; }
.fc-app-release, .fc-app-screens {
  display: block;
  width: 100%;
  max-width: 640px;
}
.fc-app-release {
  position: relative;
  margin: 20px auto;
}
.fc-app-release img { display: block; width: 100%; height: auto; }
/* The release card supplies the dated left panel beside the corrected app screen. */
.fc-app-release::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: url("assets/fc-app-release.png") left center / 200% 100% no-repeat;
  pointer-events: none;
}
.fc-app-screens {
  margin: 0 auto 24px;
}
.fc-app-screens img { display: block; width: 100%; height: auto; }
.fc-swipe-hint { display: none; }
.fc-app-screens:focus-visible { outline: 2px solid var(--theme-blue-deep); outline-offset: 2px; }
#fanclub .fc-download p, #fanclub .fee-note, #fanclub .fc-note { color: var(--theme-ink-soft); font-size: 13px; }
.fc-membership, .fc-campaign { padding-top: 34px; border-top: 1px solid var(--theme-line); scroll-margin-top: 80px; }
.fc-membership > p, .fc-campaign > p { margin-top: 12px; }
.fc-campaign p { text-align: left; }
.fc-campaign img { display: block; width: 100%; margin-top: 18px; }
.fc-campaign time { white-space: nowrap; }
.fc-fees { margin: 23px 0 12px; text-align: left; }
.fc-fees > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px 16px;
  padding: 13px 6px;
  border-bottom: 1px solid var(--theme-line);
}
.fc-fees > div:first-child { border-top: 1px solid var(--theme-line); }
.fc-fees dd { font-variant-numeric: tabular-nums; }
.fee-note, .fc-membership details { text-align: left; }
.fc-membership details { margin-top: 20px; border-block: 1px solid var(--theme-line); }
.fc-membership summary { padding: 15px 2px; font-size: 15px; cursor: pointer; }
.fc-membership ol { padding: 0 0 16px 1.7em; list-style: decimal; }
.fc-membership li { margin: 5px 0; }
.fc-membership li a { text-decoration: underline; text-underline-offset: .15em; }
.sns-ico svg { width: 15px; height: 15px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--theme-blue-deep); outline-offset: 2px; }
@media (min-width: 900px) {
  /* The desktop drawer is a header, so only the bar should intercept clicks. */
  #site-drawer { bottom: auto; pointer-events: none; }
  .drawer__panel { pointer-events: none; }
  .drawer__nav a, .drawer__panel .sns-ico a { pointer-events: auto; }
}
@media (max-width: 599px) {
  .fc-app-screens { overflow-x: auto; overscroll-behavior-x: contain; margin-bottom: 0; }
  .fc-app-screens img { width: 200%; max-width: none; }
  .fc-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 6px 0 24px;
    color: var(--theme-ink);
    font-size: 13px;
    font-weight: 600;
  }
  .fc-swipe-hint span { font: 22px/1 system-ui, sans-serif; }
  .fc-visual picture img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 53%; }
  #fanclub .fc-visual-caption {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.6;
  }
  .fc-visual-caption strong { font-size: clamp(17px, 4.8vw, 22px); }
  .fc-visual .fc-logo {
    display: block; position: absolute; top: 5%; left: 5%;
    width: 9%; height: auto; padding: 5px;
    background: rgba(255, 255, 255, .88);
  }
  #fanclub p, #fanclub li, #fanclub .fc-fees { font-size: 14px; }
  .fc-intro, .fc-membership, .fc-campaign, .fc-download { margin-top: 26px; }
  .fc-fees > div { grid-template-columns: 1fr; row-gap: 2px; }
  .fc-fees dt { font-weight: 600; }
}
@media (max-width: 599px) and (prefers-reduced-motion: no-preference) {
  .fc-swipe-hint.is-visible span { animation: fc-swipe 1.6s ease-in-out 3; }
  @keyframes fc-swipe {
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
  }
}
