/* HOPE — Star Sentinel Command OS
   Version: 3.10.C Visual Command Center
   One active CSS authority.
   No docks, no duplicated overlays, no hidden page removal.
*/

:root {
  --bg: #020611;
  --bg2: #05101f;
  --panel: rgba(7, 21, 41, .86);
  --panel2: rgba(11, 33, 62, .90);
  --panel3: rgba(4, 12, 24, .92);
  --soft: rgba(255,255,255,.065);
  --soft2: rgba(103,232,255,.08);
  --line: rgba(103,220,255,.28);
  --line2: rgba(167,139,250,.32);
  --text: #eef9ff;
  --muted: #91aabd;
  --faint: #63798d;
  --cyan: #67e8ff;
  --blue: #4b8dff;
  --green: #68f5b2;
  --yellow: #ffd166;
  --red: #ff637b;
  --purple: #a78bfa;
  --orange: #ffad66;
  --gap: 14px;
  --radius: 20px;
  --side: 265px;
  --shadow: 0 22px 80px rgba(0,0,0,.55);
  --inner: inset 0 1px rgba(255,255,255,.075);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  overflow: hidden;
}

body {
  background:
    radial-gradient(circle at 16% 8%, rgba(28,100,255,.35), transparent 32%),
    radial-gradient(circle at 86% 4%, rgba(167,139,250,.30), transparent 34%),
    radial-gradient(circle at 70% 78%, rgba(103,232,255,.10), transparent 36%),
    linear-gradient(135deg, #01040d, #071423 58%, #02030a);
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 100% 4px, 80px 100%;
  mix-blend-mode: overlay;
  opacity: .32;
}

body:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, transparent, rgba(0,0,0,.28) 82%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  color: var(--text);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

button:hover {
  border-color: rgba(103,232,255,.72);
  background: rgba(103,232,255,.12);
  box-shadow: 0 0 24px rgba(103,232,255,.18);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button.primary {
  border: 0;
  background: linear-gradient(135deg, #1162ff, #00bfff);
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(17,98,255,.28);
}

button.danger {
  border-color: rgba(255,99,123,.55);
  background: rgba(255,99,123,.16);
  color: #ffe3e8;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(2,10,22,.88);
  color: var(--text);
  border-radius: 13px;
  padding: 10px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(103,232,255,.72);
  box-shadow: 0 0 0 3px rgba(103,232,255,.08);
}

textarea {
  resize: vertical;
  min-height: 104px;
  max-height: 220px;
}

#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.app-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  gap: var(--gap);
  height: 100dvh;
  padding: var(--gap);
  max-width: 1980px;
  margin: 0 auto;
}

.glass {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 0%, rgba(103,232,255,.075), transparent 40%),
    linear-gradient(145deg, var(--panel2), var(--panel));
  box-shadow: var(--shadow), var(--inner);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.glass:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.045), transparent);
  transform: translateX(-120%);
  animation: panelSheen 9s ease-in-out infinite;
}

.rail {
  height: calc(100dvh - var(--gap) * 2);
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  flex: 0 0 auto;
}

.brand-card h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 5px;
  line-height: 1;
}

.brand-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .8px;
}

.orbital-core,
.large-core {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f3ffff 0 9%, #67e8ff 10% 28%, #155fff 48%, transparent 72%);
  box-shadow:
    0 0 42px rgba(103,232,255,.52),
    0 0 90px rgba(75,141,255,.20);
}

.orbital-core {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.large-core {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}

.orbital-core span,
.large-core span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px #fff;
}

.orbital-core i,
.large-core i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: orbit 5s linear infinite;
}

.orbital-core i:nth-child(3),
.large-core i:nth-child(3) {
  animation-duration: 7s;
  background: var(--yellow);
}

.orbital-core i:nth-child(4),
.large-core i:nth-child(4) {
  animation-duration: 9s;
  background: var(--purple);
}

.large-core i:nth-child(5) {
  animation-duration: 12s;
  background: var(--cyan);
}

.large-core i:nth-child(6) {
  animation-duration: 15s;
  background: var(--red);
}

.status-card {
  padding: 12px;
  flex: 0 0 auto;
}

.status-line b {
  display: block;
  font-size: 15px;
}

.status-line span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.kpi-grid button {
  text-align: left;
  background: rgba(255,255,255,.045);
  min-width: 0;
}

