

html.landscape :is(#rush-sheet, #league-sheet, #pearl-sheet).destination-screen > .sheet-panel {
  padding: 58px max(20px, var(--safe-right)) calc(var(--safe-bottom) + 4px) max(20px, var(--safe-left));
}

html.landscape :is(#rush-sheet, #league-sheet, #pearl-sheet).destination-screen .sheet-title {
  top: 10px;
  left: max(20px, var(--safe-left));
  right: calc(max(16px, var(--safe-right)) + 56px);
  font-size: 1.4rem;
  line-height: 1.3;
}

html.landscape :is(#rush-sheet, #league-sheet, #pearl-sheet).destination-screen .screen-close {
  top: 6px;
  right: max(16px, var(--safe-right));
}


html.landscape #rush-sheet.destination-screen .rush-panel {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0 16px;
  padding-top: 8px;
}

html.landscape #rush-sheet.destination-screen .rush-head {
  position: absolute;
  top: 6px;
  left: calc(max(20px, var(--safe-left)) + 196px);
  right: calc(max(16px, var(--safe-right)) + 60px);
  width: auto;
  margin: 0;
  padding: 0;
  gap: 3px;
  flex-direction: column;
  align-items: stretch;
  z-index: 2;
}

html.landscape #rush-sheet.destination-screen .rush-meter { flex: none; height: 32px; }
html.landscape #rush-sheet.destination-screen .rush-meter-mark { width: 40px; height: 40px; }
html.landscape #rush-sheet.destination-screen .rush-meter-bar { height: 24px; margin: 0 14px 0 20px; }
html.landscape #rush-sheet.destination-screen .rush-meter-text { left: 42px; right: 30px; font-size: 0.95rem; }
html.landscape #rush-sheet.destination-screen .rush-meter-tier { width: 34px; height: 34px; font-size: 0.95rem; }
html.landscape #rush-sheet.destination-screen .rush-meter-boost { left: 21px; top: -4px; height: 18px; line-height: 16px; }
html.landscape #rush-sheet.destination-screen .rush-head-line { max-width: none; align-items: center; gap: 10px; padding-left: 20px; }
html.landscape #rush-sheet.destination-screen .rush-overflow { flex: 1; }
html.landscape #rush-sheet.destination-screen .rush-timer { align-self: center; padding: 1px 8px; font-size: 0.75rem; }

html.landscape #rush-sheet.destination-screen .rush-tabs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-self: start;
  width: auto;
  margin-top: 50px;
  gap: 8px;
}

html.landscape #rush-sheet.destination-screen .rush-tab { min-height: 56px; }
html.landscape #rush-sheet.destination-screen .rush-tab-label { font-size: 0.9rem; }

html.landscape #rush-sheet.destination-screen .rush-page {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  align-self: stretch;
  margin-top: 54px;
  gap: 6px;
}

html.landscape #rush-sheet.destination-screen .rush-page-timer { margin: 0; padding: 1px 8px; font-size: 0.75rem; }

html.landscape #rush-sheet.destination-screen #rush-mission-list,
html.landscape #rush-sheet.destination-screen #rush-bolt-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  align-content: start;
}

html.landscape #rush-sheet.destination-screen .rush-mission {
  grid-template-columns: 60px minmax(0, 1fr);
  min-height: 0;
  gap: 4px 9px;
  padding: 6px 0 8px;
  align-items: start;
}

html.landscape #rush-sheet.destination-screen .rush-mission-art { grid-row: 1 / 3; width: 60px; height: 94px; }
html.landscape #rush-sheet.destination-screen .rush-mission-body { gap: 4px; }
html.landscape #rush-sheet.destination-screen .rush-mission-text { font-size: 0.9rem; line-height: 1.15; }
html.landscape #rush-sheet.destination-screen .rush-mission-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; }
html.landscape #rush-sheet.destination-screen .rush-reward { flex: none; gap: 3px; }
html.landscape #rush-sheet.destination-screen .rush-reward-mark { width: 16px; height: 16px; }
html.landscape #rush-sheet.destination-screen .rush-reward-text { font-size: 0.95rem; }
html.landscape #rush-sheet.destination-screen .rush-key { min-width: 0; flex: 1 1 56px; max-width: 84px; }

html.landscape #rush-sheet.destination-screen #rush-daily {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
  gap: 6px 22px;
  overflow: hidden;
}

