/* =========================
   TRAVEL PANEL
========================= */

/* Map mode retains town names and weather scenery, with only the player's route. */
/* Journey is a background view. Its content and chat have separate layers so
   the existing windows can open above the map and chat can still take focus. */
body #worldMapOverlay.is-travel-mode {
  flex-direction: column; z-index: auto; isolation: auto;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
#worldMapOverlay.is-travel-mode > #worldMapContent {
  position: relative; z-index: 850; flex: 1 1 auto; height: 0; min-height: 0;
}
/* The live chat bar sits below the journey footer. Its popover can open
   above the map while remaining inside the journey's modal layer. */
#worldMapOverlay.is-travel-mode > #bottomBar {
  flex: 0 0 auto; box-sizing: border-box; min-height: 60px; z-index: 900;
}
#worldMapOverlay.is-travel-mode > .bottom-bar-mobile-portal { z-index: 900; }
#worldMapOverlay.is-travel-mode > :is(#bottomBar,.bottom-bar-mobile-portal).is-chat-raised { z-index: 1102; }
body:has(#worldMapOverlay.is-travel-mode:not(.hidden)) :is(#inventoryOverlay,#characterOverlay,#questOverlay,#journalOverlay,#settingsOverlay,#notesPanel) { z-index: 1000; }
#worldMapOverlay.is-travel-mode > #worldMapContent:has(.travel-event-overlay) { z-index: 1200; }
#worldMapOverlay.is-travel-mode #bottomBar .bottom-bar-shell { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
#worldMapOverlay.is-travel-mode #bottomBar .bottom-bar-zone--middle { overflow: visible; }
.travel-navigation {
  display: flex; align-items: center; gap: 4px; padding: 3px 5px;
  border: 1px solid var(--mg-border-muted); border-radius: 4px;
}
.travel-navigation .travel-nav-button,.travel-nav-popover .travel-nav-button {
  position: relative; display: flex; flex: 0 0 40px; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 5px; border: 1px solid transparent; border-radius: 3px;
  background: transparent; box-shadow: none; color: var(--mg-text-main); cursor: pointer;
}
:is(.travel-navigation,.travel-nav-popover) .travel-nav-button:is(:hover,:focus-visible,.is-active) {
  border-color: var(--mg-amber); background: #d7b57216; outline: none; transform: none; filter: none;
}
:is(.travel-navigation,.travel-nav-popover) .travel-nav-button.is-danger { border-color: var(--mg-danger); }
:is(.travel-navigation,.travel-nav-popover) .travel-nav-button.has-unread::after {
  content: ''; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--mg-amber); box-shadow: 0 0 5px var(--mg-amber);
}
:is(.travel-navigation,.travel-nav-popover) .travel-nav-button img { width: 28px; height: 28px; object-fit: contain; }
:is(.travel-navigation,.travel-nav-popover) .travel-nav-button svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.travel-nav-popover {
  position: fixed; z-index: 1005; box-sizing: border-box; overflow-y: auto;
  padding: 12px; border: 1px solid var(--mg-bronze); border-radius: 5px;
  background: var(--mg-surface-window); color: var(--mg-text-main); box-shadow: 0 6px 24px #0009;
}
.travel-nav-popover h3 { margin: 0 0 10px; font: 16px var(--font-accent); }
.travel-nav-more { display: grid; grid-template-columns: 1fr; gap: 4px; }
.travel-nav-popover .travel-nav-menu-item { justify-content: flex-start; gap: 10px; width: 100%; height: auto; min-height: 40px; text-align: left; font: inherit; }
.travel-nav-skills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.travel-nav-skill {
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px;
  border: 1px solid var(--mg-border-muted); border-radius: 3px;
  background: var(--mg-surface-recessed); color: var(--mg-text-main); text-align: left; font: 12px var(--font-readable); cursor: pointer;
}
.travel-nav-skill img { width: 24px; height: 24px; object-fit: contain; }
.travel-nav-skill span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.travel-nav-skill strong { color: var(--mg-amber); }
.travel-nav-skill:disabled { opacity: .45; cursor: default; }
.travel-nav-skill:not(:disabled):is(:hover,:focus-visible) { border-color: var(--mg-amber); outline: none; }
#worldMapOverlay.is-travel-mode > .bottom-bar-mobile-portal .bottom-chat-panel {
  left: 12px; right: 12px; width: auto; box-sizing: border-box;
  bottom: calc(var(--bottom-bar-clearance, 60px) + 12px);
  min-height: min(330px, calc(100% - var(--bottom-bar-clearance, 60px) - 24px));
  max-height: min(440px, calc(100% - var(--bottom-bar-clearance, 60px) - 24px));
}
#worldMapOverlay.is-travel-mode .worldmap-window { position: relative; }
#worldMapOverlay.is-travel-mode :is(.map-current-player-marker,.map-economy-tooltip,.worldmap-weather-marker,.worldmap-event-marker,.worldmap-offer-marker,.worldmap-activity-menu,.worldmap-stage-toolbar,.worldmap-editor-toolbar,.worldmap-legend,#closeWorldMapBtn) { display: none !important; }
#worldMapOverlay.is-travel-mode .map-node { pointer-events: none; }
.worldmap-travel-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 6; }
/* A separate layer keeps the player above weather (26) and town hover labels
   (2100), without painting the green route over those labels. */
