/* ═══════════════════════════════════════════
   找高中 — Style System
   Warm editorial aesthetic with study-guide feel
   ═══════════════════════════════════════════ */

:root {
  --cream: #FBF7F0;
  --cream-dark: #F0EAE0;
  --ink: #2C2416;
  --ink-light: #5C5040;
  --ink-muted: #8A7E6E;
  --accent: #D4622B;
  --accent-light: #F0A06C;
  --accent-bg: #FFF3EB;
  --border: #E5DDD0;
  --border-light: #F0EAE0;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(44,36,22,0.06), 0 1px 2px rgba(44,36,22,0.04);
  --shadow-md: 0 4px 12px rgba(44,36,22,0.08), 0 2px 4px rgba(44,36,22,0.04);
  --shadow-lg: 0 12px 40px rgba(44,36,22,0.12), 0 4px 12px rgba(44,36,22,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-serif: 'Noto Serif TC', serif;
  --font-sans: 'Noto Sans TC', sans-serif;

  /* Score tier colors */
  --tier-top: #E74C3C;
  --tier-high: #F39C12;
  --tier-mid: #F1C40F;
  --tier-low: #27AE60;
  --tier-entry: #3498DB;
  --tier-none: #95A5A6;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ── Header ────────────────────────────── */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  max-width: 100%;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 24px;
  line-height: 1;
}

.brand h1 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 11px;
  color: var(--ink-muted);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── Onboarding Overlay ──────────────────── */

.ob-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(44,36,22,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ob-fade-in 0.3s ease-out;
}

.ob-overlay.hidden {
  display: none;
}

@keyframes ob-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ob-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: ob-slide-up 0.35s ease-out;
}

@keyframes ob-slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.ob-step {
  animation: ob-step-in 0.25s ease-out;
}

@keyframes ob-step-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.ob-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ob-hero-icon {
  font-size: 36px;
  line-height: 1;
}

.ob-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.ob-desc {
  font-size: 15px;
  color: var(--ink-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.ob-locate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.ob-locate-btn svg {
  width: 20px;
  height: 20px;
}

.ob-locate-btn:hover {
  background: #b85a2a;
}

.ob-or {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 16px 0 12px;
}

.ob-address-box {
  transition: all 0.25s ease;
}

#ob-address-input {
  width: 100%;
  --gmpx-color-surface: var(--cream);
  --gmpx-color-on-surface: var(--ink);
  --gmpx-font-family-base: var(--font-sans);
  --gmpx-font-size-base: 15px;
}

.ob-skip-link {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.ob-skip-link:hover {
  color: var(--ink);
}

.ob-gender-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ob-gender-btn {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.ob-gender-btn:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.ob-score-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

#ob-score-input {
  width: 100px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 18px;
  font-family: var(--font-sans);
  text-align: center;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

#ob-score-input::-webkit-inner-spin-button,
#ob-score-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#ob-score-input:focus {
  border-color: var(--accent);
}

#ob-score-input::placeholder {
  color: var(--ink-muted);
  font-size: 15px;
}

.ob-done-btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.ob-done-btn:hover {
  background: #b85a2a;
}

.ob-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.ob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.2s;
}

.ob-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* ── Compact Header Tags ─────────────────── */

.header-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.htag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.htag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.htag.unset {
  color: var(--ink-muted);
  border-style: dashed;
}

.htag.unset:hover {
  color: var(--accent);
  border-color: var(--accent);
  border-style: solid;
}

