@font-face { font-family: "Shantell Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/shantell-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Shantell Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/shantell-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Myfont"; src: url("/assets/fonts/Myfont-Digits.ttf") format("truetype"); font-display: swap; }
/* Lived by Leah. Palette: Golden Pollen, Mustard, Frosted Blue, Blue Grey, Porcelain. */
:root {
  --pollen: #FDC921;
  --mustard: #FDD85D;
  --frost: #99D6EA;
  --bluegrey: #6798C0;
  --porcelain: #FFFDF7;
  --ink: #1E3248;
  --muted: #4F6277;
  --line: #E4DAB4;
  --danger: #B3261E;
  --font-display: "Shantell Sans", "Comic Sans MS", "Segoe Print", cursive;
  --font-body: "Shantell Sans", "Comic Sans MS", "Segoe Print", cursive;
  --font-pixel: "Shantell Sans", "Comic Sans MS", cursive;
  --sidebar-w: 248px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--porcelain); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 800; }
h2 { font-size: 22px; font-weight: 600; }
p { margin: 0 0 12px; max-width: 65ch; }
a { color: #2F6590; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--bluegrey); outline-offset: 2px; }

/* Layout: fixed left sidebar, content column on the right. */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  background: var(--frost); padding: 28px 20px; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 28px;
  border-right: 4px solid var(--pollen);
}
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1; }
.brand-top { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 54px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sidebar li a {
  display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-weight: 700;
}
.sidebar li a:hover { background: var(--mustard); }
.sidebar li a.active { background: var(--pollen); }
.admin-link { margin-top: auto; font-size: 14px; color: var(--ink); }
.content { padding: 40px max(24px, 4vw) 64px; max-width: 980px; width: 100%; }
.lede { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.empty, .soon { background: #FFF6D6; border: 1px solid var(--line); border-radius: 8px; padding: 16px; max-width: 65ch; }
.menu-btn { display: none; }

/* Writing posts */
.post { border-top: 1px solid var(--line); padding: 24px 0; max-width: 68ch; }
.post time { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.post h2 { margin-top: 4px; }
.post-vlog { font-weight: 700; }

/* Vlog grid */
.vlog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; }
.vlog { min-width: 0; }
.vlog h2 { font-size: 16px; margin: 10px 0 4px; font-family: var(--font-body); font-weight: 700; line-height: 1.35; }
.vlog-links { display: flex; gap: 14px; font-size: 14px; margin: 0; }
.vlog-thumb {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px; background: var(--ink);
}
.vlog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vlog-thumb .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: var(--pollen); box-shadow: 0 2px 0 rgba(30,50,72,.35);
}
.vlog-thumb .play::after {
  content: ""; position: absolute; left: 25px; top: 18px;
  border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.vlog iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 10px; display: block; }

/* Buttons and forms */
.btn {
  display: inline-block; background: var(--pollen); color: var(--ink); font: inherit; font-weight: 700;
  border: 2px solid var(--ink); border-radius: 8px; padding: 10px 18px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--mustard); }
.btn.ghost { background: transparent; }
.form { display: grid; gap: 8px; max-width: 560px; margin-bottom: 32px; }
.form label { font-weight: 700; font-size: 14px; margin-top: 6px; }
input, textarea, select {
  font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--bluegrey);
  border-radius: 8px; padding: 10px 12px; width: 100%;
}
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.notice { background: #E6F5EA; border: 1px solid #9AD3AA; padding: 10px 14px; border-radius: 8px; max-width: 65ch; }
.error { background: #FCE8E6; border: 1px solid #E6A19B; color: var(--danger); padding: 10px 14px; border-radius: 8px; max-width: 65ch; }

/* Admin */
body.admin { background: var(--porcelain); }
.admin-bar {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  padding: 14px max(16px, 3vw); background: var(--frost); border-bottom: 4px solid var(--pollen);
}
.admin-bar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.admin-bar a { color: var(--ink); font-weight: 700; }
.admin-main { padding: 28px max(16px, 3vw) 64px; max-width: 900px; }
.admin-main.narrow { max-width: 460px; margin: 0 auto; }
.cards { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.card { display: grid; gap: 2px; background: #FFF6D6; border: 1px solid var(--line); border-radius: 10px; padding: 16px 22px; text-decoration: none; color: var(--ink); min-width: 150px; }
.card strong { font-family: var(--font-display); font-size: 36px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; min-width: 360px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #FFF6D6; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.actions { white-space: nowrap; text-align: right; }
td.actions form { display: inline; }
.link-danger { background: none; border: 0; color: var(--danger); font: inherit; font-weight: 700; cursor: pointer; padding: 0 0 0 12px; text-decoration: underline; }

/* Game */
.game { position: relative; max-width: 640px; border: 4px solid var(--ink); border-radius: 6px; background: #9BDBF0; }
.game canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; touch-action: none; }
.game-hud {
  position: absolute; z-index: 2; left: 8px; top: 8px; display: flex; gap: 10px;
  font-family: var(--font-pixel); font-size: 13px; color: var(--ink);
}
.game-hud span { background: var(--porcelain); border: 2px solid var(--ink); padding: 5px 7px; }
.game-overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; background: rgba(255, 253, 247, .93); padding: 16px;
}
.game-overlay[hidden] { display: none; }
.game-overlay p { margin: 0; }
.game-overlay input { max-width: 260px; }
.game-overlay label { font-size: 13px; font-weight: 700; }
.pixel { font-family: var(--font-pixel); font-size: 30px; line-height: 1.5; }
.hint { color: var(--muted); font-size: 14px; }
.touch { display: none; }
@media (pointer: coarse) {
  .touch { display: flex; gap: 8px; justify-content: space-between; padding: 8px; background: var(--frost); border-top: 4px solid var(--ink); }
  .touch button {
    flex: 1; min-height: 52px; font-family: var(--font-pixel); font-size: 17px; background: var(--pollen);
    border: 2px solid var(--ink); border-radius: 6px; color: var(--ink); touch-action: none; user-select: none; -webkit-user-select: none;
  }
}

/* Phone: sidebar becomes a slide-down menu. */
@media (max-width: 760px) {
  .shell { display: block; }
  .menu-btn {
    display: block; position: fixed; z-index: 20; top: 10px; right: 10px;
    background: var(--pollen); border: 2px solid var(--ink); border-radius: 8px; padding: 8px 14px;
    font: inherit; font-weight: 700; color: var(--ink);
  }
  .sidebar {
    display: none; position: fixed; z-index: 15; inset: 0; height: auto; padding-top: 64px;
    border-right: 0; overflow-y: auto;
  }
  body.menu-open .sidebar { display: flex; }
  .content { padding: 64px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Vlog drawer */
.drawer-btn {
  margin-top: 8px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer;
  background: var(--frost, #99D6EA); border: 2px solid var(--ink); border-radius: 8px; padding: 6px 10px;
}
.drawer-btn[aria-expanded="true"] { background: var(--pollen); }
.drawer {
  grid-column: 1 / -1; position: relative; background: #fff; border: 3px solid var(--ink);
  border-radius: 12px; padding: 20px 22px; box-shadow: 4px 4px 0 var(--bluegrey);
}
.drawer h3 { font-size: 18px; margin: 0 0 6px; }
.drawer .why { max-width: 68ch; margin: 0 0 18px; white-space: pre-line; }
.drawer-close {
  position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; font-size: 26px; line-height: 1;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.drawer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.comment { margin: 0 0 10px; padding: 8px 12px; background: var(--porcelain); border-left: 4px solid var(--pollen); border-radius: 4px; }
.comment p { margin: 0 0 4px; font-size: 15px; overflow-wrap: anywhere; }
.comment footer { font-size: 13px; color: var(--muted); font-weight: 700; }

.gear { margin-left: auto; font-size: 20px; line-height: 1; text-decoration: none; color: var(--muted); }
.gear:hover { color: var(--ink); }

/* Vlogs that live only on Instagram or TikTok */
.vlog-thumb.link-out {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 120px; text-decoration: none;
  background: linear-gradient(160deg, var(--frost), var(--bluegrey)); color: var(--ink);
}
.vlog-thumb.link-out .play { position: static; margin: 0; }
.vlog-thumb.link-out .lo-text { font-weight: 800; font-size: 20px; background: var(--porcelain); border: 2px solid var(--ink); border-radius: 8px; padding: 4px 12px; }

/* Game extras */
.game-hud { flex-wrap: wrap; align-items: center; }
.hud-btn { font: inherit; font-size: 14px; background: var(--porcelain); border: 2px solid var(--ink); color: var(--ink); padding: 3px 8px; cursor: pointer; }
.game-overlay .hint { text-align: center; max-width: 52ch; }
.hof { max-width: 460px; margin-top: 28px; }
.hof ol { margin: 0; padding-left: 28px; display: grid; gap: 4px; }
.hof li { padding: 4px 8px; border-bottom: 1px dashed var(--line); }
.hof li .lv { font-size: 12px; color: var(--muted); margin-left: 6px; }
.hof li .t { float: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.hof li.me { background: #FFF1B8; }

.fan-join { text-align: left; }
.fan-join p { margin: 0 0 12px; }
.hint a { color: var(--ink); font-weight: 700; }

/* Fans page */
.gear { font-size: .7em; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 0 8px; vertical-align: middle; background: var(--pollen); }
.gear:hover { background: var(--mustard); }
.fanlist { list-style: none; padding: 0; margin: 0 0 28px; max-width: 520px; display: grid; gap: 4px; }
.fanlist li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border-bottom: 1px dashed var(--line); }
.fanlist li.me { background: #FFF1B8; }
.fanlist .seen, .hof li .seen { font-size: 12px; color: var(--muted); }
.hof li .seen { display: block; clear: both; }
.fan-count { font-size: 18px; margin: 0 0 16px; }
.fan-count strong { font-size: 32px; font-variant-numeric: tabular-nums; background: var(--pollen); border: 2px solid var(--ink); border-radius: 8px; padding: 0 12px; }
.rankcard p { margin: 0 0 6px; }
.soon ul { margin: 8px 0; padding-left: 22px; }
.proofbox { margin: 16px 0 28px; max-width: 560px; }
.proofbox summary { cursor: pointer; font-weight: 700; padding: 10px 14px; background: var(--pollen); border: 2px solid var(--ink); border-radius: 8px; width: fit-content; }
.proofbox .form { margin-top: 14px; }
ol.fanlist { counter-reset: none; }
.fanlist .st-approved { color: #1E7A3A; font-weight: 700; }
.fanlist .st-rejected { color: var(--danger); }
.fanlist.subs { max-width: 640px; }
.proof { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; max-width: 640px; background: #fff; }
.proof img { max-width: 100%; max-height: 420px; border: 1px solid var(--line); border-radius: 6px; display: block; margin: 8px 0; }
.proof form.inline { display: flex; gap: 8px; flex: 1; min-width: 240px; }
.shotbtns[hidden] { display: none; }

.site-version { margin: auto 0 0; padding-top: 12px; font-size: 12px; opacity: .6; }

/* Games menu + road trip */
.gametabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gametabs a, .gametabs .soon-tab { padding: 8px 14px; border: 2px solid var(--ink); border-radius: 8px; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--frost, #99D6EA); }
.gametabs a.on { background: var(--pollen); }
.gametabs .soon-tab { opacity: .55; cursor: default; background: transparent; }
.road-start { background: rgba(255, 253, 247, .93); }
.road-logo { max-width: 60%; height: auto; border-radius: 6px; image-rendering: auto; }
.road-start .pixel { margin: -4px 0 0; color: #E8820C; font-weight: 800; }
.road-touch { }
@media (max-width: 760px) {
  .game-hud-road, .game-hud-road .hud-btn { font-size: 11px; }
  .game-hud-road { max-width: 62%; flex-wrap: wrap; gap: 5px; }
  .game-hud-road span, .game-hud-road .hud-btn { padding: 3px 5px; }
}

/* Games hub */
.gamecards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 16px 0 28px; }
.gamecard { display: flex; flex-direction: column; border: 4px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--porcelain); color: var(--ink); text-decoration: none; transition: transform .12s; }
.gamecard:hover, .gamecard:focus-visible { transform: translateY(-3px); outline: 3px solid var(--pollen); }
.gamecard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; border-bottom: 4px solid var(--ink); background: var(--frost, #99D6EA); }
.gc-title { font-family: var(--font-pixel); font-size: 22px; font-weight: 800; padding: 10px 12px 2px; }
.gc-text { padding: 0 12px 14px; font-size: 14px; color: var(--muted); }
.blocks-game { max-width: 480px; }
.blocks-touch { flex-wrap: wrap; }
.blocks-touch button { flex: 1 1 18%; min-width: 0; font-size: 14px; }

.sidebar ul.side-bottom { margin-top: auto; }
.side-bottom + .admin-link { margin-top: 12px; }
.site-version { margin-top: 0; }
.sidebar > ul:not(.side-bottom) + .site-version { margin-top: auto; }

.hofsum .champ { background: #FFF1B8; border: 2px solid var(--pollen); border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; }
.hofgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.hofbox { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; }
.hofbox h3 { margin: 0 0 8px; }
.hofbox .fanlist { margin-bottom: 8px; max-width: none; }
.hofbox .fanlist li { flex-wrap: wrap; }
