/* SO3D model pages (changelog #316): models.php -- the model hub, category
   pages and one page per Showcase model. The first part is the shared site
   shell copied from showcase.php (nav, backdrop, buttons, section heads,
   reveal, back-to-top, 360° tour popup, pagination, footer, site search);
   the model-page styles follow it. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0b;
  --panel: #111113;
  --panel-2: #151517;
  --line: rgba(255,255,255,0.07);
  --line-strong: rgba(255,255,255,0.12);
  --accent: #f5ff00;
  --accent-dim: rgba(245,255,0,0.15);
  --text: #f5f5f7;
  --muted: #86868b;
  --muted-2: #5a5a60;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  padding-bottom: 2rem;
}

.mono { font-family: 'JetBrains Mono', monospace; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; }

/* ============ BACKDROP ============ */
.noise {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg-lines {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
}
.accent-glow {
  position: fixed; top: -30%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(circle, rgba(245,255,0,0.08) 0%, transparent 65%);
  filter: blur(60px); z-index: -1; pointer-events: none;
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed; right: 2rem; top: 50%; transform: translateY(-50%);
  width: 2px; height: 200px; background: rgba(255,255,255,0.06);
  border-radius: 2px; z-index: 40; pointer-events: none;
}
.scroll-fill {
  width: 100%; height: 0%; background: var(--accent); border-radius: 2px;
  box-shadow: 0 0 15px var(--accent); transition: height 0.1s linear;
}

/* ============ NAVBAR ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,11,0.7);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; }
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
}
.brand-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  display: grid; place-items: center;
  filter: drop-shadow(0 0 10.6px rgba(245,255,0,0.55));
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

.brand-word {
  color: transparent; font-weight: 900;
  letter-spacing: 0.12em;
  -webkit-text-stroke: 1.3px var(--text);
}
@supports not (-webkit-text-stroke: 1px black) {
  .brand-word { color: var(--text); -webkit-text-stroke: 0; }
}
.nav-menu { display: flex; gap: 2.2rem; align-items: center; }
.nav-menu a { color: var(--muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; position: relative; }
.nav-menu a:hover { color: var(--text); }
.nav-menu .nav-disabled { color: var(--muted-2); font-size: 0.875rem; font-weight: 500; cursor: default; user-select: none; }
.nav-menu a.active { color: var(--text); }
.nav-menu a.active::before {
  content: ''; position: absolute; left: -12px; top: 50%;
  transform: translateY(-50%); width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}
.nav-right { display: flex; gap: 0.7rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 1.15rem; font-size: 0.8rem; font-weight: 600;
  border-radius: 100px; text-decoration: none; border: 1px solid transparent;
  transition: all 0.25s ease; cursor: pointer; letter-spacing: -0.01em;
  white-space: nowrap; font-family: inherit;
}
.btn-accent { background: var(--accent); color: #000; font-weight: 700; }
.btn-accent:hover { box-shadow: 0 0 40px rgba(245,255,0,0.5); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.03); }

/* ============ SECTION HEADERS ============ */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 3rem; margin-bottom: 4rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.section-head h1, .section-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; max-width: 640px; }
.section-head p { color: var(--muted); font-size: 1rem; max-width: 380px; line-height: 1.6; }
.section-index {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: 1rem; display: block;
}

