:root {
  /* 육진대 팔레트. 출처: 로고 파랑(yukjindae-web/public/links/index.html --blue #1F5AA6,
     --blue-deep #163F78, --ink #14213A), 크림·골드·흐린 글자색(yukjindae-web/public/index.html
     --cream #FBF3EC, --gold #F0C36B, --muted #6f6460). */
  --color-primary: #1F5AA6;
  --color-primary-dark: #163F78;
  --color-accent: #163F78;
  --color-bg: #FBF3EC;
  --color-surface: #FBF3EC;
  --color-text: #14213A;
  --color-white: #FFFFFF;
  --color-border: #EFE4D6;
  --color-text-secondary: #6f6460;
  --color-warm: #F0C36B;
  --radius: 20px;
  --radius-lg: 24px;
  --shadow: 0 4px 14px rgba(22, 63, 120, 0.08);
  --shadow-float: 0 6px 18px rgba(22, 63, 120, 0.12);
  --max-width: 480px;
  --tabbar-height: 60px;
  --color-acc: #F0C36B;
  --color-acc-deep: #163F78;
  --font-display: "Jua", "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif;
}

* {
  box-sizing: border-box;
}

/* 브라우저 기본 버튼 테두리(2px outset)가 칩에 검은 테두리로 보이지 않게 끈다.
   테두리가 필요한 곳은 클래스 규칙이 다시 준다. */
button {
  border: 0;
}

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
  background: var(--color-bg);
  color: var(--color-text);
}

.app {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--color-bg);
  padding-bottom: var(--tabbar-height);
  position: relative;
}

/* Splash screen */
.splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100%;
  height: 100dvh;
  background: var(--color-bg);
  transition: opacity 0.4s ease;
}

.splash__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.splash--hide {
  opacity: 0;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 16px;
  background: var(--color-primary);
  border-radius: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  /* min-width:0 이 없으면 flex 항목이 내용 크기 아래로 못 줄어든다 —
     그래서 제목이 줄바꿈으로 삐져나갔다. */
  min-width: 0;
  flex: 1 1 auto;
}

.header__logo {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  background: var(--color-white);
  border-radius: 50%;
  padding: 4px;
  object-fit: contain;
}

.header--home .header__logo {
  height: 28px;
  width: 28px;
}

.header__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  user-select: none;
  -webkit-user-select: none;
  /* 390px 폭에서 "by 육진대"가 "육진 / 대"로 쪼개져 두 줄이 됐다.
     제목은 한 줄로 두고, 자리가 모자라면 브랜드 블록이 줄어들게 한다. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* flex 항목의 기본 min-width 는 auto 라 내용보다 작아지지 않는다.
     이게 없으면 nowrap 을 줘도 부모를 밀어내며 줄바꿈이 남는다. */
  min-width: 0;
}

.header__subtitle {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* 좁은 폰에서는 헤더 아이콘 넷과 설치 버튼이 자리를 다 쓴다.
   "by 육진대"까지 넣으면 제목이 잘리므로, 그 폭에서는 부제를 감춘다 —
   로고가 이미 누구 앱인지 말해 준다. */
@media (max-width: 430px) {
  .header__subtitle { display: none; }
}

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  /* 아이콘·설치 버튼은 줄이지 않는다. 제목 쪽이 먼저 줄어들어야 한다. */
  flex-shrink: 0;
}

/* 공유·알림은 헤더에서 같은 무게로 보여야 한다 — 하나만 튀면 다른 하나를 못 본다. */
.header__bell,
.header__bug,
.header__share {
  position: relative;
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
}

.header__bug svg,
.header__share svg {
  width: 19px;
  height: 19px;
  display: block;
}

/* 눌렀다는 것이 보여야 한다 — 공유 시트가 안 뜨는 기기에서는 복사만 되고
   화면이 그대로라 고장난 줄 안다. */
.header__share.is-copied {
  color: #fff;
}

.header__bell svg {
  width: 19px;
  height: 19px;
  display: block;
}

.header__bell.has-unread::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--color-primary);
}

