@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  /* 이미지 경로(기본 로컬 절대경로). CDN 사용 시 PHP가 인라인 style로 덮어씀 */
  --img-hero-hands: url('/assets/hero-hands-v3.png');
  --img-simbol: url('/assets/simbol_svc_tp.png');

  /* KACCC 로고 팔레트: orange #EC682D · sky #47A4DC · charcoal #575657 */
  --brand-orange: #EC682D;
  --brand-orange-hover: #D45520;
  --brand-orange-light: #FDF1EC;
  --brand-orange-rgb: 236, 104, 45;
  --brand-sky: #47A4DC;
  --brand-sky-hover: #318CC2;
  --brand-sky-light: #EDF7FC;
  --brand-sky-rgb: 71, 164, 220;
  --brand-charcoal: #575657;
  --brand-charcoal-hover: #454445;
  --brand-charcoal-deep: #242324;
  --brand-charcoal-rgb: 87, 86, 87;
  --on-orange: #242324;
  --on-sky: #242324;

  --navy: var(--brand-charcoal);
  --navy-2: var(--brand-charcoal-hover);
  --navy-3: #6B696B;
  --blue: var(--brand-sky);
  --cyan: var(--brand-sky);
  --green: var(--brand-sky);
  --lime: var(--brand-orange);
  --gold: var(--brand-orange);
  --orange: var(--brand-orange);
  --paper: #FFFFFF;
  --ink: #373637;
  --ink-2: var(--brand-charcoal);
  --ink-3: #747274;
  --muted: #929092;
  --line: #E5E4E5;
  --line-2: #F0EFF0;
  --bg: #F5F8FA;
  --bg-2: #FBFCFD;
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-card: 0 1px 2px rgba(var(--brand-charcoal-rgb), 0.04), 0 8px 24px -12px rgba(var(--brand-charcoal-rgb), 0.10);
  --shadow-hover: 0 4px 8px rgba(var(--brand-charcoal-rgb), 0.06), 0 16px 36px -12px rgba(var(--brand-charcoal-rgb), 0.18);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  color-scheme: light;
  /* 한국어 단어 단위 줄바꿈 — "후원"이 "후/원"으로 꺾이지 않게 */
  word-break: keep-all;
  overflow-wrap: break-word;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

body, button, input, select, textarea {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.script {
  font-family: 'Nanum Pen Script', cursive;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px)
}

.btn-gold {
  background: var(--brand-orange);
  color: var(--on-orange);
  box-shadow: 0 6px 18px -4px rgba(var(--brand-orange-rgb), 0.45);
}

.btn-gold:hover {
  background: var(--brand-orange-hover);
  color: #fff;
  box-shadow: 0 10px 24px -4px rgba(var(--brand-orange-rgb), 0.58);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14)
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-2)
}

.btn-green,
.apply-draft-btn {
  background: #0F766E;
  color: #ffffff !important;
  border: none;
}

.btn-green:hover,
.apply-draft-btn:hover {
  background: #0D655E;
  color: #ffffff !important;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: #fff
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 10px
}

.btn-block {
  width: 100%
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14)
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-2)
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: #fff
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 10px
}

.btn-block {
  width: 100%
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px
}

/* Header */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.nav.scrolled {
  background: rgba(36, 35, 36, 0.90);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes nav-slide-down {
  from {
    transform: translateY(-100%)
  }

  to {
    transform: translateY(0)
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
  padding: 5px 8px;
  background: rgba(255, 255, 255, .94);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14)
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #fff;
  gap: 4px
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 8px
}

.brand-gef {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.20em;
  color: #F5A17C;
  padding: 2px 7px;
  background: rgba(var(--brand-orange-rgb), 0.12);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.40);
  border-radius: 4px
}

.brand-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18)
}

.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff
}

.brand-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  font-weight: 500
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-cta,
.mobile-admin-link {
  display: none;
}

.nav-link {
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: color .15s, background .15s;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06)
}

.nav-link.active {
  color: #fff
}

.nav-link.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 6px
}

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-charcoal-deep);
  color: #fff;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #343334;
  filter: saturate(1.05) contrast(1.02);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(36, 35, 36, 0.68) 0%, rgba(36, 35, 36, 0.38) 30%, rgba(36, 35, 36, 0.0) 55%, rgba(36, 35, 36, 0.0) 100%),
    linear-gradient(180deg, rgba(36, 35, 36, 0.0) 0%, rgba(36, 35, 36, 0.0) 25%, rgba(36, 35, 36, 0.0) 75%, rgba(36, 35, 36, 0.68) 100%);
}

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

/* 모바일 또는 모션 줄이기 환경에선 영상 비표시 (정적 이미지로 폴백) */
@media (max-width: 768px) {
  .hero-video {
    display: block;
    object-fit: cover;
    object-position: 68% center;
    opacity: .72;
    filter: blur(1.4px) saturate(.88) brightness(.82);
  }

  .hero-bg {
    background: #343334
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none
  }

  .hero-bg {
    background: #343334 var(--img-hero-hands) center/cover no-repeat
  }
}

.hero-inner {
  padding: 140px 0 80px;
  min-height: 540px;
  display: flex;
  align-items: center
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2
}

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

.hero-quote-script {
  position: absolute;
  right: 60px;
  top: 70px;
  z-index: 2;
  font-family: 'Nanum Pen Script', cursive;
  color: #F5AA88;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75), 0 0 50px rgba(var(--brand-orange-rgb), 0.32);
  transform: rotate(-3deg);
  text-align: left;
  pointer-events: none;
  max-width: 440px;
}

.hero-quote-script .q {
  display: block;
  white-space: nowrap
}

.hero-floater {
  position: absolute;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-floater.f1 {
  bottom: 18%;
  right: 6%;
  animation: bob 4s ease-in-out infinite
}

.hero-floater.f2 {
  bottom: 30%;
  right: 30%;
  animation: bob 4s ease-in-out infinite;
  animation-delay: 1.2s
}

.hero-floater .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-sky);
  box-shadow: 0 0 0 3px rgba(var(--brand-sky-rgb), 0.25)
}

.hero-floater.f2 .dot {
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(var(--brand-orange-rgb), 0.25)
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(var(--brand-orange-rgb), 0.16);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.44);
  color: #F5A17C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(var(--brand-orange-rgb), 0.20);
  animation: pulse 2s infinite
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(var(--brand-orange-rgb), 0.20)
  }

  50% {
    box-shadow: 0 0 0 7px rgba(var(--brand-orange-rgb), 0.08)
  }
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero h1 .hl {
  color: var(--gold)
}

.hero h1 .num {
  background: linear-gradient(180deg, #F5AA88 0%, var(--brand-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 36px;
  max-width: 520px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px
}

.hero-schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 30px;
  max-width: 560px;
}

.sched {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 16px
}

.sched+.sched {
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  padding-left: 22px
}

.sched-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-orange-rgb), 0.14);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.36);
  flex-shrink: 0;
  color: #F5A17C;
}

.sched-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-transform: uppercase
}

.sched-date {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-top: 3px;
  letter-spacing: -0.01em
}

.hero-tape {
  position: relative;
  z-index: 2;
  background: rgba(36, 35, 36, 0.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  overflow: hidden;
}

.tape-track {
  display: flex;
  gap: 48px;
  animation: scroll 30s linear infinite;
  white-space: nowrap
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.tape-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em
}

.tape-item svg {
  color: var(--gold)
}

/* Sections */
section {
  padding: 104px 0
}

.section-head {
  text-align: center;
  margin-bottom: 56px
}

.kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(var(--brand-sky-rgb), 0.12);
  color: #2D82B5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker.gold,
.kicker.orange {
  background: rgba(var(--brand-orange-rgb), 0.12);
  color: #B94A1D
}

.kicker.green,
.kicker.sky {
  background: rgba(var(--brand-sky-rgb), 0.12);
  color: #2D82B5
}

h2.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1.15;
  text-wrap: balance;
}

.section-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 680px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* Overview cards */
.bg-sand {
  background: linear-gradient(180deg, #FBFCFD 0%, #F3F7F9 100%);
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.ov-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: .2s ease;
  position: relative;
  overflow: hidden;
}

.ov-card:hover {
  border-color: var(--brand-sky);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover)
}

.ov-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.1em
}

.ov-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 22px;
}

.ov-icon.c1 {
  background: linear-gradient(135deg, var(--brand-orange-light) 0%, var(--brand-orange) 100%);
  color: var(--on-orange)
}

.ov-icon.c2 {
  background: linear-gradient(135deg, var(--brand-sky-light) 0%, var(--brand-sky) 100%);
  color: var(--on-sky)
}

.ov-icon.c3 {
  background: linear-gradient(135deg, var(--brand-orange-light) 0%, var(--brand-orange) 100%);
  color: var(--on-orange)
}

.ov-icon.c4 {
  background: linear-gradient(135deg, var(--brand-sky-light) 0%, var(--brand-sky) 100%);
  color: var(--on-sky)
}

.ov-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px
}

.ov-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0
}

/* Steps */
/* ===== STEPS — Dark Premium (Clean) ===== */
#how {
  background: #343334;
  color: #fff;
}

#how .section-title {
  color: #fff
}

#how .section-lead {
  color: rgba(255, 255, 255, 0.68)
}

#how .kicker {
  background: rgba(var(--brand-orange-rgb), 0.18);
  color: #F5A17C;
  border-color: rgba(var(--brand-orange-rgb), 0.34)
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 24px;
}

.step {
  position: relative;
  z-index: 1;
  padding: 32px 26px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
}

.step:nth-child(1)::before {
  background: linear-gradient(90deg, var(--brand-sky), var(--brand-sky-hover))
}

.step:nth-child(2)::before {
  background: linear-gradient(90deg, var(--brand-orange), #F28B5C)
}

.step:nth-child(3)::before {
  background: linear-gradient(90deg, var(--brand-sky), var(--brand-orange))
}

.step:nth-child(4)::before {
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-sky))
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.step-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.step-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
  border-radius: 2px;
}

.step-icn {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform .3s ease;
}

.step:hover .step-icn {
  transform: scale(1.06)
}

.step:nth-child(1) .step-icn {
  background: rgba(var(--brand-sky-rgb), 0.18);
  color: #78C2E8
}

.step:nth-child(2) .step-icn {
  background: rgba(var(--brand-orange-rgb), 0.18);
  color: #F5A17C
}

.step:nth-child(3) .step-icn {
  background: rgba(var(--brand-sky-rgb), 0.18);
  color: #78C2E8
}

.step:nth-child(4) .step-icn {
  background: rgba(var(--brand-orange-rgb), 0.18);
  color: #F5A17C
}

.step-icn svg {
  stroke-width: 1.8
}

.step-no {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.step:nth-child(1) .step-no {
  -webkit-text-stroke: 1.5px rgba(var(--brand-sky-rgb), 0.40)
}

.step:nth-child(2) .step-no {
  -webkit-text-stroke: 1.5px rgba(var(--brand-orange-rgb), 0.40)
}

.step:nth-child(3) .step-no {
  -webkit-text-stroke: 1.5px rgba(var(--brand-sky-rgb), 0.48)
}

.step:nth-child(4) .step-no {
  -webkit-text-stroke: 1.5px rgba(var(--brand-orange-rgb), 0.42)
}

.step h4 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Active step — 골드 외곽선만, 글로우 없음 */
.step.active {
  border-color: rgba(var(--brand-orange-rgb), 0.60);
  background: rgba(var(--brand-orange-rgb), 0.08);
}

.step.active::after {
  content: "진행 중";
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--gold);
  color: #1A1408;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.step.active .step-no {
  display: none
}

.step.active .step-eyebrow {
  color: var(--gold)
}

.step.active .step-eyebrow::before {
  background: var(--gold);
  opacity: 1
}

/* Teams + Ranking */
.teams-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start
}

/* 그리드 아이템이 내용(긴 팀명 nowrap) min-content 때문에 화면 밖으로 부풀지 않게.
   랭킹의 긴 이름은 .rank-name의 ellipsis가 자동으로 "…" 처리한다. */
.teams-grid > * {
  min-width: 0;
}

.teams-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
  flex-wrap: wrap
}

.teams-head h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em
}

.teams-tools {
  display: flex;
  gap: 10px
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 240px;
}

.search input {
  border: 0;
  outline: 0;
  flex: 1;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: transparent
}

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

.chip-select {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .2s ease;
}

.team-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover)
}

.team-img {
  position: relative;
  aspect-ratio: 5/3.2;
  overflow: hidden;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
}

.team-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--brand-charcoal-rgb), 0.32) 0%, rgba(var(--brand-charcoal-rgb), 0) 30%, rgba(var(--brand-charcoal-rgb), 0) 75%, rgba(var(--brand-charcoal-rgb), 0.48) 100%);
  pointer-events: none;
}

.team-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(var(--brand-charcoal-rgb), 0.88);
  color: #fff;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  z-index: 2;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.25);
}

.team-rank.r1 {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #F28B5C 100%);
  color: var(--on-orange)
}

.team-rank.r2 {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-sky-hover) 100%);
  color: var(--on-sky)
}

.team-rank.r3 {
  background: linear-gradient(135deg, #F28B5C 0%, var(--brand-orange) 100%);
  color: var(--on-orange)
}

.team-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.15);
}

.team-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1
}

.team-name {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.35
}

.team-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
  min-height: 42px
}

.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line)
}

.stat-k {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px
}

.stat-v {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em
}

.stat-v .unit {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  margin-left: 2px
}

.progress {
  margin-top: 4px
}

.progress-bar {
  height: 8px;
  background: var(--line-2);
  border-radius: 99px;
  overflow: hidden;
  position: relative
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-sky) 0%, var(--brand-orange) 100%);
  transition: width 1.4s cubic-bezier(.4, 0, .2, 1);
}

.progress-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600
}

