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

:root {
  --ink: #0b2a25;
  --teal: #0e5b54;
  --teal-dk: #083f3a;
  --sprout: #6fbf3f;
  --sprout-dk: #4e9a28;
  --sprout-text: #39771d;
  --amber: #d9922b;
  --paper: #f3f7f4;
  --white: #ffffff;
  --line: #d3e0da;
  --muted: #526b66;
  --danger: #b42318;
  --shadow: 0 2px 12px rgba(11, 42, 37, 0.06);
  --motion-fast: 200ms;
  --motion-reveal: 420ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-hover: 0 18px 42px rgba(11, 42, 37, 0.16);
  --radius: 14px;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  overflow-wrap: break-word;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    "Malgun Gothic",
    "맑은 고딕",
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
progress {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
div[role="dialog"]:focus-visible,
label[for="submission-file"]:focus-visible {
  outline: 3px solid #e5a028;
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

[id] {
  scroll-margin-top: 64px;
}

#main-content:focus {
  outline: none;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

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

/* 상단 바 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.header-layout {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand .dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--sprout);
}

.brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--sprout);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-fast) var(--motion-ease);
}

.nav a.is-current::after,
.nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--sprout);
  transform: scaleX(0);
  transform-origin: left;
}

.mobile-nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 40px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn,
.btn-ghost,
.card,
.prize,
.jcard,
.download-item {
  transition:
    transform var(--motion-fast) var(--motion-ease),
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) var(--motion-ease),
    color var(--motion-fast) ease;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 16px;
}

/* 히어로 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 90px;
  color: var(--white);
  background: linear-gradient(160deg, var(--teal-dk) 0%, var(--teal) 55%, #12736a 100%);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 191, 63, 0.28), transparent 65%);
  content: "";
}

.hero .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  margin-top: 22px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h1 .hl {
  color: #a8e06b;
}

.lead {
  max-width: 620px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  margin-top: 38px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pill,
.total-prize {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.pill {
  color: var(--ink);
  background: var(--white);
}

.total-prize {
  color: var(--ink);
  background: var(--sprout);
}

.pill .k,
.total-prize .k {
  font-size: 12px;
  font-weight: 700;
}

.pill .k {
  color: var(--muted);
  font-weight: 600;
}

.total-prize .k {
  color: var(--ink);
  opacity: 0.8;
}

.pill .v,
.total-prize .v {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 섹션 공통 (랜딩 본문 한정 — 관리자 페이지의 section 카드에는 적용하지 않는다) */
#main-content > section:not(.hero) {
  padding: 72px 0;
}

.section-alt,
.form-sec {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.section-alt-top {
  border-bottom: 0;
}

.sec-head {
  margin-bottom: 34px;
}

.sec-num {
  color: var(--sprout-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h2 {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sec-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

/* 핵심 정보 카드 */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card .lab {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card .big {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.card .desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* 3단계 레일 */
.rail {
  position: relative;
  display: grid;
  margin-top: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
}

.rail::before {
  position: absolute;
  top: 26px;
  right: 8%;
  left: 8%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sprout) 0%, var(--teal) 100%);
  content: "";
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--motion-reveal) var(--motion-ease),
    transform var(--motion-reveal) var(--motion-ease);
}

.motion-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.motion-ready .rail::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-reveal) var(--motion-ease);
}

.motion-ready .rail .step {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--motion-reveal) var(--motion-ease),
    transform var(--motion-reveal) var(--motion-ease);
}

.motion-ready .rail.is-process-visible::before {
  transform: scaleX(1);
}

.motion-ready .rail.is-process-visible .step {
  opacity: 1;
  transform: none;
}

.motion-ready .rail.is-process-visible .step:nth-child(1) {
  transition-delay: 80ms;
}

.motion-ready .rail.is-process-visible .step:nth-child(2) {
  transition-delay: 160ms;
}

.motion-ready .rail.is-process-visible .step:nth-child(3) {
  transition-delay: 240ms;
}

.step {
  position: relative;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
}

.step .node {
  position: relative;
  z-index: 2;
  display: flex;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  background: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.step:first-child .node {
  border-color: var(--sprout);
  color: var(--sprout-text);
}

.step .stitle {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step .sdate {
  margin-top: 5px;
  color: var(--sprout-text);
  font-size: 13px;
  font-weight: 700;
}

.step .sdesc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 시상 */
.prizes {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  align-items: stretch;
  gap: 16px;
}

.prize {
  display: flex;
  min-width: 0;
  padding: 26px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.prize.top {
  border: 0;
  color: var(--white);
  background: linear-gradient(150deg, var(--teal-dk), var(--teal));
}

.prize .rank {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.prize.top .rank {
  color: #a8e06b;
}

.prize .amt {
  margin-top: 14px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.prize .amt span {
  margin-left: 3px;
  font-size: 17px;
  font-weight: 700;
}

.prize .amt .prize-count {
  margin-left: 0;
  font-size: inherit;
  font-weight: inherit;
}

.prize .amt .sr-only {
  margin: -1px;
}

.prize .award {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.prize.top .award {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}

.badge-min {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--white);
  background: var(--amber);
  font-size: 11.5px;
  font-weight: 800;
}

.prize-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* 심사기준 */
.judge {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jcard {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.jhead {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: #f8fbf9;
}

.jhead .jt {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jhead .js {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.jrow {
  display: flex;
  padding: 15px 24px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf3f0;
  font-size: 14.5px;
}

.jrow:last-child {
  border-bottom: 0;
}

.jrow .jname {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.jrow .jdesc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.jrow .jdesc span {
  display: block;
}

.jrow .jpt {
  flex: none;
  color: var(--teal);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 신청 폼 */
.formcard {
  overflow: hidden;
  padding: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.error-summary {
  margin: 24px 32px 0;
  padding: 14px 16px;
  border: 2px solid var(--danger);
  border-radius: 9px;
  color: var(--danger);
  background: #fff5f5;
  font-weight: 700;
}

.error-summary ul {
  margin: 8px 0 0 20px;
  font-size: 13px;
}

.error-summary a {
  color: inherit;
  text-underline-offset: 3px;
}

.fstep {
  padding: 28px 32px;
  border-bottom: 1px solid #edf3f0;
}

.fstep-h {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 12px;
}

.fstep-n {
  display: flex;
  width: 26px;
  height: 26px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.fstep-t {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fstep-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-item,
.upload-panel {
  display: flex;
  min-width: 0;
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfdfc;
}

.upload-panel {
  background: var(--white);
}

.download-item > div,
.upload-panel > div {
  min-width: 0;
}

.ut {
  font-size: 14px;
  font-weight: 700;
}

.us {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
}

.btn-ghost {
  display: inline-flex;
  min-height: 40px;
  padding: 9px 16px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.formitem-list {
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
}

.formitem {
  display: flex;
  padding: 12px 0;
  align-items: flex-start;
  gap: 13px;
  border-bottom: 1px solid #edf3f0;
}

.formitem:last-child {
  border-bottom: 0;
}

.formitem .fnum {
  display: flex;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--teal);
  background: #f1f6f3;
  font-size: 12px;
  font-weight: 800;
}

.formitem .ft {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.formitem .fd {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--teal);
  }

  .nav a:hover::after {
    transform: scaleX(1);
  }

  .btn:hover:not(:disabled),
  .btn-ghost:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(8, 63, 58, 0.2);
  }

  .btn:hover:not(:disabled) {
    background: var(--teal-dk);
  }

  .btn-ghost:hover:not(:disabled) {
    background: var(--paper);
  }

  .card:hover,
  .prize:hover,
  .jcard:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: var(--teal);
    box-shadow: var(--shadow-hover);
  }

  .download-item:hover {
    border-color: var(--teal);
    background: var(--white);
  }
}

.btn:active:not(:disabled),
.btn-ghost:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible:not(:disabled) {
  background: var(--teal-dk);
  box-shadow: 0 10px 24px rgba(8, 63, 58, 0.2);
  transform: translateY(-2px);
}

.btn-ghost:focus-visible:not(:disabled) {
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(8, 63, 58, 0.2);
  transform: translateY(-2px);
}

.download-item:focus-within {
  border-color: var(--teal);
  background: var(--white);
}

.f-row {
  display: grid;
  margin-bottom: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.f-row.one {
  grid-template-columns: minmax(0, 1fr);
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

input[type="email"] {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fbfdfc;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

input[type="email"]:focus {
  outline: 3px solid #9acb67;
  outline-offset: 1px;
  background: var(--white);
}

input[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff8f7;
}

.field-help {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.upload-inline-status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.progress-block label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.required-mark {
  margin-left: 3px;
  color: var(--danger);
}

input[type="file"] {
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.field-error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 700;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.file-input:focus-visible + .file-label {
  outline: 3px solid #e5a028;
  outline-offset: 3px;
}

.zip-note {
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  background: #f1f6f3;
  font-size: 12.5px;
}

.file-details,
.progress-block {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfdfc;
}

.file-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.file-details strong {
  color: var(--ink);
}

@keyframes selected-file-highlight {
  0%, 100% { border-color: var(--line); box-shadow: none; }
  45% { border-color: var(--sprout); box-shadow: 0 0 0 3px var(--paper); }
}

.file-details.is-file-highlighted {
  animation: selected-file-highlight 650ms var(--motion-ease) 1;
}

.progress-block progress {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
}

.progress-block progress::-webkit-progress-bar {
  border-radius: 999px;
  background: #dfe9e4;
}

.progress-block progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--teal);
}

#upload-status {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
}

.upload-actions {
  display: flex;
  margin-top: 14px;
  justify-content: flex-end;
  gap: 10px;
}

.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.submit-bar {
  display: flex;
  padding: 26px 32px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f8fbf9;
}

.submit-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* 접수 완료 대화상자 */
body.dialog-open {
  overflow: hidden;
}

.dialog-layer {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(8, 36, 32, 0.72);
}

.dialog-layer[hidden] {
  display: none;
}

.receipt-dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 34px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(3, 31, 27, 0.28);
}

.receipt-dialog:focus {
  outline: 3px solid #e5a028;
  outline-offset: 3px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dialog-layer[data-state="loading"] .dialog-phase-success,
.dialog-layer[data-state="success"] .dialog-phase-loading,
.dialog-layer[data-state="loading"] .dialog-close {
  display: none;
}

.dialog-phase-loading {
  padding: 12px 0 4px;
  text-align: center;
}

.dialog-phase-loading .progress-block {
  margin-top: 18px;
  text-align: left;
}

.dialog-phase-loading #cancel-upload {
  margin-top: 18px;
}

.dialog-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 4px solid #e2ede8;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: dialog-spinner-turn 900ms linear infinite;
}

@keyframes dialog-spinner-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dialog-spinner {
    animation: none;
  }
}

.dialog-phase-success {
  text-align: center;
}

.confirm-icon {
  display: flex;
  width: 64px;
  height: 64px;
  margin: 4px auto 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf6e2;
}

.confirm-list {
  margin-top: 18px;
  padding-left: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  list-style: none;
  text-align: left;
}

.confirm-list li {
  position: relative;
  margin-bottom: 4px;
  padding-left: 15px;
}

.confirm-list li::before {
  position: absolute;
  left: 0;
  color: var(--sprout-dk);
  content: "·";
  font-weight: 800;
}

.receipt-dialog h2 {
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.dialog-description {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.receipt-number-box {
  display: grid;
  margin-top: 22px;
  padding: 20px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 16px;
  border-radius: 12px;
  color: var(--white);
  background: var(--teal-dk);
}

.receipt-number-box > span {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
}

.receipt-number-box strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 25px;
  letter-spacing: 0.02em;
}

.receipt-number-box .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.receipt-number-box .btn-ghost:focus-visible:not(:disabled) {
  color: var(--white);
  background: var(--teal);
}

@media (hover: hover) and (pointer: fine) {
  .receipt-number-box .btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
  }
}

.copy-status {
  min-height: 1.4em;
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.receipt-summary {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.receipt-summary > div {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.receipt-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.receipt-summary dd {
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}

.new-submission-policy {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 9px;
  color: var(--muted);
  background: #f4f6f5;
  font-size: 13px;
}

.dialog-actions {
  display: flex;
  margin-top: 20px;
  justify-content: flex-end;
}

/* 안내 영상 */
.videoframe {
  display: flex;
  margin-bottom: 28px;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(160deg, var(--teal-dk), var(--teal));
  text-align: center;
}

.videoframe .vt {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.videoframe .vs {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
}

/* 푸터 */
footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 14px;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

footer .host {
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 900px) {
  .header-layout {
    min-height: 62px;
    padding-top: 9px;
    padding-bottom: 9px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand {
    min-width: 72px;
    flex: 1 1 100px;
  }

  .header-apply-link {
    order: 3;
    padding: 10px 15px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    order: 2;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: flex;
    width: 100%;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    order: 4;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    border-top: 0 solid transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height var(--motion-fast) var(--motion-ease),
      opacity var(--motion-fast) ease,
      transform var(--motion-fast) var(--motion-ease),
      visibility 0s linear var(--motion-fast);
  }

  .nav.is-open {
    max-height: 240px;
    border-top-width: 1px;
    border-top-color: var(--line);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .nav a {
    padding: 12px 10px;
  }

  h1 {
    font-size: 36px;
  }

  .grid4,
  .prizes,
  .judge {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .rail::before {
    display: none;
  }

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

@media (max-width: 520px) {
  .brand {
    font-size: 13px;
  }

  .brand .dot {
    width: 8px;
    height: 8px;
  }

  .header-apply-link {
    padding: 9px 12px;
    font-size: 13px;
  }

  .mobile-nav-toggle {
    min-width: 44px;
    min-height: 38px;
    font-size: 12px;
  }

  .hero-meta > * {
    width: 100%;
    justify-content: center;
  }

  .fstep {
    padding: 28px 32px;
  }

  .submit-bar {
    padding: 24px 18px;
  }

  .fstep-h {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .fstep-note {
    width: 100%;
    margin-left: 38px;
  }

  .download-item,
  .upload-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .download-item .btn-ghost,
  .upload-panel .btn-ghost {
    width: 100%;
  }

  .file-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .upload-actions {
    flex-direction: column;
  }

  .upload-actions .btn-ghost {
    width: 100%;
  }

  .dialog-layer {
    padding: 12px;
  }

  .receipt-dialog {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 28px 18px 22px;
  }

  .receipt-dialog h2 {
    padding-right: 36px;
    font-size: 24px;
  }

  .receipt-number-box,
  .receipt-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .receipt-number-box .btn-ghost,
  .dialog-actions .btn {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .header-layout {
    column-gap: 6px;
  }

  .brand {
    flex-basis: 82px;
  }

  .brand-text {
    max-width: 82px;
  }

  .header-apply-link {
    padding-right: 10px;
    padding-left: 10px;
  }

  h1 {
    font-size: 29px;
  }

  .eyebrow {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .nav {
    transition: none !important;
  }

  .motion-ready [data-reveal],
  .motion-ready .rail::before,
  .motion-ready .rail .step {
    opacity: 1 !important;
    transform: none !important;
  }
}