html.landscape #rush-sheet.destination-screen #rush-daily[hidden] { display: none; }
html.landscape #rush-sheet.destination-screen #rush-daily-timer { grid-column: 1; grid-row: 1; justify-self: start; }
html.landscape #rush-sheet.destination-screen .rush-gift { grid-column: 1; grid-row: 2; grid-template-columns: 70px minmax(0, 1fr) 76px; min-height: 0; padding: 4px 0 10px; }
html.landscape #rush-sheet.destination-screen .rush-gift-art { width: 70px; height: 64px; }
html.landscape #rush-sheet.destination-screen .rush-gift-art .chest { width: 58px; height: 44px; }
html.landscape #rush-sheet.destination-screen .rush-gift-name { font-size: 1.3rem; }
html.landscape #rush-sheet.destination-screen .rush-gift-open { min-height: 44px; }
html.landscape #rush-sheet.destination-screen #rush-task-list { grid-column: 2; grid-row: 1 / 4; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
html.landscape #rush-sheet.destination-screen .rush-task { min-height: 0; padding: 7px 0; }
html.landscape #rush-sheet.destination-screen .rush-week { grid-column: 1; grid-row: 3; align-self: start; margin-top: 0; padding: 4px 0 0; gap: 8px; }

html.landscape #rush-sheet.destination-screen #rush-tower {
  width: auto;
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0 18px;
  overflow: hidden;
}

html.landscape #rush-sheet.destination-screen #rush-tower[hidden] { display: none; }

html.landscape #rush-sheet.destination-screen .rush-boosters {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 0;
  padding-bottom: 0;
  margin: 0;
  border-bottom: 1px solid var(--rush-rail);
}

html.landscape #rush-sheet.destination-screen .rush-booster { grid-template-columns: 30px minmax(0, 1fr) 66px; min-height: 60px; gap: 7px; }
html.landscape #rush-sheet.destination-screen .rush-booster + .rush-booster { border-top: 1px solid var(--rush-orbit); }
html.landscape #rush-sheet.destination-screen .rush-booster-mark { width: 30px; height: 30px; }
html.landscape #rush-sheet.destination-screen .rush-booster-name { font-size: 0.85rem; letter-spacing: 0.03em; }
html.landscape #rush-sheet.destination-screen .rush-booster-state { white-space: normal; line-height: 1.1; }
html.landscape #rush-sheet.destination-screen .rush-boost-buy { min-width: 66px; padding-inline: 2px; }

html.landscape #rush-sheet.destination-screen #rush-tower .rush-tower-list {
  grid-column: 2;
  min-height: 0;
  gap: 6px;
  padding: 10px 10px 14px;
}

html.landscape #rush-sheet.destination-screen .rush-tier {
  grid-template-columns: 72px minmax(92px, 1fr) max-content minmax(52px, max-content);
  grid-template-rows: auto;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 4px 8px 12px;
}

html.landscape #rush-sheet.destination-screen .rush-tier::before { height: 7px; right: -7px; }
html.landscape #rush-sheet.destination-screen .rush-tier .spire-ribbon { grid-column: 1; width: 72px; height: 26px; padding: 0 6px; }
html.landscape #rush-sheet.destination-screen .rush-tier .spire-ribbon-name { font-size: 0.85rem; letter-spacing: 0.08em; }
html.landscape #rush-sheet.destination-screen .rush-tier-need { min-height: 26px; }
html.landscape #rush-sheet.destination-screen .rush-tier-text { font-size: 0.9rem; }
html.landscape #rush-sheet.destination-screen .rush-tier .spire-prize { flex-wrap: nowrap; gap: 4px; }
html.landscape #rush-sheet.destination-screen .rush-tier .spire-prize-coins { font-size: 1.15rem; }
html.landscape #rush-sheet.destination-screen .rush-tier.vault { min-height: 58px; }
html.landscape #rush-sheet.destination-screen .rush-tier.vault .spire-ribbon { width: 72px; height: 28px; }
html.landscape #rush-sheet.destination-screen .rush-tier.vault .spire-ribbon-name { font-size: 1rem; }
html.landscape #rush-sheet.destination-screen .rush-tier.vault .spire-prize { gap: 2px; }
html.landscape #rush-sheet.destination-screen .rush-tier.vault.climbing .rush-tier-lock { display: none; }


html.landscape :is(#pearl-open, #capsule-open, #league-up, #card-show) {
  gap: 6px;
  padding: 8px max(20px, var(--safe-right)) calc(var(--safe-bottom) + 8px) max(20px, var(--safe-left));
}

