/*
Theme Name: Pitch Ledger
Theme URI: https://hilowin88.com/
Author: [ชื่อเจ้าของเว็บ]
Description: เทมเพลตเว็บฟุตบอล หน้าแรกแบบปกนิตยสาร (บทวิเคราะห์เป็นปก) พื้นกลางคืน/สว่างสลับได้ ฟอนต์ Kanit — โปรแกรม ผล วิเคราะห์ ตารางคะแนน ดูบอลสด · SEO บนหน้าครบตาม WEB-PRINCIPLES · ข้อความทั้งเว็บอยู่ใน inc/site.php
Version: 0.7.2
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: pitchledger
*/

/* ── โทเคน: ค่าจริงมาจาก inc/site.php (palette / palette_dark) ผ่าน inline style — ค่าข้างล่างเป็นค่าสำรอง (มืด) ── */
:root {
	--pl-ground: #0e1a20;
	--pl-surface: #15252c;
	--pl-raised: #1c3039;
	--pl-line: #29424c;
	--pl-ink: #eef4f2;
	--pl-ink-soft: #a6bbbf;
	--pl-accent: #ffb02e;
	--pl-accent-ink: #1f1400;
	--pl-accent-text: #ffc35e;
	--pl-live: #ff5466;
	--pl-link: #7fd8c5;
	--pl-scrim: #050c0f;
	--pl-bar: #0b1f33;
	--pl-cover: #15252c;
	--pl-cover-accent: #ffc35e;
	--pl-head: "Kanit", "Leelawadee UI", Tahoma, sans-serif;
	--pl-body: "Kanit", "Leelawadee UI", Tahoma, sans-serif;
	--pl-wrap: 1180px;
	--pl-gut: 16px;
	--pl-r: 6px;
	--pl-ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 720px) { :root { --pl-gut: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--pl-line) var(--pl-ground); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--pl-ground);
	color: var(--pl-ink);
	font: 400 1rem/1.75 var(--pl-body);
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--pl-accent); color: var(--pl-accent-ink); }
input, textarea { caret-color: var(--pl-accent); }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--pl-link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--pl-accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--pl-head); font-weight: 600; line-height: 1.3; color: var(--pl-ink); margin: 1.7em 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 700; margin-top: .3em; letter-spacing: -.005em; }
h2 { font-size: clamp(1.3rem, 4.4vw, 1.65rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
time, .pl-num { font-variant-numeric: tabular-nums; }
table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
th, td { border-bottom: 1px solid var(--pl-line); padding: .6em .7em; text-align: left; vertical-align: top; }
th { font-weight: 600; color: var(--pl-ink-soft); background: var(--pl-surface); }

.pl-wrap { width: min(100% - 2 * var(--pl-gut), var(--pl-wrap)); margin-inline: auto; }
.pl-skip { position: absolute; left: 8px; top: -60px; z-index: 99; background: var(--pl-accent); color: var(--pl-accent-ink); padding: 10px 16px; border-radius: var(--pl-r); font-weight: 600; }
.pl-skip:focus { top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ── โครงหน้าใน ── */
.pl-main { padding: 20px 0 64px; }
.pl-main--home { padding-top: 0; }
.pl-crumbs { font-size: .85rem; color: var(--pl-ink-soft); margin: 4px 0 6px; }
.pl-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; }
.pl-crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border: solid var(--pl-ink-soft); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin: 0 8px 2px 0; }
.pl-crumbs a { color: var(--pl-ink-soft); text-decoration: none; }
.pl-crumbs a:hover { color: var(--pl-ink); }
.pl-cols { display: grid; gap: 36px; }
@media (min-width: 1024px) { .pl-cols { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } }
.pl-aside > * + * { margin-top: 24px; }
@media (min-width: 1024px) { .pl-aside__stick { position: sticky; top: 72px; } }
.pl-box { background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; padding: 16px 18px; }
.pl-box__title { font: 600 1rem var(--pl-head); margin: 0 0 8px; }
.pl-box ul { list-style: none; margin: 0; padding: 0; }
.pl-box li { padding: 6px 0; border-top: 1px solid var(--pl-line); }
.pl-box li:first-child { border-top: 0; }

/* หัวแถว: ชื่อส่วน + ลิงก์ดูทั้งหมด */
.pl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.pl-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.pl-more { display: inline-flex; align-items: center; gap: 8px; color: var(--pl-accent-text); font-weight: 600; font-size: .95rem; text-decoration: none; min-height: 44px; white-space: nowrap; }
.pl-more::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .25s var(--pl-ease); }
.pl-more:hover::after { transform: translateX(3px) rotate(45deg); }
.pl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pl-live); flex: none; animation: pl-live 1.6s ease-in-out infinite; }
@keyframes pl-live { 50% { opacity: .35; } }
.pl-nb { white-space: nowrap; }

/* ── การ์ด ── */
.pl-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pl-card__media { position: relative; overflow: hidden; border-radius: var(--pl-r); background: var(--pl-raised); aspect-ratio: 16 / 9; }
.pl-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--pl-ease); }
.pl-card:hover .pl-card__media img, .pl-card:focus-within .pl-card__media img { transform: scale(1.04); }
.pl-card__title { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.38; }
.pl-card__title a { color: var(--pl-ink); text-decoration: none; }
.pl-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pl-card:hover .pl-card__title a { text-decoration: underline; text-decoration-color: var(--pl-accent); text-decoration-thickness: 2px; }
.pl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 4px 0 0; font-size: .82rem; color: var(--pl-ink-soft); line-height: 1.4; }
.pl-card__meta span { color: var(--pl-accent-text); font-weight: 500; }
.pl-card__meta span + time::before, .pl-card__meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 8px 3px 0; vertical-align: middle; }
/* การ์ดแคบบนมือถือ: เรียงหมวดกับวันที่เป็นสองบรรทัด ไม่ให้จุดคั่นหลุดไปขึ้นต้นบรรทัดใหม่ */
@media (max-width: 719px) { .pl-card:not(.pl-cover) .pl-card__meta { flex-direction: column; align-items: flex-start; gap: 2px; } .pl-card:not(.pl-cover) .pl-card__meta span + time::before { display: none; } }

/* การ์ดแถว (รายการหมวด/ค้นหา) */
.pl-river { list-style: none; margin: 0; padding: 0; }
.pl-river > li { padding: 14px 0; border-bottom: 1px solid var(--pl-line); }
.pl-river > li:first-child { padding-top: 0; }
.pl-card--row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.pl-card--row .pl-card__media { aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .pl-card--row { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; } .pl-card--row .pl-card__media { aspect-ratio: 16 / 9; } .pl-card--row .pl-card__title { font-size: 1.2rem; } }

