

:root {
  --ink: #15241f;
  --paper: #f4f1e8;
  --card: #fffdf7;
  --teal: #0e4f4f;
  --teal-dark: #0a3b3b;
  --warm: #c75c2b;
  --good: #1f7a4d;
  --line: #d7d1c2;
  --muted: #5d6b63;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  min-height: 100%;
}


.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px calc(40px + env(safe-area-inset-bottom));
}

a { color: var(--teal); }
a:hover, a:focus { color: var(--warm); }


.door { margin-bottom: 34px; }

.kicker {
  margin: 0 0 4px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-size: 2.3rem;
  margin: 0 0 18px;
  letter-spacing: -0.6px;
  color: var(--teal-dark);
}

h2 {
  font-size: 1.45rem;
  margin: 34px 0 6px;
  color: var(--teal-dark);
}

.crispy {
  background: var(--teal-dark);
  color: #eef6f2;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 20px;
}
.crispy .speaker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8fc4b4;
}
.crispy .said { margin: 0 0 10px; }
.crispy .said:last-child { margin-bottom: 0; }
.crispy a { color: #9fdcc6; }

.lead { font-size: 1.1rem; margin: 0; }
.note { margin: 0 0 14px; color: var(--muted); }


.bysubject { margin-bottom: 34px; }
.subject { margin: 0 0 14px; }
.subject h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--warm);
}
.subject p { margin: 0; }

.subject a {
  display: inline-block;
  padding: 3px 0;
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}


.game {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 10px;
  overflow: hidden;
}


.game > summary {
  cursor: pointer;
  list-style: none;
  
  padding: 14px 42px 14px 16px;
  min-height: 44px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.game > summary::-webkit-details-marker { display: none; }
.game > summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 13px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
}
.game[open] > summary::after { content: "\2212"; }
.game > summary:hover { background: #f7f4ea; }
.game > summary:focus-visible { outline: 3px solid var(--warm); outline-offset: -3px; }

.name { font-weight: 700; font-size: 1.12rem; }

.tag {
  font-size: 0.82rem;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-do   { background: #fbe4d6; color: #8c3c13; }
.tag-read { background: #dceee4; color: #15603f; }
.tag-host { background: #e2e9f5; color: #26416e; }
.tag-free { background: #ece9df; color: var(--muted); }


.game.needs { border-left: 5px solid var(--warm); }
.game.read  { border-left: 5px solid var(--good); }
.game.host  { border-left: 5px solid #3c5c94; }
.game.free  { border-left: 5px solid var(--line); }

.body {
  padding: 2px 16px 16px;
  border-top: 1px solid var(--line);
}


.game:target { border-color: var(--warm); box-shadow: 0 0 0 2px rgba(199, 92, 43, 0.25); }
.body p { margin: 12px 0; }


.howlong {
  margin: 14px 0 !important;
  padding: 10px 12px;
  background: #eef3ef;
  border-left: 4px solid var(--good);
  border-radius: 0 8px 8px 0;
}
.go { margin-bottom: 4px !important; }
.go a {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 9px;
  font-weight: 600;
  min-height: 44px;
  line-height: 22px;
}
.go a:hover, .go a:focus { background: var(--warm); color: #fff; }


.plain-block { margin-top: 36px; }
.plain-block p { margin: 12px 0; }

.small { font-size: 0.92rem; }
.muted { color: var(--muted); }

footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
footer p { margin: 8px 0; }

@media (min-width: 640px) {
  html, body { font-size: 18px; }
  h1 { font-size: 2.7rem; }
  .wrap { padding-top: 34px; }
}


@media print {
  body { background: #fff; }
  .game { border: none; border-left: 3px solid #999; break-inside: avoid; }
  .game > summary::after { content: ""; }
  .body { display: block !important; }
  .go { display: none; }
  .crispy { background: #fff; color: #000; border: 1px solid #999; }
  .crispy .speaker { color: #555; }
}