.worldmap-travel-player { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2800; }
.worldmap-travel-route polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.worldmap-travel-pending { stroke: rgba(206,224,192,.65); stroke-width: 3; stroke-dasharray: 6 5; }
.worldmap-travel-completed { stroke: #79d45b; stroke-width: 4; filter: drop-shadow(0 0 3px #12270b); }
.worldmap-travel-marker-ring { fill: #223319; stroke: #a0ef76; stroke-width: .75; }
.worldmap-travel-dock { position: relative; grid-column: 2; min-width: 0; display: flex; justify-content: center; pointer-events: none; }
.worldmap-travel-dock .travel-panel { position: relative; inset: auto; transform: none; width: 100%; max-width: 680px; min-height: 132px; padding: 12px 18px; border-radius: 8px; background: rgba(29,26,18,.96); border: 1px solid #8a7650; backdrop-filter: none; box-shadow: 0 4px 22px #0008; pointer-events: auto; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px 22px; }
.worldmap-travel-dock .travel-map-summary { min-width: 0; }
.worldmap-travel-dock .travel-route { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; font-size: 14px; overflow-wrap: anywhere; }
.worldmap-travel-dock .travel-timer { margin: 5px 0 0; font-size: 13px; color: #c5b99b; }
.worldmap-travel-dock .travel-timer strong { color: #dcefbd; }
.worldmap-travel-dock .travel-actions { margin: 0; display: flex; gap: 8px; }
.worldmap-travel-dock .travel-action-icon-btn { padding: 4px; }
.worldmap-travel-dock .travel-tip { grid-column: 1 / -1; min-height: 3.7em; margin: 0; padding: 10px 0 0; }
.worldmap-travel-dock .travel-panel:not(:has(.travel-actions)) .travel-map-summary { grid-column: 1 / -1; }
.worldmap-travel-dock:has(.travel-event-overlay) { z-index: 4000; }
.worldmap-travel-center { font: inherit; color: #e8d9b4; background: #302a1c; border: 1px solid #8a7650; border-radius: 4px; padding: 5px 8px; }
#worldMapOverlay.is-travel-mode .worldmap-zoom-controls .worldmap-travel-center { flex: 0 0 auto; width: auto; min-width: 100px; height: 36px; white-space: nowrap; padding: 5px 10px; }
#worldMapOverlay.is-travel-mode .worldmap-hero-actions { display: none; }
#worldMapOverlay.is-travel-mode .worldmap-hero { padding: 12px 18px; }
#worldMapOverlay.is-travel-mode .view-hero-main { min-width: 0; }
#worldMapOverlay.is-travel-mode .view-hero-copy { width: auto; }
#worldMapOverlay.is-travel-mode .travel-event-overlay { z-index: 2200; }
@media(max-width:1100px) {
 #worldMapOverlay.is-travel-mode .worldmap-travel-dock { grid-column: 1 / -1; grid-row: 1; }
}
@media(max-width:640px) {
 .worldmap-travel-dock .travel-panel { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px; }
 #worldMapOverlay.is-travel-mode .worldmap-world-info { display: none; }
 .worldmap-travel-dock .travel-route { font-size: 12px; flex-wrap: wrap; }
}

.travel-panel {
  position: absolute;
  left: 50%;
  top: 14%;

  transform: translateX(-50%);

  width: min(560px, calc(var(--canvas-visible-width, 1920px) - 32px));
  box-sizing: border-box;

  background: var(--ui-bg-panel);
  border: 1px solid var(--ui-border);
  backdrop-filter: blur(6px);

  
  border-radius: 10px;

  padding: 24px 28px 22px;

  text-align: center;

  box-shadow:
    0 0 40px rgba(0,0,0,0.6),
    inset 0 0 25px rgba(255,255,255,0.03);
}

.local-travel-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 850;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, var(--bottom-bar-clearance, 60px)) 24px;
  background: rgba(7, 10, 7, .4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.local-travel-view .travel-panel {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  zoom: var(--ui-user-scale, 1);
  pointer-events: auto;
}
body:has(.local-travel-view) #bottomBar { position: relative; z-index: 900; }
.local-travel-view .travel-route { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; }
.local-travel-view .travel-timer { margin:16px 0 12px; }
.local-travel-view .travel-progress { margin-bottom:18px; }
.local-travel-view > .travel-event-overlay {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: safe center;
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
}
.local-travel-view > .travel-event-overlay > .travel-event-card {
  box-sizing: border-box;
  width: min(568px, 100%);
  min-width: 0;
  flex-shrink: 0;
}
.local-travel-view:has(> .travel-event-overlay) > .travel-panel {
  visibility: hidden;
  pointer-events: none;
}

.travel-title,
.travel-event-kicker,
.travel-event-card h2 {
  font-family: var(--font-accent);
}

.travel-panel.quick-local-travel {
  top: 12%;
  width: 300px;
  padding: 14px 16px;
  border-color: rgba(214, 188, 116, 0.38);
  background:
    linear-gradient(180deg, rgba(28, 25, 16, 0.94), rgba(18, 17, 12, 0.9));
  box-shadow:
    0 16px 40px rgba(0,0,0,0.32),
    0 0 20px rgba(214, 188, 116, 0.08),
    inset 0 0 18px rgba(255,255,255,0.03);
}

.quick-local-travel-shell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.quick-local-travel-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(214, 188, 116, 0.14);
  border: 1px solid rgba(214, 188, 116, 0.22);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 229, 176, 0.82);
}

.quick-local-travel-route {
  display: block;
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.1;
  text-align: center;
  color: rgba(255,255,255,0.96);
}

/* TITLE */

.travel-title {
  font-size: 21px;
  margin-bottom: 10px;
  font-weight: 800;
}

/* Animated Traveling */

.travel-anim {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.travel-anim-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(247, 229, 176, 0.88);
  font-size: 14px;
  margin-bottom: 0;
}

.travel-quick-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247, 229, 176, 1), rgba(214, 188, 116, 0.88));
  box-shadow:
    0 0 0 0 rgba(247, 229, 176, 0.4),
    0 0 14px rgba(214, 188, 116, 0.35);
  animation: quickLocalTravelBlink 0.8s ease-in-out infinite;
}

.quick-local-travel-copy {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.travel-path-visual {
  --travel-progress: 0%;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  margin: 2px auto 16px;
  padding: 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(214, 188, 116, 0.18);
  background:
    radial-gradient(circle at var(--travel-progress) 50%, rgba(247, 229, 176, 0.12), transparent 18%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 0 18px rgba(214, 188, 116, 0.07);
}

.travel-path-visual-quick {
  width: 100%;
  margin: 0 auto 2px;
  padding: 6px 8px;
}

.travel-path-node {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 229, 176, 0.42);
  background: rgba(32, 25, 14, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 12px rgba(214, 188, 116, 0.16);
}

.travel-path-node-end {
  background: radial-gradient(circle, rgba(247, 229, 176, 0.94), rgba(151, 114, 47, 0.94));
}

.travel-path-line {
  position: relative;
  height: 7px;
  border-radius: 999px;
  overflow: visible;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 8px, transparent 8px 17px),
    rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.travel-path-line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--travel-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(173, 128, 58, 0.72), rgba(247, 229, 176, 0.92));
  box-shadow: 0 0 12px rgba(247, 229, 176, 0.22);
  transition: width 0.45s linear;
}

.travel-path-glint {
  position: absolute;
  inset: -9px auto -9px 0;
  width: 42px;
  border-radius: 999px;
  opacity: 0.72;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 202, 0.38), transparent);
  transform: translateX(-42px);
  animation: travelPathGlint 2.8s ease-in-out infinite;
}

