:root {
  color-scheme: dark;
  --bg: #0d0715;
  --bg-deep: #08050e;
  --panel: rgba(30, 15, 45, 0.82);
  --panel-strong: rgba(38, 18, 57, 0.96);
  --line: rgba(218, 154, 255, 0.18);
  --line-strong: rgba(255, 134, 203, 0.42);
  --text: #fbf8ff;
  --muted: #c0b5cd;
  --pink: #ff72bd;
  --pink-soft: #ffaad7;
  --violet: #8d63ff;
  --cyan: #82e9ff;
  --green: #33dc91;
  --orange: #ff9e42;
  --red: #ff4f78;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1280px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(130, 233, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 233, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(156, 65, 138, 0.26), transparent 34%),
    radial-gradient(circle at 90% 90%, rgba(63, 48, 173, 0.28), transparent 33%),
    linear-gradient(145deg, #180c24 0%, var(--bg) 50%, var(--bg-deep) 100%);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.24;
  pointer-events: none;
}
.page-glow--pink { top: -180px; left: -140px; background: #ff56b0; }
.page-glow--violet { right: -180px; bottom: -220px; background: #604cff; }

.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  width: var(--shell);
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(255, 114, 189, .34), rgba(141, 99, 255, .28));
  box-shadow: 0 0 24px rgba(255, 114, 189, .18);
}
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .04em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 10px 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, .075);
  outline: none;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  padding-block: 72px 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}

.hero h1, .profile-heading h1 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.055em;
}
.hero__title-line {
  display: block;
  white-space: nowrap;
}
.hero__title-line--accent {
  color: transparent;
  background: linear-gradient(90deg, #fff, var(--pink-soft) 45%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2;
}
.hero__actions, .profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }
.button--primary {
  color: #190d22;
  background: linear-gradient(100deg, var(--pink-soft), #d9b8ff, var(--cyan));
  box-shadow: 0 14px 34px rgba(255, 114, 189, .2);
}
.button--ghost {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
}
.button--ghost:hover, .button--ghost:focus-visible { border-color: var(--line-strong); }

.hero__panel {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 126, 203, .28), transparent 30%),
    linear-gradient(145deg, rgba(43, 20, 61, .94), rgba(17, 8, 31, .9));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.05);
}
.hero__panel::before,
.hero__panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(130, 233, 255, .14);
  transform: rotate(-12deg);
}
.hero__panel::before { inset: 48px -70px 86px 60px; border-radius: 50%; }
.hero__panel::after { inset: 86px 30px 126px -80px; border-radius: 44%; }
.hero__panel-orbit {
  position: absolute;
  top: 48px;
  right: 44px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: inset 0 0 28px rgba(141, 99, 255, .5), 0 0 28px rgba(255, 114, 189, .25);
}
.hero__panel-orbit::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 34px var(--pink);
}
.hero__panel-label { position: relative; z-index: 1; margin: 0; color: var(--cyan); letter-spacing: .17em; font-size: 11px; font-weight: 800; }
.hero__panel-title { position: relative; z-index: 1; margin: 7px 0 5px; font-size: clamp(32px, 4vw, 52px); font-weight: 800; }
.hero__panel-text { position: relative; z-index: 1; max-width: 360px; margin: 0; color: var(--muted); line-height: 1.8; }
.hero__status { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.03em; }
.section-heading > p { max-width: 460px; margin: 0; color: var(--muted); line-height: 1.8; }
.section-heading--live { margin-top: 110px; }
.text-link { color: var(--cyan); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; outline: none; }

