/* AutoTycoon: Evolution – Haupt-Stylesheet */

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

:root {
  --bg-dark:     #0d1117;
  --bg-panel:    #161b22;
  --bg-card:     #1e2430;
  --bg-input:    #0d1117;
  --border:      #30363d;
  --border-blue: #1f6feb;
  --text:        #c9d1d9;
  --text-dim:    #8b949e;
  --text-bright: #f0f6fc;
  --gold:        #e6b450;
  --green:       #3fb950;
  --red:         #f85149;
  --blue:        #58a6ff;
  --purple:      #a371f7;
  --accent:      #1f6feb;
  --radius:      8px;
  --radius-sm:   4px;
}

html, body {
  width: 100%; height: 100%;
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  overflow: hidden;
}

/* ─────────────────── HAUPTMENÜ ─────────────────── */

#main-menu {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #0d1a2e 0%, #060c14 100%);
  z-index: 1000;
}

.menu-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-blue);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 0 60px #1f6feb44;
}

.menu-box h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.menu-box .subtitle {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.menu-input-row {
  display: flex; gap: 10px;
  margin-bottom: 20px;
}

.menu-input-row input {
  flex: 1;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  padding: 10px 14px; font-size: 1rem;
}

.menu-input-row input:focus {
  outline: none; border-color: var(--accent);
}

.menu-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  text-align: left;
}

.menu-section h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.menu-section input {
  width: 100%;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  padding: 8px 12px; font-size: 0.9rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border: none; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: filter 0.15s, transform 0.1s;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(0.97); }

.btn-primary  { background: var(--accent);  color: #fff; width: 100%; padding: 12px; }
.btn-host     { background: #1a7f37; color: #fff; width: 100%; padding: 12px; }
.btn-join     { background: #6639ba; color: #fff; width: 100%; padding: 12px; }
.btn-sell     { background: #cf6600; color: #fff; padding: 8px 16px; font-size: 0.85rem; }
.btn-research { background: var(--accent); color: #fff; padding: 8px 16px; margin-top: 10px; width: 100%; }
.btn-cancel   { background: var(--red); color: #fff; padding: 8px 16px; margin-top: 6px; width: 100%; }
.btn-sm       { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim); padding: 5px 10px; font-size: 0.8rem; }

/* ─────────────────── SPIEL-CONTAINER ─────────────────── */

#game-container {
  display: none;
  flex-direction: column;
  width: 100vw; height: 100vh;
}

/* HUD-Leiste oben */
#hud {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  padding: 0 12px;
  height: 46px;
  flex-shrink: 0;
}

.hud-item {
  display: flex; align-items: center; gap: 5px;
  padding: 0 14px;
  height: 100%;
  border-right: 1px solid var(--border);
  font-size: 0.85rem;
}

.hud-item:first-child { border-left: none; }
.hud-label { color: var(--text-dim); }
.hud-value { color: var(--text-bright); font-weight: 700; }
.hud-value.gold { color: var(--gold); }
.hud-value.green { color: var(--green); }

.hud-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue);
  letter-spacing: -0.3px;
  margin-right: 12px;
}

.hud-spacer { flex: 1; }

/* News-Ticker */
#news-ticker {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  height: 26px;
  display: flex; align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

#news-content {
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  padding-left: 100%;
  font-size: 0.78rem;
  color: var(--text-dim);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-200%); }
}

/* Haupt-Layout */
#main-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Linke Seitenleiste (Shop, Info) */
#sidebar-left {
  width: 200px; flex-shrink: 0;
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow-y: auto;
}

/* Tab-Bereich */
#content-area {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden;
}

/* Rechte Seitenleiste (Multiplayer, Chat) */
#sidebar-right {
  width: 220px; flex-shrink: 0;
  background: var(--bg-panel);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow-y: auto;
}

