/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── VARIABLES ───────────────────────────── */
:root {
  --bg: #f5f4f8;
  --dark: #14111e;
  --dark2: #1e1a2e;
  --purple: #9b6ddb;
  --purple-light: #d4bfff;
  --purple-dim: #6b4fa0;
  --purple-pale: #f3eeff;
  --pink: #f4a7d8;
  --pink-pale: #fff0fa;
  --lavender: #efe6ff;
  --border: #e8e2f5;
  --border-dark: rgba(155,109,219,0.2);
  --text: #1a1520;
  --text-muted: #8b80a8;
  --text-dim: rgba(255,255,255,0.4);
  --white: #fff;
  --red: #e63946;

  --tag-talk-bg: #ede8f8; --tag-talk-c: #6b4fa0;
  --tag-game-bg: #e8eeff; --tag-game-c: #3b5bdb;
  --tag-drink-bg: #fff8e1; --tag-drink-c: #b45309;
  --tag-song-bg: #fce8f3; --tag-song-c: #9d174d;
  --tag-kinoko-bg: #e8f5e9; --tag-kinoko-c: #2e7d32;
  --tag-limit-bg: #fef2f2; --tag-limit-c: #991b1b;
  --tag-collab-bg: #e0f7fa; --tag-collab-c: #0e7490;
  --tag-external-bg: #f2e7ff; --tag-external-c: #7c3fb4;
  --tag-morning-bg: #fff9db; --tag-morning-c: #854d0e;

  --font: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.home-page {
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ─────────────────────────────────── */
.nav {
  background: var(--dark);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-dark);
}
.nav-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: .14em;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo small {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: .1em;
}
.nav-links {
  display: flex;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-lk {
  padding: 0 16px;
  height: 52px;
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  position: relative;
  border-bottom: 0;
  transition: color .15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-lk::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--purple),var(--pink));
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s, transform .18s;
}
.nav-lk:hover { color: rgba(255,255,255,.82); }
.nav-lk.on { color: var(--purple-light); text-shadow: 0 0 16px rgba(212,191,255,.28); }
.nav-lk.on::after { opacity: 1; transform: scaleX(1); }

/* ── PAGE HEADER ─────────────────────────── */
.ph {
  background: var(--dark);
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--border-dark);
}
.ph-icon { font-size: 22px; color: var(--purple); margin-bottom: 6px; }
.ph-title { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: .06em; margin-bottom: 2px; }
.ph-sub { font-size: 11px; color: var(--text-dim); letter-spacing: .14em; }

/* ── TAGS ────────────────────────────────── */
.tag { font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.6); display: inline-flex; align-items: center; box-shadow: 0 2px 8px rgba(155,109,219,.08); }
.tag-雑談  { background: var(--tag-talk-bg);    color: var(--tag-talk-c); }
.tag-ゲーム { background: var(--tag-game-bg);    color: var(--tag-game-c); }
.tag-飲酒  { background: var(--tag-drink-bg);   color: var(--tag-drink-c); }
.tag-歌枠  { background: var(--tag-song-bg);    color: var(--tag-song-c); }
.tag-きのこたけのこ { background: var(--tag-kinoko-bg); color: var(--tag-kinoko-c); }
.tag-限界配信 { background: var(--tag-limit-bg); color: var(--tag-limit-c); }
.tag-コラボ { background: var(--tag-collab-bg); color: var(--tag-collab-c); }
.tag-external-collab { background: var(--tag-external-bg); color: var(--tag-external-c); }
.tag-朝活  { background: var(--tag-morning-bg); color: var(--tag-morning-c); }
.more-tag { background: var(--pink-pale); color: var(--purple); font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 999px; cursor: pointer; }

