/* 채온 CHAEON - Black & White Retro Minimal */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --gray-100: #e8e8e3;
  --gray-200: #d0d0cb;
  --gray-300: #a0a09b;
  --gray-400: #707068;
  --gray-500: #505048;
  --accent: #c8c8c0;
  --mono: 'Space Mono', 'Courier New', monospace;
  --sans: 'Noto Sans KR', -apple-system, sans-serif;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ── Header ── */
header {
  padding: calc(1rem + env(safe-area-inset-top)) 2rem 1rem;
  border-bottom: 1px solid #222;
}

.logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.logo span {
  font-weight: 400;
  color: var(--gray-300);
  font-size: 0.7rem;
  margin-left: 0.5rem;
  letter-spacing: 0.3em;
}

.tagline {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-top: 0.3rem;
  letter-spacing: 0.1em;
}

/* ── Main Container ── */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Input Section ── */
.input-section {
  padding: 2rem 0;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* Pill selector */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  border-radius: 2rem;
  background: transparent;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.pill:hover {
  border-color: var(--gray-300);
  color: var(--white);
}

.pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 700;
}

/* Date selector */
.date-pills {
  display: flex;
  gap: 0.4rem;
}

.date-pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid #333;
  border-radius: 2rem;
  background: transparent;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.2s ease;
}

.date-pill:hover { border-color: var(--gray-300); color: var(--white); }
.date-pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 700;
}

/* Select dropdown */
select.input-select {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  background: #111;
  border: 1px solid #333;
  border-radius: 2rem;
  color: var(--white);
  width: 100%;
  appearance: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

select.input-select:focus {
  outline: none;
  border-color: var(--gray-300);
}

/* ── Weather Card ── */
.weather-card {
  border: 1px solid #252525;
  border-radius: 1rem;
  padding: 0;
  margin: 1.5rem 0;
  display: none;
  overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #0d0d0d 100%);
}

.weather-card.visible { display: block; }

/* Hero section */
.weather-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 1.5rem 1rem;
}

.weather-hero-left {
  display: flex;
  flex-direction: column;
}

.weather-hero-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.1));
}

.weather-hero-temp {
  font-family: var(--mono);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.weather-hero-temp small {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-300);
}

.weather-hero-condition {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-300);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

.weather-hero-right {
  text-align: right;
  padding-top: 0.3rem;
}

.weather-hero-location {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.weather-hero-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

.weather-hero-range {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-300);
  margin-top: 0.5rem;
}

.weather-hero-range .hi { color: #e8825a; }
.weather-hero-range .lo { color: #5b9bd5; }

/* Stats grid */
.weather-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 0.5rem;
  margin: 0 1rem;
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
}

.weather-stat {
  text-align: center;
  padding: 0.8rem 0.3rem;
  border-right: 1px solid #1e1e1e;
}
.weather-stat:last-child { border-right: none; }

.weather-stat-icon {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.weather-stat-val {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.weather-stat-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
  letter-spacing: 0.1em;
}

/* Section labels */
.weather-section-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--gray-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem 0;
}

/* ── Hourly Scroll ── */
.hourly-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0.5rem 1rem 0.8rem;
  scrollbar-width: none;
}
.hourly-scroll::-webkit-scrollbar { display: none; }
.hourly-scroll:empty { display: none; }
.hourly-scroll:empty + .weather-section-label { display: none; }

.hourly-item {
  flex: 0 0 auto;
  min-width: 56px;
  text-align: center;
  font-family: var(--mono);
  padding: 0.4rem 0.2rem;
  border-radius: 1rem;
  transition: background 0.2s;
}

.hourly-time {
  font-size: 0.6rem;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}

.hourly-icon { font-size: 1.2rem; }

.hourly-temp {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.25rem;
}

.hourly-rain {
  font-size: 0.55rem;
  color: #5b9bd5;
  margin-top: 0.15rem;
  font-weight: 700;
}

