/* ─────────────────────────────────────────────
   플리모아 디자인 시스템 v2
   — 타이포그래피 중심, 절제된 브랜드 컬러(#5F0080)
───────────────────────────────────────────── */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --purple: #5F0080;
  --purple-dark: #47005F;
  --purple-soft: #8B4DB8;
  --purple-light: #E9DDF3;
  --purple-bg: #F7F3FB;
  --ink: #17131F;
  --ink-2: #4A4553;
  --gray: #8A8694;
  --gray-2: #B5B1BE;
  --line: #EEECF1;
  --bg: #FFFFFF;
  --bg-soft: #F8F7FA;
  --green: #0E9F5A;
  --green-bg: #E9F8F0;
  --red: #F04452;
  --red-bg: #FDEBED;
  --amber: #B45309;
  --amber-bg: #FDF3E3;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  background: #EFEDF2;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum";
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; color: inherit; }
img { max-width: 100%; }

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  padding-bottom: 84px;
}

/* ── SVG 아이콘 ── */
.ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-sm { width: 16px; height: 16px; }
.ic-fill { fill: currentColor; stroke: none; }

/* ── 상단 앱바 ── */
.appbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; min-height: 56px;
}
.appbar.line { border-bottom: 1px solid var(--line); }
.appbar-title { font-size: 17px; font-weight: 700; letter-spacing: -0.4px; }
.logo { display: flex; align-items: center; gap: 7px; }
.brand-img { display: block; width: auto; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--purple);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 13px;
}
.logo-type { font-size: 19px; font-weight: 800; letter-spacing: -0.5px; color: var(--purple); }
.appbar-actions { display: flex; gap: 2px; }
/* hidden 속성은 어떤 display 규칙보다 우선 (숨김 무시 버그 방지) */
[hidden] { display: none !important; }
.icon-btn {
  width: 40px; height: 40px; border: none; background: none; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer; position: relative;
  color: var(--ink);
}
.icon-btn:active { background: var(--bg-soft); }
.badge-dot {
  position: absolute; top: 9px; right: 10px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--red); border: 1.5px solid #fff;
}
.back-btn { margin-left: -10px; }

/* ── 검색 ── */
.search-wrap { padding: 2px 20px 12px; }
.search {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 12px; padding: 12px 14px;
  color: var(--gray); font-size: 14.5px;
}
.search:focus-within { border-color: var(--purple-light); background: #fff; }
.search input { border: none; background: none; outline: none; flex: 1; font-size: 14.5px; color: var(--ink); }
.search input::placeholder { color: var(--gray-2); }

/* ── 홈 헤드라인 ── */
.home-head { padding: 8px 20px 4px; }
.home-head .eyebrow {
  font-size: 14px; font-weight: 700; color: var(--purple);
  letter-spacing: -0.2px; margin-bottom: 9px;
}
.home-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.32; }
.home-head h1 em { font-style: normal; color: var(--purple); }
.home-head p { font-size: 13.5px; color: var(--gray); margin-top: 6px; }

/* ── 프로모 배너 ── */
.promo {
  margin: 14px 20px 0; padding: 18px 20px;
  background: var(--purple-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer;
}
.promo .t { font-size: 14.5px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.45; }
.promo .t b { color: var(--purple); }
.promo .s { font-size: 12px; color: var(--gray); margin-top: 4px; }
.promo .arrow { color: var(--purple); }

/* ── 역할 카드 (컴팩트) ── */
.role-cta { display: flex; gap: 10px; padding: 16px 20px 0; }
.role-card {
  flex: 1; border-radius: var(--radius); padding: 15px 16px;
  border: 1px solid var(--line); background: var(--bg);
  cursor: pointer; transition: transform .08s; color: inherit; display: block;
}
.role-card:active { transform: scale(.98); }
.role-card .ic-wrap {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--purple-bg); color: var(--purple); margin-bottom: 10px;
}
.role-card h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.3px; }
.role-card p { font-size: 12px; color: var(--gray); margin-top: 3px; line-height: 1.45; }

/* ── 섹션 ── */
section { padding: 26px 20px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.sec-head h2 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.5px; }
.sec-head a { font-size: 12.5px; color: var(--gray); display: flex; align-items: center; gap: 2px; }

