/* ==========================================================================
   JOY TACTICS — one stylesheet, no build step, no framework.
   Calibration: MILD jank. Dated + slightly off; legible; nothing broken.
   Fonts are assigned per section on purpose: comic / times / papyrus.
   ========================================================================== */

:root {
  --hotpink: #ff5fc4;
  --hotpink-hi: #ffb3e3;
  --lime: #c6ff3d;
  --lime-hi: #e6ff9e;
  --cyan: #3ff0ff;
  --cyan-hi: #b6f8ff;
  --yellow: #fff23d;
  --purple: #a878ff;
  --ink: #121212;
  --paper: #fffdf4;
  --bevel: #d5d9de;
  --link: #0000ee;
  --link-visited: #551a8b;

  --f-comic: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  --f-times: "Times New Roman", Times, serif;
  --f-papyrus: Papyrus, "Papyrus", "Comic Sans MS", fantasy;
  --f-mono: "Courier New", Courier, monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--f-comic);
  font-size: 17px;
  line-height: 1.5;
  /* the "tiled GIF" is a CSS checkerboard + a wash. no binary assets. */
  background-color: #eef6ff;
  background-image:
    repeating-conic-gradient(rgba(0, 0, 0, .055) 0% 25%, rgba(255, 255, 255, 0) 0% 50%),
    linear-gradient(160deg, #ffe6f7 0%, #e6fffb 45%, #fffde6 100%);
  background-size: 6px 6px, cover;
  background-attachment: fixed, fixed;
}

a { color: var(--link); }
a:visited { color: var(--link-visited); }

:focus-visible {
  outline: 3px dashed #000;
  outline-offset: 2px;
}

h1, h2, h3 { line-height: 1.2; }

/* --------------------------------------------------------------------------
   MASTHEAD + NAV — the podcast message is sticky and always visible;
   one click to home / hosts / episodes / search
   -------------------------------------------------------------------------- */

.sitebars {
  position: sticky;
  top: 0;
  z-index: 60;
}

.masthead {
  background: #000;
  border-bottom: 3px double #6a6a6a;
  padding: 5px 12px;
  text-align: center;
}

.masthead-msg {
  margin: 0 auto;
  max-width: 1100px;
  font-family: var(--f-times);
  font-style: italic;
  font-size: 14px;
  line-height: 1.35;
  color: #b8fbff;
  letter-spacing: .2px;
}

.sitenav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 12px;
  background: var(--hotpink);
  border-bottom: 5px outset var(--hotpink-hi);
}

.sitenav .brand {
  font-family: var(--f-papyrus);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .5px;
  text-decoration: none;
  color: #000;
  padding-right: 4px;
}
.sitenav .brand:visited { color: #000; }
.sitenav .brand small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0; }

