/* =========================================================
   POKEGOHUB — Interactive platform layer
   Live Event Tracker, Raid Boss cards, Community Day /
   Spotlight Hour / GO Fest panels, News Slider, Popular
   Articles, Quick Card, interactive Type Chart, Calendar,
   Search overlay. Pure CSS3 + vanilla JS, additive only.
   ========================================================= */

/* ---------- Shared live/event widget shell ---------- */
.pgh-live-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:24px; }
@media (max-width:1100px){ .pgh-live-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .pgh-live-grid{ grid-template-columns:1fr; } }

.pgh-widget-live-event,
.pgh-widget-event{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-l);
  padding:20px; display:flex; flex-direction:column;
}
.pgh-live-badge{
  display:inline-flex; align-items:center; gap:7px; align-self:flex-start;
  font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  padding:5px 12px; border-radius:100px; background:var(--surface-strong); color:var(--text-dim);
  margin-bottom:10px;
}
.pgh-live-badge.is-live{ color:#fff; background:linear-gradient(135deg,#ef4444,#f97316); }
.pgh-live-dot{ width:7px; height:7px; border-radius:50%; background:currentColor; }
.pgh-live-badge.is-live .pgh-live-dot{ animation:pgh-pulse-dot 1.4s ease-in-out infinite; }
@keyframes pgh-pulse-dot{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(1.4); } }
.pgh-live-row{ font-size:14px; color:var(--text-dim); margin:6px 0; }
.pgh-live-row strong{ color:var(--text); }

/* ---------- Raid boss cards ---------- */
.pgh-raid-widget-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px; }
@media (max-width:960px){ .pgh-raid-widget-grid{ grid-template-columns:1fr; } }
.pgh-raid-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-l);
  padding:20px; transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pgh-raid-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-hard); }
.pgh-raid-card-head{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.pgh-raid-card-body{ display:flex; align-items:center; gap:14px; margin-bottom:10px; }
.pgh-raid-card-body h4{ margin:0 0 2px; font-size:17px; }
.pgh-raid-cp{ margin:0; font-size:13px; color:var(--text-dim); }
.pgh-raid-card-row{ font-size:13.5px; color:var(--text-dim); margin:4px 0; }
.pgh-raid-card-row strong{ color:var(--text); }
.pgh-raid-card .pgh-sprite{ animation:pgh-float 3.6s ease-in-out infinite; }

/* ---------- Community Day / Spotlight / GO Fest extras ---------- */
.pgh-cd-bonuses{ list-style:none; margin:10px 0; padding:0; display:flex; flex-direction:column; gap:5px; }
.pgh-cd-bonuses li{ font-size:13.5px; color:var(--text-dim); padding-left:18px; position:relative; }
.pgh-cd-bonuses li::before{ content:"✨"; position:absolute; left:0; font-size:11px; }
.pgh-gofest-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0; }
.pgh-gofest-grid .label{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-faint); }
.pgh-gofest-grid > div span:last-child{ font-size:13.5px; color:var(--text-dim); }

/* ---------- News slider ---------- */
.pgh-news-slider{ position:relative; overflow:hidden; }
.pgh-news-slider-track{
  display:flex; gap:18px; overflow-x:auto; scroll-behavior:smooth; padding-bottom:10px;
  scrollbar-width:thin;
}
.pgh-news-slide{
  flex:0 0 260px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m);
  padding:14px; transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.pgh-news-slide:hover{ transform:translateY(-4px); border-color:var(--border-strong); }
.pgh-news-slide-media{ border-radius:var(--radius-s); overflow:hidden; aspect-ratio:16/10; margin-bottom:10px; }
.pgh-news-slide-media img{ width:100%; height:100%; object-fit:cover; }
.pgh-news-slide h4{ font-size:15px; margin:8px 0 4px; line-height:1.3; }
.pgh-news-slide .meta{ font-size:12px; color:var(--text-faint); }