/* ── 칩 ── */
.chips { display: flex; gap: 7px; overflow-x: auto; padding: 14px 20px 0; scrollbar-width: none; }
.chips.tight { padding-top: 8px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; font-size: 13px; font-weight: 600;
  padding: 8px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-2);
  cursor: pointer; white-space: nowrap;
}
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── 가로 스크롤 마켓 카드 ── */
.h-scroll { display: flex; gap: 11px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; }
.h-scroll::-webkit-scrollbar { display: none; }
/* 2줄 가로 스크롤 (인기 마켓) */
.h-scroll.two-row {
  display: grid; grid-template-rows: auto auto; grid-auto-flow: column;
  grid-auto-columns: 216px; gap: 11px;
}
.market-card {
  flex-shrink: 0; width: 216px; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; background: var(--bg); cursor: pointer;
  display: block; color: inherit;
}
.market-card:active { background: var(--bg-soft); }
/* 큰 카드 세로 리스트 (인기 마켓) */
.market-list { display: grid; gap: 12px; }
.market-list .market-card { width: 100%; }
.market-list .market-thumb { height: 170px; }
/* 모바일: 인기 마켓 5개까지만 노출 */
.market-list .market-card:nth-child(n+6) { display: none; }
.market-thumb { height: 104px; position: relative; display: grid; place-items: center; font-size: 34px; }
.t1 { background: linear-gradient(150deg, #F1E8F8, #DCC8EC); }
.t2 { background: linear-gradient(150deg, #FBEFF6, #F2D3E5); }
.t3 { background: linear-gradient(150deg, #EAF0FB, #CFDDF4); }
.t4 { background: linear-gradient(150deg, #FBF2E4, #F2DFBB); }
.dday {
  position: absolute; top: 10px; left: 10px;
  background: rgba(23,19,31,.82); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 7px; padding: 4px 8px; backdrop-filter: blur(4px);
}
.dday.urgent { background: var(--red); }
.market-body { padding: 12px 14px 14px; }
.market-body h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.3px; }
.market-meta { font-size: 12px; color: var(--gray); margin-top: 4px; line-height: 1.5; }
.market-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.booth-left { font-size: 12px; font-weight: 700; color: var(--purple); }
.progress { flex: 1; height: 4px; background: var(--line); border-radius: 2px; margin-left: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--purple); border-radius: 2px; }

/* ── 리스트 카드 ── */
.list-card {
  display: flex; gap: 13px; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  cursor: pointer; background: var(--bg); color: inherit;
}
.list-card:active { background: var(--bg-soft); }
.list-card:last-child { border-bottom: none; }
.list-thumb {
  width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 22px; background: var(--bg-soft);
}
.list-info { flex: 1; min-width: 0; }
.list-info h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-info p { font-size: 12.5px; color: var(--gray); margin-top: 3px; }
.tag-row { display: flex; gap: 4px; margin-top: 7px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: var(--bg-soft); color: var(--ink-2); }
.tag.purple { background: var(--purple-bg); color: var(--purple); }
.tag.green { background: var(--green-bg); color: var(--green); }
.tag.red { background: var(--red-bg); color: var(--red); }
.tag.amber { background: var(--amber-bg); color: var(--amber); }
.tag.gray { background: var(--bg-soft); color: var(--gray); }
.list-right { text-align: right; flex-shrink: 0; }
.list-right .d { font-size: 13px; font-weight: 800; color: var(--purple); }
.list-right .d.urgent { color: var(--red); }
.list-right .s { font-size: 11.5px; color: var(--gray); margin-top: 4px; }

/* ── 버튼 ── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; text-align: center;
  padding: 15px; border-radius: 12px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: -0.3px;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:active { background: var(--purple-dark); }
.btn-ghost { background: var(--purple-bg); color: var(--purple); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 9px 14px; width: auto; font-size: 13px; border-radius: 10px; }
.btn-row { display: flex; gap: 10px; }

/* ── 고정 하단 CTA ── */
.cta-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 30;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
}

/* ── 폼 ── */
.form { padding: 8px 20px 20px; }
.form-card {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 18px 8px; margin-bottom: 14px; background: #fff;
}
.form-card > h3 {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 800; letter-spacing: -0.3px;
  margin-bottom: 18px;
}
.form-card > h3 .num {
  width: 23px; height: 23px; border-radius: 8px; flex-shrink: 0;
  background: var(--purple); color: #fff;
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.field label .req { color: var(--red); }
.field input[type="text"], .field input[type="number"], .field input[type="date"],
.field input[type="time"], .field input[type="password"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; min-height: 52px; padding: 15px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 15px; font-family: inherit; color: var(--ink); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); }
.field textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.field .hint { font-size: 12px; color: var(--gray); margin-top: 6px; }
/* PC 상단바 프로필 드롭다운 */
.tb-avatar-btn { border: none; background: none; padding: 0; cursor: pointer; display: flex; border-radius: 50%; }
.tb-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 300;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(20, 10, 30, 0.12); min-width: 150px; padding: 6px;
}
.tb-menu a, .tb-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  border: none; background: none; border-radius: 8px; cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.tb-menu a:hover, .tb-menu button:hover { background: var(--bg-soft); }
.tb-menu .danger { color: var(--red); }

/* 모집 마감 마켓: 흐림 처리 */
.list-card.closed { opacity: 0.5; }
.list-card.closed .list-thumb { filter: grayscale(0.6); }

/* 메인 탭 상단바 우측 메뉴명 */
.appbar-page { font-size: 15.5px; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); }

.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; min-width: 0; }
.field-row .field input, .field-row .field select { min-width: 0; max-width: 100%; }
.select-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.select-card {
  flex: 1 0 auto; white-space: nowrap; text-align: center; padding: 13px 12px; border-radius: 12px;
  border: 1px solid var(--line); cursor: pointer; font-size: 13.5px; font-weight: 600;
  background: #fff; color: var(--ink-2);
}
.select-card.on { border-color: var(--purple); background: var(--purple-bg); color: var(--purple); font-weight: 700; }
/* 칩 줄 안의 직접 추가 입력 (알약형) */
.chip-add {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1.5px dashed var(--gray-2); border-radius: 999px;
  padding: 3px 4px 3px 11px; background: var(--bg-soft);
}
.chip-add:focus-within { border-color: var(--purple); border-style: solid; background: #fff; }
.chip-add .plus { display: flex; color: var(--gray); }
.chip-add .plus .ic { width: 14px; height: 14px; }
.field .chip-add input, .chip-add input {
  width: 88px; min-height: 0; height: auto; padding: 4px 0;
  border: none; border-radius: 0; background: none; outline: none;
  font-size: 13px; font-weight: 600; color: var(--ink); font-family: inherit;
}
.chip-add input::placeholder { color: var(--gray-2); font-weight: 500; }
.chip-add button {
  border: none; background: var(--purple); color: #fff;
  font-size: 12px; font-weight: 700; font-family: inherit;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.chip-add button:active { background: var(--purple-dark); }

/* 추가 사진 타일 */
.photos-grid { display: flex; gap: 9px; flex-wrap: wrap; }
.photo-thumb { position: relative; }
.photo-thumb img {
  width: 78px; height: 78px; object-fit: cover;
  border-radius: 11px; display: block; border: 1px solid var(--line);
}
.photo-thumb button {
  position: absolute; top: -7px; right: -7px;
  width: 22px; height: 22px; border-radius: 50%;
  border: none; background: var(--ink); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.photo-thumb button .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.photo-add {
  width: 78px; height: 78px; border-radius: 11px;
  border: 1.5px dashed var(--gray-2); background: var(--bg-soft);
  display: grid; place-items: center; color: var(--gray); cursor: pointer;
}

/* 상세 갤러리 스트립 */
.gallery-strip { display: flex; gap: 8px; padding: 12px 20px 0; overflow-x: auto; scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip img {
  width: 68px; height: 50px; object-fit: cover; border-radius: 8px;
  cursor: pointer; border: 2px solid transparent; flex-shrink: 0;
}
.gallery-strip img.on { border-color: var(--purple); }

.upload-box {
  border: 1px dashed var(--gray-2); border-radius: 12px;
  padding: 28px; text-align: center; color: var(--gray); font-size: 13px;
  background: var(--bg-soft); cursor: pointer;
}
.upload-box .big { font-size: 22px; display: block; margin-bottom: 8px; }

/* ── 하단 내비게이션 ── */
/* ── 햄버거 버튼 + 슬라이드 메뉴 (모바일) ── */
.ham-btn {
  position: fixed; top: 9px; right: 14px; z-index: 60;
  width: 40px; height: 40px; border-radius: 11px; border: none;
  background: rgba(255,255,255,.75); backdrop-filter: blur(6px);
  color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.ham-btn .ic { width: 24px; height: 24px; }
.ham-dot {
  position: absolute; top: 8px; right: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--purple); border: 1.5px solid #fff;
}
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(20,10,30,.4);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71;
  width: 82%; max-width: 320px;
  background: #fff; box-shadow: -8px 0 30px rgba(20,10,30,.15);
  display: flex; flex-direction: column;
  animation: drawerIn .2s ease;
}
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line);
}
.drawer-title { font-size: 16px; font-weight: 800; }
.drawer-top { padding: 16px 20px; border-bottom: 8px solid var(--bg-soft); }
.drawer-user { display: flex; align-items: center; gap: 12px; }
.drawer-user .du-name { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.drawer-user .du-edit { font-size: 12px; color: var(--purple); font-weight: 700; margin-top: 3px; display: inline-block; }
.drawer-guest p { font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.5; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer-item {
  display: flex; align-items: center; gap: 13px; position: relative;
  padding: 14px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.drawer-item .ic { width: 21px; height: 21px; color: var(--gray); }
.drawer-item.on { color: var(--purple); background: var(--purple-bg); }
.drawer-item.on .ic { color: var(--purple); }
.drawer-item .nav-badge { position: static; margin-left: 2px; }
.drawer-bottom { padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-logout {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 13.5px; font-weight: 700; color: var(--red);
  cursor: pointer; font-family: inherit; margin-bottom: 12px;
}
.drawer-links { display: flex; gap: 14px; font-size: 12px; color: var(--gray); }
.drawer-links a:hover { color: var(--purple); }

/* ── 상세 페이지 ── */
.detail-hero { height: 200px; display: grid; place-items: center; font-size: 56px; position: relative; }
.detail-hero .dday { top: 16px; left: 20px; font-size: 12px; }
.detail-body { padding: 20px; }
.detail-body h1 { font-size: 21px; font-weight: 800; letter-spacing: -0.6px; }
.host-row {
  display: flex; align-items: center; gap: 11px; margin-top: 16px;
  padding: 13px 14px; background: var(--bg-soft); border-radius: 12px;
}
.host-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 17px; }
.host-row .name { font-size: 13.5px; font-weight: 700; }
.host-row .sub { font-size: 11.5px; color: var(--gray); margin-top: 2px; }
.host-row .follow { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--purple); background: #fff; border: 1px solid var(--purple-light); border-radius: 10px; padding: 8px 13px; cursor: pointer; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.info-cell { background: var(--bg-soft); border-radius: 12px; padding: 13px 14px; }
.info-cell .k { font-size: 11.5px; color: var(--gray); }
.info-cell .v { font-size: 13.5px; font-weight: 700; margin-top: 4px; letter-spacing: -0.3px; line-height: 1.4; }
.detail-desc { margin-top: 20px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.map-box {
  margin-top: 18px; height: 140px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gray); font-size: 13px;
}
.divider-8 { height: 8px; background: var(--bg-soft); margin: 22px -20px; }

/* ── 채팅 ── */
.chat-item { display: flex; gap: 12px; padding: 15px 20px; cursor: pointer; align-items: center; }
.chat-item:active { background: var(--bg-soft); }
.chat-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.chat-info { flex: 1; min-width: 0; }
.chat-info .top { display: flex; align-items: center; gap: 6px; }
.chat-info .name { font-size: 14.5px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-info .top .tag { flex-shrink: 0; white-space: nowrap; }
.chat-info .time { font-size: 11.5px; color: var(--gray-2); margin-left: auto; flex-shrink: 0; white-space: nowrap; }
.chat-info .msg { font-size: 13px; color: var(--gray); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-unread {
  min-width: 19px; height: 19px; padding: 0 6px; border-radius: 10px;
  background: var(--purple); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; flex-shrink: 0;
}
.chat-item.unread .name { font-weight: 800; }
.chat-item.unread .msg { color: var(--ink); font-weight: 600; }

/* ── 마이페이지 ── */
.profile-card { display: flex; align-items: center; gap: 14px; padding: 22px 20px; }
.profile-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.profile-card h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.4px; }
.profile-card p { font-size: 12.5px; color: var(--gray); margin-top: 3px; }
.role-switch {
  margin: 0 20px; display: flex; background: var(--bg-soft); border-radius: 12px; padding: 4px;
}
.role-switch button {
  flex: 1; padding: 11px; border: none; border-radius: 9px; cursor: pointer;
  font-size: 13.5px; font-weight: 700; background: none; color: var(--gray);
}
.role-switch button.on { background: #fff; color: var(--purple); box-shadow: 0 1px 6px rgba(23,19,31,.08); }
.stat-row { display: flex; margin: 16px 20px 0; background: var(--bg-soft); border-radius: var(--radius); padding: 17px 0; }
.stat { flex: 1; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n { font-size: 18px; font-weight: 800; color: var(--ink); }
.stat .k { font-size: 11.5px; color: var(--gray); margin-top: 3px; }
.menu-list { padding: 6px 0; }
.menu-item {
  display: flex; align-items: center; gap: 13px; padding: 15px 20px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; color: inherit;
}
.menu-item:active { background: var(--bg-soft); }
.menu-item .ic { color: var(--ink-2); }
.menu-item .arrow { margin-left: auto; color: var(--gray-2); }

/* ── 운영자 대시보드 ── */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 14px 20px 0; }
.dash-cell {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px;
  background: var(--bg);
}
.dash-cell.accent { background: var(--purple); border-color: var(--purple); color: #fff; }
.dash-cell .k { font-size: 12px; color: var(--gray); font-weight: 600; }
.dash-cell.accent .k { color: rgba(255,255,255,.75); }
.dash-cell .n { font-size: 23px; font-weight: 800; margin-top: 7px; letter-spacing: -0.5px; }
.dash-cell .n small { font-size: 13px; font-weight: 700; margin-left: 3px; }
.dash-cell .sub { font-size: 11.5px; margin-top: 3px; color: var(--gray); }
.dash-cell.accent .sub { color: rgba(255,255,255,.75); }
.quick-row { display: flex; gap: 9px; padding: 14px 20px 0; }
.quick-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 15px 6px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.quick-btn:active { background: var(--bg-soft); }
.quick-btn .ic-wrap {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--purple-bg); color: var(--purple);
}
.my-market {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  margin-bottom: 10px; background: var(--bg); display: block; color: inherit;
}
.my-market .top { display: flex; justify-content: space-between; align-items: flex-start; }
.my-market h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.3px; }
.my-market .date { font-size: 12.5px; color: var(--gray); margin-top: 3px; }
.my-market .row { display: flex; align-items: center; gap: 10px; margin-top: 13px; }
.my-market .pct { font-size: 12.5px; font-weight: 700; color: var(--purple); flex-shrink: 0; }
.my-market .foot { display: flex; gap: 8px; margin-top: 13px; }
.my-market .foot .btn { white-space: nowrap; padding-left: 8px; padding-right: 8px; }
.applicant {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.applicant:last-child { border-bottom: none; }
.applicant .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.applicant .info { flex: 1; min-width: 0; }
.applicant .name { font-size: 14px; font-weight: 700; }
.applicant .sub { font-size: 12px; color: var(--gray); margin-top: 2px; }
/* 모바일: 이름·정보는 첫 줄, 상태·버튼은 둘째 줄로 (버튼 짓눌림 방지) */
@media (max-width: 1023px) {
  .applicant { flex-wrap: wrap; row-gap: 6px; }
  .applicant .info { flex: 1 1 55%; min-width: 55%; }
  .applicant .btn { width: auto; flex: 1 1 auto; white-space: nowrap; }
  .applicant .tag { white-space: nowrap; }
}

/* ── 기타 ── */
.footer-banner {
  margin: 26px 20px 8px; border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 17px 18px; display: flex; align-items: center; gap: 13px; cursor: pointer;
}
.footer-banner .ic-wrap { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--purple); flex-shrink: 0; }
.footer-banner h3 { font-size: 14px; font-weight: 700; letter-spacing: -0.3px; }
.footer-banner p { font-size: 12px; color: var(--gray); margin-top: 2px; }

.empty { text-align: center; padding: 60px 20px; color: var(--gray); font-size: 13.5px; line-height: 1.7; }
.empty .big { font-size: 34px; display: block; margin-bottom: 12px; }

.sellers { display: flex; gap: 15px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
.sellers::-webkit-scrollbar { display: none; }
.seller { flex-shrink: 0; width: 68px; text-align: center; cursor: pointer; }
.seller-avatar {
  width: 60px; height: 60px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.seller.hot .seller-avatar { border: 2px solid var(--purple); }
.seller p { font-size: 12px; font-weight: 600; margin-top: 7px; letter-spacing: -0.2px; }
.seller span { font-size: 10.5px; color: var(--gray); }

/* ── 바텀시트 (지역 선택 등) ── */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; }
.sheet-wrap[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(23,19,31,.45); }
.sheet {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column; max-height: 78dvh;
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 12px;
}
.sheet-head b { font-size: 16.5px; font-weight: 800; letter-spacing: -0.4px; }
.sheet-body { flex: 1; overflow: hidden; }
.region-cols { display: grid; grid-template-columns: 132px 1fr; height: 340px; border-top: 1px solid var(--line); }
.region-cols ul { list-style: none; overflow-y: auto; }
.region-cols ul:first-child { background: var(--bg-soft); border-right: 1px solid var(--line); }
.region-cols li {
  padding: 13px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.region-cols li .cnt { font-size: 11.5px; color: var(--gray-2); font-weight: 700; }
.region-cols ul:first-child li.on { background: #fff; color: var(--purple); font-weight: 800; }
.region-cols ul:last-child li.on { color: var(--purple); font-weight: 800; }
.region-cols ul:last-child li.on::after { content: "✓"; font-weight: 800; }
.sheet-foot {
  display: flex; gap: 10px; padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.chip .caret { display: inline-block; margin-left: 3px; font-size: 10px; }

/* ── 커스텀 모달 (confirm/alert 대체) ── */
.modal-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.modal-wrap[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 19, 31, .45); }
.modal-card {
  position: relative; width: 100%; max-width: 340px;
  background: #fff; border-radius: 18px; padding: 28px 22px 18px;
  box-shadow: 0 20px 60px rgba(23, 19, 31, .25);
  animation: modalPop .16s ease;
}
@keyframes modalPop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-msg {
  font-size: 14.5px; line-height: 1.65; color: var(--ink);
  text-align: center; font-weight: 600; letter-spacing: -0.2px;
}
.modal-btns { display: flex; gap: 9px; margin-top: 22px; }
.modal-btns .btn { flex: 1; padding: 13px; }

/* ── 문의 안읽음 뱃지 ── */
.nav-badge {
  position: absolute;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--purple); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.tb-links a { position: relative; }
.tb-links .nav-badge { top: -7px; right: -7px; }
.nav-item { position: relative; }
.nav-item .nav-badge { top: 0; left: calc(50% + 2px); }
.chip.region-on { background: var(--purple-bg); border-color: var(--purple-light); color: var(--purple); font-weight: 700; }

@media (min-width: 1024px) {
  .sheet {
    bottom: auto; top: 50%; transform: translate(-50%, -50%);
    border-radius: 18px; max-width: 460px; box-shadow: 0 20px 60px rgba(23,19,31,.2);
  }
  .sheet-foot { border-radius: 0 0 18px 18px; }
}

/* ── 인기 마켓 랭킹 카드 ── */
.rank-num {
  position: absolute; left: 12px; bottom: 4px;
  font-size: 38px; font-weight: 800; line-height: 1;
  color: #fff; letter-spacing: -2px;
  text-shadow: 0 2px 10px rgba(23, 19, 31, .3);
  font-feature-settings: "tnum";
}
.market-card .views {
  font-size: 11.5px; color: var(--gray); font-weight: 600;
}
.market-card .views b { color: var(--purple); font-weight: 700; }

/* ── 사이트 푸터 ── */
.site-footer {
  margin-top: 52px;
  background: var(--bg-soft); border-top: 1px solid var(--line);
  /* 모바일: 고정 하단탭 밑까지 배경이 이어지도록 */
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
}
/* 푸터가 있는 페이지는 컨테이너 하단 여백 제거 (푸터가 끝까지 참) */
.app:has(.site-footer) { padding-bottom: 0; }
/* 콘텐츠가 짧아도 푸터가 항상 화면 바닥에 붙도록 */
.app:has(> #nav) { display: flex; flex-direction: column; }
.app:has(> #nav) > * { min-width: 0; }
.app > #nav { margin-top: auto; }
.site-footer .brand-word { font-size: 17px; }
.site-footer .f-links {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin: 16px 0 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-2);
}
.site-footer .f-links a { display: inline-block; padding: 6px 0; margin: -6px 0; }
.site-footer .f-links a:hover { color: var(--purple); }
.site-footer .f-info { font-size: 11.5px; color: var(--gray); line-height: 1.85; }
.site-footer .f-copy { font-size: 11px; color: var(--gray-2); margin-top: 14px; }
@media (min-width: 1024px) {
  /* PC: 뷰포트 전체 폭으로 브레이크아웃, 내부 콘텐츠는 1080 컨테이너에 정렬 */
  .site-footer {
    width: 100vw; margin: 64px 0 0 calc(50% - 50vw);
    padding: 36px max(36px, calc(50vw - 504px)) 46px;
    border-top: 1px solid var(--line);
  }
}

/* ── 스켈레톤 로딩 ── */
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 25%, #F0EEF3 50%, var(--bg-soft) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 10px;
}
.sk-card { height: 84px; margin-bottom: 10px; border-radius: var(--radius); }

/* ── 이니셜 아바타/썸네일 ── */
.avatar-init {
  display: grid; place-items: center; border-radius: 50%;
  color: #fff; font-weight: 700; flex-shrink: 0; letter-spacing: -0.5px;
}
.thumb-init {
  font-size: 24px; font-weight: 800; letter-spacing: -1px;
  color: rgba(95, 0, 128, .38);
}
.market-thumb .thumb-init { font-size: 32px; }
.detail-hero .thumb-init { font-size: 52px; color: rgba(95, 0, 128, .30); }

/* ── 단계 표시 ── */
.steps { display: flex; gap: 6px; padding: 16px 20px 0; }
.steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); }
.steps i.on { background: var(--purple); }
.steps-label { padding: 10px 20px 0; font-size: 12px; color: var(--gray); font-weight: 600; }

/* ── 성공 화면 ── */
.done-wrap { text-align: center; padding: 90px 28px 40px; }
.done-wrap .check-circle {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--purple-bg); color: var(--purple);
  display: grid; place-items: center;
}
.done-wrap .check-circle .ic { width: 30px; height: 30px; stroke-width: 2.2; }
.done-wrap h1 { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.done-wrap p { font-size: 13.5px; color: var(--gray); margin-top: 10px; line-height: 1.65; }

/* ── 상세 2단 (모바일에선 사이드 카드 숨김) ── */
.detail-aside { display: none; }

/* ── 채팅방 ── */
.chat-market-banner {
  display: flex; gap: 8px; align-items: center;
  padding: 11px 18px; background: var(--purple-bg);
  font-size: 12.5px; color: var(--ink-2);
}
.chat-market-banner b { color: var(--purple); }
.chat-room-body {
  padding: 14px 16px 100px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 55dvh;
}
.msg-row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.msg-row.me { align-items: flex-end; }
.msg-row .who { font-size: 11px; color: var(--gray); padding: 0 5px; font-weight: 600; }
.bubble {
  max-width: 78%; padding: 10px 14px;
  border-radius: 16px; border-top-left-radius: 5px;
  background: var(--bg-soft); font-size: 14px; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word;
  -webkit-user-select: text; user-select: text; -webkit-touch-callout: default;
}
.post-body { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.msg-row.me .bubble {
  background: var(--purple); color: #fff;
  border-radius: 16px; border-top-right-radius: 5px;
}
.msg-time { font-size: 10.5px; color: var(--gray-2); padding: 0 5px; }
.chat-input-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 30;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
/* 운영자 빠른 문구 (대화 입력창 위) */
.quick-phrases {
  width: 100%; display: none; gap: 7px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 3px;
}
.quick-phrases.show { display: flex; }
.quick-phrases::-webkit-scrollbar { display: none; }
.qp-chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); font-size: 12px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.qp-chip.add { color: var(--purple); border-style: dashed; background: #fff; }
.qp-chip .qp-x { color: var(--gray-2); font-weight: 800; padding: 0 2px; }
.chat-input-bar input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 17px; font-size: 14px; outline: none; font-family: inherit;
  background: var(--bg-soft);
}
.chat-input-bar input:focus { border-color: var(--purple-light); background: #fff; }
.send-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--purple); color: #fff;
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
}
.send-btn:disabled { background: var(--gray-2); }
.send-btn .ic { width: 19px; height: 19px; }

/* ─────────────────────────────────────────────
   데스크톱 (1024px 이상)
───────────────────────────────────────────── */
.topbar { display: none; }

@media (min-width: 1024px) {
  body { background: #fff; }

  /* 상단바 */
  .topbar {
    display: block; position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; gap: 34px;
    padding: 13px 36px;
  }
  .tb-links { display: flex; gap: 26px; }
  .tb-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 6px 2px; }
  .tb-links a:hover { color: var(--ink); }
  .tb-links a.on { color: var(--purple); font-weight: 700; }
  .topbar .btn-sm { padding: 10px 18px; }
  .tb-auth { display: flex; align-items: center; gap: 12px; }

  /* 레이아웃: 모바일 컬럼 → 넓은 컨테이너 */
  .app {
    max-width: 1080px; padding: 22px 36px 80px;
    box-shadow: none;
  }
  .bottom-nav { display: none; }
  .ham-btn, .drawer, .drawer-backdrop { display: none !important; }
  .app > .appbar { display: none; }
  .app.flow > .appbar { display: flex; padding-left: 0; padding-right: 0; }

  /* 모든 페이지 컨테이너 폭 1080 통일 — 하단 고정 바도 동일 폭 */
  .cta-bar, .chat-input-bar { max-width: 1080px; border-radius: 14px 14px 0 0; }

  /* 플로우 페이지(지원서·마켓등록·채팅방·인증): 컨테이너는 1080,
     내부 콘텐츠는 전부 860 중앙 컬럼으로 통일 정렬 (헤더·카드·폼·완료화면 포함) */
  .app.flow > * { max-width: 860px; margin-left: auto; margin-right: auto; }
  .app.flow .cta-bar, .app.flow .chat-input-bar { max-width: 860px; }

  /* 인증 페이지: 중앙 정렬 카드형 (컨테이너는 1080 동일) */
  .auth-grid { display: flex; flex-direction: column; align-items: center; padding: 46px 0 80px; }
  .auth-left { padding-top: 0; text-align: center; }
  .auth-left .logo { justify-content: center; }
  .auth-card {
    width: 100%; max-width: 480px; margin-top: 26px;
    border: 1px solid var(--line); border-radius: 18px; padding: 32px;
    box-shadow: 0 10px 30px rgba(23,19,31,.06);
  }

  /* 홈 헤드라인 */
  .home-head { padding-top: 8px; }
  .home-head h1 { font-size: 32px; }
  .home-head .eyebrow { font-size: 15px; }
  .home-head h1 br { display: none; }

  /* 가로 스크롤 → 그리드 */
  .h-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; overflow: visible; }
  .h-scroll.two-row { grid-template-rows: none; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); }
  .market-card { width: auto; }
  /* 인기 마켓 큰 카드: 데스크톱은 3열, 9개 전부 노출 */
  .market-list { grid-template-columns: repeat(3, 1fr); }
  .market-list .market-thumb { height: 150px; }
  .market-list .market-card:nth-child(n+6) { display: block; }
  .market-card:hover { border-color: var(--purple-light); box-shadow: 0 6px 18px rgba(95,0,128,.07); }
  .market-thumb { height: 128px; }

  /* 리스트 → 2열 카드 그리드 */
  .d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .d-grid .list-card, .d-grid > .list-card {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  }
  .d-grid .list-card:hover { border-color: var(--purple-light); box-shadow: 0 6px 18px rgba(95,0,128,.07); }
  .d-grid .chat-item { border: 1px solid var(--line); border-radius: var(--radius); }

  /* 운영자 대시보드 */
  .dash-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; }
  .dash-cell { padding: 22px 24px; }
  .dash-cell .k { font-size: 13px; }
  .dash-cell .n { font-size: 30px; margin-top: 10px; }
  .dash-cell .n small { font-size: 15px; margin-left: 4px; }
  .dash-cell .sub { font-size: 12.5px; margin-top: 7px; }
  .quick-row { max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 16px; }
  .quick-btn { flex-direction: row; gap: 12px; padding: 18px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
  .quick-btn .ic-wrap { width: 40px; height: 40px; }
  #myMarkets.d-grid { grid-template-columns: 1fr 1fr; }

  /* 상세 페이지 */
  .detail-hero { height: 300px; border-radius: var(--radius); margin-top: 16px; }
  .detail-hero .thumb-init { font-size: 76px; }
  .divider-8 { margin: 26px 0; border-radius: 4px; }

  /* 좁은 콘텐츠 페이지 (마이페이지 등): 컨테이너 자체를 줄여 내부 요소 전부 동일 폭 */
  .app.narrow { max-width: 860px; }

  /* 채팅방 */
  .chat-room-body { min-height: 60dvh; }
  .bubble { max-width: 60%; }

  /* 호버 상태 */
  .list-card:active, .chat-item:active, .market-card:active { transform: none; }
  .btn:hover { filter: brightness(1.05); }
  .chip { cursor: pointer; }
  .chip:hover { border-color: var(--gray-2); }

  /* 칩: 가로 스크롤 대신 줄바꿈 */
  .chips { flex-wrap: wrap; overflow-x: visible; }
  .d-grid .empty, .d-grid .skeleton { grid-column: 1 / -1; }

  /* 상세 페이지: 본문 + 우측 고정 지원 카드 2단 */
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .app.detail-page > .appbar { display: none; }
  .detail-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px; align-items: start;
  }
  .detail-aside { display: block; position: sticky; top: 86px; }
  .aside-card {
    border: 1px solid var(--line); border-radius: 16px; padding: 24px;
    box-shadow: 0 8px 24px rgba(23,19,31,.05);
  }
  .app.detail-page .cta-bar { display: none; }
  .app.detail-page .detail-hero { height: 320px; border-radius: var(--radius); margin-top: 4px; }
  .app.detail-page .detail-body { padding: 24px 0 0; }
  .app.detail-page .gallery-strip { padding: 12px 0 0; }
  .gallery-strip img { width: 84px; height: 60px; }
  .app.detail-page .divider-8 { margin: 26px 0; }

  .done-wrap { padding-top: 110px; }
}

/* ── 구버전 호환 (히어로) ── */
.hero-wrap { padding: 0 20px; }
.hero {
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(120deg, var(--purple) 20%, var(--purple-dark) 100%);
  color: #fff; padding: 24px 22px; position: relative;
}
.hero h1 { font-size: 20px; font-weight: 800; line-height: 1.35; letter-spacing: -0.4px; }
.hero p { margin-top: 8px; font-size: 13px; opacity: .85; }
