* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #000;
  color: #ccc;
  font-family: 'Consolas', 'Courier New', monospace;
  overflow: hidden;
}
canvas {
  display: block;
  cursor: crosshair;
}

/* Spawn screen */
#spawn-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10;
}
#spawn-screen h1 {
  color: #4fc3f7;
  font-size: 48px;
  margin-bottom: 30px;
  letter-spacing: 4px;
}
#spawn-screen input {
  background: #111;
  border: 1px solid #333;
  color: #eee;
  padding: 10px 20px;
  font-size: 18px;
  font-family: inherit;
  width: 250px;
  text-align: center;
  margin-bottom: 20px;
}
#spawn-screen input:focus {
  outline: none;
  border-color: #4fc3f7;
}
.ship-select {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.ship-btn {
  background: #111;
  border: 2px solid #333;
  color: #ccc;
  padding: 15px 25px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  min-width: 120px;
  transition: border-color 0.2s;
}
.ship-btn:hover {
  border-color: #666;
}
.ship-btn.selected {
  border-color: #4fc3f7;
  color: #4fc3f7;
}
.ship-btn .ship-name {
  font-size: 18px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.ship-btn .ship-stats {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
}
#launch-btn {
  background: #4fc3f7;
  color: #000;
  border: none;
  padding: 12px 40px;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 10px;
}
#launch-btn:hover {
  background: #81d4fa;
}
#resume-btn {
  background: #aed581;
  color: #000;
  border: none;
  padding: 12px 40px;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 10px;
}
#resume-btn:hover {
  background: #c5e1a5;
}
#spawn-warning {
  color: #ffb74d;
  font-size: 12px;
  margin-top: 12px;
}

/* HUD */
#hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  display: none;
}
#hud > * {
  pointer-events: auto;
}

/* HUD Panels */
#left-panel {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: 200px;
}
#left-panel > * {
  pointer-events: auto;
}

#right-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: 230px;
}
#right-panel > * {
  pointer-events: auto;
}

/* Ship info */
#ship-info {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #333;
  padding: 10px 15px;
  font-size: 13px;
  flex-shrink: 0;
}
#ship-info .ship-label {
  color: #4fc3f7;
  font-size: 16px;
  margin-bottom: 8px;
}
.hp-bar {
  height: 8px;
  margin: 3px 0;
  background: #222;
  position: relative;
}
.hp-bar-fill {
  height: 100%;
  transition: width 0.1s;
}
.hp-label {
  font-size: 11px;
  color: #888;
}

/* Target info */
#target-info {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid #333;
  padding: 12px 16px;
  font-size: 13px;
  flex-shrink: 0;
  display: none;
}
#target-info .target-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
#target-info .target-label {
  font-size: 16px;
}
#target-info .target-type-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid;
}
#target-info .target-meta {
  font-size: 11px;
  color: #888;
  margin-bottom: 8px;
  line-height: 1.5;
}
#target-info .target-meta span {
  color: #aaa;
}

/* Command bar (bottom center) */
#cmd-bar {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.cmd-btn {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #444;
  color: #ccc;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  min-width: 80px;
  text-align: center;
  transition: opacity 0.15s;
}
.cmd-btn:hover {
  border-color: #4fc3f7;
  color: #fff;
}
.cmd-btn.active {
  border-color: #4fc3f7;
  color: #4fc3f7;
}
.cmd-btn.hidden {
  display: none !important;
}
.cmd-btn.attack-btn {
  border-color: #e57373;
}
.cmd-btn.attack-btn:hover {
  color: #e57373;
}
.cmd-btn.attack-btn.active {
  color: #e57373;
  border-color: #e57373;
  background: rgba(229, 115, 115, 0.15);
}
.cmd-btn.warp-btn {
  border-color: #ce93d8;
}
.cmd-btn.warp-btn:hover {
  color: #ce93d8;
}
.cmd-btn.warp-btn.active {
  color: #ce93d8;
  border-color: #ce93d8;
  background: rgba(206, 147, 216, 0.15);
}
.cmd-btn.undock-btn {
  border-color: #ffeb3b;
}
.cmd-btn.undock-btn:hover {
  color: #ffeb3b;
}
.cmd-btn.jump-btn {
  border-color: #e040fb;
}
.cmd-btn.jump-btn:hover {
  color: #e040fb;
}
.cmd-btn.deploy-btn {
  border-color: #ffd740;
}
.cmd-btn.deploy-btn:hover {
  color: #ffd740;
}

