/* THE WISE GUY · Casi dei Partner (/partner/ e /partner/<slug>/)
   Isolato in /assets/partner-casi/ (0 modifiche a /assets/restyling/*).
   Parita 1:1 Scuro/Chiaro · Griglia 1312px · 1440px e 390px · Reduced Motion. */

:root,
:root[data-theme="dark"] {
  --pc-accent: #22d3ee;
  --pc-accent-2: #c084fc;
  --pc-ok: #34d399;
  --pc-warn: #fbbf24;
  --pc-danger: #fb7185;
  --pc-glass: rgba(14, 11, 26, 0.78);
  --pc-glass-solid: #100c1e;
  --pc-panel: #110d20;
  --pc-panel-alt: #17122a;
  --pc-ink: #f8fafc;
  --pc-ink-2: #cbd5e1;
  --pc-ink-3: #94a3b8;
  --pc-bd: rgba(255, 255, 255, 0.13);
  --pc-bd-hi: rgba(34, 211, 238, 0.44);
  --pc-shadow: 0 20px 48px -20px rgba(0, 0, 0, 0.75);
  --pc-spec: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  --pc-ok-bg: rgba(52, 211, 153, 0.15);
  --pc-warn-bg: rgba(251, 191, 36, 0.15);
  --pc-danger-bg: rgba(251, 113, 133, 0.15);
  --pc-accent-bg: rgba(34, 211, 238, 0.13);
}

:root[data-theme="light"] {
  --pc-accent: #0e7490;
  --pc-accent-2: #6d28d9;
  --pc-ok: #047857;
  --pc-warn: #b45309;
  --pc-danger: #be123c;
  --pc-glass: rgba(255, 255, 255, 0.9);
  --pc-glass-solid: #ffffff;
  --pc-panel: #ffffff;
  --pc-panel-alt: #f4f6fa;
  --pc-ink: #0f172a;
  --pc-ink-2: #334155;
  --pc-ink-3: #475569;
  --pc-bd: rgba(15, 23, 42, 0.12);
  --pc-bd-hi: rgba(14, 116, 144, 0.42);
  --pc-shadow: 0 16px 36px -18px rgba(15, 23, 42, 0.14);
  --pc-spec: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --pc-ok-bg: rgba(4, 120, 87, 0.1);
  --pc-warn-bg: rgba(180, 83, 9, 0.1);
  --pc-danger-bg: rgba(190, 18, 60, 0.1);
  --pc-accent-bg: rgba(14, 116, 144, 0.09);
}

