/* ============================================================
   Price of Play — section styles on top of /assets/ykymf.css
   Health colours: fair / watch / caution / harmful.
   Badges: models = price tags, techniques = hooked outline pills.
   ============================================================ */

.pop {
  --h-fair: #5ee38f;
  --h-watch: #ffc23a;
  --h-caution: #ff8a3d;
  --h-harmful: #ff5a7a;
  --h-none: #7e8296;
}
.h-fair    { --hc: var(--h-fair); }
.h-watch   { --hc: var(--h-watch); }
.h-caution { --hc: var(--h-caution); }
.h-harmful { --hc: var(--h-harmful); }
.h-none    { --hc: var(--h-none); }

.pop-skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 0 0 8px 0; }
.pop-skip:focus { left: 0; }
.pop-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pop a:focus-visible, .pop button:focus-visible, .pop input:focus-visible, .pop select:focus-visible, .pop summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}

.pop-narrow { max-width: 760px; }
.pop-h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: .6rem; }
.pop-h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 1rem; }
.pop-section { padding: clamp(2rem, 5vw, 3.4rem) 0; }
.pop-section + .pop-section { border-top: 1px solid var(--line); }
.pop-prose p, .pop-prose li { color: var(--ink-2); }
.pop-prose a, .pop-link { color: var(--accent); border-bottom: 1px solid var(--accent-soft); }
.pop-prose a:hover, .pop-link:hover { border-bottom-color: var(--accent); }
.pop-kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.pop-note { font-size: .88rem; color: var(--ink-3); }
.pop-breadcrumb { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-3); margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5ch; }
.pop-breadcrumb a:hover { color: var(--accent); }

/* ---------- Badges ---------- */
.pop-badge {
  --bh: 30px;
  display: inline-flex; align-items: center; gap: .45rem;
  height: var(--bh); padding: 0 .8rem 0 .55rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap; line-height: 1;
  position: relative; transition: transform .15s ease, box-shadow .15s ease;
}
a.pop-badge:hover { transform: translateY(-1px); }
.pop-badge__icon { display: inline-grid; place-items: center; color: var(--hc); flex: none; }
.pop-badge .pop-ico { width: 16px; height: 16px; }
.pop-badge__flag { font-size: .6rem; letter-spacing: .1em; color: var(--ink-3); border-left: 1px solid var(--line-2); padding-left: .45rem; }

/* Model = price tag: pointed left end with a punched hole. */
.pop-badge--model {
  padding-left: 1.35rem;
  background:
    radial-gradient(circle at 11px 50%, var(--bg) 0 3px, var(--hc) 3px 4.2px, transparent 4.4px),
    linear-gradient(90deg, color-mix(in srgb, var(--hc) 22%, transparent), color-mix(in srgb, var(--hc) 12%, transparent));
  clip-path: polygon(0 50%, 10px 0, 100% 0, 100% 100%, 10px 100%);
  border-radius: 0 6px 6px 0;
  box-shadow: inset -2px 0 0 color-mix(in srgb, var(--hc) 70%, transparent), inset 0 2px 0 color-mix(in srgb, var(--hc) 30%, transparent), inset 0 -2px 0 color-mix(in srgb, var(--hc) 30%, transparent);
}
/* Technique = outline pill with a small hook hanging from the right end. */
.pop-badge--technique {
  border: 1.5px solid var(--hc); border-radius: 999px; background: rgba(10, 11, 16, 0.6);
  padding-right: 1.1rem;
}
.pop-badge--technique::after {
  content: ""; position: absolute; right: 7px; top: -1.5px; width: 6px; height: 9px;
  border: 1.5px solid var(--hc); border-top: 0; border-left-color: transparent; border-radius: 0 0 6px 6px;
  transform: rotate(-12deg);
}
.pop-badge.is-minor { opacity: .82; }
.pop-badge.is-past { filter: grayscale(.85); opacity: .6; }
.pop-badge--sm { --bh: 24px; font-size: .64rem; gap: .35rem; padding-right: .6rem; }
.pop-badge--sm.pop-badge--model { padding-left: 1.15rem; background-position: 0 0; }
.pop-badge--sm .pop-ico { width: 13px; height: 13px; }
.pop-badge--sm.pop-badge--technique { padding-right: .95rem; }
.pop-badge--lg { --bh: 48px; font-size: .95rem; gap: .65rem; padding-right: 1.3rem; }
.pop-badge--lg .pop-ico { width: 26px; height: 26px; }
.pop-badge--lg.pop-badge--model {
  padding-left: 2rem;
  background:
    radial-gradient(circle at 16px 50%, var(--bg) 0 5px, var(--hc) 5px 6.6px, transparent 6.8px),
    linear-gradient(90deg, color-mix(in srgb, var(--hc) 24%, transparent), color-mix(in srgb, var(--hc) 12%, transparent));
  clip-path: polygon(0 50%, 15px 0, 100% 0, 100% 100%, 15px 100%);
}
.pop-badge--lg.pop-badge--technique { padding-right: 1.7rem; }
.pop-badge--lg.pop-badge--technique::after { right: 11px; width: 9px; height: 13px; }
.pop-badges { display: flex; flex-wrap: wrap; gap: .5rem .55rem; align-items: center; }

