@font-face {
  font-family: "Pretendard Variable";
  src: url("/fonts/PretendardVariable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --bg: #071019;
  --surface: #0d1822;
  --surface-soft: #111f2b;
  --ink: #edf5f7;
  --muted: #95a9b3;
  --line: #243744;
  --line-strong: #35505f;
  --accent: #5ee7c5;
  --accent-strong: #72ebc5;
  /* 본체 app/globals.css와 같은 값. 보조 액센트는 민트와 확실히 갈리는 파랑이다. */
  --accent-2: #76a7ff;
  --soft: #c5d2d7;
  --danger: #ff7d81;
  --warning: #f1c667;
  --hero-bg: #0a1420;
  --hero-accent: #72ebc5;
  /* 반전 요소(주요 버튼·토스트·푸터). 라이트에서는 잉크였고 다크에서는 액센트가 맡는다. */
  --invert-bg: #5ee7c5;
  --invert-fg: #04120d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --shell: 1240px;
  --header-h: 118px;
  color-scheme: dark;
  font-family:
    "Pretendard Variable", Pretendard, Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

section,
article,
div,
span,
button,
a {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--hero-accent);
  outline-offset: 3px;
}

:where(input, select, textarea):focus-visible {
  outline: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

html.has-market-cursor,
html.has-market-cursor body,
html.has-market-cursor a,
html.has-market-cursor button,
html.has-market-cursor select,
html.has-market-cursor summary,
html.has-market-cursor [role="button"] {
  cursor: none !important;
}

html.has-market-cursor input,
html.has-market-cursor textarea,
html.has-market-cursor [contenteditable="true"] {
  cursor: text !important;
}

.market-cursor {
  --cursor-x: -40px;
  --cursor-y: -40px;
  --cursor-label-x: -40px;
  --cursor-label-y: -40px;
  --cursor-label-tilt: 0deg;
  --cursor-scale: 1;
  position: fixed;
  z-index: 9999;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.market-cursor.is-visible:not(.is-text) {
  opacity: 1;
}

.market-cursor-arrow,
.market-cursor-label {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  color: var(--invert-fg);
}

.market-cursor-arrow {
  width: 31px;
  height: 31px;
  overflow: visible;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.24));
  transform: translate3d(calc(var(--cursor-x) - 5px), calc(var(--cursor-y) - 3px), 0)
    scale(var(--cursor-scale));
  transform-origin: 5px 3px;
  transition: scale 120ms ease;
}

.market-cursor-arrow path {
  fill: #f6ffe8;
  stroke: var(--ink);
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: fill 140ms ease;
}

.market-cursor-label {
  opacity: 0;
  padding: 6px 10px;
  border: 1px solid rgba(237, 245, 247, 0.24);
  border-radius: 999px;
  background: #72ebc5;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
  color: var(--invert-fg);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: translate3d(var(--cursor-label-x), var(--cursor-label-y), 0)
    rotate(var(--cursor-label-tilt)) scale(var(--cursor-scale));
  transform-origin: 0 50%;
  transition: opacity 120ms ease, transform 140ms cubic-bezier(0.22, 1, 0.36, 1),
    background 140ms ease;
  user-select: none;
}

.market-cursor.is-action {
  --cursor-scale: 1.08;
}

.market-cursor.is-action .market-cursor-arrow path {
  fill: #72ebc5;
}

.market-cursor.is-action .market-cursor-label {
  background: hsl(83 32% 14%);
  opacity: 1;
}

.market-cursor.is-pressed {
  --cursor-scale: 0.9;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(13, 24, 34, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(320px, 560px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #303630;
  border-radius: 8px;
  background: #0c0e0d;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px 0 15px;
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within {
  background: var(--surface-soft);
  border-color: var(--line);
  box-shadow: 0 0 0 4px rgba(94, 231, 197, 0.22);
}

.search-box > svg,
.search-box > span > svg {
  width: 18px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.92rem;
}

.search-box input::placeholder {
  color: var(--muted);
}

.search-box kbd {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.69rem;
  font-family: inherit;
}

.search-clear {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-icon-action,
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-icon-action {
  border: 1px solid var(--line);
  background: var(--surface);
}

.header-action {
  border: 1px solid var(--invert-bg);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.header-icon-action svg,
.header-action svg {
  width: 17px;
  height: 17px;
}

.header-icon-action:hover {
  border-color: var(--ink);
}

.header-action:hover {
  background: var(--accent-strong);
}

.category-bar {
  border-top: 1px solid var(--line);
}

.service-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-nav::-webkit-scrollbar {
  display: none;
}

.service-nav a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.service-nav a:first-child {
  color: inherit;
}

.service-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 900;
}

.service-nav a[aria-current="page"]::after,
.service-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--accent-strong);
  content: "";
}

.primary-button,
.secondary-button,
.download-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 850;
}

.primary-button {
  border: 1px solid var(--invert-bg);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.primary-button:hover {
  background: var(--accent-strong);
}

.secondary-button,
.ghost-button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.secondary-button:hover,
.ghost-button:hover {
  border-color: var(--ink);
}

.primary-button svg,
.secondary-button svg,
.download-button svg,
.ghost-button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
  min-height: clamp(480px, calc(100svh - var(--header-h) - 94px), 620px);
  padding: 52px max(20px, calc((100% - var(--shell)) / 2));
  overflow: hidden;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--line);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(5, 7, 17, 0.18);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow {
  color: hsl(133 35% 72%);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(243, 246, 242, 0.68);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.hero-eyebrow span + span::before {
  display: inline-block;
  width: 18px;
  height: 1px;
  margin: 0 10px 3px;
  background: rgba(13, 24, 34, 0.3);
  content: "";
}

.hero h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  font-weight: 820;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1 > span {
  display: block;
  white-space: nowrap;
}

.hero h1 > span + span {
  padding-left: clamp(0px, 3vw, 38px);
}

.hero h1 em {
  color: var(--hero-accent);
  font-style: normal;
}

.hero-description {
  max-width: 510px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.hero-tags > span {
  margin-right: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-tags button {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(243, 246, 242, 0.28);
  border-radius: 0;
  background: transparent;
  color: rgba(243, 246, 242, 0.82);
  font-size: 0.73rem;
  font-weight: 750;
}

.hero-tags button:hover {
  border-color: var(--hero-accent);
  background: transparent;
  color: var(--invert-fg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero .secondary-button {
  border-color: rgba(237, 245, 247, 0.35);
  background: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(237, 245, 247, 0.24);
}

.hero-stats div {
  padding-right: 14px;
  border-right: 1px solid rgba(237, 245, 247, 0.2);
}

.hero-stats div + div {
  padding-left: 14px;
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.hero-stats dd {
  margin-top: 3px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.market-console {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  justify-self: end;
  overflow: hidden;
  background: rgba(12, 15, 20, 0.88);
  border: 1px solid rgba(168, 184, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.console-bar strong {
  color: var(--ink);
}

.console-bar > span:last-child {
  margin-left: auto;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 0 4px rgba(168, 184, 255, 0.16);
}

.featured-mini {
  padding: 16px;
}

.featured-main {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 13px;
}

.featured-copy h2 {
  font-size: 1.12rem;
  line-height: 1.2;
}

.featured-copy p {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.program-icon,
.program-thumb,
.best-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(237, 245, 247, 0.13);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(30, 33, 30, 0.1);
}

.program-icon svg,
.program-thumb svg,
.best-thumb svg {
  width: 27px;
  height: 27px;
}

.program-icon.productivity,
.program-thumb.productivity,
.best-thumb.productivity {
  background: #132430;
}

.program-icon.windows,
.program-thumb.windows,
.best-thumb.windows {
  background: hsl(222 32% 16%);
}

.program-icon.utility,
.program-thumb.utility,
.best-thumb.utility {
  background: #14291b;
}

.program-icon.experimental,
.program-thumb.experimental,
.best-thumb.experimental {
  background: hsl(35 32% 14%);
}

.program-icon.personal,
.program-thumb.personal,
.best-thumb.personal {
  background: hsl(342 30% 15%);
}

.featured-meta,
.card-kicker,
.modal-tags,
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.featured-meta {
  margin-top: 12px;
}

.status-chip,
.tag,
.os-chip,
.best-chip {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
}

.status-chip.approved {
  background: hsl(127 32% 14%);
  color: hsl(136 46% 72%);
}

.status-chip.review {
  background: hsl(253 32% 14%);
  color: hsl(255 34% 72%);
}

.status-chip.rejected,
.status-chip.archived {
  background: hsl(355 32% 14%);
  color: hsl(355 47% 72%);
}

.best-chip {
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.featured-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.featured-fact {
  padding: 9px;
  background: var(--surface-soft);
}

.featured-fact span,
.featured-fact strong {
  display: block;
}

.featured-fact span {
  color: var(--muted);
  font-size: 0.69rem;
}

.featured-fact strong {
  margin-top: 2px;
  font-size: 0.88rem;
}

.featured-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.featured-actions .download-button {
  background: var(--invert-bg);
  color: var(--invert-fg);
  border: 1px solid var(--invert-bg);
}

.best-section,
.market-section,
.drops-section,
.standalone-page,
.admin-section {
  padding-top: 54px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.section-heading h2,
.submit-panel h2 {
  margin-top: 6px;
  font-size: 1.85rem;
  line-height: 1.15;
  font-weight: 930;
}

.section-heading > p {
  max-width: 510px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.section-link:hover {
  border-color: var(--ink);
}

.best-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.best-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.best-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.best-media,
.product-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.best-media {
  height: 150px;
}

.best-preview {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 30px;
  border: 0;
  background: transparent;
}

.best-thumb {
  width: 68px;
  height: 68px;
  background: var(--surface);
}

.best-thumb svg {
  width: 34px;
  height: 34px;
}

.best-rank {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--invert-bg);
  color: var(--invert-fg);
  font-size: 0.69rem;
  font-weight: 900;
}

.favorite-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(237, 245, 247, 0.14);
  border-radius: 50%;
  background: rgba(13, 24, 34, 0.92);
  color: var(--muted);
}

.best-media > .favorite-button,
.product-media > .favorite-button {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
}

.favorite-button:hover,
.favorite-button.active {
  color: #d93f53;
  border-color: hsl(352 45% 30%);
}

.favorite-button svg {
  width: 17px;
  height: 17px;
}

.best-body {
  padding: 15px;
}

.best-category {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
}

.best-body h3 {
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1.25;
}

.best-body h3 button,
.best-footer button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: inherit;
}

.best-body h3 button:hover,
.best-footer button:hover {
  text-decoration: underline;
}

.best-body p {
  display: -webkit-box;
  min-height: 21px;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.best-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.7rem;
}

.best-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.best-meta svg {
  width: 14px;
  color: #f0b800;
  fill: currentColor;
}

.best-meta strong {
  color: var(--ink);
}

.best-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.best-footer > strong {
  font-size: 1.03rem;
}

.best-footer button {
  color: hsl(126 23% 72%);
  font-size: 0.72rem;
}

.next-worlds {
  padding-bottom: 94px;
}

.next-world-link {
  display: flex;
  min-height: 190px;
  padding: 22px;
  flex-direction: column;
}

.next-world-link h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
}

.next-world-link p {
  color: var(--muted);
  font-size: 0.76rem;
}

.next-world-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

.next-world-action svg {
  width: 15px;
  height: 15px;
}

.market-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 14px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.market-toolbar > strong {
  font-size: 0.82rem;
}

.select-field {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
}

.select-field select {
  min-height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 750;
}

.filter-block {
  padding: 13px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row + .filter-row {
  margin-top: 10px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-row::before {
  flex: 0 0 102px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

#categoryFilters::before {
  content: "서비스 카테고리";
}

#osFilters::before {
  content: "실행 환경";
}

.filter-button,
.quick-toggle,
.quick-reset,
.queue-filter,
.active-filter-chip,
.active-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  white-space: nowrap;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 33px;
  padding: 0 10px;
  border-radius: 5px;
}

.filter-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.filter-button[data-empty="true"] {
  opacity: 0.46;
}

.filter-count {
  color: inherit;
  opacity: 0.7;
}

.quick-filter-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 8px 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: hsl(90 25% 14%);
  scrollbar-width: none;
}

.quick-filter-row::-webkit-scrollbar {
  display: none;
}

.quick-toggle,
.quick-reset,
.quick-note {
  min-height: 31px;
  padding: 0 9px;
  border-radius: 5px;
}

.quick-toggle[aria-pressed="true"] {
  border-color: hsl(113 38% 30%);
  background: hsl(110 32% 14%);
  color: hsl(135 44% 72%);
}

.quick-toggle svg,
.quick-reset svg,
.quick-note svg {
  width: 14px;
  height: 14px;
}

.quick-count,
.quick-note strong {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.69rem;
}

.quick-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid hsl(254 45% 30%);
  background: hsl(252 32% 14%);
  color: hsl(259 30% 72%);
  font-size: 0.7rem;
  white-space: nowrap;
}

.quick-note small {
  opacity: 0.7;
}

.quick-reset {
  margin-left: auto;
}

.quick-reset:disabled {
  opacity: 0.42;
}

.active-filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: hsl(105 32% 14%);
}

.active-filter-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: hsl(128 25% 72%);
  font-size: 0.7rem;
}

.active-filter-list {
  display: flex;
  flex: 1;
  gap: 6px;
  overflow-x: auto;
}

.active-filter-chip,
.active-filter-reset {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--surface);
}

.active-filter-chip svg {
  width: 12px;
}

.result-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 14px;
  padding-inline: 2px;
  border-block: 1px solid var(--line);
}

.result-summary > strong {
  font-size: 0.82rem;
}

.result-summary > span {
  color: var(--muted);
  font-size: 0.7rem;
}

.result-summary > small {
  margin-left: auto;
  color: var(--accent-strong);
  font-size: 0.69rem;
  font-weight: 800;
  white-space: nowrap;
}

.download-receipt,
.submit-receipt,
.admin-receipt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid hsl(115 33% 30%);
  border-radius: 6px;
  background: hsl(110 32% 14%);
}

.download-receipt.is-blocked,
.admin-receipt.is-blocked {
  border-color: hsl(356 39% 30%);
  background: hsl(356 32% 14%);
}

.receipt-main,
.submit-receipt-main,
.admin-receipt-main,
.receipt-actions,
.submit-receipt-actions,
.admin-receipt-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.receipt-icon,
.submit-receipt-icon,
.admin-receipt-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: var(--surface);
}

.receipt-icon svg,
.submit-receipt-icon svg,
.admin-receipt-icon svg {
  width: 15px;
}

.receipt-copy,
.submit-receipt-copy,
.admin-receipt-copy {
  display: grid;
}

.receipt-copy strong,
.submit-receipt-copy strong,
.admin-receipt-copy strong {
  font-size: 0.78rem;
}

.receipt-copy span,
.submit-receipt-copy span,
.admin-receipt-copy span {
  color: var(--muted);
  font-size: 0.69rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.program-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.program-card.is-locked-card {
  border-style: dashed;
}

.product-media {
  flex: 0 0 auto;
  height: 150px;
}

.product-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 42px 17px 15px;
  border: 0;
  background: transparent;
}

.program-thumb {
  width: 68px;
  height: 68px;
  background: var(--surface);
}

.program-thumb svg {
  width: 31px;
  height: 31px;
}

.product-badges {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
}

.product-badges .status-chip,
.product-badges .best-chip {
  box-shadow: 0 2px 8px rgba(24, 28, 24, 0.08);
}

.card-heading,
.program-card > .short,
.product-price-row,
.card-stats,
.product-tags,
.card-bottom {
  margin-right: 14px;
  margin-left: 14px;
}

.card-heading {
  margin-top: 14px;
}

.card-kicker {
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
}

.card-kicker span + span::before {
  margin-right: 7px;
  color: #b7bbb7;
  content: "·";
}

.program-card h3 {
  min-height: 42px;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.program-card .short {
  display: -webkit-box;
  min-height: 42px;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}

.product-price-row strong {
  font-size: 1.12rem;
}

.product-price-row span {
  color: #7d827e;
  font-size: 0.69rem;
  white-space: nowrap;
}

.meta-line {
  display: flex;
}

.card-stats {
  gap: 12px;
  margin-top: 10px;
}

.card-metric {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.69rem;
}

.card-metric svg {
  width: 14px;
  height: 14px;
}

.card-metric:first-child svg {
  color: #edae00;
  fill: currentColor;
}

.card-metric b {
  color: var(--ink);
}

.card-metric small {
  color: #8a8f8b;
}

.product-tags {
  margin-top: 8px;
}

.product-tags span {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.card-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-top: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
}

.card-related-link svg {
  width: 14px;
  height: 14px;
}

.card-bottom {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 11px;
  padding-bottom: 13px;
}

.card-bottom .ghost-button,
.card-bottom .download-button {
  min-height: 42px;
  padding: 0 11px;
}

.card-bottom .ghost-button {
  padding: 0;
}

.card-bottom .ghost-button > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.button-icon {
  display: grid;
  place-items: center;
}

.button-icon svg {
  width: 17px;
  height: 17px;
}

.download-button {
  border: 1px solid var(--invert-bg);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.download-button:hover {
  background: var(--accent-strong);
}

.download-button.is-locked,
.download-button[aria-disabled="true"] {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}

.modal-action-copy {
  display: grid;
  text-align: left;
  line-height: 1.1;
}

.modal-action-copy strong {
  font-size: 0.76rem;
}

.modal-action-copy small {
  margin-top: 2px;
  font-size: 0.69rem;
  font-weight: 650;
  opacity: 0.72;
}

.empty-state {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 190px;
  margin-top: 20px;
  padding: 25px;
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  text-align: left;
}

.empty-visual {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--surface-soft);
}

.empty-visual svg {
  width: 22px;
}

.empty-copy {
  display: grid;
}

.empty-copy span,
.empty-state > span {
  color: var(--muted);
  font-size: 0.76rem;
}

.empty-actions {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.drops-section {
  padding-bottom: 74px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.timeline-topline,
.timeline-title-row,
.timeline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.timeline-state,
.timeline-date,
.timeline-chip,
.timeline-package {
  color: var(--muted);
  font-size: 0.69rem;
}

.timeline-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.timeline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.timeline-state.is-review .timeline-dot {
  background: #8b76d8;
}

.timeline-date {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.timeline-title-row {
  margin-top: 15px;
}

.timeline-title-row strong {
  font-size: 0.83rem;
}

.timeline-version {
  color: #7c817d;
  font-size: 0.69rem;
}

.timeline-item > p {
  min-height: 40px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.timeline-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.timeline-chip {
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--surface-soft);
}

.timeline-footer {
  align-items: end;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.timeline-package {
  max-width: 110px;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
}

.mini-action svg {
  width: 13px;
  height: 13px;
}

.mini-action.primary-mini {
  border-color: hsl(130 33% 30%);
  background: hsl(112 32% 14%);
  color: #6ee7a5;
}

.mini-action.danger-mini {
  border-color: hsl(354 41% 30%);
  color: #ff9296;
}

.mini-action.is-current,
.mini-action:disabled {
  opacity: 0.5;
}

.submit-panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.submit-panel > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.drop-form,
.admin-form {
  margin-top: 20px;
}

.form-cluster {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.form-cluster-head {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 8px;
  margin-bottom: 13px;
}

.form-cluster-head > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--invert-bg);
  color: var(--invert-fg);
  font-size: 0.69rem;
}

.form-cluster-head strong {
  font-size: 0.78rem;
}

.form-cluster-head small {
  color: var(--muted);
  font-size: 0.69rem;
}

.form-two,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-card,
.admin-field-card {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.form-two .field-card,
.admin-grid .admin-field-card {
  margin-top: 0;
}

.field-label,
.admin-field-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 800;
}

.required-mark {
  margin-left: auto;
  color: var(--accent-strong);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 850;
}

.field-icon,
.admin-field-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--surface-soft);
}

.field-icon svg,
.admin-field-icon svg {
  width: 13px;
}

.field-card input,
.field-card select,
.field-card textarea,
.admin-field-card input,
.admin-field-card select,
.admin-field-card textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  outline: 0;
  background: var(--surface);
  font-size: 0.78rem;
}

.field-card textarea,
.admin-field-card textarea {
  min-height: 94px;
  resize: vertical;
}

.field-card input:focus,
.field-card select:focus,
.field-card textarea:focus,
.admin-field-card input:focus,
.admin-field-card select:focus,
.admin-field-card textarea:focus {
  border-color: hsl(128 23% 30%);
  box-shadow: 0 0 0 3px rgba(94, 231, 197, 0.22);
}

.field-hint,
.admin-field-hint {
  color: #838884;
  font-size: 0.69rem;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.form-submit-row > span {
  color: var(--muted);
  font-size: 0.7rem;
}

@media (min-width: 901px) {
  .drop-form {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    column-gap: 0;
    align-items: start;
  }

  .drop-form .form-cluster:first-child {
    padding-right: 24px;
  }

  .drop-form .form-cluster + .form-cluster {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .drop-form .field-card textarea {
    min-height: 84px;
  }

  .drop-form .form-submit-row {
    grid-column: 2;
    margin-left: 24px;
  }
}

.best-card:focus-within,
.program-card:focus-within,
.timeline-item:focus-within {
  border-color: var(--accent-strong);
  outline: 2px solid rgba(237, 245, 247, 0.24);
  outline-offset: 2px;
}

.field-card input:hover,
.field-card select:hover,
.field-card textarea:hover,
.admin-field-card input:hover,
.admin-field-card select:hover,
.admin-field-card textarea:hover {
  border-color: var(--line);
}

.admin-section {
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 20px;
  margin-top: 18px;
}

.admin-form,
.admin-queue {
  margin-top: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.os-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.os-fieldset legend {
  padding: 0 5px;
  font-size: 0.69rem;
  font-weight: 850;
}

.os-fieldset-head {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  gap: 8px;
}

.os-fieldset-head div {
  display: grid;
}

.os-fieldset-head strong {
  font-size: 0.72rem;
}

.os-fieldset-head small {
  color: var(--muted);
  font-size: 0.69rem;
}

.os-fieldset > label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--surface-soft);
  font-size: 0.69rem;
}

.queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.queue-head strong {
  font-size: 0.88rem;
}

.queue-head span {
  color: var(--muted);
  font-size: 0.69rem;
}

.queue-filter-strip {
  display: flex;
  gap: 6px;
  padding: 11px 0;
  overflow-x: auto;
}

.queue-filter {
  min-height: 31px;
  padding: 0 9px;
  border-radius: 4px;
}

.queue-filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.queue-list {
  display: grid;
  gap: 8px;
  max-height: 690px;
  overflow-y: auto;
}

.queue-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.queue-item.is-recent {
  border-color: hsl(114 33% 30%);
  background: hsl(104 32% 14%);
}

.queue-title-row,
.queue-meta-strip,
.queue-check-strip,
.queue-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.queue-title-row h3 {
  font-size: 0.78rem;
}

.queue-main > p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
}

.queue-meta-strip,
.queue-check-strip {
  margin-top: 7px;
}

.queue-meta-chip,
.queue-check-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.69rem;
}

.queue-meta-chip svg,
.queue-check-chip svg {
  width: 12px;
}

.queue-check-chip.is-ready {
  background: hsl(111 32% 14%);
  color: hsl(132 33% 72%);
}

.queue-check-chip.is-waiting {
  background: hsl(253 32% 14%);
  color: hsl(255 34% 72%);
}

.queue-actions {
  max-width: 140px;
  justify-content: flex-end;
}

.modal-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 18, 17, 0.64);
  backdrop-filter: blur(6px);
}

