.world-section-nav {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .2);
  overflow-x: auto;
  scrollbar-width: thin;
}

.world-section-nav button {
  flex: 1 0 auto;
  width: auto;
  min-height: 38px;
  padding: 8px 13px;
  border-color: transparent;
  white-space: nowrap;
}

.world-section-nav button.active {
  border-color: rgba(240, 200, 75, .62);
  color: var(--gold);
  background: linear-gradient(180deg, rgba(240, 200, 75, .17), rgba(240, 200, 75, .06));
}

.world-section-panel:not(.is-world-section-active) {
  display: none !important;
}

.world-overview-panel {
  position: relative;
  overflow: hidden;
  gap: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(240, 200, 75, .12), transparent 38%),
    linear-gradient(145deg, var(--panel), #181a17);
}

.world-overview-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -160px;
  border: 1px solid rgba(240, 200, 75, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(240, 200, 75, .025), 0 0 0 68px rgba(240, 200, 75, .018);
  pointer-events: none;
}

.world-overview-copy {
  max-width: 680px;
}

.world-region-shell,
.world-city-routes {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.world-city-scene-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.world-city-scene-hint {
  color: var(--muted);
  font-size: 13px;
}

.world-city-scene {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(240, 200, 75, .42);
  border-radius: 20px;
  background: #0e1112;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .42);
  isolation: isolate;
}

.world-city-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 10, .08) 45%, rgba(5, 8, 10, .54) 100%);
}

.world-city-scene-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease, transform 940ms ease;
}

.world-scene-atmosphere {
  position: absolute;
  inset: -8% -12%;
  z-index: 1;
  pointer-events: none;
  opacity: .2;
  background: radial-gradient(ellipse at 50% 58%, rgba(220, 229, 220, .14), transparent 54%);
  animation: world-scene-drift 9s ease-in-out infinite alternate;
}

@keyframes world-scene-drift {
  from { transform: translate3d(-1.5%, 0, 0); opacity: .14; }
  to { transform: translate3d(1.5%, -1%, 0); opacity: .24; }
}

.world-scene-hotspot {
  position: absolute;
  z-index: 3;
  width: auto;
  min-width: 150px;
  min-height: 58px;
  padding: 9px 14px;
  display: grid;
  gap: 2px;
  text-align: left;
  border-color: rgba(240, 200, 75, .56);
  border-radius: 12px;
  color: #fff5d5;
  background: linear-gradient(145deg, rgba(18, 21, 20, .9), rgba(18, 14, 10, .78));
  box-shadow: 0 10px 24px rgba(0, 0, 0, .42), inset 0 0 18px rgba(240, 200, 75, .07);
  backdrop-filter: blur(5px);
}

.world-scene-hotspot[hidden] { display: none; }

.world-scene-hotspot strong { font-size: 15px; }
.world-scene-hotspot span { color: #d7d0bd; font-size: 11px; }
.world-scene-hotspot:hover { transform: translateY(-2px) scale(1.02); border-color: var(--gold); }
.hotspot-arena { left: 7%; top: 15%; }
.hotspot-market { right: 9%; top: 35%; }
.hotspot-healer { left: 5%; bottom: 20%; }
.hotspot-workshop { right: 5%; bottom: 16%; }
.hotspot-north-gate { left: 50%; top: 7%; transform: translateX(-50%); }
.hotspot-north-gate:hover { transform: translateX(-50%) translateY(-2px) scale(1.02); }
.hotspot-back-city,
.hotspot-back-gate { left: 5%; bottom: 12%; }
.hotspot-resource-route,
.hotspot-enter-resource { right: 5%; bottom: 12%; }

.world-scene-character {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 4%;
  width: 116px;
  height: 170px;
  transform: translateX(-50%);
  transition: transform 760ms cubic-bezier(.32, .72, .22, 1), opacity 180ms ease, filter 180ms ease;
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .78));
}

.world-city-scene.is-walking .world-scene-character {
  transform: translate(-50%, -112px) scale(.72);
  filter: drop-shadow(0 9px 7px rgba(0, 0, 0, .65));
}

.world-city-scene.is-transitioning .world-city-scene-art,
.world-city-scene.is-transitioning .world-scene-character { opacity: 0; }

.world-scene-character img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.world-region-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.world-region-heading h3 {
  margin: 0;
}