.htag.active-editor {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.htag-location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.htag-location.has-value {
  background: var(--accent-bg);
  border-color: rgba(212,98,43,0.25);
  color: var(--accent);
}

.htag-gender:not(.unset) {
  background: var(--accent-bg);
  border-color: rgba(212,98,43,0.25);
  color: var(--accent);
}

.htag-score:not(.unset) {
  background: var(--cream);
  border-color: var(--border);
  color: var(--ink);
}

.htag-radius {
  flex-shrink: 0;
}

.htag-radius select {
  padding: 5px 24px 5px 10px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  height: auto;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A7E6E' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color 0.2s;
  font-weight: 500;
}

.htag-radius select:focus {
  border-color: var(--accent);
}

/* ── Header Inline Editors ───────────────── */

.header-editor {
  flex-basis: 100%;
  order: 3;
  animation: ob-step-in 0.2s ease-out;
}

.he-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

#address-input {
  flex: 1;
  --gmpx-color-surface: var(--cream);
  --gmpx-color-on-surface: var(--ink);
  --gmpx-font-family-base: var(--font-sans);
  --gmpx-font-size-base: 15px;
}

#locate-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}

#locate-btn:hover {
  color: var(--accent);
  background: var(--accent-bg);
}

#locate-btn svg {
  width: 18px;
  height: 18px;
}

.he-gender select,
.he-score input {
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.he-gender select {
  appearance: none;
  cursor: pointer;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A7E6E' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.he-score input {
  width: 100px;
  text-align: center;
  -moz-appearance: textfield;
}

.he-score input::-webkit-inner-spin-button,
.he-score input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.he-score input:focus,
.he-gender select:focus {
  border-color: var(--accent);
}

.he-score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-range-label {
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Dimmed state for schools outside score range */
.school-card.dimmed {
  opacity: 0.35;
}

.school-card.dimmed:hover {
  opacity: 0.7;
}

/* ── Main Layout ───────────────────────── */

#main {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
}

#map-container {
  flex: 1;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

/* ── Legend ─────────────────────────────── */

#legend {
  position: absolute;
  bottom: 24px;
  left: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  z-index: 10;
}

.legend-row {
  margin-bottom: 6px;
}

.legend-row:last-child {
  margin-bottom: 0;
}

.legend-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legend-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-light);
  white-space: nowrap;
}

.legend-item i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.legend-item i.shape-circle {
  background: var(--ink-muted);
  border-radius: 50%;
}

.legend-item i.shape-hex {
  background: var(--ink-muted);
  border-radius: 50%;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.legend-item i.shape-diamond {
  background: var(--ink-muted);
  border-radius: 2px;
  transform: rotate(45deg);
  width: 9px;
  height: 9px;
}

.legend-item i.shape-dashed,
.legend-compact i.shape-dashed {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px dashed var(--ink-muted);
  border-radius: 50%;
}

/* ── Filter Chips ──────────────────────── */

#filter-chips {
  position: absolute;
  top: 10px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.chip-group {
  display: flex;
  gap: 5px;
}

.chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.chip:hover {
  border-color: var(--accent-light);
  color: var(--accent);
}

.chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ── Side Panel ────────────────────────── */

#panel {
  width: clamp(360px, 28vw, 480px);
  background: var(--white);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: margin-right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}

#panel.panel-collapsed {
  margin-right: -380px;
}

.panel-toggle {
  position: absolute;
  top: 50%;
  left: -32px;
  transform: translateY(-50%);
  width: 32px;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: -2px 0 8px rgba(44,36,22,0.06);
  transition: background 0.2s;
  z-index: 21;
}

.panel-toggle:hover {
  background: var(--cream);
}

.panel-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--ink-muted);
  transition: transform 0.35s;
}

#panel.panel-collapsed .panel-toggle svg {
  transform: rotate(180deg);
}

/* ── Panel List ────────────────────────── */

