/* 트렌드 보드 — 캐릿 전광판을 tei-ku 톤으로 */

.mtrend-page {
  max-width: var(--subpage-width-default);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-10);
  background: var(--gray-0);
}

.mtrend-board__head,
.mtrend-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 130px;
  gap: var(--space-5);
  align-items: baseline;
}

.mtrend-board__head {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
  color: var(--muted);
  font-size: var(--text-2xs);
  font-weight: var(--weight-strong);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.mtrend-row {
  min-height: 76px;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
}

.mtrend-row__date {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.mtrend-row__body {
  min-width: 0;
}

.mtrend-row__name {
  margin: 0 0 var(--space-1);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-heading);
}

.mtrend-row__name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}

.mtrend-row__name a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.mtrend-row__hot {
  display: inline-block;
  margin-left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-1);
  color: var(--gray-0);
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  font-weight: var(--weight-label);
  letter-spacing: 0.08em;
  vertical-align: 2px;
  background: var(--spark);
}

.mtrend-row__title {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtrend-row__channel {
  color: var(--muted);
  font-size: var(--text-2xs);
  font-weight: var(--weight-strong);
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.mtrend-footer {
  margin-top: var(--space-8);
  color: var(--muted);
  font-size: var(--text-xs);
}

@media (width <= 700px) {
  .mtrend-board__head { display: none; }

  .mtrend-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    min-height: 0;
    padding: var(--space-5) 0;
  }

  .mtrend-row__channel { text-align: left; }

  .mtrend-row__date,
  .mtrend-row__channel {
    display: inline-block;
  }
}

.mtrend-page {
  background: var(--warm-50);
}

.mtrend-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--subpage-radius);
  background: var(--surface-solid);
  box-shadow: var(--panel-shadow);
}

.mtrend-board__head,
.mtrend-row {
  padding-inline: var(--space-6);
}

.mtrend-board__head {
  border-top: 0;
  border-bottom-color: var(--line);
  background: var(--rose-50);
}

.mtrend-row {
  border-bottom-color: var(--hairline-soft);
  transition: background var(--duration-base) var(--ease-out);
}

.mtrend-row:last-child {
  border-bottom: 0;
}

.mtrend-row:hover {
  background: rgb(var(--accent-rgb) / 5%);
}

.mtrend-row__name a:hover {
  color: var(--rose-600);
}

.mtrend-row__hot {
  color: var(--coral-ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--control-shadow);
}

@media (width <= 700px) {
  .mtrend-row {
    padding: var(--space-5);
  }
}

.mtrend-page {
  border-right: 1px solid var(--editorial-frame);
  border-left: 1px solid var(--editorial-frame);
  background: var(--paper);
}

.mtrend-page .subpage-header {
  border-top-color: var(--editorial-frame);
  border-bottom-color: var(--editorial-frame);
}

.mtrend-board {
  border-color: var(--editorial-frame-soft);
  border-radius: var(--radius-2);
  box-shadow: none;
}

.mtrend-board__head {
  color: var(--ink);
  background: var(--lime);
}

.mtrend-row__hot {
  color: var(--ink);
  background: var(--lime);
  box-shadow: none;
}