.world-region-status {
  max-width: 50%;
  padding: 7px 10px;
  border: 1px solid rgba(101, 212, 138, .32);
  border-radius: 999px;
  color: #a8edbd;
  background: rgba(101, 212, 138, .07);
  font-size: 12px;
  text-align: right;
}

.world-region-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(240, 200, 75, .42);
  border-radius: 20px;
  background: #0b0e0d;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .42);
  isolation: isolate;
}

.world-region-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 8, 10, .02) 48%, rgba(5, 8, 10, .38) 100%);
  pointer-events: none;
}

.world-region-map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.world-location-node {
  position: absolute;
  z-index: 3;
  width: auto;
  min-width: 160px;
  max-width: 210px;
  min-height: 62px;
  padding: 9px 13px;
  display: grid;
  gap: 2px;
  text-align: left;
  border-color: rgba(240, 200, 75, .5);
  border-radius: 12px;
  color: #fff5d5;
  background: linear-gradient(145deg, rgba(18, 21, 20, .92), rgba(18, 14, 10, .82));
  box-shadow: 0 10px 24px rgba(0, 0, 0, .48), inset 0 0 18px rgba(240, 200, 75, .06);
  backdrop-filter: blur(5px);
}

.world-location-node:hover:not(:disabled) {
  border-color: rgba(240, 200, 75, .62);
  transform: translateY(-2px);
}

.world-location-node.is-current,
.world-location-node.is-current:disabled {
  opacity: 1;
  border-color: #65d48a;
  color: var(--text);
  background: linear-gradient(145deg, rgba(42, 79, 53, .98), rgba(23, 40, 29, .98));
  box-shadow: 0 0 0 2px rgba(101, 212, 138, .13), 0 12px 30px rgba(0, 0, 0, .3);
}

.world-location-node strong { color: var(--text); font-size: 14px; }
.world-location-node small { color: #d7d0bd; line-height: 1.3; }
.world-location-action { margin-top: 4px; color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.world-location-node.is-current .world-location-action { color: #9ceab4; }
.region-resource-grounds { left: 4%; top: 25%; }
.region-common-workshop { right: 4%; top: 28%; }
.region-craft-workshop { left: 4%; bottom: 7%; }
.region-assembly-bench { right: 4%; bottom: 7%; }

.world-city-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.world-city-route-grid button {
  min-width: 0;
  min-height: 76px;
  display: grid;
  gap: 4px;
  text-align: left;
  border-color: var(--line);
  background: rgba(255, 255, 255, .035);
}

.world-city-route-grid strong { color: var(--text); }
.world-city-route-grid span { color: var(--muted); font-size: 11px; }

.world-overview-copy h2,
.profession-hub h2,
.profession-hub h3,
.profession-hub h4,
.profession-workspace h3,
.profession-workspace h4 {
  margin: 0;
}

.world-overview-copy p,
.profession-section-title p,
.profession-role-copy,
.profession-workspace-copy {
  color: var(--muted);
  line-height: 1.5;
}

.world-district-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.world-district-grid button {
  width: 100%;
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 5px;
  text-align: left;
  border-color: var(--line);
  background: rgba(255, 255, 255, .035);
}

.world-district-grid button:hover {
  border-color: rgba(240, 200, 75, .48);
}

.world-district-grid strong {
  color: var(--text);
  font-size: 15px;
}

.world-district-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.profession-hub {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  gap: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(101, 212, 138, .08), transparent 34%),
    var(--panel);
}

.profession-hub-head,
.profession-section-title {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profession-hub-head > *,
.profession-section-title > * {
  min-width: 0;
}

.profession-section-title {
  align-items: end;
  margin-bottom: 10px;
}

.profession-section-title.compact {
  margin-bottom: 8px;
}

.profession-section-title p {
  max-width: 560px;
  margin: 0;
  font-size: 12px;
}

.profession-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.profession-baseline {
  box-sizing: border-box;
  padding: 8px 11px;
  border: 1px solid rgba(101, 212, 138, .34);
  border-radius: 999px;
  color: var(--good);
  background: rgba(101, 212, 138, .08);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.profession-career-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.profession-slot {
  min-width: 0;
  min-height: 76px;
  padding: 11px;
  border: 1px dashed #51564c;
  border-radius: 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: rgba(0, 0, 0, .13);
}

.profession-slot.filled {
  border-style: solid;
  border-color: rgba(240, 200, 75, .38);
  background: rgba(240, 200, 75, .055);
}

.profession-slot span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profession-slot strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profession-slot small {
  color: var(--muted);
}

.profession-hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 16px;
  align-items: start;
}

.profession-directory,
.profession-workspace {
  min-width: 0;
}

.profession-directory h4 {
  margin: 13px 0 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profession-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profession-card {
  width: 100%;
  min-width: 0;
  min-height: 118px;
  padding: 11px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  text-align: left;
  border-color: var(--line);
  background: rgba(255, 255, 255, .025);
}

.profession-card:hover,
.profession-card.selected {
  border-color: rgba(240, 200, 75, .5);
  background: rgba(240, 200, 75, .055);
}

.profession-card.selected {
  box-shadow: inset 3px 0 0 var(--gold);
}

.profession-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 200, 75, .3);
  border-radius: 10px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(240, 200, 75, .13), rgba(0, 0, 0, .08));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.profession-card-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
}

.profession-card-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.profession-card-title strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profession-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.profession-card-meta,
.profession-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.profession-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, .12);
  font-size: 9px;
  font-weight: 800;
}

