/* Teen Patti App Hub — warm green edition. Unminified source. */
:root {
  color-scheme: light;
  --bg: #fffdf7;
  --paper: #ffffff;
  --panel: #f4f3e9;
  --green: #1b6242;
  --green-dark: #123f2e;
  --green-soft: #eaf2e9;
  --gold: #d4a338;
  --gold-soft: #f8edcf;
  --edge: #dce2d5;
  --ink: #203c2f;
  --muted: #5e6d61;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.8 Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

button,
input,
textarea {
  font: inherit;
}

button,
.button,
.download-small {
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.age-strip {
  max-width: 800px;
  margin: auto;
  padding: 7px 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--green-dark);
  color: #fff7dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--edge);
  background: #fffdf7f5;
  backdrop-filter: blur(15px);
}

.navigation {
  max-width: 800px;
  margin: auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--green-dark);
  font: 800 23px/1 'Barlow Condensed', Arial, sans-serif;
  letter-spacing: 1px;
}

.logo small {
  display: block;
  margin-top: 5px;
  font: 700 8px/1.5 Inter, Arial, sans-serif;
  letter-spacing: 1px;
}

.logo .app-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.navigation #menu {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 700;
}

.navigation #menu a {
  padding: 6px 0;
}

.navigation a[aria-current] {
  color: var(--green);
  box-shadow: inset 0 -2px var(--gold);
}

.menu-toggle {
  display: none;
}

main,
footer {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 0 22px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 16px 0;
  color: var(--muted);
  font-size: 10px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 27px 28px 28px;
  border: 1px solid #2b7652;
  border-radius: 18px 18px 5px 18px;
  background: var(--green-dark) url('banner.webp') center right / cover no-repeat;
  color: var(--bg);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: linear-gradient(95deg, #124b35fa 0%, #1b6242ed 49%, #163f2c6e 100%);
}

.hero::after {
  position: absolute;
  top: 0;
  left: 28px;
  width: 64px;
  height: 3px;
  content: '';
  background: var(--gold);
}

.eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.hero .eyebrow {
  color: #f2d88d;
}

h1,
h2,
h3 {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 650px;
  margin: 12px 0;
  font-size: clamp(32px, 5.5vw, 47px);
  letter-spacing: -.4px;
}

h2 {
  margin: 0 0 19px;
  color: var(--green-dark);
  font-size: 32px;
}

h3 {
  margin: 12px 0;
  font-size: 24px;
}

p {
  margin: 10px 0 19px;
  color: var(--muted);
}

.hero > p {
  max-width: 580px;
  margin: 10px 0;
  color: #e0ecdf;
  font-size: 12px;
  line-height: 1.7;
}

.hero .hero-bonus {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 11px;
  border: 1px solid #d4a33888;
  border-radius: 5px;
  background: #f6db9320;
  color: #ffe29b;
  font: 700 21px/1.5 'Barlow Condensed', Arial, sans-serif;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 43px;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

button:hover,
.button:hover {
  background: var(--green-dark);
  color: white;
}

.hero .button {
  border-color: #e1eadc75;
  background: #ffffff0e;
  color: #fffdf7;
}

.hero .primary,
.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #243723;
  box-shadow: 0 4px 15px #05291d25;
}

.hero .primary:hover {
  border-color: #e7bd59;
  background: #e7bd59;
  color: #203c2f;
}

.button.secondary {
  background: var(--green-soft);
  color: var(--green);
  border-color: #c9dcc9;
}

section {
  padding: 30px 0;
  border-bottom: 1px solid var(--edge);
}

.section-intro {
  max-width: 600px;
  font-size: 13px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-width: 0;
  padding: 15px 12px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: white;
  box-shadow: 0 3px 10px #153f2610;
}

.app-link {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-link > span {
  min-width: 0;
}

.app-link strong {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.app-link small {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
}

.app-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #a8bfa6;
  border-radius: 10px;
  background: linear-gradient(140deg, #e0ecd6, #bbcfad);
  color: var(--green-dark);
  object-fit: contain;
  font: 8px/1.3 Inter, Arial, sans-serif;
}

.bonus {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--gold-soft);
  color: #705216;
  font-size: 8px;
  line-height: 1.4;
}

.download-small {
  flex-shrink: 0;
  padding: 8px 9px;
  border: 1px solid #c3d7be;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.download-small:hover {
  background: var(--green);
  color: white;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-list li {
  display: flex;
  min-width: 0;
}

.story-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 18px 14px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px #193f2b08;
  transition: border-color .15s, transform .15s;
}

.story-card:hover {
  transform: translateY(-2px);
  border-color: #8eaf8e;
}

.story-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 39px;
  height: 43px;
  border: 1px solid #e2ddbd;
  border-radius: 10px 10px 3px 10px;
  background: #faf1da;
  font-size: 22px;
}

.article-list li:nth-child(3n + 2) .story-icon {
  border-color: #d2e3d0;
  background: var(--green-soft);
}

.article-list li:nth-child(3n) .story-icon {
  border-color: #e7d9cc;
  background: #f7eee5;
}

.story-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  color: #72806c;
  font-size: 8px;
  line-height: 1.5;
}

