:root {
  --bg: #0f1216;
  --panel: #181c22;
  --panel-2: #1f242c;
  --border: #2a3039;
  --text: #f2f4f8;
  --muted: #8b95a5;
  --accent: #ff9b2f;
  --accent-hover: #ffad52;
  --error: #ff5d5d;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

[hidden] { display: none !important; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }

input {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
input:focus { outline: none; border-color: var(--accent); }

/* ---------- Login page ---------- */

body.center {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 360px;
  margin: 24px;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.card .logo { display: block; width: 160px; margin: 0 auto 24px; }
.card h1 { font-size: 18px; font-weight: 600; margin: 0 0 20px; text-align: center; }
.card label { display: block; margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.card input { width: 100%; margin: 0 0 16px; padding: 10px 12px; }
.card button { width: 100%; padding: 11px; border: 0; border-radius: 8px; font-weight: 600; }

.primary { background: var(--accent); color: #111; }
.primary:hover:not(:disabled) { background: var(--accent-hover); }

.secondary { margin-top: 12px; background: transparent; border: 1px solid var(--border) !important; }
.secondary:hover:not(:disabled) { border-color: var(--muted) !important; }

.hint { margin: -10px 0 16px; color: var(--muted); font-size: 12px; }
.error { min-height: 1.5em; margin: 0 0 12px; color: var(--error); font-size: 13px; }
.divider { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- App shell ---------- */

/* The whole app is one screen-sized column: top bar, tabs, chat (fills the
   rest and scrolls), composer. dvh tracks mobile browser chrome and the
   on-screen keyboard; vh is the fallback for older browsers. */
body.app {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }

.menu-wrap { position: relative; }

.hamburger {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
}
.hamburger:hover, .hamburger[aria-expanded="true"] { border-color: var(--border); background: var(--panel-2); }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 1px; }

.menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10;
  min-width: 220px;
  padding: 6px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.menu-user {
  padding: 8px 10px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.menu-user strong { color: var(--text); }
.menu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
}
.menu button:hover:not(:disabled) { background: var(--panel); }
.menu .soon { color: var(--muted); font-size: 12px; }
.menu-admin { margin: 6px 0; padding: 6px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.menu-foot { padding: 8px 10px 4px; color: var(--muted); font-size: 11px; }
.menu-foot a { color: var(--muted); }

/* ---------- Admin overlay (server log) ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
}
.overlay-panel {
  position: relative;
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.overlay-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.overlay-head h2 { margin: 0; font-size: 18px; }
.overlay-head .profile-close { position: static; }

.log-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.log-filters select, .log-filters input {
  padding: 7px 10px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.log-btn { padding: 7px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-2); font-weight: 600; }
.log-btn:hover:not(:disabled) { border-color: var(--accent); }
.log-more { margin: 10px auto 16px; display: block; }

.log-list { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 18px; font-size: 13px; }
.log-row {
  display: grid;
  grid-template-columns: 170px 130px minmax(140px, 220px) 1fr 120px;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.log-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.log-type { justify-self: start; padding: 1px 8px; border-radius: 999px; background: var(--panel-2); font-size: 12px; font-weight: 600; }
.log-type.area-account { color: #7cc4ff; }
.log-type.area-auth { color: #c9d1db; }
.log-type.area-profile { color: #d5b3ff; }
.log-type.area-steam { color: #66c0f4; }
.log-type.area-comment { color: #3ddc84; }
.log-type.area-admin { color: var(--accent); }
.log-type.bad { color: #ff8080; }
.log-who { overflow-wrap: anywhere; }
.log-user { padding: 0; border: 0; background: none; font-weight: 600; }
.log-user:hover { color: var(--accent); text-decoration: underline; }
.log-details { color: #c9d1db; overflow-wrap: anywhere; }
.log-ip { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .overlay { padding: 0; }
  .overlay-panel { border-radius: 0; border: 0; }
  .log-row { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .log-time { grid-column: 1; }
  .log-type { grid-column: 2; grid-row: 1; justify-self: end; }
  .log-who, .log-details, .log-ip { grid-column: 1 / -1; }
}

.menu-label {
  padding: 4px 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Below the top bar: optional profile panel (left third) + chat column. */
.workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
}

.chat-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ---------- Profile panel ---------- */

.profile {
  flex: 0 0 33.333%;
  min-width: 300px;
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  background: var(--panel);
  border-right: 1px solid var(--border);
}

.profile-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
}
.profile-close:hover { color: var(--text); border-color: var(--border); background: var(--panel-2); }

.profile-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; }

.avatar {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 800;
  color: #111;
}

.avatar { position: relative; overflow: hidden; padding: 0; border: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.editable { cursor: pointer; }
.avatar-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3px 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.15s;
}
.avatar.editable:hover .avatar-overlay,
.avatar.editable:focus-visible .avatar-overlay { opacity: 1; }
/* Touch screens have no hover: always show the hint there. */
@media (hover: none) { .avatar.editable .avatar-overlay { opacity: 1; } }

.avatar-msg { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.avatar-msg.bad { color: var(--error); }

.link-button {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
}
.link-button:hover { color: var(--error); }

.profile-name { margin: 0; font-size: 24px; font-weight: 700; overflow-wrap: anywhere; }

.presence { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.presence::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555c66;
}
.presence.on { color: #3ddc84; }
.presence.on::before { background: #3ddc84; }

.profile-section { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
.profile-section h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-edit {
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-2);
  font-weight: 600;
}
.profile-edit:hover { border-color: var(--accent); }

.bio { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.muted { margin: 0; color: var(--muted); }

.profile-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-form textarea {
  width: 100%;
  padding: 10px 12px;
  resize: vertical;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.profile-form textarea:focus { outline: none; border-color: var(--accent); }
.profile-form .count { margin: 4px 0 8px; text-align: right; color: var(--muted); font-size: 12px; }
.profile-form .count.over { color: var(--error); }
.profile-form .error { margin: 0 0 8px; min-height: 0; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.form-actions button { padding: 8px 18px; border-radius: 8px; font-weight: 600; }
.form-actions .primary { border: 0; }
.form-actions .secondary { margin: 0; }

/* ---------- Location + time zones ---------- */

.location { display: flex; align-items: center; gap: 6px; margin: 2px 0; font-size: 14px; }
.flag { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); }

/* Header: [picture + name] on the left, small time-zone map on the right;
   the map drops underneath when the panel is narrow. */
.profile-head { flex-wrap: wrap; align-items: flex-start; row-gap: 12px; }
.profile-who { display: flex; gap: 16px; align-items: center; flex: 1 1 220px; min-width: 0; }

.tz-mini { flex: 0 1 200px; min-width: 160px; }
.tz-mini-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tz-mini-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-mini-summary { margin-top: 3px; color: #8be3b2; font-size: 11px; }

.tz-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.tz-head h3 { margin: 0; }

.tz-map { display: block; width: 100%; height: auto; border-radius: 6px; overflow: hidden; user-select: none; touch-action: manipulation; }
.tz-sea { fill: #121820; }
.tz-land { fill: #2b3542; pointer-events: none; }
.tz-zone { fill: transparent; }
.tz-zone.on { fill: rgba(61, 220, 132, 0.5); }
.tz-borders { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 0.35; pointer-events: none; }
.tz-home { fill: none; stroke: #fff; stroke-width: 0.7; stroke-dasharray: 1.5 1.5; pointer-events: none; }
.tz-map.editable .tz-zone { cursor: pointer; }
.tz-map.editable .tz-zone:hover { fill: rgba(61, 220, 132, 0.25); }
.tz-map.editable .tz-zone.on:hover { fill: rgba(61, 220, 132, 0.65); }
.tz-map .tz-zone:focus-visible { outline: none; stroke: #3ddc84; stroke-width: 1; }
.tz-label { fill: var(--muted); font-size: 7.5px; text-anchor: middle; font-family: inherit; }
.tz-summary { margin: 8px 0 0; font-size: 13px; }
.tz-edit-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

/* ---------- Steam ---------- */

.steam-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 16px;
  border-radius: 6px;
  background: linear-gradient(#2a475e, #1b2838);
  border: 1px solid #66c0f4;
  color: #c7d5e0;
  font-weight: 600;
  text-decoration: none;
}
.steam-button:hover { color: #fff; border-color: #fff; }

.steam-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.steam-avatar { width: 28px; height: 28px; border-radius: 4px; flex: none; box-shadow: 0 0 0 1px #66c0f4; }
.steam-link { color: #66c0f4; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.steam-link:hover { text-decoration: underline; }

.ban-badge {
  margin: 10px 0;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.ban-badge.good { background: rgba(61, 220, 132, 0.12); color: #3ddc84; border: 1px solid rgba(61, 220, 132, 0.35); }
.ban-badge.bad  { background: rgba(255, 93, 93, 0.12); color: #ff8080; border: 1px solid rgba(255, 93, 93, 0.45); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.stat-tile {
  padding: 10px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  text-align: center;
}
.stat-value { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

.fine-print { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.steam-footer { display: flex; gap: 14px; align-items: center; margin-top: 12px; font-size: 12px; }
.steam-footer .muted { font-size: 12px; }

.notice { margin: 0 0 10px; padding: 7px 10px; border-radius: 8px; background: rgba(61, 220, 132, 0.12); color: #3ddc84; font-size: 13px; }
.notice.bad { background: rgba(255, 93, 93, 0.12); color: #ff8080; }

/* ---------- Profile comments ---------- */

.comments { --up: #3ddc84; --down: #ff5d5d; }

.comments-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.comments-head h3 { margin: 0; }

.thumb-icon { width: 18px; height: 18px; display: block; }

.vote-totals { display: flex; gap: 12px; font-weight: 700; font-size: 14px; }
.vote-total { display: flex; align-items: center; gap: 5px; }
.vote-total .thumb-icon { width: 16px; height: 16px; }
.vote-total.up { color: var(--up); }
.vote-total.down { color: var(--down); }

.vote-picker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.vote-picker .muted { margin-right: 4px; font-size: 13px; }

.thumb-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.thumb-button .thumb-icon { width: 20px; height: 20px; }
.thumb-button.up { color: var(--up); }
.thumb-button.down { color: var(--down); }
.thumb-button:hover { transform: scale(1.06); }
.thumb-button.up:hover, .thumb-button.up.selected { background: var(--up); color: #111; }
.thumb-button.down:hover, .thumb-button.down.selected { background: var(--down); color: #111; }
.thumb-button.small { width: 34px; height: 34px; }
.thumb-button.small .thumb-icon { width: 16px; height: 16px; }

/* A comment bubble: colored outline matching its vote. */
.comment-bubble {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-2);
}
.comment-bubble.up { border-color: color-mix(in srgb, var(--up) 55%, transparent); }
.comment-bubble.down { border-color: color-mix(in srgb, var(--down) 55%, transparent); }

.composer-bubble {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  animation: bubble-open 0.15s ease-out;
}
@keyframes bubble-open {
  from { opacity: 0; transform: scaleY(0.85); transform-origin: top; }
  to   { opacity: 1; transform: none; }
}
.bubble-thumbs { display: flex; gap: 8px; }
.composer-bubble textarea {
  width: 100%;
  padding: 8px 10px;
  resize: none;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.composer-bubble.up textarea:focus { outline: none; border-color: var(--up); }
.composer-bubble.down textarea:focus { outline: none; border-color: var(--down); }
.composer-bubble .error { margin: 0; min-height: 0; }
.bubble-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bubble-footer .count { color: var(--muted); font-size: 12px; }
.bubble-footer .count.over { color: var(--error); }
.composer-bubble.down .primary { background: var(--down); }

.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.bubble-icon { flex: none; padding-top: 2px; }
.bubble-icon.up { color: var(--up); }
.bubble-icon.down { color: var(--down); }
.bubble-body { min-width: 0; flex: 1; }
.comment-text { margin: 0 0 6px; overflow-wrap: anywhere; }
.comment-bubble.down .comment-text { color: #ffb3b3; }
.comment-bubble.up .comment-text { color: #b8f5d2; }

.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; }
.comment-meta .muted { font-size: 12px; }

.comment-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 2px 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  font-size: 12px;
  font-weight: 600;
}
.comment-author:hover { border-color: var(--accent); }
.comment-author img, .mini-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.mini-avatar { display: grid; place-items: center; color: #111; font-size: 11px; font-weight: 800; }

.link-button.inline { display: inline; margin: 0; font-size: 12px; }

.profile-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.profile-row span:first-child { color: var(--muted); }

/* Room tabs across the top. On a narrow screen they scroll sideways rather
   than wrap. */
.tabs {
  flex: none;
  display: flex;
  gap: 4px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: none;
  position: relative;
  padding: 12px 16px 10px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 600;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }

.badge {
  display: inline-block;
  min-width: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #111;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

/* ---------- Chat ---------- */

.chat {
  flex: 1;
  min-height: 0;          /* lets the flex child shrink so it can scroll */
  overflow-y: auto;
  overscroll-behavior: contain;
  position: relative;
}

.messages {
  list-style: none;
  margin: 0 auto;
  padding: 12px 16px;
  max-width: 1100px;
}

.msg {
  display: flex;
  gap: 10px;
  padding: 3px 0;
  align-items: baseline;
}
.msg-time { flex: none; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.msg-body { min-width: 0; overflow-wrap: anywhere; }
.msg-user {
  margin-right: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
}
.msg-user:hover { text-decoration: underline; }
.msg.mine .msg-user { color: var(--accent); }

.day {
  margin: 14px 0 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.system {
  padding: 6px 0;
  color: var(--muted);
  font-style: italic;
  font-size: 13px;
}
.system.bad { color: var(--error); }

.status {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 6px 12px;
  background: #3a2a12;
  color: #ffd29a;
  font-size: 13px;
  text-align: center;
}

/* ---------- Composer ---------- */

.composer {
  flex: none;
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: var(--panel);
  border-top: 1px solid var(--border);
}
.composer input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 16px;        /* 16px+ stops iOS zooming the page on focus */
}
.composer button {
  flex: none;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
}
.composer button:hover:not(:disabled) { background: var(--accent-hover); }

/* A third of a phone or small tablet is too narrow for a profile, so there
   the panel covers the chat instead; the X brings the chat back. */
@media (max-width: 900px) {
  .profile {
    position: absolute;
    inset: 0;
    z-index: 5;
    min-width: 0;
    max-width: none;
    border-right: 0;
  }
}

@media (max-width: 600px) {
  .topbar { padding-left: 12px; padding-right: 8px; }
  .brand img { height: 28px; }
  .tabs { padding: 0 4px; }
  .tab { padding: 10px 12px 8px; }
  .messages { padding: 8px 10px; }
  .composer { padding-left: 10px; padding-right: 10px; }
  .msg { gap: 8px; }
}