html.landscape :is(#pearl-open > .pearl-skip, #capsule-open > .reveal-skip) {
  right: max(18px, var(--safe-right));
  bottom: calc(var(--safe-bottom) + 8px);
}

html.landscape #pearl-open .pearl-open-lead { font-size: 0.8rem; }
html.landscape #pearl-open .pearl-open-name { font-size: 1.55rem; line-height: 1.15; }
html.landscape #pearl-open .pearl-open-stage { width: 240px; height: 150px; }
html.landscape #pearl-open.burst .pearl-open-stage { height: 76px; }
html.landscape #pearl-open.all.burst .pearl-open-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -38px 0 0 -120px;
  visibility: hidden;
  z-index: 1;
  pointer-events: none;
}
html.landscape #pearl-open.all .pearl-reward-notes { display: none; }
html.landscape #pearl-open .pearl-prizes { max-width: 660px; }
html.landscape #pearl-open.burst .pearl-prizes { min-height: 0; }
html.landscape #pearl-open .pearl-reward-row { gap: 8px; }
html.landscape #pearl-open .pearl-prize.tile { width: 76px; min-height: 80px; padding: 5px 3px; }
html.landscape #pearl-open .pearl-prize.tile.coins { width: 100px; }
html.landscape #pearl-open .pearl-prize.tile .pearl-prize-icon { font-size: 1.6rem; }
html.landscape #pearl-open .pearl-prize.tile .pearl-prize-amount { font-size: 1rem; }
html.landscape #pearl-open .pearl-reward-notes { margin-top: 2px; font-size: 0.75rem; }
html.landscape #pearl-open .pearl-collect { width: 220px; min-height: 46px; margin-top: 6px; }

html.landscape #capsule-open .capsule-title { font-size: 1.8rem; line-height: 1.1; }
html.landscape #capsule-open .level-up-stage.capsule-stage { height: 112px; }
html.landscape #capsule-open.burst .level-up-stage.capsule-stage { height: 80px; }
html.landscape #capsule-open .chest.capsule-big { width: 104px; height: 80px; }
html.landscape #capsule-open .capsule-prize-name { font-size: 1.5rem; flex: 0 0 100%; }
html.landscape #capsule-open.top .capsule-prize-name { font-size: 1.9rem; }
html.landscape #capsule-open .pearl-prizes { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 4px 28px; max-width: 640px; min-height: 0; }
html.landscape #capsule-open .spire-up-mark.credits-coin { width: 44px; height: 44px; }
html.landscape #capsule-open .spire-up-mark.pearl { width: 44px; height: 44px; font-size: 44px; }
html.landscape #capsule-open .spire-up-prize { width: auto; min-width: 84px; gap: 3px; }
html.landscape #capsule-open .spire-up-amount { font-size: 1.15rem; }
html.landscape #capsule-open .pearl-collect { min-height: 46px; }

html.landscape #league-up .league-up-title { font-size: 2rem; }
html.landscape #league-up .league-up-title.long { font-size: 1.7rem; }
html.landscape #league-up .level-up-stage.league-up-stage { height: 100px; }
html.landscape #league-up .league-up-mark { width: 92px; height: 92px; }
html.landscape #league-up .league-up-sub { font-size: 1rem; }
html.landscape #league-up .league-up-place { font-size: 1.25rem; }
html.landscape #league-up .league-up-prize { gap: 2px; }
html.landscape #league-up .league-up-coin.credits-coin { width: 38px; height: 38px; }
html.landscape #league-up .league-up-amount { font-size: 1.6rem; }
html.landscape #league-up .league-up-note { max-width: 600px; }
html.landscape #league-up .pearl-collect { min-height: 46px; }

html.landscape #card-show .card-show-title { font-size: 1.8rem; line-height: 1.1; }
html.landscape #card-show .card-show-stage { max-width: 700px; }
html.landscape #card-show .card-flip { width: 138px; font-size: 16px; }
html.landscape #card-show.multi .card-show-stage { flex-wrap: nowrap; gap: 8px; }
html.landscape #card-show.multi .card-flip { width: 104px; margin-top: 4px; font-size: 12px; flex: none; }
html.landscape #card-show .pearl-collect { min-height: 46px; }
html.landscape #card-show .card-dust-total { top: 8px; }
html.landscape #card-show .pearl-prizes.card-show-prizes { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px 18px; max-width: 640px; min-height: 0; }