.progress-meta .pct {
  color: var(--brand-orange);
  font-family: 'JetBrains Mono', monospace
}

.team-cta {
  margin-top: auto
}

/* Ranking card */
.rank-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  position: sticky;
  top: 96px;
  box-shadow: 0 20px 50px -20px rgba(var(--brand-charcoal-rgb), 0.5);
  background-image:
    radial-gradient(60% 80% at 100% 0%, rgba(var(--brand-sky-rgb), 0.34), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(var(--brand-orange-rgb), 0.28), transparent 70%);
}

.rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px
}

.rank-head h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px
}

.rank-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(var(--brand-orange-rgb), 0.20);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.40);
  color: #F5A17C;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em
}

.rank-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(var(--brand-orange-rgb), 0.35);
  animation: pulse 1.5s infinite
}

.rank-more {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer
}

.rank-more:hover {
  color: #fff
}

.rank-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px
}

.rank-tab {
  flex: 1;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.rank-tab.active {
  background: var(--brand-orange);
  color: var(--on-orange)
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-row:last-child {
  border-bottom: 0
}

/* 참가팀 랭킹 오픈 전: 행은 흐리게 + 중앙 "오픈 예정" 오버레이 */
.rank-rows.rank-locked {
  position: relative
}

.rank-rows.rank-locked .rank-locked-blur {
  filter: blur(5px);
  opacity: .45;
  pointer-events: none;
  user-select: none
}

.rank-rows .rank-locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  z-index: 2;
}

.rank-rows .rank-locked-overlay .rlo-date {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--brand-orange)
}

.rank-rows .rank-locked-overlay .rlo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff
}

.rank-no {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
}

.rank-no.r1 {
  background: var(--brand-orange);
  color: var(--on-orange)
}

.rank-no.r2 {
  background: var(--brand-sky);
  color: var(--on-sky)
}

.rank-no.r3 {
  background: #F28B5C;
  color: var(--on-orange)
}

.rank-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

a.rank-name {
  text-decoration: none;
  cursor: pointer;
  transition: opacity .12s ease
}

a.rank-name:hover {
  text-decoration: underline;
  opacity: .85
}

.rank-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0
}

.rank-foot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rank-foot-k {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px
}

.rank-foot-v {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em
}

.rank-foot-v .unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-left: 2px
}

.rank-heart {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--brand-orange-rgb), 0.20);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.40);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-more {
  display: flex;
  justify-content: center;
  margin-top: 28px
}

/* Stats strip */
.stats-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px
}

.stat-cell+.stat-cell {
  border-left: 1px solid var(--line)
}

.stat-cell .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-charcoal-rgb), 0.06);
  color: var(--navy);
}

.stat-cell.green .ic {
  background: rgba(var(--brand-sky-rgb), 0.12);
  color: #2D82B5
}

.stat-cell.gold .ic {
  background: rgba(var(--brand-orange-rgb), 0.12);
  color: #B94A1D
}

.stat-cell.blue .ic {
  background: rgba(var(--brand-sky-rgb), 0.12);
  color: #2D82B5
}

.stat-cell .k {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.04em
}

.stat-cell .v {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 2px
}

.stat-cell .v .unit {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  margin-left: 2px
}

/* Engagement tiers (함께하는 후원자 / 연결자) */
.engage {
  padding: 0 0 64px
}

.engage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.engage-card {
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  border: 1px solid var(--line)
}

.engage-donor {
  background: linear-gradient(180deg, #FEF7F3, #FDF1EC);
  border-color: #F4D6C8
}

.engage-connect {
  background: linear-gradient(180deg, #F4FAFD, #EDF7FC);
  border-color: #CEE7F4
}

.engage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 2px
}

.engage-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em
}

.engage-donor .engage-title {
  color: #A9471E
}

.engage-connect .engage-title {
  color: #2879A8
}

.engage-head-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.engage-head-ic.donor {
  background: rgba(var(--brand-orange-rgb), 0.18);
  color: #B94A1D
}

.engage-head-ic.connect {
  background: rgba(var(--brand-sky-rgb), 0.20);
  color: #2D82B5
}

.engage-rows {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.engage-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 1px 3px rgba(var(--brand-charcoal-rgb), 0.06)
}

.engage-ic {
  width: 40px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.engage-ic svg {
  width: 100%;
  height: 100%;
  display: block
}

.engage-label {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #3A4467
}

.engage-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 2px
}

.engage-count b {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums
}

.engage-count i {
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: var(--ink-3)
}

.engage-count.donor b {
  color: #B94A1D
}

.engage-count.connect b {
  color: #2879A8
}

@media (max-width:768px) {
  .engage-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .engage-card {
    padding: 18px 16px 14px
  }

  .engage-title {
    font-size: 16px
  }

  .engage-row {
    padding: 12px 14px;
    gap: 12px
  }

  .engage-label {
    font-size: 13.5px
  }

  .engage-count b {
    font-size: 21px
  }
}

/* Story CTA */
.story {
  background:
    radial-gradient(70% 70% at 80% 20%, rgba(var(--brand-sky-rgb), 0.30), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(var(--brand-orange-rgb), 0.22), transparent 60%),
    var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 22% 30%, rgba(255, 255, 255, 0.22), transparent 51%),
    radial-gradient(1px 1px at 78% 70%, rgba(255, 255, 255, 0.18), transparent 51%),
    radial-gradient(1px 1px at 50% 12%, rgba(255, 255, 255, 0.16), transparent 51%);
  opacity: 0.7;
}

.story .wrap {
  position: relative
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center
}

.story h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 22px
}

.story h2 .hl {
  color: var(--gold)
}

.story p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 14px
}

.story .pull {
  margin-top: 32px;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(var(--brand-orange-rgb), 0.12), rgba(var(--brand-orange-rgb), 0.03));
  border: 1px solid rgba(var(--brand-orange-rgb), 0.32);
  font-size: 18px;
  font-weight: 700;
  color: #F8B99C;
  line-height: 1.5;
}

.story .pull .sub {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 6px
}

.story-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px
}

.story-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  justify-self: end;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, #4A494A 0%, #242324 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-visual img {
  width: 78%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(var(--brand-sky-rgb), 0.35))
}

.story-orbit {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.10);
  animation: spin 28s linear infinite
}

@keyframes spin {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.story-orbit.o2 {
  inset: 15%;
  border-color: rgba(var(--brand-orange-rgb), 0.24);
  animation-duration: 40s;
  animation-direction: reverse
}

.orb-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04);
}

.orb-pin.p1 {
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan)
}

.orb-pin.p2 {
  bottom: 8%;
  right: 6%;
  background: var(--gold);
  width: 12px;
  height: 12px
}

.orb-pin.p3 {
  top: 18%;
  left: 4%;
  background: var(--green);
  width: 10px;
  height: 10px
}

/* Cheer Wall */
.cheer-wall {
  padding: 96px 0;
  background: var(--bg-2);
}

.cheer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start
}

.cheer-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-card);
}

.cheer-form h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em
}

.cheer-form p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 22px;
  line-height: 1.6
}

.cheer-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px
}

.cheer-input,
.cheer-textarea,
.cheer-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.cheer-input:focus,
.cheer-textarea:focus,
.cheer-select:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--brand-charcoal-rgb), 0.10);
}

.cheer-textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
  line-height: 1.55
}

.cheer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
  flex-wrap: wrap
}

.cheer-count {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600
}

.cheer-count strong {
  color: var(--navy);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700
}

.cheer-feed {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.cheer-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  transition: .18s;
  animation: cheer-in .35s cubic-bezier(.2, .7, .3, 1.2) backwards;
}

.cheer-item:hover {
  border-color: var(--ink-3);
  transform: translateX(2px)
}

@keyframes cheer-in {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.cheer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.cheer-body {
  flex: 1;
  min-width: 0;
  padding-right: 8px
}

.cheer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap
}

.cheer-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em
}

.cheer-target {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--line-2);
  color: var(--ink-2)
}

.cheer-target-link {
  text-decoration: none;
  cursor: pointer;
  transition: background .12s ease, color .12s ease
}

.cheer-target-link:hover {
  background: var(--navy, #575657);
  color: #fff
}

.cheer-target-ic {
  margin-left: 1px;
  flex-shrink: 0
}

.cheer-time {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto
}

.cheer-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere
}

.cheer-heart {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}

.cheer-heart:hover {
  color: #E11D48
}

.cheer-heart.on {
  color: #E11D48
}

.cheer-heart .ic {
  transition: transform .15s ease
}

.cheer-heart:active .ic {
  transform: scale(1.3)
}

/* Footer */
footer {
  background: #2B2A2B;
  color: #fff;
  padding: 64px 0 36px
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08)
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.foot-brand-lock {
  display: flex;
  align-items: center;
  gap: 12px
}

.foot-brand-lock img {
  height: 52px;
  width: auto;
  display: block;
  padding: 6px 10px;
  background: #fff;
  border-radius: 10px
}

.foot-brand-kr {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1
}

.foot-brand-en {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.04em;
  margin-top: 3px
}

.foot-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
  max-width: 340px
}

.foot-col h5 {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.01em
}

.foot-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  padding: 5px 0;
  cursor: pointer
}

.foot-col a:hover {
  color: #fff
}

.foot-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px
}

.foot-bottom small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px
}

.foot-legal {
  display: flex;
  gap: 18px
}

.foot-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer
}

.foot-legal a:hover {
  color: #fff
}

/* Simplified footer (single-row) */
footer.foot-simple {
  padding: 40px 0 28px
}

.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-company {
  padding: 22px 0 4px;
}

.foot-company>div {
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.50);
}

.foot-company strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700
}

.foot-company a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none
}

.foot-company a:hover {
  color: #fff;
  text-decoration: underline
}

.foot-simple .foot-bottom {
  padding-top: 18px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  justify-content: center;
}

.foot-simple .foot-bottom small {
  text-align: center
}

.foot-legal a {
  cursor: pointer
}

@media (max-width: 600px) {
  .foot-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center
  }

  .foot-brand-lock {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%
  }

  .foot-brand-lock img {
    height: 58px
  }

  .foot-top .foot-brand-kr {
    font-size: 22px;
    line-height: 1.1
  }

  .foot-top .foot-brand-en {
    font-size: 15px;
    line-height: 1.25;
    margin-top: 5px
  }

  .foot-top .foot-legal {
    display: flex;
    justify-content: center;
    gap: 22px
  }

  .foot-company>div {
    font-size: 12px;
    line-height: 1.85
  }
}

/* Sticky CTA (mobile) */
.sticky-cta {
  display: none
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .hero h1 {
    font-size: 50px
  }

  .hero-inner {
    padding: 120px 0 56px;
    min-height: 460px
  }

  .hero-bg {
    background-size: cover;
    background-position: 80% center
  }

  .hero-quote-script {
    font-size: 24px;
    top: 80px;
    right: 24px;
    max-width: 300px
  }

  .hero-floater {
    display: none
  }

  .cheer-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .cheer-form {
    position: static
  }

  .teams-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .rank-card {
    position: static
  }

  .team-list {
    grid-template-columns: repeat(3, 1fr)
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .story-visual {
    max-width: 380px;
    justify-self: center
  }

  .cards-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
  }

  .steps::before {
    display: none
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-cell+.stat-cell {
    border-left: 0
  }

  .stat-cell:nth-child(odd) {
    border-right: 1px solid var(--line)
  }

  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--line)
  }
}

body.mobile-menu-open {
  overflow: hidden !important;
}

@media (max-width: 840px) {
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
    position: relative;
    z-index: 10005;
    flex-shrink: 0;
    pointer-events: auto;
  }

  /* 모바일 햄버거 메뉴 버튼 항상 노출 */
  body.logged-in .nav-toggle,
  .nav.is-logged-in .nav-toggle,
  .logged-in .nav-toggle {
    display: flex !important;
  }

  .desktop-only-login {
    display: none !important;
  }

  .nav-cta {
    margin-left: auto;
    margin-right: 10px;
    flex-shrink: 1;
    pointer-events: auto;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0f172a !important;
    padding: 85px 24px 40px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    z-index: 10000;
    overflow-y: auto;
    animation: fullScreenMenuFade 0.22s ease forwards;
  }

  @keyframes fullScreenMenuFade {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu.open .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 8px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    width: 100%;
    text-decoration: none;
  }

  .nav-menu.open .nav-link:hover,
  .nav-menu.open .nav-link.active {
    color: #3b82f6;
    background: transparent;
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-nav-cta .btn-login {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 16px;
    font-weight: 800;
    background: #2563eb;
    color: #ffffff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  }

  .nav-menu.open .mobile-admin-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    color: #60a5fa !important;
    font-weight: 800;
  }

  .nav-menu.open .mobile-admin-link:hover {
    color: #93c5fd !important;
  }

  .mobile-nav-cta .btn-admin-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
    text-decoration: none;
    margin-bottom: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  }

  .mobile-nav-cta .btn-admin-nav:hover,
  .mobile-nav-cta .btn-admin-nav:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    filter: brightness(1.08);
  }

  .team-list {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero h1 {
    font-size: 40px
  }

  .hero-inner {
    padding: 108px 0 48px;
    min-height: 420px
  }

  .hero-bg {
    background-position: 75% center
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(36, 35, 36, 0.0) 0%, rgba(36, 35, 36, 0.25) 35%, rgba(36, 35, 36, 0.48) 70%, rgba(36, 35, 36, 0.78) 100%);
  }

  .hero-quote-script {
    display: none
  }

  h2.section-title {
    font-size: 32px
  }

  section {
    padding: 72px 0
  }

  .hero-schedule {
    grid-template-columns: repeat(3, 1fr);
    gap: 0
  }

  .sched+.sched {
    padding-left: 12px
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }
}

