/*
Theme Name: KongKame
Theme URI: https://yarkmao.com/
Author: yarkmao.com
Description: ธีมภาษาไทยโทนออโรรา สำหรับเว็บรวมเกมปาร์ตี้และเกมใบ้คำ ออกแบบมาให้อ่านง่ายบนมือถือ รองรับเมนูหลัก โลโก้ที่ปรับเองได้ และวิดเจ็ตในส่วนท้าย
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
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: kongkame
Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar
*/

/* ==========================================================================
   1. โทเคนของธีม
   ========================================================================== */

:root {
  --kk-night: #150a26;
  --kk-night-soft: #22103a;
  --kk-surface: #2c1548;
  --kk-surface-soft: #3a1e5c;
  --kk-ink: #f7f2fb;
  --kk-ink-muted: #cbb8e0;
  --kk-brand: #e8407a;
  --kk-brand-strong: #c42a5f;
  --kk-amber: #ffb84d;
  --kk-amber-strong: #a85c05;
  --kk-mint: #4fd1c5;
  --kk-mint-strong: #0f766e;

  --kk-radius: 1.25rem;
  --kk-radius-lg: 1.75rem;
  --kk-wrap: 46rem;
  --kk-wrap-wide: 72rem;

  --kk-font: "Noto Sans Thai", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
}

/* ==========================================================================
   2. พื้นฐาน
   ========================================================================== */

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--kk-font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--kk-ink);
  background:
    radial-gradient(ellipse 90% 60% at 15% -10%, #47206e 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 100% 0%, #7a2350 0%, transparent 55%),
    var(--kk-night);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--kk-amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--kk-ink);
}

:focus-visible {
  outline: 3px solid var(--kk-amber);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}
h3 {
  font-size: 1.3rem;
}

p,
ul,
ol,
dl,
table,
pre,
blockquote,
figure {
  margin: 0 0 1.25rem;
}

ul,
ol {
  padding-inline-start: 1.5rem;
}

blockquote {
  margin-inline: 0;
  padding: 0.75rem 1.25rem;
  border-inline-start: 4px solid var(--kk-brand);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--kk-radius) var(--kk-radius) 0;
}

code,
kbd,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

code {
  padding: 0.15em 0.4em;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

pre {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--kk-radius);
}

pre code {
  padding: 0;
  background: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: start;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 2.5rem 0;
}

/* ==========================================================================
   3. โครงหน้า
   ========================================================================== */

.kk-wrap {
  width: 100%;
  max-width: var(--kk-wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.kk-wrap--wide {
  max-width: var(--kk-wrap-wide);
}

.kk-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.kk-main {
  flex: 1;
  padding-block: 2.5rem 4rem;
}

.kk-card {
  background: color-mix(in srgb, var(--kk-surface) 78%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.12);
  border-radius: var(--kk-radius-lg);
  padding: 1.5rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kk-skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  z-index: 999;
}

.kk-skip-link:focus {
  inset-inline-start: 1rem;
  top: 1rem;
  padding: 0.6rem 1rem;
  background: var(--kk-amber);
  color: var(--kk-night);
  font-weight: 700;
  border-radius: 12px;
}

/* ==========================================================================
   4. ส่วนหัว
   ========================================================================== */

.kk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 10, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 242, 251, 0.1);
}

.kk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.kk-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--kk-ink);
}

.kk-brand:hover {
  color: var(--kk-ink);
}

.kk-brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
}

.kk-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.kk-brand__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.kk-brand__tagline {
  font-size: 0.72rem;
  color: var(--kk-ink-muted);
}

.kk-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--kk-ink);
  background: var(--kk-surface-soft);
  border: 1px solid rgba(247, 242, 251, 0.14);
  border-radius: 999px;
  cursor: pointer;
}

.kk-nav-toggle__bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.kk-nav-toggle__bars::before,
.kk-nav-toggle__bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: currentColor;
}

