@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,500..1000&family=Outfit:wght@400;600;700;800;900&family=Quicksand:wght@300;400;500;600;700&display=swap");

:root {
  --panel-bg: rgba(255, 255, 255, 0.88);
  --panel-border: rgba(44, 44, 44, 0.12);
  --text: #242424;
  --muted: #5a5a5a;
  --accent: #111111;
  --grid-line: rgba(40, 40, 40, 0.08);
  --hero-grad-1: #f5b6a7;
  --hero-grad-2: #f3e5a4;
  --hero-grad-3: #b4d8f1;
  --shadow: 0 24px 80px rgba(34, 34, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2) 48%, var(--hero-grad-3));
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
}

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

body.is-map-dragging,
body.is-map-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

.page-shell {
  width: min(100vw, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 16px;
}

.calendar-shell,
.detail-card,
.admin-card {
  backdrop-filter: blur(10px);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.calendar-shell {
  padding: 16px;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: minmax(92px, 120px) 1fr minmax(92px, 120px);
  align-items: center;
  gap: 16px;
  padding: 6px 4px 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

h1,
h2 {
  margin: 0;
}

.submit-event-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b, #ffb347);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(255, 107, 107, 0.28);
}

.submit-event-button:hover {
  transform: translateY(-1px);
}

.calendar-toolbar-compact {
  grid-template-columns: minmax(92px, 120px) 1fr minmax(92px, 120px);
  gap: 16px;
  padding: 4px 4px 10px;
}

.calendar-toolbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.submit-event-button-compact {
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
}

.day-nav-link {
  min-width: 70px;
}

.nav-link,
.button-primary,
.button-secondary,
.button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(24, 24, 24, 0.12);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

.button-danger {
  width: 100%;
  background: #c43232;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

.button-secondary,
.nav-link {
  background: rgba(255, 255, 255, 0.82);
}

.nav-link:hover,
.button-primary:hover,
.button-secondary:hover,
.button-danger:hover {
  transform: translateY(-1px);
}

.nav-link-side:first-child {
  justify-self: start;
}

.nav-link-side:last-child {
  justify-self: end;
}

.chip-group,
.target-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip,
.target-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(25, 25, 25, 0.08);
  cursor: pointer;
}

.filter-chip-block {
  width: 100%;
  justify-content: flex-start;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown[open] {
  z-index: 5;
}

.filter-dropdown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(24, 24, 24, 0.12);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.filter-dropdown-button::-webkit-details-marker {
  display: none;
}

.filter-dropdown-button::after {
  content: "▾";
  margin-left: 8px;
  font-size: 0.8rem;
}

.filter-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(24, 24, 24, 0.1);
  box-shadow: 0 18px 36px rgba(20, 20, 20, 0.14);
  display: grid;
  gap: 8px;
}

.chip-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 24, 0.12);
}

.calendar-panel {
  overflow-x: auto;
  border-top: 1px solid rgba(24, 24, 24, 0.08);
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(34, 34, 34, 0.94));
}

.calendar-panel-single {
  margin-top: 0;
}

.week-grid {
  display: grid;
  grid-template-columns: clamp(56px, 5vw, 72px) repeat(7, minmax(0, 1fr));
  width: 100%;
  min-width: 980px;
}

.time-column-header,
.day-header {
  height: 68px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.time-date-only-slot,
.day-date-only-row {
  height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.time-date-only-slot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
}

.day-date-only-row {
  position: relative;
}

.day-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: sticky;
  top: 0;
  background: rgba(20, 20, 20, 0.96);
  z-index: 2;
}

