/* ---------- fonts ---------- */

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/manrope-cyr.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/manrope-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/manrope-lat.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('../fonts/unbounded-cyr.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('../fonts/unbounded-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('../fonts/unbounded-lat.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens & base ---------- */

:root {
	--bg: #0b1020;
	--bg-2: #0e1428;
	--panel: #121a30;
	--panel-2: #19223d;
	--line: #243055;
	--text: #e6e9f5;
	--soft: #b3bcd9;
	--mute: #8f9bc0;
	--violet: #8b5cf6;
	--cyan: #22d3ee;
	--blue: #3b82f6;
	--gold: #fbbf24;
	--gold-2: #f59e0b;
	--grad: linear-gradient(135deg, #8b5cf6, #3b82f6 55%, #22d3ee);
	--r: 12px;
	--r-lg: 18px;
	--wrap: 1600px;
	--gut: 32px;
	--head-h: 56px;
	--display: 'Unbounded', 'Manrope', system-ui, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--head-h) + 12px);
}

body {
	margin: 0;
	background:
		radial-gradient(1200px 600px at 50% -200px, rgba(139, 92, 246, .16), transparent 70%),
		var(--bg);
	color: var(--soft);
	font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.pl-lock {
	overflow: hidden;
}

img {
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 2px;
}

.pl-wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gut));
	margin: 0 auto;
	padding: 0 var(--gut);
}

.pl-ic {
	flex: none;
}

.pl-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.pl-skip {
	position: absolute;
	top: -60px;
	left: 16px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--r);
	background: var(--gold);
	color: #1a1205;
	font-weight: 800;
}
.pl-skip:focus {
	top: 10px;
}

/* ---------- buttons ---------- */

.pl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--r);
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
	cursor: pointer;
	transition: filter .15s, transform .1s, box-shadow .15s, background-color .15s;
}
.pl-btn:active {
	transform: scale(.98);
}
.pl-btn--gold {
	background: linear-gradient(135deg, var(--gold), var(--gold-2));
	color: #1a1205;
	box-shadow: 0 6px 22px rgba(251, 191, 36, .28);
}
.pl-btn--gold:hover {
	filter: brightness(1.08);
	box-shadow: 0 8px 28px rgba(251, 191, 36, .4);
}
.pl-btn--ghost {
	background: var(--panel-2);
	color: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
}
.pl-btn--ghost:hover {
	box-shadow: inset 0 0 0 1px var(--cyan);
}

/* ---------- header ---------- */

.pl-head {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(11, 16, 32, .86);
	border-bottom: 1px solid rgba(36, 48, 85, .8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.pl-head__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--head-h);
}
.pl-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	color: #fff;
}
.pl-logo__mark {
	display: block;
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 6px 14px rgba(139, 92, 246, .45));
	transition: transform .3s;
}
.pl-logo:hover .pl-logo__mark {
	transform: rotate(-8deg) scale(1.05);
}
.pl-logo__site {
	display: block;
	width: auto;
	height: 36px;
}
.pl-logo__tag {
	align-self: flex-start;
	margin: 1px 0 0 -6px;
	padding: 2px 6px;
	border-radius: 6px;
	background: linear-gradient(135deg, var(--gold), var(--gold-2));
	color: #1a1205;
	font-family: var(--display);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .04em;
	transform: rotate(-8deg);
	box-shadow: 0 4px 12px rgba(251, 191, 36, .35);
	transition: transform .3s;
}
.pl-logo:hover .pl-logo__tag {
	transform: rotate(0) translateY(-2px);
}
.pl-logo__word {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.01em;
	background: linear-gradient(90deg, #fff 30%, #a5f3fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.pl-head__nav {
	margin-left: auto;
}
.pl-head__nav ul {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-head__nav a {
	display: block;
	padding: 7px 14px;
	border-radius: 10px;
	color: var(--mute);
	font-size: 15px;
	font-weight: 700;
	transition: color .15s, background-color .15s;
}
.pl-head__nav a:hover {
	background: var(--panel);
	color: #fff;
}
.pl-head__play {
	min-height: 38px;
	padding: 0 18px;
}
.pl-head__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--panel);
	color: #fff;
	cursor: pointer;
}

/* ---------- game zone ---------- */

