/* =====================================================================
   ZEDYSSEY REQUESTS — Prism Shift
   ===================================================================== */
:root {
  --ink: #141414;
  --lime: #D7FF3F;
  --lime-hover: #E6FF85;
  --violet: #7A38EE;
  --violet-deep: #2A1F45;
  --violet-soft: #D4C2FF;
  --white: #F5F5F5;
  --surface: #1B1A1F;
  --surface-2: #1E1C24;
  --surface-3: #26222F;
  --line: #2C2836;
  --line-2: #3A3448;
  --line-3: #4A4458;
  --muted: #C3B7D4;
  --muted-2: #A79FB5;
  --danger: #FF8A8A;
  --radius: 16px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif;
  --mono: 'Noto Sans Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lime); }
a:hover { color: var(--lime-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow.lime { color: var(--lime); }
.muted { color: var(--muted); }
.native { color: var(--muted-2); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 700; font-size: 15px;
  text-decoration: none; white-space: nowrap; background: transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hover); color: var(--ink); }
.btn-outline { border-color: var(--line-2); color: var(--white); }
.btn-outline:hover { border-color: var(--muted-2); }
.btn-outline-lime { border-color: var(--lime); color: var(--lime); }
.btn-outline-lime:hover { background: rgba(215, 255, 63, .08); color: var(--lime); }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-ink:hover { background: #000; color: var(--lime); }
.btn-ghost { color: var(--muted); padding: 0 10px; }
.btn-ghost:hover { color: var(--white); }
.btn-danger { border-color: #6B3340; color: var(--danger); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- demo banner ---------- */
.demo-banner {
  background: var(--violet); color: #fff; font-size: 14px; text-align: center;
  padding: 10px 16px;
}
.demo-banner strong { font-weight: 700; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid #2E2A38; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 28px; padding-top: 16px; padding-bottom: 16px;
}
.logo { display: flex; align-items: center; padding: 9px 0; }
.logo .wm-full { width: 320px; height: auto; display: block; }
.logo .wm-z { width: 40px; height: auto; display: none; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.main-nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 11px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang-toggle button {
  min-width: 44px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 600;
}
.lang-toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.profile-btn {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 6px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 600; max-width: 220px;
}
.profile-btn .avatar {
  width: 32px; height: 32px; border-radius: 999px; background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
  flex: 0 0 auto;
}
.profile-btn .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 760px) {
  .logo .wm-full { display: none; }
  .logo .wm-z { display: block; }
  .main-nav { order: 3; width: 100%; gap: 4px 18px; }
  .main-nav a { font-size: 14px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid #2E2A38; }
.hero::before, .hero::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 52%; pointer-events: none;
}
.hero::before { background: #1F1830; clip-path: polygon(30% 0, 100% 0, 100% 100%, 64% 100%); }
.hero::after  { background: #2D1F4E; clip-path: polygon(86% 0, 100% 0, 100% 100%, 95% 100%); }
.hero .wrap {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center;
  gap: 48px; padding-top: 64px; padding-bottom: 64px;
}
.hero-main { flex: 999 1 520px; min-width: 0; }
.hero h1 {
  margin: 18px 0 16px; font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02;
  font-weight: 800; letter-spacing: -0.03em;
}
.hero h1 span { color: var(--lime); }
.hero-lede { margin: 0; max-width: 560px; font-size: 18px; color: var(--muted); }

.search { margin-top: 30px; max-width: 640px; position: relative; }
.search-bar {
  display: flex; align-items: center; gap: 12px; background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 6px 6px 6px 18px;
}
.search-bar:focus-within { border-color: var(--lime); }
.search-bar input {
  flex: 1; min-width: 0; min-height: 48px; background: transparent; border: 0;
  font-size: 16px; outline: none;
}
.search-bar input::placeholder { color: #9C94AB; }
.search-bar input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.search-hint { margin: 12px 0 0 4px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .03em; }
.suggest {
  margin-top: 10px; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 12px 14px;
}
.suggest-head {
  display: flex; align-items: center; gap: 8px; padding: 2px 2px 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--lime);
}
.suggest-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); }
.suggest-row .info { flex: 1; min-width: 0; }
.suggest-row .t { font-weight: 700; font-size: 15px; background: none; border: 0; padding: 0; text-align: left; }
.suggest-row .t:hover { color: var(--lime); }
.suggest-row .a { font-size: 13px; color: var(--muted); }
.suggest-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* featured */
.featured {
  flex: 1 1 340px; max-width: 440px; background: var(--violet); color: #fff;
  border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.featured-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.featured-top span:first-child { display: flex; align-items: center; gap: 8px; }
.featured h2 { margin: 0; font-size: 38px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.featured h2 button { all: unset; cursor: pointer; }
.featured h2 button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.featured .by { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 18px; color: #F1EAFF; }
.featured .by .native { color: #E4D8FF; font-size: 16px; }
.featured .tags .tag { color: #fff; border-color: #B99AF6; }
.featured-votes { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; border-top: 1px solid #9A6CF2; padding-top: 16px; }
.featured-votes .n { font-family: var(--mono); font-size: 36px; font-weight: 600; line-height: 1; }
.featured-votes .l { font-size: 15px; color: #F1EAFF; }
.featured .btn-outline-white { border: 1px solid #fff; color: #fff; }
.featured .btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.featured-empty { color: #F1EAFF; font-size: 16px; }

/* ---------- board ---------- */
.board { padding-top: 48px; padding-bottom: 72px; }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.board-head h2 { margin: 10px 0 0; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid #2E2A38; }
.tabs button {
  min-height: 44px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent;
  margin-bottom: -1px; background: transparent; color: var(--muted-2); font-size: 15px; font-weight: 600;
}
.tabs button:hover { color: var(--white); }
.tabs button[aria-pressed="true"] { color: var(--white); font-weight: 700; border-bottom-color: var(--lime); }
.filters { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: #E4DEEC; font-size: 14px; font-weight: 600;
}
.chip:hover { border-color: var(--muted-2); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 700; }
.filters .divider { width: 1px; height: 24px; background: var(--line-2); margin: 0 6px; }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 36px 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: #E4DEEC;
  font-size: 14px; font-weight: 600;
}
.select-wrap select option { background: var(--surface); color: var(--white); }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  pointer-events: none;
}

.board-body { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.list-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.side-col { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s;
}
.row:hover { border-color: var(--line-2); }
.row .rank { width: 26px; font-family: var(--mono); font-size: 14px; color: var(--muted-2); }
.tile {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: 10px; background: var(--surface-3);
  border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--lime); overflow: hidden;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.row .info { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row .title-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.row h3 { margin: 0; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.row h3 button { all: unset; cursor: pointer; }
.row h3 button:hover { color: var(--lime); }
.row h3 button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.row .artist { font-size: 15px; color: var(--muted); }
.row .native { font-size: 14px; }
.row .meta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: auto; }
.row .meta-line { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.row .meta-line span { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 560px) {
  .row { padding: 14px; }
  .row .rank { display: none; }
  .row .meta { flex-direction: row; align-items: center; margin-left: 0; width: 100%; justify-content: space-between; }
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 7px;
}

.vote {
  width: 62px; min-height: 66px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 13px; font-weight: 600;
  transition: background-color .12s, border-color .12s, transform .08s;
}
.vote .icon { color: var(--lime); }
.vote:hover { border-color: var(--lime); }
.vote:active { transform: scale(.96); }
.vote[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.vote[aria-pressed="true"] .icon { color: var(--ink); }
.vote.closed { cursor: default; border-style: dashed; }
.vote.closed:hover { border-color: var(--line-2); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  border-radius: 999px; padding: 5px 12px; border: 1px solid transparent; white-space: nowrap;
}
.badge-launched { color: var(--muted); border-color: var(--line-3); }
.badge-orbit { color: var(--violet-soft); background: var(--violet-deep); border-color: var(--violet); }
.badge-approaching { color: #fff; background: var(--violet); border-color: var(--violet); }
.badge-zenith { color: var(--ink); background: var(--lime); border-color: var(--lime); font-weight: 700; }
.badge-declined { color: var(--danger); border-color: #6B3340; }

.empty {
  padding: 40px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius);
  color: var(--muted);
}
.empty p { margin: 0 0 16px; }
.skeleton { height: 98px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 0%, #222029 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } * { transition: none !important; } }

/* side cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 8px 0 16px; font-size: 18px; font-weight: 700; }
.journey { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.journey li { display: flex; align-items: center; gap: 12px; }
.journey .badge { width: 112px; justify-content: center; flex: 0 0 auto; }
.journey span.d { font-size: 14px; color: var(--muted); }
.cal-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cal-date { width: 48px; flex: 0 0 auto; text-align: center; font-family: var(--mono); }
.cal-date .m { font-size: 11px; color: var(--muted-2); text-transform: uppercase; }
.cal-date .d { font-size: 20px; font-weight: 600; }
.cal-info { flex: 1; min-width: 0; }
.cal-info .t { font-size: 15px; font-weight: 700; background: none; border: 0; padding: 0; text-align: left; }
.cal-info .t:hover { color: var(--lime); }
.cal-info .a { font-size: 13px; color: var(--muted); }
.side-empty { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.fresh-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--white); }
.fresh-item:hover { color: var(--lime); }
.fresh-thumb { width: 96px; height: 54px; border-radius: 8px; background: var(--surface-3); flex: 0 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--lime); }
.fresh-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fresh-item .t { font-size: 14px; font-weight: 700; }
.fresh-item .a { font-size: 13px; color: var(--muted); }
.ranks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-2); }
.ranks .on { color: var(--white); }
.bar { margin-top: 8px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > div { height: 100%; background: var(--lime); border-radius: 999px; }
.card p.note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid #2E2A38; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 40px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 40px; padding: 10px; box-sizing: content-box; }
.foot-brand .t { font-weight: 700; }
.foot-brand .s { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-2); margin-top: 4px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; }
.foot-nav a, .foot-nav button { padding: 12px 0; text-decoration: none; background: none; border: 0; }
.foot-nav .sub { color: var(--muted); }
.foot-nav .sub:hover { color: var(--white); }

/* ---------- dialogs ---------- */
dialog {
  width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0;
  border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); color: var(--white);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
dialog::backdrop { background: rgba(8, 6, 14, .72); backdrop-filter: blur(3px); }
.dlg-inner { padding: 28px; overflow-y: auto; max-height: calc(100vh - 34px); }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dlg-head h2 { margin: 6px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.close-btn {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; border: 1px solid var(--line-2);
  background: transparent; color: var(--white); display: flex; align-items: center; justify-content: center;
}
.close-btn:hover { border-color: var(--muted-2); }
@media (max-width: 560px) { .dlg-inner { padding: 20px; } }

/* forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .opt { color: var(--muted-2); font-weight: 400; }
.field input[type="text"], .field input[type="url"], .field input[type="date"], .field input:not([type]),
.field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--line-2); color: var(--white); font-size: 15px;
}
.field textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); outline: none; }
.field input[type="date"] { color-scheme: dark; }
.field .help { font-size: 13px; color: var(--muted-2); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-row span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: #E4DEEC; cursor: pointer;
}
.choice-row input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.choice-row input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 36px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--lime); }
.form-error { color: var(--danger); font-size: 14px; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.dupe-box { border: 1px solid var(--lime); border-radius: 14px; padding: 12px 14px; background: rgba(215,255,63,.04); }

/* detail */
.detail-by { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 17px; color: var(--muted); margin-top: 4px; }
.detail-section { margin-top: 22px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.steps div { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--muted-2); }
.steps i { display: block; height: 6px; border-radius: 999px; background: var(--line); }
.steps .done i { background: var(--lime); }
.steps .now i { background: var(--violet); }
.steps .done, .steps .now { color: var(--muted); }
.steps .now { color: var(--white); font-weight: 700; }
.info-box { background: var(--ink); border-radius: 12px; padding: 14px 16px; }
.info-box p { margin: 0; }
.help-box { border: 1px solid var(--violet); background: #211833; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.help-box .eyebrow { color: var(--violet-soft); }
.help-box p { margin: 0; }
.video-thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--surface-3); aspect-ratio: 16 / 9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 999px; background: var(--lime); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.dist { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; }
.legend { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 14px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }
.legend .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend .pc { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.detail-actions .vote-wide { min-width: 180px; }
.comments { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.comment { padding: 12px 0; border-top: 1px solid var(--line); }
.comment:first-of-type { border-top: 0; }
.comment .who { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.comment p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.admin-panel { margin-top: 26px; border: 1px dashed var(--lime); border-radius: 14px; padding: 18px; }
.admin-panel h3 { margin: 6px 0 14px; font-size: 16px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--white); color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 12px 18px; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
  max-width: calc(100vw - 32px);
}
.toast.error { background: #FFD6D6; }

/* icon sizes */
.icon.sm { width: 14px; height: 14px; }
.icon.xs { width: 12px; height: 12px; }
.lime-ic { color: var(--lime); }
.fresh-item { cursor: pointer; font: inherit; }
.fresh-item:first-child { border-top: 0 !important; }

/* ---------- mobile refinements ---------- */
.featured-top { text-transform: uppercase; }
.only-short { display: none; }
@media (max-width: 760px) {
  .header-actions { margin-left: auto; }
  .main-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .only-long { display: none; }
  .only-short { display: inline; }
  .site-header .wrap { padding-left: 16px; padding-right: 16px; }
  .main-nav { margin: 0 -16px; padding: 0 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 560px) {
  .row .tile { display: none; }
  .row .info { flex: 1 1 0; }
  .filters .divider { display: none; }
  .featured { padding: 22px; }
  .featured h2 { font-size: 32px; }
}
.board-head h2, .hero h1, .dlg-head h2, .featured h2 { line-height: 1.12; }


/* ---------- artists ---------- */
.view { padding-top: 40px; padding-bottom: 72px; }
.artist-link { color: inherit; text-decoration: none; }
.artist-link:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.row .artist-link { color: var(--muted); }
.row .artist-link:hover { color: var(--lime); }
.featured .by-link { color: #F1EAFF; text-decoration: none; }
.featured .by-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.detail-by .artist-link { color: var(--white); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.back-link:hover { color: var(--lime); }
.artist-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin: 12px 0 28px; }
.artist-head h1 { margin: 10px 0 0; font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; outline: none; overflow-wrap: anywhere; }
.artist-head h1 .native { font-size: .5em; font-weight: 600; letter-spacing: 0; }
.sub-h { margin: 18px 0 12px; font-size: 18px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; }
.artist-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.artist-card {
  display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--white); text-decoration: none;
}
.artist-card:hover { border-color: var(--lime); color: var(--white); }
.ac-initial { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: var(--lime); }
.ac-body { display: flex; flex-direction: column; min-width: 0; }
.ac-name { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.ac-body .native { font-size: 13px; }
.ac-meta { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 4px; letter-spacing: .04em; }
#artists-h, #artist-h { outline: none; }
.bias-list { display: flex; flex-direction: column; gap: 8px; }
.bias {
  display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; padding: 12px 14px; min-height: 44px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--ink); color: var(--white);
}
.bias:hover { border-color: var(--muted-2); }
.bias[aria-pressed="true"] { border-color: var(--lime); background: rgba(215, 255, 63, .06); }
.bias-top { display: flex; align-items: center; gap: 10px; width: 100%; }
.bias .sw { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }
.bias .nm { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; }
.bias[aria-pressed="true"] .nm { color: var(--lime); }
.bias .pc { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bias .bar { display: block; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 0; }
.bias .bar > span { display: block; height: 100%; border-radius: 999px; }

/* channel button in the header */
.channel-btn { min-height: 44px; padding: 0 14px; font-size: 14px; gap: 6px; }
.main-nav { gap: 4px 22px; }
@media (max-width: 480px) {
  .channel-btn { padding: 0 12px; }
  .channel-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .channel-btn .icon { width: 16px; height: 16px; }
}

/* header: logo + actions on top, menu as its own row underneath (room for every item at any width) */
.site-header .wrap { padding-bottom: 0; row-gap: 6px; }
.header-actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.main-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 4px 28px; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { white-space: nowrap; flex: 0 0 auto; padding: 12px 0 13px; }
@media (max-width: 480px) {
  .profile-btn { padding: 0 5px; }
  .profile-btn .name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}
