/* ==========================================================================
   v2 (1102ver) — Figma "steppY 화면 지도" 아래 시안을 옮긴 화면들.
   app.css 다음에 실려 같은 선택자를 덮는다. 규칙은 app_ui.md 1장
   "로고 옆 글은 로고에 맞추고, 아래 줄은 자리를 고정한다" 참고.
   ========================================================================== */

:root {
  --v2-ink: #1E2A26;
  --v2-ink-soft: #5B6560;
  --v2-ink-faint: #8A928E;
  --v2-stage: #DCE3DB;       /* 진행 단계 상자 */
  --v2-sand: #EFE6D6;        /* 바로가기 1 */
  --v2-sky: #E1E7EF;         /* 바로가기 2 */
  --v2-plum: #ECE4EA;        /* 바로가기 3 */
  --v2-plate: #E6E3DC;       /* 지망 원판 바탕 */
  --v2-dark: #2F3B37;
  --v2-good-bg: #DCEBDD;  --v2-good: #2F5D3A;
  --v2-warn-bg: #F3E7CC;  --v2-warn: #8A6420;
  --v2-bad-bg: #F6E0DA;   --v2-bad: #A0473A;
  --v2-radius: 28px;
  /* 화면 맨 위 큰 영어 제목도 본문과 같은 고딕(tokens.css) */
  --font-title: var(--font-display);
}

/* ---------------------------------------------------------------- 공통 */

/* 화면 맨 위 큰 영어 제목 — 작은 한 줄(eyebrow) + 굵은 단어 */
.v2-wordmark {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(56px, 18vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--v2-ink);
}

/* 원형 학교 로고 — 이미지가 없으면 약어 */
.v2-logo {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.v2-logo img { width: 68%; height: 68%; object-fit: contain; }
.v2-logo__abbr { font-weight: 900; color: var(--v2-dark); letter-spacing: -0.02em; font-size: 0.95em; }

/* ---------------------------------------------------------------- 홈 */

.v2-home { padding-top: var(--space-2); padding-bottom: 120px; }
.v2-home__head { margin-bottom: 16px; }   /* 여백 규칙: 머리 ↔ 첫 카드는 다른 성격 16px. 워드마크가 소문자(steppY)라 p 아래로 내려온 꼬리 밑에서 인사말까지 보이는 거리를 8px로 — margin은 18px */
.v2-home__greet { margin: 18px 0 0 4px; font-size: 13px; color: var(--v2-ink-soft); }
.v2-home .profile-cta { margin-top: 8px; }

/* 진행 단계 띠 — 화면 폭 전체, 낮게 */
.v2-widget { position: relative; border-radius: 22px; overflow: hidden; }
.v2-widget--stage { padding: 12px 18px 10px; background: var(--v2-stage); }
.v2-widget--stage .journey__labels { font-size: 12px; }
/* 할 일 알약 — 두 상자 아래 한 줄 전체 */
.v2-todo { display: block; margin-top: 8px; }
/* 알약에 테두리 — 바탕이 흰색이 되면서 면이 사라져 보였다. 위 일정 카드와 같은 선 */
body[data-page="home"] .v2-todo .todo-pill { background: #fff; border: 1px solid #E0DCD1; }

/* 바로가기 — 진행 단계 띠 아래, 색 카드 세 장을 한 줄에. 넘기지 않는다 */
.v2-shortcuts { margin-top: 8px; }
.v2-shortcuts__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v2-shortcut {
  position: relative; min-width: 0; height: 112px;
  display: flex; flex-direction: column;
  padding: 12px 10px 12px 12px; border-radius: 20px;
  color: var(--v2-ink); text-decoration: none;
}
.v2-shortcut--sand { background: var(--v2-sand); }
.v2-shortcut--sky  { background: var(--v2-sky); }
.v2-shortcut--mint { background: #DCE8E2; }
.v2-shortcut--plum { background: var(--v2-plum); }
.v2-shortcut__title { font-size: 14px;   /* 세 장 한 줄(115px)에 바로가기 이름이 한 줄로 들어가는 크기 */
   font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; white-space: nowrap; }
.v2-shortcut__sub { margin-top: 5px; font-size: 10.5px; line-height: 1.4; color: #6B5E49; word-break: keep-all; }
.v2-shortcut__go {
  position: absolute; right: 10px; bottom: 10px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--v2-dark); color: #fff; font-size: 13px; font-weight: 700;
}

/* MY PICKS 원판 */
.v2-picks {
  margin-top: 16px;
  padding: 20px 0 22px;
  border-radius: 120px;
  background: var(--v2-plate);
  text-align: center;
}
.v2-picks__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--v2-ink-faint); }   /* 소문자가 섞여 대문자용 넓은 자간(0.2em)은 뺐다 */
/* MY PICKS 와 같은 줄 오른쪽 끝. 원판 모서리가 둥글어(반지름 120px) 글자 윗줄(위에서 20px) 높이에서 곡선이 54px 들어와 있다 — 거기서 12px 더 띄워 66px */
.v2-picks { position: relative; }
.v2-picks__go { position: absolute; top: 20px; right: 66px; line-height: 20px; font-size: 12px; font-weight: 700; color: var(--v2-ink-soft); text-decoration: none; white-space: nowrap; }
.v2-picks__go:active { opacity: .6; }
.v2-picks__hint { margin: 6px 16px 0; font-size: 11px; color: var(--v2-ink-faint); }

.v2-wheel {
  --size: min(300px, 78vw);
  --r: calc(var(--size) * 0.37);
  position: relative;
  width: var(--size); height: var(--size);
  margin: 18px auto 0;
  touch-action: pan-y;
}
.v2-wheel__ring {
  position: absolute; inset: calc(50% - var(--r)); border-radius: 50%;
  border: 1.5px dashed #D3CEC4;
}
.v2-pick {
  /* 모든 원은 같은 크기로 만들고 scale로만 키우고 줄인다 — 너비·높이를 바꾸면 각도와 따로 움직여 덜컹거린다.
     흰 원·테두리는 두지 않는다 — 학교 로고가 곧 원판 위의 한 칸이다 */
  --d: calc(var(--size) * 0.35);
  --s: 0.62;
  position: absolute; left: 50%; top: 50%;
  width: var(--d); height: var(--d);
  padding: 0; border: 0; background: none; cursor: pointer;
  font-size: calc(var(--d) * 0.15);
  /* 원 위의 자리 = 각도(--a)만큼 돌려서 반지름만큼 밀고, 다시 돌려 세운다 */
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))) scale(var(--s));
  transition: transform .6s cubic-bezier(.33, 1, .68, 1), opacity .45s ease, filter .6s ease;
}
.v2-pick .v2-logo { background: none; border-radius: 0; overflow: visible; }
.v2-pick .v2-logo img { width: 100%; height: 100%; object-fit: contain; }
.v2-pick.is-top { --s: 1; z-index: 1; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18)); }
.v2-pick.is-fav:not(.is-top) { opacity: 0.55; }
.v2-pick.is-hidden { opacity: 0 !important; pointer-events: none; }
/* 로고 이미지가 없는 학교는 약어를 흰 원에 적는다 — 아무것도 없으면 빈자리처럼 보인다 */
.v2-pick .v2-logo--abbr { background: #fff; border-radius: 50%; border: 2px solid #9AA39E; }
.v2-pick.is-top .v2-logo--abbr { border-color: var(--v2-dark); }
.v2-pick__badge {
  position: absolute; top: -2px; right: -2px;
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--v2-dark); color: #fff;
  border: 2.5px solid var(--v2-plate);
  font-size: 12px; font-weight: 900; line-height: 1;
}
.v2-pick__badge { transform: scale(1.15); transform-origin: top right; }
.v2-pick__badge:empty { display: none; }

