/* ============================================================
   PALWORLD BREEDING (calculator + combos pages). Scoped body.pubv2 .pwb.
   Sections: tokens, tabs, pickers, result card, odds, lists, plan,
   special grid, table, scrollbars, phone.
   Every control is drawn here: the picker list, the search field, the
   checkbox, the steppers. No native list ever shows.
   ============================================================ */

/* ---------- tokens: Palworld's element colours, the panel's chrome ---------- */
body.pubv2 .pwb {
	--pwb-neutral: #b8b8b8; --pwb-fire: #ff7a45; --pwb-water: #4fa8ff; --pwb-grass: #6fd15c;
	--pwb-electric: #ffd43b; --pwb-ice: #8fe3ff; --pwb-ground: #d0a05a; --pwb-dark: #a78bfa; --pwb-dragon: #f472b6;
	--pwb-radius: 6px;
	color: var(--pv2-text-soft); font-size: 14px; position: relative;
}
body.pubv2 .pwb button { font: inherit; }
body.pubv2 .pwb :is(button, input, a):focus-visible { outline: 2px solid var(--pv2-gold); outline-offset: 2px; }
/* layout.css pads every <section> 60px top and bottom; the panes are sections for the tab
   semantics only (CLAUDE-DESIGN-SYSTEM.md, the Waygate trap) */