.kpi-grid b {
  display: block;
  color: var(--cyan);
  font-size: 15px;
}

.kpi-grid span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: grid;
  gap: 6px;
  padding: 10px;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
}

.nav button {
  text-align: left;
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding: 8px 10px;
  min-height: 36px;
  white-space: nowrap;
}

.nav button.active,
.nav button:hover {
  color: var(--text);
  border-color: var(--line);
  background:
    linear-gradient(90deg, rgba(103,232,255,.18), rgba(167,139,250,.06));
}

.nav button.active {
  box-shadow: inset 3px 0 0 var(--cyan), 0 0 20px rgba(103,232,255,.08);
}

.density {
  padding: 12px;
  flex: 0 0 auto;
}

.density span {
  color: var(--muted);
  font-size: 12px;
}

.density div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 7px;
}

.density button.active {
  background: rgba(103,232,255,.14);
  border-color: var(--cyan);
}

.main {
  height: calc(100dvh - var(--gap) * 2);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--gap);
  overflow: hidden;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar p {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.topbar h2 {
  margin: 0;
  font-size: 28px;
}

.top-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.view {
  display: none;
  height: 100%;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}

.view.active {
  display: block;
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, .58fr);
  gap: var(--gap);
  height: 100%;
  min-height: 0;
}

.command-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 11px;
  padding: 14px;
  overflow: hidden;
}

.hope-head {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background:
    radial-gradient(circle at 10% 10%, rgba(104,245,178,.10), transparent 35%),
    linear-gradient(135deg, rgba(103,232,255,.12), rgba(167,139,250,.09));
}

.hope-copy h3 {
  margin: 0;
  font-size: 24px;
}

.hope-copy p {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  color: var(--cyan);
  background: rgba(103,232,255,.10);
  white-space: nowrap;
}

.badge.safe {
  color: var(--green);
  border-color: rgba(104,245,178,.40);
  background: rgba(104,245,178,.08);
}

.badge.warn,
.badge.lock {
  color: var(--yellow);
  border-color: rgba(255,209,102,.40);
  background: rgba(255,209,102,.08);
}

.badge.bad {
  color: var(--red);
  border-color: rgba(255,99,123,.45);
  background: rgba(255,99,123,.08);
}

.thinking-rail {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.thinking-rail span {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  padding: 6px 9px;
  font-size: 12px;
  color: #dffaff;
}

.chat-log {
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(103,232,255,.06), transparent 40%),
    rgba(2,8,19,.70);
  padding: 12px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.msg {
  max-width: 98%;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 16px;
  white-space: pre-wrap;
  line-height: 1.46;
  overflow-wrap: anywhere;
}

.msg small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}

.msg p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.msg.hope {
  background: rgba(104,245,178,.075);
  border: 1px solid rgba(104,245,178,.25);
}

.msg.user {
  margin-left: auto;
  background: rgba(103,232,255,.10);
  border: 1px solid rgba(103,232,255,.35);
}

.msg.pending {
  opacity: .78;
}

.msg.hope.pending p:after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1s infinite alternate;
}

.copy-msg {
  float: right;
  margin-left: 8px;
  padding: 3px 7px !important;
  font-size: 10px !important;
  border-radius: 999px !important;
  opacity: .78;
}

.copy-msg:hover {
  opacity: 1;
}

.quick-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  max-height: 92px;
  overflow: auto;
  scrollbar-width: thin;
}

.quick-row button {
  font-size: 12px;
  padding: 7px 9px;
}

.composer-actions {
  display: grid;
  grid-template-columns: 160px 170px auto auto 1fr;
  gap: 8px;
  margin-top: 8px;
}

.chat-mode-hint {
  font-size: 11px;
  color: var(--muted);
  padding: 7px 10px;
  border: 1px solid rgba(103,232,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.right-stack {
  display: grid;
  gap: var(--gap);
  min-height: 0;
}

.mini-panel {
  padding: 13px;
  overflow: auto;
  scrollbar-width: thin;
}

.mini-panel:nth-child(1) {
  min-height: 250px;
}

.mini-panel:nth-child(2),
.mini-panel:nth-child(3) {
  min-height: 190px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 11px;
}

.panel-title b {
  font-size: 16px;
}

.panel-title span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.insights,
.flow,
.mini-list,
.locks {
  display: grid;
  gap: 8px;
}

.insight,
.flow-step,
.mini-row,
.lock-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,.045);
}

