﻿:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --text: #17202a;
  --muted: #647084;
  --line: #dfe4ea;
  --surface: #ffffff;
  --accent: #d92525;
  --accent-dark: #b91c1c;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, 'Noto Sans TC', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.channel {
  display: flex;
  gap: 18px;
  align-items: center;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: #e7ebf0;
}

.label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2 { margin: 0; letter-spacing: 0; }

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: 26px; }

.channel-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfcfd;
}

.stats span {
  display: block;
  font-size: 30px;
  font-weight: 800;
}

.stats small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.videos-section { margin-top: 34px; }
.section-title { margin-bottom: 16px; }

.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-card {
  display: block;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.12);
}

.video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7ebf0;
}

.video-card strong {
  display: block;
  padding: 14px 14px 6px;
  line-height: 1.45;
}

.video-card time {
  display: block;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
}

.message {
  color: var(--muted);
}

@media (max-width: 760px) {
  .shell { width: min(100% - 20px, 1040px); padding: 24px 0; }
  .panel { padding: 20px; }
  .channel { align-items: flex-start; }
  .avatar { width: 64px; height: 64px; }
  .stats { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
}