.header__install {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border: none;
  background: var(--color-bg);
  color: var(--color-primary-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.header__install[hidden] {
  display: none;
}

.header__install svg {
  width: 14px;
  height: 14px;
}

/* 새 소식 패널 */
.notices-panel {
  display: none;
  position: absolute;
  top: 54px;
  right: 16px;
  width: 280px;
  max-width: calc(100vw - 32px);
  background: var(--color-bg);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  z-index: 50;
}

.notices-panel.is-open {
  display: block;
}

.notices-panel__header {
  padding: 14px 16px 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* 항목은 흰 면으로 나눈다. 칸막이 선 대신 간격과 면으로 구분한다. */
.notices-panel__item {
  display: block;
  margin: 6px 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.notices-panel__item-title {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* 새 기능 소식임을 알리는 배지. 장소가 하나 늘었다는 알림과 기능이 붙었다는
   알림은 무게가 다른데, 제목만 나열하면 구분이 안 된다. */
.notices-panel__badge {
  display: inline-block;
  margin-right: 5px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 10px;
  font-weight: 700;
  vertical-align: 1px;
}

.notices-panel__item-sub {
  margin: 0;
  font-size: 11.5px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.notices-panel__empty {
  margin: 6px 10px;
  padding: 20px 14px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.notices-panel__footer {
  display: block;
  min-height: 48px;
  line-height: 48px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

/* About / 육진대 tab */
.intro {
  padding: 32px 24px 8px;
  text-align: center;
}

.intro__logo {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.intro__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
}

.intro__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.sns-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sns-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.sns-item:active {
  transform: scale(0.98);
}

.sns-item__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-item__icon svg {
  width: 20px;
  height: 20px;
}

.sns-item__icon--instagram {
  background: #E1306C;
}

.sns-item__icon--youtube {
  background: #FF0000;
}

.sns-item__icon--tiktok {
  background: #010101;
}

.sns-item__icon--naver {
  background: #03C75A;
}

.sns-item__icon--kakao {
  background: #FEE500;
}

.sns-item__label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.sns-item__arrow {
  color: var(--color-text-secondary);
  font-size: 18px;
}

/* Banner slider */
.banner {
  position: relative;
  margin: 4px 18px 0;
  overflow: hidden;
  border-radius: 18px;
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 노션 배너 로딩이 끝나기 전까지는 자리만 잡아두고 안 보이게 해서, 기본
   배너가 잠깐 보였다가 노션 배너로 바뀌는 깜빡임을 없앤다. */
.banner.is-loading {
  visibility: hidden;
}

.banner__track {
  display: flex;
  transition: transform 0.5s ease;
}

.banner__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 22px 20px 30px;
  text-align: center;
}

.banner__logo {
  max-width: 120px;
  width: 40%;
  height: auto;
  margin-bottom: 10px;
}

.banner__big {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-warm);
}

.banner__tagline {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
  margin: 0;
}

.banner__slide--photo {
  position: relative;
  display: block;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.banner__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* 캡션은 사진 아래에 붙인다(사진을 덮지 않게). 제목·일시 각각 한 줄, 넘치면 말줄임. 점은 캡션 오른쪽. */
.banner__caption {
  padding: 8px 56px 9px 16px;
  text-align: left;
  background: var(--color-primary);
}

.banner__caption-title,
.banner__caption-tagline {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner__caption-title {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-white);
}

.banner__caption-tagline {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.banner__dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.banner__dot.is-active {
  width: 18px;
  background: var(--color-acc);
}

/* Search */
.search {
  padding: 20px 18px 8px;
}

.search__input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  font-size: 14px;
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.search__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 90, 166, 0.18);
}

.search__input::placeholder {
  color: #6f6460;
}

/* Region grid */
.section {
  padding: 22px 18px 26px;
}

/* 섹션 사이 경계.
   전부 같은 회색 바탕에 흰 카드가 떠 있는 구조라, 여백만으로는 어디서 한 덩어리가
   끝나고 다음이 시작되는지 읽히지 않았다. 배경보다 한 단계 진한 띠를 넣어
   "여기서 이야기가 바뀐다"를 눈으로 보이게 한다. */
.section-break {
  height: 8px;
  background: var(--color-border);
  opacity: 0.55;
}

.section__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-primary);
  margin: 0 0 14px;
}

/* "추천장소" 섹션만 살짝 큰 제목 — 지역별 Top 10은 그대로 둔다 */
.section__title--diary {
  font-size: 19px;
  /* 기준 표시(.section__note)를 오른쪽 끝으로 밀려면 flex 여야 한다. */
  display: flex;
  align-items: center;
  gap: 6px;
}

.region-map__caption {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin: 8px 0 0;
}

/* 번호-지역명 매핑 범례. 한때 지도 위에 절대배치로 겹쳐 띄워 세로 공간을
   아꼈으나, 제주 마커가 지도 뷰박스 맨 아래 가장자리에 붙어 있어서 겹치는
   범례에 가려 아예 안 보이는 문제가 있었다 — 지도 바로 아래 일반 흐름으로
   배치해 겹침 자체를 없앴다. */
.region-legend {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.region-legend__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 1px;
  padding: 8px 2px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.region-legend__name {
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-legend__item.is-active .region-legend__name {
  color: inherit;
  font-weight: 700;
}

/* 5열로 좁아져서 개수까지 넣으면 너무 빽빽해져 숨김(지도/범례 클릭하면
   캡션에서 어차피 "지역명 · N곳"으로 보여줌) */
.region-legend__count {
  display: none;
}

/* 축제/코스 큐레이션 카드 */
/* 홈 축제 띠. 링크 한 줄이던 것을 실제 축제 카드로 바꿨다 — 무엇이 열리는지
   보이지 않으면 눌러볼 이유가 없다. */
.curated-links {
  margin-top: 18px;
}

.festival-strip__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.festival-strip__more {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

/* 가로 스크롤은 자기 안에서만 흐르게 한다 — 페이지 전체가 옆으로 밀리면 안 된다. */
.festival-strip__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.festival-strip__scroll::-webkit-scrollbar { height: 0; }

.festival-strip__card {
  flex: 0 0 144px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--color-text);
}

.festival-strip__thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-border);
}

.festival-strip__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.festival-strip__dday {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(26, 47, 107, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.festival-strip__name {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  /* 제목 길이가 제각각이라 두 줄에서 끊어 카드 높이를 맞춘다. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.festival-strip__where {
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 지역을 고른 뒤 목록으로 내려갈 때 제목이 sticky 헤더에 가리지 않게 한다. */
#place-section,
#place-heading {
  scroll-margin-top: 58px;
}

/* Category tags */
.tag-filter {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 18px;
  /* 스크롤해도 헤더 아래에 붙어 따라온다. 목록이 길어져서, 아래까지 내려간 뒤
     카테고리를 바꾸려면 맨 위로 되돌아가야 했다. */
  position: sticky;
  top: 58px;
  z-index: 9;
  background: var(--color-bg);
  /* 스크롤바를 감춘다. 데스크톱에서 회색 막대가 칩 아래에 그대로 보였다. */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* 오른쪽 끝을 흐리게 지운다. 그냥 잘리면 거기서 끝인 줄 알지만, 흐려지면
     옆으로 더 있다는 것이 보인다. */
}

.tag-filter::-webkit-scrollbar {
  display: none;
}

.tag-filter__item {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.tag-filter__item.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* Recommended place grid */
.place-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  scroll-margin-top: 72px; /* sticky header 높이만큼 여유를 둬서, 지역 선택 시
    자동 스크롤로 내려왔을 때 카드 상단이 헤더에 가리지 않게 한다 */
}

/* 제목 옆에 무엇을 기준으로 고른 목록인지 적는다. "이번 주말"만으로는 오늘이
   무슨 요일인지 알 수 없다. */
.section__note {
  margin: -8px 0 12px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

/* 섹션 제목 오른쪽의 "더보기". 축제 띠의 "전체 24개 ›"와 같은 자리, 같은 모양이다. */
.section__more {
  margin-left: auto;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  white-space: nowrap;
  cursor: pointer;
}

/* 위치를 안 켠 사람에게 왜 먼 곳이 뜨는지 알려주는 줄. 눌러서 바로 켤 수 있다.
   경고가 아니라 제안이라 색은 차분하게 둔다. */
.place-location-hint {
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-text-secondary);
  font-size: 12.5px;
  font-family: inherit;
  text-align: left;
  line-height: 1.5;
  cursor: pointer;
}

.place-location-hint b {
  color: var(--color-text);
  font-weight: 700;
}

.place-location-hint:disabled {
  opacity: 0.6;
  cursor: default;
}

/* 축제 띠는 원래 지역 섹션 안에 있어 위 여백을 그쪽에서 받았다. 밖으로 빼면서
   자기 여백을 갖게 한다. */
.section--festival {
  margin-top: 4px;
}

/* 폴라로이드 느낌 — 사진 둘레에 흰 여백을 두르고 살짝 기울여서
   "다녀온 걸 앨범에 정리한" 인상을 준다. 색은 기존 팔레트 그대로. */
.place-grid__card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 8px 8px 2px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.place-grid__card:nth-child(odd) {
  transform: rotate(-1.1deg);
}

.place-grid__card:nth-child(even) {
  transform: rotate(1deg);
}

.place-grid__card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(20, 33, 58, 0.08);
}

.place-grid__thumb-wrap {
  position: relative;
}

.place-grid__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: var(--color-surface);
  object-fit: cover;
  display: block;
}

/* 사진이 아직 없는 장소. 빈 회색 칸으로 두면 이미지를 못 불러온 것처럼 보인다 —
   앱의 색을 그대로 쓰고 로고를 흐리게 깔아 "준비 중"으로 읽히게 한다. */
.place-grid__thumb--empty {
  background:
    url("../assets/logo/character-logo-96.png") center / 44px no-repeat,
    var(--color-border);
  opacity: 0.75;
}

/* 사진 위 별점. 카드에서 바로 보이는 것과 상세까지 들어가야 보이는 것은 다르다. */
.place-grid__rating {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(28, 32, 48, 0.78);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.place-grid__rating em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.8;
}

.place-grid__favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(20, 33, 58, 0.18);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.place-grid__favorite-btn.is-active {
  background: var(--color-white);
}

.place-grid__dday {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(20, 33, 58, 0.18);
}

.place-grid__free-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #E4F5EA;
  color: #1E8A4C;
  box-shadow: 0 2px 6px rgba(20, 33, 58, 0.18);
}

/* 이달의 순위 배지. 무료입장 배지와 같은 자리라, 순위가 있으면 아래 규칙으로
   무료 배지를 한 칸 내려서 겹치지 않게 한다(HTML에서 순위가 먼저 나온다). */
/* 근처 맛집·카페가 여러 곳일 때 대표 아래로 접어두는 영역. */
.place-detail__nearby-more {
  margin-top: 6px;
}

.place-detail__nearby-more > summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text-secondary);
  list-style: none;
}

.place-detail__nearby-more > summary::-webkit-details-marker {
  display: none;
}

.place-detail__nearby-more > summary::after {
  content: " ▾";
}

.place-detail__nearby-more[open] > summary::after {
  content: " ▴";
}

.place-detail__nearby-more ul {
  margin: 6px 0 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.place-detail__nearby-more li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.place-grid__rank {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(20, 33, 58, 0.28);
}

.place-grid__rank + .place-grid__free-badge {
  top: 36px;
}

.place-grid__rank-reason {
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-grid__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 4px 10px;
}

.place-grid__name {
  font-size: 14.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-grid__region {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.place-list__loading,
.place-list__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 13px;
  padding: 32px 0;
}

/* 테마 코스 모음 */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-card {
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.course-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.course-card__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--color-surface);
  object-fit: cover;
  flex-shrink: 0;
}

.course-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.course-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
}

.course-card__desc {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course-card.is-open .course-card__desc {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.course-card__count {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
}

.course-card__stops {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.course-card__stops[hidden] {
  display: none;
}

.course-card__stop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
}

.course-card__stops .course-directions-btn {
  width: auto;
  margin: 4px 16px 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.course-card__stop-num {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 찜한 장소 */
.favorite-count {
  margin: 14px 18px 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.favorite-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
}

.favorite-empty__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  color: var(--color-acc-deep);
}

.favorite-empty__text {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-text-secondary);
}

.favorite-empty__btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 12px;
  background: var(--color-acc);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Bottom tab bar */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--tabbar-height);
  display: flex;
  background: var(--color-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-float);
}

.tabbar__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.tabbar__icon {
  font-size: 19px;
  line-height: 1;
}

.tabbar__icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.tabbar__icon--img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.tabbar__item.is-active {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.tabbar__item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--color-acc-deep);
}

.tabbar__item.is-active svg {
  fill: currentColor;
  fill-opacity: 0.16;
}

.install-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 63, 120, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.install-popup {
  position: relative;
  width: 100%;
  max-width: calc(var(--max-width) - 64px);
  background: var(--color-bg);
  border-radius: 20px;
  padding: 28px 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-float);
}