.story-meta b {
  color: var(--green);
  font-size: 8px;
  letter-spacing: .7px;
}

.story-meta small {
  font-size: 9px;
}

.story-copy > strong {
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.6;
}

.story-summary {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.story-arrow {
  flex-shrink: 0;
  color: #967325;
  font-size: 16px;
  line-height: 1.3;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.guide-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 17px 14px;
  border: 1px solid #d6dfce;
  border-radius: 12px;
  background: linear-gradient(125deg, #fff, #f4f7ed);
}

.guide-card:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.guide-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 38px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-soft);
  font-size: 22px;
}

.guide-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.guide-copy small {
  color: #857032;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.4;
}

.guide-copy strong {
  color: var(--green-dark);
  font-size: 12px;
  line-height: 1.5;
}

.guide-copy > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.card-arrow {
  color: var(--green);
  font-size: 19px;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.three-grid article,
.team-grid article {
  padding: 21px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: white;
}

.three-grid b {
  color: #937126;
  font-size: 9px;
  letter-spacing: .8px;
}

.three-grid p {
  margin-bottom: 0;
  font-size: 12px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 19px 10px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--green-soft);
}

.trust-row > div {
  padding: 0 12px;
  border-left: 1px solid #baceb6;
  font-size: 22px;
}

.trust-row > div:first-child {
  border-left: 0;
}

.trust-row strong {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

.trust-row small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.text-link,
.back-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid #a8b9a0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #bdcdb6;
  border-radius: 8px;
  background: #fffefa;
  color: var(--green-dark);
}

input::placeholder,
textarea::placeholder {
  color: #7a8576;
}

label {
  display: block;
  margin-bottom: 13px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
}

.search-form label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.search-line {
  display: flex;
  gap: 8px;
}

.search-line input {
  flex: 1;
}

.search-line button {
  flex-shrink: 0;
}

.search-form ul {
  margin: 7px 0 0;
  padding: 4px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: white;
  list-style: none;
}

.search-form li a {
  display: block;
  padding: 11px;
  font-size: 12px;
}

.search-form li a:hover {
  border-radius: 6px;
  background: var(--green-soft);
}

.search-status:empty {
  display: none;
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid #d5dfcd;
  border-radius: 10px;
  background: #ecf0e5;
}

.tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.tabs [aria-selected='true'] {
  background: var(--green);
  color: white;
  box-shadow: 0 3px 10px #18482c20;
}

.steps {
  counter-reset: workflow;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 3px 0 12px 47px;
  border-bottom: 1px dashed #d8dfce;
  color: var(--muted);
  font-size: 13px;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  counter-increment: workflow;
  content: counter(workflow, decimal-leading-zero);
  border: 1px solid #d9d9b8;
  border-radius: 6px;
  background: var(--gold-soft);
  color: #72541d;
  font: 700 19px 'Barlow Condensed', Arial, sans-serif;
}

.steps li:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.chapter-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #8b702b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.chapter-label > span {
  font-size: 24px;
}

.game-jumps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.game-jumps a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px 12px;
  border: 1px solid #cdddc7;
  border-radius: 10px;
  background: var(--green-soft);
}

.game-jumps span {
  font-size: 26px;
}

.game-jumps strong {
  font-size: 12px;
}

.game-jumps small {
  color: var(--muted);
  font-size: 9px;
}

details {
  margin-bottom: 9px;
  padding: 16px 18px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: white;
}

summary {
  cursor: pointer;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
}