/* Overview (window content — chrome comes from .wm-win) */
.wm-overview .wm-body {
  padding: 4px 0;
}
.ov-section {
  color: #555;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 10px 2px;
  border-top: 1px solid #1a1a1a;
  margin-top: 2px;
}
.ov-section:first-child {
  border-top: none;
  margin-top: 0;
}
.ov-item {
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 2px solid transparent;
  transition: background 0.1s;
}
.ov-item:hover {
  background: rgba(79, 195, 247, 0.08);
}
.ov-item.selected {
  background: rgba(79, 195, 247, 0.12);
  border-left-color: #4fc3f7;
}
.ov-item.selected-hostile {
  background: rgba(229, 115, 115, 0.1);
  border-left-color: #e57373;
}
.ov-item .ov-icon {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex-shrink: 0;
}
.ov-item .ov-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ov-item .ov-tag {
  font-size: 9px;
  color: #555;
  padding: 0 3px;
  border: 1px solid #333;
  border-radius: 2px;
  flex-shrink: 0;
}
.ov-item .ov-dist {
  color: #666;
  font-size: 11px;
  flex-shrink: 0;
}

/* Death screen */
#death-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(100, 0, 0, 0.6);
  z-index: 10;
}
#death-screen h2 {
  color: #e57373;
  font-size: 36px;
  margin-bottom: 20px;
}
#respawn-btn {
  background: #e57373;
  color: #000;
  border: none;
  padding: 12px 30px;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

/* Nav mode indicator */
#nav-indicator {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #4fc3f7;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  display: none;
}

/* Warp bar */
#warp-bar {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  display: none;
  text-align: center;
}
#warp-bar .warp-label {
  color: #ce93d8;
  font-size: 13px;
  margin-bottom: 4px;
}
#warp-bar .warp-track {
  height: 6px;
  background: #222;
  border: 1px solid #444;
}
#warp-bar .warp-fill {
  height: 100%;
  background: #ce93d8;
  transition: width 0.1s;
}

/* Mining button */
.cmd-btn.mine-btn {
  border-color: #8d6e63;
}
.cmd-btn.mine-btn:hover {
  color: #8d6e63;
}
.cmd-btn.mine-btn.active {
  color: #ffb74d;
  border-color: #ffb74d;
  background: rgba(255, 183, 77, 0.15);
}

/* Item rows (inventory / station / market windows) */
.station-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 2px;
  font-size: 12px;
}
.station-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.station-row .item-name {
  flex: 1;
  color: #ccc;
}
.station-row .item-slot {
  color: #666;
  font-size: 10px;
  text-transform: uppercase;
  width: 35px;
}
.station-row .item-price {
  color: #ffd54f;
  width: 60px;
  text-align: right;
}
.station-row .item-effect {
  color: #888;
  font-size: 10px;
  flex: 1;
}
.station-row button {
  background: #222;
  border: 1px solid #444;
  color: #ccc;
  padding: 2px 10px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.station-row button:hover {
  border-color: #4fc3f7;
  color: #fff;
}
.station-row button.sell-btn:hover {
  border-color: #e57373;
  color: #e57373;
}
.station-row button.fit-btn:hover {
  border-color: #aed581;
  color: #aed581;
}
.fitted-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: 12px;
  background: rgba(79, 195, 247, 0.05);
  margin-bottom: 2px;
}
.fitted-row .item-name {
  flex: 1;
  color: #4fc3f7;
}
.fitted-row .item-slot {
  color: #666;
  font-size: 10px;
  text-transform: uppercase;
}
.fitted-row button {
  background: #222;
  border: 1px solid #444;
  color: #ccc;
  padding: 2px 8px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.fitted-row button:hover {
  border-color: #e57373;
  color: #e57373;
}
/* Order book (market window) */
.market-note {
  color: #555;
  font-size: 11px;
  padding: 4px 8px;
  line-height: 1.5;
}
.market-note.warn {
  color: #ffb74d;
  padding: 0 8px;
}
.market-cols {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.market-items {
  width: 160px;
  flex-shrink: 0;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.02);
}
.market-group {
  color: #666;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 8px 10px 2px;
}
.market-item {
  padding: 3px 10px;
  font-size: 12px;
  color: #ccc;
  cursor: pointer;
}
.market-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.market-item.selected {
  background: rgba(79, 195, 247, 0.12);
  outline: 1px solid #29506a;
}
.market-detail {
  flex: 1;
  min-width: 0;
}
.buy-col {
  color: #81c784;
}
.sell-col {
  color: #e57373;
}
.book-detail-title {
  color: #4fc3f7;
  font-size: 13px;
  margin-bottom: 6px;
}
.order-window {
  margin-top: 8px;
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.02);
}
.order-window-body {
  max-height: 150px;
  overflow-y: auto;
}
.book-side-title {
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
}
.book-order-row {
  display: flex;
  gap: 8px;
  font-size: 12px;
  padding: 2px 4px;
}
.book-order-row.mine {
  background: rgba(255, 213, 79, 0.08);
}
.book-order-row.remote {
  opacity: 0.55;
}
.book-order-row.book-cols-header {
  color: #666;
  font-size: 9px;
  position: sticky;
  top: 0;
  background: #141414;
}
.book-order-row .book-loc {
  flex: 1;
  min-width: 0;
  color: #aaa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.loc-far {
  color: #666;
  font-size: 10px;
}
.book-order-row .item-price {
  width: 52px;
  min-width: 52px;
  text-align: right;
}
.book-qty {
  color: #888;
}
.book-order-row .book-qty {
  width: 38px;
  text-align: right;
}
.book-age {
  width: 32px;
  text-align: right;
  color: #777;
  font-size: 10px;
}
.book-tag {
  color: #666;
  font-size: 10px;
}
.book-order-row .book-tag {
  width: 28px;
  text-align: center;
}
.book-act {
  width: 48px;
  text-align: right;
}
.book-order-row button {
  background: #222;
  border: 1px solid #444;
  color: #ccc;
  padding: 1px 10px;
  margin-left: auto;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.book-order-row button.order-buy-btn:hover {
  border-color: #81c784;
  color: #81c784;
}
.book-order-row button.order-sell-btn:hover {
  border-color: #e57373;
  color: #e57373;
}
.order-qty-label {
  color: #888;
  font-size: 11px;
  align-self: center;
}
.order-form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.order-form input {
  width: 70px;
  background: #111;
  border: 1px solid #333;
  color: #ccc;
  padding: 3px 6px;
  font-family: inherit;
  font-size: 12px;
}
.order-form button {
  background: #222;
  border: 1px solid #444;
  color: #ccc;
  padding: 3px 10px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.order-form button.order-buy-btn:hover {
  border-color: #81c784;
  color: #81c784;
}
.order-form button.order-sell-btn:hover {
  border-color: #e57373;
  color: #e57373;
}
.order-meta {
  color: #666;
  font-size: 10px;
}

/* System + credits display (ship info panel) */
#system-display {
  color: #e040fb;
  font-size: 12px;
  margin-top: 4px;
}
#credits-display {
  color: #ffd54f;
  font-size: 12px;
  margin-top: 2px;
}

