.preorder-detail .preorder-copy h2 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  color: var(--teal-deep);
}

.tense-section {
  padding-block: clamp(32px, 5vw, 68px);
  scroll-margin-top: 100px;
}

.tense-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.preorder-contents h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.5;
  text-wrap: balance;
}

.preorder-contents__intro {
  max-width: 66ch;
  margin: 0;
  line-height: 1.85;
  text-wrap: pretty;
}

.preorder-contents li {
  display: grid;
  grid-template-columns: clamp(48px, 7vw, 76px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(10px, 2vw, 18px);
  padding: clamp(14px, 2.4vw, 24px);
  border-color: #e9d6b3;
  border-radius: 20px;
  background: #fffaf0;
  box-shadow: 0 5px 14px -10px #67533766;
}

.preorder-contents li img {
  display: block;
  width: 100%;
  height: auto;
}

.preorder-contents li h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: clamp(1.06rem, 2.2vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.preorder-contents__phrase { white-space: nowrap; }

.preorder-contents li p {
  margin: 0;
  font-size: 1rem;
  text-wrap: pretty;
}

.tense-episodes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.tense-episodes li {
  scroll-margin-top: 100px;
}

.tense-episode {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #dfd9ca;
  border-radius: 16px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 0 #eee9df;
}
.tense-episode:hover {
  border-color: var(--teal);
  background: #f1fafb;
}
.tense-episode img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
}
.tense-episode-copy {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.tense-episode-link {
  color: var(--teal-deep);
  font-weight: 600;
}
.tense-episode-dialog {
  box-sizing: border-box;
  width: min(1060px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0 24px 28px;
  border: 1px solid #d6c49f;
  border-radius: 22px;
  background: #fffaf1;
  color: var(--ink);
  box-shadow: 0 22px 80px #0f2a3844;
  overscroll-behavior: contain;
}
.tense-episode-dialog::backdrop { background: #0f2a38b3; }
.tense-dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding-block: 12px;
  background: #fffaf1;
}
.tense-dialog-close {
  min-width: 70px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #89c9d9;
  border-radius: 999px;
  background: #eaf7fb;
  color: var(--teal-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tense-dialog-close span { margin-left: 8px; font-size: 1.4em; }
.tense-dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 28px;
}
.tense-dialog-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px #69533220;
}
.tense-dialog-copy { min-width: 0; line-height: 1.9; }
.tense-episode-dialog h2 {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.tense-episode-dialog h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--teal-deep);
}
.tense-dialog-copy section { margin-bottom: 28px; }
.tense-dialog-copy p { margin: 0; }
.tense-dialog-actions { display: grid; gap: 24px; }
.tense-dialog-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #32aab4;
  border-radius: 12px;
  background: linear-gradient(180deg, #b2f3e9, #52d3d5 65%, #35bfca);
  color: #123c4b;
  box-shadow: inset 0 2px 1px #ffffffa6, 0 3px 0 #239caa;
  text-align: center;
  text-decoration: none;
}
.tense-dialog-actions .btn:hover { background: #a3ebe6; }
.tense-dialog-actions .btn:active { box-shadow: inset 0 2px 4px #0f6f8c33; }
.tense-dialog-free .btn { background: #eaf7fb; }
.tense-dialog-actions p { margin-top: 12px; font-size: .95rem; }
.tense-episode-dialog :is(button, a):focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .tense-episode-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 0 18px 24px;
    border-radius: 18px;
  }
  .tense-dialog-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tense-dialog-cover { width: min(100%, 280px); justify-self: center; }
}
#tense-practice {
  background: #eef7f7;
}

.tense-set-buttons, .tense-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tense-section button {
  min-height: 48px;
  border: 1px solid #b9d9df;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

.tense-set-buttons button[aria-pressed="true"],
.tense-answer button[data-next],
.tense-result-actions a {
  border-color: #b9d9df;
  background: linear-gradient(#b2f3e9, #52d3d5);
  color: #123c4b;
  box-shadow: 0 3px 0 #239caa;
}

.tense-practice-panel {
  margin-top: 22px;
  padding: clamp(15px, 3vw, 30px);
  border: 1px solid #b9d9df;
  border-radius: 20px;
  background: #fff;
}

.tense-practice-panel h3, .tense-answer h4 {
  scroll-margin-top: 105px;
}

.tense-practice-panel h3 span {
  display: inline-block;
  margin-left: 8px;
  color: var(--teal-deep);
  font-size: .85rem;
}

.tense-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-top: 18px;
}

.tense-question img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.tense-prompt {
  font-weight: 600;
  line-height: 1.75;
}

.tense-options {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.tense-options button {
  padding: 10px 14px;
  text-align: left;
}

.tense-options button:disabled {
  cursor: default;
  transform: none;
  filter: none;
}

.tense-options .is-correct { background: #e3f5eb; border-color: #236746; }
.tense-options .is-incorrect { background: #fff0e9; border-color: #a34b35; }

.tense-answer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #b9d9df;
}

.tense-answer p {
  margin: 12px 0;
  line-height: 1.8;
}

.tense-puzzle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0;
  list-style: none;
}

.tense-puzzle li {
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--role-edge);
  border-radius: 10px;
  background: var(--role-surface);
  color: var(--role-ink);
  overflow-wrap: anywhere;
}

.tense-puzzle li:is([data-role="subject"], [data-role="object"]) {
  --role-surface: #e3f5eb;
  --role-edge: #afd3bd;
  --role-ink: #236746;
}

.tense-puzzle li[data-role="verb"] {
  --role-surface: #e3f0ff;
  --role-edge: #aec9e8;
  --role-ink: #245e9b;
}

.tense-puzzle li[data-role="modifier"] {
  --role-surface: #fff3d9;
  --role-edge: #dfca95;
  --role-ink: #796332;
}

.tense-puzzle li span {
  display: block;
  font-size: .875rem;
}

.tense-score {
  margin-top: 12px;
  font-size: 1.2rem;
}

#tense-preorder .tense-preorder-card {
  justify-items: stretch;
}

#tense-preorder .tense-preorder-card > p,
#tense-preorder [data-fixed-offer] > p {
  margin: 0;
}

.tense-section :is(button, summary, a):focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .tense-episodes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tense-episodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tense-episode-copy {
    padding-inline: 10px;
  }

  .tense-question {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

#tense-family {
  background: #fffdf9;
}

#tense-family [hidden] {
  display: none;
}