/* กริด */
.pl-grid { display: grid; gap: 22px 16px; }
.pl-grid--4 { grid-template-columns: 1fr 1fr; }
.pl-grid--4 .pl-card__title { font-size: .98rem; }
@media (min-width: 1000px) { .pl-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 26px 20px; } .pl-grid--4 .pl-card__title { font-size: 1.05rem; } }
@media (min-width: 640px) { .pl-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pl-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 30px 22px; } }
@media (min-width: 600px) { .pl-grid--2 { grid-template-columns: 1fr 1fr; } }

/* ปกตัวอักษร — โพสต์ที่ไม่มีภาพเลย: ลายเส้นสนามบอล + ชื่อเรื่อง */
.pl-typecover { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 14px; background-color: var(--pl-raised);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='1.2'%3E%3Crect x='6' y='6' width='148' height='78'/%3E%3Cpath d='M80 6v78'/%3E%3Ccircle cx='80' cy='45' r='13'/%3E%3Crect x='6' y='25' width='22' height='40'/%3E%3Crect x='132' y='25' width='22' height='40'/%3E%3C/g%3E%3C/svg%3E");
	background-size: cover; background-position: center; }
:root[data-pl-skin="light"] .pl-typecover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%230f1d22' stroke-opacity='.16' stroke-width='1.2'%3E%3Crect x='6' y='6' width='148' height='78'/%3E%3Cpath d='M80 6v78'/%3E%3Ccircle cx='80' cy='45' r='13'/%3E%3Crect x='6' y='25' width='22' height='40'/%3E%3Crect x='132' y='25' width='22' height='40'/%3E%3C/g%3E%3C/svg%3E"); }
/* ปกที่วางตัวอักษรขาวทับ ต้องเป็นพื้นมืดเสมอ แม้อยู่ในโหมดสว่าง */
.pl-typecover span { font: 700 1.05rem/1.25 var(--pl-head); color: var(--pl-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pl-card--row .pl-typecover span { font-size: .8rem; -webkit-line-clamp: 3; }

/* กล่องคำตอบ */
.pl-answer { background: var(--pl-surface); border: 1px solid var(--pl-line); border-top: 3px solid var(--pl-accent); border-radius: 10px; padding: 14px 18px; margin: 16px 0 20px; font-size: 1.05rem; line-height: 1.7; }
.pl-answer p:last-child { margin: 0; }

/* เนื้อหาบทความ */
.pl-prose { max-width: 70ch; font-size: 1.04rem; }
.pl-prose h2, .pl-prose h3 { scroll-margin-top: 72px; }
.pl-prose img { border-radius: var(--pl-r); }
.pl-prose blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--pl-surface); border-radius: 10px; font-size: 1.08rem; }
.pl-prose blockquote p:last-child { margin: 0; }
.pl-prose ul, .pl-prose ol { padding-left: 1.3em; }
.pl-prose li { margin: .25em 0; }

/* วิดเจ็ตปลั๊กอินข้อมูล — ให้สีปลั๊กอิน MZK ตามธีม (สโคปของปลั๊กอินตั้งค่าไว้ที่ wrapper จึงต้องเจาะจงกว่า) */
.pl-widget { margin: 0 0 24px; }
body .mzks-scope, body .mzka-light, body .mzka-dark {
	--mzks-accent: var(--pl-accent); --mzks-accent2: var(--pl-accent-text); --mzks-title: var(--pl-ink); --mzks-text: var(--pl-ink);
	--mzks-muted: var(--pl-ink-soft); --mzks-bg: var(--pl-ground); --mzks-surface: var(--pl-surface); --mzks-line: var(--pl-line);
	--mzka-accent: var(--pl-accent); --mzka-title: var(--pl-ink); --mzka-text: var(--pl-ink); --mzka-muted: var(--pl-ink-soft);
	--mzka-bg: var(--pl-ground); --mzka-surface: var(--pl-surface); --mzka-line: var(--pl-line); --mzka-soft: var(--pl-raised);
	--mzka-soft-border: var(--pl-line); --mzka-hero-bg: var(--pl-surface); --mzka-hero-border: var(--pl-line);
	--mzka-pick-bg: var(--pl-raised); --mzka-pick-tx: var(--pl-accent-text);
	--mzka-accent2: var(--pl-accent-text);
	font-family: var(--pl-body);
}
.pl-widget button, .pl-widget .button, .pl-widget [class*="btn"] { font-family: var(--pl-body); border-radius: 999px; }
.pl-widget [aria-current], .pl-widget .is-active, .pl-widget .active { color: var(--pl-accent-ink); }
/* ปลั๊กอินตัวอื่นของ MZK ใช้ชื่อตัวแปรคนละชุด และบางกล่องใส่สีไว้ใน style="" จึงต้องใช้ !important */
/* บางบล็อกของ MZK ใส่ตัวแปรสีไว้ใน style="" ของ .mzks-scope (เช่น --mzks-title:#0a0a0a) จึงต้องใช้ !important ทับ */
body .mzks-scope[style] { --mzks-accent: var(--pl-accent) !important; --mzks-accent2: var(--pl-accent-text) !important; --mzks-title: var(--pl-ink) !important; --mzks-text: var(--pl-ink) !important; --mzks-muted: var(--pl-ink-soft) !important; --mzks-bg: var(--pl-ground) !important; --mzks-surface: var(--pl-surface) !important; --mzks-line: var(--pl-line) !important; }
body .mzkmod { --paper: var(--pl-surface); --ink: var(--pl-ink); --soft: var(--pl-ink-soft); --surface: var(--pl-raised); --line: var(--pl-line); --signal: var(--pl-accent); --signal-ink: var(--pl-accent-text); --mute: var(--pl-ink-soft); --star: var(--pl-accent); --font: var(--pl-body); }
body .mzkmod .btn-primary, body .mzkmod .pip.w, body .mzks-btn:not(.mzks-btn-ghost), body .mzks-badge-live, body .mzks-tip-cat, body .mzka-pick, body .mzka-tag { color: var(--pl-accent-ink); }
body .mzkmod .btn-primary:hover { color: var(--pl-ground); }
body .mzka-answer[style] { background: var(--pl-surface) !important; border: 1px solid var(--pl-line) !important; border-top: 3px solid var(--pl-accent) !important; border-radius: 10px !important; color: var(--pl-ink); }
body .mzkp-sharebar { background: var(--pl-surface); border-color: var(--pl-line); font-family: var(--pl-body); }
body .mzkp-sh-lbl { color: var(--pl-ink); }
body .mzkp-sh { background: var(--pl-raised); border-color: var(--pl-line); color: var(--pl-ink); min-height: 40px; }
/* หน้ารวมของปลั๊กอิน (/analysis/): จำกัดความกว้างย่อหน้าให้อ่านสบาย วิดเจ็ตยังเต็มกว้าง */
body .mzka-hub-content > :is(p, ol, ul, h2, h3), body .mzka-arch-intro { max-width: 72ch; }
/* แถบเครดิตของปลั๊กอินใต้ footer (ใส่ background:#000 ไว้ใน style="") */
body .mzk-credit[style] { background: var(--pl-surface) !important; color: var(--pl-ink-soft) !important; border-top: 1px solid var(--pl-line); }
body .mzk-credit a { color: var(--pl-ink-soft) !important; }
/* ปลั๊กอินมีแถบแชร์ของตัวเองแล้ว ไม่ต้องแสดงแถบแชร์ของธีมซ้ำ */
.pl-prose:has(.mzkp-sharebar) ~ .pl-share { display: none; }
.pl-empty { border: 1px dashed var(--pl-line); border-radius: 10px; padding: 18px; color: var(--pl-ink-soft); background: var(--pl-surface); margin: 0 0 24px; }

