.system-bar { flex-wrap: wrap; }
.system-nav { flex-wrap: wrap; }
.system-nav button[data-locked="true"] { color: #6e665d; background: #f3eee4; }
.system-nav button[data-locked="true"][aria-pressed="true"] { background: #746758; color: white; }
.system-nav button[data-placeholder="true"]:not([aria-pressed="true"]) { color: #776685; }
.world-layout { --hue: #5f6659; --tint: #eef0df; --wash: #f8f7eb; }
.world-layout[data-system="ranch"] { --hue: #53703f; --tint: #e5edcd; --wash: #f6f8ea; }
.world-layout[data-system="science"] { --hue: #3e6979; --tint: #deedf0; --wash: #f0f8f8; }
.world-layout[data-system="building"] { --hue: #8a5941; --tint: #f1dec3; --wash: #fdf2e3; }
.world-layout[data-system="media"] { --hue: #776386; --tint: #e9e0f0; --wash: #f7effa; }
.world-layout[data-system="medicine"] { --hue: #6a537e; --tint: #e8e1f4; --wash: #f7f0fb; }
.world-layout[data-system="compute"] { --hue: #326b66; --tint: #daede3; --wash: #eef8ef; }
.world-hero, .world-panel { border: 1px solid var(--line); border-radius: 21px; min-width: 0; box-shadow: 0 3px 0 #b9a78312; }
.world-hero { text-align: center; display: grid; justify-items: center; padding: 27px 16px 22px; background: linear-gradient(to bottom,var(--wash) 0 72%,var(--tint) 72%); }
.world-hero h2 { color: var(--hue); font-size: 25px; }
.world-hero .eyebrow { color: var(--hue); margin-bottom: 5px; }
.world-art { display: block; width: min(250px,78%); height: 220px; object-fit: contain; margin: 8px 0 5px; filter: drop-shadow(0 5px 0 #745e461d); }
.world-panel { padding: 15px; background: var(--paper); }
.world-panel > h2 { font-size: 19px; color: var(--hue); margin-bottom: 11px; }
.world-locked, .world-state { color: #5e574f; background: var(--wash); border: 1px dashed var(--line); border-radius: 9px; padding: 8px 9px; font-size: 12px; line-height: 1.55; }
.world-locked { margin-bottom: 3px; }
.world-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; background: #fbf8ef; border-radius: 9px; border: 1px solid var(--line); padding: 8px; margin-top: 5px; }
.world-row h3 { font-size: 13px; margin-bottom: 2px; }
.world-row p { font-size: 11px; color: #685f54; line-height: 1.5; }
.world-row .world-effect { color: var(--hue); font-weight: 750; }
.world-button { background: var(--hue); color: #fffdfa; border: 1px solid #382c342e; border-radius: 7px; min-height: 35px; padding: 4px 7px; cursor: pointer; font-weight: 750; font-size: 11px; white-space: nowrap; }
.world-button:hover:not(:disabled) { filter: brightness(.88); }
.world-button:disabled { color: #70685c; background: #eee8dd; border-color: #e7dfd0; cursor: default; }
.world-status-box { display: grid; gap: 5px; margin-bottom: 7px; }
.world-status-box .world-button { justify-self: start; }
.world-progress { width: 100%; height: 10px; accent-color: var(--hue); }
.world-plots { margin: 7px 0; display: grid; gap: 4px; }
.world-plot { background: var(--wash); padding: 5px; border-radius: 6px; display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; align-items: center; font-size: 11px; }
.world-plot small { font-size: 10px; grid-column: 1; color: #6e6057; }
.world-select { grid-column: 2; grid-row: 1 / span 2; background: #fffbf3; border: 1px solid var(--line); border-radius: 5px; color: #4e3b30; min-width: 80px; min-height: 32px; font-size: 11px; }
.world-reserve { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 11px; }
.world-reserve input { width: 79px; font: inherit; border: 1px solid var(--line); border-radius: 5px; min-height: 32px; padding: 3px 4px; }
@media (max-width: 800px) { .world-hero { padding-top: 17px; } .world-art { height: 170px; } }
.world-row { grid-template-columns: 28px minmax(0,1fr) auto; }
.world-plot strong { display: flex; align-items: center; gap: 4px; }
.world-plot .mini-icon { width: 20px; height: 20px; }
@media (max-width: 430px) { .world-row { grid-template-columns: 22px minmax(0,1fr) auto; gap: 5px; } .world-row > .mini-icon { width: 22px; height: 22px; } }
.world-divider { color: var(--hue); margin: 12px 0 5px; font-size: 13px; }