.day-name {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.day-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.time-grid,
.day-body {
  position: relative;
  height: calc(var(--hours-count) * 72px);
}

.time-label,
.hour-line {
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.time-label {
  padding: 0 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.74);
  text-align: right;
  transform: translateY(-0.55em);
}

.day-column {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.hour-line {
  width: 100%;
}

.event-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(32, 32, 32, 0.18);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.date-only-event-card {
  position: absolute;
  top: 6px;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(32, 32, 32, 0.16);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.event-card[hidden],
.date-only-event-card[hidden] {
  display: none;
}

.event-card-dark {
  color: #1a1a1a;
}

.event-time,
.event-meta {
  font-size: 0.72rem;
  line-height: 1.25;
}

.event-title {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.86rem;
  line-height: 1.3;
}

.event-icon {
  width: 0.95rem;
  text-align: center;
  flex: 0 0 auto;
}

.detail-card,
.admin-card {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 28px;
}

.admin-card-wide {
  max-width: 1320px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.9fr);
  gap: 24px;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.detail-return-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.detail-card > a.button-secondary[href$="/calendar"] {
  display: none;
}

.x-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
}

.x-share-button:hover {
  transform: translateY(-1px);
}

.detail-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
}

.detail-list dt {
  margin-bottom: 4px;
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  font-size: 1.03rem;
}

.detail-list dd a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-member-links a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.day-events-shell {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.day-events-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.day-events-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.day-events-date {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.day-events-list {
  display: grid;
  gap: 12px;
}

.day-event-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 3px solid #858585;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
}

.day-event-card:hover {
  transform: translateY(-1px);
}

.day-event-time {
  display: grid;
  gap: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.event-list-date {
  color: #666666;
  font-size: 0.8rem;
}

.day-event-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.day-event-main strong {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.day-event-title-wrap {
  min-width: 0;
  overflow-wrap: anywhere;
}

.day-event-main strong span:last-child,
.day-event-main > span {
  overflow-wrap: anywhere;
}

.day-event-main > span {
  color: #444444;
  font-size: 0.92rem;
}

.day-event-members {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.member-badge-dark {
  color: #111111;
}

.day-events-empty {
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
}

.member-shell {
  display: grid;
  gap: 18px;
}

.member-page-nav {
  display: grid;
  gap: 10px;
}

.member-page-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.member-page-tab,
.member-calendar-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
}

.member-page-tab {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 24, 24, 0.1);
}

.member-page-tab.is-active {
  background: var(--member-color);
  border-color: rgba(24, 24, 24, 0.16);
  color: #111111;
  cursor: default;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.12);
}

.member-page-tab.is-active.is-dark-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.member-calendar-back {
  justify-self: center;
  min-width: 180px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
}

.member-hero,
.member-profile-grid,
.member-section {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.member-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-top: 8px solid var(--member-color);
}

.member-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.member-birthday-title {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
}

.member-birthday-title i {
  color: var(--member-icon-color, var(--member-color));
  font-size: 0.58em;
}

.member-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.member-profile-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.member-profile-item i {
  grid-row: span 2;
  width: 24px;
  color: var(--member-icon-color, var(--member-color));
  font-size: 1.2rem;
  text-align: center;
}

.member-profile-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.member-profile-item strong {
  color: #111111;
  font-size: 1.02rem;
}

.member-section {
  padding: 20px;
}

.member-section h2 {
  margin-bottom: 14px;
}

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

.member-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(24, 24, 24, 0.08);
  color: #111111;
  font-weight: 700;
}

.member-link-card i {
  width: 22px;
  color: var(--member-icon-color, var(--member-color));
  font-size: 1.2rem;
  text-align: center;
}

.member-history-stack {
  display: grid;
  gap: 18px;
}

.member-history-group {
  display: grid;
  gap: 10px;
}

.member-history-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
}

.member-history-group h3 i {
  color: var(--member-icon-color, var(--member-color));
}

.history-event-list {
  display: grid;
  gap: 6px;
}

.history-event-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) minmax(120px, 0.45fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #111111;
  border: 1px solid rgba(24, 24, 24, 0.08);
}

.history-event-row:hover {
  transform: translateY(-1px);
}

.history-event-date {
  font-weight: 700;
  white-space: nowrap;
}

.history-event-title,
.history-event-place {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-event-place {
  color: #555555;
  font-size: 0.88rem;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.article-card {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 24, 24, 0.08);
  color: #111111;
}

.article-card:hover {
  transform: translateY(-1px);
}

.article-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.article-card strong {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-member-nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.home-member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 24, 24, 0.1);
  font-weight: 700;
  text-align: center;
}

