/* ==========================================================================
   SUWON ALPACA — 2026-10-04 maturity pass (screen only)
   One step less kitsch: thinner strokes, flat chips, words instead of emoji
   in the chrome, and the vector alpaca wherever an illustration used to be.
   Print keeps its own sheet in style.css, so everything here is screen-scoped.
   ========================================================================== */
@media screen {
  body, .hof-body { background: var(--paper); }
  .select-sort { min-height: 2.75rem; }

  /* ---- buttons: 2px ink, small offset, same lift ----------------------- */
  .btn {
    border-width: 2px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
  }
  .btn:hover { box-shadow: var(--shadow-md); }
  .btn:active { box-shadow: none; }

  /* ---- filter & suggestion chips share one quiet recipe --------------- */
  .district-tab-btn, .theme-filter-item, .zone-filter-chip, .badge-filter-chip,
  .cat-chip, .complaint-chip, .quick-chip, .empty-suggest-chip {
    border: 1.5px solid rgba(27, 26, 23, 0.55);
    background: var(--paper-card);
    color: var(--ink);
    font-weight: 700;
    box-shadow: none;
  }
  .district-tab-btn:hover, .theme-filter-item:hover, .zone-filter-chip:hover, .badge-filter-chip:hover,
  .cat-chip:hover, .complaint-chip:hover, .quick-chip:hover, .empty-suggest-chip:hover {
    border-color: var(--ink);
    box-shadow: none;
    transform: none;
    background: var(--paper-tint);
  }
  .district-tab-btn.active, .theme-filter-item.active, .zone-filter-chip.active, .badge-filter-chip.active,
  .cat-chip.active, .complaint-chip.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    box-shadow: none;
  }
  .district-label, .zone-filter-label, .badge-filter-label {
    font-size: var(--step--1);
    font-weight: 800;
    color: var(--ink-soft);
    min-width: 2.5rem;
  }

  /* ---- hall-of-fame invitation: a strip of nori ------------------------ */
  .vip-hof-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.5rem);
    background: var(--nori);
    color: var(--rice);
    border: var(--line-base);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .vip-hof-banner:hover { transform: none; box-shadow: var(--shadow-md); }
  .vip-hof-banner::before, .vip-hof-banner::after { display: none; }
  .vip-hof-mascot {
    width: clamp(6.5rem, 9vw, 8.5rem);
    margin: -0.5rem 0 -1.85rem;
    align-self: end;
  }
  .vip-hof-title {
    font-size: var(--step-3);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-wrap: balance;
    color: var(--rice);
  }
  .vip-hof-desc {
    margin-top: 0.4rem;
    max-width: 40rem;
    font-size: var(--step-0);
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 253, 246, 0.86);
  }
  .vip-hof-legends-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.85rem;
    list-style: none;
  }
  .vip-hof-banner .hof-chip {
    padding: 0.2rem 0.65rem;
    border: 1.5px solid rgba(255, 253, 246, 0.4);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--rice);
    font-size: var(--step--1);
    font-weight: 600;
    box-shadow: none;
  }
  .vip-hof-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius-pill);
    background: var(--butter);
    color: var(--ink);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: none;
    transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-fast) var(--ease-smooth);
  }
  .vip-hof-cta-btn:hover { background: #ffdc3d; transform: translateY(-2px); }

  /* ---- AI lounge -------------------------------------------------------- */
  .ai-aside-card {
    background: var(--butter);
    border: var(--line-base);
    box-shadow: none;
    padding: 1rem 1rem 0;
    justify-content: flex-end;
  }
  .ai-aside-card::before { display: none; }
  .ai-alpaca { width: min(100%, 15rem); }
  .ai-title-wrap strong { font-weight: 800; letter-spacing: -0.025em; }
  .ai-loading-box { display: grid; gap: 0.25rem; }
  .ai-loading-box small { color: var(--ink-soft); font-size: var(--step--1); }

  /* ---- discover banner: words only, on paper --------------------------- */
  .discover-banner {
    grid-template-columns: minmax(0, 1fr);
    background: var(--paper);
  }
  .discover-title { font-weight: 800; letter-spacing: -0.03em; }
  .discover-desc { color: var(--ink-soft); }

  /* ---- roulette & empty states ----------------------------------------- */
  .roulette-mascot { width: 9.5rem; margin: -0.5rem auto 0; }
  .roulette-lede { margin-bottom: 0.6rem; font-size: var(--step-0); font-weight: 700; }
  .fav-empty-mascot-wrap { display: block; width: 10.5rem; margin: 0 auto 0.75rem; }
  .empty-state-title { font-weight: 800; letter-spacing: -0.02em; }
  .empty-state-desc {
    max-width: 30rem;
    margin: 0.5rem auto 0;
    font-size: var(--step-0);
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink-soft);
  }

  .load-more-btn { min-width: 14rem; min-height: 3.25rem; font-size: var(--step-1); }

  /* ---- mobile dock: stroke icons ---------------------------------------- */
  .mobile-floating-dock { border: 2px solid var(--ink); box-shadow: 0 12px 28px rgba(27, 26, 23, 0.28); }
  .dock-icon { width: 1.35rem; height: 1.35rem; font-size: inherit; }
  .dock-btn-hof { color: var(--butter); }
  .dock-btn:hover, .dock-btn:active { background: rgba(255, 253, 246, 0.14); transform: none; }


  /* ---- hall of fame hero: same butter wall, crowned alpaca ------------- */
  .hof-hero-section {
    background-color: var(--butter);
    background-image: radial-gradient(rgba(27, 26, 23, 0.07) 1.2px, transparent 1.3px);
    background-size: 18px 18px;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
  }
  .hof-hero-mascot { width: clamp(8rem, 12vw, 10.5rem); margin: 0 auto 0.25rem; }
  .hof-hero-content .hero-kicker { justify-content: center; }
  .hof-title {
    font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    text-wrap: balance;
  }
  .hof-title .title-line { display: block; }
  .hof-desc { font-weight: 500; color: var(--ink); max-width: 36rem; }
  .hof-stats-bar {
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: center;
    gap: 0 clamp(1.5rem, 5vw, 3.5rem);
  }
  .hof-stat {
    display: flex;
    flex-direction: column-reverse;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .hof-stat dd { font-size: var(--step-3); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
  .hof-stat dt { margin-top: 0.2rem; font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); }
  .hof-header .ribbon-pills { overflow: visible; }

  /* ---- footer ----------------------------------------------------------- */
  .footer { background: var(--nori); }
  .footer-mark {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border: 2px solid var(--rice);
    border-radius: 50%;
    background: var(--butter);
    overflow: hidden;
  }
  .footer-mark svg { width: 120%; height: 120%; margin: 16% 0 0 -10%; }
  .footer-sub { color: rgba(255, 253, 246, 0.8); }
  .footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.25rem;
    margin-top: 1.25rem;
  }
  .footer-meta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--rice);
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-color: rgba(255, 253, 246, 0.4);
  }
}

@media screen and (max-width: 860px) {
  .vip-hof-banner { grid-template-columns: auto minmax(0, 1fr); }
  .vip-hof-cta-btn { grid-column: 1 / -1; justify-content: center; }
  .vip-hof-mascot { width: 5.5rem; margin-bottom: 0; align-self: start; }
  .ai-aside-card { max-height: none; aspect-ratio: auto; flex-direction: row; justify-content: center; }
  .ai-alpaca { width: 9rem; }
}

@media screen {
  .toast-mark { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--butter); overflow: hidden; flex-shrink: 0; }
  .toast-mark svg { width: 120%; height: 120%; margin-top: 18%; }
  .roulette-mascot { margin-bottom: 0.35rem; }
}