/* Tab-Leiste */
#tab-bar {
  display: flex;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.tab-btn {
  padding: 10px 18px;
  background: none; border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem; font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Tab-Panels */
.tab-panel { display: none; flex: 1; overflow: hidden; }
.tab-panel.active { display: flex; flex-direction: column; }

/* Canvas-Wrapper */
.canvas-wrapper {
  flex: 1; position: relative; overflow: hidden;
  background: #0d1117;
}

canvas { display: block; }

/* ─────────────────── GEBÄUDE-SHOP ─────────────────── */

.sidebar-section {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-section h4 {
  font-size: 0.75rem; text-transform: uppercase;
  color: var(--text-dim); letter-spacing: 0.08em;
  margin-bottom: 8px;
}

#building-shop {
  display: flex; flex-direction: column; gap: 4px;
}

.shop-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  color: var(--text); cursor: pointer;
  text-align: left; font-size: 0.78rem;
  transition: background 0.1s, border-color 0.1s;
}
.shop-btn:hover { background: #2a3040; }
.shop-btn.selected { background: #1f3060; border-color: var(--blue); }
.shop-icon { font-size: 1.1rem; }
.shop-name { flex: 1; }
.shop-cost { color: var(--gold); font-size: 0.72rem; }
.shop-clear { border-color: var(--red) !important; justify-content: center; margin-top: 4px; }

/* Gebäude-Info */
#building-info {
  display: none;
  padding: 10px;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
}
#building-info h3 { font-size: 0.9rem; margin-bottom: 6px; }
#building-info p { color: var(--text-dim); margin-bottom: 4px; }

/* ─────────────────── FORSCHUNGS-STATUS (SIDEBAR) ─────────────────── */

#research-status {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

#research-bar-wrap {
  height: 6px; background: var(--bg-input);
  border-radius: 3px; margin-top: 6px; overflow: hidden;
}

#research-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #1f6feb, #58a6ff);
  transition: width 0.5s;
}

#research-name { font-size: 0.78rem; color: var(--text-dim); }
#research-time { font-size: 0.72rem; color: var(--blue); }

/* ─────────────────── TECH-TREE-PANEL ─────────────────── */

#tech-controls {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

#tech-search {
  flex: 1;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  padding: 6px 10px; font-size: 0.85rem;
}
#tech-search:focus { outline: none; border-color: var(--accent); }

#tech-category-filter {
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text); padding: 6px; font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.tech-tree-layout {
  display: flex; flex: 1; overflow: hidden;
}

#tech-node-info {
  display: none;
  width: 260px; flex-shrink: 0;
  background: var(--bg-panel);
  border-left: 1px solid var(--border);
  padding: 14px;
  overflow-y: auto;
  font-size: 0.82rem;
}

.tech-info-header {
  padding-left: 10px;
  margin-bottom: 10px;
}
.tech-info-header h3 { font-size: 0.95rem; margin-bottom: 4px; }
.tech-category { color: var(--text-dim); margin-bottom: 10px; font-size: 0.78rem; }
.tech-bonuses ul { padding-left: 14px; margin-top: 4px; }
.tech-bonuses li { margin-bottom: 2px; }