.install-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.install-popup__logo {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.install-popup__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  color: var(--color-primary-dark);
}

.install-popup__desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.install-popup__body {
  margin-top: 18px;
}

.install-popup__install {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  padding: 0 18px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.install-popup__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.install-popup__note--hidden {
  display: none;
}

.install-popup__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.install-popup__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.install-popup__step-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 700;
}

.install-popup__step-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-primary);
}

.install-popup__step-icon svg {
  width: 18px;
  height: 18px;
}

.install-popup__step-text {
  font-size: 13px;
  color: var(--color-text);
}

.install-popup__step-text b {
  color: var(--color-primary);
}

.install-popup__footer {
  margin-top: 18px;
}

.install-popup__dismiss-today {
  min-height: 48px;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 8px;
}

/* 오늘 날씨 한 줄 안내. 날씨를 못 가져오면 아예 렌더하지 않는다(hidden). */
/* 한 줄에 다 넣으려다 헤드라인이 한 글자씩 세로로 쪼개졌다.
   기준·강수·기온·위치버튼이 모두 줄바꿈을 거부하는 사이에서 헤드라인만 밀려
   최소 폭까지 눌린 것인데, 한국어는 단어 경계가 없어 글자 단위까지 줄어든다.
   그래서 헤드라인이 첫 줄을 통째로 쓰고 나머지가 아래로 내려가게 한다. */
.today-weather {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.today-weather[hidden] {
  display: none;
}

.today-weather__icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.today-weather__text {
  /* 아이콘과 나란히 첫 줄을 채운다. 남는 자리가 없으므로 기준·기온·버튼은
     다음 줄로 내려간다. 34px 은 아이콘 폭과 gap 에 여유를 조금 더한 값이다. */
  flex: 1 1 calc(100% - 34px);
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
}

/* 어디 기준 날씨인지 밝히는 잔글씨. 본문보다 확실히 물러나 있어야 헤드라인을
   가리지 않는다. */
.today-weather__basis {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 11px;
  color: var(--color-text-muted, #6b7280);
  /* 아주 좁은 화면에서는 이 줄도 접히는 편이 낫다 — nowrap 이면 이것이 폭을
     붙들어 옆의 기온이 다시 쪼개진다. */
  overflow-wrap: anywhere;
}

.today-weather__temp {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

/* 진행 중인 할인·이벤트. 종료일이 지나면 렌더 단계에서 빠지므로 만료 처리는 불필요. */
.place-grid__event-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FFF1DC;
  color: #B25E00;
  box-shadow: 0 2px 6px rgba(20, 33, 58, 0.18);
}

.place-detail__event {
  background: #FFF8EE;
  border: 1px solid #FFE2BC;
  border-radius: var(--radius);
  padding: 12px 14px;
}

.place-detail__event-meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.place-detail__event-meta a {
  color: var(--color-primary);
}

/* 서울 기준으로 보여주는 중일 때만 나오는 "내 위치" 버튼. 권한을 이미 허용했거나
   거부한 사용자에게는 렌더하지 않는다. */
.today-weather__locate {
  flex: 0 0 auto;
  /* 둘째 줄 오른쪽 끝에 붙인다. */
  margin-left: auto;
  box-shadow: var(--shadow);
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.today-weather__locate:disabled {
  opacity: 0.6;
  cursor: default;
}

/* 사진 저작권 표기. 공공누리 이미지는 출처를 밝히는 것이 이용 조건이다. */
.place-detail__hero-wrap {
  margin: 0;
  position: relative;
}

.place-detail__photo-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 3px 8px;
  font-size: 10.5px;
  color: var(--color-white);
  background: rgba(20, 33, 58, 0.55);
  border-radius: var(--radius) 0 0 0;
}

/* 추천장소 목록을 다 훑고 "여기 없네" 싶을 때 눈에 들어오도록 목록 바로 아래 둔다. */
.suggest-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 16px 0 0;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--color-text);
}

