/*  발견 층 — 만든 이 · 태그 · 최근 플레이 · 관련 작품(2026-09-09).
 *  값은 `globals.css` 의 :root 한 벌(--accent · --line · --dim …)과 그 이름(.tag · .rail-i · .hint · .who-nick)을 그대로 쓴다.
 *  ⚠ `@layer` 에 안 넣는다 — 이 파일은 부품이 드는 자리라 `globals.css` 보다 먼저 실릴 수 있고, 그때 층의 차례가
 *    이 파일에서 정해져 base 가 components 를 덮는다. 층 밖의 규칙은 차례와 무관하게 층 안의 것을 이긴다.  */

/* ── 태그 칩 — 무대 옆의 #태그가 «단추»다. 누르면 그 태그로 거르고 다시 누르면 푼다. ─────────── */
.stage-side .tags button.tag {
  background: none;
  cursor: pointer;
}
.stage-side .tags button.tag:hover {
  color: var(--ink);
  border-color: var(--dim2);
}
.tag.on {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}

/* ── 목록 «판»의 머리줄에 선 거른 태그 ＋ ✕(2026-09-10 에 `.list-head` 에서 판의 머리줄로 옮겼다) ────────────────────────────────────────────────────────────── */
.hall .pane-head .filt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 8px 2px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.hall .pane-head .filt .x {
  color: var(--dim);
  font-size: 11px;
}
.hall .pane-head .filt:hover .x {
  color: var(--ink);
}

/* ── 레일의 「최근」 — 장르 줄들 «아래»에 서고 옅은 선 하나로 가른다. ──────────────────────── */
.rail-i.recent {
  position: relative;
  margin-top: 9px;
}
.rail-i.recent::before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: -5px;
  height: 1px;
  background: var(--line);
}
@media (max-width: 980px) {
  .rail-i.recent {
    margin-top: 0;
    margin-left: 8px;
  }
  .rail-i.recent::before {
    left: -5px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 1px;
    height: auto;
  }
}

/* ── 만든 이 이름이 링크다 ─────────────────────────────────────────────────────────────────── */
a.who-nick:hover {
  text-decoration: underline;
}
.hall-card .m a.c {
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hall-card .m a.c:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ── 만든 이 페이지의 머리 — 닉네임 크게 · 곁의 값들은 .hint ──────────────────────────────── */
.maker-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
}
.maker-head .who-nick {
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.maker-head .hint {
  font-size: 13px;
}
.maker-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ── 관련 작품 — 작품 페이지 맨 아래 두 줄 ────────────────────────────────────────────────── */
.related {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