.seo-summary {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 24, 24, 0.08);
  color: #222222;
}

.seo-summary h1 {
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.seo-summary p {
  margin: 6px 0 0;
  color: #4a4a4a;
  line-height: 1.7;
  font-size: 0.9rem;
}

.youtube-history-shell {
  display: grid;
  gap: 10px;
  overscroll-behavior: contain;
}

.youtube-history-nav {
  position: relative;
  z-index: 5;
}

.youtube-history-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.member-calendar-back.is-secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(24, 24, 24, 0.12);
  color: #111111;
}

.youtube-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 22px;
  background: rgba(11, 18, 34, 0.94);
  color: #f8fafc;
  border-top: 6px solid var(--member-color);
  box-shadow: var(--shadow);
}

.youtube-history-header .eyebrow {
  margin-bottom: 2px;
}

.youtube-history-header h1 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.storyline-shell {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  height: calc(100vh - 110px);
  min-height: 720px;
  overflow: hidden;
  border-radius: 24px;
  background: #0b1222;
  color: #f1f5f9;
  box-shadow: var(--shadow);
}

.storyline-shell.is-map-expanded {
  grid-template-columns: minmax(360px, 70%) minmax(260px, 30%);
}

.storyline-shell.is-map-expanded .story-scroll {
  overflow: hidden;
  pointer-events: none;
}

.story-road {
  position: relative;
  height: 100%;
  border-right: 1px solid #1e293b;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
}

.storyline-shell.is-map-expanded .story-road {
  cursor: grab;
}

.storyline-shell.is-map-expanded .story-road.is-dragging {
  cursor: grabbing;
}

.story-map-toggle {
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 5;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: #f8fafc;
  font-weight: 900;
  font-size: 0.74rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.story-map-toggle:hover {
  background: rgba(30, 41, 59, 0.98);
}

.story-road-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.story-road [data-road-viewport] {
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.storyline-shell.is-map-expanded .story-road [data-road-viewport] {
  transition: none;
}

.story-lane-labels {
  position: absolute;
  inset: 0 0 auto;
  height: 82px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, #0b1222 72%, transparent);
}

.story-lane-name {
  position: absolute;
  bottom: 14px;
  width: 100px;
  color: #64748b;
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transform: translateX(-50%);
  transition: color 0.4s ease, transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  -webkit-user-select: none;
}

.storyline-shell.is-map-expanded .story-lane-name {
  transition: none;
}

.story-lane-name.active {
  color: #f8fafc;
}

.story-lane-line {
  stroke: #1e293b;
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.story-dot {
  fill: #1e293b;
  stroke: rgba(241, 245, 249, 0.28);
  stroke-width: 2;
  transition: all 0.45s ease;
  cursor: pointer;
  pointer-events: auto;
}

.storyline-shell.is-map-expanded .story-dot {
  transition: none;
}

.story-dot.active {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 3;
  filter: drop-shadow(0 0 10px currentColor);
}

[data-active-path] {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.85;
  transition: all 0.7s ease;
}

.storyline-shell.is-map-expanded [data-active-path] {
  transition: none;
}

.story-scroll {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.story-scroll::-webkit-scrollbar {
  display: none;
}

.story-card-section {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.story-card {
  position: relative;
  width: min(1040px, 100%);
  padding: 24px;
  border-radius: 22px;
  background: #161e31;
  border: 1px solid #2d3748;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.38);
  opacity: 0.14;
  transform: scale(0.88) translateY(36px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.story-card-section.active .story-card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.story-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 74px 8px 0;
}

.story-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
}

.story-age-badge {
  position: absolute;
  top: 10px;
  right: 16px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-width: 58px;
  justify-content: flex-end;
  color: #f8fafc;
  line-height: 1;
}

.story-age-badge strong {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.story-age-badge span {
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 900;
}

.story-channel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
}

.story-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.45;
}

.video-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1222;
  border: 1px solid #1e293b;
}

.video-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  color: #64748b;
  font-size: 0.8rem;
}

.youtube-open-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.82rem;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-form label,
.admin-form fieldset {
  display: grid;
  gap: 8px;
}

.admin-form .date-only-option {
  align-content: start;
}

.admin-form .date-only-option input {
  min-height: auto;
  width: auto;
  justify-self: start;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 24, 24, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.admin-form textarea {
  min-height: 150px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
  font: inherit;
}

.admin-release-description {
  white-space: pre-wrap;
}

.admin-form fieldset {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(24, 24, 24, 0.12);
}

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

.flash-stack {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.flash-message {
  padding: 12px 14px;
  border-radius: 14px;
}

.flash-success {
  background: rgba(102, 187, 106, 0.18);
  color: #205726;
}

.flash-error {
  background: rgba(225, 87, 89, 0.16);
  color: #8c2022;
}

.admin-list-panel {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 24, 24, 0.08);
  min-width: 0;
}

.admin-list-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 14px;
}

.admin-event-list {
  display: grid;
  gap: 12px;
  max-height: 70vh;
  overflow: auto;
  padding-right: 4px;
}

.admin-event-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 24, 24, 0.08);
}

