/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Apple SD Gothic Neo', sans-serif;
  background: #fff;
  color: #000;
  font-size: 20px;
  line-height: 1.45;
}
button { cursor: pointer; font-family: inherit; background: none; border: none; }
img { display: block; width: 100%; }
input, textarea {
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

/* ══ HEADER ══ */
.site-wrap {
  display: flex;
  flex-direction: column;
}
#siteHeader {
  display: flex;
  flex-direction: column;
  padding: 28px 150px 16px 150px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: padding 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s;
}
#siteHeader.scrolled {
  padding: 16px 150px 12px;
}
#siteHeader.scrolled .header-bottom-row {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
}
.header-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  max-height: 60px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s, margin-top 0.35s;
}
.logo-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
}
.logo-nav {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.logo-nav-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  color: #000;
  text-decoration: none;
  opacity: 0.18;
  transition: opacity 0.15s;
}
.logo-nav-item:hover { opacity: 1; }
.header-tagline {
  font-size: 20px;
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 4px;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 50s linear infinite;
  will-change: transform;
}
.marquee-track span {
  padding-right: 0.4em;
  color: #ff2222;
  text-shadow:
    0 0 4px rgba(255,80,80,1),
    0 0 14px rgba(255,30,30,0.9),
    0 0 32px rgba(220,0,0,0.6),
    0 0 60px rgba(180,0,0,0.3);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.cur-user {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-text {
  font-size: 14px;
  color: #888;
  border: 1px solid #ccc;
  padding: 3px 10px;
  border-radius: 2px;
}
.btn-text:hover { background: #f5f5f5; }

/* ══ SEARCH BAR ══ */
.search-bar {
  display: none;
  padding: 0 150px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(.4,0,.2,1), padding 0.3s;
}
.search-bar.open {
  display: block;
  max-height: 100px;
  padding: 16px 150px 20px;
}
.search-input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  padding: 6px 0;
  background: transparent;
  outline: none;
  color: #000;
}
.search-input::placeholder { color: #ccc; font-weight: 400; }

/* ══ BODY LAYOUT ══ */
.body-wrap {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 130px);
}

/* ══ SIDEBAR ══ */
.sidebar {
  width: 460px;
  flex-shrink: 0;
  padding: 10px 50px 50px 150px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sb-block {
  margin-bottom: 28px;
}
.sb-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}
.sb-stat {
  font-size: 14px;
}
.sb-stat strong { color: #000; font-weight: 700; }

.btn-add-building {
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 9px 0;
  text-align: center;
  margin-bottom: 28px;
  transition: background 0.15s;
}
.btn-add-building:hover {
  background: #000;
  color: #fff;
}

.sb-sort {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sort-btn {
  font-size: 14px;
  color: #aaa;
  text-align: left;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.1s;
}
.sort-btn:hover { color: #000; }
.sort-btn.active {
  color: #000;
  font-weight: 700;
}

/* 최근 추가 */
.recent-item {
  font-size: 14px;
  color: #555;
  padding: 5px 0;
  cursor: pointer;
  line-height: 1.4;
}
.recent-item:last-child { border-bottom: none; }
.recent-item:hover { color: #000; }
.recent-item .ri-name { font-weight: 600; display: block; }
.recent-item .ri-sub { font-size: 14px; color: #bbb; }

/* ══ MAIN CONTENT ══ */
.main-content {
  flex: 1;
  padding: 10px 150px 60px 0;
  min-width: 0;
}

/* ══ HOT RANKING ══ */
.ranking-section {
  margin-bottom: 60px;
}
.ranking-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ff0000;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.rank-card {
  cursor: pointer;
}
.rank-num {
  font-size: 11px;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.rank-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 10px;
}
.rank-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.4s;
  display: block;
}
.rank-card:hover .rank-img-wrap img {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.rank-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.rank-user-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #000;
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.rank-avg {
  font-size: 13px;
  color: #888;
  letter-spacing: 1px;
}
.upcoming-card { cursor: default; }
.upcoming-img {
  background: repeating-linear-gradient(
    45deg,
    #f0f0f0,
    #f0f0f0 4px,
    #fafafa 4px,
    #fafafa 12px
  );
}
.upcoming-card .rank-name { color: #bbb; }

/* 건물 행 — OMA 스타일: 연도 / 이미지 / 제목 */
.building-row {
  display: grid;
  grid-template-columns: 60px 340px 1fr;
  gap: 0;
  margin-bottom: 36px;
  cursor: pointer;
  align-items: start;
}
.building-row:hover .row-name { text-decoration: none; }

.row-year-col {
  padding-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
  letter-spacing: -0.3px;
}

.row-img-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.row-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s, transform 0.5s;
  display: block;
}
.building-row:hover .row-img {
  filter: grayscale(10%);
  transform: scale(1.04);
}

.row-info {
  padding: 0 0 0 36px;
}
.row-name {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}
.row-name-en {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 4px;
}
.row-architect {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}
.row-rating {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.row-stars { letter-spacing: 1px; }
.row-avg { font-weight: 700; }
.row-cnt { color: #aaa; font-size: 14px; }
.row-no-rating { font-size: 14px; color: #ccc; }
.row-style {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: #aaa;
}
.row-user-badge {
  font-size: 14px;
  color: #fff;
  background: #000;
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* ══ 건축물 추가 모달 ══ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.add-modal {
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}
.add-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.add-modal-header button {
  font-size: 16px;
  color: #999;
}
.add-modal-header button:hover { color: #000; }

.add-modal-body {
  padding: 24px;
}
.field-row {
  margin-bottom: 16px;
}
.field-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 5px;
}
.field-row input,
.field-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 6px 0;
  font-size: 14px;
  background: transparent;
  transition: border-color 0.15s;
}
.field-row input:focus,
.field-row textarea:focus { border-bottom-color: #000; }
.field-row textarea { resize: vertical; }
.field-hint { font-size: 14px; color: #bbb; display: block; margin-top: 4px; }

.img-drop-zone {
  border: 1.5px dashed #ccc;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
}
.img-drop-zone.drag-over {
  border-color: #000;
  background: #f8f8f8;
}
.img-drop-zone.has-image {
  padding: 0;
  border-style: solid;
  border-color: #000;
}
.img-drop-zone img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
.img-browse-link {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.add-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.add-error { font-size: 14px; color: #c00; }
.btn-submit-building {
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 28px;
}
.btn-submit-building:hover { background: #333; }

/* ══ MODAL PANEL ══ */
#panelOverlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
}
#panelOverlay.open { display: block; }

#sidePanel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.97);
  width: 90%;
  max-width: 820px;
  max-height: 88vh;
  background: #fff;
  z-index: 201;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  overflow-y: auto;
}
#sidePanel.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.panel-inner { padding-bottom: 60px; }

.panel-close {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.panel-close:hover { background: #f5f5f5; }

.panel-img-wrap {
  width: 100%; aspect-ratio: 16/7; overflow: hidden;
}
.panel-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%);
}

.panel-meta {
  padding: 20px 32px 2px;
  font-size: 14px; color: #aaa;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.panel-title {
  padding: 6px 32px 4px;
  font-size: 32px; font-weight: 900;
  letter-spacing: -0.8px; line-height: 1.1;
}
.panel-architect { padding: 0 32px 8px; font-size: 14px; color: #777; }
.panel-avg {
  padding: 0 32px 16px;
  display: flex; align-items: center; gap: 8px;
}
.panel-avg .avg-stars { letter-spacing: 2px; font-size: 15px; }
.panel-avg .avg-num { font-size: 14px; font-weight: 700; }
.panel-avg .avg-cnt { font-size: 14px; color: #aaa; }
.panel-desc {
  padding: 0 32px 28px;
  font-size: 14px; color: #444; line-height: 1.8;
}

.panel-divider { border-top: 1px solid #e8e8e8; margin: 0 32px 20px; }

.form-section { padding: 0 32px; }
.form-head {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 12px;
}
.star-row { display: flex; gap: 4px; margin-bottom: 12px; }
.star-btn {
  font-size: 26px; color: #ddd; line-height: 1;
  transition: color 0.1s; padding: 0;
}
.star-btn.hover, .star-btn.active { color: #000; }

textarea#reviewInput {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  font-size: 14px; resize: none; height: 60px;
}
textarea#reviewInput:focus { border-bottom-color: #000; }

.form-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; margin-bottom: 24px;
}
.form-foot span { font-size: 14px; color: #bbb; }
button#submitReview {
  background: #000; color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 7px 20px; letter-spacing: 0.1em;
}
button#submitReview:hover { background: #333; }

.reviews-head {
  padding: 0 32px 12px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.reviews-head span { font-weight: 400; color: #aaa; margin-left: 6px; }

.review-item { padding: 14px 32px; }
.review-item + .review-item { border-top: 1px solid #f0f0f0; }
.review-top {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 5px; flex-wrap: wrap;
}
.reviewer { font-size: 14px; font-weight: 700; flex: 1; }
.rv-stars { font-size: 14px; letter-spacing: 1px; }
.rv-date { font-size: 14px; color: #bbb; }
.rv-text { font-size: 14px; color: #444; line-height: 1.65; }
.empty-rv { padding: 20px 32px; font-size: 14px; color: #bbb; }

/* ══ MY PAGE MODAL ══ */
.mypage-modal {
  background: #fff;
  width: 90%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
}
.mypage-header {
  padding: 32px 32px 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}
.mypage-username {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.mypage-review-count {
  font-size: 14px;
  color: #aaa;
}
.mypage-empty {
  padding: 40px 32px;
  font-size: 14px;
  color: #bbb;
}
.mypage-group {
  padding: 20px 32px 28px;
  border-bottom: 1px solid #f0f0f0;
}
.mypage-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.mypage-stars {
  font-size: 17px;
  letter-spacing: 2px;
}
.mypage-group-count {
  font-size: 14px;
  color: #aaa;
}
.mypage-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.mypage-card {
  cursor: pointer;
}
.mypage-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 8px;
}
.mypage-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.4s;
  display: block;
}
.mypage-card:hover .mypage-card-img img {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.mypage-card-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3px;
}
.mypage-card-text {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══ TEAM PAGE ══ */
.team-page {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 500;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.25s;
}
.team-page.open {
  display: block;
  opacity: 1;
}
.team-inner {
  padding: 28px 150px 80px;
  min-height: 100vh;
}
.team-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 80px;
}
.team-logo {
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
}
.team-close {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.15s;
}
.team-close:hover { color: #000; }
.team-desc {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.5;
  margin-bottom: 48px;
}
.team-divider { display: none; }
.team-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.team-section-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #aaa;
  padding-top: 2px;
}
.team-section-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #000;
}

/* ══ TOAST ══ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: #000; color: #fff;
  font-size: 14px; padding: 9px 22px;
  opacity: 0; pointer-events: none; z-index: 999;
  transition: opacity 0.2s; letter-spacing: 0.05em;
}
.toast.show { opacity: 1; }

/* ══ RESPONSIVE ══ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  #siteHeader { padding: 20px 40px 14px 40px; }
  #siteHeader.scrolled { padding: 10px 40px; }
  .logo { font-size: 52px; letter-spacing: -2px; }
  .logo-nav-item { font-size: 52px; letter-spacing: -2px; }
  .logo-row { gap: 20px; }
  .logo-nav { gap: 16px; }
  .sidebar { width: 260px; padding: 16px 24px 32px 40px; }
  .main-content { padding: 24px 40px 60px 0; }
  .building-row { grid-template-columns: 48px 240px 1fr; }
}

/* ── Mobile (≤ 680px) ── */
@media (max-width: 680px) {
  /* ─ Header ─ */
  #siteHeader {
    padding: 14px 20px 10px 20px;
  }
  #siteHeader.scrolled {
    padding: 8px 20px;
  }
  #siteHeader.scrolled {
    padding: 12px 20px 8px;
  }
  .logo { font-size: 26px; letter-spacing: -1px; }
  .logo-nav { display: none; }
  .logo-row { gap: 0; }
  .header-bottom-row { margin-top: 4px; }
  .header-tagline { font-size: 12px; }
  .cur-user { display: none; }
  .btn-text { font-size: 12px; padding: 3px 8px; }
  .header-right { gap: 6px; }

  /* ─ Search bar ─ */
  .search-bar.open { padding: 12px 20px 16px; }
  .search-input { font-size: 20px; }

  /* ─ Team page ─ */
  .team-inner { padding: 20px 20px 60px; }
  .team-logo { font-size: 32px; letter-spacing: -1px; }
  .team-nav-row { margin-bottom: 40px; }
  .team-desc { font-size: 18px; margin-bottom: 32px; }
  .team-section { grid-template-columns: 1fr; gap: 6px; }
  .team-section-text { font-size: 15px; }

  /* ─ Layout ─ */
  .body-wrap { flex-direction: column; }

  /* ─ Sidebar — horizontal strip ─ */
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    padding: 14px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    border-bottom: 1px solid #e8e8e8;
    overflow-y: visible;
  }
  .sb-block { margin-bottom: 0; }
  .sb-block:nth-child(3),
  .sb-block:nth-child(4) { display: none; }
  .btn-add-building {
    width: auto;
    padding: 7px 16px;
    margin-bottom: 0;
    margin-left: auto;
    background: none;
    color: #000;
  }

  /* ─ Main content ─ */
  .main-content { padding: 20px 20px 40px; }
  .ranking-section { margin-bottom: 36px; }
  .ranking-title { font-size: 16px; letter-spacing: 0.12em; margin-bottom: 12px; }

  /* ─ Ranking / Archive grids — 2 columns ─ */
  .ranking-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* ─ Building row (archive) ─ */
  .building-row {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .row-year-col { display: none; }
  .row-img-wrap { aspect-ratio: 16/9; }
  .row-info { padding: 10px 0 0; }
  .row-name { font-size: 20px; }

  /* ─ Building detail panel ─ */
  #sidePanel {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    top: 8%;
    transform: translate(-50%, 0) scale(0.97);
  }
  #sidePanel.open { transform: translate(-50%, 0) scale(1); }
  .panel-title { font-size: 22px; }
  .panel-meta, .panel-architect, .panel-desc,
  .form-section, .reviews-head, .review-item, .empty-rv {
    padding-left: 20px;
    padding-right: 20px;
  }
  .panel-avg { padding-left: 20px; padding-right: 20px; }
  .panel-divider { margin: 0 20px 20px; }

  /* ─ Login modal ─ */
  .modal-overlay { padding: 12px; }

  /* ─ My Page modal ─ */
  .mypage-modal {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
  }
  .mypage-header { padding: 20px 20px 12px; }
  .mypage-username { font-size: 22px; }
  .mypage-group { padding: 16px 20px 20px; }
  .mypage-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mypage-empty { padding: 30px 20px; }

  /* ─ Add building modal ─ */
  .field-row.two-col { grid-template-columns: 1fr; }
}
