/* zp-pub 2026-10-18: the Zombie Plague panel finished like the public panel (css/cspub-20261017.css), in ZP red.
   Owner: "public side still looks better than zombie plague". zp-max (2026-10-17) gave ZP the public card shell;
   this layer takes the rest of the public look: one level of boxes (no panel inside a card), small calm tiles,
   compact activity rows and ranking lists, wide shop cards. CSS only, loaded after zp-max; every selector starts
   #flowCs #csDash.pp-dash.zp-max, one class above zp-max and cs-next, so removing the file restores zp-max. */

/* ---------- tiles: the public tile everywhere ---------- */
#flowCs #csDash.pp-dash.zp-max :is(.cs-combat-stats > div, .cs-item-stat, .cs-market-stat, .pp-cs-metrics > div, .pp-cs-economy-grid > div, .cs-race-stat, .cs-rank-race > .pp-cs-progress) {
  padding: 12px 14px; border: .8px solid rgba(181, 209, 236, .16); border-radius: 6px; background: rgba(4, 20, 35, .6); min-height: 0;
}
#flowCs #csDash.pp-dash.zp-max :is(.cs-combat-stats > div > span, .cs-item-stat > span, .cs-market-stat > span, .pp-cs-metrics > div > span, .pp-cs-economy-grid > div > span, .cs-race-stat > span, .cs-rank-race .pp-cs-progress__label > span, .pp-stat__label, .pp-cs-live__label, .pp-cs-live__meta > span, .pp-cs-tier__copy > span, .pp-cs-tier__copy > small) {
  min-height: 0; font: 600 11px/1.3 Inter, system-ui, sans-serif; color: #9fb0c6; text-transform: uppercase; letter-spacing: 0;
}
#flowCs #csDash.pp-dash.zp-max :is(.cs-combat-stats strong, .cs-item-stat strong, .pp-cs-metrics strong, .pp-cs-economy-grid strong, .cs-race-stat > strong) {
  font: 700 20px/1.15 Inter, system-ui, sans-serif; color: #fff; font-variant-numeric: tabular-nums;
}
#flowCs #csDash.pp-dash.zp-max .pp-cs-economy-grid strong { font-size: 18px; line-height: 1.2; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-metrics strong { font-size: 16px; line-height: 1.3; font-weight: 650; }
/* the containers lose their old hairline bands; tiles sit 10px apart like the public grids */
#flowCs #csDash.pp-dash.zp-max :is(.cs-combat-stats, .cs-arsenal-inventory, .pp-cs-metrics, .pp-cs-economy .pp-cs-economy-grid, .cs-rank-race) {
  gap: 10px; padding: 0; margin: 10px 0 0; border: 0;
}
#flowCs #csDash.pp-dash.zp-max .pp-cs-economy .pp-cs-economy-grid + .pp-cs-economy-grid { margin-top: 10px; }

/* small icons, not posters: the 3D set stays, at the size the public card head uses */
#flowCs #csDash.pp-dash.zp-max .cs-combat-stats > div.zpm-has-ic { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; }
#flowCs #csDash.pp-dash.zp-max .zpm-ic { width: 32px; height: 32px; filter: drop-shadow(0 3px 8px rgba(var(--zp-rgb), .28)); }
#flowCs #csDash.pp-dash.zp-max .cs-item-stat { grid-template-columns: 32px minmax(0, 1fr); gap: 2px 12px; }
#flowCs #csDash.pp-dash.zp-max .cs-item-art { width: 32px; height: 32px; filter: drop-shadow(0 3px 8px rgba(var(--zp-rgb), .28)); }
#flowCs #csDash.pp-dash.zp-max .cs-market-stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#flowCs #csDash.pp-dash.zp-max .cs-market-stat strong { font: 650 14px/1.3 Inter, system-ui, sans-serif; color: #e3ebf4; }

/* ---------- Gun XP: the level panel is the card's one accent tile (like the SWPC balance tile) ---------- */
#flowCs #csDash.pp-dash.zp-max .cs-arsenal-progression {
  margin: 0; padding: 16px 18px; gap: 20px; grid-template-columns: 92px minmax(0, 1fr);
  border: .8px solid var(--zp-line); border-radius: 6px;
  background: linear-gradient(180deg, rgba(53, 16, 26, .62), rgba(30, 9, 15, .5));
}
#flowCs #csDash.pp-dash.zp-max #csLevel { font: 750 48px/1 Inter, system-ui, sans-serif; color: var(--zp-accent); text-shadow: none; }
#flowCs #csDash.pp-dash.zp-max .pp-stat.cs-level-stat { padding-right: 18px; border-right: .8px solid rgba(255, 141, 161, .22); }
#flowCs #csDash.pp-dash.zp-max .pp-cs-progress__label { font: 600 11px/1.4 Inter, system-ui, sans-serif; color: #9fb0c6; }
#flowCs #csDash.pp-dash.zp-max .cs-advancement .pp-cs-progress__label strong,
#flowCs #csDash.pp-dash.zp-max .cs-advancement .pp-cs-progress__label b { font: 650 18px/1.3 Inter, system-ui, sans-serif; color: #fff; text-transform: none; }
#flowCs #csDash.pp-dash.zp-max .cs-xp-rank #csGunRank { font: 600 13px/1.3 'JetBrains Mono', ui-monospace, monospace; color: var(--zp-accent); }

