/* Motion for the actual world: controls answer a press, stages answer server time.
   Theme-independent geometry; foreground effects use the bot's active palette. */
#tab-clan.clan-renewal .clan-motion-enabled :is(.land-map-round,.land-search-button,.land-world-actions button,.clan-cta,.land-building-list>button,.land-settlement-actions button,.land-links button,.land-sheet-close,.land-world-sheet>header button) {
  transition:transform 130ms cubic-bezier(.2,.8,.2,1),background-color 150ms,border-color 150ms,box-shadow 150ms;
  transform-origin:center;
  -webkit-tap-highlight-color:transparent;
}
#tab-clan.clan-renewal .clan-motion-enabled :is(.land-map-round,.land-search-button,.land-world-actions button,.clan-cta,.land-building-list>button,.land-settlement-actions button,.land-links button,.land-sheet-close,.land-world-sheet>header button):not(:disabled):active {
  transform:scale(.975);
}
#tab-clan.clan-renewal .clan-motion-enabled :is(.land-sheet-backdrop,.land-world-sheet,.land-map-selection) {
  will-change:auto;
}
#tab-clan.clan-renewal .clan-motion-enabled [data-motion-closing] { pointer-events:none; }
#tab-clan.clan-renewal .land-structure-art { transform-box:fill-box;transform-origin:50% 85%; }
#tab-clan.clan-renewal [data-structure][data-stage="construction"] .land-structure-art {
  opacity:calc(.27 + var(--build-progress,0) * .48);
  filter:saturate(.72);
}
#tab-clan.clan-renewal .land-build-foundation { fill:#34231326;stroke:#dfbd76;stroke-width:1;stroke-dasharray:3 2; }
#tab-clan.clan-renewal .land-build-scaffold { fill:none;stroke:#cb9959;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round; }
#tab-clan.clan-renewal .land-build-roof { fill:none;stroke:#e1bd77;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
#tab-clan.clan-renewal [data-phase="foundation"] :is(.land-build-scaffold,.land-build-roof) { visibility:hidden; }
#tab-clan.clan-renewal [data-phase="frame"] .land-build-roof { visibility:hidden; }
#tab-clan.clan-renewal .land-build-meter { fill:#18232cdc;stroke:#ffffff50;stroke-width:.45; }
#tab-clan.clan-renewal .land-build-meter-fill { fill:#f1ce88; }
#tab-clan.clan-renewal [data-awaiting="true"] .land-build-meter-fill { fill:#cbe0d9; }
#tab-clan.clan-renewal .land-build-complete-ring {
  fill:none;stroke:var(--accent,#e9bc68);stroke-width:1.7;
  transform-box:fill-box;transform-origin:center;
}
#tab-clan.clan-renewal .land-build-spark { fill:#ffdc91; }
html[data-theme="light"] #tab-clan.clan-renewal .land-build-spark { fill:#a57525; }
#tab-clan.clan-renewal .land-build-complete { pointer-events:none; }

/* Idle is deliberately confined to small moving vehicles, never the map canvas. */
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) .land-caravan[data-vessel="boat"] .land-boat-art {
  animation:land-boat-float-348 3.8s ease-in-out infinite;
  transform-origin:center;transform-box:fill-box;
}
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) .land-caravan[data-vessel="wagon"] .land-wagon-art {
  animation:land-wagon-travel-348 1.9s ease-in-out infinite;
  transform-origin:center;transform-box:fill-box;
}
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) .land-squad>.land-sprite {
  animation:land-squad-travel-348 2.6s ease-in-out infinite;
  transform-origin:50% 85%;transform-box:fill-box;
}
@keyframes land-boat-float-348 {
  0%,100% { transform:translateY(.5px) rotate(-.6deg); }
  50% { transform:translateY(-.5px) rotate(.6deg); }
}
@keyframes land-wagon-travel-348 {
  0%,100% { transform:translateY(0); }
  45% { transform:translateY(-.4px) rotate(.3deg); }
  75% { transform:translateY(.25px) rotate(-.2deg); }
}
@keyframes land-squad-travel-348 {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-.5px); }
}
#tab-clan.clan-renewal .clan-motion-paused :is(.land-boat-art,.land-wagon-art,.land-squad>.land-sprite) { animation-play-state:paused; }
#tab-clan.clan-renewal .land-stage.has-sheet :is(.land-boat-art,.land-wagon-art,.land-squad>.land-sprite) { animation-play-state:paused; }
#tab-clan.clan-renewal .world-wide :is(.land-build-scaffold,.land-build-roof,.land-build-complete) { display:none; }

