/* The game shares one reading surface from the first visit to the final postcard. */
#game .voyage-route.game-dialog.voyage-sheet {
  --sheet-ink:#1d302a; --sheet-muted:#425248; --sheet-line:#d8cbb5;
  --sheet-cream:#fcf6e9; --sheet-light:#fffaf0; --sheet-green:#184b3e;
  --sheet-gutter:clamp(16px,3.6vw,32px);
  color-scheme:light;
  display:flex; flex-direction:column; box-sizing:border-box;
  position:fixed; inset:0; margin:auto; width:min(760px,calc(100% - 32px));
  min-width:0; max-width:none; min-height:0; height:fit-content;
  max-height:min(850px,calc(100dvh - 32px)); overflow:hidden; padding:0!important;
  color:var(--sheet-ink)!important; background:var(--sheet-cream)!important;
  border:0!important; border-image:none!important; border-radius:18px!important;
  box-shadow:0 16px 48px #17211955!important; animation:none!important;
  font:500 16px/1.65 "PingFang TC","Microsoft JhengHei",system-ui,sans-serif;
  text-align:start; text-shadow:none!important; isolation:isolate;
}
#game .voyage-route.game-dialog.voyage-sheet::before,#game .voyage-route.game-dialog.voyage-sheet::after {content:none!important}
#game .voyage-sheet:not(.menu-title)>header {
  display:flex; align-items:center; gap:clamp(8px,1.7vw,15px); flex:none; isolation:isolate;
  position:relative; inset:auto; overflow:hidden; box-sizing:border-box; width:100%;
  min-height:clamp(64px,11dvh,93px); margin:0; padding:11px var(--sheet-gutter)!important;
  background:var(--sheet-cream)!important;
  color:var(--sheet-ink)!important; border:0!important;
  box-shadow:none!important; border-radius:0!important;
}
#game .voyage-sheet:not(.menu-title)>header::before,#game .voyage-sheet>header::after {content:none!important}
#game .voyage-sheet>header h2 {
  position:relative; z-index:1; flex:1; min-width:0; margin:0!important; padding:0!important;
  color:var(--sheet-ink)!important; background:none!important; border:0!important; letter-spacing:.025em;
  text-align:start; text-shadow:none!important; font:700 clamp(21px,3.6vw,32px)/1.3 "Noto Serif TC","Songti TC","PMingLiU",Georgia,serif!important;
}
#game .voyage-sheet>header h2::before {content:none!important}
#game .voyage-sheet>header h2 {text-wrap:balance}
#game .voyage-sheet>header:has(.sheet-illustration) {padding-right:var(--sheet-gutter)!important}
#game .sheet-illustration {
  flex:none; width:clamp(46px,12vw,65px); height:clamp(40px,10vw,53px);
  object-fit:cover; object-position:50% 50%; pointer-events:none; image-rendering:auto;
  border-radius:55% 39% 49% 41%; transform:rotate(3deg);
}
#game .voyage-sheet>header :is(.route-back,.close) {
  position:relative; z-index:1; inset:auto; order:-1; flex:none; display:grid; place-items:center;
  box-sizing:border-box; min-width:44px; min-height:44px; width:44px; height:44px; margin:0;
  padding:0!important; background:#eee4cf!important; border:0!important;
  border-radius:50%!important; color:#223b31!important; font:600 20px/1 system-ui,sans-serif!important;
  box-shadow:none!important; text-shadow:none!important;
}
#game .voyage-sheet>header .route-back span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#game .voyage-sheet>header .route-back i {font:400 22px/1 system-ui,sans-serif}
#game .voyage-sheet .menu-body {
  display:block; flex:1 1 auto; min-height:0; max-height:none!important;
  box-sizing:border-box; margin:0; padding:clamp(13px,2.5vw,23px) var(--sheet-gutter)!important;
  overflow:auto; overscroll-behavior:contain; scrollbar-width:thin;
  scrollbar-color:#9da89b var(--sheet-cream); touch-action:pan-y;
  scroll-padding-block:12px; user-select:text; background:var(--sheet-cream);
}
#game .voyage-sheet .menu-body :is(p,li,td,summary,label) {
  font-family:"PingFang TC","Microsoft JhengHei",system-ui,sans-serif;
  font-size:1rem; line-height:1.65; overflow-wrap:anywhere; letter-spacing:.005em;
}
#game .voyage-sheet .menu-body :is(h3,h4) {
  color:#24473c; line-height:1.36; font-family:"Noto Serif TC","Songti TC","PMingLiU",Georgia,serif;
  text-shadow:none; overflow-wrap:anywhere;
}
#game .voyage-sheet .menu-body h3 {font-size:clamp(19px,3.4vw,25px)}
#game .voyage-sheet .menu-body h4 {font-size:clamp(17px,2.5vw,21px)}
#game .voyage-sheet .menu-body :is(.muted,.inline-note,.pause-note,.route-locale,.postbook-heading p,.care-actions small,.letter-fold small) {
  color:var(--sheet-muted)!important; opacity:1; font-size:14px; line-height:1.55;
}
#game .voyage-sheet .menu-body :is(.eyebrow,.garden-letter-locked span) {
  color:#745425; font:700 13px/1.45 system-ui,sans-serif; letter-spacing:.04em;
}
#game .voyage-sheet .menu-body h3:first-child,#game .voyage-sheet .menu-body p:first-child {margin-top:0}
#game .voyage-sheet .menu-body > :last-child {margin-bottom:0}
#game .voyage-sheet .menu-body :is(img,.painted-icon) {image-rendering:auto}
#game .voyage-sheet :is(button,a,summary,input,textarea):focus-visible {outline:3px solid #0d7966!important;outline-offset:2px}
#game .voyage-sheet>header button:focus-visible {outline-color:#215549!important;outline-offset:2px}
#game .voyage-sheet .menu-body :is(button,a,summary) {touch-action:manipulation;scroll-margin-block:9px}
#game .voyage-sheet .menu-body summary {box-sizing:border-box;min-height:44px;cursor:pointer}
#game .voyage-sheet .menu-body :is(.button,.return-game,.partner-visit),
#game .voyage-sheet .voyage-decision .return-game {
  box-sizing:border-box; min-height:46px; white-space:normal; text-wrap:pretty; line-height:1.4;
  border:1px solid #174f42!important; border-radius:9px!important;
  padding:10px 13px!important; box-shadow:inset 0 1px #fff2!important;
  background:var(--sheet-green)!important; color:#fffaf0!important; text-shadow:none!important;
  font:700 16px/1.45 "PingFang TC","Microsoft JhengHei",system-ui,sans-serif!important;
}
#game .voyage-sheet .menu-body .button.secondary {
  background:var(--sheet-light)!important; border-color:#a6b1a0!important; color:#2a5447!important;
}
#game .voyage-sheet .menu-body button:disabled {opacity:1;filter:none;color:#6b7366!important;border-color:#cbc8b9!important;background:#e9e8dd!important}
#game .voyage-sheet .menu-body :is(.button,.partner-visit):active:enabled,#game .voyage-sheet .voyage-decision button:active {transform:translateY(1px)}
#game .voyage-sheet>.voyage-decision {
  flex:none; position:relative; inset:auto; box-sizing:border-box; margin:0; width:100%;
  padding:10px var(--sheet-gutter) max(10px,env(safe-area-inset-bottom))!important;
  background:#f5efe1!important; border:0!important; border-top:1px solid var(--sheet-line)!important;
  box-shadow:none!important;
}
#game .voyage-sheet>.voyage-decision .return-game {margin:0!important;width:100%}
#game .voyage-sheet>.sheet-chapters {
  display:flex;flex:none; align-items:stretch; gap:3px; margin:0; padding:0 var(--sheet-gutter)!important;
  overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; background:#f2ecdd!important;
  border:0!important; border-bottom:1px solid var(--sheet-line)!important;
}
#game .voyage-sheet>.sheet-chapters button {
  flex:1 0 auto; position:relative; display:block; min-height:45px; padding:7px 11px!important; margin:0;
  border:0!important; border-radius:0!important; box-shadow:none!important;
  background:transparent!important; color:#4e6258!important; font:650 15px/1.4 system-ui,sans-serif!important;
}
#game .voyage-sheet>.sheet-chapters [aria-selected=true] {color:#173e34!important;background:#fcf8ee!important}
#game .voyage-sheet>.sheet-chapters [aria-selected=true]::after {content:"";position:absolute;bottom:0;left:10px;right:10px;height:3px;background:#367967}
#game .voyage-sheet .menu-body :is(.mission-panel,.forge-detail,.setting-block,.gear-comparison,.gear-tactics>div,.guide section,.talent-card,.journal-entry,.post-letter,.route-extras,.rename-fold,.skill-explanation,.promise-record,.supply-panel,.points-banner) {
  box-sizing:border-box; min-width:0; padding:clamp(11px,2vw,17px);
  background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important;
}
#game .voyage-sheet .menu-body :is(.route-extras,.rename-fold) {padding:0 13px}
#game .voyage-sheet .menu-body :is(.route-extras,.rename-fold)>summary {padding:10px 0;color:#355548;font-weight:700}
#game .voyage-sheet .route-extras[open]>summary {border-bottom:1px solid var(--sheet-line)}
#game .voyage-sheet .menu-body :is(.plan-selector button,.recipe-tile,.equipment-slots button,.skill-choice button,.badge-option,.equipment-option,.voyage-destinations button) {
  min-width:0; min-height:44px; border:0!important; background:#f0e9da!important;
  border-radius:9px!important; box-shadow:none!important; color:var(--sheet-ink)!important;
}
#game .voyage-sheet .menu-body :is(.plan-selector button,.recipe-tile,.equipment-option,.skill-choice button,.badge-option):is(.selected,[aria-pressed=true]) {
  border-color:#538875!important; background:#e4efe3!important; box-shadow:inset 3px 0 #33745d!important;
}
#game .voyage-sheet .voyage-destinations {gap:9px;margin:0}
#game .voyage-sheet .voyage-destinations button {min-height:61px;padding:8px 10px!important;grid-template-columns:35px minmax(0,1fr) 12px;gap:7px;font-size:16px}
#game .voyage-sheet .voyage-destinations .painted-icon {width:35px;height:35px}
#game .voyage-sheet .pause-note {margin:0 0 10px}
#game .voyage-sheet .setting-block .setting {padding:10px 0;border-bottom:1px solid var(--sheet-line)}
#game .voyage-sheet .setting-block .setting:last-child {border-bottom:0}
#game .voyage-sheet .menu-body input:not([type=checkbox]):not([type=range]),#game .voyage-sheet textarea {
  min-width:0;box-sizing:border-box;color:var(--sheet-ink);background:#fffef9;border:1px solid #879b88;border-radius:5px;padding:9px;
}
#game .voyage-sheet :is(input[type=checkbox],input[type=range]) {accent-color:#2a6955}
#game .voyage-sheet .companion-card {
  display:grid; grid-template-columns:clamp(77px,21vw,148px) minmax(0,1fr); gap:clamp(12px,3vw,25px);
  align-items:center; padding:clamp(10px,2.5vw,21px); margin:0 0 12px;
  background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
