:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --links-bg: #dceee8;
  --ink: #171713;
  --muted: #5f6259;
  --line: #dcddd3;
  --panel: #fffefb;
  --live: #d8312a;
  --teal: #087f75;
  --blue: #2457d6;
  --gold: #d09b1f;
  --twitch: #9146ff;
  --discord: #5865f2;
  --instagram: #e4405f;
  --tiktok: #111111;
  --youtube: #ff0000;
  --shadow: 0 20px 60px rgba(23, 23, 19, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--links-bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  background: var(--panel);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-height: 100svh;
}

.hero {
  padding: 46px 0 22px;
  background: var(--paper);
}

.section-inner {
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
}

.hero .section-inner {
  display: grid;
  gap: 16px;
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.status-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

.premise {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  line-height: 1.5;
  text-align: center;
}

.status-panel {
  width: 100%;
  padding-top: 0;
  text-align: center;
}

.status-panel h1 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.status-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.4;
}

.status-panel.is-live {
  color: var(--live);
}

.status-panel.is-live .status-label {
  color: var(--live);
}

.local-time {
  margin-top: 8px;
  font-weight: 700;
}

.relative-time {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 800;
}

.status-cta {
  margin-top: 14px;
  min-height: 48px;
}

.link-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.brand-panel {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 100%;
  margin: 0 auto 4px;
}

.brand-panel img {
  display: block;
  width: 112px;
  height: auto;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.brand-panel figcaption {
  display: block;
  width: 100%;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
}

.link-section {
  padding: 22px 0 32px;
  background: var(--links-bg);
}

.link-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-card {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: #ffffff;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.link-card strong {
  font-size: 1rem;
}

.link-card-twitch {
  border-color: var(--twitch);
  background: var(--twitch);
}

.link-card-discord {
  border-color: var(--discord);
  background: var(--discord);
}

.link-card-instagram {
  border-color: var(--instagram);
  background: var(--instagram);
}

.link-card-tiktok {
  border-color: var(--tiktok);
  background: var(--tiktok);
}

.link-card-youtube {
  border-color: var(--youtube);
  background: var(--youtube);
}

@media (min-width: 760px) {
  .section-inner {
    width: min(480px, calc(100% - 32px));
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 28px;
  }

  .brand-panel {
    gap: 8px;
  }

  .brand-panel img {
    width: 132px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .link-card {
    transition:
      transform 160ms ease,
      box-shadow 160ms ease,
      border-color 160ms ease;
  }

  .link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(23, 23, 19, 0.1);
  }
}