@media (max-width: 560px) {
  .team-list {
    grid-template-columns: 1fr
  }

  /* 팀 카드 컴팩트 — 모바일에서 화면 절반 차지 안 하게 */
  .team-img {
    aspect-ratio: 16/9
  }

  .team-rank {
    top: 10px;
    left: 10px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 12px
  }

  .team-tag {
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    font-size: 10.5px
  }

  .team-body {
    padding: 16px 16px 18px;
    gap: 10px
  }

  .team-name {
    font-size: 16px
  }

  .team-desc {
    font-size: 13.5px;
    line-height: 1.65;
    min-height: 0
  }

  .team-stats {
    padding-top: 10px;
    gap: 10px
  }

  .team-stats .stat-k {
    font-size: 10.5px
  }

  .team-stats .stat-v {
    font-size: 15px
  }

  .progress-bar {
    height: 6px
  }

  .team-cta .btn {
    height: 44px;
    font-size: 13.5px
  }

  /* 통계 셀 — 숫자 줄바꿈 방지 + 정렬 */
  .stat-cell {
    padding: 18px 16px;
    gap: 12px
  }

  .stat-cell .ic {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0
  }

  .stat-cell .ic svg {
    width: 18px;
    height: 18px
  }

  .stat-cell .k {
    font-size: 11px
  }

  .stat-cell .v {
    font-size: 18px;
    white-space: nowrap;
    line-height: 1.2
  }

  .stat-cell .v .unit {
    font-size: 11px;
    margin-left: 3px
  }

  /* Overview 카드 (01~04) — 폰트·여백 압축 */
  .cards-4 {
    gap: 12px
  }

  .ov-card {
    padding: 20px 16px
  }

  .ov-num {
    font-size: 11px
  }

  .ov-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin: 10px 0 14px
  }

  .ov-icon svg {
    width: 18px;
    height: 18px
  }

  .ov-title {
    font-size: 16px;
    margin: 0 0 8px
  }

  .ov-body {
    font-size: 13.5px;
    line-height: 1.68
  }

  /* Steps 카드 (STEP 01~04) — 폰트·여백 압축 */
  .steps {
    gap: 12px
  }

  .steps::before {
    display: none
  }

  .step {
    padding: 22px 18px 20px
  }

  .step-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.10em
  }

  .step-eyebrow::before {
    width: 14px
  }

  .step-icn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 16px
  }

  .step-icn svg {
    width: 22px;
    height: 22px
  }

  .step-no {
    font-size: 38px;
    top: 16px;
    right: 16px
  }

  .step h4 {
    font-size: 16px;
    margin: 0 0 8px;
    word-break: keep-all
  }

  .step p {
    font-size: 13.5px;
    line-height: 1.72;
    word-break: keep-all
  }

  .step.active::after {
    top: 14px;
    right: 14px;
    font-size: 10px;
    padding: 4px 10px
  }

  /* Cheer Wall — 응원 폼 & 메시지 카드 */
  .cheer-wall {
    padding: 60px 0
  }

  .cheer-form {
    padding: 20px 18px;
    position: static
  }

  .cheer-form h3 {
    font-size: 19px
  }

  .cheer-form p {
    font-size: 14px;
    margin: 0 0 18px;
    line-height: 1.65
  }

  .cheer-input-row {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .cheer-input,
  .cheer-textarea,
  .cheer-select {
    font-size: 14px;
    padding: 11px 13px
  }

  .cheer-textarea {
    min-height: 88px
  }

  .cheer-foot {
    margin-top: 12px;
    gap: 10px
  }

  .cheer-count {
    font-size: 11.5px
  }

  .cheer-feed {
    gap: 10px
  }

  .cheer-item {
    padding: 14px 14px;
    gap: 12px
  }

  .cheer-avatar {
    width: 36px;
    height: 36px;
    font-size: 13px
  }

  .cheer-name {
    font-size: 13.5px
  }

  .cheer-target {
    font-size: 10.5px;
    padding: 2px 7px
  }

  .cheer-time {
    font-size: 10.5px
  }

  .cheer-text {
    font-size: 14px;
    line-height: 1.68;
    word-break: keep-all
  }

  .cheer-heart {
    font-size: 12.5px;
    margin-top: 6px
  }

  /* === 전역 모바일 타이포 최적화 === */
  /* 섹션 공통 헤딩 */
  section {
    padding: 60px 0
  }

  .section-head {
    margin-bottom: 28px
  }

  .kicker {
    padding: 5px 11px;
    font-size: 10.5px
  }

  .section-lead {
    font-size: 15.5px;
    line-height: 1.75;
    word-break: keep-all
  }

  /* Story 섹션 (1,000원, 작지만 거대한 희망의 문턱) */
  .story {
    padding: 64px 0
  }

  .story h2 {
    font-size: 28px;
    line-height: 1.22;
    margin: 0 0 16px;
    word-break: keep-all
  }

  .story p {
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 12px;
    word-break: keep-all
  }

  .story .pull {
    padding: 18px 20px;
    margin-top: 20px
  }

  .story .pull>div:first-child,
  .story .pull {
    font-size: 16px;
    line-height: 1.6
  }

  .story .pull .sub {
    font-size: 12.5px
  }

  /* Meaning 섹션 (그래서 우리는 이 하트를 그렸습니다) */
  .meaning {
    padding: 60px 0
  }

  .meaning-intro {
    margin-bottom: 28px
  }

  .meaning-title {
    font-size: 26px;
    line-height: 1.28;
    margin: 10px 0 14px
  }

  .meaning-lead {
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all
  }

  .meaning-piece h3 {
    font-size: 16px;
    margin: 0 0 6px
  }

  .meaning-piece p {
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all
  }

  .meaning-coda {
    margin-top: 36px
  }

  .meaning-quote {
    font-size: 28px;
    line-height: 1.5
  }

  /* 모달 헤딩 / 본문 */
  .modal-head {
    padding: 18px 20px 12px;
    gap: 10px
  }

  .modal-title {
    font-size: 16px
  }

  .modal-eyebrow {
    font-size: 10px
  }

  .modal-body {
    padding: 4px 20px 22px
  }

  .modal-steps {
    padding: 2px 20px 16px;
    font-size: 10.5px
  }

  /* 푸터 회사 정보 가독성 */
  .foot-brand-kr {
    font-size: 16px
  }

  .foot-brand-en {
    font-size: 12px
  }

  .foot-company>div {
    font-size: 12.5px;
    line-height: 1.85
  }

  .foot-legal a {
    font-size: 12.5px
  }

  .foot-simple .foot-bottom small {
    font-size: 11.5px;
    line-height: 1.6
  }

  /* 안내 풍선 (?) */
  .info-bubble {
    font-size: 12.5px;
    padding: 14px 16px
  }

  /* Sticky 하단 CTA 텍스트 가독성 */
  .sticky-cta .btn {
    font-size: 14.5px;
    font-weight: 800
  }

  /* === 모바일 — 모든 섹션 헤딩 중앙 정렬 === */
  .section-head {
    text-align: center
  }

  .teams-head>div:first-child {
    text-align: center
  }

  .info-bubble {
    text-align: left
  }

  .cheer-form h3,
  .cheer-form>p {
    text-align: center
  }

  /* Story 섹션 — 키커·헤딩만 가운데, 본문 단락은 좌측 정렬 유지(가독성) */
  .story .story-grid>div:first-child {
    text-align: center
  }

  .story .story-grid>div:first-child p {
    text-align: center
  }

  .story .story-grid>div:first-child>p {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .story .pull {
    text-align: center
  }

  /* 안내 풍선(?)도 모바일에선 헤딩 아래 가운데로 떠오르도록 */
  .info-bubble {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
    width: auto
  }

  .info-bubble::before {
    left: 50%;
    transform: translateX(-50%) rotate(45deg)
  }

  /* 히어로 — 모바일 가독성 + 위아래 여유 */
  .hero-inner {
    padding: 156px 0 80px;
    min-height: 560px;
    justify-content: center
  }

  .hero-content {
    max-width: 100%;
    text-align: center
  }

  .eyebrow {
    margin: 0 auto 32px;
    font-size: 11.5px;
    padding: 7px 14px 7px 10px;
    max-width: 100%;
    text-align: left
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 22px;
    word-break: keep-all;
    overflow-wrap: break-word
  }

  .hero h1 .line {
    display: block;
    white-space: wrap !important
  }

  .hero-sub {
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0 auto 36px
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 44px;
    justify-content: center
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: auto;
    padding: 0 16px;
    height: 52px;
    font-size: 15px
  }

  /* 일정 박스 컴팩트 */
  .hero-schedule {
    padding-top: 30px;
    gap: 6px;
    max-width: 560px;
    margin: 0 auto
  }

  .sched {
    padding-right: 0;
    gap: 8px;
    align-items: center
  }

  .sched+.sched {
    padding-left: 10px
  }

  .sched-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px
  }

  .sched-icon svg {
    width: 13px;
    height: 13px
  }

  .sched-label {
    font-size: 10.8px;
    letter-spacing: 0.01em;
    white-space: nowrap
  }

  .sched-date {
    font-size: 14.5px;
    margin-top: 2px;
    letter-spacing: -0.02em;
    white-space: nowrap
  }

  h2.section-title {
    font-size: 28px
  }

  .story h2 {
    font-size: 32px
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr
  }

  /* 모바일 — 기본 네비 메뉴는 숨김 (햄버거 메뉴 열림 시 .open으로 노출) */
  .nav-menu:not(.open) {
    display: none !important;
  }

  /* 액션 버튼은 하단 sticky CTA에서 처리, 헤더는 로그인/프로필만 유지 */
  .nav-cta .btn[data-open="apply"],
  .nav-cta .btn[data-open="donate"],
  .nav-cta .btn-gold {
    display: none
  }

  /* 모바일 — nav 좌우 여백 확보 (로고/로그인 버튼이 화면 모서리에 붙지 않도록) */
  .nav .wrap {
    padding: 10px 16px
  }

  .nav {
    top: 10px
  }

  /* 모바일에서도 헤더 고정 — 스크롤하면 상단에 진한 배경으로 계속 떠 있게 */
  .nav.scrolled {
    position: fixed;
    top: 0;
    background: rgba(36, 35, 36, 0.90);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-inner {
    padding: 24px 0 16px;
    gap: 12px
  }

  .nav-cta .btn-login {
    padding: 11px 18px;
    height: auto;
    min-height: 40px;
    font-size: 14.5px;
    font-weight: 800
  }

  /* 브랜드 — 모바일에서 로고만 표시하고 brand-meta 숨김 */
  .brand-logo {
    height: 46px
  }

  .brand-meta {
    display: none !important
  }

  /* Story 섹션의 CTA·심볼 카드는 하단 sticky/meaning 섹션과 중복이라 모바일에선 숨김 */
  .story-cta,
  .story-visual {
    display: none
  }

  .hero-quote-script {
    font-size: 22px
  }

  .sticky-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 18px 42px -18px rgba(var(--brand-charcoal-rgb), 0.45), 0 8px 20px -14px rgba(var(--brand-orange-rgb), 0.75);
    z-index: 60;
  }

  .sticky-cta .btn {
    flex: 1;
    height: 52px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 13px
  }

  .sticky-cta .btn-gold {
    box-shadow: 0 10px 24px -12px rgba(var(--brand-orange-rgb), 0.85)
  }

  body {
    padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px))
  }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(var(--brand-charcoal-rgb), 0.58);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top, 16px));
  padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  padding-left: max(16px, env(safe-area-inset-left, 16px));
  padding-right: max(16px, env(safe-area-inset-right, 16px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: modal-fade .2s ease;
}

.modal-overlay.open {
  display: flex
}

/* 참여 신청 모달 최상위 z-index 보장 */
#applyModal.modal-overlay {
  z-index: 100050;
}

@keyframes modal-fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* 정기결제 확인 모달 (후원 모달 위에 표시) */
.modal-overlay.regular-confirm {
  z-index: 100100;
  align-items: center
}

.rc-sheet {
  max-width: 400px;
  padding: 28px 24px;
  text-align: center
}

.rc-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-sky-light);
  color: #2879A8;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em
}

.rc-title {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink)
}

.rc-text {
  margin: 12px 0 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2)
}

.rc-actions {
  display: flex;
  gap: 10px
}

.rc-actions .btn {
  flex: 1;
  justify-content: center
}

@media (min-width: 641px) {
  .modal-overlay {
    align-items: center
  }
}

.modal-sheet {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: modal-rise .25s cubic-bezier(.2, .8, .2, 1);
  margin: auto;
}