details[open] {
  border-color: #9ab696;
}

details p {
  margin: 14px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  font-size: 12px;
}

.alert {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid #dfca89;
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  background: #faf1d8;
}

.alert h2 {
  font-size: 27px;
}

.alert p {
  color: #625c41;
  font-size: 12px;
}

.alert a {
  color: #344e30;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.specs {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: white;
}

.specs > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #e8ecdf;
}

.specs > div:nth-child(odd) {
  background: #f3f6ed;
}

.specs > div:last-child {
  border-bottom: 0;
}

.specs dt {
  color: var(--muted);
  font-size: 12px;
}

.specs dd {
  margin: 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-grid b {
  color: #977229;
  font-size: 11px;
}

.team-grid p {
  font-size: 12px;
}

.team-initial {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 1px solid #c6d6b9;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font: 700 25px 'Barlow Condensed', Arial, sans-serif;
}

.feedback {
  max-width: 640px;
  padding: 23px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: white;
}

.feedback textarea,
.feedback input {
  display: block;
  margin-top: 6px;
}

.feedback textarea {
  min-height: 150px;
  resize: vertical;
}

.feedback p {
  font-size: 11px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

input[type='checkbox'] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--green);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 17px;
  margin: 20px 0 8px;
  color: var(--muted);
  font-size: 10px;
}

.format-badge {
  padding: 5px 9px;
  border: 1px solid #d4dfc8;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .6px;
}

.guide-article {
  padding-top: 16px;
}

.guide-article > .lead {
  margin: 22px 0;
  color: var(--green-dark);
  font-size: 19px;
  line-height: 1.8;
}

.article-toc {
  padding: 20px;
  border: 1px solid #d7dec8;
  border-radius: 12px;
  background: linear-gradient(130deg, #f2f6e9, #fffdf7);
}

.article-toc > strong {
  display: block;
  margin-bottom: 13px;
  color: #8c7028;
  font-size: 10px;
  letter-spacing: 1px;
}

.article-toc > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 19px;
}

.article-toc a {
  display: flex;
  gap: 9px;
  font-size: 11px;
  line-height: 1.65;
}

.article-toc a span {
  color: #9f7c2a;
  font-weight: 800;
}

.article-takeaway {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 21px;
  border-left: 4px solid var(--gold);
  border-radius: 3px 12px 12px 3px;
  background: #f6efd8;
}

.article-takeaway > span {
  font-size: 29px;
}

.article-takeaway b {
  color: #8a6a23;
  font-size: 9px;
  letter-spacing: 1px;
}

.article-takeaway p {
  margin: 7px 0 0;
  color: #5f5b40;
  font-size: 13px;
}

.guide-article section {
  padding: 28px 0;
}

.guide-article section p {
  font-size: 14px;
  line-height: 1.95;
}

.guide-article h2 {
  max-width: 640px;
  font-size: 30px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid #cfdbc4;
  border-radius: 10px;
  background: white;
}

table {
  width: 100%;
  min-width: 530px;
  border-collapse: collapse;
  font-size: 11px;
  line-height: 1.8;
}

th,
td {
  padding: 13px 14px;
  border-right: 1px solid #e1e7d7;
  border-bottom: 1px solid #e1e7d7;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--green);
  color: #fffdf7;
  font-size: 11px;
  font-weight: 700;
}

tbody tr:nth-child(even) {
  background: #f4f6ed;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td:last-child,
th:last-child {
  border-right: 0;
}

caption {
  padding: 12px 14px;
  background: #f6efdc;
  color: #765c20;
  font-size: 10px;
  text-align: left;
}

blockquote {
  margin: 0;
  padding: 20px 23px;
  border-left: 4px solid var(--green);
  border-radius: 3px 10px 10px 3px;
  background: var(--green-soft);
  color: #2f533c;
  font-size: 15px;
}

.review-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 17px;
  padding: 19px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: white;
}

.review-grid dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.review-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  margin-bottom: 9px;
  padding: 15px;
  border: 1px solid var(--edge);
  border-radius: 9px;
  background: white;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.comment-section {
  padding-top: 34px;
}

.comment-section .feedback {
  max-width: none;
  background: #f4f7ec;
}

.comment-intro {
  margin-top: 0;
}

