:root {
  --bg: #0c0d12;
  --card: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #a6adbb;
  --muted-2: #7f8795;
  --accent: #7c5cff;
  --accent-2: #2dd4bf;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.3), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(45, 212, 191, 0.17), transparent 28rem),
    linear-gradient(180deg, var(--bg), #08090d 70%);
  color: var(--text);
  line-height: 1.65;
}

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

code,
pre {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

.product-bar {
  position: relative;
  z-index: 11;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 9, 13, 0.55);
  backdrop-filter: blur(14px);
}

.product-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
}

.product-bar-label {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s ease;
}

a.product-bar-label:hover {
  color: var(--text);
}

.product-bar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
}

.product-bar-nav a {
  position: relative;
  color: var(--muted);
  transition: color 0.15s ease;
}

.product-bar-nav a::after {
  content: "↗";
  margin-left: 6px;
  color: var(--muted-2);
  font-size: 0.78rem;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.product-bar-nav a:hover {
  color: var(--text);
}

.product-bar-nav a.active {
  color: var(--text);
}

.product-bar-nav a:hover::after {
  color: var(--accent-2);
  transform: translate(1px, -1px);
}

.product-bar-nav a.active::after {
  color: var(--accent-2);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

.brand-tagline {
  display: inline-block;
  margin: 0;
  max-width: 36rem;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: right;
  text-shadow: 0 8px 24px rgba(124, 92, 255, 0.18);
  transform: translateY(-14px) rotate(-4deg);
  transform-origin: right center;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

main,
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 80px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #cbd1dc;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn,
.command-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 740;
  cursor: pointer;
}

.btn.primary,
.command-card button {
  background: linear-gradient(135deg, var(--accent), #5d8bff);
  color: #fff;
  box-shadow: 0 14px 38px rgba(124, 92, 255, 0.32);
}

.btn.ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.note,
.install-note,
.install-migration,
.section-head p,
.section p,
.faq p {
  color: var(--muted);
}

.install-migration {
  box-sizing: border-box;
  max-width: 640px;
  margin: 1.25rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.install-migration strong {
  color: #d7dde8;
  font-weight: 700;
}

.hero-card {
  perspective: 1200px;
}

.window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  transform: rotateY(-8deg) rotateX(3deg);
}

.traffic {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.traffic span:nth-child(1) {
  background: #ff5f56;
}

.traffic span:nth-child(2) {
  background: #ffbd2e;
}

.traffic span:nth-child(3) {
  background: #27c93f;
}

.player-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 300px;
}

.player-preview aside {
  padding: 16px 14px;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.player-preview aside p {
  margin: 8px 0;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.player-preview aside .active {
  background: rgba(124, 92, 255, 0.22);
  color: var(--text);
}

.player-preview section {
  padding: 22px 20px;
}

.now {
  margin-bottom: 18px;
  font-size: 1.45rem;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 64px;
  margin-bottom: 18px;
}

.bars span {
  width: 20%;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.bars span:nth-child(1) {
  height: 40%;
}

.bars span:nth-child(2) {
  height: 78%;
}

.bars span:nth-child(3) {
  height: 55%;
}

.bars span:nth-child(4) {
  height: 90%;
}

.bars span:nth-child(5) {
  height: 62%;
}

.player-preview ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-preview li {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #dbe1eb;
  font-size: 0.92rem;
}

.player-preview li span {
  color: var(--muted-2);
}

.section {
  padding: 84px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.cards article,
.panel,
.command-card,
.terminal,
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.cards article {
  padding: 24px;
}

.cards article p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.section.split.audio-output {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
}

.audio-output-shot {
  justify-self: end;
  width: min(100%, 540px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow);
}

.audio-output-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 28px;
  color: #d7dde8;
}

.checks li::before {
  position: absolute;
  left: 0;
  color: var(--accent-2);
  content: "✓";
}

.panel {
  padding: 26px;
}

.field-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.field-row span {
  color: var(--muted);
}

.field-row.ok strong {
  color: var(--accent-2);
}

.install {
  text-align: center;
}

.install .section-head {
  margin-right: auto;
  margin-left: auto;
}

.command-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 850px;
  margin: 0 auto 16px;
  padding: 14px;
  text-align: left;
}

.command-card code {
  overflow-x: auto;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: #e9edff;
  white-space: nowrap;
}

.command-card button {
  border: 0;
  font: inherit;
}

.terminal {
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  color: #dffcf6;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.12), transparent),
    rgba(0, 0, 0, 0.42);
}

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 12px;
  padding: 20px 22px;
}

.faq summary {
  font-weight: 740;
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 46px;
  color: var(--muted);
}

.footer-roadmap {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.footer-roadmap-label {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-roadmap-copy {
  margin: 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.footer-roadmap-copy strong {
  color: #d7dde8;
  font-weight: 700;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--text);
  font-weight: 700;
}

.trend-page {
  padding-top: 0;
  padding-bottom: 72px;
}

.trend-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.region-list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 6px;
}

.region-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.region-chip:hover {
  border-color: rgba(45, 212, 191, 0.45);
  color: var(--text);
}

.region-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #5d8bff);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 92, 255, 0.28);
}

.updated-at {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.trend-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 110px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.trend-status[hidden] {
  display: none;
}

.trend-status.error {
  border-color: rgba(255, 95, 86, 0.4);
  color: #ffb4ae;
}

.loading-spinner {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent-2);
  border-radius: 50%;
  animation: hay-spin 0.8s linear infinite;
}

@keyframes hay-spin {
  to {
    transform: rotate(360deg);
  }
}

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

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.video-card:hover {
  border-color: rgba(124, 92, 255, 0.45);
  transform: translateY(-2px);
}

.video-card-thumb {
  display: block;
  width: 100%;
  height: 192px;
  object-fit: cover;
}

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

.video-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.36;
  letter-spacing: -0.02em;
}

.video-card-title a:hover {
  color: var(--accent-2);
}

.video-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.video-card-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 760;
  cursor: pointer;
}

.video-card-link:hover {
  color: var(--text);
}

.video-card-desc {
  margin: 12px 0 0;
  color: #cbd1dc;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

@media (max-width: 920px) {
  .hero,
  .split,
  .section.split.audio-output {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .window {
    transform: none;
  }

  .audio-output-shot {
    justify-self: center;
    width: min(100%, 640px);
  }

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

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

@media (max-width: 680px) {
  .product-bar-inner {
    padding: 8px 18px;
  }

  .product-bar-nav {
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .brand-tagline {
    max-width: 100%;
    text-align: left;
    font-size: 1.05rem;
    transform: translateY(-8px) rotate(-4deg);
    transform-origin: left center;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  main,
  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .cards,
  .player-preview,
  .command-card,
  .trend-grid {
    grid-template-columns: 1fr;
  }

  .trend-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .updated-at {
    align-self: flex-end;
  }

  .player-preview aside {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .section {
    padding: 60px 0;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.summary-page {
  padding-top: 0;
  padding-bottom: 72px;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 28px;
  align-items: start;
}

.summary-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.summary-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.summary-form label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-input {
  flex: 1 1 320px;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.summary-input::placeholder {
  color: var(--muted-2);
}

.summary-input:focus {
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
  outline: none;
}

#summary-submit:disabled {
  opacity: 0.55;
  cursor: progress;
}

.summary-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.summary-status[hidden] {
  display: none;
}

.summary-status.error {
  border-color: rgba(255, 95, 86, 0.4);
  color: #ffb4ae;
}

.summary-result {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.summary-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.summary-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.summary-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.summary-card-head {
  padding: 18px 24px;
  background:
    linear-gradient(135deg, rgba(105, 84, 231, 0.92), rgba(38, 181, 167, 0.78)),
    var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-card-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.24rem;
  font-weight: 860;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.summary-card-meta {
  margin: 0;
  padding: 18px 24px 0;
  text-align: right;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.summary-body {
  padding: 12px 24px 24px;
  color: #d7dde8;
  font-size: 0.98rem;
  line-height: 1.7;
}

.summary-body h1,
.summary-body h2,
.summary-body h3,
.summary-body h4 {
  margin: 1.2em 0 0.4em;
  letter-spacing: -0.02em;
}

.summary-body h2 {
  font-size: 1.2rem;
}

.summary-body h3 {
  font-size: 1.05rem;
}

.summary-body p {
  margin: 0 0 0.9em;
}

.summary-body ul {
  margin: 0 0 0.9em;
  padding-left: 1.2em;
}

.summary-body li {
  margin-bottom: 4px;
}

.summary-body code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
  font-size: 0.9em;
}

.summary-error-line {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 95, 86, 0.4);
  border-radius: 14px;
  color: #ffb4ae;
  background: rgba(255, 95, 86, 0.08);
}

.summary-script-toggle {
  text-align: center;
}

.summary-script {
  margin: 0;
  padding: 18px 20px;
  overflow: auto;
  max-height: 360px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  color: #cbd1dc;
  font-size: 0.85rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.summary-recent {
  position: sticky;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.summary-recent-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.summary-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-recent-head a {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 760;
}

.summary-recent-head a:hover {
  color: var(--text);
}

.summary-recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-recent-empty {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.summary-recent-item a {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.summary-recent-item a:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.08);
}

.summary-recent-item img {
  display: block;
  width: 100%;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.summary-recent-title {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-all-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.summary-all-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.summary-all-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.summary-all-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-all-grid .summary-recent-empty {
  grid-column: 1 / -1;
}

.summary-all-card a {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.summary-all-card a:hover {
  border-color: rgba(124, 92, 255, 0.45);
  transform: translateY(-2px);
}

.summary-all-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.summary-all-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.summary-all-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-all-card p {
  margin: 12px 0 18px;
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-all-card span {
  margin-top: auto;
  color: var(--accent-2);
  font-size: 0.86rem;
  font-weight: 760;
}

.summary-all-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.summary-all-pagination button {
  min-width: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.summary-all-pagination button:hover:not(:disabled),
.summary-all-pagination button[aria-current="page"] {
  border-color: rgba(45, 212, 191, 0.65);
  background: rgba(45, 212, 191, 0.12);
  color: var(--text);
}

.summary-all-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 920px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-recent {
    position: static;
  }

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

@media (max-width: 680px) {
  .summary-form {
    padding: 18px;
  }

  .summary-card-head {
    padding: 16px 18px;
  }

  .summary-card-head h2 {
    font-size: 1.2rem;
  }

  .summary-card-meta {
    padding: 16px 18px 0;
    text-align: left;
  }

  .summary-body {
    padding: 10px 18px 18px;
  }

  .summary-all-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-all-grid {
    grid-template-columns: 1fr;
  }

  .summary-all-card-body {
    padding: 16px;
  }
}
