


html.landscape #voyage-sheet.destination-screen .voyage-panel {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  column-gap: 24px;
  gap: 0 24px;
  padding: 62px max(16px, var(--safe-right)) max(8px, var(--safe-bottom)) max(16px, var(--safe-left));
}

html.landscape #voyage-sheet.destination-screen .sheet-title {
  left: max(16px, var(--safe-left));
  top: 12px;
  right: auto;
  font-size: 1.5rem;
  white-space: nowrap;
}

html.landscape #voyage-sheet.destination-screen .voyage-head { display: contents; }

html.landscape #voyage-sheet.destination-screen .voyage-meter {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: calc(max(16px, var(--safe-left)) + 214px);
  width: 210px;
  min-height: 44px;
  height: 44px;
  padding: 0 14px 0 8px;
}

html.landscape #voyage-sheet.destination-screen .voyage-meter-mark { width: 32px; height: 32px; }
html.landscape #voyage-sheet.destination-screen .voyage-starlight { font-size: 1.2rem; }
html.landscape #voyage-sheet.destination-screen .voyage-meter-label { font-size: 11px; }


html.landscape #voyage-sheet.destination-screen .voyage-rank {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 6px 10px;
  min-height: 0;
  padding: 6px 0 12px;
  border-bottom: 1px solid var(--hairline);
}

html.landscape #voyage-sheet.destination-screen .voyage-rank-badge { grid-row: 1 / 3; }
html.landscape #voyage-sheet.destination-screen .voyage-rank-body { grid-column: 2; grid-row: 1 / 3; gap: 3px; }
html.landscape #voyage-sheet.destination-screen .voyage-rank-name { font-size: 16px; }
html.landscape #voyage-sheet.destination-screen .voyage-rank-count { font-size: 12px; }
html.landscape #voyage-sheet.destination-screen .voyage-rank-prize { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; flex-wrap: wrap; gap: 4px 10px; }
html.landscape #voyage-sheet.destination-screen .voyage-rank-amount { font-size: 13px; }
html.landscape #voyage-sheet.destination-screen .voyage-rank-claim { grid-column: 1 / -1; grid-row: 4; min-height: 44px; font-size: 16px; }


html.landscape #voyage-sheet.destination-screen .voyage-galaxy {
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  align-content: stretch;
  gap: 0 18px;
  padding: 0;
  overflow-y: auto;
}

html.landscape #voyage-sheet.destination-screen .voyage-galaxy[hidden],
html.landscape #voyage-sheet.destination-screen .voyage-sector[hidden] { display: none; }

html.landscape #voyage-sheet.destination-screen .voyage-medal {
  justify-content: center;
  gap: 4px;
  min-height: 0;
}

html.landscape #voyage-sheet.destination-screen .voyage-medal:nth-child(3n + 1) { transform: translateY(-8px); }
html.landscape #voyage-sheet.destination-screen .voyage-medal:nth-child(3n + 2) { transform: translateY(10px); }
html.landscape #voyage-sheet.destination-screen .voyage-medal:nth-child(3n) { transform: translateY(-2px); }
html.landscape #voyage-sheet.destination-screen .voyage-medal:nth-child(n + 4):nth-child(3n + 1) { transform: translateY(6px); }
html.landscape #voyage-sheet.destination-screen .voyage-medal:nth-child(n + 4):nth-child(3n + 2) { transform: translateY(-10px); }
html.landscape #voyage-sheet.destination-screen .voyage-medal:nth-child(n + 4):nth-child(3n) { transform: translateY(8px); }

html.landscape #voyage-sheet.destination-screen .voyage-medal-ring { width: 88px; }
html.landscape #voyage-sheet.destination-screen .voyage-medal-name { font-size: 13px; letter-spacing: 0.05em; }
html.landscape #voyage-sheet.destination-screen .voyage-plate { font-size: 12px; }


html.landscape #voyage-sheet.destination-screen .voyage-sector {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 0.42fr) minmax(0, 1.2fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  align-content: stretch;
  gap: 4px 26px;
  overflow: hidden;
}

