:root {
  --bg-global: #FFF8F0;
  --bg-home: #FFB84D;
  --bg-catalog: #33CC99;
  --bg-schedule: #CC3399;
  --bg-replay: #1E3A8A;
  --card-yellow: #FFE135;
  --card-blue: #66CCFF;
  --card-green: #99CC33;
  --accent-orange: #FF6600;
  --accent-purple: #9B59B6;
  --status-new: #FF3143;
  --status-hot: #FFD700;
  --status-archived: #999999;
  --text-primary: #1A1A1A;
  --cream: #FFF8F0;
  --border-light: #DDDDDD;
  --dark-ink: #1A1A1A;
  --content-width: 1240px;
  --radius-lg: 12px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-1: 0 2px 6px rgba(26, 26, 26, 0.08);
  --shadow-2: 0 8px 20px rgba(26, 26, 26, 0.14);
  --font-title: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 64px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-global);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-mono {
  font-family: var(--font-mono);
}

.page-shell {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  display: block;
  min-height: 70vh;
  background: var(--bg-global);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--accent-orange);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--accent-orange);
  z-index: 200;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.45);
  transition: width 0.1s linear;
}

.site-header {
  background: var(--bg-home);
}

.header-topbar {
  background: var(--dark-ink);
  border-bottom: 1px solid rgba(255, 248, 240, 0.15);
}

.header-topbar-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 20px;
}

.header-topbar-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 248, 240, 0.72);
}

.header-topbar-link {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  border-radius: 999px;
  padding: 3px 12px;
  transition: background 0.2s, color 0.2s;
}

.header-topbar-link:hover {
  background: var(--accent-orange);
  color: var(--dark-ink);
}

.header-masthead {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 30px 20px 26px;
  background: var(--bg-home);
  color: var(--text-primary);
  border-bottom: 3px solid var(--text-primary);
}

.header-masthead::before,
.header-masthead::after {
  content: "";
  position: absolute;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.header-masthead::before {
  left: 5%;
  top: 16px;
  width: 74px;
  height: 58px;
  background: var(--card-green);
  border: 2px solid var(--text-primary);
  transform: rotate(-10deg);
  border-radius: 10px;
}

.header-masthead::after {
  right: 5%;
  bottom: 12px;
  width: 88px;
  height: 56px;
  background: var(--card-blue);
  border: 2px solid var(--text-primary);
  transform: rotate(8deg);
  border-radius: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  text-align: left;
  color: var(--text-primary);
}

.brand-mark {
  display: inline-block;
  width: 46px;
  height: 36px;
  border: 3px solid var(--text-primary);
  border-radius: 6px;
  background: var(--dark-ink);
  flex: 0 0 auto;
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--bg-home);
  border-radius: 2px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-left: 9px solid var(--text-primary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translate(-50%, -50%);
}

.brand-name {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
}

.masthead-slogan {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(26, 26, 26, 0.66);
}

.masthead-search {
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 1;
}

.search-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px 7px 32px;
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.search-toggle::before,
.search-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
}

.search-toggle::before {
  left: 11px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translateY(-62%);
}

.search-toggle::after {
  left: 22px;
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-toggle:hover {
  background: var(--text-primary);
  color: var(--bg-home);
  border-color: var(--text-primary);
}

.search-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: flex;
  gap: 0;
  min-width: 320px;
  padding: 6px;
  background: var(--dark-ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
}

.search-panel[hidden] {
  display: none;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 248, 240, 0.4);
  border-radius: 4px;
  background: var(--cream);
  color: var(--text-primary);
  font-size: 14px;
}

.search-input::placeholder {
  color: rgba(26, 26, 26, 0.55);
}

.search-submit {
  flex: 0 0 auto;
  padding: 8px 16px;
  background: var(--accent-orange);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
  border-radius: 4px;
  margin-left: 6px;
  transition: background 0.2s;
}

.search-submit:hover {
  background: var(--card-yellow);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-ink);
  border-top: 1px solid var(--accent-orange);
}

.nav-toggle {
  display: none;
}

.nav-list {
  display: flex;
  align-items: stretch;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-item + .nav-item .nav-link {
  border-left: 1px solid rgba(255, 248, 240, 0.1);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: rgba(255, 248, 240, 0.08);
}

.nav-link[aria-current="page"] {
  background: var(--accent-orange);
  color: var(--text-primary);
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--text-primary);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-orange);
}

.breadcrumbs {
  font-size: 13px;
  color: rgba(26, 26, 26, 0.65);
  padding: 18px 0 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  font-family: var(--font-mono);
  color: var(--accent-orange);
}

.breadcrumb-item a {
  color: var(--text-primary);
  font-weight: 600;
}

.breadcrumb-item a:hover {
  color: var(--accent-orange);
}

.breadcrumb-item.is-current {
  color: var(--accent-purple);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--text-primary);
  color: var(--cream);
}

.btn.is-primary {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--text-primary);
}

.btn.is-primary:hover {
  background: var(--card-yellow);
  border-color: var(--card-yellow);
  color: var(--text-primary);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 36px 0 18px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
}

.section-heading-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: var(--accent-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
}