.profession-state.good {
  color: var(--good);
  border-color: rgba(101, 212, 138, .3);
}

.profession-state.gold {
  color: var(--gold);
  border-color: rgba(240, 200, 75, .3);
}

.profession-workspace {
  position: sticky;
  top: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  background: linear-gradient(145deg, var(--panel-2), #20231f);
}

.profession-workspace-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.profession-workspace-header .profession-mark {
  width: 52px;
  height: 52px;
  font-size: 14px;
}

.profession-workspace-copy {
  margin: 3px 0 0;
  font-size: 12px;
}

.profession-question {
  padding: 11px;
  border-left: 3px solid var(--gold);
  background: rgba(240, 200, 75, .055);
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.profession-fact-grid,
.profession-resource-grid,
.profession-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.profession-fact,
.profession-resource,
.profession-market-fact {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  background: rgba(0, 0, 0, .11);
}

.profession-fact span,
.profession-resource span,
.profession-market-fact span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.profession-fact strong,
.profession-resource strong,
.profession-market-fact strong {
  overflow-wrap: anywhere;
}

.profession-resource strong,
.profession-market-fact strong {
  color: var(--gold);
}

.profession-resource small {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.profession-resource-visual > .resource-identity {
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.profession-resource-flow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.profession-resource-flow .resource-identity {
  color: var(--text);
}

.profession-chain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.profession-chain span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(0, 0, 0, .1);
  font-size: 10px;
}

.profession-chain i {
  color: var(--gold);
  font-style: normal;
}

.profession-connected-workspace {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(240, 200, 75, .22);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  background: rgba(240, 200, 75, .035);
}

.profession-reinforcement-form,
.profession-socket-form,
.profession-alchemist-form,
.profession-production-form,
.profession-assembly-form {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profession-reinforcement-form label,
.profession-socket-form label,
.profession-alchemist-form label,
.profession-production-form label,
.profession-assembly-form label {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.profession-reinforcement-form select,
.profession-socket-form select,
.profession-alchemist-form select,
.profession-production-form select,
.profession-production-form input,
.profession-assembly-form select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  box-sizing: border-box;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-2);
}

.profession-reinforcement-review,
.profession-socket-review,
.profession-alchemist-review,
.profession-assembly-review {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(240, 200, 75, .5);
  border-radius: 9px;
  display: grid;
  gap: 7px;
  background: rgba(240, 200, 75, .08);
}

.profession-reinforcement-review span,
.profession-reinforcement-review strong,
.profession-socket-review span,
.profession-socket-review strong,
.profession-alchemist-review span,
.profession-alchemist-review strong,
.profession-assembly-review span,
.profession-assembly-review strong {
  overflow-wrap: anywhere;
}

.profession-reinforcement-review > span:not(.profession-eyebrow),
.profession-socket-review > span:not(.profession-eyebrow),
.profession-alchemist-review > span:not(.profession-eyebrow),
.profession-assembly-review > span:not(.profession-eyebrow) {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.profession-reinforcement-warning,
.profession-socket-warning,
.profession-alchemist-warning,
.profession-assembly-warning {
  color: var(--gold);
  font-size: 11px;
  line-height: 1.4;
}

.profession-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.profession-action-row button {
  width: auto;
  min-height: 38px;
}

.profession-action-row .profession-action-note {
  flex: 1 1 180px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.profession-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.profession-mode-tabs button {
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
}

.profession-mode-tabs button.selected {
  color: var(--gold);
  border-color: rgba(240, 200, 75, .62);
  background: rgba(240, 200, 75, .09);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.profession-mode-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.profession-goal-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(240, 200, 75, .38);
  border-radius: 10px;
  display: grid;
  gap: 9px;
  background: linear-gradient(135deg, rgba(240, 200, 75, .09), rgba(101, 212, 138, .025));
}

.profession-goal-card > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profession-goal-card span,
.profession-goal-card small {
  color: var(--muted);
}

.profession-goal-card strong {
  overflow-wrap: anywhere;
}

.profession-goal-card.ready {
  border-color: rgba(101, 212, 138, .48);
  box-shadow: inset 3px 0 0 var(--good);
}

.profession-qualification-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  list-style: none;
}

.profession-qualification-steps li {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  color: var(--muted);
  background: rgba(0, 0, 0, .1);
}

.profession-qualification-steps li > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.profession-qualification-steps li strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
}

.profession-qualification-steps li.active {
  color: var(--gold);
  border-color: rgba(240, 200, 75, .48);
  background: rgba(240, 200, 75, .065);
}

.profession-qualification-steps li.done {
  color: var(--good);
  border-color: rgba(101, 212, 138, .3);
}

.profession-requirement-grid,
.profession-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profession-requirement {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  gap: 3px;
  background: rgba(0, 0, 0, .12);
}

.profession-requirement span,
.profession-requirement small {
  color: var(--muted);
}

.profession-requirement strong {
  font-size: 19px;
}

.profession-requirement.ready {
  border-color: rgba(101, 212, 138, .35);
}

.profession-requirement.missing {
  border-color: rgba(255, 111, 125, .38);
}

.profession-requirement.missing strong,
.profession-action-reason.blocked {
  color: var(--danger);
}

.profession-choice-card {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 5px;
  text-align: left;
  border-color: var(--line);
  background: rgba(0, 0, 0, .1);
}

.profession-choice-card span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profession-choice-card small {
  color: var(--muted);
  line-height: 1.4;
}

.profession-choice-card.selected {
  border-color: rgba(240, 200, 75, .65);
  background: rgba(240, 200, 75, .075);
  box-shadow: inset 3px 0 0 var(--gold);
}

.profession-primary-action {
  padding: 11px;
  border: 1px solid rgba(240, 200, 75, .22);
  border-radius: 9px;
  background: rgba(240, 200, 75, .035);
}

.profession-next-step {
  display: grid;
  gap: 9px;
  padding: 15px;
  border: 1px solid rgba(240, 200, 75, .48);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 200, 75, .11), rgba(45, 160, 95, .045));
  box-shadow: inset 3px 0 0 rgba(240, 200, 75, .72);
}

.profession-next-step h4,
.profession-next-step p { margin: 0; }

.profession-next-step p {
  color: var(--muted);
  line-height: 1.5;
}

.profession-next-step-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profession-next-step-facts span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
}