/* ── Window manager chrome ─────────────────────────────────────────── */
.wm-win {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: rgba(8, 10, 14, 0.92);
  border: 1px solid #37444f;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.wm-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(79, 195, 247, 0.08);
  border-bottom: 1px solid #2a3742;
  padding: 5px 8px;
  cursor: move;
  user-select: none;
  touch-action: none;
  flex-shrink: 0;
}
.wm-title {
  color: #4fc3f7;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wm-close {
  background: none;
  border: none;
  color: #667;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  font-family: inherit;
  flex-shrink: 0;
}
.wm-close:hover {
  color: #e57373;
}
.wm-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 10px;
  font-size: 12px;
}
.wm-resize {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
  touch-action: none;
  background: linear-gradient(135deg, transparent 50%, #37444f 50%);
}

/* Taskbar */
#taskbar {
  position: absolute;
  left: 10px;
  bottom: 15px;
  display: flex;
  gap: 6px;
  z-index: 1000;
}
.task-btn {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #333;
  color: #778;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
}
.task-btn:hover {
  border-color: #4fc3f7;
  color: #ccc;
}
.task-btn.active {
  color: #4fc3f7;
  border-color: #29506a;
  background: rgba(79, 195, 247, 0.1);
}

/* Context menu */
.ctx-menu {
  position: fixed;
  z-index: 2000;
  min-width: 190px;
  background: rgba(10, 12, 16, 0.97);
  border: 1px solid #37444f;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  padding: 3px 0;
  font-size: 12px;
}
.ctx-header {
  color: #4fc3f7;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px 3px;
}
.ctx-sep {
  border-top: 1px solid #222c36;
  margin: 3px 0;
}
.ctx-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 5px 12px;
  color: #ccc;
  cursor: pointer;
}
.ctx-item:hover {
  background: rgba(79, 195, 247, 0.12);
  color: #fff;
}
.ctx-item.danger {
  color: #e57373;
}
.ctx-item.danger:hover {
  background: rgba(229, 115, 115, 0.12);
  color: #e57373;
}
.ctx-item.disabled {
  color: #555;
  cursor: default;
}
.ctx-item.disabled:hover {
  background: none;
}
.ctx-hint {
  color: #667;
  font-size: 10px;
}
.ctx-item.disabled .ctx-hint {
  color: #445;
}