.travel-path-marker {
  position: absolute;
  left: var(--travel-progress);
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  color: rgba(255, 242, 183, 0.96);
  background: radial-gradient(circle, rgba(74, 55, 24, 0.96), rgba(28, 22, 13, 0.98));
  border: 1px solid rgba(247, 229, 176, 0.42);
  box-shadow:
    0 0 0 3px rgba(247, 229, 176, 0.08),
    0 0 18px rgba(214, 188, 116, 0.26),
    0 6px 12px rgba(0, 0, 0, 0.28);
  transition: left 0.45s linear;
  animation: travelMarkerBob 1.05s ease-in-out infinite;
}

@keyframes travelPathGlint {
  0% { left: 0; opacity: 0; transform: translateX(-42px); }
  18% { opacity: 0.72; }
  64% { opacity: 0.72; }
  100% { left: 100%; opacity: 0; transform: translateX(0); }
}

@keyframes travelMarkerBob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -3px; }
}

@keyframes quickLocalTravelBlink {
  0% {
    transform: scale(0.9);
    box-shadow:
      0 0 0 0 rgba(247, 229, 176, 0.35),
      0 0 10px rgba(214, 188, 116, 0.22);
  }

  50% {
    transform: scale(1.15);
    box-shadow:
      0 0 0 7px rgba(247, 229, 176, 0),
      0 0 18px rgba(214, 188, 116, 0.45);
  }

  100% {
    transform: scale(0.9);
    box-shadow:
      0 0 0 0 rgba(247, 229, 176, 0),
      0 0 10px rgba(214, 188, 116, 0.22);
  }
}