.profession-next-step-facts strong { color: var(--text); }

.profession-next-step .profession-primary-action,
.profession-next-step .profession-primary-action button { width: 100%; }

.profession-guided-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 7px;
  list-style: none;
}

.profession-guided-steps li {
  min-width: 0;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, .12);
}

.profession-guided-steps li > span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.profession-guided-steps li.active { color: var(--gold); border-color: rgba(240, 200, 75, .65); }
.profession-guided-steps li.done { color: var(--good); border-color: rgba(72, 190, 115, .4); }

.profession-guided-handoff {
  margin-bottom: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(240, 200, 75, .6);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 200, 75, .13), rgba(45, 160, 95, .07));
  box-shadow: inset 3px 0 0 var(--gold);
}

.profession-guided-handoff p { margin: 0; color: var(--muted); line-height: 1.45; }
.profession-guided-target { outline: 2px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 18px rgba(240, 200, 75, .22); }
.profession-secondary-work { margin-top: 4px; }

.profession-hunter-details > section,
.profession-hunter-details > .profession-chain { margin-top: 12px; }

.profession-action-reason {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
}

.profession-action-reason.ready {
  color: var(--good);
}

.profession-technical-details,
.profession-item-technical {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .08);
}

.profession-technical-details {
  padding: 9px 11px;
}