.sitenav a.navlink {
  font-family: var(--f-comic);
  font-weight: bold;
  font-size: 15px;
  letter-spacing: .4px;
  text-decoration: none;
  color: #000;
  background: var(--yellow);
  border: 3px outset #fff8a8;
  padding: 4px 10px;
  white-space: nowrap;
}
.sitenav a.navlink:visited { color: #000; }
.sitenav a.navlink:hover { background: #fffaa8; }
.sitenav a.navlink:active { border-style: inset; }
.sitenav a.navlink[aria-current="page"] {
  background: var(--lime);
  border-style: inset;
  border-color: #8fbf1f;
}

.nav-badge {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 10px;
  background: #000;
  color: #39ff14;
  border: 2px inset #39ff14;
  padding: 2px 6px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------------------- */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 22px 16px 8px;
  overflow-x: clip;
  flex: 1 0 auto;
  width: 100%;
}

main:focus { outline: none; }

.box {
  background: var(--paper);
  border: 4px outset var(--bevel);
  padding: 14px 16px;
  margin: 16px 0;
}
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }

.center { text-align: center; }

.page-title {
  display: inline-block;
  margin: 4px 0 6px;
  padding: 2px 14px;
  background: var(--cyan);
  border: 3px outset var(--cyan-hi);
  font-family: var(--f-papyrus);
  font-size: 30px;
  transform: rotate(-0.9deg);
}
.page-sub {
  font-family: var(--f-mono);
  font-size: 12px;
  color: #444;
  margin: 6px 0 18px;
}
.page-head { margin-bottom: 8px; }

.crumbbar { margin: 0 0 10px; font-family: var(--f-mono); font-size: 13px; }

.hr-jank {
  border: 0;
  height: 6px;
  margin: 22px 0;
  background: repeating-linear-gradient(90deg, var(--hotpink) 0 14px, #fff 14px 22px, var(--cyan) 22px 36px, #fff 36px 44px);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

/* --------------------------------------------------------------------------
   GARNISH — marquee, blink, counter, construction banner, badges
   -------------------------------------------------------------------------- */

marquee.ticker,
.ticker-static {
  display: block;
  width: 100%;
  background: #000;
  color: var(--lime);
  font-family: var(--f-mono);
  font-size: 14px;
  padding: 5px 0;
  border: 3px inset #6d6d6d;
}
.ticker-static { padding: 8px 10px; white-space: normal; }

.blink { animation: jt-blink 1.1s steps(1, end) infinite; }
@keyframes jt-blink { 50% { opacity: 0; } }

.counter {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 22px;
  letter-spacing: 4px;
  background: #000;
  color: #39ff14;
  border: 3px inset #39ff14;
  padding: 3px 10px 3px 14px;
}

.uc {
  border: 4px outset #b9b9b9;
  background: repeating-linear-gradient(45deg, #ffe600 0 16px, #1a1a1a 16px 32px);
  padding: 10px;
  margin: 18px 0;
  text-align: center;
}
.uc span {
  display: inline-block;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  padding: 3px 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .6px;
}

/* --------------------------------------------------------------------------
   SPLASH
   -------------------------------------------------------------------------- */

#splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #050505;
  background-image: repeating-linear-gradient(0deg, #0c0c0c 0 2px, #000 2px 4px);
  color: #39ff14;
  font-family: var(--f-mono);
  text-align: center;
}
html.jt-entered #splash { display: none; }

.splash-inner {
  width: 100%;
  max-width: 540px;
  background: #0b0b0b;
  border: 4px outset #3a3a3a;
  padding: 18px 16px 16px;
}
.splash-kicker { font-size: 11px; letter-spacing: 2px; opacity: .8; }
.splash-title {
  margin: 6px 0 4px;
  font-family: var(--f-papyrus);
  font-size: 34px;
  line-height: 1.1;
  color: var(--lime);
  text-shadow: 3px 3px 0 #1d6b00;
}
.splash-sub { font-size: 12px; margin: 4px 0 12px; color: #9dffb0; }

.splash-msg {
  margin: 0 0 12px;
  padding: 8px 6px;
  border-top: 1px solid #2f5f2f;
  border-bottom: 1px solid #2f5f2f;
  font-family: var(--f-times);
  font-style: italic;
  font-size: 13px;
  line-height: 1.45;
  color: #c9ffd8;
}

.splash-inner marquee {
  display: block;
  background: #000;
  border: 2px inset #2c2c2c;
  padding: 4px 0;
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 14px;
}

.loadbar {
  width: 100%;
  height: 24px;
  background: #111;
  border: 3px inset #39ff14;
  padding: 2px;
  text-align: left;
}
.loadbar > div {
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(90deg, #39ff14 0 8px, #1fa500 8px 12px);
  transition: width .18s linear;
}

.splash-status { font-size: 12px; min-height: 1.4em; margin: 8px 0 12px; color: #b6ffb6; }

#enter-btn {
  font-family: var(--f-comic);
  font-size: 19px;
  font-weight: bold;
  color: #000;
  background: var(--hotpink);
  border: 5px outset var(--hotpink-hi);
  padding: 10px 22px;
  cursor: pointer;
  animation: jt-pulse 2.4s ease-in-out infinite;
}
#enter-btn:hover { background: #ff8ad5; }
#enter-btn:active { border-style: inset; }
@keyframes jt-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

.splash-small { font-size: 10px; color: #7dff9a; margin: 12px 0 0; opacity: .85; }

/* --------------------------------------------------------------------------
   HOME
   -------------------------------------------------------------------------- */

.hero { text-align: center; }
.hero h1 {
  font-family: var(--f-papyrus);
  font-size: 42px;
  margin: 4px 0 2px;
  color: #000;
  text-shadow: 3px 3px 0 var(--hotpink);
}
.hero .blurb {
  font-family: var(--f-times);
  font-size: 18px;
  max-width: 620px;
  margin: 10px auto;
}
.hero .live {
  font-family: var(--f-mono);
  font-size: 12px;
  color: #b00000;
  font-weight: bold;
}

.hostgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.hostcard {
  background: #fff;
  border: 4px outset var(--bevel);
  padding: 12px;
  text-align: center;
}
.hostcard:nth-child(1) { background: #ffe9f8; transform: rotate(-0.7deg); }
.hostcard:nth-child(2) { background: #e9ffe6; transform: rotate(0.6deg); }
.hostcard:nth-child(3) { background: #e6f7ff; transform: rotate(-0.4deg); }

.hostcard .avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: #ccc;
  border: 3px inset #999;
  color: #555;
}

.hostcard h3 {
  font-family: var(--f-times);
  margin: 4px 0 6px;
  font-size: 19px;
}
.hostcard p { font-size: 13px; margin: 0 0 10px; }

.smallprint { font-family: var(--f-mono); font-size: 11px; color: #555; }

/* --------------------------------------------------------------------------
   EPISODES — askew timeline
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  margin: 10px 0 24px;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  bottom: 4px;
  width: 7px;
  background: var(--purple);
  border: 2px solid #000;
  transform: rotate(1.1deg);
  transform-origin: top center;
}

.year {
  display: inline-block;
  margin: 20px 0 6px;
  padding: 1px 12px;
  font-family: var(--f-comic);
  font-size: 22px;
  color: #000;
  background: var(--hotpink);
  border: 3px outset var(--hotpink-hi);
  transform: rotate(-1deg);
}

.tl-item {
  position: relative;
  display: block;
  max-width: 680px;
  margin: 11px 0;
  padding: 8px 12px;
  background: var(--paper);
  border: 3px outset var(--bevel);
  color: var(--ink);
  text-decoration: none;
}
.tl-item:visited { color: var(--ink); }
.tl-item:nth-of-type(odd) { transform: rotate(-0.5deg); }
.tl-item:nth-of-type(even) { transform: rotate(0.7deg); margin-left: 18px; }
.tl-item:hover { background: #fff8c9; border-color: #e8d98a; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 15px;
  width: 11px;
  height: 11px;
  background: var(--hotpink);
  border: 2px solid #000;
  border-radius: 50%;
}

.tl-top {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  justify-content: space-between;
}
.tl-title { font-family: var(--f-times); font-size: 18px; font-weight: bold; }
.tl-meta { font-family: var(--f-mono); font-size: 11px; color: #555; white-space: nowrap; }

.tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .5px;
  padding: 0 5px;
  border: 1px solid #666;
  vertical-align: middle;
  margin-left: 6px;
}
.tag-teaser { background: #fffbe0; }
.tag-unlocked { background: #e6ffe6; }

/* --------------------------------------------------------------------------
   EPISODE DETAIL + transcript
   -------------------------------------------------------------------------- */

.ep-head h1 {
  font-family: var(--f-times);
  font-size: 30px;
  margin: 0 0 6px;
}
.ep-meta {
  font-family: var(--f-mono);
  font-size: 12px;
  color: #444;
  margin: 0 0 12px;
}
.ep-desc {
  font-family: var(--f-times);
  font-size: 17px;
  white-space: pre-line;
  margin: 10px 0 14px;
  overflow-wrap: anywhere;
}

.listen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 6px;
}
.listen-btn {
  display: inline-block;
  font-family: var(--f-comic);
  font-weight: bold;
  font-size: 17px;
  color: #000;
  text-decoration: none;
  background: var(--lime);
  border: 4px outset var(--lime-hi);
  padding: 8px 16px;
}
.listen-btn:visited { color: #000; }
.listen-btn:hover { background: #d7ff77; }
.listen-btn:active { border-style: inset; }

.cue {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 4px;
  padding: 10px 12px;
  background: #fff9c4;
  border: 3px solid #000;
}

/* ---- moments: short, timestamped, clickable. no full transcripts here. ---- */

.moments { margin-top: 6px; }

.moment {
  background: var(--paper);
  border: 3px outset var(--bevel);
  padding: 8px 12px 10px;
  margin: 12px 0;
}
.moment:nth-of-type(odd) { transform: rotate(-0.25deg); }
.moment:nth-of-type(even) { transform: rotate(0.3deg); }

.moment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.moment-play {
  font-family: var(--f-comic);
  font-weight: bold;
  font-size: 13px;
  color: #000;
  text-decoration: none;
  background: var(--lime);
  border: 3px outset var(--lime-hi);
  padding: 2px 9px;
  white-space: nowrap;
}
.moment-play:visited { color: #000; }
.moment-play:hover { background: #d7ff77; }
.moment-play:active { border-style: inset; }
.moment-play.is-off {
  background: #eee;
  border-color: #ddd;
  border-style: solid;
  color: #555;
}

.moment blockquote {
  margin: 0;
  font-family: var(--f-times);
  font-size: 16px;
  color: #111;
  overflow-wrap: anywhere;
}

.moment.hit {
  background: #fff9b8;
  outline: 3px solid var(--hotpink);
  outline-offset: -2px;
}

/* --------------------------------------------------------------------------
   SEARCH ("ask jt")
   -------------------------------------------------------------------------- */

.ask-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 10px 0 6px;
}
.ask-form input[type="search"] {
  flex: 1 1 320px;
  max-width: 100%;
  font-family: var(--f-mono);
  font-size: 18px;
  padding: 8px;
  border: 4px inset var(--bevel);
  background: #fff;
  color: #000;
}
.ask-form button {
  font-family: var(--f-comic);
  font-size: 16px;
  font-weight: bold;
  padding: 6px 16px;
  background: #d4d4d4;
  border: 4px outset #efefef;
  cursor: pointer;
}
.ask-form button:active { border-style: inset; }

.ask-hint { text-align: center; font-family: var(--f-mono); font-size: 11px; color: #555; margin: 4px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 0; }
.chip {
  font-family: var(--f-comic);
  font-size: 13px;
  background: #fff;
  border: 3px outset var(--bevel);
  padding: 3px 9px;
  cursor: pointer;
  color: #000;
}
.chip:hover { background: var(--yellow); }

.hit {
  background: var(--paper);
  border: 3px outset var(--bevel);
  padding: 10px 12px;
  margin: 12px 0;
}
.hit-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: #444;
}
.who {
  font-family: var(--f-comic);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  background: var(--cyan);
  border: 2px outset var(--cyan-hi);
  color: #000;
  padding: 0 6px;
}
.hit blockquote {
  margin: 8px 0 0;
  font-family: var(--f-times);
  font-size: 16px;
  color: #111;
  overflow-wrap: anywhere;
}
.hit .where { color: #444; }
mark { background: var(--yellow); color: #000; padding: 0 1px; }

/* --------------------------------------------------------------------------
   STATES — loading / empty / error (always actionable, never a blank page)
   -------------------------------------------------------------------------- */

.state {
  border: 3px dashed #8a8a8a;
  background: #fffbe6;
  padding: 14px;
  text-align: center;
  margin: 14px 0;
}
.state-bad { border-color: #c00000; background: #fff0f0; }
.state .state-title { font-weight: bold; display: block; margin-bottom: 4px; }
.state .state-msg { font-family: var(--f-mono); font-size: 12px; color: #444; }
.state .actions { margin-top: 10px; }

.btn {
  font-family: var(--f-comic);
  font-size: 14px;
  background: #d4d4d4;
  border: 4px outset #efefef;
  padding: 4px 12px;
  cursor: pointer;
  color: #000;
}
.btn:active { border-style: inset; }

.loading { font-family: var(--f-mono); font-size: 13px; }
.loading .dots { animation: jt-blink 1s steps(1, end) infinite; }

/* --------------------------------------------------------------------------
   HOST PAGES
   -------------------------------------------------------------------------- */

.bio-list { font-family: var(--f-times); font-size: 17px; padding-left: 22px; }
.bio-list li { margin: 6px 0; }
.unverified {
  font-family: var(--f-mono);
  font-size: 10px;
  border: 1px solid #b00;
  color: #b00;
  padding: 0 4px;
  vertical-align: 1px;
  white-space: nowrap;
}

.tbd {
  border: 3px dashed #9a9a9a;
  background: #f4f4ec;
  padding: 12px 14px;
  margin: 16px 0;
  font-family: var(--f-mono);
  font-size: 12px;
  color: #444;
}
.tbd b { font-family: var(--f-comic); font-size: 13px; display: block; margin-bottom: 4px; color: #000; }

.photo-tk {
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: #666;
  background: repeating-linear-gradient(135deg, #e6e6e6 0 10px, #f7f7f7 10px 20px);
  border: 3px inset #999;
}

.host-sheet { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.host-sheet .host-main { flex: 1 1 320px; }

/* per-host mismatched styling, on purpose */
.theme-nate { --host-accent: #c6ff3d; --host-accent-hi: #e6ff9e; }
.theme-eric { --host-accent: #3ff0ff; --host-accent-hi: #b6f8ff; }
.theme-jack { --host-accent: #ff5fc4; --host-accent-hi: #ffb3e3; }

.theme-nate .page-title, .theme-eric .page-title, .theme-jack .page-title {
  background: var(--host-accent);
  border-color: var(--host-accent-hi);
}
.theme-nate { font-family: var(--f-comic); }
.theme-eric { font-family: var(--f-times); }
.theme-jack { font-family: var(--f-papyrus); }
.theme-eric .page-title, .theme-jack .page-title { font-family: var(--f-papyrus); }
.theme-jack .bio-list, .theme-jack p, .theme-jack li { font-family: var(--f-times); }

.theme-nate .host-card-bio { border-width: 6px; }
.theme-eric .host-card-bio { border-style: ridge; border-width: 5px; }
.theme-jack .host-card-bio { border-style: groove; border-width: 7px; }

/* --------------------------------------------------------------------------
   SITEMAP / JOKE LINKS
   -------------------------------------------------------------------------- */

.linkfarm { font-family: var(--f-times); font-size: 17px; }
.linkfarm li { margin: 6px 0; }
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--link);
  text-decoration: underline;
  cursor: pointer;
}
.linkish:visited { color: var(--link-visited); }

.gagbox {
  border: 3px inset var(--bevel);
  background: #fff;
  padding: 12px 14px;
  margin: 14px 0;
  font-family: var(--f-mono);
  font-size: 13px;
  min-height: 2em;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.sitefoot {
  margin-top: 36px;
  padding: 18px 14px 44px;
  border-top: 3px double #8a8a8a;
  background: rgba(255, 255, 255, .6);
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: #333;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}
.b88 {
  border: 2px solid #000;
  background: #fff;
  padding: 2px 5px;
  font-size: 9px;
  letter-spacing: .4px;
}
.sitefoot p { margin: 6px 0; }
.sitefoot a { color: #0000ee; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 16px 12px 4px; }
  .masthead { padding: 3px 8px; }
  .masthead-msg { font-size: 10.5px; line-height: 1.3; }
  .sitenav { gap: 6px; padding: 7px 9px; }
  .sitenav a.navlink { padding: 3px 8px; font-size: 14px; }
  .nav-badge { display: none; }
  .hero h1 { font-size: 32px; }
  .hero .blurb { font-size: 16px; }
  .page-title { font-size: 23px; }
  .timeline { padding-left: 26px; }
  .timeline::before { left: 6px; }
  .tl-item:nth-of-type(even) { margin-left: 8px; }
  .tl-item::before { left: -23px; }
  .ep-head h1 { font-size: 24px; }
  .splash-title { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .blink,
  .loading .dots,
  #enter-btn {
    animation: none;
  }
  .loadbar > div { transition: none; }
}