.badge {
  display: inline-block;
  padding: 2px 8px; border-radius: 12px;
  font-size: 0.72rem; font-weight: 600;
}
.badge-done      { background: #1a4a1a; color: #2ecc71; }
.badge-progress  { background: #0e2e3a; color: #00d2ff; }
.badge-available { background: #0e1e3a; color: #4a9eff; }
.badge-locked    { background: #1a1a2a; color: #666; }

.gold { color: var(--gold); }

/* ─────────────────── MARKT-PANEL ─────────────────── */

#panel-market {
  overflow-y: auto;
  padding: 16px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.region-card {
  background: linear-gradient(160deg, #232a38 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.region-card:hover { transform: translateY(-2px); border-color: var(--border-blue); }

.region-card h3 { font-size: 1rem; margin-bottom: 10px; }
.region-stat { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.82rem; }
.region-stat .label { color: var(--text-dim); }
.region-stat .value { font-weight: 700; }

.supply-bar-track {
  height: 4px; background: var(--bg-input);
  border-radius: 2px; margin-top: 8px;
}
.supply-bar { height: 100%; border-radius: 2px; background: var(--green); transition: width 0.5s; }

.sell-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.sell-section h3 { margin-bottom: 12px; }
.sell-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.sell-row input[type="number"] {
  width: 80px;
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text); padding: 7px 10px;
  border-radius: var(--radius-sm); font-size: 0.9rem;
}

.car-specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 16px;
}

.spec-item {
  background: linear-gradient(160deg, #232a38 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}
.spec-item .spec-label { font-size: 0.72rem; color: var(--text-dim); }
.spec-item .spec-value { font-size: 1.1rem; font-weight: 700; color: var(--text-bright); margin-top: 2px; }

select {
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text); padding: 8px 12px;
  border-radius: var(--radius-sm); font-size: 0.88rem;
}

/* ─────────────────── MULTIPLAYER-SIDEBAR ─────────────────── */

.side-section {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}
.side-section h4 {
  font-size: 0.72rem; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 8px; letter-spacing: 0.08em;
}

.lobby-player {
  display: flex; justify-content: space-between;
  background: var(--bg-card);
  padding: 6px 8px; margin-bottom: 4px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}
.lobby-player .money { color: var(--gold); }

.competitor-card {
  background: linear-gradient(160deg, #232a38 0%, var(--bg-card) 100%);
  border-left: 3px solid #888;
  padding: 8px 10px; margin-bottom: 6px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.comp-name { font-weight: 700; font-size: 0.82rem; margin-bottom: 4px; }
.comp-stats { display: flex; flex-direction: column; gap: 2px; }
.comp-stats span { color: var(--text-dim); font-size: 0.75rem; }

.dim { color: var(--text-dim); font-size: 0.78rem; padding: 4px 0; }

/* Chat */
#chat-messages {
  flex: 1; overflow-y: auto;
  padding: 8px; max-height: 180px;
}
.chat-msg { padding: 2px 0; font-size: 0.78rem; line-height: 1.4; }
.chat-name { font-weight: 700; }

#chat-input-row {
  display: flex; gap: 4px;
  padding: 8px;
  border-top: 1px solid var(--border);
}

#chat-input {
  flex: 1;
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text); padding: 5px 8px;
  border-radius: var(--radius-sm); font-size: 0.78rem;
}
#chat-input:focus { outline: none; border-color: var(--accent); }

#chat-send {
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 5px 10px; cursor: pointer; font-size: 0.78rem;
}

/* Minimap */
#minimap {
  position: absolute; bottom: 8px; right: 8px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.85;
}

/* Trade notification */
#trade-notification {
  display: none;
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--bg-panel);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  z-index: 500;
  min-width: 300px;
  box-shadow: 0 4px 20px #00000088;
}
.trade-offer p { margin-bottom: 6px; }
.trade-offer button { margin-right: 8px; margin-top: 8px; }
.trade-offer code { background: var(--bg-card); padding: 2px 6px; border-radius: 3px; font-size: 0.82rem; }

/* Benachrichtigungen */
#notifications {
  position: fixed; top: 54px; right: 12px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 400; max-width: 320px;
  pointer-events: none;
}

.notif {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  animation: notifIn 0.25s ease;
  border-left: 3px solid;
}
@keyframes notifIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; } }