.panel-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.list-header {
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.list-header h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.sort-controls {
  display: flex;
  gap: 4px;
  background: var(--cream);
  padding: 3px;
  border-radius: var(--radius-sm);
}

.sort-btn {
  flex: 1;
  padding: 6px 0;
  border: none;
  background: transparent;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.sort-btn.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.list-stats {
  padding: 8px 20px;
  font-size: 12px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.school-cards {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
  scroll-behavior: smooth;
}

.school-cards::-webkit-scrollbar {
  width: 6px;
}

.school-cards::-webkit-scrollbar-track {
  background: transparent;
}

.school-cards::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* ── School Card ───────────────────────── */

.school-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.school-card:hover {
  background: var(--cream);
  border-color: var(--border);
}

.school-card.active {
  background: var(--accent-bg);
  border-color: var(--accent-light);
}

.card-score-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.card-score {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.3;
}

.card-score-gender {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  opacity: 0.6;
  margin-right: 2px;
  vertical-align: baseline;
}

.card-meta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-muted);
  align-items: center;
}

.card-type {
  background: var(--cream);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.card-distance {
  font-variant-numeric: tabular-nums;
}

/* ── Empty State ───────────────────────── */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 40px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-state p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ── Detail View ───────────────────────── */

.back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  padding: 16px 20px 8px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--accent);
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.2s;
}

.back-btn:hover {
  opacity: 0.7;
}

.back-btn svg {
  width: 16px;
  height: 16px;
}

.detail-header {
  padding: 12px 20px 20px;
  border-bottom: 1px solid var(--border-light);
}

.detail-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.detail-header h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}

.detail-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.detail-body {
  padding: 16px 20px;
  flex: 1;
  overflow-y: auto;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.5;
}

.detail-row svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ink-muted);
  margin-top: 1px;
}

.detail-row a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.detail-row a:hover {
  text-decoration: underline;
}

.set-location-link {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  font-size: 13px;
}

#detail-address {
  color: var(--ink) !important;
  font-weight: 400 !important;
}

#detail-transit {
  font-size: 13px;
  color: var(--ink-muted);
}

.detail-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.detail-section h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

/* ── Yearly Scores ─────────────────────── */