.modal-sheet.apply {
  max-width: 540px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal-sheet.apply>.modal-head,
.modal-sheet.apply>.modal-steps {
  flex-shrink: 0
}

.modal-sheet.apply>.modal-section.active {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.modal-sheet.apply .apply-cat-grid {
  max-height: none;
  overflow: visible
}

@keyframes modal-rise {
  from {
    transform: translateY(20px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 14px
}

.modal-eyebrow {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  margin-top: 4px;
  letter-spacing: -0.01em;
  color: var(--ink)
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  background: #F6F7FB;
  color: var(--ink-2);
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.modal-close:hover {
  background: #EFF1F6
}

.modal-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 22px 18px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  flex-wrap: wrap
}

.step-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.step-dot.active {
  color: var(--navy)
}

.step-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EFF1F6;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.step-circle.active {
  background: var(--navy);
  color: #fff
}

.step-circle.done {
  background: var(--green);
  color: #fff
}

.modal-body {
  padding: 4px 22px 22px
}

.modal-body.success {
  padding: 16px 22px 26px;
  text-align: center
}

.modal-section {
  display: none
}

.modal-section.active {
  display: block
}

.modal-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 10px
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px
}

.amount-btn {
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.amount-btn:hover {
  border-color: var(--ink-3)
}

.amount-btn.sel {
  background: var(--brand-orange-light);
  border-color: var(--brand-orange);
  color: var(--ink)
}

.match-info {
  margin-top: 18px;
  padding: 14px 16px;
  background: #F6F7FB;
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.match-info strong.navy {
  color: var(--navy)
}

.match-info strong.green {
  color: var(--green)
}

/* Premium fixed-amount hero card */
.amount-hero {
  position: relative;
  padding: 10px 24px 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--brand-orange-rgb), 0.20) 0%, transparent 60%),
    linear-gradient(180deg, #FFFCFA 0%, var(--brand-orange-light) 100%);
  border: 1.5px solid rgba(var(--brand-orange-rgb), 0.48);
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
}

/* 브랜드 심볼 워터마크 (좌상단·우하단) */
.amount-hero::before,
.amount-hero::after {
  content: "";
  position: absolute;
  background: var(--img-simbol) center/contain no-repeat;
  pointer-events: none;
  opacity: 0.13;
}

.amount-hero::before {
  top: -28px;
  left: -26px;
  width: 120px;
  height: 120px;
  transform: rotate(-15deg);
}

.amount-hero::after {
  bottom: -32px;
  right: -28px;
  width: 140px;
  height: 140px;
  transform: rotate(12deg);
}

.amount-hero>* {
  position: relative;
  z-index: 1
}

.amount-hero-eyebrow {
  display: inline-block;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #A9471E;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.50);
  border-radius: 999px;
  margin-bottom: 18px;
}

.amount-hero-value {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.amount-hero-value .num {
  font-size: 68px;
  background: linear-gradient(135deg, #B94A1D 0%, var(--brand-orange) 48%, #F28B5C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.amount-hero-value .unit {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.amount-hero-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.amount-hero-divider {
  width: 40px;
  height: 2px;
  margin: 18px auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  border-radius: 2px;
}

.amount-hero-match {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.45);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
  text-align: left;
}

.amount-hero-match[hidden] {
  display: none !important
}

.amount-hero-match .match-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}

.amount-hero-match strong {
  color: var(--navy);
  font-weight: 800
}

.amount-hero-match strong.impact {
  color: var(--green);
  font-weight: 900;
}

.method-list {
  display: grid;
  gap: 8px
}

.method-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color .15s ease, background .15s ease;
}

.method-row:hover {
  border-color: var(--ink-3)
}

.method-row.sel {
  border-color: var(--navy);
  background: var(--brand-sky-light)
}

.method-logo {
  width: 46px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.method-label {
  flex: 1;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink)
}

.radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-block;
  flex-shrink: 0;
  box-sizing: border-box
}

.radio.on {
  border: 5px solid var(--navy)
}

.total-row {
  margin-top: 16px;
  padding: 12px 16px;
  background: #F6F7FB;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.total-row .label {
  color: var(--ink-3);
  font-weight: 600
}

.total-row .val {
  font-weight: 800;
  color: var(--navy)
}

.method-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px
}

.method-actions .btn-outline {
  flex: 0 0 110px;
  height: 52px
}

.method-actions .btn-navy {
  flex: 1;
  height: 52px
}

.method-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px
}

.success-circle {
  width: 64px;
  height: 64px;
  margin: 4px auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5AA88 0%, var(--brand-orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-orange);
}

.success-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35
}

.success-body {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 10px;
  line-height: 1.7
}

.success-body strong.navy {
  color: var(--navy)
}

.success-body strong.green {
  color: var(--green)
}

.apply-rows {
  display: grid;
  gap: 10px
}

.apply-row {
  display: flex;
  padding: 10px 14px;
  background: #F6F7FB;
  border-radius: 10px;
  font-size: 13px
}

.apply-row .k {
  width: 80px;
  color: var(--ink-3);
  font-weight: 600
}

.apply-row .v {
  flex: 1;
  color: var(--ink);
  font-weight: 700
}

.apply-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.6
}

body.modal-open {
  overflow: hidden
}

/* ===== INFO POPOVER (? 안내) ===== */
.teams-head>div:first-child {
  position: relative
}

.info-pop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--brand-charcoal-rgb), 0.28);
  background: transparent;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  margin-left: 10px;
  vertical-align: middle;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.info-pop:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: scale(1.08)
}

.info-pop.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}

.info-bubble {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  max-width: 420px;
  width: max-content;
  padding: 16px 18px;
  background: linear-gradient(135deg, #FEF5F0 0%, #FCE2D5 100%);
  border: 1.5px solid rgba(var(--brand-orange-rgb), 0.55);
  border-radius: 14px;
  box-shadow: 0 18px 40px -14px rgba(var(--brand-orange-rgb), 0.38);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--navy);
  z-index: 20;
  animation: info-fade .18s ease;
}

.info-bubble::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 32px;
  width: 13px;
  height: 13px;
  background: #FEF5F0;
  border-left: 1.5px solid rgba(var(--brand-orange-rgb), 0.55);
  border-top: 1.5px solid rgba(var(--brand-orange-rgb), 0.55);
  transform: rotate(45deg);
}

.info-bubble strong {
  color: #A9471E;
  font-weight: 800
}

.info-bubble strong:first-child {
  display: block;
  font-size: 14.5px;
  color: #7D371B;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

@keyframes info-fade {
  from {
    opacity: 0;
    transform: translateY(-4px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (max-width: 560px) {
  .info-bubble {
    max-width: calc(100vw - 48px);
    width: auto;
    left: -12px;
    right: -12px
  }
}

/* ===== LEGAL MODAL (개인정보처리방침 / 이용약관) ===== */
.legal-modal .modal-sheet {
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.legal-head {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.legal-head .modal-eyebrow {
  font-size: 11px
}

.legal-head .modal-title {
  font-size: 20px;
  margin-top: 4px
}

.legal-body {
  padding: 24px 28px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-2);
}

.legal-body::-webkit-scrollbar {
  width: 10px
}

.legal-body::-webkit-scrollbar-track {
  background: transparent
}

.legal-body::-webkit-scrollbar-thumb {
  background: #E0E3EB;
  border-radius: 8px;
  border: 2px solid #fff
}

.legal-body::-webkit-scrollbar-thumb:hover {
  background: #C8CCD8
}

.legal-body p {
  margin: 0 0 10px
}

.legal-body h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 24px 0 10px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-body h3:first-of-type {
  margin-top: 0
}

.legal-body h3::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 12px;
  padding-left: 22px
}

.legal-body li {
  margin-bottom: 6px
}

.legal-body strong {
  color: var(--ink);
  font-weight: 700
}

.legal-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #F6F7FB;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--ink-3);
}

.legal-meta strong {
  color: var(--navy);
  margin-left: 4px
}

.legal-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--brand-orange-light);
  border-left: 3px solid var(--brand-orange);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ===== MEANING (브랜드 하트 심볼) ===== */
.meaning {
  background: #FFFFFF;
  padding: 100px 0;
  position: relative;
}

.meaning-wrap {
  max-width: 1100px
}

.meaning-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px
}

.meaning-title {
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
  color: var(--navy);
}

.meaning-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
}

.meaning-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.meaning-symbol {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meaning-orbit {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(var(--brand-charcoal-rgb), 0.18);
  animation: spin 28s linear infinite;
}

.meaning-orbit.o2 {
  inset: 20%;
  border-color: rgba(var(--brand-orange-rgb), 0.38);
  animation-duration: 40s;
  animation-direction: reverse;
}

.meaning-orbit .orb-pin {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.6)
}

.meaning-bi {
  position: relative;
  z-index: 1;
  width: 62%;
  max-width: 300px;
  height: auto;
  animation: meaning-float 6s ease-in-out infinite;
}

@keyframes meaning-float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

@media (prefers-reduced-motion: reduce) {
  .meaning-orbit {
    animation: none
  }

  .meaning-bi {
    animation: none
  }
}

.meaning-pieces {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.meaning-piece {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.meaning-piece:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(var(--brand-charcoal-rgb), 0.12);
}

.meaning-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meaning-mark.heart {
  background: var(--brand-orange-light)
}

.meaning-mark.seed {
  background: var(--brand-sky-light)
}

.meaning-mark.hands {
  background: var(--brand-sky-light)
}

.meaning-piece h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.meaning-piece p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.meaning-coda {
  margin-top: 88px;
  text-align: center;
  position: relative
}

.meaning-coda::before,
.meaning-coda::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  margin: 0 auto;
}

.meaning-coda::before {
  margin-bottom: 28px
}

.meaning-coda::after {
  margin-top: 28px
}

.meaning-quote {
  display: inline-block;
  font-family: 'Diphylleia', 'Gowun Batang', 'Nanum Pen Script', serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
  background: linear-gradient(135deg, var(--brand-charcoal-hover) 0%, var(--brand-charcoal) 50%, var(--brand-charcoal-hover) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(var(--brand-charcoal-rgb), 0.08);
}

@media (max-width: 900px) {
  .meaning {
    padding: 72px 0
  }

  .meaning-title {
    font-size: 30px
  }

  .meaning-intro {
    margin-bottom: 44px
  }

  .meaning-stage {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .meaning-symbol {
    max-width: 360px
  }

  .meaning-bi {
    width: 62%;
    max-width: 220px
  }

  .meaning-pieces {
    gap: 12px
  }

  .meaning-piece {
    padding: 18px 20px;
    grid-template-columns: 48px 1fr;
    gap: 14px
  }

  .meaning-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px
  }

  .meaning-mark svg {
    width: 22px;
    height: 22px
  }

  .meaning-coda {
    margin-top: 56px
  }

  .meaning-quote {
    font-size: 36px;
    line-height: 1.5
  }
}

/* ===== AUTH / LOGIN ===== */
.btn-login {
  font-weight: 600
}

.login-gate .modal-sheet {
  max-width: 380px
}

.login-gate-body {
  padding: 6px 24px 26px;
  text-align: center
}

.login-gate-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 6px 0 18px;
}

.sns-stack {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: background .15s ease, transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  position: relative;
}

.sns-btn:active {
  transform: translateY(1px)
}

.sns-btn[disabled] {
  opacity: 0.6;
  cursor: wait
}

.kakao-btn {
  background: #FEE500;
  color: #181600
}

.kakao-btn:hover {
  background: #F5DC00
}

.naver-btn {
  background: #03C75A;
  color: #fff
}

.naver-btn:hover {
  background: #02B452
}

.google-btn {
  background: #fff;
  color: #1F1F1F;
  border: 1px solid #DADCE0
}

.google-btn:hover {
  background: #F8F9FA;
  border-color: #BFC2C6;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08)
}

.login-gate-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.6;
}

/* Header user area */
.nav-user {
  display: none;
  align-items: center;
  gap: 10px;
  position: relative
}

.nav-user.show {
  display: inline-flex
}

.btn-login.hide {
  display: none
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease;
}

.user-chip:hover {
  background: rgba(255, 255, 255, 0.12)
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-charcoal) center/cover no-repeat;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.user-chip svg {
  opacity: 0.7;
  flex-shrink: 0
}

.user-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  min-width: 160px;
  box-shadow: 0 8px 24px -8px rgba(var(--brand-charcoal-rgb), 0.25), 0 0 0 1px rgba(var(--brand-charcoal-rgb), 0.08);
  padding: 6px;
  display: none;
  z-index: 70;
}

.user-menu.open {
  display: block
}

.user-menu button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}

.user-menu button:hover {
  background: var(--bg)
}

@media (max-width: 900px) {
  .nav-user .user-name {
    display: none
  }

  .user-chip {
    padding: 0 10px 0 4px
  }
}

.donor-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.donor-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 4px;
  padding: 11px 14px;
  background: var(--brand-orange-light);
  color: var(--ink-2);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid #F1D4C6;
  letter-spacing: -0.01em;
}

.donor-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #B94A1D
}

.donate-cat-tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.donate-cat-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.donor-field {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.donor-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2)
}

.donor-input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease;
  /* 모바일 다크모드에서 포커스 시 배경이 검게 변하는 문제 방지 */
  color-scheme: light;
  -webkit-appearance: none;
  appearance: none;
}

.donor-input:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  color: var(--ink)
}

/* 자동완성(autofill) 시에도 흰 배경 + 어두운 글씨 유지 */
.donor-input:-webkit-autofill,
.donor-input:-webkit-autofill:hover,
.donor-input:-webkit-autofill:focus,
.donor-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  caret-color: var(--ink);
}

.method-picker {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.method-group {
  background: #F6F7FB;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 14px 10px
}

.method-group-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .02em;
  margin-bottom: 10px
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.method-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  text-align: left;
}

.method-row:hover {
  border-color: var(--ink-3)
}

.method-row.sel {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(var(--brand-charcoal-rgb), .10)
}

.method-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.method-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink)
}

.method-row .radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  position: relative;
  flex-shrink: 0;
}

.method-row .radio.on {
  border-color: var(--navy)
}

.method-row .radio.on::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.step-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px
}

.step-actions .btn {
  flex: 1;
  height: 52px
}

.step-actions .btn.btn-outline {
  flex: 0 0 110px
}

.teams-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap
}

.view-toggle {
  display: inline-flex;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  flex-shrink: 0;
  margin-top: 6px;
}

.view-toggle .vt-btn {
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-3);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.view-toggle .vt-btn:hover {
  color: var(--ink)
}

.view-toggle .vt-btn.on {
  background: var(--navy);
  color: #fff
}

.view-guide {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6
}

.goal-list[hidden],
.team-list[hidden],
.view-guide[hidden] {
  display: none !important
}

.rank-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px
}

.rank-scope-toggle {
  display: inline-flex;
  background: #F6F7FB;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px
}

.rank-scope-toggle .rs-btn {
  padding: 5px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-3);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.rank-scope-toggle .rs-btn.on {
  background: var(--navy);
  color: #fff
}

.goal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

@media(max-width:768px) {
  .goal-list {
    grid-template-columns: 1fr
  }
}

.goal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.goal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--navy)
}