.hourly-item.now {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.hourly-item.now .hourly-time {
  color: var(--white);
  font-weight: 700;
}

/* ── Weekly Forecast ── */
.weekly-forecast {
  padding: 0.3rem 1.5rem 1.2rem;
}
.weekly-forecast:empty { display: none; }

.weekly-row {
  display: grid;
  grid-template-columns: 2.2rem 1.6rem 1.6rem 1fr 2.5rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  border-bottom: 1px solid #151515;
}
.weekly-row:last-child { border-bottom: none; }

.weekly-date {
  font-size: 0.65rem;
  color: var(--gray-500);
}

.weekly-day {
  color: var(--gray-400);
  font-size: 0.7rem;
}
.weekly-day.today {
  color: var(--white);
  font-weight: 700;
}
.weekly-day.weekend { color: #e8825a; }
.weekly-icon { font-size: 1.1rem; text-align: center; }

.weekly-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 20px;
}

.weekly-bar-track {
  flex: 1;
  height: 5px;
  background: #1a1a1a;
  border-radius: 3px;
  position: relative;
}

.weekly-bar-fill {
  position: absolute;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #5b9bd5, #8bc4e8, #e8c25a, #e8825a);
}

.weekly-min, .weekly-max {
  font-size: 0.7rem;
  width: 2.2rem;
  text-align: right;
}
.weekly-min { color: var(--gray-500); text-align: left; }
.weekly-max { color: var(--white); font-weight: 700; }

.weekly-rain-badge {
  font-size: 0.6rem;
  color: #5b9bd5;
  text-align: right;
  font-weight: 700;
}

/* ── Location Search ── */
.location-search-wrap {
  position: relative;
  z-index: 50;
}

.location-input-row {
  display: flex;
}

.location-search-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  background: #222;
  color: var(--white);
  border: 1px solid #333;
  border-left: none;
  border-radius: 0 2rem 2rem 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.location-search-btn:hover { background: #333; }

.location-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #111;
  border: 1px solid #333;
  border-radius: 0.8rem;
  max-height: 260px;
  overflow-y: auto;
  z-index: 51;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.location-dropdown.open { display: block; }

.loc-group-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--gray-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem 0.2rem;
}

.loc-option {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  color: var(--gray-200);
  cursor: pointer;
  transition: background 0.15s;
}
.loc-option:hover { background: #1a1a1a; color: var(--white); }
.loc-option.hidden { display: none; }

/* ── GPS Location ── */
.location-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gps-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid #333;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.gps-btn:hover { border-color: var(--white); color: var(--white); }
.gps-btn.loading { animation: gps-pulse 1s infinite; }
.gps-btn.active { border-color: #5b9bd5; color: #5b9bd5; background: rgba(91,155,213,0.1); }

.gps-icon { font-size: 1.2rem; }

@keyframes gps-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.gps-status {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-top: 0.4rem;
  min-height: 1em;
}
.gps-status:empty { display: none; }

/* ── CTA Button ── */
.cta-button {
  width: 100%;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 1rem;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  margin: 1.5rem 0;
}

.cta-button:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.cta-button:disabled {
  background: #222;
  color: var(--gray-500);
  cursor: not-allowed;
  transform: none;
}

/* ── Loading ── */
.loading {
  text-align: center;
  padding: 3rem;
  display: none;
}

.loading.visible { display: block; }

.loading-dots {
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--gray-300);
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.loading-text {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
}

/* ── Result Section ── */
.result-section {
  display: none;
  padding-bottom: 4rem;
}

.result-section.visible { display: block; }

.result-divider {
  border: none;
  border-top: 1px solid #222;
  margin: 2rem 0;
}

.result-header {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.result-content {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--gray-100);
}

.result-content h1,
.result-content h2,
.result-content h3 {
  font-family: var(--mono);
  color: var(--white);
  margin: 1.5rem 0 0.8rem;
  letter-spacing: 0.02em;
}

.result-content h1 { font-size: 1.1rem; }
.result-content h2 { font-size: 0.95rem; border-bottom: 1px solid #222; padding-bottom: 0.5rem; }
.result-content h3 { font-size: 0.85rem; color: var(--gray-200); }

.result-content ul, .result-content ol {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}

.result-content li { margin-bottom: 0.3rem; }

.result-content strong { color: var(--white); font-weight: 500; }

.result-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.8rem;
}

.result-content th {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid #333;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.result-content td {
  padding: 0.5rem;
  border-bottom: 1px solid #1a1a1a;
}

.result-content code {
  font-family: var(--mono);
  font-size: 0.8rem;
  background: #1a1a1a;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.result-content pre {
  background: #111;
  border: 1px solid #222;
  border-radius: 0.3rem;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.75rem;
  margin: 1rem 0;
}

/* ── Sources ── */
.sources {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #1a1a1a;
}

.sources-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--gray-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.source-item {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-400);
  padding: 0.2rem 0;
}

.source-badge {
  display: inline-block;
  font-size: 0.55rem;
  padding: 0.1rem 0.4rem;
  border: 1px solid #333;
  border-radius: 1rem;
  margin-right: 0.3rem;
  color: var(--gray-300);
}

.source-badge.exact { border-color: var(--white); color: var(--white); }

/* ── Tab Bar ── */
.delete-account-btn {
  background: none;
  border: none;
  color: #aa3333;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 1.5rem;
  padding: 0.5rem;
  width: 100%;
  text-align: center;
}
.delete-account-btn:hover { color: #cc4444; }

.app-footer {
  text-align: center;
  padding: 2rem 1rem 5rem;
}
.app-footer a {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-decoration: none;
}
.app-footer a:hover { color: var(--gray-300); }

.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: #0a0a0a;
  border-top: 1px solid #222;
  padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom));
  z-index: 100;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.tab-btn.active { color: var(--white); }
.tab-btn:hover { color: var(--gray-200); }
.tab-icon { font-size: 1.2rem; }
.tab-label { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.05em; }

.tab-page { display: none; padding-bottom: 5rem; }
.tab-page.active { display: block; }

/* ── Input Text ── */
.input-text {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  background: #111;
  border: 1px solid #333;
  border-radius: 2rem;
  color: var(--white);
  width: 100%;
  letter-spacing: 0.02em;
}
.input-text:focus { outline: none; border-color: var(--gray-300); }
.input-text::placeholder { color: var(--gray-500); }

/* ── Quick Signup ── */
.quick-signup {
  border: 1px solid #333;
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  margin-top: 1.5rem;
  background: #111;
}
.quick-signup.hidden { display: none; }

.quick-signup-text {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-300);
  margin-bottom: 0.6rem;
}