.scores-yearly {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.score-year-card {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
}

.score-year-card.latest {
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.score-year-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.score-year-label {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}

.score-year-value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.score-bar-container {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  border-radius: 3px;
}

/* ── Department Table ──────────────────── */

.scores-table {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.scores-table-header {
  display: flex;
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

.scores-table-header span:first-child {
  flex: 1;
}

.scores-table-header span:not(:first-child) {
  width: 65px;
  text-align: right;
}

.scores-table-row {
  display: flex;
  padding: 8px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.scores-table-row:last-child {
  border-bottom: none;
}

.scores-table-row:hover {
  background: var(--cream);
}

.dept-name {
  flex: 1;
  color: var(--ink);
  font-weight: 500;
}

.score-cell {
  width: 65px;
  text-align: right;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
}

.score-cell.muted {
  color: var(--ink-muted);
  font-weight: 400;
}

/* ── Gender-split score display ──────────── */

.score-gender-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.score-gender-row:last-child {
  margin-bottom: 0;
}

.score-gender-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  width: 16px;
  flex-shrink: 0;
}

.score-gender-row .score-bar-container {
  flex: 1;
}

.score-gender-row .score-year-value {
  font-size: 18px;
  flex-shrink: 0;
}

.score-gender-split {
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.scores-source {
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
}

/* ── Roast & Features ─────────────────── */

.detail-roast-section {
  background: var(--sand-light, #FAF6F0);
  border-radius: 8px;
  padding: 12px 14px;
  border-left: 3px solid #D4A574;
}

/* ── Quota Display ────────────────────── */

.card-quota {
  font-size: 11px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.quota-total {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.quota-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.quota-unit {
  font-size: 13px;
  color: var(--ink-muted);
}

.quota-breakdown {
  display: table;
  width: 100%;
  border-spacing: 0 4px;
}

.quota-row {
  display: table-row;
}

.quota-dept {
  display: table-cell;
  width: 90px;
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
  padding-right: 8px;
  vertical-align: middle;
}

.quota-bar-wrap {
  display: table-cell;
  vertical-align: middle;
  padding: 0 8px;
}

.quota-bar-track {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

.quota-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  min-width: 2px;
}

.quota-num {
  display: table-cell;
  width: 32px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}

.quota-gender {
  display: flex;
  gap: 8px;
}

.quota-gender-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
  background: var(--cream);
  border: 1px solid var(--border-light);
}

/* ── Animations ────────────────────────── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.school-card {
  animation: fadeInUp 0.3s ease both;
}

.school-card:nth-child(1) { animation-delay: 0s; }
.school-card:nth-child(2) { animation-delay: 0.03s; }
.school-card:nth-child(3) { animation-delay: 0.06s; }
.school-card:nth-child(4) { animation-delay: 0.09s; }
.school-card:nth-child(5) { animation-delay: 0.12s; }
.school-card:nth-child(6) { animation-delay: 0.15s; }
.school-card:nth-child(7) { animation-delay: 0.18s; }
.school-card:nth-child(8) { animation-delay: 0.21s; }
.school-card:nth-child(9) { animation-delay: 0.24s; }
.school-card:nth-child(10) { animation-delay: 0.27s; }

/* ── Home Marker Pulse ─────────────────── */

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.home-marker {
  position: relative;
}

.home-marker::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 2s ease-out infinite;
}

/* ── Mobile Responsive ─────────────────── */

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }

  .brand h1 {
    font-size: 18px;
  }

  .brand-sub {
    display: none;
  }

  .ob-card {
    padding: 32px 24px 24px;
  }

  .ob-title {
    font-size: 26px;
  }

  .ob-hero-icon {
    font-size: 28px;
  }

  .header-tags {
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .header-tags::-webkit-scrollbar {
    display: none;
  }

  .htag {
    padding: 4px 10px;
    font-size: 12px;
  }

  .htag-radius select {
    padding: 4px 20px 4px 8px;
    font-size: 12px;
  }

  #main {
    top: 100px;
    flex-direction: column;
  }

  #map-container {
    flex: 1;
  }

  #panel {
    width: 100%;
    height: 45%;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -4px 20px rgba(44,36,22,0.1);
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #panel.panel-expanded {
    height: 82%;
  }

  #panel.panel-collapsed {
    margin-right: 0;
    height: 48px;
    overflow: hidden;
  }

  .panel-toggle {
    left: 50%;
    top: -1px;
    transform: translateX(-50%);
    width: 56px;
    height: 28px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-bottom: none;
    box-shadow: 0 -2px 8px rgba(44,36,22,0.06);
  }

  .panel-toggle svg {
    transform: rotate(-90deg);
  }

  #panel.panel-collapsed .panel-toggle svg {
    transform: rotate(90deg);
  }

  #legend {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 5px 10px;
    border: none;
    border-top: 1px solid var(--border-light);
    box-shadow: none;
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  #legend .legend-compact {
    display: none;
  }

  #legend .legend-row {
    display: inline;
    margin-bottom: 0;
  }

  #legend .legend-title {
    display: none;
  }

  #legend .legend-items {
    display: inline-flex;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .legend-item {
    font-size: 10px;
  }

  #filter-chips {
    top: 8px;
    left: 0;
    right: 0;
    gap: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 8px;
    scrollbar-width: none;
  }

  #filter-chips::-webkit-scrollbar {
    display: none;
  }

  .chip-group {
    gap: 3px;
    flex-shrink: 0;
  }

  .chip-group + .chip-group::before {
    content: '';
    width: 1px;
    height: 16px;
    background: var(--border);
    margin: 0 5px;
    flex-shrink: 0;
  }

  .chip {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .score-range-label {
    display: none;
  }
}

/* ── Panel Tabs ───────────────────────── */

.panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
  padding: 0 12px;
  gap: 0;
  background: var(--white);
}

.panel-tab {
  flex: 1;
  padding: 12px 0 10px;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.panel-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2.5px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s, left 0.2s, right 0.2s;
}

.panel-tab:hover {
  color: var(--ink-light);
}

.panel-tab.active {
  color: var(--accent);
  font-weight: 600;
}

.panel-tab.active::after {
  background: var(--accent);
  left: 10%;
  right: 10%;
}

.wish-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: var(--white);
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
}

/* ── Star Button ──────────────────────── */