.v2-wheel__center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -38%);
  width: 46%;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0; border: 0; background: none; font: inherit; cursor: pointer;
}
.v2-wheel__rank { font-size: 11px; font-weight: 700; color: var(--v2-good); }
.v2-wheel__name {
  font-size: 11px; font-weight: 600; line-height: 1.25; color: var(--v2-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-wheel__flag { margin-top: 6px; min-height: 26px; font-size: 24px; line-height: 1; }

.v2-wheel__empty {
  position: absolute; inset: 18%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 50%; background: #fff; color: var(--v2-ink); text-decoration: none; padding: 0 18px;
}
.v2-wheel__empty strong { font-size: 14px; }
.v2-wheel__empty span { font-size: 11px; color: var(--v2-ink-soft); word-break: keep-all; }

/* 비어 있는 지망 자리 */
.v2-pick .v2-logo--empty {
  background: #F4F2EE; border-radius: 50%; border: 2.4px dashed #B9B2A6;
  font-size: 1.8em; font-weight: 700; color: var(--v2-dark);
}
.v2-pick.is-empty.is-top .v2-logo--empty { border-color: var(--v2-dark); }

/* 가운데 이름이 바뀔 때 살짝 겹쳐 사라졌다 나타난다 */
.v2-wheel__rank, .v2-wheel__name, .v2-wheel__flag { transition: opacity .25s ease; }
.v2-wheel__center.is-changing .v2-wheel__rank,
.v2-wheel__center.is-changing .v2-wheel__name,
.v2-wheel__center.is-changing .v2-wheel__flag { opacity: 0; }

/* ---------------------------------------------------------------- 화면 제목 (학교 찾기 등) */
.v2-head { text-align: left; margin: 4px 0 -1px; }   /* 큰 영어 제목은 모든 페이지에서 왼쪽 정렬 */
/* 아래 검색줄은 붙박이(sticky)라 자기 위 여백 16px을 갖고 있다 — 제목과 사이는 15px */
.v2-head__eyebrow { margin: 0; font-size: 14px; color: var(--v2-ink-soft); }
.v2-head__title { margin: 0; font-family: var(--font-title); font-size: 54px; font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; color: var(--v2-ink); }

/* ---------------------------------------------------------------- 학교 찾기: 나라별 책장 */
body[data-page="search"] .school-grid { display: block; }
body[data-page="search"] #quickMore { background: var(--v2-dark); color: #fff; border-color: var(--v2-dark); font-weight: 700; }
body[data-page="search"] #quickMore { display: grid; place-items: center; }
body[data-page="search"] #quickMore svg { display: block; }
/* 필터 시트: '초기화'는 머리의 '필터' 제목 바로 옆(layout.js mountFilterSheet) */
body[data-page="search"] .app-sheet__head #resetFilters { margin: 0 auto 0 10px; font-size: 13px; font-weight: 600; color: var(--v2-ink-faint); padding: 6px 4px; }

/* 책장은 페이지 좌우 여백(.page-shell의 --space-4)을 무시하고 화면 끝까지 — 넘기는 카드가 화면 가장자리에서 잘려 보이게.
   100vw는 쓰지 않는다: 스크롤바 폭까지 포함해 화면보다 넓어지고(페이지가 옆으로 밀림),
   데스크탑에서는 기기 컬럼(body) 밖으로 튀어나갔다. 부모 여백만큼만 양옆으로 넓힌다. */
.v2-shelf { margin: 0 calc(var(--space-4) * -1) 44px; }
.v2-shelf__head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 24px; }
.v2-shelf__country { margin: 0; font-size: 19px; font-weight: 800; color: var(--v2-ink); }
.v2-shelf__count { font-size: 12px; color: var(--v2-ink-faint); }

/* 책장 한 칸 — 옆으로 넘긴다. 마지막 카드가 살짝 잘려 보여야 넘길 수 있다는 걸 안다 */
.v2-shelf__track {
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 24px; scrollbar-width: none;
  padding: 16px 0 4px;
}
/* 넘기는 내용 전체 폭(줄) — 선반은 이 줄에 붙어 학교 카드와 함께 움직인다 */
.v2-shelf__row { position: relative; display: flex; gap: 16px; width: max-content; padding: 0 24px; }
/* 원목 선반 — ㄴ자: 벽 쪽 뒤판 + 바닥판. 옆판은 없다. 학교 로고 카드가 바닥판 위, 뒤판 앞에 선다.
   색은 밝은 오크 — 뒤판은 그늘이라 한 단 어둡게, 바닥판 윗면은 빛을 받아 밝게, 앞면은 진하게.
   (결 무늬는 넣지 않는다 — 세로줄로 찍으면 나무보다 자 눈금처럼 보였다) */
.v2-shelf__row::before {
  content: ''; position: absolute; z-index: 0;
  /* 바닥판(58px)에 아래를 붙인 채 높이만 절반(46 → 23px) */
  left: 10px; right: 10px; top: 39px; height: 23px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#E6CCA2, #DBBE92);
}
.v2-shelf__row::after {
  content: ''; position: absolute; z-index: 0;
  /* 바닥판 두께도 절반(12 → 6px) — 윗면은 카드가 서는 58px 그대로 */
  left: 4px; right: 4px; top: 58px; height: 6px;
  border-radius: 1px;
  background: linear-gradient(#F1DDB9 0, #E8CFA4 40%, #DCBD8F 40%, #D3B184 100%);
  box-shadow: 0 6px 8px -3px rgba(120, 88, 48, .22);
}
.v2-shelf__row > .v2-book { position: relative; z-index: 1; }
.v2-shelf__track::-webkit-scrollbar { display: none; }

.v2-book {
  flex: 0 0 190px; scroll-snap-align: start;
  cursor: pointer; text-align: left;
}
.v2-book__cover { position: relative; height: 58px; display: flex; justify-content: center; align-items: flex-end; }
.v2-book__logo {
  display: grid; place-items: center;
  width: 76px; height: 56px;
  border-radius: 14px; background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}
.v2-book__logo img { max-width: 64px; max-height: 42px; object-fit: contain; }
.v2-book__abbr { font-size: 14px; font-weight: 900; color: var(--v2-dark); }
.v2-book__fav {
  position: absolute; top: -8px; right: 42px;
  display: grid; place-items: center;
  width: 22px; height: 22px; padding: 0;
  border: 1.5px solid #E0DBD2; border-radius: 50%; background: #fff;
  font-size: 12px; line-height: 1; color: var(--v2-ink-faint); cursor: pointer;
}
.v2-book__fav.is-active { color: #C8553D; }
/* QS 순위 — 로고 왼쪽 옆, 책장 선반 위에 세워 둔 작은 이름표 */
.v2-book__qs {
  position: absolute; bottom: 0; right: calc(50% + 38px + 6px); z-index: 2;
  height: 24px; padding: 0 7px; display: grid; place-items: center;
  border-radius: 7px 7px 3px 3px; background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.10);
  font-size: 10.5px; font-weight: 800; line-height: 1; color: var(--v2-ink); white-space: nowrap;
}
/* 이름은 두 줄 칸에 — 한 줄짜리는 그 칸의 세로 가운데로 내린다(옆 카드의 두 줄 이름과 가운데가 맞게).
   아래 두 줄(GPA·어학 / 모집·생활비)은 이름 길이와 상관없이 같은 자리(app_ui.md 1장) */
.v2-book__name {
  margin: 18px 0 0; height: 36px;
  display: flex; align-items: center;
  font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--v2-ink);
}
.v2-book__name > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-book__line {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  margin: 5px 0 0; font-size: 12px; color: var(--v2-ink-soft); white-space: nowrap;
}
.v2-book__elig, .v2-book__pct {
  flex: 0 0 auto; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 700;
}
.v2-book__elig--go { background: var(--v2-good-bg); color: var(--v2-good); }
.v2-book__elig--warn { background: var(--v2-warn-bg); color: var(--v2-warn); }
.v2-book__elig--unknown, .v2-book__elig--neutral, .v2-book__elig--no { background: #ECE9E3; color: #7A817D; }
.v2-book__cost { flex: 0 0 auto; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; background: #E3E8EF; color: #44546B; }

.v2-shelf__count {
  padding: 4px 0 4px 8px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--v2-ink-faint);
}

/* 나라 화면 — 같은 화면 위로 오른쪽에서 밀려 들어온다. 하단 탭바는 그대로 보이게 그 아래 층에 둔다 */
.v2-country {
  position: fixed; inset: 0; z-index: 65;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--page-bg);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.33, 1, .68, 1);
}
.v2-country.is-open { transform: none; }
.v2-country__bar {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
  background: var(--appbar-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.v2-country__back {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08);
  font-size: 22px; line-height: 1; color: var(--v2-ink); cursor: pointer;
}
.v2-country__title { flex: 1; margin: 0; font-size: 20px; font-weight: 800; color: var(--v2-ink); }
.v2-country__count { font-size: 12px; color: var(--v2-ink-faint); }
.v2-country__body { display: grid; gap: 12px; padding: 6px 16px 120px; }
body.has-country-view { overflow: hidden; }
.v2-country__body > .school-card { width: 100%; }
/* 위의 body[data-page="search"] .school-grid { display:block } 이 나라 화면 목록까지 덮어
   카드 사이 간격(gap)이 0이 됐다 — 나라 화면은 다시 grid로 */
body[data-page="search"] .v2-country__body.school-grid { display: grid; gap: 16px; }

/* 흰 로고(어두운 바탕용)는 짙은 바탕 위에 — logo-fit.js 가 불러온 뒤 알아본다 */
.v2-book__logo.has-light-logo { background: var(--v2-dark); }
.v2-pick .v2-logo.has-light-logo { background: var(--v2-dark); border-radius: 50%; }
.v2-pick .v2-logo.has-light-logo img { width: 70% !important; height: 70% !important; }
/* 파일이 없는 로고는 약어 글자로 */
.logo-fallback { font-weight: 900; color: var(--v2-dark); letter-spacing: -0.02em; }
.v2-book__logo .logo-fallback { font-size: 14px; }
.v2-pick .v2-logo.has-logo-fallback { background: #fff; border-radius: 50%; border: 2px solid #9AA39E; font-size: 1.2em; }

/* ---------------------------------------------------------------- 내 저장 (Compare your PICKS) */
body[data-page="saved"] .saved { padding-top: 0; }
body[data-page="saved"] .v2-head { margin-bottom: 14px; }
body[data-page="saved"] .compare { border-radius: var(--v2-radius); padding: 6px 12px 10px; border: 0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
body[data-page="saved"] .compare__row { min-height: 50px; border-top: 1px solid #EEEBE5; }
body[data-page="saved"] .compare__row--head { border-top: 0; }
body[data-page="saved"] .compare__label { padding-left: 4px; font-size: 12px; color: var(--v2-ink-faint); }
body[data-page="saved"] .compare__cell { border-left: 0; padding: 6px 4px; background: none; }
body[data-page="saved"] .compare__school { border-left: 0; padding: 12px 4px 8px; gap: 8px; }

/* 학교 머리 — 지망 학교 로고를 원 안에. 세 학교 모두 같은 크기, 지망은 아래 글자로만 */
.compare__logo {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1.5px solid #D3CEC4;
}
.compare__logo.has-light-logo { background: var(--v2-dark); }
.compare__logo .logo-fallback { font-size: 13px; }
body[data-page="saved"] .compare__tag { font-size: 11px; font-weight: 500; color: var(--v2-ink-faint); }

/* 값 — 큰 숫자 + 그 아래 작은 줄(상위 %, 시험 이름). 강조 칸은 칸 폭을 거의 다 채우는 초록 테두리 상자 —
   글자는 다른 칸과 같은 크기로 두고 상자를 키운다(app_ui.md 1장 "강조 칸") */
.compare__value { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 0 7px; min-width: 0; white-space: nowrap; }
.compare__main { font-size: 15px; font-weight: 800; color: var(--v2-ink); line-height: 1.2; }
.compare__sub { font-size: 10px; font-weight: 700; color: #44546B; line-height: 1.2; }
.compare__sub.is-hot { color: var(--v2-bad); }
.compare__cell.is-best .compare__value {
  box-sizing: border-box; width: calc(100% - 4px);
  padding: 7px 4px 9px; border-radius: 14px;
  border: 1.5px solid var(--v2-good); background: none;
}

/* ---------------------------------------------------------------- 학점 인정 (Will it count? CREDITS) */
body[data-page="credits"] .credits-grid { padding-top: 0; }
/* 위 두 탭 — 회색 알약 안에서 고른 쪽만 흰 알약 */
body[data-page="credits"] .mode-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding: 3px; border-radius: 18px; background: var(--v2-plate); border: 0;
}
/* 살짝 작게(42 → 34px 높이) — 제목 아래에서 탭보다 무겁게 보이지 않도록 */
body[data-page="credits"] .mode-toggle__btn {
  height: 28px; padding: 0; display: grid; place-items: center; line-height: 1;   /* 기본 여백(10px)이 남으면 글자가 아래로 처진다 */
  border: 0; border-radius: 15px; background: none;
  font-size: 12.5px; font-weight: 600; color: #6B766F;
}
body[data-page="credits"] .mode-toggle__btn.is-active { background: #fff; color: var(--v2-ink); font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
/* 조회 카드 — "소속 학과" 같은 라벨은 값이 이미 말해 주므로 뺀다(app_ui.md 2장) */
body[data-page="credits"] .match-query { border-radius: 24px; border: 0; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
body[data-page="credits"] .match-query__label { display: none; }

/* 결과 카드 — 로고 옆 제목은 한 줄이면 로고와 세로 가운데, 두 줄이면 로고 위끝에 맞추고,
   보조 줄은 제목 길이와 상관없이 같은 자리(app_ui.md 1장) */
.v2-xmatch { border-radius: 24px; padding: 16px 18px 18px; border: 0; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.v2-xmatch .verdict { display: inline-flex; margin: 0; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 800; }
.v2-xmatch__course {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; row-gap: 6px;
  margin-top: 14px;
}
.v2-xmatch__logo {
  grid-row: 1; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 1.5px solid #D3CEC4; overflow: hidden;
}
.v2-xmatch__logo.has-light-logo { background: var(--v2-dark); }
.v2-xmatch__logo .logo-fallback { font-size: 10px; }
.v2-xmatch__title.match-card__headline {
  grid-column: 2; grid-row: 1; margin: 0;
  height: 36px; display: flex; align-items: center; overflow: hidden;
  font-size: 14px; font-weight: 800; line-height: 1.28; color: var(--v2-ink); word-break: keep-all;
}
.v2-xmatch__meta {
  grid-column: 2; grid-row: 2; margin: 0;
  font-size: 11px; line-height: 1.4; color: var(--v2-ink-soft);   /* 과목 코드·학점이 "…"로 잘려 줄을 바꿔 다 보이게 */
}
.v2-xmatch__arrow {
  display: grid; place-items: center; width: 26px; height: 26px; margin: 10px auto;
  border-radius: 50%; background: var(--v2-dark); color: #fff; font-size: 13px; font-weight: 800;
}
.v2-xmatch__home { margin: 0; padding: 10px 14px; border-radius: 14px; background: #F4F2EE; font-size: 13px; line-height: 1.45; color: var(--v2-ink-soft); word-break: keep-all; }
.v2-xmatch__home-school { margin-right: 4px; }
/* 파견교 전공 이름 — 누르면 그 전공의 매칭으로 넘어간다 */
.v2-xmatch__topic { padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: var(--v2-ink); text-decoration: underline; text-decoration-color: #C9C4B8; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.v2-xmatch__evidence { margin-top: 12px; }

/* 검색줄 칸 글씨는 가운데 — ⌄ 표시가 오른쪽 여백(36px)을 차지하므로 왼쪽도 같은 만큼 비워야 진짜 가운데다 */
/* 빠른 필터 칸 글씨는 가운데 — ⌄ 그림이 오른쪽 여백 안에 있으므로 좌우 여백을 같게 둬야 진짜 가운데다
   (search.css 가 오른쪽 여백을 !important 로 잡고 있다) */
/* 좁은 화면(폭 331px)에서 "대륙/…"처럼 잘려 여백을 줄였다. 화살표(오른쪽 8px)만큼 오른쪽을 조금 더 비운다 */
body[data-page="search"] .quick-filters select.quick-filter { padding-left: 8px !important; padding-right: 20px !important; background-position: right 8px center !important; text-align: center; text-align-last: center; }

/* 학점 인정 카드의 긴 설명 상자 — 두 줄로 접으면 세 번째 줄이 아래 안쪽 여백(padding)에 비쳐
   글자가 상자 밖으로 삐져나온 것처럼 보였다. 줄 수 제한(line-clamp)은 여백까지 잘라 주지 않는다.
   그래서 아래 여백만 같은 색 테두리로 바꾼다 — 테두리 자리에는 글자가 들어가지 못한다. */
body[data-page="credits"] .match-card__note { padding: 14px 16px; border-radius: 14px; line-height: 1.55; }
body[data-page="credits"] .match-card__note.is-clamped { padding-bottom: 0; border-bottom: 14px solid var(--sky-50); }
body[data-page="credits"] .match-card__note-toggle { margin-top: 8px; }

/* PICKS 아래 찜한 학교 목록 — 줄마다 1·2·3 버튼으로 지망을 정한다 */
body[data-page="saved"] .saved__section + .saved__section { margin-top: 28px; }
body[data-page="saved"] .saved__head h2 { font-size: 17px; }
.fav-list { list-style: none; margin: 0; padding: 4px 16px; border-radius: var(--v2-radius); border: 0; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.fav-row { display: flex; align-items: center; gap: 10px; min-height: 64px; border-top: 1px solid #EEEBE5; }
.fav-row:first-child { border-top: 0; }
.fav-row__school {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.fav-row__logo {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: #fff; border: 1.5px solid #D3CEC4;
}
.fav-row__logo.has-light-logo { background: var(--v2-dark); }
.fav-row__logo .logo-fallback { font-size: 11px; }
.fav-row__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fav-row__name { font-size: 14px; font-weight: 700; color: var(--v2-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-row__meta { font-size: 12px; color: var(--v2-ink-soft); }
.fav-row__meta b { color: var(--v2-good); }
/* 제목과 아래 전환 버튼 사이 — 학교 찾기의 제목·검색창 간격(15px)과 같게 */
body[data-page="credits"] .v2-head { margin-bottom: 15px; }
/* 단계 아래 작은 날짜(지원 1월 7일 · 배정 1월 20일). 네 칸이 반쪽 상자에 들어가야 해서 한 줄로 작게 */
.journey__sub { display: block; font-size: 9.5px; font-weight: 500; color: var(--ink-400); letter-spacing: -0.03em; margin-top: 1px; white-space: nowrap; }
/* 홈 — 다가오는 국제처 일정(단계·바로가기 두 상자 아래) */
.v2-home .upcoming { margin-top: 8px; padding: 10px 14px; border-radius: var(--v2-radius); background: #fff; border: 1px solid var(--line-100); }

/* ---------------------------------------------------------------- Mentor's Step v2 (Figma "Mentor's Step v2 시안") */
body[data-page="consult"] .m2-head { margin-top: 6px; }
.m2 { padding-bottom: 120px; gap: 0; }   /* 간격은 아래 margin 으로만 — 레이아웃 gap(16px)이 덧붙어 47px까지 벌어졌다 */
.m2-ask { display: flex; gap: 8px; margin-top: 16px; }
.m2-ask__in {
  flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1.5px solid #E0DCD1; border-radius: 23px; background: #fff;
  display: block; line-height: 43px; font: inherit; font-size: 13.5px; color: var(--v2-ink-faint); text-align: left; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;   /* flex면 말줄임이 안 되고 글자가 잘린다 */
}
.m2-ask__btn {
  flex: none; height: 46px; padding: 0 18px; border: 0; border-radius: 23px; background: var(--v2-dark); color: #fff;
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.m2 .mentor-credit { display: none; }   /* 크레딧은 앱바에 이미 보인다 */
.m2-chips { display: flex; align-items: center; gap: 8px; margin-top: 8px; }   /* 질문창 ↔ 칩은 한 묶음 조작이라 8px(여백 규칙) */
.m2-chips__scroll { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.m2-chips__scroll::-webkit-scrollbar { display: none; }
.m2-chips .chip { flex: none; height: 32px; padding: 0 13px; border: 1.5px solid #E0DCD1; border-radius: 16px; background: #fff; font-size: 12px; font-weight: 700; color: var(--v2-ink); }
.m2-chips .chip.is-selected { background: var(--v2-dark); border-color: var(--v2-dark); color: #fff; }
.m2-fav { flex: none; }
.m2-sec { display: flex; justify-content: space-between; align-items: baseline; margin: var(--m2-sec-gap, 19px) 2px 12px; }   /* 위 덩어리 아래 끝 → 제목 글자 위까지 보이는 여백 24px */
.m2-sec h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--v2-ink); }
.m2-sec span { font-size: 12px; color: var(--v2-ink-faint); }
.m2 .mentor-pins { display: block; padding: 0; border: 0; background: none; }
.m2 .mentor-pins[hidden] { display: none; }
/* 구역 사이 보이는 여백 24px로 통일(칩 줄 → 선배의 기록, 선배의 기록 카드 → 질문 · 답변) */
.m2 .mentor-pins .m2-sec, .m2 .mentor-pins[hidden] + .m2-sec { margin-top: 22px; }
.m2 .mentor-pins:not([hidden]) + .m2-sec { margin-top: 12px; }
/* 선배의 기록 — 홈 바로가기처럼 색 상자, 화면 오른쪽 끝까지 이어 넘긴다 */
.m2-cols { display: flex; gap: 10px; margin-right: calc(50% - 50vw); padding-right: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.m2-cols::-webkit-scrollbar { display: none; }
.m2-col {
  position: relative; flex: 0 0 196px; height: 136px; padding: 16px; border: 0; border-radius: 24px; box-sizing: border-box; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; text-align: left;
  font: inherit; color: var(--v2-ink); cursor: pointer; overflow: hidden; background-size: cover; background-position: center;
}
.m2-col--sand { background-color: var(--v2-sand); }
.m2-col--sky { background-color: var(--v2-sky); }
.m2-col--plum { background-color: var(--v2-plum); }
/* 사진 카드 — 글자가 사진 위에서도 읽히게 위·아래만 살짝 밝힌다 */
.m2-col.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.35) 32%, rgba(255,255,255,.35) 44%, rgba(255,255,255,.88) 66%, rgba(255,255,255,.92)); }
.m2-col > * { position: relative; }
.m2-col.has-photo .m2-col__meta { color: var(--v2-ink); font-weight: 600; }   /* 사진 위 출처 — 짙게 */
.m2-col__top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.m2-col__k { flex: none; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .8); }
.m2-col__meta { margin-left: auto; text-align: right; min-width: 0; font-size: 11px; color: var(--v2-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m2-col__t { font-size: 14.5px; font-weight: 500; line-height: 1.4; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 질문 카드 */
.m2 .mentor-list { display: flex; flex-direction: column; gap: 8px; border: 0; background: none; padding: 0; }
.m2-q {
  display: flex; flex-direction: column; width: 100%; padding: 14px 16px; border: 1px solid #E0DCD1; border-radius: 20px; background: #fff;
  font: inherit; text-align: left; color: var(--v2-ink); cursor: pointer;
}
.m2-q__top { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--v2-ink-soft); }
.m2-q__star { font-size: 16px; color: #C9C4B8; padding: 2px 0 2px 8px; }
.m2-q__star.is-on { color: #E2A93B; }
.m2-q__t { margin: 6px 0 10px; font-size: 15px; font-weight: 800; line-height: 1.42; word-break: keep-all; }
.m2-q__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: var(--v2-ink-faint); }
.m2-ans { flex: none; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--v2-good-bg); color: var(--v2-good); }
.m2-ans.is-wait { background: var(--v2-warn-bg); color: var(--v2-warn); }
.m2-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--v2-ink-soft); }
.m2-empty p { margin: 0; }

/* Mentor's Step 질문 상세 (Figma "질문 상세") */
.m2d-page { background: #fff; }
.m2d-top { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: calc(var(--safe-top, 0px) + 14px) 20px 6px; }
.m2d-back { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F1EFEA; color: var(--v2-ink); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.m2d-top__t { text-align: center; line-height: 1.2; }
.m2d-top__t b { display: block; font-size: 15px; font-weight: 700; }
.m2d-top__t small { font-size: 9px; font-weight: 700; color: var(--v2-ink-faint); }
.mentor-page__body.m2d { padding: 14px 20px 24px; color: var(--v2-ink); }
.m2d-country { margin: 0; font-size: 12px; font-weight: 700; color: var(--v2-ink-soft); }
.m2d-title { margin: 6px 0 0; font-size: 22px; font-weight: 800; line-height: 1.36; letter-spacing: -0.02em; word-break: keep-all; }
.m2d-body { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--v2-ink-soft); word-break: keep-all; }
.m2d-meta { margin-top: 20px; font-size: 11.5px; color: var(--v2-ink-faint); }
.m2d .m2-sec { margin-top: 19px; }
.m2d-a { border-radius: 20px; background: #F4F2EE; padding: 15px 16px; margin-bottom: 10px; }
.m2d-a__who { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; }
.m2d-a__av { width: 26px; height: 26px; border-radius: 50%; background: var(--v2-dark); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.m2d-a__av.is-alt { background: #8A928E; }
.m2d-a__body { margin: 10px 0 8px; font-size: 13.5px; line-height: 1.6; word-break: keep-all; }
.m2d-a__foot { font-size: 11px; color: var(--v2-ink-faint); display: flex; align-items: center; gap: 10px; }
/* 내 질문·답변 삭제 — 눈에 띄지 않게 글자 버튼으로(되돌릴 수 없어 누르면 확인을 한 번 더 받는다) */
.m2d-del { margin-left: auto; padding: 4px 2px; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 600; color: var(--v2-ink-soft); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.m2d-del--top { margin: 0; justify-self: end; font-size: 12.5px; }
.m2d-empty { margin: 0; padding: 18px 0; font-size: 13px; color: var(--v2-ink-faint); }
.m2d-bar { flex: none; display: flex; align-items: flex-end; gap: 10px; padding: 13px 20px calc(var(--safe-bottom, 0px) + 20px); border-top: 1px solid #EFEBE3; background: #fff; margin: 0; }
.m2d-bar__in { flex: 1; min-width: 0; min-height: 44px; max-height: 120px; padding: 12px 16px; border: 0; border-radius: 22px; background: #F4F2EE; font: inherit; font-size: 13px; line-height: 20px; color: var(--v2-ink); resize: none; box-sizing: border-box; display: flex; align-items: center; }
span.m2d-bar__in { color: var(--v2-ink-faint); }
.m2d-bar__in::placeholder { color: var(--v2-ink-faint); }
.m2d-bar__btn { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 22px; background: var(--v2-dark); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }


/* ---------------------------------------------------------------- 홈 하단 정보(운영·문의·약관)
   어두운 띠가 화면 끝까지 닿게 body의 아래 여백(탭바 자리)을 띠가 대신 채운다 */
body[data-page="home"] .v2-home { padding-bottom: var(--space-6); }
.site-footer {
  margin-bottom: calc((var(--tabbar-h) + var(--tabbar-gap) * 2 + var(--safe-bottom) + var(--space-5)) * -1);
  /* 아래 여백 — 마지막 줄과 탭바 사이를 20px만 남긴다(탭바에 가리지 않을 만큼) */
  padding: 28px 24px calc(var(--tabbar-h) + var(--tabbar-gap) + var(--safe-bottom) + 20px);
  background: var(--v2-dark); color: #B8C0BC;
  font-size: 11px; line-height: 1.6; word-break: keep-all;
}
/* 글자는 작고 흐리게 — 본문이 아니라 바닥 정보라서. 가장 흐린 색도 대비 4.5:1(#9AA49F)은 넘긴다 */
.site-footer__brand { margin: 0; font-family: var(--font-title); font-size: 16px; font-weight: 900; letter-spacing: -0.02em; color: #D3D9D6; }
.site-footer__tag { margin: 2px 0 0; color: #9AA49F; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 16px; }
.site-footer__links a { color: #B8C0BC; text-decoration: none; font-size: 11.5px; }
.site-footer__links a + a::before { content: '|'; margin: 0 9px; color: #5E6A65; }
.site-footer__links strong { color: #D3D9D6; font-weight: 700; }
.site-footer__info { margin: 12px 0 0; display: grid; gap: 1px; }
.site-footer__info div { display: flex; gap: 8px; }
.site-footer__info dt { flex: none; width: 36px; color: #9AA49F; }
.site-footer__info dd { margin: 0; color: #B8C0BC; }
.site-footer__info a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__note { margin: 12px 0 0; color: #9AA49F; }
.site-footer__copy { margin: 12px 0 0; color: #9AA49F; font-size: 10.5px; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }

/* 여백 규칙(app_ui.md) — 같은 종류끼리 8px, 같은 구역 안 다른 성격끼리 16px, 구역 사이 24px.
   학교 찾기: 검색창↔필터 8px, 필터 줄↔학점 인정 카드↔명단 안내↔목록 머리 16px */
body[data-page="search"] .search-toolbar { row-gap: 8px; }
body[data-page="search"] .sim-banner { margin-top: 0; }
body[data-page="search"] .quick-filters { gap: 8px; }

/* 여백 규칙(app_ui.md 8/16/24) — Picks(내 저장).
   구역 제목 ↔ 내용 12, 학교 추가 ↔ 안내 글 ↔ 경고 8, 안내 ↔ 목록 16, 구역 사이 24(보이는 거리) */
body[data-page="saved"] .saved__head { margin-bottom: 12px; }
body[data-page="saved"] .wish-add { margin: 0 0 8px; gap: 8px; }
body[data-page="saved"] .wish-note { margin: 0 0 16px; }
body[data-page="saved"] .wish-note + .wish-warn { margin-top: -8px; }
body[data-page="saved"] .wish-warn { margin-bottom: 16px; }
body[data-page="saved"] .wish-warn + .wish-warn { margin-top: -8px; }
body[data-page="saved"] .saved__section + .saved__section { margin-top: 22px; }   /* 제목 줄 높이 위 여유 2px을 빼 보이는 거리 24 */

/* 여백 규칙(app_ui.md 8/16/24) — 학점 인정. 검색 칸·조회 버튼끼리 8px, 직접 확인 안내 ↔ 결과 16px */
body[data-page="credits"] .match-query { gap: 8px; }
body[data-page="credits"] .match-query__row { gap: 8px; }
body[data-page="credits"] .verify-note + #matchList { margin-top: 16px; }

/* [테스트] 학교 찾기 나라 이름을 SB 어그로체로 — 큰 제목(Schools)은 원래 글꼴로 되돌렸다. 마음에 안 들면 이 블록만 지운다 */
body[data-page="search"] .v2-shelf__country { font-family: 'SB Aggro Light', var(--font-title); font-weight: 700; letter-spacing: -0.02em; -webkit-text-stroke: 0.028em currentColor; paint-order: stroke fill; }

/* ---------------------------------------------------------------- 학교 찾기 — 지구본 보기 */
.view-globe-toggle {
  flex: none; width: 34px; height: 34px; margin-left: 6px; margin-right: auto; display: grid; place-items: center;
  border: 1.5px solid #E0DCD1; border-radius: 50%; background: #fff; color: var(--v2-ink); cursor: pointer;
}
.view-globe-toggle.is-on { background: var(--v2-dark); border-color: var(--v2-dark); color: #fff; }
.school-globe[hidden] { display: none; }
.sglobe { margin-top: 8px; }
.sglobe__stage { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; overflow: hidden; border-radius: 50%; }
.sglobe__stage:active { cursor: grabbing; }
.sglobe__earth { position: absolute; inset: 0; width: 100%; height: 100%; }
.sglobe__logos { position: absolute; inset: 0; }
/* 대륙·나라·도시 이름표 — 로고 아래 층, 누르지 않는다(js/components/school-globe.js placeLabels) */
.sglobe__labels { position: absolute; inset: 0; pointer-events: none; }
.sglobe__label {
  position: absolute; left: 0; top: 0; padding: 0 3px; white-space: nowrap; line-height: 1;
  font-weight: 700; color: #3E4A45; letter-spacing: -0.01em;
  text-shadow: 0 0 3px rgba(255, 255, 255, .95), 0 0 6px rgba(255, 255, 255, .8);
}
.sglobe__label--continent { font-weight: 800; color: #1E2A26; letter-spacing: 0.06em; }
.sglobe__label--city { font-weight: 600; color: #66716C; }
.sglobe__logo {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; padding: 3px; border: 1.5px solid #fff; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28); display: grid; place-items: center; cursor: pointer; transform-origin: center;
}
.sglobe__logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; pointer-events: none; }
.sglobe__logo span { font-size: 9px; font-weight: 800; color: var(--v2-ink); letter-spacing: -0.02em; }
.sglobe__logo.has-more { border-color: var(--v2-dark); }
.sglobe__more {
  position: absolute; right: -7px; top: -6px; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--v2-dark); color: #fff; font-size: 9.5px; font-weight: 800; line-height: 16px; text-align: center;
}
.sglobe__pop {
  /* 지구본 안에서만 위에 뜨면 된다 — 300이면 계정 시트·필터 시트보다 위로 올라왔다 */
  position: absolute; z-index: 5; width: 220px; max-height: 200px; overflow-y: auto; padding: 10px; border-radius: 14px;
  background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); cursor: default;
}
.sglobe__pop[hidden] { display: none; }
.sglobe__pop-title { margin: 0 0 6px; font-size: 11px; font-weight: 800; color: var(--v2-ink-soft); }
.sglobe__pop ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.sglobe__pop li button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 6px 4px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--v2-ink); text-align: left; cursor: pointer; }
.sglobe__pop li button:active { background: #F6F4EF; }
.sglobe__pop-logo { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #E8E4DB; display: grid; place-items: center; overflow: hidden; }
.sglobe__pop-logo img { width: 100%; height: 100%; object-fit: contain; }
.sglobe__pop-logo span { font-size: 8px; font-weight: 800; }
.sglobe__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.sglobe__hint { margin: 0; font-size: 11px; line-height: 1.5; color: var(--v2-ink-faint); }
.sglobe__zoom { display: flex; gap: 8px; }
.sglobe__zoom button { width: 36px; height: 36px; border: 1.5px solid #E0DCD1; border-radius: 50%; background: #fff; font-size: 18px; font-weight: 700; color: var(--v2-ink); cursor: pointer; }
.sglobe__zoom button:disabled { opacity: .35; cursor: default; }
#schoolGrid[hidden] { display: none !important; }
.sglobe__stage { box-shadow: inset 0 0 0 1px rgba(30, 42, 38, 0.06); }
.sglobe__logo.is-light, .sglobe__pop-logo.is-light { background: var(--v2-dark); }
/* 로고 z-index(깊이 순서)가 globe 안에서만 통하게 — 스크롤하면 위로 올라오는 검색 띠(z-index 30) 위로 튀어나오지 않게. 원 밖도 잘라 낸다 */
.sglobe__stage { isolation: isolate; z-index: 0; clip-path: circle(50% at 50% 50%); }
.sglobe { position: relative; }
/* 지구본은 목록 위 — 지구본 아래 안내 줄 ↔ 첫 나라 목록은 구역 사이 24px */
.school-globe { margin-bottom: 24px; }
.sim-banner[hidden] { display: none !important; }