.suggest-cta:active {
  transform: scale(0.99);
}

.suggest-cta__icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.suggest-cta__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: var(--color-text-secondary);
}

.suggest-cta__text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}


/* ── 제보·추천 모달 (상세페이지와 홈이 함께 쓴다) ────────── */
/* 제보 모달 */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 63, 120, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.report-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.report-modal {
  width: 100%;
  max-width: var(--max-width);
  background: var(--color-bg);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.report-modal-overlay.is-open .report-modal {
  transform: translateY(0);
}

.report-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
}

.report-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--color-primary-dark);
  margin: 0;
}

.report-modal__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.report-modal__body {
  padding: 8px 18px 18px;
}

.report-modal__label {
  display: block;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0 0 6px;
}

.report-modal__field {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  background: var(--color-white);
  color: var(--color-text);
}

.report-modal__value-group {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.report-modal__value-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.report-modal__value-btn.is-selected {
  background: var(--color-primary);
  color: var(--color-bg);
  box-shadow: none;
}

.report-modal__value-input {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  box-sizing: border-box;
}

/* 화면 캡처 붙이기. 파일 입력은 브라우저마다 생김새가 제각각이라 감추고
   버튼으로 대신 연다. */
.bug-shot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  color: var(--color-text-secondary);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 14px;
}

/* display:flex 가 hidden 속성의 기본 display:none 을 이긴다. 사진을 붙인 뒤에도
   "사진 붙이기" 버튼이 그대로 남아 있었다. */
.bug-shot[hidden] {
  display: none;
}

.bug-shot__icon {
  font-size: 17px;
  line-height: 1;
}

.bug-shot__preview {
  position: relative;
  margin-bottom: 14px;
}

.bug-shot__preview[hidden] {
  display: none;
}

.bug-shot__preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--color-bg);
  display: block;
}

.bug-shot__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

/* 오류 신고는 한 줄로 안 끝난다. 무슨 화면에서 무엇을 눌렀는지 적을 자리를 준다. */
.report-modal__textarea {
  resize: vertical;
  min-height: 96px;
  border: 0;
  background: var(--color-white);
  line-height: 1.5;
}

.report-modal__value-input[hidden],
.report-modal__value-group[hidden] {
  display: none;
}

/* 신규 장소 제보의 편의시설 선택. 고르지 않으면 "모름"이라 아무 표시도 남지 않는다. */
/* 홈 추천장소 "더보기". 그리드 안에 넣으면 칸 하나를 차지해 장소 카드처럼 보여
   목록 바로 아래에 따로 둔다. */
.place-more {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #fff;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.place-more:hover {
  border-color: var(--color-primary);
}

/* 첫 방문 사용법 안내. 설치 팝업과 같은 자리에 뜨지만 먼저 닫히고 나서
   설치 팝업이 뜬다(pwa.js). */
.tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 63, 120, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1200;
}

.tour {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: var(--color-bg);
  border-radius: 20px;
  padding: 36px 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-float);
}

.tour__skip {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--color-text-secondary);
  font-size: 13px;
  cursor: pointer;
}

/* 이모지 한 장을 흰 면 위에 얹는다. 글은 면 밖, 그림만 면 안에 둔다. */
.tour__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
}
.tour__img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.tour__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-primary-dark);
}

.tour__body {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
  color: var(--color-text-secondary);
  /* 장마다 길이가 달라, 넘길 때마다 카드 높이가 튀지 않도록 최소 높이를 준다. */
  min-height: 90px;
}

.tour__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

/* 이전 버튼이 생겨도 다음 버튼의 자리가 장마다 흔들리지 않아야 한다. */
.tour__actions {
  display: flex;
  gap: 8px;
}

.tour__prev {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  box-shadow: var(--shadow);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.tour__prev[hidden] { display: none; }

.tour__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(22, 63, 120, 0.2);
}

.tour__dot.is-active {
  background: var(--color-primary);
  width: 18px;
  border-radius: 3px;
}

.tour__next {
  flex: 1;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}


/* 목록 끝의 보조 링크들. 자주 쓰는 것이 아니라 조용히 둔다. */
.foot-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 16px 0 0;
}

.about-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--color-text-secondary);
  text-decoration: underline;
  cursor: pointer;
}

.suggest-amenity {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
}

.suggest-amenity__hint {
  color: var(--color-text-secondary);
}

.suggest-amenity__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.suggest-amenity__name {
  font-size: 13px;
  color: var(--color-text);
}

.suggest-amenity__options {
  display: flex;
  gap: 6px;
}

.suggest-amenity__opt {
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: #fff;
  color: var(--color-text-secondary);
  font-size: 12px;
  cursor: pointer;
}

.suggest-amenity__opt:hover {
  border-color: var(--color-primary);
}

