/* .overlay-card[data-world]: die Levelauswahl nimmt die Farben der gerade gewählten Welt an */
:root, .overlay-card[data-world="1"] {
  --bg: #f6efe3;
  --panel: #fffaf2;
  --border: #e3d5bf;
  --text: #3b2f25;
  --muted: #7a6a5a;
  --accent: #d9534f;
  --accent-dark: #b8403c;
  --green: #5a9e4b;
  --gold: #e0a526;
  --track: #eadfcd;  /* leere Balken: Mülleimer-Anzeige */
  --track-pot: #eadcc6; /* leere Balken: Töpfe */
  --tip: #3b2f25;    /* Hintergrund der Tooltips */
  --hover: #fbf3e6;  /* Knöpfe beim Drüberfahren */
  --banner: linear-gradient(135deg, #c8955f, #a8743f); /* Weltname in der Levelauswahl: Holz */
  --radius: 12px;
}

/* Welt 2: kräftiges Lila (Spielfeld-Farben, Bahn und Mülleimer stehen in CONFIG.worlds) */
body[data-world="2"], .overlay-card[data-world="2"] {
  --bg: #ddcdee;
  --panel: #f5eefb;
  --border: #c4a9df;
  --text: #2a1a3d;
  --muted: #5d4777;
  --track: #e2d3f1;
  --track-pot: #e2d3f1;
  --tip: #2a1a3d;
  --hover: #efe4f9;
  --banner: linear-gradient(135deg, #b3232f, #7b4fb0); /* rote Bahn ins Lila */
}

/* Welt 3: Lagune – Meergrün mit tiefblauer Bahn */
body[data-world="3"], .overlay-card[data-world="3"] {
  --bg: #cfe9e1;
  --panel: #eef8f5;
  --border: #8fc7b8;
  --text: #0f2f29;
  --muted: #3f6b5e;
  --track: #d5ebe4;
  --track-pot: #d5ebe4;
  --tip: #0f2f29;
  --hover: #e2f3ee;
  --banner: linear-gradient(135deg, #0d3b66, #2f6f62); /* blaue Bahn ins Meergrün */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.topbar {
  padding: 16px 24px 8px;
  text-align: center;
}
.topbar h1 { margin: 0; font-size: 28px; }
.tagline { margin: 4px 0 0; color: var(--muted); }

.layout {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  padding: 12px 16px 24px;
  flex-wrap: wrap;
}

/* Spielfeld + Emoji-Leiste darunter */
.play-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 1 960px;
  min-width: 0;
  /* Spielfeld und Leiste sollen ohne Scrollen auf den Bildschirm passen (Seitenverhältnis 960:576) */
  max-width: max(480px, calc((100vh - 200px) * 960 / 576));
}
.board-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(59, 47, 37, 0.18);
  line-height: 0;
  width: 100%;
}
#board {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.sidebar {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.panel h2 { margin: 0 0 8px; font-size: 16px; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.stat { display: flex; flex-direction: column; }
.stat-wide { grid-column: span 2; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font-size: 20px; font-weight: 700; }

.meter {
  height: 8px;
  margin-top: 4px;
  background: var(--track);
  border-radius: 4px;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 0.2s, background 0.2s;
}

/* Emoji-Leiste unter dem Spielfeld */
.shop-bar {
  display: flex;
  flex-wrap: wrap; /* alle Esser in einer Reihe – die Tasten werden bei wenig Platz kleiner; nur die Medikamente rutschen notfalls in eine zweite Zeile */
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.shop-emoji {
  position: relative;
  flex: 1 1 0;
  min-width: 32px; /* klein genug, dass auch 12 Esser (Level 10) in eine Reihe passen */
  max-width: 56px;
  aspect-ratio: 1;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: clamp(18px, 2.4vw, 30px);
  line-height: 1;
  cursor: grab; /* anklicken oder aufs Spielfeld ziehen */
  touch-action: none; /* auf Touch-Geräten zieht der Finger den Esser, statt die Seite zu scrollen */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.shop-emoji:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-1px); }
.shop-emoji.active { border-color: var(--accent); background: #fff0ee; box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.25); }
.shop-emoji:disabled { opacity: 0.4; cursor: not-allowed; }
/* Tooltip mit Name, Preis, Bauzeit und Beschreibung */
.shop-emoji .tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  background: var(--tip);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  z-index: 10;
  pointer-events: none;
}
.shop-emoji .tip strong { display: block; font-size: 13px; }
.shop-emoji:hover .tip, .shop-emoji:focus-visible .tip { display: block; }

/* Medikamente für den Arzt: Kapsel in ihrer Farbe, darunter der Preis – werden auf einen Arzt gezogen */
.med-group { display: flex; gap: 6px; flex: 0 0 auto; padding-left: 10px; margin-left: 4px; border-left: 2px solid var(--border); }
.shop-med { flex: 0 0 auto; width: 44px; }
/* Ein Arzt wartet auf genau diese Pille */
.shop-med.needed { border-color: var(--accent); animation: med-needed 0.7s ease-in-out infinite alternate; }
@keyframes med-needed {
  from { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.15); }
  to   { box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.45); }
}
/* Eine Krankenschwester aus der Arztpraxis kauft gerade genau diese Pille */
.shop-med.nurse { border-color: #c62828; background: #fff4f4; }
.shop-med.nurse::after {
  content: "👩‍⚕️";
  position: absolute;
  top: -12px;
  right: -10px;
  font-size: 20px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
/* Preis liegt über dem Knopf, damit die Leiste nicht höher (und damit alle Knöpfe breiter) wird */
.shop-med .med-cost, .shop-tool .med-cost {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}
.pill {
  display: inline-block;
  width: 22px;
  height: 10px;
  border-radius: 5px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--pill) 50%, color-mix(in srgb, var(--pill) 55%, #fff) 50%);
  box-shadow: inset 0 0 0 1px rgba(59, 47, 37, 0.45);
}
.shop-med .pill { width: 24px; height: 11px; border-radius: 6px; transform: translateY(-5px) rotate(-25deg); }
/* Was gerade aus der Leiste gezogen wird (Esser oder Pille) – folgt der Maus */
.drag-ghost {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  transform: translate(-50%, -50%);
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}
.drag-ghost .pill { width: 32px; height: 15px; border-radius: 8px; transform: rotate(-25deg); }
body.shop-dragging, body.shop-dragging * { cursor: grabbing !important; }
body.shop-dragging .tip { display: none !important; }
.shop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.shop-item:hover:not(:disabled) { border-color: var(--gold); }
.shop-item.active { border-color: var(--accent); background: #fff0ee; }
.shop-item:disabled { opacity: 0.45; cursor: not-allowed; }
.shop-icon { font-size: 30px; line-height: 1; }
.shop-text { flex: 1; display: flex; flex-direction: column; }
.shop-name { font-weight: 700; }
.shop-desc { font-size: 12px; color: var(--muted); }
.shop-cost { font-weight: 700; white-space: nowrap; text-align: right; }
.shop-cost small { font-size: 11px; font-weight: 600; color: var(--muted); }

.hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
kbd {
  padding: 0 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-size: 11px;
}

.sel-info { margin: 0 0 10px; font-size: 13px; line-height: 1.5; }

/* Statistik von Koch und Großküche: was fertig gekocht wurde */
.cook-stats {
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.cook-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.controls { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 8px; }
.row .btn { flex: 1; padding: 9px 4px; white-space: nowrap; }

.btn {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover:not(:disabled) { background: var(--hover); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); }
.btn-danger { width: 100%; color: var(--accent); border-color: var(--accent); }

/* Retter-Limit in der Seitenleiste: „🧑‍🚒 Retter kauft Tüten nur über [−] 200 💰 [+]“ */
.rescue-limit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}
.rescue-limit-input { display: flex; align-items: center; gap: 4px; }
.rescue-limit-input input {
  width: 64px;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  text-align: right;
  color: var(--text);
  background: #fff;
}
.btn-step { padding: 2px 9px; line-height: 1.4; }
/* Springen: leuchtet, solange das Spiel mit ×100 zur nächsten Welle springt */
.btn.jumping { background: var(--accent); border-color: var(--accent); color: #fff; }
.stars { color: #e0a526; letter-spacing: 1px; }

/* Upgrade-Leiste, die per Doppelklick über dem Esser erscheint */
.upgrade-bar {
  position: absolute;
  z-index: 5;
  line-height: normal;
  background: var(--panel);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(59, 47, 37, 0.3);
  max-width: calc(100% - 8px);
}
.bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 0 2px 5px;
  white-space: nowrap;
}
.bar-close {
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0 2px;
}
.bar-row { display: flex; gap: 5px; }
/* Knöpfe und Topf-Diagramm nebeneinander, bei wenig Platz untereinander */
.bar-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.bar-body .pot-chart { margin-top: 0; }
.bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 78px;
  padding: 5px 6px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: #fff8e6;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.bar-btn:hover:not(:disabled) { background: #ffefc4; }
.bar-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.bar-icon { font-size: 20px; line-height: 1.1; }
.bar-name { font-size: 11px; font-weight: 700; white-space: nowrap; }
.bar-val { font-size: 11px; color: var(--muted); white-space: nowrap; }
.bar-desc { font-size: 10px; color: var(--muted); max-width: 120px; text-align: center; white-space: normal; }
.bar-evo { border-color: #b8860b; background: linear-gradient(135deg, #fff3c4, #f7d774); }
.bar-done { font-size: 12px; font-weight: 700; padding: 4px 6px; max-width: 160px; }
.bar-hint { font-size: 11px; color: var(--muted); padding: 5px 2px 0; max-width: 340px; }
/* Topf-Diagramm von Koch und Großküche: pro Topf ein Balken mit Gericht und Restzeit */
.pot-chart {
  margin-top: 6px;
  padding: 5px 8px 6px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 12px;
}
.pot-title { font-weight: 700; margin-bottom: 3px; }
.pot-grid { display: grid; grid-template-columns: 1fr; gap: 2px 12px; }
.pot-grid.two { grid-template-columns: 1fr 1fr; }
.upgrade-bar .pot-grid { min-width: 230px; }
.pot { display: flex; align-items: center; gap: 5px; min-width: 0; }
.pot-icon { flex: none; min-width: 30px; text-align: center; white-space: nowrap; }
.pot-track {
  position: relative;
  flex: 1;
  min-width: 80px;
  height: 15px;
  border-radius: 8px;
  background: var(--track-pot);
  overflow: hidden;
}
.pot-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #f2b632, #7cbf5e);
}
.pot-name {
  position: relative;
  display: block;
  padding: 0 7px;
  font-size: 11px;
  line-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pot-time { flex: none; width: 34px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.pot.empty { opacity: 0.45; }
/* Bau / Upgrade / Entwicklung läuft */
.bar-busy {
  font-size: 12px;
  font-weight: 700;
  color: #8a5a00;
  background: #fff3c4;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 6px;
}
.bar-done small { display: block; font-weight: 400; color: var(--muted); }

.upgrade-box { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.upgrade-box:empty { display: none; }
.up-head { font-size: 13px; font-weight: 700; }
.up-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: #fff8e6;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.up-btn:hover:not(:disabled) { background: #ffefc4; }
.up-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.up-btn.last { box-shadow: inset 0 0 0 1px var(--gold); }
.up-name { font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; gap: 6px; }
.up-pts { color: #e0a526; letter-spacing: 1px; }
.up-val { font-size: 12px; color: var(--muted); }
.evo-btn {
  padding: 8px 10px;
  border: 2px solid #b8860b;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3c4, #f7d774);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.evo-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.evo-btn small, .evo-done small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.evo-done {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff3c4;
  font-weight: 700;
  font-size: 13px;
}

.legend ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.legend li { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.legend .legend-icon { font-size: 24px; }
.legend .legend-drawn { width: 40px; height: 40px; margin: -8px; vertical-align: middle; } /* gezeichnetes Essen (Familien-Platte) */

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 47, 37, 0.55);
  line-height: normal;
}
.overlay-card {
  background: var(--panel);
  color: var(--text);
  transition: background-color 0.2s;
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  width: min(420px, calc(100% - 32px));
  /* passt immer aufs Spielfeld – bei vielen Leveln scrollt die Liste */
  max-height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.overlay-icon { font-size: 56px; }
/* In der Levelauswahl kleineres Symbol, damit mehr Level auf einmal zu sehen sind */
.overlay-card:has(.level-list:not(:empty)) { padding: 16px 24px; }
.overlay-card:has(.level-list:not(:empty)) .overlay-icon { font-size: 36px; }
.overlay-card h2 { margin: 8px 0; }
.overlay-card p { color: var(--muted); }
.overlay-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.overlay-actions:empty { display: none; }

.level-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  /* scrollt, wenn nicht alle Level auf das Spielfeld passen; Überschrift bleibt stehen */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 4px 2px 2px;
}
.level-card { flex-shrink: 0; }
.overlay-card > .overlay-icon, .overlay-card > h2, .overlay-card > p, .overlay-actions { flex-shrink: 0; }
.level-list:empty { display: none; }
.level-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.level-card:hover:not(:disabled) { border-color: var(--gold); }
.level-card:disabled { opacity: 0.55; cursor: not-allowed; }
.level-card.current { border-color: var(--accent); }
.level-card.focus { box-shadow: 0 0 0 3px var(--green); } /* mit ↑ ↓ ausgewählt, Enter startet es */
.level-card-name { font-weight: 700; font-size: 16px; }
.level-card-meta { font-size: 14px; color: var(--muted); }
/* Schwierigkeit am Levelanfang: drei Kacheln als ein Schalter, Beschreibung darunter, Start in der Farbe der Stufe */
.difficulty { flex-shrink: 0; margin-top: 4px; text-align: center; }
.diff-tiles { display: inline-flex; border: 2px solid var(--border); border-radius: 12px; overflow: hidden; }
.diff-tiles button {
  width: 110px;
  padding: 10px 6px;
  border: none;
  border-right: 2px solid var(--border);
  background: #fff;
  color: #3b2f25;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.diff-tiles button:last-child { border-right: none; }
.diff-tiles .big { display: block; font-size: 28px; }
.diff-tiles small { display: block; font-weight: 400; font-size: 11px; color: #6b5d50; }
.diff-tiles button.on { background: var(--c); color: #fff; }
.diff-tiles button.on small { color: #fff; }
.diff-desc { margin: 6px auto 0; min-height: 36px; max-width: 360px; font-size: 13px; color: var(--muted); }
.diff-start { margin-top: 8px; padding: 9px 22px; border: none; border-radius: 10px; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
/* Während der Auswahl kompakter, damit auch auf kleinem Spielfeld alles samt Start-Knopf hineinpasst */
.overlay-card:has(.difficulty:not(.hidden)) { padding: 12px 20px; }
.overlay-card:has(.difficulty:not(.hidden)) h2 { margin: 2px 0; font-size: 20px; }
.overlay-card:has(.difficulty:not(.hidden)) > p { margin: 2px 0 8px; }

/* Welt wählen in der Levelauswahl: Banner in der Farbe der Welt mit ◀ ▶ (auch ← →), darunter ihre Sonderregel */
.world-pick { flex-shrink: 0; }
.world-pick:empty, .level-keys:empty { display: none; }
.world-banner { display: flex; align-items: center; gap: 8px; }
.world-banner button {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: #3b2f25;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.1s, background-color 0.1s;
}
.world-banner button:hover:not(:disabled) { border-color: var(--gold); }
.world-banner button:disabled { opacity: 0.35; cursor: not-allowed; }
.world-banner button.pressed { transform: scale(0.85); background: #e8f3e4; }
.world-name { flex: 1; background: var(--banner); padding: 10px; border-radius: 10px; color: #fff; font-size: 19px; font-weight: 700; }
.world-name small { font-weight: 400; font-size: 13px; opacity: 0.9; }
.world-banner.shake .world-name { animation: world-shake 0.35s; } /* nächste Welt noch gesperrt */
@keyframes world-shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.world-dots { margin-top: 6px; font-size: 12px; letter-spacing: 4px; color: var(--muted); }
.world-lock { height: 0; overflow: hidden; font-size: 12px; font-weight: 600; color: var(--accent-dark); transition: height 0.15s; }
.world-lock.show { height: 17px; }
.world-rule { min-height: 17px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.level-keys { flex-shrink: 0; margin-top: 10px; font-size: 12px; color: var(--muted); }

.level-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.level-name small { display: block; font-weight: 400; font-size: 12px; }

.hidden { display: none !important; }

/* kleines Abzeichen unten rechts am Shop-Knopf (Poolchiller: 🛟) */
.shop-badge {
  position: absolute;
  right: 1px;
  bottom: 0;
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
}
/* Upgrade-Tool (Welt 2 Level 10): goldener Rand */
.shop-tool { border-color: #f2b632; }

/* Anfänger Essen: Wellen-Baukasten unter dem Spielfeld */
.send-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; width: 100%; }
.send-food { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--border, #e2d6bc); border-radius: 10px; background: #fff; }
.send-icon { font-size: 22px; }
.send-name { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.2; }
.send-name small { color: #7a6a58; font-size: 11px; }
.send-cnt { display: inline-flex; align-items: center; gap: 3px; }
.send-cnt button, .send-lanes button { border: 1px solid #e2d6bc; background: #fff; border-radius: 6px; padding: 1px 7px; cursor: pointer; font: inherit; }
.send-cnt button:disabled { opacity: 0.4; cursor: default; }
.send-cnt b { min-width: 18px; text-align: center; }
.send-lanes { display: flex; gap: 4px; align-items: center; font-size: 13px; }
.send-lanes button.on { background: #fde7c2; border-color: #e0a526; font-weight: 600; }
.send-go { padding: 8px 14px; border: none; border-radius: 8px; background: #d9534f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.send-go:disabled { opacity: 0.5; cursor: default; }
.send-up { border: 1px solid #e0a526; background: #fff8e6; border-radius: 6px; padding: 1px 7px; cursor: pointer; font: inherit; }
.send-food.open { border-color: #e0a526; box-shadow: 0 0 0 2px rgba(224, 165, 38, 0.35); }
.send-ups { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 6px; border-top: 1px dashed #e2d6bc; }
.send-ups.hidden { display: none; }
.send-ups button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 10px; border: 1px solid #e2d6bc; border-radius: 8px; background: #fff; cursor: pointer; font: inherit; font-size: 13px; }
.send-ups button small { color: #7a6a58; font-size: 11px; }
.send-ups button:disabled { opacity: 0.5; cursor: default; }