/* Mini icon-only badges (cards) */
.pop-mini {
  display: inline-grid; place-items: center; width: 26px; height: 22px; color: var(--hc);
  border: 1px solid color-mix(in srgb, var(--hc) 55%, transparent);
}
.pop-mini .pop-ico { width: 14px; height: 14px; }
.pop-mini--model { border-radius: 2px 5px 5px 2px; background: color-mix(in srgb, var(--hc) 14%, transparent); clip-path: polygon(0 50%, 5px 0, 100% 0, 100% 100%, 5px 100%); padding-left: 3px; width: 28px; }
.pop-mini--technique { border-radius: 999px; }
.pop-mini--more { width: auto; padding: 0 .4rem; color: var(--ink-3); border-color: var(--line-2); font-family: var(--font-mono); font-size: .68rem; border-radius: 999px; }

/* ---------- Health pill, hook meter, rating pill ---------- */
.pop-health {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hc); padding: .28rem .65rem; border-radius: 999px;
  background: color-mix(in srgb, var(--hc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--hc) 40%, transparent);
  white-space: nowrap;
}
.pop-health i { width: 8px; height: 8px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 10px var(--hc); }
.pop-health small { font-size: .68rem; color: var(--ink-2); letter-spacing: .02em; text-transform: none; font-weight: 500; }
.pop-health.h-none { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pop-health.h-none i { box-shadow: none; }

.pop-hook { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-2); }
.pop-hook.is-none { color: var(--ink-3); }
.pop-hook__bar { display: inline-flex; gap: 3px; }
.pop-hook__bar i { width: 12px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.08); }
.pop-hook.s1 .on, .pop-hook.s2 .on { background: var(--h-watch); }
.pop-hook.s3 .on { background: var(--h-caution); }
.pop-hook.s4 .on, .pop-hook.s5 .on { background: var(--h-harmful); }

