/* Phone play: the scene fills the available viewport, controls stay in thumb reach. */
.touch-pause {
  display: none;
}
@media (pointer: coarse), (max-width: 900px) {
  button,
  [role="button"],
  .icon-button,
  .text-button,
  .keyboard-note {
    min-height: 44px;
    touch-action: manipulation;
  }
  .icon-button {
    min-width: 44px;
  }
  body.in-dive {
    height: var(--app-height, 100vh);
    overflow: hidden;
    overscroll-behavior: none;
  }
  .in-dive #app {
    height: 100%;
    padding: max(8px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }
  .in-dive #topbar {
    display: none;
  }
  .in-dive #view {
    height: 100%;
    min-height: 0;
    padding: 0 !important;
  }
  .in-dive .dive-layout {
    display: flex;
    height: 100%;
    min-height: 0;
    padding: 0;
  }
  .in-dive .dive-aside {
    display: none;
  }
  .in-dive .game-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    height: 100%;
    min-height: 0;
    margin: auto;
    padding: 8px 12px 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  .in-dive .game-top,
  .in-dive .dive-hud,
  .in-dive .progress-track,
  .in-dive .game-status,
  .in-dive .game-controls,
  .in-dive .game-bottom {
    flex-shrink: 0;
  }
  .in-dive .game-top {
    min-height: 44px;
  }
  .in-dive .game-top .button {
    min-height: 44px;
    font-size: 12px;
  }
  .in-dive .game-top [data-action="pause"],
  .in-dive .keyboard-note {
    display: none;
  }
  .in-dive .sea-frame {
    position: relative;
    flex: 1;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0 -12px;
  }
  .in-dive .sea-frame canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .in-dive .game-controls {
    grid-template-columns: minmax(76px, 1fr) minmax(112px, 1.65fr) minmax(
        62px,
        0.8fr
      );
    gap: 8px;
    padding: 4px 0;
  }
  .in-dive .game-controls .button {
    min-height: 52px;
    padding: 10px 6px;
    font-size: 13px;
  }
  .in-dive .touch-pause {
    display: inline-flex;
  }
  .in-dive .game-status {
    min-height: 27px;
    font-size: 11px;
  }
  .in-dive .game-bottom {
    min-height: 24px;
    font-size: 10px;
    justify-content: center;
  }
  dialog {
    max-height: calc(var(--app-height, 100vh) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .in-dive .game-shell {
    max-width: 960px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 208px;
    grid-template-rows: 48px 68px 4px 1fr;
    column-gap: 16px;
    padding: 8px 12px;
  }
  .in-dive .sea-frame {
    grid-column: 1;
    grid-row: 1 / 5;
    height: 100%;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .in-dive .game-top {
    grid-column: 2;
    grid-row: 1;
    gap: 4px;
  }
  .in-dive .game-top .eyebrow {
    font-size: 9px;
  }
  .in-dive .dive-hud {
    grid-column: 2;
    grid-row: 2;
    padding: 6px 0;
  }
  .in-dive .dive-hud strong {
    font-size: 30px;
  }
  .in-dive .progress-track {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
  }
  .in-dive .game-controls {
    grid-column: 2;
    grid-row: 4;
    align-content: end;
    grid-template-columns: 1fr 1fr;
  }
  .in-dive #fire-button {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .in-dive .game-status,
  .in-dive .game-bottom {
    display: none;
  }
}

/* Every phone screen is a page, not a long desktop document. */
@media (pointer: coarse), (max-width: 900px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }
  #app {
    height: var(--app-height, 100vh);
    max-width: 900px;
    display: flex;
    flex-direction: column;
    padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right))
      env(safe-area-inset-bottom) max(12px, env(safe-area-inset-left));
  }
  #topbar {
    flex: 0 0 54px;
    height: 54px;
    gap: 4px;
  }
  .top-actions {
    gap: 0;
  }
  .top-actions .icon-button {
    min-width: 44px;
    min-height: 44px;
  }
  .brand {
    gap: 5px;
  }
  .brand small,
  .brand .tag {
    display: none;
  }
  .brand > .icon {
    width: 22px;
  }
  .brand strong {
    font-size: 12px;
    letter-spacing: 0;
  }
  #view {
    flex: 1;
    min-height: 0 !important;
    padding: 8px 0 !important;
    overflow: hidden;
  }
  #nav {
    position: static;
    flex: 0 0 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100%;
    justify-content: space-around;
  }
  #nav[hidden] {
    display: none;
  }
  .nav-item {
    flex: 1;
    min-height: 48px;
    padding: 5px 2px;
    gap: 3px;
    font-size: 10px;
    flex-direction: column;
  }
  .in-dive #app {
    display: block;
  }
  .phone-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    width: 100%;
    max-width: 560px;
    margin: auto;
    padding: 0;
    gap: 8px;
  }
  .phone-page-head,
  .phone-page-actions {
    flex: none;
  }
  .phone-page-head:empty,
  .phone-page-actions:empty {
    display: none;
  }
  .phone-page-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    touch-action: pan-y;
  }
  .phone-page-body > * {
    flex-shrink: 0;
    width: 100%;
    margin: 0 !important;
  }
  .phone-page [hidden] {
    display: none !important;
  }
  .phone-page .section-head,
  .phone-page .brief-title {
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .phone-page h1 {
    font-size: 23px;
    line-height: 1.25;
    margin: 2px 0 6px;
  }
  .phone-page .section-head .eyebrow,
  .phone-page .brief-title .eyebrow {
    display: none;
  }
  .phone-page .section-head .muted,
  .phone-page .brief-title p {
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
  }
  .phone-page .tab-bar {
    margin: 6px 0 0;
  }
  .phone-page .tab {
    min-height: 44px;
    padding: 6px;
    flex: 1;
  }
  .phone-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .phone-page-actions > button {
    margin: 0;
    min-height: 46px;
    padding: 10px;
    flex: 1 1 45%;
    font-size: 13px;
  }
  .phone-pager {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }
  .phone-pager button {
    min-width: 52px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    color: var(--ink);
    font-size: 20px;
  }
  .phone-pager button:disabled {
    opacity: 0.3;
  }
  .phone-pager span {
    min-width: 48px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
  }
  .phone-pager.single-page {
    visibility: hidden;
  }
  .phone-page .crew-card,
  .phone-page .supply-card,
  .phone-page .skin-card {
    padding: 12px 14px;
    text-align: left;
  }
  .phone-page .crew-portrait {
    height: 66px;
    margin: 0;
  }
  .phone-page .crew-portrait .portrait {
    width: 66px;
    height: 66px;
  }
  .phone-page .crew-number {
    display: none;
  }
  .phone-page .crew-card h2 {
    margin: 6px 0;
    font-size: 21px;
  }
  .phone-page .crew-card p {
    min-height: 0;
    margin: 8px 0;
    font-size: 12px;
  }
  .phone-page .crew-card button,
  .phone-page .supply-card button {
    margin-top: 6px;
    min-height: 44px;
    padding: 8px;
  }
  .phone-page .skin-preview {
    height: 58px;
    margin: 0;
  }
  .phone-page .supply-card > .card-icon {
    width: 32px;
    height: 32px;
  }
  .phone-page .supply-card h3,
  .phone-page .skin-card h3 {
    margin: 6px 0;
  }
  .phone-page .supply-card p {
    min-height: 0;
    margin: 4px 0;
    font-size: 11px;
  }
  .phone-page .archive-card,
  .phone-page .catalog-item,
  .phone-page .achievement {
    padding: 12px;
    min-height: 0;
  }
  .phone-page .archive-card p {
    min-height: 0;
  }
  .phone-page .perk-choice {
    padding: 12px;
    min-height: 94px;
  }
  .phone-page .perk-choice h3 {
    font-size: 16px;
  }
  .phone-page .perk-choice p {
    font-size: 11px;
    line-height: 1.5;
  }
  .phone-page .reward-ledger,
  .phone-page .return-ledger,
  .phone-page .result-receipt {
    padding: 12px;
  }
  .phone-page .return-ledger strong,
  .phone-page .result-receipt > strong {
    font-size: 32px;
  }
  .phone-page .metrics {
    padding: 12px 4px;
  }
  .phone-page .info-panel {
    padding: 12px;
  }
  .phone-page .tokens {
    gap: 4px;
  }
  .phone-page .module-token {
    padding: 4px 6px;
    font-size: 10px;
  }
  .phone-page .chart-node {
    min-height: 48px;
    padding: 8px 10px;
  }
  .phone-page .chart-node .node-dot {
    font-size: 16px;
  }
  .phone-page .event-art {
    height: 70px;
    margin: 0;
  }
  .phone-page .event-story {
    font-size: 13px;
    line-height: 1.6;
  }
  .phone-page .shop-item {
    padding: 10px;
    min-height: 76px;
  }
  .phone-page .shop-item .button {
    min-height: 44px;
    padding: 6px 10px;
  }
  .phone-page .section-label {
    margin: 0;
    min-height: 24px;
  }
  .phone-page .section-label h2 {
    font-size: 14px;
  }
  .phone-page .empty-state {
    padding: 12px;
  }
  /* Home: one illustration, one main action, two secondary modes. */
  .dock-page {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .dock-page .station-line,
  .dock-page .field-note,
  .dock-page > .section-label,
  .dock-page .hero-description,
  .dock-page .pilot-note,
  .dock-page .hero-copy > .eyebrow,
  .dock-page .hero-coordinate,
  .dock-page .art-caption {
    display: none;
  }
  .dock-page .hero-panel {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column-reverse;
    padding: 0;
    gap: 8px;
    margin: 0;
  }
  .dock-page .hero-art {
    flex: 1;
    min-height: 0;
    height: auto;
    width: 100%;
    margin: 0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }
  .dock-page .hero-art canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .dock-page .hero-copy {
    flex: none;
    padding: 0;
  }
  .dock-page .hero-copy h1 {
    font-size: 26px;
    line-height: 1.15;
    margin: 0 0 8px;
  }
  .dock-page .hero-copy h1 br {
    display: none;
  }
  .dock-page .hero-cta {
    margin: 0;
  }
  .dock-page .hero-cta .button {
    min-height: 56px;
    width: 100%;
    padding: 10px 14px;
  }
  .dock-page .station-stats {
    flex: none;
    margin: 0;
    padding: 8px 4px;
  }
  .dock-page .station-stats strong {
    font-size: 23px;
  }
  .dock-page .station-stats .eyebrow {
    font-size: 9px;
  }
  .dock-page .mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
  }
  .dock-page .mode-card {
    min-height: 66px;
    padding: 10px;
    gap: 6px;
  }
  .dock-page .mode-card h3 {
    font-size: 14px;
  }
  .dock-page .mode-card p,
  .dock-page .mode-card .eyebrow,
  .dock-page .mode-card > .icon:last-child {
    display: none;
  }
  .dock-page .mode-card > .icon {
    width: 20px;
  }
}
@media (pointer: coarse) and (max-height: 650px), (max-width: 900px) and (max-height: 650px) {
  .phone-page h1 {
    font-size: 20px;
  }
  .phone-page .section-head .muted {
    font-size: 10px;
  }
  .phone-page .crew-portrait {
    height: 48px;
  }
  .phone-page .crew-portrait .portrait {
    height: 48px;
    width: 48px;
  }
  .dock-page .hero-copy h1 {
    font-size: 23px;
  }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  body:not(.in-dive) #topbar {
    flex-basis: 44px;
    height: 44px;
  }
  body:not(.in-dive) #nav {
    flex-basis: 44px;
    height: 44px;
  }
  body:not(.in-dive) .nav-item {
    min-height: 44px;
    flex-direction: row;
  }
  .dock-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dock-page .hero-panel {
    grid-column: 1 / 3;
    flex-direction: row-reverse;
  }
  .dock-page .hero-copy {
    width: 50%;
    align-self: center;
  }
  .dock-page .station-stats {
    padding: 2px;
  }
  .dock-page .mode-card {
    min-height: 52px;
  }
  .phone-page {
    max-width: none;
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: minmax(0, 1fr) 44px;
  }
  .phone-page-head {
    grid-column: 1;
    grid-row: 1;
  }
  .phone-page-body {
    grid-column: 2;
    grid-row: 1;
  }
  .phone-page-actions {
    grid-column: 1;
    grid-row: 2;
    flex-wrap: nowrap;
  }
  .phone-page-actions > button {
    font-size: 10px;
    padding: 4px;
    min-height: 44px;
  }
  .phone-pager {
    grid-column: 2;
    grid-row: 2;
  }
  .phone-page .crew-portrait,
  .phone-page .skin-preview,
  .phone-page .supply-card > .card-icon {
    display: none;
  }
  .phone-page .crew-card {
    padding: 6px 10px;
  }
  .phone-page .crew-card h2 {
    font-size: 16px;
    margin: 0;
  }
  .phone-page .crew-card p {
    margin: 4px 0;
    font-size: 10px;
  }
  .phone-page .supply-card {
    padding: 6px 10px;
  }
  .phone-page .supply-card button {
    display: inline-flex;
    width: 48%;
    margin-top: 2px;
    font-size: 10px;
  }
  .phone-page .result-receipt {
    padding: 6px;
  }
  .phone-page .result-receipt .metrics {
    padding: 4px;
  }
  .phone-page .result-receipt > strong {
    font-size: 24px;
  }
  .phone-page .result-receipt > p {
    margin: 3px 0;
    font-size: 10px;
  }
}

