:root {
  --paper: #efe4d4;
  --paper-2: #f7f1e6;
  --ink: #1c1612;
  --muted: #6d5c4e;
  --line: #ddcfbb;
  --shelf: #14110e;
  --shelf-2: #241c17;
  --cream: #f4eadc;
  --copper: #c4622d;
  --rail: #201912;
  --accent: #c4622d;
  color: var(--ink);
  font-family: "Segoe UI", Candara, sans-serif;
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.pk-page { min-height: 100vh; background: #090807; }
.pk-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
  padding: 0 0 0 48px;
  background:
    radial-gradient(900px 520px at 72% 46%, rgba(92, 24, 32, .42), transparent 62%),
    radial-gradient(640px 420px at 12% 80%, rgba(92, 64, 24, .22), transparent 70%),
    #090807;
  color: var(--cream);
}
.pk-hero::before,
.pk-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pk-hero::before {
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(198, 161, 90, .16) 49.5%, transparent 52%),
    linear-gradient(-45deg, transparent 47%, rgba(122, 36, 44, .22) 49.5%, transparent 52%);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 28% 48%, #000 8%, transparent 72%);
}
.pk-hero::after {
  background:
    repeating-radial-gradient(circle at 74% 50%, transparent 0 58px, rgba(198, 161, 90, .13) 59px, transparent 60px),
    repeating-conic-gradient(from 6deg at 74% 50%, transparent 0 17deg, rgba(122, 36, 44, .16) 17.6deg, transparent 18.4deg);
  mask-image: radial-gradient(circle at 74% 50%, #000 0, transparent 64%);
}
.pk-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  align-items: stretch;
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
}
.pk-hero-copy {
  position: relative; z-index: 3; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 36px 12px 36px 0;
}
.pk-here { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: center; min-width: 0; margin-bottom: 22px; }
.pk-here img { height: 48px; width: auto; max-width: 168px; object-fit: contain; flex: none; }
.pk-here b { font-family: Palatino, "Palatino Linotype", Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1.1; }
.pk-here span, .pk-chip span, .pk-fold-kicker, .pk-fold-more, .pk-rail p, .pk-near p {
  letter-spacing: .14em; text-transform: uppercase; font-size: 11px;
}
.pk-here span {
  flex: 1 0 100%; margin: 0;
  color: #c8b6a2; font-size: 13px; line-height: 1.35;
  letter-spacing: .01em; text-transform: none;
}
.pk-slogan {
  margin: 18px 0 0;
  max-width: 11em;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  color: #f6e7d4;
  text-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}
.pk-slogan span { display: block; }
.pk-slogan-sub {
  margin: 10px 0 22px;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #c6a15a;
  text-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}