/* ── CARDS ───────────────────────────────── */
.arc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.arc-card:hover { box-shadow: 0 10px 28px rgba(155,109,219,.2); transform: translateY(-3px); border-color: #c4a8f0; }
.arc-card.active { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(155,109,219,.25); }
.arc-thumb {
  aspect-ratio: 16/9;
  background: #1e1830;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.arc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.arc-thumb-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.arc-thumb-ph i { font-size: 24px; color: rgba(155,109,219,.35); }
.arc-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; transition: background .18s;
}
.arc-card:hover .arc-play-overlay { background: rgba(0,0,0,.3); }
.arc-play-overlay i { font-size: 28px; color: #fff; opacity: 0; transition: opacity .18s; }
.arc-card:hover .arc-play-overlay i { opacity: 1; }
.arc-dur { position: absolute; bottom: 5px; right: 6px; background: rgba(0,0,0,.82); color: #fff; font-size: 9px; padding: 2px 5px; border-radius: 3px; }
.arc-short-badge { position: absolute; top: 5px; left: 6px; background: #ff6b35; color: #fff; font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.arc-body { padding: 10px 12px; }
.arc-title { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arc-foot { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.arc-date { font-size: 10px; color: var(--text-muted); margin-right: 2px; }

.modal-open { overflow: hidden; }

/* ── VIDEO MODAL ─────────────────────────── */
.vid-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 4, 8, .82);
  backdrop-filter: blur(5px);
}
.vid-modal.open { display: flex; }
.vid-modal-inner {
  width: min(920px, calc(100vw - 42px));
  max-height: calc(100vh - 52px);
  overflow: auto;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}
.vid-wrap { aspect-ratio: 16/9; background: #050506; border-radius: 12px; overflow: hidden; margin-bottom: 12px; position: relative; }
.vid-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-demo { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at 50% 45%, rgba(155,109,219,.28), transparent 28%), #111018; color: rgba(255,255,255,.7); text-align: center; }
.vid-demo i { color: #fff; font-size: 54px; filter: drop-shadow(0 8px 20px rgba(155,109,219,.35)); }
.vid-demo span { font-size: 12px; }
.vid-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vid-title-txt { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; }
.vid-date-txt { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.vid-tags-wrap { display: flex; align-items: flex-start; gap: 8px; padding: 0 2px 2px; }
.vid-tags-lbl { flex-shrink: 0; font-size: 10px; font-weight: 900; letter-spacing: .14em; color: #55505f; text-transform: uppercase; line-height: 2.3; }
.vid-tags-row { display: flex; gap: 6px; flex-wrap: wrap; }
.close-vid { flex-shrink: 0; background: rgba(20,17,30,.06); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; font-size: 11px; color: var(--purple-dim); cursor: pointer; display: flex; align-items: center; gap: 4px; font-family: var(--font); }
.close-vid:hover { border-color: var(--purple); color: var(--purple); }

/* ── FILTER ──────────────────────────────── */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 28px; display: flex; align-items: center; gap: 10px; }
.filter-toggle { height: 34px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #d7baf4; background: linear-gradient(180deg,#fff,#fff7fd); color: var(--purple); font-size: 11px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: var(--font); transition: background .15s, box-shadow .15s, transform .15s; box-shadow: 0 4px 14px rgba(155,109,219,.1); }
.filter-toggle:hover { background: var(--purple-pale); box-shadow: 0 7px 18px rgba(155,109,219,.16); transform: translateY(-1px); }
.filter-toggle i { font-size: 14px; }
.chevron { font-size: 12px; transition: transform .22s; }
.chevron.open { transform: rotate(180deg); }
.result-count { font-size: 12px; color: var(--text-muted); margin-left: auto; }

.filter-panel { background: var(--white); border-bottom: 2px solid var(--border); overflow: hidden; transition: max-height .28s cubic-bezier(.4,0,.2,1); max-height: 0; }
.filter-panel.open { max-height: 300px; }
.fp-inner { padding: 18px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fp-label { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--purple); text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.fp-row { display: flex; gap: 6px; flex-wrap: wrap; }
.fp-select { height: 32px; border: 1px solid #ddd8ee; border-radius: 999px; padding: 0 10px; font-size: 11px; color: var(--text); background: var(--white); font-family: var(--font); }
.fp-input { height: 32px; border: 1px solid #ddd8ee; border-radius: 999px; padding: 0 12px; font-size: 11px; color: var(--text); width: 100%; outline: none; font-family: var(--font); }
.fp-input:focus { border-color: var(--purple); }
.fp-tag { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; cursor: pointer; border: 1.5px solid transparent; transition: border-color .12s; }
.fp-tag.on { border-color: currentColor; }
.fp-actions { grid-column: 1/-1; display: flex; gap: 8px; justify-content: flex-end; padding-top: 4px; }
.btn-search { height: 34px; padding: 0 20px; background: linear-gradient(135deg,var(--purple),#b986ef); border: none; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 5px; font-family: var(--font); box-shadow: 0 7px 18px rgba(155,109,219,.22); }
.btn-search:hover { background: linear-gradient(135deg,#aa78e6,var(--pink)); }
.btn-clear { height: 34px; padding: 0 16px; background: var(--white); border: 1px solid #ddd8ee; border-radius: 999px; color: var(--text-muted); font-size: 11px; cursor: pointer; font-family: var(--font); }

/* ── ABOUT CARDS ─────────────────────────── */
.about-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; box-shadow: 0 8px 28px rgba(155,109,219,.08); }
.about-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0ecfb; }
.about-card-head i { font-size: 18px; color: var(--purple); }
.about-card-head span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); }
.about-body { font-size: 13px; color: #3a3050; line-height: 1.9; }
.about-body p { margin-bottom: 8px; }
.about-body p:last-child { margin-bottom: 0; }
.unofficial-badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg,var(--purple-pale),var(--pink-pale)); border: 1px solid #d4bfff; border-radius: 999px; padding: 7px 15px; font-size: 11px; font-weight: 800; color: var(--purple-dim); margin-bottom: 14px; }

/* ── LINK CARDS ──────────────────────────── */
.link-card { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; cursor: pointer; transition: box-shadow .18s, transform .18s, border-color .18s; box-shadow: 0 6px 22px rgba(155,109,219,.07); }
.link-card:hover { box-shadow: 0 10px 28px rgba(155,109,219,.18); transform: translateY(-2px); border-color: #c4a8f0; }
.link-card.is-disabled { cursor: default; opacity: .78; }
.link-card.is-disabled:hover { box-shadow: 0 6px 22px rgba(155,109,219,.07); transform: none; border-color: var(--border); }
.link-icon { width: 46px; height: 46px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.link-icon i { font-size: 22px; }
.lc-yt { background: #fef2f2; } .lc-yt i { color: #e63946; }
.lc-x  { background: #f0f4ff; } .lc-x i  { color: #1d3d7d; }
.lc-lit { background: #fdf4ff; } .lc-lit i { color: var(--purple); }
.link-info { flex: 1; min-width: 0; }
.link-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.link-url { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-ext i { font-size: 18px; color: #c4b8e0; }
.link-card:hover .link-ext i { color: var(--purple); }

/* ── SCHEDULE ────────────────────────────── */
.sch-status-row { display: flex; gap: 10px; margin-bottom: 24px; }
.sch-status { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; flex: 1; display: flex; align-items: center; gap: 10px; box-shadow: 0 7px 22px rgba(155,109,219,.08); }
.sch-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-live { background: var(--red); animation: pulse-r 1.2s ease-in-out infinite; }
.dot-soon { background: var(--purple); }
.dot-count { background: #d0c8e8; }
@keyframes pulse-r { 0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,.4); } 50% { box-shadow: 0 0 0 6px rgba(230,57,70,0); } }
.sch-status-label { font-size: 11px; color: var(--text-muted); }
.sch-status-val { font-size: 13px; font-weight: 700; color: var(--text); }
.sch-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.sch-tabs::-webkit-scrollbar { display: none; }
.sch-tab { border: 1.5px solid #e3d8f5; border-radius: 999px; background: linear-gradient(180deg,#fff,#faf7ff); color: var(--purple-dim); min-width: 122px; padding: 10px 16px; font-family: var(--font); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; box-shadow: 0 2px 8px rgba(155,109,219,.08); transition: color .15s, background .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.sch-tab:hover { transform: translateY(-1px); border-color: #c7a8f2; box-shadow: 0 5px 14px rgba(155,109,219,.16); }
.sch-tab.on { color: #fff; border-color: var(--purple); background: linear-gradient(135deg,var(--purple),#b986ef); box-shadow: 0 6px 18px rgba(155,109,219,.28); }
.sch-tab i { font-size: 15px; }
.sch-panel { display: none; }
.sch-panel.on { display: block; }
.sch-section-title { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.sch-section-title i { font-size: 14px; }
.sch-calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sch-calendar-head .sch-section-title { margin-bottom: 0; }
.sch-cal-controls { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.7); border: 1px solid var(--border); border-radius: 999px; padding: 5px; box-shadow: 0 6px 20px rgba(155,109,219,.08); }
.sch-cal-title { min-width: 86px; text-align: center; font-size: 13px; font-weight: 900; color: var(--purple-dim); letter-spacing: .08em; }
.sch-cal-btn { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--purple-pale); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.sch-cal-btn:hover { background: var(--purple); color: #fff; transform: translateY(-1px); }
.sch-calendar-layout { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.sch-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.sch-cal-dow { text-align: center; font-size: 10px; font-weight: 900; color: var(--text-muted); letter-spacing: .1em; padding: 0 0 2px; }
.sch-cal-cell { min-height: 112px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(155,109,219,.06); position: relative; display: flex; flex-direction: column; }
.sch-cal-cell.is-blank { background: transparent; border-color: transparent; box-shadow: none; }
.sch-cal-cell.has-event { border-color: #d7baf4; background: linear-gradient(180deg,#fff,#fcf9ff); }
.sch-cal-cell.is-selected { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(155,109,219,.18), 0 8px 24px rgba(155,109,219,.12); }
.sch-cal-day { font-size: 12px; font-weight: 900; color: var(--purple-dim); margin-bottom: 6px; line-height: 1; }
.sch-cal-event-chip { width: 100%; margin-top: auto; border: 0; border-radius: 10px; padding: 6px 7px; background: var(--purple-pale); color: var(--purple-dim); font-family: var(--font); font-size: 10px; font-weight: 900; line-height: 1.35; text-align: left; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; border: 1px solid rgba(155,109,219,.16); }
.sch-cal-event-chip:hover { background: linear-gradient(135deg,var(--purple),#b986ef); color: #fff; }
.sch-cal-more { width: fit-content; margin-top: 4px; border: 0; border-radius: 999px; padding: 2px 7px; background: var(--pink-pale); color: var(--purple); font-family: var(--font); font-size: 9px; font-weight: 900; cursor: pointer; }
.sch-day-panel { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 28px rgba(155,109,219,.08); }
.sch-day-panel-date { font-size: 14px; font-weight: 900; color: var(--purple-dim); letter-spacing: .04em; margin-bottom: 10px; }
.sch-day-panel-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.sch-day-event { display: block; background: linear-gradient(180deg,#fff,#fbf8ff); border: 1px solid #e3d8f5; border-radius: 14px; padding: 12px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sch-day-event:hover { border-color: var(--purple); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(155,109,219,.14); }
.sch-day-event-title { font-size: 13px; font-weight: 800; color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.sch-day-event-meta { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-muted); }
.sch-empty { font-size: 12px; color: var(--text-muted); line-height: 1.8; background: var(--purple-pale); border: 1px solid #e3d8f5; border-radius: 14px; padding: 14px; }
.sch-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; display: flex; overflow: hidden; margin-bottom: 10px; cursor: pointer; transition: box-shadow .18s, border-color .18s, transform .18s; text-decoration: none; color: inherit; }
.sch-card:hover { box-shadow: 0 4px 16px rgba(155,109,219,.15); border-color: #c4a8f0; }
.sch-card.live { border-color: var(--red); }
.sch-date-block { width: 68px; background: #f5f4f8; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 4px; flex-shrink: 0; border-right: 1px solid var(--border); }
.sch-card.live .sch-date-block { background: #fff0f0; border-right-color: #fecaca; }
.sch-month { font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--text-muted); text-transform: uppercase; }
.sch-day { font-size: 24px; font-weight: 900; color: var(--text); line-height: 1; }
.sch-dow { font-size: 9px; color: var(--text-muted); }
.sch-body { flex: 1; padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.sch-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 20px; width: fit-content; }
.badge-live     { background: #fef2f2; color: var(--red);    border: 1px solid #fecaca; }
.badge-upcoming { background: #f3eeff; color: var(--purple); border: 1px solid #d4bfff; }
.badge-past     { background: #f5f4f8; color: var(--text-muted); border: 1px solid var(--border); }
.sch-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; }
.sch-time { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.sch-thumb { width: 100px; flex-shrink: 0; background: #1e1830; display: flex; align-items: center; justify-content: center; }
.sch-thumb i { font-size: 20px; color: rgba(155,109,219,.35); }
.sch-thumb img { width: 100%; height: 100%; object-fit: cover; }
.api-note { display: flex; align-items: flex-start; gap: 8px; background: var(--purple-pale); border: 1px solid #d4bfff; border-radius: 8px; padding: 12px 16px; margin-top: 20px; font-size: 12px; color: var(--purple-dim); line-height: 1.7; }
.api-note i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* ── HERO (TOP) ──────────────────────────── */
.hero { position: relative; height: calc(100vh - 52px - 171px); min-height: 0; overflow: hidden; background: var(--dark); display: flex; flex-direction: column; }
.hero-video-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background:
  radial-gradient(circle at 72% 35%, rgba(155,109,219,.28), transparent 28%),
  radial-gradient(circle at 22% 76%, rgba(230,57,70,.12), transparent 24%),
  linear-gradient(145deg, #14111e, #1e1a2e 54%, #100d18);
}
.hero-video-bg iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(100vh, 56.25vw); min-width: 100%; min-height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.08); opacity: .45; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,17,30,.25) 0%, rgba(20,17,30,.5) 55%, rgba(20,17,30,.96) 100%); }
.hero-content { position: relative; z-index: 2; margin-top: auto; padding: 0 40px 34px; }
.hero-eyebrow { font-size: 10px; letter-spacing: .24em; color: var(--purple); text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.hero-title { font-size: clamp(40px, 7vw, 80px); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 10px; letter-spacing: .02em; }
.hero-title .ruby { font-size: .22em; font-weight: 400; color: rgba(255,255,255,.5); letter-spacing: .18em; display: block; margin-bottom: .4em; }
.hero-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.8; max-width: 520px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-primary { height: 44px; padding: 0 26px; background: linear-gradient(135deg,var(--purple),#b986ef 58%,var(--pink)); border: none; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; cursor: pointer; display: flex; align-items: center; gap: 7px; font-family: var(--font); transition: background .15s, transform .15s, box-shadow .15s; text-decoration: none; box-shadow: 0 10px 30px rgba(155,109,219,.28); }
.btn-primary:hover { background: linear-gradient(135deg,#aa78e6,var(--pink)); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(155,109,219,.32); }
.btn-primary i { font-size: 16px; }
.btn-ghost { height: 44px; padding: 0 23px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 7px; font-family: var(--font); transition: border-color .15s, color .15s, background .15s, transform .15s; text-decoration: none; }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.08); transform: translateY(-1px); }
.btn-ghost i { font-size: 16px; }
.unofficial { position: absolute; top: 68px; right: 24px; z-index: 3; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px; font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: .1em; }
.hero-bg-link { position: absolute; right: 24px; bottom: 24px; z-index: 4; min-height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(20,17,30,.56); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; backdrop-filter: blur(8px); transition: background .15s, border-color .15s, transform .15s, color .15s; }
.hero-bg-link:hover { background: rgba(155,109,219,.34); border-color: rgba(255,255,255,.42); color: #fff; transform: translateY(-1px); }
.hero-bg-link i { font-size: 15px; color: #ff5b5b; }

/* ── SCROLL STRIP ────────────────────────── */
.strip { background: var(--dark); padding: 18px 0; overflow: hidden; position: relative; }
.strip::before, .strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.strip::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.strip::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }
.strip-track { display: flex; gap: 0; width: max-content; animation: scroll-left 58s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.strip-thumb { width: 240px; flex-shrink: 0; border-radius: 0; overflow: hidden; cursor: pointer; border: 0; border-right: 1px solid rgba(255,255,255,.08); transition: filter .15s, transform .15s; position: relative; }
.strip-thumb:hover { border-color: var(--purple); transform: translateY(-3px); }
.strip-thumb img { width: 240px; height: 135px; object-fit: cover; display: block; }
.strip-thumb-ph { width: 240px; height: 135px; display: flex; align-items: center; justify-content: center; }
.strip-thumb-ph i { font-size: 26px; color: rgba(155,109,219,.3); }

/* ── ARCHIVE TABS ────────────────────────── */
.arc-tabs { display: flex; gap: 8px; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 28px; overflow-x: auto; scrollbar-width: none; }
.arc-tabs::-webkit-scrollbar { display: none; }
.arc-tab { min-width: 92px; padding: 10px 16px; border: 1.5px solid #e3d8f5; border-radius: 999px; background: linear-gradient(180deg,#fff,#faf7ff); font-size: 12px; font-weight: 800; color: var(--purple-dim); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: color .15s, background .15s, border-color .15s, box-shadow .15s, transform .15s; font-family: var(--font); box-shadow: 0 2px 8px rgba(155,109,219,.08); white-space: nowrap; }
.arc-tab:hover { transform: translateY(-1px); border-color: #c7a8f2; box-shadow: 0 5px 14px rgba(155,109,219,.16); }
.arc-tab i { font-size: 15px; }
.arc-tab.on { color: #fff; border-color: var(--purple); background: linear-gradient(135deg,var(--purple),#b986ef); box-shadow: 0 6px 18px rgba(155,109,219,.28); }
.arc-grid-wrap { padding: 20px 28px; }
.arc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.load-more-wrap { display: flex; justify-content: center; padding: 22px 0 8px; }
.load-more-btn { display: none; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 1.5px solid #d7baf4; border-radius: 999px; background: linear-gradient(180deg,#fff,#fff7fd); color: var(--purple); font-family: var(--font); font-size: 12px; font-weight: 900; padding: 0 22px; cursor: pointer; box-shadow: 0 6px 18px rgba(155,109,219,.12); transition: transform .15s, box-shadow .15s, background .15s; }
.load-more-btn:hover { transform: translateY(-1px); background: var(--purple-pale); box-shadow: 0 10px 24px rgba(155,109,219,.18); }
.load-more-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.load-more-btn .ti-loader-2 { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── LOADING SCREEN ──────────────────────── */
#loading-screen { position: fixed; inset: 0; background: #1a1a2e; z-index: 9999; overflow: hidden; font-family: var(--font); }
.toast { position: absolute; width: 300px; background: #fff; border-radius: 6px; box-shadow: 0 8px 28px rgba(0,0,0,.4); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .18s, transform .18s; }
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast-bar { height: 3px; }
.toast-inner { padding: 9px 10px 9px; position: relative; }
.toast-logo { width: 16px; height: 16px; background: #c0321e; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 900; color: #fff; vertical-align: middle; margin-right: 4px; }
.toast-app { font-size: 10px; font-weight: 700; color: #c0321e; margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.toast-time { font-size: 10px; color: #999; margin-left: auto; }
.toast-sender { font-size: 12px; font-weight: 700; color: #111; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-msg { font-size: 11px; color: #333; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast-close { position: absolute; top: 5px; right: 7px; font-size: 13px; color: #aaa; cursor: pointer; padding: 2px 4px; border-radius: 3px; background: none; border: none; }
.toast-close:hover { background: #eee; color: #555; }
.loading-counter { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; display: flex; align-items: center; gap: 6px; }
.counter-dot { width: 7px; height: 7px; border-radius: 50%; background: #c0321e; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.loading-skip { position: absolute; bottom: 14px; right: 14px; background: #c0321e; color: #fff; border: none; font-size: 12px; padding: 7px 16px; border-radius: 6px; cursor: pointer; font-family: var(--font); font-weight: 600; }
.loading-done { position: absolute; inset: 0; background: var(--dark); opacity: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; transition: opacity .5s; }
.loading-done.show { opacity: 1; pointer-events: auto; }
.loading-done span { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .1em; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .arc-grid { grid-template-columns: repeat(2, 1fr); }
  .sch-status-row { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .nav { padding: 0 16px; }
  .nav-links { max-width: calc(100vw - 92px); }
  .nav-logo small { display: none; }
  .nav-lk { padding: 0 10px; font-size: 10px; }
  .hero { height: calc(100vh - 52px - 143px); }
  .hero-content { padding: 0 20px 28px; }
  .hero-desc { margin-bottom: 18px; }
  .btn-primary,
  .btn-ghost { height: 40px; }
  .ph { padding: 20px 20px 16px; }
  .filter-bar, .arc-grid-wrap { padding-left: 16px; padding-right: 16px; }
  .vid-modal { padding: 16px; }
  .vid-modal-inner { width: calc(100vw - 24px); max-height: calc(100vh - 32px); border-radius: 14px; padding: 10px; }
  .vid-head { gap: 8px; }
  .vid-tags-wrap { flex-direction: column; gap: 4px; }
  .arc-tabs { padding-left: 16px; padding-right: 16px; }
  .arc-tab { min-width: 82px; padding: 9px 13px; }
  .fp-inner { grid-template-columns: 1fr; }
  .arc-grid { grid-template-columns: repeat(2, 1fr); }
  .sch-status-row { flex-direction: column; }
  .sch-calendar-head { align-items: flex-start; flex-direction: column; }
  .sch-cal-controls { width: 100%; justify-content: space-between; }
  .sch-calendar-layout { grid-template-columns: 1fr; }
  .sch-calendar { gap: 5px; }
  .sch-cal-cell { min-height: 86px; border-radius: 10px; padding: 6px; }
  .sch-cal-event-chip { font-size: 9px; padding: 5px; -webkit-line-clamp: 2; }
  .sch-day-panel-list { grid-template-columns: 1fr; }
  .links-wrap, .about-wrap { padding: 20px 16px; }
  .strip-thumb,
  .strip-thumb img,
  .strip-thumb-ph { width: 190px; }
  .strip-thumb img,
  .strip-thumb-ph { height: 107px; }
}
@media (max-width: 480px) {
  .arc-grid { grid-template-columns: 1fr; }
  .home-page { overflow-y: auto; }
  .hero { min-height: 540px; }
  .hero-actions { gap: 8px; }
}

/* ── HOME: RECORD ROOM ───────────────────── */
.home {
  background:
    linear-gradient(180deg, #101417 0%, #172022 34%, #f6f2eb 34%, #f6f2eb 100%);
  min-height: calc(100vh - 52px);
}
.home-hero {
  min-height: 560px;
  padding: 76px 40px 36px;
  color: #f9f4ea;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 24px;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 180, 87, .18) 0 1px, transparent 1px 72px),
    linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 72px);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  right: clamp(20px, 9vw, 132px);
  top: 84px;
  width: clamp(160px, 26vw, 340px);
  aspect-ratio: 1;
  border: 1px solid rgba(247, 180, 87, .34);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(247, 180, 87, .14), 0 0 90px rgba(121, 42, 42, .18);
  pointer-events: none;
}
.hero-mark,
.hero-copy,
.home-hero .hero-actions,
.hero-meta {
  position: relative;
  z-index: 1;
}
.hero-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(249,244,234,.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-mark-line {
  width: 44px;
  height: 1px;
  background: #f7b457;
}
.hero-copy {
  max-width: 720px;
}
.hero-kana {
  color: #f7b457;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  margin-bottom: 6px;
}
.hero-copy h1 {
  font-size: clamp(52px, 10vw, 116px);
  line-height: .95;
  letter-spacing: .03em;
  margin-bottom: 18px;
}
.hero-lead {
  max-width: 590px;
  color: rgba(249,244,234,.72);
  font-size: 14px;
  line-height: 2;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 156px));
  gap: 10px;
  margin-top: 10px;
}
.hero-meta div {
  border: 1px solid rgba(249,244,234,.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,.045);
}
.hero-meta span {
  display: block;
  font-size: 25px;
  font-weight: 900;
  color: #f7b457;
  line-height: 1;
}
.hero-meta small {
  display: block;
  color: rgba(249,244,234,.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-top: 6px;
}
.home-band {
  padding: 0 32px 34px;
  margin-top: -44px;
  position: relative;
  z-index: 2;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.spotlight,
.next-panel,
.entry-link,
.mini-archive {
  border-radius: 8px;
}
.spotlight,
.next-panel {
  background: #fffdf8;
  border: 1px solid #e6dccb;
  box-shadow: 0 14px 38px rgba(16, 20, 23, .16);
  padding: 18px;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8e3f35;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label i {
  font-size: 15px;
  color: #2f6c65;
}
.spotlight-inner {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.spotlight-thumb {
  min-height: 230px;
  border-radius: 8px;
  overflow: hidden;
  background: #172022;
}
.spotlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-ph {
  height: 100%;
  min-height: 230px;
  display: grid;
  place-items: center;
  color: rgba(247,180,87,.62);
  background: linear-gradient(145deg, #172022, #253335);
}
.spotlight-ph i {
  font-size: 54px;
}
.spotlight-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.spotlight-date {
  color: #7b756b;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.spotlight-body h2 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
  color: #101417;
  margin-bottom: 14px;
}
.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.spotlight-link {
  margin-top: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  background: #101417;
  color: #fffdf8;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
}
.spotlight-link i {
  color: #f7b457;
}
.next-schedule {
  display: grid;
  gap: 10px;
}
.next-date {
  display: inline-grid;
  width: fit-content;
  border-left: 3px solid #f7b457;
  padding-left: 12px;
}
.next-date span {
  color: #101417;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.next-date small {
  color: #7b756b;
  font-size: 12px;
  margin-top: 5px;
}
.next-panel h3 {
  font-size: 18px;
  line-height: 1.5;
  color: #101417;
}
.empty-note {
  color: #7b756b;
  font-size: 13px;
}
.home-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px 34px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-head h2 {
  color: #101417;
  font-size: 24px;
  line-height: 1.25;
}
.text-link {
  color: #2f6c65;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.entry-link {
  min-height: 136px;
  padding: 18px;
  background: #fffdf8;
  border: 1px solid #e6dccb;
  display: grid;
  align-content: start;
  gap: 8px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.entry-link:hover,
.mini-archive:hover {
  transform: translateY(-2px);
  border-color: #b7cec8;
  box-shadow: 0 10px 24px rgba(47,108,101,.12);
}
.entry-link i {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e8f1ee;
  color: #2f6c65;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.entry-link span {
  color: #101417;
  font-size: 16px;
  font-weight: 900;
}
.entry-link small {
  color: #7b756b;
  font-size: 12px;
  line-height: 1.6;
}
.tag-board {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-board-item {
  border-radius: 8px;
  border: 1px solid rgba(16,20,23,.08);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
}
.mini-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mini-archive {
  background: #fffdf8;
  border: 1px solid #e6dccb;
  overflow: hidden;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 92px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.mini-thumb {
  min-height: 92px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.62);
}
.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-archive div:last-child {
  min-width: 0;
  padding: 12px;
}
.mini-archive span {
  display: block;
  color: #8e3f35;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
}
.mini-archive strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #101417;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .home-grid,
  .spotlight-inner,
  .entry-grid,
  .mini-archive-grid {
    grid-template-columns: 1fr;
  }
  .home-hero {
    min-height: 620px;
  }
}
@media (max-width: 680px) {
  .home-hero {
    padding: 58px 20px 28px;
    min-height: 590px;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    max-width: 260px;
  }
  .home-band {
    padding-left: 16px;
    padding-right: 16px;
  }
  .home-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .spotlight,
  .next-panel {
    padding: 14px;
  }
  .mini-archive {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}
