/* CHANGPOP UNIVERSE · shared design tokens and navigation */
:root {
  --u-bg: #101314;
  --u-surface: #191d1e;
  --u-raised: #212628;
  --u-border: #303638;
  --u-text: #f2f4f0;
  --u-muted: #a2abaa;
  --u-green: #c3f36b;
  --u-karaoke: #c3f36b;
  --u-rhythm: #b8a1ff;
  --u-quiz: #73dcca;
  --u-font: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
  font-family: var(--u-font);
}
html, body { background: var(--u-bg); color: var(--u-text); }
body { margin: 0; font-family: var(--u-font); }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:where(button, a, input, select, textarea, summary):focus-visible { outline: 2px solid var(--u-green); outline-offset: 4px; }
::selection { background: #c3f36b35; color: #fff; }
.universe-bar { background: var(--u-bg); border-bottom: 1px solid var(--u-border); color: var(--u-text); width: 100%; }
.universe-bar-inner { width: min(1240px, calc(100% - 64px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.universe-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--u-text); text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.7px; white-space: nowrap; }
.universe-mark { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid #c3f36b60; border-radius: 50%; transform: rotate(-15deg); }
.universe-mark i { display: block; width: 3px; height: 9px; border-radius: 4px; background: var(--u-green); }
.universe-mark i:nth-child(2) { height: 17px; }
.universe-mark i:nth-child(3) { height: 12px; }
.universe-nav { display: flex; gap: 5px; padding: 0; }
.universe-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 15px; border: 1px solid transparent; border-radius: 8px; color: var(--u-muted); text-decoration: none; font-size: 13px; font-weight: 650; white-space: nowrap; transition: color .15s, background .15s; }
.universe-nav small { font-size: 10px; font-weight: 500; opacity: .5; }
.universe-nav a:hover { background: var(--u-surface); color: var(--u-text); }
.universe-nav a[aria-current='page'] { background: #c3f36b12; color: var(--u-green); border-color: #c3f36b30; }
.universe-nav a[data-service='rhythm'][aria-current='page'] { background: #b8a1ff12; color: var(--u-rhythm); border-color: #b8a1ff35; }
.universe-nav a[data-service='quiz'][aria-current='page'] { background: #73dcca12; color: var(--u-quiz); border-color: #73dcca35; }
.u-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--u-green); font-size: 11px; font-weight: 650; letter-spacing: 2px; text-transform: uppercase; }
.u-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.u-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.u-section-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.7px; }
.u-section-heading p { margin: 0; color: var(--u-muted); font-size: 12px; }
.universe-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; width: min(1240px, calc(100% - 64px)); padding: 27px 0; margin: auto auto 0; border-top: 1px solid var(--u-border); color: var(--u-muted); font-size: 12px; }
.universe-footer strong { color: var(--u-text); font-weight: 650; }
.universe-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.universe-footer a { color: var(--u-muted); text-decoration: none; }
.universe-footer a:hover { color: var(--u-green); }
@media (max-width: 760px) {
  .universe-bar-inner { width: calc(100% - 32px); min-height: 108px; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; padding: 12px 0 10px; }
  .universe-brand { align-self: center; font-size: 17px; gap: 9px; }
  .universe-mark { width: 26px; height: 26px; }
  .universe-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .universe-nav a { padding: 0 3px; min-height: 38px; font-size: 12px; border-radius: 6px; }
  .universe-nav small { display: none; }
  .universe-footer { width: calc(100% - 32px); font-size: 11px; padding: 22px 0; }
  .universe-footer nav { gap: 16px; }
  .u-section-heading { gap: 12px; }
  .u-section-heading p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