/* FAQ */
.pl-faq { margin-top: 48px; }
.pl-faq h2 { margin: 0 0 10px; }
.pl-faq details { border-bottom: 1px solid var(--pl-line); }
.pl-faq summary { cursor: pointer; list-style: none; padding: 15px 40px 15px 0; position: relative; font-weight: 600; line-height: 1.5; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--pl-accent-text); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s var(--pl-ease); }
.pl-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.pl-faq details > div { padding: 0 0 16px; color: var(--pl-ink-soft); }
.pl-faq details > div p:last-child { margin: 0; }

/* ── บทความ ── */
.pl-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .88rem; color: var(--pl-ink-soft); margin: 8px 0 18px; }
.pl-byline a { color: var(--pl-ink); }
.pl-byline__cat { background: var(--pl-accent); color: var(--pl-accent-ink) !important; padding: 2px 12px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.pl-figure { margin: 0 0 22px; }
.pl-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.pl-figure figcaption { font-size: .82rem; color: var(--pl-ink-soft); margin-top: 8px; }
@media (max-width: 719px) { .pl-figure { margin-inline: calc(-1 * var(--pl-gut)); } .pl-figure img { border-radius: 0; } .pl-figure figcaption { padding-inline: var(--pl-gut); } }
.pl-author { display: grid; grid-template-columns: 64px 1fr; gap: 16px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; padding: 16px; margin-top: 36px; }
.pl-author img { border-radius: 50%; width: 64px; height: 64px; }
.pl-author__name { font-weight: 600; margin: 0; }
.pl-author__name a { color: var(--pl-ink); }
.pl-author p { margin: 4px 0 0; font-size: .93rem; color: var(--pl-ink-soft); }
.pl-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; align-items: center; font-size: .9rem; color: var(--pl-ink-soft); }
.pl-share a, .pl-share button { border: 1px solid var(--pl-line); background: var(--pl-surface); padding: 0 16px; text-decoration: none; color: var(--pl-ink); font: 500 .9rem var(--pl-body); cursor: pointer; min-height: 44px; border-radius: 999px; display: inline-flex; align-items: center; }
.pl-share a:hover, .pl-share button:hover { border-color: var(--pl-accent); }
.pl-tags a { display: inline-block; font-size: .82rem; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 999px; padding: 4px 12px; margin: 0 6px 6px 0; text-decoration: none; color: var(--pl-ink-soft); }
.pl-related { margin-top: 44px; }
.pl-pager { margin-top: 28px; }
.pl-pager .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.pl-pager .current { background: var(--pl-accent); color: var(--pl-accent-ink); border-color: var(--pl-accent); font-weight: 600; }

/* ── ท้ายเว็บ ── */
.pl-foot { background: var(--pl-surface); border-top: 1px solid var(--pl-line); padding: 40px 0 24px; font-size: .93rem; color: var(--pl-ink-soft); }
.pl-foot a { color: var(--pl-ink); text-decoration: none; }
.pl-foot a:hover { color: var(--pl-accent-text); }
.pl-foot__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .pl-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.pl-foot__brand { font: 700 1.35rem var(--pl-head); margin: 0 0 6px; color: var(--pl-ink); }
.pl-foot h2 { font-size: 1rem; margin: 0 0 8px; }
.pl-foot ul { list-style: none; margin: 0; padding: 0; }
.pl-foot li a { display: inline-flex; align-items: center; min-height: 36px; }
.pl-foot__base { border-top: 1px solid var(--pl-line); margin-top: 28px; padding-top: 14px; font-size: .82rem; }

.pl-top { position: fixed; right: 16px; bottom: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pl-accent); color: var(--pl-accent-ink); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s var(--pl-ease), transform .3s var(--pl-ease); z-index: 30; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.pl-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* 404 */
.pl-404 { text-align: center; padding: 32px 0; }
.pl-404__code { font: 700 clamp(4.5rem, 22vw, 8rem)/1 var(--pl-head); color: var(--pl-raised); margin: 0; letter-spacing: -.03em; }
.pl-404 .pl-search { max-width: 420px; margin: 18px auto; }
.pl-chips ul { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pl-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--pl-surface); border: 1px solid var(--pl-line); color: var(--pl-ink); text-decoration: none; font-weight: 500; }
.pl-chips a:hover { border-color: var(--pl-accent); }

.alignwide, .alignfull { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--pl-ink-soft); }

/* ═══ 0.3.0: สารบัญบนสุด · บอร์ดก่อนเกม · เนื้อหาแบ่งการ์ด · แผนการเล่น · เกี่ยวกับเรา ═══ */

/* หน้าที่ไม่มีคอลัมน์ข้าง: คอลัมน์เดียว อ่านสบาย */
.pl-cols.pl-cols--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.pl-cols--solo .pl-prose { max-width: none; }