.goal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.goal-sdg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 6px;
}

.goal-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue)
}

.goal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4
}

.goal-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
  min-height: 64px
}

.goal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: #FBFBFD;
  border-radius: 8px
}

.goal-stats .stat-k {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 2px
}

.goal-stats .stat-v {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink)
}

.goal-stats .stat-v .unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 2px
}

.goal-cta .btn {
  height: 46px;
  font-size: 14px
}

.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.empty-state-lg {
  grid-column: 1/-1;
  padding: 64px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #F6F7FB;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink)
}

.empty-state-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6
}

.teams-col {
  display: flex;
  flex-direction: column
}

.goal-card.is-hidden {
  display: none !important
}

.team-card.is-hidden {
  display: none !important
}

.team-more-wrap {
  text-align: center;
  margin-top: 28px
}

.team-more-btn {
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}

.team-more-btn:hover {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--brand-charcoal-rgb), .24);
  transform: translateY(-1px)
}

.team-more-btn:active {
  transform: translateY(0)
}

.goal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

@media(max-width:980px) {
  .goal-list {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:640px) {
  .goal-list {
    grid-template-columns: 1fr
  }
}

.goal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .2s ease;
  padding: 0;
  gap: 0;
}

.goal-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover)
}

.goal-card .goal-img {
  position: relative;
  aspect-ratio: 5/3.2;
  overflow: hidden;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
}

.goal-card .goal-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--brand-charcoal-rgb), 0.32) 0%, rgba(var(--brand-charcoal-rgb), 0) 30%, rgba(var(--brand-charcoal-rgb), 0) 75%, rgba(var(--brand-charcoal-rgb), 0.48) 100%);
  pointer-events: none;
}

.goal-card .goal-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(var(--brand-charcoal-rgb), 0.88);
  color: #fff;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  z-index: 2;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.25);
}

.goal-card .goal-rank.r1 {
  background: linear-gradient(135deg, #F5AA88 0%, var(--brand-orange) 100%);
  color: var(--on-orange)
}

.goal-card .goal-rank.r2 {
  background: linear-gradient(135deg, #DDE3ED 0%, #C7D0DD 100%);
  color: var(--navy)
}

.goal-card .goal-rank.r3 {
  background: linear-gradient(135deg, #E8B795 0%, #C97A4D 100%);
  color: #fff
}

.goal-card .goal-tag-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.15);
}

.goal-card .card-share-chip,
.team-card .card-share-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  top: auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 3;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.15);
  transition: transform .12s ease, background .12s ease;
  padding: 0;
}

.goal-card .card-share-chip:hover,
.team-card .card-share-chip:hover {
  background: #FEE500
}

.goal-card .card-share-chip:active,
.team-card .card-share-chip:active {
  transform: scale(.92)
}

.goal-card .card-share-chip svg,
.team-card .card-share-chip svg {
  display: block;
  width: 16px;
  height: 16px
}

.goal-card .goal-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1
}

.goal-card .goal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink)
}

.goal-card .goal-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  min-height: 42px
}

/* 카드 타이틀/설명을 이미지 위 반투명 라운드 박스로 (카드 세로 길이 축소) */
.card-overlay-text {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: auto;
  z-index: 2;
  background: rgba(36, 35, 36, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 13px;
  padding: 10px 13px
}

.card-overlay-text .goal-title,
.card-overlay-text .team-name {
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.card-overlay-text .team-name a:hover {
  text-decoration: underline !important;
}

.card-overlay-text .goal-desc,
.card-overlay-text .team-desc {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 11.5px;
  line-height: 1.45;
  margin: 3px 0 0;
  min-height: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* 타이틀/설명이 이미지로 이동 → 본문은 지표부터 시작, 상단 점선 구분선 제거 */
.goal-card .goal-body,
.team-card .team-body {
  padding-top: 16px
}

.goal-card .goal-stats,
.team-card .team-stats {
  border-top: none;
  padding-top: 0
}

/* 목표/참가팀 전환 슬라이드 애니메이션 (스와이프/버튼 공통) */
@keyframes vtSlideInRight {
  from {
    opacity: 0;
    transform: translateX(42px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes vtSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-42px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

#goalList.slide-in-right,
#teamList.slide-in-right {
  animation: vtSlideInRight .26s cubic-bezier(.22, .61, .36, 1)
}

#goalList.slide-in-left,
#teamList.slide-in-left {
  animation: vtSlideInLeft .26s cubic-bezier(.22, .61, .36, 1)
}

.goal-card .goal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
  background: transparent;
  border-radius: 0;
}

.goal-card .goal-stats .stat-k {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px
}

.goal-card .goal-stats .stat-v {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em
}

.goal-card .goal-stats .stat-v .unit {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  margin-left: 2px
}

.goal-card .goal-cta {
  margin-top: auto
}

/* ── 카드 좋아요 (목표/참가팀) : 후원자 수 우측 하트 + 더블탭 버스트 ── */
.goal-card .goal-stats,
.team-card .team-stats {
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  column-gap: 12px
}

.card-like {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  margin: 0;
  color: var(--ink-3);
  font-family: inherit;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease;
}

.card-like .ic {
  display: block;
  width: 19px;
  height: 19px;
  transition: transform .18s cubic-bezier(.2, 1.4, .4, 1)
}

.card-like .card-like-n {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  min-width: 8px;
  text-align: left
}

.card-like:active {
  transform: scale(.9)
}

.card-like.on {
  color: #E11D48
}

.card-like.on .ic {
  fill: #E11D48;
  stroke: #E11D48;
  animation: cardLikePop .32s ease
}

.card-like.on .card-like-n {
  color: #E11D48
}

@keyframes cardLikePop {
  0% {
    transform: scale(1)
  }

  35% {
    transform: scale(1.35)
  }

  100% {
    transform: scale(1)
  }
}

.card-like-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.2);
  width: 96px;
  height: 96px;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .4));
}

.card-like-burst svg {
  display: block;
  width: 100%;
  height: 100%
}

.card-like-burst.go {
  animation: cardBurst .9s cubic-bezier(.2, .8, .3, 1) forwards
}

@keyframes cardBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2)
  }

  15% {
    opacity: .95;
    transform: translate(-50%, -50%) scale(1.15)
  }

  35% {
    transform: translate(-50%, -50%) scale(.92)
  }

  50% {
    transform: translate(-50%, -50%) scale(1)
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1)
  }
}

/* ── 응원 댓글 이미지 첨부 (작성란 + 댓글 썸네일 + 라이트박스) ── */
.cheer-attach-btn,
.tcs-attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #F1F3F8;
  border: 1px solid var(--line, #E5E8EF);
  border-radius: 9px;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2, #3A4256);
  transition: background .12s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
}

.cheer-attach-btn:hover,
.tcs-attach-btn:hover {
  background: #E7EAF2
}

.cheer-attach-btn:active,
.tcs-attach-btn:active {
  transform: scale(.96)
}

.cheer-attach-btn svg,
.tcs-attach-btn svg {
  width: 16px;
  height: 16px;
  display: block
}

.cheer-foot {
  display: flex;
  align-items: center;
  gap: 10px
}

.cheer-foot #cheerSubmit {
  margin-left: auto
}

.cheer-attach-preview,
.tcs-attach-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0
}

.cheer-attach-preview[hidden],
.tcs-attach-preview[hidden] {
  display: none
}

.cheer-pv {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12)
}

.cheer-pv-x {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(36, 35, 36, .94);
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  font-weight: 700;
}

/* 댓글 안 썸네일 */
.cheer-thumbs {
  display: grid;
  gap: 6px;
  margin: 9px 0 2px
}

.cheer-thumbs[data-show="1"] {
  grid-template-columns: minmax(0, 62%)
}

.cheer-thumbs[data-show="2"] {
  grid-template-columns: 1fr 1fr;
  max-width: 80%
}

.cheer-thumbs[data-show="3"] {
  grid-template-columns: 1fr 1fr 1fr
}

.cheer-thumb {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 11px;
  background: #EEF1F6 center/cover no-repeat;
  width: 100%;
  aspect-ratio: 1/1;
  -webkit-tap-highlight-color: transparent;
}

.cheer-thumbs[data-show="1"] .cheer-thumb {
  aspect-ratio: 4/3
}

.cheer-thumb:active {
  filter: brightness(.94)
}

.cheer-thumb-more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 35, 36, .55)
}

.cheer-thumb-more span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800
}

/* 라이트박스 */
.cheer-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 12, 24, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}

.cheer-lightbox.open {
  opacity: 1
}

.cheer-lightbox[hidden] {
  display: none
}

.clb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clb-close svg {
  width: 22px;
  height: 22px
}

.clb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .12s;
}

.clb-nav:hover {
  background: rgba(255, 255, 255, .3)
}

.clb-nav:active {
  transform: translateY(-50%) scale(.92)
}

.clb-nav svg {
  width: 26px;
  height: 26px;
  display: block
}

.clb-prev {
  left: 16px
}

.clb-next {
  right: 16px
}

@media (max-width:600px) {
  .clb-nav {
    width: 40px;
    height: 40px
  }

  .clb-prev {
    left: 8px
  }

  .clb-next {
    right: 8px
  }
}

.clb-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab
}

.clb-stage:active {
  cursor: grabbing
}

.clb-track {
  display: flex;
  height: 100%;
  will-change: transform
}

.clb-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px
}

.clb-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none
}

.clb-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 7px;
  justify-content: center
}

.clb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  transition: background .15s, transform .15s;
  cursor: pointer
}

.clb-dot.on {
  background: #fff;
  transform: scale(1.25)
}

.apply-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 2px;
}

.apply-cat-card {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: inherit;
}

.apply-cat-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-1px)
}

.apply-cat-card:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px
}

.apply-cat-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.apply-cat-card .apply-cat-tag {
  display: inline-block;
  align-self: flex-start;
  background: #F4F6FA;
  color: var(--navy);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.apply-cat-card .apply-cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apply-cat-card.sel {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--brand-charcoal-rgb), 0.10)
}

.apply-cat-card.sel::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 2px 6px rgba(var(--brand-charcoal-rgb), 0.30);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.apply-cat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F6F7FB;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.apply-cat-chip img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0
}

.apply-cat-chip .chip-body {
  flex: 1;
  min-width: 0
}

.apply-cat-chip .chip-tag {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700
}

.apply-cat-chip .chip-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 3px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apply-cat-chip .chip-change {
  background: transparent;
  border: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 6px;
  font-family: inherit;
}

.form-field {
  margin-bottom: 14px
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: -0.01em
}

.form-label.req::after {
  content: " *";
  color: #E11D48
}

.form-input,
.form-textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}

.form-textarea {
  height: auto;
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5
}

.form-autogrow {
  height: auto;
  min-height: 46px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: none;
  overflow-y: hidden;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-break: break-word;
}

.form-textarea.form-autogrow {
  min-height: 120px
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted)
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--brand-charcoal-rgb), 0.10);
}

.form-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.form-radio-group label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}

.form-radio-group label:hover {
  border-color: var(--ink-3)
}

.form-radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none
}

.form-radio-group label:has(input:checked) {
  border-color: var(--navy);
  background: rgba(var(--brand-charcoal-rgb), 0.08);
  color: var(--navy)
}

.form-counter {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px
}

.form-counter.under {
  color: var(--brand-orange)
}

.form-counter.ok {
  color: #2DBE60
}

.form-counter.over {
  color: #E11D48
}

.form-error {
  display: none;
  font-size: 12px;
  color: #E11D48;
  margin-top: 4px
}

.form-field.has-error .form-error {
  display: block
}

.form-field.has-error .form-input,
.form-field.has-error .form-textarea {
  border-color: #E11D48
}

.form-field.has-error .form-radio-group label {
  border-color: #E11D48
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 8px;
  padding: 12px 14px;
  background: #F6F7FB;
  border-radius: 10px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer
}

.form-check a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 600
}

.form-check.has-error {
  color: #E11D48;
  background: #FEF2F4
}

.apply-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  margin-top: 18px
}

.apply-actions .btn {
  height: 52px
}

/* 단체 정보 서브스텝 (스크롤 없이 단계 입력) */
.apply-substep[hidden] {
  display: none
}

.apply-substeps-ind {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 2px 0 16px
}

.apply-substeps-ind .ssi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D6DCEA;
  transition: background .2s, width .2s
}

.apply-substeps-ind .ssi-dot.active {
  background: var(--navy, #575657);
  width: 20px;
  border-radius: 99px
}

.apply-info-layer {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.apply-info-layer[hidden] {
  display: none !important
}

.apply-info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.apply-info-back {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  background: #F6F7FB;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.apply-info-back:hover {
  background: #EFF1F6
}

.apply-info-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink)
}

.apply-info-body {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  padding: 18px 22px 24px;
  line-height: 1.7;
  color: var(--ink-2);
  font-size: 14px;
}

.apply-info-body h4 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink)
}

.apply-info-body h4:first-child {
  margin-top: 0
}

.apply-info-body p {
  margin: 0 0 10px
}

.modal-sheet.apply {
  position: relative
}

.pay-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #F6F7FB;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  margin: 0 0 16px;
}

.pay-type-toggle .pt-btn {
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-3);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.pay-type-toggle .pt-btn:hover {
  color: var(--ink)
}

.pay-type-toggle .pt-btn.on {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(var(--brand-charcoal-rgb), .34)
}

.method-group-title .mg-sub {
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 4px;
  font-size: 11.5px
}

.method-warn {
  margin: 10px 0 0;
  padding: 8px 10px;
  background: #FDE7EA;
  border: 1px solid #F5C2C7;
  border-radius: 8px;
  color: #9D1023;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

input.amount-editable {
  font: inherit;
  line-height: inherit;
  background: transparent !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: var(--brand-orange) !important;
  color: var(--brand-orange) !important;
  border: 0;
  outline: none;
  text-align: center;
  width: 7ch;
  min-width: 4ch;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 8px;
  caret-color: var(--navy);
  -moz-appearance: textfield;
  appearance: textfield;
  vertical-align: baseline;
  transition: background-color .15s ease;
  cursor: text;
}

input.amount-editable::-webkit-outer-spin-button,
input.amount-editable::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0
}

