:root {
  --primary: #1677ff;
  --primary-strong: #075de0;
  --primary-soft: #eaf4ff;
  --primary-pale: #f5f9ff;
  --navy: #17243c;
  --text: #24324b;
  --muted: #748198;
  --line: #dfe7f1;
  --line-strong: #cdd8e7;
  --surface: #ffffff;
  --background: #eef5fb;
  --danger: #ef4444;
  --success: #14b87a;
  --shadow: 0 18px 55px rgba(31, 72, 120, 0.12);
  --card-shadow: 0 8px 24px rgba(41, 75, 117, 0.07);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --sidebar-width: 292px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 4%, rgba(76, 174, 255, 0.16), transparent 26%),
    radial-gradient(circle at 92% 96%, rgba(22, 119, 255, 0.09), transparent 30%),
    var(--background);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
button, label, input[type="radio"], input[type="checkbox"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(22, 119, 255, 0.24); outline-offset: 2px; }
svg { display: block; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(1460px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(211, 224, 239, .86);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sidebar {
  position: relative;
  z-index: 2;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.sidebar-inner {
  position: sticky;
  top: 0;
  min-height: calc(100vh - 34px);
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand { display: inline-flex; width: fit-content; margin: 0 8px 4px; }
.brand img { width: 164px; height: auto; }

.event-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #1685ff 0%, #0758de 68%, #0047bd 100%);
  box-shadow: 0 14px 34px rgba(0, 95, 225, .23);
}
.event-card::before,
.event-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.event-card::before { width: 150px; height: 150px; right: -75px; top: -60px; }
.event-card::after { width: 95px; height: 95px; left: -30px; bottom: -45px; }
.event-copy { position: relative; z-index: 2; padding: 22px 18px; }
.event-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #d9ecff; }
.event-card h2 { margin: 0; font-size: 26px; line-height: 1.35; letter-spacing: -.035em; }
.event-card h2 strong { font-size: 36px; }
.event-card p:not(.event-kicker) { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.88); }
.event-card > img {
  position: absolute;
  z-index: 1;
  width: 175px;
  height: auto;
  right: -22px;
  bottom: -4px;
}
.event-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.event-link:hover { background: rgba(255,255,255,.16); }
.event-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.side-card {
  padding: 17px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(33, 67, 107, .04);
}
.side-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.side-card h2 { margin: 0; color: var(--navy); font-size: 16px; letter-spacing: -.02em; }
.side-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.text-button { padding: 2px; border: 0; color: #71809a; background: none; cursor: pointer; font-size: 13px; }
.text-button:hover { color: var(--primary); }
.point-balance { margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.point-balance strong { color: var(--navy); font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.point-balance > span:not(.coin-icon) { font-weight: 700; }
.point-balance .text-button { margin-left: auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; }
.coin-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #bd7200;
  background: linear-gradient(#ffe77b, #ffc332);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.48);
  font-size: 14px;
  font-weight: 800;
}
.notice-card ul { margin: 10px 0 0; padding: 0; list-style: none; }
.notice-card li + li { border-top: 1px dashed #e9eef5; }
.notice-card li button {
  width: 100%;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #506078;
  font-size: 13px;
  text-align: left;
}
.notice-card li button:hover span { color: var(--primary); }
.notice-card li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-card time { flex: none; color: #9aa6b7; }
.privacy-card {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  background: linear-gradient(120deg, #f2f8ff, #e6f1ff);
}
.privacy-card img { width: 48px; height: 48px; }
.privacy-card strong { display: block; color: var(--primary-strong); font-size: 14px; }
.privacy-card p { margin: 4px 0 0; color: #71809a; font-size: 12px; line-height: 1.55; }
.sidebar-footer { margin-top: auto; padding: 4px 8px 0; }
.sidebar-footer p { margin: 0 0 8px; color: #9aa7b9; font-size: 12px; }
.sidebar-footer nav { display: flex; gap: 12px; flex-wrap: wrap; }
.sidebar-footer button { padding: 0; border: 0; color: #7d899c; background: none; cursor: pointer; font-size: 12px; }
.sidebar-footer button:hover { color: var(--primary); }

.main-panel { position: relative; min-width: 0; background: #fbfdff; }
.topbar {
  min-height: 74px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
}
.topbar-title { display: flex; align-items: center; gap: 12px; }
.topbar-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-soft);
}
.topbar-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar-title strong { display: block; color: var(--primary-strong); font-size: 20px; letter-spacing: -.025em; }
.topbar-title small { display: block; margin-top: 1px; color: #8c98a9; font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { background: var(--primary-pale); }
.icon-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-button { position: relative; }
.notification-button > span {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50px;
  color: #fff;
  background: #ff4c4c;
  font-size: 11px;
  font-weight: 800;
}
.profile-button { padding: 5px 4px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 600; }
.profile-button:hover { background: var(--primary-pale); }
.profile-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #71809b; background: #eef3f9; }
.profile-avatar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-button .chevron { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-header { display: none; }

.content-wrap { width: min(100%, 1100px); margin: 0 auto; padding: 24px 28px 34px; }
.survey-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 24px;
  padding: 25px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--card-shadow);
}
.eyebrow { margin: 0 0 8px; color: var(--primary); font-size: 13px; font-weight: 800; }
.survey-intro h1 { margin: 0; color: var(--navy); font-size: clamp(24px, 2vw, 32px); line-height: 1.32; letter-spacing: -.04em; }
.survey-intro-main > p:not(.eyebrow) { margin: 10px 0 0; color: #6f7d91; font-size: 15px; }
.intro-title-row { display: flex; justify-content: space-between; gap: 16px; }
.mobile-hero-image { display: none; }
.survey-meta { margin-top: 16px; display: flex; align-items: center; gap: 12px; color: #7d899b; font-size: 13px; }
.survey-meta span { display: inline-flex; align-items: center; gap: 6px; }
.survey-meta strong { color: #4e5c72; }
.survey-meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.meta-divider { width: 1px; height: 12px; background: #d8e0ea; }
.reward-box {
  grid-row: span 2;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e7fa;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(180deg, #f7fbff, #edf6ff);
}
.reward-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #e3f3ff; }
.reward-icon svg { width: 38px; height: 38px; fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.reward-box > span:not(.reward-icon) { margin-top: 8px; color: #66758a; font-size: 13px; }
.reward-box strong { margin-top: 2px; color: var(--primary-strong); font-size: 24px; letter-spacing: -.035em; }
.reward-box p { margin: 6px 0 0; color: #7f8da2; font-size: 12px; line-height: 1.55; }
.progress-block { align-self: end; }
.progress-label { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; color: #68778c; font-size: 13px; }
.progress-label strong { color: var(--primary-strong); }
.progress-track { height: 9px; overflow: hidden; border-radius: 999px; background: #e9eef5; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2c8cff, #0b66eb); transition: width .35s ease; }

.survey-form { margin-top: 18px; }
.question-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--card-shadow);
  scroll-margin-top: 94px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.question-card + .question-card { margin-top: 14px; }
.question-card:focus-within { border-color: rgba(22,119,255,.45); box-shadow: 0 10px 28px rgba(22,119,255,.09); }
.question-card.has-error { border-color: rgba(239,68,68,.48); }
.question-heading { display: flex; align-items: flex-start; gap: 11px; }
.question-number {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(22,119,255,.2);
}
.question-heading h2 { margin: 2px 0 0; color: var(--navy); font-size: 17px; line-height: 1.55; letter-spacing: -.018em; }
.required { margin-left: 3px; color: var(--danger); }
.question-hint { color: var(--primary); font-size: 13px; font-weight: 700; }
.choice-grid { margin-top: 20px; display: grid; gap: 14px; }
.choice-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.checkbox-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
.choice-option { min-width: 0; display: inline-flex; align-items: center; gap: 9px; color: #5f6e83; font-size: 14px; cursor: pointer; }
.choice-option input,
.rating-option input,
.chip-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.control-mark {
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid #cad5e4;
  border-radius: 50%;
  background: #fff;
  transition: all .18s ease;
}
.choice-option:hover .control-mark { border-color: var(--primary); }
.choice-option input:checked + .control-mark {
  border: 5px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(22,119,255,.10);
}
.checkbox-option .control-mark { display: grid; place-items: center; border-radius: 4px; }
.checkbox-option .control-mark svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.checkbox-option input:checked + .control-mark { border: 1px solid var(--primary); background: var(--primary); box-shadow: none; }
.checkbox-option input:checked + .control-mark svg { opacity: 1; }
.other-option { grid-column: span 2; display: flex; align-items: center; gap: 8px; color: #617086; font-size: 14px; }
.other-option input { min-width: 0; width: 100%; padding: 8px 11px; border: 1px solid #d8e1ed; border-radius: 8px; color: var(--text); background: #fbfdff; font-size: 13px; }
.other-option input::placeholder { color: #b1bbca; }
.other-option input:focus { border-color: var(--primary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(22,119,255,.08); }
.field-error { min-height: 18px; margin: 7px 0 -7px 37px; color: var(--danger); font-size: 13px; }
.rating-wrap { margin-top: 20px; display: grid; grid-template-columns: auto minmax(300px, 1fr) auto; align-items: end; gap: 24px; color: #728096; font-size: 13px; }
.rating-options { display: grid; grid-template-columns: repeat(5, 1fr); }
.rating-option { display: flex; flex-direction: column; align-items: center; gap: 9px; color: #536279; font-size: 13px; cursor: pointer; }
.rating-option .control-mark { width: 22px; height: 22px; }
.rating-option input:checked + .control-mark { border: 5px solid var(--primary); box-shadow: 0 0 0 3px rgba(22,119,255,.1); }
.rating-option:has(input:checked) > span:first-child { color: var(--primary); font-weight: 800; }
.chip-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chip-option { cursor: pointer; }
.chip-option span { min-height: 44px; padding: 10px 12px; display: grid; place-items: center; border: 1px solid #d8e1ed; border-radius: 10px; color: #65748a; background: #fff; font-size: 14px; transition: all .18s ease; }
.chip-option:hover span { border-color: #9bc6ff; color: var(--primary); }
.chip-option input:checked + span { border-color: var(--primary); color: var(--primary-strong); background: var(--primary-soft); font-weight: 700; box-shadow: 0 0 0 2px rgba(22,119,255,.08); }
.textarea-wrap { position: relative; margin-top: 18px; }
.textarea-wrap textarea { width: 100%; min-height: 130px; resize: vertical; padding: 14px 16px 34px; border: 1px solid #d8e1ed; border-radius: 10px; color: var(--text); background: #fbfdff; font-size: 14px; line-height: 1.65; }
.textarea-wrap textarea::placeholder { color: #a9b5c5; }
.textarea-wrap textarea:focus { border-color: var(--primary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(22,119,255,.08); }
.textarea-wrap > span { position: absolute; right: 13px; bottom: 10px; color: #9ba8ba; font-size: 12px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.form-actions { margin-top: 18px; display: grid; grid-template-columns: 120px minmax(220px, 320px) 1fr; gap: 12px; align-items: center; }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:active { transform: translateY(1px); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { border: 1px solid var(--primary); color: #fff; background: linear-gradient(135deg, #2187ff, #075ce2); box-shadow: 0 10px 22px rgba(22,119,255,.20); }
.button-primary:hover { background: linear-gradient(135deg, #0f78f9, #034ec7); box-shadow: 0 12px 26px rgba(22,119,255,.27); }
.button-primary:disabled { cursor: wait; opacity: .7; }
.button-secondary { border: 1px solid var(--line-strong); color: #56647a; background: #fff; }
.button-secondary:hover { border-color: #b4c6dc; background: #f8fbff; }
.safe-message { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: #8491a4; font-size: 12px; }
.safe-message svg { width: 24px; height: 24px; fill: #e5fff4; stroke: var(--success); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-actions { display: none; }

.toast-region { position: fixed; z-index: 1200; top: 20px; left: 50%; width: min(420px, calc(100% - 32px)); transform: translateX(-50%); pointer-events: none; }
.toast {
  margin-bottom: 8px;
  padding: 12px 15px;
  border-radius: 10px;
  color: #fff;
  background: #22334f;
  box-shadow: 0 10px 30px rgba(19,34,55,.22);
  font-size: 15px;
  text-align: center;
  animation: toast-in .25s ease both;
}
.toast.error { background: #c93636; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.app-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--text);
  background: transparent;
  box-shadow: 0 25px 80px rgba(13, 39, 73, .28);
}
.app-dialog::backdrop { background: rgba(14, 28, 49, .46); backdrop-filter: blur(4px); }
.dialog-inner { position: relative; padding: 30px 28px 26px; border-radius: 18px; background: #fff; text-align: center; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.dialog-close:hover { background: #f0f5fb; }
.dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dialog-icon { width: 58px; height: 58px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-size: 28px; }
.dialog-inner h2 { margin: 0; color: var(--navy); font-size: 24px; letter-spacing: -.03em; }
.dialog-content { margin-top: 12px; color: #67768b; font-size: 15px; line-height: 1.75; }
.dialog-content ul { margin: 10px 0 0; padding-left: 20px; text-align: left; }
.dialog-confirm { width: 100%; margin-top: 22px; }
.completion-dialog .dialog-inner { padding-top: 34px; }
.completion-check { width: 76px; height: 76px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2bd296, #0aa86e); box-shadow: 0 13px 30px rgba(20,184,122,.22); }
.completion-check svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.completion-kicker { margin: 0 0 6px; color: var(--success); font-size: 13px; font-weight: 800; }
.completion-dialog p:not(.completion-kicker) { color: #68768b; font-size: 15px; line-height: 1.7; }
.completion-dialog p strong { color: var(--primary); font-size: 20px; }
.receipt-box { margin-top: 18px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; border-radius: 10px; background: #f3f7fc; }
.receipt-box span { color: #7d899b; font-size: 13px; }
.receipt-box strong { color: var(--navy); font-size: 15px; letter-spacing: .03em; }

.mobile-drawer { display: none; }

@media (max-width: 1180px) {
  :root { --sidebar-width: 270px; }
  .page-shell { width: calc(100% - 20px); margin: 10px auto; min-height: calc(100vh - 20px); }
  .sidebar-inner { min-height: calc(100vh - 22px); padding: 20px 16px 16px; }
  .event-card { min-height: 230px; }
  .content-wrap { padding: 20px; }
  .survey-intro { grid-template-columns: minmax(0, 1fr) 160px; }
  .choice-grid-five { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .checkbox-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  body { background: #f3f7fb; }
  .page-shell { width: 100%; min-height: 100vh; margin: 0; display: block; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .sidebar, .topbar { display: none; }
  .main-panel { min-height: 100vh; padding-bottom: calc(78px + env(safe-area-inset-bottom)); background: #f6f9fc; }
  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 60px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
  }
  .mobile-header > strong { justify-self: center; color: var(--navy); font-size: 18px; }
  .mobile-header .notification-button > span { top: 2px; right: -1px; }
  .content-wrap { width: 100%; padding: 0; }
  .survey-intro {
    display: block;
    padding: 24px 18px 20px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .intro-title-row { align-items: flex-start; }
  .survey-intro h1 { max-width: 70%; font-size: 23px; line-height: 1.45; }
  .survey-intro-main > p:not(.eyebrow) { max-width: 74%; font-size: 14px; line-height: 1.65; }
  .mobile-hero-image { display: block; width: 106px; height: auto; margin: -8px -6px 0 0; }
  .survey-meta { margin-top: 12px; gap: 8px; flex-wrap: wrap; font-size: 12px; }
  .meta-divider { display: none !important; }
  .reward-box { display: none; }
  .progress-block { margin-top: 24px; }
  .progress-label { font-size: 13px; }
  .progress-track { height: 8px; }
  .survey-form { margin: 0; padding: 12px 12px 24px; }
  .question-card { display: none; min-height: 360px; padding: 20px 16px; border-radius: 12px; box-shadow: 0 5px 18px rgba(39,75,115,.055); scroll-margin-top: 74px; }
  .question-card.is-active { display: block; animation: step-in .24s ease both; }
  .question-card + .question-card { margin-top: 0; }
  @keyframes step-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
  .question-heading { gap: 9px; }
  .question-number { width: 26px; height: 26px; font-size: 13px; }
  .question-heading h2 { font-size: 16px; line-height: 1.7; }
  .question-hint { display: block; margin-top: 2px; }
  .choice-grid, .chip-grid { margin-top: 18px; display: flex; flex-direction: column; gap: 0; }
  .choice-option { min-height: 50px; padding: 11px 4px; border-bottom: 1px solid #edf1f6; font-size: 15px; }
  .choice-option:last-child { border-bottom: 0; }
  .control-mark { width: 21px; height: 21px; }
  .other-option { padding: 10px 4px; display: grid; grid-template-columns: auto 1fr; }
  .other-option input { padding: 10px 11px; }
  .field-error { margin-left: 33px; }
  .rating-wrap { margin-top: 24px; grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .rating-wrap > span:first-child { text-align: left; }
  .rating-wrap > span:last-child { text-align: right; }
  .rating-options { order: 2; }
  .rating-wrap > span:last-child { order: 3; }
  .rating-option { gap: 10px; }
  .rating-option .control-mark { width: 24px; height: 24px; }
  .chip-option span { min-height: 48px; border: 0; border-bottom: 1px solid #edf1f6; border-radius: 0; place-items: center start; background: transparent; }
  .chip-option input:checked + span { border-color: #cfe2ff; border-radius: 9px; background: var(--primary-soft); box-shadow: none; }
  .textarea-wrap textarea { min-height: 220px; font-size: 15px; }
  .desktop-actions { display: none; }
  .mobile-actions {
    position: fixed;
    z-index: 85;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(70px + env(safe-area-inset-bottom));
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 8px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(15px);
  }
  .mobile-actions .button { min-height: 50px; border-radius: 8px; }
  .mobile-drawer { position: fixed; z-index: 300; inset: 0; display: block; visibility: hidden; pointer-events: none; }
  .mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
  .drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(12,26,47,.48); opacity: 0; transition: opacity .2s ease; }
  .mobile-drawer.is-open .drawer-backdrop { opacity: 1; }
  .drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(330px, 84vw); padding: 20px; color: var(--text); background: #fff; box-shadow: 20px 0 60px rgba(17,38,68,.2); transform: translateX(-104%); transition: transform .25s ease; }
  .mobile-drawer.is-open .drawer-panel { transform: translateX(0); }
  .drawer-header { display: flex; align-items: center; justify-content: space-between; }
  .drawer-header img { width: 150px; height: auto; }
  .drawer-points { margin-top: 22px; padding: 18px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #2288ff, #0758dc); }
  .drawer-points span { display: block; color: rgba(255,255,255,.8); font-size: 14px; }
  .drawer-points strong { display: block; margin-top: 7px; font-size: 27px; }
  .drawer-panel nav { margin-top: 14px; }
  .drawer-panel nav button { width: 100%; padding: 15px 4px; border: 0; border-bottom: 1px solid #edf1f6; background: transparent; text-align: left; cursor: pointer; }
}

@media (max-width: 430px) {
  .survey-intro { padding-inline: 16px; }
  .survey-intro h1 { max-width: 72%; font-size: 21px; }
  .survey-intro-main > p:not(.eyebrow) { max-width: 74%; font-size: 13px; }
  .mobile-hero-image { width: 94px; margin-right: -10px; }
  .survey-meta span { width: 100%; }
  .question-card { min-height: 390px; }
}

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