.pc-glass {
  background: var(--pc-glass);
  border: 1px solid var(--pc-bd);
  box-shadow: var(--pc-spec), var(--pc-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pc-glass { background: var(--pc-glass-solid); }
}

/* ── Indice casi in /partner/ ─────────────────────────────────────────── */
.pc-idx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pc-idx-card {
  container-type: inline-size;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, border-color 0.24s ease;
}
.pc-idx-card:hover { transform: translateY(-3px); border-color: var(--pc-bd-hi); }
.pc-idx-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--pc-panel-alt);
  border-bottom: 1px solid var(--pc-bd);
}
.pc-idx-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-idx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.08) 0%, rgba(6, 9, 19, 0.68) 100%);
  pointer-events: none;
}
.pc-idx-badges {
  position: absolute;
  inset: 12px 12px auto;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.pc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--pc-bd);
  background: rgba(9, 6, 15, 0.78);
  color: #f8fafc;
}
.pc-badge--solid {
  background: var(--pc-accent-bg);
  border-color: var(--pc-bd-hi);
  color: var(--pc-accent);
}
.pc-badge--ok { background: var(--pc-ok-bg); border-color: color-mix(in srgb, var(--pc-ok) 40%, transparent); color: var(--pc-ok); }
.pc-badge--warn { background: var(--pc-warn-bg); border-color: color-mix(in srgb, var(--pc-warn) 42%, transparent); color: var(--pc-warn); }
.pc-idx-logo-bar {
  position: absolute;
  inset: auto 14px 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pc-partner-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(9, 6, 15, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
}
.pc-partner-mark--inline {
  background: var(--pc-panel);
  border-color: var(--pc-bd-hi);
  color: var(--pc-ink);
}
.pc-partner-monogram {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--pc-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--pc-accent);
  flex-shrink: 0;
}
.pc-partner-name { display: flex; flex-direction: column; line-height: 1.1; }
.pc-partner-name strong { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.pc-partner-name small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.82; }
.pc-partner-mark--logo { padding: 7px 14px; min-height: 44px; justify-content: center; }
.pc-partner-mark--inline.pc-partner-mark--logo { padding: 8px 16px; min-height: 52px; }
.pc-partner-logo { display: block; height: 30px; width: auto; max-width: 176px; object-fit: contain; }
.pc-partner-mark--inline .pc-partner-logo { height: 36px; max-width: 210px; }
.pc-idx-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pc-idx-sector { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pc-accent); }
.pc-idx-title { margin: 0; font-size: clamp(1.18rem, 1.8vw, 1.38rem); font-weight: 800; line-height: 1.24; color: var(--pc-ink); }
.pc-idx-arc { margin: 0; font-size: 14.5px; line-height: 1.52; color: var(--pc-ink-2); }
.pc-idx-kpi {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--pc-bd);
  background: var(--pc-panel-alt);
}
.pc-idx-kpi-val { font-size: 1.55rem; font-weight: 900; color: var(--pc-accent); font-variant-numeric: tabular-nums; line-height: 1; }
.pc-idx-kpi-lbl { font-size: 13px; line-height: 1.35; color: var(--pc-ink-2); }
.pc-marks-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pc-idx-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--pc-bd); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pc-idx-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--pc-accent); text-decoration: none; }
.pc-idx-cta:hover { text-decoration: underline; }
.pc-idx-next {
  padding: 28px 26px;
  border-radius: 20px;
  border: 1.5px dashed var(--pc-bd-hi);
  background: radial-gradient(460px 200px at 100% 0%, var(--pc-accent-bg), transparent 72%), var(--pc-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.pc-idx-next-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--pc-accent-bg);
  border: 1px solid var(--pc-bd-hi);
  color: var(--pc-accent);
}
.pc-idx-next-ico svg { width: 22px; height: 22px; }
.pc-idx-next-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Pagina caso: sezioni e hero ──────────────────────────────────────── */
.pc-sec { padding-block: clamp(44px, 5vw, 66px); border-top: 1px solid var(--pc-bd); position: relative; }
.pc-sec--alt { background: var(--bg-alt, var(--pc-panel-alt)); }
.pc-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(22px, 2.8vw, 32px); }
.pc-sec-copy { max-width: 68ch; }
.pc-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pc-accent); margin-bottom: 8px; }
.pc-eyebrow svg { width: 15px; height: 15px; flex-shrink: 0; }
.pc-h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 800; line-height: 1.16; letter-spacing: -0.02em; color: var(--pc-ink); text-wrap: balance; }
.pc-lead { margin: 10px 0 0; font-size: 15.5px; line-height: 1.58; color: var(--pc-ink-2); max-width: 65ch; }

.pc-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.pc-hero-panel { padding: 18px; border-radius: 20px; display: flex; flex-direction: column; gap: 14px; }
.pc-hero-photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--pc-bd); background: var(--pc-panel-alt); }
.pc-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-photo-cap { position: absolute; inset: auto 10px 10px; padding: 5px 10px; border-radius: 8px; background: rgba(9, 6, 15, 0.8); color: #f8fafc; font-size: 12px; border: 1px solid rgba(255, 255, 255, 0.16); }
.pc-kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-kpi { padding: 12px 13px; border-radius: 13px; border: 1px solid var(--pc-bd); background: var(--pc-panel); min-width: 0; }
.pc-kpi-val { display: block; font-size: clamp(1.2rem, 1.9vw, 1.52rem); font-weight: 900; color: var(--pc-ink); line-height: 1.12; font-variant-numeric: tabular-nums; }
.pc-kpi-lbl { display: block; margin-top: 4px; font-size: 12px; line-height: 1.32; color: var(--pc-ink-3); }

/* ── Citazione, confronto e grafici ───────────────────────────────────── */
.pc-quote {
  margin: 0 0 22px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--pc-bd-hi);
  border-inline-start: 4px solid var(--pc-accent);
  background: radial-gradient(480px 180px at 0% 0%, var(--pc-accent-bg), transparent 72%), var(--pc-panel);
}
.pc-quote p { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.32rem); font-weight: 700; line-height: 1.42; color: var(--pc-ink); }
.pc-quote footer { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--pc-ink-3); }

.pc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pc-card { container-type: inline-size; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--pc-bd); background: var(--pc-panel); display: flex; flex-direction: column; gap: 12px; }
.pc-card--before { border-color: color-mix(in srgb, var(--pc-danger) 36%, transparent); }
.pc-card--after { border-color: color-mix(in srgb, var(--pc-ok) 40%, transparent); background: radial-gradient(420px 160px at 100% 0%, var(--pc-ok-bg), transparent 72%), var(--pc-panel); }
.pc-card h3 { margin: 0; font-size: 16.5px; font-weight: 800; color: var(--pc-ink); display: flex; align-items: center; gap: 9px; }
.pc-card h3 svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--pc-accent); }
.pc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.2px; line-height: 1.5; color: var(--pc-ink-2); }
.pc-list li { display: flex; gap: 9px; align-items: flex-start; }
.pc-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.pc-list li strong { color: var(--pc-ink); }

