@import url("./base.css?v=a9a04806b47e");
:root {
  --paper: #fbfaf6;
  --ink: #302c2b;
  --accent: #694b77;
  --rule: #d7d0c9;
  --muted: #665e58;
}
body {
  font:
    16px/1.55 Arial,
    sans-serif;
}
.index-head,
main,
.site-footer,
.announcement {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 16px;
}
main {
  padding-block: 8px 0;
}
a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.index-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 0 !important;
  padding-top: 2px !important;
  padding-bottom: 0 !important;
  align-items: center;
}
.index-head .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  justify-self: start;
  text-decoration: none;
  min-width: 0;
}
.index-head .brand strong {
  font:
    600 23px/1.1 Georgia,
    serif;
  letter-spacing: -0.5px;
}
.brand em {
  font-weight: 400;
  font-style: italic;
}
.index-head .discovery-open {
  display: flex !important;
  align-items: center;
  gap: 8px;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  max-width: 100%;
  min-width: 44px;
  padding: 0 5px !important;
  border: 0;
  border-radius: 0;
  height: 44px;
  min-height: 44px;
}
.discovery-open svg {
  flex: none;
}
.discovery-open span {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.index-head .primary-nav {
  display: flex;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  gap: 22px !important;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  padding: 0 !important;
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  min-width: 0;
}
.primary-nav::-webkit-scrollbar {
  display: none;
}
.index-head .primary-nav a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  font-size: 14px;
  flex: none;
}
.primary-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}
.page-title {
  font:
    600 24px/1.3 Georgia,
    serif;
  margin: 4px 0 12px;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 4px;
}
h2,
.section-heading h2 {
  font:
    600 19px/1.3 Georgia,
    serif;
  margin: 0 0 8px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  flex: none;
}
.index-order {
  font:
    italic 14px Georgia,
    serif;
  color: var(--muted);
}
section[data-content-block] {
  padding-block: 0 12px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--rule);
}
.dictionary-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0 !important;
  list-style: none;
  padding: 0;
}
.dictionary-list > li {
  grid-column: auto !important;
  min-width: 0;
  border-top: 1px dotted var(--rule);
}
.entry-title {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  align-items: stretch;
  min-height: 104px;
  position: relative;
}
.entry-title .game-picture {
  width: 84px;
  min-height: 78px;
  grid-column: 1;
  align-self: stretch;
  border-radius: 3px;
}
.entry-copy {
  min-width: 0;
  align-self: center;
  display: block;
}
.entry-copy strong {
  display: block;
  font:
    600 17px/1.5 Georgia,
    serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.entry-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 5px;
  color: var(--muted);
}
.game-link:hover {
  background: #f1edf1;
}
.game-link:hover strong {
  text-decoration: none;
}
.game-link {
  border-radius: 3px;
}
.result-summary {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.more {
  display: block;
  width: max-content;
  max-width: 100%;
  min-width: 44px;
  border: 0;
  border-radius: 0;
  min-height: 44px;
  padding: 4px 0;
  margin: 2px auto !important;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.more:hover {
  text-decoration-thickness: 2px;
}
.picture-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}
.picture-list > li {
  min-width: 0;
  grid-column: auto !important;
}
.picture-list > li:last-child:nth-child(odd) {
  grid-column: 1 / -1 !important;
}
.picture-link {
  display: block;
  text-decoration: none;
  padding: 0;
}
.picture-link .game-picture {
  width: 100%;
  aspect-ratio: 8/5;
  border-radius: 4px;
}
.picture-link .entry-copy {
  padding-top: 7px;
}
.picture-link .entry-copy strong {
  font-size: 16px;
}
.picture-link .entry-description {
  margin-top: 4px;
}
.reading-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.reading-list li {
  border-bottom: 1px dotted var(--rule);
}
.reading-list li:last-child {
  border-bottom: 0;
}
.reading-link {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  min-height: 44px;
}
.home-reading .reading-list > li:first-child .reading-link {
  padding-top: 0;
}
.reading-link strong {
  display: block;
  font:
    600 17px/1.5 Georgia,
    serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reading-link p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reading-link:hover strong {
  color: var(--accent);
}
.module-ad-boundary:empty {
  display: none;
}
.prose,
.legal-prose,
.article-prose {
  max-width: 70ch;
}
.prose p,
.article-prose p,
.legal-prose p,
.detail-copy p {
  margin: 8px 0 14px;
}
.prose h2,
.legal-prose h2,
.article-prose h2 {
  margin-top: 12px;
}
.text-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 16px;
}
.detail-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 8px;
  min-width: 0;
}
.detail-heading .back-link {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  border: 0;
  text-decoration: none;
}
.detail-heading h1 {
  font:
    500 15px/1.4 Georgia,
    serif;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.title-open {
  flex: none;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 13px;
}
.title-note {
  background: #eee8f0;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 4px;
}
.title-note p {
  margin: 0 0 6px;
}
.title-note button {
  border: 0;
  padding: 4px 0;
}
.article-summary {
  font-size: 17px;
  color: var(--muted);
}
.article-prose p,
.legal-prose p {
  line-height: 1.7;
}
.article-prose li {
  margin-block: 8px;
}
.article-prose ul {
  list-style: disc;
  padding-left: 24px;
}
.article-heading h1 {
  font-weight: 600;
}
.player-stage {
  background: transparent;
  color: var(--ink);
  padding: 0 !important;
  max-width: 1050px;
}
.player-media {
  aspect-ratio: 4/3;
  min-height: 0;
  max-height: 68dvh;
  background: #e7e1db;
  border-radius: 4px;
  overflow: hidden;
}
.player-media > [data-play] {
  font-size: 15px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 8px 18px;
  background: var(--accent);
  color: white;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-tools {
  display: flex;
  gap: 8px;
  padding-top: 4px;
  flex-wrap: wrap;
  align-items: center;
}
.player-tools button {
  border: 0;
  padding: 4px 8px;
  font-size: 14px;
  min-height: 44px;
}
.player-tools [data-stop]:disabled,
.player-tools [data-restart]:disabled {
  display: none;
}
.player-stage [data-player-status] {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.player-stage:fullscreen {
  color: white;
  background: #101719;
}
.detail-copy {
  max-width: 70ch;
  margin-top: 12px;
}
.game-category a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer {
  padding-block: 8px 16px;
  border-top: 0;
}
.site-footer nav {
  display: flex;
  gap: 0 22px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 4px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.category-layer {
  position: fixed;
  inset: 0 auto 0 0;
  width: 100vw;
  z-index: 40;
}
.category-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(30 24 29 / 0.38);
  animation: veil-in 180ms ease-out;
}
.index-drawer {
  position: absolute;
  inset: 0 auto 0 0;
  width: 70vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  min-width: 0;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--rule);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  animation: drawer-in 180ms ease-out;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 8px;
  border-bottom: 1px solid var(--rule);
  flex: none;
}
.drawer-head h2 {
  font:
    600 20px Georgia,
    serif;
  margin: 0;
}
.drawer-head button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  padding: 0 4px;
  font-size: 14px;
}
.drawer-body {
  padding: 8px 16px max(16px, env(safe-area-inset-bottom));
  overflow-y: auto;
  min-height: 0;
}
.category-links {
  display: flex;
  flex-direction: column;
}
.category-links a {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  padding: 4px 8px;
  font-size: 16px;
  border-radius: 3px;
}
.category-links svg {
  display: block;
  flex: 0 0 20px;
}
.category-links a[aria-current] {
  background: #eee7ef;
  color: #54365f;
}
.category-links a:hover {
  background: #f0ecea;
}
.drawer-help {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  margin-top: 12px;
  padding-top: 8px;
}
.drawer-help a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  padding-inline: 8px;
}
@keyframes drawer-in {
  from {
    transform: translateX(-14px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes veil-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 800px) {
  .index-head,
  main,
  .site-footer,
  .announcement {
    padding-inline: 24px;
  }
  .index-head {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 0 28px !important;
    padding-block: 4px !important;
    border-bottom: 1px solid var(--rule);
  }
  .index-head .primary-nav {
    grid-row: 1 !important;
    grid-column: 2 !important;
    border: 0;
  }
  .index-head .discovery-open {
    grid-column: 3 !important;
  }
  .index-head .brand strong {
    font-size: 27px;
  }
  .dictionary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }
  .dictionary-list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
  .entry-title {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    min-height: 120px;
  }
  .entry-title .game-picture {
    width: 108px;
    min-height: 98px;
  }
  .picture-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .picture-list > li:last-child:nth-child(odd) {
    grid-column: auto !important;
  }
  .drawer-head,
  .drawer-body {
    padding-inline: 28px;
  }
  .category-links {
    max-width: 56ch;
  }
  .drawer-help {
    max-width: 56ch;
    flex-direction: row;
    gap: 24px;
  }
  .player-media {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 360px) {
  .index-head,
  main,
  .site-footer {
    padding-inline: 12px;
  }
  .index-head .brand strong {
    font-size: 21px;
  }
  .discovery-open span {
    max-width: 80px;
    font-size: 13px;
  }
  .entry-title {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
  }
  .entry-title .game-picture {
    width: 68px;
  }
  .drawer-head,
  .drawer-body {
    padding-inline: 12px;
  }
  .category-links a {
    padding-inline: 4px;
    gap: 10px;
  }
  .section-heading a {
    font-size: 13px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .index-drawer,
  .category-backdrop {
    animation: none;
  }
}

.no-script-index a,
.no-script-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.no-script-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
}

/* Keep the navigation-to-content spacing independent of ad callbacks. */
.index-head {
  margin-bottom: 8px;
}
.dictionary-section .section-heading {
  min-height: 28px;
}
.page-title {
  font-size: 22px;
  margin: 0 0 4px;
}
.detail-heading {
  margin-bottom: 0;
}
.article-summary {
  margin-top: 0 !important;
}
.prose > h2:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.error-copy {
  max-width: 55ch;
}

main > .page-title,
main > section > .section-heading h2 {
  font-size: 16px;
  font-weight: 400;
}

.legal-prose > section:first-child > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Let 320px creatives extend beyond the content gutter on narrow phones. */
.gpt-lazy[id^="ad-banner"] {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  min-width: 0 !important;
  max-width: 100vw;
  margin-inline: 0 !important;
}
[data-ad-continuation]:empty { display: none; }
[data-ad-continuation]:not(:empty) { margin-top: 16px; }

@media (min-width: 350px) {
  .gpt-lazy[id^="ad-banner"] { width: 320px; }
}
