/* GlobalPokerSites poker calculators — /tools/poker-calculators/
   Loads after main.css. Everything is scoped to #pc; the hero band, article grid and
   sidebar are the site's own patterns (same as the tournament director). */
#pc {
  --bg: #f5f5f4; --card: #ffffff; --card-2: #fafaf9; --tx: #0a0a0a; --tx-2: #3f3f46; --dm: #71717a;
  --br: #e4e4e7; --br-2: #d4d4d8; --ac: #18181b; --gold: #fbbf24; --gold-deep: #d97706; --gold-ink: #7a5500; --gold-soft: #fff4d1;
  --green: #16a34a; --red: #dc2626; --amber: #d97706; --blue: #2563eb; --red-soft: #fef2f2;
  --sc: #1a7f3c; --sd: #1d5fc4; --sh: #c8202f; --ss: #171c28;
  --font: 'Outfit', 'Outfit Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 14px; --rb: 10px;
  --shadow: 0 1px 2px rgba(10,10,10,.04), 0 10px 30px -18px rgba(10,10,10,.18);
  background: var(--bg); color: var(--tx); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
#pc *, #pc *::before, #pc *::after { box-sizing: border-box; }
#pc [hidden] { display: none !important; }
#pc button, #pc input, #pc select, #pc textarea { font: inherit; color: inherit; }
#pc button { cursor: pointer; }
#pc :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#pc h1, #pc h2, #pc h3 { text-wrap: balance; }

/* ---------- hero band (site pattern) ---------- */
#pc header.top {
  position: relative; overflow: hidden; width: auto; margin: 0 0 -62px; padding: 44px 0 100px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%); color: #fff; box-shadow: inset 0 -1px 0 rgba(251,191,36,.28);
}
#pc .hero-in {
  max-width: 1200px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; grid-template-areas: "label label" "brand art" "brand stats";
  align-items: center; column-gap: 40px; row-gap: 0;
}
#pc header.top::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 12% 40%, rgba(37,99,235,.14) 0%, transparent 55%), radial-gradient(ellipse at 88% 55%, rgba(217,119,6,.13) 0%, transparent 55%), radial-gradient(ellipse at 30% 110%, rgba(34,197,94,.10) 0%, transparent 50%), radial-gradient(ellipse at 100% 0%, rgba(99,102,241,.12) 0%, transparent 45%); }
#pc .brand { grid-area: brand; }
#pc .brand h1 { font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; letter-spacing: -.9px; line-height: 1.08; margin: 0; color: #fff; }
#pc .brand p { margin: 11px 0 0; max-width: 62ch; font-weight: 400; font-size: clamp(15px, 2.4vw, 17px); color: rgba(255,255,255,.72); line-height: 1.6; }
#pc .hdr-side { grid-area: label; margin-bottom: 15px; display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
#pc .td-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(251,191,36,.5); border-radius: 999px; background: rgba(251,191,36,.13); box-shadow: 0 0 22px rgba(251,191,36,.10); white-space: nowrap; }
#pc .td-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(251,191,36,.65); animation: pc-pulse 2s infinite; }
@keyframes pc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
#pc .hero-stats { grid-area: stats; justify-self: end; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
#pc .hs-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
#pc .hs-pill { display: inline-flex; align-items: baseline; gap: 8px; padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
#pc .hs-pill .num { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
#pc .hs-pill .lbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }
#pc .hs-row.hs-gold .hs-pill { background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.55); box-shadow: 0 4px 14px rgba(0,0,0,.25), 0 0 22px rgba(251,191,36,.12); }
#pc .hs-row.hs-gold .num { color: var(--gold); }
#pc .hero-art { grid-area: art; justify-self: end; width: 300px; max-width: 100%; margin-bottom: 10px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
#pc .hero-art svg { display: block; width: 100%; height: auto; }
#pc header.top > .pc-grid, #pc header.top > .pc-deco { position: absolute; z-index: 0; pointer-events: none; }
#pc .pc-grid { inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 78% 50%, #000 0%, rgba(0,0,0,.55) 40%, transparent 78%); mask-image: radial-gradient(ellipse at 78% 50%, #000 0%, rgba(0,0,0,.55) 40%, transparent 78%); }
#pc .pc-deco { border-radius: 28px; border: 1px solid rgba(255,255,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 30px 60px -30px rgba(0,0,0,.6); }
#pc .pc-deco-a { width: 340px; height: 340px; right: -90px; top: -130px; transform: rotate(14deg); background: linear-gradient(135deg, rgba(251,191,36,.16), rgba(251,191,36,.02) 60%); }
#pc .pc-deco-b { width: 210px; height: 210px; right: 26%; bottom: -110px; transform: rotate(-11deg); background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(37,99,235,.02) 65%); }
#pc .pc-deco-c { width: 120px; height: 120px; left: 44%; top: -46px; transform: rotate(21deg); background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(34,197,94,.02) 65%); }
@media (max-width: 760px) {
  #pc .pc-deco-a { width: 220px; height: 220px; right: -80px; top: -90px; } #pc .pc-deco-b { display: none; } #pc .pc-deco-c { left: auto; right: 12%; top: 58%; }
  #pc .hero-art { justify-self: start; width: 240px; margin-top: 18px; }
  #pc .hero-in { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "label" "brand" "art" "stats"; }
  #pc header.top { padding-top: 30px; padding-bottom: 92px; }
  #pc .td-badge { white-space: normal; line-height: 1.4; }
  #pc .hero-stats { justify-self: start; align-items: flex-start; margin-top: 22px; }
  #pc .hs-row { justify-content: flex-start; }
  #pc .hs-pill { padding: 10px 15px; gap: 6px; } #pc .hs-pill .num { font-size: 20px; } #pc .hs-pill .lbl { font-size: 10px; }
}