.pc-charts-wrap { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pc-stack-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--pc-panel-alt); border: 1px solid var(--pc-bd); gap: 2px; }
.pc-seg { height: 100%; }
.pc-seg--ok { background: var(--pc-ok); }
.pc-seg--accent { background: var(--pc-accent); }
.pc-seg--violet { background: var(--pc-accent-2); }
.pc-seg--warn { background: var(--pc-warn); }
.pc-seg--muted { background: var(--pc-ink-3); opacity: 0.55; }
.pc-legend { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13px; color: var(--pc-ink-2); }
.pc-legend li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-legend-l { display: inline-flex; align-items: center; gap: 8px; }
.pc-swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.pc-legend-v { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--pc-ink); font-variant-numeric: tabular-nums; }
.pc-hbar-list { display: grid; gap: 11px; }
.pc-hbar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.pc-hbar-name { font-size: 13.5px; font-weight: 600; color: var(--pc-ink); }
.pc-hbar-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--pc-accent); font-variant-numeric: tabular-nums; }
.pc-hbar-track { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: var(--pc-panel-alt); border: 1px solid var(--pc-bd); overflow: hidden; }
.pc-hbar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--pc-accent), var(--pc-ok)); }
.pc-honest-box {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--pc-ok) 40%, transparent);
  background: var(--pc-ok-bg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}
.pc-honest-box p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--pc-ink); max-width: 72ch; }
.pc-exp-wrap { margin-top: 18px; }

/* ── Cronistoria animata SVG + Tablist WAI-ARIA ───────────────────────── */
.pc-tl-shell { border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.pc-tl-svg-wrap { width: 100%; overflow: hidden; }
.pc-tl-svg { width: 100%; height: 26px; display: block; }
.pc-tl-track { stroke: var(--pc-bd); stroke-width: 4; stroke-linecap: round; fill: none; }
.pc-tl-prog { stroke: var(--pc-accent); stroke-width: 4; stroke-linecap: round; fill: none; transition: stroke-dashoffset 0.45s ease; }
.pc-tl-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pc-tl-btn {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--pc-bd);
  background: var(--pc-panel);
  color: var(--pc-ink-2);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pc-tl-btn:hover { border-color: var(--pc-bd-hi); color: var(--pc-ink); }
.pc-tl-btn:focus-visible { outline: 2px solid var(--pc-accent); outline-offset: 2px; }
.pc-tl-btn[aria-selected="true"] { border-color: var(--pc-accent); background: var(--pc-accent-bg); color: var(--pc-ink); }
.pc-tl-date { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--pc-accent); text-transform: uppercase; letter-spacing: 0.06em; }
.pc-tl-step-t { font-size: 14px; font-weight: 700; color: var(--pc-ink); line-height: 1.25; }
.pc-tl-panels { display: grid; grid-template-columns: minmax(0, 1fr); }
.pc-tl-panel { grid-area: 1 / 1; min-width: 0; }
.pc-tl-panel[hidden] { pointer-events: none; }
.pc-tl-inner {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--pc-bd);
  background: var(--pc-panel);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.pc-tl-inner h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--pc-ink); }
.pc-tl-inner p { margin: 0; font-size: 14.8px; line-height: 1.56; color: var(--pc-ink-2); }
.pc-tl-proof { padding: 14px 16px; border-radius: 13px; border: 1px solid var(--pc-bd); background: var(--pc-panel-alt); }
.pc-tl-proof-k { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pc-accent); margin-bottom: 6px; }
.pc-tl-proof-v { margin: 0; font-size: 13.8px; line-height: 1.48; color: var(--pc-ink); }

/* ── Galleria schermate, prodotti usati, futuro e dialog ──────────────── */
.pc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pc-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--pc-bd); background: var(--pc-panel); display: flex; flex-direction: column; }
.pc-shot-btn { padding: 0; border: 0; background: transparent; cursor: zoom-in; display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pc-shot-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.pc-shot-btn:hover img { transform: scale(1.02); }
.pc-shot-cap { padding: 12px 15px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--pc-bd); }
.pc-shot-cap strong { font-size: 14.5px; color: var(--pc-ink); }
.pc-shot-cap span { font-size: 13px; line-height: 1.45; color: var(--pc-ink-3); }
.pc-prod-band { margin-top: 22px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--pc-bd); background: var(--pc-panel); display: grid; gap: 14px; }
.pc-prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pc-prod-item { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--pc-bd); background: var(--pc-panel-alt); display: flex; flex-direction: column; gap: 8px; }
.pc-prod-item p { margin: 0; font-size: 13.5px; line-height: 1.48; color: var(--pc-ink-2); }