.pl-top {
	padding-top: 16px;
}
.pl-game {
	max-width: 1080px;
	margin-inline: auto;
	scroll-margin-top: calc(var(--head-h) + 12px);
}
/* Fixed height, reserved before anything loads: no CLS when the poster is
   swapped for the iframe or the canvas game. */
.pl-stage {
	position: relative;
	height: clamp(420px, calc(100vh - var(--head-h) - 220px), 600px);
	overflow: hidden;
	border-radius: var(--r-lg);
	background: var(--bg-2);
	box-shadow:
		0 0 0 1px var(--line),
		0 30px 80px -30px rgba(139, 92, 246, .45);
	isolation: isolate;
}
.pl-stage__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .3s, filter .3s;
}
.pl-stage__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(11, 16, 32, .72);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	backdrop-filter: blur(6px);
}
.pl-live {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
	animation: pl-live 1.8s infinite;
}
@keyframes pl-live {
	70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.pl-stage__play {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	padding: 0;
	border: 0;
	background: radial-gradient(closest-side, rgba(11, 16, 32, .5), rgba(11, 16, 32, 0));
	color: #fff;
	font: inherit;
	cursor: pointer;
}
.pl-stage__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	padding-left: 6px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--gold-2));
	color: #1a1205;
	box-shadow:
		0 0 0 10px rgba(251, 191, 36, .16),
		0 0 0 22px rgba(251, 191, 36, .07),
		0 18px 50px rgba(251, 191, 36, .45);
	transition: transform .2s, box-shadow .2s;
}
.pl-stage__play:hover .pl-stage__btn {
	transform: scale(1.06);
	box-shadow:
		0 0 0 12px rgba(251, 191, 36, .2),
		0 0 0 28px rgba(251, 191, 36, .08),
		0 18px 60px rgba(251, 191, 36, .55);
}
.pl-stage__label {
	padding: 8px 18px;
	border-radius: 999px;
	background: rgba(11, 16, 32, .78);
	font-size: 17px;
	font-weight: 800;
	backdrop-filter: blur(6px);
}
.pl-stage__load {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #fff;
	font-weight: 700;
	background: rgba(11, 16, 32, .55);
}
.pl-stage__load[hidden] {
	display: none;
}
.pl-spin {
	width: 26px;
	height: 26px;
	border: 3px solid rgba(255, 255, 255, .2);
	border-top-color: var(--cyan);
	border-radius: 50%;
	animation: pl-spin .8s linear infinite;
}
@keyframes pl-spin {
	to { transform: rotate(360deg); }
}
.pl-stage.is-loading .pl-stage__poster {
	filter: blur(3px) brightness(.6);
}
.pl-stage.is-on .pl-stage__poster,
.pl-stage.is-on .pl-stage__badge {
	opacity: 0;
	visibility: hidden;
}
.pl-stage__frame,
.pl-stage__game {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--bg-2);
}

.pl-game__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 12px;
	padding: 10px 10px 10px 20px;
	border-radius: var(--r-lg);
	background: var(--panel);
	box-shadow: inset 0 0 0 1px var(--line);
}
.pl-game__cap {
	color: var(--mute);
	font-size: 14px;
}
.pl-game__cap b {
	margin-right: 10px;
	color: #fff;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
}
.pl-game__act {
	display: flex;
	flex: none;
	gap: 10px;
}

/* ---------- article & sidebar ---------- */

.pl-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
	padding-top: 28px;
	padding-bottom: 56px;
}
.pl-grid--solo {
	grid-template-columns: minmax(0, 1fr);
}
.pl-page .pl-grid {
	padding-top: 24px;
}