.suggest-amenity__opt.is-picked {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.report-modal__turnstile {
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
}

.report-modal__error {
  font-size: 12px;
  color: #D64545;
  margin: 4px 0 0;
}

.report-modal__error[hidden] {
  display: none;
}

.report-modal__success {
  padding: 24px 18px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
}

.report-modal__success[hidden] {
  display: none;
}

.report-modal__footer {
  padding: 0 18px 20px;
}

.report-modal__footer button {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

/* .btn-primary 의 색은 상세·지도 화면에만 정의돼 있어서, 모달 안에서는 브라우저
   기본 회색 버튼으로 떨어져 있었다 — 다 적고 나서도 눌러도 되는지 안 보인다. */
.report-modal__footer .btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.report-modal__footer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 제보 오류 아래 보조 안내. 원인을 안 알려주면 앱이 고장난 줄 안다. */
.report-modal__hint {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* 소개 페이지 맨 아래 방문자 수. 자랑처럼 보이지 않게 본문보다 확실히 물러나 있다. */
.visit-stats {
  margin: 26px 18px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted, #9aa0a6);
}

/* 제보 모달 — 목록 칸(근처맛집·근처카페)의 반영 방식 선택 */
.report-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

/* display:flex 가 hidden 속성을 이긴다. 근처맛집·근처카페가 아닌 필드를 골라도
   반영 방식 선택이 그대로 보이고 있었다. */
.report-modal__list[hidden] {
  display: none;
}

.report-modal__list-current {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  word-break: keep-all;
}

.report-modal__list-current span {
  color: var(--color-text);
}

.report-modal__list-modes {
  display: flex;
  gap: 8px;
}

.report-modal__mode-btn {
  flex: 1;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.report-modal__mode-btn.is-selected {
  background: var(--color-primary);
  color: var(--color-bg);
  font-weight: 700;
}


/* 목록이 언제 바뀌는지 알려주는 작은 물음표. 제목 옆에 붙는다 —
   "지난주에 봤는데 왜 그대로지" 또는 "왜 어제와 다르지"를 앱 안에서 답한다. */
.info-dot {
  /* 글자 대신 아이콘을 쓴다. "?" 를 그대로 넣었더니 어두운 헤더 위에서
     깨진 글자처럼 보인다는 제보가 있었다. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  vertical-align: -3px;
}

.info-dot svg {
  width: 15px;
  height: 15px;
  display: block;
}

.info-dot:hover,
.info-dot:focus-visible { color: var(--color-primary); }

/* 헤더는 남색 바탕이라 본문 색을 그대로 쓰면 안 보인다. */
.header__title .info-dot { color: rgba(255, 255, 255, 0.72); }
.header__title .info-dot:hover,
.header__title .info-dot:focus-visible { color: #fff; }

.info-pop {
  position: absolute;
  z-index: 60;
  max-width: min(280px, calc(100vw - 32px));
  padding: 10px 12px;
  border-radius: 10px;
  background: #2A3350;
  color: #fff;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.2px;
  box-shadow: 0 8px 24px rgba(26, 47, 107, 0.28);
}

.info-pop::before {
  content: "";
  position: absolute;
  top: -5px;
  left: var(--arrow-left, 12px);
  width: 10px;
  height: 10px;
  background: inherit;
  transform: rotate(45deg);
  border-radius: 2px;
}

/* 상세 화면 지역·카테고리 태그. 규칙이 아예 없어서 맨 글자가 한 줄로 흘렀고,
   줄이 바뀌면 간격이 어긋나 보였다. 알약 모양으로 감싸고 줄바꿈 간격을 준다. */
.place-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}

.place-detail__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-bg);
  box-shadow: var(--shadow);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

/* 첫 태그는 지역이라 나머지 분류와 구분해 준다. */
.place-detail__tag:first-child {
  background: rgba(91, 107, 149, 0.12);
  border-color: transparent;
  color: var(--color-primary-dark);
}

/* 공식 사이트로 나가는 줄. 링크가 있는 곳만 그린다. */
.place-detail__official {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--color-bg);
  box-shadow: var(--shadow);
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.place-detail__official:hover { border-color: var(--color-primary); }

/* 소식이 언제 있었던 일인지. 제목·설명보다 물러나 있어야 읽는 순서가 흐트러지지
   않는다. */
.notices-panel__item-when {
  margin: 4px 0 0;
  font-size: 10.5px;
  color: var(--color-text-secondary);
  opacity: 0.85;
}

/* 개인정보처리방침. 읽으라고 만든 화면이라 본문 폭과 줄간격을 다른 화면보다 넉넉히 준다. */
.policy {
  padding: 20px 18px calc(var(--tabbar-height) + 40px);
  line-height: 1.8;
  font-size: 14.5px;
  color: var(--color-text);
}

.policy__lead {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 28px;
  color: var(--color-text-secondary);
}

.policy__lead strong {
  color: var(--color-text);
}

.policy__section {
  margin-bottom: 34px;
}

.policy h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.policy h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin: 20px 0 8px;
}

.policy p {
  margin: 0 0 12px;
}

.policy ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.policy li {
  margin-bottom: 7px;
}

/* 항목과 설명이 짝지어 나오는 표. 좁은 화면에서 칸이 눌리지 않게 첫 칸을 고정한다. */
.policy__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 14px;
}

.policy__table th,
.policy__table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 400;
}

.policy__table th {
  width: 96px;
  padding-right: 12px;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.policy__contact {
  font-size: 16px;
  font-weight: 700;
}

.policy__contact a {
  color: var(--color-primary);
}

.policy__meta {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--color-text-secondary);
}

/* 축제 목록 — 지역 칩과 진행중/곧 시작 구분.
   축제는 장소와 달리 "지금 열리는지"가 먼저라, 지도 대신 가로 스크롤 칩을 쓴다. */
.region-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.region-chips::-webkit-scrollbar {
  display: none;
}

.region-chips:empty {
  display: none;
}

.region-chip {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: var(--color-white);
  color: var(--color-text-secondary);
  cursor: pointer;
}

.region-chip.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.festival-section__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
}

/* 두 번째 섹션(곧 시작) 앞에만 간격을 준다 */
.place-grid + .festival-section__title {
  margin-top: 26px;
}

/* D-day 배지는 왼쪽 위라 요금은 오른쪽 위에 둔다 */
.festival-fee {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(20, 33, 58, 0.18);
}

.festival-fee--free {
  background: #4C9A7A;
}

.festival-fee--paid {
  background: var(--color-accent);
}

