.ck-gnomix {
  position: absolute;
  left: 8px;
  top: 40px;
  z-index: 3;
  width: min(350px, calc(100% - 177px));
  max-height: calc(100% - 91px);
  overflow: auto;
  scrollbar-width: thin;
}
.ck-gnomix [hidden], .ck-gnomix[hidden] { display: none; }
.ck-gnomix-arriving {
  width: fit-content;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #718275;
  border-radius: 4px;
  background: #182826f7;
  color: #f6ead5;
  font-size: 12px;
}
.ck-ride .ck-gnomix-invite {
  min-height: 44px;
  background: var(--ck-accent);
  border-color: #eabb53;
  color: #201a0e;
}
.ck-gnomix-caption {
  display: grid;
  gap: 2px;
  width: fit-content;
  margin: 6px 0 0;
  padding: 7px 9px;
  border: 1px solid #718275;
  border-left: 3px solid var(--ck-accent);
  border-radius: 4px;
  background: #182826f7;
  color: #f6ead5;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.ck-gnomix-caption strong { color: var(--ck-accent); }
.ck-gnomix-panel {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid #718275;
  border-top: 3px solid var(--ck-accent);
  border-radius: 6px;
  background: #182826f7;
  color: #f6ead5;
}
.ck-gnomix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ck-gnomix-head h3 {
  margin: 0;
  font: 800 24px/1 "Barlow Condensed",sans-serif;
}
.ck-ride .ck-gnomix button { min-height: 44px; text-wrap: balance; }
.ck-ride .ck-gnomix-close {
  width: 44px;
  padding: 0;
  font-size: 21px;
}
.ck-gnomix-reply {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.ck-gnomix-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.ck-gnomix-actions .ck-gnomix-news { grid-column: 1/-1; }
.ck-gnomix-form {
  display: grid;
  gap: 5px;
}
.ck-gnomix-form label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}
.ck-gnomix-form :is(input,select) {
  box-sizing: border-box;
  min-height: 44px;
  width: 100%;
  border: 1px solid #718275;
  border-radius: 4px;
  padding: 7px;
  background: #111d1b;
  color: #fff4dc;
  font: inherit;
  font-size: 16px;
}
.ck-gnomix-form small { color: #c9cdbd; font-size: 11px; }
.ck-gnomix-share {
  border-top: 1px solid #4d6359;
  padding-top: 5px;
}
.ck-gnomix-share summary {
  min-height: 38px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.ck-gnomix-note-preview {
  display: block;
  padding: 6px 8px;
  border-left: 2px solid var(--ck-accent);
  color: #e6ddcb;
  font-size: 12px;
  line-height: 1.4;
}
.ck-ride .ck-gnomix-send {
  background: var(--ck-accent);
  border-color: #eabb53;
  color: #201a0e;
}
.ck-ride .ck-gnomix button:disabled { opacity: .65; cursor: wait; }
.ck-ride .ck-gnomix :is(button,input,select,summary):focus-visible {
  outline: 2px solid var(--ck-accent);
  outline-offset: -2px;
}
@container (max-width: 520px) {
  .ck-gnomix { width: calc(100% - 127px); }
}
@container (max-width: 350px) {
  .ck-gnomix-actions { grid-template-columns: 1fr; }
}
