:root {
  --bg: #08110d;
  --bg-deep: #060d0a;
  --panel: #0d1913;
  --panel-2: #12231b;
  --panel-3: #182d22;
  --panel-4: #1d3628;
  --line: rgba(127, 231, 177, 0.1);
  --line-strong: rgba(127, 231, 177, 0.18);
  --text: #eaf7f0;
  --text-soft: #c2d8cb;
  --muted: #7c9a8a;
  --muted-2: #5c7869;
  --green: #3bd67f;
  --green-bright: #5af39a;
  --green-2: #23b96a;
  --green-3: #149c55;
  --green-soft: rgba(59, 214, 127, 0.11);
  --green-line: rgba(59, 214, 127, 0.35);
  --bubble-in: #172a20;
  --bubble-out-a: #236748;
  --bubble-out-b: #1a5539;
  --danger: #ff7373;
  --danger-soft: rgba(255, 115, 115, 0.11);
  --radius: 18px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.35);
  --shadow-green: 0 8px 24px rgba(28, 169, 93, 0.28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
a { color: var(--green-bright); }
::selection { background: rgba(59, 214, 127, 0.3); color: #fff; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-style: normal; font-weight: 500; }

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124, 154, 138, 0.24); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 154, 138, 0.4); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.logo-svg { width: 1em; height: 1em; display: block; }
svg.logo-svg use { color: currentColor; }

/* ------------------------------------------------------------------ boot */
.boot-screen {
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 40%, #10251a 0%, #08110d 55%, #060d0a 100%);
  transition: opacity 0.35s ease, visibility 0.35s;
}
.boot-screen.done { opacity: 0; visibility: hidden; }
.boot-logo {
  width: 82px; height: 82px; border-radius: 26px;
  display: grid; place-items: center;
  color: #052214; font-size: 48px;
  background: linear-gradient(145deg, var(--green-bright), var(--green-3));
  box-shadow: 0 20px 60px rgba(35, 185, 106, 0.35);
  animation: bootIn 0.7s cubic-bezier(.2, .9, .2, 1.2);
}
.boot-name { font-size: 24px; font-weight: 750; letter-spacing: -0.02em; }
.boot-loader { display: flex; gap: 6px; margin-top: 6px; }
.boot-loader span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); opacity: 0.35;
  animation: bootDot 1.1s ease-in-out infinite;
}
.boot-loader span:nth-child(2) { animation-delay: 0.15s; }
.boot-loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bootDot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes bootIn { from { opacity: 0; transform: scale(0.7) rotate(-8deg); } }

/* ------------------------------------------------------------------ auth */
.auth-screen {
  position: relative; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 7%, rgba(38, 145, 91, 0.2), transparent 36%),
    radial-gradient(circle at 55% 100%, rgba(24, 102, 62, 0.14), transparent 42%),
    #08110d;
}
.auth-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.auth-glow-1 { width: 480px; height: 480px; background: rgba(35, 185, 106, 0.12); top: -160px; left: 26%; }
.auth-glow-2 { width: 520px; height: 520px; background: rgba(20, 120, 68, 0.1); bottom: -220px; left: -120px; }

.auth-brand {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  padding: 48px clamp(36px, 6vw, 96px);
  overflow-y: auto;
}
.auth-brand-inner { width: 100%; max-width: 590px; margin: auto; }
.brand-line { display: flex; align-items: center; gap: 13px; font-size: 21px; font-weight: 750; letter-spacing: -0.02em; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; flex: none;
  color: #062418; font-size: 25px;
  background: linear-gradient(145deg, var(--green-bright), var(--green-3));
  box-shadow: 0 8px 26px rgba(35, 185, 106, 0.25);
}
.auth-brand h1 {
  margin: 42px 0 18px;
  font-size: clamp(46px, 5.2vw, 74px);
  line-height: 0.98; letter-spacing: -0.055em; font-weight: 800;
}
.auth-brand h1 em {
  font-style: normal;
  color: var(--green);
  text-shadow: 0 0 48px rgba(59, 214, 127, 0.22);
}
.auth-lead { max-width: 480px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

.auth-preview {
  margin: 34px 0 30px; max-width: 430px;
  background: rgba(17, 34, 25, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  transform: rotate(-1.2deg);
}
.preview-head { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; border-bottom: 1px solid var(--line); }
.preview-avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: 18px; background: linear-gradient(145deg, #1e4c36, #143525); border: 1px solid var(--line-strong);
}
.preview-head b { display: block; font-size: 13px; }
.preview-head small { display: block; color: var(--green); font-size: 10.5px; margin-top: 2px; }
.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-left: auto; box-shadow: 0 0 12px var(--green); }
.preview-body { padding: 14px 4px 4px; display: flex; flex-direction: column; gap: 8px; }
.preview-bubble {
  max-width: 83%; padding: 9px 13px; border-radius: 14px;
  font-size: 12.5px; line-height: 1.4;
  background: var(--bubble-in); border: 1px solid rgba(255,255,255,.03);
}
.preview-in { border-bottom-left-radius: 4px; }
.preview-out {
  align-self: flex-end;
  background: linear-gradient(145deg, var(--bubble-out-a), var(--bubble-out-b));
  border-bottom-right-radius: 4px;
}
.preview-reactions { display: flex; gap: 5px; margin-top: 2px; }
.preview-reactions span {
  font-size: 10.5px; padding: 3px 8px; border-radius: 999px;
  background: rgba(59, 214, 127, 0.1); border: 1px solid var(--green-line); color: var(--green);
}
.auth-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.auth-features li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.auth-features li > span {
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); flex: none;
}
.auth-features .icon { width: 13px; height: 13px; stroke-width: 2.4; }