input.amount-editable:hover {
  background-color: rgba(var(--brand-charcoal-rgb), .05) !important
}

input.amount-editable:focus {
  background-color: rgba(var(--brand-charcoal-rgb), .10) !important
}

.amount-hero-hint {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 8px;
}

.donate-success {
  position: relative;
  overflow: hidden;
  padding: 30px 22px 22px
}

.donate-success .confetti {
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  pointer-events: none;
  overflow: hidden;
  z-index: 1
}

.donate-success .confetti span {
  position: absolute;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  opacity: .85;
  animation: dsfall 3.5s ease-in-out infinite
}

.donate-success .confetti span:nth-child(1) {
  left: 8%;
  top: -10px;
  background: var(--brand-orange);
  animation-delay: 0s;
  transform: rotate(15deg)
}

.donate-success .confetti span:nth-child(2) {
  left: 18%;
  top: -15px;
  background: #FF9D9D;
  animation-delay: .4s;
  transform: rotate(-20deg)
}

.donate-success .confetti span:nth-child(3) {
  left: 28%;
  top: -8px;
  background: #7AD0FF;
  animation-delay: .8s;
  transform: rotate(8deg)
}

.donate-success .confetti span:nth-child(4) {
  left: 42%;
  top: -20px;
  background: var(--brand-sky);
  animation-delay: .2s;
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.donate-success .confetti span:nth-child(5) {
  left: 56%;
  top: -10px;
  background: #B8E994;
  animation-delay: .6s;
  transform: rotate(25deg)
}

.donate-success .confetti span:nth-child(6) {
  left: 68%;
  top: -18px;
  background: #FFB0C8;
  animation-delay: .1s;
  transform: rotate(-8deg)
}

.donate-success .confetti span:nth-child(7) {
  left: 78%;
  top: -6px;
  background: var(--brand-orange);
  animation-delay: .5s;
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.donate-success .confetti span:nth-child(8) {
  left: 88%;
  top: -14px;
  background: #A4D1FF;
  animation-delay: .9s;
  transform: rotate(-22deg)
}

.donate-success .confetti span:nth-child(9) {
  left: 92%;
  top: -22px;
  background: #FFC4D9;
  animation-delay: .3s;
  transform: rotate(10deg)
}

@keyframes dsfall {
  0% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(40px) rotate(180deg)
  }

  100% {
    transform: translateY(0) rotate(360deg)
  }
}

.ds-head {
  position: relative;
  text-align: center;
  margin-bottom: 18px;
  z-index: 2
}

.ds-check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5AA88 0%, var(--brand-orange) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(var(--brand-orange-rgb), .55);
  margin-bottom: 10px;
}

.ds-check svg {
  stroke: var(--navy);
  stroke-width: 3.5;
  width: 28px;
  height: 28px
}

.ds-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.25
}

.ds-subtitle {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 13.5px;
  letter-spacing: -0.01em
}

.cert {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #FCFAF9 0%, #FFFDFB 100%);
  border: 1px solid #EBDCD5;
  border-radius: 16px;
  padding: 22px 16px 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px -10px rgba(var(--brand-charcoal-rgb), .14);
}

.cert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #B94A1D 0%, var(--brand-orange) 25%, #F7B293 50%, var(--brand-orange) 75%, #B94A1D 100%);
  border-radius: 16px 16px 0 0;
}

.cert-heading {
  text-align: center;
  margin-bottom: 16px
}

.cert-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #B94A1D;
  background: linear-gradient(135deg, rgba(var(--brand-orange-rgb), .20) 0%, rgba(var(--brand-orange-rgb), .10) 100%);
  border: 1px solid rgba(var(--brand-orange-rgb), .34);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px -2px rgba(var(--brand-orange-rgb), .28);
}

.cert-eyebrow::before,
.cert-eyebrow::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  background: var(--brand-orange);
  opacity: .65
}

.cert-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.cert-title strong {
  color: var(--navy);
  position: relative;
  padding: 0 4px;
  background: linear-gradient(180deg, transparent 0%, transparent 62%, rgba(var(--brand-orange-rgb), .32) 62%, rgba(var(--brand-orange-rgb), .32) 92%, transparent 92%);
}

.cert-title .laurel {
  display: inline-flex;
  opacity: .85;
  flex-shrink: 0
}

.cert-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center
}

.cert-illust {
  width: 88px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center
}

.cert-info {
  display: flex;
  flex-direction: column;
  gap: 0
}

.cert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px dashed #E6D4CB
}

.cert-row:last-child {
  border-bottom: 0
}

.cert-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(var(--brand-orange-rgb), .18);
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-k {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  flex: 1;
  letter-spacing: -0.01em
}

.cert-v {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em
}

.cert-v small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 2px
}

.cert-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  background: linear-gradient(180deg, #FCFAF9 0%, #FFFDFB 100%);
  border: 1px solid #EBDCD5;
  border-radius: 16px;
  padding: 14px 8px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px -10px rgba(var(--brand-charcoal-rgb), .14);
}

.cert-stats::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: #E6D4CB
}

.cs-cell {
  text-align: center;
  padding: 4px 10px
}

.cs-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #F5A17C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cs-k {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em
}

.cs-v {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em
}

.cs-v small {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  margin-left: 2px
}

.cert-slogan {
  text-align: center;
  margin: 10px 0 14px
}

.cs-text {
  font-family: 'Caveat', 'Pretendard', cursive;
  font-size: 24px;
  font-weight: 700;
  color: #2879A8;
  letter-spacing: .5px;
}

.cs-heart {
  color: var(--brand-sky);
  font-size: 22px
}

.cs-sub {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: -0.01em
}

.cert-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px
}

.cert-actions-row {
  display: flex;
  gap: 8px
}

.cert-actions-row .btn {
  flex: 1 1 0;
  min-width: 0
}

.cert-actions .btn {
  height: 46px;
  font-size: 13px;
  gap: 4px;
  padding: 0 6px
}

.cert-actions .btn svg {
  width: 14px;
  height: 14px
}

.cert-actions .btn-navy {
  width: 100%
}

@media (max-width:520px) {
  .cert-actions .btn {
    height: 48px;
    font-size: 14px
  }
}


/* share sheet */
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 100110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom))
}

.share-sheet[hidden] {
  display: none !important
}

.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--brand-charcoal-rgb), .58);
  backdrop-filter: blur(2px);
  animation: shFadeIn .18s ease
}

.share-sheet-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 20px 20px 24px;
  box-shadow: 0 16px 40px rgba(var(--brand-charcoal-rgb), .20);
  animation: shSlideUp .22s ease
}

@media (min-width:540px) {
  .share-sheet {
    align-items: center;
    padding: 24px
  }

  .share-sheet-panel {
    animation: shFadeIn .18s ease
  }
}

.share-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px
}

.share-sheet-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink)
}

.share-sheet-x {
  background: none;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px
}

.share-sheet-x:hover {
  background: #F5F7FB
}

.share-sheet-desc {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-size: 13px
}

.share-sheet-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.share-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  transition: transform .12s ease, background .12s ease
}

.share-opt:hover {
  background: #F5F7FB
}

.share-opt:active {
  transform: scale(.96)
}

.so-ic {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(var(--brand-charcoal-rgb), .14)
}

@keyframes shFadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes shSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* share url row */
.share-sheet-options {
  grid-template-columns: repeat(5, 1fr) !important;
  justify-items: center
}

@media (max-width:420px) {
  .share-sheet-options {
    grid-template-columns: repeat(4, 1fr) !important
  }
}

.share-url-row {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  align-items: stretch
}

.share-url-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  user-select: all;
  cursor: text
}

.share-url-input:focus {
  border-color: var(--navy);
  background: #fff
}

.share-url-copy {
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap
}

.share-url-copy:hover {
  background: #F5F7FB
}

.share-url-copy.copied {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}

/* share sheet single option layout */
.share-sheet-options {
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  padding: 6px 2px 2px
}

.share-sheet-options .share-opt {
  width: 64px;
  flex: 0 0 auto
}

.share-sheet-options .so-ic {
  width: 52px;
  height: 52px
}

/* kakao floating share button (mobile only) */
.floating-fabs {
  position: fixed;
  right: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1500
}

.floating-fabs .fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 6px 18px rgba(var(--brand-charcoal-rgb), .24);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  padding: 0;
  text-decoration: none
}

.floating-fabs .fab:hover {
  box-shadow: 0 8px 22px rgba(var(--brand-charcoal-rgb), .30)
}

.floating-fabs .fab:active {
  transform: scale(.94)
}

.floating-fabs .fab svg {
  display: block
}

.floating-fabs .kakao-fab {
  background: #FEE500
}

.floating-fabs .kakao-fab .fab-text {
  font-size: 17px;
  font-weight: 800;
  color: #3C1E1E;
  letter-spacing: -.5px;
  line-height: 1
}

.floating-fabs .share-fab {
  background: var(--navy);
  color: #fff
}

/* 팀 페이지 홈(메인 이동) FAB — 챌린지 브랜드 심볼 */
.floating-fabs .home-fab {
  background: #fff
}

.floating-fabs .home-fab img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block
}

/* 문의/공유 FAB은 PC에서도 노출. 단, 모달이 열리면 숨겨 모달이 최상위로 보이게 함 */
body.modal-open .floating-fabs {
  display: none
}

/* ===== 기부금 확인증 캔버스 (배경 이미지 2480x3508 위 텍스트 오버레이) =====
   좌표/폰트는 원본 2480x3508px 기준. 미세조정은 아래 .cf-* 값만 수정. */
.cert-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 2480/3508;
  overflow: hidden;
  border-radius: 10px
}

.cert-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 2480px;
  height: 3508px;
  transform-origin: top left;
  background: #fff
}

.cert-bg {
  position: absolute;
  inset: 0;
  width: 2480px;
  height: 3508px;
  display: block;
  pointer-events: none
}

.cert-f {
  position: absolute;
  white-space: nowrap;
  line-height: 1;
  color: #2b2b2b;
  font-family: 'Pretendard', system-ui, -apple-system, sans-serif
}

.cf-receipt {
  top: 120px;
  right: 185px;
  font-size: 40px;
  font-weight: 500;
  color: #4a4a4a;
  letter-spacing: .5px
}

.cf-name {
  top: 1610px;
  left: 62%;
  transform: translate(-50%, -50%);
  font-family: 'Nanum Brush Script', 'Pretendard', cursive;
  font-size: 170px;
  font-weight: 400;
  color: #2a2320
}

.cf-amount {
  top: 1865px;
  left: 62%;
  transform: translate(-50%, -50%);
  font-size: 98px;
  font-weight: 800;
  color: #23262b
}

.cf-total {
  top: 2255px;
  left: 30%;
  transform: translate(-50%, -50%);
  font-size: 84px;
  font-weight: 800;
  color: #23262b
}

.cf-count {
  top: 2255px;
  left: 69.4%;
  transform: translate(-50%, -50%);
  font-size: 84px;
  font-weight: 800;
  color: #23262b
}

.cf-date {
  top: 2785px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 46px;
  font-weight: 500;
  color: #444
}

/* ===== AI AUTOMATION FEATURES SECTION ===== */
.ai-automation-section {
  padding: 80px 0;
  background: #F6FAFC;
}

.ai-card {
  background: #FBFCFD;
  border-radius: 28px;
  padding: 48px;
  border: 1px solid #DDEBF3;
  box-shadow: 0 4px 24px rgba(var(--brand-charcoal-rgb), 0.04);
  margin-bottom: 48px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-card:last-child {
  margin-bottom: 0;
}

.ai-card:hover {
  box-shadow: 0 10px 32px rgba(var(--brand-charcoal-rgb), 0.08);
}

.ai-card-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ai-card-info {
  display: flex;
  flex-direction: column;
}

.ai-kicker {
  color: #B94A1D;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

.ai-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.ai-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
  word-break: keep-all;
}

.ai-card-graphic {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #DDEBF3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ai-diagram-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

.ai-card-bottom {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #DDEBF3;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: center;
}

.ai-sub-info {
  display: flex;
  flex-direction: column;
}

.ai-sub-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.ai-sub-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
  word-break: keep-all;
}

.ai-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ai-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ai-mini-card,
.ai-step-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid #E1E9ED;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ai-mini-card:hover,
.ai-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--brand-charcoal-rgb), 0.08);
  border-color: #BFDDEA;
}

.ai-mini-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.ai-mini-desc {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.45;
  word-break: keep-all;
}

.ai-step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-orange);
  font-family: 'JetBrains Mono', monospace;
  display: block;
  margin-bottom: 8px;
}

.ai-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.ai-step-desc {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.45;
  word-break: keep-all;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .ai-card {
    padding: 32px 24px;
    border-radius: 20px;
    margin-bottom: 32px;
  }

  .ai-card-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ai-title {
    font-size: 26px;
  }

  .ai-card-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
  }

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

@media (max-width: 640px) {
  .ai-automation-section {
    padding: 50px 0;
  }

  .ai-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .ai-title {
    font-size: 22px;
  }

  .ai-sub-title {
    font-size: 20px;
  }

  .ai-grid-4 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ai-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===== MICRO DONATION CAMPAIGN SECTION ===== */
.micro-donation-section {
  padding: 96px 0;
  background: #FFFFFF;
}

.micro-campaign-head {
  text-align: center;
  margin-bottom: 56px;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--brand-sky-light);
  color: #2D82B5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.kicker-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: inline-block;
}

.micro-campaign-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.micro-campaign-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto;
  word-break: keep-all;
}

