/* =========================================================
   Go U - 외국인 근로자 구인구직 앱 UI
   JobStreet(SEEK) 톤 : 네이비 검색 배너 / 노랑 CTA(기존 Go U 색) / 흰 카드 / 회색 배경
   - 색상·모서리·타이포는 SEEK 공개 디자인 시스템(Braid) 토큰 기준
   - 반응형 : 모바일(하단 탭) / 768px 이상 데스크톱(상단 메뉴 + 가운데 컬럼)
   ========================================================= */
:root {
    --navy: #051A49;
    --navy-soft: #F0F6FC;
    --navy-line: #DCE5F2;
    --yellow: #FFC800;
    --yellow-dark: #F2A900;
    --yellow-soft: #FFF8E1;
    --yellow-ink: #3A2C00;
    --blue: #2A71C1;
    --blue-dark: #1D559D;
    --blue-soft: #F4FBFE;
    --ink: #2E3849;
    --gray: #5A6881;
    --line: #D2D7DF;
    --line-soft: #EAECF1;
    --field-line: #ABB3C1;
    --bg: #F7F8FB;
    --card: #FFFFFF;
    --danger: #B91E1E;
    --green: #12784F;
    /* 가운데 컬럼 폭 (목록·상세 / 폼) */
    --content: 800px;
    --form: 480px;
    /* 전체 폭 블록의 좌우 여백 : 배경은 끝까지, 내용은 가운데 컬럼에 정렬 */
    --gutter: max(16px, calc((100% - var(--content)) / 2));
    --gutter-form: max(16px, calc((100% - var(--form)) / 2));
    --shadow: 0 2px 4px rgba(28,35,48,.08), 0 4px 12px rgba(28,35,48,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
/* tailwind preflight 대응 (제목 굵기 복원) */
h1, h2, h3, h4 { font-weight: 700; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* Lucide 아이콘 (BlazorBlueprint.Icons.Lucide) : 텍스트와 나란히 놓일 때 세로 정렬 */
.lucide-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* site shell */
#shell {
    width: 100%;
    min-height: 100vh;
    display: flex; flex-direction: column;
    background: var(--bg);
    position: relative;
}
#screen {
    flex: 1;
    padding-bottom: 76px;
}
/* 화면 직속 블록 : 좌우 여백 공통 (각 블록은 padding-block 만 지정) */
:where(#screen) > * { padding-inline: var(--gutter); }

/* site header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line-soft); }
.site-header-inner {
    display: flex; align-items: center; gap: 28px;
    height: 60px; padding-inline: var(--gutter);
}
.brand { font-weight: 800; font-size: 25px; letter-spacing: -.5px; color: var(--navy); cursor: pointer; line-height: 1; user-select: none; }
.brand .u { color: var(--yellow-dark); margin-left: 3px; }
.site-nav { display: none; align-self: stretch; gap: 24px; }
.site-nav-item {
    display: flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
    border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
.site-nav-item:hover { color: var(--navy); }
.site-nav-item.active { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.top-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.icon-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid transparent; background: transparent;
    display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--line-soft); }
.signin { font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; padding: 6px 4px 6px 8px; }
.signin:hover { text-decoration: underline; }

/* top bar (하위 화면 : 뒤로 + 제목) */
.topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding-block: 12px; background: var(--card); border-bottom: 1px solid var(--line-soft);
    position: sticky; top: 0; z-index: 20;
}
.topbar .back { width: 32px; height: 32px; margin-left: -6px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.topbar .back:hover { background: var(--line-soft); }
.topbar .title { font-size: 17px; font-weight: 700; flex: 1; text-align: center; }
.topbar .spacer { width: 28px; display: flex; align-items: center; justify-content: flex-end; color: var(--gray); }

/* hero (홈 검색 배너) */
.hero { background: var(--navy); color: #fff; padding-block: 28px 30px; }
.hero h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.3; font-weight: 800; letter-spacing: -.3px; }
.hero p { margin: 0; font-size: 14.5px; color: #B6C7E0; }
.hero .search-box { margin-top: 20px; }
.hero .pills { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pill {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
    color: #fff; font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
}

/* search */
.search-banner { background: var(--navy); padding-block: 18px; }
.search-box { display: flex; flex-direction: column; gap: 10px; }
.search-input {
    width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--field-line); border-radius: 8px;
    font-size: 16px; background: #fff; color: var(--ink);
}
.search-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(62,143,224,.45); }
.btn.btn-search { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

/* quick menu */
.quickrow { display: flex; padding-block: 16px 4px; gap: 10px; }
.quick {
    flex: 1; text-align: center; padding: 14px 4px; border-radius: 12px; background: var(--card);
    border: 1px solid var(--line-soft); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.quick:hover { border-color: var(--field-line); box-shadow: var(--shadow); }
.quick .icon { display: flex; justify-content: center; margin-bottom: 6px; color: var(--navy); }

/* section */
.section { padding-block: 16px; }
.section.section-tight { padding-bottom: 4px; }
.section.section-top0 { padding-top: 0; }
.section.section-top8 { padding-top: 8px; }
.section.section-pb8 { padding-bottom: 8px; }
.section.section-pb0 { padding-bottom: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.section-head h2 { font-size: 19px; margin: 0; font-weight: 700; letter-spacing: -.2px; }
.section-head .more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--blue-dark); cursor: pointer; }
.section-head .more:hover { text-decoration: underline; }
.count-text { font-size: 14px; color: var(--gray); margin-bottom: 12px; }

/* filter chips */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-block: 0 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
    white-space: nowrap; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--field-line);
    background: #fff; font-size: 14px; color: var(--ink); font-weight: 500; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
/* 네이비 배너 안의 칩 */
.search-banner .filters { padding: 14px 0 0; }
.search-banner .chip { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.search-banner .chip:hover { border-color: #fff; }
.search-banner .chip.active { background: #fff; border-color: #fff; color: var(--navy); }

/* job card */
.job-card {
    background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px;
    padding: 20px; margin-bottom: 12px; position: relative; cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.job-card:hover { border-color: var(--field-line); box-shadow: var(--shadow); }
.job-card:hover h3 { text-decoration: underline; }
.job-card .tag-row { display: flex; gap: 6px; margin-bottom: 8px; }
.tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.tag.urgent { background: #FFE3E2; color: #941110; }
.tag.new { background: #E2F7F1; color: #0A5435; }
.tag.lang { background: #E3F2FB; color: #123976; }
.job-card h3 { margin: 0 0 2px; padding-right: 32px; font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.2px; }
.job-card .company { font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.job-card .meta { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--gray); }
.job-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card .meta .wage { color: var(--ink); font-weight: 600; }
.job-card .meta .wage .unit { font-size: 13px; color: var(--gray); font-weight: 400; gap: 0; }
.job-card .posted { font-size: 13px; color: var(--gray); margin-top: 12px; }
.job-card .bookmark {
    position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--gray); cursor: pointer;
}
.job-card .bookmark:hover { background: var(--yellow-soft); color: var(--navy); }

/* bottom nav (모바일) */
.bottomnav {
    position: fixed; bottom: 0; left: 0; width: 100%; padding: 0;
    background: #fff; border-top: 1px solid var(--line-soft); display: flex; z-index: 30;
}
.nav-item { flex: 1; text-align: center; padding: 9px 0 8px; font-size: 11.5px; color: var(--gray); font-weight: 500; cursor: pointer; }
.nav-item .icon { display: flex; justify-content: center; margin-bottom: 2px; }
.nav-item.active { color: var(--navy); font-weight: 700; }

/* forms */
.form-wrap { padding-block: 24px; padding-inline: var(--gutter-form); }
.form-wrap.tight { padding-top: 18px; }
.form-wrap .logo-big { font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: var(--navy); margin-bottom: 4px; }
.form-wrap .sub { font-size: 14px; color: var(--gray); margin-bottom: 26px; }
.form-wrap .sub.tight { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--field-line); border-radius: 8px; font-size: 16px; background: #fff; color: var(--ink);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(62,143,224,.35); }
.field input::placeholder, .field textarea::placeholder, .search-input::placeholder { color: #838FA5; }
.field input:disabled { background: var(--line-soft); color: var(--gray); border-color: var(--line); }
.field textarea { resize: vertical; min-height: 96px; }
.field .hint { font-size: 13px; color: var(--gray); margin-top: 5px; }
.hint { font-size: 13px; color: var(--gray); line-height: 1.5; }
.hint.center { text-align: center; margin-top: 10px; }
.hint.tight { margin: -6px 0 16px; }

.btn {
    width: 100%; min-height: 48px; padding: 11px 16px; border-radius: 8px; border: none; font-size: 16px; font-weight: 700; text-align: center;
    transition: background .15s, box-shadow .15s;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(62,143,224,.45); }
.btn-primary { background: var(--yellow); color: var(--yellow-ink); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-primary:active { background: #DFA414; }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--line-soft); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue-dark); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-ghost:hover { text-decoration: underline; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13.5px; border-radius: 8px; width: auto; }
.btn.flex-1 { flex: 1; width: auto; }
.row-gap { display: flex; gap: 10px; }
.row-gap > * { flex: 1; }
.text-right { text-align: right; margin-top: 10px; }
.gap-10 { height: 10px; }
.gap-24 { height: 24px; }
.bottom-space { height: 80px; }
.mt-14 { margin-top: 14px; }
.mb-0 { margin-bottom: 0 !important; }

.divider-text { display: flex; align-items: center; gap: 10px; color: var(--gray); font-size: 13px; margin: 22px 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.social-row { display: flex; gap: 12px; justify-content: center; margin: 14px 0 6px; }
.social-circle {
    width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; color: #fff; border: 1px solid var(--line); cursor: pointer;
}
.kakao { background: #FEE500; color: #3C1E1E; }
.naver { background: #03C75A; }
.google { background: #fff; color: #444; border: 1px solid var(--line); }

.link-center { text-align: center; font-size: 14px; color: var(--gray); margin-top: 18px; }
.link-center b { color: var(--blue-dark); cursor: pointer; }
.link-center b:hover { text-decoration: underline; }

.segmented { display: flex; background: var(--line-soft); border-radius: 8px; padding: 4px; margin-bottom: 22px; }
.seg { flex: 1; text-align: center; padding: 10px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer; }
.seg.active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(28,35,48,.12); }

/* success */
.success-wrap { padding-block: 60px; padding-inline: var(--gutter-form); text-align: center; }
.success-icon {
    width: 76px; height: 76px; border-radius: 50%; background: #E2F7F1; color: var(--green);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.success-wrap h2 { font-size: 21px; margin: 0 0 8px; }
.success-wrap p { font-size: 14.5px; color: var(--gray); margin: 0 0 30px; line-height: 1.6; }

/* job detail */
.detail-hero { background: var(--card); padding-block: 20px; border-bottom: 8px solid var(--bg); }
.detail-hero .co { font-size: 15px; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.detail-hero h1 { font-size: 23px; margin: 0 0 12px; font-weight: 800; line-height: 1.35; letter-spacing: -.3px; }
.detail-hero .tag-row { display: flex; gap: 6px; }
.detail-hero .wage-box {
    background: var(--navy-soft); border: 1px solid var(--navy-line); border-radius: 8px; padding: 12px 16px; margin-top: 14px;
}
.detail-hero .wage-box .amt { font-size: 20px; font-weight: 800; color: var(--navy); }
.detail-hero .wage-box .unit { font-size: 13px; color: var(--gray); font-weight: 500; }
.info-grid { padding-block: 12px; background: var(--card); border-bottom: 8px solid var(--bg); }
.info-row { display: flex; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.info-row:last-child { border-bottom: none; }
.info-row .k { width: 100px; color: var(--gray); font-weight: 500; }
.info-row .v { flex: 1; font-weight: 600; }
.desc-block { padding-block: 18px; background: var(--card); }
.desc-block.sep { border-top: 8px solid var(--bg); }
.desc-block h3 { font-size: 17px; margin: 0 0 10px; }
.desc-block p { font-size: 15px; line-height: 1.75; color: var(--ink); white-space: pre-line; margin: 0 0 8px; }
.lang-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.sticky-bottom {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #fff; border-top: 1px solid var(--line-soft); padding-block: 12px; display: flex; gap: 10px; z-index: 30;
    box-shadow: 0 -2px 8px rgba(28,35,48,.06);
}
.sticky-bottom .icon-btn { width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px; border: 1.5px solid var(--ink); }
.sticky-bottom .icon-btn:hover { background: var(--yellow-soft); border-color: var(--yellow-dark); color: var(--navy); }

/* option card */
.option-card {
    border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; cursor: pointer; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.option-card:hover { border-color: var(--field-line); box-shadow: var(--shadow); }
.option-card.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: var(--blue-soft); }
.option-card h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 16px; }
.option-card h4 .lucide-icon { color: var(--navy); }
.option-card p { margin: 0; font-size: 14px; color: var(--gray); line-height: 1.55; }
.option-card .badge {
    display: inline-block; background: var(--yellow); color: var(--yellow-ink); font-size: 11.5px; font-weight: 700;
    padding: 2px 8px; border-radius: 4px; vertical-align: middle;
}

/* gate (구독 안내 / 404) */
.gate { text-align: center; padding-top: 50px; }
.gate .lock { display: flex; justify-content: center; margin-bottom: 16px; color: var(--navy); }
.gate h2 { font-size: 19px; margin: 0; }
.gate p { font-size: 14.5px; color: var(--gray); line-height: 1.6; margin: 10px 0 26px; }

/* modal (구독 / 결제) : 모바일 = 바텀시트, 데스크톱 = 가운데 다이얼로그 */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(14,19,27,.55); display: flex; align-items: flex-end; justify-content: center; z-index: 100;
}
.modal-overlay .modal-inner { width: 100%; max-width: 480px; }
.modal-sheet {
    position: relative;
    background: #fff; border-radius: 16px 16px 0 0; padding: 24px 20px 26px; width: 100%; max-height: 85vh; overflow-y: auto;
}
.modal-sheet h2 { margin: 0 0 4px; font-size: 20px; }
.modal-sheet .sub { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.modal-sheet .sub.tight { margin-bottom: 10px; }
.plan-row { display: flex; gap: 10px; margin-bottom: 18px; }
.plan {
    flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 16px 10px; text-align: center; cursor: pointer; position: relative;
}
.plan.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: var(--blue-soft); }
.plan .badge-save { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--yellow-ink); font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.plan .name { font-size: 13.5px; color: var(--gray); font-weight: 600; margin-bottom: 6px; }
.plan .price { font-size: 18px; font-weight: 800; color: var(--navy); }
.plan .per { font-size: 12px; color: var(--gray); }
.pay-methods { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pay-method {
    display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; font-size: 15px; font-weight: 500; cursor: pointer;
}
.pay-method.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: var(--blue-soft); }
.pay-method .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--field-line); flex-shrink: 0; }
.pay-method.selected .radio { border-color: var(--blue); background: radial-gradient(var(--blue) 0 42%, transparent 46%); }
.close-x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray); cursor: pointer; }
.close-x:hover { background: var(--line-soft); }

/* toast */
.toast {
    position: fixed; bottom: 92px; left: 50%; transform: translateX(-50%);
    background: #1C2330; color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 14px; z-index: 200;
    box-shadow: 0 6px 18px rgba(14,19,27,.3); opacity: 0; transition: opacity .25s; pointer-events: none;
    white-space: nowrap; max-width: 90vw;
}
.toast.show { opacity: 1; }

/* language */
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0 6px; }
.lang-opt {
    border: 1px solid var(--line); border-radius: 8px; padding: 13px; text-align: center; font-size: 15px; font-weight: 600; background: #fff; cursor: pointer;
}
.lang-opt:hover { border-color: var(--field-line); }
.lang-opt.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: var(--blue-soft); color: var(--blue-dark); }

/* 안내 문구 (info notice) */
.empty-note { padding: 14px 16px; margin-bottom: 14px; background: #E3F2FB; border: 1px solid #C8E1F7; border-radius: 8px; font-size: 14px; color: #123976; line-height: 1.6; }

/* my page */
.userbar { display: flex; align-items: center; gap: 14px; padding-block: 22px; background: var(--card); border-bottom: 8px solid var(--bg); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.avatar.avatar-sm { width: 34px; height: 34px; font-size: 14px; cursor: pointer; margin-left: 4px; }
.userbar .uname { font-size: 18px; font-weight: 700; }
.userbar .utype { font-size: 14px; color: var(--gray); margin-top: 2px; }
.menu-list { background: var(--card); }
.menu-list.boxed { border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.menu-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; font-weight: 600; cursor: pointer; }
.menu-row:hover { color: var(--navy); }
.menu-list.boxed .menu-row { padding-inline: 16px; }
.menu-list.boxed .menu-row:hover { background: var(--bg); }
.menu-row.last { border-bottom: none; }
.menu-row.danger { color: var(--danger); }
.menu-row .arrow { display: flex; align-items: center; color: var(--gray); }
.menu-row .desc { font-size: 13px; color: var(--gray); font-weight: 400; margin-top: 3px; }

/* signup type */
.type-toggle { display: flex; gap: 10px; margin-bottom: 22px; }
.type-card { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 18px 10px; text-align: center; background: #fff; cursor: pointer; }
.type-card:hover { border-color: var(--field-line); }
.type-card.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: var(--blue-soft); }
.type-card .icon { display: flex; justify-content: center; margin-bottom: 8px; color: var(--navy); }
.type-card .t { font-size: 15px; font-weight: 700; }
.type-card .d { font-size: 12.5px; color: var(--gray); margin-top: 3px; }

/* footer (데스크톱 전용) */
.site-footer { display: none; background: var(--card); border-top: 1px solid var(--line-soft); }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; padding-inline: var(--gutter); }
.site-footer .brand { font-size: 20px; cursor: default; }
.site-footer .copy { font-size: 13px; color: var(--gray); }

/* ---------- 600px 이상 : 검색 입력 + 버튼 한 줄 ---------- */
@media (min-width: 600px) {
    .search-box { flex-direction: row; }
    .search-box .search-input { flex: 1; }
    .btn.btn-search { width: auto; min-width: 128px; }
}

/* ---------- 768px 이상 : 데스크톱 ---------- */
@media (min-width: 768px) {
    #screen { padding-bottom: 48px; }
    .site-header-inner { height: 68px; }
    .site-nav { display: flex; }
    .site-footer { display: block; }
    .bottomnav { display: none; }

    .hero { padding-block: 48px 44px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; }
    .search-banner { padding-block: 28px; }

    .topbar { background: transparent; border-bottom: none; position: static; padding-block: 20px 4px; }
    .topbar .title { text-align: left; font-size: 24px; letter-spacing: -.3px; padding-left: 6px; }

    .quickrow { padding-block: 24px 8px; gap: 12px; }
    .quick { padding: 18px 4px; font-size: 14px; }
    .section-head h2 { font-size: 22px; }

    /* 전체 폭 흰 블록 → 가운데 컬럼의 카드 */
    .detail-hero, .info-grid, .desc-block, .desc-block.sep, .userbar, :where(#screen) > .menu-list {
        margin-inline: var(--gutter); margin-top: 16px; padding-inline: 24px;
        border: 1px solid var(--line-soft); border-radius: 16px;
    }
    .detail-hero h1 { font-size: 28px; }
    .form-wrap {
        margin-inline: var(--gutter-form); margin-top: 12px; padding: 32px;
        background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px;
    }
    .form-wrap.tight { padding-top: 28px; }

    .modal-overlay { align-items: center; }
    .modal-sheet { border-radius: 16px; padding: 28px; box-shadow: 0 12px 40px rgba(14,19,27,.3); }
    .toast { bottom: 40px; }
    .lang-grid { grid-template-columns: repeat(3, 1fr); }
}