@media (pointer: coarse), (max-width: 900px) {
  #topbar {
    padding: 0;
  }
  .phone-page .skin-card .button {
    min-height: 44px;
  }
  .phone-page .crew-portrait > svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .phone-page .crew-portrait {
    width: 66px;
  }
  .in-dive .game-controls .pulse span,
  .in-dive .touch-pause span {
    white-space: nowrap;
  }
  .in-dive .game-controls .button {
    gap: 5px;
  }
}
@media (pointer: coarse) and (max-height: 650px), (max-width: 900px) and (max-height: 650px) {
  .phone-page .crew-portrait {
    width: 48px;
  }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  body:not(.in-dive) #topbar {
    flex-basis: 48px;
    height: 48px;
  }
  .phone-page-actions > button {
    height: 44px;
    min-width: 0;
    line-height: 1.25;
  }
  .phone-page .empty-state {
    padding: 6px;
  }
  .phone-page .empty-state > .icon {
    width: 24px;
    height: 24px;
    margin: 0;
  }
  .phone-page .empty-state h3 {
    font-size: 14px;
    margin: 4px 0;
  }
  .phone-page .empty-state p {
    font-size: 10px;
    margin: 4px 0;
  }
  .phone-page .empty-state .button {
    min-height: 44px;
    padding: 6px;
    margin: 0;
  }
}