.micro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.micro-hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 20px rgba(var(--brand-charcoal-rgb), 0.08);
}

.micro-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.micro-hero-overlay-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(36, 35, 36, 0.90) 100%);
  z-index: 2;
}

.micro-hero-content {
  position: relative;
  z-index: 3;
  padding: 36px 32px;
  color: #FFFFFF;
}

.micro-hero-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.micro-hero-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  word-break: keep-all;
}

.micro-steps-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.micro-step-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(var(--brand-charcoal-rgb), 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  flex: 1;
}

.micro-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--brand-orange-rgb), 0.12);
  border-color: #F2C5B1;
}

.micro-step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-orange) 0%, #F28B5C 100%);
  color: var(--on-orange);
  font-size: 16px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--brand-orange-rgb), 0.28);
}

.micro-step-card:nth-child(2) .micro-step-num {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-sky-hover) 100%);
  color: var(--on-sky);
  box-shadow: 0 4px 12px rgba(var(--brand-sky-rgb), 0.28);
}

.micro-step-info {
  display: flex;
  flex-direction: column;
}

.micro-step-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.micro-step-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
  word-break: keep-all;
}

.micro-cert-card {
  margin-top: 32px;
  background: var(--brand-sky-light);
  border: 1px solid #C9E4F2;
  border-radius: 22px;
  padding: 30px 36px;
}

.micro-cert-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.micro-cert-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 8px 0;
  word-break: keep-all;
}

.micro-cert-desc:last-child {
  margin-bottom: 0;
  color: var(--ink-3);
}

/* Responsive */
@media (max-width: 991px) {
  .micro-donation-section {
    padding: 64px 0;
  }

  .micro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .micro-hero-card {
    min-height: 360px;
  }

  .micro-campaign-title {
    font-size: 30px;
  }

  .micro-cert-card {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .micro-donation-section {
    padding: 48px 0;
  }

  .micro-campaign-title {
    font-size: 24px;
  }

  .micro-hero-card {
    min-height: 320px;
  }

  .micro-hero-content {
    padding: 24px 20px;
  }

  .micro-hero-title {
    font-size: 20px;
  }

  .micro-step-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .micro-step-title {
    font-size: 17px;
  }
}

/* ===== FIELD LOG SECTION ===== */
.fieldlog-section {
  padding: 80px 0;
  background: #f8fafc;
  position: relative;
}

.fieldlog-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

.fieldlog-left {
  position: sticky;
  top: 100px;
}

.fieldlog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #e0eafd;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.fieldlog-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2563eb;
}

.fieldlog-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 20px 0 16px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.fieldlog-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #64748b;
  font-weight: 400;
  margin: 0;
  word-break: keep-all;
}

/* Timeline & Steps */
.fieldlog-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.fieldlog-timeline::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 16px;
  bottom: 30px;
  width: 2px;
  background: #cbd5e1;
  z-index: 1;
}

.fieldlog-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.fieldlog-step-side {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-top: 4px;
}

.fieldlog-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px #f8fafc;
  flex-shrink: 0;
  margin-top: 5px;
  position: relative;
  left: -1px;
}

.fieldlog-step-info {
  display: flex;
  flex-direction: column;
}

.fieldlog-step-num {
  font-size: 14px;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.fieldlog-step-name {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-top: 4px;
  line-height: 1.3;
  word-break: keep-all;
}

/* Card */
.fieldlog-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fieldlog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.fieldlog-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 8px 0;
  word-break: keep-all;
}

.fieldlog-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 16px 0;
  word-break: keep-all;
}

/* Tag Pills */
.fieldlog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.fieldlog-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

/* Inner Box */
.fieldlog-inner-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  margin-top: 20px;
  border: 1px solid #f1f5f9;
}

.fieldlog-inner-img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.fieldlog-inner-info {
  display: flex;
  flex-direction: column;
}

.fieldlog-inner-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.fieldlog-inner-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
  word-break: keep-all;
}

/* Responsive */
@media (max-width: 991px) {
  .fieldlog-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fieldlog-left {
    position: static;
  }

  .fieldlog-title {
    font-size: 30px;
  }

  .fieldlog-item {
    grid-template-columns: 120px 1fr;
    gap: 16px;
  }

  .fieldlog-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .fieldlog-section {
    padding: 48px 0;
  }

  .fieldlog-title {
    font-size: 24px;
  }

  .fieldlog-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fieldlog-timeline::before {
    display: none;
  }

  .fieldlog-step-side {
    margin-bottom: 4px;
  }

  .fieldlog-card {
    padding: 20px 16px;
  }

  .fieldlog-card-title {
    font-size: 17px;
  }

  .fieldlog-inner-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .fieldlog-inner-img {
    width: 100%;
    height: 120px;
  }
}

/* Fieldlog Bullet List */
.fieldlog-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fieldlog-bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  word-break: keep-all;
}

.fieldlog-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #2563eb;
  font-size: 16px;
  font-weight: bold;
}

.fieldlog-bullet-list li strong {
  color: #0f172a;
  font-weight: 700;
}

/* Fieldlog Rules Section (참여팀 핵심 행동 수칙 3가지) */
.fieldlog-rules-section {
  margin-top: 64px;
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.fieldlog-rules-header {
  text-align: center;
  margin-bottom: 32px;
}

.fieldlog-rules-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.fieldlog-rules-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.fieldlog-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fieldlog-rule-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fieldlog-rule-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.fieldlog-rule-num {
  font-size: 32px;
  font-weight: 900;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}

.fieldlog-rule-heading {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 10px 0;
  word-break: keep-all;
}

.fieldlog-rule-text {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  word-break: keep-all;
}

@media (max-width: 991px) {
  .fieldlog-rules-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fieldlog-rules-section {
    padding: 28px 20px;
    margin-top: 48px;
  }

  .fieldlog-rules-title {
    font-size: 22px;
  }
}

/* ===== AGREEMENT SECTION (334 섹션) ===== */
.agreement-section {
  padding: 60px 0;
  background-color: #FAFAFA;
}

.agreement-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.04);
}

.agreement-info {
  flex: 1;
  max-width: 580px;
}

.agreement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #E0F2F1;
  color: #0F766E;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 24px;
}

.agreement-badge svg {
  flex-shrink: 0;
  color: #0F766E;
}

.agreement-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.agreement-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #64748B;
  margin: 0 0 36px 0;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.agreement-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1.5px solid #0D9488;
  border-radius: 9999px;
  color: #0D9488;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  transition: all 0.2s ease;
}

.agreement-btn:hover {
  background-color: #F0FDFA;
  color: #0F766E;
  border-color: #0F766E;
  transform: translateY(-1px);
}

/* Right Diagram Column */
.agreement-diagram {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.diagram-nodes-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
}

.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.node-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.node-circle:hover {
  transform: scale(1.04);
}

.circle-peach {
  background-color: #FDE8E4;
  color: #111827;
}

.circle-cyan {
  background-color: #E0F7FA;
  color: #111827;
}

.node-label {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-name {
  font-size: 18px;
  font-weight: 800;
  color: #1E293B;
}

.node-sub {
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
  margin-top: 3px;
  white-space: nowrap;
}

.diagram-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 36px;
}

/* Bottom Solution Card */
.diagram-solution-card {
  width: 100%;
  background-color: #111827;
  border-radius: 18px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(17, 24, 39, 0.25);
}

.solution-heart-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-heart-icon svg {
  fill: #000000;
  stroke: #000000;
}

.solution-text {
  display: flex;
  flex-direction: column;
}

.solution-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.solution-sub {
  font-size: 13px;
  font-weight: 400;
  color: #94A3B8;
  margin-top: 3px;
  white-space: nowrap;
}

/* Responsive styles */
@media (max-width: 992px) {
  .agreement-card {
    flex-direction: column;
    padding: 40px 28px;
    gap: 40px;
  }

  .agreement-info,
  .agreement-diagram {
    max-width: 100%;
    width: 100%;
  }

  .agreement-title {
    font-size: 26px;
  }

  .desktop-only {
    display: none;
  }
}

@media (max-width: 576px) {
  .diagram-nodes-row {
    gap: 12px;
  }

  .node-circle {
    width: 96px;
    height: 96px;
  }

  .node-circle svg {
    width: 30px;
    height: 30px;
  }

  .diagram-arrow svg {
    width: 36px;
  }

  .node-name {
    font-size: 15px;
  }

  .node-sub {
    font-size: 11.5px;
  }

  .diagram-solution-card {
    padding: 16px 20px;
    gap: 12px;
  }

  .solution-title {
    font-size: 17px;
  }

  .solution-sub {
    font-size: 11.5px;
    white-space: normal;
  }
}

/* ===== ONFRIENDS SUPPORT SECTION ===== */
.onfriends-support-section {
  padding: 70px 0;
  background-color: #f7f9fa;
}

.onfriends-support-title {
  font-size: 32px;
  font-weight: 800;
  color: #e52521;
  margin: 0 0 36px 0;
  letter-spacing: -0.02em;
}

.onfriends-support-title .u-wavy {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #e52521;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 6px;
}

.onfriends-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.onfriends-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.onfriends-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.onfriends-card-highlight {
  background: #fff5ee;
  border: 1.5px solid #ff7a59;
}

.onfriends-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.onfriends-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #d8f3ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0f172a;
}

.onfriends-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.01em;
}

.onfriends-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  word-break: keep-all;
}

.onfriends-support-banner {
  margin-top: 24px;
  background-color: #102a43;
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.onfriends-banner-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.onfriends-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff5722;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.onfriends-banner-btn:hover {
  background-color: #f44336;
  transform: translateY(-1px);
}

.onfriends-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 50%;
}

@media (max-width: 991px) {
  .onfriends-support-grid {
    grid-template-columns: 1fr;
  }

  .onfriends-support-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .onfriends-banner-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .onfriends-support-section {
    padding: 48px 0;
  }

  .onfriends-support-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .onfriends-card {
    padding: 20px 22px;
  }

  .onfriends-card-title {
    font-size: 18px;
  }

  .onfriends-card-desc {
    font-size: 13.5px;
  }

  .onfriends-banner-text {
    font-size: 13.5px;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.faq-head {
  text-align: center;
  margin-bottom: 44px;
}

.faq-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #e6f7f0;
  color: #10b981;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.faq-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

.faq-title {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.faq-lead {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-q-text {
  flex: 1;
  padding-right: 20px;
}

.faq-q-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.faq-q-sub {
  font-size: 14.5px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.faq-toggle-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: #10b981;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-toggle-icon::before {
  width: 16px;
  height: 3px;
}

.faq-toggle-icon::after {
  width: 3px;
  height: 16px;
}

.faq-item.open .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
  padding-top: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  word-break: keep-all;
}

@media (max-width: 640px) {
  .faq-section {
    padding: 56px 0;
  }

  .faq-title {
    font-size: 26px;
  }

  .faq-lead {
    font-size: 14.5px;
  }

  .faq-question {
    padding: 20px 20px;
  }

  .faq-q-title {
    font-size: 17px;
  }

  .faq-q-sub {
    font-size: 13.5px;
  }

  .faq-answer-inner {
    padding: 16px 20px 20px 20px;
    font-size: 14px;
  }
}

/* ===== GEF TRUST & OPERATING FOUNDATION SECTION ===== */
.gef-trust-section {
  padding: 80px 0;
  background-color: #f7f9fa;
}

.gef-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #e52521;
  margin: 0 0 36px 0;
  letter-spacing: -0.02em;
}

.gef-section-title .u-wavy {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #e52521;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 6px;
}

.gef-main-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: stretch;
}

.gef-hero-card {
  background-color: #102b45;
  border-radius: 22px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(16, 43, 69, 0.12);
}

.gef-logo-box {
  margin-bottom: 24px;
}

.gef-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.gef-hero-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 36px 0;
  word-break: keep-all;
}

.gef-hero-quote {
  font-size: 15.5px;
  font-weight: 700;
  color: #2dd4bf;
  margin: 0;
  letter-spacing: -0.01em;
}

.gef-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gef-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gef-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.gef-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.gef-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.gef-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  word-break: keep-all;
}

@media (max-width: 991px) {
  .gef-main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gef-trust-section {
    padding: 56px 0;
  }

  .gef-section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .gef-hero-card {
    padding: 32px 24px;
  }

  .gef-hero-title {
    font-size: 22px;
  }

  .gef-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 64px 0 40px 0;
  font-size: 14px;
}

