/* Homepage: an arena poster with a compact official news feed. */
body[data-page="overview"] { background: #080b10; }
body[data-page="overview"] main { max-width: 1680px; padding: 28px 32px 40px; }
.kpl-home { --home-gold: #f2ce85; --home-muted: #9c9eaa; color: #f6f4ef; }
.kpl-home svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; }
.kpl-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 430px; padding: 47px 48px 70px; background: radial-gradient(ellipse at 75% 55%, #71532b32, transparent 56%), linear-gradient(115deg, #14161b, #101116 40%, #1b1915); border: 1px solid #c7a56938; }
.kpl-hero::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: 90px; height: 3px; background: var(--home-gold); }
.kpl-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, #d3af6e, #d3af6e00 60%); }
.kpl-hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .2; background: repeating-linear-gradient(120deg, transparent 0 118px, #cbb47d20 119px, transparent 120px), repeating-linear-gradient(0deg, transparent 0 70px, #cbb47d0c 71px, transparent 72px); }
.kpl-hero-copy { position: relative; z-index: 2; width: fit-content; max-width: 65%; }
.kpl-kicker { display: flex; align-items: center; gap: 10px; color: #d4c2a0; font-size: 11px; letter-spacing: .16em; font-weight: 600; }
.kpl-kicker > span { width: 6px; height: 6px; background: var(--home-gold); transform: rotate(45deg); }
.kpl-hero h1 { color: #fffaf0; font-size: clamp(48px, 5.3vw, 80px); line-height: 1.16; font-weight: 950; letter-spacing: .025em; margin: 23px 0 14px; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; transform: skewX(-7deg); transform-origin: left center; text-shadow: 0 4px 24px #0005; }
.kpl-hero h1 em { display: inline-block; font-style: normal; color: var(--home-gold); background: linear-gradient(135deg, #fff1c9 6%, #e9ba69 56%, #c08a3c); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.kpl-hero-sub { color: #b2ada3; font-size: 13px; letter-spacing: .22em; }
.kpl-hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 28px; }
.kpl-cta { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: var(--home-gold); color: #18140d; border: 1px solid #ffe1a2; padding: 13px 20px; min-height: 48px; font-size: 13px; font-weight: 800; transition: background .2s, box-shadow .2s; }
.kpl-cta:hover { background: #ffe3aa; box-shadow: 0 0 24px #f2ce8520; }
.kpl-secondary { display: inline-flex; align-items: center; gap: 14px; color: #ede2cd; font-size: 12px; min-height: 44px; }
.kpl-secondary:hover { color: var(--home-gold); }
.kpl-hero-art { position: absolute; z-index: 0; inset: 0 0 0 43%; display: grid; place-items: center; pointer-events: none; }
.kpl-hero-art::before { content: ""; position: absolute; width: 60%; height: 120%; top: -15%; background: linear-gradient(90deg, transparent, #f5d18810 40%, #f5d18828 50%, #f5d18808 60%, transparent); transform: skewX(-24deg); }
.kpl-hero-art::after { content: ""; position: absolute; width: 88%; height: 1px; top: 76%; background: linear-gradient(90deg, transparent, #ecc37470, transparent); box-shadow: 0 0 30px 5px #ecc37412; transform: rotate(-15deg); }
.kpl-hero-word { position: absolute; top: 12%; left: 3%; font-family: Impact, "Arial Black", sans-serif; font-size: clamp(100px, 17vw, 260px); line-height: 1; font-style: italic; font-weight: 900; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1px #eacb8826; transform: rotate(-7deg); }
.kpl-hero-art img { position: relative; width: min(80%, 380px); height: 340px; object-fit: contain; filter: drop-shadow(0 18px 30px #000a); transform: rotate(-7deg) translateY(-1%); }
.kpl-art-caption { position: absolute; bottom: 60px; right: 34px; font-size: 9px; letter-spacing: .3em; color: #d5ba8185; }
.kpl-hero-edge { position: absolute; bottom: 0; left: 0; right: 0; min-height: 38px; display: flex; justify-content: space-between; align-items: center; padding: 0 25px; border-top: 1px solid #d7b36a24; font-size: 9px; letter-spacing: .22em; color: #b3a385; background: #090a0b45; }
.kpl-hero-edge span:last-child { letter-spacing: .3em; }
.kpl-news { margin-top: 34px; scroll-margin-top: 24px; }
.kpl-section-head, .kpl-section-head > div { display: flex; align-items: center; }
.kpl-section-head { justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.kpl-section-head > div { gap: 12px; }
.kpl-section-head h2 { font-size: 21px; margin: 0; color: #f5f2eb; letter-spacing: .05em; scroll-margin-top: 25px; }
.kpl-section-index { font-size: 12px; color: var(--home-gold); font-family: ui-monospace, monospace; }
.kpl-section-en { color: #6c6d75; font-size: 9px; letter-spacing: .16em; margin-left: 5px; }
.kpl-section-head > a { display: inline-flex; gap: 12px; align-items: center; color: #b5b0a6; font-size: 11px; min-height: 36px; }
.kpl-section-head > a:hover { color: var(--home-gold); }
.kpl-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.kpl-feature { display: grid; grid-template-columns: minmax(120px, .85fr) minmax(0, 1fr); min-height: 260px; background: #13151b; border: 1px solid #b99c6530; transition: border-color .2s, background .2s; }
.kpl-feature:hover { border-color: #d7b36a99; background: #191b22; }
.kpl-feature-art { position: relative; isolation: isolate; overflow: hidden; min-height: 100%; background: radial-gradient(ellipse at 40% 30%, #b7904630, transparent 65%), linear-gradient(135deg, #25221c, #151417); display: grid; align-items: center; }
.kpl-feature-art::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, #08090c80, transparent 65%); pointer-events: none; }
.kpl-feature-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s; }
.kpl-feature:hover .kpl-feature-art img { transform: scale(1.045); }
.kpl-feature-word { color: #dbb977; font-family: Impact, "Arial Black", sans-serif; font-size: clamp(45px, 6vw, 95px); font-weight: 900; font-style: italic; letter-spacing: -.06em; text-align: center; transform: rotate(-10deg); }
.kpl-feature-art.has-image .kpl-feature-word { display: none; }
.kpl-feature-label { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 10px; color: #17140c; background: var(--home-gold); font-size: 11px; font-weight: 800; }
.kpl-feature-copy { padding: 24px 20px 21px; display: flex; flex-direction: column; min-width: 0; }
.kpl-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 10px; color: #92939e; font-variant-numeric: tabular-nums; }
.kpl-news-tag { color: #d5b67c; }
.kpl-feature h3 { margin: 18px 0 24px; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.65; color: #f5f1e8; font-weight: 700; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.kpl-read { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; color: var(--home-gold); font-size: 11px; }
.kpl-read svg { width: 18px; height: 18px; }
.kpl-news-list { border-top: 1px solid #333037; }
.kpl-news-row { min-height: 87px; display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; align-items: center; gap: 13px; padding: 14px 3px; border-bottom: 1px solid #2a292e; transition: background .2s; }
.kpl-news-row:hover { background: #f2ce8505; }
.kpl-news-number { align-self: start; margin-top: 2px; color: #73664f; font-family: ui-monospace, monospace; font-size: 12px; }
.kpl-news-row h3 { color: #dededc; font-size: 14px; font-weight: 600; line-height: 1.65; margin: 7px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kpl-news-row > span:last-child { color: #827967; font-size: 17px; }
.kpl-news-row:hover h3, .kpl-news-row:hover > span:last-child { color: var(--home-gold); }
.kpl-news-footer { display: flex; justify-content: flex-start; align-items: center; gap: 20px; min-height: 42px; color: #98959a; font-size: 10px; line-height: 1.7; }
.kpl-news-footer button { order: -1; display: inline-flex; gap: 10px; align-items: center; min-height: 40px; flex-shrink: 0; background: transparent; color: #b6a88c; font-size: 11px; padding: 4px 8px 4px 0; }
.kpl-news-footer button:hover { color: var(--home-gold); }
.kpl-news-footer button span { font-size: 17px; }
.kpl-news-loading, .kpl-news-empty { min-height: 260px; display: flex; justify-content: center; align-items: center; gap: 20px; flex-direction: column; background: #121319; color: #a8a3a0; font-size: 13px; border: 1px solid #b99c6526; }
.kpl-news-empty strong { font-size: 16px; color: #e6ded0; }
.kpl-news-empty a { display: inline-flex; gap: 15px; min-height: 44px; align-items: center; color: var(--home-gold); }
.kpl-quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #333037; border-bottom: 1px solid #333037; margin-top: 20px; }
.kpl-quicklinks a { display: flex; gap: 18px; align-items: center; min-height: 66px; margin: 0; padding: 14px 22px; border-radius: 0; color: #d2cec6; font-size: 13px; border-right: 1px solid #333037; }
.kpl-quicklinks a:last-child { border-right: 0; }
.kpl-quicklinks a > span { color: #7c7363; font-size: 10px; font-family: ui-monospace, monospace; }
.kpl-quicklinks strong { font-weight: 600; letter-spacing: .08em; }
.kpl-quicklinks svg { margin-left: auto; width: 18px; height: 18px; color: #c2a472; }
.kpl-quicklinks a:hover { background: #d7b36a0a; color: var(--home-gold); }
@media (min-width: 1600px) { .kpl-hero { min-height: 470px; padding-block: 55px 80px; } .kpl-hero-art img { height: 380px; } }
@media (max-width: 1150px) and (min-width: 761px) {
  body[data-page="overview"] main { padding: 24px; }
  .kpl-hero { padding: 38px 30px 65px; min-height: 400px; }
  .kpl-hero h1 { font-size: 60px; }
  .kpl-hero-art { left: 46%; }
  .kpl-hero-art img { width: 94%; }
  .kpl-hero-actions { gap: 16px; }
  .kpl-cta { padding-inline: 15px; gap: 12px; }
  .kpl-news-grid { gap: 24px; grid-template-columns: 1fr; }
  .kpl-feature { min-height: 220px; grid-template-columns: .8fr 1.2fr; }
  .kpl-feature-art { min-height: 220px; }
  .kpl-feature h3 { font-size: 22px; -webkit-line-clamp: 3; }
}
@media (max-width: 760px) {
  body[data-page="overview"] main { padding: 18px 16px 32px; }
  .kpl-hero { min-height: 415px; padding: 32px 25px 62px; }
  .kpl-hero-copy { max-width: 100%; }
  .kpl-kicker { font-size: 9px; letter-spacing: .1em; }
  .kpl-hero h1 { font-size: clamp(47px, 9.5vw, 66px); margin: 26px 0 17px; }
  .kpl-hero-sub { font-size: 11px; letter-spacing: .16em; }
  .kpl-hero-art { left: 38%; top: 2%; bottom: 12%; opacity: .43; }
  .kpl-hero-art img { width: 125%; max-width: none; height: 300px; transform: rotate(-9deg) translateX(13%); }
  .kpl-hero-word { font-size: 160px; top: 18%; left: 0; }
  .kpl-art-caption { display: none; }
  .kpl-hero-actions { gap: 16px; margin-top: 28px; }
  .kpl-cta { padding: 12px 14px; font-size: 12px; gap: 14px; }
  .kpl-secondary { font-size: 11px; gap: 7px; }
  .kpl-hero-edge { padding-inline: 18px; font-size: 8px; letter-spacing: .12em; }
  .kpl-news { margin-top: 28px; }
  .kpl-section-head { gap: 8px; margin-bottom: 16px; }
  .kpl-section-head > div { gap: 8px; }
  .kpl-section-head h2 { font-size: 19px; }
  .kpl-section-en { display: none; }
  .kpl-news-grid { grid-template-columns: 1fr; gap: 20px; }
  .kpl-feature { min-height: 210px; grid-template-columns: minmax(110px, .8fr) minmax(0, 1fr); }
  .kpl-feature-copy { padding: 20px 16px; }
  .kpl-feature h3 { font-size: 17px; line-height: 1.6; margin: 16px 0 20px; }
  .kpl-feature-word { font-size: 57px; }
  .kpl-news-row { padding-block: 16px; grid-template-columns: 22px minmax(0, 1fr) 16px; gap: 10px; }
  .kpl-news-row h3 { font-size: 14px; }
  .kpl-news-footer { align-items: center; font-size: 9px; }
  .kpl-quicklinks { margin-top: 16px; }
  .kpl-quicklinks a { min-height: 62px; padding: 12px 8px; gap: 6px; justify-content: center; font-size: 11px; }
  .kpl-quicklinks a > span { display: none; }
  .kpl-quicklinks svg { margin-left: 1px; width: 15px; }
}
@media (max-width: 380px) {
  body[data-page="overview"] main { padding-inline: 12px; }
  .kpl-hero { padding-inline: 21px; }
  .kpl-hero-actions { gap: 13px; }
  .kpl-cta { gap: 9px; padding-inline: 12px; }
  .kpl-secondary { gap: 5px; font-size: 10px; }
}
/* Entry to the KPL meme archive. */
.kpl-meme-entry { display: flex; align-items: center; gap: 25px; margin-top: 30px; padding: 24px 28px; border: 1px solid #b99a5d48; background: linear-gradient(110deg, #242016, #11151b 65%); }
.kpl-meme-entry:hover { border-color: #e9c57b99; }
.kpl-meme-symbol { color: #e5c488; font-family: Impact, "Arial Narrow", ui-monospace, monospace; font-size: 58px; letter-spacing: -.04em; padding-right: 25px; border-right: 1px solid #c8a86d44; line-height: 1.2; }
.kpl-meme-entry-copy { min-width: 0; }
.kpl-meme-entry-copy > span { color: #cfb783; font-size: 9px; letter-spacing: .1em; }
.kpl-meme-entry-copy h2 { color: #f2ecdf; margin: 7px 0; font-size: 24px; }
.kpl-meme-entry-copy > div { color: #b7b6b0; font-size: 11px; line-height: 1.8; }
.kpl-meme-entry-action { display: flex; align-items: center; gap: 15px; color: #e5c488; font-size: 12px; margin-left: auto; white-space: nowrap; }
@media (max-width: 900px) { .kpl-meme-entry { padding: 22px; gap: 20px; } .kpl-meme-symbol { font-size: 45px; padding-right: 20px; } .kpl-meme-entry-action { font-size: 11px; gap: 8px; } }
@media (max-width: 650px) {
  .kpl-meme-entry { position: relative; padding: 20px 18px; gap: 16px; margin-top: 23px; align-items: flex-start; }
  .kpl-meme-symbol { font-size: 38px; padding-right: 15px; margin-top: 24px; }
  .kpl-meme-entry-copy h2 { font-size: 22px; }
  .kpl-meme-entry-copy > div { font-size: 10px; padding-bottom: 28px; }
  .kpl-meme-entry-action { position: absolute; right: 18px; bottom: 15px; font-size: 10px; }
}
@media (max-width: 380px) { .kpl-meme-symbol { font-size: 31px; padding-right: 12px; } .kpl-meme-entry { gap: 12px; padding-inline: 15px; } }
@media (prefers-reduced-motion: reduce) { .kpl-home *, .kpl-home *::before, .kpl-home *::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .kpl-hero h1 em { -webkit-text-fill-color: CanvasText; } .kpl-hero, .kpl-feature, .kpl-cta { border: 1px solid CanvasText; } }