.portal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.portal-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(42, 20, 57, .76), rgba(20, 10, 31, .84));
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.portal-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -100px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 114, 189, .3), transparent 70%);
  transition: transform .25s ease;
}
.portal-card:hover, .portal-card:focus-visible { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 22px 48px rgba(0,0,0,.28); outline: none; }
.portal-card:hover::before, .portal-card:focus-visible::before { transform: scale(1.25); }
.portal-card__index { position: absolute; top: 20px; right: 22px; color: rgba(255,255,255,.18); font-size: 34px; font-weight: 800; }
.portal-card__label { margin-bottom: 8px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.portal-card strong { font-size: 22px; }
.portal-card > span:last-child { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.75; }

.stream-region { min-height: 320px; }
.stream-region--upcoming { min-height: 220px; }
.stream-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stream-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(21, 10, 31, .78);
  box-shadow: 0 20px 48px rgba(0,0,0,.23);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.stream-card:hover { transform: translateY(-5px); border-color: rgba(130, 233, 255, .35); }
.stream-card--live {
  border-color: rgba(255, 79, 120, .72);
  box-shadow: 0 0 0 1px rgba(255, 79, 120, .15), 0 22px 58px rgba(255, 35, 100, .18);
}
.stream-card__link { display: block; height: 100%; text-decoration: none; }
.stream-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #170c23; }
.stream-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.stream-card:hover .stream-card__media img { transform: scale(1.035); }
.stream-state {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(10, 6, 14, .78);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
}
.stream-state--live { border-color: rgba(255,255,255,.28); background: rgba(235, 35, 91, .9); box-shadow: 0 0 22px rgba(255, 50, 105, .5); }
.stream-state--upcoming { border-color: rgba(130, 233, 255, .35); background: rgba(85, 64, 176, .92); box-shadow: 0 0 22px rgba(130, 233, 255, .22); }
.stream-card--upcoming { border-color: rgba(130, 233, 255, .34); }
.stream-card--upcoming .stream-card__date { color: var(--pink-soft); }
.stream-card__body { padding: 22px; }
.stream-card__date { margin: 0 0 8px; color: var(--cyan); font-size: 11px; font-weight: 800; }
.stream-card--live .stream-card__date { color: #ff9fbd; }
.stream-card__title { margin: 0; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 17px; line-height: 1.65; }
.stream-card__watch { display: inline-block; margin-top: 20px; color: var(--muted); font-size: 12px; font-weight: 800; }
.stream-message {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
  line-height: 1.9;
}
.section-heading--archive { margin-top: 72px; }

.site-footer {
  margin-top: 112px;
  padding-block: 36px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.site-footer strong { font-size: 17px; }
.site-footer p, .site-footer small { color: var(--muted); }
.site-footer p { margin: 6px 0 0; font-size: 12px; }
.site-footer small { grid-column: 1 / -1; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 11px; font-weight: 800; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); outline: none; }

/* Profile */
.profile-main { padding-top: 52px; }
.profile-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.profile-heading h1 { font-size: clamp(46px, 6vw, 78px); }
.profile-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.profile-pills span, .language-badge, .trust-badge {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #f5eef9;
  font-size: 13px;
  font-weight: 700;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(310px, .75fr) minmax(0, 1.35fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(36, 16, 50, .83), rgba(14, 7, 23, .9));
  box-shadow: var(--shadow);
}
.profile-visual-column { display: flex; flex-direction: column; gap: 18px; }
.profile-portrait-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 134, 203, .46);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 134, 203, .18), rgba(130, 233, 255, .1));
  box-shadow: 0 0 38px rgba(255, 76, 176, .16);
}
.profile-portrait-frame::before,
.profile-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 6% -10%;
  z-index: 0;
  border: 1px solid rgba(130, 233, 255, .17);
  border-radius: 30%;
  transform: rotate(7deg);
}
.profile-portrait-frame::after { transform: rotate(-8deg); border-color: rgba(255, 114, 189, .2); }
.profile-portrait-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 21px; }
.profile-name-card,
.profile-panel,
.profile-fact {
  border: 1px solid var(--line);
  background: rgba(20, 9, 31, .56);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.profile-name-card { padding: 22px; border-radius: var(--radius-md); }
.profile-name-card strong { display: block; margin-top: 8px; font-size: clamp(28px, 4vw, 42px); }
.profile-label { color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.profile-hashtags { display: flex; flex-wrap: wrap; gap: 8px 12px; color: #ece3f2; font-size: 12px; font-weight: 700; }
.profile-information { display: flex; flex-direction: column; gap: 14px; }
.profile-trust-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.trust-badge { display: inline-flex; align-items: center; gap: 9px; }
.trust-badge > span { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 16px var(--violet); }
.language-badge { border-radius: 12px; }
.profile-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.profile-fact { min-height: 88px; padding: 16px; border-radius: 16px; }
.profile-fact span { display: block; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.profile-fact strong { display: block; margin-top: 8px; font-size: 18px; }
.profile-fact--wide { grid-column: span 2; }
.profile-panel { padding: 20px; border-radius: 18px; }
.profile-panel p { margin: 9px 0 0; color: #e4dbe9; line-height: 1.9; }
.profile-panel--compact { padding: 17px; }
.profile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.login-list { margin: 10px 0 0; }
.login-list div { display: flex; justify-content: space-between; gap: 18px; padding-block: 5px; }
.login-list dt { color: var(--muted); }
.login-list dd { margin: 0; font-weight: 800; }
.status-list { list-style: none; padding: 0; margin: 9px 0 0; display: grid; gap: 7px; color: #e2d7e7; font-size: 13px; }
.status-list li { display: flex; align-items: center; gap: 9px; }
.status-color { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.status-color--blue { color: #4aa8ff; background: currentColor; }
.status-color--green { color: var(--green); background: currentColor; }
.status-color--orange { color: var(--orange); background: currentColor; }
.status-color--red { color: var(--red); background: currentColor; }
.profile-tag-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag-list span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12px; }
.tag-list--danger span { border-color: rgba(255, 79, 120, .3); }
.profile-actions { justify-content: center; margin-top: 26px; }

@media (max-width: 1040px) {
  .site-header { align-items: flex-start; padding-block: 18px; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero__panel { min-height: 340px; }
  .portal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stream-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stream-card--lead { grid-column: span 2; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-visual-column { display: grid; grid-template-columns: minmax(260px, 390px) 1fr; align-items: start; }
  .profile-portrait-frame { grid-row: span 2; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 24px, 1280px); }
  .site-header { min-height: auto; flex-direction: column; gap: 14px; }
  .site-nav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .site-nav a { white-space: nowrap; }
  .hero { padding-block: 54px 72px; }
  .hero h1 { font-size: clamp(38px, 10vw, 60px); }
  .hero__panel { min-height: 300px; padding: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading--live { margin-top: 78px; }
  .portal-grid, .stream-grid { grid-template-columns: 1fr; }
  .stream-card--lead { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .site-footer small { grid-column: auto; }
  .profile-main { padding-top: 32px; }
  .profile-heading { align-items: flex-start; flex-direction: column; }
  .profile-pills { justify-content: flex-start; }
  .profile-layout { padding: 16px; border-radius: 22px; }
  .profile-visual-column { display: flex; }
  .profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-fact--wide { grid-column: span 2; }
  .profile-split, .profile-tag-grid { grid-template-columns: 1fr; }
  .profile-trust-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .hero__actions, .profile-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero h1 { font-size: clamp(31px, 10.5vw, 38px); }
  .profile-facts { grid-template-columns: 1fr; }
  .profile-fact--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