.section-heading-more {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: rgba(26, 26, 26, 0.6);
}

.section-heading-more a:hover {
  color: var(--accent-orange);
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--text-primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-global);
  transition: background 0.2s, color 0.2s;
}

.tag:hover {
  background: var(--text-primary);
  color: var(--cream);
}

.tag.is-active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--text-primary);
}

.tag.is-active:hover {
  background: var(--accent-orange);
  color: var(--text-primary);
}

.tag-variant-yellow {
  background: var(--card-yellow);
  color: var(--text-primary);
}

.tag-variant-blue {
  background: var(--card-blue);
  color: var(--text-primary);
}

.tag-variant-green {
  background: var(--card-green);
  color: var(--text-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  line-height: 1.6;
  background: var(--status-archived);
  color: #FFFFFF;
  white-space: nowrap;
}

.badge.is-new {
  background: var(--status-new);
  color: #FFFFFF;
}

.badge.is-hot {
  background: var(--status-hot);
  color: var(--text-primary);
}

.badge.is-archived {
  background: var(--status-archived);
  color: #FFFFFF;
}

.badge.is-live {
  background: var(--accent-orange);
  color: var(--text-primary);
}

.badge.is-soon {
  background: var(--accent-purple);
  color: #FFFFFF;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-yellow);
  border: 1px solid var(--text-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.card.is-blue {
  background: var(--card-blue);
}

.card.is-green {
  background: var(--card-green);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark-ink);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(102, 204, 255, 0.35) 0 12px, transparent 13px),
    radial-gradient(circle at 70% 65%, rgba(255, 102, 0, 0.3) 0 8px, transparent 9px),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.05) 14px 16px);
  pointer-events: none;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 12px 14px 14px;
}

.card-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.card-title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-orange);
  text-underline-offset: 3px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(26, 26, 26, 0.72);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--text-primary);
  border-radius: var(--radius);
  background: var(--card-blue);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.tile.is-yellow {
  background: var(--card-yellow);
}

.tile.is-blue {
  background: var(--card-blue);
}

.tile.is-green {
  background: var(--card-green);
}

.tile.is-purple {
  background: var(--accent-purple);
  color: #FFFFFF;
}

.tile.is-dark {
  background: var(--dark-ink);
  color: var(--cream);
}

.tile-label {
  font-size: 15px;
  font-weight: 900;
}

.tile-count {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.72;
}

.entry-list {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-global);
  overflow: hidden;
}

.entry-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.entry-row:last-child {
  border-bottom: none;
}

.entry-row:hover {
  background: #FFFFFF;
}

a.entry-row {
  color: inherit;
}

.entry-index {
  flex: 0 0 auto;
  min-width: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
}

.entry-main {
  flex: 1;
  min-width: 0;
}

.entry-title {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(26, 26, 26, 0.6);
}

.entry-status {
  flex: 0 0 auto;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.indicator-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--border-light);
  overflow: hidden;
}

.indicator-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-orange);
}

.indicator-fill.is-purple {
  background: var(--accent-purple);
}

.indicator-fill.is-green {
  background: var(--card-green);
}

.indicator-fill.is-red {
  background: var(--status-new);
}

.indicator-value {
  font-weight: 700;
  color: var(--text-primary);
}

.index-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--border-light);
  overflow: hidden;
}

.index-bar-fill {
  display: block;
  height: 100%;
  background: var(--accent-orange);
}

.index-bar-fill.is-yellow {
  background: var(--card-yellow);
}

.index-bar-fill.is-green {
  background: var(--card-green);
}

.index-bar-fill.is-striped {
  background: repeating-linear-gradient(45deg, var(--accent-orange) 0 10px, var(--card-yellow) 10px 20px);
}

.scroll-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 20px 16px;
  margin: 0 -20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-orange) var(--border-light);
}

.scroll-rail::-webkit-scrollbar {
  height: 6px;
}

.scroll-rail::-webkit-scrollbar-thumb {
  background: var(--accent-orange);
  border-radius: 999px;
}

.scroll-rail::-webkit-scrollbar-track {
  background: var(--border-light);
}

.rail-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.rail-card {
  width: 220px;
}

.schedule-table {
  display: grid;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-global);
  overflow: hidden;
}

.schedule-row {
  display: grid;
  grid-template-columns: 96px 1fr 120px;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row:hover {
  background: #FFFFFF;
}

.schedule-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
}

.schedule-title {
  font-size: 14px;
  font-weight: 800;
}

.schedule-channel {
  font-size: 12px;
  color: rgba(26, 26, 26, 0.6);
}

.schedule-tag {
  justify-self: end;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.compare-card {
  border: 1px solid var(--text-primary);
  border-radius: var(--radius);
  background: var(--card-blue);
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.compare-card.is-yellow {
  background: var(--card-yellow);
}

.compare-card.is-green {
  background: var(--card-green);
}

.compare-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 14px;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.2);
}

.compare-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.compare-label {
  color: rgba(26, 26, 26, 0.72);
}

.compare-value {
  font-family: var(--font-mono);
  font-weight: 700;
}

