/*
Theme Name: Backglass
Theme URI: https://example.invalid/backglass
Author: Backglass workshop
Author URI: https://example.invalid/backglass
Description: A pinball backglass theme: one symmetrical glass panel with an arc title, a three-cell scoreboard and two equal illustration slots; listings are scoreboard standings, single games are three-lane cards, downloads are replay tokens. Dark purple-black with magenta and amber, zero radius, no shadows, no animation.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pinballbackglass
Tags: dark, one-column, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--pb-ink: #1B0E1F;
	--pb-panel: #241328;
	--pb-panel-2: #2E1A33;
	--pb-panel-3: #381F3E;
	--pb-white: #F4EDF3;
	--pb-muted: #C9B6CC;
	--pb-dim: #9C86A1;
	--pb-magenta: #E0447A;
	--pb-magenta-2: #F06B98;
	--pb-amber: #F2A93B;
	--pb-line: #4A2E4E;
	--pb-line-2: #63406A;
	--pb-alert: #F2A93B;
	--pb-radius: 0;
	--pb-wrap: 1240px;
	--pb-measure: 680px;
	--pb-body: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
	--pb-display: "Copperplate Gothic Bold", "Copperplate Gothic Light", "Broadway", "Maiandra GD", "Trebuchet MS", sans-serif;
	--pb-mono: Consolas, "Courier New", monospace;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--pb-ink);
	color: var(--pb-white);
	font-family: var(--pb-body);
	font-size: 16px;
	line-height: 1.62;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--pb-magenta);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--pb-magenta-2);
	text-decoration: underline;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--pb-white);
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

h1 {
	font-family: var(--pb-display);
	letter-spacing: 0.05em;
}

p {
	margin: 0 0 12px;
}

ul,
ol {
	margin: 0;
}

button {
	font-family: inherit;
}

bdi {
	font-variant-numeric: tabular-nums lining-nums;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.pb-skip {
	position: absolute;
	inset-inline-start: 8px;
	top: -60px;
	z-index: 100;
	padding: 10px 14px;
	background: var(--pb-amber);
	color: var(--pb-ink);
	font: 700 12px/1 var(--pb-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pb-skip:focus {
	top: 8px;
	color: var(--pb-ink);
	text-decoration: none;
}

.pb-wrap {
	width: 100%;
	max-width: var(--pb-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.pb-main {
	display: block;
	min-height: 40vh;
}

.pb-kicker {
	margin: 0 0 8px;
	color: var(--pb-amber);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* ==========================================================================
   3. Header
   ========================================================================== */

.pb-head {
	position: relative;
	z-index: 40;
	background: var(--pb-panel);
	border-bottom: 2px solid var(--pb-magenta);
}

.pb-head__in {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	min-height: 78px;
}