/* ── สารบัญแบบใบรายชื่อผู้เล่น: เลขลำดับเหมือนเลขเสื้อ ── */
.pl-lineup { margin: 0 0 28px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; }
.pl-lineup summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 18px; cursor: pointer; list-style: none; font: 600 1rem var(--pl-head); }
.pl-lineup summary::-webkit-details-marker { display: none; }
.pl-lineup__n { display: inline-flex; align-items: center; gap: 10px; font: 500 .85rem var(--pl-body); color: var(--pl-ink-soft); }
.pl-lineup__n::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--pl-ease); }
.pl-lineup[open] .pl-lineup__n::after { transform: rotate(-135deg) translateY(-2px); }
.pl-lineup ol { list-style: none; margin: 0; padding: 8px 10px 12px; border-top: 1px solid var(--pl-line); display: grid; gap: 2px; }
@media (min-width: 720px) { .pl-lineup ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; } }
.pl-lineup a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 8px; border-radius: var(--pl-r); color: var(--pl-ink); text-decoration: none; line-height: 1.45; }
.pl-lineup a:hover { background: var(--pl-raised); }
.pl-lineup__no { flex: none; display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; border: 1px solid var(--pl-line); border-radius: 6px; background: var(--pl-raised); color: var(--pl-accent-text); font: 600 .8rem var(--pl-head); font-variant-numeric: tabular-nums; }
.pl-lineup a:hover .pl-lineup__no { background: var(--pl-accent); border-color: transparent; color: var(--pl-accent-ink); }

/* ── บอร์ดก่อนเกม (เปิดหน้า hub): วงกลางสนาม + เส้นกึ่งกลางจาง ๆ มุมขวาบน ── */
.pl-board { position: relative; isolation: isolate; overflow: hidden; margin: 8px 0 28px; padding: 18px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; }
@media (min-width: 720px) { .pl-board { padding: 24px 28px 26px; } }
.pl-board::before { content: ""; position: absolute; z-index: -1; right: -110px; top: -120px; width: 300px; height: 300px; border: 1px solid var(--pl-line); border-radius: 50%; }
.pl-board::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 40px; border-left: 1px solid var(--pl-line); }
.pl-board__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.pl-board__tag { padding: 3px 12px; border-radius: 999px; background: var(--pl-accent); color: var(--pl-accent-ink); font: 600 .85rem var(--pl-head); }
.pl-board__time { font-size: .85rem; color: var(--pl-ink-soft); font-variant-numeric: tabular-nums; }
.pl-board h1 { margin: 14px 0 10px; text-wrap: pretty; }
.pl-board__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .pl-board__grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; } }
.pl-board__side { padding: 14px 16px 16px; background: var(--pl-raised); border-radius: 8px; }
.pl-board__label { margin: 0 0 8px; font: 600 .92rem var(--pl-head); }
.pl-board__label:not(:first-child) { margin-top: 16px; }
.pl-board__keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pl-board__keys li { position: relative; padding-left: 22px; font-size: .93rem; line-height: 1.5; }
.pl-board__keys li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 9px; height: 9px; border: 2px solid var(--pl-accent); border-radius: 50%; }
.pl-board__steps { counter-reset: pl-st; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-board__steps li { counter-increment: pl-st; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: .93rem; line-height: 1.5; }
.pl-board__steps li::before { content: counter(pl-st); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pl-accent); color: var(--pl-accent-ink); font: 600 .8rem var(--pl-head); }

/* ── เนื้อหาแบ่งการ์ดตาม H2: ป้ายเลขหัวข้อหน้า H2 ── */
.pl-prose { counter-reset: pl-part; }
.pl-part { counter-increment: pl-part; margin: 18px 0; padding: 4px 18px 18px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; }
@media (min-width: 720px) { .pl-part { padding: 6px 28px 22px; } }
.pl-part > h2 { display: flex; align-items: baseline; gap: 12px; margin-top: .9em; }
.pl-part > h2::before { content: counter(pl-part, decimal-leading-zero); flex: none; position: relative; top: -.15em; padding: 2px 7px; border: 1px solid currentColor; border-radius: 4px; color: var(--pl-accent-text); font: 600 .78rem var(--pl-head); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.pl-part > :last-child { margin-bottom: 0; }

/* ── หน้าแรก: แผนการเล่น (จุดเด่นของเว็บ) — ช่องแรกกว้าง 2 ช่อง มีเส้นโค้งเขตโทษ ── */
.pl-plays__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .pl-plays__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.pl-plays__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pl-plays__grid li:first-child { grid-column: span 2; }
	/* เติมแถวสุดท้ายให้เต็ม: 4/7 ข้อ → ช่องท้ายกว้าง 2 · 3/6 ข้อ → ช่องท้ายเต็มแถว */
	.pl-plays__grid li:last-child:nth-child(3n+1):not(:first-child) { grid-column: span 2; }
	.pl-plays__grid li:last-child:nth-child(3n):not(:first-child) { grid-column: 1 / -1; }
}
.pl-plays__grid li { position: relative; isolation: isolate; overflow: hidden; padding: 18px 20px 20px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; }
.pl-plays__grid li:first-child { background: var(--pl-raised); }
.pl-plays__grid li:first-child::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -90px; width: 190px; height: 190px; border: 1px solid var(--pl-line); border-radius: 50%; }
.pl-plays__no { display: block; margin-bottom: 10px; color: var(--pl-accent-text); font: 700 1.9rem/1 var(--pl-head); font-variant-numeric: tabular-nums; }
.pl-plays__grid h3 { margin: 0 0 6px; }
.pl-plays__grid p { margin: 0; color: var(--pl-ink-soft); font-size: .95rem; line-height: 1.65; }

