@font-face { font-family: Ubuntu; src: url(/fonts/Ubuntu-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Ubuntu; src: url(/fonts/Ubuntu-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ubuntu Mono"; src: url(/fonts/UbuntuMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0e0b0c; --surface: #1a1214; --island: #151012; --burgundy: #4a0e18; --crimson: #c8102e;
  --hot: #ff5a72; --cream: #e8dcd0; --muted: #a69a95; --dim: #8a7e7a; --line: #2a1c1f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font: 400 16px/1.5 Ubuntu, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--cream); }
a:hover { color: #fff; }
.mono, .label { font-family: "Ubuntu Mono", ui-monospace, monospace; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; letter-spacing: .14em; color: var(--muted); }
[hidden] { display: none !important; }

.top { padding: 28px 16px 0; display: flex; justify-content: center; position: sticky; top: 0; z-index: 5; }
.island {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 8px; border-radius: 999px; background: var(--island);
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px rgba(0,0,0,.45);
}
.island .brand { padding: 10px 8px 10px 12px; font-size: 18px; }
.brand { font-weight: 500; letter-spacing: -.01em; text-decoration: none; color: var(--cream); }
.brand span { color: var(--hot); }
.sep { width: 1px; height: 22px; background: #2c2c2c; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 14px; color: var(--muted); }
body.is-live .status { color: var(--cream); }
body.is-live .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b55; }
.island .link { padding: 12px 10px; font-size: 14px; text-decoration: none; color: var(--muted); }
.island .link:hover { color: var(--cream); }
.twitch {
  margin-left: 4px; padding: 12px 18px; border-radius: 999px; background: var(--crimson);
  color: #fff; font-size: 14px; font-weight: 500; text-decoration: none;
}
.twitch:hover { background: #dd1535; color: #fff; }

main { max-width: 960px; margin: 0 auto; padding: 0 20px; }
section { padding: 0 0 72px; scroll-margin-top: 110px; }
#now { padding: 56px 0 72px; }
.label { margin: 0 0 18px; font-size: 15px; font-weight: 400; letter-spacing: .14em; color: var(--muted); }

.sleep {
  border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  padding: 56px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.sleep img { width: 176px; height: 176px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.55)); }
.sleep h1 { margin: 8px 0 0; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.sleep p { margin: 0; font-size: 18px; color: var(--muted); }
.countdown {
  margin-top: -6px; padding: 8px 16px; border-radius: 999px; background: var(--bg);
  font-family: "Ubuntu Mono", monospace; font-size: 15px; letter-spacing: .04em; color: var(--hot);
}
.vod {
  margin-top: 10px; width: 100%; max-width: 560px; display: flex; align-items: center; gap: 18px;
  padding: 10px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  text-align: left; text-decoration: none;
}
.vod:hover { box-shadow: inset 0 0 0 1px #5a4248; }
.vod-thumb { flex: none; width: 200px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface); }
.vod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.vod:hover .vod-thumb img { transform: scale(1.04); }
.vod-text { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.vod-title { font-size: 17px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vod-meta { font-size: 14px; color: var(--muted); }
.ghost {
  margin-top: 6px; padding: 14px 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px #3a2a2e;
  font-size: 15px; text-decoration: none;
}
.ghost:hover { box-shadow: inset 0 0 0 1px #5a4248; }

.live { display: flex; flex-direction: column; gap: 16px; }
.player-wrap { position: relative; }
.player {
  aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.sticker {
  position: absolute; right: -14px; top: -26px; width: 112px; height: 112px; object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)); transform: rotate(8deg); pointer-events: none;
}
.live-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.live-meta h1 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.live-meta .mono { font-size: 15px; color: var(--muted); }

.timetable { border-top: 1px solid var(--line); }
.slot {
  display: grid; grid-template-columns: 90px 110px minmax(0, 1fr); gap: 16px; align-items: baseline;
  padding: 18px 4px; border-bottom: 1px solid var(--line); font-family: "Ubuntu Mono", monospace; font-size: 18px;
}
.slot .day { color: var(--hot); }
.slot .what { font-family: Ubuntu, sans-serif; font-size: 17px; color: var(--muted); }

.head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.head img { width: 52px; height: 52px; object-fit: contain; }
.head .label { margin: 0; }
.all { margin-left: auto; padding: 10px 0; font-size: 14px; color: var(--muted); }
.clips { display: flex; flex-direction: column; gap: 6px; }
.clip { display: flex; align-items: center; gap: 18px; padding: 10px; border-radius: 18px; text-decoration: none; }
.clip:hover { background: var(--surface); }
.clip .thumb {
  flex: none; width: 168px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.clip .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip .t { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.clip .name { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.clip .meta { font-size: 14px; color: var(--muted); }

.sub { margin-top: 28px; }
.sub:first-of-type { margin-top: 0; }
.sublabel { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--cream); }
.sublabel .all { margin-left: auto; padding: 0; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.video { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.video .thumb, .short .thumb { border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.video .thumb { aspect-ratio: 16 / 9; }
.video img, .short img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.video:hover img, .short:hover img { transform: scale(1.04); }
.video .name { font-size: 16px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.video .meta { font-size: 14px; color: var(--muted); margin-top: -4px; }
.shorts { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.short { flex: none; width: 150px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; scroll-snap-align: start; }
.short .thumb { aspect-ratio: 9 / 16; }
.short .name { font-size: 14px; line-height: 1.35; color: var(--cream); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

#about-text p { margin: 0 0 12px; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--muted); }
#about-text p:first-child { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; color: var(--cream); }
.rules {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  padding: 20px 24px 20px 20px; border-radius: 22px; background: var(--surface);
}
.rules img { width: 76px; height: 76px; object-fit: contain; }
.rules div { display: flex; flex-direction: column; gap: 4px; }
.rule { font-size: 20px; font-weight: 500; }
.emotes { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.emotes .row { display: flex; flex-wrap: wrap; gap: 14px; }
.emotes img { width: 88px; height: 88px; object-fit: contain; transition: transform .2s; }
.emotes img:hover { transform: rotate(-6deg) scale(1.08); }

footer {
  max-width: 960px; margin: 0 auto; padding: 48px 20px 64px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.credits { display: grid; grid-template-columns: auto auto; column-gap: 18px; row-gap: 8px; font-family: "Ubuntu Mono", monospace; font-size: 15px; }
.credits .k { text-align: right; letter-spacing: .14em; color: var(--dim); }
.credits .v { text-align: left; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 10px; font-size: 14px; }
.links a { padding: 10px 0; color: var(--muted); }
footer > .brand { font-size: 20px; }

@media (max-width: 640px) {
  .top { padding-top: 14px; }
  .island { flex-wrap: nowrap; gap: 2px; padding: 6px; }
  .island .link, .island .sep:nth-of-type(2) { display: none; }
  .island .brand { padding: 8px 6px 8px 10px; font-size: 16px; }
  .status { padding: 0 8px; font-size: 13px; white-space: nowrap; }
  .twitch { padding: 10px 14px; font-size: 13px; }
  .rules { flex-wrap: nowrap; gap: 14px; padding: 16px; }
  .rules img { width: 56px; height: 56px; flex: none; }
  .rule { font-size: 17px; }
  .emotes .row { gap: 10px; }
  .emotes img { width: 68px; height: 68px; }
  #now { padding-top: 36px; }
  .slot { grid-template-columns: 60px 80px minmax(0, 1fr); font-size: 16px; }
  .clip .thumb { width: 120px; }
  .clip .name { font-size: 16px; }
  .short { width: 128px; }
  .vod { flex-direction: column; align-items: stretch; }
  .vod-thumb { width: 100%; }
  .sticker { width: 80px; height: 80px; right: -6px; top: -20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .emotes img, .video img, .short img, .vod-thumb img { transition: none; } }
