#game-stage #app .journey-view-bar {
  top:552px;
  left:22px;
  right:22px;
  height:auto;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:8px;
}
#game-stage #app .journey-view-bar [data-local-distance] {
  padding-inline:3px;
  color:#405939;
  font:600 12px/1.35 var(--kv-label,'PingFang SC',sans-serif);
}
#game-stage #app .journey-view-bar button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  padding:6px 11px;
  border:1px solid #83996b;
  border-radius:12px 14px 13px 10px;
  color:#344e2a;
  background:#faf4df;
  box-shadow:0 2px 0 #7e8e5d50;
  font:600 13px/1.2 var(--kv-label,'PingFang SC',sans-serif);
  touch-action:manipulation;
}
#game-stage #app .journey-view-bar .journey-roadside {
  border-color:#3b5f39;
  border-radius:11px 14px 12px 13px;
  padding-inline:13px;
  color:#fff8e6;
  background:#43663d;
  box-shadow:0 2px 0 #29472b;
}
.journey-roadside > svg { display:block; flex:0 0 19px; width:19px; height:19px; }

#game-stage #app .roadside-layer { background:var(--rds-surface,#c7e5db); }
#game-stage #app .roadside-card .roadside-header {
  inset:17px auto auto 16px;
  width:max-content;
  max-width:calc(100% - 32px);
  min-height:52px;
  align-items:center;
  gap:9px;
}
#game-stage #app .roadside-header > div {
  min-width:0;
  padding:7px 12px 7px 11px;
  border:1px solid #fcf6dbb0;
  border-radius:8px 15px 13px 9px;
  background:#fff8e9ed;
  box-shadow:0 2px 0 #34583436;
}
#game-stage #app .roadside-header h2 {
  color:#284827;
  font:400 25px/1.1 var(--kv-writing,'Kaiti SC',serif);
}
#game-stage #app .roadside-mode {
  margin:3px 0 0;
  color:#51684a;
  font:600 12px/1.22 var(--kv-label,'PingFang SC',sans-serif);
}
#game-stage #app .roadside-close {
  flex:0 0 47px;
  width:47px;
  height:47px;
  min-height:47px;
  color:#314d30;
  border:1px solid #83976d;
  box-shadow:0 2px 0 #536c4b46;
  background:#fff8e9ed;
}
#game-stage #app .roadside-footer {
  inset:auto 14px 14px;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  min-height:53px;
  gap:8px;
  padding:4px 0 3px;
  border:0;
  color:#334c2d;
  background:transparent;
  box-shadow:none;
  pointer-events:none;
}
#game-stage #app .roadside-status {
  align-self:center;
  justify-self:start;
  min-width:min(138px,100%);
  max-width:100%;
  margin:0;
  padding:6px 9px;
  color:#334c2d;
  background:#fbf6e2ed;
  border-radius:7px 12px 9px 10px;
  box-shadow:0 1px 0 #2d4b3330;
  font:500 13px/1.36 var(--kv-label,'PingFang SC',sans-serif);
  overflow-wrap:anywhere;
}
#game-stage #app .roadside-status:empty { display:none; }
.roadside-status .roadside-progress {
  display:block;
  width:max-content;
  max-width:100%;
  font-size:12px;
  font-weight:700;
}
#game-stage #app .roadside-serve {
  grid-column:2;
  align-self:center;
  min-height:45px;
  padding:7px 11px;
  border:1px solid #8e9f78;
  border-radius:10px 12px 11px 9px;
  color:#3d5839;
  background:#f6efd6;
  box-shadow:0 2px 0 #3e594533;
  font:600 13px/1.2 var(--kv-label,'PingFang SC',sans-serif);
  touch-action:manipulation;
  pointer-events:auto;
}
#game-stage #app .roadside-serve:disabled {
  opacity:1;
  color:#5b6b53;
  background:#e4e6d8;
  border-color:#a9b39c;
  box-shadow:none;
}
#game-stage #app :is(.roadside-close,.roadside-serve,.journey-view-bar button):focus-visible {
  outline:2px solid #3a6134;
  outline-offset:2px;
}

#game-stage #app .receive-center .receive-tabs {
  grid-template-columns:1fr 1fr .76fr 1.12fr;
  gap:5px;
  margin-block-start:12px;
}
#game-stage #app .receive-center .receive-tabs button {
  min-height:46px;
  padding-inline:3px;
  border-color:#c3c7a5;
  border-radius:8px 9px 0 0;
  color:#526048;
  background:#f4efdb;
  font:600 13px/1.25 var(--kv-label,'PingFang SC',sans-serif);
}
#game-stage #app .receive-center .receive-tabs button.active {
  border-color:#9aa87c;
  border-bottom-color:#e8edcb;
  color:#294826;
  background:linear-gradient(#758954 0 3px,#e8edcb 3px);
  font-weight:700;
}

