/* YT POLITICS default.css — PC View (device=pc). Width MQ로 PC/Mobile을 고르지 않습니다. */

/* Shared base from style.css with PC↔Mobile width media queries removed. */

:root {
  --bg: #f4f5f7;
  --bg-elevated: #f8f9fb;
  --surface: #ffffff;
  --border: #e6e8ec;
  --border-strong: #d6d9e0;
  --text: #16181d;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --accent-fg: #3730a3;
  --growth: #0f766e;
  --growth-bg: #f0fdfa;
  --down: #9a3412;
  --down-bg: #fff7ed;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --header-h: 64px;
  --max: 1180px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

[data-theme="dark"] {
  --bg: #0f1115;
  --bg-elevated: #14171d;
  --surface: #181b21;
  --border: #2a2e37;
  --border-strong: #3a3f4b;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --accent: #818cf8;
  --accent-hover: #a5b4fc;
  --accent-soft: #1e1b4b;
  --accent-fg: #c7d2fe;
  --growth: #5eead4;
  --growth-bg: #042f2e;
  --down: #fdba74;
  --down-bg: #431407;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--bg);
}

.header-nav a[aria-current="page"] {
  font-weight: 650;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}

.icon-btn:hover,
.theme-toggle:hover {
  border-color: var(--border-strong);
  background: var(--bg);
}

.theme-toggle {
  height: 38px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
}

.theme-toggle span.active {
  color: var(--text);
  font-weight: 650;
}

html:not(.is-admin-theme) .theme-toggle,
html:not(.is-admin-theme) .mobile-nav-theme {
  display: none !important;
}

.menu-btn {
  display: none;
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero {
  margin-bottom: 20px;
}

.hero-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.stat-card,
.panel,
.channel-card,
.rising-card,
.video-card,
.hot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 16px 18px;
}

.stat-card dt {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.stat-card dd {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}

.filter-tab[aria-selected="true"] {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-fg);
  font-weight: 700;
}

.video-leaning-bar .filter-tab {
  font-size: 14px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  border-color: var(--border-strong);
}

.video-leaning-bar .filter-tab:hover {
  background: var(--bg-elevated);
  border-color: var(--text-soft);
}

.video-leaning-bar .filter-tab[aria-selected="true"] {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-fg);
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 20px;
  align-items: start;
}

.ranking {
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rankings-head-copy {
  min-width: 0;
}

.today-scope-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.today-scope-bar[hidden] {
  display: none;
}

.today-scope-bar .filter-tab {
  padding: 5px 10px;
  font-size: 12px;
}

.section-head h2,
.rising-panel h2,
.videos h2,
.hot h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.sort-select {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 140px;
  color: var(--text);
}

.channel-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

a.channel-card,
a.rising-card,
a.hot-card,
a.video-card,
a.mini-rank-row {
  color: inherit;
  cursor: pointer;
}

a.channel-card:hover,
a.rising-card:hover {
  border-color: var(--border-strong);
}

.channel-card {
  padding: 19px 20px 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-card__top {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: start;
}

.channel-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.channel-card .identity h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.channel-card .badge {
  font-size: 13px;
}

.metrics {
  display: grid;
  grid-template-columns: 0.8fr 1.05fr 1.15fr;
  gap: 8px 10px;
  margin-left: calc(36px + 12px);
}

.channel-card .metric {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 4px;
}

.channel-card .metric dt {
  font-size: 13px;
  color: #A7ADBA;
}

.channel-card .metric dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #F3F4F6;
}

[data-theme="light"] .channel-card .metric dt {
  color: #6b7280;
}

[data-theme="light"] .channel-card .metric dd {
  color: var(--text);
}

.channel-card .rank {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.rank {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
}

.growth-corner {
  margin: 0;
  text-align: right;
}

.growth-corner dt {
  font-size: 12px;
  color: var(--text-soft);
}

.growth-corner dd {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.identity-text {
  min-width: 0;
}

.identity h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.badge {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
}

.metric dt {
  margin: 0;
  font-size: 11px;
  color: var(--text-soft);
}

.metric dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 650;
}

.growth.up {
  color: var(--growth);
}

.growth.down {
  color: var(--down);
}

.rising-panel {
  position: sticky;
  top: 84px;
}

.rising-panel h2 {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.rising-head-hint {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0;
}

.rising-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rising-card {
  padding: 14px 14px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) minmax(84px, auto);
  align-items: center;
  gap: 10px;
}

.rising-rank {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}

.rising-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rising-text {
  min-width: 0;
}

.rising-text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rising-name .avatar {
  width: 52px;
  height: 52px;
}

.rising-text .badge {
  white-space: nowrap;
}

.rising-growth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 84px;
  white-space: nowrap;
}

.rising-growth-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--growth);
  background: var(--growth-bg);
  border-radius: 999px;
  padding: 5px 9px;
}

.rising-growth-label {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(90, 96, 108, 0.88);
}

[data-theme="dark"] .rising-growth-label {
  color: rgba(220, 225, 235, 0.74);
}

.rising-more {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.rising-more::after {
  content: " ⌄";
  font-size: 12px;
}

.rising-more:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.ranking-more {
  display: none;
}

.issue-strip {
  margin-bottom: 20px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.issue-strip-head {
  align-items: flex-end;
}

.issue-strip-desc {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.issue-board {
  display: grid;
  gap: 10px;
  align-items: stretch;
  grid-template-columns: 1fr;
}

.issue-card {
  position: relative;
  display: block;
  min-width: 0;
  height: 170px;
  overflow: hidden;
  border: var(--card-border-width, 1.5px) solid var(--card-border, #4a5160);
  border-radius: var(--radius);
  background-color: #12141a;
  color: #f3f4f6;
}

.issue-card-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.001);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.issue-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 14, 0.99) 0%,
    rgba(8, 10, 14, 0.98) 20%,
    rgba(8, 10, 14, 0.94) 34%,
    rgba(8, 10, 14, 0.84) 46%,
    rgba(8, 10, 14, 0.66) 58%,
    rgba(8, 10, 14, 0.44) 70%,
    rgba(8, 10, 14, 0.22) 84%,
    rgba(8, 10, 14, 0.12) 100%
  );
}

.issue-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  max-width: none;
  padding: 12px 14px 10px;
}

.issue-card-eyebrow {
  margin-bottom: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(243, 244, 246, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.45);
}

.issue-card-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.45);
}

.issue-card-meta,
.issue-card-videos,
.issue-card-leanings {
  display: block;
  color: rgba(243, 244, 246, 0.86);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.45);
}

.issue-card-videos {
  margin-top: 2px;
  color: rgba(243, 244, 246, 0.80);
}

