body
{  
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
	font-size: 12pt;
	color: #1a1a1a;
	font-weight: normal;
	margin-top: 0px;
	margin-left: 0px;
	background: #f5f4f0;
    height: 100%;
    margin: 0;
}

html, body {
height: 100%;
margin: 0;
}

.page-content {
flex: 1;
}

.main
{
    background-color: #E5E0C2;
}

/* header image */

.site-header{
text-align:center;
background: #d7d7d5;
}

.site-header img{
width: 100%;
height:auto;
display:block;
margin:0 auto;
}

/* ── Footer ── */
.site-footer {
  background: #1a1a2e;
  border-top: 2px solid #F5C742;
  padding: 1.25rem 1rem;
  text-align: center;
}

.site-footer .copyright2 {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Page Name in box at top of page */
.groupingtitle
{
    color: Purple;
    font-size: 14pt;
    font-weight: bold;
}

.title	
{
    font-size: 20pt; 
	font-weight: bold;
	color: purple;
	text-align: left;
}
 
.season	
{
    font-size: 16pt; 
	font-weight: bold;
	color: #ff6347;
}
 
.subhead 
{
    font-size: 16pt; 
	font-weight: bold;
	color: #008b00;
}
 
.copyright{
    text-align:center;
    font-size: 10pt; 
	font-weight: normal;
    background-color:#4A296B;
    color:white;
    padding:10px;
}

.smalltext
{
    font-size: 8pt; 
	font-weight: normal;
	color: black;
} 

a:link	
{   
    font-size: 16pt;
    color: #ff6347;
    text-decoration: none; 
	font-weight: bold;
}

a:visited 
{
    font-size: 16pt;
    color: #ff6347; 
	text-decoration: none; 
	font-weight: bold;
}

a:hover	
{
    font-size: 16pt; 
	color: #ff6347; 
	text-decoration: none; 
	font-weight: bold;
}

a.orange:link	
{   
    font-size: 14pt;
    color: #ff6347;
    text-decoration: underline; 
	font-weight: bold;
}

a.orange:visited 
{
    font-size: 14pt;
    color: #ff6347; 
	text-decoration: underline; 
	font-weight: bold;
}

a.orange:hover	
{
    font-size: 14pt; 
	color: #ff6347; 
	text-decoration: underline; 
	font-weight: bold;
}

a.normallink:link	
{   
    font-size: 12pt;
    color: #ff6347;
    text-decoration: underline; 
	font-weight: bold;
}

a.normallink:visited 
{
    font-size: 12pt;
    color: #ff6347; 
	text-decoration: underline; 
	font-weight: bold;
}

a.normallink:hover	
{
    font-size: 12pt; 
	color: #ff6347; 
	text-decoration: underline; 
	font-weight: bold;
}

a.normalsmalllink:link	
{   
    font-size: 10pt;
    color: #ff6347;
    text-decoration: none; 
	font-weight: bold;
}

a.normalsmalllink:visited 
{
    font-size: 10pt;
    color: #ff6347; 
	text-decoration: none; 
	font-weight: bold;
}

a.normalsmalllink:hover	
{
    font-size: 10pt; 
	color: #ff6347; 
	text-decoration: none; 
	font-weight: bold;
}

.Breadcrumb
{
    font-size: 10pt;
}

.normalsubtitle 
{
	    font-size: 14pt;
	    font-weight: bold;
	    font-style: italic;
}

.smallitalic 
{
	    font-size: 10pt;
	    font-style: italic;
}

.bold
{
    font-weight: bold;
}

.small 
{
	    font-size: 10pt;
}

.smaller 
{
	    font-size: 8pt;
}

.smallergreen 
{
	    font-size: 8pt;
	    font-weight: bold;
	    color: #00ff00;
}

.ErrorMessage
{
    color: Red;
    font-weight: bold;
    font-size: 10pt;
}

a.adminmenu:hover
{
    font-size: 14px;
    color: White;
}

a.adminmenu:link
{
    font-size: 14px;
    color: White;
}

a.adminmenu:visited
{
    font-size: 14px;
    color: White;
}

.Blue
{
    color: #3366CC;
}

/*Menu*/
/*IE8 Menu fix for DynamicMenuStyle*/
.StaticMenuStyle
{
    border: solid 1px #0000FF;
    background:#00ff00 url('Images/MenuBG.gif') repeat-x;
    color: #3366CC;
    font-weight: bold;
}
.StaticMenuItemStyle
{
    color: #3366CC;
    font-weight: bold;
    height: 18px;
}
.StaticHoverStyle
{
    color: #ffffff; 
    background: orange url('Images/MenuHoverBG.gif') repeat-x;
    height: 18px;
}
.DynamicMenuStyle
{
    border: solid 1px #4682B4;
    background:#00ff00 url('Images/MenuBG.gif');
    z-index: 1; /*IE8 Menu fix for DynamicMenuStyle*/  
    width: 300px;
    padding-left: 3px;
    padding-right: 3px;
}
.DynamicMenuItemStyle
{
    color: #000000;
    height: 18px;
    width: 300px;
}
.DynamicHoverStyle
{
    color: #ffffff;
    background: orange url('Images/MenuHoverBG.gif') repeat-x;
    width: 300px;
}

iframe {
display:block;
}

/* =========================
   SCOOBY MENU
========================= */

:root {
    --green:  #4a7c2f;
    --green-light: #5a9438;
    --orange: #e8681a;
    --orange-light: #f07830;
    --cream:  #f5f0d8;
    --dark:   #1e1e1e;
    --paw:    #2C2C2C;
    --white:  #ffffff;
    --shadow: 0 6px 24px rgba(0,0,0,0.22);
  }

  /* ── NAV SHELL ── */
  #scooby-nav {
    background: var(--paw);
    position: relative;
    z-index: 1000;
    border-bottom: 4px solid var(--orange);
  }

  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
  }

  /* ── TOP-LEVEL ITEMS ── */
  #scooby-nav ul.topmenu {
    list-style: none;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
  }

  #scooby-nav ul.topmenu > li {
    position: relative;
  }

  #scooby-nav ul.topmenu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    height: 48px;
    color: var(--cream);
    text-decoration: none;
    font-family: 'Bangers', cursive;
    font-size: 17px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
    position: relative;
  }

  #scooby-nav ul.topmenu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: var(--orange);
    transition: left 0.2s, right 0.2s;
  }

  #scooby-nav ul.topmenu > li:hover > a,
  #scooby-nav ul.topmenu > li.active > a {
    color: var(--orange-light);
    background: rgba(255,255,255,0.07);
  }

  #scooby-nav ul.topmenu > li:hover > a::after {
    left: 0; right: 0;
  }

  /* Arrow for items with submenus */
  #scooby-nav ul.topmenu > li.has-sub > a .arrow {
    display: inline-block;
    font-size: 10px;
    transition: transform 0.2s;
    opacity: 0.6;
    margin-top: 1px;
  }
  #scooby-nav ul.topmenu > li.has-sub:hover > a .arrow {
    transform: rotate(180deg);
    opacity: 1;
  }

  /* ── DROPDOWN PANEL ── */
  .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-top: 3px solid var(--orange);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow);
    min-width: 200px;
    animation: dropIn 0.18s ease;
    z-index: 999;
  }

  @keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  #scooby-nav ul.topmenu > li:hover > .dropdown,
  #scooby-nav ul.topmenu > li:focus-within > .dropdown {
    display: block;
  }

  /* wide multi-column panel */
  .dropdown.wide {
    display: none;
    min-width: 520px;
  }
  #scooby-nav ul.topmenu > li:hover > .dropdown.wide,
  #scooby-nav ul.topmenu > li:focus-within > .dropdown.wide {
    display: flex;
    flex-wrap: wrap;
  }

  /* ── DROPDOWN SECTIONS ── */
  .dd-section {
    padding: 14px 0 10px;
    min-width: 180px;
    flex: 1;
  }

  .dd-section + .dd-section {
    border-left: 1px solid #eee;
  }

  .dd-heading {
    font-family: 'Bangers', cursive;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--orange);
    padding: 0 16px 6px;
    border-bottom: 1px solid #f0ead0;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .dropdown a,
  .dropdown span.dd-leaf {
    display: block;
    padding: 7px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: background 0.13s, color 0.13s;
    white-space: nowrap;
  }

  .dropdown a:hover {
    background: #fff8ec;
    color: var(--orange);
    padding-left: 20px;
  }

  /* paw print bullet on hover */
  .dropdown a::before {
    content: '';
    display: inline-block;
    width: 0;
    overflow: hidden;
    transition: width 0.15s;
    vertical-align: middle;
    margin-right: 0;
  }
  .dropdown a:hover::before {
    content: '🐾 ';
    width: auto;
    margin-right: 4px;
  }

  /* ── DEMO PAGE CHROME ── */
  .page-demo {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
  }

  .page-demo h1 {
    font-family: 'Bangers', cursive;
    font-size: 72px;
    color: var(--green);
    text-shadow: 4px 4px 0 var(--orange);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 12px;
  }

  .page-demo p {
    font-size: 17px;
    color: #666;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .mystery-machine {
    font-size: 80px;
    margin: 32px 0;
    animation: bounce 2s ease-in-out infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }

  .social-icons{
display:flex;
gap:10px;        /* space between icons */
align-items:center;
}

