/* Tool Rush owns its field. No viewport dialogs, global filters, or external art. */
body[data-page="tool-rush"] { background: #f6f6ee; }
.tr-page { --tr-ink: #23444e; --tr-muted: #597078; --tr-orange: #ed9658; --tr-teal: #327a70; max-width: 1080px; color: var(--tr-ink); padding-top: 22px; }
.tr-page *, .tr-page *::before, .tr-page *::after { box-sizing: border-box; }
.tr-page button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.tr-page [hidden] { display: none !important; }
.tr-page button:focus-visible, .tr-page a:focus-visible, .tr-page summary:focus-visible { outline: 3px solid #006c99; outline-offset: 4px; }
.tr-page h1, .tr-page h2, .tr-page h3, .tr-page p { color: inherit; }
.tr-breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 12px; color: #627274; margin-bottom: 23px; }
.tr-breadcrumb a { color: #355a59; font-weight: 700; text-decoration: none; min-height: 30px; display: inline-flex; align-items: center; }
.tr-breadcrumb > span:first-of-type { color: #acb6af; }
.tr-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.tr-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; margin: 0; }
.tr-heading .tr-eyebrow { color: #547069; }
.tr-heading .tr-eyebrow span { color: #bd8d50; margin: 0 5px; }
.tr-heading h1 { margin: 3px 0 0; font-size: clamp(35px, 5vw, 52px); letter-spacing: -.055em; line-height: 1.15; font-weight: 850; }
.tr-title-dot { color: #c36b34; }
.tr-heading p:last-child { margin: 5px 0 0; font-size: 16px; color: #5c7473; }
.tr-personal { text-align: right; padding-left: 15px; }
.tr-personal > span { display: block; font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.tr-personal strong { display: block; font-size: 30px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.tr-personal small { font-size: 10px; color: var(--tr-muted); }
.tr-game { display: grid; position: relative; isolation: isolate; border: 1px solid #b3c3b9; border-radius: 22px; overflow: hidden; background: #e8f0e8; box-shadow: 0 8px 0 #d9e0d6, 0 22px 50px #294b4420; scroll-margin-top: calc(var(--learning-header-height, 64px) + var(--learning-strip-height, 0px) + 12px); }
.tr-play, .tr-overlay { grid-area: 1 / 1; min-width: 0; }
.tr-play { display: flex; flex-direction: column; }
.tr-hud { display: grid; grid-template-columns: 1.1fr 1fr 1fr 48px; align-items: center; gap: 16px; padding: 16px 28px; background: #fffcf2; border-bottom: 1px solid #c8d8cc; }
.tr-stat > span { display: block; font-size: 9px; font-weight: 800; letter-spacing: .14em; color: #667877; }
.tr-stat > strong { display: block; font-size: 26px; font-weight: 850; line-height: 1.25; font-variant-numeric: tabular-nums; }
.tr-combo { position: relative; border-inline: 1px solid #dce3d6; padding-inline: 22px; }
.tr-combo > strong { color: #b76432; }
.tr-combo-pips { position: absolute; top: 23px; left: 68px; display: flex; gap: 4px; }
.tr-combo-pips i { width: 8px; height: 8px; border-radius: 50%; background: #eadbc3; }
.tr-combo-pips i.is-filled { background: #d27a38; }
.tr-lives strong { color: #bf6652; white-space: nowrap; font-size: 24px; letter-spacing: 2px; }
.tr-lives .is-lost { color: #d5dad0; }
.tr-icon-button { width: 44px; height: 44px; border: 1px solid #c8d5c9; border-radius: 12px; background: #f0f2e9; color: var(--tr-ink); display: grid; place-items: center; }
.tr-icon-button svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; }
.tr-icon-button:hover { background: #e2eadd; }
.tr-scene { position: relative; overflow: hidden; background: linear-gradient(180deg, #d8eee4, #eaf1df); padding: 20px 28px 0; }
.tr-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; pointer-events: none; }
.tr-scene-top { display: flex; justify-content: space-between; align-items: center; position: relative; gap: 8px; }
.tr-station-sign { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .14em; font-weight: 800; color: #3a625f; }
.tr-station-sign i { width: 6px; height: 6px; background: #578a6d; border-radius: 50%; box-shadow: 0 0 0 4px #ffffff65; }
.tr-station-sign b { border-left: 1px solid #a6c3b1; padding-left: 8px; }
.tr-pace { border: 1px solid #94b5a5; border-radius: 20px; padding: 6px 10px; font-size: 9px; letter-spacing: .08em; font-weight: 800; background: #f8fff06e; }
.tr-request-row { display: flex; align-items: center; justify-content: center; gap: 24px; position: relative; max-width: 720px; margin: 17px auto 0; min-height: 192px; }
.tr-worker { align-self: flex-end; width: 176px; flex-shrink: 0; transform-origin: 50% 100%; }
.tr-worker-art { width: 100%; height: auto; display: block; }
.tr-request { position: relative; align-self: center; margin-bottom: 10px; background: #fffcf2; border: 1px solid #bed1c1; border-radius: 17px; padding: 21px 24px 17px; box-shadow: 0 6px 0 #4d776a14; width: 100%; max-width: 450px; }
.tr-request::before { content: ''; position: absolute; width: 18px; height: 18px; top: 48%; left: -10px; border-left: 1px solid #bed1c1; border-bottom: 1px solid #bed1c1; transform: rotate(45deg); background: #fffcf2; }
.tr-request-meta { display: flex; justify-content: space-between; gap: 6px; color: #6a7b74; font-size: 8px; letter-spacing: .1em; font-weight: 800; }
.tr-request-meta span:first-child { color: #387669; }
.tr-request h2 { font-size: clamp(19px, 2.5vw, 27px); line-height: 1.25; letter-spacing: -.025em; margin: 11px 0 20px; min-height: 68px; display: flex; align-items: center; }
.tr-time-caption { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 8px; letter-spacing: .1em; font-weight: 700; color: #5b7770; }
.tr-time-caption strong { font-size: 11px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.tr-time-track { background: #e2e8dc; height: 7px; border-radius: 5px; overflow: hidden; margin-top: 6px; }
.tr-time-track > span { height: 100%; width: 100%; display: block; background: #68a993; transform-origin: left; border-radius: inherit; }
.tr-scene[data-urgent="true"] .tr-time-track > span { background: #ce694d; }
.tr-scene[data-urgent="true"] .tr-time-caption { color: #a74832; }
.tr-scene[data-feedback] .tr-time-caption { font-size: 8px; font-weight: 850; letter-spacing: .02em; }
.tr-scene[data-feedback="correct"] .tr-time-caption { color: #28664c; }
.tr-scene[data-feedback="incorrect"] .tr-time-caption { color: #a2432c; }
.tr-scene[data-feedback="incorrect"] .tr-request { border-color: #cfa48c; }
.tr-scene-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 35px; margin-top: -2px; }
.tr-scene-bottom > span { background: #f7f6dfbb; border-radius: 20px; padding: 5px 12px; font-size: 10px; font-weight: 650; transform: translateY(-4px); }
.tr-queue { display: flex; align-items: center; gap: 8px; align-self: flex-end; }
.tr-queue > span { font-size: 8px; letter-spacing: .1em; font-weight: 700; color: #4c7165; }
.tr-queue > div { display: flex; gap: 3px; }
.tr-queue svg { width: 37px; height: 43px; opacity: .7; }
.tr-counter { background: #355d5b; color: #e1ecdc; padding: 9px 28px; border-top: 6px solid #d4ab76; box-shadow: inset 0 2px 0 #294948; display: flex; align-items: center; justify-content: space-between; }
.tr-counter > span { font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.tr-counter i { width: 58px; height: 9px; background: repeating-linear-gradient(125deg, #f0c477 0 6px, #456665 6px 12px); border-radius: 2px; opacity: .8; }
.tr-toolbox { background: #f0eddf; padding: 16px 24px 15px; flex: 1; }
.tr-tray-label { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .12em; font-weight: 800; color: #5f7370; margin-bottom: 11px; gap: 8px; }
.tr-tray-label b { color: #b66b37; margin-left: 5px; font-size: 13px; }
.tr-key-hint { font-size: 8px; letter-spacing: .09em; font-weight: 600; color: #6d7b72; }
.tr-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tr-tool { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-width: 0; background: #fffdf4; border: 1px solid #cad2c2; border-radius: 13px; padding: 7px 8px 12px; box-shadow: 0 5px 0 #c9cebd; color: var(--tr-ink); transition: transform .13s, background .13s, box-shadow .13s; }
.tr-tool:enabled:hover { transform: translateY(-3px); background: #fffefa; box-shadow: 0 8px 0 #c9cebd; border-color: #87a99b; }
.tr-tool:enabled:active { transform: translateY(3px); box-shadow: 0 2px 0 #b7c2ae; }
.tr-tool:disabled { cursor: default; opacity: 1; }
.tr-tool .tr-tool-art { width: min(100%, 155px); height: 108px; flex-shrink: 0; }
.tr-tool > strong { font-size: 12px; line-height: 1.2; font-weight: 750; text-align: center; min-height: 29px; display: flex; align-items: center; }
.tr-tool-number { position: absolute; top: 8px; left: 9px; font-size: 9px; font-weight: 750; color: #7a8c81; }
.tr-tool-state { position: absolute; right: 8px; top: 7px; font-size: 15px; font-weight: 900; }
.tr-tool.is-correct { border-color: #4e9a7e; background: #e3f2d9; box-shadow: 0 5px 0 #8db399; }
.tr-tool.is-wrong { border-color: #c47a5e; background: #f9e3d6; box-shadow: 0 5px 0 #ceab92; }
.tr-tool.is-delivered .tr-tool-art { animation: tr-deliver .48s ease-out both; }
.tr-feedback { min-height: 51px; margin-top: 17px; text-align: center; }
.tr-feedback strong { font-size: 12px; font-weight: 750; }
.tr-feedback p { font-size: 10px; line-height: 1.45; color: #647770; margin: 3px auto 0; max-width: 600px; }
.tr-feedback[data-result="correct"] strong { color: #357159; }
.tr-feedback[data-result="incorrect"] strong { color: #a24c32; }
.tr-score-pop { position: absolute; top: 41%; right: 9%; pointer-events: none; font-size: 33px; font-weight: 900; color: #286952; text-shadow: 0 2px 0 #fff; opacity: 0; }
.tr-score-pop.is-active { animation: tr-score .62s ease-out both; }
.tr-speed-banner { position: absolute; top: 17%; left: 50%; border-radius: 25px; background: #284f50; color: #ffe1a2; font-size: 12px; font-weight: 850; letter-spacing: .08em; padding: 10px 20px; white-space: nowrap; pointer-events: none; opacity: 0; }
.tr-speed-banner.is-active { animation: tr-speed 1.6s ease-out both; }
.tr-worker.is-happy { animation: tr-worker-hop .42s ease-out; }
.tr-worker.is-oops { animation: tr-worker-no .32s ease-out; }
.tr-worker.is-arriving, .tr-request.is-arriving { animation: tr-arrive .22s ease-out; }
.tr-practice-actions { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 8px; }
.tr-practice-actions .tr-button { max-width: 235px; margin: 0; }
.tr-overlay { z-index: 2; padding: 26px; display: grid; place-items: center; background: #294b4342; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.tr-card { width: min(100%, 420px); padding: 28px 32px 21px; border: 1px solid #d3d9c6; border-radius: 22px; background: #fffcf0; box-shadow: 0 8px 0 #23444e12, 0 22px 60px #203d4630; text-align: center; position: relative; }
.tr-card .tr-eyebrow { font-size: 9px; letter-spacing: .16em; color: #59776c; }
.tr-live-dot { display: inline-block; width: 6px; height: 6px; background: #5b9276; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.tr-start-art { height: 104px; margin: 8px auto -2px; display: flex; justify-content: center; align-items: center; position: relative; }
.tr-start-art::before { content: ''; width: 138px; height: 86px; border-radius: 50%; background: #edf0d9; position: absolute; }
.tr-start-art .tr-tool-art { position: relative; width: 124px; height: 103px; transform: rotate(-12deg); }
.tr-start-art .tr-tool-art + .tr-tool-art { margin-left: -40px; transform: rotate(15deg); }
.tr-logo { font-size: 46px; line-height: 1.05; font-weight: 950; font-style: italic; letter-spacing: -.065em; margin: 8px 0 13px; white-space: nowrap; text-shadow: 0 3px 0 #d7decb; }
.tr-logo em { color: #c87937; font-style: inherit; }
.tr-card-lede { font-size: 16px; line-height: 1.5; margin: 0 0 8px; }
.tr-card-lede strong { display: block; }
.tr-card-copy { font-size: 13px; line-height: 1.6; color: #5c716a !important; margin: 8px 0 19px; }
.tr-rules { display: flex; justify-content: center; gap: 21px; border-block: 1px solid #e4e5d6; padding: 13px 0; margin: 18px 0; }
.tr-rules span { font-size: 10px; color: #63756a; }
.tr-rules b { font-size: 15px; margin-right: 3px; color: #355649; }
.tr-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 12px 14px; font-weight: 800 !important; font-size: 13px !important; border: 1px solid transparent; border-radius: 11px; transition: transform .13s, background .13s, box-shadow .13s; }
.tr-button > span { font-size: 19px; line-height: 1; }
.tr-button-primary { color: #fff9e7; background: #295d59; box-shadow: 0 4px 0 #183f3d; margin-bottom: 12px; }
.tr-button-primary:hover { background: #35736b; transform: translateY(-1px); }
.tr-button-primary:active { box-shadow: 0 1px 0 #183f3d; transform: translateY(3px); }
.tr-button-secondary { border-color: #d2d9c7; background: #f3f3e7; color: #456454; }
.tr-button-secondary:hover { background: #e6edda; }
.tr-small { color: #718074 !important; font-size: 9px; line-height: 1.5; margin: 16px 0 0; }
.tr-card h2:not(.tr-logo) { font-size: 29px; letter-spacing: -.045em; margin: 6px 0 0; line-height: 1.15; }
.tr-medal { width: 65px; height: 65px; margin: -5px auto 7px; }
.tr-medal svg { width: 100%; height: 100%; }
.tr-final-score { border-radius: 12px; background: #f0f0df; border: 1px solid #e0e3d1; padding: 14px; margin-bottom: 16px; }
.tr-final-score > span:first-child { display: block; font-size: 8px; font-weight: 800; letter-spacing: .16em; color: #6f7a66; }
.tr-final-score strong { font-size: 49px; font-weight: 900; letter-spacing: -.055em; line-height: 1.2; display: block; font-variant-numeric: tabular-nums; }
.tr-final-score > span:last-child { font-size: 11px; color: #55715a; }
.tr-results-card.is-record .tr-final-score { background: #fff0be; border-color: #e2c984; }
.tr-result-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tr-result-stats > div + div { border-left: 1px solid #dfe3d2; }
.tr-result-stats strong { display: block; font-size: 21px; font-weight: 850; }
.tr-result-stats span { display: block; font-size: 7px; font-weight: 750; letter-spacing: .08em; color: #677866; margin-top: 3px; }
.tr-result-detail { margin: 12px 0 18px; font-size: 10px; color: #617564 !important; }
.tr-save-note { font-size: 9px; line-height: 1.4; color: #6b7a68 !important; margin: 12px 0; }
.tr-next-step { border-top: 1px solid #dfe3d2; padding-top: 13px; margin-top: 13px; }
.tr-next-step > span { font-size: 8px; font-weight: 750; letter-spacing: .13em; display: block; color: #6b7a68; }
.tr-next-step a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 12px; color: #356b60; font-weight: 700; text-decoration: none; }
.tr-next-step a:hover { text-decoration: underline; }
.tr-pause-card { padding-block: 36px; }
.tr-pause-symbol { display: grid; place-items: center; margin: 0 auto 18px; width: 64px; height: 64px; border: 2px solid #d5dfc6; border-radius: 50%; font-size: 29px; color: #4f765d; background: #eef0df; }
.tr-pause-card .tr-button { margin-top: 25px; }
.tr-game-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 10px; color: #6a7b6b; }
.tr-text-button { border: 0; background: transparent; color: #4b7162; padding: 8px; min-height: 44px; font-size: 11px !important; font-weight: 700 !important; text-decoration: underline; text-underline-offset: 3px; }
.tr-sound { text-decoration: none; border-radius: 8px; padding-inline: 12px; }
.tr-sound:hover { background: #e8ecde; }
.tr-announcer { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tr-how { margin-top: 36px; padding-top: 27px; border-top: 1px solid #dae0d2; }
.tr-how > div { display: flex; align-items: center; justify-content: space-between; }
.tr-how .tr-eyebrow { font-size: 9px; color: #75826b; }
.tr-how h2 { font-size: 24px; letter-spacing: -.04em; margin: 0; }
.tr-how ol { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.tr-how li { display: flex; gap: 12px; }
.tr-how li > span { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #c6d3c2; background: #edf0e1; border-radius: 50%; font-size: 10px; font-weight: 800; }
.tr-how h3 { font-size: 13px; margin: 0 0 5px; }
.tr-how li p { font-size: 11px; color: #657764; line-height: 1.65; margin: 0; }
.tr-tool-guide { border-block: 1px solid #d7dece; }
.tr-tool-guide summary { cursor: pointer; font-size: 13px; font-weight: 750; display: flex; justify-content: space-between; gap: 10px; padding: 20px 0; list-style: none; }
.tr-tool-guide summary::-webkit-details-marker { display: none; }
.tr-tool-guide summary > span { font-size: 10px; color: #73806b; font-weight: 500; }
.tr-tool-guide summary b { font-size: 16px; padding-left: 14px; }
.tr-tool-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; padding-bottom: 22px; }
.tr-tool-gallery article { min-width: 0; background: #fffdf3; border: 1px solid #e0e4d4; padding: 10px; border-radius: 12px; }
.tr-tool-gallery svg { width: 100%; height: 95px; }
.tr-tool-gallery h3 { font-size: 11px; margin: 4px 0; }
.tr-tool-gallery p { font-size: 10px; line-height: 1.5; color: #687b6d; margin: 0; }
.tr-field-note { font-size: 10px; line-height: 1.6; color: #76806f !important; max-width: 690px; margin: 22px 0 35px; }
.tr-noscript { position: absolute; z-index: 3; bottom: 0; background: #fff2c4; padding: 15px; width: 100%; }
@keyframes tr-deliver { 40% { transform: translateY(-15px) rotate(-7deg) scale(1.08); } 100% { transform: translateY(-3px); } }
@keyframes tr-score { 0% { opacity: 0; transform: translateY(15px) scale(.7); } 25% { opacity: 1; transform: translateY(0) scale(1.1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-38px); } }
@keyframes tr-speed { 0% { opacity: 0; transform: translate(-50%, -8px); } 15%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes tr-worker-hop { 40% { transform: translateY(-6px) rotate(-2deg); } 70% { transform: rotate(1deg); } }
@keyframes tr-worker-no { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
@keyframes tr-arrive { from { opacity: .5; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .tr-page { padding-top: 16px; }
  .tr-breadcrumb { margin-bottom: 14px; }
  .tr-heading { margin-bottom: 18px; }
  .tr-heading .tr-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .tr-heading h1 { font-size: 37px; }
  .tr-heading p:last-child { font-size: 13px; }
  .tr-personal > span { font-size: 7px; letter-spacing: .06em; }
  .tr-personal strong { font-size: 25px; }
  .tr-game { border-radius: 17px; }
  .tr-hud { padding: 12px 16px; gap: 12px; grid-template-columns: 1fr 1fr 1fr 44px; }
  .tr-stat > strong { font-size: 23px; }
  .tr-combo { padding-inline: 14px; }
  .tr-combo-pips { left: 53px; top: 23px; gap: 3px; }
  .tr-combo-pips i { width: 5px; height: 5px; }
  .tr-lives strong { font-size: 20px; letter-spacing: 0; }
  .tr-scene { padding: 14px 16px 0; }
  .tr-request-row { gap: 12px; margin-top: 12px; min-height: 168px; }
  .tr-worker { width: 128px; }
  .tr-request { padding: 15px; margin-bottom: 6px; }
  .tr-request-meta { font-size: 7px; }
  .tr-request-meta span:last-child { display: none; }
  .tr-request h2 { font-size: 20px; min-height: 72px; margin: 8px 0 12px; }
  .tr-scene-bottom { height: 30px; }
  .tr-scene-bottom > span { font-size: 9px; padding: 4px 8px; }
  .tr-counter { padding-inline: 16px; }
  .tr-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tr-toolbox { padding: 13px 16px 12px; }
  .tr-tool { padding: 4px 8px 8px; }
  .tr-tool .tr-tool-art { height: 86px; }
  .tr-tool > strong { font-size: 12px; min-height: 28px; }
  .tr-tray-label { margin-bottom: 9px; }
  .tr-feedback { margin-top: 13px; min-height: 44px; }
  .tr-feedback p { font-size: 10px; }
  .tr-how ol { grid-template-columns: 1fr; gap: 18px; }
  .tr-how li p { font-size: 12px; }
  .tr-tool-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .tr-game-footer .tr-key-hint { display: none; }
}
@media (max-width: 420px) {
  .tr-page { width: calc(100% - 24px); }
  .tr-heading { gap: 8px; }
  .tr-heading .tr-eyebrow { font-size: 7px; letter-spacing: .06em; }
  .tr-personal { padding-left: 0; }
  .tr-personal small { font-size: 8px; }
  .tr-hud { padding: 10px 12px; gap: 8px; grid-template-columns: .9fr .85fr 1fr 42px; }
  .tr-stat > span { font-size: 8px; letter-spacing: .08em; }
  .tr-stat > strong { font-size: 21px; }
  .tr-score.is-long > strong { font-size: 16px; letter-spacing: -.04em; }
  .tr-combo { padding-inline: 10px; }
  .tr-combo-pips { position: static; gap: 3px; margin-top: 3px; }
  .tr-combo-pips i { width: 9px; height: 3px; border-radius: 2px; }
  .tr-lives strong { font-size: 19px; }
  .tr-icon-button { width: 42px; height: 44px; }
  .tr-scene { padding: 12px 12px 0; }
  .tr-station-sign { font-size: 8px; gap: 6px; letter-spacing: .06em; }
  .tr-station-sign b { display: none; }
  .tr-pace { font-size: 8px; padding: 5px 7px; letter-spacing: .03em; }
  .tr-request-row { gap: 6px; min-height: 164px; }
  .tr-worker { width: 84px; }
  .tr-request { padding: 12px; border-radius: 13px; }
  .tr-request h2 { font-size: 18px; min-height: 68px; margin-bottom: 12px; }
  .tr-request-meta { font-size: 6.5px; }
  .tr-time-caption { font-size: 6px; letter-spacing: .07em; }
  .tr-time-caption strong { font-size: 10px; }
  .tr-request::before { width: 12px; height: 12px; left: -7px; top: 61%; }
  .tr-scene-bottom > span { font-size: 8px; }
  .tr-queue { gap: 4px; }
  .tr-queue > span { font-size: 6px; }
  .tr-queue svg { width: 26px; height: 33px; }
  .tr-counter { padding: 7px 12px; }
  .tr-counter > span { font-size: 6px; letter-spacing: .1em; }
  .tr-counter i { width: 34px; height: 7px; }
  .tr-toolbox { padding: 11px 12px 9px; }
  .tr-tray-label { font-size: 8px; }
  .tr-tray-label .tr-key-hint { font-size: 6px; }
  .tr-tool { padding: 4px 7px 7px; border-radius: 11px; }
  .tr-tool .tr-tool-art { height: 72px; }
  .tr-tool > strong { font-size: 11px; min-height: 27px; }
  .tr-choices { gap: 10px; }
  .tr-feedback { min-height: 48px; }
  .tr-feedback strong { font-size: 11px; }
  .tr-feedback p { font-size: 9px; }
  .tr-overlay { padding: 17px 12px; }
  .tr-card { padding: 24px 19px 18px; border-radius: 17px; }
  .tr-card .tr-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .tr-start-art { height: 95px; margin-top: 5px; }
  .tr-start-art .tr-tool-art { width: 108px; height: 96px; }
  .tr-logo { font-size: 36px; margin-bottom: 14px; }
  .tr-card-lede { font-size: 14px; }
  .tr-card-copy { font-size: 12px; line-height: 1.55; margin-bottom: 15px; }
  .tr-rules { gap: 13px; margin: 16px 0; }
  .tr-rules b { font-size: 14px; }
  .tr-rules span { font-size: 9px; }
  .tr-small { font-size: 8px; }
  .tr-card h2:not(.tr-logo) { font-size: 26px; }
  .tr-medal { width: 55px; height: 55px; }
  .tr-final-score { padding: 10px; }
  .tr-final-score strong { font-size: 43px; }
  .tr-result-stats strong { font-size: 20px; }
  .tr-result-stats span { font-size: 6px; }
  .tr-how > div { display: block; }
  .tr-how h2 { margin-top: 6px; }
  .tr-tool-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-tool-guide summary { font-size: 12px; }
  .tr-tool-guide summary > span { font-size: 8px; }
  .tr-score-pop { font-size: 27px; right: 8%; }
}
/* Keep the request and all four slots together on shorter phones. */
@media (max-width: 700px) and (max-height: 740px) {
  .tr-hud { padding-block: 8px; }
  .tr-scene { padding-top: 8px; }
  .tr-request-row { min-height: 125px; margin-top: 7px; }
  .tr-request { padding: 10px 12px; margin-bottom: 10px; }
  .tr-request h2 { font-size: 16px; min-height: 40px; margin: 7px 0 9px; }
  .tr-worker { width: 78px; }
  .tr-scene-bottom { display: none; }
  .tr-counter { padding-block: 5px; border-top-width: 4px; }
  .tr-toolbox { padding-block: 9px 7px; }
  .tr-tray-label { margin-bottom: 7px; }
  .tr-tool { padding-block: 3px 5px; }
  .tr-tool .tr-tool-art { height: 51px; }
  .tr-tool > strong { min-height: 25px; }
  .tr-choices { gap: 9px; }
  .tr-feedback { margin-top: 11px; min-height: 35px; }
}
@media (max-width: 420px) and (max-height: 620px) {
  .tr-hud { padding-block: 6px; }
  .tr-scene-top { display: none; }
  .tr-scene { padding-top: 4px; }
  .tr-request-row { margin-top: 0; }
  .tr-request { padding: 8px 10px; }
  .tr-request h2 { font-size: 15px; min-height: 75px; }
  .tr-tray-label { display: none; }
  .tr-tool .tr-tool-art { height: 40px; }
  .tr-feedback p { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-page *, .tr-page *::before, .tr-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tr-tool:enabled:hover, .tr-tool:enabled:active, .tr-button-primary:hover, .tr-button-primary:active { transform: none; }
}