.admin-event-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-event-main span,
.admin-event-main a {
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.admin-edit-link {
  align-self: start;
}

.admin-item-actions {
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-item-actions form {
  margin: 0;
}

.admin-delete-button {
  min-height: 40px;
  padding: 0 14px;
}

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

@media (max-width: 1024px) {
  .page-shell {
    padding: 10px;
  }

  .calendar-shell {
    padding: 12px;
  }

  .week-grid {
    min-width: 860px;
  }

  .calendar-toolbar-compact {
    grid-template-columns: minmax(92px, 120px) 1fr minmax(92px, 120px);
  }
}

@media (max-width: 900px) {
  .calendar-toolbar-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "prev today tomorrow next"
      "targets types submit submit";
    align-items: center;
    gap: 8px;
  }

  .calendar-toolbar-center {
    display: contents;
  }

  .nav-link-side:first-child {
    grid-area: prev;
  }

  .nav-link-side:last-child {
    grid-area: next;
  }

  .submit-event-button-compact {
    grid-area: submit;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 0 10px;
  }

  .filter-dropdown:first-of-type {
    grid-area: targets;
  }

  .filter-dropdown:last-of-type {
    grid-area: types;
  }

  .filter-dropdown {
    min-width: 0;
  }

  .filter-dropdown-button {
    width: 100%;
  }

  .today-link {
    grid-area: today;
  }

  .tomorrow-link {
    grid-area: tomorrow;
  }

  .nav-link,
  .button-primary,
  .button-secondary,
  .button-danger,
  .filter-dropdown-button,
  .submit-event-button-compact {
    min-height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.9rem;
  }

  .day-events-shell {
    padding: 12px;
  }

  .day-events-header {
    align-items: stretch;
    flex-direction: column;
  }

  .day-events-header-actions {
    justify-content: flex-start;
  }

  .member-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .member-profile-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .member-page-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-page-tab,
  .member-calendar-back {
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.9rem;
  }

  .day-event-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .history-event-row {
    grid-template-columns: 76px minmax(0, 1fr) minmax(64px, 0.45fr);
  }

  .history-event-date {
    font-size: 0.72rem;
    letter-spacing: -0.02em;
  }

  .history-event-place {
    font-size: 0.72rem;
  }

  .home-member-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storyline-shell {
    grid-template-columns: 88px minmax(0, 1fr);
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .storyline-shell.is-map-expanded {
    grid-template-columns: minmax(230px, 72vw) minmax(110px, 28vw);
  }

  .storyline-shell.is-map-expanded .story-scroll {
    overflow: hidden;
  }

  .story-road {
    position: sticky;
    top: 0;
    height: 100svh;
    max-height: 100vh;
  }

  .story-map-toggle {
    left: 6px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  .story-scroll {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .youtube-history-header {
    align-items: stretch;
    flex-direction: column;
    position: relative;
    z-index: 3;
  }

  .youtube-history-actions {
    justify-content: stretch;
  }

  .youtube-history-actions .member-calendar-back {
    flex: 1 1 160px;
  }

  .story-card-section {
    padding: 12px;
    min-height: 100svh;
    scroll-snap-align: none;
  }

  .story-card {
    padding: 16px;
  }

  .day-event-members {
    justify-content: flex-start;
  }

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

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .youtube-history-shell {
    gap: 0;
  }

  .youtube-history-header {
    display: none;
  }

  .storyline-shell {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    border-radius: 0;
  }

  .story-road {
    position: sticky;
    top: 0;
    height: 100dvh;
    min-height: 100svh;
    max-height: none;
  }

  .story-road-svg {
    height: 100%;
  }

  .story-lane-labels {
    height: 64px;
  }

  .story-lane-name {
    bottom: 10px;
  }

  .story-scroll {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .story-card-section {
    min-height: 100svh;
    scroll-snap-align: none;
  }
}
/* Streaming page */
.streaming-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.streaming-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 16px;
}

.streaming-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.streaming-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  min-height: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(23, 23, 28, 0.88);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.streaming-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.streaming-service,
.streaming-actor {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.streaming-service {
  background: rgba(255, 255, 255, 0.92);
  color: #17171c;
}

.streaming-actor {
  background: var(--actor-bg, rgba(143, 183, 255, 0.18));
  color: var(--actor-text, #ffffff);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.streaming-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.08rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.streaming-meta {
  display: grid;
  gap: 9px;
  margin: 0;
  color: #cbd5e1;
}

.streaming-meta div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
}

.streaming-meta dt {
  color: #94a3b8;
  font-weight: 900;
}

.streaming-meta dd {
  margin: 0;
}

.streaming-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #17171c;
  font-weight: 900;
  text-decoration: none;
}

/* Fan home */
.fan-home {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(10px, 2vw, 24px) 0 56px;
  font-family: "Outfit", "Segoe UI", "Hiragino Sans", sans-serif;
}

.fan-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.5vw, 42px);
  border: 1px solid rgba(229, 84, 119, 0.24);
  border-radius: 40px;
  text-align: left;
  background:
    radial-gradient(circle at 88% 12%, rgba(229, 84, 119, 0.34), transparent 32%),
    radial-gradient(circle at 12% 85%, rgba(255, 232, 189, 0.8), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 248, 0.9));
  box-shadow: 0 28px 90px rgba(60, 35, 42, 0.16);
}

.fan-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.fan-hero-left {
  min-width: 0;
}

.fan-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -38% 46%;
  height: 78%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(229, 84, 119, 0.18), rgba(255, 255, 255, 0));
  transform: rotate(-10deg);
  pointer-events: none;
}