/* Numeric and live delivery indicators update in place instead of replaying entrance. */
#tab-clan.clan-renewal :is([data-build-countdown],[data-build-progress],[data-trip-countdown]) { font-variant-numeric:tabular-nums; }
#tab-clan.clan-renewal .land-caravan-info progress::-webkit-progress-value { transition:width 180ms linear; }
@media (prefers-reduced-motion:reduce) {
  #tab-clan.clan-renewal .clan-motion-enabled :is(button,.land-structure-art,.land-boat-art,.land-wagon-art,.land-squad>.land-sprite) { animation:none!important;transition:none!important; }
  #tab-clan.clan-renewal .land-build-complete { display:none; }
  #tab-clan.clan-renewal .land-caravan-info progress::-webkit-progress-value { transition:none; }
}

/* Ready workshops breathe quietly. Only a server-confirmed working building
   emits smoke; these CSS cycles share a clock phase across chunk replacement. */
#tab-clan.clan-renewal .land-structure-life { pointer-events:none; }
#tab-clan.clan-renewal .land-structure-life>.land-window-light {
  fill:#f1c47a; opacity:.28; stroke:none;
}
#tab-clan.clan-renewal .land-chimney-smoke { opacity:0; pointer-events:none; }
#tab-clan.clan-renewal .land-chimney-smoke circle {
  fill:#d9ddd7; stroke:none; opacity:0;
  transform-box:fill-box; transform-origin:center;
}
html[data-theme="light"] #tab-clan.clan-renewal .land-chimney-smoke circle { fill:#89988b; }
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) [data-stage="ready"].is-working .land-chimney-smoke { opacity:1; }
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) [data-stage="ready"].is-working .land-chimney-smoke circle {
  animation:land-workshop-smoke-348 6.4s linear infinite;
  animation-delay:var(--clan-smoke-offset,0s);
}
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) [data-stage="ready"].is-working .land-chimney-smoke circle:nth-child(2) { animation-delay:calc(var(--clan-smoke-offset,0s) - 2.13s); }
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) [data-stage="ready"].is-working .land-chimney-smoke circle:nth-child(3) { animation-delay:calc(var(--clan-smoke-offset,0s) - 4.26s); }
#tab-clan.clan-renewal .clan-motion-enabled:not(.world-wide) [data-stage="ready"].is-working .land-window-light {
  animation:land-workshop-lamp-348 8.2s ease-in-out infinite;
  animation-delay:var(--clan-lamp-offset,0s);
}
@keyframes land-workshop-smoke-348 {
  0% { opacity:0; transform:translate(0,.7px) scale(.85); }
  22% { opacity:.15; }
  58% { opacity:.10; }
  100% { opacity:0; transform:translate(1.1px,-3.2px) scale(1.2); }
}
@keyframes land-workshop-lamp-348 {
  0%,100% { opacity:.28; }
  50% { opacity:.46; }
}
#tab-clan.clan-renewal :is(.clan-motion-paused,.land-stage.has-sheet) .land-structure-life :is(.land-window-light,.land-chimney-smoke circle) { animation-play-state:paused; }
#tab-clan.clan-renewal .clan-motion-paused .land-chimney-smoke,
#tab-clan.clan-renewal .world-wide .land-structure-life { visibility:hidden; }
@media (prefers-reduced-motion:reduce) {
  #tab-clan.clan-renewal .land-structure-life :is(.land-window-light,.land-chimney-smoke circle) { animation:none!important; }
  #tab-clan.clan-renewal .land-chimney-smoke { visibility:hidden; }
}