/* ── หน้าแรก: เกี่ยวกับเรา — ป้ายสกอร์ตัวเลขจริงของเว็บ + ข้อความ ── */
.pl-club { display: grid; gap: 22px; padding: 20px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; }
@media (min-width: 860px) { .pl-club { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; padding: 28px; align-items: center; } }
/* ไม่มีรูป: ข้อความนำ ตัวเลขเป็นป้ายสกอร์เรียงลงด้านขวา (มือถือ: อยู่ใต้ข้อความ) */
.pl-club:not(.pl-club--photo) .pl-club__fig { order: 2; }
@media (min-width: 860px) { .pl-club:not(.pl-club--photo) { grid-template-columns: minmax(0, 1fr) 240px; } .pl-club:not(.pl-club--photo) .pl-club__stats { grid-template-columns: minmax(0, 1fr); } }
.pl-club__fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.pl-club__stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pl-club--photo .pl-club__stats { margin-top: 10px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.pl-club__stats div { display: flex; flex-direction: column-reverse; padding: 14px 16px; background: var(--pl-ground); border: 1px solid var(--pl-line); border-radius: 8px; }
.pl-club__stats dd { margin: 0; color: var(--pl-accent-text); font: 700 1.7rem/1.1 var(--pl-head); font-variant-numeric: tabular-nums; }
.pl-club__stats dt { margin-top: 4px; color: var(--pl-ink-soft); font-size: .85rem; }
.pl-club__kick { margin: 0 0 4px; color: var(--pl-accent-text); font: 600 .85rem var(--pl-head); letter-spacing: .04em; }
.pl-club h2 { margin: 0 0 10px; }
.pl-club__text > p { color: var(--pl-ink-soft); line-height: 1.75; }
.pl-club__text > p:last-child { margin-bottom: 0; }
.pl-club__points { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.pl-club__points li { position: relative; padding-left: 28px; line-height: 1.5; }
.pl-club__points li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 11px; height: 6px; border: solid var(--pl-accent); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

/* ตารางในเนื้อหา (รวมตารางที่แปลงจาก Markdown) — เลื่อนข้างได้บนมือถือ */
.pl-table { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--pl-line); border-radius: 8px; }
.pl-prose table { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
.pl-prose th, .pl-prose td { padding: 10px 14px; border-bottom: 1px solid var(--pl-line); text-align: left; vertical-align: top; }
.pl-prose th { background: var(--pl-raised); font: 600 .88rem var(--pl-head); white-space: nowrap; }
.pl-prose tbody tr:last-child td { border-bottom: 0; }
.pl-table table { margin: 0; }

/* ═══ 0.4.0: นิตยสารพื้นขาว — หัวเว็บแถบเดียวสีเข้ม · hero · แถบหมวดสลับพื้น · การ์ดขาว ═══ */

/* ── หัวเว็บ: แถบเดียวสีเข้มของแบรนด์ (--pl-bar) ติดบนจอ · มือถือ: เมนูเป็นแถวที่สองเลื่อนข้าง ── */
.pl-top-bar { position: sticky; top: 0; z-index: 30; background: var(--pl-bar); color: #fff; }
@media (min-width: 600px) { .admin-bar .pl-top-bar { top: 46px; } }
@media (min-width: 783px) { .admin-bar .pl-top-bar { top: 32px; } }
.pl-top-bar__in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand tools" "nav nav"; align-items: center; column-gap: 16px; }
@media (min-width: 1024px) { .pl-top-bar__in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav tools"; } }
.pl-brand { grid-area: brand; display: inline-flex; align-items: center; min-height: 58px; color: #fff; font: 700 1.35rem/1.1 var(--pl-head); letter-spacing: -.01em; text-decoration: none; }
.pl-brand img { display: block; width: auto; max-height: 42px; }
.pl-tools { grid-area: tools; justify-self: end; display: flex; align-items: center; gap: 6px; }
.pl-tool { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; }
.pl-tool:hover { background: rgba(255, 255, 255, .12); }
.pl-skin__sun { display: none; }
.pl-skin.is-dark .pl-skin__sun { display: block; }
.pl-skin.is-dark .pl-skin__moon { display: none; }
.no-js .pl-skin { display: none; }
.pl-cta-line { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--pl-bar); font: 600 .92rem var(--pl-head); text-decoration: none; }
.pl-cta-line:hover { background: #eef3f8; }
.pl-cta-line__dot { width: 8px; height: 8px; border-radius: 50%; background: #06c755; }
.pl-tabs { grid-area: nav; margin-inline: calc(-1 * var(--pl-gut)); padding-inline: var(--pl-gut); border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 1024px) { .pl-tabs { margin: 0; padding: 0; border: 0; } }
.pl-tabs__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.pl-tabs__list::-webkit-scrollbar { display: none; }
.pl-tabs__list li { flex: none; }
.pl-tabs__list a { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 12px; color: rgba(255, 255, 255, .8); font: 500 .95rem var(--pl-head); white-space: nowrap; text-decoration: none; }
@media (min-width: 1024px) { .pl-tabs__list a { min-height: 70px; } }
.pl-tabs__list a:hover { color: #fff; }
.pl-tabs__list a[aria-current], .pl-tabs__list .current-menu-item > a { color: #fff; font-weight: 600; }
.pl-tabs__list a[aria-current]::after, .pl-tabs__list .current-menu-item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #fff; }
.pl-find { padding: 0 0 14px; }
.no-js .pl-find[hidden] { display: block; }
.pl-search { display: flex; gap: 8px; }
.pl-search input { flex: 1; min-width: 0; min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: #fff; color: #10202e; font: inherit; }
.pl-search input::placeholder { color: #6a7785; }
.pl-search button { display: grid; place-items: center; min-width: 46px; min-height: 46px; border: 0; border-radius: 10px; background: var(--pl-accent); color: var(--pl-accent-ink); cursor: pointer; }

/* ── แถบหมวดเต็มจอ: สลับพื้นขาว / เทาอ่อน ── */
.pl-main--home { padding: 0; }
.pl-sec { padding: 44px 0; background: var(--pl-surface); border-top: 1px solid var(--pl-line); }
@media (min-width: 720px) { .pl-sec { padding: 64px 0; } }
.pl-main--home > .pl-sec:nth-of-type(even) { background: var(--pl-ground); }
.pl-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 24px; }
.pl-sec__head > div { max-width: 68ch; }
.pl-sec__kick { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--pl-accent-text); font: 600 .86rem var(--pl-head); }
.pl-sec__kick::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--pl-accent); border-radius: 50%; }
.pl-sec__head h2, .pl-club h2, .pl-sec--faq .pl-faq > h2 { margin: 0; font-size: clamp(1.5rem, 4.6vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; }
.pl-sec__intro { margin: 10px 0 0; color: var(--pl-ink-soft); line-height: 1.7; }
.pl-sec--faq .pl-faq { margin-top: 0; }
.pl-sec--faq .pl-faq > h2 { margin-bottom: 12px; }

/* ── hero ── */
.pl-hero { border-top: 0; padding: 32px 0 44px; }
@media (min-width: 720px) { .pl-hero { padding: 52px 0 64px; } }
.pl-hero__in { display: grid; gap: 28px; }
@media (min-width: 1024px) { .pl-hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.pl-hero__kick { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 14px; border: 1px solid var(--pl-line); border-radius: 999px; background: var(--pl-ground); color: var(--pl-ink-soft); font-size: .86rem; }
.pl-hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pl-accent); }
.pl-hero h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 6.4vw, 3rem); line-height: 1.18; letter-spacing: -.015em; text-wrap: pretty; }
.pl-hero__lead { max-width: 60ch; margin: 0 0 18px; color: var(--pl-ink-soft); font-size: 1.06rem; line-height: 1.75; }
.pl-hero__chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pl-hero__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--pl-line); border-radius: 999px; background: var(--pl-ground); color: var(--pl-ink); font-size: .9rem; text-decoration: none; }
.pl-hero__chips a:hover { border-color: var(--pl-accent); color: var(--pl-accent-text); }
.pl-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--pl-line); border-radius: 10px; background: var(--pl-surface); color: var(--pl-ink); font: 600 .98rem var(--pl-head); text-decoration: none; transition: border-color .2s var(--pl-ease), filter .2s var(--pl-ease); }
.pl-btn:hover { border-color: var(--pl-ink); }
.pl-btn--solid { border-color: var(--pl-accent); background: var(--pl-accent); color: var(--pl-accent-ink); }
.pl-btn--solid:hover { border-color: var(--pl-accent); filter: brightness(1.1); }
.pl-btn--line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #06c755; }
.pl-hero__panel { padding: 18px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 14px; box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--pl-bar) 70%, transparent); }
.pl-hero__panel-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 600 1.08rem var(--pl-head); }
.pl-hero__panel .pl-empty { margin: 0 0 6px; }
.pl-hero__panel .pl-widget { max-height: 480px; overflow: auto; }