/* ============ GLOBAL: REVEAL-ON-SCROLL + BACK-TO-TOP ============ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view { transition-delay: var(--rd, 0s); }

.back-to-top {
  position: fixed; right: 1.75rem; bottom: 1.75rem; z-index: 45;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line-strong);
  color: var(--text); display: grid; place-items: center;
  cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 25px rgba(245,255,0,0.25); }


.tour-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(5,5,6,0.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.tour-overlay.show { opacity: 1; pointer-events: auto; }
.tour-modal {
  width: 80vw; height: 80vh;
  background: #000; border: 1px solid var(--line-strong, var(--line)); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden; position: relative;
  transform: scale(0.97); transition: transform 0.18s ease;
}
.tour-overlay.show .tour-modal { transform: scale(1); }
.tour-modal iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.tour-modal-close {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(5,5,6,0.7); color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.tour-modal-close:hover { background: rgba(5,5,6,0.9); }

.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
.empty-state i { font-size: 2rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state p { font-size: 0.9rem; max-width: 420px; margin: 0 auto; line-height: 1.6; }


.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.pagination .page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; height: 2.4rem; padding: 0 0.6rem; box-sizing: border-box;
  border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--text); font-family: inherit; font-size: 0.82rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.2s ease;
}
.pagination a.page-btn:hover { border-color: rgba(245,255,0,0.4); color: var(--accent); background: rgba(245,255,0,0.08); }
.pagination .page-btn.current {
  border-color: rgba(245,255,0,0.35); background: rgba(245,255,0,0.12); color: var(--accent); cursor: default;
}
.pagination .page-btn.disabled { opacity: 0.35; cursor: default; }
.pagination .page-gap { color: var(--muted); font-size: 0.82rem; padding: 0 0.15rem; }


/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--line); padding: 4rem 0 2.5rem; position: relative; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.foot-brand p { color: var(--muted); font-size: 0.9rem; max-width: 280px; margin-top: 1.2rem; line-height: 1.6; }
.foot-status { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.4rem; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--muted); }
.foot-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.foot-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 1.4rem; font-weight: 500; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.foot-col a { color: var(--text); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1.5rem; }
.foot-bottom p { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--muted); }
.socials { display: flex; gap: 1rem; }
.socials a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.socials a:hover { color: var(--accent); }


/* ============ SITE SEARCH ============ */
.search-trigger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; border: none; background: transparent;
  color: var(--muted); cursor: pointer; transition: color 0.2s, background 0.2s; font-size: 0.9rem;
  padding: 0;
}
.search-trigger:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,5,6,0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 1.5rem 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.search-overlay.show { opacity: 1; pointer-events: auto; }

.search-modal {
  width: 100%; max-width: 560px; background: var(--panel-2, var(--panel));
  border: 1px solid var(--line-strong, var(--line)); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden;
  transform: translateY(-8px); transition: transform 0.18s ease;
}
.search-overlay.show .search-modal { transform: translateY(0); }

.search-input-wrap {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--line);
}
.search-input-wrap i.fa-magnifying-glass { color: var(--muted); font-size: 0.9rem; }
.search-input-wrap input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 0.95rem; font-family: inherit;
}
.search-input-wrap input::placeholder { color: var(--muted); }
.search-kbd {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px; padding: 0.15rem 0.4rem;
  cursor: pointer; background: transparent;
}
.search-kbd:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

.search-results { max-height: 56vh; overflow-y: auto; padding: 0.5rem; }
.search-result {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.65rem 0.75rem; border-radius: 9px; text-decoration: none; color: var(--text);
}
.search-result:hover, .search-result.active { background: rgba(255,255,255,0.05); }
.search-result-type {
  flex-shrink: 0; margin-top: 0.15rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--accent); background: rgba(245,255,0,0.08);
  border: 1px solid rgba(245,255,0,0.25); border-radius: 5px; padding: 0.15rem 0.4rem; white-space: nowrap;
}
.search-result-body { min-width: 0; }
.search-result-title { display: block; font-size: 0.88rem; font-weight: 600; }
.search-result-snippet {
  display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.search-empty { padding: 1.5rem 1rem; text-align: center; color: var(--muted); font-size: 0.85rem; }
.search-viewall {
  display: block; text-align: center; padding: 0.7rem; margin-top: 0.25rem;
  font-size: 0.8rem; color: var(--accent); text-decoration: none; font-weight: 600;
  border-top: 1px solid var(--line);
}
.search-viewall:hover { text-decoration: underline; }

/* ============ MODEL PAGES (#316) ============ */
.mp-main { padding-top: 2.2rem; padding-bottom: 6rem; }
.mp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 1.8rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.mp-crumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.mp-crumbs a:hover { color: var(--accent); }
.mp-crumbs .sep { opacity: 0.45; }
.mp-crumbs [aria-current] { color: var(--text); }

/* one model */
.mp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3rem; align-items: start; }
.mp-figure { position: relative; aspect-ratio: 395 / 360; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #1c1c20, #0c0c0e 72%); }
.mp-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-figure .mp-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted-2); font-size: 3rem; }
.mp-figure .mp-flag { position: absolute; top: 0.85rem; left: 0.85rem; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.7rem; border-radius: 100px; background: var(--accent); color: #000; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em; }
.mp-view-btns, .mp-cta, .mp-reacts { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.mp-view-btns { margin-top: 1rem; }
.mp-pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.95rem; border-radius: 100px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); color: var(--text);
  font-family: inherit; font-size: 0.8rem; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: all 0.2s ease; }