.program-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.modal-close svg {
  width: 17px;
}

.modal-header {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 15px;
  padding-right: 42px;
}

.modal-header .program-icon {
  width: 64px;
  height: 64px;
}

.modal-header h2 {
  margin-top: 5px;
  font-size: 1.75rem;
  line-height: 1.15;
}

.modal-header > div > p:last-child {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.84rem;
}

.modal-decision-strip,
.detail-grid,
.modal-release-summary {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.modal-decision-strip {
  grid-template-columns: repeat(4, 1fr);
}

.decision-card,
.detail-box,
.modal-release-summary article {
  display: grid;
  padding: 11px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.decision-card.is-ready {
  border-color: hsl(115 33% 30%);
  background: hsl(110 32% 14%);
}

.decision-card.is-locked {
  border-color: hsl(355 37% 30%);
  background: hsl(356 32% 14%);
}

.decision-icon,
.detail-icon,
.section-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  border-radius: 5px;
  background: var(--surface);
}

.decision-icon svg,
.detail-icon svg,
.section-icon svg {
  width: 14px;
}

.decision-card > span:not(.decision-icon),
.detail-label,
.modal-release-summary span {
  color: var(--muted);
  font-size: 0.69rem;
}

.decision-card strong,
.detail-box strong,
.modal-release-summary strong {
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
}

.decision-card small,
.detail-box small,
.modal-release-summary small {
  margin-top: 3px;
  color: #7d827e;
  font-size: 0.69rem;
}

.modal-action-bar {
  position: sticky;
  z-index: 1;
  top: 52px;
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.modal-action-bar > * {
  min-height: 50px;
}

.modal-release-summary {
  grid-template-columns: repeat(3, 1fr);
}

.detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.detail-box {
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 9px;
  min-height: 72px;
  align-content: center;
}

.detail-box .detail-icon {
  grid-row: 1 / 4;
  margin: 0;
}

.detail-box .detail-label,
.detail-box strong,
.detail-box small {
  grid-column: 2;
}

.modal-tags {
  margin-top: 14px;
}

.modal-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.modal-section-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.modal-section-head .section-icon {
  margin: 0;
  background: var(--surface-soft);
}

.modal-section-head small {
  color: hsl(128 24% 72%);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-section-head h3 {
  margin: 0;
  font-size: 0.9rem;
}

.modal-section > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.modal-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.74rem;
}

.modal-list li + li {
  margin-top: 6px;
}

.release-list {
  list-style: none;
  padding: 0;
}

.release-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
}

.release-list li span {
  color: hsl(127 23% 72%);
  font-size: 0.69rem;
  font-weight: 850;
}

.download-warning {
  padding: 16px;
  border: 1px solid hsl(48 45% 30%);
  border-radius: 6px;
  background: hsl(47 32% 14%);
}

.toast {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--invert-bg);
  color: var(--invert-fg);
  box-shadow: var(--shadow);
  font-size: 0.76rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 34px max(20px, calc((100% - var(--shell)) / 2));
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.footer-brand .brand-mark {
  border-color: #4c514e;
}

.footer-brand .brand-copy small,
.site-footer p {
  color: var(--muted);
}

.site-footer p {
  font-size: 0.72rem;
}

.top-link {
  font-size: 0.74rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  :root {
    --shell: 960px;
  }

  .header-main {
    gap: 18px;
  }

  .header-icon-action > span:last-child {
    display: none;
  }

  .hero {
    gap: 34px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .best-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .program-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  :root {
    --header-h: 118px;
  }

  .header-main {
    grid-template-columns: auto minmax(220px, 1fr) auto;
    gap: 12px;
  }

  .header-search {
    grid-column: auto;
    grid-row: auto;
  }

  .category-bar {
    height: 43px;
  }

  .service-nav {
    width: 100%;
    padding-inline: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .market-console {
    max-width: 320px;
    justify-self: end;
  }

  .best-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .modal-decision-strip,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 146px;
  }

  body {
    font-size: 15px;
  }

  .section-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-main {
    grid-template-columns: 1fr auto;
    width: calc(100% - 28px);
    min-height: 94px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-icon-action,
  .header-action {
    width: 36px;
    min-height: 36px;
    padding: 0;
  }

  .header-action {
    font-size: 0;
  }

  .header-action svg {
    width: 18px;
  }

  .search-box {
    min-height: 42px;
  }

  .search-box kbd {
    display: none;
  }

  .service-nav {
    gap: 22px;
    padding-inline: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 22px 14px;
  }

  .hero.section-shell {
    width: 100%;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: 2.18rem;
    line-height: 1.1;
  }

  .hero-description {
    display: -webkit-box;
    margin-top: 15px;
    overflow: hidden;
    font-size: 0.88rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hero-tags {
    display: none;
  }

  .hero-actions {
    margin-top: 17px;
  }

  .hero-actions > * {
    flex: 1;
    padding-inline: 10px;
    font-size: 0.77rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
    padding-top: 14px;
  }

  .hero-stats div:nth-child(3) {
    border-right: 0;
  }

  .hero-stats div:nth-child(4) {
    display: none;
  }

  .market-console {
    max-width: 100%;
    justify-self: stretch;
    box-shadow: 6px 7px 0 rgba(23, 25, 27, 0.12);
  }

  .featured-mini {
    padding: 12px;
  }

  .console-bar {
    height: 36px;
  }

  .featured-main {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  .featured-main .program-icon {
    width: 48px;
    height: 48px;
  }

  .featured-copy p {
    -webkit-line-clamp: 1;
  }

  .featured-meta {
    margin-top: 9px;
  }

  .featured-meta .tag {
    display: none;
  }

  .featured-facts {
    margin-top: 9px;
  }

  .featured-fact {
    padding: 6px 8px;
  }

  .featured-actions {
    grid-template-columns: 1fr 42px;
    margin-top: 9px;
  }

  .featured-actions > * {
    min-height: 38px;
  }

  .featured-actions .ghost-button {
    padding: 0;
    font-size: 0;
  }

  .best-section,
  .market-section,
  .drops-section,
  .admin-section {
    padding-top: 44px;
  }

  .section-heading {
    align-items: start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-heading h2,
  .submit-panel h2 {
    font-size: 1.5rem;
  }

  .section-heading > p {
    display: none;
  }

  .section-link {
    min-height: 32px;
    font-size: 0.69rem;
  }

  .best-grid {
    display: flex;
    gap: 11px;
    width: calc(100% + 14px);
    padding-right: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .best-grid::-webkit-scrollbar {
    display: none;
  }

  .best-card {
    flex: 0 0 238px;
    scroll-snap-align: start;
  }

  .best-media {
    height: 150px;
  }

  .best-thumb {
    width: 62px;
    height: 62px;
  }

  .market-toolbar {
    min-height: 48px;
    padding-inline: 10px;
  }

  .filter-block,
  .quick-filter-row {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .filter-row {
    align-items: stretch;
  }

  .filter-row::before {
    flex-basis: 78px;
    align-self: center;
  }

  .quick-reset {
    margin-left: 0;
  }

  .active-filter-strip {
    margin-right: -14px;
    margin-left: -14px;
  }

  .result-summary {
    margin-top: 14px;
    overflow: visible;
  }

  .empty-state {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }

  .empty-visual {
    width: 40px;
    height: 40px;
  }

  .empty-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .empty-actions > * {
    flex: 1;
  }

  .program-grid {
    gap: 10px;
    margin-top: 14px;
  }

  .product-media {
    height: 124px;
  }

  .product-preview {
    gap: 7px;
    padding: 34px 9px 9px;
  }

  .program-thumb {
    width: 48px;
    height: 48px;
  }

  .program-thumb svg {
    width: 23px;
    height: 23px;
  }

  .product-badges {
    top: 7px;
    left: 7px;
  }

  .product-badges .status-chip {
    display: none;
  }

  .best-chip {
    min-height: 20px;
    padding: 2px 6px;
    font-size: 0.69rem;
  }

  .best-media > .favorite-button,
  .product-media > .favorite-button {
    top: 6px;
    right: 6px;
  }

  .favorite-button {
    width: 30px;
    height: 30px;
  }

  .card-heading,
  .program-card > .short,
  .product-price-row,
  .card-stats,
  .product-tags,
  .card-bottom {
    margin-right: 10px;
    margin-left: 10px;
  }

  .card-heading {
    margin-top: 10px;
  }

  .card-kicker {
    font-size: 0.69rem;
  }

  .program-card h3 {
    min-height: 38px;
    font-size: 0.86rem;
  }

  .program-card .short {
    min-height: 36px;
    margin-top: 4px;
    font-size: 0.69rem;
    line-height: 1.4;
  }

  .product-price-row {
    display: grid;
    margin-top: 10px;
  }

  .product-price-row strong {
    font-size: 0.96rem;
  }

  .product-price-row span {
    font-size: 0.69rem;
  }

  .card-stats {
    gap: 7px;
    margin-top: 7px;
  }

  .card-metric {
    gap: 3px;
    font-size: 0.69rem;
  }

  .card-metric small {
    display: none;
  }

  .product-tags {
    min-height: 17px;
    margin-top: 7px;
  }

  .product-tags span {
    font-size: 0.69rem;
  }

  .product-tags span:nth-child(2) {
    display: none;
  }

  .card-bottom {
    grid-template-columns: 36px 1fr;
    gap: 5px;
    padding-top: 9px;
    padding-bottom: 10px;
  }

  .card-bottom .ghost-button,
  .card-bottom .download-button {
    min-height: 38px;
    padding: 0 7px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    min-height: 160px;
  }

  .submit-panel,
  .admin-form,
  .admin-queue {
    padding: 18px;
  }

  .field-hint,
  .admin-field-hint {
    display: none;
  }

  .form-two,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit-row .primary-button,
  .form-submit-row .secondary-button {
    width: 100%;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .queue-item {
    grid-template-columns: 1fr;
  }

  .queue-actions {
    max-width: none;
    justify-content: flex-start;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .program-modal {
    width: 100%;
    max-height: 92vh;
    padding: 22px 16px;
    border-radius: 8px 8px 0 0;
  }

  .modal-header {
    grid-template-columns: 50px 1fr;
  }

  .modal-header .program-icon {
    width: 50px;
    height: 50px;
  }

  .modal-header h2 {
    font-size: 1.35rem;
  }

  .modal-decision-strip,
  .detail-grid,
  .modal-release-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-action-bar {
    top: 44px;
    grid-template-columns: 1fr 116px;
  }

  .download-receipt,
  .submit-receipt,
  .admin-receipt {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 26px 14px;
  }

  .site-footer p {
    display: none;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    width: min(176px, calc(100% - 24px));
    max-height: 30px;
    padding: 6px 9px;
    overflow: hidden;
    font-size: 0.69rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 350px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .best-card:hover,
  .program-card:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
  }

  .favorite-button:not(.active):hover {
    border-color: var(--line);
    color: var(--muted);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Viewfind / All Software identity and story */
.site-header .brand-copy strong,
.footer-brand .brand-copy strong {
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-header .brand-copy small {
  font-size: 0.69rem;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.4rem, 5.5vw, 5.5rem);
}

.hero h1 > span + span {
  padding-left: clamp(34px, 4vw, 64px);
}

.market-story {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.market-story-inner {
  padding-block: clamp(42px, 5vw, 68px);
}

.market-story-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: end;
  margin-bottom: 28px;
}

.market-story-head .eyebrow {
  margin: 0 0 7px;
  color: var(--accent);
}

.market-story-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1;
}

.market-story-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid hsl(113 8% 30%);
  list-style: none;
}

.market-story-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px 12px;
  min-width: 0;
  padding: 22px 20px;
}

.market-story-steps li + li {
  border-left: 1px solid var(--line);
}

.market-story-steps span {
  grid-row: 1 / 3;
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 900;
}

.market-story-steps strong {
  color: var(--ink);
  font-size: 1rem;
}

.market-story-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
  word-break: keep-all;
}

@media (max-width: 900px) {
  .market-story-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .market-story-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-story-steps li:nth-child(3) {
    border-left: 0;
  }

  .market-story-steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .hero {
    --mobile-stage-bottom: max(18px, calc(636px - 100svh));
  }

  .site-header .brand-copy strong {
    font-size: 0.72rem;
  }

  .hero h1 {
    max-width: 270px;
    font-size: clamp(2.2rem, 10vw, 2.75rem);
  }

  .hero h1 > span + span {
    padding-left: 20px;
  }

  .market-story-inner {
    padding-block: 36px;
  }

  .market-story-head {
    margin-bottom: 22px;
  }

  .market-story-head h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 520px) {
  .market-story-steps {
    grid-template-columns: 1fr;
  }

  .market-story-steps li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .market-story-steps li {
    padding: 17px 4px;
  }
}

/* ─── 레이어 2 / 스토어프런트 ────────────────────────────────────────
   주의: 이 구간은 색만 있는 층이 아니다. 색 선언 106개와 함께 레이아웃
   선언 257개(grid, gap, padding, width, font-size 등)를 담고 있고 둘 다 살아 있다.
   아래 "레이어 3 / 프로모"가 같은 선택자 일부를 다시 정의하므로, 여기서 색을
   고쳤는데 화면이 그대로면 레이어 3을 봐야 한다. 반대로 여기만 지우면
   레이아웃이 무너진다 — 실제로 통째로 지워 보고 2,274곳이 어긋나는 것을 확인했다.
   층을 합치는 것은 별도 작업으로 남긴다. */
.site-header {
  background: rgba(12, 14, 13, 0.96);
}

.site-footer {
  background: #090b0a;
  color: var(--ink);
}

.category-bar {
  border-color: var(--line);
}

.search-box,
.search-box:focus-within,
.search-box kbd,
.header-icon-action,
.secondary-button,
.ghost-button,
.select-field select,
.field-card input,
.field-card select,
.field-card textarea,
.admin-field-card input,
.admin-field-card select,
.admin-field-card textarea,
.modal-close,
.decision-icon,
.detail-icon,
.section-icon,
.receipt-icon,
.submit-receipt-icon,
.admin-receipt-icon {
  background: var(--surface-soft);
}

.search-box:focus-within {
  border-color: var(--line);
}

.search-box > svg,
.search-box > span > svg,
.search-box input::placeholder,
.search-box kbd,
.search-clear,
.service-nav a,
.hero-tags > span,
.hero-stats dt,
.best-category,
.best-meta,
.filter-row::before,
.filter-button,
.quick-toggle,
.quick-reset,
.queue-filter,
.active-filter-chip,
.active-filter-reset,
.card-kicker,
.product-price-row span,
.card-metric,
.card-metric small,
.queue-meta-chip,
.queue-check-chip {
  color: var(--muted);
}

.header-action,
.primary-button,
.download-button,
.featured-actions .download-button {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--invert-fg);
}

.header-action:hover,
.primary-button:hover,
.download-button:hover {
  background: var(--accent-strong);
}

.hero {
  border-color: var(--line);
}

.eyebrow,
.active-filter-label,
.best-footer button,
.product-tags span,
.modal-section-head small,
.release-list li span {
  color: var(--accent-strong);
}

.hero-description {
  color: #b6beb8;
}

.hero-tags button {
  border-color: var(--line-strong);
  background: transparent;
}

.hero-tags button:hover {
  background: transparent;
}

.section-link,
.best-card,
.market-toolbar,
.filter-block,
.program-card,
.empty-state,
.timeline-item,
.submit-panel,
.admin-form,
.admin-queue,
.program-modal {
  background: var(--surface);
}

.featured-fact,
.filter-button,
.quick-toggle,
.quick-reset,
.queue-filter,
.active-filter-chip,
.active-filter-reset,
.quick-filter-row,
.decision-card,
.detail-box,
.modal-release-summary article {
  background: var(--surface-soft);
}

.program-icon.productivity,
.program-thumb.productivity,
.best-thumb.productivity {
  background: #172b34;
}

.program-icon.windows,
.program-thumb.windows,
.best-thumb.windows {
  background: #272139;
}

.program-icon.utility,
.program-thumb.utility,
.best-thumb.utility {
  background: #18301f;
}

.program-icon.experimental,
.program-thumb.experimental,
.best-thumb.experimental {
  background: #34221e;
}

.program-icon.personal,
.program-thumb.personal,
.best-thumb.personal {
  background: #321f27;
}

.best-media,
.product-media {
  background: #10171c;
}

.program-thumb,
.best-thumb {
  border-color: #3a4248;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.favorite-button {
  background: rgba(20, 23, 21, 0.9);
  color: #b3bbb5;
}

.status-chip,
.tag,
.os-chip {
  background: #252a26;
  color: #b7bfb9;
}

.status-chip.approved,
.queue-check-chip.is-ready {
  background: #17361f;
  color: #9ce7a5;
}

.status-chip.review,
.queue-check-chip.is-waiting {
  background: #29223f;
  color: #c7b8ff;
}

.status-chip.rejected,
.status-chip.archived {
  background: #3a1f25;
  color: #ffabb4;
}

.best-chip,
.filter-button[aria-pressed="true"],
.queue-filter[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--invert-fg);
}

.best-rank {
  background: #0b0d0c;
  color: var(--ink);
}

.quick-toggle[aria-pressed="true"],
.active-filter-strip,
.download-receipt,
.submit-receipt,
.admin-receipt,
.decision-card.is-ready,
.queue-item.is-recent {
  border-color: #345c39;
  background: #15281a;
  color: #a9dfae;
}

.quick-note {
  border-color: #443b68;
  background: #211d31;
  color: #c7b8ff;
}

.quick-count,
.quick-note strong,
.active-filter-chip,
.active-filter-reset {
  background: #252a26;
  color: var(--ink);
}

.download-receipt.is-blocked,
.admin-receipt.is-blocked,
.decision-card.is-locked {
  border-color: #63313a;
  background: #301a20;
  color: #ffb0b8;
}

.download-button.is-locked,
.download-button[aria-disabled="true"] {
  border-color: #343a36;
  background: #252a27;
  color: var(--muted);
}

.mini-action,
.mini-action.primary-mini,
.os-fieldset > label,
.queue-meta-chip,
.queue-check-chip,
.field-icon,
.admin-field-icon,
.modal-section-head .section-icon {
  background: var(--surface-soft);
}

.download-warning {
  border-color: #5c4b27;
  background: #282113;
  color: #e7d5a8;
}

.modal-backdrop {
  background: rgba(4, 6, 5, 0.78);
}

.toast,
.skip-link {
  background: var(--accent);
  color: var(--invert-fg);
}

.market-section {
  padding-bottom: 74px;
}

.standalone-page {
  min-height: calc(100vh - var(--header-h) - 100px);
  padding-bottom: 74px;
}

.standalone-page > article {
  width: 100%;
  margin-inline: auto;
}

.standalone-page > .submit-panel {
  max-width: 1120px;
  padding: 0;
  border: 0;
  background: transparent;
}

.form-cluster-head > span {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--accent-strong);
}

@media (max-width: 620px) {
  .standalone-page {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 52px;
  }

  .market-section {
    padding-bottom: 52px;
  }
}

.admin-section {
  padding-top: 48px;
  border-top: 0;
}

.creator-heading,
.creator-identity,
.creator-heading-actions {
  display: flex;
  align-items: center;
}

.creator-heading {
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.creator-identity {
  gap: 14px;
}

.creator-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
}

.creator-avatar img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.creator-heading h2 {
  margin-top: 4px;
  font-size: 1.9rem;
  line-height: 1.05;
}

.creator-heading .creator-identity p:last-child {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.76rem;
}

.creator-heading-actions {
  gap: 14px;
}

.creator-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a9dfae;
  font-size: 0.69rem;
  font-weight: 800;
  white-space: nowrap;
}

.creator-verified svg {
  width: 16px;
}

.creator-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.creator-metric {
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: 0;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.creator-metric:first-child {
  border-top-color: var(--accent);
}

.creator-metric-icon {
  display: grid;
  grid-column: 2;
  grid-row: 1 / 3;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.creator-metric-icon svg {
  width: 16px;
  height: 16px;
}

.creator-metric > small {
  align-self: center;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
}

.creator-metric > strong {
  align-self: end;
  margin-top: 8px;
  font-size: 1.65rem;
  line-height: 1;
}

.creator-metric > strong em {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 700;
}

.creator-metric > span:last-child {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.69rem;
}

.creator-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  align-items: start;
  margin-top: 36px;
}

.creator-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.creator-panel-head h3 {
  margin-top: 5px;
  font-size: 1.15rem;
}

.creator-panel-head > small {
  color: var(--muted);
  font-size: 0.69rem;
}

.creator-program-list {
  border-top: 1px solid var(--line);
}

.creator-program-row {
  display: grid;
  grid-template-columns: 44px minmax(160px, 1fr) minmax(225px, 0.8fr) 34px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}

.creator-program-row:hover {
  background: var(--surface-soft);
}

.creator-program-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.creator-program-icon svg {
  width: 21px;
  height: 21px;
}

.creator-program-icon.productivity {
  background: #172b34;
}

.creator-program-icon.windows {
  background: #272139;
}

.creator-program-icon.utility {
  background: #18301f;
}

.creator-program-icon.experimental {
  background: #34221e;
}

.creator-program-icon.personal {
  background: #321f27;
}

.creator-program-main {
  min-width: 0;
}

.creator-program-title {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.creator-program-title h4 {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-program-title > span {
  color: #9ce7a5;
  font-size: 0.69rem;
  font-weight: 800;
}

.creator-program-main > small {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-performance-bar,
.creator-insight-meter {
  height: 4px;
  overflow: hidden;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--surface-soft);
}

.creator-performance-bar span,
.creator-insight-meter span {
  display: block;
  width: var(--performance);
  height: 100%;
  background: var(--accent);
}

.creator-program-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.creator-program-stats > span {
  min-width: 0;
}

.creator-program-stats small,
.creator-program-stats strong {
  display: block;
}

.creator-program-stats small {
  color: var(--muted);
  font-size: 0.69rem;
}

.creator-program-stats strong {
  margin-top: 4px;
  font-size: 0.7rem;
}

.creator-detail-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}

.creator-detail-button:hover {
  border-color: var(--accent);
  background: var(--surface-soft);
  color: var(--ink);
}

.creator-detail-button svg {
  width: 15px;
}

.creator-insight {
  padding: 20px;
  border: 1px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 7px;
  background: var(--surface);
}

.creator-insight-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-strong);
  font-size: 0.69rem;
  font-weight: 850;
  text-transform: uppercase;
}

.creator-insight-label svg {
  width: 15px;
}

.creator-insight > p:not(.creator-insight-copy) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.69rem;
}

.creator-insight h3 {
  margin-top: 6px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.creator-insight-score {
  margin-top: 24px;
}

.creator-insight-score strong,
.creator-insight-score span {
  display: block;
}

.creator-insight-score strong {
  font-size: 2rem;
  line-height: 1;
}

.creator-insight-score span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.69rem;
}

.creator-insight-meter span {
  width: var(--share);
}

.creator-insight-copy {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.69rem;
}

.creator-insight-copy strong {
  color: var(--ink);
}

.creator-insight dl {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.creator-insight dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.creator-insight dt {
  color: var(--muted);
  font-size: 0.69rem;
}

.creator-insight dd {
  font-size: 0.72rem;
  font-weight: 850;
}

.creator-insight .secondary-button {
  width: 100%;
  margin-top: 20px;
}

.admin-workspace {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-workspace summary {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

.admin-workspace summary::-webkit-details-marker {
  display: none;
}

.admin-workspace summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.admin-workspace-icon,
.admin-workspace-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--surface-soft);
}

.admin-workspace-icon svg {
  width: 16px;
}

.admin-workspace summary strong,
.admin-workspace summary small {
  display: block;
}

.admin-workspace summary strong {
  font-size: 0.75rem;
}

.admin-workspace summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.69rem;
}

.admin-workspace-action::before {
  content: "+";
  font-size: 1rem;
}

.admin-workspace[open] .admin-workspace-action::before {
  content: "−";
}

.admin-workspace-body {
  padding: 4px 0 22px;
}

.admin-workspace .admin-layout {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .creator-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-dashboard {
    grid-template-columns: 1fr;
  }

  .creator-insight {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .creator-insight-label,
  .creator-insight > p,
  .creator-insight h3,
  .creator-insight-score,
  .creator-insight-meter,
  .creator-insight-copy {
    grid-column: 1;
  }

  .creator-insight dl,
  .creator-insight .secondary-button {
    grid-column: 2;
  }

  .creator-insight dl {
    grid-row: 1 / 5;
    margin-top: 0;
    padding: 0 0 0 24px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .admin-section {
    padding-top: 36px;
  }

  .creator-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .creator-avatar {
    width: 44px;
    height: 44px;
  }

  .creator-avatar img {
    width: 32px;
    height: 32px;
  }

  .creator-heading h2 {
    font-size: 1.55rem;
  }

  .creator-heading-actions {
    justify-content: space-between;
    width: 100%;
  }

  .creator-metrics {
    gap: 8px;
  }

  .creator-metric {
    min-height: 112px;
    padding: 13px;
  }

  .creator-metric > strong {
    font-size: 1.3rem;
  }

  .creator-dashboard {
    margin-top: 34px;
  }

  .creator-program-row {
    grid-template-columns: 40px minmax(0, 1fr) 34px;
    gap: 9px;
    padding: 13px 0;
  }

  .creator-program-icon {
    width: 40px;
    height: 40px;
  }

  .creator-detail-button {
    grid-column: 3;
    grid-row: 1;
  }

  .creator-program-stats {
    grid-column: 2 / -1;
    width: 100%;
    padding-top: 3px;
  }

  .creator-insight {
    display: block;
    padding: 17px;
  }

  .creator-insight dl {
    margin-top: 20px;
    padding: 15px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .admin-workspace {
    margin-top: 36px;
  }
}

/* ─── 레이어 3 / 프로모 ─────────────────────────────────────────────
   레이어 2의 선택자 일부를 다시 정의한다. 같은 선택자가 두 층에 있으면
   여기가 이긴다. SW 화면의 색을 고칠 때는 이 층부터 찾는 것이 맞다. */
.site-header {
  background: rgba(13, 24, 34, 0.94);
  color: var(--ink);
  border-color: var(--line);
}

.header-main {
  min-height: 70px;
}

.category-bar {
  border-color: var(--line);
}

.search-box,
.search-box:focus-within,
.search-box kbd,
.header-icon-action,
.secondary-button,
.ghost-button,
.select-field select,
.field-card input,
.field-card select,
.field-card textarea,
.admin-field-card input,
.admin-field-card select,
.admin-field-card textarea,
.modal-close,
.decision-icon,
.detail-icon,
.section-icon,
.receipt-icon,
.submit-receipt-icon,
.admin-receipt-icon {
  background: var(--surface-soft);
  color: var(--ink);
}

.search-box:focus-within {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(18, 115, 99, 0.12);
}

.search-box > svg,
.search-box > span > svg,
.search-box input::placeholder,
.search-box kbd,
.search-clear,
.service-nav a,
.best-category,
.best-meta,
.filter-row::before,
.filter-button,
.quick-toggle,
.quick-reset,
.queue-filter,
.active-filter-chip,
.active-filter-reset,
.card-kicker,
.product-price-row span,
.card-metric,
.card-metric small,
.queue-meta-chip,
.queue-check-chip {
  color: var(--muted);
}

.header-action,
.primary-button,
.download-button,
.featured-actions .download-button {
  border-color: var(--ink);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

/* 라이트에서 주요 버튼은 호버 시 더 어두워졌다. 다크에서는 반대로 더 밝아져야 눌리는 느낌이 난다. */
.header-action:hover,
.primary-button:hover,
.download-button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: clamp(560px, calc(100svh - var(--header-h) - 86px), 720px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--hero-bg);
  border-color: var(--line);
}

.hero-visual,
.hero-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual {
  z-index: 0;
  pointer-events: none;
}

.hero-visual::after {
  display: none;
}

.hero-visual video {
  object-fit: cover;
  object-position: 66% 50%;
  filter: saturate(0.92) contrast(1.03);
}

.hero-veil {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: min(60%, 880px);
  background: rgba(13, 24, 34, 0.9);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-top: 38px;
  padding-bottom: 112px;
}

.hero-copy {
  max-width: 610px;
}

.hero .eyebrow {
  color: var(--accent-strong);
}

.hero-eyebrow span + span::before {
  background: rgba(17, 21, 18, 0.24);
}

.hero h1 {
  max-width: 610px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 4.7rem;
  font-weight: 900;
  line-height: 0.98;
}

.hero h1 > span + span {
  padding-left: 0;
}

.hero h1 em {
  color: var(--hero-accent);
}

.hero-description {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  margin-top: 26px;
}

.hero .primary-button {
  border-color: var(--ink);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.hero .primary-button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.hero .secondary-button {
  border-color: rgba(237, 245, 247, 0.35);
  background: rgba(13, 24, 34, 0.58);
}

.hero-tags {
  gap: 10px;
  margin-top: 24px;
}

.hero-tags > span {
  color: var(--muted);
}

.hero-tags button {
  padding: 5px 9px;
  border: 1px solid rgba(237, 245, 247, 0.18);
  border-radius: 4px;
  background: rgba(13, 24, 34, 0.5);
  color: var(--muted);
}

.hero-tags button:hover {
  border-color: var(--accent-strong);
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.hero-stats {
  max-width: 500px;
  margin-top: 27px;
  border-color: rgba(237, 245, 247, 0.16);
}

.hero-stats div {
  border-color: rgba(237, 245, 247, 0.13);
}

.hero-stats dt {
  color: var(--muted);
}

.hero-stats dd {
  color: var(--ink);
}

/* 라이트 시절 이 띠는 페이지를 뒤집어 눈에 띄게 했다.
   페이지 전체가 어두워진 지금 뒤집을 밝음이 없으므로, 한 단계 밝은 면으로 구분한다. */
.featured-strip {
  width: 100%;
  background: var(--surface-soft);
  color: var(--ink);
}

.featured-strip-inner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 154px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.featured-strip-head .eyebrow {
  color: var(--accent);
}

.featured-strip-head h2 {
  margin-top: 7px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.featured-strip .featured-mini {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(230px, 0.7fr) auto;
  gap: 20px;
  align-items: center;
  padding: 0;
}

.featured-strip .featured-main {
  min-width: 0;
}

.featured-strip .featured-copy p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.featured-strip .featured-meta {
  display: none;
}

.featured-strip .featured-facts {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.featured-strip .featured-fact {
  background: transparent;
}

.featured-strip .featured-fact span {
  color: var(--muted);
}

.featured-strip .featured-actions {
  grid-template-columns: minmax(150px, 1fr) 72px;
  width: 250px;
  margin: 0;
}

.featured-strip .featured-actions .download-button {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--invert-fg);
  padding-inline: 12px;
  white-space: nowrap;
}

.featured-strip .featured-actions .ghost-button {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.best-section,
.market-section,
.drops-section,
.standalone-page,
.admin-section {
  padding-top: 64px;
}

.section-heading h2,
.submit-panel h2 {
  font-size: 2rem;
  word-break: keep-all;
  overflow-wrap: normal;
}

.section-link,
.best-card,
.market-toolbar,
.filter-block,
.program-card,
.empty-state,
.timeline-item,
.submit-panel,
.admin-form,
.admin-queue,
.program-modal,
.creator-metric,
.creator-insight {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.best-card,
.program-card {
  border-radius: 6px;
}

.best-card:hover,
.program-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.best-media,
.product-media {
  background: var(--surface-soft);
}

.best-media.productivity,
.product-media.productivity,
.program-icon.productivity,
.program-thumb.productivity,
.best-thumb.productivity,
.creator-program-icon.productivity {
  background: hsl(188 30% 14%);
}

.best-media.windows,
.product-media.windows,
.program-icon.windows,
.program-thumb.windows,
.best-thumb.windows,
.creator-program-icon.windows {
  background: hsl(222 32% 16%);
}

.best-media.utility,
.product-media.utility,
.program-icon.utility,
.program-thumb.utility,
.best-thumb.utility,
.creator-program-icon.utility {
  background: hsl(140 28% 13%);
}

.best-media.experimental,
.product-media.experimental,
.program-icon.experimental,
.program-thumb.experimental,
.best-thumb.experimental,
.creator-program-icon.experimental {
  background: hsl(35 32% 14%);
}

.best-media.personal,
.product-media.personal,
.program-icon.personal,
.program-thumb.personal,
.best-thumb.personal,
.creator-program-icon.personal {
  background: hsl(342 30% 15%);
}

.program-thumb,
.best-thumb {
  border-color: rgba(237, 245, 247, 0.16);
  color: var(--ink);
  box-shadow: 0 10px 25px rgba(35, 48, 39, 0.12);
}

.favorite-button {
  background: rgba(13, 24, 34, 0.92);
  color: var(--muted);
}

.status-chip,
.tag,
.os-chip,
.quick-count,
.quick-note strong,
.active-filter-chip,
.active-filter-reset {
  background: var(--surface-soft);
  color: var(--muted);
}

.status-chip.approved,
.queue-check-chip.is-ready {
  background: hsl(132 32% 14%);
  color: hsl(140 50% 72%);
}

.status-chip.review,
.queue-check-chip.is-waiting {
  background: hsl(253 32% 14%);
  color: hsl(254 33% 72%);
}

.status-chip.rejected,
.status-chip.archived {
  background: hsl(351 32% 14%);
  color: hsl(350 44% 72%);
}

.best-chip,
.filter-button[aria-pressed="true"],
.queue-filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.quick-toggle[aria-pressed="true"],
.active-filter-strip,
.download-receipt,
.submit-receipt,
.admin-receipt,
.decision-card.is-ready,
.queue-item.is-recent {
  border-color: hsl(131 37% 30%);
  background: hsl(129 32% 14%);
  color: hsl(139 43% 72%);
}

.quick-note {
  border-color: hsl(253 45% 30%);
  background: hsl(253 32% 14%);
  color: hsl(254 32% 72%);
}

.download-receipt.is-blocked,
.admin-receipt.is-blocked,
.decision-card.is-locked {
  border-color: hsl(351 45% 30%);
  background: hsl(352 32% 14%);
  color: hsl(349 46% 72%);
}

.download-button.is-locked,
.download-button[aria-disabled="true"] {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  color: var(--muted);
}

.download-warning {
  border-color: hsl(42 45% 30%);
  background: hsl(43 32% 14%);
  color: hsl(42 48% 72%);
}

.modal-backdrop {
  background: rgba(17, 21, 18, 0.72);
}

.toast,
.skip-link {
  background: var(--invert-bg);
  color: var(--invert-fg);
}

.site-footer {
  background: var(--surface-soft);
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-veil {
    width: 68%;
  }

  .featured-strip-inner {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .featured-strip .featured-mini {
    grid-template-columns: minmax(230px, 1fr) auto;
  }

  .featured-strip .featured-facts {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 146px;
  }

  .header-main {
    min-height: 102px;
  }

  .hero {
    min-height: 620px;
    padding: 0;
  }

  .hero-visual video {
    object-position: 57% 50%;
  }

  .hero-veil {
    width: 100%;
    background: rgba(13, 24, 34, 0.72);
  }

  .hero-layout {
    align-items: flex-start;
    padding: 48px 14px 106px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    margin-top: 13px;
    font-size: 2.8rem;
    line-height: 1;
  }

  .hero-description {
    max-width: 340px;
    margin-top: 18px;
    font-size: 0.87rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 21px;
  }

  .hero-actions > * {
    padding-inline: 9px;
    font-size: 0.75rem;
  }

  .hero-tags {
    display: flex;
    gap: 6px;
    margin-top: 18px;
  }

  .hero-tags > span {
    display: none;
  }

  .hero-tags button {
    padding: 4px 7px;
    font-size: 0.69rem;
  }

  .hero-stats {
    margin-top: 19px;
    padding-top: 12px;
  }

  .hero-stats dt {
    font-size: 0.69rem;
  }

  .hero-stats dd {
    font-size: 0.84rem;
  }

  .featured-strip-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .featured-strip-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
  }

  .featured-strip-head h2 {
    margin-top: 4px;
    font-size: 1.08rem;
  }

  .featured-strip .featured-mini {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .featured-strip .featured-copy p {
    display: none;
  }

  .featured-strip .featured-actions {
    width: 100%;
  }

  .best-section,
  .market-section,
  .drops-section,
  .standalone-page,
  .admin-section {
    padding-top: 50px;
  }

  .section-heading h2,
  .submit-panel h2 {
    font-size: 1.65rem;
  }
}

/* Interactive market stage */
.site-header {
  position: fixed;
  z-index: 120;
  top: 14px;
  left: 50%;
  display: grid;
  grid-template-areas: "brand nav search actions";
  grid-template-columns: auto auto minmax(210px, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(calc(100% - 32px), 1200px);
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 16, 14, 0.9);
  color: #fff;
  box-shadow: 0 18px 46px rgba(8, 12, 9, 0.22);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: opacity 240ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-revealed {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}

.header-reveal-hint {
  position: fixed;
  z-index: 121;
  top: 0;
  left: 50%;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(13, 16, 14, 0.9);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(8, 12, 9, 0.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: opacity 180ms ease, color 180ms ease, background 180ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-reveal-hint:hover,
.header-reveal-hint:focus-visible {
  background: #151915;
  color: #fff;
}

.header-reveal-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.header-reveal-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  animation: header-hint-pulse 1.8s ease-in-out infinite;
}

.header-reveal-hint svg {
  width: 10px;
  height: 10px;
}

@keyframes header-hint-pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.header-main,
.category-bar {
  display: contents;
}

.site-header .brand {
  grid-area: brand;
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, 0.12);
  background: #202520;
}

.brand-copy strong {
  color: #fff;
}

.brand-copy small {
  color: var(--accent-2);
}

.header-search {
  grid-area: search;
}

.site-header .search-box {
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #232723;
  color: #fff;
}

.site-header .search-box:focus-within {
  border-color: hsl(84 45% 30%);
  background: #292f29;
  box-shadow: 0 0 0 3px rgba(118, 167, 255, 0.2);
}

.site-header .search-box input,
.site-header .search-box input::placeholder,
.site-header .search-box > svg,
.site-header .search-box > span > svg,
.site-header .search-clear,
.site-header .search-box kbd {
  color: rgba(255, 255, 255, 0.72);
}

.site-header .search-box kbd {
  border-color: rgba(255, 255, 255, 0.12);
  background: #171a17;
}

.header-actions {
  grid-area: actions;
}

.header-utility-group {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.header-sound-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 86px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  transition: background 160ms ease, color 160ms ease;
}

.header-sound-action:hover,
.header-sound-action:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-sound-action.is-on {
  background: var(--accent-2);
  color: var(--invert-fg);
}

.header-sound-action.is-waiting {
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px rgba(118, 167, 255, 0.34);
}

.sound-icon {
  display: grid;
  flex: 0 0 auto;
}

.sound-icon svg {
  width: 17px;
  height: 17px;
}

.sound-copy {
  display: grid;
  justify-items: start;
  line-height: 1;
}

.sound-copy strong {
  display: block;
  font-size: 0.69rem;
}

.sound-copy small {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 3px;
  font-size: 0.69rem;
  font-weight: 800;
  opacity: 0.7;
}

.sound-copy small::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.platform-home-link,
.site-header .header-icon-action,
.site-header .header-action {
  min-height: 36px;
  border-radius: 4px;
}

.platform-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.69rem;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease;
}

.platform-home-link:hover,
.platform-home-link:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
}

.platform-home-link svg {
  width: 16px;
  height: 16px;
}

.platform-home-logo {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.platform-home-arrow {
  display: none;
}

.site-header .header-icon-action > span:last-child {
  display: none;
}

.site-header .header-icon-action {
  width: 38px;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.site-header .header-icon-action:hover,
.site-header .header-icon-action:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.service-nav {
  grid-area: nav;
  justify-content: center;
  gap: 2px;
  height: 40px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.site-header .service-nav a {
  justify-content: center;
  height: 36px;
  padding: 0 13px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  transition: background 160ms ease, color 160ms ease;
}

.site-header .service-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header .service-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--ink);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.site-header .service-nav a::after {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(640px, 100svh, 860px);
  min-height: 640px;
  max-height: 860px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: var(--surface-soft);
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-visual {
  overflow: hidden;
  background: var(--surface-soft);
}

.hero-visual::before {
  display: none;
}

.hero-visual video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: none;
  border: 0;
  background: var(--surface-soft);
  box-shadow: none;
  transform: none;
  transition: opacity 420ms ease;
}

.hero-visual .hero-final-frame {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--surface-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.hero-final-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.is-complete .hero-visual video {
  opacity: 0;
}

.hero.is-complete .hero-final-frame {
  opacity: 1;
}

.hero-veil {
  display: none;
}

.hero-layout {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: start;
  min-height: 0;
  padding: clamp(154px, 24vh, 212px) 0 0 clamp(26px, 6vw, 92px);
  pointer-events: none;
}

.hero-layout > [data-stage-cue] {
  grid-area: 1 / 1;
}

.hero-copy {
  max-width: 560px;
  text-align: left;
}

.hero-copy[data-stage-cue],
.hero-phase-copy[data-stage-cue] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1), visibility 300ms;
}

.hero-copy[data-stage-cue].is-active,
.hero-phase-copy[data-stage-cue].is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.hero.is-complete .hero-layout [data-stage-cue] {
  visibility: hidden;
  opacity: 0;
  transition: none;
}

.hero-intro-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-intro-index {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(237, 245, 247, 0.42);
  border-radius: 50%;
  background: rgba(13, 24, 34, 0.38);
  font-size: 0.69rem;
  backdrop-filter: blur(8px);
}

.hero-intro-rule {
  width: 44px;
  height: 1px;
  background: rgba(11, 110, 93, 0.56);
}

.hero-intro-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.hero-intro-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 100ms;
}

.hero-copy.is-active .hero-intro-line > span {
  transform: translateY(0);
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.6rem, 6vw, 6rem);
  line-height: 0.9;
  text-shadow: 0 2px 20px rgba(3, 9, 14, 0.72);
}

.hero h1 em {
  color: var(--accent);
}

.hero-description {
  max-width: 320px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: left;
  text-shadow: 0 1px 14px rgba(3, 9, 14, 0.82);
}

.hero-phase-copy {
  max-width: 370px;
  text-align: left;
}

.hero-phase-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-phase-meta span:first-child {
  padding-right: 12px;
  border-right: 1px solid rgba(114, 235, 197, 0.42);
}

.hero-phase-title {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.04;
  text-shadow: 0 2px 20px rgba(3, 9, 14, 0.76);
}

.hero-phase-title strong {
  display: block;
  color: var(--accent);
  font-weight: 900;
}

/* 660px일 때 안쪽 행이 space-between으로 벌어지면서 "Verified / Ready"와
   하단 링크가 인물 위 밝은 구간(x 470~790)까지 밀려났다. 그 글자들을 읽히게
   하려고 화면 전체를 어둡게 덮고 있었다. 글 상자를 제목 실제 폭까지 좁히면
   덮을 이유가 사라진다. 제목 최장 줄이 384px이라 줄바꿈은 그대로다. */
.hero-final-info {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(28px, 6vw, 96px);
  width: min(520px, calc(100% - 56px));
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 24px));
  transition: opacity 360ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1), visibility 360ms;
}

.hero.is-complete .hero-final-info {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.hero-final-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 360ms ease 80ms, transform 500ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

/* margin-left:auto 로 행 끝까지 밀려나 인물 위 밝은 구간에 놓여 있었다.
   눈썹글 바로 뒤에 붙여 글 기둥 안에 둔다. */
.hero-final-status {
  color: var(--muted);
}

.hero.is-complete .hero-final-kicker {
  opacity: 1;
  transform: translateY(0);
}

.hero-final-index {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(237, 245, 247, 0.42);
  border-radius: 50%;
  background: rgba(13, 24, 34, 0.42);
  font-size: 0.69rem;
  backdrop-filter: blur(8px);
}

.hero-final-rule {
  width: 44px;
  height: 1px;
  background: rgba(11, 110, 93, 0.56);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
}

.hero.is-complete .hero-final-rule {
  transform: scaleX(1);
}

.hero-final-info h2 {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 5.45vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(3, 9, 14, 0.72);
}

.hero-final-line {
  display: flex;
  gap: 0.16em;
  align-items: baseline;
  overflow: visible;
  padding-bottom: 0.1em;
}

.hero-final-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.46em) scale(0.98);
  transition: opacity 420ms ease, filter 560ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-final-line:first-child .hero-final-word:first-child {
  transition-delay: 100ms;
}

.hero-final-line:first-child .hero-final-word:nth-child(2) {
  transition-delay: 170ms;
}

.hero-final-line.is-accent .hero-final-word:first-child {
  transition-delay: 250ms;
}

.hero-final-line.is-accent .hero-final-word:nth-child(2) {
  transition-delay: 320ms;
}

.hero.is-complete .hero-final-word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.hero-final-word > span {
  display: block;
  position: relative;
  transform: translate3d(var(--word-x, 0), var(--word-y, 0), 0);
  transition: color 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-final-line.is-accent .hero-final-word:first-child > span {
  color: var(--accent);
}

.hero-final-word.is-key > span {
  z-index: 0;
  color: var(--ink);
}

.hero-final-word.is-key > span::after {
  position: absolute;
  z-index: -1;
  right: -0.05em;
  bottom: 0.03em;
  left: -0.04em;
  height: 0.22em;
  background: var(--accent-2);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: height 240ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1) 640ms;
}

.hero.is-complete .hero-final-word.is-key > span::after {
  transform: scaleX(1);
}

.hero-final-title:hover .hero-final-word.is-key > span::after {
  height: 0.54em;
}

.hero-final-title:hover .hero-final-line.is-accent .hero-final-word:first-child > span {
  color: hsl(171 62% 72%);
}

.hero-final-support {
  display: flex;
  /* space-between으로 610px을 벌리면 링크가 인물 위로 나간다.
     좁은 글 기둥에서는 가로로 벌리는 대신 아래로 쌓는다. */
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 100%;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(237, 245, 247, 0.24);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease 500ms, transform 620ms cubic-bezier(0.22, 1, 0.36, 1) 500ms;
}

.hero.is-complete .hero-final-support {
  opacity: 1;
  transform: translateY(0);
}

.hero-final-support > p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
  text-shadow: 0 1px 14px rgba(3, 9, 14, 0.84);
}

.hero-final-support nav {
  display: flex;
  flex: none;
  gap: 20px;
}

.hero-final-support nav a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(237, 245, 247, 0.4);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease;
}

.hero-final-support nav a:hover,
.hero-final-support nav a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-final-support nav svg {
  width: 13px;
  height: 13px;
}

.hero-enter {
  position: absolute;
  z-index: 6;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(237, 245, 247, 0.36);
  border-radius: 50%;
  background: rgba(13, 24, 34, 0.76);
  color: var(--ink);
  backdrop-filter: blur(10px);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hero-enter > span {
  display: grid;
  place-items: center;
}

.hero-enter:hover,
.hero-enter:focus-visible {
  border-color: var(--accent);
  background: #111511;
  color: #fff;
  transform: translateY(-2px);
}

.hero-enter svg {
  width: 15px;
  height: 15px;
}

.hero-chapters {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: clamp(18px, 2.4vw, 36px);
  display: grid;
  gap: 3px;
  transform: translateY(-50%);
  transition: opacity 240ms ease, visibility 240ms;
}

.hero.is-complete .hero-chapters {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-chapters button {
  display: grid;
  grid-template-columns: 18px 60px 4px;
  gap: 8px;
  align-items: center;
  width: 106px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: right;
  opacity: 0.34;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-chapters button:hover,
.hero-chapters button:focus-visible,
.hero-chapters button.is-active {
  opacity: 1;
  transform: translateX(-3px);
}

.hero-chapter-number {
  font-size: 0.69rem;
  font-weight: 800;
}

.hero-chapter-label {
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-chapters button:hover .hero-chapter-label,
.hero-chapters button:focus-visible .hero-chapter-label,
.hero-chapters button.is-active .hero-chapter-label {
  opacity: 1;
  transform: translateX(0);
}

.hero-chapters i {
  width: 2px;
  height: 14px;
  background: rgba(17, 21, 17, 0.3);
  transform: scaleY(0.35);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-chapters button.is-active i {
  background: #111511;
  transform: scaleY(1);
}

.hero-signal {
  display: none;
}

.hero-signal > span {
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-signal .hero-stats {
  display: flex;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.hero-signal .hero-stats div {
  min-width: 94px;
  padding: 0 14px;
  border-left: 1px solid rgba(17, 21, 17, 0.22);
}

.hero-signal .hero-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-signal .hero-stats dt {
  font-size: 0.69rem;
}

.hero-signal .hero-stats dd {
  margin-top: 2px;
  font-size: 0.82rem;
}

/* Storefront lower sections */
.featured-strip-inner {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  min-height: 166px;
}

.featured-strip-head h2 {
  font-size: 1.35rem;
}

.featured-strip .featured-mini {
  grid-template-columns: minmax(300px, 1fr) minmax(230px, 0.72fr) 268px;
  gap: 18px;
}

.featured-strip .featured-actions {
  grid-template-columns: minmax(164px, 1fr) 86px;
  width: 268px;
}

.featured-strip .featured-actions .ghost-button {
  white-space: nowrap;
}

.best-rank {
  border: 1px solid rgba(118, 167, 255, 0.3);
  background: #111512;
  color: var(--accent-2);
}

.best-card {
  min-width: 0;
}

.drops-section .section-heading {
  width: 100%;
}

.drops-section .section-heading > p {
  margin-left: auto;
  text-align: right;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item {
  min-height: 218px;
  padding: 18px;
  border-top: 2px solid var(--accent);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.timeline-item.is-review {
  border-top-color: hsl(253 45% 30%);
}

.timeline-item:hover {
  border-color: var(--line-strong);
  border-top-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.timeline-item.is-review:hover {
  border-top-color: hsl(253 45% 30%);
}

.timeline-title-row {
  margin-top: 14px;
}

.timeline-title-row strong {
  font-size: 1rem;
}

.timeline-item > p {
  min-height: 36px;
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.55;
}

.timeline-meta-row {
  gap: 7px;
  margin-top: 11px;
}

.timeline-chip {
  padding: 4px 7px;
}

.timeline-footer {
  padding-top: 12px;
}

.timeline-package {
  max-width: none;
}

.site-footer {
  grid-template-columns: auto 1fr auto;
  min-height: 120px;
  padding: 32px max(20px, calc((100% - var(--shell)) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-brand {
  grid-area: auto;
  color: var(--ink);
}

.site-footer p {
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.top-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.top-link svg {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
}

.page-view[data-page="programs"],
.page-view[data-page="submit"],
.page-view[data-page="admin"] {
  padding-top: 116px;
}

@media (min-width: 761px) {
  .site-header:not(.is-revealed) {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 28px));
  }

  .hero.is-complete .hero-final-frame img {
    transform: scale(1.12);
    transform-origin: 82% 60%;
  }
}

@media (max-width: 1180px) {
  .header-sound-action {
    flex: 0 0 86px;
    width: 86px;
    padding: 0;
  }

  .sound-copy {
    display: grid;
  }

  .platform-home-link {
    flex: 0 0 auto;
    width: auto;
    padding: 0 10px;
  }

  .featured-strip-inner {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .featured-strip .featured-mini {
    grid-template-columns: minmax(240px, 1fr) 250px;
  }

  .featured-strip .featured-facts {
    display: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-areas:
      "brand search actions"
      "nav nav nav";
    grid-template-columns: auto minmax(180px, 1fr) auto;
    gap: 5px 14px;
    min-height: 96px;
    padding: 7px 12px 0;
  }

  .site-header .service-nav a {
    height: 32px;
    padding: 0 12px;
  }

  .site-header .service-nav {
    justify-self: center;
    height: 40px;
    margin-bottom: 6px;
  }

  .hero::before {
    top: 118px;
  }

  .hero-layout {
    padding: 154px 22px 0;
  }

  .hero-final-info {
    width: min(560px, 58vw);
  }

  .hero-final-status {
    display: none;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 124px;
  }

  .header-reveal-hint {
    display: none;
  }

  .site-header {
    top: 6px;
    grid-template-areas:
      "brand actions"
      "search search"
      "nav nav";
    grid-template-columns: 1fr auto;
    gap: 5px 8px;
    width: calc(100% - 12px);
    min-height: 118px;
    padding: 6px 8px 0;
  }

  .site-header .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header .search-box {
    min-height: 36px;
  }

  .site-header .header-utility-group {
    padding: 2px;
  }

  .brand-copy small,
  .header-icon-action > span:last-child,
  .site-header .header-action {
    display: none;
  }

  .platform-home-link,
  .header-sound-action,
  .site-header .header-icon-action {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
  }

  .platform-home-link {
    display: inline-flex;
    width: auto;
    padding: 0 9px;
  }

  .sound-copy {
    display: none;
  }

  .site-header .service-nav {
    justify-content: space-between;
    height: 34px;
    width: 100%;
    margin-bottom: 0;
  }

  .site-header .service-nav a {
    flex: 1 1 0;
    height: 30px;
    padding: 0 4px;
    font-size: 0.69rem;
  }

  .hero {
    height: 620px;
    min-height: 620px;
    max-height: 620px;
  }

  .hero::after {
    display: none;
  }

  .hero-visual {
    inset: 0;
    height: 100%;
  }

  .hero-visual video {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 30% 50%;
    border: 0;
    box-shadow: none;
  }

  .hero-visual .hero-final-frame {
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: none;
  }

  .hero-layout {
    place-items: start;
    padding: 156px 18px 0;
  }

  .hero-copy {
    max-width: 250px;
    text-align: left;
    text-shadow: none;
  }

  .hero-intro-kicker {
    gap: 7px;
    margin-bottom: 12px;
    font-size: 0.69rem;
  }

  .hero-intro-index {
    width: 24px;
    height: 24px;
    font-size: 0.69rem;
  }

  .hero-intro-rule {
    width: 24px;
  }

  .hero h1 {
    max-width: 250px;
    color: var(--ink);
    font-size: 2.08rem;
    line-height: 0.94;
  }

  .hero h1 em {
    color: var(--accent);
  }

  .hero-description {
    max-width: 210px;
    margin-top: 11px;
    color: var(--muted);
    font-size: 0.69rem;
  }

  .hero-phase-copy {
    max-width: 190px;
  }

  .hero-phase-meta {
    gap: 8px;
    font-size: 0.69rem;
  }

  .hero-phase-meta span:first-child {
    padding-right: 8px;
  }

  .hero-phase-title {
    margin-top: 11px;
    font-size: 1.34rem;
    line-height: 1.06;
  }

  .hero-final-info {
    display: none;
  }

  .hero-enter {
    right: 14px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }

  .hero-chapters {
    display: none;
  }

  .featured-strip-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .featured-strip .featured-mini {
    grid-template-columns: 1fr;
  }

  .featured-strip .featured-actions {
    width: 100%;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    min-height: 190px;
  }

  .drops-section .section-heading > p {
    margin-left: 0;
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 96px;
    padding: 24px 14px;
  }

  .hero-signal {
    right: 16px;
    bottom: 73px;
    left: 16px;
  }

  .hero-signal > span {
    display: none;
  }

  .hero-signal .hero-stats {
    justify-content: space-between;
  }

  .hero-signal .hero-stats div {
    min-width: 0;
    flex: 1;
    padding: 0 10px;
  }

  .page-view[data-page="programs"],
  .page-view[data-page="submit"],
  .page-view[data-page="admin"] {
    padding-top: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-cursor {
    display: none;
  }

  .site-header,
  .header-reveal-hint,
  .hero-visual video,
  .hero-final-frame,
  .hero-final-frame img,
  .hero-intro-line > span,
  .hero-phase-copy,
  .hero-chapters,
  .hero-final-info,
  .hero-enter {
    transition: none;
    animation: none;
  }
}

/* Mobile stage: keep the film interactive and leave a complete final state. */
@media (max-width: 760px) {
  .hero.is-complete::after {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 48%;
    background: transparent;
    box-shadow:
      inset 0 -210px 120px -90px rgba(9, 14, 11, 0.9),
      inset 0 -90px 90px -30px rgba(9, 14, 11, 0.5);
    content: "";
    pointer-events: none;
  }

  .hero-final-info {
    top: auto;
    right: 70px;
    bottom: var(--mobile-stage-bottom);
    left: 18px;
    display: block;
    width: auto;
    transform: translateY(16px);
  }

  .hero.is-complete .hero-final-info {
    transform: none;
  }

  .hero-final-kicker {
    gap: 7px;
    margin-bottom: 9px;
    color: #8af0d4;
    font-size: 0.69rem;
  }

  .hero-final-rule,
  .hero-final-status {
    display: none;
  }

  .hero-final-index {
    width: 23px;
    height: 23px;
    border-color: rgba(198, 255, 87, 0.58);
    background: rgba(7, 14, 10, 0.34);
  }

  .hero-final-info h2 {
    color: #fff;
    font-size: clamp(1.8rem, 9vw, 2.35rem);
    line-height: 0.94;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
  }

  .hero-final-line.is-accent .hero-final-word:first-child > span {
    color: #8af0d4;
  }

  .hero-final-word.is-key > span {
    color: #fff;
  }

  .hero-final-support {
    margin-top: 10px;
    padding-top: 9px;
    border-color: rgba(255, 255, 255, 0.24);
  }

  .hero-final-support > p {
    display: none;
  }

  .hero-final-support nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-final-support nav a {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
    font-size: 0.69rem;
  }

  .hero-chapters {
    top: auto;
    right: 70px;
    bottom: var(--mobile-stage-bottom);
    left: 18px;
    display: flex;
    gap: 5px;
    transform: none;
  }

  .hero-chapters button {
    grid-template-columns: 18px 16px;
    gap: 5px;
    width: 44px;
    height: 36px;
    text-align: left;
  }

  .hero-chapter-label {
    display: none;
  }

  .hero-chapters i {
    width: 16px;
    height: 2px;
    transform: scaleX(0.35);
  }

  .hero-chapters button:hover,
  .hero-chapters button:focus-visible,
  .hero-chapters button.is-active {
    transform: none;
  }

  .hero-chapters button.is-active i {
    transform: scaleX(1);
  }

  .hero-enter {
    bottom: var(--mobile-stage-bottom);
  }
}

@media (max-width: 760px) {
  .skip-link,
  .brand,
  .header-search input,
  .header-utility-group > *,
  .site-header .header-icon-action,
  .service-nav a,
  .hero-chapters button,
  .hero-enter,
  .featured-actions button,
  .section-link,
  .favorite-button,
  .best-card h3 button,
  .best-footer button,
  .timeline-action,
  .footer-brand,
  .top-link {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Viewfind 공개 등급 배지 — API 세계와 같은 기호, 같은 뜻. */
.publication-tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.publication-tier b {
  font-size: 12px;
  line-height: 1;
}

/* <small>은 브라우저 기본으로 0.833em 축소된다.
   부모가 이미 하한(0.69rem)이면 한글이 9px대로 내려가 받침이 뭉개진다.
   축소를 상속하지 않도록 명시한다. */
.card-metric small,
.quick-note small {
  font-size: 0.69rem;
}

/* ─── 히어로 스크림 ───────────────────────────────────────────────
   히어로 영상·이미지는 밝은 회색 스튜디오 배경으로 촬영돼 있다.
   페이지를 다크로 바꾸면서 이 구간만 밝은 섬으로 남아, 그 위의
   흰 제목과 민트 눈썹글이 읽히지 않고 아래 어두운 본문과 경계가 칼로 자른 듯 남았다.
   미디어를 건드리지 않고 그 위에 그라디언트를 덮어 세 가지를 해결한다.
   (1) 글이 놓인 왼쪽을 어둡게  (2) 오른쪽 세계 목록 뒤를 살짝 어둡게
   (3) 아래를 페이지 배경으로 녹여 경계선을 없앤다.
   영상 z=1, 최종 프레임 z=2, 본문 z=4이므로 스크림은 z=3에 놓는다. */
.hero-visual::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  background:
    /* 왼쪽 글 기둥. 캔버스로 영상 픽셀을 읽어 글자마다 필요한 최소 농도를 구했다
       (영역 안 가장 밝은 픽셀 기준, 본문 4.5:1 / 큰 글자 3:1).
       최댓값 72%가 x373까지, 40%가 x461까지. 거기서 끊는다 — 인물은 x400부터
       시작하므로 그 뒤로는 원래 밝기로 남는다. */
    /* 꼬리가 짧으면 뒤 벽이 평면이라 어두운 판을 덧댄 것처럼 수직 경계가 보인다.
       필요한 농도(29.5% 지점까지 72%)는 지키고 나머지를 길게 빼 조명처럼 떨어뜨린다. */
    linear-gradient(
      90deg,
      rgba(4, 10, 16, 0.78) 0%,
      rgba(4, 10, 16, 0.78) 26%,
      rgba(4, 10, 16, 0.72) 31%,
      rgba(4, 10, 16, 0.5) 37%,
      rgba(4, 10, 16, 0.28) 43%,
      rgba(4, 10, 16, 0.12) 50%,
      rgba(4, 10, 16, 0) 58%
    ),
    /* 오른쪽 챕터 목록. 그 자리 영상이 L 0.99까지 올라가 59%가 필요하다.
       목록은 x1125부터라 오른쪽 끝 17%만 덮으면 된다. */
      linear-gradient(
      270deg,
      rgba(4, 10, 16, 0.63) 0%,
      rgba(4, 10, 16, 0.63) 12%,
      rgba(4, 10, 16, 0.2) 14.5%,
      rgba(4, 10, 16, 0) 17%
    ),
    /* 위는 헤더가 앉을 자리, 아래는 다음 구간과의 경계를 지우는 용도.
       읽기용이 아니므로 옅게 간다. */
      linear-gradient(
      180deg,
      rgba(4, 10, 16, 0.3) 0%,
      rgba(4, 10, 16, 0) 15%,
      rgba(4, 10, 16, 0) 70%,
      rgba(4, 10, 16, 0.38) 92%,
      var(--bg) 100%
    );
  content: "";
  pointer-events: none;
}

/* 좁은 화면에는 글 기둥이 없어 가로 그라디언트가 통하지 않는다. 대신 상태로 나눈다.

   필름이 도는 동안에는 자막이 화면 한가운데 인물 위에 뜬다(y28~49%, 필요 농도 최대 78%).
   짧은 도입부이고 그때는 자막이 주인공이므로 짙게 간다.

   필름이 끝나면 영상 위에 남는 글자는 하단 정보와 챕터 목록뿐이고 전부 아래 1/4에 모인다.
   사용자가 대부분의 시간을 보내는 상태이므로 가운데를 풀어 인물을 원래 밝기로 되돌린다. */
@media (max-width: 760px) {
  .hero-visual::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 10, 16, 0.52) 0%,
        rgba(4, 10, 16, 0.7) 22%,
        rgba(4, 10, 16, 0.8) 45%,
        rgba(4, 10, 16, 0.8) 58%,
        rgba(4, 10, 16, 0.66) 72%,
        rgba(4, 10, 16, 0.72) 86%,
        rgba(4, 10, 16, 0.78) 95%,
        var(--bg) 100%
      );
  }

  .hero.is-complete .hero-visual::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 10, 16, 0.42) 0%,
        rgba(4, 10, 16, 0.14) 18%,
        rgba(4, 10, 16, 0.1) 55%,
        rgba(4, 10, 16, 0.5) 70%,
        rgba(4, 10, 16, 0.72) 84%,
        rgba(4, 10, 16, 0.78) 94%,
        var(--bg) 100%
      );
  }
}