/* ── การ์ดข่าวพื้นขาว (กริด) ── */
.pl-grid--2, .pl-grid--3, .pl-grid--4 { gap: 14px; }
@media (min-width: 1000px) { .pl-grid--4, .pl-grid--3 { gap: 18px; } }
.pl-grid .pl-card--tile { gap: 0; overflow: hidden; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 12px; transition: box-shadow .25s var(--pl-ease), transform .25s var(--pl-ease); }
.pl-grid .pl-card--tile:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -22px color-mix(in srgb, var(--pl-bar) 80%, transparent); }
.pl-grid .pl-card--tile .pl-card__media { border-radius: 0; }
.pl-grid .pl-card--tile .pl-card__body { display: flex; flex: 1; flex-direction: column; padding: 12px 14px 14px; }
.pl-grid .pl-card--tile .pl-card__meta { margin-top: auto; padding-top: 10px; }
.pl-grid .pl-card--tile .pl-card__meta span { padding: 1px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pl-accent) 12%, transparent); font-size: .78rem; }
.pl-grid .pl-card--tile .pl-card__meta span + time::before { display: none; }

/* ── ทางลัดหมวด: การ์ดลิงก์ ── */
.pl-hubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .pl-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pl-hubs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pl-hubs li { position: relative; padding: 16px 18px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 12px; transition: border-color .2s var(--pl-ease); }
.pl-hubs li:hover { border-color: var(--pl-accent); }
.pl-hubs a { color: var(--pl-ink); font: 600 1.08rem var(--pl-head); text-decoration: none; }
.pl-hubs a::after { content: ""; position: absolute; inset: 0; }
.pl-hubs p { margin: 4px 0 0; color: var(--pl-ink-soft); font-size: .9rem; line-height: 1.55; }