#game .voyage-sheet .companion-card>img {width:100%;max-height:150px;object-fit:contain}
#game .voyage-sheet .companion-card h3 {margin:0 0 8px}
#game .voyage-sheet .companion-card h3 small {font:650 14px/1.4 system-ui,sans-serif;color:var(--sheet-muted)}
#game .voyage-sheet .care-actions button {min-width:0}
#game .voyage-sheet .care-actions button small {font-size:14px;line-height:1.4}
#game .voyage-sheet .care-actions .button:not(.secondary):enabled small {color:#3d4840!important}
#game .voyage-sheet .plan-consequence {background:#e8efe4!important;border:0!important;border-left:3px solid #4f846a!important;border-radius:0 7px 7px 0!important;padding:11px 13px}
#game .voyage-sheet .plan-consequence small {display:block;color:#3e584b;font-size:14px;line-height:1.5}
#game .voyage-sheet .departure-landscape {min-height:100px;border-radius:9px;overflow:hidden}
#game .voyage-sheet .departure-landscape>div {background:linear-gradient(0deg,#132e2cea,transparent);padding:19px 15px 10px}
#game .voyage-sheet .departure-landscape :is(h3,.eyebrow) {color:#fff8e7!important}
#game .voyage-sheet .voyage-memory,#game .voyage-sheet .voyage-homecoming {
  background:var(--sheet-light)!important;color:var(--sheet-ink);border:1px solid var(--sheet-line);border-radius:9px;box-shadow:none;
}
#game .voyage-sheet .voyage-memory .memory-art {height:auto;max-height:255px;width:100%;aspect-ratio:2.4/1;object-fit:cover}
#game .voyage-sheet :is(.memory-caption,.ending-letter) {padding:14px clamp(14px,3vw,24px)}
#game .voyage-sheet :is(.memory-caption,.ending-letter) p {color:#334c40}
#game .voyage-sheet .postbook .postbook-heading {margin-top:0}
#game .voyage-sheet .postbook .post-letter {padding:0;overflow:hidden}
#game .voyage-sheet .post-letter summary {font-size:15px}
#game .voyage-sheet .post-letter>summary {min-height:57px;padding:8px 12px;gap:9px;border-radius:0}
#game .voyage-sheet .post-letter>summary img {width:44px;height:44px;border-radius:5px}
#game .voyage-sheet .post-letter .letter-fold {padding:clamp(10px,2vw,18px);background:#fffbef}
#game .voyage-sheet .garden-letter-keepsake {grid-template-columns:clamp(95px,26%,155px) minmax(0,1fr);gap:clamp(12px,2.5vw,20px);align-items:start}
#game .voyage-sheet .garden-letter-keepsake>img {width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:3px solid #fff9e6;outline:1px solid #bdab82;border-radius:4px}
#game .voyage-sheet .garden-letter-keepsake .route-share,#game .voyage-sheet .postbook .route-share {min-height:44px;font-size:15px;font-weight:700;line-height:1.4;color:#285c4b}
#game .voyage-sheet .postbook :is(.garden-letter-keepsake,.route-stamp) p {font-size:16px;line-height:1.6}
#game .voyage-sheet .postbook .journey-partners {margin:12px 0 0;border-radius:7px}
#game .voyage-sheet .postbook .journey-partner p {font-size:15px;line-height:1.65}
#game .voyage-sheet .menu-body .journey-partner .partner-disclosure {color:#4c6257;font-size:14px}
#game .voyage-studio-link {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:2px 12px;
  box-sizing:border-box;
  min-height:44px;
  margin:8px 2px 3px;
  padding:6px 4px;
  border-top:1px solid #c9bc9d;
  color:#24534c;
  font-size:.9rem;
  line-height:1.5;
  text-decoration:none;
}
#game .voyage-studio-link strong {text-decoration:underline;text-underline-offset:.2em}
#game .voyage-studio-link small {color:#45564e;font-size:.8rem}
#game .voyage-studio-link:focus-visible {outline:2px solid #215743;outline-offset:1px}

