/* ===== Okishima Dark Theme ===== */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  padding-bottom: 80px; /* space for bottom nav */
}
body.menu-open { overflow: hidden; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.container { max-width: 768px; margin: 0 auto; padding: 20px; animation: fadeIn 0.4s ease-out; }

/* ===== Topbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(10,10,10,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 768px;
  margin: 0 auto;
  padding: 10px 20px;
}
.topbar-home {
  display: flex;
  align-items: center;
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}
.topbar-home:hover { color: #fafafa; }
.topbar-home svg { width: 22px; height: 22px; fill: currentColor; }

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ccc;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hamburger menu overlay ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80vw;
  height: 100%;
  background: #141414;
  padding: 60px 20px 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.menu-overlay.open .menu-panel { transform: translateX(0); }
.menu-section { margin-bottom: 24px; }
.menu-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1e1e1e;
}
.menu-section a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: #ccc;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  transition: color 0.15s;
}
.menu-section a:hover, .menu-section a:active { color: #fff; }
.menu-account { border-top: 1px solid #1e1e1e; padding-top: 16px; }

/* ===== Bottom nav ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 56px;
  background: rgba(14,14,14,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: #666;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 6px 12px;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item svg { width: 22px; height: 22px; fill: currentColor; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: #fafafa; }

/* ===== Header ===== */
header {
  color: #fff;
  padding: 24px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  text-align: center;
}
header h1 { font-size: 24px; font-weight: 800; }
.timestamp {
  text-align: right;
  font-size: 11px;
  color: #555;
  margin-top: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  scroll-margin-top: 50px;
}
header .stats { font-size: 13px; opacity: 0.85; margin-top: 2px; }
.header-instagram { background: linear-gradient(135deg, #405de6, #833ab4, #c13584, #e1306c, #fd1d1d); }
.header-trend { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.header-top {
  background: transparent;
  color: #fafafa;
  padding: 48px 16px 16px;
  border-radius: 0;
  margin-bottom: 0;
}
.header-top h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fafafa;
}
.header-ferry { background: linear-gradient(135deg, #0077b6, #0096c7, #00b4d8); }
.header-municipal { background: linear-gradient(135deg, #0d3320, #1b4332, #2d6a4f); }

/* ===== Section headings ===== */
.section-title {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 800;
  padding: 16px 16px;
  background: transparent;
  color: #fafafa;
  border-radius: 0;
  border-bottom: none;
  margin-top: 48px;
  line-height: 1.4;
  scroll-margin-top: 50px;
}
.section-title::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(to right, rgba(56,189,248,0.3), rgba(139,92,246,0.2), transparent);
}
.section-title sub { font-size: 13px; color: #888; font-weight: normal; }
.top-section {
  font-size: 28px;
  font-weight: 800;
  color: #e0e0e0;
  letter-spacing: -0.02em;
  line-height: 1.12;
  padding: 48px 4px 12px;
}
.top-section:first-of-type { padding-top: 20px; }
.top-section[id] { scroll-margin-top: 50px; }

/* ===== Cards ===== */
.card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0 0 16px 16px;
  padding: 0;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.card-standalone {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ===== Post items ===== */
.post { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.post:last-child { border-bottom: none; border-radius: 0 0 16px 16px; }
.post-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.post-title a { color: #38bdf8; text-decoration: none; font-weight: 600; font-size: 16px; }
.post-title a:active { color: #7dd3fc; }
.post-meta { display: flex; gap: 10px; font-size: 13px; color: #888; margin: 3px 0; flex-wrap: wrap; }
.post-meta .account { color: #aaa; font-weight: 500; }
.post-summary { font-size: 15px; color: #999; margin-top: 4px; }

/* Event thumbnail */
.post-with-image { display: flex; gap: 12px; }
.post-image { flex-shrink: 0; width: 120px; height: 80px; border-radius: 8px; overflow: hidden; border: 1px solid #222; }
.post-image img { width: 100%; height: 100%; object-fit: cover; }
.post-body { flex: 1; min-width: 0; }
@media (max-width: 480px) {
  .post-image { width: 90px; height: 64px; }
}

/* ===== Badges ===== */
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 500;
  white-space: nowrap;
}
.badge-event { background: #1e3a5f; color: #38bdf8; }
.badge-product { background: #1a3a1a; color: #4ade80; }
.badge-season { background: #3d2800; color: #fbbf24; }
.badge-area { background: #2d1a4e; color: #c084fc; }
.badge-food { background: #3d1111; color: #fca5a5; }
.badge-ai { background: #1e3a5f; color: #38bdf8; }
.badge-security { background: #3d1111; color: #fca5a5; }
.badge-dev { background: #1a3a1a; color: #4ade80; }
.badge-career { background: #3d2800; color: #fbbf24; }
.badge-oss { background: #2d1a4e; color: #c084fc; }
.badge-normal { background: #1a3a1a; color: #4ade80; }
.badge-conditional { background: #3d2800; color: #fbbf24; }
.badge-delay { background: #3d2800; color: #fbbf24; }
.badge-cancelled { background: #3d1111; color: #fca5a5; }
.badge-info { background: #1e3a5f; color: #38bdf8; }
.badge-amami { background: #1e3a5f; color: #38bdf8; }
.badge-tatsugo { background: #1a3a1a; color: #4ade80; }
.badge-yamato { background: #2d1a4e; color: #c084fc; }
.badge-setouchi { background: #3d2800; color: #fbbf24; }
.badge-uken { background: #3d1111; color: #fca5a5; }

/* Interest stars */
.stars { color: #f5a623; font-size: 13px; }

/* No-posts / muted */
.no-posts { padding: 14px; color: #666; font-size: 14px; text-align: center; }
.muted-section {
  background: #141414;
  border-radius: 16px;
  padding: 16px;
  margin-top: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.muted-section h2 { font-size: 14px; color: #666; margin-bottom: 8px; }
.muted-list { font-size: 13px; color: #555; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* ===== Page links (contents index) ===== */
.page-link {
  display: block;
  background: #141414;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #e0e0e0;
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.2s cubic-bezier(0.25, 0.1, 0.25, 1),
              background 0.2s;
}
.page-link:hover { transform: scale(1.015); box-shadow: 0 4px 16px rgba(0,0,0,0.3); background: rgba(255,255,255,0.03); }
.page-link:active { transform: scale(0.985); }
.page-link h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.page-link p { font-size: 15px; color: #888; line-height: 1.47; }
.page-link .updated { font-size: 12px; color: #666; margin-top: 8px; }
.page-link .arrow { display: none; }
.badge-new {
  display: inline-block;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 8px; }
.breadcrumb a { color: #38bdf8; text-decoration: none; }

/* ===== Ferry ===== */
.ferry-columns { display: flex; gap: 8px; padding: 10px; }
.ferry-col { flex: 1; min-width: 0; }
.ferry-col-header {
  font-size: 14px; font-weight: 700; color: #aaa;
  padding: 6px 8px; margin-bottom: 6px;
  border-bottom: 2px solid #1e1e1e;
  text-align: center;
}
.ferry-item {
  padding: 8px;
  border-radius: 8px;
  background: #1a1a1a;
  margin-bottom: 6px;
  border-bottom: 1px solid #222;
}
.ferry-item:last-child { border-bottom: none; }
.ferry-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.badge-marix { background: #1e3a5f; color: #38bdf8; }
.badge-aline { background: #3d2800; color: #fbbf24; }
.badge-ship { background: #1a1a3d; color: #818cf8; }
.badge-account { background: #222; color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

/* Backnumber list */
.backnumber-list { list-style: none; padding: 8px 14px; }
.backnumber-list li { padding: 4px 0; }
.backnumber-list a { color: #818cf8; }

/* ===== Municipal calendar ===== */
.muni-cal-pager {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 16px 0 8px;
}
.muni-pager-title { font-size: 22px; font-weight: 800; min-width: 140px; text-align: center; }
.muni-pager-btn {
  width: 40px; height: 40px;
  border: 1.5px solid #333; border-radius: 50%;
  background: #1a1a1a; font-size: 24px; line-height: 1;
  color: #e0e0e0; cursor: pointer;
}
.muni-pager-btn:disabled { color: #444; border-color: #222; cursor: default; }
.muni-dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 2px; }
.muni-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.schedule-day.has-events { cursor: pointer; }

/* Municipal popup */
.muni-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 30vh;
}
html.popup-open, body.popup-open { overflow: hidden; }
.muni-popup {
  background: #141414;
  border-radius: 16px;
  width: calc(100% - 32px); max-width: 640px; max-height: 70vh;
  overflow-y: auto;
  animation: popup-in 0.2s ease-out;
}
@keyframes popup-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.muni-popup-header {
  display: grid;
  grid-template-columns: 36px 1fr 36px 36px;
  align-items: center; gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid #1e1e1e;
  position: sticky; top: 0;
  background: #141414;
  border-radius: 16px 16px 0 0;
  z-index: 1;
}
.muni-popup-header span { font-size: 18px; font-weight: 700; text-align: center; }
.muni-popup-nav {
  width: 36px; height: 36px;
  border: 1.5px solid #333; border-radius: 50%;
  background: #1a1a1a; font-size: 22px; line-height: 1;
  color: #e0e0e0; cursor: pointer;
}
.muni-popup-nav:disabled { color: #444; border-color: #222; cursor: default; }
.muni-popup-close {
  width: 36px; height: 36px;
  border: none; background: #222; border-radius: 50%;
  font-size: 20px; line-height: 1; color: #aaa; cursor: pointer;
}

@media (max-width: 480px) {
  .ferry-columns { flex-direction: column; }
  .muni-dot { width: 10px; height: 10px; }
}

/* ===== Ferry Schedule Calendar ===== */
.schedule-calendar {
  background: #141414;
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.schedule-month-title { font-size: 18px; font-weight: 700; padding: 8px 4px; color: #e0e0e0; }
.schedule-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.schedule-weekday { text-align: center; font-size: 12px; font-weight: 600; color: #888; padding: 4px 0; }
.schedule-weekday.sun { color: #fca5a5; }
.schedule-weekday.sat { color: #38bdf8; }
.schedule-day {
  min-height: 76px; padding: 4px; border-radius: 6px;
  background: #1a1a1a;
  display: flex; flex-direction: column; gap: 1px;
}
.schedule-day.empty { background: transparent; min-height: auto; }
.schedule-day.today { outline: 2px solid #0096c7; }
.schedule-day.weekend-sun { background: #1a1111; }
.schedule-day.weekend-sat { background: #111118; }
.schedule-day.holiday { background: #1a1111; }
.schedule-day.holiday .schedule-day-num { color: #fca5a5; }
.schedule-day-num { font-size: 14px; font-weight: 700; color: #ccc; padding: 1px 3px; }
.schedule-day.weekend-sun .schedule-day-num { color: #fca5a5; }
.schedule-day.weekend-sat .schedule-day-num { color: #38bdf8; }
.schedule-ship {
  font-size: 10px; padding: 1px 3px; border-radius: 4px;
  font-weight: 500; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; line-height: 1.4;
}
.badge-ship-best { background: #15803d; color: #fff; font-weight: 600; }
.badge-ship-good { background: #1e3a5f; color: #38bdf8; }
.badge-ship-worst { background: #1a1a1a; color: #555; }
.badge-ship-dock { background: #222; color: #666; }
.schedule-filter {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 4px 4px;
}
.schedule-filter-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border: 1.5px solid #333; border-radius: 20px;
  background: #1a1a1a; color: #888; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
}
.schedule-filter-btn.active { border-color: #0096c7; color: #e0e0e0; background: #0a2a3a; }
.schedule-filter-btn .schedule-legend-color { width: 10px; height: 10px; border-radius: 3px; }
.schedule-legend { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 4px; font-size: 13px; }
.schedule-legend-item { display: flex; align-items: center; gap: 4px; }
.schedule-legend-color { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
@media (max-width: 480px) {
  .schedule-day { min-height: 60px; }
  .schedule-ship { font-size: 9px; }
  .schedule-day-num { font-size: 12px; }
}

/* ===== Travel catalog ===== */
.header-travel { background: linear-gradient(135deg, #0077b6, #00b4d8, #48cae4); }
.badge-sightseeing { background: #1e3a5f; color: #38bdf8; }
.badge-park { background: #2d1a4e; color: #c084fc; }
.badge-onsen { background: #3d2800; color: #fbbf24; }
.badge-scenery { background: #0a2a2a; color: #5eead4; }
.badge-heritage { background: #3d2800; color: #fbbf24; }
.badge-culture { background: #3d1128; color: #f9a8d4; }
.badge-kids { background: #3d3000; color: #fde047; }
.badge-restaurant { background: #3d1a00; color: #fdba74; }
.badge-activity { background: #1a3a1a; color: #4ade80; }
.badge-festival { background: #3d1128; color: #f9a8d4; }
.badge-museum { background: #1a1a3d; color: #a78bfa; }
.badge-stay { background: #0a1a3d; color: #38bdf8; }
.cat-label {
  display: inline-block; font-size: 21px; color: #e0e0e0; font-weight: 700;
  background: none; border-bottom: 2px solid #555; padding: 0 0 2px;
  margin-right: 4px; margin-bottom: 4px; white-space: nowrap;
}
/* Travel accordion */
.region-accordion { margin-top: 48px; scroll-margin-top: 50px; }
.region-accordion > .section-title {
  cursor: pointer; list-style: none;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: 16px; position: sticky; top: 42px; z-index: 20;
  background: #0a0a0a;
}
.region-accordion[open] > .section-title { border-radius: 16px 16px 0 0; }
.region-name { display: inline-block; min-width: 5em; text-align: justify; text-align-last: justify; }
.region-accordion > .section-title sub { display: block; margin-top: 4px; }
.region-accordion > .section-title::after {
  content: '\25B8'; font-size: 18px; color: #666;
  transition: transform 0.2s; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
}
.region-accordion[open] > .section-title::after { transform: translateY(-50%) rotate(90deg); }
.region-accordion > .section-title::-webkit-details-marker { display: none; }
.pref-link { color: #38bdf8; text-decoration: none; font-weight: normal; }
.pref-link:active { color: #7dd3fc; }
.region-accordion .post { border-bottom: 2px solid #1e1e1e; padding-top: 0; padding-bottom: 0; }
.region-accordion .post:last-child { border-bottom: none; }
.region-accordion .post-title {
  position: sticky; top: 129px; background: #141414; z-index: 10; padding: 14px 0 8px;
}
.region-accordion .post-title strong {
  font-size: 26px; font-weight: 800; letter-spacing: 0.02em;
  border-left: 4px solid #38bdf8; padding-left: 10px; color: #fafafa;
}
.cat-group { margin: 6px 0; background: #1a1a1a; border-radius: 8px; padding: 8px 10px; overflow: hidden; }
.cat-items { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cat-item { display: flex; flex-direction: column; gap: 4px; background: #222; border-radius: 8px; padding: 8px 10px; overflow: hidden; }
.item-popup-link { cursor: pointer; font-size: 19px; word-break: break-all; }
.cat-item-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.item-desc { font-size: 14px; color: #888; padding-left: 1em; word-break: break-all; }
.badge-star5 { background: #37474f; color: #ffd54f; font-size: 13px; margin-left: 2px; }

/* Travel popup */
.travel-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1000; display: flex; align-items: flex-start; justify-content: center;
  padding: 10vh 16px;
}
.travel-popup {
  background: #141414; border-radius: 16px; max-height: 80vh;
  display: flex; flex-direction: column;
  width: calc(100% - 32px); max-width: 480px;
  animation: popup-in 0.2s ease-out;
}
.travel-popup-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #1e1e1e;
}
.travel-popup-header span { font-size: 18px; font-weight: 700; color: #fafafa; }
.travel-popup-close {
  width: 32px; height: 32px; border: none; background: #222; border-radius: 50%;
  font-size: 18px; line-height: 1; color: #aaa; cursor: pointer;
}
.travel-popup-body { padding: 14px 16px; overflow-y: auto; flex: 1; }
.travel-popup-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.travel-popup-pref { font-size: 13px; color: #888; }
.travel-popup-desc { font-size: 15px; color: #ccc; line-height: 1.6; margin-bottom: 14px; }
.travel-popup-actions { display: flex; gap: 8px; }
.travel-popup-btn {
  flex: 1; display: block; text-align: center; padding: 10px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none; background: #1a1a1a; color: #38bdf8;
}
.travel-popup-img-wrap { width: 100%; max-height: 200px; overflow: hidden; }
.travel-popup-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.travel-popup-access {
  display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: #aaa;
  background: #1a1a1a; border-radius: 8px; padding: 8px 10px; margin-bottom: 14px;
}
.travel-popup-access-icon { font-size: 16px; flex-shrink: 0; }
.travel-popup-ratings {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px;
  margin: 12px 0; padding: 10px 12px; background: #1a1a1a; border-radius: 10px;
}
.rating-row { display: flex; align-items: center; gap: 8px; }
.rating-label { font-size: 13px; color: #999; min-width: 7em; flex-shrink: 0; }
.travel-popup-rating-descs {
  background: #1a1a1a; border-radius: 8px; padding: 8px 10px; margin-top: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.rating-desc-row { display: flex; gap: 6px; align-items: baseline; }
.rating-desc-label { font-size: 12px; color: #666; min-width: 7em; flex-shrink: 0; }
.rating-desc-text { font-size: 12px; color: #999; }
.rating-stars { font-size: 16px; color: #f5a623; letter-spacing: 1px; white-space: nowrap; }
.rating-stars .star { display: inline-block; }
.rating-stars .star.full { color: #f5a623; }
.rating-stars .star.empty { color: #333; }
.rating-stars .star.half-star { display: inline-block; position: relative; color: #333; }
.rating-stars .star.half-star::before {
  content: '\2605'; position: absolute; left: 0;
  overflow: hidden; width: 0.5em; color: #f5a623;
}

/* ===== Credit card ===== */
.header-creditcard { background: linear-gradient(135deg, #1a237e, #283593, #3949ab); }
.badge-cc-points { background: #1e3a5f; color: #38bdf8; }
.badge-cc-cashback { background: #1a3a1a; color: #4ade80; }
.badge-cc-fee { background: #2d1a4e; color: #c084fc; }
.badge-cc-bonus { background: #3d2800; color: #fbbf24; }
.badge-cc-other { background: #222; color: #aaa; }
.badge-cc-urgent { background: #3d1111; color: #fca5a5; }
.cc-spec-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.cc-spec-table th { text-align: left; color: #888; font-weight: 500; padding: 4px 8px; width: 30%; }
.cc-spec-table td { padding: 4px 8px; }
.cc-card-header { display: flex; justify-content: space-between; align-items: center; }
.cc-annual-fee { font-size: 14px; font-weight: 700; color: #4ade80; }
.cc-return-rate { font-size: 14px; font-weight: 700; color: #38bdf8; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4rem;
  padding: 24px 0 16px;
}
.footer-copyright { text-align: center; font-size: 0.8rem; color: #555; }

/* ===== FAB ===== */
.fab-close {
  position: fixed; bottom: 76px; right: 20px;
  display: flex; align-items: center; gap: 4px;
  background: #e0e0e0; color: #0a0a0a; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 24px;
  text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 90;
}

/* ===== Interactive (likes, hide, filter) ===== */
.post-actions { display: flex; gap: 6px; align-items: center; margin-top: 5px; }
.btn-like {
  background: none; border: 1px solid #333; border-radius: 4px;
  color: #888; cursor: pointer; font-size: 14px; padding: 2px 8px;
  transition: color 0.2s, border-color 0.2s;
  display: inline-flex; align-items: center; gap: 3px;
}
.btn-like:hover { color: #e55; border-color: #e55; }
.btn-like.liked { color: #e55; border-color: #e55; }
.like-count { font-size: 12px; }
.btn-hide {
  background: none; border: 1px solid #333; border-radius: 4px;
  color: #888; cursor: pointer; font-size: 12px; padding: 2px 8px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-hide:hover { color: #4a9eff; border-color: #4a9eff; }
.btn-hide.is-hidden { color: #e55; border-color: #e55; }
.admin-hidden { opacity: 0.35; }
.category-filter { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 0; }
.filter-btn {
  border: 1px solid #333; border-radius: 4px; padding: 3px 10px;
  font-size: 12px; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn.on { background: #4a9eff; color: #fff; border-color: #4a9eff; }
.filter-btn.off { background: #1a1a1a; color: #888; border-color: #333; }
.filter-btn:hover { opacity: 0.85; }
