:root {
  --ink: #241b22;
  --muted: #746a72;
  --paper: #fffaf8;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(64, 35, 52, 0.11);
  --pink: #e96591;
  --pink-deep: #ce3f70;
  --rose: #f7c2cf;
  --peach: #f6b58f;
  --lavender: #c7b7ec;
  --green: #3f9a78;
  --yellow: #efb94f;
  --shadow: 0 22px 60px rgba(120, 64, 90, 0.13);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(246,181,143,.35), transparent 26rem),
    radial-gradient(circle at 92% 8%, rgba(199,183,236,.34), transparent 24rem),
    linear-gradient(180deg, #fff9f7 0%, #fff 52%, #fff9fb 100%);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .36;
}

.ambient::before { background: #f7bdca; right: -170px; top: 35%; }
.ambient::after { background: #d7cef1; left: -190px; bottom: -90px; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: white;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--peach), var(--pink) 52%, #ad79d5);
  box-shadow: 0 9px 22px rgba(218, 81, 126, .25);
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-actions { display: flex; gap: 10px; align-items: center; }
.save-state { color: var(--muted); font-size: 12px; font-weight: 720; }
.save-state::before { content: "●"; margin-right: 6px; color: var(--green); font-size: 8px; }

.pill, .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.status.approved { color: #25785a; background: #e9f8f1; border-color: #ccebdc; }
.status.pending { color: #956716; background: #fff6dc; border-color: #f6e5aa; }
.status.revision { color: #b23e63; background: #fff0f4; border-color: #f5cada; }
.status.paused { color: #6e6171; background: #f2eef2; }

.hero { padding: 44px 0 28px; }
.intro-hero { min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px 0 110px; }
.hero-cta { display: inline-flex; align-items: center; gap: 18px; margin-top: 14px; }
.eyebrow {
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(38px, 7vw, 70px); letter-spacing: -.07em; line-height: .98; }
h2 { margin-bottom: 12px; font-size: clamp(25px, 3vw, 38px); letter-spacing: -.045em; }
h3 { margin-bottom: 8px; letter-spacing: -.025em; }
p { color: var(--muted); line-height: 1.7; }
.lead { font-size: 18px; max-width: 620px; }
.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #d94b78, #d87698 40%, #9071c5);
  -webkit-background-clip: text;
  background-clip: text;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel { padding: 28px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.btn {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 820;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.primary { color: white; background: linear-gradient(135deg, var(--pink), var(--pink-deep)); box-shadow: 0 10px 24px rgba(206,63,112,.24); }
.btn.secondary { color: var(--pink-deep); background: #fff0f4; }
.btn.ghost { color: var(--ink); background: white; border: 1px solid var(--line); }
.btn.dark { color: white; background: var(--ink); }
.btn.success { color: white; background: var(--green); }
.btn.small { padding: 9px 12px; border-radius: 11px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .42; cursor: not-allowed; transform: none; }

.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 800; }
.required { color: var(--pink-deep); }
.form-card .required { display: none; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.control {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.control:focus { border-color: #e888a8; box-shadow: 0 0 0 4px rgba(233,101,145,.11); }
.control.invalid { border-color: var(--pink-deep); box-shadow: 0 0 0 4px rgba(233,101,145,.1); }
.field-error { color: var(--pink-deep); font-size: 12px; font-weight: 700; }
textarea.control { resize: vertical; min-height: 120px; line-height: 1.6; }

.choice-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.choice input:checked + span { color: var(--pink-deep); border-color: #ec9bb7; background: #fff0f5; }

.progress-wrap { display: grid; gap: 9px; margin: 10px 0 25px; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 720; }
.progress { height: 7px; background: #f1e8ec; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; width: 20%; border-radius: inherit; background: linear-gradient(90deg, var(--peach), var(--pink), #a983d2); transition: width .3s ease; }

.form-card { margin-bottom: 60px; overflow: hidden; }
.form-card[hidden] { display: none; }
.application-mode .intro-hero,
.application-mode .story-card,
.application-mode .compact-intro { display: none; }
.application-mode main { padding-top: 42px; }
.paged-form { min-height: calc(100vh - 118px); }
.paged-form .form-body { display: flex; min-height: calc(100vh - 190px); flex-direction: column; }
.paged-form .form-step.active { display: flex; flex: 1; flex-direction: column; }
.paged-form .question-list { flex: 1; }
.paged-form .question-page { display: none; animation: rise .28s ease; }
.paged-form .question-page.active { display: grid; align-content: start; }
.paged-form .question-list > .question-page { padding-top: 10px; border-bottom: 0; }
.paged-form .form-actions { margin-top: auto; padding-top: 32px; }
.compact-intro { margin: 28px 0 50px; overflow: hidden; }
.compact-hero { padding: 42px 44px 26px; }
.compact-hero .eyebrow { margin: 22px 0 9px; }
.compact-hero h1 { margin-bottom: 14px; font-size: clamp(42px, 7vw, 64px); }
.compact-hero > p { margin: 0; }
.compact-story { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 34px; padding: 28px 44px; border-top: 1px solid var(--line); background: #fff9fa; }
.compact-story p { margin: 0; font-size: 14px; }
.compact-story strong { color: var(--pink-deep); }
.compact-quotes { grid-row: span 2; display: grid; align-content: center; gap: 8px; }
.compact-quotes span { width: fit-content; padding: 9px 13px; border-radius: 12px; background: white; border: 1px solid var(--line); font-size: 13px; font-weight: 800; box-shadow: 0 5px 15px rgba(90,50,70,.05); }
.compact-quotes span:nth-child(2) { margin-left: 24px; }
.appearance-policy { display: flex; align-items: center; gap: 18px; padding: 17px 44px; border-top: 1px solid #f3d8df; background: #fff0f4; }
.appearance-policy > span { flex: 0 0 auto; color: var(--pink-deep); font-size: 13px; font-weight: 900; }
.appearance-policy p { margin: 0; color: #6f5660; font-size: 12px; line-height: 1.55; }
.compact-steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.compact-steps li { display: flex; gap: 11px; align-items: center; padding: 20px; background: white; }
.compact-steps b { color: var(--pink-deep); font-size: 12px; }
.compact-steps strong, .compact-steps small { display: block; }
.compact-steps strong { font-size: 13px; }
.compact-steps small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.compact-finale { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 27px 44px; color: white; background: linear-gradient(135deg, #e96591, #ce3f70 58%, #9f76cc); }
.compact-finale p { margin: 0 0 2px; color: rgba(255,255,255,.8); font-size: 12px; }
.compact-finale h2 { margin: 0; }
.compact-finale .btn { color: var(--pink-deep); background: white; white-space: nowrap; }
.compact-instagram { display: block; padding: 11px; text-align: center; color: var(--muted); background: white; font-size: 11px; font-weight: 750; }
.story-card { margin-bottom: 34px; overflow: hidden; }
.story-opening { padding: 54px 54px 30px; }
.story-opening h2 { margin-top: 18px; font-size: clamp(32px, 5vw, 48px); }
.story-opening > p { max-width: 540px; margin-bottom: 0; font-size: 17px; }
.story-badge { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #fff0f4; color: var(--pink-deep); font-size: 12px; font-weight: 850; }
.quote-stack { display: grid; gap: 10px; padding: 0 54px 44px; }
.quote-stack blockquote { display: flex; align-items: center; gap: 15px; width: fit-content; max-width: 88%; margin: 0; padding: 15px 19px; border: 1px solid var(--line); border-radius: 18px 18px 18px 5px; background: white; box-shadow: 0 8px 24px rgba(92,54,72,.07); }
.quote-stack blockquote:nth-child(2) { margin-left: auto; border-radius: 18px 18px 5px 18px; background: #fff5f8; }
.quote-stack blockquote span { font-size: 25px; }
.quote-stack blockquote p { margin: 0; color: var(--ink); font-weight: 750; line-height: 1.55; }
.story-copy { padding: 42px 54px; background: #fff9fa; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-copy p { font-size: 16px; }
.friend-answer { display: flex; align-items: center; gap: 14px; margin: 24px 0; padding: 20px; border-radius: 17px; background: var(--ink); color: white; line-height: 1.55; }
.friend-answer span { font-size: 28px; }
.philosophy { padding: 64px 54px; background: linear-gradient(145deg, #fff3f6, #f7f2ff); text-align: center; }
.philosophy h2 { margin-top: 13px; font-size: clamp(33px, 6vw, 50px); }
.philosophy p { max-width: 570px; margin: 0 auto; font-size: 17px; }
.philosophy strong { color: var(--pink-deep); }
.how-it-works { padding: 54px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin-top: 10px; }
.wave-steps { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.wave-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--peach), var(--pink)); font-size: 12px; font-weight: 900; }
.wave-steps strong { display: block; margin: 2px 0 6px; font-size: 17px; }
.wave-steps p { margin: 0; font-size: 14px; }
.story-note { display: flex; gap: 18px; align-items: flex-start; margin: 0 54px 50px; padding: 22px; border-radius: 20px; background: #fff7ed; border: 1px solid #f7dfc8; }
.story-note span { font-size: 27px; }
.story-note p { margin: 0; color: #75594d; }
.instagram-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 54px; border-top: 1px solid var(--line); }
.instagram-row strong { display: block; margin-top: 7px; }
.story-finale { padding: 58px 30px; text-align: center; color: white; background: linear-gradient(135deg, #e96591, #ce3f70 58%, #9f76cc); }
.story-finale p { margin-bottom: 4px; color: rgba(255,255,255,.82); }
.story-finale h2 { margin-bottom: 24px; font-size: 39px; }
.story-finale .btn { display: inline-flex; gap: 16px; color: var(--pink-deep); background: white; box-shadow: 0 12px 30px rgba(83,25,52,.2); }
.form-head { padding: 28px 30px 4px; }
.form-body { padding: 20px 30px 30px; }
.form-step { display: none; animation: rise .28s ease; }
.form-step.active { display: block; }
.section-description { margin-bottom: 34px; }
.question-list { display: grid; gap: 28px; }
.question-list > .field, .question-list > .grid { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.question-list > :last-child { border-bottom: 0; }
.vertical-choices { align-items: stretch; }
.vertical-choices .choice span { min-height: 42px; }
.input-unit { position: relative; }
.input-unit .control { padding-right: 50px; }
.input-unit > span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; font-weight: 750; }
.highlight-field { padding: 22px !important; border: 1px solid #f1d5df !important; border-radius: 18px; background: #fff5f8; }
.consent-block { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fffdfd; }
.consent-block h3 { margin: 8px 0; font-size: 20px; }
.consent-block > p { font-size: 13px; }
.consent-block details { margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; background: white; }
.consent-block summary { padding: 15px; cursor: pointer; color: var(--pink-deep); font-size: 13px; font-weight: 800; }
.policy-copy { max-height: 310px; overflow-y: auto; padding: 0 18px 18px; border-top: 1px solid var(--line); }
.policy-copy h4 { margin: 20px 0 6px; font-size: 14px; }
.policy-copy p { margin-bottom: 8px; font-size: 12px; }
.promise-field { padding: 22px !important; border: 1px solid #d9cfea !important; border-radius: 18px; background: #faf7ff; }
.preference-group { display: grid; gap: 22px; }
.priority-field, .reject-field { padding: 20px; border-radius: 18px; }
.priority-field { border: 1px solid #f0cf9d; background: #fff9ec; }
.reject-field { border: 1px solid #efc4d1; background: #fff3f6; }
.priority-field label::before { content: "✓ "; color: #d28a1f; }
.reject-field label::before { content: "× "; color: var(--pink-deep); font-size: 17px; }
.photo-notice { margin: 18px 0 0; }
.approval-notice { margin: 18px 0 0; color: #6f3d4f; background: linear-gradient(115deg, #fff0f4, #f9efff); border-color: #efcad8; }
.privacy-notice { margin: 10px 0 0; }
.photo-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.photo-item { overflow: hidden; position: relative; border: 2px solid transparent; border-radius: 17px; background: white; box-shadow: 0 8px 22px rgba(82,45,64,.09); cursor: pointer; transition: border-color .18s, transform .18s; }
.photo-item:hover { transform: translateY(-2px); }
.photo-item.selected { border-color: var(--pink); }
.photo-item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.representative-check { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px 6px; color: var(--muted); font-size: 11px; }
.photo-item.selected .representative-check { color: var(--pink-deep); background: #fff3f7; }
.final-profile-layout { display: grid; gap: 34px; }
.verification-panel { padding-top: 4px; }
.inline-control { display: flex; gap: 8px; }
.inline-control .btn { flex: 0 0 auto; }
.verification-box { margin-top: 18px; }
.simple-check { display: flex; gap: 9px; margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.profile-card-preview { min-width: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.preview-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.preview-head h3 { margin: 6px 0 0; }
.preview-toggle { display: flex; padding: 4px; border-radius: 12px; background: #f2edf0; }
.preview-toggle button { padding: 8px 11px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.preview-toggle button.active { color: var(--pink-deep); background: white; box-shadow: 0 3px 10px rgba(60,30,45,.08); }
.hw-profile-card { --profile-accent: #ff888b; display: none; padding: 26px; border: 2px solid var(--profile-accent); background: white; color: #222; }
.hw-profile-card.active { display: block; animation: rise .25s ease; }
.hw-profile-card.male { --profile-accent: #7f94ff; }
.hw-profile-card.female { --profile-accent: #ff888b; }
.profile-quote { max-width: 72%; margin: 0 0 22px; color: var(--profile-accent); font-size: 17px; font-weight: 850; line-height: 1.45; }
.profile-top { display: grid; grid-template-columns: minmax(0,1fr) 190px; gap: 24px; align-items: start; }
.profile-top h2 { margin-bottom: 20px; color: #080808; font-size: 32px; letter-spacing: -.04em; }
.profile-top h2 small { color: #cfcfcf; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.profile-facts { display: grid; grid-template-columns: 72px 1fr 72px 1fr; gap: 12px 8px; align-items: baseline; }
.profile-facts span, .profile-details span { color: var(--profile-accent); font-size: 13px; font-weight: 850; }
.profile-facts b, .profile-details b { overflow-wrap: anywhere; font-size: 13px; line-height: 1.45; }
.profile-face { overflow: hidden; display: grid; place-items: center; position: relative; height: 245px; border: 3px solid var(--profile-accent); border-radius: 50% / 36%; background: #fff; }
.private-face { background: color-mix(in srgb, var(--profile-accent) 8%, white); }
.private-face .gender-avatar { font-size: 88px; filter: grayscale(.25); }
.private-face small { position: absolute; bottom: 22px; color: var(--profile-accent); font-size: 10px; font-weight: 800; }
.public-face img { width: 100%; height: 100%; object-fit: cover; }
.public-placeholder { padding: 20px; color: var(--profile-accent); text-align: center; font-size: 11px; font-weight: 800; }
.profile-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--profile-accent); }
.profile-details div { display: grid; gap: 7px; }
.profile-details .wide { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.upload {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 24px;
  text-align: center;
  border: 1.5px dashed #e7a1b9;
  border-radius: 20px;
  background: linear-gradient(150deg, #fff5f7, #fff);
  cursor: pointer;
  overflow: hidden;
}
.upload input { display: none; }
.upload-icon { font-size: 36px; }
.upload-preview { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; }

.profile-preview {
  overflow: hidden;
  background: linear-gradient(155deg, #f8b89c, #eaa2c3 48%, #b8b0e4);
  color: white;
}
.profile-preview .photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: rgba(255,255,255,.2); }
.profile-preview .profile-copy { padding: 24px; }
.profile-preview p { color: rgba(255,255,255,.86); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.meta { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 750; }

.app-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 30px; padding-bottom: 70px; }
.sidebar { position: sticky; top: 20px; align-self: start; padding: 18px; }
.side-profile { padding: 8px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 17px; display: grid; place-items: center; color: white; font-weight: 900; background: linear-gradient(145deg, var(--peach), var(--pink)); }
.nav { display: grid; gap: 5px; }
.nav button, .nav a { border: 0; background: transparent; padding: 12px 13px; border-radius: 12px; text-align: left; color: var(--muted); cursor: pointer; font-weight: 750; }
.nav .active, .nav button:hover, .nav a:hover { color: var(--pink-deep); background: #fff0f4; }
.nav .count { float: right; min-width: 22px; text-align: center; border-radius: 999px; background: var(--pink); color: white; font-size: 11px; padding: 3px 6px; }

.page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 20px 0 26px; }
.page-head p { margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
.stat { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.86); box-shadow: 0 10px 34px rgba(85,48,66,.07); }
.stat b { display: block; font-size: 27px; margin-top: 9px; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 720; }

.notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; margin-bottom: 22px; background: linear-gradient(115deg, #fff1f4, #f7f0ff); border: 1px solid #f2dce7; border-radius: 22px; }
.notice strong { display: block; margin-bottom: 5px; }
.notice p { margin: 0; font-size: 13px; }

.match-card { overflow: hidden; position: relative; }
.match-visual {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(145deg, #f3b398, #df91b5 48%, #aaa3dc);
}
.match-visual.alt { background: linear-gradient(145deg, #a5cbd0, #a7b4d8 48%, #c4a3d6); }
.match-visual.cool { background: linear-gradient(145deg, #d6c59c, #b6c9ad 50%, #9ebaca); }
.silhouette { font-size: 72px; filter: grayscale(1); opacity: .86; }
.lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(47,31,44,.14); backdrop-filter: blur(12px); color: white; text-align: center; }
.lock span { display: block; font-size: 30px; margin-bottom: 8px; }
.match-copy { padding: 20px; }
.match-copy p { font-size: 14px; }
.match-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: rise .25s ease; }

.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 28px 1fr; gap: 13px; }
.timeline-line { display: grid; justify-items: center; }
.timeline-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--pink); margin-top: 5px; }
.timeline-stroke { width: 1px; min-height: 46px; background: var(--line); }
.timeline-item:last-child .timeline-stroke { display: none; }
.timeline-copy { padding-bottom: 20px; }
.timeline-copy p { font-size: 13px; margin: 3px 0 0; }

.admin-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: 100vh; }
.admin-side { background: #261f25; color: white; padding: 24px 16px; }
.admin-side .brand { padding: 4px 8px 26px; }
.admin-side .nav button { color: rgba(255,255,255,.62); width: 100%; }
.admin-side .nav .active, .admin-side .nav button:hover { color: white; background: rgba(255,255,255,.1); }
.admin-main { padding: 28px 34px 70px; background: #f8f5f6; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }

.table-card { background: white; border: 1px solid #ece5e8; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 35px rgba(42,25,34,.05); }
.table-tools { display: flex; gap: 10px; justify-content: space-between; padding: 17px; border-bottom: 1px solid #eee8eb; }
.search { max-width: 280px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 17px; text-align: left; border-bottom: 1px solid #f0ebed; font-size: 13px; vertical-align: middle; }
th { color: var(--muted); background: #fdfbfc; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
.member { display: flex; align-items: center; gap: 10px; }
.member .avatar { width: 36px; height: 36px; border-radius: 12px; font-size: 12px; }
.score { font-weight: 850; color: var(--green); }

.admin-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 20px; }
.queue { display: grid; gap: 12px; }
.queue-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px; background: white; border: 1px solid #eee7ea; border-radius: 16px; }
.queue-item p { margin: 4px 0 0; font-size: 12px; }
.queue-actions { display: flex; gap: 7px; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; padding: 14px 17px; border-radius: 14px; background: #241c22; color: white; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .3s ease; font-weight: 720; font-size: 13px; }
.toast.show { transform: none; opacity: 1; }

.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; background: rgba(33,20,29,.48); backdrop-filter: blur(7px); }
.modal-backdrop.open { display: grid; }
.modal { width: min(470px, 100%); padding: 27px; background: white; border-radius: 25px; box-shadow: var(--shadow); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }

.mobile-nav { display: none; }

@media (max-width: 880px) {
  .grid.three { grid-template-columns: 1fr 1fr; }
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .admin-main { padding: 20px 18px 80px; }
  .admin-grid { grid-template-columns: 1fr; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4,1fr); position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; padding: 8px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(15px); box-shadow: 0 12px 32px rgba(62,35,49,.14); }
  .mobile-nav button, .mobile-nav a { border: 0; background: transparent; color: var(--muted); padding: 8px 4px; font-size: 11px; font-weight: 770; text-align: center; }
  .mobile-nav span { display: block; font-size: 19px; margin-bottom: 2px; }
  table { min-width: 720px; }
  .table-card { overflow-x: auto; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .narrow { width: min(100% - 24px, 760px); }
  .topbar { height: 64px; }
  .top-actions .pill { display: none; }
  .hero { padding: 30px 0 18px; }
  .intro-hero { min-height: calc(100vh - 64px); padding: 50px 0 80px; }
  h1 { font-size: 42px; }
  .lead { font-size: 16px; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .form-head { padding: 23px 20px 3px; }
  .form-body { padding: 16px 20px 23px; }
  .story-opening, .how-it-works { padding: 36px 23px; }
  .quote-stack { padding: 0 23px 32px; }
  .quote-stack blockquote { max-width: 100%; }
  .story-copy, .philosophy { padding: 38px 23px; }
  .story-note { margin: 0 23px 34px; }
  .instagram-row { align-items: stretch; flex-direction: column; padding: 27px 23px; }
  .instagram-row .btn { text-align: center; }
  .story-finale { padding: 46px 23px; }
  .compact-intro { margin-top: 14px; }
  .compact-hero { padding: 28px 23px 22px; }
  .compact-hero h1 { font-size: 38px; }
  .compact-story { grid-template-columns: 1fr; padding: 23px; }
  .appearance-policy { align-items: flex-start; flex-direction: column; gap: 7px; padding: 16px 23px; }
  .compact-quotes { grid-row: auto; }
  .compact-steps { grid-template-columns: 1fr; }
  .compact-steps li { padding: 13px 20px; }
  .compact-finale { align-items: stretch; flex-direction: column; padding: 24px 23px; }
  .inline-control { align-items: stretch; flex-direction: column; }
  .photo-list { gap: 7px; }
  .representative-check { font-size: 10px; }
  .preview-head { align-items: stretch; flex-direction: column; }
  .preview-toggle { width: 100%; }
  .preview-toggle button { flex: 1; }
  .hw-profile-card { padding: 18px; }
  .profile-quote { max-width: 100%; font-size: 15px; }
  .profile-top { grid-template-columns: 1fr; }
  .profile-face { width: 170px; height: 210px; margin: 0 auto; }
  .profile-facts { grid-template-columns: 64px 1fr; }
  .profile-details { grid-template-columns: 1fr; }
  .profile-details .wide { grid-column: auto; }
  .panel { padding: 21px; }
  .page-head { align-items: start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }
  .stat b { font-size: 22px; }
  .notice { align-items: flex-start; flex-direction: column; }
  .match-actions { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1; }
}
