:root {
  --bg: #ffffff;
  --panel: #f3f4f6;
  --panel-strong: #eceef2;
  --text: #111214;
  --muted: rgba(17, 18, 20, 0.72);
  --muted2: rgba(17, 18, 20, 0.56);
  --accent: #e60012;
  --line: rgba(17, 18, 20, 0.08);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #eef1f4 0, #eef1f4 148px, #f6f7f9 148px, #f6f7f9 100%);
  color: var(--text);
  font-family: "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.mobile-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(17, 18, 20, 0.04), 0 24px 60px rgba(17, 18, 20, 0.08);
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand img { display: block; height: 24px; width: auto; }

.menu-button,
.menu-close,
.tab-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.icon-menu {
  display: inline-block;
  width: 22px;
  height: 14px;
  background-image:
    linear-gradient(#23252a, #23252a),
    linear-gradient(#23252a, #23252a),
    linear-gradient(#23252a, #23252a);
  background-repeat: no-repeat;
  background-size: 22px 2px, 22px 2px, 22px 2px;
  background-position: 0 0, 0 6px, 0 12px;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(17, 18, 20, 0.42);
}

.menu-backdrop[hidden] { display: none; }

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(82vw, 320px);
  height: 100vh;
  padding: 20px 18px 24px;
  background: #ffffff;
  box-shadow: -14px 0 28px rgba(17, 18, 20, 0.14);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.mobile-nav-drawer.is-open { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-head strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.menu-close { font-size: 20px; color: #23252a; }

.mobile-nav-links {
  display: grid;
  gap: 6px;
  padding-top: 18px;
}

.mobile-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding-bottom: 8px;
}

.mobile-search-input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

.mobile-search-button {
  min-width: 58px;
  height: 42px;
  background: #111214;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.page-main { padding: 18px 20px 32px; }
.page-hero { padding: 2px 0 22px; }

.page-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(17, 18, 20, 0.58);
}

.page-title {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.page-subtitle {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  word-break: keep-all;
}

.hero-banner {
  margin-top: 18px;
  overflow: hidden;
  background: #eef2f6;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.content-card {
  margin-top: 16px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e7ebf0;
}

.content-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.content-copy {
  font-size: 14px;
  line-height: 1.85;
  color: #111214;
  word-break: keep-all;
}

.content-copy p { margin: 0; }
.content-copy p + p { margin-top: 14px; }

.info-list {
  display: grid;
  gap: 10px;
}

.info-item {
  padding: 14px 16px;
  background: #f6f7f9;
}

.info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(17, 18, 20, 0.5);
}

.info-value {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

.contact-item {
  display: block;
  padding: 16px;
  background: #f6f7f9;
}

.contact-value {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted2);
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #f3f4f6;
  border: 1px solid rgba(17, 18, 20, 0.04);
}

.program-thumb {
  overflow: hidden;
  background: #e8edf2;
}

.program-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.program-title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.detail-hero-image {
  overflow: hidden;
  background: #eef2f6;
  margin-top: 18px;
}

.detail-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-actions {
  display: grid;
  gap: 10px;
}

.detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background: #111214;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.update-list {
  display: grid;
  gap: 10px;
}

.update-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: #f6f7f9;
}

.update-thumb {
  display: block;
  overflow: hidden;
  background: #e8edf2;
}

.update-thumb img {
  display: block;
  width: 100%;
  height: 84px;
  object-fit: cover;
}

.update-text {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #111214;
  word-break: keep-all;
}

.vod-summary {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(17, 18, 20, 0.76);
}

.vod-summary strong {
  color: #111214;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-button {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #eef2f6;
  color: rgba(17, 18, 20, 0.6);
  font-size: 13px;
  font-weight: 700;
}

.tab-button.is-active {
  background: #111214;
  color: #fff;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.table-scroll th,
.table-scroll td {
  padding: 11px 10px;
  border-bottom: 1px solid #e8edf3;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.table-scroll thead th {
  background: #eef2f6;
  color: #111214;
  font-weight: 700;
}

.table-scroll tbody td:first-child {
  font-weight: 700;
  color: #111214;
}

.panel-empty,
.page-empty {
  padding: 28px 16px;
  background: #f6f7f9;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer {
  padding: 26px 20px 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-line {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(17, 18, 20, 0.62);
}

.footer-copy {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(17, 18, 20, 0.44);
}