#game .voyage-route.game-dialog.voyage-sheet.menu-title {max-width:760px;width:min(760px,calc(100% - 32px))}
#game .voyage-sheet.menu-title .menu-body {padding:0!important}
#game .voyage-sheet.menu-title .arrival-content {background:var(--sheet-cream)}
#game .voyage-sheet.menu-title .arrival-art h3 {color:#fff8e7}
@media (max-width:600px) {
  #game .voyage-route.game-dialog.voyage-sheet,#game .voyage-route.game-dialog.voyage-sheet.menu-title {--sheet-gutter:16px;width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:13px!important}
  #game .voyage-sheet .care-actions {grid-template-columns:1fr}
  #game .voyage-sheet .postbook .garden-letter-keepsake {grid-template-columns:80px minmax(0,1fr)}
  #game .voyage-sheet>.sheet-chapters {padding:0 6px!important;gap:0}
  #game .voyage-sheet>.sheet-chapters button {padding:7px 9px!important}
  #game .voyage-sheet .menu-body .setting {gap:10px}
}
@media (max-width:380px) {
  #game .voyage-route.game-dialog.voyage-sheet {--sheet-gutter:13px}
  #game .voyage-sheet .voyage-destinations button {gap:5px;padding:7px!important;grid-template-columns:27px minmax(0,1fr) 9px;font-size:15px}
  #game .voyage-sheet .voyage-destinations .painted-icon {width:27px;height:27px}
  #game .voyage-sheet .postbook .garden-letter-keepsake {grid-template-columns:1fr}
  #game .voyage-sheet .garden-letter-keepsake>img {width:min(160px,80%);justify-self:center}
  #game .voyage-sheet .plan-selector button {padding:6px!important}
  #game .voyage-sheet .post-letter>summary {padding:7px 8px}
}
@media (max-height:480px) {
  #game .voyage-route.game-dialog.voyage-sheet,#game .voyage-route.game-dialog.voyage-sheet.menu-title {max-height:calc(100dvh - 8px)}
  #game .voyage-sheet:not(.menu-title)>header {min-height:51px;padding-block:3px!important}
  #game .voyage-sheet>header h2 {font-size:21px!important}
  #game .voyage-sheet .menu-body {padding-block:10px!important}
  #game .voyage-sheet>.voyage-decision {padding-block:5px!important}
  #game .voyage-sheet>.sheet-chapters button {min-height:44px}
  #game .voyage-sheet .voyage-memory {display:grid;grid-template-columns:32% minmax(0,1fr);column-gap:clamp(12px,2vw,20px)}
  #game .voyage-sheet .voyage-memory .memory-art {height:100%;max-height:185px;aspect-ratio:auto;object-fit:cover}
  #game .voyage-sheet.menu-result:has([data-collect]) .sheet-art-button .memory-art {max-height:36svh}
}
@media (prefers-reduced-motion:reduce) {
  #game .voyage-route.game-dialog.voyage-sheet,#game .voyage-sheet * {animation-duration:.01ms!important;transition-duration:.01ms!important}
}
@media (orientation:landscape) and (min-width:500px) and (max-height:480px) {
  #game .voyage-sheet [data-voyage-ending] .ending-letter {padding:7px 14px}
  #game .voyage-sheet [data-voyage-ending] .ending-letter h3 {font-size:21px;line-height:1.25;margin:2px 0 5px}
  #game .voyage-sheet [data-voyage-ending] .ending-letter p:not(.eyebrow) {font-size:15px;line-height:1.45}
  #game .voyage-sheet [data-voyage-ending] .ending-letter p+p {margin-top:5px}
  #game .voyage-sheet [data-voyage-ending] .ending-tokens {margin-top:7px}
  #game .voyage-sheet [data-voyage-ending] .ending-tokens img {height:44px}
}
#game .voyage-sheet .menu-body .sheet-art-button {
  position:relative;display:block;box-sizing:border-box;height:auto;min-width:44px;min-height:44px;width:100%;
  margin:0;padding:0!important;overflow:hidden;cursor:zoom-in;appearance:none;background:#eee7d4!important;
  border:0!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none;
}
#game .voyage-sheet .sheet-art-button>img {display:block;width:100%;margin:0}
#game .voyage-sheet .sheet-art-button>span {
  position:absolute;right:5px;bottom:5px;padding:3px 7px;border:1px solid #ffffff4a;
  border-radius:12px;background:#193d33e8;color:#fff9eb;letter-spacing:0;
  font:650 12px/1.35 system-ui,sans-serif;pointer-events:none;
}
#game .voyage-sheet .garden-letter-keepsake .sheet-art-button {border:3px solid #fff9ec!important;outline:1px solid #bba882}
#game .voyage-sheet .garden-letter-keepsake .sheet-art-button img {height:auto;aspect-ratio:1;object-fit:cover}
#game .voyage-sheet .route-print .sheet-art-button {height:100%}
#game .voyage-sheet .ending-tokens .sheet-art-button>span {font-size:10px;padding:2px 4px;bottom:2px;right:2px}
#game .voyage-route.sheet-picture-reader {
  box-sizing:border-box;position:fixed;inset:0;margin:auto;width:max-content;min-width:min(280px,92vw);
  max-width:min(900px,calc(100vw - 18px));max-height:calc(100dvh - 18px);
  padding:0!important;background:#1b332e!important;border:1px solid #bba67a!important;border-radius:10px!important;
  color:#fff8e9;box-shadow:0 12px 65px #0f2426ba;overflow:hidden;
}
#game .voyage-route.sheet-picture-reader[open] {display:flex;flex-direction:column}
#game .sheet-picture-reader::backdrop {background:#081714e8}
#game .sheet-picture-reader .picture-reader-bar {
  display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:12px;padding:4px 12px;
}
#game .sheet-picture-reader h3 {margin:0;color:#fff8e9;font:700 clamp(17px,3vw,24px)/1.35 "Noto Serif TC","PMingLiU",serif}
#game .sheet-picture-reader .picture-reader-bar button {
  min-width:52px;min-height:44px;background:#29493e;color:#fff8e9;border:1px solid #b9b699;
  border-radius:7px;font:650 15px/1.4 system-ui,sans-serif;
}
#game .sheet-picture-reader>img {display:block;align-self:center;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 83px);object-fit:contain}
#game .voyage-sheet .voyage-destinations button>span:not(.painted-icon) {display:grid;gap:2px;align-content:center;line-height:1.35}
#game .voyage-sheet .voyage-destinations small {font:500 13px/1.4 "PingFang TC","Microsoft JhengHei",sans-serif;color:#4e6458}
#game .voyage-sheet .voyage-destinations button {min-height:69px}
#game .voyage-sheet .growth-meter>div {font:600 14px/1.5 system-ui,sans-serif;color:#304a40}
#game .voyage-sheet .menu-body .reward-growth {padding:15px 17px;border-radius:9px;font-size:16px;line-height:1.5}
#game .voyage-sheet :is(.route-stamp-copy,.garden-letter-keepsake>div,.memory-caption,.ending-letter) {min-width:0}
#game .voyage-sheet :is(.route-stamp,.garden-letter-keepsake) h4 {margin:3px 0 7px}
#game .voyage-sheet .menu-body .trip-totals span,#game .voyage-sheet .menu-body .resources>span {font-size:14px}
@media (max-width:380px) {
  #game .voyage-sheet .voyage-destinations {grid-template-columns:1fr}
  #game .voyage-sheet .voyage-destinations button {min-height:55px;grid-template-columns:36px minmax(0,1fr) 14px}
  #game .voyage-sheet .voyage-destinations .painted-icon {width:32px;height:32px}
  #game .voyage-sheet .garden-letter-keepsake .sheet-art-button {width:min(155px,85%);justify-self:center}
}
@media (orientation:landscape) and (max-height:480px) {
  #game .sheet-picture-reader>img {max-height:calc(100dvh - 75px)}
}