.kk-nav-toggle__bars::before {
  top: -6px;
}
.kk-nav-toggle__bars::after {
  top: 6px;
}

.kk-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.kk-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--kk-ink-muted);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.kk-nav a:hover {
  color: var(--kk-ink);
  background: var(--kk-surface-soft);
}

.kk-nav .current-menu-item > a,
.kk-nav .current_page_item > a,
.kk-nav .current-menu-parent > a,
.kk-nav .current-category-ancestor > a {
  color: var(--kk-night);
  background: var(--kk-amber);
}

/* เมนูย่อย */
.kk-nav .sub-menu {
  display: none;
  position: absolute;
  min-width: 12rem;
  flex-direction: column;
  padding: 0.4rem;
  margin-top: 0.3rem;
  background: var(--kk-surface);
  border: 1px solid rgba(247, 242, 251, 0.14);
  border-radius: var(--kk-radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.kk-nav li {
  position: relative;
}

.kk-nav li:hover > .sub-menu,
.kk-nav li:focus-within > .sub-menu {
  display: flex;
}

@media (max-width: 47.99em) {
  .kk-nav {
    display: none;
    width: 100%;
    padding-bottom: 1rem;
  }

  .kk-nav.is-open {
    display: block;
  }

  .kk-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  .kk-nav .sub-menu {
    display: flex;
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding-inline-start: 1rem;
  }

  .kk-header__inner {
    flex-wrap: wrap;
  }
}

@media (min-width: 48em) {
  .kk-nav-toggle {
    display: none;
  }

  .kk-nav {
    display: block !important;
  }
}

/* ==========================================================================
   5. บทความ
   ========================================================================== */

.kk-page-header {
  margin-bottom: 2rem;
}

.kk-page-header__sub {
  color: var(--kk-ink-muted);
  margin: 0;
}

.kk-post-list {
  display: grid;
  gap: 1.25rem;
}

.kk-entry {
  background: color-mix(in srgb, var(--kk-surface) 74%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.12);
  border-radius: var(--kk-radius-lg);
  overflow: hidden;
}

.kk-entry__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.kk-entry__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.kk-entry__title {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.kk-entry__title a {
  color: var(--kk-ink);
  text-decoration: none;
}

.kk-entry__title a:hover {
  color: var(--kk-amber);
}

.kk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--kk-ink-muted);
}

.kk-meta a {
  color: var(--kk-mint);
  text-decoration: none;
}

.kk-meta a:hover {
  text-decoration: underline;
}

.kk-more {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--kk-brand-strong);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.kk-more:hover {
  background: var(--kk-brand);
  color: #fff;
}

/* หน้าบทความเดี่ยว */
.kk-single__header {
  margin-bottom: 1.75rem;
}

.kk-single__thumb {
  margin-bottom: 1.75rem;
}

.kk-single__thumb img {
  width: 100%;
  border-radius: var(--kk-radius-lg);
}

.kk-content > *:last-child {
  margin-bottom: 0;
}

.kk-content .wp-caption-text,
.kk-content figcaption {
  font-size: 0.85rem;
  color: var(--kk-ink-muted);
  text-align: center;
}

/*
 * ตารางลายทางของบล็อกหลัก
 * ค่าเริ่มต้นของ WordPress ทาแถวเว้นแถวเป็นสีสว่าง (#f0f0f0)
 * ซึ่งกลืนกับตัวอักษรสีขาวของธีมมืดจนอ่านไม่ออก จึงเปลี่ยนเป็นโทนมืดโปร่งแสง
 */
.kk-content .wp-block-table.is-style-stripes {
  border-bottom: none;
}

.kk-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.06);
}

.kk-content .wp-block-table th,
.kk-content .wp-block-table td {
  border-color: rgba(247, 242, 251, 0.14);
  color: var(--kk-ink);
}

.kk-content .wp-block-table thead {
  border-bottom: 2px solid rgba(255, 184, 77, 0.5);
}