.pc-voice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pc-voice-note { margin-top: 14px; padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--pc-bd-hi); background: var(--pc-panel); font-size: 13.5px; line-height: 1.5; color: var(--pc-ink-2); }
.pc-spinoff { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 20px; align-items: center; }
.pc-spinoff-logo { padding: 18px; border-radius: 16px; border: 1px solid var(--pc-bd); background: var(--pc-panel); display: grid; place-items: center; }
.pc-spinoff-logo img { max-width: 280px; width: 100%; height: auto; display: block; }
:root:not([data-theme="light"]) .pc-only-light { display: none !important; }
:root[data-theme="light"] .pc-only-dark { display: none !important; }

.pc-cta-box {
  padding: clamp(24px, 3.6vw, 38px);
  border-radius: 22px;
  border: 1px solid var(--pc-bd-hi);
  background: radial-gradient(560px 220px at 100% 0%, var(--pc-accent-bg), transparent 70%), var(--pc-glass);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 26px;
}
.pc-cta-box h2 { margin: 0 0 8px; font-size: clamp(1.38rem, 2.3vw, 1.9rem); font-weight: 800; color: var(--pc-ink); }
.pc-cta-box p { margin: 0; max-width: 56ch; font-size: 15px; line-height: 1.55; color: var(--pc-ink-2); }
.pc-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.pc-dialog { max-width: min(1080px, 94vw); padding: 0; border-radius: 18px; border: 1px solid var(--pc-bd-hi); background: var(--pc-panel); color: var(--pc-ink); box-shadow: var(--pc-shadow); }
.pc-dialog::backdrop { background: rgba(3, 1, 8, 0.78); backdrop-filter: blur(6px); }
.pc-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--pc-bd); }
.pc-dialog-title { font-size: 14.5px; font-weight: 700; margin: 0; }
.pc-dialog-close { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--pc-bd); background: var(--pc-panel-alt); color: var(--pc-ink); font-weight: 700; cursor: pointer; }
.pc-dialog-body { padding: 14px; }
.pc-dialog-body img { width: 100%; height: auto; border-radius: 10px; display: block; }
.pc-dialog-cap { margin: 10px 0 0; font-size: 13px; color: var(--pc-ink-2); }

/* ── Riquadro confronto anteprima (?confronto=1, MAI in PROD) ─────────── */
.pc-diff-banner { margin: 112px auto 0; max-width: var(--twg-container-max, 1360px); padding: 0 var(--twg-gutter, 24px); box-sizing: border-box; }
.pc-diff-card { padding: 18px 22px; border-radius: 18px; border: 2px solid var(--pc-warn); background: color-mix(in srgb, var(--pc-warn) 8%, var(--pc-panel)); box-shadow: var(--pc-shadow); display: flex; flex-direction: column; gap: 12px; }
.pc-diff-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pc-diff-title { font-size: 16px; font-weight: 800; color: var(--pc-ink); margin: 0; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pc-diff-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-diff-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--pc-bd); background: var(--pc-panel); color: var(--pc-ink); font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.pc-diff-btn--primary { border-color: var(--pc-warn); background: var(--pc-warn-bg); color: var(--pc-warn); }
.pc-diff-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 12px; font-size: 13px; color: var(--pc-ink-2); }
.pc-diff-list li { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--pc-bd); background: var(--pc-panel); }
.pc-diff-reopen { position: fixed; right: 16px; bottom: 16px; z-index: 60; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--pc-warn); background: var(--pc-panel); color: var(--pc-ink); font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: var(--pc-shadow); }
html.pc-diff-on .twg-ph { padding-top: 28px !important; }
html.pc-diff-on [data-pc-diff] > .twg-container { outline: 2px dashed color-mix(in srgb, var(--pc-warn) 78%, transparent); outline-offset: -4px; border-radius: 16px; }
.pc-diff-tag { display: none; margin-bottom: 12px; padding: 6px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--pc-warn) 50%, transparent); background: var(--pc-warn-bg); color: var(--pc-ink); font-size: 12.5px; gap: 8px; flex-wrap: wrap; align-items: center; }
html.pc-diff-on .pc-diff-tag { display: flex; }
.pc-diff-tag b { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pc-warn); }

@media (max-width: 960px) {
  .pc-idx-grid, .pc-grid-2, .pc-charts-wrap, .pc-gallery, .pc-voice-grid, .pc-spinoff, .pc-tl-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pc-diff-banner { margin-top: 96px; padding: 0 16px; }
  .pc-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-idx-body, .pc-card, .pc-tl-shell, .pc-tl-inner, .pc-cta-box { padding: 16px; }
  .pc-tl-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .pc-idx-card, .pc-tl-prog, .pc-tl-btn, .pc-shot-btn img { transition: none !important; }
  .pc-idx-card:hover, .pc-shot-btn:hover img { transform: none !important; }
}