.footer-top-brand {
  margin-bottom: 28px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.footer-heart-icon {
  color: #ffffff;
  fill: currentColor;
}

.footer-sub-lead {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
}

.footer-divider {
  border: none;
  border-top: 1px solid #1e293b;
  margin: 28px 0 36px 0;
}

.footer-body-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.footer-col-kicker {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.footer-col-kicker.kicker-blue {
  color: #38bdf8;
}

.footer-col-kicker.kicker-orange {
  color: #ff5722;
}

.footer-col-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.footer-info-list p {
  margin: 0 0 6px 0;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-info-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-info-list a:hover {
  color: #ffffff;
}

.footer-notice-bar {
  background-color: #1e2430;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 32px;
}

.footer-notice-icon {
  color: #ffffff;
  flex-shrink: 0;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 768px) {
  .footer-body-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-notice-bar {
    align-items: flex-start;
    padding: 14px 18px;
    font-size: 13px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* === APPLY MODAL 2-STEP STYLES === */
.modal-sheet.apply {
  max-width: 540px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

.apply-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--ink-2, #475569);
  font-weight: 600;
}

.badge-navy {
  background: var(--navy-light, #EEF2FF);
  color: var(--navy, #1E3A8A);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-gray {
  background: #F1F5F9;
  color: #64748B;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.form-field-group {
  margin-bottom: 18px;
}

.form-field-group .form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink, #1E293B);
  margin-bottom: 8px;
}

.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-upload-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.photo-item-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}

.photo-preview-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px dashed #CBD5E1;
  border-radius: 10px;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
}

.photo-preview-box:hover {
  border-color: #0064FF;
  background: #EFF6FF;
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.photo-preview-box .pv-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.photo-preview-box .pv-text {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.photo-file-input {
  display: none;
}

.keyword-inputs,
.stats-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.keyword-inputs.inline-keywords,
.stats-inputs.inline-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.keyword-inputs.inline-keywords input,
.stats-inputs.inline-stats input {
  padding: 8px 10px;
  font-size: 12.5px;
}

.apply-divider {
  border: 0;
  border-top: 1px dashed #E2E8F0;
  margin: 22px 0;
}

.pledge-container {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 20px;
  max-height: 280px;
  overflow-y: auto;
}

.pledge-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-top: 0;
  margin-bottom: 12px;
  text-align: center;
}

.pledge-intro {
  margin-bottom: 16px;
  font-weight: 500;
  color: #1E293B;
  background: #F1F5F9;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.55;
}

.pledge-article {
  margin-bottom: 14px;
}

.pledge-article strong {
  display: block;
  font-size: 13.5px;
  color: #0F172A;
  margin-bottom: 4px;
}

.pledge-article p {
  margin: 0 0 6px 0;
  color: #334155;
  line-height: 1.55;
}

.pledge-sublist {
  margin: 4px 0 8px 18px;
  padding: 0;
  color: #334155;
}

.pledge-sublist li {
  margin-bottom: 4px;
}

.pledge-note {
  font-size: 12px;
  color: #64748B;
  display: inline-block;
  margin-top: 2px;
}

.pledge-closing {
  margin-top: 16px;
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid #E2E8F0;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.6;
}

.pledge-list {
  margin: 12px 0 0 0;
  padding-left: 20px;
}

.pledge-list li {
  margin-bottom: 10px;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #64748B;
  margin-top: 5px;
}

/* ==========================================================================
   MOBILE TYPOGRAPHY ADJUSTMENTS (index.php 모바일 글자 크기 최적화)
   ========================================================================== */
@media (max-width: 640px) {

  /* Hero Section */
  .hero h1 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
  }

  .hero-content h1 span.line {
    white-space: normal !important;
  }

  .hero-sub {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 24px;
  }

  .eyebrow {
    font-size: 11.5px !important;
    padding: 4px 10px;
  }

  .sched-date {
    font-size: 14px !important;
  }

  .sched-label {
    font-size: 10px !important;
  }

  /* Common Section Headings */
  h2.section-title,
  .section-title {
    font-size: 22px !important;
    line-height: 1.32 !important;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }

  .section-lead,
  .section-head p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Overview & Agreement Section */
  .agreement-title {
    font-size: 21px !important;
    line-height: 1.35 !important;
    margin-bottom: 14px;
  }

  .agreement-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px;
  }

  /* Micro Campaign Section */
  .micro-campaign-title {
    font-size: 22px !important;
    margin-bottom: 10px;
  }

  .micro-campaign-lead {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .micro-hero-title {
    font-size: 17.5px !important;
    line-height: 1.4 !important;
  }

  .micro-hero-desc {
    font-size: 13px !important;
  }

  .micro-step-title {
    font-size: 15.5px !important;
  }

  .micro-step-desc {
    font-size: 13px !important;
  }

  .micro-cert-title {
    font-size: 15.5px !important;
  }

  .micro-cert-desc {
    font-size: 13px !important;
  }

  /* Onfriends Support Section */
  .onfriends-support-title {
    font-size: 22px !important;
    margin-bottom: 18px;
  }

  .onfriends-card-title {
    font-size: 16.5px !important;
  }

  .onfriends-card-desc {
    font-size: 13px !important;
  }

  .onfriends-banner-text {
    font-size: 13.5px !important;
  }

  /* Fieldlog Section */
  .fieldlog-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin: 12px 0 10px;
  }

  .fieldlog-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  .fieldlog-card-title {
    font-size: 16px !important;
  }

  .fieldlog-rules-title {
    font-size: 19px !important;
  }

  .fieldlog-rule-heading {
    font-size: 15px !important;
  }

  .fieldlog-rule-text {
    font-size: 13px !important;
  }

  /* AI Automation Section */
  .ai-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .ai-sub-title {
    font-size: 17px !important;
  }

  /* GEF Section */
  .gef-section-title {
    font-size: 22px !important;
    margin-bottom: 18px;
  }

  .gef-hero-title {
    font-size: 19.5px !important;
  }

  .gef-hero-desc {
    font-size: 13.5px !important;
  }

  .gef-card-title {
    font-size: 16.5px !important;
  }

  .gef-card-desc {
    font-size: 13px !important;
  }

  /* FAQ Section */
  .faq-title {
    font-size: 22px !important;
  }

  .faq-lead {
    font-size: 13.5px !important;
  }

  .faq-q-title {
    font-size: 15.5px !important;
  }

  .faq-q-sub {
    font-size: 13px !important;
  }

  .faq-answer-inner {
    font-size: 13.5px !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 23px !important;
    line-height: 1.25 !important;
  }

  h2.section-title,
  .section-title {
    font-size: 20px !important;
  }

  .agreement-title {
    font-size: 19.5px !important;
  }
}

/* ===== MARKETING & NEWS SECTION ===== */
.marketing-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  margin-top: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .marketing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.marketing-news-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Main Featured News Card */
.news-main-card {
  display: block;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-main-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
  border-color: #D1D5DB;
}

.news-main-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F3F4F6;
}

.news-main-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-main-card:hover .news-main-thumb img {
  transform: scale(1.03);
}

.news-main-body {
  padding: 22px 24px;
}

.news-main-title {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.news-main-meta, .news-sub-meta {
  font-size: 13.5px;
  color: #6B7280;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-dot {
  color: #9CA3AF;
}

/* Sub News List */
.news-sub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-sub-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-sub-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.06);
  border-color: #D1D5DB;
}

.news-sub-thumb {
  width: 108px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #F3F4F6;
}

.news-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-sub-body {
  flex: 1;
  min-width: 0;
}

.news-sub-title {
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.4;
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Side Column Cards */
.marketing-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.marketing-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.marketing-box-title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

/* Blog List */
.blog-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.blog-item {
  border-bottom: 1px solid #F3F4F6;
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-item a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
}

.blog-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.45;
  margin-bottom: 4px;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.blog-item a:hover .blog-item-title {
  color: #2563EB;
}

.blog-item-date {
  font-size: 13px;
  color: #9CA3AF;
}

.side-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #4B5563;
  text-decoration: none;
  transition: color 0.2s ease;
  padding-top: 4px;
}

.side-card-more:hover {
  color: #111827;
}

.side-card-more svg {
  transition: transform 0.2s ease;
}

.side-card-more:hover svg {
  transform: translateX(3px);
}

/* Instagram Grid */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.insta-item {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #F3F4F6;
  position: relative;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insta-item:hover img {
  transform: scale(1.06);
}

/* Skeleton Loaders */
.news-main-skeleton {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #f1f5f9;
  animation: pulseSkeleton 1.5s infinite ease-in-out;
}

.news-sub-skeleton {
  height: 84px;
  border-radius: 14px;
  background: #f1f5f9;
  animation: pulseSkeleton 1.5s infinite ease-in-out;
}

@keyframes pulseSkeleton {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 640px) {
  .marketing-grid {
    gap: 24px;
    margin-top: 20px;
  }

  .marketing-news-col {
    gap: 12px;
  }

  .news-main-card {
    border-radius: 14px;
  }

  .news-main-body {
    padding: 16px 14px;
  }

  .news-main-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .news-main-meta {
    font-size: 12px;
  }

  .news-sub-list {
    gap: 10px;
  }

  .news-sub-card {
    padding: 12px 10px;
    gap: 12px;
    border-radius: 12px;
  }

  .news-sub-thumb {
    width: 84px;
    height: 58px;
    border-radius: 8px;
  }

  .news-sub-title {
    font-size: 13.5px;
    line-height: 1.35;
    margin-bottom: 4px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .news-sub-meta {
    font-size: 11.5px;
  }

  .marketing-side-col {
    gap: 16px;
  }

  .marketing-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .marketing-box-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .blog-list {
    margin-bottom: 12px;
  }

  .blog-item a {
    padding: 10px 0;
  }

  .blog-item-title {
    font-size: 13.5px;
    line-height: 1.4;
    margin-bottom: 3px;
  }

  .blog-item-snippet {
    font-size: 12px;
    margin: 2px 0 4px;
  }

  .blog-item-date {
    font-size: 11.5px;
  }

  .insta-grid {
    gap: 8px;
    margin-bottom: 14px;
  }

  .insta-item {
    border-radius: 8px;
  }

  .side-card-more {
    font-size: 13px;
  }
}

/* ===== NEWS PAGE SPECIFIC STYLES ===== */
.news-page-main {
  padding-top: 110px;
  padding-bottom: 80px;
  background: #ffffff;
}

.news-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
}

@media (max-width: 768px) {
  .news-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .news-page-search-group {
    width: 100%;
    align-items: flex-start !important;
  }
  .news-search-form {
    width: 100%;
  }
  .news-search-input {
    flex: 1;
  }
}

.news-page-title {
  font-size: 30px;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}

.news-page-subtitle {
  font-size: 14.5px;
  color: #64748B;
  margin: 0;
  letter-spacing: -0.01em;
}

.news-page-search-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.news-total-count {
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
}

.news-total-count strong {
  color: #0F172A;
  font-weight: 700;
}

.news-search-form {
  display: flex;
  gap: 8px;
}

.news-search-input {
  width: 280px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  color: #1E293B;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-search-input:focus {
  border-color: #0F172A;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.news-search-btn {
  height: 42px;
  padding: 0 20px;
  background: #0F172A;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.news-search-btn:hover {
  background: #1E293B;
}

/* News Page Grid */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .news-page-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured Card in News Page */
.news-page-featured-card {
  display: block;
  text-decoration: none;
  margin-bottom: 32px;
  transition: transform 0.2s ease;
}

.news-page-featured-card:hover {
  transform: translateY(-2px);
}

.news-page-featured-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #F1F5F9;
}

.news-page-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-page-featured-title {
  font-size: 22px;
  font-weight: 800;
  color: #059669;
  line-height: 1.4;
  margin: 16px 0 8px;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.news-page-featured-card:hover .news-page-featured-title {
  color: #047857;
}

.news-page-featured-meta {
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* News Table Section */
.news-table-section {
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
}

.news-table-heading {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.news-table-header {
  display: flex;
  align-items: center;
  border-top: 2px solid #0F172A;
  border-bottom: 1px solid #E2E8F0;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.news-table-header .col-article {
  flex: 1;
}

.news-table-header .col-publisher {
  width: 130px;
  text-align: center;
}

.news-table-header .col-date {
  width: 110px;
  text-align: right;
}

.news-table-row {
  display: flex;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid #F1F5F9;
  text-decoration: none;
  transition: background 0.15s ease;
}

.news-table-row:hover {
  background: #F8FAFC;
}

.news-table-row .col-article {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding-right: 12px;
}

.news-row-thumb {
  width: 90px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #F1F5F9;
}

.news-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-row-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.news-table-row:hover .news-row-title {
  color: #2563EB;
}

.news-table-row .col-publisher {
  width: 130px;
  text-align: center;
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
  flex-shrink: 0;
}

.news-table-row .col-date {
  width: 110px;
  text-align: right;
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
  flex-shrink: 0;
}

.blog-item-snippet {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.4;
  margin: 3px 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-row-submeta {
  display: none;
}

@media (max-width: 768px) {
  .news-page-main {
    padding-top: 85px;
    padding-bottom: 40px;
  }

  .news-page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .news-page-title {
    font-size: 24px;
  }

  .news-page-subtitle {
    font-size: 13.5px;
  }

  .news-page-search-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .news-search-form {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .news-search-input {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    padding: 0 12px;
  }

  .news-search-btn {
    padding: 0 16px;
    font-size: 14px;
  }

  .news-tab-bar {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: 18px;
    gap: 8px;
  }

  .news-tab-btn {
    padding: 7px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .news-table-header {
    display: none;
  }

  .news-table-row {
    padding: 12px 0;
    align-items: flex-start;
  }

  .news-table-row .col-publisher,
  .news-table-row .col-date {
    display: none;
  }

  .news-table-row .col-article {
    width: 100%;
    padding-right: 0;
    gap: 12px;
  }

  .news-row-thumb {
    width: 80px;
    height: 56px;
  }

  .news-row-title {
    font-size: 14px;
  }

  .news-row-submeta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748B;
    margin-top: 4px;
  }

  .blog-grid-full {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .insta-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ===== NEWS DETAIL / SINGLE PAGE STYLES ===== */
.news-single-main {
  padding-top: 110px;
  padding-bottom: 90px;
  background: #ffffff;
}

.wrap-narrow {
  max-width: 860px;
  margin: 0 auto;
}

.news-single-back {
  margin-bottom: 24px;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-back-link:hover {
  color: #0F172A;
}

.news-single-article {
  background: #ffffff;
}

.article-header {
  margin-bottom: 24px;
}

.article-publisher-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 28px;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.4;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.article-meta {
  font-size: 14px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-source-link {
  color: #2563EB;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.meta-source-link:hover {
  text-decoration: underline;
}

.article-featured-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #F1F5F9;
}

.article-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.article-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 48px;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}

.article-body blockquote {
  border-left: 4px solid #3B82F6;
  padding-left: 16px;
  margin: 20px 0;
  color: #475569;
  font-style: italic;
}

.article-footer {
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
}

.article-footer-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-ghost-dark:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: #0F172A;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-navy:hover {
  background: #1E293B;
}

.news-single-notfound {
  padding: 60px 20px;
  text-align: center;
}