.issue-card-leanings {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(243, 244, 246, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.issue-card-num {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.issue-card:hover {
  border-color: var(--card-border-hover, #6d7586);
}

.home-page {
  --card-border: #4a5160;
  --card-border-hover: #6d7586;
  --card-border-width: 1.5px;
}

.home-page .hot-card,
.home-page .stat-card,
.home-page .home-main .video-card,
.home-ranking .mini-rank-block,
.home-page .videos-more-note,
.home-page .issues-more-note {
  border-width: var(--card-border-width);
  border-style: solid;
  border-color: var(--card-border);
}

[data-theme="light"] .home-page .hot-card,
[data-theme="light"] .home-page .stat-card {
  border-color: var(--card-border);
}

.issue-card.has-media:hover .issue-card-photo {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.issue-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.issue-hero p {
  max-width: 34em;
}

.issue-nav,
.issue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-page .issue-nav,
.catalog-page .issue-tags {
  margin-bottom: 18px;
}

.issue-nav .empty,
.issue-tags .empty,
.issue-board .empty {
  margin: 0;
  width: 100%;
}

.issue-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.issue-tag:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
}

.issue-tag[aria-current="page"] {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  font-weight: 700;
}

.issue-tag-title {
  color: var(--text);
}

.issue-tag-meta {
  color: var(--text-muted);
  font-weight: 500;
}

.issue-summary {
  padding: 22px 24px;
  margin-bottom: 22px;
}

.issue-summary h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.issue-summary-lead {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

.issue-summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.issue-summary-metric {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.issue-summary-metric strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.issue-summary-metric span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.issue-summary-leanings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 16px;
  margin-top: 16px;
}

.issue-summary-leaning {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.issue-summary-leaning strong {
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.issue-group + .issue-group {
  margin-top: 28px;
}

.issue-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.issue-group-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.issue-group-head span {
  color: var(--text-muted);
  font-size: 13px;
}

.issues-page .issue-top {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.issues-page .issue-top > #issue-summary,
.issues-page .issue-nav-panel {
  min-width: 0;
}

.issues-page .issue-summary {
  margin-bottom: 0;
  padding: 14px 16px 12px;
}

.issues-page .issue-summary h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.issues-page .issue-summary-lead {
  margin: 4px 0 0;
  font-size: 13px;
}

.issues-page .issue-summary-core {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.issues-page .issue-summary-core-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding-right: 10px;
}

.issues-page .issue-summary-core-item + .issue-summary-core-item {
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.issues-page .issue-summary-core-item strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.issues-page .issue-summary-core-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.issues-page .issue-summary-leanings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.issues-page .issue-summary-leaning {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.issues-page #issue-summary .issue-summary-leaning {
  border-color: var(--border-strong);
  background: var(--surface);
}

.issues-page #issue-summary .issue-summary-leaning:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
  color: var(--text);
}

.issues-page .issue-summary-leaning:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}

.issues-page .issue-summary-leaning:hover span {
  text-decoration: none;
}

.issues-page .issue-summary-leaning:focus {
  outline: none;
}

.issues-page .issue-summary-leaning:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.issues-page .issue-summary-leaning.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-fg);
  box-shadow: inset 2px 0 0 var(--accent);
}

.issues-page #issue-summary .issue-summary-leaning.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-fg);
  box-shadow: none;
}

.issues-page #issue-summary .issue-summary-leaning.is-active span,
.issues-page #issue-summary .issue-summary-leaning.is-active strong {
  color: var(--accent-fg);
}

.issues-page .issue-summary-leaning strong {
  font-size: 13px;
  font-weight: 700;
}

.issues-page #issue-summary,
.issues-page .issue-group {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.issues-page .issue-nav-panel {
  padding: 12px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.issues-page .issue-nav-heading {
  margin: 0 2px 10px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--text);
}

.issues-page .issue-back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 45;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.issues-page .issue-back-top[hidden] {
  display: none;
}

.issues-page .issue-back-top:hover {
  border-color: var(--accent);
  color: var(--accent-fg);
  background: var(--bg-elevated);
}

.issues-page .issue-back-top:focus {
  outline: none;
}

.issues-page .issue-back-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.issues-page .issue-back-top:active {
  transform: translateY(1px);
  background: var(--accent-soft);
  color: var(--accent-fg);
}

.issues-page .issue-keywords-panel {
  margin: 0 0 36px;
  padding: 16px 18px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.issues-page .issue-keywords-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.issues-page .issue-keywords-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--text);
}

.issues-page .issue-keywords-toggle-label {
  display: none;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.issues-page .issue-keywords-toggle:focus {
  outline: none;
}

.issues-page .issue-keywords-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.issues-page .issue-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0;
  row-gap: 10px;
}

.issues-page .issue-keyword-tag.is-space-0 {
  margin-right: 12px;
  padding-top: 0;
}

.issues-page .issue-keyword-tag.is-space-1 {
  margin-right: 20px;
  padding-top: 3px;
}

.issues-page .issue-keyword-tag.is-space-2 {
  margin-right: 28px;
  padding-top: 1px;
}

.issues-page .issue-keyword-tag {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  cursor: pointer;
}

.issues-page .issue-keyword-tag.is-sm {
  font-size: 13px;
  font-weight: 550;
}

.issues-page .issue-keyword-tag.is-md {
  font-size: 16px;
  color: var(--text);
}

.issues-page .issue-keyword-tag.is-lg {
  font-size: 20px;
  font-weight: 750;
  color: var(--text);
}

.issues-page .issue-keyword-tag:hover {
  color: var(--accent-fg);
}

.issues-page .issue-keyword-tag[aria-current="page"] {
  color: var(--accent-fg);
}

.issues-page .catalog-page .issue-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 0;
}

.issues-page .issue-nav-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
}

.issues-page .issue-nav-item + .issue-nav-item {
  border-top: 1px solid var(--border);
}

.issues-page .issue-nav-item:hover {
  background: var(--bg-elevated);
}

.issues-page .issue-nav-item[aria-current="page"] {
  background: var(--accent-soft);
  box-shadow: inset 2px 0 0 var(--accent);
}

.issues-page .issue-nav-item-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.issues-page .issue-nav-item-meta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.issues-page .issue-nav-item[aria-current="page"] .issue-nav-item-title {
  font-weight: 750;
  color: var(--accent-fg);
}

.issues-page .issue-detail.catalog-section {
  margin-top: 0;
}

.issues-page .issue-group + .issue-group {
  margin-top: 36px;
}

.issues-page .issue-group-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 10px;
  min-height: 52px;
  margin-bottom: 10px;
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.issues-page .issue-group-head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.issues-page .issue-group-head h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin: 0;
  min-width: 0;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.issues-page .issue-group-head h3 span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-muted);
}

.issues-page .issue-group-jumps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 1 auto;
}

.issues-page .issue-group-jumps .issue-summary-leaning {
  min-height: 32px;
}

.issues-page .issue-nav-more {
  display: none;
}

.hot {
  margin-bottom: 28px;
}

.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hot-rest {
  display: contents;
}

.hot-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hot-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
}

.hot-body {
  position: relative;
  z-index: 2;
  padding: 18px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: transparent;
}

.hot-body h3 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-kicker {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  margin: 0;
  max-width: 58%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.86);
  text-align: right;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-channel {
  margin: 0 0 3px;
  font-size: 13px;
  color: rgba(243, 244, 246, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-foot {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(243, 244, 246, 0.78);
  font-size: 12px;
}

.hot-foot .badge {
  margin-top: 0;
  flex-shrink: 0;
}

.hot-thumb {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hot-card .hot-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hot-card .hot-thumb.has-photo::before,
.hot-card .hot-thumb.has-photo::after {
  display: none;
}

.hot-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 17, 21, 0.04) 0%,
    rgba(15, 17, 21, 0.08) 32%,
    rgba(15, 17, 21, 0.42) 58%,
    rgba(15, 17, 21, 0.78) 80%,
    rgba(15, 17, 21, 0.9) 100%
  );
}

.hot-marks,
.hot-card .hot-mark.hot-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.hot-mark {
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(15, 17, 21, 0.55);
}

.hot-card .thumb-label,
.hot-card .hot-leaning {
  display: none;
}

.home-main .videos {
  margin-top: 0;
}

