*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #1B3A6B;
  --blue-mid: #2D5BA8;
  --blue-light: #EBF0FB;
  --gold: #F7B731;
  --gold-light: #FEF9EC;
  --red: #CE1126;
  --white: #FFFFFF;
  --gray-50: #F7F8FA;
  --gray-100: #EDF2F7;
  --gray-200: #E2E8F0;
  --gray-400: #9AA5B4;
  --gray-600: #4A5568;
  --gray-800: #1A202C;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow: 0 2px 12px rgba(27,58,107,0.08);
  --shadow-md: 0 6px 24px rgba(27,58,107,0.14);
  --t: 0.2s ease;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: var(--gray-50); color: var(--gray-800); line-height: 1.6; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); z-index: 100; box-shadow: var(--shadow); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; flex-shrink: 0; }
.logo-icon { width: 38px; height: 38px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.logo-text { font-size: 17px; font-weight: 800; color: var(--blue); letter-spacing: -0.3px; }
.logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link { padding: 6px 13px; border-radius: var(--radius-xs); font-size: 13.5px; font-weight: 500; color: var(--gray-600); cursor: pointer; transition: var(--t); border: none; background: none; white-space: nowrap; }
.nav-link:hover { background: var(--gray-100); color: var(--blue); }
.nav-link.active { background: var(--blue-light); color: var(--blue); font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.search-bar { display: flex; align-items: center; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 20px; padding: 6px 14px; gap: 8px; width: 190px; }
.search-bar input { border: none; background: none; outline: none; font-size: 13px; color: var(--gray-800); width: 100%; }
.search-bar input::placeholder { color: var(--gray-400); }
.btn-primary { background: var(--blue); color: white; border: none; padding: 8px 18px; border-radius: 20px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: var(--t); }
.btn-primary:hover { background: var(--blue-mid); }

/* SECTIONS */
main { margin-top: 64px; }
.section { display: none; }
.section.active { display: block; }

/* HERO */
.hero { background: linear-gradient(135deg, #152D56 0%, #1B3A6B 55%, #20428A 100%); color: white; padding: 64px 24px 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(247,183,49,0.13) 0%, transparent 65%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -40px; left: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(247,183,49,0.06) 0%, transparent 65%); border-radius: 50%; }
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(247,183,49,0.15); border: 1px solid rgba(247,183,49,0.35); color: var(--gold); padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.hero h1 { font-size: 50px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.btn-gold { background: var(--gold); color: var(--blue); border: none; padding: 12px 26px; border-radius: 24px; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: var(--t); }
.btn-gold:hover { background: #F5AB1A; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(247,183,49,0.4); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.35); padding: 12px 26px; border-radius: 24px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: var(--t); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 30px; font-weight: 800; color: var(--gold); letter-spacing: -1px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); }

/* QUICK ACCESS */
.quick-access { max-width: 1200px; margin: -32px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; z-index: 10; }
.qa-card { background: white; border-radius: var(--radius); padding: 20px 14px; text-align: center; cursor: pointer; transition: var(--t); box-shadow: var(--shadow); border: 2px solid transparent; }
.qa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.qa-icon { font-size: 30px; margin-bottom: 8px; }
.qa-label { font-size: 12px; font-weight: 700; color: var(--blue); }

/* LAYOUT */
.section-container { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
.section-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.section-title { font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: -0.5px; }
.section-subtitle { font-size: 14px; color: var(--gray-600); margin-top: 4px; }

/* FILTER CHIPS */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid var(--gray-200); background: white; color: var(--gray-600); transition: var(--t); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); color: white; border-color: var(--blue); }

/* GRIDS */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.list-grid { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* EVENT CARD */
.event-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--t); cursor: pointer; }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 52px; position: relative; }
.event-date-chip { position: absolute; top: 12px; left: 12px; background: var(--blue); color: white; border-radius: var(--radius-xs); padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; }
.event-cat-chip { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--blue); border-radius: var(--radius-xs); padding: 4px 10px; font-size: 11px; font-weight: 700; }
.event-body { padding: 16px; }
.event-title { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; line-height: 1.35; }
.event-meta-item { font-size: 12.5px; color: var(--gray-600); display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.event-footer { padding: 12px 16px; border-top: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.event-rsvp { font-size: 12px; color: var(--gray-400); }
.btn-sm { padding: 6px 14px; border-radius: 16px; font-size: 12.5px; font-weight: 600; cursor: pointer; border: none; background: var(--blue-light); color: var(--blue); transition: var(--t); }
.btn-sm:hover { background: var(--blue); color: white; }

/* PLACE CARD */
.place-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--t); }
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.place-img { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.place-body { padding: 14px; }
.place-name { font-size: 14.5px; font-weight: 700; color: var(--gray-800); margin-bottom: 3px; }
.place-type { font-size: 12px; color: var(--gray-400); font-weight: 500; margin-bottom: 6px; }
.stars { color: var(--gold); font-size: 13px; margin-bottom: 4px; }
.place-address { font-size: 12px; color: var(--gray-600); }

/* DIRECTORY CARD */
.dir-card { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; transition: var(--t); }
.dir-card:hover { box-shadow: var(--shadow-md); }
.dir-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.dir-name { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 2px; }
.dir-role { font-size: 12.5px; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.dir-desc { font-size: 13px; color: var(--gray-600); line-height: 1.55; }
.dir-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 3px 9px; border-radius: 10px; background: var(--blue-light); color: var(--blue); font-weight: 500; }
.tag-gold { background: var(--gold-light); color: #8B6200; }

/* MARKETPLACE */
.market-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--t); }
.market-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.market-img { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 48px; background: var(--gray-50); }
.market-body { padding: 14px; }
.market-title { font-size: 14.5px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.market-seller { font-size: 12px; color: var(--gray-400); margin-bottom: 2px; }
.market-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-top: 1px solid var(--gray-100); }
.market-price { font-size: 18px; font-weight: 800; color: var(--blue); }

/* BALIKBAYAN */
.balik-card { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; transition: var(--t); }
.balik-card:hover { box-shadow: var(--shadow-md); }
.balik-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.balik-info { flex: 1; }
.balik-name { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 2px; }
.balik-route { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.balik-details { font-size: 13px; color: var(--gray-600); }
.balik-date { font-size: 12px; color: white; background: var(--blue); padding: 5px 12px; border-radius: 12px; white-space: nowrap; flex-shrink: 0; }

/* TABS */
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 28px; }
.tab-btn { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--gray-600); cursor: pointer; border: none; background: none; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: var(--t); }
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* HOMETOWN */
.hometown-hero { background: linear-gradient(135deg, #FEF9EC, #FFFDF5); border: 1px solid rgba(247,183,49,0.25); border-radius: var(--radius); padding: 40px 32px; text-align: center; margin-bottom: 36px; }
.hometown-hero h2 { font-size: 26px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.hometown-hero p { color: var(--gray-600); margin-bottom: 24px; font-size: 15px; }
.province-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.province-card { background: white; border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 18px 14px; text-align: center; cursor: pointer; transition: var(--t); }
.province-card:hover, .province-card.selected { border-color: var(--gold); background: var(--gold-light); }
.province-flag { font-size: 32px; margin-bottom: 8px; }
.province-name { font-size: 13.5px; font-weight: 700; color: var(--blue); margin-bottom: 3px; }
.province-count { font-size: 12px; color: var(--gray-400); }
.match-result { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-top: 28px; }
.match-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.member-card { text-align: center; padding: 18px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); transition: var(--t); }
.member-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.member-avatar { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--gray-100); }
.member-name { font-size: 13.5px; font-weight: 700; color: var(--gray-800); margin-bottom: 2px; }
.member-info { font-size: 12px; color: var(--gray-400); }

/* INFO BANNER */
.info-banner { background: var(--gold-light); border: 1px solid rgba(247,183,49,0.3); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13px; color: var(--gray-600); margin-bottom: 22px; display: flex; align-items: center; gap: 8px; }

/* FORM */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 5px; }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-xs); font-size: 14px; color: var(--gray-800); outline: none; transition: var(--t); font-family: inherit; }
.form-control:focus { border-color: var(--blue); }
textarea.form-control { resize: vertical; }