/* ---------- Interactive type chart highlighting ---------- */
.pgh-type-clickable{ cursor:pointer; }
.pgh-type-chart-interactive td, .pgh-type-chart-interactive th{ transition:opacity .25s var(--ease), outline-color .25s var(--ease); }
.pgh-type-chart-interactive.pgh-chart-active td, .pgh-type-chart-interactive.pgh-chart-active th{ opacity:.32; }
.pgh-type-chart-interactive tr.pgh-row-active th,
.pgh-type-chart-interactive tr.pgh-row-active td,
.pgh-type-chart-interactive td.pgh-col-active,
.pgh-type-chart-interactive th.pgh-col-active-head{ opacity:1 !important; }
.pgh-type-chart-interactive tr.pgh-row-active td.eff-2{ outline:2px solid #34d399; outline-offset:-2px; }
.pgh-type-chart-interactive td.pgh-col-active.eff-2{ outline:2px solid #34d399; outline-offset:-2px; }
.pgh-type-badge.pgh-type-selected{ box-shadow:0 0 0 2px #fff, 0 6px 18px rgba(0,0,0,.4); }

/* ---------- Pokémon Quick Card (hover tooltip) ---------- */
#pgh-quick-card{
  position:fixed; z-index:400; max-width:260px; padding:16px;
  background:rgba(12,12,20,.92); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid var(--border-strong); border-radius:var(--radius-m); box-shadow:var(--shadow-hard);
  opacity:0; transform:translateY(6px) scale(.97); pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}
#pgh-quick-card.show{ opacity:1; transform:translateY(0) scale(1); }
#pgh-quick-card h5{ margin:0 0 8px; font-size:15px; }
#pgh-quick-card .pgh-qc-row{ font-size:12.5px; color:var(--text-dim); margin:6px 0; }
#pgh-quick-card .pgh-qc-row strong{ color:var(--text); display:block; font-size:11px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:3px; }
#pgh-quick-card .pgh-type-badge{ font-size:10.5px; padding:3px 9px; margin:2px 3px 0 0; }

/* ---------- Search overlay ---------- */
.pgh-search-trigger{
  width:40px; height:40px; border-radius:10px; border:1px solid var(--border-strong);
  background:none; color:var(--text); display:flex; align-items:center; justify-content:center; cursor:pointer;
}
#pgh-search-overlay{
  position:fixed; inset:0; z-index:500; background:rgba(6,6,10,.75); backdrop-filter:blur(6px);
  display:flex; align-items:flex-start; justify-content:center; padding:10vh 20px;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
#pgh-search-overlay.open{ opacity:1; pointer-events:auto; }
.pgh-search-panel{
  width:100%; max-width:640px; background:var(--bg-elev-1); border:1px solid var(--border-strong);
  border-radius:var(--radius-l); box-shadow:var(--shadow-hard); overflow:hidden;
  transform:translateY(-12px); transition:transform .25s var(--ease);
}
#pgh-search-overlay.open .pgh-search-panel{ transform:translateY(0); }
.pgh-search-input-row{ display:flex; align-items:center; gap:10px; padding:16px 20px; border-bottom:1px solid var(--border); }
.pgh-search-input-row input{ flex:1; background:none; border:none; color:var(--text); font-size:18px; outline:none; }
.pgh-search-close{ background:none; border:none; color:var(--text-faint); font-size:20px; cursor:pointer; }
.pgh-search-results{ max-height:60vh; overflow-y:auto; padding:10px; }
.pgh-search-group-label{ font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); padding:10px 12px 4px; }
.pgh-search-result{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--radius-s); }
.pgh-search-result:hover{ background:var(--surface); }
.pgh-search-empty{ padding:24px; text-align:center; color:var(--text-faint); }

/* ---------- Event calendar grid ---------- */
.pgh-calendar-widget{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-l); padding:20px;
}
.pgh-calendar-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.pgh-calendar-head h3{ margin:0; font-size:17px; }
.pgh-calendar-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.pgh-cal-dow{ text-align:center; font-size:11px; color:var(--text-faint); padding:6px 0; text-transform:uppercase; }
.pgh-cal-day{
  aspect-ratio:1/1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  border-radius:var(--radius-s); font-size:13px; color:var(--text-dim); position:relative;
}
.pgh-cal-day.has-event{ background:var(--surface-strong); color:var(--text); cursor:pointer; font-weight:700; }
.pgh-cal-day.has-event:hover{ background:var(--accent-gradient-soft); }
.pgh-cal-day.has-event::after{ content:""; width:5px; height:5px; border-radius:50%; background:var(--accent-a); margin-top:2px; }
.pgh-cal-day.is-today{ outline:1.5px solid var(--accent-a); }
.pgh-cal-tooltip{ position:absolute; bottom:100%; left:50%; transform:translateX(-50%); white-space:nowrap; font-size:11px; background:var(--bg-elev-2); border:1px solid var(--border); padding:4px 8px; border-radius:6px; display:none; }
.pgh-cal-day.has-event:hover .pgh-cal-tooltip{ display:block; }