.travel-dots::after {
  content: "";
  animation: travelDots 1.4s infinite;
}



@keyframes travelDots {
  0% { content: ""; }
  33% { content: "."; }
  66% { content: ".."; }
  100% { content: "..."; }
}

/* ROUTE */

.travel-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
  text-align: center;
}

.travel-route-stop {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.travel-route-stop small {
  color: rgba(214, 188, 116, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.travel-route-stop strong {
  min-width: 0;
  color: rgba(255,255,255,0.93);
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.travel-route-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 188, 116, 0.24);
  border-radius: 999px;
  color: rgba(247, 229, 176, 0.82);
  background: rgba(214, 188, 116, 0.08);
  font-weight: 900;
  line-height: 1;
}

/* TIMER */

.travel-timer {
  font-size: 18px;
  margin-top: 12px;
}

/* PROGRESS BAR */

.travel-progress {
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.travel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    #6ab04c,
    #badc58
  );
  transition: width 0.5s linear;
}

.quick-local-travel-progress {
  position: relative;
  width: 100%;
  height: 5px;
  margin-top: 2px;
  background: rgba(247, 229, 176, 0.06);
  overflow: hidden;
}

.quick-local-travel-progress .travel-progress-fill {
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(247, 229, 176, 0.2),
    rgba(214, 188, 116, 0.95),
    rgba(247, 229, 176, 0.2)
  );
  background-size: 180% 100%;
  animation: quickLocalTravelSweep 0.7s linear infinite;
}

.travel-flavour {

  margin-top: 18px;

  font-size: 14px;

  opacity: 0.75;

  font-style: italic;

  text-align: center;

  animation: flavourFade 0.5s ease;
}

.travel-tip {
  width: 100%;
  box-sizing: border-box;
  margin: 18px auto 0;
  padding: 12px 14px 0;
  border-top: 1px solid rgba(214, 188, 116, 0.18);
  color: rgba(247, 229, 176, 0.86);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.travel-tip-fade {
  animation: travelTipFade 0.42s ease;
}

@keyframes travelTipFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.travel-action-icon-btn {
  display: inline-grid;
  place-items: center;
  position: relative;
  appearance: none;
  flex: 0 0 44px;
  min-width: 44px;
  width: 44px;
  height: 36px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--mg-text-main, #ded1b4);
  box-shadow: none;
  text-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.travel-turn-back-btn img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  pointer-events: none;
}

.travel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 520px) {
  .travel-panel {
    top: 10%;
    padding: 20px 18px;
  }

  .travel-route {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .travel-route-arrow {
    width: 24px;
    height: 24px;
    justify-self: center;
    transform: rotate(90deg);
  }

  .travel-tip {
    padding-inline: 0;
    font-size: 12px;
  }
}

.travel-action-icon-btn:hover:not(:disabled),
.travel-action-icon-btn:focus-visible:not(:disabled) {
  background: rgba(214, 188, 116, 0.09);
  border-color: rgba(214, 188, 116, 0.25);
  color: rgba(247, 229, 176, 0.98);
}

.travel-action-icon-btn:disabled {
  cursor: wait;
  opacity: 0.58;
}

.travel-event-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 188, 116, 0.18), rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.72)),
    rgba(0, 0, 0, 0.38);
  animation: travelEventBackdrop 0.55s ease both;
}

.travel-event-card {
  width: min(520px, calc(var(--canvas-visible-width, 1920px) - 32px));
  padding: 24px;
  border: 1px solid rgba(225, 202, 132, 0.46);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(35, 31, 21, 0.98), rgba(18, 16, 12, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(214, 188, 116, 0.12),
    inset 0 0 26px rgba(255, 255, 255, 0.04);
  text-align: left;
  animation: travelEventCardPulse 1.2s ease-in-out infinite;
}

#travelEventArrivalResult > .travel-event-overlay {
  box-sizing: border-box;
  overflow-y: auto;
}

