/* Virtual Playtesting – matches the original Divi theme: Poppins, #333 text, #2e41f2 accent, white header */
:root {
  --accent: #2e41f2;
  --text: #333;
  --muted: #666;
  --line: rgba(0, 0, 0, 0.1);
  --soft: #f4f5fb;
  --bg: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 80%; max-width: 1080px; margin: 0 auto; }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 94px; }
.logo img { height: 88px; width: auto; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: rgba(0, 0, 0, 0.75); font-weight: 600; font-size: 17px; }
.site-nav a:hover { opacity: 0.7; text-decoration: none; }
.site-nav a.active { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--accent); margin: 4px 0; }

/* Content */
.content { padding: 30px 0 60px; min-height: 60vh; overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--text); font-weight: 500; line-height: 1.4; margin: 0 0 10px; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
p { margin: 0 0 1.2em; }
ul { margin: 0 0 1.2em; padding-left: 18px; }
.hero { font-size: 34px; line-height: 1.35; margin-bottom: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.schedule li { margin-bottom: 2px; }
.schedule .also { color: var(--muted); }
.schedule .also b { color: var(--text); font-weight: 500; }
.tz-note { font-size: 14px; color: var(--muted); margin-top: -0.6em; }

.btn {
  display: inline-block; padding: 6px 20px; border: 2px solid var(--accent); border-radius: 3px;
  color: var(--accent); font-weight: 500; font-size: 17px;
}
.btn:hover { background: rgba(46, 65, 242, 0.06); text-decoration: none; }
.contact-h { margin-top: 1.2em; }

/* Archive */
.lede { color: var(--muted); }
.toc { list-style: none; padding: 0; margin: 0 0 40px; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 10px 0; font-weight: 500; }
.talk { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.talk h2 { margin-top: 18px; }
.meta { font-size: 14px; color: var(--muted); margin-top: -4px; }
.thumb { position: relative; display: block; max-width: 720px; border-radius: 3px; overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px;
  background: rgba(0, 0, 0, 0.7); border-radius: 12px; transition: background .2s;
}
.play::after {
  content: ""; position: absolute; left: 29px; top: 14px;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff;
}
.thumb:hover .play { background: var(--accent); }
details { border: 1px solid var(--line); border-radius: 3px; margin: 0 0 12px; background: #fff; }
summary { cursor: pointer; padding: 10px 16px; font-weight: 500; list-style-position: inside; }
details[open] summary { border-bottom: 1px solid var(--line); background: var(--soft); }
details > ul { padding: 14px 16px 6px 34px; font-size: 16px; }
details > ul li { margin-bottom: 8px; }
.stamps { list-style: none; padding-left: 16px !important; }
.stamps a { font-variant-numeric: tabular-nums; font-weight: 600; margin-right: 6px; }

/* Footer */
.site-footer { padding: 30px 0 40px; color: var(--text); font-size: 16px; }

@media (max-width: 980px) {
  .wrap { width: auto; margin: 0 20px; }
  .header-inner { min-height: 80px; position: relative; }
  .logo img { height: 64px; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: -20px; right: -20px; flex-direction: column; gap: 0;
    background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); padding: 10px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 5%; border-bottom: 1px solid rgba(0, 0, 0, 0.03); }
  .content { padding-top: 50px; }
  .hero { font-size: 30px; }
  .site-footer { text-align: center; }
}