.tense-family-image {
  display: block;
  width: 100%;
  height: auto;
}

.tense-family-card {
  margin-top: 16px;
  padding: 16px clamp(16px, 3vw, 28px);
  border: 1px solid #b9d9df;
  border-radius: 16px;
  background: #eef7f7;
}

.tense-family-card h3 {
  margin: 0 0 6px;
}

.tense-family-card p {
  margin: 0;
  line-height: 1.8;
}

@media (max-width: 620px) {
  #tense-family .tense-set-buttons button {
    padding-inline: 12px;
  }
}

.tense-family-stage {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #dfd9ca;
  border-radius: 16px;
  isolation: isolate;
}

.tense-family-lights {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  pointer-events: none;
}

.tense-family-lights span {
  --light-height: 35%;
  opacity: 0;
  background: radial-gradient(ellipse 50% 58% at 50% var(--light-height), #fff1ac 0%, #ffd375af 48%, transparent 100%);
  mix-blend-mode: screen;
  transition: opacity .45s ease;
}

.tense-family-lights span:nth-child(2) { --light-height: 43%; }
.tense-family-lights span:nth-child(3) { --light-height: 58%; }
.tense-family-lights span:nth-child(4) { --light-height: 40%; }

.tense-family-lights .is-lit { opacity: .44; }
.tense-family-lights .is-current,
#tense-family.is-fully-lit .is-lit { opacity: .76; }

.tense-family-welcome {
  position: absolute;
  inset: auto 8px 8px;
  width: min(28rem, calc(100% - 16px));
  margin-inline: auto;
  padding: 10px 42px 12px 14px;
  border: 1px solid #cda959;
  border-radius: 12px;
  background: #fff9ed;
  box-shadow: 0 6px 20px #38270f38;
  color: var(--ink);
}

.tense-family-welcome h3 {
  font-size: clamp(.95rem, 2vw, 1.3rem);
}

.tense-family-welcome p {
  margin: 4px 0 0;
  font-size: clamp(.85rem, 1.5vw, 1rem);
  line-height: 1.5;
}

#tense-family .tense-family-welcome button {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  font-size: 1.35rem;
}