.home-ranking {
  min-width: 0;
  --card-border: #4a5160;
  --card-border-hover: #6d7586;
  --card-border-width: 1.5px;
}

.home-ranking-title {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.mini-rank-block {
  margin-bottom: 16px;
  padding: 14px 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-rank-block:last-child {
  margin-bottom: 0;
}

.mini-rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.mini-rank-block h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}

.mini-rank-list {
  display: flex;
  flex-direction: column;
}

.mini-rank-row {
  display: grid;
  grid-template-columns: 18px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 2px;
  border-radius: 8px;
}

.mini-rank-row:hover {
  background: var(--bg-elevated);
}

.mini-rank-num {
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  color: var(--text);
}

.mini-rank-row .avatar {
  width: 28px;
  height: 28px;
}

.mini-rank-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-rank-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.mini-rank-more {
  flex: 0 0 auto;
  margin-top: 0;
  font-size: 12px;
  white-space: nowrap;
}

.mini-rank-empty {
  margin: 0;
  padding: 10px 2px 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.videos {
  margin-top: 40px;
}

.videos h2 {
  margin-bottom: 14px;
}

.videos .section-head {
  margin-bottom: 14px;
}

.videos .section-head h2 {
  margin-bottom: 0;
}

.section-more {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.section-more:hover {
  color: var(--text);
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-search {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 180px;
  color: var(--text);
}

.catalog-page .catalog-section {
  margin-bottom: 40px;
}

.catalog-page .videos {
  margin-top: 8px;
}

.catalog-page .videos .section-head {
  margin-bottom: 10px;
}

.catalog-page .videos-result-head {
  align-items: center;
  min-height: 42px;
}

.videos-result-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.videos-result-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  min-height: 1.4em;
  color: var(--text-muted);
  font-weight: 400;
}

.videos-result-desc .desc-mobile {
  display: none;
}

.videos-sort-wrap {
  flex: 0 0 auto;
}

.videos-sort-wrap.is-reserved {
  visibility: hidden;
  pointer-events: none;
}

.videos-sort-wrap.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.videos-more-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
}

a.videos-more-note {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.videos-more-note:hover {
  border-color: var(--card-border-hover, #6d7586);
}

a.videos-more-note:hover .section-more {
  color: var(--text);
}

.videos-more-note p,
.videos-more-note .more-note-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

.more-note-cta-short {
  display: none;
}

.videos-balanced-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.video-card {
  overflow: hidden;
}

.thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #1f2937 0%, #312e81 100%);
}

.hot-card .hot-thumb.thumb {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  height: auto;
}

.thumb::before,
.thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.thumb-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.video-card .thumb-label {
  left: 10px;
  right: 10px;
  bottom: 10px;
  font-size: 13px;
}

.thumb[data-thumb="press"] {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.2) 0 16%, transparent 17%),
    linear-gradient(135deg, #1e1b4b 0%, #4338ca 60%, #6366f1 100%);
}

.thumb[data-thumb="press"]::after {
  width: 88px;
  height: 88px;
  right: -18px;
  bottom: -22px;
  border-radius: 50%;
  border: 14px solid rgba(255, 255, 255, 0.12);
}

.thumb[data-thumb="assembly"] {
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.1) 40% 56%, transparent 56%),
    linear-gradient(160deg, #134e4a 0%, #0f766e 48%, #115e59 100%);
}

.thumb[data-thumb="assembly"]::after {
  width: 120%;
  height: 18px;
  left: -10%;
  bottom: 36px;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(-8deg);
}

.thumb[data-thumb="briefing"] {
  background:
    radial-gradient(circle at 16% 84%, rgba(129, 140, 248, 0.4), transparent 42%),
    linear-gradient(180deg, #111827 0%, #312e81 100%);
}

.thumb[data-thumb="briefing"]::after {
  width: 46px;
  height: 46px;
  top: 16px;
  right: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.thumb[data-thumb="clash"] {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.08) 75%),
    linear-gradient(135deg, #312e81, #4f46e5 55%, #1e1b4b);
}

.thumb[data-thumb="clash"]::after {
  width: 0;
  height: 0;
  right: 18px;
  top: 18px;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 32px solid rgba(255, 255, 255, 0.16);
}

.thumb[data-thumb="poll"] {
  background: linear-gradient(160deg, #334155 0%, #1e293b 100%);
}

.thumb[data-thumb="poll"]::after {
  width: 70px;
  height: 8px;
  right: 16px;
  top: 22px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 0 rgba(255, 255, 255, 0.12), 0 28px 0 rgba(255, 255, 255, 0.08);
}

.thumb[data-thumb="law"] {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

.thumb[data-thumb="trend"] {
  background: linear-gradient(135deg, #134e4a 0%, #1f2937 100%);
}

.thumb[data-thumb="news"] {
  background: linear-gradient(135deg, #1e1b4b 0%, #334155 100%);
}

.thumb[data-thumb="local"] {
  background: linear-gradient(135deg, #3f3f46 0%, #18181b 100%);
}

.hot-card .hot-thumb.has-photo.thumb[data-thumb] {
  background: #111;
}

.video-body {
  padding: 12px 14px 14px;
}

.video-body h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
}

.video-grid .video-card {
  position: relative;
}

.video-grid .thumb-leaning {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  margin-top: 0;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.2;
  color: #f3f4f6;
  background: #181b21;
  border: 1px solid #3a3f4b;
  box-shadow: none;
}

.video-grid .video-stats {
  padding-right: 88px;
}

.video-grid .video-body h3 {
  margin: 0 0 6px;
}

.video-grid .video-channel {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-grid .video-stats {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 32px;
  color: var(--text-soft);
  font-size: 12px;
  text-align: center;
}

.app-footer p {
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.6;
}

.app-footer p + p {
  margin-top: 4px;
}

.search-panel,
.mobile-nav {
  display: none;
}

.search-panel.open {
  display: block;
}

.mobile-nav.open {
  display: block;
}

.search-panel {
  position: fixed;
  right: 16px;
  top: calc(var(--header-h) + 8px);
  width: min(360px, calc(100% - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px;
  z-index: 50;
}

.search-panel input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
}

.search-panel p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

.mobile-nav-dim {
  display: none;
  position: fixed;
  top: var(--mobile-header-h, var(--header-h));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 49;
  padding: 0;
  border: 0;
  background: rgba(12, 14, 18, 0.46);
  cursor: pointer;
}

html.is-mobile-nav-open .mobile-nav-dim {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: var(--mobile-header-h, var(--header-h));
  right: 0;
  left: auto;
  z-index: 50;
  width: min(86vw, 320px);
  height: calc(100dvh - var(--mobile-header-h, var(--header-h)));
  max-height: calc(100dvh - var(--mobile-header-h, var(--header-h)));
  overflow: auto;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 16px 16px;
  box-shadow: none;
}

html.is-mobile-nav-open,
html.is-mobile-nav-open body {
  overflow: hidden;
}

.mobile-nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-nav-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--text);
  font-size: 14px;
}

.mobile-nav-search-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text);
  cursor: pointer;
}

.mobile-nav-auth {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-auth:empty {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.mobile-nav-account {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-nav-login,
.mobile-nav-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 15px;
}

.mobile-nav-login {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
}

.mobile-nav-signup {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-nav-nick {
  margin: 0 0 4px;
  padding: 8px 12px 4px;
  font-size: 15px;
  font-weight: 700;
}

.mobile-nav-account-links a,
.mobile-nav-account-links button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-account--user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.mobile-nav-account--user .mobile-nav-nick {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-nav-account--user .mobile-nav-account-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 10px;
  min-width: 0;
}

.mobile-nav-account--user .mobile-nav-account-links a,
.mobile-nav-account--user .mobile-nav-account-links button {
  display: inline-flex;
  width: auto;
  min-height: 0;
  padding: 2px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 16px;
}

.mobile-nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 650;
  background: var(--bg);
}

.mobile-nav-theme {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.mobile-nav-theme-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-soft);
}

.detail-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 24px;
}

#channel-root,
#channel-root .detail-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.detail-sidebar {
  display: none;
}

.detail-side-block {
  padding: 14px 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.detail-side-block h2 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.detail-sidebar .rising-panel {
  position: static;
  top: auto;
}

.detail-sidebar .rising-list {
  gap: 8px;
}

.detail-sidebar .rising-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
}

.detail-sidebar .rising-name .avatar {
  width: 44px;
  height: 44px;
}

.detail-sidebar .rising-text h3 {
  font-size: 13px;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.detail-sidebar .rising-text .badge {
  margin-top: 3px;
  font-size: 11px;
}

.detail-sidebar .rising-growth {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.detail-sidebar .rising-growth-value {
  padding: 3px 7px;
  font-size: 12px;
}

.detail-side-videos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-side-video {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.detail-side-video .thumb {
  width: 96px;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

.detail-side-video-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.detail-side-video-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

.detail-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 22px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.detail-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.detail-hero.has-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 160px;
  background: var(--surface);
}

.detail-hero.has-banner .detail-hero-banner {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  filter: brightness(0.78) saturate(0.85);
}

.detail-hero.has-banner::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 62%, var(--surface) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.25) 42%, rgba(0, 0, 0, 0) 70%);
}

.detail-hero-content {
  position: relative;
  z-index: 1;
}

.detail-hero.has-banner .detail-hero-text h1,
.detail-hero.has-banner .detail-hero-meta,
.detail-hero.has-banner .detail-summary {
  color: #f8fafc;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.9),
    0 2px 2px rgba(0, 0, 0, 0.65);
}

.detail-hero.has-banner .detail-more {
  color: #f0c85c;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.9),
    0 2px 2px rgba(0, 0, 0, 0.65);
}

.detail-hero.has-banner .detail-hero-meta,
.detail-hero.has-banner .detail-summary {
  color: rgba(248, 250, 252, 0.95);
}

.detail-hero .avatar {
  width: 84px;
  height: 84px;
}

.detail-hero-heading h1,
.detail-hero-text h1 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.detail-hero-meta .badge {
  margin-top: 0;
}

.detail-hero-subs-label,
.detail-hero-meta-sep {
  font-weight: 700;
  opacity: 1;
}

.detail-hero.has-banner .detail-hero-subs-label,
.detail-hero.has-banner .detail-hero-meta-sep {
  color: #f8fafc;
}

.detail-hero-subs-count {
  font-weight: 700;
}

.detail-hero-subs .detail-hero-subs-count {
  color: #f0c85c;
}

.detail-hero-views .detail-hero-subs-count {
  color: #f0c85c;
}

.detail-hero.has-banner .detail-hero-meta .badge {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(248, 250, 252, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

.detail-desc {
  margin: 10px 0 0;
  max-width: 56ch;
}

.detail-desc.is-collapsed {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

.detail-desc.is-collapsed .detail-summary {
  display: inline;
  white-space: nowrap;
}

.detail-desc.is-collapsed .detail-more {
  display: inline;
  margin: 0;
}

.detail-summary {
  display: inline;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.detail-more {
  display: inline;
  margin: 0 0 0 0.15em;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #f0c85c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  vertical-align: baseline;
}

.detail-desc:not(.is-collapsed) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 56ch;
}

.detail-desc:not(.is-collapsed) .detail-summary {
  display: block;
  width: auto;
}

.detail-desc:not(.is-collapsed) .detail-more {
  display: inline;
  align-self: flex-end;
  width: auto;
  margin: 6px 0 0;
}

.detail-more[hidden] {
  display: none;
}

.detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  margin-left: auto;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  background: #ff0033;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.detail-cta-stack {
  display: none;
}

.detail-cta:hover {
  background: #e6002e;
}

.detail-cta.is-disabled,
.detail-cta[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.detail-metrics .stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: none;
}

.detail-block {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.detail-block h2 {
  margin: 0 0 14px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.detail-placeholder {
  margin: 0;
  padding: 28px 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.detail-video-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.channel-video-more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.channel-video-more:hover {
  color: var(--text);
}

.video-card .thumb.has-photo {
  background: #111;
}

.video-card .thumb.has-photo::before,
.video-card .thumb.has-photo::after {
  display: none;
}

.video-card .thumb-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-card .live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 4px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.detail-metrics .stat-card dd.is-collecting {
  color: var(--text-muted);
  white-space: nowrap;
}

.detail-comments .opinion-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
}

.detail-comments .opinion-head h2 {
  margin: 0;
}

.opinion-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.opinion-lead {
  margin: -2px 0 14px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.opinion-composer {
  position: relative;
  margin: 0;
}

.opinion-composer textarea {
  display: block;
  width: 100%;
  min-height: 100px;
  max-height: 240px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

.opinion-composer textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
  border-color: var(--border-strong);
}

.opinion-composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.opinion-counter {
  color: var(--text-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.opinion-submit {
  min-height: 36px;
  padding: 6px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.opinion-submit:hover:not(:disabled) {
  background: var(--accent-hover);
}

.opinion-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.opinion-error {
  margin: 8px 0 0;
  color: var(--down);
  font-size: 13px;
}

.opinion-error[hidden],
.opinion-empty[hidden],
.opinion-more[hidden] {
  display: none;
}

#opinion-list {
  margin-top: 16px;
}

.opinion-empty {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.opinion-row {
  padding: 14px 0 12px;
  border-top: 1px solid var(--border);
}

.opinion-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.opinion-time {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.opinion-body {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.opinion-more {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 0 2px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.opinion-more:hover {
  color: var(--text);
}

.opinion-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.opinion-captcha[hidden] {
  display: none;
}

.opinion-captcha {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.opinion-captcha-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #0f1115 42%, transparent);
}

.opinion-captcha-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.opinion-captcha-dialog h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.opinion-captcha-lead {
  margin: 8px 0 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.opinion-captcha-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.opinion-captcha-code {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1.2;
  text-align: center;
}

.opinion-captcha-refresh {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.opinion-captcha-refresh:hover:not(:disabled) {
  border-color: var(--border-strong);
  background: var(--bg);
  color: var(--text);
}

.opinion-captcha-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.opinion-captcha-dialog input {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.12em;
}

.opinion-captcha-dialog input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
  border-color: var(--border-strong);
}

.opinion-captcha-error {
  margin: 8px 0 0;
  color: var(--down);
  font-size: 13px;
}

.opinion-captcha-error[hidden] {
  display: none;
}

.opinion-captcha-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.opinion-captcha-cancel,
.opinion-captcha-confirm {
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.opinion-captcha-cancel {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

.opinion-captcha-cancel:hover:not(:disabled) {
  border-color: var(--border-strong);
  color: var(--text);
}

.opinion-captcha-confirm {
  border: 0;
  background: var(--accent);
  color: #fff;
}

.opinion-captcha-confirm:hover:not(:disabled) {
  background: var(--accent-hover);
}

.opinion-captcha-confirm:disabled,
.opinion-captcha-cancel:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#channel-root .detail-selected {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

#channel-root .detail-selected-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}

#channel-root .detail-selected-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

#channel-root .detail-selected-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#channel-root .detail-selected-thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

#channel-root .detail-selected-card-body {
  padding: 14px 16px 16px;
}

#channel-root .detail-selected-card-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

#channel-root .detail-selected-card-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

#channel-root .detail-selected-panel {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

#channel-root .detail-selected-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

#channel-root .detail-selected-title {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

#channel-root .detail-selected-channel {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text-muted);
}

#channel-root .detail-selected-meta {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

#channel-root .detail-selected-issues {
  margin-top: 22px;
}

#channel-root .detail-selected-issues-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

#channel-root .detail-selected-issue-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#channel-root .detail-selected-issue-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

#channel-root .detail-selected-issue-chip:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

#channel-root .detail-selected-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ff0033;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

#channel-root .detail-selected-cta:hover {
  background: #e6002e;
}

#channel-root .detail-selected-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.header-auth {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-theme-pc {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  padding: 0 8px;
  height: 38px;
}

.header-theme-pc:hover {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}

.header-theme-pc[hidden] {
  display: none !important;
}

.header-signup {
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.header-signup:hover {
  color: var(--text);
}

.header-login {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.header-login:hover {
  border-color: var(--border-strong);
  background: var(--bg);
}

.header-user-btn {
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-btn:hover {
  color: var(--text);
  background: var(--bg);
}

.header-theme-menu {
  width: 100%;
  justify-content: flex-start;
  margin-top: 4px;
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.header-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  min-width: 132px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.header-user-menu a,
.header-user-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.header-user-menu a:hover,
.header-user-menu button:hover {
  background: var(--bg);
}

.auth-main {
  width: min(440px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.auth-card {
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.auth-card h1 {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.auth-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.auth-form {
  position: relative;
  display: grid;
  gap: 12px;
}

.auth-form[hidden],
.auth-card > h1[hidden],
.auth-links[hidden] {
  display: none;
}

.auth-card.is-complete .auth-form,
.auth-card.is-complete > h1#auth-title,
.auth-card.is-complete #auth-switch {
  display: none;
}

.auth-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.auth-field input {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.auth-field input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
  border-color: var(--border-strong);
}

.auth-captcha .auth-field {
  margin-top: 8px;
}

.auth-captcha-label {
  margin: 4px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.auth-captcha .opinion-captcha-error {
  margin: 8px 0 0;
  color: var(--down);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.auth-submit {
  min-height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.auth-submit:hover {
  background: var(--accent-hover);
}

.auth-done {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.auth-done[hidden] {
  display: none;
}

.auth-card .auth-done h1 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.auth-done-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.auth-done-lead + .auth-done-lead {
  margin-top: 4px;
}

.auth-done .auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.auth-done-home {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
}

.auth-done-home a {
  color: var(--text-muted);
  font-weight: 500;
}

.auth-done-home a:hover {
  color: var(--accent-fg);
}

.auth-links {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-links a {
  color: var(--accent-fg);
  font-weight: 600;
}

.auth-msg {
  margin: 0;
  font-size: 13px;
}

.auth-msg.is-error {
  color: var(--down);
}

.auth-account-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.auth-account-soon {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.account-launch-hidden[hidden] {
  display: none;
}

.admin-main {
  width: min(720px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.admin-section-title {
  margin: 22px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.admin-empty {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.admin-deletion {
  padding: 14px 0 12px;
  border-top: 1px solid var(--border);
}

.admin-deletion-meta {
  margin: 0 0 2px;
  color: var(--text-muted);
  font-size: 13px;
}

.admin-deletion-content {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.opinion-gate {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.opinion-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.opinion-gate-actions a,
.opinion-gate-actions button {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.opinion-gate-actions a {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
}

.opinion-gate-actions a.secondary,
.opinion-gate-actions button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.opinion-row-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.opinion-author {
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
}

.opinion-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.opinion-edited {
  color: var(--text-muted);
  font-size: 12px;
}

.opinion-actions {
  display: flex;
  gap: 6px;
}

.opinion-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.opinion-actions button:hover {
  color: var(--text);
}

.opinion-edit-box textarea {
  display: block;
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

.opinion-row.is-editing .opinion-actions {
  display: none;
}

.opinion-edit-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.opinion-edit-cancel {
  flex: 0 0 auto;
  min-width: 84px;
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.opinion-edit-cancel:hover:not(:disabled) {
  border-color: var(--border-strong);
  color: var(--text);
}

.opinion-edit-actions .opinion-submit {
  flex: 0 0 auto;
  min-width: 84px;
  white-space: nowrap;
}

.opinion-confirm[hidden] {
  display: none;
}

.opinion-confirm {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.opinion-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #0f1115 42%, transparent);
}

.opinion-confirm-dialog {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 20px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.opinion-confirm-dialog p {
  margin: 0 0 16px;
  font-size: 15px;
}

.opinion-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* 1440px lock: min-width rules that already applied at the PC reference width. */

.issues-page .issue-keywords-toggle {
  cursor: default;
  pointer-events: none;
}

.issues-page .issue-top {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  margin-bottom: 12px;
}

.issues-page .issue-keywords-panel {
  margin-bottom: 48px;
}

.issues-page .issue-top > #issue-summary {
  display: flex;
  align-self: stretch;
}

.issues-page .issue-summary {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 100%;
  padding: 20px 22px 18px;
}

.issues-page .issue-summary h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.issues-page .issue-summary-lead {
  margin-top: 8px;
  font-size: 14px;
}

.issues-page .issue-summary-core {
  margin-top: 18px;
  padding-top: 16px;
}

.issues-page .issue-summary-core-item strong {
  font-size: 28px;
}

.issues-page .issue-summary-core-item span {
  font-size: 13px;
}

.issues-page .issue-summary-leanings {
  margin-top: auto;
  padding-top: 16px;
  gap: 8px;
}

.issues-page #issue-summary .issue-summary-leanings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.issues-page #issue-summary .issue-summary-leaning {
  justify-content: space-between;
  min-width: 0;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}

.issues-page #issue-summary .issue-summary-leaning span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.issues-page #issue-summary .issue-summary-leaning strong {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 800;
}

.issues-page .issue-summary-leaning {
  font-size: 13px;
}

.issues-page .issue-summary-leaning strong {
  font-size: 13px;
  font-weight: 700;
}

.issues-page .issue-nav-panel {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: none;
  box-sizing: border-box;
  overflow: visible;
}

.issues-page .catalog-page .issue-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(68px, 1fr));
  gap: 8px;
  min-height: 0;
  overflow: visible;
  flex: 1 1 auto;
}

.issues-page .issue-nav .empty {
  grid-column: 1 / -1;
}

.issues-page .issue-nav-item {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  height: 100%;
  min-height: 0;
  padding: 9px 10px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: none;
}

.issues-page .issue-nav-item + .issue-nav-item {
  border-top: 1px solid var(--border);
}

.issues-page .issue-nav-item[aria-current="page"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: inset 2px 0 0 var(--accent);
}

.issues-page .issue-nav-item-title {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.issues-page .issue-nav-item-meta {
  font-size: 11px;
}

.issues-page .issue-group + .issue-group {
  margin-top: 48px;
}

.issues-page .issue-group-head {
  min-height: 64px;
  margin-bottom: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

.issues-page .issue-group-head h3 {
  font-size: 18px;
  font-weight: 800;
}

.issues-page .issue-group-head h3 span {
  font-size: 14px;
  font-weight: 650;
  color: var(--text-muted);
}

.issues-page .issue-group-jumps .issue-summary-leaning {
  padding: 4px 8px;
  font-size: 12px;
}

.issues-page .issue-group .video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .section-head h2,
.home-ranking-title {
  font-size: 21px;
}

.home-page .hot {
  margin-bottom: 24px;
}

.home-page .hot-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-page .hot-body {
  margin-top: -48px;
  padding: 6px 16px 16px;
}

.home-page .hot-body::before {
  height: calc(15px * 1.35 * 2 + 12px);
}

.home-page .hot-body h3 {
  left: 16px;
  right: 16px;
  min-height: calc(1.35em * 2);
  font-size: 15px;
  line-height: 1.35;
}

.home-page .hot-channel {
  margin-bottom: 6px;
  font-size: 13px;
}

.home-page .hot-foot {
  font-size: 12px;
}

.home-page .hot-foot .badge {
  right: 16px;
  bottom: 16px;
  padding: 2px 7px;
  font-size: 11px;
}

.home-page .hot-kicker {
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  font-size: 11px;
}

.home-page .issue-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .issue-card-body h3 {
  font-size: 21px;
}

.videos-result-copy {
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
}

.videos-result-desc {
  white-space: nowrap;
}

.home-main .video-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mobile-nav,
.mobile-nav.open,
.mobile-nav-dim,
html.is-mobile-nav-open .mobile-nav-dim {
  display: none !important;
}

html.is-mobile-nav-open,
html.is-mobile-nav-open body {
  overflow: auto;
}

.hot {
  margin-bottom: 32px;
}

.hot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hot-card {
  display: flex;
  flex-direction: column;
  background: #0c0e12;
  border: 1px solid #2a2e37;
  border-radius: 17px;
  box-shadow: none;
}

[data-theme="light"] .hot-card {
  border-color: #d6d9e0;
}

.hot-card::before {
  display: none;
}

.hot-card .hot-thumb,
.hot-card .hot-thumb.thumb {
  position: relative;
  inset: auto;
  z-index: 0;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hot-card .hot-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hot-shade {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  height: 148px;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 14, 18, 0) 0%,
    rgba(12, 14, 18, 0.4) 32%,
    rgba(12, 14, 18, 0.78) 62%,
    #0c0e12 82%,
    #0c0e12 100%
  );
}

.hot-card .hot-mark.hot-rank {
  display: none;
}

.hot-kicker {
  top: 8px;
  left: auto;
  right: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  text-shadow: none;
}

.hot-body {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: -60px;
  padding: 6px 28px 28px;
  background: transparent;
}

.hot-body::before {
  content: "";
  display: block;
  flex-shrink: 0;
  height: calc(18px * 1.45 * 2 + 18px);
  pointer-events: none;
}

.hot-body h3 {
  position: absolute;
  top: 8px;
  left: 28px;
  right: 28px;
  z-index: 3;
  margin: 0;
  min-height: calc(1.45em * 2);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.hot-channel {
  margin: 0 0 11px;
  font-size: 15px;
  font-weight: 500;
  color: #e5e7eb;
}

.hot-foot {
  display: block;
  margin-top: 0;
  font-size: 13px;
  color: #b4bac4;
}

.hot-foot .badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  margin-top: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(167, 173, 186, 0.45);
  color: #c4c9d2;
  font-size: 12px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 20px 22px 18px;
  border-radius: 15px;
  box-shadow: none;
  background: #181b21;
  border: 1px solid #2a2e37;
}

.stat-card dt {
  font-size: 13px;
  color: #9aa1ac;
}

.stat-card dd {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  color: #f3f4f6;
}

[data-theme="light"] .stat-card {
  background: #ffffff;
  border-color: #e6e8ec;
}

[data-theme="light"] .stat-card dt {
  color: #6b7280;
}

[data-theme="light"] .stat-card dd {
  color: #16181d;
}

#channel-root.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 20px;
}

.detail-sidebar {
  display: block;
}

.detail-hero:not(.is-desc-expanded) {
  height: 164px;
  box-sizing: border-box;
}

.detail-hero-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.detail-hero-top {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  column-gap: 22px;
  height: 118px;
  min-height: 118px;
  max-height: 118px;
  align-items: center;
}

.detail-hero .avatar {
  width: 116px;
  height: 116px;
  justify-self: center;
  align-self: center;
}

.detail-hero-text {
  min-width: 0;
  height: 116px;
  max-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.detail-hero-heading h1,
.detail-hero-text h1 {
  margin: 0 0 4px;
}

.detail-hero-meta {
  margin: 0;
  flex-wrap: nowrap;
  font-size: 16px;
  white-space: nowrap;
}

.detail-hero-meta .badge {
  font-size: 12px;
  padding: 1px 7px;
  line-height: 1.3;
}

.detail-hero-subs-count {
  font-size: 17px;
}

.detail-hero-desc-slot {
  margin-top: 12px;
}

.detail-hero-desc-slot .detail-desc {
  margin: 0;
}

.detail-hero .detail-cta {
  justify-self: center;
  align-self: center;
  margin-left: 0;
}

.detail-hero-expanded:empty {
  display: none;
}

.detail-hero-expanded:not(:empty) {
  margin-left: calc(150px + 22px);
  padding-top: 16px;
}

.detail-hero.is-desc-expanded .detail-hero-top {
  height: auto;
  min-height: 118px;
  max-height: none;
  grid-template-rows: 118px auto;
  align-items: start;
}

.detail-hero.is-desc-expanded .avatar,
.detail-hero.is-desc-expanded .detail-cta {
  grid-row: 1;
  align-self: center;
}

.detail-hero.is-desc-expanded .detail-hero-text {
  grid-row: 1 / -1;
  height: auto;
  max-height: none;
  overflow: visible;
  justify-content: flex-start;
  padding-top: 14px;
}

.detail-hero.is-desc-expanded .detail-hero-desc-slot {
  display: none;
  min-height: 0;
  margin: 0;
}

.detail-hero.is-desc-expanded .detail-hero-text > .detail-desc {
  margin: 16px 0 0;
}

.detail-hero .detail-cta-wide {
  display: none;
}

.detail-hero .detail-cta-stack {
  display: block;
  line-height: 1.25;
  text-align: center;
}

.detail-hero .detail-cta {
  flex-direction: column;
  min-height: 0;
  padding: 10px 12px;
  white-space: normal;
}

.detail-main .detail-video-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-main .detail-video-list .video-body {
  padding: 10px 12px 12px;
}

.detail-main .detail-video-list .video-body h3 {
  font-size: 13px;
}

#channel-root .detail-selected {
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  align-items: stretch;
}

#channel-root .detail-selected-eyebrow {
  margin-bottom: 12px;
}

#channel-root .detail-selected-title {
  font-size: 20px;
  font-weight: 750;
}

#channel-root .detail-selected-channel {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

#channel-root .detail-selected-issues {
  margin-top: 26px;
}

#channel-root .detail-selected-issues-label {
  margin-bottom: 10px;
}

#channel-root .detail-selected-meta {
  margin-top: 20px;
  font-size: 13px;
}

#channel-root .detail-selected-cta {
  min-height: 56px;
  margin-top: 26px;
  padding: 10px 16px;
  font-size: 16px;
}

#channel-root .detail-selected-hint {
  margin-top: 12px;
}

/* Page locks previously in pc-*.css */

html[data-device="pc"] body.pc-locked .header-inner,
html[data-device="pc"] body.pc-locked main {
  width: var(--max);
}

html[data-device="pc"] body.pc-locked .header-nav {
  display: flex;
}

html[data-device="pc"] body.pc-locked .menu-btn {
  display: none;
}

html[data-device="pc"] body.pc-locked .header-auth {
  display: flex;
}

html[data-device="pc"] body.pc-locked .header-theme-pc {
  display: inline-flex;
}

html[data-device="pc"] body.pc-locked .header-theme-pc[hidden] {
  display: none !important;
}

html[data-device="pc"] body.pc-locked .mobile-nav,
html[data-device="pc"] body.pc-locked .mobile-nav.open,
html[data-device="pc"] .mobile-nav-dim,
html[data-device="pc"].is-mobile-nav-open .mobile-nav-dim {
  display: none !important;
}

html[data-device="pc"] body.pc-locked .hero h1 {
  font-size: 36px;
}

html[data-device="pc"] body.pc-locked .hero p {
  font-size: 16px;
  letter-spacing: normal;
}

html[data-device="pc"] body.pc-locked .identity h3 {
  white-space: nowrap;
}

html[data-device="pc"] body.pc-locked .channel-card__top {
  position: static;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: start;
}

html[data-device="pc"] body.pc-locked .channel-card .rank {
  position: static;
  top: auto;
  left: auto;
  width: 28px;
  height: 28px;
  font-size: 12px;
  border-radius: 6px;
}

html[data-device="pc"] body.pc-locked .channel-card .identity {
  align-items: center;
}

html[data-device="pc"] body.pc-locked .channel-card .identity h3 {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  white-space: nowrap;
}

html[data-device="pc"] body.pc-locked .channel-card .metrics {
  margin-left: calc(36px + 12px);
  grid-template-columns: 0.8fr 1.05fr 1.15fr;
  gap: 8px 10px;
}

html[data-device="pc"] body.pc-locked .channel-card .metric {
  flex-direction: row;
  align-items: baseline;
  gap: 4px;
}

html[data-device="pc"] body.home-page {
  min-width: 1212px;
}

html[data-device="pc"] body.home-page .header-inner,
html[data-device="pc"] body.home-page main {
  width: var(--max);
}

html[data-device="pc"] body.home-page .header-nav {
  display: flex;
}

html[data-device="pc"] body.home-page .menu-btn {
  display: none;
}

html[data-device="pc"] body.home-page .header-auth {
  display: flex;
}

html[data-device="pc"] body.home-page .header-theme-pc {
  display: inline-flex;
}

html[data-device="pc"] body.home-page .header-theme-pc[hidden] {
  display: none !important;
}

html[data-device="pc"] body.home-page .mobile-nav,
html[data-device="pc"] body.home-page .mobile-nav.open,
html[data-device="pc"] .mobile-nav-dim,
html[data-device="pc"].is-mobile-nav-open .mobile-nav-dim {
  display: none !important;
}

html[data-device="pc"] body.home-page .hero h1 {
  font-size: 36px;
}

html[data-device="pc"] body.home-page .hero p {
  font-size: 16px;
  letter-spacing: normal;
}

html[data-device="pc"] body.home-page .section-head h2,
html[data-device="pc"] body.home-page .home-ranking-title {
  font-size: 21px;
}

html[data-device="pc"] body.home-page .stats-strip .section-head {
  display: flex;
}

html[data-device="pc"] body.home-page .stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

html[data-device="pc"] body.home-page .stat-card {
  padding: 20px 22px 18px;
  border-radius: 15px;
  box-shadow: none;
  background: #181b21;
  border: 1px solid #2a2e37;
}

html[data-device="pc"] body.home-page .stat-card dt {
  font-size: 13px;
  color: #9aa1ac;
}

html[data-device="pc"] body.home-page .stat-card dd {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  color: #f3f4f6;
}

html[data-theme="light"][data-device="pc"] body.home-page .stat-card {
  background: #ffffff;
  border-color: #e6e8ec;
}

html[data-theme="light"][data-device="pc"] body.home-page .stat-card dt {
  color: #6b7280;
}

html[data-theme="light"][data-device="pc"] body.home-page .stat-card dd {
  color: #16181d;
}

html[data-device="pc"] body.home-page .issue-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-device="pc"] body.home-page .issue-board .issue-card {
  display: block;
}

html[data-device="pc"] body.home-page .issue-card-body h3 {
  font-size: 21px;
}

html[data-device="pc"] body.home-page .issue-strip-head .section-more {
  display: inline;
}

html[data-device="pc"] body.home-page .issues-more-note .more-note-cta-long {
  display: inline;
}

html[data-device="pc"] body.home-page .issues-more-note .more-note-cta-short {
  display: none;
}

html[data-device="pc"] body.home-page .layout {
  grid-template-columns: minmax(0, 1fr) 350px;
}

html[data-device="pc"] body.home-page .home-main .video-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

html[data-device="pc"] body.home-page .app-footer {
  width: auto;
  padding: 22px 0 32px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
}

html[data-device="pc"] body.home-page .app-footer p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

html[data-device="pc"] body.home-page .app-footer p + p {
  margin-top: 4px;
}

html[data-device="pc"] body.channels-page {
  min-width: 1024px;
}

html[data-device="pc"] body.channels-page .channel-list {
  grid-template-columns: 1fr 1fr;
}

html[data-device="pc"] body.channels-page .catalog-page .catalog-section > .section-head {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

html[data-device="pc"] body.channels-page .catalog-page .catalog-section > .section-head h2 {
  align-self: auto;
}

html[data-device="pc"] body.channels-page .catalog-tools {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
  min-width: auto;
}

html[data-device="pc"] body.channels-page .catalog-tools label {
  width: auto;
  min-width: auto;
}

html[data-device="pc"] body.channels-page .catalog-search {
  width: auto;
  min-width: 180px;
  max-width: none;
}

html[data-device="pc"] body.channels-page .catalog-tools .sort-select {
  width: auto;
  min-width: 140px;
  max-width: none;
}

html[data-device="pc"] body.issues-page {
  min-width: 1100px;
}

html[data-device="pc"] body.issues-page .issue-top {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  margin-bottom: 12px;
}

html[data-device="pc"] body.issues-page .issue-keywords-panel {
  margin-bottom: 48px;
}

html[data-device="pc"] body.issues-page .issue-keywords-toggle {
  cursor: default;
  pointer-events: none;
  margin: 0 0 12px;
}

html[data-device="pc"] body.issues-page .issue-keywords-toggle-label {
  display: none;
}

html[data-device="pc"] body.issues-page .issue-keyword-cloud,
html[data-device="pc"] body.issues-page .issue-keywords-panel .issue-keyword-cloud,
html[data-device="pc"] body.issues-page .issue-keywords-panel:not(.is-open) .issue-keyword-cloud,
html[data-device="pc"] body.issues-page .issue-keywords-panel.is-open .issue-keyword-cloud {
  display: flex;
}

html[data-device="pc"] body.issues-page .issue-top > #issue-summary {
  display: flex;
  align-self: stretch;
}

html[data-device="pc"] body.issues-page .issue-summary {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 100%;
  padding: 20px 22px 18px;
}

html[data-device="pc"] body.issues-page .issue-summary h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

html[data-device="pc"] body.issues-page .issue-summary-lead {
  margin-top: 8px;
  font-size: 14px;
}

html[data-device="pc"] body.issues-page .issue-summary-core {
  margin-top: 18px;
  padding-top: 16px;
}

html[data-device="pc"] body.issues-page .issue-summary-core-item strong {
  font-size: 28px;
}

html[data-device="pc"] body.issues-page .issue-summary-core-item span {
  font-size: 13px;
}

html[data-device="pc"] body.issues-page .issue-summary-leanings {
  margin-top: auto;
  padding-top: 16px;
  gap: 8px;
}

html[data-device="pc"] body.issues-page #issue-summary .issue-summary-leanings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

html[data-device="pc"] body.issues-page #issue-summary .issue-summary-leaning {
  justify-content: space-between;
  min-width: 0;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}

html[data-device="pc"] body.issues-page #issue-summary .issue-summary-leaning span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-device="pc"] body.issues-page #issue-summary .issue-summary-leaning strong {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 800;
}

html[data-device="pc"] body.issues-page .issue-summary-leaning {
  font-size: 13px;
}

html[data-device="pc"] body.issues-page .issue-summary-leaning strong {
  font-size: 13px;
  font-weight: 700;
}

html[data-device="pc"] body.issues-page .issue-nav-panel {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: none;
  box-sizing: border-box;
  overflow: visible;
  padding: 12px 12px 12px;
}

html[data-device="pc"] body.issues-page .issue-nav-heading {
  margin: 0 2px 10px;
}

html[data-device="pc"] body.issues-page .catalog-page .issue-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(68px, 1fr));
  gap: 8px;
  min-width: auto;
  min-height: 0;
  overflow: visible;
  flex: 1 1 auto;
}

html[data-device="pc"] body.issues-page .issue-nav-more {
  display: none;
}

html[data-device="pc"] body.issues-page .issue-group .video-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

html[data-device="pc"] body.issues-page .issue-back-top {
  right: 20px;
  bottom: 24px;
}

html[data-device="pc"] body.issues-page .issue-nav-item {
  position: static;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  height: 100%;
  min-height: 0;
  padding: 9px 10px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}

html[data-device="pc"] body.issues-page .issue-group + .issue-group {
  margin-top: 48px;
}

html[data-device="pc"] body.issues-page .issue-group-head {
  min-height: 64px;
  margin-bottom: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

html[data-device="pc"] body.issues-page .issue-group-head h3 {
  font-size: 18px;
  font-weight: 800;
}

html[data-device="pc"] body.issues-page .issue-group-head h3 span {
  font-size: 14px;
  font-weight: 650;
}

html[data-device="pc"] body.issues-page .issue-group-jumps {
  justify-content: flex-end;
}

html[data-device="pc"] body.channel-page {
  min-width: 1100px;
}

html[data-device="pc"] body.channel-page #channel-root.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 20px;
}

html[data-device="pc"] body.channel-page .detail-sidebar {
  display: block;
}

html[data-device="pc"] body.channel-page .detail-hero:not(.is-desc-expanded) {
  height: 164px;
  box-sizing: border-box;
}

html[data-device="pc"] body.channel-page .detail-hero-top {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  grid-template-areas: none;
  column-gap: 22px;
  row-gap: 0;
  height: 118px;
  min-height: 118px;
  max-height: 118px;
  align-items: center;
}

html[data-device="pc"] body.channel-page .detail-hero .avatar {
  grid-area: auto;
  width: 116px;
  height: 116px;
  justify-self: center;
  align-self: center;
}

html[data-device="pc"] body.channel-page .detail-hero-text {
  grid-area: auto;
}

html[data-device="pc"] body.channel-page .detail-hero .detail-cta-wide {
  display: none;
}

html[data-device="pc"] body.channel-page .detail-hero .detail-cta-stack {
  display: block;
  line-height: 1.25;
  text-align: center;
}

html[data-device="pc"] body.channel-page .detail-hero.has-banner .detail-cta,
html[data-device="pc"] body.channel-page .detail-hero .detail-cta,
html[data-device="pc"] body.channel-page .detail-cta {
  display: inline-flex;
  flex-direction: column;
  grid-area: auto;
  width: auto;
  min-height: 0;
  padding: 10px 12px;
  margin-left: 0;
  justify-self: center;
  align-self: center;
  white-space: normal;
}

html[data-device="pc"] body.channel-page .video-grid {
  grid-template-columns: repeat(4, 1fr);
}

html[data-device="pc"] body.channel-page .detail-hero {
  padding: 22px 22px 24px;
}

html[data-device="pc"] body.channel-page .detail-hero:not(.is-desc-expanded) .detail-hero-text {
  height: 116px;
  max-height: 116px;
}

html[data-device="pc"] body.channel-page .detail-hero-heading h1,
html[data-device="pc"] body.channel-page .detail-hero-text h1 {
  font-size: 26px;
  max-width: none;
}

html[data-device="pc"] body.channel-page .detail-hero + .detail-metrics {
  margin-top: 16px;
}

html[data-device="pc"] body.channel-page .detail-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

html[data-device="pc"] body.channel-page .detail-metrics .stat-card {
  padding: 16px 18px;
}

html[data-device="pc"] body.channel-page .detail-metrics .stat-card dt {
  font-size: 13px;
}

html[data-device="pc"] body.channel-page .detail-metrics .stat-card dd {
  margin-top: 6px;
  font-size: 26px;
}

html[data-device="pc"] body.channel-page .detail-video-list,
html[data-device="pc"] body.channel-page .detail-main .detail-video-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

html[data-device="pc"] body.channel-page .detail-main .detail-video-list .video-body {
  padding: 10px 12px 12px;
}

html[data-device="pc"] body.channel-page .detail-main .detail-video-list .video-body h3 {
  font-size: 13px;
}

html[data-device="pc"] body.channel-page #channel-root .detail-selected {
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
}

html[data-device="pc"] body.rankings-page {
  min-width: 1024px;
}

html[data-device="pc"] body.rankings-page .channel-list {
  grid-template-columns: 1fr 1fr;
}

html[data-device="pc"] body.rankings-page .catalog-page .catalog-section > .section-head {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

html[data-device="pc"] body.rankings-page .catalog-page .catalog-section > .section-head h2 {
  align-self: auto;
}

html[data-device="pc"] body.rankings-page .sort-select {
  min-width: 140px;
}

html[data-device="pc"] body.videos-page {
  min-width: 1024px;
}

html[data-device="pc"] body.videos-page .catalog-page .catalog-section > .section-head {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

html[data-device="pc"] body.videos-page .videos-result-copy {
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
}

html[data-device="pc"] body.videos-page .videos-result-desc {
  white-space: nowrap;
}

html[data-device="pc"] body.videos-page .videos-result-desc .desc-desktop {
  display: inline;
}

html[data-device="pc"] body.videos-page .videos-result-desc .desc-mobile {
  display: none;
}

html[data-device="pc"] body.videos-page .video-grid {
  grid-template-columns: repeat(4, 1fr);
}

html[data-device="pc"] body.video-page {
  min-width: 1024px;
}

html[data-device="pc"] body.auth-page {
  min-width: 1024px;
}

html[data-device="pc"] body.auth-page .auth-main {
  width: min(440px, calc(100% - 32px));
}

html[data-device="pc"] body.admin-page {
  min-width: 1024px;
}

html[data-device="pc"] body.admin-page .admin-main {
  width: min(720px, calc(100% - 32px));
}