.auth-panel {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 36px clamp(22px, 4vw, 56px);
  background: rgba(10, 20, 15, 0.72);
  border-left: 1px solid var(--line);
  backdrop-filter: blur(24px);
  overflow-y: auto;
}
.auth-card { width: 100%; max-width: 430px; margin: auto; }
.auth-mobile-brand { display: none; align-items: center; gap: 12px; font-weight: 750; font-size: 20px; margin-bottom: 26px; }
.auth-tabs {
  display: flex; padding: 5px; gap: 4px;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 28px;
}
.auth-tab {
  flex: 1; border: 0; background: transparent; color: var(--muted);
  padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 650;
  transition: color .18s, background .18s, box-shadow .18s;
}
.auth-tab.active { color: var(--text); background: var(--panel-4); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.form-heading { margin-bottom: 22px; }
.form-heading h2 { margin: 0 0 7px; font-size: 26px; letter-spacing: -0.035em; }
.form-heading p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.auth-form { animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(7px); } }

.field { display: block; margin-bottom: 15px; }
.field > span { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; color: var(--text-soft); font-size: 12.5px; font-weight: 600; }
.field-wrap {
  display: flex; align-items: center;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 13px; overflow: hidden;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field-wrap:focus-within { border-color: rgba(59, 214, 127, 0.55); box-shadow: 0 0 0 4px rgba(59, 214, 127, 0.075); background: #14271d; }
.field-wrap input, .field-wrap textarea {
  width: 100%; border: 0; outline: 0; background: transparent; color: var(--text);
  padding: 12.5px 14px; font-size: 14px; min-width: 0;
}
.field-wrap textarea { resize: none; line-height: 1.45; }
.field-wrap input::placeholder, .field-wrap textarea::placeholder { color: var(--muted-2); }
.field-prefix { color: var(--muted); padding-left: 13px; font-size: 14px; flex: none; }
.field-icon { display: flex; }
.field-icon .icon { width: 16px; height: 16px; }
.field-suffix { color: var(--green); font-size: 11px; padding-right: 12px; white-space: nowrap; }
.field-hint { display: block; color: var(--muted-2); font-size: 10.5px; margin-top: 5px; }
.field-wrap:has(textarea) { align-items: flex-start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { min-height: 0; margin: 2px 0 12px; color: var(--danger); font-size: 12.5px; line-height: 1.4; }
.form-error:empty { display: none; }
.form-error:not(:empty) {
  padding: 9px 12px; border-radius: 10px;
  background: var(--danger-soft); border: 1px solid rgba(255, 115, 115, 0.18);
}
.form-note { color: var(--muted-2); font-size: 11px; line-height: 1.5; text-align: center; margin: 15px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 13px;
  padding: 11px 18px; font-size: 13.5px; font-weight: 650;
  color: var(--text); background: var(--panel-3);
  transition: transform .15s, filter .15s, background .15s, border-color .15s, opacity .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; filter: none; }
.btn .icon { width: 17px; height: 17px; }
.btn-primary {
  color: #041a0e;
  background: linear-gradient(145deg, var(--green-bright), var(--green-2));
  border-color: rgba(255,255,255,.12);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-soft { background: var(--green-soft); color: var(--green); border-color: var(--line-strong); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.04); color: var(--text); }
.btn-danger { background: linear-gradient(145deg, #f56e6e, #d84b4b); color: #260606; }
.btn-danger-soft { background: var(--danger-soft); color: var(--danger); border-color: rgba(255,115,115,.18); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; font-size: 12px; border-radius: 10px; }
.btn-sm .icon { width: 14px; height: 14px; }

.avatar {
  position: relative; display: grid; place-items: center; flex: none;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(145deg, #244c37, #132b1f);
  color: var(--green); font-weight: 700;
  border: 1px solid rgba(255,255,255,.05);
}
.avatar-content { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .initials { font-size: 38%; letter-spacing: -0.02em; user-select: none; }
.avatar .icon { width: 44%; height: 44%; stroke-width: 1.7; opacity: .85; }
.avatar-36 { width: 36px; height: 36px; font-size: 36px; }
.avatar-44 { width: 44px; height: 44px; font-size: 44px; }
.avatar-48 { width: 48px; height: 48px; font-size: 48px; }
.avatar-72 { width: 72px; height: 72px; font-size: 72px; }
.avatar-80 { width: 80px; height: 80px; font-size: 80px; }
.avatar-96 { width: 96px; height: 96px; font-size: 96px; }
.avatar-edit { border: 1px dashed rgba(59,214,127,.35); }
.avatar-edit .avatar-content { color: var(--muted); }
.avatar-edit-badge {
  position: absolute; right: 0; bottom: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  color: #062114; background: var(--green);
  border: 2px solid var(--panel);
}
.avatar-edit-badge .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.avatar-picker { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.avatar-picker-text b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.avatar-picker-text small { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
.auth-back-link {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; color: var(--muted); font-size: 12px;
  padding: 0 0 18px; margin-left: -4px;
}
.auth-back-link:hover { color: var(--text); }
.auth-back-link .icon { width: 15px; height: 15px; }
.reg-summary {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; margin-bottom: 20px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 13px;
}
.reg-summary b { display: block; font-size: 13px; }
.reg-summary-text { min-width: 0; }
.reg-summary-text > span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.auth-server-note {
  display: flex; align-items: center; gap: 7px;
  margin-top: 26px; color: var(--muted-2); font-size: 10.5px;
  justify-content: center;
}
.server-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(59,214,127,.6); }

/* ------------------------------------------------------------------- app */
.app { display: flex; height: 100dvh; background: var(--bg); position: relative; overflow: hidden; }
.sidebar {
  width: 382px; min-width: 340px; flex: none;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0d1913 0%, #0b1610 100%);
  border-right: 1px solid var(--line);
  position: relative; z-index: 10;
  padding-top: env(safe-area-inset-top);
}
.sidebar-head {
  height: 70px; flex: none; padding: 0 15px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sidebar-brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 750; letter-spacing: -0.03em; }
.brand-mark-sm { width: 31px; height: 31px; border-radius: 10px; font-size: 18px; box-shadow: 0 5px 16px rgba(35,185,106,.2); }
.sidebar-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 11px;
  display: inline-grid; place-items: center; border: 0;
  background: transparent; color: var(--muted);
  transition: color .15s, background .15s, transform .15s;
}
.icon-btn:hover { color: var(--text); background: rgba(255,255,255,.045); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn .icon { width: 19px; height: 19px; }
.me-avatar { margin-left: 5px; cursor: pointer; border: 1px solid var(--line-strong); transition: box-shadow .2s; }
.me-avatar:hover { box-shadow: 0 0 0 3px var(--green-soft); }
.sidebar-search { padding: 0 14px 12px; flex: none; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  height: 43px; padding-left: 13px;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 13px; transition: border-color .18s, box-shadow .18s;
}
.search-box:focus-within { border-color: rgba(59,214,127,.42); box-shadow: 0 0 0 3px rgba(59,214,127,.06); }
.search-box > .icon { width: 17px; height: 17px; color: var(--muted-2); }
.search-box input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0;
  background: transparent; color: var(--text); font-size: 13px;
}
.search-box input::placeholder { color: var(--muted-2); }
.search-settings {
  height: 100%; width: 42px; border: 0; background: transparent;
  color: var(--muted-2); display: grid; place-items: center; border-left: 1px solid var(--line);
}
.search-settings:hover { color: var(--green); background: rgba(59,214,127,.04); }
.search-settings .icon { width: 17px; height: 17px; }

.chat-list { flex: 1; overflow-y: auto; padding: 0 8px 8px; overscroll-behavior: contain; }
.chat-item {
  display: flex; align-items: center; gap: 11px;
  width: 100%; padding: 10px 10px; margin-bottom: 2px;
  border: 1px solid transparent; border-radius: 14px;
  background: transparent; text-align: left; color: var(--text);
  transition: background .14s, border-color .14s;
  position: relative;
}
.chat-item:hover { background: rgba(255,255,255,.028); }
.chat-item.active { background: linear-gradient(90deg, rgba(59,214,127,.1), rgba(59,214,127,.035)); border-color: rgba(59,214,127,.14); }
.chat-item.active::before {
  content: ""; position: absolute; left: -8px; top: 19px; bottom: 19px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--green);
}
.chat-avatar-wrap { position: relative; flex: none; display: inline-flex; }
.online-dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 2.5px solid var(--panel);
  box-shadow: 0 0 8px rgba(59,214,127,.5);
}
.chat-item-main { flex: 1; min-width: 0; }
.chat-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.chat-item-title { flex: 1; min-width: 0; font-size: 13.8px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.chat-item-time { flex: none; color: var(--muted-2); font-size: 10.5px; }
.chat-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.chat-item-preview { flex: 1; min-width: 0; color: var(--muted); font-size: 12.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-preview .prefix { color: var(--muted-2); }
.chat-item-badge {
  flex: none; min-width: 19px; height: 19px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: linear-gradient(145deg, var(--green-bright), var(--green-2));
  color: #052013; font-size: 10.5px; font-weight: 800;
  box-shadow: 0 3px 10px rgba(35,185,106,.25);
}
.chat-item.muted .chat-item-badge { background: var(--panel-4); color: var(--muted); box-shadow: none; }
.chat-item-badge.draft { background: transparent; color: var(--green); }
.chat-list-empty { flex: 1; padding: 30px 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-icon {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 14px;
  border: 1px solid var(--line);
}
.chat-list-empty b { font-size: 14px; margin-bottom: 5px; }
.chat-list-empty p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0 0 15px; max-width: 230px; }
.sidebar-foot {
  flex: none; height: 35px; padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 10px; color: var(--muted-2);
}
.connection-state { display: flex; align-items: center; gap: 6px; }
.connection-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.connection-state.online i { background: var(--green); box-shadow: 0 0 7px rgba(59,214,127,.6); }
.connection-state.offline i { background: var(--danger); }
.app-mini-version { font-variant-numeric: tabular-nums; opacity: .65; }

.chat-panel {
  flex: 1; min-width: 0; position: relative; display: flex;
  background-color: #0a1510;
  background-image:
    radial-gradient(circle at 16% 20%, rgba(59,214,127,.045), transparent 28%),
    radial-gradient(circle at 84% 84%, rgba(59,214,127,.035), transparent 30%),
    radial-gradient(rgba(255,255,255,.027) 1px, transparent 1.15px);
  background-size: auto, auto, 26px 26px;
}
.welcome {
  position: relative; flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 40px 28px;
  overflow: hidden;
}
.welcome-glow {
  position: absolute; width: 430px; height: 430px; border-radius: 50%;
  background: rgba(35,185,106,.07); filter: blur(90px); pointer-events: none;
}
.welcome-mark {
  position: relative; width: 78px; height: 78px; border-radius: 25px;
  display: grid; place-items: center; color: #052114; font-size: 44px;
  background: linear-gradient(145deg, var(--green-bright), var(--green-3));
  box-shadow: 0 20px 55px rgba(35,185,106,.25);
  margin-bottom: 22px;
}
.welcome h2 { position: relative; margin: 0 0 9px; font-size: 25px; letter-spacing: -.035em; }
.welcome p { position: relative; margin: 0 0 24px; color: var(--muted); font-size: 13.5px; }
.welcome-actions { position: relative; display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.welcome-tip { position: relative; display: flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: 10.5px; margin-top: 34px; }
.welcome-tip .icon { width: 13px; height: 13px; }

.chat-view { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; }
.chat-head {
  flex: none; height: 69px; padding: 0 17px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(10, 21, 16, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  position: relative; z-index: 5;
}
.chat-back { display: none; margin-left: -5px; }
.chat-head-profile { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; border: 0; background: transparent; color: var(--text); text-align: left; padding: 5px 6px 5px 0; border-radius: 10px; }
.chat-head-profile:hover .chat-head-title { color: var(--green-bright); }
.chat-head-text { min-width: 0; }
.chat-head-title { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.chat-head-status { color: var(--muted); font-size: 11px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head-status.online { color: var(--green); }
.chat-head-status.typing { color: var(--green); }
.chat-head-actions { display: flex; gap: 2px; flex: none; }

.messages {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 12px clamp(14px, 4.5vw, 58px) 10px;
  display: flex; flex-direction: column;
  scroll-behavior: smooth;
}
.messages-loading { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.skeleton-bubble { height: 46px; border-radius: 14px; background: linear-gradient(90deg, var(--panel-2), var(--panel-3), var(--panel-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; width: 44%; }
.skeleton-bubble.right { align-self: flex-end; width: 36%; }
.skeleton-bubble.short { width: 28%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.load-more {
  align-self: center; margin: 4px 0 12px; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--muted); font-size: 11px;
}
.load-more:hover { color: var(--text); }
.day-sep { display: flex; justify-content: center; margin: 19px 0 8px; }
.day-sep span {
  padding: 4px 11px; border-radius: 999px;
  background: rgba(14, 27, 20, 0.78); border: 1px solid var(--line);
  color: var(--muted); font-size: 10.5px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.msg-row { display: flex; margin-top: 8px; }
.msg-row.same-sender { margin-top: 2px; }
.msg-row.out { justify-content: flex-end; }
.msg-wrap { display: flex; flex-direction: column; align-items: flex-start; max-width: min(70%, 620px); min-width: 0; }
.msg-row.out .msg-wrap { align-items: flex-end; }
.sender-name { color: var(--green); font-size: 11.5px; font-weight: 650; margin: 0 9px 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble {
  position: relative; min-width: 86px;
  padding: 7px 11px 6px;
  border-radius: 15px 15px 15px 4px;
  background: var(--bubble-in);
  border: 1px solid rgba(255,255,255,.035);
  font-size: 14px; line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  overflow-wrap: anywhere;
  -webkit-touch-callout: none;
  animation: msgIn .18s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(4px) scale(.99); } }
.msg-row.out .bubble {
  background: linear-gradient(145deg, var(--bubble-out-a), var(--bubble-out-b));
  border-color: rgba(120,255,183,.08);
  border-radius: 15px 15px 4px 15px;
}
.msg-row.flash .bubble { animation: flashBubble 1.1s ease; }
@keyframes flashBubble { 0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,.12); } 30% { box-shadow: 0 0 0 3px rgba(59,214,127,.35); } }
.msg-text { white-space: pre-wrap; word-break: break-word; }
.msg-text a { color: #9bffc6; text-decoration: underline; text-underline-offset: 2px; }
.msg-row.out .msg-text a { color: #c4ffe0; }
.bubble-meta {
  float: right; display: inline-flex; align-items: center; gap: 4px;
  margin: 7px 0 -2px 12px;
  color: rgba(219, 240, 229, .48); font-size: 10px;
  line-height: 1; white-space: nowrap; user-select: none;
}
.msg-row.out .bubble-meta { color: rgba(224, 255, 240, .58); }
.msg-more {
  border: 0; padding: 0; width: 14px; height: 14px;
  background: transparent; color: rgba(224,255,240,.55);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s, color .15s;
}
.msg-more .icon { width: 14px; height: 14px; }
.bubble:hover .msg-more { opacity: 1; }
.msg-more:hover { color: var(--text); }
@media (hover: none) { .msg-more { opacity: .6; } }

.forwarded-label {
  display: flex; align-items: center; gap: 4px;
  color: var(--green); font-size: 11px; font-weight: 600;
  margin-bottom: 3px; opacity: .92;
}
.forwarded-label .icon { width: 12px; height: 12px; }
.reply-quote {
  display: flex; gap: 7px; min-width: 0;
  margin: 1px 0 5px; padding: 4px 8px 5px;
  border-radius: 8px; border-left: 3px solid var(--green);
  background: rgba(0,0,0,.17);
  cursor: pointer;
}
.reply-quote:hover { background: rgba(0,0,0,.26); }
.reply-quote .rq-line { display: none; }
.reply-quote .rq-body { min-width: 0; }
.reply-quote b { display: block; font-size: 10.5px; color: var(--green-bright); margin-bottom: 1px; font-weight: 700; }
.reply-quote span { display: block; color: var(--text-soft); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; opacity: .85; }
.reply-quote.deleted span { font-style: italic; color: var(--muted); }

.reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.reaction {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 23px; padding: 2px 8px;
  border: 1px solid transparent; border-radius: 999px;
  background: rgba(255,255,255,.055); color: var(--text-soft);
  font-size: 11.5px; line-height: 1;
  transition: background .15s, border-color .15s, transform .15s;
}
.reaction:hover { background: rgba(255,255,255,.09); }
.reaction:active { transform: scale(.94); }
.reaction.active { background: rgba(59,214,127,.16); border-color: rgba(59,214,127,.38); color: var(--green-bright); }
.reaction .r-count { font-size: 10px; font-weight: 700; opacity: .9; }

.message-deleted { color: var(--muted); font-style: italic; font-size: 12.5px; }

.reply-bar {
  flex: none; display: flex; align-items: center; gap: 9px;
  margin: 0 clamp(12px, 4vw, 52px); padding: 7px 9px 7px 12px;
  background: rgba(18, 35, 27, .92); border: 1px solid var(--line);
  border-radius: 11px 11px 0 0; border-bottom: 0;
}
.reply-line { width: 3px; align-self: stretch; border-radius: 3px; background: var(--green); }
.reply-content { flex: 1; min-width: 0; }
.reply-content b { display: block; font-size: 10.5px; color: var(--green); margin-bottom: 1px; }
.reply-content span { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply-bar .icon-btn { width: 28px; height: 28px; }
.reply-bar .icon-btn .icon { width: 15px; height: 15px; }

.composer {
  flex: none; display: flex; align-items: flex-end; gap: 7px;
  padding: 9px clamp(12px, 4vw, 52px) calc(13px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #0a1510 68%, #0a151000);
  position: relative;
}
.composer-btn { margin-bottom: 3px; }
.composer textarea {
  flex: 1; min-width: 0; resize: none; outline: 0; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text);
  min-height: 43px; max-height: 132px; padding: 11px 15px;
  border-radius: 21px; line-height: 1.4; font-size: 14px;
  transition: border-color .18s, background .18s, box-shadow .18s;
  scrollbar-width: thin;
}
.composer textarea:focus { border-color: rgba(59,214,127,.35); background: #14271d; box-shadow: 0 0 0 3px rgba(59,214,127,.05); }
.composer textarea::placeholder { color: var(--muted-2); }
.send-btn {
  flex: none; width: 43px; height: 43px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: #042012; background: linear-gradient(145deg, var(--green-bright), var(--green-2));
  box-shadow: 0 6px 18px rgba(35,185,106,.25);
  transition: transform .15s, filter .15s, opacity .15s;
}
.send-btn:hover { filter: brightness(1.06); }
.send-btn:active { transform: scale(.92); }
.send-btn .icon { width: 19px; height: 19px; margin-left: -1px; stroke-width: 2; }
.send-btn.disabled { opacity: .45; pointer-events: none; }
.emoji-panel {
  position: absolute; left: clamp(12px, 4vw, 52px); bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 20; width: 286px; padding: 9px;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
  background: #12221a; border: 1px solid var(--line-strong);
  border-radius: 14px; box-shadow: var(--shadow-md);
  animation: popIn .14s ease;
}
.emoji-panel button {
  border: 0; background: transparent; border-radius: 7px;
  font-size: 19px; line-height: 1; padding: 5px 2px;
}
.emoji-panel button:hover { background: var(--panel-4); }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(3px); } }

/* ---------------------------------------------------------------- modals */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(3, 10, 7, .68);
  backdrop-filter: blur(9px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, visibility .18s;
}
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-card {
  width: min(560px, 100%); max-height: min(87dvh, 780px);
  display: flex; flex-direction: column;
  background: #0f1d16;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.985);
  transition: transform .2s cubic-bezier(.2,.9,.3,1);
  overflow: hidden;
}
.modal.open .modal-card { transform: none; }
.modal-sm { width: min(475px, 100%); }
.modal-xs { width: min(405px, 100%); }
.modal-settings { width: min(620px, 100%); }
.modal-head {
  flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--line);
}
.modal-head h3 { margin: 0 0 3px; font-size: 18px; letter-spacing: -.025em; }
.modal-head p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.modal-head .icon-btn { margin: -5px -5px 0 0; width: 32px; height: 32px; }
.modal-body { padding: 19px 20px; overflow-y: auto; min-height: 0; }
.modal-foot {
  flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 7px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom)) ;
  border-top: 1px solid var(--line);
  background: rgba(8, 17, 13, .35);
}
.modal-search { margin-bottom: 12px; height: 41px; }
.results-hint { padding: 26px 10px; text-align: center; color: var(--muted-2); font-size: 12px; line-height: 1.5; }
.user-results { min-height: 70px; max-height: 330px; overflow-y: auto; }
.user-results.compact { max-height: 210px; }
.user-result {
  display: flex; align-items: center; gap: 11px;
  padding: 8px; border-radius: 11px; cursor: pointer;
  transition: background .14s;
}
.user-result:hover { background: rgba(255,255,255,.04); }
.user-result .u-info { flex: 1; min-width: 0; }
.user-result .u-info b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-result .u-info span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-result .u-action {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  color: var(--green); background: var(--green-soft);
}
.user-result .u-action .icon { width: 15px; height: 15px; }
.user-result.selected .u-action { background: var(--green); color: #052013; }
.user-result .u-online { color: var(--green); font-size: 10px; }

.group-form .group-top { display: flex; gap: 16px; margin-bottom: 17px; align-items: flex-start; }
.group-fields { flex: 1; min-width: 0; }
.group-fields .field:last-child { margin-bottom: 0; }
.form-label { display: flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 12px; font-weight: 600; margin: 16px 0 8px; }
.form-label span { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 10px; }
.selected-users { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.selected-users:empty { display: none; }
.selected-chip {
  display: inline-flex; align-items: center; gap: 5px;
  max-width: 100%; padding: 4px 7px 4px 4px;
  border-radius: 999px; background: var(--panel-3); border: 1px solid var(--line);
  color: var(--text-soft); font-size: 11px; cursor: pointer;
}
.selected-chip:hover { border-color: rgba(255,115,115,.3); color: var(--danger); }
.selected-chip .avatar { width: 20px; height: 20px; font-size: 20px; }
.selected-chip .x { font-size: 13px; line-height: 1; margin-left: 1px; opacity: .7; }
.selected-chip .initials { font-size: 8px; }
.group-form .modal-search { margin-bottom: 4px; }

.forward-list { display: flex; flex-direction: column; gap: 3px; max-height: 420px; overflow-y: auto; }
.forward-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px; border-radius: 11px; border: 0;
  background: transparent; color: var(--text); text-align: left;
}
.forward-item:hover { background: rgba(255,255,255,.04); }
.forward-item b { font-size: 13px; display: block; }
.forward-item span { font-size: 10.5px; color: var(--muted); display: block; margin-top: 2px; }

.info-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5px 0 20px; }
.info-hero .avatar { margin-bottom: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.info-hero h4 { margin: 0 0 3px; font-size: 20px; letter-spacing: -.02em; }
.info-hero .u-handle { color: var(--green); font-size: 12px; }
.info-hero .u-bio { margin: 9px 0 0; color: var(--muted); font-size: 12.5px; max-width: 380px; line-height: 1.5; white-space: pre-wrap; }
.info-stats { display: flex; justify-content: center; gap: 24px; margin-top: 14px; }
.info-stat { text-align: center; }
.info-stat b { display: block; font-size: 16px; }
.info-stat span { color: var(--muted); font-size: 10.5px; }
.info-section-title { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 6px; }
.info-section-title h5 { margin: 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.info-section-title .btn { padding: 4px 8px; font-size: 10.5px; border-radius: 7px; }
.member-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 9px; }
.member-row:hover { background: rgba(255,255,255,.03); }
.member-row .m-info { flex: 1; min-width: 0; }
.member-row .m-info b { display: block; font-size: 12.5px; }
.member-row .m-info span { display: block; color: var(--muted); font-size: 10.5px; margin-top: 1px; }
.member-role { color: var(--green); font-size: 10px; margin-left: 4px; }
.add-member-box { display: flex; gap: 6px; margin-top: 7px; }
.add-member-box .field-wrap { flex: 1; }
.add-member-box .field-wrap input { padding: 9px 12px; font-size: 12px; }
.add-member-box .btn { padding: 8px 12px; }
.info-actions { display: flex; gap: 7px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

.settings-body { padding-top: 17px; }
.settings-profile {
  display: flex; align-items: center; gap: 14px;
  padding: 15px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(59,214,127,.11), rgba(59,214,127,.025));
  border: 1px solid var(--line);
  margin-bottom: 15px;
}
.settings-profile-info { flex: 1; min-width: 0; }
.settings-profile-info b { display: block; font-size: 16px; letter-spacing: -.02em; }
.settings-profile-info > span { display: block; color: var(--green); font-size: 11.5px; margin-top: 1px; }
.settings-profile-info p { margin: 5px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.4; white-space: pre-wrap; }
.settings-block { padding: 15px 15px 16px; border: 1px solid var(--line); border-radius: 15px; margin-bottom: 12px; background: rgba(255,255,255,.012); }
.settings-block-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.settings-block-head h4 { margin: 0 0 3px; font-size: 13.5px; }
.settings-block-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; max-width: 330px; }
.settings-block-head b { color: var(--text-soft); font-weight: 600; }
.settings-block .btn { flex: none; }
.settings-block > .btn { margin-top: 11px; }
.update-box { margin-top: 11px; padding: 11px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); font-size: 11.5px; line-height: 1.5; }
.update-box.new { border-color: var(--green-line); background: rgba(59,214,127,.07); }
.update-box b { color: var(--text); }
.update-box ul { margin: 7px 0 10px; padding-left: 16px; color: var(--muted); }
.update-box li { margin: 2px 0; }
.update-box .update-actions { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.update-box small { color: var(--muted-2); }
.settings-about { display: flex; align-items: center; gap: 11px; padding: 13px 15px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.settings-about .logo-svg { width: 29px; height: 29px; color: var(--green); }
.settings-about b { display: block; color: var(--text-soft); font-size: 12px; }
.settings-about span { display: block; }
.settings-about > div span:last-child { color: var(--muted-2); }

/* --------------------------------------------------------- context menu */
.msg-menu {
  position: fixed; z-index: 400; width: 236px;
  padding: 7px;
  background: #12221a; border: 1px solid var(--line-strong);
  border-radius: 15px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(.94); transform-origin: top left;
  transition: opacity .13s, transform .13s, visibility .13s;
}
.msg-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.menu-reactions {
  display: flex; flex-wrap: wrap; gap: 1px;
  padding: 3px 3px 7px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.menu-reactions button {
  width: 37px; height: 34px; border: 0; border-radius: 8px;
  background: transparent; font-size: 19px; line-height: 1;
}
.menu-reactions button:hover { background: var(--panel-4); transform: scale(1.06); }
.menu-item {
  width: 100%; display: flex; align-items: center; gap: 9px;
  padding: 8px 9px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text-soft); font-size: 12.5px; text-align: left;
}
.menu-item:hover { background: rgba(255,255,255,.045); color: var(--text); }
.menu-item .icon { width: 16px; height: 16px; }
.menu-danger { color: var(--danger); }
.menu-danger:hover { background: var(--danger-soft); color: var(--danger); }

/* ---------------------------------------------------------------- toasts */
.toast-root {
  position: fixed; z-index: 600;
  left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  pointer-events: none; width: min(92vw, 480px);
}
.toast {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(19, 38, 28, .95); border: 1px solid var(--line-strong);
  color: var(--text-soft); font-size: 12px;
  box-shadow: var(--shadow-md); backdrop-filter: blur(10px);
  animation: toastIn .22s ease;
  max-width: 100%; text-align: center;
}
.toast.error { border-color: rgba(255,115,115,.35); color: #ffc1c1; background: rgba(50,18,18,.96); }
.toast.success { border-color: var(--green-line); color: #c9ffe0; }
.toast.out { animation: toastOut .2s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(5px) scale(.98); } }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 1080px) {
  .sidebar { width: 348px; min-width: 320px; }
  .auth-brand { padding-left: 46px; padding-right: 40px; }
}
@media (max-width: 880px) {
  .auth-screen { display: block; overflow-y: auto; }
  .auth-brand { display: none; }
  .auth-panel { min-height: 100dvh; border-left: 0; padding: 28px 20px; }
  .auth-mobile-brand { display: flex; }
  .auth-card { max-width: 440px; }
  .sidebar { width: 100%; min-width: 0; border-right: 0; }
  .chat-panel {
    position: fixed; inset: 0; z-index: 40;
    transform: translateX(102%);
    transition: transform .22s cubic-bezier(.2,.8,.3,1);
  }
  .app.chat-open .chat-panel { transform: none; }
  .chat-back { display: inline-grid; }
  .chat-head { padding-top: env(safe-area-inset-top); height: calc(64px + env(safe-area-inset-top)); }
  .messages { padding-left: 12px; padding-right: 12px; }
  .msg-wrap { max-width: 84%; }
  .composer { padding-left: 10px; padding-right: 10px; }
  .reply-bar { margin-left: 10px; margin-right: 10px; }
  .emoji-panel { left: 10px; }
  .sidebar-head { height: calc(66px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .sidebar-foot { padding-bottom: env(safe-area-inset-bottom); height: calc(35px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .auth-panel { padding: 22px 16px; }
  .auth-card { max-width: 100%; }
  .auth-tabs { margin-bottom: 22px; }
  .form-heading h2 { font-size: 23px; }
  .auth-preview { display: none; }
  .auth-brand h1 { font-size: 48px; }
  .modal { padding: 10px; align-items: flex-end; }
  .modal-card { max-height: 93dvh; border-radius: 20px 20px 14px 14px; }
  .modal-head, .modal-body { padding-left: 16px; padding-right: 16px; }
  .modal-foot { padding-left: 16px; padding-right: 16px; }
  .modal-foot .btn { flex: 1; }
  .group-top { flex-direction: column; align-items: center; }
  .group-fields { width: 100%; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .settings-profile { flex-wrap: wrap; }
  .settings-profile .btn { width: 100%; }
  .settings-block-head { flex-direction: column; }
  .settings-block-head .btn { align-self: flex-start; }
  .msg-wrap { max-width: 88%; }
  .composer textarea { font-size: 16px; } /* prevents iOS/Android zoom */
  .welcome h2 { font-size: 21px; }
  .welcome-actions { width: 100%; flex-direction: column; }
  .welcome-actions .btn { width: 100%; }
  .chat-head { padding-left: 8px; padding-right: 10px; }
  .chat-head-actions .icon-btn { width: 34px; }
  .bubble { font-size: 14.5px; }
  .emoji-panel { width: 274px; }
}
@media (max-height: 700px) {
  .auth-preview { display: none; }
  .auth-brand h1 { margin-top: 30px; }
}