@media (pointer: coarse), (max-width: 900px) {
  .phone-page .phone-page-actions > .button {
    padding: 10px;
  }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .phone-page .phone-page-actions > .button {
    padding: 4px;
    white-space: nowrap;
  }
}

@media (pointer: coarse), (max-width: 900px) {
  dialog {
    height: min(560px, calc(var(--app-height, 100vh) - 24px));
    max-height: calc(var(--app-height, 100vh) - 24px);
    overflow: hidden;
  }
  dialog .phone-page {
    padding: 14px;
  }
  dialog .phone-page-head > h2 {
    font-size: 22px;
    margin: 0;
  }
  dialog .dialog-heading {
    margin: 0;
    align-items: center;
  }
  dialog .dialog-heading h2 {
    font-size: 20px;
    margin: 0;
  }
  dialog .dialog-heading .eyebrow {
    display: none;
  }
  dialog .dialog-heading > .icon-button {
    margin: 0;
  }
  dialog .phone-page-body > li {
    display: block;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.65;
  }
  dialog .phone-page-body > li b {
    display: block;
  }
  dialog .phone-page-body > .button-row .button {
    min-height: 44px;
    padding: 8px;
  }
  dialog .phone-page-body .volume-label {
    margin-top: 0;
  }
  dialog .phone-page-body input[type="range"] {
    min-height: 44px;
    width: 100%;
  }
  dialog .phone-page-body > .choice-card {
    min-height: 70px;
    padding: 10px;
  }
  dialog .phone-page-body .choice-card p {
    font-size: 11px;
  }
  dialog .phone-page-body > p {
    font-size: 12px;
    line-height: 1.65;
  }
  dialog .phone-page-body canvas,
  dialog .phone-page-body img {
    max-height: 240px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    align-self: center;
  }
  dialog .phone-page-actions > .text-button {
    font-size: 11px;
  }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  dialog .phone-page {
    grid-template-columns: 170px 1fr;
  }
  dialog .phone-page-head > h2 {
    font-size: 19px;
  }
  dialog .phone-page-actions {
    grid-column: 1 / 3;
    justify-content: flex-start;
    padding-right: 150px;
  }
  dialog .phone-page-actions > button {
    flex: 1;
    font-size: 10px;
    white-space: normal;
  }
  dialog .phone-pager {
    grid-column: 2;
    justify-content: flex-end;
    gap: 6px;
    pointer-events: none;
  }
  dialog .phone-pager button {
    min-width: 44px;
    pointer-events: auto;
  }
  dialog .phone-pager span {
    min-width: 35px;
  }
  dialog .phone-page-body canvas,
  dialog .phone-page-body img {
    max-height: 170px;
  }
}