/* ── ท้ายเว็บ: สีเข้มเดียวกับหัวเว็บ ── */
.pl-foot { background: var(--pl-bar); border-top: 0; color: rgba(255, 255, 255, .72); }
.pl-foot a, .pl-foot__brand, .pl-foot h2 { color: #fff; }
.pl-foot a:hover { color: #fff; text-decoration: underline; }
.pl-foot__base { border-top-color: rgba(255, 255, 255, .14); }
main .pl-search input { border: 1px solid var(--pl-line); }
/* กล่องคู่วันนี้ใน hero: ซ่อนแถบเลือกวัน (มีในแถบโปรแกรมด้านล่างแล้ว) */
.pl-hero__panel .mzks-dsel { display: none; }
.pl-part > h2, .pl-sec__head h2 { text-wrap: pretty; }
/* ปรับแต่ง: ดินสอของบล็อกเต็มจอ ให้อยู่ในจอ (ค่าเดิมของ WordPress อยู่นอกขอบซ้าย) */
.pl-sec > .customize-partial-edit-shortcut button, .pl-foot > .customize-partial-edit-shortcut button { left: 12px; top: 12px; }

/* ═══ 0.6.0: หน้าหมวดครบ 12 ส่วน — ย่อหน้าเปิด · ภาพ hero · แถบผู้ตรวจ · รายการให้เลือกดู · หัวข้อที่เกี่ยวข้อง ═══ */
.pl-board__intro { max-width: 64ch; margin: 0 0 14px; font-size: 1.05rem; line-height: 1.8; }
.pl-board__intro strong, .pl-board__intro b { color: var(--pl-ink); font-weight: 700; }
.pl-answer--board { margin: 0; background: var(--pl-ground); }
.pl-answer__label { display: inline-block; margin: 0 0 6px !important; padding: 1px 10px; border-radius: 999px; background: var(--pl-accent); color: var(--pl-accent-ink); font: 600 .78rem var(--pl-head); }

/* ภาพ hero ประจำหน้า: กว้างเต็มคอลัมน์ ครอปสัดส่วนแชร์ (1200×630) */
.pl-hubhero { margin: 0 0 14px; overflow: hidden; border: 1px solid var(--pl-line); border-radius: 12px; background: var(--pl-raised); }
.pl-hubhero img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; }

/* แถบผู้ตรวจข้อมูล (E-E-A-T) */
.pl-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 0 0 32px; padding: 10px 14px; border-block: 1px solid var(--pl-line); color: var(--pl-ink-soft); font-size: .86rem; }
.pl-trust span { display: inline-flex; align-items: center; gap: 6px; }
.pl-trust__who::before { content: ""; width: 14px; height: 8px; border: solid var(--pl-accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }
.pl-trust a { color: var(--pl-ink); font-weight: 600; text-decoration: none; }
.pl-trust a:hover { text-decoration: underline; }

/* หัวข้อ H2 ของส่วนในหน้าหมวด */
.pl-hubdata h2, .pl-pick h2, .pl-topics h2 { margin: 0 0 14px; font-size: clamp(1.3rem, 4vw, 1.6rem); font-weight: 700; }
.pl-hubdata { margin-bottom: 36px; }

/* รายการให้เลือกดูอื่น: แถวภาพเล็ก 2 คอลัมน์ */
.pl-pick { margin: 0 0 36px; }
.pl-pick__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pl-pick__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .pl-pick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl-pick__list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 10px; color: var(--pl-ink); text-decoration: none; transition: border-color .2s var(--pl-ease); }
.pl-pick__list a:hover { border-color: var(--pl-accent); }
.pl-pick__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--pl-raised); }
.pl-pick__media img, .pl-pick__media .pl-typecover { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-pick__media .pl-typecover span { display: none; }
.pl-pick__body { display: grid; gap: 4px; min-width: 0; }
.pl-pick__title { font: 600 .95rem/1.45 var(--pl-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-pick__body time { color: var(--pl-ink-soft); font-size: .8rem; }

/* หัวข้อที่เกี่ยวข้อง (ใช้การ์ดเดียวกับทางลัดหน้าแรก) */
.pl-topics { margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--pl-line); }
.pl-topics .pl-hubs { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pl-topics .pl-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ═══ 0.6.1: กรอบเนื้อหา — ทุกส่วนในหน้าหมวด/บทความ/หน้าเพจ เป็นการ์ดขาว มีขอบ ระยะห่าง และเงาโทนสีแบรนด์ ═══ */
body {
	--pl-box-shadow: 0 1px 2px color-mix(in srgb, var(--pl-bar) 8%, transparent), 0 14px 32px -22px color-mix(in srgb, var(--pl-bar) 55%, transparent);
}
.pl-cols .pl-board, .pl-cols .pl-lineup, .pl-cols .pl-part, .pl-cols .pl-hubdata, .pl-cols .pl-pick,
.pl-cols .pl-topics, .pl-cols .pl-faq, .pl-cols .pl-hubhero, .pl-cols .pl-trust {
	margin: 0 0 22px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 12px; box-shadow: var(--pl-box-shadow);
}
.pl-cols .pl-board { margin-top: 8px; }
.pl-cols .pl-hubdata, .pl-cols .pl-pick, .pl-cols .pl-topics, .pl-cols .pl-faq { padding: 18px; }
@media (min-width: 720px) {
	.pl-cols .pl-hubdata, .pl-cols .pl-pick, .pl-cols .pl-topics, .pl-cols .pl-faq { padding: 24px 28px; }
	.pl-cols .pl-board, .pl-cols .pl-lineup, .pl-cols .pl-part, .pl-cols .pl-hubdata, .pl-cols .pl-pick,
	.pl-cols .pl-topics, .pl-cols .pl-faq, .pl-cols .pl-hubhero, .pl-cols .pl-trust { margin-bottom: 28px; }
}
.pl-cols .pl-trust { padding: 10px 16px; }
.pl-cols .pl-part:last-child { margin-bottom: 0; }
.pl-cols .pl-prose { margin-bottom: 28px; }
.pl-cols .pl-hubdata .pl-widget { margin-bottom: 0; }
.pl-cols .pl-faq h2 { margin-top: 0; }
.pl-cols .pl-faq details:last-child { border-bottom: 0; }
/* ของข้างในการ์ด: พื้นเทาอ่อน กันขาวซ้อนขาว */
.pl-cols .pl-pick__list a, .pl-cols .pl-topics .pl-hubs li { background: var(--pl-raised); border-color: transparent; }
.pl-cols .pl-pick__list a:hover, .pl-cols .pl-topics .pl-hubs li:hover { border-color: var(--pl-accent); }
.pl-part--lead { counter-increment: none; padding-top: 18px; }
@media (min-width: 720px) { .pl-part--lead { padding-top: 24px; } }
.pl-part--lead > :first-child { margin-top: 0; }

/* ═══ 0.6.3: หน้าแรก — การ์ดในแถบทุกใบมีกรอบ เงานิ่ง และระยะห่างชุดเดียวกับหน้าหมวด (แถบเต็มจอสลับสีคงไว้) ═══ */
.pl-main--home .pl-grid .pl-card--tile, .pl-main--home .pl-plays__grid li, .pl-main--home .pl-club,
.pl-main--home .pl-hubs li, .pl-main--home .pl-sec--faq .pl-faq {
	background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 12px; box-shadow: var(--pl-box-shadow);
}
.pl-main--home .pl-plays__grid li:first-child { background: var(--pl-raised); }
.pl-main--home .pl-grid .pl-card--tile:hover { box-shadow: 0 2px 4px color-mix(in srgb, var(--pl-bar) 8%, transparent), 0 20px 36px -22px color-mix(in srgb, var(--pl-bar) 70%, transparent); }
.pl-main--home .pl-grid--2, .pl-main--home .pl-grid--3, .pl-main--home .pl-grid--4, .pl-main--home .pl-plays__grid, .pl-main--home .pl-hubs { gap: 18px; }
@media (min-width: 720px) {
	.pl-main--home .pl-grid--2, .pl-main--home .pl-grid--3, .pl-main--home .pl-grid--4, .pl-main--home .pl-plays__grid, .pl-main--home .pl-hubs { gap: 22px; }
	.pl-main--home .pl-club { padding: 28px; }
}
.pl-main--home .pl-sec--faq .pl-faq { margin: 0; padding: 18px; }
@media (min-width: 720px) { .pl-main--home .pl-sec--faq .pl-faq { padding: 24px 28px; } }
.pl-main--home .pl-sec--faq .pl-faq h2 { margin-top: 0; }
.pl-main--home .pl-sec--faq .pl-faq details:last-child { border-bottom: 0; }

/* ═══ 0.6.4: กรอบว่างรอภาพ hero ของหน้าหมวด (เห็นเฉพาะแอดมิน/หน้าปรับแต่ง) ═══ */
.pl-hubhero--empty { aspect-ratio: 40 / 21; display: grid; place-items: center; padding: 18px; background: repeating-linear-gradient(135deg, var(--pl-raised) 0 14px, var(--pl-surface) 14px 28px); border: 2px dashed var(--pl-line); box-shadow: none; }
.pl-cols .pl-hubhero--empty { box-shadow: none; border: 2px dashed color-mix(in srgb, var(--pl-accent) 35%, var(--pl-line)); }
.pl-hubhero__slot { max-width: 46ch; padding: 16px 20px; background: var(--pl-surface); border-radius: 10px; text-align: center; font-size: .9rem; line-height: 1.6; color: var(--pl-ink-soft); }
.pl-hubhero__slot p { margin: 0 0 6px; }
.pl-hubhero__slot strong { color: var(--pl-ink); }
.pl-hubhero__title { font: 600 1.05rem var(--pl-head); color: var(--pl-ink); }
.pl-hubhero__slot .pl-btn { margin-top: 6px; }
.pl-hubhero__note { margin: 6px 0 0 !important; font-size: .78rem; }
@media (max-width: 560px) { .pl-hubhero--empty { aspect-ratio: auto; } }
/* ดินสอของกรอบภาพ: กรอบตัดขอบ (overflow hidden) จึงย้ายดินสอเข้ามาในกรอบ */
.pl-hubhero { position: relative; }
.pl-hubhero > .customize-partial-edit-shortcut button { left: 12px; top: 12px; }

/* ═══ 0.7.0: หัวเว็บ/ท้ายเว็บแบบแพลตฟอร์มผลบอล — หัวเว็บโปร่งเบลอมีแสงสีแบรนด์ · ช่องค้นหาแคปซูลข้างโลโก้ · ท้ายเว็บ 3 ชั้น ═══ */
.pl-top-bar {
	background-color: color-mix(in srgb, var(--pl-bar) 94%, transparent);
	background-image: radial-gradient(520px 140px at 8% -40%, color-mix(in srgb, var(--pl-accent) 45%, transparent), transparent 70%),
		radial-gradient(420px 120px at 92% -60%, color-mix(in srgb, var(--pl-link) 30%, transparent), transparent 70%);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
}
.pl-brand { min-height: 60px; }
.pl-brand img { max-height: 40px; }
.pl-qs { display: none; }
.pl-tool { min-width: 42px; min-height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.pl-tool:hover { background: rgba(255, 255, 255, .16); }
.pl-cta-line { min-height: 42px; }
@media (min-width: 1024px) {
	.pl-top-bar__in { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "brand qs nav tools"; column-gap: 18px; }
	.pl-tabs { justify-self: end; }
	.pl-tabs__list a { min-height: 64px; padding: 0 11px; }
}
@media (min-width: 1200px) {
	.pl-qs { grid-area: qs; display: flex; align-items: center; gap: 8px; width: 240px; height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); transition: border-color .2s var(--pl-ease), background .2s var(--pl-ease); }
	.pl-qs:focus-within { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); }
	.pl-qs input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font: 400 .94rem var(--pl-body); outline: none; }
	.pl-qs input::placeholder { color: rgba(255, 255, 255, .55); }
	.pl-qs input::-webkit-search-cancel-button { filter: invert(1); }
	.pl-tool--find { display: none; }
	.pl-find { display: none !important; }
}

.pl-foot { padding: 0; background: var(--pl-bar); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.pl-foot__links { padding: 28px 0 22px; background: color-mix(in srgb, var(--pl-bar) 82%, #000); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pl-foot__label { margin: 0 0 8px; color: #fff; font: 600 .95rem var(--pl-head); }
.pl-foot__label ~ .pl-foot__label { margin-top: 16px; }
.pl-foot__cloud { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.pl-foot .pl-foot__cloud a { min-height: 32px; color: rgba(255, 255, 255, .68); font-size: .88rem; }
.pl-foot .pl-foot__cloud a:hover { color: #fff; }
.pl-foot__main { padding: 40px 0 34px; background-image: linear-gradient(96deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01)); }
.pl-foot__grid { gap: 28px; }
@media (min-width: 640px) { .pl-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pl-foot__about { grid-column: 1 / -1; } }
@media (min-width: 960px) { .pl-foot__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; } .pl-foot__about { grid-column: auto; } }
.pl-foot__brand { display: inline-flex; margin: 0 0 12px; font: 700 1.4rem/1.2 var(--pl-head); }
.pl-foot__brand img { display: block; width: auto; max-height: 40px; }
.pl-foot__about p { margin: 0 0 8px; max-width: 52ch; line-height: 1.65; }
.pl-foot__about .pl-foot__tag { color: #fff; font-weight: 600; }
.pl-foot__contact { margin-top: 12px !important; display: grid; gap: 2px; }
.pl-foot__contact li { display: flex; align-items: center; gap: 10px; }
.pl-foot__contact svg { flex: none; color: rgba(255, 255, 255, .55); }
.pl-foot__col h2 { margin: 0 0 8px; color: rgba(255, 255, 255, .55); font: 600 .88rem var(--pl-head); letter-spacing: .02em; }
.pl-foot__col a { font-size: .95rem; }
.pl-foot__base { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: rgba(255, 255, 255, .58); }
.pl-foot__base-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 18px 0; }
.pl-foot__base p { margin: 0; }
.pl-foot__social { display: flex; gap: 8px; }
.pl-foot .pl-foot__social a { display: inline-grid; place-items: center; min-width: 40px; height: 40px; min-height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: #fff; font: 600 .8rem var(--pl-head); }
.pl-foot .pl-foot__social a:hover { border-color: #fff; text-decoration: none; }

/* ═══ 0.7.0: ขนาดตัวอักษรขั้นต่ำทั้งเว็บ — ตัวอ่าน ≥ 14px (.875rem) · ป้าย/ชิป ≥ 13.6px (.85rem) · เนื้อหา 16.6px · ช่องพิมพ์บนมือถือ 16px (กัน iOS ซูม) ═══ */
.pl-crumbs, .pl-board__time, .pl-trust, .pl-club__stats dt, .pl-byline { font-size: .9rem; }
.pl-card__meta, .pl-figure figcaption, .wp-caption-text, .pl-tags a, .pl-lineup__n, .pl-foot__base, .pl-byline__cat { font-size: .875rem; }
.pl-board__tag, .pl-sec__kick, .pl-hero__kick, .pl-club__kick { font-size: .875rem; }
.pl-grid .pl-card--tile .pl-card__meta span, .pl-answer__label, .pl-lineup__no { font-size: .85rem; }
.pl-part > h2::before { font-size: .82rem; }
.pl-hubhero__note { font-size: .85rem; }
.pl-widget .mzks-dsel-btn { font-size: .85rem; }
.mzkp-sh-lbl { font-size: .875rem !important; }
@media (max-width: 1199px) { .pl-search input, .pl-qs input { font-size: 16px; } }
/* 0.7.1: ท้ายเว็บบนมือถือ — หมวดหลัก/เกี่ยวกับเว็บ วางคู่กัน ไม่ยาวเป็นแถวเดียว · ปุ่มโซเชียล ≥ 14px */
.pl-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.pl-foot__about { grid-column: 1 / -1; }
@media (min-width: 960px) { .pl-foot__about { grid-column: auto; } }
.pl-foot .pl-foot__social a { font-size: .875rem; }
@media (min-width: 960px) { .pl-foot__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; } }