/* Watercolor actions keep the same name, hit area and keyboard order as their controls. */
#game .voyage-sheet .journey-action {
  --object-size:32px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  min-width:0; min-height:44px;
}
#game .voyage-sheet .journey-object {
  width:var(--object-size); height:var(--object-size); flex:none; object-fit:contain;
  pointer-events:none; filter:drop-shadow(0 1px 1px #402e2240);
}
#game .voyage-sheet :is(.arrival-main,[data-collect]).journey-action {--object-size:42px}
#game .voyage-sheet .care-actions .journey-action {
  --object-size:46px; display:grid; grid-template-columns:var(--object-size) minmax(0,1fr);
  grid-template-rows:auto auto; gap:2px 10px; padding:7px 10px; text-align:start;
  align-content:center; justify-items:start;
}
#game .voyage-sheet .care-actions .journey-object {grid-column:1;grid-row:1/3;align-self:center}
#game .voyage-sheet .care-actions small {grid-column:2;line-height:1.35}
#game .voyage-sheet .care-feedback:not(:empty) {
  border-inline-start:3px solid #78925a;padding:6px 9px;background:#ecf2df;
}
#game .voyage-sheet #rhythm-tap.journey-action {--object-size:40px}
#game .voyage-sheet #rhythm-tap[data-beat=hit] {outline:2px solid #99722b;outline-offset:-4px}
#game .voyage-sheet #rhythm-tap[data-beat=miss] {outline:2px dashed #63785c;outline-offset:-4px}
#game .voyage-sheet .sheet-chapters .journey-action,
#game .voyage-sheet .route-share.journey-action {--object-size:22px;gap:4px}
#game .voyage-sheet .journey-action:disabled .journey-object {filter:grayscale(.7);opacity:.6}
#game .voyage-sheet .journey-action:focus-visible,
#game .voyage-sheet [data-select-chapter]:focus-visible {outline:3px solid #aa6428;outline-offset:-3px}
#game .story-chart .map-island .journey-island {
  position:absolute;top:10%;left:50%;width:clamp(33px,8.5vw,48px);height:auto;aspect-ratio:1;
  transform:translateX(-50%);border:2px solid #f3e6b9;border-radius:50%;object-fit:cover;
  box-shadow:0 1px 3px #243f3380;pointer-events:none;
}
#game .story-chart .map-island[aria-selected=true] .journey-island {
  border-color:#f8d77b;outline:2px solid #385846;outline-offset:1px;
}
@media(prefers-reduced-motion:no-preference){
  #game:not([data-reduce-motion=true]) .journey-object {transition:transform .14s ease-out}
  #game:not([data-reduce-motion=true]) .journey-action:enabled:active .journey-object {transform:translateY(2px) rotate(-4deg)}
}