.alignleft {
  float: left;
  margin: 0 1.25rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0 0 1rem 1.25rem;
}
.aligncenter {
  display: block;
  margin-inline: auto;
}

.kk-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.kk-tags a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--kk-surface-soft);
  color: var(--kk-ink-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.kk-tags a:hover {
  color: var(--kk-night);
  background: var(--kk-amber);
}

/* ==========================================================================
   6. การแบ่งหน้า / นำทาง
   ========================================================================== */

.kk-pagination {
  margin-top: 2.5rem;
}

.kk-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.kk-pagination .page-numbers {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  border-radius: 12px;
  background: var(--kk-surface-soft);
  color: var(--kk-ink-muted);
  text-decoration: none;
  font-weight: 700;
}

.kk-pagination .page-numbers.current,
.kk-pagination .page-numbers:hover {
  background: var(--kk-amber);
  color: var(--kk-night);
}

.kk-post-nav {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.kk-post-nav a {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: var(--kk-radius);
  background: color-mix(in srgb, var(--kk-surface) 70%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.12);
  text-decoration: none;
  color: var(--kk-ink);
}

.kk-post-nav a:hover {
  border-color: var(--kk-amber);
}

.kk-post-nav span {
  display: block;
  font-size: 0.8rem;
  color: var(--kk-ink-muted);
}

@media (min-width: 40em) {
  .kk-post-nav {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   7. ฟอร์มและความคิดเห็น
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--kk-ink);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(247, 242, 251, 0.18);
  border-radius: 12px;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input[type="submit"],
button,
.kk-button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--kk-brand-strong);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

input[type="submit"]:hover,
.kk-button:hover {
  background: var(--kk-brand);
  color: #fff;
}

.kk-search-form {
  display: flex;
  gap: 0.5rem;
}

.kk-comments {
  margin-top: 3rem;
}

.kk-comments ol {
  list-style: none;
  padding: 0;
}

.kk-comments .children {
  list-style: none;
  padding-inline-start: 1.25rem;
}

.kk-comments .comment-body {
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--kk-surface) 70%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.12);
  border-radius: var(--kk-radius);
}

.kk-comments .comment-meta {
  font-size: 0.85rem;
  color: var(--kk-ink-muted);
  margin-bottom: 0.5rem;
}

.kk-comments .avatar {
  border-radius: 999px;
  vertical-align: middle;
  margin-inline-end: 0.5rem;
}

/* ==========================================================================
   8. ส่วนท้าย
   ========================================================================== */

.kk-footer {
  border-top: 1px solid rgba(247, 242, 251, 0.1);
  background: rgba(34, 16, 58, 0.6);
  padding-block: 2.5rem;
}

.kk-footer__widgets {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 40em) {
  .kk-footer__widgets {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}

.kk-footer .widget ul {
  list-style: none;
  padding: 0;
}

.kk-footer .widget li {
  padding-block: 0.25rem;
}

.kk-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--kk-ink-muted);
}

.kk-footer__menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.kk-footer__menu a {
  color: var(--kk-ink-muted);
  text-decoration: none;
}

.kk-footer__menu a:hover {
  color: var(--kk-ink);
}

/* ==========================================================================
   9. หน้าแรก
   ========================================================================== */

.kk-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-block: 2rem 3.5rem;
}

.kk-hero .kk-brand__mark {
  width: 3.5rem;
  height: 3.5rem;
}

.kk-hero__title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
}

.kk-hero__lead {
  max-width: 40rem;
  margin: 0;
  font-size: 1.1rem;
  color: var(--kk-ink-muted);
}

.kk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.kk-hero__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--kk-ink-muted);
}

.kk-button--lg {
  padding: 1rem 2rem;
  font-size: 1.15rem;
}

.kk-button--ghost {
  background: color-mix(in srgb, var(--kk-surface) 80%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.16);
}

.kk-button--ghost:hover {
  background: var(--kk-surface-soft);
}

.kk-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 5.5rem;
}