.mp-pill i { font-size: 0.8rem; }
.mp-pill:hover { border-color: rgba(245,255,0,0.45); color: var(--accent); background: rgba(245,255,0,0.06); }
.mp-pill.active { border-color: rgba(245,255,0,0.4); background: rgba(245,255,0,0.12); color: var(--accent); }
.mp-pill .count { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; }
.mp-pill.guest { opacity: 0.55; }
.mp-info .cd-chips { margin-bottom: 1rem; }
.mp-info h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.mp-purpose { margin-top: 0.8rem; color: var(--accent); font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
.mp-desc { margin-top: 0.9rem; color: #c9c9ce; font-size: 1.02rem; line-height: 1.7; max-width: 62ch; }
.mp-cta { margin-top: 1.7rem; }
.mp-cta .btn { padding: 0.8rem 1.4rem; font-size: 0.9rem; }
.mp-reacts { margin-top: 1rem; }
.mp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 2rem;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mp-spec { background: var(--bg); padding: 0.9rem 1.1rem; min-width: 0; }
.mp-spec dt { font-family: 'JetBrains Mono', monospace; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted); }
.mp-spec dd { margin-top: 0.3rem; font-size: 0.95rem; font-weight: 600; overflow-wrap: anywhere; }
.mp-spec dd a { color: var(--text); text-decoration: none; border-bottom: 1px dashed rgba(245,255,0,0.45); }
.mp-spec dd a:hover { color: var(--accent); }
.mp-spec.wide { grid-column: 1 / -1; }

.mp-section { margin-top: 4.5rem; }
.mp-section > h2, .mp-cols h2 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.1rem; }
.mp-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
.mp-list { list-style: none; display: grid; gap: 0.65rem; }
.mp-list li { position: relative; padding-left: 1.35rem; color: #d4d4d8; line-height: 1.55; }
.mp-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 8px rgba(245,255,0,0.55); }
.mp-text { color: #c9c9ce; line-height: 1.7; }
.mp-text + .mp-text { margin-top: 0.8rem; }
.mp-qa { border-top: 1px solid var(--line); }
.mp-qa-item { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr); gap: 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.mp-qa-item h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.mp-qa-item p { color: #c9c9ce; line-height: 1.65; }

/* model cards (related, category, hub) */
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.mp-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  color: var(--text); text-decoration: none; background: rgba(255,255,255,0.015); transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.mp-card:hover { border-color: rgba(245,255,0,0.35); background: rgba(255,255,255,0.03); transform: translateY(-3px); }
.mp-card-img { aspect-ratio: 395 / 360; background: #0d0d0f; border-bottom: 1px solid var(--line); }
.mp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-card-img .mp-ph { display: grid; place-items: center; height: 100%; color: var(--muted-2); font-size: 1.8rem; }
.mp-card-body { display: grid; gap: 0.3rem; padding: 0.85rem 1rem 1rem; }
.mp-card-title { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.mp-card-sub { font-size: 0.8rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-card-meta { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; color: var(--muted); letter-spacing: 0.02em; }
.mp-card-meta .tpl { color: var(--accent); }

/* hub + category */
.mp-intro-stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: -2.4rem 0 2.6rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; color: var(--muted); }
.mp-intro-stats b { color: var(--text); font-weight: 600; }
.mp-cat-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: -1.4rem 0 2.4rem; }
.mp-cat-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.85rem; border-radius: 100px; border: 1px solid var(--line);
  color: var(--muted); font-size: 0.78rem; text-decoration: none; transition: all 0.2s; }
.mp-cat-chip:hover, .mp-cat-chip.active { color: var(--accent); border-color: rgba(245,255,0,0.4); background: rgba(245,255,0,0.08); }
.mp-cat-chip .n { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; opacity: 0.8; }
.mp-group { margin-top: 3.2rem; }
.mp-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.8rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.mp-group-head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.mp-group-head span { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.mp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.85rem; }
.mp-tile { display: flex; align-items: center; gap: 0.9rem; min-width: 0; padding: 0.65rem; border: 1px solid var(--line); border-radius: 14px;
  color: var(--text); text-decoration: none; background: rgba(255,255,255,0.015); transition: border-color 0.2s, background 0.2s; }
.mp-tile:hover { border-color: rgba(245,255,0,0.35); background: rgba(255,255,255,0.03); }
.mp-tile img, .mp-tile .mp-ph { width: 66px; height: 60px; flex-shrink: 0; border-radius: 9px; object-fit: cover; background: #0d0d0f; display: grid; place-items: center; color: var(--muted-2); }
.mp-tile strong { display: block; font-size: 0.92rem; line-height: 1.3; }
.mp-tile span { font-size: 0.76rem; color: var(--muted); }
.mp-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; margin-top: 5rem; padding: 2.2rem 2.4rem;
  border: 1px solid rgba(245,255,0,0.25); border-radius: 18px; background: radial-gradient(ellipse at 0% 0%, rgba(245,255,0,0.09), transparent 60%), var(--panel); }
.mp-band h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.mp-band p { margin-top: 0.4rem; color: var(--muted); max-width: 56ch; line-height: 1.6; }
.mp-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
.mp-404 { padding: 5rem 0 3rem; max-width: 640px; }
.mp-404 h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.mp-404 p { color: var(--muted); margin: 1rem 0 1.8rem; line-height: 1.6; }

@media (max-width: 1100px) {
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .scroll-progress { display: none; }
}
@media (max-width: 900px) {
  .mp-hero { grid-template-columns: 1fr; gap: 1.8rem; }
  .mp-cols { grid-template-columns: 1fr; gap: 2.4rem; }
  .mp-qa-item { grid-template-columns: 1fr; gap: 0.45rem; }
}
@media (max-width: 768px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .nav-menu { display: none; }
  .nav-right { gap: 0.4rem; }
  .nav-right .btn { padding: 0.5rem 0.75rem; font-size: 0.72rem; }
  .mp-main { padding-top: 1.4rem; }
  .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .mp-card-body { padding: 0.7rem 0.75rem 0.8rem; }
  .mp-card-title { font-size: 0.86rem; }
  .mp-band { padding: 1.6rem 1.4rem; }
  .mp-section { margin-top: 3.5rem; }
  .tour-modal { width: 94vw; height: 76vh; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .back-to-top { right: 1.1rem; bottom: 1.1rem; width: 42px; height: 42px; }
}
@media (max-width: 380px) {
  .mp-specs { grid-template-columns: 1fr; }
}

/* ============ SPOTLIGHT (#318) ============ */
.sp-group { scroll-margin-top: 80px; }
.sp-desc { margin: -0.3rem 0 1.3rem; max-width: 72ch; }