.pl-article {
	min-width: 0;
	padding: 40px 48px;
	border-radius: var(--r-lg);
	background: var(--panel);
	box-shadow: inset 0 0 0 1px rgba(36, 48, 85, .6);
	font-size: 17px;
	line-height: 1.75;
}
.pl-article > :first-child {
	margin-top: 0;
}
.pl-article > :last-child {
	margin-bottom: 0;
}
.pl-article h1,
.pl-article h2,
.pl-article h3 {
	color: #fff;
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: -.01em;
}
.pl-article h1 {
	margin: 0 0 22px;
	font-size: clamp(26px, 2.6vw, 38px);
	line-height: 1.2;
}
.pl-article h2 {
	position: relative;
	margin: 44px 0 16px;
	padding-left: 18px;
	font-size: clamp(21px, 1.9vw, 27px);
	line-height: 1.3;
}
.pl-article h2::before {
	content: '';
	position: absolute;
	top: .2em;
	bottom: .2em;
	left: 0;
	width: 5px;
	border-radius: 3px;
	background: var(--grad);
}
.pl-article h3 {
	margin: 30px 0 12px;
	font-size: 19px;
	line-height: 1.35;
}
.pl-article h4,
.pl-article h5,
.pl-article h6 {
	margin: 24px 0 10px;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
}
.pl-article p {
	margin: 0 0 18px;
}
.pl-article a {
	color: var(--cyan);
	text-decoration: underline;
	text-decoration-color: rgba(34, 211, 238, .4);
	text-underline-offset: 3px;
}
.pl-article a:hover {
	color: #fff;
	text-decoration-color: #fff;
}
.pl-article strong,
.pl-article b {
	color: #fff;
	font-weight: 700;
}
.pl-article ul,
.pl-article ol {
	margin: 0 0 20px;
	padding-left: 26px;
}
.pl-article li {
	margin: 7px 0;
	padding-left: 4px;
}
.pl-article ul li::marker {
	color: var(--gold);
}
.pl-article ol li::marker {
	color: var(--cyan);
	font-weight: 800;
}
.pl-article blockquote {
	margin: 26px 0;
	padding: 18px 22px;
	border-left: 4px solid var(--violet);
	border-radius: 0 var(--r) var(--r) 0;
	background: var(--bg-2);
	color: #fff;
}
.pl-article blockquote p {
	margin: 0;
}
.pl-article img {
	display: block;
	max-width: min(812px, 100%);
	height: auto;
	margin: 28px auto;
	border-radius: var(--r);
}
.pl-article figure {
	margin: 28px 0;
}
.pl-article figure img {
	margin: 0 auto;
}
.pl-article table {
	width: 100%;
	margin: 26px 0;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: var(--r);
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 15px;
	line-height: 1.5;
}
.pl-article th {
	padding: 13px 16px;
	background: var(--panel-2);
	color: #fff;
	font-weight: 800;
	text-align: left;
}
.pl-article td {
	padding: 13px 16px;
	border-top: 1px solid var(--line);
	vertical-align: top;
}
.pl-article tr:nth-child(even) td {
	background: rgba(11, 16, 32, .35);
}
.pl-article hr {
	margin: 36px 0;
	border: 0;
	border-top: 1px solid var(--line);
}
.pl-article code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--bg-2);
	font-size: .9em;
}