/* ---------- live server: numbers straight on the card, as on the public panel ---------- */
#flowCs #csDash.pp-dash.zp-max .pp-cs-live { padding: 0; margin: 0; border: 0; border-radius: 0; background: none; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-live__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 14px; align-items: start; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-live__label { grid-column: 1; grid-row: 1; }
#flowCs #csDash.pp-dash.zp-max #csLiveOnline { grid-column: 1; grid-row: 2; font: 750 40px/1.05 Inter, system-ui, sans-serif; color: var(--zp-accent); font-variant-numeric: tabular-nums; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-live__meta { grid-column: 2; grid-row: 1 / 3; display: grid; align-content: start; gap: 4px; padding: 0; margin: 0; border: 0; background: none; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-live__meta b { font: 650 16px/1.3 Inter, system-ui, sans-serif; color: #fff; overflow-wrap: anywhere; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-metrics { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#flowCs #csDash.pp-dash.zp-max .pp-cs-metrics > div { padding: 10px 12px; gap: 4px; }
#flowCs #csDash.pp-dash.zp-max .zpm-meter { height: 8px; margin-top: 2px; }

/* ---------- ammo economy: next goal = accent tile with a small crate ---------- */
#flowCs #csDash.pp-dash.zp-max .pp-cs-tier {
  min-height: 0; margin: 0; padding: 14px 16px 14px 84px; border: .8px solid rgba(239, 198, 115, .34); border-radius: 6px;
  background: linear-gradient(180deg, rgba(60, 44, 14, .5), rgba(30, 22, 8, .42));
}
#flowCs #csDash.pp-dash.zp-max .cs-milestone-art { left: 16px; width: 52px; height: 52px; filter: drop-shadow(0 4px 10px rgba(239, 198, 115, .25)); }
#flowCs #csDash.pp-dash.zp-max .pp-cs-tier__copy { gap: 4px; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-tier__copy strong { font: 750 24px/1.15 Inter, system-ui, sans-serif; color: #efc673; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-tier__copy > small { text-transform: none; font-weight: 500; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-tier__track { margin-top: 10px; }

/* ---------- server activity: the public list rows (dot, kind, name) ---------- */
#flowCs #csDash.pp-dash.zp-max .cs-activity-filters { margin: 0 0 10px; }
#flowCs #csDash.pp-dash.zp-max .cs-activity-filters button { min-height: 34px; font: 600 12px/1 Inter, system-ui, sans-serif; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-event { grid-template-columns: 8px auto minmax(0, 1fr); gap: 0 10px; min-height: 0; padding: 10px 12px; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-event > * { grid-row: 1; grid-column: auto; }   /* cs-aligned spanned the tag over two rows */
#flowCs #csDash.pp-dash.zp-max .pp-cs-event__tag {
  display: block; box-sizing: border-box; align-self: center; width: 8px; height: 8px; min-width: 0; min-height: 0; max-height: 8px;
  padding: 0; border: 0; border-radius: 50%; overflow: hidden; font-size: 0; line-height: 0; color: transparent; background: #46d6a0;
}
#flowCs #csDash.pp-dash.zp-max .pp-cs-event[data-cs-kind=OUT] .pp-cs-event__tag { background: #ff8a8f; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-event[data-cs-kind=MAP] .pp-cs-event__tag { background: #efc673; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-event__label { font: 500 11px/1.3 Inter, system-ui, sans-serif; letter-spacing: .04em; color: #9fb0c6; }
#flowCs #csDash.pp-dash.zp-max .pp-cs-event strong { font: 600 13px/1.3 Inter, system-ui, sans-serif; color: #f2f5f9; }

