@import url('/assets/type.css');
:root {
  --ink: #132c29;
  --muted: #61716b;
  --bg: #f5f5ee;
  --paper: #fff;
  --line: #dce3d9;
  --lime: #b6ed5d;
  --forest: #102a27;
  --orange: #e46c42;
  --radius: 20px;
}
/* Member AI Post Lab */
.post-layout [hidden] {
  display: none !important;
}
.post-intro {
  max-width: 880px;
  margin-bottom: 30px;
}
.post-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.post-steps span {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  background: #fff;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.post-layout > .panel {
  position: sticky;
  top: 20px;
}
.post-modes {
  display: flex;
  border: 0;
  padding: 0;
  margin: 0;
  gap: 8px;
}
.post-modes legend {
  font-weight: bold;
  margin-bottom: 12px;
}
.post-modes label {
  flex: 1;
  position: relative;
}
.post-modes input {
  position: absolute;
  opacity: 0;
  width: 1px !important;
  height: 1px;
}
.post-modes span {
  display: grid;
  place-items: center;
  min-height: 90px;
  gap: 5px;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  font-size: 12px;
  background: var(--bg);
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}
.post-modes b {
  font-size: 22px;
}
.post-modes input:checked + span {
  background: var(--lime);
  border-color: var(--forest);
  transform: translateY(-3px);
}
.post-modes input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.post-modes input:disabled + span {
  opacity: 0.45;
  cursor: not-allowed;
}
.post-starters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.post-starters button {
  font-size: 11px !important;
}
.post-tools {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.post-tools label {
  flex: 1;
  font-size: 11px;
  font-weight: bold;
}
.post-tools select {
  display: block;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.post-output {
  min-width: 0;
  scroll-margin-top: 24px;
}
.post-cover {
  display: block;
  width: 100%;
  max-height: 750px;
  object-fit: contain;
  border-radius: 20px;
  background: var(--forest);
}
.post-caption {
  margin-top: 16px;
}
.post-caption p {
  white-space: pre-wrap;
}
.post-caption .actions {
  gap: 8px;
}
.post-caption .small {
  font-size: 11px;
}
.post-hashtags {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.post-placeholder {
  min-height: 540px;
  border-radius: 24px;
  background: var(--forest);
  color: var(--bg);
  padding: 48px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.post-placeholder:before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid #b6ed5d55;
  border-radius: 50%;
  right: -120px;
  bottom: -160px;
}
.post-placeholder > span {
  font-size: 70px;
  color: var(--lime);
  animation: post-spark 7s ease-in-out infinite;
}
.post-placeholder h2 {
  font-size: 36px;
  line-height: 1.18;
  max-width: 370px;
}
.post-placeholder p,
.post-placeholder small {
  color: #bdc9c1;
}
.post-placeholder small {
  margin-top: 50px;
  max-width: 290px;
}
.post-library {
  margin-top: 48px;
}
.post-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.post-saved h3 {
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.post-saved > p {
  font-size: 13px;
  color: var(--muted);
}
.post-thinking {
  min-height: 520px;
}
@keyframes post-spark {
  50% {
    transform: rotate(35deg);
    opacity: 0.65;
  }
}
@media (max-width: 1000px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-layout > .panel {
    position: static;
  }
  .post-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-cover {
    max-height: 650px;
  }
}
@media (max-width: 600px) {
  .post-library-grid {
    grid-template-columns: 1fr;
  }
  .post-placeholder {
    min-height: 340px;
    padding: 30px;
  }
  .post-placeholder h2 {
    font-size: 28px;
  }
  .post-modes span {
    font-size: 10px;
  }
  .post-tools {
    gap: 8px;
  }
  .post-steps span {
    font-size: 10px;
  }
  .post-layout {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-placeholder > span {
    animation: none;
  }
  .post-modes span {
    transition: none;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2a946d;
  outline-offset: 4px;
}
button,
.button {
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lime);
  color: var(--ink);
  line-height: 1.4;
  text-decoration: none;
}
.button:hover {
  background: #c8f88b;
  text-decoration: none;
}
.button.dark {
  background: var(--forest);
  color: white;
}
.button.secondary,
button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.button.small,
button.small {
  padding: 8px 13px;
  font-size: 13px;
}
.button.ghost {
  color: white;
  background: #ffffff0c;
  border: 1px solid #ffffff35;
}
.danger {
  background: #a62622;
  color: white;
}
.text-button {
  background: none;
  padding: 4px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: underline;
}
.skip {
  position: fixed;
  top: -80px;
  background: var(--lime);
  padding: 15px;
  z-index: 20;
}
.skip:focus {
  top: 0;
}
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topline {
  background: var(--forest);
  color: #b8c9ba;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 8px max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  justify-content: space-between;
}
.brand-row {
  max-width: 1296px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand strong {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  letter-spacing: 3.6px;
  font-size: 9px;
  margin-top: 4px;
}
.desktop-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: 25px;
  font-size: 13px;
  font-weight: 700;
}
.desktop-nav a {
  padding: 10px 0;
}
.desktop-nav .active {
  border-bottom: 2px solid var(--ink);
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.lang {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  max-width: 110px;
}
.mobile-nav {
  display: none;
}
main {
  max-width: 1296px;
  margin: 0 auto;
  padding: 32px 28px 70px;
  min-height: 65vh;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--lime);
}
.page-title {
  font-size: 42px;
  letter-spacing: -1.7px;
  line-height: 1.14;
  margin: 10px 0 12px;
}
.lede {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
}
.hero {
  background: var(--forest);
  border-radius: 24px;
  color: white;
  padding: 44px;
  position: relative;
  overflow: hidden;
  min-height: 430px;
}
.hero .eyebrow {
  color: var(--lime);
}
.hero h1 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -2.7px;
  margin: 32px 0 22px;
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero p {
  color: #c6d2ca;
  max-width: 330px;
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.8;
}
.hero .actions {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}
.hero-note {
  margin-top: 32px;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #9fb6a7;
  position: relative;
  z-index: 1;
}
.field-art {
  position: absolute;
  right: -80px;
  top: 100px;
  width: 380px;
  height: 380px;
  border: 1px solid #64805d66;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.field-art:before {
  content: '';
  position: absolute;
  inset: 36px;
  border: 1px solid #64805d55;
  border-radius: 50%;
}
.field-art:after {
  content: '';
  position: absolute;
  inset: 84px;
  border: 1px dashed #9fc27677;
  border-radius: 50%;
}
.cricket-ball {
  position: absolute;
  right: 13px;
  top: 125px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #f18b60, #ac3b23 60%, #4d251c);
  box-shadow: 15px 30px 50px #0007;
  transform: rotate(-30deg);
  z-index: 0;
}
.cricket-ball:before,
.cricket-ball:after {
  content: '';
  position: absolute;
  left: 63px;
  top: 0;
  width: 11px;
  height: 148px;
  border-left: 2px dashed #ffd7ae;
  border-right: 2px dashed #ffd7ae;
  border-radius: 50%;
}
.cricket-ball:after {
  left: 77px;
  width: 6px;
  opacity: 0.5;
}
.challenge-card {
  background: var(--lime);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.challenge-card .eyebrow {
  color: #36562d;
}
.challenge-card h2 {
  font-size: 33px;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin: 20px 0 12px;
}
.challenge-card p {
  font-size: 14px;
  max-width: 260px;
}
.challenge-card .button {
  margin-top: auto;
  justify-content: space-between;
}
.challenge-icon {
  font-size: 48px;
  position: absolute;
  right: 25px;
  top: 30px;
  line-height: 1;
  opacity: 0.65;
}
.challenge-meta {
  display: flex;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.5px;
  margin: 14px 0 26px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 18px;
}
.section-head h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 0;
}
.section-head a {
  font-size: 12px;
  font-weight: 700;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.panel {
  background: white;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
}
.match {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: white;
  display: block;
  min-width: 0;
}
.match:hover {
  border-color: #93b18b;
  text-decoration: none;
}
.match-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
.match-status {
  font-size: 10px;
  font-weight: 800;
  color: #278665;
  text-transform: uppercase;
}
.team-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
  font-size: 15px;
  font-weight: 700;
}
.team-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.team-disc {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #edf2e9;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  color: #537459;
}
.score {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.match-note {
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid #eef0e9;
  padding-top: 10px;
  margin-top: 15px;
  min-height: 27px;
}
.empty {
  border: 1px dashed #bacabb;
  border-radius: 16px;
  padding: 28px;
  background: #edf1e9;
  color: #50624f;
}
.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}
.empty p {
  font-size: 13px;
  margin: 0;
  max-width: 660px;
}
.source {
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0;
}
.feature-card {
  position: relative;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 212px;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  border-color: #759467;
  text-decoration: none;
}
.feature-number {
  font-size: 10px;
  letter-spacing: 1px;
  color: #879180;
}
.feature-card h3 {
  font-size: 21px;
  letter-spacing: -0.7px;
  margin: 25px 0 6px;
}
.feature-card p {
  font-size: 12px;
  color: var(--muted);
  max-width: 250px;
  margin: 0 0 22px;
}
.feature-card .arrow {
  margin-top: auto;
  font-size: 20px;
}
.feature-card.dark {
  background: var(--forest);
  color: white;
}
.feature-card.dark p {
  color: #bccbbf;
}
.feature-card.peach {
  background: #f1dfd4;
  border-color: #e8d1bf;
}
.feature-card .tag {
  position: absolute;
  top: 23px;
  right: 22px;
}
.tag {
  border: 1px solid #c9d8bd;
  padding: 3px 8px;
  font-size: 9px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.intro-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 35px 0;
  background: #e8eddf;
  border-radius: 16px;
  padding: 26px 30px;
}
.intro-band h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.intro-band p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.tabs button {
  background: transparent;
  border: 1px solid var(--line);
  font-size: 12px;
  padding: 9px 16px;
}
.tabs button.active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.narrow {
  max-width: 560px;
  margin: 25px auto;
}
.form {
  display: grid;
  gap: 17px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.form input,
.form textarea,
.form select,
input.search {
  width: 100%;
  border: 1px solid #bfccbd;
  border-radius: 9px;
  background: #fcfdf9;
  padding: 12px 13px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.5;
  min-width: 0;
}
.form textarea {
  min-height: 120px;
  resize: vertical;
}
.form .check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
  line-height: 1.5;
}
.form .check input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  flex-shrink: 0;
}
.form small {
  font-weight: 400;
  color: var(--muted);
}
.form-error {
  padding: 12px;
  background: #fff0e8;
  color: #873f27;
  border-radius: 8px;
  font-size: 12px;
}
.form-error:empty {
  display: none;
}
.help {
  color: var(--muted);
  font-size: 12px;
}
.inline-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.inline-form label {
  flex: 1;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 24px 0;
}
.stat {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.stat b {
  font-size: 30px;
  line-height: 1.1;
  display: block;
  margin: 8px 0;
}
.stat span {
  color: var(--muted);
  font-size: 11px;
}
.stat.dark {
  background: var(--forest);
  color: var(--lime);
}
.stat.dark span {
  color: #c1cebd;
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
progress {
  height: 6px;
  width: 100%;
  border: 0;
  border-radius: 4px;
  margin: 18px 0 25px;
  accent-color: #7fbf3b;
}
progress::-webkit-progress-bar {
  background: #e6eddf;
  border-radius: 4px;
}
progress::-webkit-progress-value {
  background: #86b847;
  border-radius: 4px;
}
.quiz-question {
  font-size: 25px;
  line-height: 1.4;
  margin: 0 0 25px;
  letter-spacing: -0.5px;
}
.answers {
  display: grid;
  gap: 10px;
  margin: 20px 0 26px;
}
.answer {
  justify-content: flex-start;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  padding: 16px;
  gap: 15px;
}
.answer .letter {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 6px;
}
.answer.selected {
  border-color: #669530;
  background: #edf6e4;
}
.result-hero {
  text-align: center;
  background: var(--forest);
  color: white;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.result-score {
  font-size: 90px;
  letter-spacing: -5px;
  color: var(--lime);
  line-height: 1.3;
}
.result-hero h2 {
  font-size: 28px;
  margin: 12px 0;
}
.result-hero p {
  color: #b8c9b7;
  font-size: 12px;
}
.review-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.review-row p {
  font-size: 13px;
  margin: 5px 0;
}
.correct {
  color: #367a38;
}
.incorrect {
  color: #ab4d33;
}
.review-row a {
  font-size: 10px;
  text-decoration: underline;
}
.result-link {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 440px;
  font-size: 12px;
}
th,
td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
th {
  background: #eef2e9;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
tr:last-child td {
  border-bottom: 0;
}
.article {
  max-width: 820px;
  margin: auto;
}
.article h1 {
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.article p {
  line-height: 1.9;
  color: #4b6057;
}
.article a {
  text-decoration: underline;
}
.article .source {
  font-size: 11px;
}
.answer-box {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.9;
  border-left: 3px solid #7fad42;
  padding-left: 20px;
}
.source-list {
  font-size: 11px;
  color: var(--muted);
  padding-left: 17px;
}
.source-list a {
  text-decoration: underline;
}
.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 55px;
  align-items: center;
  gap: 15px;
  margin: 14px 0;
  font-size: 12px;
}
.bar-track {
  height: 11px;
  background: #edf2e8;
  border-radius: 20px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #92ba51;
  border-radius: 20px;
}
.bar-fill.alt {
  background: #e6936b;
}
.profile-header {
  display: flex;
  gap: 20px;
  align-items: center;
}
.avatar {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lime);
  font-size: 30px;
  font-weight: 800;
}
.profile-header h1 {
  margin: 0;
}
.badge {
  padding: 10px 16px;
  border-radius: 30px;
  border: 1px solid #d5e2c7;
  background: #f3f7eb;
  font-size: 12px;
}
.list {
  display: grid;
  gap: 12px;
}
.list a,
.list-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: white;
}
.list small {
  display: block;
  color: var(--muted);
}
.story-preview {
  border-radius: 20px;
  min-height: 400px;
  background: var(--forest);
  color: white;
  padding: 35px;
  max-width: 290px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-preview strong {
  color: var(--lime);
  font-size: 36px;
  line-height: 1.2;
}
.story-preview .eyebrow {
  color: #b6ed5d;
}
.story-preview p {
  color: #bdcfbe;
}
.story-preview small {
  font-size: 10px;
  margin-top: 30px;
  color: #a4bca7;
}
.loading {
  padding: 70px;
  text-align: center;
  color: var(--muted);
}
.error {
  max-width: 650px;
  margin: 50px auto;
}
.notice {
  padding: 13px 18px;
  background: #edf3e6;
  border: 1px solid #ccdabd;
  border-radius: 10px;
  font-size: 12px;
  margin: 18px 0;
}
.notice.warning {
  background: #fcf0e2;
  border-color: #ebd8bb;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  background: var(--forest);
  color: white;
  padding: 15px 22px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 5px 25px #0002;
}
.consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 15;
  width: min(470px, calc(100% - 40px));
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 45px #0002;
}
.consent-banner h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.5px;
}
.consent-banner p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 15px;
}
.consent-options {
  display: flex;
  gap: 22px;
  margin: 18px 0;
  font-size: 12px;
}
.consent-options label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.consent-banner .actions {
  gap: 8px;
}
.consent-banner button {
  font-size: 11px;
  padding: 10px 13px;
}
footer {
  border-top: 1px solid var(--line);
  background: #ebefe5;
  padding: 35px max(28px, calc((100vw - 1240px) / 2)) 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}
.footer-top p {
  font-size: 11px;
  color: var(--muted);
  max-width: 310px;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-bottom {
  border-top: 1px solid #d9e1d0;
  padding-top: 18px;
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.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;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.admin-grid .panel {
  min-width: 0;
}
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 15px 0;
}
summary {
  font-weight: 700;
  cursor: pointer;
}
.mono {
  font-family: monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.wide {
  grid-column: 1/-1;
}
@media (min-width: 1250px) {
  .hero h1 {
    max-width: 450px;
  }
  .cricket-ball {
    right: 18px;
    top: 155px;
  }
}
@media (max-width: 1050px) {
  .desktop-nav {
    gap: 13px;
    margin-left: 5px;
    font-size: 11px;
  }
  .brand-row {
    gap: 15px;
  }
  .account-nav {
    gap: 10px;
  }
  .account-nav .button {
    padding: 10px;
    font-size: 11px;
  }
  .hero {
    padding: 30px;
  }
  .hero h1 {
    font-size: 49px;
    max-width: 350px;
  }
  .cricket-ball {
    right: -32px;
    width: 125px;
    height: 125px;
    top: 185px;
  }
  .cricket-ball:before,
  .cricket-ball:after {
    height: 122px;
    left: 53px;
  }
  .field-art {
    right: -160px;
  }
  .challenge-card {
    padding: 25px;
  }
  .challenge-card h2 {
    font-size: 29px;
  }
}
@media (max-width: 780px) {
  .desktop-nav {
    display: none;
  }
  .topline {
    padding: 8px 20px;
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .topline span:last-child {
    display: none;
  }
  .brand-row {
    padding: 17px 20px;
  }
  .brand strong {
    font-size: 21px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .account-nav .signin-link {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    z-index: 12;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 9px 5px max(10px, env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    font-size: 10px;
    display: grid;
    justify-items: center;
    gap: 1px;
    min-width: 50px;
  }
  .mobile-nav b {
    font-size: 15px;
    line-height: 1.4;
  }
  .mobile-nav .active {
    color: #4d7f24;
  }
  main {
    padding: 22px 18px 45px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero {
    min-height: 420px;
    padding: 30px 27px;
  }
  .hero h1 {
    font-size: 53px;
    max-width: 360px;
    letter-spacing: -2px;
  }
  .hero p {
    max-width: 270px;
  }
  .field-art {
    right: -140px;
    top: 90px;
  }
  .cricket-ball {
    right: -18px;
    top: 155px;
  }
  .challenge-card {
    padding: 26px;
    min-height: 275px;
  }
  .challenge-card h2 {
    font-size: 31px;
    margin: 15px 0 5px;
  }
  .challenge-card p {
    max-width: 310px;
    margin: 8px 0;
  }
  .challenge-card .button {
    margin-top: 10px;
  }
  .challenge-meta {
    margin: 12px 0;
  }
  .challenge-icon {
    font-size: 70px;
    top: 45px;
    right: 28px;
  }
  .grid.three {
    grid-template-columns: 1fr;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
  .section-head {
    margin-top: 28px;
  }
  .section-head h2 {
    font-size: 21px;
  }
  .feature-card {
    min-height: 185px;
  }
  .feature-card h3 {
    margin-top: 20px;
  }
  .feature-card p {
    max-width: 100%;
  }
  .intro-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px;
    gap: 18px;
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat b {
    font-size: 26px;
  }
  .page-title {
    font-size: 35px;
  }
  .panel {
    padding: 22px;
  }
  .quiz-question {
    font-size: 22px;
  }
  .narrow {
    margin: 10px auto;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
  footer {
    padding: 30px 22px 95px;
  }
  .footer-links {
    gap: 18px;
  }
  .consent-banner {
    bottom: 78px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 21px;
  }
  .toast {
    bottom: 85px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .article h1 {
    font-size: 29px;
  }
  .result-score {
    font-size: 75px;
  }
  .hero-note {
    font-size: 9px;
  }
  .story-preview {
    min-height: 400px;
  }
  .brand-row .lang {
    max-width: 72px;
    font-size: 10px;
  }
  .account-nav .button {
    padding: 9px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .match,
  .button {
    transition:
      background 0.2s,
      border-color 0.2s,
      transform 0.2s;
  }
  .feature-card:hover {
    transform: translateY(-3px);
  }
}
/* Honor hidden controls even when a component sets its own display property. */
[hidden] {
  display: none !important;
}