.fan-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #e55477;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.fan-hero h1 {
  position: relative;
  z-index: 1;
  display: block;
  max-width: none;
  margin: 0;
  color: #e55477;
  font-family: "Google Sans Flex", "Outfit", sans-serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.fan-hero-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: min(340px, 100%);
  margin-top: 18px;
}

.fan-hero-members a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid rgba(48, 48, 56, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #303038;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.fan-hero-members a:hover {
  border-color: #e55477;
  color: #e55477;
  transform: translateX(3px);
}

.fan-lead {
  position: relative;
  z-index: 1;
  justify-self: end;
  max-width: 700px;
  margin: 0;
  color: #303038;
  font-size: clamp(0.84rem, 1.35vw, 1rem);
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}

.fan-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.fan-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #303038;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.fan-section {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 70px rgba(45, 40, 55, 0.1);
  backdrop-filter: blur(14px);
}

.fan-section-heading {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  text-align: left;
}

.fan-section-heading h2 {
  margin: 0;
  color: #26262d;
  font-family: "Quicksand", "Outfit", sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.8rem);
  font-weight: 300 !important;
  font-variation-settings: "wght" 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.fan-section-heading-action {
  justify-content: space-between;
}

.fan-calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #303038;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.fan-calendar-link:hover {
  background: #e55477;
  color: #ffffff;
}