.notif-info    { background: #0d2135; border-color: var(--blue);   color: #7bc8ff; }
.notif-success { background: #0d2a14; border-color: var(--green);  color: #7fffaa; }
.notif-warning { background: #2a1e04; border-color: var(--gold);   color: #ffd966; }
.notif-error   { background: #2a0d0d; border-color: var(--red);    color: #ff9999; }

/* Statistiken-Panel */
#panel-stats {
  padding: 20px;
  overflow-y: auto;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.stat-card {
  background: linear-gradient(160deg, #232a38 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--border-blue); }
.stat-card .big { font-size: 1.6rem; font-weight: 800; color: var(--text-bright); }
.stat-card .label { font-size: 0.75rem; color: var(--text-dim); margin-top: 4px; }

/* Scrollbar-Styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Responsive: bei kleinen Bildschirmen Sidebars ausblenden */
@media (max-width: 1100px) {
  #sidebar-left { width: 160px; }
  #sidebar-right { width: 180px; }
}
@media (max-width: 800px) {
  #sidebar-right { display: none; }
  #sidebar-left { width: 48px; }
  .shop-name, .shop-cost { display: none; }
}

/* ─────────────────── TUTORIAL OVERLAY ─────────────────── */

#tutorial-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  display: none; align-items: center; justify-content: center;
  z-index: 2000;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.tutorial-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-blue);
  border-radius: 16px;
  padding: 36px 40px;
  max-width: 560px; width: 100%;
  box-shadow: 0 0 60px #1f6feb55;
}

.tutorial-box h2 {
  font-size: 1.7rem; font-weight: 800;
  color: var(--text-bright); margin-bottom: 4px;
}

.tut-subtitle {
  color: var(--text-dim); margin-bottom: 24px; font-size: 0.92rem;
}

.tut-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }

.tut-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.tut-step-icon { font-size: 1.6rem; flex-shrink: 0; }
.tut-step-body strong { color: var(--text-bright); font-size: 0.88rem; }
.tut-step-body p { color: var(--text-dim); font-size: 0.8rem; margin-top: 3px; line-height: 1.5; }

.tut-kbd {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  margin-bottom: 20px;
}
.tut-kbd h4 { font-size: 0.75rem; text-transform: uppercase; color: var(--text-dim); letter-spacing: 0.08em; margin-bottom: 10px; }

.kbd-grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: 6px 12px; align-items: center;
}

kbd {
  background: #0d1117; border: 1px solid #444;
  border-radius: 4px; padding: 2px 8px;
  font-size: 0.75rem; color: var(--blue);
  font-family: monospace; white-space: nowrap;
}

.kbd-grid span { font-size: 0.78rem; color: var(--text-dim); }

/* ─────────────────── FABRIK HINWEIS-LEISTE ─────────────────── */

#factory-hint-bar {
  display: flex; align-items: center; gap: 18px;
  background: rgba(0,0,0,0.55);
  border-bottom: 1px solid var(--border);
  padding: 5px 14px;
  font-size: 0.74rem; color: var(--text-dim);
  flex-shrink: 0;
}

#factory-hint-bar span strong { color: var(--text); }

/* ─────────────────── HUD NEUE ELEMENTE ─────────────────── */

.btn-hud {
  background: #1a3a1a; border: 1px solid #2a6a2a;
  color: #5aef5a; padding: 4px 12px;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 0.8rem; font-weight: 700;
  transition: background 0.15s;
  display: flex; align-items: center; gap: 4px;
}
.btn-hud:hover { background: #1f4a1f; }

.stock-badge {
  background: #2a6a2a; color: #fff;
  border-radius: 10px; padding: 1px 7px;
  font-size: 0.72rem; font-weight: 700;
}

.btn-xs-red {
  background: none; border: 1px solid var(--red);
  color: var(--red); border-radius: var(--radius-sm);
  padding: 2px 7px; cursor: pointer; font-size: 0.78rem;
  line-height: 1;
}
.btn-xs-red:hover { background: #2a0d0d; }

.hud-toggle {
  display: flex; align-items: center; cursor: pointer;
  gap: 0;
}

.toggle-track {
  width: 32px; height: 18px;
  background: var(--border); border-radius: 9px;
  position: relative; transition: background 0.2s;
  display: block;
}

.hud-toggle input { display: none; }

.hud-toggle input:checked + .toggle-track { background: var(--green); }

.toggle-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: #fff; border-radius: 50%;
  transition: left 0.2s;
}

.hud-toggle input:checked + .toggle-track .toggle-thumb { left: 16px; }

.hud-toggle-label {
  font-size: 0.75rem; color: var(--text-dim); margin-left: 6px;
}

/* ─────────────────── MARKT: LAGER-BANNER ─────────────────── */

#market-stock-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: #0d2a14; border: 1px solid #2a6a2a;
  border-radius: var(--radius); padding: 12px 16px;
  margin-bottom: 16px;
}

.stock-info { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.stock-info strong { color: var(--green); font-size: 1.1rem; }
.stock-icon { font-size: 1.2rem; }

/* Sell-Buttons full-width in Region-Cards */
.btn-sell-full { margin-top: 10px; width: 100%; }

/* Sell-Label and sell-amount-input */
.sell-label { color: var(--text-dim); font-size: 0.82rem; }
.sell-amount-input {
  width: 80px;
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text); padding: 7px 10px;
  border-radius: var(--radius-sm); font-size: 0.9rem;
}

.btn-xs-outline {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); padding: 6px 10px;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 0.8rem; transition: border-color 0.15s;
}
.btn-xs-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ─────────────────── SIDEBAR INLINE-STYLE ERSATZ ─────────────────── */

.conn-status-text { font-size: 0.78rem; color: #666; }
.lobby-id-text { font-size: 0.72rem; color: var(--blue); margin-top: 4px; }
.btn-full-top { margin-top: 6px; width: 100%; }
.side-section-flex { flex: 1; }
.side-section-col { display: flex; flex-direction: column; }
.chat-messages-inner { max-height: 160px; overflow-y: auto; margin-bottom: 4px; }
