#screen:has(.landing) {
  display: block;
  padding: 0;
  background: #302d22;
  backdrop-filter: none;
}
#screen.hidden:has(.landing) {display: none}
.landing {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: end;
  overflow: auto;
  isolation: isolate;
}
.landing .menuArt {border-radius: 0; z-index: -1}
.landing .menuArt img {width: 100%; height: 100%; object-fit: cover; object-position: 45% 45%; opacity: 1}
.landing .menuArt::after {
  background: linear-gradient(90deg, transparent 37%, #211e1848 56%, #211c16bd 83%, #211c169c),
              linear-gradient(0deg, #211d174a, transparent 40%);
}
.landing-copy {
  width: clamp(210px, 23vw, 344px);
  margin: max(24px, env(safe-area-inset-top)) max(8%, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 0;
  color: #fff1d2;
  text-align: center;
}
.landing-copy h1 {
  margin: 0 0 clamp(25px, 7vh, 64px);
  font: 600 clamp(62px, 7vw, 112px)/1.1 'STKaiti', 'KaiTi', 'SimSun', serif;
  letter-spacing: .14em;
  text-indent: .14em;
  text-shadow: 0 2px 24px #291b14ac;
}
.landing-copy h1 span {
  display: block;
  margin-top: .65em;
  font: 500 clamp(15px, 1.5vw, 24px)/1.3 'SimSun', 'Songti SC', serif;
  letter-spacing: .5em;
  text-indent: .5em;
}
.landing nav {display: grid; gap: 10px}
#screen .landing .btn {min-height: 46px; border-radius: 999px}
#screen .landing [data-action="hubMore"] {
  justify-self: center;
  min-width: 90px;
  min-height: 42px;
  padding: 5px 16px;
  color: #f6e5c4;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 1px 5px #282018;
}
.camp-sheet {width: min(91%, 470px)}
.camp-sheet .sectionTitle {margin: 0 0 18px}
.camp-sheet nav {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px}
.camp-sheet nav .btn {min-width: 0}
.camp-sheet .menu-back {display: block; min-width: 120px; margin: 16px auto 0}
.camp-sheet .primary:only-child, .camp-sheet [data-action="close"] {grid-column: 1/-1}
.pause-topic {margin: 0 0 4px; color: #dcc69e; font-size: 13px}
.pause-line {display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 0 0 18px; color: #d3ccbc; font-size: 13px}
.pause-line strong {color: #f2dfb6}
.camp-sheet .replace-note {color: #e3d4b8; font-size: 14px; line-height: 1.6}

#screen:has(.route-fork) {
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
#screen .route-fork {
  width: min(100%, 984px);
  max-height: 100%;
  padding: clamp(18px, 3.2vw, 36px);
  border-radius: 17px;
  background: linear-gradient(135deg, #34352eee, #212722f7 70%);
  box-shadow: 0 16px 54px #10151080;
}
.route-fork .sectionTitle {
  margin: 0 0 clamp(16px, 2.4vw, 26px);
  font: 650 clamp(25px, 3vw, 38px)/1.2 "Noto Serif SC", "Songti SC", "SimSun", serif;
  letter-spacing: .035em;
  color: #fff1d2;
}
.route-options {display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(10px, 1.5vw, 18px)}
.route-choice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #a48e67a6;
  border-radius: 12px;
  background: #232822;
  text-align: left;
}
.route-choice:hover, .route-choice:focus-visible {border-color: #eacb89; background: #313329; transform: none}
.route-choice:focus-visible {outline: 3px solid #f9d695; outline-offset: 3px}
.route-paint {position: relative; display: block; width: 100%; aspect-ratio: 2.05; overflow: hidden; background: #403c30}
.route-paint img {display: block; width: 100%; height: 100%; object-fit: cover}
.route-caption {display: block; padding: 14px clamp(13px, 1.7vw, 21px) 17px}
.route-caption strong {display: block; color: #ffebc4; font: 650 clamp(19px, 2.1vw, 26px)/1.25 "Noto Serif SC", "Songti SC", "SimSun", serif}
.route-caption > span {display: block; margin-top: 6px; color: #dfd6c6; font-size: 14px; line-height: 1.55}
.luoxia-large-type .route-caption > span {font-size: max(16px, 1.3vw)}
@media (max-width: 620px) and (orientation: portrait) {
  #screen .route-fork {padding: 16px}
  .route-options {grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 10px}
  .route-paint {height: clamp(80px, 15dvh, 136px); aspect-ratio: auto}
  .route-caption {padding: 9px 13px 10px}
  .route-caption > span {margin-top: 3px}
}
@media (max-width: 620px) and (max-height: 650px) and (orientation: portrait) {
  .route-choice {display: grid; grid-template-columns: 39% minmax(0, 1fr); align-items: stretch}
  .route-paint {height: 100%; min-height: 99px}
  .route-caption {align-self: center}
}
@media (max-height: 500px) and (orientation: landscape) {
  #screen .route-fork {padding: 14px 18px 16px}
  .route-fork .sectionTitle {margin-bottom: 12px; font-size: 25px}
  .route-paint {height: clamp(50px, 29dvh, 140px); aspect-ratio: auto}
  .route-caption {padding: 9px 11px 11px}
  .route-caption strong {font-size: 19px}
  .route-caption > span {margin-top: 3px; font-size: 13px}
}
@media (orientation:portrait) {
  .landing {align-items: end; justify-items: center}
  .landing .menuArt img {object-position: 40% 42%}
  .landing .menuArt::after {background: linear-gradient(0deg, #231c16f0, #241f19ab 28%, transparent 64%)}
  .landing-copy {width: min(66%, 320px); margin: 20px 0 max(6vh, calc(env(safe-area-inset-bottom) + 10px))}
  .landing-copy h1 {margin-bottom: clamp(22px, 4vh, 45px); font-size: clamp(62px, 16vw, 100px)}
}
@media (max-height:490px) and (orientation:landscape) {
  .landing-copy {width: clamp(165px, 26vw, 228px); margin-block: 10px}
  .landing-copy h1 {font-size: clamp(35px, 14vh, 58px); margin-bottom: 15px}
  .landing-copy h1 span {margin-top: .35em; font-size: 14px}
  .landing nav, .camp-sheet nav {gap: 5px}
  #screen .landing .btn, #screen .landing [data-action="hubMore"] {min-height: 36px; padding-block: 4px}
  .camp-sheet .sectionTitle {margin-bottom: 8px}
  .camp-sheet .menu-back {margin-top: 8px}
}
