/* Author: VIVI x Codex */
:root {
  --bg: #efe5d1;
  --paper: #fffbf3;
  --paper-strong: #fff0cb;
  --ink: #16110f;
  --muted: #5b504b;
  --line: #1b1714;
  --red: #ca2a1a;
  --orange: #ef8d1f;
  --yellow: #ffd452;
  --green: #e8f1d7;
  --blue: #e7f1ff;
  --shadow: 7px 7px 0 rgba(27, 23, 20, 0.95);
  --shadow-sm: 4px 4px 0 rgba(27, 23, 20, 0.95);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 212, 82, 0.22), transparent 20%),
    radial-gradient(circle at 82% 14%, rgba(202, 42, 26, 0.11), transparent 18%),
    linear-gradient(180deg, #f7f0e0 0%, var(--bg) 100%);
}

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(rgba(22, 17, 15, 0.18) 0.8px, transparent 0.8px);
  background-size: 10px 10px;
  mix-blend-mode: multiply;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(22, 17, 15, 0.95);
  color: #fff8eb;
  border-bottom: 4px solid #fff8eb;
}

.brand,
.toplink,
.eyebrow,
.section-tag,
.panel-label,
.entry-date,
.entry-no,
.entry-status,
.detail-title,
.track-date {
  font-family: "IBM Plex Mono", monospace;
}

.brand,
.toplink {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid #fff8eb;
}

.brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.toplink {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toplink.is-active {
  background: #fff8eb;
  color: var(--ink);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 26px 0 80px;
}

.panel,
.entry-card,
.entry-details {
  position: relative;
  border: 4px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  clip-path: none;
}

.panel::before,
.entry-card::before,
.entry-details::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 3px dashed rgba(27, 23, 20, 0.13);
  border-radius: calc(var(--radius-xl) - 10px);
  pointer-events: none;
}

.hero {
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(120deg, rgba(255, 240, 203, 0.8), rgba(255, 251, 243, 0.94)),
    var(--paper);
}

.eyebrow,
.section-tag,
.panel-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

h1,
h2,
h3,
.signal-value,
.entry-title,
.quote-mark {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 900;
}

