/* COMM handle — внутри drawer'а, прижат к ВЕРХУ (pull-down bar, канон APK) */

/* Preview — последнее сообщение, поверх карты, пока drawer закрыт */
.comm-preview {
  position: fixed;
  left: 0; right: 110px;
  bottom: 0;
  height: 44px;
  z-index: 102;
  background: transparent;
  padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  color: #cfe5e5;
  pointer-events: auto;
  transition: opacity .2s;
  overflow: hidden;
}
.comm-preview.hidden { opacity: 0; pointer-events: none; }
.comm-preview__time {
  color: #a0a0a0;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
  min-width: 38px;
}
.comm-preview__author {
  font-weight: 700;
  flex-shrink: 0;
}
.comm-preview__text {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: 'Courier New', 'Consolas', monospace;
}

/* Handle — прижат к ВЕРХУ drawer'а */
.comm-handle {
  position: relative;
  height: 49px;              /* 44 handle + 5 strip */
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: auto;
}

/* Тонкая линия слева от handle (comm_separator, 2dip) — отключена по просьбе */
.comm-handle__sep {
  display: none;
}

/* Полоска под handle (5dip, #dd264954) — отключена по просьбе */
.comm-handle__strip {
  display: none;
}

/* Сама форма handle */
.comm-handle-shape {
  position: relative;
  width: 110px;
  height: 44px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px 4px 0;
  gap: 6px;
}
.comm-handle-shape__svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.comm-handle-shape__label {
  position: relative;
  font-family: 'Coda', 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2deff9;
  text-shadow: 0 0 4px #2deff966;
  z-index: 1;
}
.comm-handle-shape:active .comm-handle-shape__label { color: #b3ffff; }
.comm-handle-shape__nudge {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 22px;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.comm-handle-shape__nudge.on {
  opacity: 1;
  animation: nudgePulse 1.2s ease-in-out infinite;
}
@keyframes nudgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