@media (pointer: coarse), (max-width: 900px) {
  .phone-page .phone-page-actions > .button {
    min-height: 46px;
  }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .phone-page .phone-page-actions > .button {
    min-height: 44px;
    height: 44px;
  }
}

@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  dialog .phone-page-actions {
    pointer-events: none;
  }
  dialog .phone-page-actions > button {
    pointer-events: auto;
  }
}

/* Utility-only header; upgrades always visible together. */
#topbar .brand {
  width: 44px;
  min-width: 44px;
  padding: 0;
  justify-content: center;
}
#topbar .brand > .icon {
  width: 21px;
  height: 21px;
}
@media (pointer: coarse), (max-width: 900px) {
  body:not(.in-dive) #topbar {
    flex: 0 0 46px;
    height: 46px;
    border-bottom: 0;
  }
  .reward-single-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: auto;
    padding: 0;
    max-width: 560px;
  }
  .reward-single-screen .section-head {
    margin: 0;
  }
  .reward-single-screen .section-head h1 {
    font-size: 21px;
    line-height: 1.2;
    margin: 0;
  }
  .reward-single-screen .section-head .eyebrow,
  .reward-single-screen .section-head .muted,
  .reward-single-screen > .caption {
    display: none;
  }
  .reward-single-screen .reward-ledger {
    flex: none;
    margin: 0;
    padding: 8px 12px;
  }
  .reward-single-screen .reward-ledger strong {
    font-size: 22px;
  }
  .reward-single-screen .section-label {
    margin: 0;
    min-height: 20px;
  }
  .reward-single-screen .section-label h2 {
    font-size: 13px;
  }
  .reward-single-screen .perk-choices {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
  }
  .reward-single-screen .perk-choice {
    flex: 1;
    min-height: 64px;
    padding: 9px 10px;
    gap: 9px;
    margin: 0;
  }
  .reward-single-screen .perk-choice .perk-number {
    font-size: 18px;
  }
  .reward-single-screen .perk-choice h3 {
    font-size: 15px;
    margin: 2px 0 3px;
  }
  .reward-single-screen .perk-choice p {
    font-size: 11px;
    line-height: 1.45;
  }
  .reward-single-screen .perk-choice .eyebrow {
    font-size: 8px;
  }
  .reward-single-screen > .button {
    min-height: 44px;
    margin: 0;
    padding: 8px;
    flex: none;
    font-size: 12px;
  }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .reward-single-screen {
    max-width: none;
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: 28px 1fr 44px;
    gap: 5px 10px;
  }
  .reward-single-screen .section-head {
    grid-column: 1;
    grid-row: 1;
  }
  .reward-single-screen .section-head h1 {
    font-size: 18px;
  }
  .reward-single-screen .reward-ledger {
    grid-column: 1;
    grid-row: 2;
    flex-wrap: wrap;
    align-self: start;
  }
  .reward-single-screen .section-label {
    display: none;
  }
  .reward-single-screen .perk-choices {
    grid-column: 2;
    grid-row: 1 / 4;
    gap: 5px;
  }
  .reward-single-screen .perk-choice {
    padding: 5px 8px;
    min-height: 50px;
  }
  .reward-single-screen .perk-choice .eyebrow {
    display: none;
  }
  .reward-single-screen .perk-choice h3 {
    font-size: 13px;
    margin: 0 0 2px;
  }
  .reward-single-screen .perk-choice p {
    font-size: 10px;
    line-height: 1.3;
  }
  .reward-single-screen > .button {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (pointer: coarse) and (max-height: 650px) and (orientation: portrait), (max-width: 900px) and (max-height: 650px) and (orientation: portrait) {
  .reward-single-screen { gap: 5px; }
  .reward-single-screen .reward-ledger { padding: 5px 10px; }
  .reward-single-screen .reward-ledger strong { font-size: 18px; }
  .reward-single-screen .perk-choice { padding: 7px 9px; }
  .reward-single-screen .perk-choice .eyebrow { display: none; }
  .reward-single-screen .perk-choice h3 { margin: 0 0 3px; }
}
