@font-face { font-family: Pretendard; src: url('/assets/Pretendard-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Pretendard; src: url('/assets/Pretendard-ExtraBold.otf') format('opentype'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #17243a;
  --pink: #e849a6;
  --muted: #667085;
  --line: #e3e7ed;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--navy); background: #f7f8fa; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 78px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 176px; height: auto; }
.header-auth { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; }
.header-auth-button { min-height: 36px; padding: 0 14px; border: 1px solid #dce1e7; border-radius: 8px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; white-space: nowrap; }
.header-auth-button:hover { border-color: var(--pink); color: #b82e79; }
.header-auth-button:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.header-auth-button:disabled { cursor: wait; opacity: .6; }
.header-auth-status:not(:empty) { position: absolute; z-index: 2; top: calc(100% + 10px); right: 0; width: max-content; max-width: min(320px, 80vw); padding: 9px 12px; border: 1px solid #f2b2c3; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px #17243a12; color: #b62956; font-size: 12px; }
.profile-menu-root { position: relative; }
.profile-menu-trigger { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 5px 4px 13px; border: 1px solid #dce1e7; border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 800; }
.profile-menu-trigger:hover, .profile-menu-trigger[aria-expanded='true'] { border-color: #e990bd; }
.profile-menu-trigger:focus-visible, .profile-menu-panel a:focus-visible, .profile-menu-panel button:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.profile-menu-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu-avatar { display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #f4e8ef; color: #b82e79; font-size: 15px; font-weight: 800; }
.profile-menu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-menu-panel { position: absolute; z-index: 20; top: calc(100% + 9px); right: 0; width: 220px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 15px 35px #17243a1c; }
.profile-menu-panel a, .profile-menu-panel button { display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--navy); font-size: 13px; font-weight: 400; line-height: 1.4; text-align: left; text-decoration: none; }
.profile-menu-panel a:hover, .profile-menu-panel button:hover { background: #f7f8fa; }
.profile-menu-panel button { margin-top: 5px; border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; color: var(--muted); }
.main-content { max-width: 760px; padding-bottom: 85px; }
.page-intro { padding: 39px 0 31px; }
.page-intro h1 { margin: 0 0 7px; font-size: 30px; line-height: 1.3; letter-spacing: -.04em; font-weight: 800; }
.page-intro p { margin: 0; color: var(--muted); font-size: 14px; }

.wizard-progress { margin-bottom: 20px; }
.progress-copy { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.progress-copy strong { color: var(--navy); font-weight: 800; }
.progress-track { height: 5px; border-radius: 5px; background: #e8ebef; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pink); transition: width .28s ease; }

.question-card { min-height: 340px; padding: 38px 42px 40px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.step:not([hidden]) { animation: step-in .28s ease both; }
.wizard[data-direction='back'] .step:not([hidden]) { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
.question-card h2 { margin: 0 0 8px; font-size: clamp(24px, 4.2vw, 31px); line-height: 1.35; letter-spacing: -.04em; font-weight: 800; outline: none; }
.question-help { margin: 0 0 31px; color: var(--muted); font-size: 14px; }
.field { padding: 0; margin: 0; border: 0; min-width: 0; }
.stacked-field { margin-top: 25px; }
.region-detail-field { margin-top: 27px; }
.field em { margin-left: 5px; color: #8993a0; font-size: 12px; font-style: normal; font-weight: 400; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label:not(.sr-only), .field legend:not(.sr-only) { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 800; }
.field input[type=text], .field input[type=number], .field select, .field textarea {
  display: block; width: 100%; height: 52px; padding: 0 15px; border: 1px solid #d8dfe6;
  border-radius: 10px; outline: none; background: #fff; color: var(--navy); font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 175px; padding: 14px 15px; resize: vertical; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: #a3abb5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px #fce7f1; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d3425d; }
.age-stepper { display: flex; height: 52px; border: 1px solid #d8dfe6; border-radius: 10px; overflow: hidden; }
.age-stepper > button { width: 52px; flex: none; border: 0; background: #f9fafb; color: var(--navy); font-size: 25px; line-height: 1; }
.age-stepper > button:hover { background: #fff0f7; color: #b82e79; }
.age-stepper > button:focus-visible { outline: 3px solid #f5bad7; outline-offset: -3px; }
.age-value { display: flex; align-items: center; flex: 1; justify-content: center; border-inline: 1px solid #e8ebef; }
.field .age-value input { width: 63px; height: 50px; padding: 0; border: 0; border-radius: 0; box-shadow: none; text-align: right; font-size: 18px; font-weight: 800; appearance: textfield; }
.age-value input::-webkit-inner-spin-button, .age-value input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.age-value span { margin-left: 7px; color: #667085; }
.age-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.age-range input { text-align: center; }
.age-range span { color: var(--muted); }
.field-hint { margin: 8px 0 0; color: #8993a0; font-size: 12px; }
.input-suffix, .select-wrap { position: relative; }
.input-suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #8993a0; }
.input-suffix input { padding-right: 42px !important; }
.field select { appearance: none; padding-right: 42px; }
.select-wrap::after { content: '⌄'; pointer-events: none; position: absolute; right: 16px; top: 43%; transform: translateY(-50%); font-size: 22px; color: #8993a0; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.choice-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 0 20px; border: 1px solid #dce1e7; border-radius: 10px; color: #3f4b5e; font-size: 16px; transition: border-color .15s, background-color .15s; }
.choice span::after { content: ''; width: 18px; height: 18px; flex: none; border: 1.5px solid #b9c1ca; border-radius: 50%; }
.choice:hover span { border-color: #e99fc4; }
.choice input:checked + span { border-color: var(--pink); background: #fff3f8; color: #b82e79; font-weight: 800; }
.choice input:checked + span::after { border: 5px solid var(--pink); background: #fff; }
.choice input:focus-visible + span { outline: 3px solid #f5bad7; outline-offset: 2px; }
.compact-choices .choice span { min-height: 56px; gap: 8px; padding-inline: 14px; font-size: 14px; }
.compact-choices .choice span::after { width: 16px; height: 16px; }
.choice input[type=checkbox] + span::after { border-radius: 5px; }
.choice input[type=checkbox]:checked + span::after { border-width: 0; background: var(--pink); content: '✓'; color: #fff; font-size: 12px; font-weight: 800; text-align: center; line-height: 18px; }

.region-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: thin; }
.region-tab { flex: none; padding: 9px 13px; border: 1px solid #e0e5ea; border-radius: 99px; background: #fff; color: #647082; font-size: 13px; }
.region-tab[aria-pressed=true] { border-color: var(--navy); background: var(--navy); color: #fff; }
.region-tab:focus-visible, .region-option:focus-visible, .selected-region:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.region-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 6px; }
.region-option { min-height: 74px; border: 1px solid #dce1e7; border-radius: 11px; background: #fff; color: var(--navy); font-size: 17px; font-weight: 800; }
.region-option:hover { border-color: #e99fc4; }
.region-option[aria-pressed=true] { border-color: var(--pink); background: #fff3f8; color: #b82e79; }
.region-selected { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 32px; margin: 18px 0 0; color: #667085; font-size: 13px; }
.region-selected > span { margin-right: 3px; }
.selected-region { padding: 5px 9px; border: 1px solid #f2bbd9; border-radius: 7px; background: #fff3f8; color: #b82e79; font-size: 12px; font-weight: 800; }

.sport-picker { margin-top: -8px; }
.sport-search-label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 800; }
.sport-search { width: 100%; height: 51px; padding: 0 16px 0 41px; border: 1px solid #d8dfe6; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238994a1' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='10.8' cy='10.8' r='7.2'/%3E%3Cpath d='m16.3 16.3 5 5'/%3E%3C/svg%3E") no-repeat 14px center; color: var(--navy); outline: none; }
.sport-search:focus { border-color: var(--pink); box-shadow: 0 0 0 3px #fce7f1; }
.sport-selected { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 47px; padding: 10px 0 4px; }
.sport-catalog-note { margin: 4px 0 12px; color: #7c5669; font-size: 12px; line-height: 1.55; }
.sport-empty { color: #9aa4af; font-size: 12px; }
.selected-sport { padding: 5px 9px; border: 1px solid #f2bbd9; border-radius: 7px; background: #fff3f8; color: #b82e79; font-size: 12px; font-weight: 800; }
.selected-sport-token { display: inline-flex; align-items: stretch; border: 1px solid #f2bbd9; border-radius: 7px; background: #fff3f8; }
.selected-sport-token .selected-sport { border: 0; border-radius: 7px 0 0 7px; }
.primary-sport[aria-pressed=true] { background: #f8d9e9; }
.selected-sport-remove { padding: 3px 8px; border: 0; border-left: 1px solid #f2bbd9; border-radius: 0 7px 7px 0; background: transparent; color: #b82e79; font-size: 16px; }
.selected-sport-token button:focus-visible { outline: 2px solid #b82e79; outline-offset: 2px; }
.sport-results { max-height: min(420px, 48vh); min-height: 190px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 11px 9px 2px; border-top: 1px solid #edf0f3; scrollbar-color: #cfd6df transparent; scrollbar-width: thin; }
.sport-results:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.sport-group { padding: 15px 0 17px; border-bottom: 1px solid #edf0f3; }
.sport-group:last-child { border-bottom: 0; }
.sport-group h3 { margin: 0 0 11px; font-size: 13px; color: #667085; font-weight: 800; }
.sport-result-summary { margin: 0 0 9px; color: #667085; font-size: 12px; }

.sport-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.sport-chip { min-height: 45px; padding: 8px 10px; border: 1px solid #dce1e7; border-radius: 9px; background: #fff; color: #4d596a; font-size: 14px; }
.sport-chip:hover { border-color: #e99fc4; }
.sport-chip[aria-pressed=true] { border-color: var(--pink); background: #fff3f8; color: #b82e79; font-weight: 800; }
.sport-chip:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.selection-count { display: inline-block; margin: -12px 0 17px; padding: 5px 10px; border-radius: 7px; color: #b82e79; background: #fff1f7; font-size: 12px; font-weight: 800; }
.personality-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.personality-actions .field-hint { margin: 0; }
.generate-button { flex: none; min-height: 38px; padding: 0 13px; border: 1px solid var(--pink); border-radius: 8px; background: #fff3f8; color: #b82e79; font-size: 13px; font-weight: 800; }
.generate-button:hover { background: #fce5f0; }
.generate-button:disabled { opacity: .6; cursor: wait; }
.ai-note { margin: 10px 0 0; color: #8993a0; font-size: 12px; line-height: 1.55; }

.photo-step { min-height: 0; }
.photo-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; min-height: 142px; padding: 22px; border: 1px dashed #e3a9c8; border-radius: 12px; background: #fff8fb; text-align: center; transition: background .15s, border-color .15s; }
.photo-dropzone.drag-over { border-color: var(--pink); background: #fff0f7; }
.photo-add { min-height: 44px; padding: 0 20px; border: 1px solid var(--pink); border-radius: 9px; background: var(--pink); color: #fff; font-size: 14px; font-weight: 800; }
.photo-add:hover { background: #d83893; }
.photo-picker { position: relative; display: inline-flex; }
.photo-picker input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-picker:focus-within { outline: 3px solid #f5bad7; outline-offset: 3px; border-radius: 9px; }
.photo-picker:has(input:disabled) { opacity: .6; }
.photo-picker input:disabled { cursor: wait; }
.photo-add:focus-visible, .photo-card button:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.photo-dropzone > span { color: var(--muted); font-size: 12px; }
.photo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 11px; }
.photo-toolbar strong { color: var(--navy); font-size: 14px; }
.photo-toolbar span { color: var(--muted); font-size: 12px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.photo-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #f5f6f8; }
.photo-card.dragging { opacity: .48; }
.photo-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-card .photo-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 1; color: var(--muted); font-size: 12px; text-align: center; }
.photo-card .photo-number { position: absolute; top: 7px; left: 7px; padding: 3px 7px; border-radius: 6px; background: #17243acb; color: #fff; font-size: 11px; font-weight: 800; }
.photo-card .photo-controls { display: flex; justify-content: space-around; border-top: 1px solid var(--line); background: #fff; }
.photo-card button { min-width: 31px; min-height: 34px; padding: 0 4px; border: 0; background: #fff; color: var(--navy); font-size: 16px; }
.photo-card button:hover { color: #b82e79; background: #fff3f8; }
.photo-card button:disabled { color: #b7c0cc; background: #fff; cursor: default; }
.photo-guide, .photo-caution { margin: 15px 0 0; color: #596578; font-size: 13px; line-height: 1.55; }
.photo-caution { margin-top: 5px; color: #866274; }
.photo-status:not(:empty) { margin: 12px 0 0; color: #b62956; font-size: 13px; }

.form-error:not([hidden]) { margin: 13px 0 0; padding: 12px 15px; border: 1px solid #f2b2c3; border-radius: 9px; background: #fff1f5; color: #b62956; font-size: 13px; }
.navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 17px; }
.navigation button { min-width: 128px; height: 52px; padding: 0 20px; border-radius: 9px; font-size: 15px; font-weight: 800; }
.back-button { border: 1px solid #dce1e7; background: #fff; color: var(--navy); }
.back-button:hover { border-color: #b7c0cc; }
.next-button { margin-left: auto; border: 1px solid var(--pink); background: var(--pink); color: #fff; }
.next-button:hover { background: #d83893; }
.next-button:disabled { opacity: .65; cursor: wait; }
.navigation button:focus-visible, .review-heading button:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }

.review-step { min-height: 0; }
.review-step h2 { margin-bottom: 24px; }
.review-group { padding: 17px 0; border-top: 1px solid #e9edf1; }
.review-heading { display: flex; justify-content: space-between; align-items: center; }
.review-heading h3 { margin: 0; font-size: 14px; font-weight: 800; }
.review-heading button { padding: 5px 0 5px 10px; border: 0; background: none; color: #b82e79; font-size: 12px; }
.review-group p { margin: 7px 0 0; color: #526071; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding-top: 22px; border-top: 1px solid #e9edf1; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--pink); }
.consent span { display: flex; flex-direction: column; gap: 4px; }
.consent strong { font-size: 13px; font-weight: 800; }
.consent small { color: var(--muted); font-size: 12px; line-height: 1.5; }

.success-card { padding: 54px 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; }
.success-card img { width: 70px; height: 70px; }
.success-card h2 { margin: 18px 0 7px; font-size: 25px; }
.success-card p { margin: 0 0 23px; color: var(--muted); font-size: 14px; }
.success-card .success-lead { margin: 8px 0 27px; line-height: 1.75; }
.review-notice { width: min(100%, 470px); margin: 0 auto 28px; padding: 20px 22px; border: 1px solid #f4d8e7; border-radius: 14px; background: #fff8fb; text-align: left; }
.review-notice strong { display: block; margin-bottom: 10px; color: #b82e79; font-size: 14px; }
.success-card .review-notice p { margin: 0 0 9px; color: #435069; font-size: 13px; line-height: 1.7; }
.success-card .review-notice p:last-child { margin-bottom: 0; }
.save-progress { position: fixed; z-index: 30; right: max(24px, calc((100vw - 1080px) / 2)); bottom: 24px; width: min(360px, calc(100vw - 32px)); padding: 18px 20px; border: 1px solid #f3d8e7; border-radius: 16px; background: #fff; box-shadow: 0 16px 48px #17243a20; text-align: left; }
.save-progress-heading { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 14px; }
.save-progress-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px #fce9f3; animation: loading-pulse 1.4s ease-in-out infinite; }
.save-progress-track { height: 5px; margin: 16px 0 9px; overflow: hidden; border-radius: 99px; background: #f1e9ee; }
.save-progress-track span { display: block; width: 34%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff7b7b, var(--pink)); animation: loading-slide 1.25s ease-in-out infinite alternate; }
.save-progress p { margin: 0; color: var(--muted); font-size: 12px; }
@keyframes loading-pulse { 50% { box-shadow: 0 0 0 8px #fce9f3; opacity: .65; } }
@keyframes loading-slide { from { transform: translateX(-85%); } to { transform: translateX(285%); } }
.login-options { display: grid; gap: 9px; width: min(100%, 360px); margin: 0 auto; }
.social-login { position: relative; display: flex; align-items: center; justify-content: center; min-height: 49px; padding: 0 14px; border: 1px solid #dce1e7; border-radius: 9px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 800; }
.social-login small { position: absolute; right: 12px; color: inherit; font-size: 10px; font-weight: 400; opacity: .7; }
.social-login:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.social-login:disabled { cursor: not-allowed; opacity: .58; }
.social-login:not(:disabled):hover { border-color: var(--pink); }
.social-mark { position: absolute; left: 16px; font-size: 18px; font-weight: 800; }
.google-mark { color: #4285f4; }
.kakao-login { border-color: #f3dc21; background: #fee500; color: #2d2b25; }
.naver-login { border-color: #03c75a; background: #03c75a; color: #fff; }
.save-after-login { width: min(100%, 360px); min-height: 49px; padding: 0 14px; border: 1px solid var(--pink); border-radius: 9px; background: var(--pink); color: #fff; font-size: 14px; font-weight: 800; }
.save-after-login:hover { background: #d83893; }
.save-after-login:disabled { opacity: .65; cursor: wait; }
.save-after-login:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.success-card .login-status { min-height: 23px; margin: 15px 0 0; color: #b82e79; font-size: 13px; }
.success-card .login-footnote { width: min(100%, 370px); margin: 7px auto 24px; color: #8993a0; font-size: 11px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .save-progress-dot, .save-progress-track span { animation: none; } }
@media (max-width: 680px) { .save-progress { right: 16px; bottom: 16px; } .review-notice { padding: 17px; } }
.secondary-button { padding: 12px 19px; border: 1px solid #dce1e7; border-radius: 8px; background: #fff; color: var(--navy); font-weight: 800; }
.match-nav-link { display: inline-flex; align-items: center; text-decoration: none; }
.match-after-save { display: inline-block; margin: 0 8px 14px; text-decoration: none; font-size: 14px; }
.site-footer { display: flex; justify-content: space-between; gap: 15px; padding: 23px 0 35px; border-top: 1px solid var(--line); color: #8b94a1; font-size: 12px; }

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 540px); }
  .site-header { height: 70px; }
  .brand img { width: 148px; }
  .header-auth { gap: 6px; }
  .profile-menu-name { max-width: min(38vw, 130px); }
  .header-auth-button { min-height: 34px; padding: 0 10px; font-size: 12px; }
  .main-content { padding-bottom: 55px; }
  .page-intro { padding: 31px 0 28px; }
  .page-intro h1 { font-size: 26px; }
  .page-intro p { font-size: 13px; }
  .question-card { min-height: 390px; padding: 30px 22px 34px; border-radius: 13px; }
  .question-card h2 { font-size: 25px; }
  .question-help { margin-bottom: 27px; font-size: 13px; }
  .field-grid { grid-template-columns: 1fr; gap: 23px; }
  .choice span { min-height: 61px; padding: 0 14px; font-size: 15px; }
  .choice-grid-three .choice span { padding: 0 9px; font-size: 13px; }
  .choice-grid-three .choice span::after { width: 15px; height: 15px; }
  .compact-choices.choice-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-choices .choice span { font-size: 13px; }
  .sport-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .photo-toolbar { align-items: flex-start; flex-direction: column; gap: 3px; }
  .sport-chip { font-size: 13px; }
  .navigation button { min-width: 105px; }
  .site-footer { font-size: 11px; }
}

@media (max-width: 350px) {
  .shell { width: calc(100% - 24px); }
  .brand img { width: 120px; }
  .profile-menu-trigger { gap: 7px; padding-left: 8px; }
  .profile-menu-name { max-width: 91px; }
  .profile-menu-avatar { width: 30px; height: 30px; }
  .sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid-three { grid-template-columns: 1fr; }
  .compact-choices.choice-grid-three { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step:not([hidden]), .wizard[data-direction='back'] .step:not([hidden]) { animation: none; }
  .progress-track span { transition: none; }
}