/* ---------- Premium newsletter card polish ---------- */
.pgh-newsletter{ position:relative; overflow:hidden; }
.pgh-newsletter::before{
  content:""; position:absolute; width:240px; height:240px; border-radius:50%;
  background:radial-gradient(circle, rgba(168,85,247,.35), transparent 70%);
  top:-100px; right:-60px; filter:blur(10px); pointer-events:none;
}
.pgh-newsletter h3::before{ content:"✉️ "; }

@media (max-width:640px){
  .pgh-raid-widget-grid{ gap:14px; }
  .pgh-news-slide{ flex-basis:220px; }
}

/* ---------- Related Pokémon chips (end of article) ---------- */
.pgh-related-mons{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.pgh-related-mon-chip{
  display:flex; align-items:center; gap:8px; padding:7px 14px 7px 8px;
  background:var(--surface); border:1px solid var(--border); border-radius:100px;
  color:var(--text); font-size:13.5px; font-weight:600; transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.pgh-related-mon-chip:hover{ border-color:var(--border-strong); transform:translateY(-2px); }

/* ---------- Auto-inserted contextual internal links ---------- */
.pgh-auto-link{ text-decoration-style:dotted; text-underline-offset:3px; }

/* ---------- Breadcrumbs (non-article templates) ---------- */
.pgh-breadcrumb-generic{ font-size:13px; color:var(--text-faint); margin:0 0 14px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.pgh-breadcrumb-generic a{ color:var(--text-dim); }
.pgh-breadcrumb-generic a:hover{ color:var(--text); }

/* ---------- Footer extra: popular categories / guides / pokémon ---------- */
.pgh-footer-extra{ border-top:1px solid var(--border); margin-top:32px; padding-top:28px; display:grid; grid-template-columns:1fr 1fr 1fr; gap:28px; }
@media (max-width:800px){ .pgh-footer-extra{ grid-template-columns:1fr; } }
.pgh-footer-extra h4{ margin:0 0 12px; font-size:14px; }
.pgh-footer-cat-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.pgh-footer-cat-pills a{ font-size:12.5px; padding:5px 12px; border-radius:100px; border:1px solid var(--border); color:var(--text-dim); }
.pgh-footer-cat-pills a:hover{ color:var(--text); border-color:var(--border-strong); }
.pgh-footer-mon-row{ display:flex; flex-wrap:wrap; gap:8px; }
.pgh-footer-mon-row a{ display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; background:var(--surface); border:1px solid var(--border); }
.pgh-footer-mon-row img{ width:24px; height:24px; }

/* ---------- 404 / author / search page extras ---------- */
.pgh-404-widgets, .pgh-author-widgets{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; text-align:left; }
@media (max-width:800px){ .pgh-404-widgets, .pgh-author-widgets{ grid-template-columns:1fr; } }
.pgh-search-highlight{ background:rgba(168,85,247,.28); border-radius:3px; padding:0 2px; }

/* ---------- Pokédex database (single + listing pages) ---------- */
.pgh-dex-stat-row{ display:grid; grid-template-columns:90px 1fr 50px; align-items:center; gap:14px; margin-bottom:12px; font-size:13.5px; color:var(--text-dim); }
.pgh-dex-stat-bar{ height:10px; border-radius:100px; background:var(--bg-elev-2); overflow:hidden; }
.pgh-dex-stat-bar > div{ height:100%; border-radius:100px; background:linear-gradient(90deg,var(--accent-b),var(--accent-a)); }
.pgh-dex-stat-row strong{ text-align:right; color:var(--text); }
.pgh-dex-listing-toolbar{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:20px; }
.pgh-dex-pager{ display:flex; justify-content:center; gap:10px; margin:32px 0 8px; }

/* ---------- Pokédex tool ---------- */
.pgh-dex-filters{ display:flex; flex-wrap:wrap; gap:12px; }
.pgh-dex-filter-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.pgh-dex-filter-row label{ font-size:13.5px; color:var(--text-dim); display:flex; align-items:center; gap:6px; cursor:pointer; }
.pgh-dex-type-chip{ cursor:pointer; opacity:.55; border:none; transition:opacity .2s var(--ease), transform .2s var(--ease); }
.pgh-dex-type-chip:hover{ opacity:.85; }
.pgh-dex-type-chip.active{ opacity:1; box-shadow:0 0 0 2px #fff, 0 6px 16px rgba(0,0,0,.35); transform:translateY(-2px); }

.pgh-dex-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(160px,1fr)); gap:16px; }
.pgh-dex-card{
  position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m);
  padding:16px 14px; text-align:center; cursor:pointer; transition:transform .25s var(--ease), border-color .25s var(--ease);
}
.pgh-dex-card:hover, .pgh-dex-card:focus-visible{ transform:translateY(-4px); border-color:var(--border-strong); outline:none; }
.pgh-dex-card img{ margin:0 auto 8px; display:block; }
.pgh-dex-card h3{ font-size:14px; margin:0 0 8px; }
.pgh-dex-form{ display:block; font-size:11px; color:var(--text-faint); font-weight:400; }
.pgh-dex-no{ position:absolute; top:8px; left:10px; font-size:10.5px; color:var(--text-faint); font-weight:700; }
.pgh-dex-shiny-mark{ position:absolute; top:8px; right:10px; font-size:14px; }
.pgh-dex-types{ display:flex; flex-wrap:wrap; gap:4px; justify-content:center; margin-bottom:8px; }
.pgh-dex-types .pgh-type-badge{ font-size:10px; padding:3px 9px; }
.pgh-dex-flags{ display:flex; flex-wrap:wrap; gap:4px; justify-content:center; }
.pgh-dex-flag{ font-size:9.5px; text-transform:uppercase; letter-spacing:.04em; padding:2px 8px; border-radius:100px; font-weight:700; }
.pgh-dex-flag-legendary{ background:rgba(250,204,21,.18); color:#facc15; }
.pgh-dex-flag-mythical{ background:rgba(236,72,153,.18); color:#ec4899; }
.pgh-dex-flag-ub{ background:rgba(34,197,94,.18); color:#22c55e; }
.pgh-dex-flag-mega{ background:rgba(168,85,247,.18); color:#a855f7; }
.pgh-dex-flag-regional{ background:rgba(59,130,246,.18); color:#3b82f6; }

.pgh-dex-modal{
  position:fixed; inset:0; z-index:500; background:rgba(6,6,10,.75); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.pgh-dex-modal.open{ opacity:1; pointer-events:auto; }
.pgh-dex-modal-panel{
  position:relative; width:100%; max-width:420px; background:var(--bg-elev-1); border:1px solid var(--border-strong);
  border-radius:var(--radius-l); box-shadow:var(--shadow-hard); padding:28px; text-align:center;
}
.pgh-dex-modal-panel img{ margin:0 auto 12px; }
.pgh-dex-modal-panel h2{ font-size:19px; margin:0 0 14px; }
.pgh-dex-modal-panel .pgh-qc-row{ text-align:left; font-size:13px; margin:10px 0; }
.pgh-dex-modal-panel .pgh-search-close{ position:absolute; top:14px; right:14px; }
.pgh-dex-modal-panel .pgh-btn{ margin-top:12px; width:100%; }

/* ---------- Team Builder tool ---------- */
.pgh-team-search-results{
  position:relative; margin-top:8px; max-height:280px; overflow-y:auto;
  display:flex; flex-direction:column; gap:4px;
}
.pgh-team-search-item{
  display:flex; align-items:center; gap:10px; width:100%; text-align:left;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-s);
  padding:8px 12px; cursor:pointer; font-size:14px; color:var(--text); transition:border-color .2s var(--ease);
}
.pgh-team-search-item:hover, .pgh-team-search-item:focus-visible{ border-color:var(--border-strong); outline:none; }
.pgh-team-search-item img{ flex-shrink:0; }
.pgh-team-search-types{ margin-left:auto; display:flex; gap:4px; }
.pgh-team-search-types .pgh-type-badge{ font-size:9.5px; padding:2px 8px; }

.pgh-team-slots{ display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin-top:8px; }
@media (max-width:900px){ .pgh-team-slots{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){ .pgh-team-slots{ grid-template-columns:repeat(2,1fr); } }
.pgh-team-slot{
  position:relative; border:1px dashed var(--border); border-radius:var(--radius-m);
  padding:16px 10px; text-align:center; min-height:120px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
}
.pgh-team-slot.empty{ color:var(--text-faint); font-size:12.5px; }
.pgh-team-slot.filled{ border-style:solid; border-color:var(--border-strong); background:var(--surface); }
.pgh-team-slot img{ margin:0 auto; }
.pgh-team-slot strong{ font-size:13px; }
.pgh-team-slot-remove{
  position:absolute; top:6px; right:6px; background:var(--surface-strong); border:none; border-radius:50%;
  width:20px; height:20px; font-size:11px; color:var(--text-dim); cursor:pointer; line-height:1;
}
#pgh-team-analysis h3{ font-size:15px; margin:0 0 10px; }

/* ---------- Event Calendar tool ---------- */
.pgh-cal-toolbar{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:24px; }
.pgh-cal-tabs{ display:flex; gap:6px; background:var(--surface); border:1px solid var(--border); border-radius:100px; padding:4px; }
.pgh-cal-tab{ border:none; background:none; color:var(--text-dim); font-size:13.5px; font-weight:600; padding:8px 16px; border-radius:100px; cursor:pointer; transition:background .2s var(--ease), color .2s var(--ease); }
.pgh-cal-tab.active{ background:var(--accent-gradient); color:#fff; }
.pgh-cal-nav{ display:flex; align-items:center; gap:10px; }
#pgh-cal-nav-label{ font-weight:700; font-size:15px; min-width:150px; text-align:center; }

.pgh-cal-weekday-row{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin-bottom:8px; }
.pgh-cal-weekday-row span{ text-align:center; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-faint); }

.pgh-cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; }
.pgh-cal-day{
  min-height:110px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-s);
  padding:8px; display:flex; flex-direction:column; gap:6px;
}
.pgh-cal-grid-week .pgh-cal-day{ min-height:220px; }
.pgh-cal-day-muted{ opacity:.35; }
.pgh-cal-day-today{ border-color:var(--accent-a); box-shadow:0 0 0 1px var(--accent-a); }
.pgh-cal-day-num{ font-size:12.5px; font-weight:700; color:var(--text-dim); }
.pgh-cal-day-events{ display:flex; flex-direction:column; gap:4px; }
.pgh-cal-chip{
  text-align:left; font-size:10.5px; line-height:1.3; padding:3px 6px; border-radius:6px; border:none; cursor:pointer;
  background:rgba(168,85,247,.18); color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.pgh-cal-chip:hover{ background:rgba(168,85,247,.32); }
.pgh-cal-more{ font-size:10px; color:var(--text-faint); }
@media (max-width:800px){
  .pgh-cal-grid{ grid-template-columns:repeat(7,minmax(38px,1fr)); }
  .pgh-cal-day{ min-height:70px; padding:5px; }
  .pgh-cal-day-events{ display:none; } /* small screens: dots only via day background is enough */
  .pgh-cal-day.pgh-cal-has-events{ background:rgba(168,85,247,.12); }
}

/* ---------- My Collection tool ---------- */
.pgh-coll-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.pgh-coll-stat{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m);
  padding:16px; text-align:center;
}
.pgh-coll-stat strong{ display:block; font-size:26px; font-weight:800; }
.pgh-coll-stat span{ font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.04em; }
@media (max-width:640px){ .pgh-coll-stats{ grid-template-columns:repeat(2,1fr); } }

.pgh-coll-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); gap:16px; }
.pgh-coll-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m);
  padding:16px 12px; text-align:center; opacity:.7; transition:opacity .2s var(--ease), border-color .2s var(--ease);
}
.pgh-coll-card.caught{ opacity:1; border-color:var(--accent-a); }
.pgh-coll-card img{ margin:0 auto 8px; }
.pgh-coll-card h3{ font-size:13.5px; margin:0 0 10px; }
.pgh-coll-flags{ display:flex; justify-content:center; gap:6px; }
.pgh-coll-flag{
  width:30px; height:30px; border-radius:50%; border:1px solid var(--border-strong); background:var(--bg-elev-2);
  font-size:13px; cursor:pointer; opacity:.45; transition:opacity .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.pgh-coll-flag:hover{ transform:translateY(-2px); }
.pgh-coll-flag.active{ opacity:1; background:rgba(168,85,247,.22); border-color:var(--accent-b); }

/* ---------- Shiny Checklist tool ---------- */
.pgh-shiny-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(120px,1fr)); gap:14px; }
.pgh-shiny-card{
  position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m);
  padding:14px 8px; text-align:center; cursor:pointer; transition:transform .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
  opacity:.55; display:flex; flex-direction:column; align-items:center; gap:6px;
}
.pgh-shiny-card:hover, .pgh-shiny-card:focus-visible{ transform:translateY(-3px); border-color:var(--border-strong); outline:none; }
.pgh-shiny-card.owned{ opacity:1; border-color:#facc15; box-shadow:0 0 0 1px rgba(250,204,21,.4); }
.pgh-shiny-mark{ position:absolute; top:6px; right:8px; font-size:13px; }
.pgh-shiny-name{ font-size:12px; color:var(--text-dim); }
.pgh-shiny-card.owned .pgh-shiny-name{ color:var(--text); font-weight:600; }
