.comment-button {
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(245,242,234,.18);
  border-radius: 999px;
  background: rgba(2,39,54,.24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.comment-button:hover {
  transform: translateY(-2px);
  border-color: rgba(245,242,234,.45);
  background: rgba(245,242,234,.07);
}

.comment-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comment-button span {
  font-size: 11px;
  font-weight: 500;
}

.comments-panel {
  position: fixed;
  z-index: 125;
  top: 0;
  left: 0;
  width: min(560px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 30px;
  background: rgba(3,42,58,.96);
  backdrop-filter: blur(28px);
  box-shadow: 30px 0 90px rgba(0,0,0,.32);
  transform: translateX(-105%);
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}

.comments-panel.is-open { transform: translateX(0); }

.comments-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(245,242,234,.12);
}

.comments-panel__head small {
  color: rgba(245,242,234,.56);
  font: 600 8px/1 Inter, Arial, sans-serif;
  letter-spacing: .14em;
}

.comments-panel__head h2 {
  margin: 7px 0 0;
  font-size: 27px;
}

.comments-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,242,234,.15);
  border-radius: 50%;
  cursor: pointer;
}

.comments-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
}

.comments-intro {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  margin: 18px 0 14px;
  padding: 15px;
  border: 1px solid rgba(245,242,234,.12);
  border-radius: 16px;
  background: rgba(245,242,234,.035);
}

.comments-intro__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #d9e6df;
  border-radius: 11px;
  background: rgba(245,242,234,.06);
}

.comments-intro__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comments-intro p {
  margin: 0;
  color: rgba(245,242,234,.68);
  font-size: 12px;
  line-height: 1.9;
}

.comments-slot {
  min-height: 0;
  overflow: auto;
  padding: 0 3px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,242,234,.22) transparent;
}

.comments-slot .utterances {
  max-width: 100%;
  margin: 0;
}

.comments-fallback {
  padding-top: 14px;
  border-top: 1px solid rgba(245,242,234,.12);
  color: rgba(245,242,234,.54);
  font-size: 10px;
  line-height: 1.8;
}

.comments-fallback a {
  color: #f5f2ea;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .comment-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .comment-button span { display: none; }
}

@media (max-width: 760px) {
  .comments-panel { padding: 20px 16px; }
  .comments-panel__head h2 { font-size: 24px; }
  .comments-intro { margin-top: 14px; }
}

@media print {
  .comment-button,
  .comments-panel { display: none !important; }
}