/* An open travel journal: give the illustration its own space, and keep text on the paper. */
#game .voyage-sheet .arrival-art::after {content:none!important}
#game .voyage-sheet .arrival-page {background:var(--sheet-cream)!important}
#game .voyage-sheet .arrival-title {
  display:flex;align-items:baseline;flex-wrap:wrap;gap:.22em;margin:0 0 .32em!important;
  color:var(--sheet-ink)!important;font:750 clamp(30px,7vw,46px)/1.18 var(--guide-serif,Georgia,serif)!important;
}
#game .voyage-sheet .arrival-title span {font-size:.66em;color:#3b4d3e!important;letter-spacing:.035em}
#game .voyage-sheet .arrival-page .arrival-letter {color:#3a473d!important;line-height:1.65}
#game .voyage-sheet .arrival-page .island-itinerary {margin:.55rem 0 .65rem}
#game .voyage-sheet .arrival-page .island-itinerary li {color:#4d5447}
#game .voyage-sheet .menu-body .button,
#game .voyage-sheet .voyage-decision .return-game {border:0!important;box-shadow:none!important}
#game .voyage-sheet .menu-body .button.secondary {background:#e9eee0!important;color:#244333!important}
#game .voyage-sheet .menu-body button:disabled {background:#e9e3d5!important;color:#534f43!important;opacity:1!important}
#game .voyage-sheet .menu-body button:disabled :is(small,span,b,strong) {color:#534f43!important}
#game .voyage-sheet .menu-body :is(.mission-panel,.forge-detail,.gear-comparison,.guide section,.post-letter,.supply-panel,.points-banner) {padding-inline:0}
#game .voyage-sheet>.sheet-chapters {
  gap:0;background:var(--sheet-cream)!important;border:0!important;
  padding:0 var(--sheet-gutter)!important;box-shadow:inset 0 -1px var(--sheet-line)!important;
}
#game .voyage-sheet>.sheet-chapters button {color:var(--sheet-muted)!important}
#game .voyage-sheet>.sheet-chapters [aria-selected=true] {background:transparent!important;color:#153d31!important}
#game .voyage-sheet>.sheet-chapters [aria-selected=true]::after {background:#92602f;height:3px;left:8px;right:8px}
#game .voyage-sheet>.voyage-decision {padding-block:9px!important;background:var(--sheet-cream)!important;border:0!important}
#game .voyage-sheet .companion-card {padding-inline:0;grid-template-columns:clamp(90px,24vw,148px) minmax(0,1fr)}
#game .voyage-sheet .care-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#game .voyage-sheet .care-actions .journey-action {
  --object-size:46px;display:grid;grid-template-columns:1fr;grid-template-rows:auto auto 1fr;align-content:start;justify-items:start;gap:3px;
  text-align:left;min-width:0;color:#20392e!important;background:#ece4cb!important;padding:12px!important;
}
#game .voyage-sheet .care-actions .journey-action.secondary {background:#e3ecdf!important}
#game .voyage-sheet .care-actions .journey-object,#game .voyage-sheet .care-actions small {grid-column:1;grid-row:auto}
#game .voyage-sheet .care-actions small {color:#3d4840!important;font-size:.86rem;line-height:1.45}
#game .voyage-sheet .pet-boons span {border:0!important;background:transparent!important;color:#414d3e!important;padding-inline:0}
#game .voyage-sheet .menu-body .rename-fold {padding:0;border-top:1px solid var(--sheet-line)!important}
#game .voyage-sheet .rhythm-label {color:#22382d!important;background:#fff9e9!important;text-shadow:none!important}