.wish-star-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}

.wish-star-btn svg {
  width: 18px;
  height: 18px;
}

.wish-star-btn:hover {
  border-color: var(--accent-light);
  color: var(--accent);
  background: var(--accent-bg);
}

.wish-star-btn.starred {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.wish-star-btn.starred svg {
  fill: var(--white);
}

.detail-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

/* ── Wish List ────────────────────────── */

.wish-list-header {
  padding-bottom: 14px;
}

.wish-summary {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.wish-cards {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
  scroll-behavior: smooth;
}

.wish-cards::-webkit-scrollbar {
  width: 6px;
}

.wish-cards::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.wish-card {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--white);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
  cursor: grab;
  transition: all 0.2s;
  user-select: none;
  -webkit-user-select: none;
}

.wish-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.wish-card.dragging {
  opacity: 0.15;
  border-color: var(--accent-light);
  box-shadow: none;
  pointer-events: none;
}

.wish-card.dragging-touch {
  opacity: 0.3;
  max-height: 20px;
  overflow: hidden;
  padding-top: 4px;
  padding-bottom: 4px;
  border-color: var(--accent-light);
  box-shadow: none;
  transition: all 0.15s ease;
}

.wish-card.drag-over-above {
  box-shadow: 0 -3px 0 0 var(--accent);
}

.wish-card.drag-over-below {
  box-shadow: 0 3px 0 0 var(--accent);
}

.wish-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--white);
}

