:root {
  --paper: #f8f7f0;
  --ink: #2f493a;
  --muted: #657365;
  --line: #e0e3d5;
  --peach: #e9a27f;
  --soft: #eeeee4;
  --white: #fffdf7;
  --radius: 24px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.55;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary {
  cursor: pointer;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
canvas:focus-visible {
  outline: 3px solid #ab5c3b;
  outline-offset: 4px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
p {
  margin: 0 0 1.2em;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 650;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.7rem, 5.1vw, 5rem);
}
h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  font-weight: 550;
}
h3 {
  font-size: 1.22rem;
  font-weight: 600;
}
button {
  line-height: 1.35;
}
input[type="checkbox"] {
  accent-color: var(--ink);
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
input[type="search"],
select {
  min-height: 46px;
  border: 1px solid #cbd1bf;
  border-radius: 12px;
  background: var(--white);
  padding: 10px 13px;
}
input[type="search"] {
  width: 100%;
}
select {
  max-width: 100%;
}
input[type="search"]::placeholder {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  z-index: 30;
  border-radius: 12px;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  max-width: 1400px;
  padding: 24px 4.5%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 96px;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-weight: 720;
  font-size: 1.8rem;
  letter-spacing: -0.065em;
  line-height: 1;
}
.brand svg {
  width: 39px;
  height: 39px;
}
.brand-light {
  font-weight: 450;
}
.brand i {
  font-style: normal;
  font-size: 0.8rem;
  color: #ad7659;
  vertical-align: top;
  margin-left: 3px;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.3vw, 35px);
  font-size: 0.92rem;
}
.main-nav a {
  text-decoration: none;
  position: relative;
  padding: 9px 0;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  color: #9b5136;
}
.main-nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  inset-inline: 35%;
  height: 3px;
  border-radius: 3px;
  background: var(--peach);
}
.language-control {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  max-width: 158px;
}
.language-control select {
  border: 0;
  background: transparent;
  padding-inline: 6px;
  max-width: 135px;
}
.language-control > span {
  font-size: 1.5rem;
}
main {
  max-width: 1400px;
  margin: auto;
  padding: 0 4.5% 70px;
  min-height: 65vh;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 15px;
  padding: 35px 0 40px;
  min-height: 650px;
}
.hero-copy {
  max-width: 570px;
  padding-bottom: 10px;
  position: relative;
  z-index: 1;
}
.pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 0.77rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  background: #eeefe4;
  border: 1px solid #dfe3d3;
  padding: 7px 13px;
  border-radius: 30px;
  margin-bottom: 27px;
}
.status-dot {
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #709266;
}
.hero h1 {
  margin-bottom: 25px;
  max-width: 590px;
}
.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-decoration: none;
  border-radius: 40px;
  background: var(--ink);
  color: var(--white);
  padding: 15px 26px;
  min-height: 53px;
  font-size: 0.94rem;
  font-weight: 550;
  border: 1px solid var(--ink);
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #435e45;
  transform: translateY(-1px);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid #cdd4c1;
}
.button.secondary:hover {
  background: #ebeee1;
}
.button:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}
.button > span {
  font-size: 0.8em;
}
.micro {
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 22px;
}
.hero-art {
  position: relative;
  min-width: 0;
}
.hero-board {
  width: 112%;
  max-width: none;
  margin-left: -4%;
  position: relative;
}
.hero-caption {
  position: absolute;
  bottom: 4%;
  inset-inline-start: 18%;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  gap: 22px;
  align-items: center;
}
.hero-caption span {
  font-size: 1.4rem;
}
.section {
  padding-top: 50px;
  margin-top: 15px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 27px;
}
.section-heading a {
  font-size: 0.86rem;
  flex-shrink: 0;
  text-decoration: none;
}
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.64rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 10px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 13px;
  margin: 30px 0;
}
.category {
  border-radius: 19px;
  background: #eeefe5;
  border: 1px solid transparent;
  padding: 12px 10px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 158px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.category:hover {
  border-color: #b0bda1;
  transform: translateY(-3px);
}
.category svg {
  width: 85px;
  height: 73px;
  margin-bottom: 8px;
}
.category span {
  font-size: 0.78rem;
  line-height: 1.3;
  flex: 1;
}
.category small {
  font-size: 0.63rem;
  opacity: 0.6;
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px 21px;
}
.game-card {
  min-width: 0;
  position: relative;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid #e6e7dc;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.game-card:hover {
  box-shadow: 0 8px 30px #344b390c;
}
.card-picture {
  display: block;
  position: relative;
  margin: 8px;
  border-radius: 14px;
  overflow: hidden;
}
.card-picture img {
  width: 100%;
  aspect-ratio: 8/5;
  object-fit: cover;
  border-radius: 14px;
}
.card-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #fffdf3e8;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.15s;
}
.game-card:hover .card-play,
.game-card:focus-within .card-play {
  opacity: 1;
}
.card-copy {
  padding: 14px 17px 20px;
  position: relative;
  min-height: 151px;
}
.card-copy .eyebrow {
  font-size: 0.57rem;
  letter-spacing: 0.09em;
  margin-bottom: 7px;
  padding-inline-end: 24px;
}
.card-copy h3 {
  font-size: 1.1rem;
  margin-bottom: 9px;
  letter-spacing: -0.025em;
  padding-inline-end: 22px;
}
.card-copy h3 a {
  text-decoration: none;
}
.card-copy h3 a:hover {
  text-decoration: underline;
}
.card-copy p {
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.favorite {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  font-size: 1.35rem;
  width: 35px;
  height: 35px;
  background: transparent;
  color: #75826b;
  border-radius: 50%;
}
.favorite[aria-pressed="true"] {
  color: #aa6147;
}
.favorite:hover {
  background: #eceee4;
}
.gentle-banner {
  margin-top: 65px;
  border-radius: var(--radius);
  padding: 42px 6%;
  background: #ebeede;
  display: grid;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 35px;
}
.gentle-banner h2 {
  margin-bottom: 16px;
}
.gentle-banner p {
  max-width: 600px;
  color: var(--muted);
  font-size: 0.95rem;
}
.gentle-banner .button {
  font-size: 0.83rem;
  padding: 12px 20px;
  min-height: 45px;
}
.gentle-banner svg {
  width: 280px;
}
.two-stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.story h2 {
  font-size: 1.5rem;
  margin: 0 0 17px;
  letter-spacing: -0.025em;
}
.story p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 650px;
}
.story a {
  font-size: 0.88rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 4.5% 25px;
  max-width: 1400px;
  margin: auto;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 36px;
}
.footer-top .brand {
  font-size: 1.45rem;
}
.footer-top .brand svg {
  width: 30px;
  height: 30px;
}
.footer-top p {
  font-size: 0.74rem;
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.site-footer a {
  text-decoration: none;
  font-size: 0.77rem;
}
.site-footer a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 0.7rem;
  color: var(--muted);
  gap: 22px;
}
.page-heading {
  padding: 64px 0 35px;
  max-width: 850px;
}
.page-heading h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.2rem);
  margin-bottom: 24px;
}
.page-heading p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 790px;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 16px 0;
}
.search {
  display: flex;
  align-items: center;
  position: relative;
  width: 380px;
  max-width: 100%;
}
.search > span {
  position: absolute;
  inset-inline-start: 17px;
  font-size: 1.6rem;
  top: 4px;
}
.search input {
  padding-inline-start: 46px;
  border-radius: 28px;
  background: var(--white);
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0 35px;
}
.filters button {
  border: 1px solid #d9dfce;
  border-radius: 30px;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.78rem;
  min-height: 42px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.breadcrumbs {
  display: flex;
  gap: 15px;
  padding: 30px 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumbs a {
  text-decoration: none;
}
.game-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 10px 0 30px;
}
.detail-preview {
  position: relative;
}
.detail-preview img {
  width: 100%;
  border-radius: 25px;
}
.preview-label {
  position: absolute;
  bottom: 15px;
  inset-inline-start: 20px;
  background: #fffdf0bb;
  border-radius: 18px;
  padding: 5px 12px;
  font-size: 0.65rem;
}
.detail-copy h1 {
  font-size: clamp(2.3rem, 3.7vw, 3.8rem);
  margin-bottom: 21px;
}
.detail-copy .hero-lead {
  font-size: 1.04rem;
  margin-bottom: 16px;
}
.detail-copy > p:not(.hero-lead):not(.micro) {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 25px;
}
.detail-tools {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.text-button {
  background: transparent;
  padding: 8px 0;
  font-size: 0.83rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 42px;
}
.text-button[aria-pressed="true"] {
  color: #a0583d;
}
.care-note {
  padding: 22px 28px;
  margin: 35px 0;
  background: #eeeee3;
  border-radius: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}
.collection-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 12px 0 45px;
}
.collection-tile {
  border-radius: 25px;
  padding: 30px;
  text-decoration: none;
  position: relative;
  border: 1px solid transparent;
}
.collection-tile:hover {
  border-color: #acb39c;
}
.collection-tile > span:first-child {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 20px;
}
.collection-tile h2 {
  margin-bottom: 15px;
}
.collection-tile p {
  font-size: 0.88rem;
  color: var(--muted);
}
.collection-tile > span:last-child {
  position: absolute;
  bottom: 20px;
  inset-inline-end: 25px;
}
.warm {
  background: #f1e5d4;
}
.cool {
  background: #e7ecdf;
}
.tv-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
}
.tv-hero h1 {
  margin-bottom: 25px;
}
.tv-hero img {
  border: 15px solid #3e5241;
  border-bottom-width: 27px;
  border-radius: 24px;
}
.tv-hero .button {
  margin-bottom: 20px;
}
.tv-hero p:last-child {
  font-size: 0.85rem;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 65px;
  align-items: start;
}
.article-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 30px;
  padding: 24px 0;
  font-size: 0.86rem;
}
.article-nav a {
  text-decoration: none;
}
.prose {
  max-width: 760px;
}
.prose section {
  padding-bottom: 30px;
}
.prose h2 {
  margin: 20px 0;
  font-size: 1.6rem;
}
.prose p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
}
.prose a {
  font-size: 0.88rem;
}
.legal {
  padding: 70px 0 100px;
  margin: auto;
  min-height: 60vh;
}
.legal h1 {
  margin-bottom: 35px;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
}
.app-status:not(:empty) {
  padding: 20px;
  border-radius: 15px;
  background: #f5e4d4;
  margin-top: 20px;
  font-size: 0.9rem;
}
.not-found {
  padding-top: 70px;
  max-width: 900px;
}
.not-found h1 {
  margin: 35px 0;
}
.not-found nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.not-found a {
  font-size: 0.87rem;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--paper);
  color: var(--ink);
  padding: 32px;
  max-width: 680px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-shadow: 0 25px 100px #1a301c33;
}
dialog::backdrop {
  background: #22342577;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 1.8rem;
}
dialog h3 {
  font-size: 1.08rem;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}