#game .voyage-sheet .story-chart.map-islands {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;
  min-height:0!important;height:auto!important;aspect-ratio:auto!important;padding:0!important;margin:8px 0 14px;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
#game .voyage-sheet .story-chart::before,#game .voyage-sheet .story-chart::after,#game .voyage-sheet .map-route-line {display:none!important}
#game .voyage-sheet .story-chart .map-island {
  position:relative!important;inset:auto!important;display:grid;align-content:start;justify-items:start;gap:3px;
  flex:none;width:100%!important;min-width:0!important;height:auto!important;min-height:44px;
  padding:0 0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:#243a2e!important;text-shadow:none!important;box-shadow:none!important;transform:none!important;text-align:left;
}
#game .voyage-sheet .story-chart .map-island .journey-island {
  position:static;inset:auto;display:block;width:100%;height:auto;aspect-ratio:1.8;object-fit:cover;
  border:0;border-radius:5px;outline:0;box-shadow:none;transform:none;
}
#game .voyage-sheet .story-chart .map-island :is(span,small) {
  position:static!important;display:block;max-width:100%;padding:0!important;margin:0!important;
  color:#354b3c!important;background:none!important;text-shadow:none!important;white-space:normal;
}
#game .voyage-sheet .story-chart .map-island span {font-size:1rem;font-weight:750}
#game .voyage-sheet .story-chart .map-island small {font-size:.8rem}
#game .voyage-sheet .story-chart .map-island[aria-selected=true] {box-shadow:inset 0 -3px #8e592d!important}
#game .voyage-sheet .story-chart .map-island[aria-selected=true] span {color:#593919!important}
#game .voyage-sheet .menu-body :is(.practice-buttons button,.plan-selector button,.recipe-tile,.equipment-option) {
  background:#eee8d9!important;border:0!important;box-shadow:none!important;color:#2c4032!important;
}
#game .voyage-sheet .menu-body :is(.plan-selector button,.recipe-tile,.equipment-option):is(.selected,[aria-pressed=true]) {
  background:#dce9d9!important;box-shadow:inset 0 -3px #375842!important;
}
#game .voyage-sheet .practice-buttons button :is(span,i),
#game .voyage-sheet .departure-stats span,#game .voyage-sheet .promise-preview i,
#game .voyage-sheet .cost-progress :is(b,small),#game .voyage-sheet .equipped-badge {color:#3c4639!important}
#game .voyage-sheet .plan-selector button i,#game .voyage-sheet .equipment-slots button span:not(.painted-icon),
#game .voyage-sheet .reward-growth span {color:#394c3d!important}
#game .voyage-sheet .postbook .post-letter {margin:0;border:0!important;border-bottom:1px solid var(--sheet-line)!important;border-radius:0!important;overflow:visible}
#game .voyage-sheet .post-letter>summary {padding:9px 1px;background:none!important;border:0!important;gap:12px}
#game .voyage-sheet .post-letter>summary img {width:50px;height:50px;border:0;border-radius:6px;object-fit:cover}
#game .voyage-sheet .post-letter>summary :is(small,.letter-count,.letter-fold) {color:#485342!important}
#game .voyage-sheet .post-letter[open]>summary {color:#203e30!important}
#game .voyage-sheet .postbook :is(.route-stamp,.garden-letter-keepsake,.garden-letter-locked,.journey-partners) {box-shadow:none!important;border:0!important;border-radius:0!important}
#game .voyage-sheet .postbook :is(.route-stamp,.garden-letter-keepsake,.garden-letter-locked) {background:transparent!important}
#game .voyage-sheet .postbook .journey-partners {background:#e8eddf!important}
#game .voyage-sheet .postbook-progress span {color:#3c483b!important;background:transparent!important;border:0!important;padding-inline:0}
#game .voyage-sheet .postbook-progress {gap:16px}
#game .voyage-sheet .menu-body .postbook .journey-partners summary {min-height:48px;padding:8px 12px}
#game .voyage-sheet .menu-body .voyage-memory {background:transparent!important;box-shadow:none!important;border:0!important}
#game .voyage-sheet .voyage-memory .memory-caption {position:static!important;background:var(--sheet-cream)!important;color:var(--sheet-ink)!important;padding:12px 0!important}
#game .voyage-sheet .voyage-memory .memory-caption :is(p,h3,small) {color:var(--sheet-ink)!important;text-shadow:none!important}
#game .voyage-sheet .chapter-reward-heading {
  display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;
  color:var(--sheet-ink);
}
#game .voyage-sheet .chapter-reward-xp {white-space:nowrap;color:#365a46}
#game .voyage-sheet .chapter-reward-source {margin:5px 0 0;font-size:14px;line-height:1.45}
#game .voyage-sheet .reward-growth,#game .voyage-sheet .promise-complete {border:0!important;box-shadow:none!important;background:#e7ecdd!important}
#game .voyage-sheet .reward-loot {background:transparent!important;border:0!important}
#game .voyage-sheet .reward-loot summary {display:flex;align-items:center;color:#344937}
#game .voyage-sheet .voyage-destinations button {text-align:left}
#game .voyage-sheet .voyage-destinations .journey-action {display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;--object-size:37px}
@media(max-width:600px) and (min-height:481px){
  #game .voyage-route.game-dialog.voyage-sheet,#game .voyage-route.game-dialog.voyage-sheet.menu-title {
    --sheet-gutter:clamp(16px,4.8vw,24px);inset:auto 0 0;margin:0;width:100%;max-height:calc(100dvh - 12px);
    border-radius:18px 18px 0 0!important;padding-bottom:env(safe-area-inset-bottom)!important;
  }
  #game .voyage-sheet:not(.menu-title)>header {min-height:59px;padding-block:7px!important}
  #game .voyage-sheet.menu-title .arrival-art {height:clamp(104px,26dvh,218px);min-height:0}
  #game .voyage-sheet.menu-title .arrival-page {padding:15px var(--sheet-gutter)!important}
}
@media(max-width:350px){
  #game .voyage-sheet .care-actions {gap:7px}
  #game .voyage-sheet .care-actions .journey-action {--object-size:38px;padding:9px!important}
  #game .voyage-sheet .story-chart.map-islands {gap:6px}
}
@media(prefers-reduced-motion:no-preference){
  #game:not([data-reduce-motion=true]) .game-dialog.voyage-sheet.sheet-enter {animation:unfold-journal .16s cubic-bezier(.22,.75,.3,1) both!important}
}
@keyframes unfold-journal {from {opacity:.84;translate:0 7px} to {opacity:1;translate:0 0}}
@media (orientation:portrait) and (min-height:700px) {
  #game .voyage-sheet.menu-result:has([data-collect]) .voyage-memory .memory-art {
    aspect-ratio:3/2;
    max-height:min(34svh, 320px);
  }
}
