/* Author: goodjava@qq.com */
.journey {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 28px;
  padding: 92px 36px 26px;
  box-sizing: border-box;
  background: linear-gradient(90deg, rgba(9,25,23,.95), rgba(10,29,26,.79)), url('/art/environments/realm_map_bg.png') center/cover;
  color: #eee4c9;
}
.journey::before { display: none; }
.journey-aside { display: flex; flex-direction: column; min-height: 0; }
.journey .journey-title { position: static; display: block; }
.journey .eyebrow { font-size: 11px; color: #bba77d; letter-spacing: .18em; }
.journey .journey-title h2 { font-size: 44px; font-weight: 500; line-height: 1.25; letter-spacing: .13em; margin: 19px 0 16px; }
.journey-title h2 span { display: block; font-size: 19px; letter-spacing: .22em; color: #cbb98f; margin-top: 10px; }
.journey .chapter-objective { font-size: 13px; line-height: 1.9; color: #a7b5a8; max-width: 230px; }
.journey-progress { margin-top: 28px; border-top: 1px solid #53614e; padding-top: 18px; }
.journey-progress > div:first-child, .journey-condition > div:first-child { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #afbaa9; }
.journey-progress b { font-size: 26px; font-weight: 400; color: #eee3c5; }
.journey-progress small { font-size: 13px; color: #7d8f7d; }
.progress-marks { display: flex; gap: 4px; margin-top: 12px; }
.progress-marks i { flex: 1; height: 4px; background: #435448; border-radius: 1px; }
.progress-marks i.done { background: #799b7c; }
.progress-marks i.now { background: #d7b365; box-shadow: 0 0 9px #b8964a66; }
.journey-progress p, .journey-condition p { font-size: 11px; color: #819381; margin-top: 11px; }
.journey-condition { margin-top: 22px; }
.journey-condition b { font-size: 15px; color: #c5d4b6; font-weight: 500; }
.journey-health { height: 5px; background: #32483c; margin-top: 10px; border-radius: 2px; overflow: hidden; }
.journey-health i { display: block; height: 100%; background: #aab67f; }
.journey .low-health { color: #e0a491; }
.journey-guardian { position: relative; flex: 1; min-height: 120px; margin: 22px -12px 0; overflow: hidden; }
.journey-guardian img { position: absolute; width: 100%; height: 110%; object-fit: contain; object-position: center top; opacity: .72; filter: saturate(.55); }
.journey-guardian::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #102720 78%); }
.journey-guardian figcaption { position: absolute; z-index: 1; bottom: 5px; left: 12px; right: 12px; }
.journey-guardian small, .journey-guardian b, .journey-guardian span { display: block; }
.journey-guardian small { font-size: 10px; color: #94a58f; letter-spacing: .2em; }
.journey-guardian b { font-size: 20px; font-weight: 400; color: #d6c49b; margin: 8px 0; }
.journey-guardian span { font-size: 11px; color: #82977f; }
.journey-board { min-height: 0; min-width: 0; display: flex; flex-direction: column; background: #e1d6b9; color: #333f32; border: 1px solid #a39471; border-radius: 8px; box-shadow: 0 15px 55px #030b0766, inset 0 0 0 5px #f7edce40; overflow: hidden; }
.route-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 28px 18px; border-bottom: 1px solid #a99d7e77; background: #e9dec0; }
.journey .route-heading .eyebrow { color: #8c7443; font-size: 10px; margin: 0 0 6px; }
.route-heading h3 { font-size: 21px; font-weight: 500; margin: 0; letter-spacing: .08em; }
.journey .map-legend { position: static; display: flex; gap: 15px; font-size: 10px; color: #6d735f; }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 6px; height: 6px; border: 1px solid #8d927e; border-radius: 50%; }
.map-legend i.gold { background: #b29049; border-color: #b29049; }
.map-legend i.jade { background: #466953; border-color: #466953; }
.journey .map-scroll { position: relative; inset: auto; min-height: 0; flex: 1; margin: 0 14px; border: 0; background: radial-gradient(ellipse, #f5ebcc88, transparent 65%), linear-gradient(90deg, #bdad8640, transparent 8%, transparent 92%, #bdad8640); scrollbar-width: thin; scrollbar-color: #8c977b transparent; }
.journey .route-canvas { height: 1220px; }
.journey .route-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey .route-lines line { stroke: #8b947c; stroke-width: .15; opacity: .45; }
.journey .route-lines .route-walked { stroke: #55775d; stroke-width: .26; opacity: .95; }
.journey .route-lines .route-open { stroke: #ae8436; stroke-width: .33; opacity: 1; }
.journey .route-node { width: 76px; z-index: 1; }
.journey .route-node i { width: 45px; height: 45px; border-radius: 12px; transform: rotate(45deg); background: #dfd4b9; border: 1px solid #939a80; box-shadow: 0 2px 5px #7668491a; }
.journey .route-node i svg { position: static; inset: auto; width: 25px; height: 25px; transform: rotate(-45deg); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.journey .route-node span { margin-top: 11px; font-size: 11px; color: #68705a; letter-spacing: .08em; }
.journey .route-node.locked { opacity: .58; }
.journey .route-node.visited i { color: #d8ddc7; background: #57785e; border-color: #466b50; }
.journey .route-node.available i { background: #fff0bb; color: #76551d; border: 2px solid #b18a3e; box-shadow: 0 0 0 5px #d2b66626, 0 6px 15px #77603233; }
.journey .route-node.available span { color: #79581e; font-weight: 600; }
.journey .route-node.current span { color: #395a43; font-weight: 600; }
.journey .route-node.current i::after { content: ''; position: absolute; right: -5px; top: -5px; width: 8px; height: 8px; border: 2px solid #f3e6be; background: #416b51; border-radius: 50%; }
.journey .route-node.boss i { transform: none; width: 64px; height: 64px; border-radius: 50%; border: 2px solid #8f6049; background: #c8b48e; }
.journey .route-node.boss img { width: 140%; height: 180%; object-fit: cover; object-position: center 8%; }
.journey .route-node:hover:not(:disabled) i { background: #ffe7a0; box-shadow: 0 0 0 6px #c3a45e40; }
.journey .route-footer { position: relative; inset: auto; height: auto; flex-shrink: 0; padding: 17px 24px 20px; background: #e8ddbf; border-top: 1px solid #b3a47d; }
.journey .route-footer > div:first-child { display: flex; margin-bottom: 12px; font-size: 12px; }
.journey .route-footer > div:first-child span { font-size: 10px; color: #8a8066; }
.journey .route-choices { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.journey .route-choice { display: flex; align-items: center; gap: 12px; max-width: none; min-width: 205px; flex: 1; padding: 13px 15px; border: 1px solid #53694d; border-radius: 5px; background: #274c3c; text-align: left; box-shadow: 0 3px 9px #263d2b22; }
.route-choice > svg { flex: 0 0 27px; width: 27px; height: 27px; fill: none; stroke: #d2bd83; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.route-choice > div { flex: 1; min-width: 0; }
.journey .route-choice small { display: block; font-size: 9px; letter-spacing: .1em; color: #9eaf8a; }
.journey .route-choice b { font-size: 15px; font-weight: 500; margin-top: 3px; color: #f0e7c7; }
.journey .route-choice span { font-size: 10px; margin-top: 5px; color: #b8c6a7; }
.route-choice em { font-size: 11px; white-space: nowrap; color: #d5bd82; font-style: normal; }
.journey .route-choice:hover { background: #355d45; border-color: #bb9b57; }
@media (min-width: 1600px) { .journey { grid-template-columns: 300px minmax(0, 1fr); gap: 38px; padding: 102px 52px 34px; } }
@media (max-width: 1000px) {
  .journey { grid-template-columns: 210px minmax(0, 1fr); gap: 18px; padding: 86px 20px 18px; }
  .route-heading { padding: 17px 20px; }
  .journey .map-legend { gap: 9px; }
  .journey .route-choice { min-width: 180px; }
  .route-choice em { display: none; }
}
@media (max-width: 700px) {
  .journey { display: flex; flex-direction: column; gap: 14px; padding: 82px 12px 12px; }
  .journey-aside { position: relative; flex-shrink: 0; }
  .journey .journey-title { padding-right: 45px; }
  .journey .journey-title h2 { display: flex; align-items: center; gap: 14px; font-size: 27px; margin: 10px 0 8px; }
  .journey-title h2 span { font-size: 13px; margin: 0; letter-spacing: .15em; }
  .journey .chapter-objective { max-width: none; font-size: 11px; margin: 0; line-height: 1.7; }
  .journey-progress { margin: 12px 0 0; padding: 0; border: 0; display: flex; gap: 10px; align-items: center; }
  .journey-progress > div:first-child { gap: 8px; font-size: 10px; }
  .journey-progress b { font-size: 15px; }
  .journey-progress small { font-size: 10px; }
  .progress-marks { flex: 1; margin: 0; gap: 3px; }
  .journey-progress p, .journey-condition, .journey-guardian { display: none; }
  .journey-board { flex: 1; }
  .route-heading { padding: 13px 15px; align-items: end; gap: 8px; }
  .route-heading h3 { font-size: 14px; }
  .journey .route-heading .eyebrow { font-size: 8px; }
  .journey .map-legend { gap: 7px; font-size: 8px; white-space: nowrap; }
  .map-legend span { gap: 3px; }
  .journey .map-scroll { margin: 0 4px; }
  .journey .route-canvas { height: 1160px; }
  .journey .route-node { width: 44px; }
  .journey .route-node i { width: 30px; height: 30px; border-radius: 8px; }
  .journey .route-node i svg { width: 18px; height: 18px; }
  .journey .route-node span { font-size: 9px; margin-top: 9px; letter-spacing: 0; }
  .journey .route-node.boss i { width: 44px; height: 44px; }
  .journey .route-footer { padding: 13px 12px 12px; }
  .journey .route-footer > div:first-child { display: block; font-size: 11px; }
  .journey .route-footer > div:first-child span { margin-top: 4px; font-size: 9px; }
  .journey .route-choice { flex: 1 0 170px; padding: 10px 12px; gap: 9px; }
  .journey .route-choice b { font-size: 13px; }
  .journey .route-choice > svg { flex-basis: 22px; width: 22px; height: 22px; }
  .journey .route-choice small { font-size: 8px; }
  .journey .route-choice span { font-size: 9px; }
}
@media (max-height: 620px) and (min-width: 701px) {
  .journey { padding-top: 80px; padding-bottom: 14px; }
  .journey .journey-title h2 { font-size: 30px; margin: 12px 0; }
  .journey-progress { margin-top: 15px; padding-top: 10px; }
  .journey-condition { margin-top: 12px; }
  .journey-guardian { display: none; }
}
.audio-settings { padding: 14px 16px; margin-top: 20px; background: #e3d9bd; border-radius: 4px; }
.audio-settings > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 20px; }
.audio-settings span { font-size: 14px; }
.audio-settings small { display: block; font-size: 11px; color: #80745b; margin-top: 4px; }
.audio-settings > button { width: 100%; font-size: 13px; }
#voice-caption { position: fixed; top: 247px; left: 50%; transform: translateX(-50%); z-index: 25; margin: 0; padding: 9px 19px; background: #10261fec; color: #f5e5b6; border: 1px solid #a38a52; border-radius: 4px; font: 15px "Songti SC", serif; letter-spacing: .08em; pointer-events: none; }

.audio-settings button[aria-pressed="true"] { color: #f0e5c8; background: #284c3a; border-color: #456348; }
.audio-settings button:disabled { opacity: .4; }