.pop-rating {
  display: inline-flex; align-items: center; gap: .35rem; height: 22px; padding: 0 .5rem 0 0;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 5px; overflow: hidden; white-space: nowrap;
}
.pop-rating b { background: rgba(255,255,255,.08); color: var(--ink-3); font-weight: 600; padding: 0 .4rem; height: 100%; display: inline-flex; align-items: center; font-size: .6rem; letter-spacing: .08em; }
.pop-rating.acb-g     { border-color: #3fbf6a; } .pop-rating.acb-g b { background: #3fbf6a; color: #04140a; }
.pop-rating.acb-pg    { border-color: #f5c400; } .pop-rating.acb-pg b { background: #f5c400; color: #1d1600; }
.pop-rating.acb-m     { border-color: #3aa7e8; } .pop-rating.acb-m b { background: #3aa7e8; color: #03151f; }
.pop-rating.acb-ma15  { border-color: #e8423a; } .pop-rating.acb-ma15 b { background: #e8423a; color: #fff; }
.pop-rating.acb-r18   { border-color: #fff; }    .pop-rating.acb-r18 b { background: #000; color: #fff; }

/* ---------- Cards ---------- */
.pop-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.pop-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-sm); position: relative; overflow: hidden;
  transition: border-color .18s, transform .18s;
}
.pop-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--hc); opacity: .85; }
.pop-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pop-card__link { display: grid; grid-template-columns: 92px 1fr; gap: .9rem; padding: .85rem .9rem .85rem 1rem; height: 100%; }
.pop-card__title { font-size: 1.08rem; margin: 0 0 .15rem; color: #fff; line-height: 1.2; }
.pop-card__meta { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); margin: 0 0 .55rem; }
.pop-card__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; }
.pop-card__row--hook { justify-content: flex-start; }
.pop-card__k { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pop-card__price { font-family: var(--font-mono); font-size: .8rem; color: var(--ink); font-weight: 600; }
.pop-card__minis { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.pop-card .pop-health { font-size: .66rem; padding: .2rem .5rem; }

.pop-cover {
  position: relative; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden;
  background: linear-gradient(145deg, #1b1d2b, #0e0f16); border: 1px solid var(--line);
}
.pop-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop-cover.is-logo { background: linear-gradient(145deg, #75798f, #5d6176); }
.pop-cover.is-logo img { object-fit: contain; padding: 12%; }
.pop-cover.is-logo .pop-cover__ph { display: none; }
.pop-cover__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: rgba(255,255,255,.18); letter-spacing: .04em;
}

/* ---------- Home ---------- */
.pop-hero { padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(1.6rem, 4vw, 2.6rem); }
.pop-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 18ch; }
.pop-search { display: flex; gap: .5rem; max-width: 640px; margin: 1.4rem 0 1rem; }
.pop-search input {
  flex: 1; min-width: 0; height: 52px; padding: 0 1.1rem; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px;
}
.pop-search input::placeholder { color: var(--ink-3); }
.pop-search .btn { height: 52px; border-radius: 12px; }
.pop-quick { display: flex; flex-wrap: wrap; gap: .45rem; }
.pop-quick a {
  font-size: .85rem; color: var(--ink-2); padding: .4rem .8rem; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.pop-quick a:hover { color: #fff; border-color: var(--accent); }

.pop-scale { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pop-scale__item { border: 1px solid var(--line); border-top: 3px solid var(--hc); border-radius: var(--radius-sm); padding: 1rem 1.1rem; background: rgba(255,255,255,.015); }
.pop-scale__item h3 { font-size: 1.05rem; margin: .55rem 0 .35rem; color: #fff; }
.pop-scale__item p { font-size: .9rem; margin: 0; }

.pop-legend { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pop-legend__item { display: flex; gap: .9rem; align-items: flex-start; }
.pop-legend__item p { font-size: .92rem; margin: .35rem 0 0; }

/* ---------- Browse ---------- */
.pop-browse { display: grid; gap: 1.6rem; grid-template-columns: 270px 1fr; align-items: start; padding: 1.6rem 0 3rem; }
.pop-filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: .3rem; }
.pop-filters details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.015); }
.pop-filters summary { cursor: pointer; padding: .8rem 1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); list-style: none; display: flex; justify-content: space-between; }
.pop-filters summary::-webkit-details-marker { display: none; }
.pop-filters summary::after { content: "+"; color: var(--accent); }
.pop-filters details[open] summary::after { content: "–"; }
.pop-filters form { padding: 0 1rem 1rem; }
.pop-field { margin-bottom: 1rem; }
.pop-field > label:not(.pop-check), .pop-field legend { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem; padding: 0; }
.pop-field fieldset, fieldset.pop-field { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.pop-field input[type=search], .pop-field select {
  width: 100%; height: 40px; padding: 0 .7rem; font: inherit; font-size: .92rem; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px;
}
.pop-check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-2); padding: .18rem 0; cursor: pointer; }
.pop-check input { accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.pop-check .pop-health { font-size: .64rem; padding: .12rem .45rem; }
.pop-filter-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pop-filter-actions .btn { padding: .55rem 1rem; font-size: .88rem; }
.pop-results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1rem; }
.pop-results-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0; }
.pop-active { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.pop-active a { font-size: .78rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.pop-active a::after { content: " ✕"; color: var(--ink-3); }
.pop-active a:hover { border-color: var(--bad); color: #fff; }
.pop-pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.6rem; justify-content: center; }
.pop-pager a, .pop-pager span { min-width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0 .6rem; border-radius: 8px; border: 1px solid var(--line); font-family: var(--font-mono); font-size: .82rem; color: var(--ink-2); }
.pop-pager a:hover { border-color: var(--accent); color: #fff; }
.pop-pager .is-current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.pop-empty { padding: 2.5rem 1.5rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }

/* ---------- Game page ---------- */
.pop-game-hero { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); grid-template-columns: 220px 1fr; padding: clamp(1.8rem, 4vw, 3rem) 0 1.4rem; align-items: start; }
.pop-game-hero .pop-cover { box-shadow: var(--shadow-sm); }
.pop-game-hero .pop-cover__ph { font-size: 3rem; }
.pop-game-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0 0 .35rem; }
.pop-game-sub { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.pop-game-sub b { color: var(--ink-2); font-weight: 500; }
.pop-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.pop-chips li, .pop-chip { font-size: .8rem; padding: .25rem .65rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: rgba(255,255,255,.02); }
.pop-synopsis { font-size: 1.05rem; color: var(--ink-2); max-width: 66ch; }

.pop-stats { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 1.2rem 0 0; }
.pop-stat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; background: rgba(255,255,255,.02); min-width: 0; }
.pop-stat__k { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .45rem; display: block; }
.pop-stat__v { font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1.15; display: block; }
.pop-stat__v small { display: block; font-size: .78rem; color: var(--ink-3); font-weight: 400; margin-top: .25rem; line-height: 1.35; }
.pop-stat--verdict { border-color: color-mix(in srgb, var(--hc) 45%, transparent); background: color-mix(in srgb, var(--hc) 7%, transparent); }
.pop-stat--verdict .pop-stat__v { color: var(--hc); }
.pop-stat .pop-hook__bar i { width: 18px; height: 10px; }
.pop-stat .pop-hook { font-size: .95rem; color: #fff; font-family: var(--font-body); font-weight: 700; }

.pop-toc { display: flex; flex-wrap: wrap; gap: .3rem; padding: .7rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1.2rem 0 0; position: sticky; top: 68px; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.pop-toc a { font-size: .82rem; color: var(--ink-2); padding: .3rem .7rem; border-radius: 999px; }
.pop-toc a:hover { color: #fff; background: rgba(255,255,255,.05); }

.pop-two { display: grid; gap: 1.4rem; grid-template-columns: 1.15fr .85fr; align-items: start; }
.pop-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.4vw, 1.5rem); background: linear-gradient(180deg, var(--panel), rgba(19,20,29,.4)); }
.pop-panel h3 { font-size: 1.05rem; color: #fff; margin: 0 0 .7rem; }
.pop-panel + .pop-panel { margin-top: 1rem; }
.pop-panel .pop-prose p { font-size: .92rem; }

.pop-taglist { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.pop-taglist li { display: grid; grid-template-columns: minmax(0, auto) 1fr; gap: .4rem 1rem; align-items: start; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.pop-taglist li:last-child { border-bottom: 0; }
.pop-taglist p { margin: 0; font-size: .92rem; }
.pop-taglist .pop-tag-side { min-width: 0; }
.pop-taglist .pop-tag-side .muted { font-size: .78rem; display: block; margin-top: .2rem; font-family: var(--font-mono); }

.pop-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pop-table th { text-align: left; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: .45rem .5rem; border-bottom: 1px solid var(--line-2); }
.pop-table td { padding: .55rem .5rem; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.pop-table td.nowrap { white-space: nowrap; }
.pop-table td.num { font-family: var(--font-mono); color: var(--ink); white-space: nowrap; text-align: right; }
.pop-table th.num { text-align: right; }
.pop-table a { color: var(--accent); }
.pop-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.pop-agg { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.pop-agg a, .pop-agg div { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .6rem .9rem; }
.pop-agg b { font-size: 1.7rem; color: #fff; font-family: var(--font-display); line-height: 1; }
.pop-agg span { font-size: .78rem; color: var(--ink-3); line-height: 1.3; }
.pop-reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pop-review { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.015); }
.pop-review__score { display: grid; place-items: center; height: 56px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; background: rgba(255,255,255,.05); line-height: 1; text-align: center; }
.pop-review__score small { display: block; font-size: .6rem; color: var(--ink-3); font-weight: 500; font-family: var(--font-mono); margin-top: .2rem; }
.pop-review__score.is-text { font-size: .72rem; font-family: var(--font-mono); padding: 0 .3rem; }
.pop-review h4 { margin: 0; font-size: 1rem; color: #fff; }
.pop-review p { margin: .25rem 0 0; font-size: .88rem; }
.pop-review .pop-review__meta { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); margin-top: .1rem; }

.pop-ratings { display: grid; gap: .6rem; }
.pop-ratings > div { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; align-items: start; }
.pop-ratings p { margin: 0; font-size: .85rem; }

.pop-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.pop-facts li { display: grid; grid-template-columns: 22px 1fr; gap: .5rem; font-size: .93rem; color: var(--ink-2); }
.pop-facts li::before { content: ""; width: 10px; height: 10px; margin-top: .45rem; border-radius: 3px; }
.pop-facts .yes::before { background: var(--h-caution); }
.pop-facts .no::before { background: var(--h-fair); }
.pop-facts .unk::before { background: var(--h-none); }

.pop-ctl { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pop-ctl__item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem; }
.pop-ctl__item h4 { margin: 0 0 .3rem; font-size: .95rem; color: #fff; }
.pop-ctl__item p { margin: 0 0 .4rem; font-size: .84rem; }
.pop-can { display: flex; flex-wrap: wrap; gap: .3rem; }
.pop-can span { font-family: var(--font-mono); font-size: .64rem; padding: .15rem .4rem; border-radius: 4px; border: 1px solid var(--line-2); color: var(--ink-3); }
.pop-can span.y { color: var(--h-fair); border-color: color-mix(in srgb, var(--h-fair) 45%, transparent); }
.pop-can span.n { text-decoration: line-through; }

/* ---------- Method page ---------- */
.pop-method-hero { padding: clamp(2rem, 5vw, 3.6rem) 0 1.4rem; }
.pop-method-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); margin: 1rem 0 .4rem; }
.pop-method-hero .lead { margin-bottom: 1rem; }
.pop-verdict-box { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; padding: .9rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--hc) 40%, transparent); background: color-mix(in srgb, var(--hc) 7%, transparent); max-width: 760px; }
.pop-verdict-box p { margin: 0; color: var(--ink); font-size: .95rem; flex: 1 1 260px; }
.pop-flags { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.pop-flags li { padding-left: 1.6rem; position: relative; color: var(--ink-2); }
.pop-flags li::before { content: "!"; position: absolute; left: 0; top: .15rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: .7rem; font-weight: 700; color: var(--bg); background: var(--h-caution); }
.pop-questions li::before { content: "?"; background: var(--accent); }
.pop-statgrid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pop-statgrid figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; background: rgba(255,255,255,.015); }
.pop-statgrid blockquote { margin: 0; color: var(--ink); font-size: .95rem; }
.pop-statgrid figcaption { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-3); margin-top: .5rem; }
.pop-badgecards { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pop-badgecard { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.05rem; background: rgba(255,255,255,.015); display: flex; flex-direction: column; gap: .6rem; transition: border-color .15s; }
.pop-badgecard:hover { border-color: color-mix(in srgb, var(--hc) 50%, transparent); }
.pop-badgecard p { margin: 0; font-size: .9rem; }
.pop-badgecard .pop-note { margin-top: auto; }
.pop-badgecard h3 { font-size: 1.02rem; margin: 0; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pop-browse { grid-template-columns: 1fr; }
  .pop-filters { position: static; max-height: none; }
  .pop-two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pop-game-hero { grid-template-columns: 1fr; }
  .pop-game-hero .pop-cover { width: 150px; }
  .pop-grid { grid-template-columns: 1fr; }
  .pop-card__link { grid-template-columns: 76px 1fr; }
  .pop-search { flex-direction: column; }
  .pop-taglist li { grid-template-columns: 1fr; }
  .pop-toc { top: 68px; overflow-x: auto; flex-wrap: nowrap; }
  .pop-toc a { white-space: nowrap; }
}