html.landscape #voyage-sheet.destination-screen .voyage-sector-head,
html.landscape #voyage-sheet.destination-screen .voyage-title-row { display: contents; }
html.landscape #voyage-sheet.destination-screen .voyage-back { grid-column: 1; grid-row: 1; }
html.landscape #voyage-sheet.destination-screen .voyage-sector-name { grid-column: 2; grid-row: 1; align-self: center; margin-left: -14px; font-size: 18px; }
html.landscape #voyage-sheet.destination-screen .voyage-sky { grid-column: 1 / 3; grid-row: 2 / 4; min-height: 0; }
html.landscape #voyage-sheet.destination-screen .voyage-sky-frame { width: min(100cqw, 100cqh, 270px); height: min(100cqw, 100cqh, 270px); }
html.landscape #voyage-sheet.destination-screen .voyage-name { grid-column: 1 / 3; grid-row: 4; justify-self: center; font-size: 20px; white-space: nowrap; }
html.landscape #voyage-sheet.destination-screen #voyage-sector-plate { grid-column: 1 / 3; grid-row: 5; justify-self: center; }
html.landscape #voyage-sheet.destination-screen #voyage-count { grid-column: 3; grid-row: 1; justify-self: start; align-self: center; font-size: 14px; }
html.landscape #voyage-sheet.destination-screen #voyage-return { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; }
html.landscape #voyage-sheet.destination-screen .voyage-trades { grid-column: 3; grid-row: 2; align-self: center; justify-content: space-around; gap: 6px; }
html.landscape #voyage-sheet.destination-screen .voyage-trade { flex: 0 1 120px; min-width: 0; }
html.landscape #voyage-sheet.destination-screen .voyage-trades.four .voyage-trade { flex-basis: 96px; }
html.landscape #voyage-sheet.destination-screen .voyage-ledger { grid-column: 3; grid-row: 3; }
html.landscape #voyage-sheet.destination-screen .voyage-note { grid-column: 3; grid-row: 4 / 6; align-self: center; font-size: 13px; }
html.landscape #voyage-sheet.destination-screen .voyage-trade-label { font-size: 12px; }
html.landscape #voyage-sheet.destination-screen .voyage-line-label { font-size: 13px; }


html.landscape #card-show.level-up {
  gap: 6px;
  padding: 4px var(--safe-right) calc(var(--safe-bottom) + 4px) var(--safe-left);
}

html.landscape #card-show .level-up-title.card-show-title { font-size: 1.9rem; line-height: 1.1; }

html.landscape #card-show .card-show-stage { max-width: 740px; gap: 8px 10px; }
html.landscape #card-show .card-flip { width: 112px; font-size: 14px; }
html.landscape #card-show.multi .card-flip { width: calc((100% - 50px) / 6); margin-top: 0; font-size: 13px; }

html.landscape #card-show .pearl-prizes.card-show-prizes {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 22px;
  min-height: 0;
  max-width: 740px;
}

html.landscape #card-show .pearl-prize.card-dust { font-size: 1rem; }
html.landscape #card-show #card-collect { width: 240px; min-height: 48px; }

html.landscape #voyage-up.level-up.show {
  display: grid;
  grid-template-columns: 240px minmax(0, 420px);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  align-content: center;
  justify-content: center;
  column-gap: 40px;
  row-gap: 8px;
  padding: 0 var(--safe-right) calc(var(--safe-bottom) + 4px) var(--safe-left);
}

html.landscape #voyage-up .pearl-open-rays { position: absolute; grid-column: 1 / 2; grid-row: 2 / 6; top: 50%; margin-top: -80vmax; }
html.landscape #voyage-up .voyage-up-title { grid-column: 2; grid-row: 2; font-size: 2rem; justify-self: center; }
html.landscape #voyage-up .voyage-up-stage { grid-column: 1; grid-row: 2 / 6; align-self: center; justify-self: center; }
html.landscape #voyage-up .voyage-up-name { grid-column: 2; grid-row: 3; justify-self: center; font-size: 1.15rem; }
html.landscape #voyage-up .spire-up-prizes { grid-column: 2; grid-row: 4; min-height: 0; justify-self: center; }
html.landscape #voyage-up .voyage-up-actions { grid-column: 2; grid-row: 5; justify-self: center; }
html.landscape #voyage-up .voyage-up-actions > button { min-height: 48px; }