.pl-side {
	position: sticky;
	top: calc(var(--head-h) + 16px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.pl-side__h {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.pl-toc {
	padding: 18px 18px 14px;
	border-radius: var(--r-lg);
	background: var(--panel);
	box-shadow: inset 0 0 0 1px rgba(36, 48, 85, .6);
}
.pl-toc__list {
	max-height: 40vh;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
	counter-reset: toc;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
}
.pl-toc__list li {
	counter-increment: toc;
}
.pl-toc__list a {
	display: flex;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 8px;
	color: var(--mute);
	font-size: 14px;
	line-height: 1.4;
	transition: color .15s, background-color .15s;
}
.pl-toc__list a::before {
	content: counter(toc);
	flex: none;
	min-width: 18px;
	color: var(--cyan);
	font-weight: 800;
}
.pl-toc__list a:hover,
.pl-toc__list a.is-on {
	background: var(--panel-2);
	color: #fff;
}

.pl-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 22px;
	overflow: hidden;
	border-radius: var(--r-lg);
	background:
		radial-gradient(140% 100% at 100% 0%, rgba(34, 211, 238, .22), transparent 55%),
		linear-gradient(160deg, #2a1d5c, #142047);
	box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .45);
	transition: transform .2s;
}
.pl-promo:hover {
	transform: translateY(-2px);
}
.pl-promo__pegs {
	position: absolute;
	top: 12px;
	right: 10px;
	width: 120px;
	height: 90px;
	background-image: radial-gradient(circle, rgba(255, 255, 255, .35) 2px, transparent 2.5px);
	background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(225deg, #000 30%, transparent 75%);
	mask-image: linear-gradient(225deg, #000 30%, transparent 75%);
}
.pl-promo__mark {
	position: relative;
	width: 56px;
	height: 56px;
	margin-bottom: 4px;
}
.pl-promo__t {
	position: relative;
	color: #fff;
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}
.pl-promo__l {
	position: relative;
	margin-bottom: 8px;
	color: var(--soft);
	font-size: 14px;
	line-height: 1.5;
}
.pl-promo .pl-btn {
	position: relative;
	width: 100%;
}

.pl-rg {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--r-lg);
	background: var(--panel);
	color: var(--mute);
	font-size: 13px;
	line-height: 1.5;
}
.pl-rg a {
	color: var(--cyan);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.pl-age {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 38px;
	height: 38px;
	border: 2px solid #ef4444;
	border-radius: 50%;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

/* ---------- footer ---------- */

.pl-foot {
	border-top: 1px solid var(--line);
	background: var(--bg-2);
	font-size: 14px;
}
.pl-foot__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 32px 48px;
	padding: 44px 0 36px;
}
.pl-foot__about {
	max-width: 440px;
	margin: 16px 0 20px;
	color: var(--mute);
	line-height: 1.6;
}
.pl-foot__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.pl-foot__h {
	margin: 4px 0 14px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.pl-foot__col ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-foot__col a {
	color: var(--mute);
	font-weight: 700;
	transition: color .15s;
}
.pl-foot__col a:hover {
	color: #fff;
}
.pl-foot__facts {
	display: grid;
	gap: 10px;
	margin: 0;
}
.pl-foot__facts div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--line);
}
.pl-foot__facts dt {
	color: var(--mute);
}
.pl-foot__facts dd {
	margin: 0;
	color: #fff;
	font-weight: 700;
	text-align: right;
}
.pl-foot__end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 18px 0 26px;
	border-top: 1px solid var(--line);
	color: var(--mute);
	font-size: 13px;
	line-height: 1.5;
}
.pl-foot__rg {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 900px;
}
.pl-foot__rg a {
	color: var(--cyan);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.pl-foot__copy {
	color: #5f6a8f;
}
@media (max-width: 1080px) {
	.pl-foot__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.pl-foot__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 720px) {
	.pl-foot__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
		padding: 32px 0 28px;
	}
	.pl-foot__grid > .pl-foot__col:last-child {
		grid-column: 1 / -1;
	}
}

/* ---------- drawer ---------- */

.pl-drawer {
	position: fixed;
	inset: 0;
	z-index: 60;
}
.pl-drawer[hidden] {
	display: none;
}
.pl-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(5, 8, 18, .72);
	animation: pl-fade .2s;
}
.pl-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(320px, 86vw);
	padding: 12px 16px 20px;
	background: var(--panel);
	box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
	animation: pl-slide .25s ease;
}
@keyframes pl-fade {
	from { opacity: 0; }
}
@keyframes pl-slide {
	from { transform: translateX(100%); }
}
.pl-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.pl-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--panel-2);
	color: #fff;
	cursor: pointer;
}
.pl-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-drawer__list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 12px;
	border-radius: 10px;
	color: var(--soft);
	font-size: 16px;
	font-weight: 700;
}
.pl-drawer__list a:hover {
	background: var(--panel-2);
	color: #fff;
}
.pl-drawer__list .pl-ic {
	color: var(--cyan);
}
.pl-drawer__cta {
	margin-top: auto;
	min-height: 52px;
}

/* ---------- responsive ---------- */