/* ── 로그인 칸 (찜 화면) ───────────────────────────────────────── */
.auth-box {
  margin: 0 16px 14px;
  padding: 16px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.auth-box__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.auth-box__hint--lead { margin-bottom: 10px; }
.auth-box__hint b { color: var(--color-text); font-weight: 600; }
.auth-box__btns { display: flex; gap: 8px; }
/* 로그인 버튼은 48px · 12px 반경. 제공자 색(카카오·구글)은 가이드 값 그대로 둔다. */
.auth-btn {
  flex: 1;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.auth-btn--google { background: #fff; color: #1f2937; box-shadow: inset 0 0 0 1px #747775; }
.auth-btn--kakao { background: #fee500; color: #191600; }
.auth-btn:active { transform: translateY(1px); }
.auth-box__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-box__who {
  font-size: 14px; font-weight: 600; color: var(--color-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auth-box__out {
  flex: none;
  min-height: 48px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-primary-dark);
  background: var(--color-bg);
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.auth-box__row + .auth-box__hint { margin-top: 8px; }

/* 종료 확인 — 설치해서 쓰는 사람이 홈에서 뒤로가기를 눌렀을 때만 뜬다. */
.ask {
  width: min(320px, 86vw);
  padding: 22px 22px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 12px 32px rgba(26, 34, 56, 0.22);
}

.ask::backdrop { background: rgba(26, 34, 56, 0.44); }

.ask__t {
  margin: 2px 0 18px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.ask__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ask__btn {
  padding: 13px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: var(--color-white);
  background: var(--color-primary);
  cursor: pointer;
}

.ask__btn--ghost {
  color: var(--color-sub);
  background: #EEF0F6;
}

/* 이번 달 소식 바텀시트. 앱을 열면 아래에서 올라온다. */
.launch-sheet { position: fixed; inset: 0; z-index: 80; }

.launch-sheet__dim {
  position: absolute;
  inset: 0;
  background: rgba(22, 63, 120, 0.5);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.launch-sheet__panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: var(--max-width);
  transform: translate(-50%, 100%);
  background: var(--color-bg);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-float);
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
  padding-bottom: env(safe-area-inset-bottom);
}

.launch-sheet.is-open .launch-sheet__dim { opacity: 1; }
.launch-sheet.is-open .launch-sheet__panel { transform: translate(-50%, 0); }

.launch-sheet__handle {
  width: 38px;
  height: 4px;
  margin: 10px auto 2px;
  border-radius: 999px;
  background: rgba(22, 63, 120, 0.2);
}

.launch-sheet__body { padding: 14px 22px 22px; }

/* 골드는 이 작은 꼬리표에만 쓴다. 버튼은 파랑 면이다. */
.launch-sheet__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-warm);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
}

.launch-sheet__title {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.34;
}

.launch-sheet__text {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--color-text-secondary);
}

.launch-sheet__cta {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .launch-sheet__dim,
  .launch-sheet__panel { transition: none; }
}

.launch-sheet__skip {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

/* 제목은 주아체. 장소 이름과 목록 글씨는 본문 글꼴을 그대로 쓴다. */
.header__title,
.intro__title,
.festival-section__title,
.launch-sheet__title,
.place-detail__name {
  font-family: var(--font-display);
  font-weight: 400;
}

/* 장소 목록은 한 줄에 한 곳. 사진 88px 와 이름·지역·한 줄 소개를 나란히 둬서
   한 화면에 보이는 장소가 두 곳에서 네다섯 곳으로 늘어난다. 홈·검색·지역 결과·찜·축제 목록이
   같은 카드를 쓰므로 한 곳에서 바꾼다. 폴라로이드 기울임과 큰 첫 카드는 걷었다. */
.place-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.place-grid .place-grid__card {
  position: relative;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  transform: none;
}

.place-grid .place-grid__card:active {
  transform: scale(0.99);
}

.place-grid .place-grid__thumb-wrap {
  display: contents;
}

.place-grid .place-grid__thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  border-radius: 14px;
}

.place-grid .place-grid__body {
  flex: 1;
  min-width: 0;
  padding: 0 30px 0 0;
  gap: 2px;
}

.place-grid .place-grid__body > p {
  margin: 0;
}

.place-grid .place-grid__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
}

/* 축제 제목은 길어서 두 줄까지 보여준다 */
.place-grid__card[href^="festival-detail"] .place-grid__name {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 요금 배지는 평점 배지 자리(오른쪽 아래)에 둔다 */
.place-grid .festival-fee {
  top: auto;
  right: 12px;
  bottom: 10px;
  font-size: 10.5px;
  padding: 2px 7px;
  box-shadow: none;
}

.place-grid__reason,
.place-grid .place-grid__rank-reason {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text);
}

.place-grid .place-grid__favorite-btn {
  top: 8px;
  right: 8px;
}

.place-grid .place-grid__rank,
.place-grid .place-grid__free-badge,
.place-grid .place-grid__dday,
.place-grid .place-grid__rank + .place-grid__free-badge {
  top: auto;
  bottom: 16px;
  left: 16px;
  font-size: 10.5px;
  padding: 2px 7px;
  min-width: 0;
  height: auto;
  box-shadow: none;
}

.place-grid .place-grid__rank {
  top: 16px;
  bottom: auto;
}

.place-grid .place-grid__rating,
.place-grid .place-grid__event-badge {
  top: auto;
  left: auto;
  right: 12px;
  bottom: 10px;
  font-size: 10.5px;
  padding: 2px 7px;
}

/* ===== 홈 (v5, 우리집 갤러리 언어): 면(fill)과 간격으로 구분, 테두리 없음.
   버튼은 채운 파랑 + 크림 글자(갤러리의 solid accent 버튼), 칩은 알약형 면.
   그림자는 떠 있는 것만 (갤러리 HUD 처럼 부드러운 블러). 골드는 탭 마커에만 쓴다. */

.home2-hero-wrap {
  margin: 12px 16px 0;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-float);
}

.home2-hero-wrap .banner__slide--intro {
  padding: 0;
  text-align: left;
  background: var(--color-primary);
  color: var(--color-bg);
}

/* 그림은 맨 위에, 글은 파랑 면 위에 얹는다. 그림 아래 글자는 크림색이라 대비가 충분하다. */
.home2-hero__art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home2-hero__copy {
  padding: 22px 22px 42px;
}

.home2-hero__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(251, 243, 236, 0.78);
}

.home2-hero__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--color-bg);
}

.home2-hero__hl {
  padding: 0;
}

.home2-hero__tagline {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(251, 243, 236, 0.86);
}

.home2-hero__cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  background: var(--color-bg);
  color: var(--color-primary-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease;
}

.home2-hero__cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.home2-hero__cta:active {
  transform: translateY(0);
}

.home2-hero-wrap .banner__slide--stat {
  background: var(--color-primary);
  color: var(--color-bg);
}

.home2-hero-wrap .banner__big {
  color: var(--color-bg);
}

.home2-hero-wrap .banner__dot {
  background: rgba(251, 243, 236, 0.35);
}

.home2-hero-wrap .banner__dot.is-active {
  background: var(--color-bg);
}

/* 빠른 메뉴: 흰 면 한 덩어리, 칸막이 선 없음 */
.home2-quick {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 12px 16px 0;
  padding: 12px 4px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.home2-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
}

.home2-quick__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.home2-quick__icon svg {
  width: 26px;
  height: 26px;
}

.home2-quick__item:active {
  background: var(--color-bg);
}

.home2-quick__item:focus-visible,
.home2-card:focus-visible,
.home2-review:focus-visible,
.home2-room:focus-visible,
.home2-post__link:focus-visible,
.home2-recent__more:focus-visible,
.home2-rooms__intro:focus-visible,
.home2-meetup:focus-visible,
.home2-calendar__cta:focus-visible,
.home2-calendar__more:focus-visible,
.home2-hero__cta:focus-visible,
.home2-month-btn:focus-visible,
.profile__login:focus-visible {
  outline: 3px solid #1f5fbf;
  outline-offset: 2px;
}

/* 모임 카드: 한 줄 설명까지만, 카드 전체가 링크 */
.home2-groups,
.home2-rooms,
.home2-recent,
.home2-calendar {
  padding-top: 26px;
}

.home2-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home2-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.home2-card--meetup {
  background: var(--color-primary);
  color: var(--color-bg);
}

