*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #1e2a45;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0b0;
  --accent: #4ecca3;
  --accent-hover: #3db88f;
  --danger: #e74c3c;
  --danger-hover: #c0392b;
  --warning: #f39c12;
  --border: #2a3a5e;
  --input-bg: #0f1a30;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
}

.hidden { display: none !important; }

/* Login */
#login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.login-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.login-card .subtitle {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.error-msg {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mc-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

header h1 {
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.5rem;
}

.btn-text:hover {
  color: var(--text-primary);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.85rem 1.25rem;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.tab:hover {
  color: var(--text-primary);
}

.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Main content */
main {
  padding: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.card h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Inputs & Buttons */
input[type="text"],
input[type="password"],
input[type="number"] {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

input:focus {
  border-color: var(--accent);
}

button {
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: #111;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 0.65rem 1.25rem;
  transition: background 0.2s;
}

.btn-secondary:hover { background: var(--bg-card); }

.btn-danger {
  background: var(--danger);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  transition: background 0.2s;
}

.btn-danger:hover { background: var(--danger-hover); }
.btn-danger:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-sm {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.btn-icon:hover { color: var(--danger); }

/* Inline forms */
.inline-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.inline-form input {
  flex: 1;
  min-width: 0;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.data-table th {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.empty-state {
  color: var(--text-secondary);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

/* Status indicator */
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.status-dot.offline { background: var(--danger); box-shadow: 0 0 6px var(--danger); }

.control-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Status page layout */
.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-label {
  font-size: 1.25rem;
  font-weight: 600;
}

.uptime-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.info-card h3 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.info-content {
  min-height: 60px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
}

.info-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.info-value {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
}

.info-placeholder {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
}

.address-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-value code {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.85rem;
  color: var(--accent);
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.15rem 0.3rem;
  border-radius: 4px;
  transition: background 0.2s;
  line-height: 1;
}

.copy-btn:hover {
  background: var(--bg-secondary);
}

.motd-value {
  font-style: italic;
  color: var(--text-secondary);
}

/* Version highlight */
.version-highlight {
  background: linear-gradient(135deg, rgba(78, 204, 163, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(78, 204, 163, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.version-number {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.version-type {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

/* Progress bars */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--input-bg);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.35rem;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-fill.players-fill { background: var(--accent); }
.progress-fill.memory-fill { background: #3b82f6; }
.progress-fill.cpu-fill { background: #f59e0b; }

/* Player names */
.player-name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.player-name {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* Mod/Plugin name tags */
.mod-name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mod-name-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* Property pills */
.property-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.property-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

.property-pill.pill-on {
  border-color: rgba(78, 204, 163, 0.3);
}

.property-pill.pill-off {
  opacity: 0.6;
}

.pill-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.pill-label {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.pill-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* Danger zone */
.danger-zone {
  border: 1px solid var(--danger);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.danger-zone h3 {
  color: var(--danger);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.danger-zone p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Sub-tabs */
.sub-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sub-tab {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  transition: all 0.2s;
}

.sub-tab.active {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

/* Notification */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  z-index: 1000;
  transition: opacity 0.3s, transform 0.3s;
  max-width: 400px;
}

.notification.success {
  background: #1a4a3a;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.notification.error {
  background: #4a1a1a;
  border: 1px solid var(--danger);
  color: #f5a0a0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  backdrop-filter: blur(2px);
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 420px;
  width: 90%;
}

.modal p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

#confirm-input-wrap {
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* World info */
.world-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
}

.world-info dt {
  color: var(--text-secondary);
}

/* Properties editor */
.property-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.property-row:last-child { border-bottom: none; }

.property-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  min-width: 140px;
  flex-shrink: 0;
}

.property-value {
  flex: 1;
  max-width: 300px;
}

.prop-input {
  width: 100%;
  padding: 0.4rem 0.65rem !important;
  font-size: 0.85rem !important;
}

.prop-select {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  padding: 0.4rem 0.65rem;
  width: 100%;
  outline: none;
}

.prop-select:focus { border-color: var(--accent); }

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: 0.2s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: 0.2s;
}

.toggle input:checked + .toggle-slider {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: #111;
}

.collapsible-header {
  user-select: none;
}

/* World item list */
.world-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background: var(--bg-secondary);
}

.world-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Badges */
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-active {
  background: var(--accent);
  color: #111;
}

.badge-skipped {
  background: var(--text-secondary);
  color: #111;
}

.badge-failed {
  background: var(--danger);
  color: #fff;
}

/* Text helpers */
.text-secondary {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Info banner */
.info-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Mod cards */
.mod-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background: var(--bg-secondary);
}

.mod-card-icon img {
  border-radius: 6px;
  display: block;
}

.mod-icon-placeholder {
  width: 48px;
  height: 48px;
  background: var(--input-bg);
  border-radius: 6px;
}

.mod-card-info {
  flex: 1;
  min-width: 0;
}

.mod-card-desc {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mod-card .btn-sm {
  flex-shrink: 0;
  align-self: center;
}

/* Upload area */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--accent);
  background: rgba(78, 204, 163, 0.05);
}

.upload-area p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* World Action Bar */
.world-action-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* World Cards - Horizontal Scrollable Row */
.world-cards {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.world-cards::-webkit-scrollbar {
  height: 6px;
}

.world-cards::-webkit-scrollbar-track {
  background: transparent;
}

.world-cards::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.world-card {
  flex-shrink: 0;
  min-width: 140px;
  max-width: 200px;
  padding: 1rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  text-align: center;
}

.world-card:hover {
  border-color: var(--text-secondary);
  background: var(--bg-secondary);
}

.world-card.selected {
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.world-card-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.world-card-size {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.world-card .active-indicator {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
}

/* World Detail Panel */
.world-detail-panel {
  margin-top: 0;
}

/* Modal overlay for create dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay .modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  width: 90%;
  max-width: 400px;
}

/* Schedule form */
.schedule-form .property-row {
  margin-bottom: 0.75rem;
}

/* Console / Log Viewer */
.console-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.console-controls-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-status {
  font-size: 0.8rem;
}

.console-output {
  background: #0a0e1a;
  padding: 0.75rem;
  height: 500px;
  overflow-y: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.console-output::-webkit-scrollbar {
  width: 6px;
}

.console-output::-webkit-scrollbar-track {
  background: transparent;
}

.console-output::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.console-line {
  word-break: break-word;
  white-space: pre-wrap;
  color: #c0c8d8;
}

.console-line.log-error {
  color: #f5a0a0;
}

.console-line.log-warn {
  color: #f5d060;
}

.console-line.log-info {
  color: #c0c8d8;
}

.console-line.log-command {
  color: var(--accent);
  font-weight: 600;
}

.console-line.log-response {
  color: #a0b8e0;
  padding-left: 1rem;
}

.console-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.console-prompt {
  color: var(--accent);
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.console-command-input {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  outline: none;
}

.console-command-input:focus {
  border-color: var(--accent);
}

/* State icons (D/L/G) — shared between Properties and World Overrides */
.state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: none;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.state-icon.state-D {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: default;
}

.state-icon.state-L {
  background: #f59e0b;
  color: #111;
  cursor: pointer;
}

.state-icon.state-L:hover {
  background: #d97706;
}

.state-icon.state-G {
  background: rgba(59, 130, 246, 0.2);
  color: #93b4f5;
  cursor: default;
}

/* Property row with state icon */
.state-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.prop-group-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 0 0.35rem;
}

.prop-group-header:first-child {
  padding-top: 0;
}

.state-row:last-child {
  border-bottom: none;
}

/* File Editor (Monaco) */
.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.editor-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.editor-wrapper {
  height: 500px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: none;
}

.editor-wrapper.editor-active {
  display: block;
}

.state-row .property-label {
  min-width: 140px;
  flex-shrink: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.state-row .property-value {
  flex: 1;
  max-width: 280px;
}

/* Responsive */
@media (max-width: 700px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-header .control-buttons {
    width: 100%;
  }

  .status-header .control-buttons button {
    flex: 1;
  }
}

@media (max-width: 600px) {
  main { padding: 1rem; }
  header { padding: 0.75rem 1rem; }
  header h1 { font-size: 0.95rem; }
  .tab { padding: 0.7rem 0.9rem; font-size: 0.8rem; }
  .inline-form { flex-direction: column; }
  .inline-form input { width: 100%; }
  .control-buttons { flex-direction: column; }
  .control-buttons button { width: 100%; }
  .world-action-bar { flex-direction: column; }
  .world-action-bar button { width: 100%; }
  .world-card { min-width: 120px; }
}