footer {
  margin-top: 34px;
  padding: 0 26px 20px;
  border: 1px solid #2e7451;
  border-radius: 20px 20px 0 0;
  background: var(--green-dark);
  color: #fffdf7;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 24px;
  border-bottom: 1px solid #ffffff24;
}

.footer-top .eyebrow {
  color: #e0bc67;
}

.footer-top h2 {
  margin: 10px 0;
  color: #fffdf7;
  font-size: 36px;
}

.footer-top p {
  margin: 0;
  color: #c0d3bc;
  font-size: 11px;
}

.footer-button {
  flex-shrink: 0;
  border-color: var(--gold);
  background: var(--gold);
  color: #293d27;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 25px 0;
}

.footer-group h3 {
  margin: 0 0 13px;
  color: #e0c480;
  font: 700 10px Inter, Arial, sans-serif;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.footer-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: #dce8d8;
  font-size: 10px;
}

.footer-group a span {
  color: #8db193;
}

footer a:hover {
  color: #f5ce76;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 0;
  border-top: 1px solid #ffffff24;
  border-bottom: 1px solid #ffffff24;
}

.footer-bottom .logo {
  color: white;
  font-size: 21px;
}

.footer-email {
  color: #c7d9c2;
  font-size: 10px;
}

.age-pill {
  padding: 4px 7px;
  border: 1px solid #a7b78b;
  border-radius: 4px;
  color: #e5d8ae;
  font-size: 8px;
  font-weight: 700;
}

.footer-fine {
  margin: 17px 0 0;
  color: #a8c0a3;
  font-size: 9px;
  line-height: 1.9;
}

.scroll-buttons {
  position: fixed;
  right: 12px;
  bottom: 15px;
  z-index: 30;
  display: grid;
  gap: 6px;
}

.scroll-buttons a {
  display: grid;
  place-items: center;
  width: 33px;
  height: 35px;
  border: 1px solid #b6c5a8;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-size: 20px;
  box-shadow: 0 3px 12px #183c2925;
}

.skip {
  position: fixed;
  top: -80px;
  left: 10px;
  z-index: 99;
  padding: 10px;
  background: white;
  color: var(--green-dark);
}

.skip:focus {
  top: 10px;
}

[hidden] {
  display: none !important;
}

#filter-form button {
  margin: 10px 7px 14px 0;
}

#filter-status {
  font-size: 11px;
}