/* MODALS */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: var(--radius); padding: 32px; width: 460px; max-width: 92vw; box-shadow: 0 24px 60px rgba(0,0,0,0.2); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-title { font-size: 20px; font-weight: 800; color: var(--blue); }
.modal-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--gray-100); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; color: var(--gray-600); transition: var(--t); }
.modal-close:hover { background: var(--gray-200); }

/* NOTIF DOT */
.notif-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; display: inline-block; margin-left: 3px; vertical-align: middle; }

/* FEATURED SECTION HOME */
.home-featured { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 28px; }
.featured-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 4px; }
.featured-title { font-size: 20px; font-weight: 800; color: var(--blue); }

/* FOOTER */
footer { background: var(--blue); color: white; padding: 52px 24px 32px; margin-top: 64px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo-text { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-logo-text span { color: var(--gold); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 8px; transition: var(--t); cursor: pointer; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 8px; }

/* PROFILE PAGE */
.profile-page { display: flex; flex-direction: column; gap: 24px; max-width: 780px; margin: 0 auto; }
.profile-header-card { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; gap: 28px; align-items: flex-start; }
.profile-avatar-wrap { position: relative; flex-shrink: 0; width: 160px; height: 160px; }
.profile-avatar-placeholder { width: 160px; height: 160px; border-radius: var(--radius); background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 64px; border: 3px solid var(--gray-200); }
.profile-avatar-img { width: 160px; height: 160px; border-radius: var(--radius); object-fit: cover; border: 3px solid var(--blue-light); display: none; position: absolute; top: 0; left: 0; }
.profile-avatar-img.loaded { display: block; }
.profile-avatar-upload { position: absolute; bottom: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.35); transition: var(--t); }
.profile-avatar-upload:hover { background: var(--blue-mid); transform: scale(1.08); }
.profile-header-info { flex: 1; }
.profile-name { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -0.4px; }
.profile-email { font-size: 13px; color: var(--gray-400); margin-top: 3px; }
.profile-location { font-size: 13.5px; color: var(--gray-600); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.profile-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.profile-card-title { font-size: 16px; font-weight: 800; color: var(--blue); margin-bottom: 18px; }
.btn-outline { background: white; color: var(--gray-600); border: 1.5px solid var(--gray-200); padding: 8px 18px; border-radius: 20px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: var(--t); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.nav-profile-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; overflow: hidden; flex-shrink: 0; }
.nav-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* STAR PICKER */
.star-picker { display: flex; gap: 4px; }
.emoji-opt { font-size: 22px; cursor: pointer; padding: 4px 6px; border-radius: 6px; border: 2px solid transparent; transition: border-color 0.1s, background 0.1s; line-height: 1; }
.emoji-opt:hover { background: var(--gray-100); }
.emoji-opt.selected { border-color: var(--blue); background: #EBF0FB; }
.star-picker span { font-size: 28px; color: var(--gray-200); cursor: pointer; transition: color 0.1s; line-height: 1; }
.star-picker span.active { color: var(--gold); }
.star-picker span:hover { color: var(--gold); }

/* REVIEW CARD */
.review-card { background: var(--gray-50); border-radius: var(--radius-sm); padding: 14px 16px; }
.review-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-card-name { font-size: 13.5px; font-weight: 700; color: var(--gray-800); }
.review-card-stars { color: var(--gold); font-size: 13px; }
.review-card-date { font-size: 11.5px; color: var(--gray-400); margin-bottom: 6px; }
.review-card-comment { font-size: 13.5px; color: var(--gray-600); line-height: 1.6; }

/* Responsive */
@media (max-width: 900px) {
  .quick-access { grid-template-columns: repeat(3, 1fr); }
  .cards-grid, .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .province-grid, .match-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .quick-access { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 24px; }
}

/* ═══ DARK MODE ═══ */
[data-theme="dark"] { color-scheme: dark; }
[data-theme="dark"] body { background: #0F1117; color: #CBD5E0; }

/* Nav */
[data-theme="dark"] nav { background: #1A1D2E; border-color: #2D3150; }
[data-theme="dark"] .nav-link { color: #A8B2D8; }
[data-theme="dark"] .nav-link:hover { background: #252840; color: #E2E8F0; }
[data-theme="dark"] .nav-link.active { background: #1B2645; color: #93C5FD; }
[data-theme="dark"] .search-bar { background: #252840; border-color: #2D3150; }
[data-theme="dark"] .search-bar input { color: #E2E8F0; }
[data-theme="dark"] .logo-text { color: #93C5FD; }

/* Cards */
[data-theme="dark"] .event-card,
[data-theme="dark"] .place-card,
[data-theme="dark"] .dir-card,
[data-theme="dark"] .market-card,
[data-theme="dark"] .balik-card,
[data-theme="dark"] .qa-card,
[data-theme="dark"] .member-card,
[data-theme="dark"] .profile-card,
[data-theme="dark"] .profile-header-card,
[data-theme="dark"] .home-featured,
[data-theme="dark"] .match-result,
[data-theme="dark"] .review-card { background: #1E2235; border-color: #2D3150; }

[data-theme="dark"] .province-card { background: #1E2235; border-color: #2D3150; }
[data-theme="dark"] .province-card:hover,
[data-theme="dark"] .province-card.selected { background: #2A2010; border-color: var(--gold); }

/* Text */
[data-theme="dark"] .section-title { color: #93C5FD; }
[data-theme="dark"] .event-title,
[data-theme="dark"] .place-name,
[data-theme="dark"] .dir-name,
[data-theme="dark"] .market-title,
[data-theme="dark"] .balik-name,
[data-theme="dark"] .profile-name { color: #E2E8F0; }
[data-theme="dark"] .event-meta-item,
[data-theme="dark"] .place-type,
[data-theme="dark"] .place-address,
[data-theme="dark"] .dir-desc,
[data-theme="dark"] .dir-role,
[data-theme="dark"] .balik-details,
[data-theme="dark"] .section-subtitle { color: #8892B0; }
[data-theme="dark"] .qa-label { color: #93C5FD; }

/* Tabs & chips */
[data-theme="dark"] .tab-nav { border-color: #2D3150; }
[data-theme="dark"] .tab-btn { color: #8892B0; }
[data-theme="dark"] .tab-btn:hover,
[data-theme="dark"] .tab-btn.active { color: #93C5FD; }
[data-theme="dark"] .tab-btn.active { border-bottom-color: #93C5FD; }
[data-theme="dark"] .chip { background: #1E2235; border-color: #2D3150; color: #A8B2D8; }
[data-theme="dark"] .chip:hover,
[data-theme="dark"] .chip.active { background: #1B3A6B; color: white; border-color: #1B3A6B; }

/* Forms */
[data-theme="dark"] .form-control { background: #252840; border-color: #2D3150; color: #E2E8F0; }
[data-theme="dark"] .form-control:focus { border-color: #93C5FD; }
[data-theme="dark"] .form-group label { color: #A8B2D8; }
[data-theme="dark"] .info-banner { background: #1E2820; border-color: rgba(247,183,49,0.2); color: #A8B2D8; }

/* Modal */
[data-theme="dark"] .modal { background: #1A1D2E; }
[data-theme="dark"] .modal-title { color: #93C5FD; }
[data-theme="dark"] .modal-close { background: #252840; color: #A8B2D8; }
[data-theme="dark"] .modal-close:hover { background: #2D3150; }

/* Hometown */
[data-theme="dark"] .hometown-hero { background: #1E1A10; border-color: rgba(247,183,49,0.15); }
[data-theme="dark"] .hometown-hero h2 { color: #93C5FD; }

/* Misc */
[data-theme="dark"] .event-footer { border-color: #2D3150; }
[data-theme="dark"] .market-footer { border-color: #2D3150; }
[data-theme="dark"] .btn-sm { background: #252840; color: #93C5FD; }
[data-theme="dark"] .btn-sm:hover { background: #1B3A6B; color: white; }
[data-theme="dark"] .btn-outline { background: #252840; border-color: #2D3150; color: #A8B2D8; }
[data-theme="dark"] .btn-outline:hover { border-color: #93C5FD; color: #93C5FD; }
[data-theme="dark"] .tag { background: #1B2645; color: #93C5FD; }
[data-theme="dark"] .tag-gold { background: #2A2010; color: #F7B731; }
[data-theme="dark"] .profile-email,
[data-theme="dark"] .profile-location { color: #8892B0; }
[data-theme="dark"] .review-card-name { color: #E2E8F0; }
[data-theme="dark"] .review-card-comment { color: #A8B2D8; }
