/* Ottermost's shared visual language: warm paper, illustrated objects and a
   clear, forest-green play surface. All measurements come from game state. */
body.ottrillion-page {
  --paper: #f7f4e9;
  --cream: #fffdf6;
  --ink: #183e35;
  --muted: #52685e;
  --line: #d5ddcf;
  --acid: #e4ef9e;
  --orange: #ffac83;
  --font: 'DM Sans', Arial, sans-serif;
  --display: 'Bricolage Grotesque', 'DM Sans', Arial, sans-serif;
  background-color: var(--paper);
  background-image: linear-gradient(#f7f4e9db, #f7f4e9f2 380px, #f7f4e9 850px), url('./scenery/riverbank-desktop.webp');
  background-size: 100% 950px, 100% auto;
  color: var(--ink);
}
.ottrillion-page .site-header,
.ottrillion-page .app-header,
.ottrillion-page .mode-strip,
.ottrillion-page .mode-bar,
.ottrillion-page .main,
.ottrillion-page[data-kind] main { max-width: 1280px; }
.ottrillion-page .site-header,
.ottrillion-page .app-header { padding-top: 24px; padding-bottom: 18px; }
.ottrillion-page .wordmark.ottrillion-wordmark { font-weight: 800; font-size: 2.05rem; letter-spacing: -.055em; gap: 11px; }
.ottrillion-page .wordmark.ottrillion-wordmark > svg { width: 44px; height: 44px; flex-basis: 44px; filter: drop-shadow(0 2px 0 #183e3518); }
.ottrillion-page .edition { font-family: var(--font); font-size: 12px; letter-spacing: .07em; }
.ottrillion-page :is(.icon-button,.sound-button,.help-button) { width: 44px; height: 44px; min-width: 44px; background: #fffdf6b3; border-color: #cbd5c7; }
.ottrillion-page :is(.icon-button,.sound-button,.help-button):hover { background: var(--cream); border-color: #748b75; }
.ottrillion-page :is(.mode-strip,.mode-bar) { padding-bottom: 16px; gap: 18px; border-bottom: 1px solid #cbd5c7; }
.ottrillion-page :is(.mode-switch,.mode-nav) { padding: 4px; gap: 4px; background: #e8ecdf; border-radius: 14px; border-color: #cdd7c5; }
.ottrillion-page :is(.mode-switch,.mode-nav) a { min-width: 100px; min-height: 44px; font: 700 15px/1.2 var(--display); border-radius: 10px; }
.ottrillion-page :is(.mode-switch,.mode-nav) a[aria-current] { background: var(--ink); box-shadow: 0 2px 0 #0c281f; color: var(--cream); }
.ottrillion-page .topline { margin-bottom: 26px; }
.ottrillion-page .round-title { font-weight: 700; font-size: clamp(34px,3.5vw,48px); letter-spacing: -.055em; }
.ottrillion-page .game-heading h1 { font-weight: 700; font-size: clamp(32px,3.4vw,46px); letter-spacing: -.055em; }
.ottrillion-page :is(.eyebrow,.section-kicker) { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.ottrillion-page .game-hook,.ottrillion-page .game-intro { margin-top: 9px; font-size: 15px; }
.ottrillion-page .run-slot { width: 62px; min-height: 66px; border-radius: 12px; border-color: #ccd5c7; background: #fffdf64d; }
.ottrillion-page .run-slot.current { background: #edf1d6; border-color: #738b5c; box-shadow: inset 0 0 0 1px #738b5c; }
.ottrillion-page .run-slot.kept { background: var(--ink); border-color: var(--ink); }
.ottrillion-page .run-slot small { font-size: 11px; }
.ottrillion-page .run-slot > span { font-size: 19px; }
.ottrillion-page .run-kept { font-weight: 700; }
.ottrillion-page .play-layout { grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr); gap: 26px; }
.ottrillion-page :is(.stage.armful-stage,.infinite-stage) {
  border: 1px solid #14392e; border-radius: 25px;
  background: radial-gradient(ellipse at 12% 80%, #466d4d44, transparent 68%), linear-gradient(145deg,#244f41,#153d32 62%,#173d37);
  box-shadow: 0 5px 0 #ccd6bd, 0 16px 30px #1235280b;
}
.ottrillion-page .stage.armful-stage { padding: 24px 25px 20px; min-height: 560px; }
.ottrillion-page .infinite-stage { padding: 23px 25px 20px; }
.ottrillion-page .stage.armful-stage.perfect,
.ottrillion-page .infinite-stage.perfect { border-color: #bdcf7e; box-shadow: 0 0 0 2px #dceba0,0 5px 0 #b7c886,0 16px 30px #1235280b; }
.ottrillion-page :is(.stage--music,.infinite-stage.music) { background: radial-gradient(ellipse at 90% 60%,#567f6833,transparent 72%), linear-gradient(135deg,#294c45,#183c38); }
.ottrillion-page :is(.stage--height,.infinite-stage.height) { background: radial-gradient(ellipse at 25% 65%,#648c4d22,transparent 70%), linear-gradient(135deg,#2b5645,#1c4338); }
.ottrillion-page :is(.limit-number,.stage-metrics strong) { font-weight: 600; letter-spacing: -.055em; }
.ottrillion-page .stage-score strong { font-weight: 700; }
.ottrillion-page .stage-score { border-left-color: #78947b77; }
.ottrillion-page .stage .scene-area { margin: 2px -15px 0; }
.ottrillion-page .haul-meter { height: 7px; background: #052b2399; border: 1px solid #a6bd8840; border-radius: 10px; overflow: hidden; margin-top: 20px; position: relative; }
.ottrillion-page .haul-meter::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#e9f0d33b calc(25% - 1px),#e9f0d33b 25%); }
.ottrillion-page .haul-meter > span { display: block; height: 100%; width: var(--fill,0%); background: var(--acid); border-radius: inherit; }
.ottrillion-page .bust .haul-meter > span { background: var(--orange); }
.ottrillion-page .stage-bottom,.ottrillion-page .stage-caption { border-color: #d5e4bf30; }
.ottrillion-page .round-message,.ottrillion-page .stage-caption > strong { font-weight: 600; font-size: 19px; }
.ottrillion-page .round-message small { color: #d0ddc6; }
.ottrillion-page .choices { gap: 12px; }
.ottrillion-page .shelf-label { margin-bottom: 4px; }
.ottrillion-page .shelf-title,.ottrillion-page .search-heading h2 { font-size: 21px; font-weight: 700; letter-spacing: -.035em; }
.ottrillion-page .measurement-caption { margin-top: 0; }
.ottrillion-page .pick-drag-hint { margin-top: 5px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.ottrillion-page .choice { grid-template-columns: 84px minmax(0,1fr); border-radius: 16px; min-height: 134px; background: var(--cream); border-color: #cad4c5; box-shadow: 0 3px 0 #dce1d1; }
.ottrillion-page .choice-art { padding: 12px 8px; background: color-mix(in srgb,var(--tile) 15%,#faf6e9); border-right: 1px solid #183e350b; }
.ottrillion-page .choice-art > .object-scene { height: 96px; }
.ottrillion-page .choice-copy { padding: 15px 12px 12px; }
.ottrillion-page .choice-name { font-size: 16px; font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.ottrillion-page .choice-detail { font-size: 12px; line-height: 1.4; }
.ottrillion-page .choice-value { font-size: 13px; font-weight: 600; }
.ottrillion-page .choice-footer { padding-top: 8px; }
.ottrillion-page .choice.selected { background: #eaf0dd; border-color: #6e8a62; box-shadow: 0 2px 0 #becfad,inset 0 0 0 1px #6e8a6233; }
.ottrillion-page .choice.selected .choice-art { background: color-mix(in srgb,var(--tile) 17%,#e4ecd7); }
.ottrillion-page .choice.is-over { background: #fae6d9; border-color: #be7d59; box-shadow: 0 2px 0 #dfba9e; }
.ottrillion-page .choice-badge { width: 24px; height: 24px; flex-basis: 24px; }
.ottrillion-page .choices-panel .object-landmark-model { max-width: 76px; height: 91%; }
.ottrillion-page .choices-panel .object-record { max-width: 76px; }
.ottrillion-page .choices-panel .object-film-poster { box-shadow: 1px 2px 0 #fffdf5,3px 5px 0 #29423525; }
.ottrillion-page .choice:not(:disabled):hover { border-color: #64835d; box-shadow: 0 5px 0 #ccd7bd; transform: translateY(-2px); }
.ottrillion-page .choice:not(:disabled):active { transform: translateY(2px); box-shadow: 0 1px 0 #ccd7bd; }
.ottrillion-page :is(.button,.bank-button,.next-round) { border-radius: 12px; font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
.ottrillion-page .bank-button:not(:disabled),.ottrillion-page .next-button:not(:disabled),.ottrillion-page .next-round:not(:disabled) { background: #e2ee9c; color: #193b2c; border: 1px solid #b0c56f; box-shadow: 0 3px 0 #aabd77; }
.ottrillion-page .bank-button:not(:disabled):hover,.ottrillion-page .next-button:not(:disabled):hover,.ottrillion-page .next-round:not(:disabled):hover { background: #ecf5b4; }
.ottrillion-page .bank-button:not(:disabled):active,.ottrillion-page .next-button:not(:disabled):active,.ottrillion-page .next-round:not(:disabled):active { transform: translateY(2px); box-shadow: 0 1px 0 #aabd77; }
.ottrillion-page .bank-button .score-chip { border-color: #a8bc6c; }
.ottrillion-page .action-zone { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.ottrillion-page .action-copy strong,.ottrillion-page .decision-row > div > strong { font-weight: 700; font-size: 18px; }
.ottrillion-page .subject-tabs { background: #e8ecdf; border-radius: 14px; padding: 4px; }
.ottrillion-page .subject-tabs button { border-radius: 10px; font-weight: 600; }
.ottrillion-page .subject-tabs button[aria-pressed=true] { background: var(--cream); border-color: #aebf9d; box-shadow: 0 2px 0 #cbd5bc; }
.ottrillion-page .search-field { border-radius: 14px; background: var(--cream); border-color: #aebfa5; box-shadow: 0 3px 0 #dbe2cf; padding: 5px; }
.ottrillion-page .search-field input { min-height: 44px; }
.ottrillion-page .search-field button { border-radius: 9px; padding: 11px 16px; font-weight: 700; }
.ottrillion-page .search-results { display: grid; gap: 10px; border-top: 0; }
.ottrillion-page .search-result { border: 1px solid #d0d9c8; border-radius: 15px; padding: 12px 15px; background: var(--cream); gap: 17px; box-shadow: 0 3px 0 #e1e5d7; }
.ottrillion-page .search-result:not(:disabled):hover { background: #fffef9; border-color: #748e65; transform: translateY(-1px); box-shadow: 0 4px 0 #d0dcc2; }
.ottrillion-page .search-result.already-picked { background: #e8efdc; border-color: #8ca47a; box-shadow: 0 2px 0 #c6d4b8; }
.ottrillion-page .search-result.pending { background: #eff1db; border-color: #9ba96a; }
.ottrillion-page .search-result .result-object-art { width: 62px; height: 78px; flex-basis: 62px; }
.ottrillion-page .result-copy > strong { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.ottrillion-page .result-copy > span { font-size: 13px; line-height: 1.5; }
.ottrillion-page .result-copy > small { font-size: 12px; margin-top: 5px; }
.ottrillion-page .catalogue-status { font-size: 13px; line-height: 1.5; }
.ottrillion-page .search-recovery { padding: 15px; background: #f0ecdc; border: 1px solid #d8d1b8; border-radius: 13px; }
.ottrillion-page .search-recovery button { min-height: 44px; border-radius: 9px; }
.ottrillion-page .receipts,.ottrillion-page .answer-review,.ottrillion-page .history { border-radius: 16px; }
.ottrillion-page .results-top { padding: 24px 24px 20px; border: 1px solid #c9d4bf; border-radius: 26px; background: linear-gradient(135deg,#fcfaee,#edf0d9); }
.ottrillion-page .results-top h1 { font-weight: 700; font-size: clamp(34px,4vw,52px); letter-spacing: -.05em; }
.ottrillion-page .big-score { font-family: var(--display); font-weight: 800; letter-spacing: -.06em; }
.ottrillion-page .result-deck { gap: 16px; }
.ottrillion-page .result-card { border-radius: 20px; background: linear-gradient(145deg,#285342,#173e33); border: 1px solid #204837; box-shadow: 0 4px 0 #c8d4b6; }
.ottrillion-page .result-card h2 { font-weight: 700; }
.ottrillion-page .round-result-score { font-weight: 700; }
.ottrillion-page .result-card.bust { background: linear-gradient(145deg,#4d5140,#293f33); }
.ottrillion-page .results-details { padding: 22px; background: #fffdf68c; border: 1px solid var(--line); border-radius: 16px; }
.ottrillion-page .room-panel { background: #fffdf680; border: 1px solid #c9d5be; border-top: 3px solid var(--ink); border-radius: 17px; padding: 24px; }
.ottrillion-page dialog { max-width: min(560px,calc(100% - 28px)); border: 1px solid #b9c9ac; border-radius: 24px; padding: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 90px #0d2d2a38; }
.ottrillion-page dialog::backdrop { background: #0e302d66; backdrop-filter: blur(5px); }
.ottrillion-page dialog h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
.ottrillion-page dialog ol { padding-left: 26px; }
.ottrillion-page dialog li { padding-left: 6px; margin: 14px 0; line-height: 1.6; }
.ottrillion-page dialog li::marker { color: #667d3d; font-weight: 800; }
.ottrillion-page .help-sample { background: #eff2d9; color: var(--ink); border: 1px solid #cad6a3; border-radius: 13px; padding: 16px; }
.ottrillion-page .help-sample strong { color: var(--ink); }
.ottrillion-page :is(.site-footer,footer) { color: var(--muted); }
.ottrillion-page #toast { border-radius: 13px; box-shadow: 0 6px 24px #183e3526; }
.ottrillion-page :focus-visible { outline: 3px solid #c95531; outline-offset: 4px; }

@media (min-width: 1120px) {
  .ottrillion-page .choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ottrillion-page .choice { display: flex; flex-direction: column; min-height: 208px; }
  .ottrillion-page .choice-art { height: 105px; flex: 0 0 105px; border-right: 0; border-bottom: 1px solid #183e350b; padding: 10px; }
  .ottrillion-page .choice-art > .object-scene { width: 95px; height: 86px; }
  .ottrillion-page .choice-copy { flex: 1; padding: 12px; }
  .ottrillion-page .choice-name { font-size: 16px; }
}
@media (max-width: 900px) and (min-width: 681px) {
  .ottrillion-page .play-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 18px; }
  .ottrillion-page .choice { grid-template-columns: 60px minmax(0,1fr); }
  .ottrillion-page .choice-art { padding: 10px 4px; }
  .ottrillion-page .choice-name { font-size: 14px; }
  .ottrillion-page .choice-copy { padding: 12px 9px; }
  .ottrillion-page .run-ledger { gap: 12px; min-width: 235px; }
  .ottrillion-page .run-slot { width: 53px; }
}
@media (max-width: 680px) {
  body.ottrillion-page { background-image: linear-gradient(#f7f4e9dd,#f7f4e9f5 340px,#f7f4e9 760px),url('./scenery/riverbank-mobile.webp'); background-size: 100% 900px,100% auto; }
  .ottrillion-page .site-header,.ottrillion-page .app-header { padding: 13px 18px 12px; }
  .ottrillion-page .wordmark.ottrillion-wordmark { font-size: 1.7rem; gap: 7px; }
  .ottrillion-page .wordmark.ottrillion-wordmark > svg { width: 35px; height: 35px; flex-basis: 35px; }
  .ottrillion-page .header-actions,.ottrillion-page .header-right { gap: 6px; }
  .ottrillion-page :is(.icon-button,.sound-button,.help-button) { width: 40px; height: 40px; min-width: 40px; }
  .ottrillion-page .mode-strip,.ottrillion-page .mode-bar { padding: 0 18px 12px; gap: 12px; margin-bottom: 0; }
  .ottrillion-page :is(.mode-switch,.mode-nav) a { min-width: 77px; min-height: 36px; padding: 7px 13px; font-size: 14px; }
  .ottrillion-page .mode-caption,.ottrillion-page .mode-bar p { font-size: 12px; line-height: 1.35; max-width: 130px; }
  .ottrillion-page .main,.ottrillion-page[data-kind] main { padding: 17px 18px 0; }
  .ottrillion-page .main .topline { flex-direction: column; align-items: stretch; gap: 11px; margin-bottom: 15px; }
  .ottrillion-page .round-intro { width: 100%; }
  .ottrillion-page .round-intro > .eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: .09em; }
  .ottrillion-page .round-title,.ottrillion-page .game-heading h1 { font-size: 31px; letter-spacing: -.055em; }
  .ottrillion-page .game-heading { gap: 12px; margin-bottom: 16px; }
  .ottrillion-page .play-layout { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .ottrillion-page .stage.armful-stage,.ottrillion-page .infinite-stage { border-radius: 20px; padding: 17px 17px 13px; min-height: 0; }
  .ottrillion-page .stage.armful-stage .scene-area { height: 128px; min-height: 128px; flex: 0 0 128px; margin: 0 -12px; }
  .ottrillion-page .stage.armful-stage .scene-area svg { height: 128px; }
  .ottrillion-page .infinite-haul .haul-scene > svg { height: 139px; min-height: 0; }
  .ottrillion-page .infinite-haul { margin: 0 -2px 5px; }
  .ottrillion-page .haul-meter { margin-top: 12px; height: 6px; }
  .ottrillion-page .stage-metrics { margin-top: 13px; }
  .ottrillion-page .limit-number { font-size: 43px; }
  .ottrillion-page .stage-score strong { font-size: 38px; }
  .ottrillion-page .stage-caption > strong,.ottrillion-page .round-message { font-size: 17px; }
  .ottrillion-page .stage.armful-stage .stage-bottom.waiting-for-pick { min-height: 32px; padding-top: 9px; }
  .ottrillion-page .stage-bottom.waiting-for-pick .round-message small { display: none; }
  .ottrillion-page .stage.armful-stage .stage-bottom.has-receipt { min-height: 88px; }
  .ottrillion-page .main .run-ledger { flex-direction: row; align-self: stretch; justify-content: space-between; gap: 12px; min-width: 0; padding-top: 0; }
  .ottrillion-page .main .run-slots { gap: 6px; }
  .ottrillion-page .main .run-slot { display: flex; justify-content: center; gap: 3px; width: 46px; min-height: 44px; padding: 4px; }
  .ottrillion-page .main .run-slot svg { width: 21px; height: 22px; }
  .ottrillion-page .main .run-slot > span { font-size: 12px; margin-top: 0; }
  .ottrillion-page .main .run-slot small { display: none; }
  .ottrillion-page .main .run-ledger .bank-total { flex-direction: row; align-items: baseline; gap: 7px; }
  .ottrillion-page .main .run-ledger .bank-total span { font-size: 12px; }
  .ottrillion-page .shelf-title,.ottrillion-page .search-heading h2 { font-size: 20px; }
  .ottrillion-page .measurement-caption { margin-bottom: 7px; font-size: 13px; line-height: 1.4; }
  .ottrillion-page .pick-drag-hint { margin-top: 3px; margin-bottom: 9px; }
  .ottrillion-page .choice { display: flex; flex-direction: column; min-height: 178px; border-radius: 14px; }
  .ottrillion-page .choice-art { width: 100%; height: 83px; flex: 0 0 83px; padding: 7px; border-right: 0; border-bottom: 1px solid #183e350b; }
  .ottrillion-page .choice-art > .object-scene { width: 76px; height: 70px; }
  .ottrillion-page .choice-copy { flex: 1; width: 100%; padding: 11px 10px 9px; }
  .ottrillion-page .choice-name { font-size: 15px; line-height: 1.22; }
  .ottrillion-page .choice-detail { font-size: 11px; line-height: 1.35; }
  .ottrillion-page .choice-value { font-size: 12px; }
  .ottrillion-page .choice-footer { gap: 4px; }
  .ottrillion-page .choice-badge { width: 22px; height: 22px; flex-basis: 22px; }
  .ottrillion-page .search-result { padding: 11px 13px; gap: 14px; border-radius: 14px; }
  .ottrillion-page .search-result .result-object-art { width: 53px; height: 69px; flex-basis: 53px; }
  .ottrillion-page .result-copy > strong { font-size: 17px; }
  .ottrillion-page .bank-tray { background: #f7f4e9f8; border-top-color: #b8c7a6; padding: 11px 18px calc(13px + env(safe-area-inset-bottom,0px)); }
  .ottrillion-page .action-zone { background: #f7f4e9f8; }
  .ottrillion-page .action-copy strong,.ottrillion-page .decision-row > div > strong { font-size: 16px; }
  .ottrillion-page .results { padding: 19px 18px; }
  .ottrillion-page .results-top { padding: 20px 13px 16px; border-radius: 20px; }
  .ottrillion-page .result-deck { gap: 12px; }
  .ottrillion-page .result-card { border-radius: 16px; }
  .ottrillion-page .room-panel { padding: 19px 15px; }
  .ottrillion-page dialog { padding: 22px; border-radius: 20px; }
  .ottrillion-page dialog ol { padding-left: 23px; }
}
@media (max-width: 370px) {
  .ottrillion-page .site-header,.ottrillion-page .app-header { padding-left: 13px; padding-right: 13px; }
  .ottrillion-page .wordmark.ottrillion-wordmark { font-size: 1.5rem; gap: 5px; }
  .ottrillion-page .wordmark.ottrillion-wordmark > svg { width: 31px; height: 31px; flex-basis: 31px; }
  .ottrillion-page .main,.ottrillion-page[data-kind] main { padding-left: 13px; padding-right: 13px; }
  .ottrillion-page .mode-strip,.ottrillion-page .mode-bar { padding-left: 13px; padding-right: 13px; gap: 8px; }
  .ottrillion-page .mode-caption,.ottrillion-page .mode-bar p { font-size: 11px; }
  .ottrillion-page .choices { gap: 9px; }
  .ottrillion-page .choice-copy { padding-left: 9px; padding-right: 9px; }
  .ottrillion-page .choice-name { font-size: 14px; }
  .ottrillion-page .subject-tabs button { padding-left: 9px; padding-right: 9px; }
}
.ottrillion-page .comparison-disclosure { max-width: 720px; margin: 12px auto 0; color: #50634f; font-size: .875rem; text-align: center; line-height: 1.5; }
.ottrillion-page .comparison-disclosure a { color: #224a37; text-underline-offset: 3px; }
.ottrillion-page .daily-notice { margin: 0 auto 12px; max-width: 1100px; padding: 14px 20px; border: 1px solid #b5c39a; border-radius: 12px; background: #e8efc8; color: #203e2f; font-size: .95rem; line-height: 1.5; }
.ottrillion-page .daily-notice[hidden] { display: none; }
.ottrillion-page .daily-notice a { display: inline-block; font-weight: 700; color: inherit; margin-left: 5px; text-underline-offset: 3px; }
.ottrillion-page .daily-community { margin: 24px 0; padding: 28px; border: 1px solid #335a43; border-radius: 24px; background: #203f33; color: #fbf9ec; box-shadow: 0 6px 0 #d4ddc3; text-align: left; }
.ottrillion-page .daily-community .eyebrow { color: #cfdfa6; margin: 0 0 10px; }
.ottrillion-page .daily-community h2 { color: #fbf9ec; font-family: 'Bricolage Grotesque',sans-serif; font-size: clamp(1.6rem,3vw,2.3rem); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 12px; }
.ottrillion-page .daily-community p { margin: 0; line-height: 1.55; }
.ottrillion-page .community-heading { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.ottrillion-page .community-heading > div:first-child { min-width: 0; }
.ottrillion-page .community-heading > div > p:last-child { font-size: 1rem; color: #e0e8d4; }
.ottrillion-page .community-stamp { width: 124px; min-height: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; text-align: center; border: 1px solid #b2c78c; border-radius: 50%; color: #223e2f; background: #e3edaf; }
.ottrillion-page .community-stamp strong { font-family: 'Bricolage Grotesque',sans-serif; font-size: 2.3rem; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; max-width: 100%; }
.ottrillion-page .community-stamp span { margin-top: 8px; font-size: .75rem; font-weight: 750; line-height: 1.25; letter-spacing: .03em; }
.ottrillion-page .community-standing { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: 24px 0 16px; }
.ottrillion-page .community-standing strong { font-family: 'Bricolage Grotesque',sans-serif; color: #e3edaf; font-size: 1.6rem; letter-spacing: -.03em; }
.ottrillion-page .community-standing span { color: #e0e8d4; font-size: .9rem; }
.ottrillion-page .community-counts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 0; border: 1px solid #5b745c; border-radius: 14px; overflow: hidden; }
.ottrillion-page .community-counts > div { padding: 17px 16px; display: flex; flex-direction: column; gap: 6px; }
.ottrillion-page .community-counts > div + div { border-left: 1px solid #5b745c; }
.ottrillion-page .community-counts dt { color: #e0e8d4; font-size: .875rem; line-height: 1.35; }
.ottrillion-page .community-counts dd { color: #fbf9ec; font-family: 'Bricolage Grotesque',sans-serif; margin: 0; font-size: 2rem; font-weight: 650; line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.ottrillion-page .daily-community .community-explainer { color: #d4dfcb; font-size: .875rem; line-height: 1.55; margin: 16px 0 0; }
.ottrillion-page .daily-community a { color: #e5efb5; text-underline-offset: 3px; }
.ottrillion-page .community-footer { display: flex; gap: 18px; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid #5b745c; }
.ottrillion-page .community-footer p { color: #d4dfcb; font-size: .8125rem; }
.ottrillion-page .daily-community .text-button { color: #e5efb5; min-height: 44px; font-size: .875rem; padding: 8px 0; text-align: left; text-underline-offset: 4px; }
.ottrillion-page .daily-community .text-button:focus-visible { outline-color: #e5efb5; }
.ottrillion-page .daily-community .community-error { margin-top: 12px; color: #ffd3af; font-size: .9rem; }
@media (max-width: 600px) {
  .ottrillion-page .daily-community { padding: 22px 16px; margin: 20px 0; border-radius: 20px; }
  .ottrillion-page .community-heading { gap: 12px; }
  .ottrillion-page .community-stamp { width: 88px; min-height: 88px; padding: 12px 6px; }
  .ottrillion-page .community-stamp strong { font-size: 1.9rem; }
  .ottrillion-page .community-stamp span { font-size: .625rem; margin-top: 5px; }
  .ottrillion-page .community-counts > div { padding: 14px 9px; }
  .ottrillion-page .community-counts dd { font-size: 1.7rem; }
  .ottrillion-page .community-counts dt { font-size: .875rem; }
  .ottrillion-page .community-counts dt { min-height: 2.7em; }
  .ottrillion-page .community-footer { display: block; }
  .ottrillion-page .community-footer .text-button { margin-top: 8px; }
}
@media (max-width: 370px) {
  .ottrillion-page .result-total { gap: 12px; align-items: center; }
  .ottrillion-page .result-total .big-score { font-size: 5.5rem; }
  .ottrillion-page .result-total .score-aside { padding-left: 12px; font-size: .8125rem; line-height: 1.5; }
  .ottrillion-page .community-heading { grid-template-columns: 1fr; }
  .ottrillion-page .community-stamp { width: auto; min-height: 0; flex-direction: row; gap: 10px; justify-content: flex-start; padding: 10px 14px; border-radius: 12px; }
  .ottrillion-page .community-stamp span { margin: 0; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ottrillion-page *, .ottrillion-page *::before, .ottrillion-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-contrast: more), (forced-colors: active) {
  body.ottrillion-page { background-image: none; }
  .ottrillion-page :is(.choice,.search-result,.stage.armful-stage,.infinite-stage,.results-top,.result-card) { box-shadow: none; border-width: 2px; }
}

/* Keep mode discovery visible without squeezing the question context. */
.ottrillion-page .mode-strip .all-games-link { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;margin-left:auto;font:600 .875rem/1.4 var(--display);text-decoration:underline;text-underline-offset:4px;white-space:nowrap;border-radius:8px; }
.ottrillion-page .mode-strip .all-games-link:hover { background:#e8ecdf; }
.ottrillion-page .mode-strip .all-games-link:focus-visible { outline:3px solid #497657;outline-offset:2px; }
@media(max-width:640px) {
 .ottrillion-page .mode-strip { display:grid;grid-template-columns:minmax(0,1fr) auto;row-gap:7px; }
 .ottrillion-page .mode-strip .mode-switch { width:max-content;max-width:100%;grid-column:1;grid-row:1; }
 .ottrillion-page .mode-strip .all-games-link { grid-column:2;grid-row:1; }
 .ottrillion-page .mode-strip .mode-caption { grid-column:1 / -1;grid-row:2;max-width:none;font-size:.875rem;line-height:1.4; }
 .ottrillion-page .mode-strip .mode-switch a { min-height:44px; }
}

/* Give the riverbank room to breathe without crowding the game controls. */
.ottrillion-page .mode-strip { flex-wrap:wrap; }
.ottrillion-page .mode-strip>.habitat-motion-button { flex:none; }
@media(max-width:680px) {
 .ottrillion-page .stage.armful-stage .scene-area { height:190px; min-height:190px; flex:0 0 190px; margin:0 -12px; }
 .ottrillion-page .stage.armful-stage .scene-area svg { height:190px; }
}
@media(max-width:640px) {
 .ottrillion-page .mode-strip { grid-template-columns:minmax(0,1fr) 28px auto; }
 .ottrillion-page .mode-strip .mode-switch { grid-column:1 / 3; }
 .ottrillion-page .mode-strip .all-games-link { grid-column:3; }
 .ottrillion-page .mode-strip .mode-caption { grid-column:1; grid-row:2; }
 .ottrillion-page .mode-strip>.habitat-motion-button { grid-column:2 / 4; grid-row:2; justify-self:end; }
}
@media(max-width:370px) {
 .ottrillion-page .stage.armful-stage .scene-area { height:175px; min-height:175px; flex-basis:175px; }
 .ottrillion-page .stage.armful-stage .scene-area svg { height:175px; }
}