@media (max-width: 640px) {
  main {
    padding-right: 16px;
    padding-left: 16px;
  }

  .age-strip {
    padding: 7px 16px;
    font-size: 8px;
    letter-spacing: .3px;
  }

  .age-strip span {
    font-size: 7px;
  }

  .navigation {
    flex-wrap: wrap;
    padding: 11px 16px;
  }

  .menu-toggle {
    display: block;
    min-height: 38px;
    padding: 7px 12px;
    border-color: #cfdbc4;
    background: var(--green-soft);
    color: var(--green);
    font-size: 11px;
  }

  .navigation #menu {
    display: none;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .navigation #menu.open {
    display: grid;
  }

  .navigation #menu a {
    padding: 10px 0;
    border-top: 1px solid var(--edge);
  }

  .breadcrumbs {
    padding: 13px 0;
    font-size: 9px;
  }

  .hero {
    padding: 22px 18px;
    border-radius: 14px 14px 4px 14px;
    background-position: 65% center;
  }

  .hero::after {
    left: 18px;
  }

  h1 {
    gap: 10px;
    margin: 10px 0;
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  h1 .app-icon {
    width: 42px;
    height: 42px;
  }

  h2 {
    font-size: 29px;
  }

  .hero > p {
    font-size: 11px;
  }

  .hero .hero-bonus {
    font-size: 19px;
  }

  .actions .button {
    flex: 1;
    gap: 8px;
    padding: 10px 9px;
    font-size: 11px;
  }

  .app-grid,
  .article-list,
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 9px;
  }

  .home-grid .app-row {
    flex-wrap: wrap;
    padding: 13px 10px;
  }

  .home-grid .app-link {
    align-items: flex-start;
    gap: 7px;
  }

  .home-grid .app-link strong {
    font-size: 11px;
  }

  .home-grid .app-icon {
    width: 32px;
    height: 34px;
    border-radius: 7px;
  }

  .home-grid .app-link small {
    font-size: 8px;
  }

  .home-grid .bonus {
    margin-left: -38px;
    font-size: 8px;
  }

  .home-grid .download-small {
    margin-left: auto;
    padding: 6px 12px;
  }

  .story-card {
    gap: 13px;
    padding: 17px 15px;
  }

  .story-icon {
    width: 43px;
    height: 46px;
    font-size: 24px;
  }

  .story-meta {
    justify-content: space-between;
    font-size: 8px;
  }

  .story-copy > strong {
    font-size: 14px;
  }

  .story-summary {
    font-size: 11px;
  }

  .guide-card {
    padding: 17px 15px;
  }

  .guide-copy strong {
    font-size: 13px;
  }

  .guide-copy > span {
    font-size: 11px;
  }

  .three-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-row {
    padding: 15px 4px;
  }

  .trust-row > div {
    padding: 0 8px;
  }

  .trust-row strong {
    font-size: 10px;
  }

  .trust-row small {
    font-size: 8px;
  }

  .game-jumps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs > div {
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .specs dt,
  .specs dd {
    font-size: 11px;
  }

  .article-toc > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-toc {
    padding: 18px;
  }

  .article-toc a {
    font-size: 12px;
  }

  .guide-article > .lead {
    font-size: 17px;
  }

  .article-takeaway {
    gap: 11px;
    padding: 18px 15px;
  }

  .article-takeaway > span {
    font-size: 24px;
  }

  .article-takeaway p {
    font-size: 12px;
  }

  .guide-article h2 {
    font-size: 28px;
  }

  .guide-article section p {
    font-size: 13px;
  }

  .feedback,
  .alert {
    padding: 19px 16px;
  }

  .search-line button {
    gap: 6px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .review-grid {
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
  }

  footer {
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 16px 16px 0 0;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-top h2 {
    font-size: 34px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
  }

  .footer-group:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 23px;
  }

  .footer-group:last-child h3 {
    grid-column: 1 / -1;
  }

  .footer-group a {
    font-size: 11px;
  }

  .footer-bottom {
    justify-content: flex-start;
    gap: 17px;
  }

  .footer-email {
    order: 3;
    flex-basis: 100%;
    font-size: 11px;
  }

  .scroll-buttons {
    right: 5px;
    bottom: 10px;
  }

  .scroll-buttons a {
    width: 28px;
    height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .story-card {
    transition: none;
  }
}

/* Final pass: compact Banner and a quieter age strip; existing DOM is retained. */
.age-strip {
  padding-top: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e4e8da;
  background: #f2f4ec;
  color: #616d5c;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3px;
}

.age-strip span {
  color: #68735f;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .2px;
}

.hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
  min-height: 0;
  padding: 20px 24px;
}

.hero > .eyebrow,
.hero > h1,
.hero > p:not(.hero-bonus) {
  grid-column: 1 / -1;
}

.hero > .eyebrow {
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 1.3px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 39px);
  line-height: 1.1;
}

.hero > p:not(.hero-bonus) {
  max-width: 650px;
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 1.65;
}

.hero .hero-bonus {
  grid-column: 1;
  justify-self: start;
  align-self: center;
  margin: 0;
  padding: 1px 9px;
  font-size: 19px;
  line-height: 1.6;
}

.hero .actions {
  grid-column: 2;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px;
  margin: 0;
}

.hero .button {
  min-height: 37px;
  padding: 8px 12px;
  font-size: 11px;
}

.navigation #menu {
  gap: 13px;
}

@media (max-width: 640px) {
  .age-strip {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .age-strip span {
    font-size: 8px;
    letter-spacing: 0;
  }

  .hero {
    gap: 8px 9px;
    padding: 17px 15px;
  }

  .hero h1 {
    gap: 9px;
    font-size: 31px;
  }

  .hero h1 .app-icon {
    width: 38px;
    height: 38px;
  }

  .hero > p:not(.hero-bonus) {
    font-size: 11px;
    line-height: 1.65;
  }

  .hero .hero-bonus {
    padding: 1px 7px;
    font-size: 17px;
  }

  .hero .actions {
    gap: 6px;
  }

  .hero .actions .button {
    flex: 0 1 auto;
    gap: 5px;
    min-height: 36px;
    padding: 8px;
    font-size: 10px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .actions {
    grid-column: 1;
    justify-self: stretch;
    justify-content: flex-start;
  }

  .hero .actions .button {
    flex: 1;
  }
}