.insight b,
.flow-step b,
.mini-row b {
  display: block;
}

.insight small,
.flow-step small,
.mini-row small {
  color: var(--muted);
  line-height: 1.4;
}

.split,
.brain-layout,
.forge-layout,
.restore-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: var(--gap);
  height: 100%;
  min-height: 0;
}

.view > .glass,
.split > .glass,
.brain-layout > .glass,
.forge-layout > .glass,
.restore-grid > .glass {
  padding: 14px;
  overflow: auto;
  scrollbar-width: thin;
}

.restore-hero p,
#launch p,
#actions p,
#mcp p,
#adapters p,
#forge p {
  color: var(--muted);
  line-height: 1.55;
  margin: 6px 0 12px;
}

.restore-actions,
.toolbar,
.actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 9px 0;
}

.terminal {
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.42;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(103,232,255,.045), transparent 42%),
    rgba(1,7,16,.88);
  padding: 12px;
  min-height: 180px;
  max-height: 58vh;
  overflow: auto;
  scrollbar-width: thin;
}

.raw {
  max-height: 72vh;
}

.small-term {
  max-height: 270px;
}

.cards {
  display: grid;
  gap: 9px;
}

.cards.compact {
  max-height: 46vh;
  overflow: auto;
  scrollbar-width: thin;
}

.card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    radial-gradient(circle at 12% 0%, rgba(103,232,255,.05), transparent 45%),
    rgba(255,255,255,.045);
  padding: 12px;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.card:hover {
  border-color: rgba(103,232,255,.42);
  background: rgba(103,232,255,.055);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.card p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.action-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#actions .card {
  min-height: 150px;
}

#actions .card h3 {
  color: var(--cyan);
}

.timeline {
  display: grid;
  gap: 8px;
}

.event {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  padding: 10px;
}

.event small {
  color: var(--muted);
}

.event b {
  display: block;
  margin-top: 4px;
}

.event p {
  color: var(--muted);
  margin: 5px 0 0;
}

#brainGalaxy {
  width: 100%;
  height: min(64vh, 660px);
  min-height: 400px;
}

.galaxy-link {
  stroke: rgba(103,232,255,.22);
  stroke-width: 2;
}

.galaxy-node circle {
  fill: #081a30;
  stroke: rgba(103,232,255,.60);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(103,232,255,.40));
}

.galaxy-node.core circle {
  stroke: rgba(104,245,178,.70);
}