.kk-section__lead {
  color: var(--kk-ink-muted);
  margin-top: -0.5rem;
}

/* การ์ดหมวดเกม */
.kk-games {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 40em) {
  .kk-games {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kk-game {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  padding: 1.35rem 1.5rem;
  border-radius: var(--kk-radius-lg);
  background: color-mix(in srgb, var(--kk-surface) 78%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.12);
  color: var(--kk-ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.kk-game:hover {
  color: var(--kk-ink);
  transform: translateY(-2px);
}

.kk-game__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.kk-game__emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  flex: none;
  font-size: 1.8rem;
  border-radius: var(--kk-radius);
}

.kk-game__badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--kk-mint-strong);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.kk-game__name {
  font-size: 1.3rem;
  font-weight: 800;
}

.kk-game__num {
  color: var(--kk-ink-muted);
}

.kk-game__tagline {
  font-size: 0.95rem;
  color: var(--kk-ink-muted);
}

.kk-game__meta {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.8rem;
  color: var(--kk-ink-muted);
}

.kk-game__meta strong {
  color: var(--kk-ink);
}

/* สีประจำหมวด */
.kk-game--brand .kk-game__emoji {
  background: rgba(232, 64, 122, 0.16);
}
.kk-game--brand:hover {
  border-color: rgba(232, 64, 122, 0.6);
}
.kk-game--amber .kk-game__emoji {
  background: rgba(255, 184, 77, 0.16);
}
.kk-game--amber:hover {
  border-color: rgba(255, 184, 77, 0.6);
}
.kk-game--violet .kk-game__emoji {
  background: rgba(167, 139, 250, 0.18);
}
.kk-game--violet:hover {
  border-color: rgba(167, 139, 250, 0.6);
}
.kk-game--mint .kk-game__emoji {
  background: rgba(79, 209, 197, 0.16);
}
.kk-game--mint:hover {
  border-color: rgba(79, 209, 197, 0.6);
}
.kk-game--sky .kk-game__emoji {
  background: rgba(86, 204, 242, 0.16);
}
.kk-game--sky:hover {
  border-color: rgba(86, 204, 242, 0.6);
}

/* ขั้นตอนการเล่น */
.kk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.kk-steps li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--kk-radius);
  background: color-mix(in srgb, var(--kk-surface) 74%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.12);
}

.kk-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 999px;
  background: var(--kk-brand-strong);
  color: #fff;
  font-weight: 800;
}

.kk-steps__detail {
  display: block;
  font-size: 0.95rem;
  color: var(--kk-ink-muted);
}

/* ==========================================================================
   10. คำถามที่พบบ่อยในส่วนท้าย
   ========================================================================== */

.kk-faq {
  margin-bottom: 2.5rem;
}

.kk-faq__list {
  display: grid;
  gap: 0.5rem;
}

.kk-faq details {
  border-radius: var(--kk-radius);
  background: color-mix(in srgb, var(--kk-surface) 74%, transparent);
  border: 1px solid rgba(247, 242, 251, 0.12);
  padding: 0.9rem 1.25rem;
}

.kk-faq details[open] {
  border-color: rgba(255, 184, 77, 0.45);
}

.kk-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.kk-faq summary::-webkit-details-marker {
  display: none;
}

.kk-faq summary::after {
  content: "+";
  color: var(--kk-amber);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.kk-faq details[open] summary::after {
  transform: rotate(45deg);
}

.kk-faq__answer {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--kk-ink-muted);
}

/* ==========================================================================
   11. อื่น ๆ
   ========================================================================== */

.kk-empty {
  text-align: center;
  padding-block: 3rem;
}

.kk-404__code {
  font-size: clamp(4rem, 18vw, 9rem);
  line-height: 1;
  font-weight: 800;
  color: var(--kk-brand);
  margin: 0;
}

.sticky .kk-entry__title::before {
  content: "📌 ";
}

.bypostauthor > .comment-body .comment-meta {
  color: var(--kk-amber);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