.icon-button {
  background: #e9eddf;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.setup {
  border: 1px solid #dce0cf;
  border-radius: 16px;
  padding: 14px 18px;
}
.setup summary {
  font-size: 0.9rem;
  font-weight: 600;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 19px;
  padding: 20px 0 6px;
}
.settings-grid label:not(.check) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.79rem;
}
.settings-grid select {
  width: 100%;
  font-size: 0.87rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  cursor: pointer;
  min-height: 42px;
}
.wide {
  grid-column: 1/-1;
}
.exit-instructions {
  position: relative;
  padding: 22px 0 0;
}
.exit-instructions p {
  font-size: 0.87rem;
  line-height: 1.8;
  margin-top: 12px;
}
.exit-map {
  direction: ltr;
  float: right;
  margin: 0 0 10px 18px;
  display: grid;
  grid-template-columns: 30px 30px;
  grid-template-rows: 25px 25px;
  border: 2px solid #b6c1a8;
  border-radius: 7px;
  padding: 5px;
  font-size: 1rem;
  color: #697d5b;
}
.exit-map span:last-child {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}
.exit-map i {
  grid-row: 1/3;
  grid-column: 1/3;
  justify-self: center;
  align-self: center;
  font-style: normal;
  font-size: 1.3rem;
}
.fine {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.8;
  margin: 12px 0;
}
.acknowledge {
  margin: 22px 0 13px;
  padding: 13px;
  border-radius: 13px;
  background: #e9edde;
}
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.dialog-actions .button {
  font-size: 0.86rem;
}
.playing {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
  height: 100dvh;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.playing #site-shell {
  display: none;
}
.playing #end-dialog {
  display: none;
}
#cat-mode {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #e9edda;
  touch-action: none;
  overscroll-behavior: none;
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
#cat-mode:fullscreen {
  height: 100%;
  width: 100%;
}
#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
  overscroll-behavior: none;
  cursor: none;
  -webkit-touch-callout: none;
}
@media (min-width: 1650px) {
  .hero {
    min-height: 700px;
  }
}
@media (max-width: 1100px) {
  .hero {
    min-height: 550px;
  }
  .hero h1 {
    font-size: 3.7rem;
  }
  .main-nav {
    gap: 20px;
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .category {
    min-height: 150px;
  }
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .featured .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .featured .card-copy p {
    font-size: 0.73rem;
  }
  .game-detail {
    gap: 30px;
  }
  .footer-top {
    gap: 20px;
  }
  .gentle-banner {
    grid-template-columns: 1fr 230px;
  }
  .gentle-banner svg {
    width: 230px;
  }
}
@media (max-width: 800px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 20px;
    gap: 16px;
  }
  .brand {
    font-size: 1.65rem;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    font-size: 0.87rem;
  }
  .language-control {
    margin-inline-start: auto;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 35px;
    min-height: auto;
    gap: 0;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero .hero-lead {
    font-size: 0.95rem;
  }
  .hero .button {
    font-size: 0.82rem;
    padding: 13px 19px;
    min-height: 47px;
    gap: 15px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-art {
    margin-inline-end: -15px;
  }
  .hero-caption {
    display: none;
  }
  .hero-board {
    width: 120%;
    margin-left: -8%;
  }
  .pill {
    font-size: 0.65rem;
    margin-bottom: 23px;
  }
  .section {
    padding-top: 32px;
  }
  .games-grid,
  .featured .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured .card-copy p {
    font-size: 0.77rem;
  }
  .two-stories {
    gap: 35px;
  }
  .gentle-banner {
    padding: 30px 6%;
    grid-template-columns: 1fr 180px;
    gap: 10px;
  }
  .gentle-banner svg {
    width: 180px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top p {
    min-width: 50%;
  }
  .footer-top nav {
    width: 100%;
  }
  .game-detail {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .detail-copy h1 {
    font-size: 2.4rem;
  }
  .detail-copy .hero-lead {
    font-size: 0.9rem;
  }
  .detail-preview .preview-label {
    font-size: 0.5rem;
    bottom: 10px;
    inset-inline-start: 10px;
  }
  .tv-hero {
    grid-template-columns: 1fr;
  }
  .tv-hero img {
    max-width: 650px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .article-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 25px;
    padding-top: 0;
  }
  .page-heading {
    padding-top: 44px;
  }
  .not-found nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  main {
    padding-inline: 5%;
    padding-bottom: 40px;
  }
  .site-header {
    padding-inline: 5%;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 28px 0 5px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11.5vw, 3.9rem);
    max-width: 500px;
    margin-bottom: 20px;
  }
  .hero .hero-lead {
    font-size: 1rem;
    max-width: 430px;
    margin-bottom: 20px;
  }
  .hero .hero-actions {
    margin: 22px 0 18px;
  }
  .hero .button {
    font-size: 0.88rem;
    padding: 14px 22px;
    min-height: 50px;
  }
  .hero .micro {
    margin-top: 20px;
    margin-bottom: 0;
  }
  .hero-art {
    margin: 0 -3% -5%;
    height: auto;
  }
  .hero-board {
    width: 100%;
    margin: 0;
  }
  .pill {
    font-size: 0.67rem;
    margin-bottom: 21px;
  }
  .section-heading {
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 1.65rem;
  }
  .section-heading > a {
    font-size: 0.72rem;
    padding-top: 5px;
    max-width: 100px;
    text-align: end;
  }
  .category-grid {
    gap: 9px;
    margin-top: 23px;
  }
  .category {
    padding: 8px 4px 11px;
    border-radius: 14px;
    min-height: 133px;
  }
  .category svg {
    width: 60px;
    height: 57px;
    margin: 0 0 5px;
  }
  .category span {
    font-size: 0.65rem;
  }
  .category small {
    font-size: 0.58rem;
    gap: 9px;
    margin-top: 6px;
  }
  .games-grid,
  .featured .games-grid {
    gap: 16px 11px;
  }
  .card-picture {
    margin: 6px;
  }
  .card-picture img {
    border-radius: 10px;
  }
  .game-card {
    border-radius: 16px;
  }
  .card-copy {
    padding: 9px 11px 16px;
    min-height: 150px;
  }
  .card-copy .eyebrow {
    font-size: 0.49rem;
    line-height: 1.5;
    padding-inline-end: 22px;
  }
  .card-copy h3 {
    font-size: 0.97rem;
    padding-inline-end: 10px;
    line-height: 1.22;
  }
  .card-copy p,
  .featured .card-copy p {
    font-size: 0.69rem;
    line-height: 1.65;
  }
  .favorite {
    font-size: 1.2rem;
    top: 4px;
    inset-inline-end: 4px;
    width: 31px;
    height: 31px;
  }
  .card-play {
    display: none;
  }
  .gentle-banner {
    margin-top: 35px;
    padding: 28px 25px;
    grid-template-columns: 1fr;
  }
  .gentle-banner svg {
    width: 155px;
    justify-self: end;
    margin-top: -8px;
  }
  .gentle-banner h2 {
    font-size: 1.8rem;
  }
  .two-stories {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story h2 {
    font-size: 1.45rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 17px;
  }
  .site-footer nav {
    gap: 13px 22px;
  }
  .footer-top p {
    font-size: 0.69rem;
    min-width: 100%;
  }
  .footer-top {
    gap: 20px;
    margin-bottom: 24px;
  }
  .site-footer {
    padding-top: 28px;
  }
  .site-footer a {
    font-size: 0.74rem;
  }
  .page-heading {
    padding: 35px 0 20px;
  }
  .page-heading h1 {
    font-size: 2.7rem;
  }
  .page-heading p {
    font-size: 0.95rem;
  }
  .catalog-tools {
    align-items: stretch;
  }
  .catalog-tools .button {
    padding: 10px 17px;
    min-width: 120px;
    gap: 7px;
    font-size: 0.78rem;
  }
  .search > span {
    inset-inline-start: 13px;
  }
  .search input {
    padding-inline-start: 34px;
    font-size: 0.8rem;
  }
  .filters {
    gap: 7px;
    margin: 20px 0 27px;
  }
  .filters button {
    font-size: 0.7rem;
    padding: 8px 12px;
    min-height: 40px;
  }
  .breadcrumbs {
    font-size: 0.73rem;
    flex-wrap: wrap;
    padding: 24px 0;
  }
  .game-detail {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 0;
  }
  .detail-copy h1 {
    font-size: 2.8rem;
  }
  .detail-copy .hero-lead {
    font-size: 1rem;
    max-width: none;
  }
  .detail-copy > p:not(.hero-lead):not(.micro) {
    font-size: 0.9rem;
  }
  .detail-copy > .button {
    width: 100%;
  }
  .detail-copy .micro {
    margin-bottom: 0;
  }
  .detail-tools {
    justify-content: space-between;
    gap: 12px;
  }
  .detail-preview img {
    border-radius: 21px;
  }
  .detail-preview .preview-label {
    font-size: 0.62rem;
    bottom: 12px;
    inset-inline-start: 15px;
  }
  .care-note {
    padding: 19px 22px;
    font-size: 0.8rem;
  }
  .collection-pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .collection-tile {
    padding: 25px;
  }
  .tv-hero {
    padding-top: 35px;
    gap: 25px;
  }
  .tv-hero .hero-lead {
    font-size: 0.95rem;
  }
  .tv-hero img {
    border-width: 10px;
    border-bottom-width: 20px;
  }
  .prose p {
    font-size: 0.94rem;
  }
  .legal {
    padding-top: 40px;
  }
  .legal h1 {
    font-size: 2.7rem;
  }
  .prose h2 {
    font-size: 1.5rem;
  }
  .article-nav {
    gap: 13px 23px;
    font-size: 0.78rem;
  }
  dialog {
    padding: 22px;
    max-height: calc(100dvh - 24px);
    width: calc(100% - 24px);
    border-radius: 21px;
  }
  dialog h2 {
    font-size: 1.45rem;
  }
  .settings-grid {
    gap: 13px;
    grid-template-columns: 1fr 1fr;
  }
  .settings-grid label:not(.check) {
    font-size: 0.7rem;
  }
  .settings-grid select {
    font-size: 0.8rem;
    padding-inline: 9px;
  }
  .check {
    font-size: 0.78rem;
  }
  .fine {
    font-size: 0.68rem;
  }
  .dialog-actions .button {
    width: 100%;
    gap: 15px;
  }
  .dialog-actions .text-button {
    margin: auto;
  }
  .dialog-actions {
    gap: 10px;
  }
  .dialog-heading {
    margin-bottom: 20px;
  }
  .not-found nav {
    grid-template-columns: 1fr;
  }
  .not-found h1 {
    font-size: 5rem;
  }
}
@media (max-width: 360px) {
  .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .button {
    width: 100%;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .games-grid,
  .featured .games-grid {
    grid-template-columns: 1fr;
  }
  .card-copy {
    min-height: 0;
  }
  .card-copy p {
    font-size: 0.8rem;
  }
  .card-copy h3 {
    font-size: 1.2rem;
  }
  .card-copy .eyebrow {
    font-size: 0.6rem;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .catalog-tools {
    flex-direction: column;
  }
  .language-control {
    max-width: 140px;
  }
  .language-control select {
    max-width: 115px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .button:hover,
  .category:hover {
    transform: none;
  }
}
@media (forced-colors: active) {
  .button,
  .category,
  .game-card,
  .filters button,
  .care-note {
    border: 1px solid CanvasText;
  }
  .favorite[aria-pressed="true"] {
    outline: 2px solid Highlight;
  }
  .status-dot {
    background: CanvasText;
  }
}

/* Long localized headings must share narrow rows without horizontal overflow. */
.section-heading > * {
  min-width: 0;
}
.section-heading h2 {
  overflow-wrap: anywhere;
}
.section-heading > a {
  flex-shrink: 1;
  overflow-wrap: anywhere;
}
html[dir="rtl"] .hero-board {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

dialog[open] {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 200;
}
#launch-error:not(:empty) {
  color: #924526;
  border-inline-start: 3px solid #b56e4b;
  padding-inline-start: 12px;
}

/* Local, licensed typography. Script-specific overrides are pre-generated. */
:root {
  --body-font: "Nunito Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --heading-font: "Literata Variable", Georgia, serif;
  --heading-leading: 1.14;
  --heading-tracking: -0.035em;
  --body-leading: 1.65;
  font-family: var(--body-font);
  line-height: var(--body-leading);
}
html {
  scrollbar-gutter: stable both-edges;
  scrollbar-color: #a5b09a var(--paper);
}
body.owner-dialog-open {
  overflow: hidden;
}
h1,
h2,
h3 {
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}
h1 {
  font-family: var(--heading-font);
  font-optical-sizing: auto;
  font-size: clamp(2.7rem, 4.9vw, 4.85rem);
}
h2 {
  font-weight: 650;
  letter-spacing: var(--heading-tracking);
}
h3 {
  font-weight: 750;
}
.button {
  font-weight: 700;
  letter-spacing: 0.005em;
}
.hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
}
.brand {
  font-family: "Nunito Sans Variable", sans-serif;
  font-weight: 850;
}
.brand-light {
  font-weight: 550;
}
.main-nav {
  font-weight: 650;
}
.card-copy p {
  font-size: 0.82rem;
  line-height: 1.7;
}
.card-copy h3 {
  font-size: 1.13rem;
  font-weight: 800;
}
.eyebrow {
  font-weight: 750;
  letter-spacing: 0.09em;
}
.language-control button {
  border: 1px solid #d4dcc9;
  border-radius: 24px;
  background: #fffdf780;
  min-height: 42px;
  padding: 8px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-control {
  max-width: 180px;
}
#language-dialog {
  max-width: 620px;
}
#language-search {
  width: 100%;
  border-radius: 15px;
  margin: 0 0 2px;
}
.language-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px 0;
}
.language-list a {
  border: 1px solid transparent;
  background: #eeefe5;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.language-list a span {
  overflow-wrap: anywhere;
}
.language-list small {
  color: var(--muted);
  font-size: 0.62rem;
  direction: ltr;
}
.language-list a:hover,
.language-list a[aria-current="page"] {
  border-color: #93a384;
  background: #e1e8d5;
}
.language-offer {
  max-width: 1274px;
  margin: 0 auto 6px;
  padding: 13px 20px;
  background: #e9efdf;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  font-size: 0.82rem;
  width: 91%;
}
.language-offer p {
  margin: 0;
  line-height: 1.7;
}
.language-offer > div {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.language-offer button {
  background: var(--ink);
  color: var(--white);
  border-radius: 22px;
  padding: 10px 15px;
  font-size: 0.76rem;
  font-weight: 700;
}
.language-offer [data-offer-keep] {
  background: transparent;
  color: var(--ink);
  border: 1px solid #c4d0b8;
}
.sound-panel {
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid #dbe2cd;
  background: #f0f2e7;
  border-radius: 16px;
}
.sound-panel[data-enabled="true"] {
  border-color: #a9bf95;
  background: #eaf0df;
}
.sound-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.sound-choice {
  font-size: 1rem;
  font-weight: 800;
}
.sound-panel > p {
  font-size: 0.76rem;
  line-height: 1.7;
  margin: 7px 0 0;
  color: var(--muted);
}
.sound-panel .sound-status {
  font-size: 0.71rem;
  color: var(--ink);
}
.sound-preview {
  padding: 10px 14px;
  min-height: 43px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
}
.dialog-actions .button > span[data-start-label] {
  font-size: 1em;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: -15px 0 24px;
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 42px;
}
.results-bar p {
  margin: 0;
}
#install {
  scroll-margin-top: 24px;
}
#install h3 {
  font-family: var(--body-font);
  font-size: 1rem;
  letter-spacing: 0;
  margin: 20px 0 8px;
}
@media (max-width: 800px) {
  .language-offer {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
  .language-offer > div {
    flex-wrap: wrap;
    flex-shrink: 1;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
}
@media (max-width: 580px) {
  .language-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .language-list a {
    font-size: 0.8rem;
    padding: 10px;
  }
  .language-control button {
    max-width: 130px;
    font-size: 0.75rem;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 10.6vw, 3.65rem);
  }
  .sound-panel {
    padding: 12px 14px;
  }
  .sound-heading {
    gap: 6px;
  }
  .sound-panel > p {
    font-size: 0.73rem;
  }
  .sound-preview {
    font-size: 0.72rem;
    padding: 9px 12px;
  }
  .card-copy p {
    font-size: 0.73rem;
  }
  .card-copy h3 {
    font-size: 1rem;
  }
  .results-bar {
    font-size: 0.76rem;
  }
}
@media (max-width: 360px) {
  .language-control button {
    max-width: 108px;
  }
  .sound-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .sound-preview {
    width: 100%;
  }
  .language-list {
    grid-template-columns: 1fr;
  }
  .card-copy p {
    font-size: 0.82rem;
  }
  .card-copy h3 {
    font-size: 1.2rem;
  }
}
@media (forced-colors: active) {
  html {
    scrollbar-color: auto;
  }
  .sound-panel,
  .language-list a,
  .language-control button {
    border: 1px solid CanvasText;
  }
}
.setup summary small {
  display: block;
  margin-top: 6px;
  margin-inline-start: 17px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}
.exit-map span:first-child {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  align-self: start;
  justify-self: start;
}
.exit-map span:last-child {
  grid-column: 2;
  grid-row: 2;
  z-index: 1;
  align-self: end;
  justify-self: end;
}
.exit-map i {
  z-index: 0;
}
dialog[open] {
  top: calc(
    var(--owner-viewport-top, 0px) + var(--owner-viewport-height, 100dvh) / 2
  );
  max-height: calc(var(--owner-viewport-height, 100dvh) - 24px);
}
html.cat-active {
  scrollbar-gutter: auto;
}
h1,
h2,
h3,
button,
.check,
label,
.card-copy p {
  overflow-wrap: anywhere;
}
.catalog-tools {
  flex-wrap: wrap;
}
.catalog-tools .search {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 450px;
}
.catalog-tools .button {
  max-width: 100%;
}
.settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-grid label,
.settings-grid select {
  min-width: 0;
}
@media (max-width: 360px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .catalog-tools .search {
    flex-basis: auto;
  }
}

/* Practical device-risk information stays in the owner interface. */
.footer-risk {
  margin: 22px 0 0;
  max-width: 1050px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}
.footer-risk a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-tagline {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  color: var(--muted);
  margin: 14px 0;
}
.game-finder > p,
.scene-comparison > p {
  max-width: 850px;
  color: var(--muted);
  line-height: 1.8;
}
.finder-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 22px 0;
}
.finder-fields fieldset {
  border: 1px solid var(--line);
  padding: 18px 22px;
  border-radius: 20px;
  min-width: 0;
}
.finder-fields legend {
  padding: 0 8px;
  font-weight: 750;
  font-size: 0.9rem;
}
input[type="radio"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--ink);
}
.finder-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 25px;
}
.finder-result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.finder-result img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.finder-result a {
  font-weight: 750;
  line-height: 1.6;
}
.finder-result .button {
  margin-top: auto;
  font-size: 0.8rem;
  padding: 12px;
}
.owner-corner {
  border: 1px solid var(--line);
  border-radius: 22px;
  margin: 24px 0 0;
  padding: 18px 22px;
  background: #eef0e5;
}
.owner-corner > summary {
  font-weight: 800;
}
.corner-content {
  padding-top: 12px;
}
.corner-content > p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}
.corner-content h3 {
  font-size: 1.2rem;
  margin: 23px 0 12px;
}
.recent-games {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.recent-games a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  font-size: 0.82rem;
}
.save-profile-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 10px 0 20px;
}
.save-profile-row input {
  min-width: 0;
  flex: 1;
  max-width: 400px;
}
.save-profile-row .button {
  font-size: 0.82rem;
}
.saved-profile {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.saved-profile .fine {
  margin: 7px 0;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.scene-explainer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 42px;
  align-items: start;
}
.scene-explainer h2,
.scene-comparison h2,
.scene-demo h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
.scene-explainer h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}
.scene-explainer p,
.scene-demo > p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 850px;
}
.scene-settings {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #edf1e5;
}
.scene-settings h2 {
  font-size: 1.55rem;
  margin-top: 14px;
}
.scene-settings .setting-chips {
  color: var(--ink);
  font-size: 0.82rem;
}
.comparison-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-x: contain;
  margin-top: 22px;
}
.comparison-scroll table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.87rem;
  line-height: 1.8;
}
.comparison-scroll th,
.comparison-scroll td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.comparison-scroll thead {
  background: #edf1e5;
}
.comparison-scroll tbody th {
  font-weight: 700;
  width: 30%;
}
.comparison-scroll td {
  color: var(--muted);
}
.scene-demo video {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 20px;
  border-radius: 22px;
  background: #dfe7d6;
}
.product-faq {
  padding-top: 0;
}
.product-faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.product-faq summary {
  font-size: 0.97rem;
  font-weight: 750;
  line-height: 1.7;
}
.product-faq details p {
  margin-bottom: 0;
}
.status-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 6px;
}
.release-note {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.release-note time {
  font-size: 0.8rem;
  color: var(--muted);
}
.release-note h2 {
  margin-top: 12px;
}
.breadcrumbs {
  flex-wrap: wrap;
  line-height: 1.7;
}
@media (max-width: 800px) {
  .finder-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scene-explainer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 580px) {
  .finder-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .save-profile-row {
    align-items: stretch;
    flex-direction: column;
  }
  .save-profile-row input {
    max-width: none;
    width: 100%;
    flex: auto;
  }
  .scene-settings {
    padding: 20px;
  }
  .scene-explainer h2,
  .scene-comparison h2,
  .scene-demo h2 {
    font-size: 1.65rem;
  }
  .owner-corner {
    padding: 15px 18px;
  }
}
#launch-dialog {
  padding: 0;
  overflow: hidden;
}
#launch-form {
  display: flex;
  flex-direction: column;
  max-height: calc(var(--owner-viewport-height, 100dvh) - 28px);
}
.launch-scroll {
  overflow: auto;
  min-height: 0;
  padding: 24px 28px 0;
}
.launch-submit {
  flex-shrink: 0;
  padding: 14px 28px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.launch-submit .dialog-actions {
  flex-wrap: nowrap;
}
.launch-submit .dialog-actions .button {
  flex: 1;
  width: auto;
  min-width: 0;
}
.launch-submit .dialog-actions .text-button {
  margin: 0;
  flex-shrink: 0;
}
.launch-submit > .fine {
  margin: 7px 0 0;
}
.launch-scroll .dialog-heading {
  margin-bottom: 16px;
}
.launch-scroll .sound-panel {
  padding: 12px 15px;
  margin-bottom: 12px;
}
.launch-scroll .sound-heading {
  flex-wrap: nowrap;
  gap: 8px;
}
.launch-scroll .sound-choice {
  flex-shrink: 0;
  font-size: 0.9rem;
  gap: 7px;
}
.launch-scroll .sound-preview {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  font-size: 0.71rem;
  line-height: 1.4;
  padding: 8px 10px;
}
.launch-scroll .exit-instructions {
  padding-top: 16px;
}
.launch-scroll .acknowledge {
  margin: 14px 0 8px;
}
.launch-scroll #launch-error:empty {
  margin: 0;
}
#install-offer {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #edf1e5;
}
.install-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.install-brand svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.install-brand h3 {
  margin: 0;
  font-family: var(--body-font);
}
#install-offer > p {
  font-size: 0.85rem;
  line-height: 1.7;
}
.install-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.install-actions .button {
  font-size: 0.82rem;
}
@media (max-width: 580px) {
  .launch-scroll {
    padding: 20px 22px 0;
  }
  .launch-submit {
    padding: 12px 22px 16px;
  }
}
@media (max-height: 500px) {
  .launch-submit > .fine {
    display: none;
  }
}
.risk-notice {
  margin: 28px 0;
  padding: 20px 24px;
  border: 1px solid #d6bba1;
  border-inline-start: 4px solid #b77b52;
  border-radius: 16px;
  background: #f2e9d9;
  color: #5d4a35;
  line-height: 1.75;
}
.risk-notice strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.55;
}
.risk-notice p {
  font-size: 0.84rem;
  margin: 8px 0 9px;
}
.risk-notice a {
  font-size: 0.78rem;
  font-weight: 700;
}
.mandatory-rights {
  padding-inline-start: 16px;
  border-inline-start: 3px solid #a8b99a;
}
.prose .risk-notice p {
  font-size: 0.88rem;
  line-height: 1.8;
}
@media (max-width: 580px) {
  .risk-notice {
    padding: 17px 19px;
  }
  .risk-notice strong {
    font-size: 0.85rem;
  }
  .risk-notice p {
    font-size: 0.78rem;
  }
  .acknowledge {
    font-size: 0.78rem;
    line-height: 1.7;
  }
}
@media (forced-colors: active) {
  .risk-notice,
  .mandatory-rights {
    border: 1px solid CanvasText;
  }
}