.galaxy-node text {
  text-anchor: middle;
  fill: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.galaxy-node text.sub {
  fill: var(--muted);
  font-size: 10px;
}

.model-error-human {
  border-color: rgba(255,209,102,.45) !important;
}

.msg.hope.real-briefing {
  border-color: rgba(104,245,178,.45) !important;
  background: linear-gradient(135deg, rgba(104,245,178,.10), rgba(103,232,255,.07)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.briefing-stamp {
  display: inline-block;
  margin: 0 0 6px 0;
  padding: 4px 8px;
  border: 1px solid rgba(104,245,178,.38);
  border-radius: 999px;
  color: var(--green);
  font-size: 11px;
  background: rgba(104,245,178,.08);
}

body.density-compact {
  --side: 228px;
  --gap: 10px;
}

body.density-compact .hope-copy p,
body.density-compact .quick-row {
  display: none;
}

body.density-compact .topbar h2 {
  font-size: 22px;
}

body.density-compact .nav button {
  min-height: 32px;
  padding: 7px 9px;
}

body.density-cinema {
  --side: 290px;
}

body.density-cinema .topbar h2 {
  font-size: 35px;
}

body.density-cinema .hope-copy h3 {
  font-size: 30px;
}

body.density-cinema .large-core {
  width: 108px;
  height: 108px;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(34px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(34px) rotate(-360deg);
  }
}

@keyframes panelSheen {
  0%, 48% {
    transform: translateX(-120%);
  }
  62% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes pulse {
  from {
    opacity: .25;
    transform: scale(.82);
  }
  to {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (max-width: 1360px) {
  :root {
    --side: 235px;
  }

  .command-layout,
  .split,
  .brain-layout,
  .forge-layout,
  .restore-grid {
    grid-template-columns: 1fr;
  }

  .right-stack {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .command-panel {
    min-height: calc(100dvh - 160px);
  }

  .action-lanes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .composer-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  #chatModeSelect {
    max-width: none;
  }

  .right-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  html,
  body {
    overflow: auto;
  }

  .app-shell {
    height: auto;
    min-height: 100dvh;
    grid-template-columns: 1fr;
  }

  .rail {
    height: auto;
  }

  .main {
    height: auto;
    min-height: 0;
  }

  .topbar,
  .hope-head {
    display: grid;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .command-layout {
    height: auto;
  }

  .command-panel {
    min-height: 72vh;
  }

  .view {
    overflow: visible;
  }

  .large-core {
    width: 72px;
    height: 72px;
  }

  .nav {
    max-height: 360px;
  }
}


/* HOPE 3.11.A2 ? OpenClaw-style navigation + Security Panel */
.openclaw-nav {
  gap: 12px;
  padding: 12px 10px;
}

.nav-section {
  display: grid;
  gap: 5px;
}

.nav-section small {
  display: block;
  margin: 5px 7px 3px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-section button {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
}

.nav-section button span {
  width: 20px;
  display: inline-grid;
  place-items: center;
  opacity: .86;
}

.security-layout {
  min-height: 0;
  height: auto;
  margin-bottom: var(--gap);
}

.security-layout.secondary {
  height: auto;
  min-height: 360px;
}

.secure-login-box {
  margin-top: 12px;
  border: 1px solid rgba(103,232,255,.22);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px;
}

.secure-login-box h3 {
  margin: 0 0 5px;
}

.secure-login-box p {
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.provider-vault .card h3 {
  color: var(--cyan);
}

#security .card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

#security .timeline {
  max-height: 460px;
  overflow: auto;
  scrollbar-width: thin;
}

#security .badge.lock {
  border-color: rgba(104,245,178,.35);
  background: rgba(104,245,178,.08);
}

@media (max-width: 980px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


/* HOPE 3.11.B ? OpenClaw Bridge / Hope Skills Mesh */
.openclaw-layout {
  min-height: 0;
  height: auto;
  margin-bottom: var(--gap);
}

.openclaw-layout.secondary {
  height: auto;
  min-height: 460px;
}

#openclaw .card h3 {
  color: var(--cyan);
}

#openclaw code {
  color: var(--cyan);
  background: rgba(103, 232, 255, .08);
  border: 1px solid rgba(103, 232, 255, .16);
  border-radius: 8px;
  padding: 2px 6px;
}

.compact-head {
  margin-top: 16px;
}

#openclaw .timeline {
  max-height: 420px;
  overflow: auto;
  scrollbar-width: thin;
}

#openclaw .badge.lock {
  border-color: rgba(104,245,178,.35);
  background: rgba(104,245,178,.08);
}

#openclaw .badge.bad {
  border-color: rgba(255,107,107,.35);
  background: rgba(255,107,107,.08);
}

#openclaw .badge.warn {
  border-color: rgba(255,209,102,.35);
  background: rgba(255,209,102,.08);
}

#openclaw .badge.safe {
  border-color: rgba(104,245,178,.35);
  background: rgba(104,245,178,.08);
}


/* HOPE 3.11.C ? Telegram Private Channel */
.telegram-layout {
  min-height: 0;
  height: auto;
  margin-bottom: var(--gap);
}

.telegram-layout.secondary {
  height: auto;
  min-height: 420px;
}

#telegram .card h3 {
  color: var(--cyan);
}

#telegram .timeline {
  max-height: 420px;
  overflow: auto;
  scrollbar-width: thin;
}

#telegram .badge.lock {
  border-color: rgba(104,245,178,.35);
  background: rgba(104,245,178,.08);
}

#telegram .badge.bad {
  border-color: rgba(255,107,107,.35);
  background: rgba(255,107,107,.08);
}

#telegram .badge.warn {
  border-color: rgba(255,209,102,.35);
  background: rgba(255,209,102,.08);
}

#telegram .badge.safe {
  border-color: rgba(104,245,178,.35);
  background: rgba(104,245,178,.08);
}


/* HOPE 3.11.C1 ? Telegram Read-Only Inbox */
.telegram-inbox-item {
  border-left: 3px solid rgba(103, 232, 255, .55);
}

#telegramInbox {
  max-height: 360px;
  overflow: auto;
  scrollbar-width: thin;
  margin-bottom: 12px;
}
