:root {
  color-scheme: dark;
  --background: #101316;
  --panel: #1d2229;
  --line: #343c45;
  --text: #f4f6f8;
  --muted: #bdc7ce;
  --accent: #b5ed76;
}
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--background); color: var(--text); font: 16px/1.65 system-ui, "Noto Sans JP", sans-serif; }
h1, h2, h3, p { margin: 0; }
h2, h3 { color: var(--text); }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.top-inner, .footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 14px; }
.brand img { display: block; }
nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; }
.hero { padding-block: clamp(44px, 9vw, 94px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 88% 0%, #31472e, transparent 70%), #171d20; }
.hero h1 { font-size: clamp(2rem, 6.1vw, 4.3rem); font-weight: 850; line-height: 1.12; letter-spacing: -.03em; }
.hero p { margin-block: 18px 22px; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 13px; border: 1px solid transparent; border-radius: 7px; font-weight: 750; font-size: .85rem; }
.primary, .primary:hover { color: #151d11; background: var(--accent); }
.primary:hover { background: #c8f894; }
.secondary { border-color: #59636c; }
.section { padding-block: 44px; }
.section h2 { font-size: clamp(1.45rem, 4vw, 2rem); margin-bottom: 12px; }
#sample-section { margin-top: 28px; }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; }
.channel-grid:not(:empty) { margin-top: 18px; }
.channel-grid .channel-card { display: flex; flex-direction: column; max-width: none; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.thumbnail { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9; background: #324234; }
.thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.play { z-index: 1; display: grid; place-items: center; color: #fff; background: #101316df; width: 45px; height: 45px; border-radius: 50%; }
.card-text { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px; }
.card-text h3 { font-size: 1.15rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.program { border-block: 1px solid var(--line); background: #181c20; }
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 18px 22px; }
ul { margin: 8px 0 0; padding-left: 1.3em; color: var(--muted); }
li + li { margin-top: 5px; }
.footer { color: var(--muted); font-size: .85rem; padding-block: 24px; }
@media (max-width: 850px) { .channel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .channel-grid, .program-grid { grid-template-columns: 1fr; } }

.discord-home { margin-left: .5em; text-decoration: underline; }