.quick-signup-row {
  display: flex;
  gap: 0.5rem;
}

.quick-signup-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.quick-signup-btn:hover { background: var(--gray-100); }

/* ── Feed ── */
.feed-location-row {
  display: flex;
  align-items: center;
}

.feed-weather-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid #222;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.feed-count-badge {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--white);
  border-radius: 2rem;
  color: var(--white);
}

.feed-list { min-height: 200px; }

.feed-empty {
  text-align: center;
  padding: 3rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-500);
}

.feed-card {
  border: 1px solid #222;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.feed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.feed-nickname {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.feed-time {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-400);
}

.feed-comment {
  font-size: 0.8rem;
  color: var(--gray-200);
  margin-bottom: 0.5rem;
}

.feed-outfits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.feed-outfit-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid #333;
  border-radius: 1rem;
  color: var(--gray-300);
}

.feed-feedback {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--gray-400);
}

/* ── Closet ── */
.closet-search-row { display: flex; gap: 0.5rem; }

.closet-list { min-height: 200px; }

.closet-card {
  display: flex;
  align-items: center;
  border: 1px solid #222;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
}

.closet-card-info { flex: 1; }

.closet-brand {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.closet-model {
  font-size: 0.75rem;
  color: var(--gray-300);
}

.closet-category {
  font-family: var(--mono);
  font-size: 0.55rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid #333;
  border-radius: 1rem;
  color: var(--gray-400);
}

.closet-delete {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.3rem;
}
.closet-delete:hover { color: #ff4444; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-content {
  background: #111;
  border: 1px solid #333;
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Product Search Results ── */
.product-search-results {
  margin-top: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.product-result-item {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid #1a1a1a;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--gray-200);
  transition: background 0.15s;
}
.product-result-item:hover { background: #1a1a1a; }

.product-result-brand {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--white);
}

.product-result-meta {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--gray-500);
}

/* ── Trip Outfit Select ── */
.trip-outfit-list { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.trip-outfit-chip {
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #333;
  border-radius: 2rem;
  background: transparent;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.15s;
}
.trip-outfit-chip.selected {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ── Profile ── */
.profile-card {
  border: 1px solid #222;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-nickname {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.profile-body-type {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-400);
}

.my-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.my-stat-item {
  flex: 1;
  border: 1px solid #222;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.my-stat-val {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
}

.my-stat-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* ── Date Scroll Strip (14-day) ── */
.date-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.date-scroll-wrap::-webkit-scrollbar { display: none; }

.date-scroll {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.date-chip {
  flex: 0 0 auto;
  width: 44px;
  padding: 0.4rem 0.3rem;
  border: 1px solid #333;
  border-radius: 0.6rem;
  background: transparent;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.date-chip:hover { border-color: var(--gray-300); color: var(--white); }

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

.date-chip.weekend .date-chip-weekday { color: #e8825a; }
.date-chip.active.weekend .date-chip-weekday { color: #c04020; }

.date-chip-weekday {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
}

.date-chip-day {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── Meetup Cards ── */
.meetup-list { margin-bottom: 0.5rem; }

.meetup-card {
  border: 1px solid #2a2a2a;
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 0.6rem;
  background: #111;
  transition: border-color 0.2s;
}
.meetup-card:hover { border-color: #444; }

.meetup-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.meetup-card-title {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.meetup-card-badge {
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 1rem;
  color: var(--gray-300);
  white-space: nowrap;
}

.meetup-card-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
}

.meetup-card-desc {
  font-size: 0.75rem;
  color: var(--gray-300);
  margin-bottom: 0.6rem;
}

.meetup-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meetup-members-row {
  display: flex;
  gap: 0.2rem;
}

.meetup-member-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #222;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-family: var(--mono);
  color: var(--gray-300);
}

.meetup-join-btn {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border: 1px solid var(--white);
  border-radius: 2rem;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}
.meetup-join-btn:hover { background: var(--white); color: var(--black); }
.meetup-join-btn.joined {
  background: #222;
  border-color: #444;
  color: var(--gray-400);
}

.meetup-detail-section {
  margin-bottom: 1rem;
}

.meetup-detail-section .input-label {
  margin-bottom: 0.3rem;
}

.meetup-detail-members {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.meetup-detail-member {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #1a1a1a;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.meetup-detail-member .creator-badge {
  font-size: 0.55rem;
  padding: 0.1rem 0.3rem;
  border: 1px solid var(--gray-400);
  border-radius: 0.8rem;
  color: var(--gray-400);
}

/* ── Recommend Share Section ── */
.recommend-share {
  margin-top: 1rem;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  header { padding: 1.5rem 1rem 0.8rem; }
  .container { padding: 0 1rem; }
  .weather-hero { padding: 1.2rem 1.2rem 0.8rem; }
  .weather-hero-icon { font-size: 2.5rem; }
  .weather-hero-temp { font-size: 2.8rem; }
  .weather-stats { margin: 0 0.8rem; }
  .weekly-forecast { padding: 0.3rem 1.2rem 1rem; }
  .pill { font-size: 0.7rem; padding: 0.4rem 0.8rem; }
  .modal-content { padding: 1rem; }
}