/* ---------- article grid ---------- */
#pc .pc-layout { margin-top: 0; padding-left: 28px; padding-right: 28px; }
#pc .pc-main { min-width: 0; padding-bottom: 90px; display: grid; gap: 18px; align-content: start; }
#pc .pc-side { padding-top: 62px; }
@media (max-width: 900px) { #pc .pc-side { padding-top: 0; margin-top: 8px; } #pc .pc-main { padding-bottom: 40px; } }
#pc .panel { background: var(--card); border: 1px solid var(--br); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
#pc .panel.lift { position: relative; z-index: 2; border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.14); }
#pc .pad { padding: 20px 22px; }
#pc .card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--br); flex-wrap: wrap; }
#pc .card-h h2, #pc .card-h h3 { margin: 0; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dm); font-weight: 700; }
#pc .card-b { padding: 16px 18px; }
#pc .stack { display: grid; gap: 14px; }
#pc .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#pc .seg { display: inline-flex; background: var(--card); border: 1px solid var(--br); border-radius: 10px; padding: 3px; gap: 2px; }
#pc .seg button { border: 0; background: transparent; padding: 6px 11px; border-radius: 7px; font-weight: 600; font-size: 13px; color: var(--dm); min-height: 0; }
#pc .seg button[aria-pressed="true"] { background: var(--ac); color: #fff; }

/* ---------- controls ---------- */
#pc .pc-btn { border: 1px solid var(--br-2); background: var(--card); color: var(--tx); border-radius: 9px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; transition: transform .08s, background .15s; white-space: nowrap; line-height: 1.3; }
#pc .pc-btn:hover { background: var(--bg); border-color: var(--tx-2); }
#pc .pc-btn:active { transform: translateY(1px); }
#pc .pc-btn.gold { background: var(--gold); border-color: var(--gold); color: #1a1200; }
#pc .pc-btn.gold:hover { background: #f5b400; }
#pc .pc-btn.sm { padding: 5px 10px; font-size: 12.5px; border-radius: 7px; }
#pc .pc-btn.ghost { border-color: transparent; background: transparent; color: var(--dm); }
#pc .pc-btn.ghost:hover { color: var(--tx); background: var(--bg); }
#pc .pc-btn[aria-pressed="true"] { background: var(--ac); color: #fff; border-color: var(--ac); }
#pc .in { border: 1px solid var(--br-2); border-radius: 9px; padding: 9px 11px; background: var(--card); width: 100%; min-width: 0; font-variant-numeric: tabular-nums; font-size: 15px; }
#pc .in:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(251,191,36,.22); }
#pc .in.n { text-align: right; }
#pc .in.name { font-weight: 600; }
#pc .in.bad { border-color: var(--red); }
#pc select.in { width: auto; padding-right: 28px; font-weight: 600; }
#pc .lbl { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dm); font-weight: 700; display: block; margin-bottom: 5px; }
#pc .icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--dm); padding: 0; }
#pc .icon:hover { background: var(--bg); color: var(--tx); border-color: var(--br); }
#pc .note { font-size: 12.5px; color: var(--dm); line-height: 1.5; }
#pc .chk { display: inline-flex; gap: 7px; align-items: center; font-size: 13.5px; color: var(--tx-2); }
#pc .chk input { accent-color: var(--gold-deep); width: 15px; height: 15px; }

/* ---------- entry ---------- */
#pc .entry { display: grid; gap: 12px; }
#pc .entry .top { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
#pc .entry .hands .in { font-size: 19px; font-weight: 600; letter-spacing: .03em; padding: 11px 14px; }
#pc .entry .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { #pc .entry .two { grid-template-columns: 1fr; } }
#pc .entry .in.mono { font-weight: 600; letter-spacing: .03em; }
#pc .hint { font-size: 13px; color: var(--dm); line-height: 1.55; }
#pc .hint code { font-family: inherit; font-weight: 600; color: var(--tx-2); background: var(--bg); padding: 1px 5px; border-radius: 4px; }
#pc .err { background: var(--red-soft); color: var(--red); border-radius: 9px; padding: 8px 12px; font-size: 13.5px; font-weight: 500; }
#pc .examples { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ---------- deck picker ---------- */
#pc .deck { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--br); border-radius: 12px; background: var(--bg); max-width: 640px; }
#pc .deck-row { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; }
#pc .dk { aspect-ratio: 5 / 7; border-radius: 6px; border: 1px solid var(--br); background: var(--card); padding: 0; display: grid; place-items: center; font-weight: 800; font-size: clamp(10px, 1.3vw, 14px); line-height: 1; transition: transform .08s, box-shadow .1s; min-height: 0; }
#pc .dk .s { font-size: .95em; margin-top: 2px; }
#pc .dk:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); border-color: var(--gold); z-index: 1; }
#pc .dk.c { color: var(--sc); } #pc .dk.d { color: var(--sd); } #pc .dk.h { color: var(--sh); } #pc .dk.s { color: var(--ss); }
#pc .dk.used { opacity: .2; filter: grayscale(1); pointer-events: none; }
#pc .dk.gone { visibility: hidden; }
#pc .deck .note { grid-column: 1 / -1; }

/* ---------- results ---------- */
#pc .method { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--dm); }
#pc .method b { color: var(--tx); font-weight: 700; }
#pc .pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--bg); color: var(--dm); }
#pc .pill.exact, #pc .pill.live { background: var(--gold-soft); color: var(--gold-ink); }
#pc .pill.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); animation: pc-blink 1s infinite; }
@keyframes pc-blink { 50% { opacity: .2; } }
#pc .cf { display: inline-grid; grid-auto-flow: column; gap: 1px; align-items: baseline; font-weight: 800; font-size: 14px; padding: 2px 5px; border-radius: 5px; background: var(--bg); line-height: 1.1; }
#pc .cf .s { font-size: 13px; }
#pc .cf.c { color: var(--sc); } #pc .cf.d { color: var(--sd); } #pc .cf.h { color: var(--sh); } #pc .cf.s { color: var(--ss); }
#pc .hand { display: flex; gap: 3px; flex-wrap: nowrap; align-items: center; white-space: nowrap; }
#pc .hand .extra { font-size: 12px; color: var(--dm); font-weight: 500; margin-left: 4px; }
#pc .hand .rng { font-weight: 600; font-size: 13px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#pc .tbl-wrap { overflow-x: auto; }
#pc table.pc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; margin: 0; }
#pc table.pc-table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dm); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--br); white-space: nowrap; background: none; }
#pc table.pc-table td { padding: 9px 8px; border-bottom: 1px solid var(--br); vertical-align: middle; }
#pc table.pc-table td.n, #pc table.pc-table th.n { text-align: right; }
#pc table.pc-table tr:last-child td { border-bottom: 0; }
#pc table.pc-table tr:hover td { background: none; }
#pc td .cnt { display: block; font-size: 11.5px; color: var(--dm); }
#pc td.eqc { min-width: 110px; }
#pc td.eqc b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; display: block; }
#pc td.eqc .track { display: block; width: 90px; height: 4px; border-radius: 2px; background: var(--bg); margin: 4px 0 0 auto; overflow: hidden; }
#pc td.eqc .track i { display: block; height: 100%; background: var(--gold); border-radius: 2px; }
#pc tr.lead td.eqc b { color: var(--gold-ink); }
#pc tr.lead td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
#pc .seat-no { color: var(--dm); font-weight: 700; font-size: 12px; width: 18px; display: inline-block; }
#pc .dist td { padding: 5px 8px; font-size: 13px; }
#pc .dist td small { color: var(--dm); font-size: 11px; margin-left: 6px; }
#pc .dist th.n, #pc .dist td.n { min-width: 72px; }

/* ---------- ICM ---------- */
#pc .bench { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 1500px) { #pc .bench { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
#pc .prow { display: grid; grid-template-columns: 30px 1fr 120px 32px; gap: 8px; align-items: center; }
#pc .prow .rank { font-weight: 800; color: var(--dm); font-size: 13px; text-align: center; }
#pc .payrow { display: grid; grid-template-columns: 34px 1fr 1fr 32px; gap: 8px; align-items: center; }
#pc .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { #pc .kpis { grid-template-columns: 1fr 1fr; } }
#pc .kpi { padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--br); }
#pc .kpi small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dm); font-weight: 700; }
#pc .kpi b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
#pc .dual { display: grid; gap: 3px; }
#pc .dual .l { display: flex; justify-content: space-between; font-size: 12px; color: var(--dm); }
#pc .dual .b { height: 7px; border-radius: 999px; background: var(--bg); overflow: hidden; }
#pc .dual .b i { display: block; height: 100%; border-radius: 999px; }
#pc .dual .b .chip { background: var(--br-2); } #pc .dual .b .icm { background: var(--gold); }
#pc .delta { font-weight: 700; } #pc .delta.up { color: var(--green); } #pc .delta.down { color: var(--red); }
#pc .hero-sel { display: flex; gap: 8px; align-items: center; }
#pc .bf { font-weight: 800; } #pc .bf.hi { color: var(--red); } #pc .bf.mid { color: var(--amber); } #pc .bf.lo { color: var(--green); }
#pc #pc-bf-table th, #pc #pc-bf-table td { padding: 7px 5px; font-size: 13px; }
#pc .rtxt { width: 100%; border: 1px solid var(--br-2); border-radius: 9px; padding: 9px 10px; min-height: 76px; resize: vertical; background: var(--bg); font-size: 13px; font-weight: 600; }
#pc .presets { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- pot odds ---------- */
#pc .po { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 1200px) { #pc .po { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
#pc .po .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#pc .outs { display: flex; flex-wrap: wrap; gap: 6px; }
#pc .verdict { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--br); background: var(--bg); display: grid; gap: 4px; }
#pc .verdict b { font-size: 19px; }
#pc .verdict.ok { border-color: var(--green); } #pc .verdict.no { border-color: var(--red); }

/* ---------- guide, examples, FAQ ---------- */
#pc .guide { max-width: none; }
#pc .guide .kicker { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--dm); }
#pc .guide h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 34px 0 10px; line-height: 1.2; }
#pc .guide .kicker + h2 { margin-top: 8px; }
#pc .guide h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin: 24px 0 8px; }
#pc .guide p, #pc .guide li { font-size: 16px; line-height: 1.75; color: var(--tx-2); }
#pc .guide p { margin: 0 0 12px; }
#pc .guide ul, #pc .guide ol { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
#pc .guide ol { list-style: decimal; }
#pc .guide li { margin-bottom: 6px; }
#pc .guide strong { color: var(--tx); font-weight: 600; }
#pc .guide a { color: var(--blue); text-decoration: underline; font-weight: 600; }
#pc .guide a:hover { color: var(--amber); }
#pc .guide h2, #pc .guide h3 { scroll-margin-top: 140px; }
#pc .ex-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0 18px; font-variant-numeric: tabular-nums; }
#pc .ex-table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dm); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--br); background: none; }
#pc .ex-table td { padding: 9px 8px; border-bottom: 1px solid var(--br); vertical-align: middle; color: var(--tx-2); font-size: 13.5px; }
#pc .ex-table td.n, #pc .ex-table th.n { text-align: right; white-space: nowrap; }
#pc .ex-table td b { color: var(--tx); font-weight: 700; }
#pc .ex-table .cards { display: block; font-weight: 600; color: var(--tx); letter-spacing: .03em; font-size: 13.5px; margin-top: 2px; }
#pc .ex-table .cards small { color: var(--dm); font-weight: 500; letter-spacing: 0; }
#pc .ex-table a { font-size: 12.5px; white-space: nowrap; }
#pc .faq-list { display: flex; flex-direction: column; gap: 8px; }
#pc .faq-item { border: 1px solid var(--br); border-radius: var(--rb); overflow: hidden; background: var(--card-2); }
#pc .faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; background: transparent; border: none; cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--tx); text-align: left; min-height: 0; }
#pc .faq-question:hover { background: var(--bg); }
#pc .faq-icon { font-size: 18px; color: var(--dm); flex: none; }
#pc .faq-answer { display: none; border-top: 1px solid var(--br); padding: 0; }
#pc .faq-item.gps-faq-open .faq-answer { display: block; }
#pc .faq-answer-inner { padding: 12px 16px 14px; }
#pc .faq-answer-inner p { margin: 0 0 8px; font-size: 15px; }
#pc .faq-answer-inner p:last-child { margin-bottom: 0; }

/* ---------- hub ---------- */
#pc .hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
#pc .hub-hero-art { grid-area: art; justify-self: end; width: 420px; max-width: 100%; margin-bottom: 6px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
#pc .hub-hero-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { #pc .hub-hero-art { justify-self: start; width: 280px; margin-top: 18px; } }
#pc .hub-card { display: flex; flex-direction: column; gap: 0; padding: 0; background: var(--card); border: 1px solid var(--br); border-radius: var(--r); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .12s, box-shadow .12s, border-color .12s; overflow: hidden; }
#pc .hub-card .art { height: 160px; background: linear-gradient(135deg, #18181b 0%, #27272a 100%); position: relative; overflow: hidden; display: grid; place-items: end center; }
#pc .hub-card .art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 30%, rgba(251,191,36,.18) 0%, transparent 55%), radial-gradient(ellipse at 15% 80%, rgba(37,99,235,.16) 0%, transparent 55%); }
#pc .hub-card .art svg { position: relative; width: 78%; height: auto; max-height: 150px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); transition: transform .2s; }
#pc .hub-card:hover .art svg { transform: translateY(-4px) scale(1.03); }
#pc .hub-card .body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
#pc .hub-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 36px -18px rgba(10,10,10,.35); }
#pc .hub-card .k { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); border-radius: 4px; padding: 2px 7px; align-self: flex-start; }
#pc .hub-card h3 { margin: 2px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
#pc .hub-card p { margin: 0; font-size: 14px; color: var(--dm); line-height: 1.6; flex: 1; }
#pc .hub-card .go { font-size: 13.5px; font-weight: 700; color: var(--tx); }
#pc .hub-section { margin-top: 28px; }
#pc .hub-section h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dm); font-weight: 700; margin: 0 0 12px; }

/* ---------- toast, sidebar bits ---------- */
.pc-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #18181b; color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 13px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 2000; font-family: 'Outfit', sans-serif; }
.pc-toast.show { opacity: 1; }
#pc .side-link { display: block; padding: 8px; border-radius: 8px; text-decoration: none; }
#pc .side-link:hover { background: rgba(255,255,255,.05); }
#pc .side-link b { display: block; font-size: 13px; font-weight: 600; color: #e2e8f0; line-height: 1.4; }
#pc .side-link small { font-size: 11px; color: #64748b; }
#pc .side-link.now b { color: #fbbf24; }
@media (prefers-reduced-motion: reduce) { #pc *, #pc *::before, #pc *::after { animation: none !important; transition: none !important; } }
@media print { .header, .footer, .breadcrumbs, #gps-sticky-banner, .cookie-consent, #pc .pc-side, #pc #pc-deckbox { display: none !important; } #pc header.top { background: none !important; color: #000 !important; width: auto; margin: 0; padding: 0 0 16px; } #pc .brand h1, #pc .brand p { color: #000 !important; } }

/* ---------- compact results on phones ---------- */
@media (max-width: 560px) {
  #pc table.pc-table th, #pc table.pc-table td { padding: 7px 5px; font-size: 13px; }
  #pc td .cnt { display: none; }
  #pc td.eqc { min-width: 78px; }
  #pc td.eqc b { font-size: 16px; }
  #pc td.eqc .track { width: 56px; }
  #pc .cf { font-size: 12.5px; padding: 1px 3px; }
  #pc .cf .s { font-size: 11.5px; }
  #pc .hand .extra { font-size: 11px; }
  #pc .seat-no { width: 14px; font-size: 11px; }
  #pc .pad { padding: 16px 14px; }
  #pc .card-b { padding: 12px 14px; }
  #pc .pc-layout { padding-left: 16px; padding-right: 16px; }
  #pc .kpi b { font-size: 18px; }
  #pc .guide h2 { font-size: 21px; }
}

/* ---------- worked-examples table on phones: drop the method column, keep labels readable ---------- */
@media (max-width: 560px) {
  #pc .ex-table th, #pc .ex-table td { padding: 8px 6px; font-size: 13px; }
  #pc .ex-table td:first-child { min-width: 150px; }
  #pc .ex-table .cards { font-size: 12.5px; white-space: normal; }
  #pc .ex-table th.n:nth-last-child(2), #pc .ex-table td.n:nth-last-child(2) { display: none; }
}