.home2-card--meetup .home2-card__desc {
  color: rgba(251, 243, 236, 0.86);
}

.home2-card--meetup .home2-card__tag {
  background: rgba(251, 243, 236, 0.18);
  color: var(--color-bg);
}

.home2-card:hover,
.home2-review:hover,
.home2-post__link:hover,
.home2-meetup:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-float);
}

.home2-card:active,
.home2-review:active,
.home2-post__link:active,
.home2-meetup:active {
  transform: translateY(0);
}

.home2-card__tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: #E8F0FA;
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 700;
}

.home2-card__name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.home2-card__desc {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home2-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.home2-review__text {
  font-size: 13.5px;
  color: var(--color-text-secondary);
}

.home2-review__text strong {
  display: inline;
  margin-right: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-primary-dark);
}

.home2-review__go {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

/* 지역 단톡방 (더보기 페이지): 파랑 연한 면 칩 */
.home2-rooms__lead {
  margin: -6px 0 12px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.home2-rooms__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home2-room {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: #E8F0FA;
  color: var(--color-primary-dark);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.home2-room:hover {
  background: #D9E7F7;
}

.home2-rooms__intro {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 이달의 모임 달력 */
.home2-calendar__head,
.home2-recent__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.home2-calendar__month {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.home2-calendar__more,
.home2-recent__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home2-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 12px 10px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 13px;
}

.home2-cal__wd {
  padding-bottom: 4px;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.home2-cal__cell {
  height: 34px;
  line-height: 34px;
  border-radius: 10px;
  color: var(--color-text);
}

.home2-cal__cell.is-meet {
  background: #E8F0FA;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.home2-cal__cell.is-today {
  background: var(--color-primary);
  color: var(--color-bg);
  font-weight: 700;
}

.home2-meetup-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.home2-meetup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.home2-meetup__date {
  flex: 0 0 auto;
  width: 46px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  text-align: center;
  color: var(--color-primary);
}

.home2-meetup__date small {
  display: block;
  margin-top: 4px;
  font-family: inherit;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.home2-meetup__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home2-meetup__kind,
.home2-post__tag {
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 700;
}

.home2-meetup__kind--small,
.home2-post__tag--small {
  background: #E8F0FA;
  color: var(--color-primary-dark);
}

.home2-meetup__title {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home2-meetup__region {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.home2-meetup__go {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.home2-calendar__empty {
  margin: 12px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--color-text-secondary);
}

.home2-calendar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 14px;
  border: none;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease;
}

.home2-calendar__cta:hover {
  background: var(--color-primary-dark);
}

.home2-calendar__cta:active {
  transform: translateY(1px);
}

/* 카페 최근 글 */
.home2-posts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home2-post__link {
  display: block;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.home2-post__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home2-post__title {
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home2-post__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-text-secondary);
}

@media (max-width: 360px) {
  .home2-hero__title {
    font-size: 29px;
  }
  .home2-card__name {
    font-size: 15px;
  }
}

/* 이달의 모임 전체 페이지 */
.meetups-page {
  padding-top: 16px;
}

.meetups-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.meetups-nav__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--color-primary-dark);
}

.home2-month-btn {
  min-height: 40px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-primary);
  font: 700 13px/1 var(--font-body, "Pretendard", sans-serif);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.home2-month-btn:active {
  background: #E8F0FA;
}

.meetups-page__lead {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.meetups-groups {
  margin-top: 8px;
}

.meetups-day {
  padding-top: 18px;
}

.meetups-day__label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.meetups-page .home2-meetup-list {
  margin-top: 10px;
}

.meetups-page .home2-calendar__cta {
  margin-top: 22px;
}

/* 더보기: 프로필 블록 (로그인 전 기본 상태) */
.profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  margin: 12px 16px 0;
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.profile__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 22px;
}

.profile__body {
  min-width: 0;
  flex: 1 1 auto;
}

.profile__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  color: var(--color-primary-dark);
}

.profile__chip {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #E8F0FA;
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 700;
}

.profile__chip[data-role="staff"] {
  background: var(--color-primary);
  color: var(--color-bg);
}

.profile__hint {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.profile__login {
  margin-top: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-bg);
  font: 700 13px/1 var(--font-body, "Pretendard", sans-serif);
}

.profile__login[disabled] {
  background: var(--color-border);
  color: var(--color-text-secondary);
  cursor: default;
}

.profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.profile__actions .profile__login {
  margin-top: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.profile__login--dev {
  background: #E8F0FA;
  color: var(--color-primary-dark);
}

.profile__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* 회원 관리 (admin.html) */
.admin-page {
  padding-top: 16px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.admin-row__who strong {
  display: block;
  font-size: 15px;
}

.admin-row__who small {
  display: block;
  color: var(--color-text-secondary);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-row select,
.admin-row button {
  width: 100%;
  min-width: 0;
}

.admin-row select {
  min-height: 40px;
  padding: 0 10px;
  box-shadow: var(--shadow);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}

/* 주소 이전 안내 (옛 주소에서만) */
.addr-sheet {
  position: fixed;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  z-index: 70;
  width: min(92vw, 420px);
  padding: 18px 18px 14px;
  border-radius: 20px;
  background: var(--color-bg);
  box-shadow: var(--shadow-float);
  color: var(--color-text);
}

.addr-sheet__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  color: var(--color-primary-dark);
}

.addr-sheet__body {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.addr-sheet__go {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.addr-sheet__guide {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--color-text-secondary);
}

.addr-sheet__guide summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.addr-sheet__guide p {
  margin: 6px 0 0;
  line-height: 1.5;
}

.addr-sheet__later {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  border: none;
  border-radius: 12px;
  background: none;
  color: var(--color-text-secondary);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.addr-toast {
  position: fixed;
  left: 50%;
  top: 84px;
  transform: translateX(-50%);
  z-index: 80;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--color-primary-dark);
  color: var(--color-bg);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-float);
}

/* 내 정보 (me.html) */
.me-page { padding-top: 16px; }
.me-page__status { font-size: 14px; color: var(--color-text-secondary); }
.me-card { padding: 16px; border-radius: 18px; background: var(--color-white); box-shadow: var(--shadow); margin-top: 12px; }
.me-card__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 17px; color: var(--color-primary-dark); }
.me-card__meta { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--color-text-secondary); }
.me-form__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.me-form__row { display: flex; gap: 8px; }
.me-input { flex: 1; min-width: 0; min-height: 40px; padding: 0 10px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-bg); color: var(--color-text); font: inherit; }
.me-form__error { margin: 6px 0 0; font-size: 12.5px; color: #a3271b; }
.me-accounts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.me-account { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--color-bg); font-size: 14px; font-weight: 700; }
.me-account__unlink { border: none; background: none; color: var(--color-text-secondary); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.me-link-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.me-danger-btn { min-height: 40px; padding: 0 14px; border: none; border-radius: 12px; background: #a3271b; color: #fff; font: 700 13px/1 var(--font-body, "Pretendard", sans-serif); cursor: pointer; }
.me-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.me-admin[hidden] { display: none; }
.admin-row__flag { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #fbe3df; color: #a3271b; font-size: 11.5px; font-weight: 700; }

/* 공용 버튼 (갤러리 언어): 48px · 12px 반경 · 면 채움. 화면별 .btn-primary 는 이 값을 따른다. */
.btn-primary {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary:focus-visible {
  outline: 3px solid #1f5fbf;
  outline-offset: 2px;
}

/* 더보기: 육진대 채널 전체 보기 카드 (yukjindae.com 으로 연결) */
.sns-item__icon--all {
  background: var(--color-primary);
  color: var(--color-bg);
}

.sns-item__label small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* 소셜 로그인 버튼 (제공자 공식 가이드). 전체 너비 48px, 세로로 쌓는다. */
.social-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  font: 700 15px/1 var(--font-body, "Pretendard", sans-serif);
  cursor: pointer;
}

.social-btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* 카카오: 배경 #FEE500, 글자 #000 85% (가이드 값 그대로) */
.social-btn--kakao {
  background: #FEE500;
  color: rgba(0, 0, 0, 0.85);
}

/* 네이버: 배경 #03C75A, 흰 글자·흰 N */
.social-btn--naver {
  background: #03C75A;
  color: #FFFFFF;
}

/* 구글: 흰 배경, 1px #747775 테두리(안쪽), 글자 #1F1F1F */
.social-btn--google {
  background: #FFFFFF;
  color: #1F1F1F;
  box-shadow: inset 0 0 0 1px #747775;
}

.social-btn:focus-visible {
  outline: 3px solid #1f5fbf;
  outline-offset: 2px;
}

.profile__dev {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* 프로필 카드: 제공자 버튼 줄은 카드 전체 너비 (아바타·글 아래) */
.profile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.profile__actions {
  grid-column: 1 / -1;
  min-width: 0;
}

.profile__actions .social-stack {
  margin-top: 4px;
  flex: 1 1 100%;
  width: 100%;
}

/* 공구·이벤트 (카드, 칩, 탭, 빈 상태) */
.deal-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.deal-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-float);
}

.deal-card:focus-visible {
  outline: 3px solid #1f5fbf;
  outline-offset: 2px;
}

.deal-card__img {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--color-border);
}

.deal-card__body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deal-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip--kind,
.chip--live,
.chip--soon,
.chip--done,
.chip--dday,
.chip--src {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.chip--src {
  background: #F3EEE7;
  color: var(--color-text-secondary);
}

.chip--kind {
  background: var(--color-primary);
  color: var(--color-bg);
}

.chip--live {
  background: var(--color-acc);
  color: var(--color-primary-dark);
}

.chip--soon {
  background: #E8F0FA;
  color: var(--color-primary-dark);
}

.chip--done {
  background: var(--color-border);
  color: var(--color-text-secondary);
}

.chip--dday {
  background: #FBE3DF;
  color: #A3271B;
}

.deal-card__title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

.deal-card__price {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.deal-card__summary {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.deal-card__period {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.deals-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.deals-page {
  padding-top: 16px;
}

.deals-page__lead {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.deals-tabs {
  display: flex;
  gap: 8px;
}

.deals-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text-secondary);
  font: 700 14px/1 var(--font-body, "Pretendard", sans-serif);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.deals-tabs button[aria-selected="true"] {
  background: var(--color-primary);
  color: var(--color-bg);
}

.deals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.deals-empty {
  padding: 24px 16px;
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  text-align: center;
  color: var(--color-text-secondary);
}

.deals-empty p {
  margin: 0 0 12px;
  font-size: 14px;
}

.deals-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home2-deals {
  padding-top: 22px;
}

/* 더보기: 내 찜 목록 행 */
.fav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 16px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.fav-row:focus-visible {
  outline: 3px solid #1f5fbf;
  outline-offset: 2px;
}

.fav-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fav-row__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.fav-row__label strong {
  color: var(--color-primary);
}

.fav-row__note {
  font-size: 12.5px;
  color: var(--color-text-secondary);
}

.fav-row__go {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ===== v11: 홈 추천 코스 가로 줄 ===== */
.course-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.course-row > .course-card {
  flex: 0 0 min(232px, 72vw);
  scroll-snap-align: start;
}

.course-row > .place-list__loading {
  width: 100%;
}

/* ===== v11: 모임 탭 (달력 · 모집 칩 · 게시판 버튼) ===== */
.meetups-cal {
  margin-top: 12px;
}

.meet-boards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 6px;
}

.meet-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 12px;
  border: none;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.meet-board:active {
  background: var(--color-primary-dark);
}

.meet-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.meet-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}

.meet-chip--open {
  background: #FFF1D6;
  color: #8A5300;
}

.meet-chip--closed {
  background: #ECEAE7;
  color: #6F6460;
}

/* ===== v11: MY 화면 ===== */
.my-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-bg);
}

.my-card {
  margin: 14px 16px 0;
  padding: 20px 18px;
  border-radius: 20px;
  background: var(--color-white);
}

.my-profile__main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.my-profile__avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 22px;
  font-weight: 700;
}

.my-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-profile__text {
  flex: 1;
  min-width: 0;
}

.my-profile__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-profile__sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.my-profile__edit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.my-login {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.my-login__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.my-logout {
  width: 100%;
}

.my-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 16px 0;
}

.my-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 6px 14px;
  border-radius: 18px;
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
}

.my-shortcut__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EAF1FA;
  color: var(--color-primary);
}

.my-shortcut__icon svg {
  width: 22px;
  height: 22px;
}

.my-shortcut__label {
  font-size: 13px;
  font-weight: 600;
}

.my-shortcut__label strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.my-group {
  margin-top: 28px;
  padding: 0 16px;
}

.my-group__title {
  margin: 0 4px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.my-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 18px;
  background: var(--color-white);
  overflow: hidden;
}

.my-list li + li {
  border-top: 1px solid var(--color-border);
}

.my-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: none;
  background: none;
  color: var(--color-text);
  font: inherit;
  font-size: 15px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.my-row__go {
  color: var(--color-text-secondary);
  font-size: 18px;
}

.my-group .visit-stats {
  margin: 14px 4px 0;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.my-copyright {
  margin: 24px 0 8px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted, #9aa0a6);
}

/* 찜 로그인 안내 */
.auth-box__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

/* hidden 속성이 display 규칙에 지지 않도록 */
.my-profile__edit[hidden],
.my-row[hidden] {
  display: none;
}
