/* Quiet recovered scenery, optimised locally. It stays outside the measured
   scene, and a near-opaque paper wash protects text and object contrast. */
body.ottrillion-page{
  --muted:#52685b;
  background-color:#f5f4ec;
  background-image:linear-gradient(to bottom,#f5f4ecf0 0,#f5f4ecf5 440px,#f5f4ec 900px),url('./scenery/riverbank-desktop.webp');
  background-size:100% 950px,100% auto;
  background-position:center top;
  background-repeat:no-repeat;
}
@media(max-width:680px){
  body.ottrillion-page{
    background-image:linear-gradient(to bottom,#f5f4ecf0 0,#f5f4ecf7 480px,#f5f4ec 1100px),url('./scenery/riverbank-mobile.webp');
    background-size:100% 1150px,100% auto;
  }
}
.ottrillion-page .search-field input::placeholder{color:#52685b;opacity:1}
.ottrillion-page .result-copy>small{color:#52685b}
@media(prefers-contrast:more){body.ottrillion-page{background-image:none}}
@media(forced-colors:active){body.ottrillion-page{background-image:none}}

/* Accepted Ottermost identity. Legacy selectors keep existing entries compatible. */
.site-header .wordmark.ottrillion-wordmark,
.app-header .wordmark.ottrillion-wordmark {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: .65rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand-name { display: block; min-width: 0; font: inherit; }
/* Older cached markup can still render its two-line invitation. */
.working-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font: 600 1.4rem/1.05 var(--display, Georgia, serif);
  letter-spacing: -.035em;
}
.working-title > span { display: block; white-space: nowrap; }
.site-header .wordmark.ottrillion-wordmark > svg,
.app-header .wordmark.ottrillion-wordmark > svg {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
}
@media (max-width: 440px) {
  .site-header .wordmark.ottrillion-wordmark,
  .app-header .wordmark.ottrillion-wordmark { gap: .4rem; font-size: 1.65rem; }
  .working-title { font-size: 1.15rem; line-height: 1.1; }
  .site-header .wordmark.ottrillion-wordmark > svg,
  .app-header .wordmark.ottrillion-wordmark > svg {
    width: 2rem;
    height: 2rem;
    flex-basis: 2rem;
  }
  .footer-brand { font-size: 1rem; letter-spacing: -.025em; }
}
@media (max-width: 370px) {
  .site-header .wordmark.ottrillion-wordmark,
  .app-header .wordmark.ottrillion-wordmark { font-size: 1.5rem; }
}

/* Let the first choice reach the opening phone screen. The measured scene
   stays visible, while receipts can grow naturally for longer answer names. */
@media (max-width: 680px) {
  .ottrillion-page .game-hook,
  .ottrillion-page .game-intro { display: none; }
  .ottrillion-page .app-header { padding-top: 12px; padding-bottom: 10px; }
  .ottrillion-page .game-heading { gap: 10px; margin-bottom: 12px; }
  .ottrillion-page .infinite-stage { padding: 13px 16px 12px; }
  .ottrillion-page .infinite-haul { margin: 2px auto 6px; }
  .ottrillion-page .infinite-haul .haul-scene > svg { height: 144px; min-height: 0; }
  .ottrillion-page .infinite-stage .stage-caption { min-height: 0; padding-top: 9px; }
  .ottrillion-page .bank-tray:not(:has(.answer-feedback)) { display: none; }
}
@media (max-width: 660px) {
  .ottrillion-page .site-header { padding-top: 12px; padding-bottom: 10px; }
  .ottrillion-page .main { padding-top: 13px; }
  .ottrillion-page .main .topline { margin-bottom: 12px; }
  .ottrillion-page .stage.armful-stage { min-height: 0; padding: 14px 14px 12px; }
  .ottrillion-page .stage.armful-stage .scene-area {
    height: 144px; min-height: 144px; flex: 0 0 144px;
  }
  .ottrillion-page .stage.armful-stage .scene-area svg { height: 144px; }
  .ottrillion-page .stage.armful-stage .stage-bottom { min-height: 88px; padding-top: 9px; }
  .ottrillion-page .stage.armful-stage .stage-bottom.waiting-for-pick { min-height: 58px; }
  .ottrillion-page .stage-bottom.waiting-for-pick .status-symbol { display: none; }
  .ottrillion-page .play-layout:has(.waiting-for-pick) .action-zone { display: none; }
}