#travelEventArrivalResult .travel-event-card {
  box-sizing: border-box;
  width: min(568px, 100%);
}

.travel-event-kicker {
  margin-bottom: 8px;
  color: rgba(225, 202, 132, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.travel-event-card h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 245, 0.98);
  font-size: 26px;
  line-height: 1.1;
}

.travel-event-card p {
  margin: 0;
  color: rgba(238, 233, 215, 0.82);
  font-size: 15px;
  line-height: 1.5;
}

.travel-event-timer {
  --event-progress: 100%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 20px 0 18px;
  border-radius: 999px;
  background:
    conic-gradient(rgba(186, 220, 88, 0.94) var(--event-progress), rgba(255, 255, 255, 0.08) 0),
    rgba(0, 0, 0, 0.22);
  box-shadow:
    0 0 24px rgba(186, 220, 88, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.travel-event-timer::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: rgba(18, 16, 12, 0.96);
}

.travel-event-timer strong {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 245, 0.98);
  font-size: 22px;
}

.travel-event-pulse {
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(186, 220, 88, 0.28);
  animation: travelEventTimerPulse 0.9s ease-in-out infinite;
}

.travel-event-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.travel-event-choice {
  min-height: 42px;
  border: 1px solid rgba(225, 202, 132, 0.34);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(76, 63, 35, 0.9), rgba(43, 35, 22, 0.95));
  color: rgba(255, 255, 245, 0.94);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.travel-event-choice:hover:not(:disabled),
.travel-event-choice:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(186, 220, 88, 0.66);
  background: linear-gradient(180deg, rgba(104, 131, 70, 0.92), rgba(54, 72, 38, 0.96));
}

.travel-event-choice-muted {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(238, 233, 215, 0.78);
}

.travel-event-choice:disabled {
  cursor: wait;
  opacity: 0.62;
}

.travel-event-result-overlay {
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 202, 132, 0.16), rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.78)),
    rgba(0, 0, 0, 0.42);
}

.travel-event-result-card {
  animation: travelEventResultIn 0.28s ease both;
}

.travel-event-result-choice {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 5px 9px;
  border: 1px solid rgba(225, 202, 132, 0.26);
  border-radius: 999px;
  background: rgba(225, 202, 132, 0.1);
  color: rgba(247, 229, 176, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.travel-event-reward-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 20px;
  padding: 12px;
  border: 1px solid rgba(225, 202, 132, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.travel-event-reward-list span {
  color: rgba(226, 244, 178, 0.96);
  font-size: 14px;
  font-weight: 800;
}

.travel-event-reward-list.is-empty span {
  color: rgba(238, 233, 215, 0.64);
}

.travel-event-confirm {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(225, 202, 132, 0.4);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(86, 66, 33, 0.94), rgba(51, 39, 23, 0.98));
  color: rgba(255, 255, 245, 0.96);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.travel-event-confirm:hover,
.travel-event-confirm:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(186, 220, 88, 0.66);
  background: linear-gradient(180deg, rgba(104, 131, 70, 0.92), rgba(54, 72, 38, 0.96));
}

@keyframes travelEventBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes travelEventCardPulse {
  0%, 100% {
    border-color: rgba(225, 202, 132, 0.46);
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.72),
      0 0 42px rgba(214, 188, 116, 0.12),
      inset 0 0 26px rgba(255, 255, 255, 0.04);
  }
  50% {
    border-color: rgba(246, 231, 176, 0.68);
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.72),
      0 0 54px rgba(214, 188, 116, 0.22),
      inset 0 0 30px rgba(255, 255, 255, 0.055);
  }
}

@keyframes travelEventTimerPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.55;
  }

  70% {
    transform: scale(1.12);
    opacity: 0;
  }

  100% {
    transform: scale(0.92);
    opacity: 0;
  }
}

@keyframes travelEventResultIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-local-travel .travel-action-icon-btn {
  margin-top: 2px;
  height: 30px;
  min-width: 44px;
  font-size: 12px;
}

.quick-local-travel-timer {
  display: none;
}

.quick-local-travel-flavour {
  margin-top: 0;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 229, 176, 0.58);
}

@keyframes flavourFade {

  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 0.75;
    transform: translateY(0);
  }

}

@keyframes quickLocalTravelSweep {
  0% {
    background-position: 180% 0;
  }

  100% {
    background-position: -20% 0;
  }
}
.travel-camp-icon-btn img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  pointer-events: none;
}
