@font-face {
  font-family: "DM Sans";
  src: url("/play/assets/fonts/dmsans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url("/play/assets/fonts/baskervville.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #faf7ed;
  --ink: #163d32;
  --felt: #113d30;
  --copy: #43584d;
  --edge: #d7d2bf;
  --ochre: #e7b56d;
  --serif: Baskervville, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
  color-scheme: light;
  font: 100%/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, ul, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #a64a24; outline-offset: 4px; }
.hero :focus-visible, .footer :focus-visible, .article-banner :focus-visible { outline-color: #ffcb85; }
button:disabled { opacity: .55; cursor: default; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
.wrap { width: min(80rem, 91%); margin-inline: auto; }
.eyebrow {
  font-size: .8125rem;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: #88522b;
}
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 10; padding: .8rem 1.3rem; background: white; color: var(--ink); }
.skip:focus { top: .5rem; }
.header { position: relative; z-index: 3; border-bottom: 1px solid #dfdbca; }
.header-inner { min-height: 5rem; display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: .65rem; text-decoration: none; }
.brand img { width: 2.55rem; height: 2.55rem; border-radius: .56rem; }
.brand span { font: 600 clamp(1.6rem, 2.25vw, 2rem)/1 var(--serif); letter-spacing: -.055em; }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { margin-inline: auto; gap: clamp(1.4rem, 3vw, 3rem); }
.desktop-nav a, .mobile-nav a, .language { font-size: .9375rem; font-weight: 650; text-decoration: none; }
.desktop-nav a, .language { display: inline-flex; min-height: 44px; align-items: center; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .language:hover, .mobile-nav a:hover { text-decoration: underline; }
.header-actions { flex-shrink: 0; gap: 1.1rem; }
.language { gap: .45rem; font-size: .875rem; padding-inline: .2rem; }
.globe { width: 1.08rem; height: 1.08rem; border: 1.5px solid; border-radius: 50%; position: relative; }
.globe::before, .globe::after { content: ""; position: absolute; }
.globe::before { inset: -1px 22%; border: 1px solid; border-radius: 50%; }
.globe::after { top: 45%; left: 0; right: 0; border-top: 1px solid; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem; padding: .76rem 1.28rem; border-radius: .3rem; border: 1px solid transparent; font: 700 .96rem/1.25 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.nav-play { min-height: 2.7rem; padding: .65rem 1.18rem; background: var(--felt); color: var(--paper); }
.mobile-nav { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #123d2f; color: #fff9e9; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: #bd9154; opacity: .8; z-index: 1; }
.hero-art { z-index: -2; position: absolute; right: 0; top: 0; width: 61%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.hero::before { z-index: -1; content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #123d2f 23%, #123d2ffa 36%, #123d2fde 44%, #10322277 55%, transparent 69%); }
.hero-wrap { min-height: clamp(31rem, 39vw, 37rem); display: flex; align-items: center; }
.hero-copy { width: min(44%, 33rem); padding-block: clamp(2.75rem, 5vw, 5.2rem); }
.hero-label { color: #f3cc8d; display: flex; align-items: center; gap: .7rem; }
.diamond { display: inline-block; width: .49em; height: .49em; background: currentColor; transform: rotate(45deg); }
.hero h1 { margin: .85rem 0 1.1rem; font-size: clamp(4.4rem, 7vw, 6.85rem); font-weight: 400; line-height: .94; letter-spacing: -.066em; }
.hero h1 em { display: block; margin-top: .035em; font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #edc389; }
.hero-intro { font-size: clamp(1.04rem, 1.38vw, 1.22rem); line-height: 1.5; color: #f4f0df; max-width: 31.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero .primary { background: #ecc48a; color: #17392c; }
.hero .secondary { color: #fff9e9; border-color: #8da395; background: #183e30; }
.play-icon { width: 0; height: 0; border: .35rem solid transparent; border-left: .53rem solid currentColor; border-right: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.55rem; }
.section-head h2, .table-copy h2, .extras h2 { margin-top: .35rem; font-size: clamp(2.55rem, 4.15vw, 4rem); letter-spacing: -.058em; }
.collection { padding-block: clamp(2.9rem, 4.6vw, 4.8rem) clamp(3.2rem, 5.8vw, 6rem); }
.text-link { display: inline-block; font-weight: 700; font-size: .96rem; text-decoration-thickness: 1px; text-underline-offset: .29em; }
.text-link:hover, .footer a:hover { text-decoration-thickness: 2px; }
.section-head > .text-link { flex-shrink: 0; margin-bottom: .35rem; }
.games { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.8rem, 1.7vw, 1.6rem); }
.game { overflow: hidden; }
.game img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; border-radius: .35rem; }
.game:first-child img { object-position: 50% 42%; }
.game-info { padding: .9rem .05rem 0; }
.game-kind { color: #755035; font-size: .8125rem; font-weight: 700; }
.game h3 { margin: .27rem 0 .45rem; font-size: clamp(1.45rem, 2vw, 2rem); letter-spacing: -.04em; }
.game-info > p:last-child, .table-copy > p:not(.eyebrow), .table-copy dd, .extras section > p:not(.eyebrow) { color: var(--copy); }
.game-info > p:last-child { line-height: 1.48; }
.table-story { border-block: 1px solid var(--edge); padding-block: clamp(2.2rem, 4.5vw, 4rem); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.table-art { min-width: 0; }
.table-art img { width: 100%; object-fit: cover; height: auto; aspect-ratio: 1.47; border-radius: .35rem; }
.table-copy h2 { max-width: 13em; font-size: clamp(2.4rem, 4vw, 3.65rem); margin-bottom: .8rem; }
.table-copy dl { margin: 1.3rem 0 0; }
.table-copy dt { font-size: 1.14rem; font-weight: 700; }
.table-copy dd + dt { margin-top: .75rem; }
.extras { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(2rem, 4vw, 3.6rem); padding-block: clamp(2.7rem, 5.5vw, 5rem); }
.extras h2 { font-size: clamp(2rem, 3vw, 2.95rem); }
.extras section > p:not(.eyebrow) { margin-top: .8rem; max-width: 32rem; }
.lesson { padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid var(--edge); }
.lesson-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lesson-head img { flex: none; width: clamp(3.8rem, 5.7vw, 5.2rem); height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 35%; border-radius: 50%; }
.lesson .text-link { margin-top: 1rem; }
.music audio { display: block; width: min(100%, 22rem); margin-top: 1.3rem; }
.footer { color: #f6efdc; background: #133a2e; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding: 3.35rem 0 2.9rem; }
.footer .brand { margin-bottom: .95rem; }
.footer .brand img { width: 2.45rem; height: 2.45rem; }
.footer h2 { font: 700 .96rem/1.6 var(--sans); color: #f0cc96; margin-bottom: .6rem; }
.footer ul, .contents ul { list-style: none; padding: 0; }
.footer li + li { margin-top: .3rem; }
.footer p, .footer li, .publisher > a { font-size: .95rem; }
.footer nav a { text-decoration: none; }
.footer nav a:hover, .footer [aria-current] { text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #486355; padding: 1.2rem 0; color: #e0e0cc; font-size: .875rem; }
.article-banner { color: #fff9e9; background: var(--felt); border-bottom: 3px solid #b68b55; padding-block: clamp(2.25rem, 5vw, 4.8rem); }
.article-banner .eyebrow { display: flex; align-items: center; gap: .85rem; color: #f2ca8f; }
.article-banner .eyebrow a { text-decoration: none; }
.article-banner h1 { margin: .65rem 0 1rem; font-size: clamp(2.65rem, 5.8vw, 5.5rem); letter-spacing: -.055em; }
.article-intro { max-width: 52rem; color: #eeeedd; font-size: clamp(1.05rem, 1.62vw, 1.3rem); }
.reading { display: grid; grid-template-columns: minmax(10rem, .7fr) minmax(0, 2fr); align-items: start; gap: clamp(1.5rem, 5.7vw, 6rem); padding-block: 3.25rem 4.5rem; }
.contents { border-top: 1px solid var(--edge); padding-top: 1rem; }
.contents .eyebrow { margin-bottom: .6rem; }
.contents li { line-height: 1.4; }
.contents a { display: inline-block; padding-block: .45rem; font-size: .95rem; }
.reading article { max-width: 49rem; overflow-wrap: break-word; }
.reading article section + section { border-top: 1px solid var(--edge); margin-top: 1.75rem; padding-top: 1.75rem; }
.reading article h2 { margin-bottom: .85rem; font-size: clamp(1.65rem, 2.4vw, 2.2rem); letter-spacing: -.035em; }
.reading article p { color: var(--copy); }
.reading article p + p { margin-top: .8rem; }
.reading article a { color: #19513a; }
.form-box form { display: grid; gap: 1.1rem; max-width: 31rem; }
.form-box label { display: grid; gap: .35rem; font-weight: 600; }
.form-box input:not([type="checkbox"]) { display: block; width: 100%; padding: .6rem .8rem; border: 1px solid #718072; border-radius: .3rem; background: #fffdf6; color: var(--ink); }
.form-box .check { display: flex; align-items: flex-start; gap: .7rem; font-weight: 400; }
.check input { width: 1.15rem; height: 1.15rem; flex: none; margin: .25rem 0 0; accent-color: var(--felt); }
.delete-submit { background: #873e2e; color: white; justify-self: start; }
#delete-result:not(:empty) { margin-top: 1rem; font-weight: 650; }
@media (min-width: 100rem) {
  .hero-art { width: calc(50% + 8rem); }
  .hero::before { background: linear-gradient(90deg, #123d2f calc(50% - 13rem), transparent calc(50% + 12rem)); }
}
@media (max-width: 60rem) {
  .games { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.8rem; }
  .hero-copy { width: 48%; }
  .hero-intro { font-size: 1.04rem; }
  .hero-actions { gap: .6rem; }
  .hero-actions .btn { padding-inline: .95rem; }
}
@media (max-width: 47rem) {
  .header-inner { min-height: 4.2rem; }
  .header-actions { margin-inline-start: auto; gap: .7rem; }
  .nav-play, .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; list-style: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--edge); border-radius: .3rem; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary i, .mobile-nav summary i::before, .mobile-nav summary i::after { display: block; width: 1.05rem; height: 2px; background: var(--ink); }
  .mobile-nav summary i { position: relative; }
  .mobile-nav summary i::before, .mobile-nav summary i::after { content: ""; position: absolute; top: -5px; }
  .mobile-nav summary i::after { top: 5px; }
  .mobile-nav[open] summary i { background: transparent; }
  .mobile-nav[open] summary i::before { top: 0; transform: rotate(45deg); }
  .mobile-nav[open] summary i::after { top: 0; transform: rotate(-45deg); }
  .mobile-nav nav { position: absolute; top: calc(100% - 1px); right: 4.5%; display: grid; min-width: 12rem; border: 1px solid var(--edge); border-radius: 0 0 .4rem .4rem; background: var(--paper); padding: .4rem; box-shadow: 0 .4rem 1rem #10281b20; }
  .mobile-nav nav a { padding: .6rem .85rem; }
  .hero-wrap { min-height: auto; }
  .hero-art { width: 65%; }
  .hero-copy { width: 55%; }
  .hero h1 { font-size: clamp(3.9rem, 10.5vw, 5rem); }
  .hero::before { background: linear-gradient(90deg, #123d2f 22%, #123d2ff2 37%, #123d2fc9 47%, #10322250 66%, transparent 83%); }
  .table-story { gap: 1.5rem; }
  .table-art img { aspect-ratio: .97; }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 1.25rem; }
  .footer .brand span { font-size: 1.5rem; }
  .reading { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem 3rem; }
  .contents { border-top: 0; padding-top: 0; max-width: 42rem; }
  .contents ul { display: flex; flex-wrap: wrap; column-gap: 1.1rem; }
}
@media (max-width: 37rem) {
  .wrap { width: 89%; }
  .brand img { width: 2.25rem; height: 2.25rem; }
  .brand span { font-size: 1.52rem; }
  .hero { display: flex; flex-direction: column; }
  .hero::before { display: none; }
  .hero-art { position: static; order: 2; display: block; width: 100%; height: clamp(12rem, 51vw, 18rem); object-position: 50% 50%; }
  .hero-wrap { order: 1; width: 89%; }
  .hero-copy { width: 100%; max-width: 32rem; padding-block: 2.1rem 1.9rem; }
  .hero h1 { font-size: clamp(3.7rem, 13.8vw, 5rem); margin: .65rem 0 .9rem; line-height: .97; }
  .hero-intro { font-size: 1rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-actions .btn { min-height: 2.85rem; padding: .62rem 1rem; font-size: .935rem; }
  .section-head { display: block; }
  .section-head > .text-link { margin: .55rem 0 0; }
  .collection { padding-block: 2.3rem 2.6rem; }
  .games { gap: 1.5rem .85rem; }
  .game img { aspect-ratio: 1.35; }
  .game-kind { font-size: .8125rem; line-height: 1.35; }
  .game h3 { font-size: clamp(1.35rem, 5.5vw, 1.8rem); }
  .game-info > p:last-child { line-height: 1.45; }
  .table-story, .extras { grid-template-columns: 1fr; }
  .table-art img { aspect-ratio: 1.7; }
  .table-copy h2 { font-size: 2.4rem; }
  .lesson { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--edge); padding-bottom: 2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.9rem .8rem; padding-block: 2.3rem; }
  .publisher { grid-column: 1 / -1; }
  .footer .brand { margin-bottom: .55rem; }
}
@media (max-width: 22rem) {
  .games { grid-template-columns: 1fr; }
  .game img { aspect-ratio: 1.85; }
  .hero-actions { gap: .45rem; }
  .hero-actions .btn { padding-inline: .7rem; }
  .header-actions { gap: .25rem; }
}