.fan-event-list .day-event-card {
  border-width: 2px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(45, 40, 55, 0.08);
}

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

.fan-news-card {
  display: block;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(45, 40, 55, 0.09);
  border-left: 4px solid var(--event-color);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #303038;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(45, 40, 55, 0.07);
}

.fan-news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fan-news-created {
  flex: 0 0 auto;
  color: #77737b;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.fan-news-card:hover {
  color: #303038;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(45, 40, 55, 0.12);
}

.fan-news-icon {
  flex: 0 0 auto;
  font-size: 1.12rem;
  line-height: 1.5;
}

.fan-news-card p {
  min-width: 0;
  margin: 9px 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.fan-news-members {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.fan-date-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.fan-date-tab {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 4px 9px;
  border: 1px solid rgba(45, 40, 55, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: #66636b;
  cursor: pointer;
  font: inherit;
}

.fan-date-tab strong {
  font-size: clamp(0.9rem, 2.2vw, 1.25rem);
  line-height: 1;
}

.fan-date-tab > span:last-child {
  font-size: 0.78rem;
  font-weight: 800;
}

.fan-date-tab.is-active {
  border-color: #e55477;
  background: #e55477;
  color: #ffffff;
  box-shadow: 0 9px 22px rgba(229, 84, 119, 0.25);
}

.fan-today-mark {
  position: absolute;
  top: -8px;
  left: 50%;
  padding: 2px 7px;
  border-radius: 999px;
  background: #303038;
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

.fan-schedule-panels {
  margin-top: 16px;
}

.fan-schedule-panel > h3 {
  margin: 0 0 12px;
  color: #303038;
  font-size: 1rem;
}

.fan-schedule-event {
  position: relative;
}

.fan-schedule-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 14px 2px 0;
  color: #69666e;
  font-size: 0.72rem;
  line-height: 1.4;
}

.fan-schedule-legend .fan-regular-mark {
  margin-left: 0;
  font-size: 0.7rem;
}

.fan-regular-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.55em;
  height: 1.55em;
  margin-left: 0.45em;
  border-radius: 999px;
  background: #303038;
  color: #ffffff;
  font-size: 0.65em;
  vertical-align: middle;
}

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

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

.fan-release-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #202027;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(32, 32, 39, 0.18);
}

.release-index-page .fan-release-card[hidden],
.release-index-page .release-year-section[hidden],
.release-index-page .release-filter-empty[hidden] {
  display: none !important;
}

.fan-release-card:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.fan-release-thumbnail {
  display: grid;
  place-items: center;
  width: min(132px, calc(100% - 32px));
  aspect-ratio: 1;
  margin: 20px auto 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  color: #ffffff;
  font-size: 3.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 30px rgba(0, 0, 0, 0.2);
}

.fan-release-thumbnail-stream { background: linear-gradient(145deg, #3aaed8, #2878bd); }
.fan-release-thumbnail-cd { background: linear-gradient(145deg, #e55477, #8f5bd4); }
.fan-release-thumbnail-video { background: linear-gradient(145deg, #303038, #d64545); }
.fan-release-thumbnail-book { background: linear-gradient(145deg, #d99a3d, #9a552e); }
.fan-release-thumbnail-photo { background: linear-gradient(145deg, #76cde8, #e55477); }
.fan-release-thumbnail-digital-photo { background: linear-gradient(145deg, #58a85c, #76cde8); }
.fan-release-thumbnail-other { background: linear-gradient(145deg, #77737b, #303038); }

.fan-release-body {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 16px;
  text-align: left;
}

.fan-release-type {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.fan-release-body time {
  color: #f0a8ba;
  font-size: 0.82rem;
  font-weight: 800;
}

.fan-release-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.fan-release-members {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.release-description {
  white-space: pre-wrap;
}

.release-index-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.release-index-header h1 {
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.release-index-header .fan-calendar-link {
  position: relative;
  z-index: 2;
}

.release-index-main {
  min-height: 50vh;
}

.release-index-heading {
  align-items: flex-start;
  justify-content: space-between;
}

.release-filters {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  max-width: 760px;
}

.release-type-filters {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.release-filter-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(48, 48, 56, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  color: #77737b;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
}

.release-filter-button.is-active {
  border-color: #303038;
  background: #303038;
  color: #ffffff;
}

.release-filter-all.is-active {
  border-color: #e55477;
  background: #e55477;
}

.release-member-filter {
  display: grid;
  gap: 3px;
  color: #77737b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.release-member-filter select {
  min-height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid rgba(48, 48, 56, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  color: #303038;
  font: inherit;
  font-size: 0.78rem;
}

.release-year-list {
  display: grid;
  gap: 34px;
}

.release-year-section > h3 {
  margin: 0 0 14px;
  color: #e55477;
  font-family: "Quicksand", "Outfit", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.release-filter-empty {
  margin: 18px 0 0;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #69666e;
  text-align: center;
}

.release-index-footer {
  margin-top: 20px;
  padding: 18px 4px;
  border-top: 1px solid rgba(48, 48, 56, 0.14);
  color: #69666e;
  font-size: 0.78rem;
  text-align: center;
}

.fan-video-card {
  overflow: hidden;
  border-radius: 24px;
  background: #202027;
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(32, 32, 39, 0.18);
}

.fan-video-frame {
  aspect-ratio: 16 / 9;
  background: #111111;
}

.fan-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fan-video-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.fan-video-body p,
.fan-video-body h3 {
  margin: 0;
}

.fan-video-body p,
.fan-video-body span {
  color: #f0a8ba;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fan-video-body h3 {
  font-size: 1rem;
  line-height: 1.45;
}

.fan-streaming-list {
  display: grid;
  gap: 12px;
}

.fan-streaming-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(32, 32, 39, 0.92);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(32, 32, 39, 0.14);
}

.fan-streaming-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fan-streaming-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.42rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.fan-streaming-meta {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.fan-streaming-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #202027;
  font-weight: 900;
  text-decoration: none;
}

.fan-home-member-nav {
  margin-top: 20px;
}

@media (max-width: 720px) {
  .fan-hero {
    border-radius: 28px;
    padding: 24px 20px;
  }

  .fan-hero-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .fan-hero h1 {
    font-size: clamp(0.98rem, 5vw, 1.2rem);
  }

  .fan-hero-members {
    width: 100%;
  }

  .fan-lead {
    justify-self: stretch;
  }

  .fan-section {
    border-radius: 24px;
  }

  .fan-section-heading {
    display: block;
  }

  .fan-section-heading-action {
    display: flex;
    align-items: center;
  }

  .fan-calendar-link {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.75rem;
  }

  .fan-news-grid {
    grid-template-columns: 1fr;
  }

  .fan-date-tabs {
    gap: 4px;
  }

  .fan-date-tab {
    min-height: 66px;
    padding-inline: 1px;
    border-radius: 10px;
  }

  .fan-date-tab strong {
    font-size: 0.77rem;
  }

  .fan-date-tab > span:last-child {
    font-size: 0.7rem;
  }

  .fan-today-mark {
    padding-inline: 4px;
    font-size: 0.46rem;
  }

  .fan-news-card {
    display: block;
  }

  .fan-video-grid {
    grid-template-columns: 1fr;
  }

  .fan-release-grid {
    grid-template-columns: 1fr;
  }

  .release-index-header {
    padding: 20px;
  }

  .release-index-header h1 {
    font-size: 0.98rem;
  }

  .release-index-heading {
    display: grid;
    gap: 16px;
  }

  .release-filters,
  .release-type-filters {
    justify-content: flex-start;
  }

  .release-member-filter {
    width: 100%;
  }

  .release-member-filter select {
    width: 100%;
  }

  .streaming-page {
    padding-top: 12px;
  }

  .streaming-header {
    justify-content: flex-start;
  }

  .streaming-card {
    gap: 12px;
  }

  .streaming-link {
    white-space: normal;
  }
}