#game-stage #app .gm-compose .gm-letter-actions {
  display:grid;
  grid-template-columns:.80fr 1fr 1.62fr;
  gap:7px;
}
#game-stage #app .gm-compose .gm-letter-actions > button {
  min-width:0;
  min-height:46px;
  padding:6px 4px;
  border-radius:8px 10px 8px 8px;
  white-space:nowrap;
  font:600 13px/1.2 var(--kv-label,'PingFang SC',sans-serif);
  touch-action:manipulation;
}
#game-stage #app .gm-compose .gm-letter-actions .gm-secondary {
  border-color:#b9bb95;
  color:#4a6041;
  background:#f7f2df;
}
#game-stage #app .gm-compose .gm-letter-actions .gm-letter-shop {
  border-color:#9ca77c;
  color:#3c5734;
  background:#edf0d4;
}
#game-stage #app .gm-compose .gm-letter-actions .gm-primary {
  gap:5px;
  font-size:14px;
}
#game-stage #app .gm-compose .gm-letter-actions .gm-primary span { font-size:16px; }

/* R22: keep the map, readable labels and a small number of game controls. */
#game-stage #app .journey-heading { top:101px; }
#game-stage #app .journey-heading h1 { margin:7px 0; font-size:29px; letter-spacing:1px; }
#game-stage #app .journey-milestones { display:none; }
#game-stage #app .journey-screen .journey-viewport { top:165px; left:14px; width:362px; height:362px; }
#game-stage #app .journey-atmosphere { box-shadow:0 0 0 1px #bdd8bf; }
#game-stage #app .journey-controls { right:0; bottom:0; gap:7px; }
#game-stage #app .journey-controls button { width:44px; height:44px; min-height:44px; padding:0; border:1px solid #8da681; border-radius:50%; background:#fff9e9; color:#355d40; box-shadow:none; font:500 23px/1 var(--kv-label); touch-action:manipulation; }
#game-stage #app .journey-controls button:last-child { font-size:20px; }
#game-stage #app .journey-controls button:active { background:#deebcb; scale:.95; }
#game-stage #app .journey-view-bar { top:541px; left:24px; right:24px; gap:9px; grid-template-columns:minmax(0,1fr) auto auto; }
#game-stage #app .journey-view-bar button { min-height:46px; box-shadow:none; border-radius:16px; font-size:14px; }
#game-stage #app .journey-view-bar .journey-roadside { border-radius:16px; min-width:114px; box-shadow:none; }
#game-stage #app .journey-screen .journey-panel { top:602px; max-height:216px; padding:17px 18px 0; border:1px solid #a8b58b; border-radius:19px; background:#fff9e9; box-shadow:none; }
#game-stage #app .journey-panel:before { content:none; }
#game-stage #app .journey-summary small { color:#536749; font-size:12px; }
#game-stage #app .journey-summary strong { font-size:22px; margin:5px 0; }
#game-stage #app .journey-summary span { font-size:12px; }
#game-stage #app .journey-progress-row { gap:9px; }
#game-stage #app .journey-meter { height:6px; border-radius:4px; background:#e3e8d5; }
#game-stage #app .journey-meter i { border-radius:4px; background:#618850; }
#game-stage #app .journey-share { min-height:48px; margin-top:15px; font-size:14px; }
#game-stage #app .journey-warming { margin-top:12px; padding:9px 0; }
#game-stage #app .journey-warming h3 { font-size:14px; margin-bottom:9px; }
#game-stage #app .journey-bubble { border-radius:14px; padding:8px 11px; font-size:12px; box-shadow:none; }
#game-stage #app .journey-screen .journey-pin,
#game-stage #app .journey-viewport[data-view=globe] .journey-pin,
#game-stage #app .journey-viewport .journey-pin[data-map-edge] {
  width:1px; height:1px; min-width:0; padding:0; transform:none; overflow:visible; display:block;
}
#game-stage #app .journey-viewport .journey-pin[hidden] { display:none; }
#game-stage #app .journey-pin .journey-postbox { position:absolute; left:-13px; bottom:0; width:26px; height:34px; filter:none; }
#game-stage #app .journey-viewport .journey-pin b {
  position:absolute; display:block; left:0; top:18px; width:max-content; max-width:124px; padding:4px 8px;
  transform:translateX(-50%); font:600 12px/1.4 var(--kv-label); border:1px solid #8ca27b;
  border-radius:11px; color:#35583c; background:#fff9e9; box-shadow:none; overflow:hidden; text-overflow:ellipsis;
}
#game-stage #app .journey-pin small { font-size:12px; margin-left:3px; color:#65774f; }
#game-stage #app .journey-pin-leader { position:absolute; top:0; left:0; height:1px; background:#789375; transform-origin:0 50%; }
#game-stage #app .journey-pin[data-map-edge] b { padding-right:18px; }
#game-stage #app .entry-home .entry-home-messenger { filter:none; }