.pb-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-nav a {
	color: var(--pb-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-nav a:hover,
.pb-nav a:focus,
.pb-nav a[aria-current="page"] {
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-nav--left {
	justify-self: start;
}

.pb-head__right {
	display: flex;
	align-items: center;
	gap: 18px;
	justify-self: end;
	min-width: 0;
}

.pb-tools {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pb-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-self: center;
	color: var(--pb-white);
}

.pb-brand:hover,
.pb-brand:focus {
	color: var(--pb-white);
	text-decoration: none;
}

.pb-brand__mark {
	width: 38px;
	height: 30px;
}

.pb-brand__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pb-brand__name {
	font-family: var(--pb-display);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.1;
	text-transform: uppercase;
}

.pb-brand__kicker {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pb-lang {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--pb-muted);
	font-family: var(--pb-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
}

.pb-lang__item {
	color: var(--pb-muted);
	font-size: 11px;
}

.pb-lang__item.is-current,
.pb-lang a:hover,
.pb-lang a:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-lang__sep {
	color: var(--pb-line-2);
}

.pb-auth {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pb-auth__link {
	color: var(--pb-muted);
	font-weight: 700;
}

.pb-auth__link:hover,
.pb-auth__link:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-auth__sep {
	color: var(--pb-line-2);
}

.pb-drawer {
	display: none;
	position: relative;
	justify-self: end;
}

.pb-drawer summary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 38px;
	border: 1px solid var(--pb-line-2);
	cursor: pointer;
	list-style: none;
}

.pb-drawer summary::-webkit-details-marker {
	display: none;
}

.pb-drawer summary span[aria-hidden="true"] {
	position: relative;
	display: block;
	width: 16px;
	height: 2px;
	background: var(--pb-white);
}

.pb-drawer summary span[aria-hidden="true"]::before,
.pb-drawer summary span[aria-hidden="true"]::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	width: 16px;
	height: 2px;
	background: var(--pb-white);
}

.pb-drawer summary span[aria-hidden="true"]::before {
	top: -6px;
}

.pb-drawer summary span[aria-hidden="true"]::after {
	top: 6px;
}

.pb-drawer__panel {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 10px);
	z-index: 50;
	width: min(340px, calc(100vw - 28px));
	max-height: 76vh;
	overflow: auto;
	padding: 18px;
	background: var(--pb-panel-2);
	border: 1px solid var(--pb-line-2);
}

.pb-drawer__kicker {
	margin: 0 0 8px;
	color: var(--pb-amber);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.pb-drawer__kicker:not(:first-child) {
	margin-top: 18px;
}

.pb-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-drawer__list li {
	border-bottom: 1px solid var(--pb-line);
}

.pb-drawer__list a {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 9px 0;
	color: var(--pb-white);
	font-size: 14px;
}

.pb-drawer__list a:hover,
.pb-drawer__list a:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-drawer__no {
	color: var(--pb-magenta);
	font-family: var(--pb-mono);
	font-size: 11px;
}

.pb-drawer__count {
	margin-inline-start: auto;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 11px;
}

.pb-drawer__note {
	margin: 14px 0 0;
	color: var(--pb-dim);
	font-size: 11px;
	line-height: 1.5;
}

.pb-auth--drawer {
	margin-top: 16px;
}

.pb-auth--drawer .pb-auth__link {
	color: var(--pb-amber);
}

/* ==========================================================================
   4. Hero and backglass
   ========================================================================== */

.pb-hero {
	padding: 26px 0 6px;
}

.pb-backglass {
	padding: 22px 22px 14px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line-2);
	outline: 1px solid var(--pb-line);
	outline-offset: 6px;
}

.pb-arch {
	padding: 2px 0 10px;
	text-align: center;
}

.pb-arch__title {
	margin: 0;
	color: var(--pb-white);
	font-family: var(--pb-display);
	font-size: 64px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.pb-arch__svg {
	display: block;
	width: 100%;
	max-width: 820px;
	height: auto;
	margin: 0 auto;
	overflow: visible;
}

.pb-arch__line {
	stroke: var(--pb-amber);
	stroke-width: 2;
}

.pb-arch__text {
	fill: var(--pb-white);
	font-family: var(--pb-display);
	font-size: 54px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.pb-arch__ball {
	fill: var(--pb-magenta);
}

.pb-arch__fallback {
	display: none;
}

.pb-deck {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) 150px;
	align-items: start;
	gap: 18px;
	margin-top: 6px;
}

.pb-ornament {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-height: 420px;
	padding: 14px 10px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line);
}

.pb-ornament svg {
	width: 100%;
	height: auto;
	margin-top: auto;
	margin-bottom: auto;
	fill: none;
	stroke: var(--pb-line-2);
	stroke-width: 2;
}

.pb-ornament svg circle {
	fill: var(--pb-magenta);
	stroke: none;
}

.pb-ornament svg rect {
	fill: none;
	stroke: var(--pb-amber);
}

.pb-ornament__label {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

.pb-board {
	min-width: 0;
}

.pb-scoreboard {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: var(--pb-panel-3);
	border: 1px solid var(--pb-line-2);
}

.pb-scoreboard__cell {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	padding: 12px 14px;
	border-inline-start: 1px solid var(--pb-line-2);
}

.pb-scoreboard__cell:first-child {
	border-inline-start: 0;
}

.pb-scoreboard__label {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-scoreboard__value {
	color: var(--pb-white);
	font-family: var(--pb-mono);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.pb-scoreboard__value--amber {
	color: var(--pb-amber);
}

.pb-board__head,
.pb-standings__head {
	display: grid;
	grid-template-columns: 44px 88px minmax(0, 1fr) 104px 100px;
	gap: 8px;
	align-items: center;
	padding: 10px 12px;
	background: var(--pb-panel);
	border-bottom: 1px solid var(--pb-line-2);
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-board__rows {
	border-bottom: 1px solid var(--pb-line-2);
}

.pb-score-row {
	display: grid;
	grid-template-columns: 44px 88px minmax(0, 1fr) 104px 100px;
	gap: 8px;
	align-items: center;
	padding: 11px 12px;
	border-bottom: 1px solid var(--pb-line);
	color: var(--pb-white);
}

.pb-score-row:last-child {
	border-bottom: 0;
}

.pb-score-row:hover,
.pb-score-row:focus {
	background: var(--pb-panel-2);
	color: var(--pb-white);
	text-decoration: none;
}

.pb-score-row:hover .pb-score-row__title,
.pb-score-row:focus .pb-score-row__title {
	color: var(--pb-magenta-2);
}

.pb-score-row__rank,
.pb-score-row__no,
.pb-score-row__pts {
	font-family: var(--pb-mono);
	font-size: 13px;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.pb-score-row__rank {
	color: var(--pb-dim);
}

.pb-score-row__no {
	color: var(--pb-magenta);
}

.pb-score-row__title {
	min-width: 0;
	color: var(--pb-white);
	font-size: 15px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.pb-score-row__cat {
	min-width: 0;
	color: var(--pb-dim);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.pb-score-row__pts {
	color: var(--pb-amber);
	text-align: end;
}

.pb-score-row__pts.is-empty {
	color: var(--pb-dim);
}

.pb-board__search {
	max-width: 420px;
	margin: 12px auto 2px;
}

.pb-backglass__fine {
	margin: 12px 0 0;
	color: var(--pb-dim);
	font-size: 10px;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
}

/* ==========================================================================
   5. Pager
   ========================================================================== */

.pb-pager {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.pb-pager__range {
	margin: 0;
	color: var(--pb-dim);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.pb-pager__balls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-pager__balls a,
.pb-pager__balls span {
	display: block;
	padding: 4px 6px;
	color: var(--pb-muted);
	font-family: var(--pb-mono);
	font-size: 10px;
	letter-spacing: 0.04em;
	border-bottom: 2px solid transparent;
}

.pb-pager__balls a:hover,
.pb-pager__balls a:focus {
	color: var(--pb-amber);
	text-decoration: none;
	border-bottom-color: var(--pb-amber);
}

.pb-pager__balls .is-current {
	color: var(--pb-amber);
	border-bottom-color: var(--pb-amber);
}

.pb-pager__steps {
	display: flex;
	justify-content: flex-end;
	gap: 14px;
}

.pb-pager__step {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--pb-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.pb-pager__step:hover,
.pb-pager__step:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-pager__step.is-off {
	color: var(--pb-line-2);
}

.pb-arrow {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-inline-end: 2px solid currentColor;
}

.pb-arrow--next {
	transform: rotate(45deg);
}

.pb-arrow--prev {
	transform: rotate(-135deg);
}

.pb-arrow--up {
	transform: rotate(-45deg);
}

/* ==========================================================================
   6. Front-page notes
   ========================================================================== */

.pb-notes {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 30px;
	margin: 30px 0 44px;
	padding-top: 20px;
	border-top: 1px solid var(--pb-line-2);
}

.pb-notes__title {
	margin: 0 0 10px;
	color: var(--pb-amber);
	font-family: var(--pb-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-notes__body p {
	max-width: 62ch;
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.66;
}

.pb-notes__fine {
	margin: 12px 0 0;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 10px;
	letter-spacing: 0.04em;
}

.pb-depts {
	border-top: 1px solid var(--pb-line-2);
}

.pb-dept {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid var(--pb-line);
	color: var(--pb-white);
}

.pb-dept:hover,
.pb-dept:focus {
	color: var(--pb-white);
	text-decoration: none;
}

.pb-dept:hover .pb-dept__name,
.pb-dept:focus .pb-dept__name {
	color: var(--pb-magenta-2);
}

.pb-dept__no {
	color: var(--pb-magenta);
	font-family: var(--pb-mono);
	font-size: 11px;
}

.pb-dept__name {
	font-size: 15px;
}

.pb-dept__count {
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 11px;
}

/* ==========================================================================
   7. List pages
   ========================================================================== */

.pb-hero--list {
	padding: 22px 0 0;
}

.pb-hero__title {
	font-size: 46px;
	line-height: 1.05;
}

.pb-hero__lead {
	max-width: 72ch;
	margin-top: 10px;
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.66;
}

.pb-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 12px 0 0;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pb-hero__search {
	max-width: 420px;
	margin-top: 14px;
}

.pb-crumb {
	margin: 0 0 16px;
}

.pb-crumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--pb-dim);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pb-crumb li + li::before {
	content: "/";
	margin-inline-end: 6px;
	color: var(--pb-line-2);
}

.pb-crumb a {
	color: var(--pb-muted);
}

.pb-crumb a:hover,
.pb-crumb a:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-index {
	margin: 20px 0 44px;
}

.pb-index__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--pb-line-2);
}

.pb-index__title {
	color: var(--pb-amber);
	font-family: var(--pb-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-index__count {
	margin: 0;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 11px;
}

.pb-standings__head {
	background: var(--pb-panel);
}

/* ==========================================================================
   8. Search form
   ========================================================================== */

.pb-search {
	display: flex;
	align-items: stretch;
	max-width: 420px;
	background: var(--pb-panel-2);
	border: 1px solid var(--pb-line-2);
}

.pb-search__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.pb-search__field {
	display: flex;
	width: 100%;
	min-width: 0;
}

.pb-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	background: transparent;
	border: 0;
	color: var(--pb-white);
	font-family: var(--pb-body);
	font-size: 13px;
}

.pb-search input[type="search"]::placeholder {
	color: var(--pb-dim);
	opacity: 1;
}

.pb-search input[type="search"]:focus {
	outline: 2px solid var(--pb-amber);
	outline-offset: -2px;
}

.pb-search__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 40px;
	padding: 0;
	background: var(--pb-magenta);
	border: 0;
	cursor: pointer;
}

.pb-search__btn:hover,
.pb-search__btn:focus {
	background: var(--pb-magenta-2);
}

.pb-search__icon {
	display: block;
	width: 16px;
	height: 16px;
	background: center / 16px 16px no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4EDF3' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   9. Single game
   ========================================================================== */

.pb-game {
	margin: 6px 0 44px;
}

.pb-game__plate {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) 210px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line-2);
}

.pb-game__no {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	background: var(--pb-panel-3);
	border-inline-end: 1px solid var(--pb-line-2);
}

.pb-game__label {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-game__no strong {
	color: var(--pb-magenta);
	font-family: var(--pb-mono);
	font-size: 22px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.pb-game__id {
	min-width: 0;
	padding: 16px 22px 18px;
}

.pb-game__title {
	font-size: 36px;
	line-height: 1.06;
	letter-spacing: 0.02em;
	text-transform: none;
}

.pb-game__intro {
	max-width: 68ch;
	margin-top: 8px;
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.6;
}

.pb-game__score {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-end;
	padding: 16px;
	border-inline-start: 1px solid var(--pb-line-2);
	text-align: end;
}

.pb-game__score strong {
	color: var(--pb-amber);
	font-family: var(--pb-mono);
	font-size: 28px;
	line-height: 1.1;
}

.pb-game__fine {
	color: var(--pb-dim);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pb-balls {
	margin-top: 22px;
}

.pb-balls__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--pb-line-2);
}

.pb-balls__title {
	color: var(--pb-amber);
	font-family: var(--pb-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-balls__count {
	margin: 0;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 11px;
}

.pb-lanes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.pb-lane {
	position: relative;
	min-width: 0;
	padding: 12px 12px 14px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line);
}

.pb-lane__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--pb-amber);
	font-family: var(--pb-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
}

.pb-lane__ball {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: var(--pb-magenta);
	clip-path: circle(50%);
}

.pb-lane__path {
	position: absolute;
	inset-block-start: 42px;
	inset-block-end: 14px;
	inset-inline-start: 19px;
	width: 0;
	border-inline-start: 2px dashed var(--pb-line-2);
	pointer-events: none;
}

.pb-lane__slots {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-inline-start: 22px;
}

.pb-lane__figure {
	margin: 0;
	background: var(--pb-panel-2);
	border: 1px solid var(--pb-line-2);
}

.pb-lane__img {
	width: 100%;
	height: auto;
}

.pb-lane__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 190px;
	padding: 14px;
	border: 2px dashed var(--pb-line);
	color: var(--pb-dim);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
}

.pb-game__lower {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	align-items: start;
	gap: 30px;
	margin-top: 28px;
}

.pb-machine {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.pb-spec__title {
	margin: 0 0 8px;
	color: var(--pb-amber);
	font-family: var(--pb-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-spec {
	margin: 0;
	border-top: 1px solid var(--pb-line-2);
}

.pb-spec__row {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--pb-line);
}

.pb-spec dt {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.pb-spec dd {
	margin: 0;
	color: var(--pb-white);
	font-family: var(--pb-mono);
	font-size: 12px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.pb-coin {
	padding: 14px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line-2);
}

.pb-coin__label {
	margin: 0 0 8px;
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pb-coin__note {
	margin: 8px 0 0;
	color: var(--pb-dim);
	font-size: 10px;
	line-height: 1.5;
}

.pb-btn {
	display: inline-block;
	padding: 12px 18px;
	background: var(--pb-magenta);
	border: 0;
	color: var(--pb-white);
	cursor: pointer;
	font-family: var(--pb-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.pb-btn:hover,
.pb-btn:focus {
	background: var(--pb-magenta-2);
	color: var(--pb-white);
	text-decoration: none;
}

.pb-btn--wide {
	display: block;
	width: 100%;
}

.pb-btn.is-disabled {
	background: var(--pb-panel-2);
	color: var(--pb-dim);
	cursor: not-allowed;
}

.pb-note {
	min-width: 0;
	padding-top: 2px;
}

.pb-note__head {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--pb-line-2);
}

.pb-note__title {
	font-family: var(--pb-body);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.pb-prose {
	color: #E7DBE9;
	font-size: 15px;
	line-height: 1.72;
	overflow-wrap: anywhere;
}

.pb-prose > *:first-child {
	margin-top: 0;
}

.pb-prose h1,
.pb-prose h2,
.pb-prose h3,
.pb-prose h4 {
	margin: 26px 0 10px;
	color: var(--pb-white);
	line-height: 1.3;
}

.pb-prose h2 {
	font-family: var(--pb-body);
	font-size: 21px;
	letter-spacing: 0.01em;
}

.pb-prose h3 {
	font-family: var(--pb-body);
	font-size: 17px;
}

.pb-prose p,
.pb-prose li {
	max-width: 74ch;
}

.pb-prose a {
	color: var(--pb-magenta);
	text-decoration: underline;
}

.pb-prose a:hover,
.pb-prose a:focus {
	color: var(--pb-magenta-2);
}

.pb-prose ul,
.pb-prose ol {
	margin: 0 0 14px;
	padding-inline-start: 22px;
}

.pb-prose li {
	margin-bottom: 6px;
}

.pb-prose img {
	width: auto;
	max-width: 100%;
	border: 1px solid var(--pb-line);
}

.pb-prose table {
	width: 100%;
	max-width: 100%;
	margin: 16px 0;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 13px;
	line-height: 1.55;
}

.pb-prose th,
.pb-prose td {
	padding: 8px 10px;
	border: 1px solid var(--pb-line-2);
	overflow-wrap: anywhere;
	word-break: break-word;
	vertical-align: top;
}

.pb-prose th {
	color: var(--pb-amber);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-align: start;
	text-transform: uppercase;
}

.pb-prose blockquote {
	margin: 16px 0;
	padding-inline-start: 16px;
	border-inline-start: 3px solid var(--pb-magenta);
	color: var(--pb-muted);
}

.pb-related {
	margin-top: 34px;
}

.pb-console {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
	margin-top: 34px;
	padding-top: 20px;
	border-top: 2px solid var(--pb-line-2);
}

.pb-console h2 {
	margin-bottom: 10px;
	font-family: var(--pb-body);
	font-size: 20px;
	letter-spacing: 0.01em;
}

.pb-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-share a {
	display: block;
	padding: 8px 10px;
	border: 1px solid var(--pb-line-2);
	color: var(--pb-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pb-share a:hover,
.pb-share a:focus {
	border-color: var(--pb-amber);
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-report summary {
	padding: 8px 0;
	color: var(--pb-amber);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.pb-form {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}

.pb-field {
	display: grid;
	gap: 5px;
}

.pb-field label {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.pb-field input,
.pb-field select,
.pb-field textarea {
	width: 100%;
	padding: 10px 12px;
	background: var(--pb-panel-2);
	border: 1px solid var(--pb-line-2);
	border-radius:0;
	color: var(--pb-white);
	font-family: var(--pb-body);
	font-size: 14px;
	line-height: 1.4;
}

.pb-field input:focus,
.pb-field select:focus,
.pb-field textarea:focus {
	outline: 2px solid var(--pb-amber);
	outline-offset: 1px;
}

.pb-hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pb-form__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.pb-form__hint {
	color: var(--pb-dim);
	font-size: 10px;
	line-height: 1.5;
}

.pb-alert {
	margin: 10px 0;
	padding: 10px 12px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-alert);
	color: var(--pb-white);
	font-size: 12px;
}

.pb-alert--error {
	border-color: var(--pb-magenta);
}

.pb-module {
	margin-top: 26px;
	padding: 16px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line-2);
}

.pb-module__title {
	margin-bottom: 6px;
	color: var(--pb-amber);
	font-family: var(--pb-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nea-dl-lead {
	margin: 0 0 10px;
	color: var(--pb-muted);
	font-size: 13px;
}

/* ==========================================================================
   10. Comments
   ========================================================================== */

.pb-comments {
	margin-top: 34px;
	padding-top: 20px;
	border-top: 2px solid var(--pb-line-2);
}

.pb-comments__kicker {
	margin: 0 0 10px;
	color: var(--pb-amber);
	font-family: var(--pb-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.pb-comments__title,
.comment-reply-title {
	margin: 0 0 12px;
	font-family: var(--pb-body);
	font-size: 18px;
	letter-spacing: 0.01em;
}

.comment-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.comment-list li {
	padding: 14px 0;
	border-bottom: 1px solid var(--pb-line);
}

.comment-list .children {
	list-style: none;
	margin: 12px 0 0;
	padding-inline-start: 18px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pb-white);
	font-size: 13px;
	font-weight: 700;
}

.comment-author .avatar {
	width: 34px;
	height: 34px;
	border: 1px solid var(--pb-line-2);
}

.comment-metadata {
	margin: 2px 0 8px;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 10px;
}

.comment-content {
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.66;
}

.comment-content p {
	margin-bottom: 8px;
}

.comment-respond {
	margin-top: 6px;
	padding: 16px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line-2);
}

.comment-form {
	display: grid;
	gap: 10px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 9px 11px;
	background: var(--pb-panel-2);
	border: 1px solid var(--pb-line-2);
	color: var(--pb-white);
	font-family: var(--pb-body);
	font-size: 14px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--pb-amber);
	outline-offset: 1px;
}

.comment-form .submit {
	padding: 11px 18px;
	background: var(--pb-magenta);
	border: 0;
	color: var(--pb-white);
	cursor: pointer;
	font-family: var(--pb-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.comment-form .submit:hover,
.comment-form .submit:focus {
	background: var(--pb-magenta-2);
}

.comment-notes,
.logged-in-as {
	color: var(--pb-dim);
	font-size: 11px;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
}

.comment-form-cookies-consent input {
	margin-top: 3px;
}

.required {
	color: var(--pb-magenta);
}

/* ==========================================================================
   11. Manual pages
   ========================================================================== */

.pb-manual {
	max-width: var(--pb-measure);
	margin: 6px auto 48px;
}

.pb-manual__head {
	padding-bottom: 14px;
	border-bottom: 2px solid var(--pb-line-2);
}

.pb-manual__title {
	font-size: 40px;
	line-height: 1.06;
	letter-spacing: 0.02em;
}

.pb-credit {
	margin: 8px 0 0;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pb-manual__body {
	margin-top: 20px;
}

.pb-manual__foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 30px;
	padding-top: 10px;
	border-top: 1px solid var(--pb-line-2);
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pb-workshop {
	margin-top: 30px;
	padding-top: 18px;
	border-top: 1px solid var(--pb-line-2);
}

.pb-workshop__title {
	font-family: var(--pb-body);
	font-size: 24px;
	letter-spacing: 0.01em;
}

.pb-workshop__lead {
	max-width: 62ch;
	margin-top: 6px;
	color: var(--pb-muted);
	font-size: 13px;
	line-height: 1.6;
}

/* ==========================================================================
   12. Replay token
   ========================================================================== */

.pb-token {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr) 300px;
	margin: 0 0 48px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line-2);
}

.pb-token__stub {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 18px 8px;
	background: var(--pb-panel-3);
	border-inline-end: 2px dashed var(--pb-line-2);
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.pb-token__stub bdi {
	color: var(--pb-magenta);
	font-family: var(--pb-mono);
	font-size: 12px;
	letter-spacing: 0.04em;
	writing-mode: horizontal-tb;
}

.pb-token__notch {
	display: block;
	width: 10px;
	height: 10px;
	margin-top: auto;
	background: var(--pb-ink);
	clip-path: circle(50%);
}

.pb-token__main {
	min-width: 0;
	padding: 22px 24px;
}

.pb-token__title {
	font-size: 32px;
	line-height: 1.08;
	letter-spacing: 0.02em;
}

.pb-token__meta {
	margin: 8px 0 14px;
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pb-token__rows {
	max-width: 460px;
}

.pb-token__value {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0 8px;
	padding: 10px 0;
	border-top: 1px solid var(--pb-line-2);
	border-bottom: 1px solid var(--pb-line-2);
}

.pb-token__value span {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.pb-token__value bdi {
	color: var(--pb-amber);
	font-family: var(--pb-mono);
	font-size: 26px;
	line-height: 1.1;
}

.pb-token__fine {
	margin: 0;
	color: var(--pb-dim);
	font-size: 10px;
	line-height: 1.5;
}

.pb-token__side {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border-inline-start: 1px solid var(--pb-line-2);
}

.pb-token__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 6px;
	border-top: 1px solid var(--pb-line);
}

.pb-token__links-title {
	color: var(--pb-dim);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.pb-token__links a {
	color: var(--pb-muted);
	font-size: 11px;
}

.pb-token__links a.is-current,
.pb-token__links a:hover,
.pb-token__links a:focus {
	color: var(--pb-amber);
}

.pb-token__back {
	margin: auto 0 0;
	padding-top: 10px;
}

.pb-token__back a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--pb-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pb-token__back a:hover,
.pb-token__back a:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

/* ==========================================================================
   13. Empty states, 404, footer
   ========================================================================== */

.pb-void {
	margin-top: 14px;
	padding: 24px;
	background: var(--pb-panel);
	border: 1px solid var(--pb-line-2);
}

.pb-void__title {
	font-family: var(--pb-display);
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: 0.04em;
}

.pb-void__line {
	max-width: 66ch;
	margin-top: 8px;
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.6;
}

.pb-void__search {
	max-width: 420px;
	margin-top: 14px;
}

.pb-void__depts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.pb-void__depts a {
	display: block;
	padding: 7px 10px;
	border: 1px solid var(--pb-line-2);
	color: var(--pb-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pb-void__depts a:hover,
.pb-void__depts a:focus {
	border-color: var(--pb-amber);
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-void__links {
	margin: 16px 0 0;
	font-size: 12px;
}

.pb-void--tilt {
	padding-top: 18px;
}

.pb-tilt {
	margin: 0 0 6px;
	color: var(--pb-panel-3);
	font-family: var(--pb-mono);
	font-size: 96px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
}

.pb-foot {
	margin-top: 40px;
	background: var(--pb-panel);
	border-top: 2px solid var(--pb-magenta);
}

.pb-foot__in {
	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	align-items: start;
	gap: 28px;
	padding-top: 26px;
	padding-bottom: 26px;
}

.pb-foot__kicker {
	margin: 0 0 4px;
	color: var(--pb-amber);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.pb-foot__name {
	margin: 0 0 6px;
	font-family: var(--pb-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pb-foot__line {
	max-width: 46ch;
	margin: 0;
	color: var(--pb-muted);
	font-size: 11px;
	line-height: 1.6;
}

.pb-foot__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-foot__nav a {
	color: var(--pb-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pb-foot__nav a:hover,
.pb-foot__nav a:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

.pb-foot__meta {
	color: var(--pb-dim);
	font-family: var(--pb-mono);
	font-size: 10px;
	letter-spacing: 0.04em;
	text-align: end;
}

.pb-foot__meta p {
	margin: 0 0 8px;
}

.pb-foot__top {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--pb-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pb-foot__top:hover,
.pb-foot__top:focus {
	color: var(--pb-amber);
	text-decoration: none;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 1079px) {
	.pb-head__in {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 12px;
		min-height: 68px;
	}

	.pb-nav,
	.pb-head__right .pb-auth {
		display: none;
	}

	.pb-brand {
		justify-self: start;
	}

	.pb-head__right {
		justify-self: end;
	}

	.pb-tools {
		gap: 0;
	}

	.pb-drawer {
		display: block;
	}

	.pb-deck {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-ornament {
		display: none;
	}

	.pb-game__plate {
		grid-template-columns: 160px minmax(0, 1fr);
	}

	.pb-game__score {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		border-inline-start: 0;
		border-top: 1px solid var(--pb-line-2);
		text-align: start;
	}

	.pb-game__lower {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-token {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.pb-token__side {
		grid-column: 1 / -1;
		border-inline-start: 0;
		border-top: 1px solid var(--pb-line-2);
	}
}

@media (max-width: 899px) {
	.pb-arch__title {
		font-size: 56px;
	}

	.pb-hero__title {
		font-size: 40px;
	}

	.pb-scoreboard__value {
		font-size: 19px;
	}

	.pb-board__head,
	.pb-standings__head,
	.pb-score-row {
		grid-template-columns: 46px 82px minmax(0, 1fr) 92px 92px;
	}

	.pb-game__title {
		font-size: 30px;
	}

	.pb-notes {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.pb-foot__in {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.pb-foot__meta {
		grid-column: 1 / -1;
		text-align: start;
	}
}

@media (max-width: 767px) {
	.pb-wrap {
		padding: 0 20px;
	}

	.pb-hero {
		padding-top: 18px;
	}

	.pb-backglass {
		padding: 16px 14px 12px;
		outline-offset: 4px;
	}

	.pb-scoreboard {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-scoreboard__cell {
		border-inline-start: 0;
		border-top: 1px solid var(--pb-line-2);
	}

	.pb-scoreboard__cell:first-child {
		border-top: 0;
	}

	.pb-board__head,
	.pb-standings__head {
		display: none;
	}

	.pb-score-row {
		grid-template-columns: 42px minmax(0, 1fr) auto;
		grid-template-areas:
			"rank title pts"
			"no no cat";
		gap: 2px 10px;
		padding: 10px 12px;
	}

	.pb-score-row__rank {
		grid-area: rank;
	}

	.pb-score-row__no {
		grid-area: no;
	}

	.pb-score-row__title {
		grid-area: title;
	}

	.pb-score-row__cat {
		grid-area: cat;
		justify-self: end;
		text-align: end;
	}

	.pb-score-row__pts {
		grid-area: pts;
	}

	.pb-pager {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.pb-pager__steps {
		justify-content: space-between;
	}

	.pb-lanes {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-lane {
		padding-bottom: 16px;
	}

	.pb-game__plate {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-game__no {
		border-inline-end: 0;
		border-bottom: 1px solid var(--pb-line-2);
	}

	.pb-game__id {
		padding: 14px 16px 16px;
	}

	.pb-game__score {
		padding: 12px 16px;
	}

	.pb-token {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-token__stub {
		flex-direction: row;
		justify-content: center;
		gap: 12px;
		border-inline-end: 0;
		border-bottom: 2px dashed var(--pb-line-2);
		writing-mode: horizontal-tb;
	}

	.pb-token__notch {
		margin-top: 0;
		margin-inline-start: auto;
	}

	.pb-token__value bdi {
		font-size: 22px;
	}

	.pb-console {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-index__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.pb-manual {
		margin-top: 0;
	}

	.pb-void__depts {
		gap: 6px;
	}
}

@media (max-width: 599px) {
	.pb-wrap {
		padding: 0 16px;
	}

	.pb-brand__kicker {
		display: none;
	}

	.pb-brand__name {
		font-size: 16px;
	}

	.pb-brand__mark {
		width: 32px;
		height: 26px;
	}

	.pb-arch__svg {
		display: none;
	}

	.pb-arch__fallback {
		display: inline-block;
		font-family: var(--pb-display);
		font-size: 38px;
		font-weight: 700;
		letter-spacing: 0.08em;
		line-height: 1.1;
	}

	.pb-arch__title {
		font-size: 38px;
	}

	.pb-backglass__fine {
		font-size: 9px;
	}

	.pb-hero__title {
		font-size: 32px;
	}

	.pb-hero__lead {
		font-size: 13px;
	}

	.pb-scoreboard__value {
		font-size: 18px;
	}

	.pb-score-row__title {
		font-size: 14px;
	}

	.pb-game__title {
		font-size: 26px;
	}

	.pb-game__score strong {
		font-size: 24px;
	}

	.pb-game__intro {
		font-size: 13px;
	}

	.pb-spec__row {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.pb-manual__title {
		font-size: 30px;
	}

	.pb-token__main {
		padding: 18px 16px;
	}

	.pb-token__title {
		font-size: 24px;
	}

	.pb-token__side {
		padding: 16px;
	}

	.pb-tilt {
		font-size: 64px;
	}

	.pb-void {
		padding: 18px;
	}

	.pb-void__title {
		font-size: 23px;
	}

	.pb-foot__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.pb-pager__balls {
		justify-content: flex-start;
	}

	.pb-pager__steps {
		flex-direction: column;
		gap: 6px;
	}

	.pb-pager__step {
		white-space: normal;
	}
}

/* ==========================================================================
   15. RTL
   ========================================================================== */

html[dir="rtl"] .pb-arrow--next,
html[dir="rtl"] .pb-arrow--prev {
	transform: scaleX(-1) rotate(45deg);
}

html[dir="rtl"] .pb-arrow--prev {
	transform: scaleX(-1) rotate(-135deg);
}

html[dir="rtl"] .pb-score-row__pts,
html[dir="rtl"] .pb-game__score,
html[dir="rtl"] .pb-foot__meta {
	text-align: start;
}

html[dir="rtl"] .pb-lane__path {
	inset-inline-start: 19px;
}

/* shared-content guard: keep .wp-block-table inside the column */
.wp-block-table{max-width:100%;overflow-x:auto}
.wp-block-table table{max-width:100%}