h1 {
  margin: 14px 0 0;
  max-width: 9ch;
  display: grid;
  gap: 2px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-title-line {
  display: block;
}

.hero-title-line.is-accent {
  font-size: 1.06em;
  letter-spacing: -0.075em;
}

.lede {
  margin: 20px 0 0;
  max-width: 44rem;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.82;
  color: var(--muted);
}

.hero-signals {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}

.signal-card,
.chip,
.artifact-item,
.track-item,
.score-chip,
.preview-item,
.talk-item,
.topic-item,
.word-chip {
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.signal-card {
  padding: 16px 14px;
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.signal-card[data-emphasis="core"] {
  position: relative;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 197, 79, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(255, 248, 218, 0.96), rgba(255, 237, 191, 0.95));
  border-color: rgba(20, 17, 17, 0.92);
  box-shadow:
    0 0 0 4px rgba(255, 196, 76, 0.22),
    5px 5px 0 rgba(20, 17, 17, 0.24);
}

.signal-card,
.score-chip,
.detail-card,
.moments-panel,
.talk-item,
.topic-item,
.preview-item,
.artifact-item,
.track-panel,
.track-item {
  border-radius: var(--radius-lg);
  clip-path: none;
}

.signal-value {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.signal-label {
  margin-top: 8px;
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

.signal-note {
  margin-top: auto;
  padding-top: 8px;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.archive-shell {
  margin-top: 26px;
}

.section-head h2,
.track-head h3 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.section-head p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.archive-main {
  position: relative;
  padding-left: 44px;
  display: grid;
  gap: 24px;
}

.archive-main::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  bottom: 16px;
  width: 6px;
  background: linear-gradient(180deg, var(--red), var(--yellow), #1d1a17);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.entry-block {
  position: relative;
}

.entry-block::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 30px;
  width: 22px;
  height: 22px;
  border: 4px solid var(--line);
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
}

.entry-card {
  padding: 24px;
}

.entry-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.entry-top > div:first-child,
.entry-headline {
  flex: 1 1 auto;
  min-width: 0;
}

.entry-top > div:last-child,
.entry-status-stack {
  flex: none;
  text-align: right;
}

.entry-top--preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto max-content;
  align-items: start;
  gap: 10px 18px;
}

.entry-date {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.entry-theme-tag {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 3px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-title {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.1;
  padding-bottom: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-no {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  line-height: 1;
}

.entry-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-status[data-status="done"] {
  background: linear-gradient(180deg, #fff4ba, #ffd96e);
}

.entry-status[data-status="active"] {
  background: linear-gradient(180deg, #ffe3de, #ffb8aa);
}

.entry-status[data-status="queued"] {
  background: linear-gradient(180deg, #edf4ff, #d4e5ff);
}

.entry-question {
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 5px solid var(--red);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

.entry-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.entry-scoreband {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.score-chip {
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.score-chip[data-emphasis="core"] {
  position: relative;
  border-color: rgba(20, 17, 17, 0.92);
  box-shadow:
    0 0 0 4px rgba(255, 196, 76, 0.28),
    5px 5px 0 rgba(20, 17, 17, 0.22);
  transform: translateY(-2px);
}

.score-chip[data-emphasis="core"] .score-value {
  color: #a94311;
}

.score-chip[data-emphasis="core"] .score-label {
  color: #5c2f18;
}

.score-value {
  display: block;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.score-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.score-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.entry-copy,
.entry-imprint {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.entry-copy strong,
.entry-imprint strong {
  color: var(--ink);
}

.chip-row,
.entry-links,
.detail-grid,
.track-list {
  display: grid;
  gap: 12px;
}

.chip-row {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chip-row--detail {
  margin-top: 12px;
}

.chip {
  padding: 12px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper-strong);
}

.entry-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.preview-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.preview-spotlight {
  margin-top: 10px;
  display: block;
}

.preview-focus-card,
.preview-meta-chip {
  border: 3px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
}

.preview-focus-card {
  padding: 16px 18px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 170, 72, 0.18), transparent 18%),
    rgba(255, 255, 255, 0.92);
}

.preview-focus-copy {
  margin: 8px 0 0;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}

.preview-meta-rail {
  width: 240px;
  display: grid;
  gap: 10px;
  justify-self: end;
}

.preview-meta-rail--inline {
  width: auto;
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: end;
  gap: 12px;
  justify-self: end;
  align-self: end;
  margin-right: 44px;
  margin-top: 14px;
}

.preview-meta-chip {
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(255, 248, 228, 0.96), rgba(255, 240, 210, 0.94)),
    rgba(255, 255, 255, 0.92);
}

.preview-meta-chip.is-sticker {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  justify-items: start;
}

.preview-meta-rail--inline .preview-meta-chip {
  padding: 10px 12px;
  gap: 3px;
}

.preview-meta-rail--inline .preview-meta-chip.is-sticker {
  padding: 0;
  align-self: center;
}

.preview-meta-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.preview-meta-value {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--ink);
}

.preview-meta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 1px 1px 0 rgba(20, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.96);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.preview-meta-rail--inline .preview-meta-label {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.preview-meta-rail--inline .preview-meta-badge {
  min-height: 28px;
  padding: 0 12px;
  font-size: 14px;
  border-width: 3px;
}

.preview-meta-rail--inline .preview-meta-value {
  font-size: 16px;
  line-height: 1.2;
}

.preview-meta-rail--inline .preview-meta-note {
  font-size: 11px;
  line-height: 1.3;
}

.preview-meta-note {
  font-family: "Noto Serif SC", serif;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.preview-item {
  padding: 14px;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
}

.preview-note {
  max-width: 26rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.preview-lineup {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.preview-lineup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.preview-lineup-item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 84px;
  padding: 10px 14px;
  border: 3px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  --tag-bg: rgba(255, 243, 181, 0.92);
  --tag-color: #8a5b10;
  --tag-line: rgba(138, 91, 16, 0.36);
}

.preview-lineup-toolmark {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "IBM Plex Mono", monospace;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 2px solid rgba(89, 80, 68, 0.16);
  border-radius: 4px 12px 4px 12px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(74, 68, 63, 0.26);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  box-shadow: none;
}

.preview-lineup-toolmark[data-tool-tone="codex"] {
  color: rgba(103, 98, 91, 0.32);
  border-color: rgba(103, 98, 91, 0.18);
  background: rgba(245, 241, 237, 0.6);
}

.preview-lineup-toolmark[data-tool-tone="claude"] {
  color: rgba(114, 97, 146, 0.34);
  border-color: rgba(114, 97, 146, 0.18);
  background: rgba(243, 238, 255, 0.58);
}

.preview-lineup-toolmark[data-tool-tone="metaso"] {
  color: rgba(76, 118, 119, 0.34);
  border-color: rgba(76, 118, 119, 0.18);
  background: rgba(232, 246, 245, 0.58);
}

.preview-lineup-toolmark[data-tool-tone="default"] {
  color: rgba(74, 68, 63, 0.26);
  border-color: rgba(89, 80, 68, 0.16);
  background: rgba(255, 255, 255, 0.5);
}

.preview-lineup-item.is-recruit {
  background:
    linear-gradient(180deg, rgba(255, 240, 181, 0.95), rgba(255, 214, 106, 0.92)),
    rgba(255, 255, 255, 0.92);
  align-content: center;
  align-items: center;
  justify-content: start;
  justify-items: start;
  place-content: center start;
  text-align: left;
}

.preview-lineup-item.is-recruit .preview-lineup-speaker {
  color: #8c2a17;
}

.preview-lineup-item.is-recruit .preview-lineup-title {
  font-size: 20px;
}


.preview-lineup-speaker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.preview-lineup-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 2px solid var(--tag-line);
  box-shadow: 1px 1px 0 rgba(20, 17, 17, 0.14);
  border-radius: var(--radius-pill);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: var(--tag-color);
  background: var(--tag-bg);
  transform: none;
}

.preview-lineup-item[data-tag-tone="0"] .preview-lineup-tag {
  background: rgba(255, 243, 181, 0.92);
  color: #8a5b10;
}

.preview-lineup-item[data-tag-tone="1"] .preview-lineup-tag {
  background: rgba(230, 240, 255, 0.94);
  color: #47648e;
}

.preview-lineup-item[data-tag-tone="2"] .preview-lineup-tag {
  background: rgba(255, 233, 240, 0.94);
  color: #9a4a60;
}

.preview-lineup-item[data-tag-tone="3"] .preview-lineup-tag {
  background: rgba(230, 245, 223, 0.94);
  color: #557443;
}

.preview-lineup-item[data-tag-tone="4"] .preview-lineup-tag {
  background: rgba(243, 235, 255, 0.94);
  color: #6a50a3;
}

.preview-lineup-item[data-tag-tone="0"] {
  --tag-bg: rgba(255, 243, 181, 0.92);
  --tag-color: #8a5b10;
  --tag-line: rgba(138, 91, 16, 0.34);
}

.preview-lineup-item[data-tag-tone="1"] {
  --tag-bg: rgba(230, 240, 255, 0.94);
  --tag-color: #47648e;
  --tag-line: rgba(71, 100, 142, 0.32);
}

.preview-lineup-item[data-tag-tone="2"] {
  --tag-bg: rgba(255, 233, 240, 0.94);
  --tag-color: #9a4a60;
  --tag-line: rgba(154, 74, 96, 0.3);
}

.preview-lineup-item[data-tag-tone="3"] {
  --tag-bg: rgba(230, 245, 223, 0.94);
  --tag-color: #557443;
  --tag-line: rgba(85, 116, 67, 0.3);
}

.preview-lineup-item[data-tag-tone="4"] {
  --tag-bg: rgba(243, 235, 255, 0.94);
  --tag-color: #6a50a3;
  --tag-line: rgba(106, 80, 163, 0.28);
}

.preview-lineup-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.preview-lineup-title-row.is-recruit {
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.preview-lineup-heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.preview-lineup-mainline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.preview-lineup-heading .preview-lineup-speaker {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.preview-lineup-title {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

.preview-lineup-recruit-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.preview-lineup-recruit-line .preview-lineup-title {
  font-size: 18px;
}

.preview-lineup-note {
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  line-height: 1;
  color: rgba(103, 58, 28, 0.76);
}

.preview-lineup-tag.is-featured {
  min-height: 30px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 1px 1px 0 rgba(20, 17, 17, 0.14);
  transform: none;
}

.entry-link,
.detail-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 3px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry-links {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
}

.entry-link {
  background: #fff;
}

.detail-toggle {
  background: linear-gradient(180deg, #fff4ba, #ffd96e);
  cursor: pointer;
}

.entry-block[data-theme="toy"]::before {
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd95f, #ffb95e);
}

.entry-card[data-theme="toy"] {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 219, 122, 0.52), transparent 16%),
    repeating-linear-gradient(145deg, rgba(27, 23, 20, 0.045) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #fff9e8 0%, #f1e0b8 100%);
}

.entry-card[data-theme="toy"] .entry-title {
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.08;
}

.entry-card[data-theme="toy"] .entry-theme-tag,
.entry-details[data-theme="toy"] .detail-title {
  color: #a94311;
}

.entry-card[data-theme="toy"] .score-chip,
.entry-details[data-theme="toy"] .detail-card,
.entry-details[data-theme="toy"] .moments-panel {
  background: rgba(255, 249, 232, 0.92);
}

.entry-card[data-theme="toy"] .score-chip[data-emphasis="core"] {
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 187, 79, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(255, 246, 205, 0.98), rgba(255, 233, 179, 0.95));
}

.entry-details[data-theme="toy"] {
  background:
    linear-gradient(180deg, rgba(255, 248, 224, 0.98), rgba(255, 242, 210, 0.96)),
    #fff5dc;
}

.entry-card[data-theme="editorial"] {
  background:
    linear-gradient(120deg, rgba(230, 236, 255, 0.96), rgba(247, 226, 233, 0.94)),
    #fffdf7;
}

.entry-block[data-theme="editorial"]::before {
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb4c3, #c8d7ff);
}

.entry-card[data-theme="editorial"] .entry-title {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.02;
}

.entry-card[data-theme="editorial"] .entry-theme-tag,
.entry-details[data-theme="editorial"] .detail-title {
  color: #bf3656;
}

.entry-card[data-theme="editorial"] .score-chip,
.entry-details[data-theme="editorial"] .detail-card,
.entry-details[data-theme="editorial"] .moments-panel {
  background: rgba(255, 252, 252, 0.9);
}

.entry-card[data-theme="editorial"] .score-chip[data-emphasis="core"] {
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 151, 164, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(255, 245, 237, 0.98), rgba(255, 228, 214, 0.96));
}

.entry-details[data-theme="editorial"] {
  background:
    linear-gradient(180deg, rgba(244, 239, 255, 0.98), rgba(235, 229, 247, 0.96)),
    #f1ebfa;
}

.entry-card[data-theme="workflow"] {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 144, 58, 0.24), transparent 16%),
    linear-gradient(180deg, #fffaf0 0%, #ebddbf 100%);
}

.entry-block[data-theme="workflow"]::before {
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, rgba(27, 23, 20, 0.08) 0 5px, transparent 5px 10px),
    linear-gradient(180deg, #ffd85f, #ff9950);
}

.entry-card[data-theme="workflow"] .entry-title {
  font-size: clamp(24px, 2.6vw, 39px);
  line-height: 1.08;
}

.entry-card[data-theme="workflow"] .entry-theme-tag,
.entry-details[data-theme="workflow"] .detail-title {
  color: #b44a15;
}

.entry-card[data-theme="workflow"] .score-chip,
.entry-details[data-theme="workflow"] .detail-card,
.entry-details[data-theme="workflow"] .moments-panel {
  background: rgba(255, 253, 248, 0.88);
}

.entry-card[data-theme="workflow"] .score-chip[data-emphasis="core"] {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 154, 80, 0.26), transparent 20%),
    linear-gradient(180deg, rgba(255, 246, 214, 0.98), rgba(255, 228, 179, 0.95));
}

.entry-details[data-theme="workflow"] {
  background:
    linear-gradient(180deg, rgba(255, 247, 230, 0.98), rgba(247, 234, 210, 0.96)),
    #faf0de;
}

.entry-card[data-theme="portal"] {
  background:
    radial-gradient(circle at 82% 18%, rgba(117, 143, 255, 0.18), transparent 16%),
    linear-gradient(180deg, #f6f1ff 0%, #e6dcf4 100%);
}

.entry-block[data-theme="portal"]::before {
  border-radius: 999px;
  background: linear-gradient(180deg, #d6baff, #9db0ff);
}

.entry-card[data-theme="portal"] .entry-title {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.08;
}

.entry-card[data-theme="portal"] .entry-theme-tag,
.entry-details[data-theme="portal"] .detail-title {
  color: #6d47b5;
}

.entry-card[data-theme="portal"] .score-chip,
.entry-details[data-theme="portal"] .detail-card,
.entry-details[data-theme="portal"] .moments-panel {
  background: rgba(250, 247, 255, 0.92);
}

.entry-card[data-theme="portal"] .score-chip[data-emphasis="core"] {
  background:
    radial-gradient(circle at 84% 18%, rgba(141, 147, 255, 0.24), transparent 20%),
    linear-gradient(180deg, rgba(255, 244, 219, 0.98), rgba(251, 232, 186, 0.95));
}

.entry-details[data-theme="portal"] {
  background:
    linear-gradient(180deg, rgba(241, 239, 255, 0.98), rgba(231, 228, 247, 0.96)),
    #eeebf8;
}

.entry-details {
  margin-top: 14px;
  padding: 20px;
  display: none;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.96), rgba(255, 249, 239, 0.96));
}

.entry-block.is-open .entry-details {
  display: block;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moments-panel {
  margin: 0;
  padding: 16px;
  border: 3px solid var(--line);
  background: #fffdf7;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.moments-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.moments-heading {
  margin: 8px 0 0;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 900;
  line-height: 1.18;
}

.moments-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.moment-card {
  padding: 14px 14px 12px;
  border: 3px solid var(--line);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  min-height: 146px;
}

.moment-card[data-tone="0"] {
  background: linear-gradient(180deg, #fff3bd, #ffe9a1);
}

.moment-card[data-tone="1"] {
  background: #e8eefb;
}

.moment-card[data-tone="2"] {
  background: #f6e3e8;
}

.moment-card[data-tone="3"] {
  background: #ebf3d9;
}

.moment-title {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 900;
  line-height: 1.22;
}

.moment-copy {
  margin: 8px 0 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
}

.detail-deck {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.detail-card,
.moments-panel {
  min-height: 248px;
}

.detail-card--moments,
.detail-card--keywords,
.detail-card--talks,
.detail-card--topics {
  grid-column: auto;
}

.detail-card {
  padding: 16px;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-card--keywords {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.98), rgba(255, 248, 231, 0.98)),
    #fffdf7;
}

.detail-card--keywords::after {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 72px;
  height: 16px;
  background: rgba(255, 212, 82, 0.5);
  border: 2px solid rgba(20, 17, 17, 0.18);
  box-shadow: 3px 3px 0 rgba(20, 17, 17, 0.16);
  transform: rotate(5deg);
  pointer-events: none;
}

.keyword-wall-head {
  position: relative;
  z-index: 1;
}

.keyword-wall-note {
  margin: 8px 0 0;
  max-width: 18rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.detail-title {
  color: #8f271c;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}

.detail-copy {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.talk-list,
.topic-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.talk-item,
.topic-item {
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #fffefd, #fff9ef);
  box-shadow: var(--shadow-sm);
}

.talk-item--link {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.talk-item--link:hover,
.talk-item--link:focus-visible {
  border-color: #8f271c;
  box-shadow: 6px 6px 0 rgba(27, 23, 20, 0.95);
  transform: translate(-2px, -2px);
}

.detail-card--topics .topic-list {
  margin-top: 10px;
  gap: 10px;
}

.talk-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.talk-speaker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b14c3f;
}

.talk-name,
.topic-name {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.24;
  color: var(--ink);
}

.talk-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  align-self: flex-start;
  margin-top: 2px;
}

.talk-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 2px solid rgba(20, 17, 17, 0.46);
  box-shadow: 1px 1px 0 rgba(20, 17, 17, 0.22);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #835248;
  background: rgba(255, 247, 216, 0.82);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transform-origin: center;
}

.talk-tag:nth-child(3n + 1) {
  background: rgba(255, 241, 181, 0.82);
  transform: rotate(-0.35deg);
}

.talk-tag:nth-child(3n + 2) {
  background: rgba(255, 227, 234, 0.82);
  transform: rotate(0.35deg);
}

.talk-tag:nth-child(3n + 3) {
  background: rgba(232, 242, 216, 0.82);
  transform: rotate(-0.25deg);
}

.topic-item {
  align-items: stretch;
  flex-direction: column;
  padding: 10px 12px;
  gap: 0;
}

.topic-name {
  font-size: 17px;
  line-height: 1.22;
  font-weight: 800;
}

.topic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.topic-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0 8px;
  border: 2px solid rgba(211, 32, 32, 0.24);
  border-radius: 999px;
  background: #fff3df;
  flex: none;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--red);
}

.topic-track {
  margin-top: 8px;
  position: relative;
  height: 12px;
  border: 3px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 3px 3px 0 rgba(20, 17, 17, 0.45);
  overflow: hidden;
  border-radius: 999px;
}

.topic-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #fff2a8 0%, #ffc642 46%, #ff8a36 76%, #e43a1d 100%);
}

.word-cloud {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-start;
  align-content: flex-start;
  position: relative;
  z-index: 1;
}

.word-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: #fff;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 900;
  line-height: 1;
  transform-origin: center;
}

.word-chip[data-weight="5"] {
  font-size: 30px;
  background: linear-gradient(180deg, #fff4ba, #ffd96e);
  transform: rotate(-1.2deg);
}

.word-chip[data-weight="4"] {
  font-size: 24px;
  background: #ffe8db;
  transform: rotate(1deg);
}

.word-chip[data-weight="3"] {
  font-size: 20px;
  background: var(--green);
  transform: rotate(-0.8deg);
}

.word-chip[data-weight="2"] {
  font-size: 16px;
  background: var(--blue);
  transform: rotate(0.9deg);
}

.word-chip[data-weight="1"] {
  font-size: 13px;
  transform: rotate(-0.4deg);
}

.quote-stickers {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: flex-start;
}

.quote-sticker {
  position: relative;
  padding: 10px 12px 10px 12px;
  border: 3px solid var(--line);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  width: fit-content;
  max-width: min(100%, 340px);
  transform-origin: center;
}

.quote-sticker::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 10px;
  width: 42px;
  height: 12px;
  background: rgba(255, 240, 203, 0.88);
  border: 2px solid rgba(20, 17, 17, 0.14);
  transform: rotate(7deg);
}

.quote-sticker[data-tone="0"] {
  background: rgba(255, 244, 186, 0.95);
  flex-basis: 54%;
  transform: rotate(-1.8deg);
  z-index: 2;
}

.quote-sticker[data-tone="1"] {
  background: rgba(237, 244, 255, 0.96);
  flex-basis: 42%;
  transform: rotate(1.4deg);
  margin-top: 10px;
  z-index: 1;
}

.quote-sticker[data-tone="2"] {
  background: rgba(255, 232, 235, 0.95);
  flex-basis: 46%;
  transform: rotate(-0.9deg);
  margin-left: 22px;
  margin-top: -4px;
  z-index: 3;
}

.quote-mark {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
  line-height: 0.8;
  color: var(--red);
}

.quote-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.artifact-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.artifact-item {
  padding: 14px;
  font-size: 14px;
  line-height: 1.75;
  background: #fff;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.trend-card {
  padding: 22px;
  overflow: hidden;
  --trend-accent: #8a4b18;
  --trend-accent-soft: rgba(255, 193, 109, 0.26);
  --trend-paper: rgba(255, 248, 229, 0.96);
  background:
    radial-gradient(circle at 86% 18%, var(--trend-accent-soft), transparent 22%),
    linear-gradient(180deg, var(--trend-paper), rgba(255, 251, 243, 0.96));
}

.trend-card[data-tone="audience"] {
  --trend-accent: #4467a3;
  --trend-accent-soft: rgba(110, 156, 255, 0.18);
  --trend-paper: rgba(239, 246, 255, 0.96);
}

.trend-card[data-tone="fit"] {
  --trend-accent: #b64835;
  --trend-accent-soft: rgba(255, 138, 110, 0.2);
  --trend-paper: rgba(255, 244, 239, 0.97);
}

.trend-card[data-tone="wow"] {
  --trend-accent: #a94311;
  --trend-accent-soft: rgba(255, 196, 76, 0.32);
  --trend-paper: rgba(255, 247, 215, 0.98);
}

.trend-card[data-tone="attendance"] {
  --trend-accent: #50752f;
  --trend-accent-soft: rgba(145, 188, 103, 0.22);
  --trend-paper: rgba(244, 249, 232, 0.97);
}

.trend-card[data-emphasis="core"] {
  box-shadow:
    0 0 0 5px rgba(255, 196, 76, 0.18),
    var(--shadow);
  transform: translateY(-3px);
}

.trend-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.trend-copy-block {
  min-width: 0;
  flex: 1 1 auto;
}

.trend-title {
  margin: 8px 0 0;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.12;
}

.trend-copy {
  margin: 10px 0 0;
  max-width: 34rem;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--muted);
}

.trend-current {
  flex: none;
  min-width: 108px;
  display: grid;
  gap: 4px;
  justify-items: end;
  padding: 10px 12px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.trend-current-value {
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1;
  color: var(--trend-accent);
}

.trend-current-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: rgba(20, 17, 17, 0.7);
}

.trend-chart-wrap {
  margin-top: 18px;
  padding: 14px 12px 10px;
  border: 3px solid rgba(27, 23, 20, 0.1);
  border-radius: calc(var(--radius-lg) + 2px);
  background: rgba(255, 255, 255, 0.66);
}

.trend-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.trend-grid-line {
  stroke: rgba(27, 23, 20, 0.14);
  stroke-width: 1.4;
  stroke-dasharray: 5 6;
}

.trend-area {
  fill: var(--trend-accent-soft);
}

.trend-line {
  fill: none;
  stroke: var(--trend-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-point-ring {
  fill: rgba(255, 255, 255, 0.92);
  stroke: var(--trend-accent);
  stroke-width: 3;
}

.trend-point.is-current .trend-point-ring {
  stroke-width: 4;
}

.trend-point-dot {
  fill: var(--trend-accent);
}

.trend-point-value,
.trend-point-label {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.trend-point-value {
  font-size: 11px;
  fill: var(--ink);
}

.trend-point-label {
  font-size: 10px;
  fill: rgba(27, 23, 20, 0.78);
  text-transform: uppercase;
}

.section {
  margin-top: 48px;
}

.section-head {
  margin-bottom: 20px;
}

.track-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.track-board--single {
  grid-template-columns: minmax(0, 1fr);
}

.track-panel {
  padding: 22px;
}

.track-item {
  padding: 16px;
}

.track-date {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.track-title {
  margin: 8px 0 0;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.track-copy {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.section-head--compact {
  margin-top: 26px;
  margin-bottom: 18px;
}

.section-head--compact h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.atmosphere-section {
  margin-top: 28px;
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.atmosphere-card {
  position: relative;
  padding: 18px 18px 16px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 205, 102, 0.18), transparent 20%),
    rgba(255, 251, 243, 0.96);
  overflow: hidden;
}

.atmosphere-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(27, 23, 20, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

.atmosphere-card[data-theme="toy"] {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 198, 92, 0.22), transparent 20%),
    linear-gradient(180deg, rgba(255, 248, 225, 0.98), rgba(255, 238, 201, 0.95));
}

.atmosphere-card[data-theme="editorial"] {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 166, 187, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(248, 244, 255, 0.98), rgba(246, 235, 240, 0.96));
}

.atmosphere-card[data-theme="workflow"] {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 164, 90, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(255, 248, 229, 0.98), rgba(247, 234, 206, 0.96));
}

.atmosphere-card[data-theme="portal"] {
  background:
    radial-gradient(circle at 84% 18%, rgba(150, 152, 255, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(243, 240, 255, 0.98), rgba(236, 229, 248, 0.96));
}

.atmosphere-top,
.atmosphere-keyword {
  font-family: "IBM Plex Mono", monospace;
}

.atmosphere-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.atmosphere-no {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--red);
}

.atmosphere-date {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: right;
  color: rgba(27, 23, 20, 0.72);
}

.atmosphere-title {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 900;
  line-height: 1.14;
}

.atmosphere-keywords {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atmosphere-keyword {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 2px solid rgba(27, 23, 20, 0.24);
  box-shadow: 1px 1px 0 rgba(20, 17, 17, 0.16);
  background: rgba(255, 255, 255, 0.84);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  font-family: "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.atmosphere-keyword:nth-child(5n + 1) {
  background: rgba(255, 242, 170, 0.92);
  transform: rotate(-1deg);
}

.atmosphere-keyword:nth-child(5n + 2) {
  background: rgba(255, 232, 238, 0.92);
  transform: rotate(0.8deg);
}

.atmosphere-keyword:nth-child(5n + 3) {
  background: rgba(235, 243, 217, 0.92);
  transform: rotate(-0.6deg);
}

.atmosphere-keyword:nth-child(5n + 4) {
  background: rgba(232, 238, 251, 0.92);
  transform: rotate(0.7deg);
}

.atmosphere-keyword:nth-child(5n + 5) {
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(-0.35deg);
}

.atmosphere-copy {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.atmosphere-quote {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  padding: 12px 14px 12px 16px;
  border: 3px solid var(--line);
  box-shadow: 2px 2px 0 rgba(20, 17, 17, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.atmosphere-quote-mark {
  display: block;
  margin-bottom: 4px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 0.8;
  color: var(--red);
}

.atmosphere-quote p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.host-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.host-notes-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}

.host-note-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 205, 102, 0.2), transparent 22%),
    rgba(255, 251, 243, 0.96);
}

.host-note-card[data-tone="rebuild"] {
  background:
    radial-gradient(circle at 86% 14%, rgba(122, 165, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(243, 247, 255, 0.98), rgba(234, 240, 252, 0.96));
}

.host-note-card[data-tone="wow"] {
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 196, 76, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 249, 226, 0.98), rgba(255, 239, 202, 0.95));
}

.host-note-card[data-tone="human"] {
  background:
    radial-gradient(circle at 86% 14%, rgba(136, 184, 112, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(246, 249, 238, 0.98), rgba(234, 242, 221, 0.96));
}

.host-note-top {
  display: grid;
  gap: 8px;
}

.host-note-title {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.16;
}

.host-note-copy,
.host-note-closing {
  margin: 0;
  font-size: 16px;
  line-height: 1.82;
  color: var(--muted);
}

.host-note-quote {
  margin: 0;
  padding: 14px 16px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.74);
}

.host-note-quote-mark,
.host-note-quote cite,
.host-note-list-label,
.host-note-example-label {
  font-family: "IBM Plex Mono", monospace;
}

.host-note-quote-mark {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 0.8;
  color: var(--red);
}

.host-note-quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 700;
}

.host-note-quote cite {
  margin-top: 10px;
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 23, 20, 0.68);
}

.host-note-list-block,
.host-note-example-block {
  display: grid;
  gap: 10px;
}

.host-note-list-label,
.host-note-example-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

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

.host-note-list-item,
.host-note-example-chip {
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.84);
}

.host-note-list-item {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.72;
}

.host-note-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.host-note-example-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.host-note-closing {
  margin-top: auto;
  padding-top: 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .track-board,
  .detail-grid,
  .entry-scoreband,
  .chip-row,
  .entry-grid,
  .host-notes-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 860px) {
  .trend-grid,
  .atmosphere-grid,
  .detail-deck,
  .moments-list,
  .preview-meta-grid {
    grid-template-columns: 1fr;
  }

  .trend-card-head {
    flex-direction: column;
  }

  .trend-current {
    width: 100%;
    justify-items: start;
  }

  .preview-meta-rail,
  .preview-meta-rail--inline {
    position: static;
    margin-top: 0;
    width: auto;
    grid-template-columns: 1fr;
    flex: 1 1 100%;
  }

  .preview-focus-card {
    padding-right: 18px;
  }

  .entry-top--preview {
    display: flex;
    flex-wrap: wrap;
  }

  .quote-stickers {
    display: grid;
    grid-template-columns: 1fr;
  }

  .host-note-card {
    padding: 18px;
  }

  .host-note-example-chip {
    min-height: 40px;
    width: 100%;
  }

  .quote-sticker,
  .quote-sticker[data-tone="0"],
  .quote-sticker[data-tone="1"],
  .quote-sticker[data-tone="2"] {
    max-width: 100%;
    flex-basis: auto;
    margin: 0;
    transform: none;
  }

  .detail-card,
  .moments-panel,
  .moment-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .topbar,
  .page-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .topbar {
    padding: 10px 12px;
    align-items: start;
    flex-direction: column;
  }

  .entry-footer {
    align-items: start;
  }

  .entry-top {
    gap: 12px;
  }

  .entry-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .entry-links {
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
  }

  .archive-main {
    padding-left: 30px;
  }

  .archive-main::before {
    left: 8px;
  }

  .entry-block::before {
    left: -28px;
  }
}