@media (max-width: 1280px) {
	.pl-grid {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

@media (max-width: 1080px) {
	.pl-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-side {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.pl-toc {
		grid-column: 1 / -1;
	}
	.pl-rg {
		align-self: start;
	}
}

@media (max-width: 900px) {
	:root {
		--gut: 20px;
	}
	.pl-head__nav {
		display: none;
	}
	.pl-head__play {
		margin-left: auto;
	}
	.pl-head__burger {
		display: inline-flex;
	}
	.pl-head__bar {
		gap: 10px;
	}
}

@media (max-width: 720px) {
	:root {
		--gut: 12px;
	}
	.pl-top {
		padding-top: 10px;
	}
	/* Portrait board on phones; the iframe and the canvas game both fit. */
	.pl-stage {
		height: clamp(440px, calc(100svh - var(--head-h) - 170px), 560px);
		border-radius: 14px;
	}
	.pl-stage__btn {
		width: 84px;
		height: 84px;
	}
	.pl-stage__btn .pl-ic {
		width: 32px;
		height: 32px;
	}
	.pl-stage__label {
		font-size: 15px;
	}
	.pl-game__bar {
		flex-direction: column;
		align-items: stretch;
		padding: 12px;
	}
	.pl-game__cap {
		font-size: 13px;
	}
	.pl-game__cap b {
		display: block;
		margin: 0 0 2px;
	}
	.pl-game__act .pl-btn {
		flex: 1;
	}
	.pl-grid {
		gap: 16px;
		padding-top: 16px;
		padding-bottom: 32px;
	}
	/* The article takes the full width on phones. */
	.pl-article {
		margin: 0 calc(-1 * var(--gut));
		padding: 26px 16px;
		border-radius: 0;
		box-shadow: none;
		font-size: 16px;
	}
	.pl-article h2 {
		margin-top: 34px;
		padding-left: 14px;
	}
	.pl-article table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
	.pl-side {
		grid-template-columns: 1fr;
	}
	.pl-foot__end {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 360px) {
	.pl-logo__word {
		font-size: 17px;
	}
	.pl-head__play {
		padding: 0 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* SITE-LOCAL (bakerstreetbakery.com.ua, 2026-11-06): language switcher UA | RU */
.pl-lang {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel);
	flex: none;
}
.pl-lang a {
	min-width: 34px;
	padding: 5px 8px;
	border-radius: 7px;
	color: var(--mute);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: color .15s, background-color .15s;
}
.pl-lang a:hover {
	color: #fff;
}
.pl-lang a.is-on {
	background: var(--grad);
	color: #fff;
}
.pl-lang--side {
	align-self: flex-start;
	margin: 0 0 14px;
}
.pl-head__nav + .pl-lang--head {
	margin-left: 4px;
}
@media (max-width: 900px) {
	.pl-lang--head {
		margin-left: auto;
	}
	.pl-lang--head + .pl-head__play {
		margin-left: 0;
	}
}
@media (max-width: 400px) {
	.pl-lang--head {
		display: none;
	}
	.pl-lang--head + .pl-head__play {
		margin-left: auto;
	}
}
.pl-head__nav a {
	white-space: nowrap;
}
@media (max-width: 1180px) {
	.pl-head__nav a {
		padding: 7px 9px;
		font-size: 14px;
	}
}
@media (max-width: 1000px) {
	.pl-head__nav {
		display: none;
	}
	.pl-head__burger {
		display: inline-flex;
	}
	.pl-head__bar {
		gap: 10px;
	}
	.pl-lang--head {
		margin-left: auto;
	}
}
@media (max-width: 1000px) {
	.pl-head__nav + .pl-lang--head {
		margin-left: auto;
	}
}
@media (max-width: 400px) {
	.pl-head__nav + .pl-lang--head + .pl-head__play {
		margin-left: auto;
	}
}

/* SITE-LOCAL (bakerstreetbakery.com.ua, 2026-11-06): footer with an extra «Казино» column */
.pl-foot__grid {
	grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
	gap: 32px 40px;
}
@media (max-width: 1180px) {
	.pl-foot__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.pl-foot__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 860px) {
	.pl-foot__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}
	.pl-foot__grid > .pl-foot__col:last-child {
		grid-column: 1 / -1;
	}
}

/* SITE-LOCAL (bakerstreetbakery.com.ua, 2026-11-06): inline «Зміст» block at the top of every page */
.pl-article .pl-ctoc {
	margin: 26px 0 30px;
	padding: 20px 24px 18px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--cyan);
	border-radius: var(--r);
	background: var(--panel-2);
}
.pl-article .pl-ctoc__h {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--display);
	font-size: 17px;
	font-weight: 700;
}
.pl-article .pl-ctoc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ctoc;
	columns: 2;
	column-gap: 32px;
}
.pl-article .pl-ctoc li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 30px;
	break-inside: avoid;
	counter-increment: ctoc;
	font-size: 15px;
	line-height: 1.45;
}
.pl-article .pl-ctoc li::before {
	content: counter(ctoc);
	position: absolute;
	left: 0;
	top: 0;
	min-width: 22px;
	color: var(--cyan);
	font-weight: 800;
}
.pl-article .pl-ctoc a {
	color: var(--soft);
	text-decoration: none;
}
.pl-article .pl-ctoc a:hover {
	color: #fff;
	text-decoration: underline;
}
@media (max-width: 720px) {
	.pl-article .pl-ctoc {
		padding: 16px 16px 12px;
	}
	.pl-article .pl-ctoc ol {
		columns: 1;
	}
}
