/**
 * SULYAP SA PINANGGALINGAN — Feature styles
 * lemcon.ph | sulyap-features.css | July 2026
 * Styles for: games hub, silhouette quiz, Lakbay Chain, Hulaan,
 * Kapitbahay bar, Explorer Passport, search overlay, random button.
 * Additive only — style.css stays untouched.
 */

/* ── GAMES HUB ─────────────────────────────────────────── */
a.quiz-type-card.daily-game-card {
  display: block;
  text-decoration: none;
  padding: 16px 18px;
  background: linear-gradient(135deg, #1c2740 0%, #1e1e1e 70%) !important;
  border: 1.5px solid rgba(252,209,22,0.45) !important;
  border-radius: 10px;
  color: #ffffff !important;
  position: relative;
  transition: border-color 0.2s, transform 0.15s;
}
a.quiz-type-card.daily-game-card:hover {
  border-color: #FCD116 !important;
  transform: translateY(-1px);
}
.daily-games-grid { display: flex; flex-direction: column; gap: 12px; }

/* ── SILHOUETTE QUIZ ───────────────────────────────────── */
.quiz-figure {
  display: none;
  justify-content: center;
  align-items: center;
  margin: 4px 0 18px;
  min-height: 160px;
}
.quiz-silhouette-svg {
  width: 200px;
  height: 200px;
  max-width: 60vw;
  filter: drop-shadow(0 4px 14px rgba(252,209,22,0.25));
}

/* ── SHARED GAME PAGE SHELL (Lakbay + Hulaan) ──────────── */
.game-page-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  color: #fff;
}
.game-intro { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-bottom: 18px; }
.game-day-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #FCD116; margin-bottom: 6px;
}
.game-panel {
  background: #1e1e1e;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}
.game-input-row { position: relative; margin-bottom: 8px; }
.game-input {
  width: 100%; box-sizing: border-box;
  padding: 13px 14px;
  background: #141414; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-family: inherit; font-size: 16px;
}
.game-input:focus { outline: none; border-color: #FCD116; }
.game-suggest {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #1a1a1a; border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px; margin-top: 4px; z-index: 50;
  max-height: 220px; overflow-y: auto;
  display: none;
}
.game-suggest.open { display: block; }
.game-suggest button {
  display: block; width: 100%; text-align: left;
  padding: 11px 14px; background: transparent; border: none;
  color: #fff; font-family: inherit; font-size: 15px; cursor: pointer;
}
.game-suggest button:hover, .game-suggest button.active { background: rgba(252,209,22,0.12); }
.game-btn {
  display: block; width: 100%;
  padding: 13px; margin-top: 8px;
  background: #FCD116; color: #121212;
  font-weight: 700; font-size: 15px; font-family: inherit;
  border: none; border-radius: 10px; cursor: pointer;
}
.game-btn:disabled { opacity: 0.4; cursor: default; }
.game-btn.secondary { background: transparent; color: rgba(255,255,255,0.65); border: 1.5px solid rgba(255,255,255,0.25); }
.game-msg { font-size: 14px; line-height: 1.5; margin-top: 10px; }
.game-msg.good { color: #7ed957; }
.game-msg.bad  { color: #ff7a7a; }
.game-streak {
  font-size: 12px; color: rgba(255,255,255,0.55);
  text-align: center; margin-top: 14px;
}

/* ── LAKBAY CHAIN ──────────────────────────────────────── */
.lakbay-route {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
}
.lakbay-endpoint {
  flex: 1; text-align: center;
  background: rgba(0,56,168,0.25);
  border: 1.5px solid rgba(252,209,22,0.5);
  border-radius: 10px; padding: 12px 8px;
}
.lakbay-endpoint .ep-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); }
.lakbay-endpoint .ep-name  { font-size: 15px; font-weight: 700; color: #fff; margin-top: 2px; }
.lakbay-arrow { color: #FCD116; font-size: 20px; }
.lakbay-chain { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.lakbay-chip {
  background: rgba(252,209,22,0.15);
  border: 1px solid rgba(252,209,22,0.5);
  color: #FCD116; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 16px;
}
.lakbay-chip.start { background: rgba(0,56,168,0.35); border-color: rgba(255,255,255,0.35); color: #fff; }
.lakbay-stats { display: flex; gap: 16px; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 6px; }
.lakbay-stats strong { color: #FCD116; }

/* ── HULAAN ────────────────────────────────────────────── */
.hulaan-guesses { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.hulaan-guess-row {
  background: #191919; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 10px 12px;
}
.hulaan-guess-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hulaan-hints { display: flex; flex-wrap: wrap; gap: 6px; }
.hulaan-hint {
  font-size: 11.5px; font-weight: 600;
  padding: 4px 9px; border-radius: 12px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
}
.hulaan-hint.match { background: rgba(126,217,87,0.18); color: #7ed957; }
.hulaan-hint.arrow { background: rgba(252,209,22,0.14); color: #FCD116; }
.hulaan-tries { text-align: center; font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 10px; }
.hulaan-reveal {
  text-align: center; margin-top: 14px; padding: 14px;
  border-radius: 10px; background: rgba(0,56,168,0.25);
  border: 1.5px solid rgba(252,209,22,0.5);
}
.hulaan-reveal .reveal-name { font-size: 20px; font-weight: 700; color: #FCD116; }
.hulaan-reveal a { color: #fff; font-size: 13px; }

/* ── KAPITBAHAY BAR (province pages) ───────────────────── */
.kapitbahay-bar {
  margin: 18px 0 6px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
}
.kapitbahay-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.kapitbahay-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kapitbahay-chip {
  display: inline-block; text-decoration: none;
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 16px;
  background: rgba(252,209,22,0.12);
  border: 1px solid rgba(252,209,22,0.45);
  color: #FCD116;
  transition: background 0.15s;
}
.kapitbahay-chip:hover { background: rgba(252,209,22,0.25); }
.kapitbahay-none { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ── EXPLORER PASSPORT ─────────────────────────────────── */
.passport-counter {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 350;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(252,209,22,0.5);
  border-radius: 18px;
  color: #FCD116;
  font-size: 12px; font-weight: 700;
  font-family: inherit;
  padding: 6px 12px;
  cursor: pointer;
}
.passport-counter:hover { background: rgba(0,0,0,0.9); border-color: #FCD116; }
#ph-map svg path.province-visited:not(.ph-highlighted),
#ph-map svg polygon.province-visited:not(.ph-highlighted),
#ph-map svg .province-visited:not(.ph-highlighted) path,
#ph-map svg .province-visited:not(.ph-highlighted) polygon {
  fill: #C9A227 !important;   /* passport-stamp gold */
}

/* ── RANDOM PROVINCE BUTTON ────────────────────────────── */
.random-province-btn {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 350;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(0,56,168,0.75);
  border: 1.5px solid rgba(252,209,22,0.55);
  color: #FCD116;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.45);
  transition: background 0.15s, transform 0.1s;
}
.random-province-btn:hover  { background: rgba(0,56,168,0.95); }
.random-province-btn:active { transform: scale(0.94); }

/* ── SEARCH OVERLAY ────────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(10,10,10,0.94);
  display: none;
  padding: 24px 16px;
  overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-overlay-inner { max-width: 560px; margin: 0 auto; }
.search-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 4px;
}
.search-back {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 14px; font-weight: 600; font-family: inherit;
  padding: 9px 16px; border-radius: 18px; cursor: pointer;
}
.search-back:hover { border-color: #FCD116; color: #FCD116; }
.search-close {
  background: transparent; border: none; color: rgba(255,255,255,0.7);
  font-size: 30px; cursor: pointer; line-height: 1; padding: 4px 8px;
}
.search-howto {
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.5; margin-top: 10px;
}
.search-input {
  width: 100%; box-sizing: border-box;
  padding: 15px 16px; margin-top: 14px;
  background: #1a1a1a; color: #fff;
  border: 1.5px solid rgba(252,209,22,0.5); border-radius: 12px;
  font-size: 17px; font-family: inherit;
}
.search-input:focus { outline: none; border-color: #FCD116; }
.search-results { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.search-result {
  display: block; text-decoration: none;
  background: #1e1e1e; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 12px 14px;
}
.search-result .sr-name { font-size: 15px; font-weight: 700; color: #fff; }
.search-result .sr-meta { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.search-result:hover { border-color: rgba(252,209,22,0.6); }
.search-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin: 14px 0 4px;
}
.search-quicklinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-quicklinks a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 16px;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}
.search-quicklinks a:hover { border-color: rgba(252,209,22,0.6); color: #FCD116; }

/* ── SPECIES CARD (nature section) ─────────────────────── */
.species-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid #7ed957;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0;
}
.species-card .species-name { font-size: 16px; font-weight: 700; color: #fff; }
.species-card .species-sci  { font-size: 13px; font-style: italic; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.species-card .species-status {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 10px; margin-bottom: 8px;
  background: rgba(126,217,87,0.15); color: #7ed957;
}
.species-card .species-status.status-critical { background: rgba(255,122,122,0.15); color: #ff7a7a; }
.species-card .species-status.status-endangered { background: rgba(255,180,84,0.15); color: #ffb454; }
.species-card .species-status.status-vulnerable { background: rgba(252,209,22,0.15); color: #FCD116; }
.species-card .species-text { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.species-card .species-field-note {
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-size: 13px; color: rgba(255,255,255,0.65);
}
.species-card .species-field-note strong { color: #7ed957; }

/* ── PROVINCE HERO SEARCH BUTTON ───────────────────────── */
.province-hero-search {
  position: absolute;
  top: 14px; right: 14px;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff; border-radius: 50%;
  cursor: pointer;
}
.province-hero-search:hover { border-color: #FCD116; color: #FCD116; }

/* ── PAGE BACK LINK (games pages) ──────────────────────── */
.page-back-link {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 13px; border-radius: 16px;
}
.page-back-link:hover { color: #FCD116; border-color: rgba(252,209,22,0.6); }
.quiz-header { position: relative; }

/* ── PROVINCE TABS — wrap on mobile so all 8 stay visible ── */
@media (max-width: 640px) {
  .province-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════
   HAYOP NG PILIPINAS — Wildlife hub
   ══════════════════════════════════════════════════════════ */
.hayop-container { max-width: 1000px; margin: 0 auto; padding: 8px 14px 40px; color: #fff; }

/* Collector progress */
.hayop-collector {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(0,56,168,0.18); border: 1px solid rgba(252,209,22,0.4);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 16px;
}
.hayop-collector-count { font-size: 22px; font-weight: 700; color: #FCD116; }
.hayop-collector-total { font-size: 13px; color: rgba(255,255,255,0.7); }
.hayop-collector-bar { flex: 1 1 160px; height: 8px; background: rgba(255,255,255,0.12); border-radius: 4px; overflow: hidden; min-width: 120px; }
.hayop-collector-fill { height: 100%; width: 0; background: #FCD116; transition: width 0.4s ease; }

/* Controls */
.hayop-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.hayop-search {
  flex: 1 1 240px; box-sizing: border-box; padding: 12px 14px;
  background: #141414; color: #fff; border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px; font-family: inherit; font-size: 15px;
}
.hayop-search:focus { outline: none; border-color: #FCD116; }
.hayop-actions { display: flex; gap: 8px; }
.hayop-btn {
  padding: 11px 16px; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 700;
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25); cursor: pointer; white-space: nowrap;
}
.hayop-btn:hover { border-color: #FCD116; color: #FCD116; }
.hayop-btn.primary { background: #FCD116; color: #121212; border-color: #FCD116; }
.hayop-btn.primary:hover { background: #ffd93a; color: #121212; }

/* Filter chips */
.hayop-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.hayop-chip {
  padding: 7px 13px; border-radius: 16px; font-family: inherit; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.hayop-chip:hover { border-color: rgba(252,209,22,0.6); }
.hayop-chip.active { background: rgba(252,209,22,0.18); border-color: #FCD116; color: #FCD116; }
.hayop-chip .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.hayop-chip.st-critical .dot { background: #ff6b6b; }
.hayop-chip.st-endangered .dot { background: #ffb454; }
.hayop-chip.st-vulnerable .dot { background: #FCD116; }
.hayop-chip.st-near .dot { background: #b6e36b; }
.hayop-chip.st-stable .dot { background: #7ed957; }

.hayop-result-count { font-size: 12px; color: rgba(255,255,255,0.5); margin: 6px 0 12px; }

/* Card grid */
.hayop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.hayop-card {
  text-align: left; padding: 0; background: #1c1c1c;
  border: 1.5px solid rgba(255,255,255,0.12); border-radius: 12px; overflow: hidden;
  cursor: pointer; font-family: inherit; color: #fff; transition: border-color 0.15s, transform 0.12s;
}
.hayop-card:hover { border-color: rgba(252,209,22,0.7); transform: translateY(-2px); }
.hayop-card.spotted { border-color: rgba(126,217,87,0.45); }
.hayop-card-photo {
  width: 100%; aspect-ratio: 1 / 1; background-size: cover; background-position: center;
  background-color: #232323;
}
.hayop-card-photo.placeholder { display: flex; align-items: center; justify-content: center; font-size: 40px; opacity: 0.4; }
.hayop-card-body { padding: 10px 12px 12px; }
.hayop-card-name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.hayop-card-local { font-size: 12px; color: rgba(255,255,255,0.55); margin: 2px 0 6px; }
.hayop-empty { grid-column: 1 / -1; text-align: center; color: rgba(255,255,255,0.5); padding: 30px; }

/* Status badge */
.hayop-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 10px; margin-top: 4px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
}
.hayop-status .dot { width: 7px; height: 7px; border-radius: 50%; }
.hayop-status.st-critical { background: rgba(255,107,107,0.16); color: #ff8f8f; }
.hayop-status.st-critical .dot { background: #ff6b6b; }
.hayop-status.st-endangered { background: rgba(255,180,84,0.16); color: #ffc074; }
.hayop-status.st-endangered .dot { background: #ffb454; }
.hayop-status.st-vulnerable { background: rgba(252,209,22,0.16); color: #FCD116; }
.hayop-status.st-vulnerable .dot { background: #FCD116; }
.hayop-status.st-near { background: rgba(182,227,107,0.16); color: #c5eb86; }
.hayop-status.st-near .dot { background: #b6e36b; }
.hayop-status.st-stable { background: rgba(126,217,87,0.16); color: #9be86f; }
.hayop-status.st-stable .dot { background: #7ed957; }

/* Detail overlay */
.hayop-detail {
  position: fixed; inset: 0; z-index: 900; display: none;
  background: rgba(8,8,8,0.9); padding: 20px 14px; overflow-y: auto;
}
.hayop-detail.open { display: block; }
.hayop-detail-inner {
  max-width: 560px; margin: 0 auto; background: #1a1a1a;
  border: 1.5px solid rgba(252,209,22,0.4); border-radius: 16px; overflow: hidden; position: relative;
}
.hayop-detail-close {
  position: absolute; top: 10px; right: 12px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.55); border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1;
}
.hayop-detail-photo { width: 100%; aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: #232323; }
.hayop-detail-photo.placeholder { display: flex; align-items: center; justify-content: center; font-size: 64px; opacity: 0.4; }
.hayop-detail-body { padding: 18px 20px 24px; color: #fff; }
.hayop-detail-name { font-size: 22px; font-weight: 700; }
.hayop-detail-local { font-size: 14px; color: #FCD116; margin-top: 2px; }
.hayop-detail-sci { font-size: 13px; font-style: italic; color: rgba(255,255,255,0.55); margin: 2px 0 8px; }
.hayop-detail-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.hayop-fact { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 12px; }
.hayop-fact .k { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.hayop-fact .v { display: block; font-size: 13px; font-weight: 600; margin-top: 2px; }
.hayop-detail-blurb { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.hayop-detail-fun, .hayop-detail-field {
  font-size: 14px; line-height: 1.55; border-radius: 10px; padding: 12px 14px; margin-top: 12px;
}
.hayop-detail-fun { background: rgba(0,56,168,0.2); border: 1px solid rgba(252,209,22,0.35); }
.hayop-detail-fun strong { color: #FCD116; display: block; margin-bottom: 3px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.hayop-detail-field { background: rgba(126,217,87,0.1); border: 1px solid rgba(126,217,87,0.3); }
.hayop-detail-field strong { color: #7ed957; display: block; margin-bottom: 3px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.hayop-detail-provs { margin-top: 16px; }
.hayop-detail-provs .lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.hayop-prov-chip {
  display: inline-block; text-decoration: none; margin: 0 6px 6px 0;
  font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 15px;
  background: rgba(252,209,22,0.12); border: 1px solid rgba(252,209,22,0.45); color: #FCD116;
}
.hayop-prov-chip:hover { background: rgba(252,209,22,0.25); }

/* Name the Hayop quiz overlay */
.hayop-quiz { position: fixed; inset: 0; z-index: 950; display: none; background: rgba(8,8,8,0.94); padding: 20px 14px; overflow-y: auto; }
.hayop-quiz.open { display: block; }
.hayop-quiz-inner { max-width: 480px; margin: 0 auto; position: relative; color: #fff; text-align: center; }
.hayop-quiz-close { position: absolute; top: 0; right: 4px; background: transparent; border: none; color: rgba(255,255,255,0.7); font-size: 30px; cursor: pointer; }
.hayop-quiz-progress { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #FCD116; margin-bottom: 12px; }
.hayop-quiz-photo { width: 100%; aspect-ratio: 1 / 1; max-width: 320px; margin: 0 auto 14px; border-radius: 14px; background-size: cover; background-position: center; background-color: #232323; border: 1.5px solid rgba(255,255,255,0.15); }
.hayop-quiz-q { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.hayop-quiz-options { display: flex; flex-direction: column; gap: 10px; }
.hayop-quiz-feedback { min-height: 20px; font-size: 14px; margin-top: 12px; }
.hayop-quiz-feedback.good { color: #7ed957; }
.hayop-quiz-feedback.bad { color: #ff8f8f; }
.hayop-quiz-score { font-size: 17px; line-height: 1.6; margin-top: 16px; }

@media (max-width: 480px) {
  .hayop-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .hayop-actions { flex: 1 1 100%; }
  .hayop-btn { flex: 1; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   PISTA NG PILIPINAS — Festival hub
   ══════════════════════════════════════════════════════════ */
.pista-container { max-width: 1000px; margin: 0 auto; padding: 8px 14px 40px; color: #fff; }
.pista-intro { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-bottom: 14px; }

.pista-viewtoggle { display: inline-flex; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 22px; padding: 3px; margin-bottom: 14px; }
.pista-vbtn { padding: 8px 20px; border-radius: 18px; border: none; background: transparent; color: rgba(255,255,255,0.7); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pista-vbtn.active { background: #FCD116; color: #121212; }

.pista-search {
  display: block; width: 100%; box-sizing: border-box; padding: 12px 14px; margin-bottom: 18px;
  background: #141414; color: #fff; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 10px;
  font-family: inherit; font-size: 15px;
}
.pista-search:focus { outline: none; border-color: #FCD116; }
.pista-empty { text-align: center; color: rgba(255,255,255,0.5); padding: 30px; }

/* Calendar view */
.pista-month { margin-bottom: 24px; }
.pista-month-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(252,209,22,0.35); }
.pista-month-name { font-size: 18px; font-weight: 700; color: #FCD116; letter-spacing: 0.02em; }
.pista-month-count { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); border-radius: 10px; padding: 2px 9px; }
.pista-month-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pista-cal-card { display: flex; gap: 0; text-align: left; padding: 0; overflow: hidden;
  background: #1c1c1c; border: 1.5px solid rgba(255,255,255,0.12); border-radius: 12px; cursor: pointer; font-family: inherit; color: #fff; transition: border-color 0.15s, transform 0.12s; }
.pista-cal-card:hover { border-color: rgba(252,209,22,0.7); transform: translateY(-2px); }
.pista-cal-photo { width: 96px; min-height: 96px; flex-shrink: 0; background-size: cover; background-position: center; background-color: #242424; }
.pista-cal-photo.placeholder { display: flex; align-items: center; justify-content: center; font-size: 34px; opacity: 0.4; }
.pista-cal-body { padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
.pista-cal-name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.pista-cal-meta { font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 3px; }
.pista-cal-when { font-size: 11px; color: #FCD116; margin-top: 4px; font-weight: 600; }

/* Gallery view */
.pista-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.pista-card { text-align: left; padding: 0; overflow: hidden; background: #1c1c1c;
  border: 1.5px solid rgba(255,255,255,0.12); border-radius: 12px; cursor: pointer; font-family: inherit; color: #fff; transition: border-color 0.15s, transform 0.12s; }
.pista-card:hover { border-color: rgba(252,209,22,0.7); transform: translateY(-2px); }
.pista-card-photo { width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #242424; }
.pista-card-photo.placeholder { display: flex; align-items: center; justify-content: center; font-size: 44px; opacity: 0.4; }
.pista-card-body { padding: 11px 13px 13px; }
.pista-card-name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.pista-card-meta { font-size: 12px; color: rgba(255,255,255,0.55); margin: 2px 0 6px; }
.pista-month-badge { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 10px; background: rgba(252,209,22,0.16); color: #FCD116; }
.pista-month-badge.big { font-size: 12px; }

/* Detail overlay */
.pista-detail { position: fixed; inset: 0; z-index: 900; display: none; background: rgba(8,8,8,0.9); padding: 20px 14px; overflow-y: auto; }
.pista-detail.open { display: block; }
.pista-detail-inner { max-width: 600px; margin: 0 auto; background: #1a1a1a; border: 1.5px solid rgba(252,209,22,0.4); border-radius: 16px; overflow: hidden; position: relative; }
.pista-detail-close { position: absolute; top: 10px; right: 12px; z-index: 5; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,0.55); border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.pista-detail-photo { width: 100%; aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: #242424; }
.pista-detail-photo.placeholder { display: flex; align-items: center; justify-content: center; font-size: 72px; opacity: 0.4; }
.pista-detail-body { padding: 18px 20px 24px; }
.pista-detail-name { font-size: 22px; font-weight: 700; }
.pista-detail-name .alt { font-size: 15px; font-weight: 600; color: #FCD116; }
.pista-detail-meta { font-size: 13px; color: rgba(255,255,255,0.7); margin: 6px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pista-detail-honors { font-size: 14px; font-style: italic; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.pista-detail-sum { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.92); }
.pista-detail-block { margin-top: 14px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.pista-detail-block .lbl, .pista-detail-provs .lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 5px; }
.pista-detail-fun { margin-top: 14px; font-size: 14px; line-height: 1.55; background: rgba(0,56,168,0.2); border: 1px solid rgba(252,209,22,0.35); border-radius: 10px; padding: 12px 14px; }
.pista-detail-fun strong { color: #FCD116; display: block; margin-bottom: 3px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.pista-detail-provs { margin-top: 16px; }
.pista-prov-chip { display: inline-block; text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 15px; background: rgba(252,209,22,0.12); border: 1px solid rgba(252,209,22,0.45); color: #FCD116; }
.pista-prov-chip:hover { background: rgba(252,209,22,0.25); }

@media (max-width: 480px) {
  .pista-month-cards { grid-template-columns: 1fr; }
  .pista-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

/* ══════════════════════════════════════════════════════════
   PANAHON NG HAPON — WWII from inside
   ══════════════════════════════════════════════════════════ */
.panahon-container { max-width: 860px; margin: 0 auto; padding: 8px 14px 48px; color: #eee; }
.panahon-lede { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.7); margin-bottom: 16px; }

.panahon-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 30px; }
.ptile { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; text-decoration: none;
  background-size: cover; background-position: center; background-color: #26211d;
  border: 1.5px solid rgba(255,255,255,0.14); display: block; transition: border-color 0.15s, transform 0.12s; }
.ptile:hover { border-color: #FCD116; transform: translateY(-2px); }
.ptile.empty { opacity: 0.5; }
.ptile.empty:hover { opacity: 0.75; }
.ptile-tint { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%); }
.ptile-short { font-size: 15px; font-weight: 700; color: #FCD116; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.ptile-label { font-size: 11px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.8); }

.panahon-quarter { margin-bottom: 40px; scroll-margin-top: 16px; }
.pq-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(252,209,22,0.3); }
.pq-thumb { width: 84px; height: 84px; flex-shrink: 0; border-radius: 12px; background-size: cover; background-position: center; background-color: #26211d; border: 1px solid rgba(255,255,255,0.12); }
.pq-thumb.placeholder { background: linear-gradient(135deg, #2a2320 0%, #1a1a1a 60%); }
.pq-head-short { font-size: 20px; font-weight: 700; color: #FCD116; }
.pq-head-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.pq-intro { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.9); margin: 14px 2px; font-family: Georgia, serif; }

.pq-mapbtn { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 18px;
  background: rgba(0,56,168,0.25); border: 1.5px solid rgba(252,209,22,0.5); color: #FCD116;
  font-family: inherit; font-size: 14px; font-weight: 700; padding: 11px 16px; border-radius: 10px; cursor: pointer; }
.pq-mapbtn:hover { background: rgba(0,56,168,0.45); }

.pq-empty { font-size: 14px; color: rgba(255,255,255,0.4); padding: 14px 0; font-style: italic; }

.pq-section { margin-bottom: 20px; }
.pq-section-head { display: flex; align-items: center; gap: 9px; padding-bottom: 6px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12); }
.pq-section-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--sec); flex-shrink: 0; }
.pq-section-fil { font-size: 16px; font-weight: 700; color: #fff; }
.pq-section-en { font-size: 12px; color: rgba(255,255,255,0.5); }

.pq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pq-card { background: #1b1b1b; border: 1px solid rgba(255,255,255,0.12); border-left: 3px solid var(--sec);
  border-radius: 10px; padding: 14px 16px; }
.pq-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.pq-card-date { font-size: 12px; font-weight: 700; color: var(--sec); }
.pq-card-type { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08); padding: 2px 7px; border-radius: 9px; }
.pq-card-title { font-size: 16px; font-weight: 700; margin: 0 0 3px; color: #fff; line-height: 1.3; }
.pq-card-place { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.pq-card-body { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.88); margin: 0 0 10px; }
.pq-card-foot { display: flex; flex-direction: column; gap: 4px; }
.pq-card-prov { font-size: 13px; font-weight: 600; color: #FCD116; text-decoration: none; }
.pq-card-prov:hover { text-decoration: underline; }
.pq-card-src { font-size: 11px; color: rgba(255,255,255,0.35); }

/* ── Panahon chronological tiles ─────────────────────────────────────────── */
/* Group legend + filter chips */
.pq-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pq-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--sec);
  background: transparent; color: #fff; font-family: inherit; font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.pq-chip::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--sec); flex-shrink: 0; }
.pq-chip-n { font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 400; }
.pq-chip.active { background: var(--sec); color: #101010; font-weight: 700; }
.pq-chip.active::before { background: #101010; }
.pq-chip.active .pq-chip-n { color: rgba(16,16,16,0.65); }

/* Sticky day jump bar */
.pq-daynav { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 2px; margin: 0 0 14px; background: rgba(18,18,18,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.1); }
.pq-daychip { min-width: 36px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700;
  color: #fff; background: #243447; border: 1px solid rgba(252,209,22,0.4); border-radius: 8px; padding: 7px 6px; }
.pq-daychip:hover { border-color: #FCD116; }

/* Day groups */
.pq-stream { display: flex; flex-direction: column; gap: 18px; margin-bottom: 22px; }
.pq-day { scroll-margin-top: 64px; }
.pq-day-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700;
  color: #FCD116; margin: 0 0 8px; }
.pq-day-head::after { content: ''; flex: 1; height: 1px; background: rgba(252,209,22,0.25); }
.pq-day .pq-tile + .pq-tile { margin-top: 8px; }

/* One-line bullets, tap to open */
.pq-tile { position: relative; z-index: 0; background: #1b1b1b; border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--sec); border-radius: 10px; padding: 11px 14px; cursor: pointer; }
.pq-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sec);
  opacity: 0.07; border-radius: inherit; pointer-events: none; }
.pq-tile:hover { border-color: rgba(255,255,255,0.28); }
.pq-tile-head { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: 0; padding: 0; color: inherit; font-family: inherit; cursor: pointer; }
.pq-tile-chip { flex-shrink: 0; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px;
  background: var(--sec); color: #101010; letter-spacing: 0.02em; }
.pq-tile-title { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.35; }
.pq-tile-chev { margin-left: auto; flex-shrink: 0; color: rgba(255,255,255,0.5); transition: transform 0.25s; }
.pq-tile.open .pq-tile-chev { transform: rotate(180deg); }

/* Opened entry */
.pq-tile-detail { max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease; }
.pq-tile.open .pq-tile-detail { max-height: 100em; opacity: 1; }
.pq-tile-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pq-tile-place { font-size: 12px; color: rgba(255,255,255,0.55); }
.pq-tile-body { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.88); margin: 8px 0 0; }

/* Basahin pa — deeper context on demand */
.pq-more-btn { display: inline-block; margin-top: 10px; background: transparent; border: none;
  border-bottom: 1px dashed rgba(252,209,22,0.6); color: #FCD116; font-family: inherit;
  font-size: 13px; font-weight: 600; padding: 0 0 2px; cursor: pointer; }
.pq-more { display: none; margin-top: 10px; padding: 10px 12px; border-left: 3px solid rgba(252,209,22,0.5);
  background: rgba(255,255,255,0.04); border-radius: 0 8px 8px 0;
  font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.8); }
.pq-more.open { display: block; }

.pq-tile-foot { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; margin-top: 12px; }
.pq-tile-map { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--sec);
  background: rgba(0,0,0,0.25); color: #fff; font-family: inherit; font-size: 12.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.pq-tile-map:hover { background: rgba(0,0,0,0.45); }
.pq-card-article { font-size: 13px; font-weight: 600; color: #FCD116; text-decoration: none;
  border-bottom: 1px dashed rgba(252,209,22,0.6); padding-bottom: 1px; }
.pq-card-article:hover { border-bottom-style: solid; }

/* ── KASAYSAYAN — article engine ─────────────────────────────────────────── */
.ksy-container { max-width: 720px; margin: 0 auto; padding: 8px 16px 48px; color: #eee; }
.ksy-index { display: flex; flex-direction: column; gap: 12px; }
.ksy-card { display: block; text-decoration: none; background: #1b1b1b; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.12); border-left: 4px solid #FCD116;
  border-radius: 12px; padding: 16px 18px; transition: border-color 0.15s, transform 0.12s; }
.ksy-card:hover { border-color: rgba(252,209,22,0.7); transform: translateY(-1px); }
.ksy-kicker { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #FCD116; margin-bottom: 6px; }
.ksy-card-title { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; }
.ksy-card-dek { display: block; font-size: 13.5px; color: rgba(255,255,255,0.65); margin-top: 5px; line-height: 1.5; }

.ksy-article { margin-top: 6px; }
.ksy-title { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.25; margin: 4px 0 8px; }
.ksy-dek { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.75); font-family: Georgia, serif;
  font-style: italic; margin: 0 0 16px; }
.ksy-meta { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; }
.ksy-meta-row { display: flex; gap: 10px; font-size: 13px; line-height: 1.6; }
.ksy-meta-k { flex: 0 0 92px; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase;
  font-size: 10.5px; letter-spacing: 0.06em; padding-top: 3px; }
.ksy-meta-v { color: rgba(255,255,255,0.85); }
.ksy-h2 { font-size: 18px; font-weight: 700; color: #FCD116; line-height: 1.35; margin: 26px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid rgba(252,209,22,0.25); }
.ksy-p { font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,0.9); margin: 0 0 14px; }
.ksy-list { margin: 0 0 14px; padding-left: 20px; }
.ksy-list li { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.88); margin-bottom: 8px; }
.ksy-note { background: rgba(0,56,168,0.2); border: 1px solid rgba(252,209,22,0.35); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; line-height: 1.65; margin: 0 0 14px; }
.ksy-sources { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); }
.ksy-sources-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.ksy-source { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 4px; }
.ksy-related { margin-top: 20px; }
.ksy-related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ksy-related-links a { text-decoration: none; font-size: 13px; font-weight: 600; color: #FCD116;
  background: rgba(252,209,22,0.1); border: 1px solid rgba(252,209,22,0.45); border-radius: 16px; padding: 8px 14px; }
.ksy-related-links a:hover { background: rgba(252,209,22,0.22); }

/* Situation map overlay */
.pmap { position: fixed; inset: 0; z-index: 950; display: none; background: rgba(6,6,6,0.94); padding: 18px 14px; overflow-y: auto; }
.pmap.open { display: block; }
.pmap-inner { max-width: 760px; margin: 0 auto; position: relative; }
.pmap-close { position: absolute; top: -4px; right: 0; background: transparent; border: none; color: rgba(255,255,255,0.7); font-size: 32px; cursor: pointer; line-height: 1; }
.pmap-title { font-size: 17px; font-weight: 700; color: #FCD116; margin: 4px 40px 14px 0; }
.pmap-board { display: flex; gap: 16px; align-items: flex-start; }
.pmap-col { flex: 1 1 auto; min-width: 0; }
.pmap-svgwrap { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: #123049; }
.pmap-svgwrap svg { display: block; width: 100%; height: auto; max-height: 76vh; margin: 0 auto; background: #123049; }
.pm-land { fill: #3c4a34; stroke: #2b3626; stroke-width: 0.5; }
.pm-held { fill: #e23b3b; opacity: 0; transition: opacity 0.35s; }
.pm-red { fill: #3d7bd6; opacity: 0; transition: opacity 0.35s; }
.pm-lp { opacity: 0; transition: opacity 0.3s; }
.pm-lp text { font-size: 18px; fill: #fff; paint-order: stroke; stroke: #0c1f30; stroke-width: 3.2px; }
.pmap-cap { margin-top: 12px; font-size: 15px; line-height: 1.6; border-left: 3px solid #FCD116; padding: 6px 0 6px 14px; color: #eee; font-style: italic; min-height: 40px; }
.pmap-legend { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 12px; }
.pmap-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pmsw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.pmap-occ { font-size: 12.5px; font-weight: 700; color: #e88; margin-top: 10px; }
.pmap-src { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 8px; }
.pm-months { display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
.pm-mtab { font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-align: center;
  padding: 6px 4px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.18); background: #1a1a1a;
  color: rgba(255,255,255,0.7); cursor: pointer; }
.pm-mtab:hover { border-color: rgba(252,209,22,0.6); }
.pm-mtab.active { background: #FCD116; color: #121212; border-color: #FCD116; }
.pmap-bar { flex: 0 0 46px; display: flex; flex-direction: column; gap: 3px; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 5px; background: #151515; }
.pm-barhead { font-size: 10px; color: rgba(255,255,255,0.45); text-align: center; margin-bottom: 2px; letter-spacing: 0.04em; }
.pm-day { font-family: inherit; font-size: 12px; font-weight: 600; text-align: center; padding: 0; height: 19px; line-height: 19px; border-radius: 5px; border: 1px solid transparent; cursor: pointer; }
.pm-day.known { background: #243447; color: #fff; border-color: rgba(252,209,22,0.4); }
.pm-day.known:hover { border-color: #FCD116; }
.pm-day.known.active { background: #FCD116; color: #121212; }
.pm-day.unknown { background: #181818; color: #4a4a4a; cursor: default; }
.pmap-counter { font-size: 11px; color: rgba(255,255,255,0.5); text-align: center; margin-top: 8px; }

@media (max-width: 620px) {
  .pmap-board { flex-direction: column; }
  .pmap-bar { flex-direction: row; flex-wrap: wrap; width: 100%; box-sizing: border-box; }
  .pm-day { flex: 0 0 26px; }
  .pm-barhead { flex: 0 0 100%; }
  .pm-months { flex-direction: row; }
  .pm-mtab { flex: 1; }
}

/* Panahon overview/quarter routing extras */
.ptile-soon { display: inline-block; margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); }
.pq-crumb { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); text-decoration: none;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); padding: 7px 13px; border-radius: 16px; }
.pq-crumb:hover { color: #FCD116; border-color: rgba(252,209,22,0.6); }
.pq-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.pq-nav-btn { flex: 0 1 auto; text-decoration: none; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); padding: 9px 14px; border-radius: 10px; }
.pq-nav-btn:hover { color: #FCD116; border-color: rgba(252,209,22,0.6); }
.pq-nav-btn.all { color: rgba(255,255,255,0.55); }


/* entry photo (Panahon card image) */
.pq-figure { margin: 4px 0 12px; }
.pq-figure-img { display:block; width:100%; height:auto; border-radius:10px; border:1px solid rgba(255,255,255,0.14); }
.pq-figure-cap { margin-top:6px; font-size:12px; line-height:1.45; color:rgba(255,255,255,0.62); }
.pq-figure-credit { color:rgba(255,255,255,0.42); }

/* ═══ Lakbay Chain — feedback banners, chip states, shake, confetti (2026-07) ═══ */
.game-banner{display:none;align-items:center;gap:11px;margin-top:12px;padding:12px 14px;border-radius:11px;font-size:14px;font-weight:600;line-height:1.4;animation:gb-in .28s ease}
.game-banner.good,.game-banner.bad{display:flex}
.game-banner .gb-ic{flex-shrink:0;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#fff}
.game-banner.good{background:rgba(22,152,98,.16);border:1px solid #169862;color:#a9f3cf}
.game-banner.good .gb-ic{background:#169862}
.game-banner.bad{background:rgba(206,17,38,.16);border:1px solid #CE1126;color:#ffb3b3}
.game-banner.bad .gb-ic{background:#CE1126}
@keyframes gb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.lakbay-chip.passed{background:rgba(252,209,22,.06);border-color:rgba(252,209,22,.22);color:rgba(252,209,22,.55)}
.lakbay-chip.here{background:rgba(22,152,98,.22);border-color:#169862;color:#8ff0c0;box-shadow:0 0 0 1px rgba(22,152,98,.4)}
.lakbay-chip.pop{animation:chip-pop .5s cubic-bezier(.2,1.6,.4,1),chip-glow 1s ease}
@keyframes chip-pop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.15)}100%{transform:scale(1)}}
@keyframes chip-glow{0%{box-shadow:0 0 0 0 rgba(22,152,98,.8)}100%{box-shadow:0 0 0 14px rgba(22,152,98,0)}}
.game-input.shake{animation:lk-shake .45s}
.game-input.err{border-color:#CE1126!important;box-shadow:0 0 0 2px rgba(206,17,38,.35)}
@keyframes lk-shake{10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(4px)}30%,50%,70%{transform:translateX(-8px)}40%,60%{transform:translateX(8px)}}
.lakbay-stats span.flash-green strong{animation:st-green .6s ease}
.lakbay-stats span.flash-red strong{animation:st-red .6s ease;color:#CE1126}
@keyframes st-green{0%{transform:scale(1)}40%{transform:scale(1.5);color:#169862}100%{transform:scale(1)}}
@keyframes st-red{0%{transform:scale(1)}40%{transform:scale(1.6)}100%{transform:scale(1)}}
#lakbay-done.celebrate{border:2px solid #FCD116;border-radius:14px;padding:22px 18px;background:linear-gradient(180deg,rgba(252,209,22,.1),rgba(22,152,98,.08));text-align:center}
.done-trophy{font-size:40px;margin-bottom:4px}
.game-done-msg .done-text{font-size:15px;line-height:1.5}
.game-done-msg.good{color:#d7ffe9}
.game-done-msg.bad{color:#ff9d9d}
.lakbay-confetti{position:fixed;top:-12px;width:9px;height:14px;z-index:1000;pointer-events:none;border-radius:2px}