/* ---------- rankings: hairline lists instead of filled rows ---------- */
#flowCs #csDash.pp-dash.zp-max .cs-rank-race { grid-template-columns: 1fr .7fr 1.6fr; }
#flowCs #csDash.pp-dash.zp-max .cs-race-stat > strong { font-size: 18px; }
#flowCs #csDash.pp-dash.zp-max .cs-rank-race > .pp-cs-progress { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; margin: 0; align-content: start; justify-items: stretch; gap: 8px; text-align: left; }
#flowCs #csDash.pp-dash.zp-max .cs-rank-race > .pp-cs-progress > * { width: 100%; max-width: none; margin: 0; justify-self: stretch; }
#flowCs #csDash.pp-dash.zp-max .cs-rank-race .pp-cs-progress__label { display: flex; justify-content: space-between; gap: 12px; }
#flowCs #csDash.pp-dash.zp-max .cs-rank-race .pp-cs-progress__label b { font: 700 13px/1.3 'JetBrains Mono', ui-monospace, monospace; color: var(--zp-accent); }
#flowCs #csDash.pp-dash.zp-max .cs-rank-race .pp-cs-progress > small { font: 500 12px/1.3 Inter, system-ui, sans-serif; color: #9fb0c6; text-transform: none; }
#flowCs #csDash.pp-dash.zp-max .cs-rank-tools { margin-top: 4px; align-items: end; }
#flowCs #csDash.pp-dash.zp-max .cs-rank-search input { min-height: 40px; padding: 8px 12px; font: 500 13px/1.2 Inter, system-ui, sans-serif; }
#flowCs #csDash.pp-dash.zp-max .pp-board { border-collapse: collapse; border-spacing: 0; }
#flowCs #csDash.pp-dash.zp-max .pp-board thead { background: none; }
#flowCs #csDash.pp-dash.zp-max .pp-board thead th {
  padding: 8px 10px; background: none; border: 0; border-bottom: .8px solid rgba(255, 255, 255, .1);
  font: 600 10px/1.3 Inter, system-ui, sans-serif; color: #9fb0c6; text-transform: uppercase;
}
#flowCs #csDash.pp-dash.zp-max .pp-board tbody td {
  padding: 9px 10px; background: none; border: 0; border-bottom: .8px solid rgba(255, 255, 255, .07); border-radius: 0;
}
#flowCs #csDash.pp-dash.zp-max .pp-board td:nth-child(2) { font: 500 14px/1.3 Inter, system-ui, sans-serif; color: #e3ebf4; }
#flowCs #csDash.pp-dash.zp-max .pp-board tbody td:last-child { font: 600 13px/1 'JetBrains Mono', ui-monospace, monospace; color: var(--zp-accent); }
#flowCs #csDash.pp-dash.zp-max .pp-board tbody tr:hover td { background: rgba(255, 255, 255, .03); }
#flowCs #csDash.pp-dash.zp-max .pp-cs-rank-pill,
#flowCs #csDash.pp-dash.zp-max .pp-board tbody tr:nth-child(-n+3) .pp-cs-rank-pill {
  padding: 0; border: 0; background: none; box-shadow: none; min-width: 0;
  font: 600 12px/1 'JetBrains Mono', ui-monospace, monospace; color: #9fb0c6; white-space: nowrap;
}
#flowCs #csDash.pp-dash.zp-max .pp-board tbody tr:first-child .pp-cs-rank-pill { color: var(--zp-accent); }
#flowCs #csDash.pp-dash.zp-max .pp-board__me td { background: rgba(var(--zp-rgb), .2); color: #fff; }
#flowCs #csDash.pp-dash.zp-max .pp-board__me td:first-child { box-shadow: inset 3px 0 0 var(--zp-strong); }

/* ---------- store: the public shop card, two per row ---------- */
#flowCs #csDash.pp-dash.zp-max .pp-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
#flowCs #csDash.pp-dash.zp-max .pp-item {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "art name name" "art price buy";
  align-items: center; gap: 10px 16px; padding: 16px; border-radius: 6px;
  background: radial-gradient(120% 140% at 0% 50%, rgba(var(--zp-rgb), .16), rgba(4, 20, 35, .72) 60%);
}
#flowCs #csDash.pp-dash.zp-max .pp-item:hover { transform: none; }
#flowCs #csDash.pp-dash.zp-max .cs-store-art { grid-area: art; width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(var(--zp-rgb), .28)); }
#flowCs #csDash.pp-dash.zp-max .pp-item__name { grid-area: name; display: block; align-self: end; min-height: 0; font: 750 20px/1.2 Inter, system-ui, sans-serif; color: #f7f9fc; }
#flowCs #csDash.pp-dash.zp-max .pp-item__time { display: inline; margin-left: 8px; font: 600 12px/1 'JetBrains Mono', ui-monospace, monospace; color: var(--zp-accent); }
#flowCs #csDash.pp-dash.zp-max .pp-item__price { grid-area: price; align-self: center; font: 650 24px/1 Inter, system-ui, sans-serif; color: #efc673; }
#flowCs #csDash.pp-dash.zp-max .pp-item .pp-buy { grid-area: buy; justify-self: end; width: auto; min-width: 104px; padding-inline: 26px; }

@media (max-width: 980px) {
  #flowCs #csDash.pp-dash.zp-max .pp-shop { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  #flowCs #csDash.pp-dash.zp-max .cs-rank-race { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #flowCs #csDash.pp-dash.zp-max .cs-rank-race > .pp-cs-progress { grid-column: 1 / -1; }
  #flowCs #csDash.pp-dash.zp-max .pp-cs-economy .pp-cs-economy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #flowCs #csDash.pp-dash.zp-max .pp-item { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "art name" "art price" "buy buy"; padding: 12px; }
  #flowCs #csDash.pp-dash.zp-max .cs-store-art { width: 72px; height: 72px; }
  #flowCs #csDash.pp-dash.zp-max .pp-item .pp-buy { justify-self: stretch; }
  #flowCs #csDash.pp-dash.zp-max .pp-board :is(th, td):first-child { width: 40px; padding-left: 6px; padding-right: 4px; }
  #flowCs #csDash.pp-dash.zp-max .pp-board tbody td { padding-block: 8px; }
}
