/* The market explorer shares pudding's warm surfaces and precise, quiet controls. */
#world {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px 7%;
}
#world .world-globe-stage {
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}
#world-globe {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  outline-offset: -4px;
}
/* Pointer users see the country highlight, never a canvas-sized focus frame. */
#world-globe:focus {
  outline: none;
}
#world-globe:focus-visible:not([data-focus-origin="pointer"]) {
  outline: 2px solid var(--pudding-chocolate);
  outline-offset: -4px;
  border-radius: 24px;
}
#world .world-globe-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#world .world-globe-stage.is-ready .world-globe-fallback {
  visibility: hidden;
}
#world .world-globe-stage.is-unavailable #world-globe {
  visibility: hidden;
}
.world-globe-status {
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  margin: 0;
  padding: 9px 10px;
  color: var(--pudding-cocoa);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  background: rgba(var(--pudding-cream-soft-rgb), 0.9098039215686274);
  border-radius: 10px;
  pointer-events: none;
}
.world-globe-country-label {
  /* Hide the badge while a retained document is loading its current script. */
  display: none;
}
/* Country details stay beside the globe, with one route to the full market hub. */
.world-market-panel {
  min-width: 0;
}
.world-market-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.world-market-flag {
  flex: 0 0 auto;
  width: 36px;
  height: 27px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(var(--pudding-white-rgb), 0.12941176470588237);
}
.world-market-summary {
  min-width: 0;
}
.world-market-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  margin: 22px 0;
}
.world-market-stat {
  min-width: 0;
}
.world-market-stat dt {
  color: var(--pudding-taupe);
  font-size: 12px;
}
.world-market-stat dd {
  margin: 7px 0;
  font-size: clamp(22px, 2.3vw, 32px);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.world-market-stat small {
  color: var(--pudding-taupe);
  font-size: 11px;
}
.world-market-trade-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.world-market-trade-list li {
  border: 1px solid rgba(var(--pudding-line-rgb), 0.12156862745098039);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(var(--pudding-cream-soft-rgb), 0.03137254901960784);
  color: var(--pudding-taupe);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.world-market-action {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--pudding-line);
  background: var(--pudding-golden);
  color: var(--pudding-cream-soft);
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
}
.world-market-action svg {
  flex: 0 0 18px;
}
.world-market-action:hover {
  background: var(--pudding-golden);
}
.world-market-action:focus-visible {
  outline: 2px solid var(--pudding-chocolate);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