.pk-empty { margin: 0; color: #d9cbb8; }
.pk-picks { display: grid; gap: 10px; max-width: 420px; }
.pk-pick {
  position: relative;
  display: block;
  height: 74px;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
}
.pk-pick-canvas { display: block; width: 100%; height: 100%; }
.pk-pick-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.pk-wheel-stage {
  position: relative; min-width: 0; min-height: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: flex-start;
}
.pk-wheel {
  position: absolute; top: 50%; left: 0; width: 138%; aspect-ratio: 1 / 1;
  transform: translate(12px, -50%);
}
.pk-wheel-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.pk-wheel.is-hot .pk-wheel-canvas { cursor: pointer; }

.pk-stage {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  min-height: 70vh;
  background: #0c0c12;
  color: #eeeef6;
}
.pk-top {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 10px 18px;
  background: #101018; border-bottom: 1px solid rgba(255,255,255,.06);
}
.pk-top-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700;
}
.pk-top-brand img {
  width: 36px; height: 36px; object-fit: contain;
  background: #fff; border-radius: 8px; padding: 4px;
}
.pk-top-actions { display: flex; gap: 8px; flex: none; }
.pk-top-ghost, .pk-top-go {
  text-decoration: none; border-radius: 999px; padding: 10px 16px;
  font-weight: 700; font-size: 14px;
}
.pk-top-ghost { color: #fff; border: 1px solid rgba(255,255,255,.16); }
.pk-top-go { background: #ff4d8d; color: #fff; }
.pk-cats {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 4px;
}
.pk-cats a {
  flex: none; text-decoration: none; color: #eeeef6;
  background: #171722; border-radius: 999px; padding: 8px 14px; font-size: 14px;
}
.pk-cats a:hover { background: #22222e; }
.pk-main { padding: 22px 28px 72px; max-width: 1220px; }
.pk-board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px;
}
.pk-feat {
  position: relative; overflow: hidden; min-height: 132px; padding: 16px;
  display: flex; align-items: flex-end; text-decoration: none; color: #fff;
  background: #171722; border-radius: 22px;
}
.pk-feat i {
  position: absolute; right: 14px; top: 14px; width: 74px; height: 74px; border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 36%),
    var(--blob, #ff4d8d);
  opacity: .9;
}
.pk-feat b { position: relative; font-size: 18px; font-weight: 700; line-height: 1.15; }
.pk-row { margin-bottom: 18px; }
.pk-row header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.pk-row h2 { margin: 0; font-size: 22px; font-weight: 700; }
.pk-row header a { color: #ff4d8d; text-decoration: none; font-size: 14px; }
.pk-row header span {
  margin-left: auto; color: #9a9ab0; font-size: 13px;
}
.pk-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.pk-cover {
  flex: 0 0 148px; height: 196px; border-radius: 16px; text-decoration: none; color: #fff;
  display: flex; align-items: flex-end; padding: 12px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72)),
    linear-gradient(145deg, #2a2440, #14141c 60%);
}
.pk-cover b { font-size: 16px; line-height: 1.15; }
.pk-apk {
  display: flex; align-items: center; gap: 16px; margin: 8px 0 28px; padding: 18px 20px;
  text-decoration: none; color: #fff; border-radius: 20px;
  background: linear-gradient(90deg, #24182c, #14141c 55%);
}
.pk-apk b { font-size: 22px; }
.pk-apk span { color: #b7b7c8; }
.pk-apk em {
  margin-left: auto; font-style: normal; background: #ff4d8d; color: #fff;
  border-radius: 999px; padding: 10px 16px; font-weight: 700;
}
.pk-fold { background: transparent; }
.pk-fold > summary, .pk-part > summary { cursor: pointer; list-style: none; }
.pk-fold > summary::-webkit-details-marker, .pk-part > summary::-webkit-details-marker { display: none; }
.pk-fold > summary { padding: 8px 0 12px; }
.pk-fold > summary h1 {
  margin: 6px 0 0; font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
}
.pk-fold-kicker, .pk-fold-more { display: inline-block; }
.pk-fold-kicker { color: #ff4d8d; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.pk-fold-more { color: #9a9ab0; margin-left: 12px; }
.pk-fold[open] > summary .pk-fold-more { display: none; }
.pk-fold-body { display: flex; flex-direction: column; gap: 4px; max-width: 860px; }
.pk-part { border-top: 1px solid rgba(255,255,255,.08); }
.pk-part > summary { padding: 16px 0 8px; font-size: 22px; font-weight: 700; }
.pk-part > summary::before { content: "+"; display: inline-block; width: 1.2em; color: #ff4d8d; }
.pk-part[open] > summary::before { content: "–"; }
.pk-part-body { padding: 0 0 16px; line-height: 1.6; font-size: 16px; color: #c5c5d4; }
.pk-part-body p { margin: 0 0 12px; }
.pk-part-body a { color: #ff4d8d; text-underline-offset: 3px; }
.pk-near { margin-top: 8px; padding-top: 8px; }
.pk-near p { margin: 0 0 8px; color: #9a9ab0; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.pk-near ul, .pk-part-body ul, .pk-part-body ol { margin: 0 0 12px; padding-left: 18px; }
.pk-near li { margin: 6px 0; }
.pk-near a { color: #eeeef6; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.16); }
.pk-foot {
  display: grid; grid-template-columns: 1fr 1fr minmax(180px, 280px);
  gap: 22px; margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08); color: #9a9ab0; font-size: 14px;
}
.pk-foot b { display: block; color: #fff; margin-bottom: 10px; }
.pk-foot a { display: block; color: #c5c5d4; text-decoration: none; margin: 6px 0; }
.pk-foot p { margin: 0 0 8px; line-height: 1.45; }
.pk-dock { display: none; }

.pk-rail {
  position: sticky; top: 0; height: 100vh; overflow: auto;
  background: #101018; color: #9a9ab0; padding: 10px 6px 24px;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 4px;
}
.pk-rail a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none; text-align: center; min-height: 68px; padding: 8px 4px;
  border-radius: 14px; color: #9a9ab0; font-size: 11px; line-height: 1.15;
}
.pk-rail i {
  width: 22px; height: 22px; border-radius: 7px; background: currentColor; opacity: .85;
}
.pk-rail a:hover { background: rgba(255,255,255,.04); color: #fff; }
.pk-rail a[aria-current="page"] { background: rgba(255, 77, 141, .16); color: #fff; }
.pk-rail-toggle { display: none; }

.pk-more { margin: 0; background: #090807; }
.pk-more > summary {
  cursor: pointer;
  list-style: none;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.4;
  color: rgba(244, 241, 234, .32);
  padding: 14px 16px 18px;
  user-select: none;
}
.pk-more > summary::-webkit-details-marker { display: none; }
.pk-more > summary::marker { content: ""; }
.pk-more > summary:hover,
.pk-more[open] > summary { color: rgba(244, 241, 234, .58); }
.pk-status { min-height: 100vh; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.pk-status main { text-align: center; }
.pk-status a { color: var(--copper); }

@media (max-width: 980px) {
  .pk-page { display: flex; flex-direction: column; min-height: 100dvh; }
  .pk-hero {
    flex: 1 0 auto;
    flex-direction: column;
    min-height: 0;
    padding: 16px 16px 0;
  }
  .pk-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(200px, 1fr);
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }
  .pk-hero-copy { padding: 4px 0 8px; }
  .pk-slogan { font-size: 30px; max-width: 9em; }
  .pk-slogan-sub { font-size: 20px; margin-bottom: 12px; max-width: 100%; }
  .pk-pick { height: 58px; }
  .pk-picks { gap: 8px; }
  .pk-wheel-stage { height: auto; min-height: 0; max-height: none; }
  .pk-more > summary { padding: 10px 16px 12px; }
  .pk-wheel { width: 132%; left: 0; top: 50%; transform: translate(8px, -50%); }
  .pk-board { grid-template-columns: 1fr 1fr; }
  .pk-apk { flex-wrap: wrap; }
  .pk-apk em { margin-left: 0; }
  .pk-stage { grid-template-columns: 1fr; }
  .pk-main { padding: 18px 16px 96px; }
  .pk-foot { grid-template-columns: 1fr; }
  .pk-top { padding: 10px 12px; }
  .pk-top-ghost, .pk-top-go { padding: 8px 12px; }
  .pk-rail {
    position: fixed; left: 0; top: 0; z-index: 5; width: 96px; height: 100vh;
    transform: translateX(-105%); transition: transform .2s ease;
  }
  .pk-rail.is-open { transform: none; }
  .pk-dock {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    background: #14141c; border-top: 1px solid rgba(255,255,255,.08);
  }
  .pk-dock a, .pk-dock .pk-rail-toggle {
    display: flex; align-items: center; justify-content: center;
    min-height: 56px; padding: 8px 4px; background: transparent; border: 0;
    color: #9a9ab0; text-decoration: none; font-size: 11px; text-align: center;
  }
}