.profession-technical-details summary,
.profession-item-technical summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.profession-technical-details[open] summary {
  margin-bottom: 9px;
}

.profession-technical-details p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.profession-item-technical {
  padding: 5px 7px;
}

.profession-item-technical[open] small {
  display: block;
  margin-top: 5px;
}

.profession-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}

.profession-operation-message {
  min-height: 20px;
}

@media (max-width: 980px) {
  .world-district-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profession-career-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profession-hub-layout {
    grid-template-columns: 1fr;
  }

  .profession-workspace {
    position: static;
  }

  .world-city-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .world-city-scene {
    min-height: 430px;
    border-radius: 15px;
  }

  .world-city-scene-art { object-position: 50% center; }

  .world-scene-hotspot {
    width: 142px;
    min-width: 118px;
    min-height: 50px;
    padding: 7px 9px;
  }

  .hotspot-north-gate { top: 5%; }
  .hotspot-back-city,
  .hotspot-back-gate { left: 4%; bottom: 7%; }
  .hotspot-resource-route,
  .hotspot-enter-resource { right: 4%; bottom: 7%; }

  .world-city-scene[data-world-scene-id="scene:north_gate_road"] .world-city-scene-art,
  .world-city-scene[data-world-scene-id="scene:common_resource_grounds"] .world-city-scene-art {
    object-position: 50% center;
  }

  .world-city-scene.is-walking .world-scene-character { transform: translate(-50%, -92px) scale(.72); }

  .world-scene-hotspot strong { font-size: 13px; }
  .world-scene-hotspot span { font-size: 9px; }
  .hotspot-arena { left: 3%; top: 12%; }
  .hotspot-market { right: 3%; top: 32%; }
  .hotspot-healer { left: 3%; bottom: 28%; }
  .hotspot-workshop { right: 3%; bottom: 9%; }

  .world-scene-character {
    width: 86px;
    height: 132px;
    bottom: 7%;
  }

  .world-section-nav {
    margin-inline: 0;
  }

  .world-section-nav button {
    flex: 0 0 auto;
  }

  .world-region-heading {
    display: grid;
    gap: 8px;
  }

  .world-region-status {
    max-width: 100%;
    width: fit-content;
    text-align: left;
  }

  .world-region-map {
    min-height: 500px;
    border-radius: 15px;
  }

  .world-location-node {
    width: 142px;
    min-width: 118px;
    max-width: 46%;
    min-height: 54px;
    padding: 7px 9px;
  }
  .world-location-node strong { font-size: 12px; }
  .world-location-node small { font-size: 9px; }
  .world-location-action { font-size: 9px; }
  .region-resource-grounds { left: 3%; top: 20%; }
  .region-common-workshop { right: 3%; top: 32%; }
  .region-craft-workshop { left: 3%; bottom: 22%; }
  .region-assembly-bench { right: 3%; bottom: 7%; }

  .world-district-grid,
  .profession-career-slots,
  .profession-card-grid,
  .profession-fact-grid,
  .profession-resource-grid,
  .profession-market-grid,
  .profession-mode-tabs,
  .profession-qualification-steps,
  .profession-requirement-grid,
  .profession-choice-grid,
  .profession-reinforcement-form,
  .profession-socket-form,
  .profession-alchemist-form,
  .profession-production-form,
  .profession-assembly-form {
    grid-template-columns: 1fr;
  }

  .profession-hub-head,
  .profession-section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .profession-baseline {
    width: max-content;
    max-width: 100%;
    white-space: normal;
  }

  .profession-card {
    min-height: 0;
  }

  .profession-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .profession-action-row button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-city-scene-art,
  .world-scene-character { transition-duration: 1ms; }
  .world-scene-atmosphere { animation: none; }
}

/* Keep Jeweler native controls readable without mobile focus auto-zoom. */
@media (max-width: 980px), (pointer: coarse) {
  .profession-socket-form select {
    font-size: 16px;
  }
}