/* Inventory / station window sections */
.inv-credits {
  color: #ffd54f;
  font-size: 13px;
  padding-bottom: 6px;
}
.inv-section {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #4fc3f7;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 8px 0 4px;
  border-bottom: 1px solid #1e2830;
  margin-bottom: 4px;
}
.inv-dim {
  color: #667;
  letter-spacing: 0;
}
.station-mod {
  color: #ffd740;
}
.market-note.bonus {
  color: #aed581;
}
.market-note b {
  color: #8ab;
  font-weight: normal;
}
.undock-wide {
  background: #333;
  border: 1px solid #555;
  color: #ccc;
  padding: 8px 24px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  margin-top: 10px;
  display: block;
  width: 100%;
}
.undock-wide:hover {
  border-color: #ffeb3b;
  color: #ffeb3b;
}

/* Trade dialog */
.trade-item {
  color: #4fc3f7;
  font-size: 14px;
  margin-bottom: 4px;
}
.trade-ctx {
  color: #888;
  font-size: 11px;
  margin-bottom: 6px;
}
.trade-total {
  color: #ffd54f;
  font-size: 12px;
  margin-top: 6px;
  min-height: 15px;
}
.trade-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.trade-actions button {
  flex: 1;
  background: #222;
  border: 1px solid #444;
  color: #ccc;
  padding: 6px 0;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
}
.trade-actions button.order-buy-btn:hover {
  border-color: #81c784;
  color: #81c784;
}
.trade-actions button.order-sell-btn:hover {
  border-color: #e57373;
  color: #e57373;
}
.trade-actions #trade-cancel:hover {
  border-color: #4fc3f7;
  color: #fff;
}

/* Market window: pin the panes so the item list and BOTH order tables
   share the window height — resizing the window resizes them. */
.wm-market .wm-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wm-market .market-cols {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.wm-market .market-items {
  max-height: none;
}
.wm-market .market-detail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.wm-market .order-window {
  flex: 1 1 120px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
}
.wm-market .order-window-body {
  max-height: none;
  flex: 1;
  min-height: 0;
}
.market-myorders {
  flex-shrink: 0;
  margin-top: 8px;
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.02);
}
.myorders-body {
  max-height: 110px;
  overflow-y: auto;
}

/* Chat window */
.wm-chat .wm-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.chat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px 6px 0;
  border-bottom: 1px solid #1e2830;
  flex-shrink: 0;
}
.chat-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #10141a;
  border: 1px solid #222c36;
  border-bottom: none;
  color: #778;
  padding: 3px 8px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  max-width: 130px;
}
.chat-tab:hover {
  color: #ccc;
}
.chat-tab.active {
  color: #4fc3f7;
  border-color: #29506a;
  background: rgba(79, 195, 247, 0.08);
}
.chat-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-tab-x {
  color: #556;
  padding: 0 1px;
}
.chat-tab-x:hover {
  color: #e57373;
}
.chat-unread {
  background: #e57373;
  color: #000;
  font-size: 9px;
  padding: 0 4px;
  border-radius: 6px;
}
.chat-add {
  max-width: none;
  color: #4fc3f7;
}
.chat-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 6px 6px;
}
.chat-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  font-size: 12px;
  padding: 2px 2px 4px;
}
.chat-line {
  padding: 1px 0;
  overflow-wrap: anywhere;
}
.chat-ts {
  color: #556;
  font-size: 10px;
}
.chat-from {
  color: #4fc3f7;
}
.chat-sys {
  color: #667;
  font-style: italic;
  font-size: 11px;
  padding: 2px 0;
  text-align: center;
}
.chat-note {
  color: #889;
  font-size: 12px;
  padding: 10px 6px;
}
.chat-actions {
  display: flex;
  gap: 8px;
  padding: 0 6px;
}
.chat-actions button {
  background: #222;
  border: 1px solid #444;
  color: #ccc;
  padding: 4px 16px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.chat-actions button:first-child:hover {
  border-color: #81c784;
  color: #81c784;
}
.chat-actions button:last-child:hover {
  border-color: #e57373;
  color: #e57373;
}
.chat-form {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.chat-form input {
  flex: 1;
  min-width: 0;
  background: #111;
  border: 1px solid #333;
  color: #ccc;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 12px;
}
.chat-form input:focus {
  outline: none;
  border-color: #29506a;
}
.chat-form button {
  background: #222;
  border: 1px solid #444;
  color: #ccc;
  padding: 4px 12px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.chat-form button:hover:not(:disabled) {
  border-color: #4fc3f7;
  color: #fff;
}