/* A quiet, consistent toolbar leaves room for the scenery. */
#game-stage #app .roadside-card .roadside-header { inset:18px 18px auto; width:auto; max-width:none; gap:11px; }
#game-stage #app .roadside-header>div { padding:8px 13px; border-radius:17px; background:#fff9e9f5; border:1px solid #ced8b7; box-shadow:none; }
#game-stage #app .roadside-header h2 { font-size:26px; }
#game-stage #app .roadside-close { width:46px; height:46px; min-height:46px; border-radius:50%; box-shadow:none; }
#game-stage #app .roadside-card::after { content:""; position:absolute; z-index:1; inset:auto 0 0; height:95px; background:#fff9e9; border-top:1px solid #b8c69b; pointer-events:none; }
#game-stage #app .roadside-footer { inset:auto 18px 10px; gap:12px; min-height:64px; }
#game-stage #app .roadside-status { padding:0; border-radius:16px; background:#fff9e9f5; border:1px solid #c7d3b1; box-shadow:none; }
#game-stage #app .roadside-footer .roadside-progress { min-height:48px; padding:0 13px; gap:8px; font-size:14px; }
#game-stage #app .roadside-note:not(:empty) { max-width:220px; padding:0 10px 6px; font-size:12px; }
#game-stage #app .roadside-serve { min-height:48px; padding:10px 18px; font-size:15px; border-radius:16px; color:#fff9e9; background:#446e48; border-color:#3f6141; box-shadow:none; }
#game-stage #app .roadside-serve:disabled { background:#87977b; color:#fff9e9; }
#game-stage #app .roadside-discovery { border-radius:19px; padding:12px; gap:14px; border-color:#bdc99f; background:#fff9e9; box-shadow:0 4px 0 #39563916; }
#game-stage #app .roadside-discovery-close { min-width:44px; min-height:44px; border-radius:50%; }
#game-stage #app .roadside-collect { min-height:46px; border-radius:13px; font-size:14px; }
#game-stage #app .roadside-landmark>svg { width:27px; height:28px; rotate:0deg; filter:none; }
#game-stage #app .receive-tabs button { min-height:44px; }
#game-stage #app .receive-center .receive-logout { min-height:44px; padding-block:10px; }
#game-stage #app .gm-transport .gm-mode { box-shadow:none; border-radius:15px; }
#game-stage #app .gm-transport .gm-mode.selected { background:#e4edce; border-color:#65844e; }
#game-stage #app .gm-transport .gm-platform-deck { box-shadow:none; }
#game-stage #app .gm-transport .gm-send-button { box-shadow:none; border-radius:18px; }

#app .roadside-land[data-three-sky]>.rds-scene>:not(defs,[data-roadside-landmark],[data-rds-reaction]) { visibility:hidden; }
#app .roadside-land[data-three-sky] .rds-satellite { animation:none; }
#app .roadside-land[data-three-sky] [data-roadside-landmark=earth] { visibility:hidden; }
#app .roadside-layer:has(.roadside-land[data-three-sky]) .roadside-landmark { width:96px; height:96px; margin:-48px 0 0 -48px; }
#app .roadside-layer:has(.roadside-land[data-three-sky]) .roadside-landmark>svg { right:17px; bottom:17px; pointer-events:auto; }
#game-stage #app .journey-screen header .back { min-width:44px; min-height:44px; border-radius:50%; box-shadow:none; }
#game-stage #app .journey-warming { margin-top:10px; padding:7px 0; min-height:56px; }
#game-stage #app .journey-warming h3 { margin-bottom:8px; }
#game-stage #app .journey-cup { display:flex; align-items:center; justify-content:center; width:74px; gap:5px; }
#game-stage #app .journey-cup svg { width:34px; height:34px; margin:0; }
#game-stage #app .journey-warm-count { white-space:nowrap; }
#game-stage #app .roadside-layer[data-native-observation] .roadside-land { scale:1; transition:none; }