.update-timeline {
  position: relative;
  padding-left: 26px;
  margin: 20px 0;
}

.update-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border-light);
}

.update-timeline-item {
  position: relative;
  margin-bottom: 16px;
}

.update-timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card-yellow);
  border: 2px solid var(--text-primary);
}

.update-timeline-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
}

.update-timeline-title {
  font-size: 15px;
  font-weight: 800;
}

.update-timeline-meta {
  font-size: 13px;
  color: rgba(26, 26, 26, 0.65);
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--dark-ink);
}

.media-frame.is-16x9 {
  aspect-ratio: 16 / 9;
}

.media-frame.is-4x3 {
  aspect-ratio: 4 / 3;
}

.media-frame.is-square {
  aspect-ratio: 1 / 1;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 102, 0, 0.18), transparent 40%),
    repeating-linear-gradient(-45deg, transparent 0 8px, rgba(255, 255, 255, 0.04) 8px 16px);
  pointer-events: none;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
  padding: 10px 14px;
  background: var(--dark-ink);
  border-radius: var(--radius);
}

.section-nav-link {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
  transition: background 0.2s, color 0.2s;
}

.section-nav-link:hover {
  background: rgba(255, 102, 0, 0.25);
  color: var(--bg-home);
}

.section-nav-link.is-active {
  background: var(--accent-orange);
  color: var(--text-primary);
}

.split-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.split-side {
  position: sticky;
  top: 68px;
}

.split-main {
  min-width: 0;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 24px 0;
}

.pager-link,
.pager-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-global);
}

.pager-link:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.pager-current {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--text-primary);
}

.bg-home {
  background-color: var(--bg-home);
  color: var(--text-primary);
}

.bg-catalog {
  background-color: var(--bg-catalog);
  color: var(--text-primary);
}

.bg-schedule {
  background-color: var(--bg-schedule);
  color: var(--text-primary);
}

.bg-replay {
  background-color: var(--bg-replay);
  color: var(--cream);
}

.site-footer {
  background: var(--dark-ink);
  color: var(--cream);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 1.2fr;
  gap: 36px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 44px 20px 32px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--bg-home);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 248, 240, 0.58);
}

.footer-col {
  min-width: 0;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-heading {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-home);
  margin-bottom: 14px;
}

.footer-link-list li + li,
.footer-contact-list li + li {
  margin-top: 8px;
}

.footer-link-list a {
  font-size: 14px;
  color: rgba(255, 248, 240, 0.82);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-link-list a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 248, 240, 0.82);
}

.contact-label {
  flex: 0 0 auto;
  min-width: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-orange);
  padding-top: 2px;
}

.contact-value {
  flex: 1;
}

.footer-feedback-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 18px;
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-sm);
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s, color 0.2s;
}

.footer-feedback-btn:hover {
  background: var(--accent-orange);
  color: var(--dark-ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  flex-wrap: wrap;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255, 248, 240, 0.1);
  font-size: 13px;
  color: rgba(255, 248, 240, 0.5);
}

.footer-icp a {
  color: rgba(255, 248, 240, 0.68);
  border-bottom: 1px dotted rgba(255, 248, 240, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.footer-icp a:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: var(--text-primary);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--card-yellow);
}

.to-top-arrow {
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: var(--dark-ink);
    color: var(--cream);
    font-size: 14px;
    font-weight: 800;
  }

  .nav-toggle-icon {
    flex: 0 0 auto;
    margin-left: auto;
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--cream);
    border-radius: 1px;
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cream);
    border-radius: 1px;
    transition: top 0.2s, transform 0.2s;
  }

  .nav-toggle-icon::before {
    top: -6px;
  }

  .nav-toggle-icon::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .site-nav[data-open] .nav-list {
    display: flex;
  }

  .nav-item + .nav-item .nav-link {
    border-left: none;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 248, 240, 0.08);
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-side {
    position: static;
  }
}

@media (max-width: 700px) {
  .header-masthead::before {
    left: 3%;
    top: 12px;
    width: 40px;
    height: 30px;
  }

  .header-masthead::after {
    right: 3%;
    bottom: 8px;
    width: 52px;
    height: 32px;
  }

  .search-panel {
    min-width: 0;
    width: 290px;
    right: -8px;
  }
}

@media (max-width: 600px) {
  .header-topbar-note {
    display: none;
  }

  .header-masthead {
    padding: 22px 16px 20px;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-mark {
    width: 38px;
    height: 30px;
  }

  .masthead-slogan {
    font-size: 11px;
    line-height: 1.7;
  }

  .masthead-search {
    top: 16px;
    right: 12px;
  }

  .search-toggle {
    padding: 5px 10px 5px 26px;
    font-size: 12px;
  }

  .search-toggle::before {
    left: 8px;
    width: 10px;
    height: 10px;
  }

  .search-toggle::after {
    left: 17px;
    width: 6px;
    height: 2px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px 24px;
  }

  .entry-row {
    gap: 10px;
    padding: 9px 12px;
  }

  .schedule-row {
    grid-template-columns: 76px 1fr;
  }

  .schedule-tag {
    display: none;
  }

  .to-top {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