.tense-family-welcome button:focus-visible {
  outline-offset: -4px;
}

.tense-family-invite {
  margin-top: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .tense-family-lights span,
  #tense-family .btn {
    transition: none;
    transform: none;
  }
}

.tense-puzzle .tense-clue {
  text-decoration: underline;
  text-underline-offset: .22em;
}

.tense-explanation {
  max-width: 72ch;
}

.tense-explanation h5 {
  margin: 16px 0 0;
  font-size: 1.05rem;
}

.tense-explanation-smile {
  vertical-align: -.25em;
}

.tense-intro-callout {
  max-width: 760px;
  margin: clamp(24px, 4vw, 44px) auto 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #dcc08b;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf7, #fff4de);
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 #efe0c4, 0 12px 28px #69491b14;
  color: var(--ink);
  line-height: 1.8;
}

.tense-intro-callout p {
  margin: 0;
}

.tense-intro-callout p + p {
  margin-top: 10px;
}

.tense-intro-phrase,
.tense-intro-signoff {
  display: inline-block;
  white-space: nowrap;
}

.tense-intro-signoff img {
  margin-inline-start: .2em;
  vertical-align: -.25em;
}

.tense-free-preview {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 20px;
  scroll-margin-top: 100px;
}

.tense-free-preview .preorder-cta {
  max-width: 100%;
  text-align: center;
}

.tense-set-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tense-set-card {
  display: grid;
  justify-items: center;
  grid-template-rows: 1fr auto auto;
  gap: 8px;
  padding: 14px;
  text-align: center;
  border: 1px solid #b9d9df;
  border-radius: 18px;
  background: linear-gradient(#fffdf9, #fff);
  box-shadow: 0 4px 0 #deecec;
}

.tense-set-card img {
  display: block;
  width: min(100%, 160px);
  height: auto;
}

.tense-set-card .btn {
  width: 100%;
  padding-inline: 10px;
}

.tense-checkout {
  min-width: 0;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid #d6e4e4;
  scroll-margin-top: 100px;
}

.tense-checkout h3 { margin-bottom: 10px; }
.tense-checkout .christmas-reserve .tense-booking-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}
.tense-booking-price strong {
  color: var(--teal-deep);
  font-size: 1.1rem;
}
.tense-booking-price > * { white-space: nowrap; }
.tense-checkout .christmas-reserve .tense-booking-release {
  margin: clamp(16px, 3vw, 24px) 0 0;
}
.tense-checkout form { margin-top: 16px; }
.tense-checkout input { min-width: 0; }
.tense-checkout [data-order-summary] { overflow-wrap: anywhere; }
#tense-preorder [hidden] { display: none; }
#tense-preorder [data-offer-status] { margin-top: 12px; }

.tense-order-qr {
  width: 180px;
  padding: 8px;
  margin: 12px 0;
  border-radius: 12px;
  background: white;
}

@media (max-width: 600px) {
  .tense-set-cards { grid-template-columns: minmax(0, 1fr); }
  .tense-set-card img { width: min(100%, 128px); }
}

/* Phone prose stacks vertically; the 192px artwork stays crisp at 3x density. */
@media(max-width:767px) {
 body.jane-reading-standard .preorder-contents li>img {
  width:64px;height:64px;max-width:100%;object-fit:contain;flex:none;
 }
}

/* Phone-only benefit cards: centered artwork and compact single-line titles. */
@media(max-width:767px){
 body.jane-reading-standard .preorder-contents li>img{margin-inline:auto;}
}
@layer jane-reading-standard{
 @media(max-width:767px){
  body.jane-reading-standard .preorder-contents[aria-labelledby] li h3{
   font-size:clamp(14px,4vw,18px)!important;line-height:1.7!important;
   white-space:nowrap!important;text-align:center!important;margin-bottom:10px;
  }
 }
}