.social-icons img{
display:block;
}

/* Series Page Function */
.page-container{
    max-width:1000px;
    margin:auto;
}

.series-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
    gap:10px;
}

.series-card{
    border:1px solid #ccc;
    padding:5px;
    background:white;
}

.series-title{
    font-size:20px;
    font-weight:bold;
    text-align:center;
}

.series-years{
    text-align:center;
    margin-bottom:10px;
}

.series-image{
    text-align:center;
}

.series-image img{
    max-width:100%;
}

.series-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin-top:10px;
    gap:5px;
    text-align:center;
}

.series-card{
display:block;
border:1px solid #ccc;
padding:5px;
text-decoration:none;
color:black;
background:white;
}


/* page border */
.page-border{
width:1000px;
margin:auto;
padding:5px;
border:3px solid #333;
}

/* 2 Column */
.container {
  display: flex;
  justify-content: space-between;
  width: 100%; /* Or any width you want */
}

/*Episode Guide Styles*/

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

    

    
    /* ── Page body ── */
    .page-body { padding: 2rem 1rem 3rem; }

    .guide-wrap { max-width: 900px; margin: 0 auto; }

    /* ── Guide Header ── */
    .guide-header {
      background: #1a1a2e;
      border-radius: 16px;
      padding: 2.5rem 2rem 2rem;
      margin-bottom: 1.5rem;
      position: relative;
      overflow: hidden;
    }

    .header-bg-dots {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(245,199,66,0.15) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
    }

    .header-eyebrow {
      font-family: 'Bangers', cursive;
      letter-spacing: 0.15em;
      color: #F5C742;
      font-size: 13px;
      margin-bottom: 6px;
      position: relative;
    }

    .header-title {
      font-family: 'Bangers', cursive;
      font-size: clamp(34px, 7vw, 62px);
      letter-spacing: 0.04em;
      color: #fff;
      line-height: 1;
      position: relative;
    }

    .header-title span { color: #F5C742; }

    .header-meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 1.25rem;
      position: relative;
    }

    .meta-pill {
      background: rgba(255,255,255,0.1);
      border: 0.5px solid rgba(255,255,255,0.2);
      border-radius: 100px;
      padding: 4px 14px;
      font-size: 12px;
      color: rgba(255,255,255,0.75);
      font-weight: 500;
    }

    .meta-pill strong { color: #F5C742; font-weight: 500; }

    /* ── Season tabs ── */
    .season-strip { display: flex; gap: 8px; margin-bottom: 1.25rem; }

    .season-btn {
      font-family: 'Bangers', cursive;
      font-size: 15px;
      letter-spacing: 0.08em;
      padding: 6px 20px;
      border-radius: 100px;
      border: 1px solid #ccc;
      background: transparent;
      color: #666;
      cursor: pointer;
      transition: all 0.15s;
    }

    .season-btn.active { background: #1a1a2e; color: #F5C742; border-color: #1a1a2e; }
    .season-btn:not(.active):hover { background: #eee; color: #1a1a2e; }

    .section-label {
      font-family: 'Bangers', cursive;
      letter-spacing: 0.1em;
      font-size: 18px;
      color: #888;
      margin-bottom: 0.75rem;
    }

    /* ── Detail panel ── */
    .detail-panel {
      background: #fff;
      border: 1px solid #e0ddd5;
      border-radius: 16px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      display: none;
    }

    .detail-panel.visible { display: block; }

    .detail-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 0.75rem;
    }

    .detail-ep-num {
      font-family: 'Bangers', cursive;
      font-size: 12px;
      letter-spacing: 0.1em;
      color: #aaa;
      margin-bottom: 4px;
    }

    .detail-title {
      font-family: 'DM Serif Display', serif;
      font-size: 26px;
      color: #1a1a2e;
      line-height: 1.2;
    }

    .close-btn {
      flex-shrink: 0;
      background: none;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 5px 14px;
      font-size: 12px;
      cursor: pointer;
      color: #666;
      font-family: 'DM Sans', sans-serif;
      white-space: nowrap;
    }

    .close-btn:hover { background: #f5f4f0; }

    .detail-airdate {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #1a1a2e;
      color: #F5C742;
      font-family: 'Bangers', cursive;
      font-size: 15px;
      letter-spacing: 0.08em;
      padding: 5px 16px;
      border-radius: 100px;
      margin-bottom: 1rem;
    }

    .detail-airdate-dot { width: 6px; height: 6px; border-radius: 50%; background: #F5C742; flex-shrink: 0; }

    .detail-meta-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 1rem;
      border-top: 0.5px solid #e8e6e0;
      padding-top: 0.75rem;
    }

    .detail-meta { font-size: 13px; color: #666; }
    .detail-meta strong { color: #1a1a2e; font-weight: 500; }
    .detail-desc { font-size: 14px; color: #555; line-height: 1.7; }

    /* ── Episode grid ── */
    .ep-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 10px;
      margin-bottom: 2rem;
    }

    .ep-card {
      background: #fff;
      border: 1px solid #e0ddd5;
      border-radius: 14px;
      padding: 14px 16px;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s, transform 0.1s;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .ep-card:hover { border-color: #bbb; background: #fafaf8; transform: translateY(-1px); }
    .ep-card.active { border-color: #F5C742; background: #fffbee; }

    .ep-num { font-family: 'Bangers', cursive; font-size: 11px; letter-spacing: 0.12em; color: #aaa; margin-bottom: 4px; }
    .ep-title { font-family: 'DM Serif Display', serif; font-size: 15px; color: #1a1a2e; margin-bottom: 8px; line-height: 1.3; }

    .ep-date-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #f5f4f0;
      border: 0.5px solid #e0ddd5;
      border-radius: 100px;
      padding: 3px 10px;
      font-size: 12px;
      font-weight: 500;
      color: #333;
      margin-bottom: 8px;
    }

    .villain-badge {
      display: table;
      width: fit-content;
      max-width: 100%;
      align-self: flex-start;
      background: #1a1a2e;
      color: #F5C742;
      font-size: 11px;
      font-weight: 500;
      padding: 2px 10px;
      border-radius: 100px;
      border: 1px solid rgba(245,199,66,0.25);
    }

    .guest-badge { 
      display: inline-block; 
      background: #2e1a5e; 
      color: #c9b8ff; 
      font-size: 11px; 
      font-weight: 500; 
      padding: 2px 9px; 
      border-radius: 100px; 
      border: 1px solid rgba(201,184,255,0.25); 
      margin-right: 4px; 
      margin-bottom: 4px; 
    }

    /* Series Cards on Series page */

    /* ── Era filter strip ── */
    .era-strip {
      display: flex; gap: 8px; flex-wrap: wrap;
      margin-bottom: 1.25rem;
    }
    .era-btn {
      font-family: 'Bangers', cursive;
      font-size: 14px; letter-spacing: 0.08em;
      padding: 5px 18px; border-radius: 100px;
      border: 1px solid #ccc; background: transparent;
      color: #666; cursor: pointer; transition: all 0.15s;
    }
    .era-btn.active { background: #1a1a2e; color: #F5C742; border-color: #1a1a2e; }
    .era-btn:not(.active):hover { background: #eee; color: #1a1a2e; }

    /* ── Series grid ── */
    .series-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 14px;
    }

    .series-card {
      background: #fff;
      border: 1px solid #e0ddd5;
      border-radius: 14px;
      overflow: hidden;
      transition: border-color 0.15s, transform 0.15s;
      display: flex;
      flex-direction: column;
    }
    .series-card:hover {
      border-color: #F5C742;
      transform: translateY(-2px);
    }

    .series-card a { text-decoration: none; color: inherit; }

    .series-img-wrap {
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #1a1a2e;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .series-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.2s;
    }
    .series-card:hover .series-img-wrap img { transform: scale(1.04); }

    .series-img-wrap .no-img {
      font-family: 'Bangers', cursive;
      font-size: 13px;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.3);
    }

    .series-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }

    .series-title {
      font-family: 'DM Serif Display', serif;
      font-size: 14px;
      color: #1a1a2e;
      line-height: 1.3;
    }

    .series-years {
      font-size: 11px;
      color: #aaa;
      font-weight: 500;
    }

    .series-meta {
      display: flex; gap: 6px; flex-wrap: wrap;
      margin-top: auto; padding-top: 8px;
    }

    .series-tag {
      font-size: 11px; font-weight: 500;
      padding: 2px 9px; border-radius: 100px;
    }
    .tag-network {
      background: #1a1a2e; color: #F5C742;
      border: 1px solid rgba(245,199,66,0.25);
    }
    .tag-runtime {
      background: #f5f4f0; color: #555;
      border: 1px solid #e0ddd5;
    }

    .series-card.no-guide .series-img-wrap { opacity: 0.7; }

    /* hidden by era filter */
    .series-card.hidden { display: none; }

   /* ── Explainer banner ── */
    .explainer {
      background: #fff; border: 1px solid #e0ddd5; border-radius: 12px;
      padding: 14px 18px; margin-bottom: 1.5rem;
      display: flex; gap: 12px; align-items: flex-start;
    }
    .explainer-icon {
      flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
      background: #1a1a2e; display: flex; align-items: center; justify-content: center;
    }
    .explainer-icon svg { width: 16px; height: 16px; }
    .explainer p { font-size: 13px; color: #555; line-height: 1.6; }
    .explainer p strong { color: #1a1a2e; }

    /* ── Hour cards ── */
    .ep-grid2 { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2rem; }
    
    .hour-card {
      background: #fff; border: 1px solid #e0ddd5; border-radius: 14px;
      overflow: hidden; transition: border-color 0.15s;
    }
    .hour-card:hover { border-color: #bbb; }
    .hour-card.active { border-color: #F5C742; }

    .hour-header {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 18px; cursor: pointer;
      transition: background 0.15s;
    }
    .hour-header:hover { background: #fafaf8; }
    .hour-card.active .hour-header { background: #fffbee; }

    .hour-num {
      font-family: 'Bangers', cursive; font-size: 11px; letter-spacing: 0.12em;
      color: #fff; background: #1a1a2e; padding: 3px 10px;
      border-radius: 100px; white-space: nowrap; flex-shrink: 0;
    }

    .hour-date-chip {
      display: inline-flex; align-items: center; gap: 5px;
      background: #f5f4f0; border: 0.5px solid #e0ddd5;
      border-radius: 100px; padding: 3px 10px;
      font-size: 12px; font-weight: 500; color: #333; flex-shrink: 0;
    }

    .hour-segments { flex: 1; min-width: 0; }

    .segment-row {
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    }
    .segment-row + .segment-row { margin-top: 5px; }

    .seg-label {
      font-size: 11px; font-weight: 500; padding: 2px 8px;
      border-radius: 100px; white-space: nowrap; flex-shrink: 0;
    }
    .seg-scooby { background: #e8f4ff; color: #1a5fa0; border: 0.5px solid rgba(26,95,160,0.2); }
    .seg-dynomutt { background: #fff0e0; color: #a05a00; border: 0.5px solid rgba(160,90,0,0.2); }

    .seg-title {
      font-family: 'DM Serif Display', serif; font-size: 14px;
      color: #1a1a2e; line-height: 1.3;
    }

    .hour-chevron {
      flex-shrink: 0; color: #aaa; transition: transform 0.2s;
      font-size: 14px;
    }
    .hour-card.active .hour-chevron { transform: rotate(180deg); color: #F5C742; }

    /* ── Expanded detail ── */
    .hour-detail {
      display: none; border-top: 1px solid #f0ede6;
      padding: 0;
    }
    .hour-card.active .hour-detail { display: block; }

    .detail-segment {
      padding: 16px 18px;
    }
    .detail-segment + .detail-segment {
      border-top: 1px solid #f0ede6;
    }

    .detail-seg-header {
      display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
    }
    .detail-seg-title {
      font-family: 'DM Serif Display', serif; font-size: 18px;
      color: #1a1a2e; line-height: 1.2;
    }
    .detail-villain {
      display: inline-block; background: #1a1a2e; color: #F5C742;
      font-size: 11px; font-weight: 500; padding: 2px 10px;
      border-radius: 100px; border: 1px solid rgba(245,199,66,0.25);
      margin-bottom: 10px;
    }
    .detail-desc {
      font-size: 14px; color: #555; line-height: 1.7;
    }

    /* ── Note banner ── */
    .note-banner {
      background: #fff; border: 1px solid #e0ddd5; border-left: 3px solid #F5C742;
      border-radius: 8px; padding: 10px 14px; margin-bottom: 1.25rem;
      font-size: 13px; color: #555; line-height: 1.6;
    }
    .note-banner strong { color: #1a1a2e; }

    /* ── Voice Cast ── */
    .cast-section { margin-bottom: 1.5rem; }
    .cast-heading { font-family: 'Bangers', cursive; letter-spacing: 0.1em; font-size: 18px; color: #888; margin-bottom: 0.75rem; }
    .cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
    .cast-card { background: #fff; border: 1px solid #e0ddd5; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
    .cast-initial { width: 36px; height: 36px; border-radius: 50%; background: #1a1a2e; color: #F5C742; font-family: 'Bangers', cursive; font-size: 15px; letter-spacing: 0.05em; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; flex-shrink: 0; }
    .cast-character { font-family: 'DM Serif Display', serif; font-size: 14px; color: #1a1a2e; line-height: 1.2; }
    .cast-actor { font-size: 12px; font-weight: 500; color: #555; }
    .cast-note { font-size: 11px; color: #aaa; margin-top: 2px; line-height: 1.4; }

/* Laff-A-Lympics */
    /* ── Teams grid ── */
    .teams-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 1.75rem; }
    .team-card { border-radius: 14px; overflow: hidden; border: 1px solid #e0ddd5; }
    .team-header { padding: 12px 16px 10px; }
    .team-name { font-family: 'Bangers', cursive; font-size: 20px; letter-spacing: 0.06em; }
    .team-medal { font-size: 11px; font-weight: 500; margin-top: 2px; opacity: 0.8; }
    .team-body { background: #fff; padding: 12px 16px 14px; }
    .team-members { display: flex; flex-wrap: wrap; gap: 6px; }
    .member-chip { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 100px; }

    /* Scooby Doobies — blue */
    .team-scooby .team-header { background: #1a3a5c; }
    .team-scooby .team-name { color: #7dd3fc; }
    .team-scooby .team-medal { color: #bae6fd; }
    .team-scooby .member-chip { background: #e0f2fe; color: #0369a1; border: 0.5px solid rgba(3,105,161,0.2); }

    /* Yogi Yahooeys — green */
    .team-yogi .team-header { background: #14532d; }
    .team-yogi .team-name { color: #86efac; }
    .team-yogi .team-medal { color: #bbf7d0; }
    .team-yogi .member-chip { background: #dcfce7; color: #166534; border: 0.5px solid rgba(22,101,52,0.2); }

    /* Really Rottens — red */
    .team-rottens .team-header { background: #7f1d1d; }
    .team-rottens .team-name { color: #fca5a5; }
    .team-rottens .team-medal { color: #fecaca; }
    .team-rottens .member-chip { background: #fee2e2; color: #991b1b; border: 0.5px solid rgba(153,27,27,0.2); }

    /* ── Standings banner ── */
    .standings-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1.5rem; }
    .standing-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e0ddd5; border-radius: 10px; padding: 10px 14px; flex: 1; min-width: 160px; }
    .standing-medal { font-size: 22px; line-height: 1; }
    .standing-info { display: flex; flex-direction: column; gap: 1px; }
    .standing-team { font-family: 'Bangers', cursive; font-size: 15px; letter-spacing: 0.06em; color: #1a1a2e; }
    .standing-wins { font-size: 12px; color: #888; }

    /* Score pills on header */
    .score-pills { display: flex; gap: 6px; flex-wrap: wrap; }
    .score-pill { font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 100px; white-space: nowrap; }
    .score-1st { background: #fef9c3; color: #854d0e; border: 0.5px solid rgba(133,77,14,0.2); }
    .score-2nd { background: #f1f5f9; color: #475569; border: 0.5px solid rgba(71,85,105,0.2); }
    .score-3rd { background: #fff7ed; color: #9a3412; border: 0.5px solid rgba(154,52,18,0.2); }

    /* ── Expanded detail ── */
    .ep-detail { display: none; border-top: 1px solid #f0ede6; padding: 14px 16px 16px; }
    .ep-card-accordion.active .ep-detail { display: block; }

    .ep-events-heading { font-family: 'Bangers', cursive; font-size: 13px; letter-spacing: 0.1em; color: #aaa; margin-bottom: 8px; }
    .ep-events-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
    .event-chip { background: #f5f4f0; border: 0.5px solid #e0ddd5; border-radius: 100px; padding: 3px 11px; font-size: 12px; color: #444; }

    .ep-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
    .ep-score-card { border-radius: 10px; padding: 10px 12px; text-align: center; }
    .ep-score-card.score-scooby { background: #e0f2fe; border: 0.5px solid rgba(3,105,161,0.2); }
    .ep-score-card.score-yogi { background: #dcfce7; border: 0.5px solid rgba(22,101,52,0.2); }
    .ep-score-card.score-rottens { background: #fee2e2; border: 0.5px solid rgba(153,27,27,0.2); }
    .ep-score-team { font-family: 'Bangers', cursive; font-size: 12px; letter-spacing: 0.08em; margin-bottom: 3px; }
    .score-scooby .ep-score-team { color: #0369a1; }
    .score-yogi .ep-score-team { color: #166534; }
    .score-rottens .ep-score-team { color: #991b1b; }
    .ep-score-num { font-size: 22px; font-weight: 500; color: #1a1a2e; line-height: 1; }
    .ep-score-pos { font-size: 11px; color: #888; margin-top: 2px; }

    .ep-trivia { font-size: 13px; color: #555; line-height: 1.65; border-top: 0.5px solid #f0ede6; padding-top: 12px; }
    .ep-trivia strong { color: #1a1a2e; }

    /* ── Section headings ── */
    .section-heading { font-family: 'Bangers', cursive; letter-spacing: 0.1em; font-size: 18px; color: #888; margin-bottom: 0.75rem; }

    /* ── Episode cards ── */
    .ep-grid3 { display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; }

    .ep-card-accordion { background: #fff; border: 1px solid #e0ddd5; border-radius: 14px; overflow: hidden; transition: border-color 0.15s; }
    .ep-card-accordion:hover { border-color: #bbb; }
    .ep-card-accordion.active { border-color: #F5C742; }

    .ep-header { display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; transition: background 0.15s; flex-wrap: wrap; }
    .ep-header:hover { background: #fafaf8; }
    .ep-card-accordion.active .ep-header { background: #fffbee; }

    .ep-num-accordion { font-family: 'Bangers', cursive; font-size: 11px; letter-spacing: 0.12em; color: #fff; background: #1a1a2e; padding: 3px 10px; border-radius: 100px; white-space: nowrap; flex-shrink: 0; }
    .ep-date-chip { display: inline-flex; align-items: center; gap: 5px; background: #f5f4f0; border: 0.5px solid #e0ddd5; border-radius: 100px; padding: 3px 10px; font-size: 12px; font-weight: 500; color: #333; flex-shrink: 0; }
    .ep-location { font-family: 'DM Serif Display', serif; font-size: 15px; color: #1a1a2e; flex: 1; line-height: 1.3; }
    .ep-chevron { flex-shrink: 0; color: #aaa; transition: transform 0.2s; font-size: 14px; margin-left: auto; }
    .ep-card-accordion.active .ep-chevron { transform: rotate(180deg); color: #F5C742; }

     /* ── Laff-A-Lympics episode list ── */
    .ep-grid-lal { display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; }
    .ep-header { display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; transition: background 0.15s; flex-wrap: wrap; }
    .ep-header:hover { background: #fafaf8; }
    .ep-card-accordion.active .ep-header { background: #fffbee; }

    /* ── Footer iframe ── */
    .footer-frame { width: 100%; border: 0; height: 80px; display: block; }

    /* ── Trivia note in detail panel ── */
    .detail-trivia { font-size: 13px; color: #555; line-height: 1.65; border-top: 0.5px solid #e8e6e0; padding-top: 0.75rem; margin-top: 0.75rem; display: none; }
    .detail-trivia strong { color: #1a1a2e; font-weight: 500; }