.wish-rank.tier-1, .report-school-rank.tier-1 { background: #E74C3C; }
.wish-rank.tier-2, .report-school-rank.tier-2 { background: #F39C12; }
.wish-rank.tier-3, .report-school-rank.tier-3 { background: #F1C40F; color: var(--ink); }
.wish-rank.tier-4, .report-school-rank.tier-4 { background: #27AE60; }
.wish-rank.tier-5, .report-school-rank.tier-5 { background: #3498DB; }

.wish-card-body {
  flex: 1;
  min-width: 0;
}

.wish-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wish-card-meta {
  display: flex;
  gap: 8px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-muted);
  align-items: center;
}

.wish-card-score {
  font-family: var(--font-serif);
  font-weight: 700;
}

.wish-tier-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.wish-tier-badge.tier-1 { background: #FDECEA; color: #C0392B; }
.wish-tier-badge.tier-2 { background: #FEF5E7; color: #D68910; }
.wish-tier-badge.tier-3 { background: #FEF9E7; color: #B7950B; }
.wish-tier-badge.tier-4 { background: #E8F8F5; color: #1E8449; }
.wish-tier-badge.tier-5 { background: #EBF5FB; color: #2471A3; }

.wish-drag-handle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  cursor: grab;
  opacity: 0.35;
  transition: opacity 0.2s;
  touch-action: none;
  flex-shrink: 0;
}

.wish-card:hover .wish-drag-handle {
  opacity: 0.8;
}

.wish-drag-handle svg {
  width: 14px;
  height: 14px;
}

.wish-remove-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  opacity: 0;
  transition: all 0.2s;
  border-radius: 4px;
  flex-shrink: 0;
}

.wish-card:hover .wish-remove-btn {
  opacity: 0.6;
}

.wish-remove-btn:hover {
  opacity: 1 !important;
  color: #E74C3C;
  background: #FDECEA;
}

.wish-remove-btn svg {
  width: 14px;
  height: 14px;
}

/* ── Wish Legend ──────────────────────── */

.wish-legend {
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 11px;
  color: var(--ink-muted);
}

.wish-legend-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.tier-dot.tier-1 { background: #E74C3C; }
.tier-dot.tier-2 { background: #F39C12; }
.tier-dot.tier-3 { background: #F1C40F; }
.tier-dot.tier-4 { background: #27AE60; }
.tier-dot.tier-5 { background: #3498DB; }

/* ── Same-school grouping indicator ──── */

.wish-card.same-school-start {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
  border-bottom-style: dashed;
}

.wish-card.same-school-mid {
  border-radius: 0;
  margin-bottom: 0;
  border-top-style: dashed;
  border-bottom-style: dashed;
}

.wish-card.same-school-end {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top-style: dashed;
}

.same-school-label {
  font-size: 9px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Mobile: panel tabs ──────────────── */

@media (max-width: 768px) {
  .panel-tabs {
    padding: 0 8px;
  }

  .panel-tab {
    font-size: 13px;
    padding: 10px 0 8px;
  }

  .wish-card .wish-remove-btn {
    opacity: 0.5;
  }

  .wish-card .wish-drag-handle {
    opacity: 0.7;
    width: 36px;
    height: 36px;
    margin: -6px 0 -6px -4px;
    background: var(--sand-light);
    border-radius: var(--radius-sm);
  }

  .wish-card .wish-drag-handle svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Report Button ───────────────────── */

.wish-list-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.report-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.report-btn svg {
  width: 14px;
  height: 14px;
}

.report-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ── Report Modal ────────────────────── */

.report-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(44, 36, 22, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.report-overlay.open {
  display: flex;
}

.report-modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(44, 36, 22, 0.25);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: report-in 0.3s ease-out;
}

@keyframes report-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.report-header h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.report-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.report-close svg {
  width: 18px;
  height: 18px;
}

.report-close:hover {
  background: var(--sand-light);
  color: var(--ink);
}

.report-body {
  overflow-y: auto;
  padding: 20px 24px 24px;
  flex: 1;
}

/* Report content cards */
.report-school {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.report-school-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.report-school-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.report-school-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.report-school-type {
  font-size: 11px;
  color: var(--ink-muted);
  background: var(--sand-light);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.report-school-score {
  margin-left: auto;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.report-school-score small {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 2px;
}

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

.report-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.report-field.full {
  grid-column: 1 / -1;
}

.report-field-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-field-value {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}

.report-field-value a {
  color: var(--accent);
  text-decoration: none;
}

.report-field-value a:hover {
  text-decoration: underline;
}

/* Commute badge in report */
.report-commute {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.report-commute-tag {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--sand-light);
  color: var(--ink);
  white-space: nowrap;
}

/* Quota mini bars */
.report-quota-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.report-quota-name {
  width: 80px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-quota-bar {
  flex: 1;
  height: 5px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

.report-quota-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

.report-quota-num {
  width: 28px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

/* Summary bar at top of report */
.report-summary {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-summary-top {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.report-my-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.report-my-score-value {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.report-my-score-label {
  font-size: 12px;
  color: var(--ink-muted);
}

.report-wish-count {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.report-wish-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 4px;
}

.report-tier-bar {
  display: flex;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  gap: 2px;
}

.report-tier-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
  min-width: 0;
  white-space: nowrap;
  padding: 0 6px;
}

.report-summary-details {
  font-size: 12px;
  color: var(--ink-muted);
}

/* Mobile report */
@media (max-width: 768px) {
  .report-overlay {
    padding: 0;
  }

  .report-modal {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }

  .report-header {
    padding: 16px;
  }

  .report-body {
    padding: 12px 16px 24px;
  }

  .report-school {
    padding: 16px;
  }

  .report-school-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .report-school-name {
    font-size: 16px;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .report-summary {
    gap: 12px;
  }
}

/* ── Google Maps Overrides ─────────────── */

.gm-style .gm-style-iw-c {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
}

.gm-style .gm-style-iw-tc::after {
  display: none;
}

/* ── Google Autocomplete Dropdown ──────── */

.pac-container {
  z-index: 2100 !important;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: 2px solid var(--border);
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-sans);
  margin-top: -2px;
}

.pac-item {
  padding: 10px 16px;
  font-size: 14px;
  border-top: 1px solid var(--border-light);
  cursor: pointer;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover {
  background: var(--cream);
}

.pac-item-query {
  font-size: 14px;
  color: var(--ink);
}

.pac-icon {
  display: none;
}