body.pubv2 .pwb section.pwb-pane { padding: 0; margin: 0; background: none; border: 0; }
body.pubv2 .pwb .pwb-empty { margin: 0; padding: 26px 18px; text-align: center; color: var(--pv2-text-muted); border: 1px dashed var(--pv2-border); border-radius: var(--pwb-radius); }
body.pubv2 .pwb .pwb-intro { margin: 0 0 12px; color: var(--pv2-text-soft); }
body.pubv2 .pwb .pwb-h3 { font-size: 16px; font-weight: 600; color: #fff; margin: 28px 0 8px; }
body.pubv2 .pwb .pwb-foot { margin: 18px 0 0; font-size: 12px; color: var(--pv2-text-muted); }
body.pubv2 .pwb .pwb-foot a { color: var(--pv2-text-soft); }
body.pubv2 .pwb-noscript { margin: 12px 0 0; color: var(--pv2-text-muted); }

/* ---------- tabs ---------- */
body.pubv2 .pwb .pwb-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0 0 12px; border-bottom: 1px solid var(--pv2-line); }
body.pubv2 .pwb .pwb-tabs button {
	min-height: 40px; padding: 8px 14px; border: 1px solid var(--pv2-border); border-radius: var(--pv2-radius);
	background: var(--pv2-field); color: var(--pv2-text-soft); cursor: pointer; font-weight: 600; font-size: 13.5px; line-height: 1.2;
}
body.pubv2 .pwb .pwb-tabs button:hover { background: var(--pv2-hover); color: #fff; }
body.pubv2 .pwb .pwb-tabs button[aria-selected="true"] { background: #493919; color: #ffe2a7; border-color: #a97d26; }

/* ---------- pickers ---------- */
body.pubv2 .pwb .pwb-parents { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 14px; align-items: end; }
body.pubv2 .pwb .pwb-slot { position: relative; min-width: 0; }
body.pubv2 .pwb .pwb-slot-label { display: block; margin: 0 0 6px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pv2-text-muted); }
body.pubv2 .pwb .pwb-pick {
	display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 6px 12px 6px 8px; text-align: left;
	background: var(--pv2-field); border: 1px solid var(--pv2-border-strong); border-radius: var(--pwb-radius); color: #fff; cursor: pointer;
}
body.pubv2 .pwb .pwb-pick:hover { border-color: var(--pv2-gold); }
body.pubv2 .pwb .pwb-pick[aria-expanded="true"] { border-color: var(--pv2-gold); }
body.pubv2 .pwb .pwb-pick .pwb-ico { width: 40px; height: 40px; }
body.pubv2 .pwb .pwb-pick .pwb-pick-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
body.pubv2 .pwb .pwb-pick .pwb-pick-txt b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pubv2 .pwb .pwb-pick .pwb-pick-txt small { color: var(--pv2-text-muted); font-size: 12px; }
body.pubv2 .pwb .pwb-pick .pwb-pick-ph { color: var(--pv2-text-muted); font-weight: 400; }
body.pubv2 .pwb .pwb-pick .pwb-caret { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--pv2-text-muted); border-bottom: 2px solid var(--pv2-text-muted); transform: rotate(45deg); margin: -4px 4px 0 0; }
body.pubv2 .pwb .pwb-pick-clear { position: absolute; right: 44px; bottom: 14px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--pv2-text-muted); cursor: pointer; font-size: 18px; line-height: 1; }
body.pubv2 .pwb .pwb-pick-clear:hover { background: var(--pv2-hover); color: #fff; }
body.pubv2 .pwb .pwb-ico { width: 40px; height: 40px; border-radius: 50%; background: #141415; border: 1px solid var(--pv2-border); object-fit: contain; flex: none; }
body.pubv2 .pwb .pwb-pop {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 6px;
	background: var(--pv2-panel); border: 1px solid var(--pv2-border-strong); border-radius: var(--pwb-radius); box-shadow: var(--pv2p-shadow); overflow: hidden;
}
body.pubv2 .pwb .pwb-pop-head { padding: 10px; border-bottom: 1px solid var(--pv2-line); display: flex; gap: 8px; }
body.pubv2 .pwb .pwb-pop-head .pwb-els { flex-wrap: nowrap; }
body.pubv2 .pwb .pwb-pop input, body.pubv2 .pwb .pwb-search input {
	width: 100%; min-width: 0; height: 40px; margin: 0; padding: 8px 12px; font: inherit; font-size: 14px;
	background: #141415; border: 1px solid var(--pv2-border-strong); border-radius: var(--pv2-radius); color: #fff;
}
body.pubv2 .pwb .pwb-pop input::placeholder, body.pubv2 .pwb .pwb-search input::placeholder { color: var(--pv2-text-dim); }
body.pubv2 .pwb .pwb-pop input:focus, body.pubv2 .pwb .pwb-search input:focus { border-color: var(--pv2-gold); outline: none; }
body.pubv2 .pwb input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
body.pubv2 .pwb .pwb-pop-list { max-height: 340px; overflow-y: auto; padding: 6px; }
body.pubv2 .pwb .pwb-pop-list button {
	display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 4px; background: transparent; color: var(--pv2-text-soft); cursor: pointer; text-align: left;
}
body.pubv2 .pwb .pwb-pop-list button .pwb-ico { width: 34px; height: 34px; }
body.pubv2 .pwb .pwb-pop-list button b { color: #fff; font-weight: 600; font-size: 14px; }
body.pubv2 .pwb .pwb-pop-list button small { color: var(--pv2-text-muted); font-size: 12px; margin-left: 6px; }
body.pubv2 .pwb .pwb-pop-list button .pwb-els { margin-left: auto; }
body.pubv2 .pwb .pwb-pop-list button:hover, body.pubv2 .pwb .pwb-pop-list button.is-active { background: var(--pv2-hover); color: #fff; }
body.pubv2 .pwb .pwb-pop-list button[aria-selected="true"] { background: #493919; }
body.pubv2 .pwb .pwb-pop-none { padding: 14px; color: var(--pv2-text-muted); text-align: center; }
body.pubv2 .pwb .pwb-swap { width: 48px; height: 56px; border: 1px solid var(--pv2-border-strong); border-radius: var(--pwb-radius); background: var(--pv2-field); color: var(--pv2-text-soft); cursor: pointer; display: flex; align-items: center; justify-content: center; }
body.pubv2 .pwb .pwb-swap:hover { color: #fff; border-color: var(--pv2-gold); }

/* ---------- element + tier chips ---------- */
body.pubv2 .pwb .pwb-els { display: flex; flex-wrap: wrap; gap: 4px; }
body.pubv2 .pwb .pwb-el { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #111; background: var(--pwb-neutral); }
body.pubv2 .pwb .pwb-el.el-fire { background: var(--pwb-fire); } body.pubv2 .pwb .pwb-el.el-water { background: var(--pwb-water); }
body.pubv2 .pwb .pwb-el.el-grass { background: var(--pwb-grass); } body.pubv2 .pwb .pwb-el.el-electric { background: var(--pwb-electric); }
body.pubv2 .pwb .pwb-el.el-ice { background: var(--pwb-ice); } body.pubv2 .pwb .pwb-el.el-ground { background: var(--pwb-ground); }
body.pubv2 .pwb .pwb-el.el-dark { background: var(--pwb-dark); } body.pubv2 .pwb .pwb-el.el-dragon { background: var(--pwb-dragon); }
body.pubv2 .pwb .pwb-el.pwb-el-dot { padding: 0; width: 10px; height: 10px; border-radius: 50%; }
body.pubv2 .pwb .pwb-tier { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--pv2-border-strong); color: var(--pv2-text-soft); background: var(--pv2-surface); }
body.pubv2 .pwb .pwb-tier.t-rare { color: #7cc4ff; border-color: rgba(124,196,255,.4); }
body.pubv2 .pwb .pwb-tier.t-epic { color: #c99cff; border-color: rgba(201,156,255,.4); }
body.pubv2 .pwb .pwb-tier.t-legendary { color: var(--pv2-gold); border-color: rgba(234,168,36,.5); }

/* ---------- the result card ---------- */
body.pubv2 .pwb .pwb-result { margin-top: 18px; }
body.pubv2 .pwb .pwb-child { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 20px; padding: 18px; background: var(--pv2-panel); border: 1px solid var(--pv2-border); border-radius: var(--pwb-radius); box-shadow: var(--pv2p-shadow); }
body.pubv2 .pwb .pwb-child + .pwb-child { margin-top: 14px; }
body.pubv2 .pwb .pwb-face { position: relative; width: 172px; height: 172px; border-radius: 10px; overflow: hidden; background: #111 center 28% / cover no-repeat; border: 1px solid var(--pv2-border-strong); display: flex; align-items: center; justify-content: center; }
body.pubv2 .pwb .pwb-face:after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%); }
body.pubv2 .pwb .pwb-face img { position: relative; z-index: 1; width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
body.pubv2 .pwb .pwb-child-info { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
body.pubv2 .pwb .pwb-child-info h3 { margin: 0; font-size: 24px; font-weight: 400; color: #fff; line-height: 1.2; }
body.pubv2 .pwb .pwb-child-info h3 small { font-size: 14px; color: var(--pv2-text-muted); margin-left: 8px; }
body.pubv2 .pwb .pwb-child-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
body.pubv2 .pwb .pwb-rule { margin: 0; color: var(--pv2-text-soft); }
body.pubv2 .pwb .pwb-rule b { color: #fff; font-weight: 600; }
body.pubv2 .pwb .pwb-gender { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--pv2-text-muted); }
body.pubv2 .pwb .pwb-gender-bar { flex: 0 0 140px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #4fa8ff var(--m), #f472b6 var(--m)); }
body.pubv2 .pwb .pwb-need { margin: 0; padding: 8px 12px; border-radius: 4px; background: var(--pv2-warn-bg); color: var(--pv2-warn); font-size: 13px; }
body.pubv2 .pwb .pwb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
body.pubv2 .pwb .pwb-actions button, body.pubv2 .pwb .pwb-btn {
	min-height: 36px; padding: 6px 12px; border: 1px solid var(--pv2-border-strong); border-radius: var(--pv2-radius); background: var(--pv2-field); color: var(--pv2-text-soft); cursor: pointer; font-size: 13px; font-weight: 600;
}
body.pubv2 .pwb .pwb-actions button:hover, body.pubv2 .pwb .pwb-btn:hover { background: var(--pv2-hover); color: #fff; border-color: var(--pv2-gold); }
body.pubv2 .pwb .pwb-copied { color: var(--pv2-ok); font-size: 12.5px; align-self: center; }

/* ---------- passive odds ---------- */
body.pubv2 .pwb .pwb-odds { margin-top: 14px; border: 1px solid var(--pv2-border); border-radius: var(--pwb-radius); background: var(--pv2-surface); }
body.pubv2 .pwb .pwb-odds summary { padding: 12px 16px; cursor: pointer; color: #fff; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
body.pubv2 .pwb .pwb-odds summary::-webkit-details-marker { display: none; }
body.pubv2 .pwb .pwb-odds summary:before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--pv2-text-muted); border-bottom: 2px solid var(--pv2-text-muted); transform: rotate(-45deg); transition: transform .15s; }
body.pubv2 .pwb .pwb-odds[open] summary:before { transform: rotate(45deg); }
body.pubv2 .pwb .pwb-odds-body { padding: 0 16px 16px; }
body.pubv2 .pwb .pwb-odds-body > p { margin: 0 0 14px; color: var(--pv2-text-soft); max-width: 78ch; }
body.pubv2 .pwb .pwb-odds-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
body.pubv2 .pwb .pwb-num { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 400; color: var(--pv2-text-muted); font-size: 12.5px; }
body.pubv2 .pwb .pwb-stepper { display: inline-flex; align-items: center; border: 1px solid var(--pv2-border-strong); border-radius: var(--pv2-radius); background: var(--pv2-field); height: 40px; overflow: hidden; }
body.pubv2 .pwb .pwb-stepper button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--pv2-text-soft); cursor: pointer; font-size: 18px; }
body.pubv2 .pwb .pwb-stepper button:hover { background: var(--pv2-hover); color: #fff; }
body.pubv2 .pwb .pwb-stepper output { min-width: 40px; text-align: center; color: #fff; font-weight: 600; font-size: 16px; }
body.pubv2 .pwb .pwb-odds-out { display: flex; flex-direction: column; margin-left: auto; text-align: right; }
body.pubv2 .pwb .pwb-odds-out b { font-size: 30px; font-weight: 400; color: var(--pv2-gold); line-height: 1.1; }
body.pubv2 .pwb .pwb-odds-out span { font-size: 12.5px; color: var(--pv2-text-muted); }

/* ---------- filters row ---------- */
body.pubv2 .pwb .pwb-toprow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; margin-bottom: 18px; }
body.pubv2 .pwb .pwb-filters { display: flex; gap: 12px; align-items: center; }
body.pubv2 .pwb .pwb-search { flex: 1 1 auto; margin: 0; display: block; }
body.pubv2 .pwb .pwb-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; color: var(--pv2-text-soft); cursor: pointer; white-space: nowrap; min-height: 40px; }
body.pubv2 .pwb .pwb-check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--pv2-border-strong); border-radius: 3px; background: #141415; cursor: pointer; position: relative; }
body.pubv2 .pwb .pwb-check input:checked { background: var(--pv2-gold); border-color: var(--pv2-gold); }
body.pubv2 .pwb .pwb-check input:checked:after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border-right: 2px solid #1a1a1b; border-bottom: 2px solid #1a1a1b; transform: rotate(45deg); }

/* ---------- pair lists ---------- */
body.pubv2 .pwb .pwb-list-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 10px; color: var(--pv2-text-soft); }
body.pubv2 .pwb .pwb-list-head b { color: #fff; font-weight: 600; }
body.pubv2 .pwb .pwb-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.pubv2 .pwb .pwb-pair { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--pv2-panel); border: 1px solid var(--pv2-border); border-radius: var(--pwb-radius); min-width: 0; }
body.pubv2 .pwb .pwb-pair .pwb-ico { width: 36px; height: 36px; }
body.pubv2 .pwb .pwb-pair .pwb-pal { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 0; }
body.pubv2 .pwb .pwb-pair .pwb-pal span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
body.pubv2 .pwb .pwb-pair .pwb-pal b { color: #fff; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pubv2 .pwb .pwb-pair .pwb-pal small { color: var(--pv2-text-muted); font-size: 11.5px; }
body.pubv2 .pwb .pwb-pair .pwb-plus, body.pubv2 .pwb .pwb-arrow { color: var(--pv2-text-dim); font-size: 16px; flex: none; }
body.pubv2 .pwb .pwb-pair .pwb-g { color: var(--pv2-text-muted); font-size: 11px; }
body.pubv2 .pwb .pwb-pair.is-own { border-color: rgba(100, 217, 119, .45); }
body.pubv2 .pwb .pwb-more { margin-top: 12px; text-align: center; }

/* ---------- breeding path ---------- */
body.pubv2 .pwb .pwb-toprow-path { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
body.pubv2 .pwb .pwb-owned { min-width: 0; }
body.pubv2 .pwb .pwb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; min-height: 0; }
body.pubv2 .pwb .pwb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 3px; border: 1px solid var(--pv2-border-strong); border-radius: 999px; background: var(--pv2-field); color: #fff; font-size: 13px; }
body.pubv2 .pwb .pwb-chip .pwb-ico { width: 26px; height: 26px; }
body.pubv2 .pwb .pwb-chip button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: var(--pv2-text-muted); cursor: pointer; font-size: 16px; line-height: 1; }
body.pubv2 .pwb .pwb-chip button:hover { background: var(--pv2-hover); color: #fff; }
body.pubv2 .pwb .pwb-slot-add .pwb-pick { min-height: 44px; }
body.pubv2 .pwb .pwb-plan { margin-top: 4px; }
body.pubv2 .pwb .pwb-steps { display: flex; flex-direction: column; gap: 8px; }
body.pubv2 .pwb .pwb-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; background: var(--pv2-panel); border: 1px solid var(--pv2-border); border-radius: var(--pwb-radius); }
body.pubv2 .pwb .pwb-step-n { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pv2-text-muted); }
body.pubv2 .pwb .pwb-step-n b { display: block; font-size: 18px; color: var(--pv2-gold); font-weight: 400; letter-spacing: 0; }
body.pubv2 .pwb .pwb-step .pwb-pair { border: 0; padding: 0; background: transparent; }
body.pubv2 .pwb .pwb-plan-sum { margin: 0 0 12px; color: var(--pv2-text-soft); }
body.pubv2 .pwb .pwb-plan-sum b { color: #fff; }

/* ---------- special combos ---------- */
body.pubv2 .pwb .pwb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1500px) { body.pubv2 .pwb .pwb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.pubv2 .pwb .pwb-combo { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--pv2-panel); border: 1px solid var(--pv2-border); border-radius: var(--pwb-radius); min-width: 0; cursor: pointer; text-align: left; color: var(--pv2-text-soft); }
body.pubv2 .pwb .pwb-combo:hover { border-color: var(--pv2-gold); }
body.pubv2 .pwb .pwb-combo .pwb-pal { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 0; }
body.pubv2 .pwb .pwb-combo .pwb-pal > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
body.pubv2 .pwb .pwb-combo .pwb-pal b { color: #fff; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pubv2 .pwb .pwb-combo .pwb-pal small { color: var(--pv2-text-muted); font-size: 11px; }
body.pubv2 .pwb .pwb-combo .pwb-pal.is-child b { color: var(--pv2-gold); }
body.pubv2 .pwb .pwb-combo .pwb-ico { width: 32px; height: 32px; }
body.pubv2 .pwb .pwb-selfgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
body.pubv2 .pwb .pwb-self { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; background: var(--pv2-panel); border: 1px solid var(--pv2-border); border-radius: var(--pwb-radius); font-size: 12.5px; color: #fff; text-align: center; cursor: pointer; }
body.pubv2 .pwb .pwb-self:hover { border-color: var(--pv2-gold); }
body.pubv2 .pwb .pwb-self .pwb-ico { width: 48px; height: 48px; }

/* ---------- every combo table ---------- */
body.pubv2 .pwb .pwb-table .pwb-pairs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- scrollbars: ours, everywhere ---------- */
body.pubv2 .pwb .pwb-pop-list { scrollbar-width: thin; scrollbar-color: var(--pv2-border-strong) var(--pv2-surface); }
body.pubv2 .pwb .pwb-pop-list::-webkit-scrollbar { width: 10px; }
body.pubv2 .pwb .pwb-pop-list::-webkit-scrollbar-track { background: var(--pv2-surface); }
body.pubv2 .pwb .pwb-pop-list::-webkit-scrollbar-thumb { background: var(--pv2-border-strong); border-radius: 5px; border: 2px solid var(--pv2-surface); }

/* ---------- phone + narrow ---------- */
@media (max-width: 1100px) {
	body.pubv2 .pwb .pwb-selfgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body.pubv2 .pwb .pwb-table .pwb-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body.pubv2 .pwb .pwb-tabs button { flex: 1 1 auto; min-height: 44px; padding: 8px 10px; }
	body.pubv2 .pwb .pwb-parents { grid-template-columns: 1fr; gap: 10px; }
	body.pubv2 .pwb .pwb-swap { width: 100%; height: 44px; }
	body.pubv2 .pwb .pwb-toprow, body.pubv2 .pwb .pwb-toprow-path { grid-template-columns: 1fr; }
	body.pubv2 .pwb .pwb-filters { flex-wrap: wrap; }
	body.pubv2 .pwb .pwb-child { grid-template-columns: 1fr; }
	body.pubv2 .pwb .pwb-face { width: 100%; height: 160px; }
	body.pubv2 .pwb .pwb-pairs, body.pubv2 .pwb .pwb-grid, body.pubv2 .pwb .pwb-table .pwb-pairs { grid-template-columns: 1fr; }
	body.pubv2 .pwb .pwb-selfgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.pubv2 .pwb .pwb-pop-list { max-height: 60vh; }
	body.pubv2 .pwb .pwb-pop-list button, body.pubv2 .pwb .pwb-actions button, body.pubv2 .pwb .pwb-btn, body.pubv2 .pwb .pwb-combo, body.pubv2 .pwb .pwb-stepper button { min-height: 44px; }
	body.pubv2 .pwb .pwb-odds-out { margin-left: 0; text-align: left; width: 100%; }
}
