:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #8e8e8e;
  --line: #dbdbdb;
  --user-bg: #3797f0;
  --user-ink: #ffffff;
  --assistant-bg: #efefef;
  --assistant-ink: #000000;
  --link: #3797f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

body {
  min-height: 100dvh;
  height: 100dvh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.app {
  max-width: 520px;
  margin: 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}

.chat-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.top-chrome {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.avatar,
.msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #efefef;
  flex-shrink: 0;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.header-text {
  flex: 1;
  min-width: 0;
}

.header-text h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.ai-label {
  margin: 2px 0 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.pin-bar {
  display: block;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 39;
  flex-shrink: 0;
}

.pin-bar[hidden] {
  display: none;
}

.pin-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 14px;
  text-decoration: none;
  color: #111111;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pin-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pin-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.pin-url {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: #111111;
}

.queue-hint {
  margin: 0;
  padding: 0 12px 6px;
  text-align: center;
  font-size: 0.72rem;
  color: #8e8e8e;
  flex-shrink: 0;
}

.queue-hint[hidden] {
  display: none;
}


.system-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px 12px;
}

.system-time,
.system-line {
  margin: 0;
  color: #8e8e8e;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.3;
}

.system-line {
  font-weight: 500;
}

.receipt {
  align-self: flex-end;
  margin: -4px 4px 6px 0;
  color: #8e8e8e;
  font-size: 0.7rem;
  line-height: 1.2;
}

.transcript {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  padding: 16px 10px 12px;
  background: #fff;
}

.transcript-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  min-height: 100%;
}

.transcript-track.is-releasing {
  transition: transform 0.38s cubic-bezier(0.22, 0.9, 0.28, 1);
}

.transcript-track.is-swiping .like-toggle {
  visibility: hidden;
}

.bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  position: relative;
  animation: rise 0.2s ease;
}

.swipe-time {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: #8e8e8e;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.bubble-row.user {
  justify-content: flex-end;
}

.bubble {
  max-width: min(78%, 360px);
  padding: 8px 12px;
  border-radius: 18px;
  line-height: 1.35;
  font-size: 0.95rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bubble-row.assistant .bubble {
  background: var(--assistant-bg);
  color: var(--assistant-ink);
  border-bottom-left-radius: 6px;
}

.bubble-row.user .bubble {
  position: relative;
  background: var(--user-bg);
  color: var(--user-ink);
  border-bottom-right-radius: 6px;
}

.bubble.has-reaction {
  margin-bottom: 8px;
}

.reaction {
  position: absolute;
  left: -2px;
  bottom: -10px;
  min-width: 22px;
  height: 22px;
  padding: 0 3px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.bubble.has-like {
  margin-bottom: 8px;
}

.like-badge {
  position: absolute;
  left: -2px;
  bottom: -10px;
  min-width: 22px;
  height: 22px;
  padding: 0 3px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.like-toggle {
  border: 0;
  background: transparent;
  color: #b0b0b0;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  align-self: center;
  padding: 2px 4px;
  flex-shrink: 0;
}

.bubble-row.assistant:hover .like-toggle,
.bubble-row.assistant:focus-within .like-toggle,
.bubble-row.assistant.liked .like-toggle {
  opacity: 1;
}

.bubble-row.assistant.liked .like-toggle {
  color: #e31c5f;
}

@media (hover: none) {
  .like-toggle {
    opacity: 0.5;
  }
}

.bubble.link-card-wrap {
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  max-width: min(78%, 280px);
}

.link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
}

.link-card img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.link-card-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.link-card-sub {
  display: block;
  color: #8e8e8e;
  font-size: 0.8rem;
  margin-top: 1px;
}

.bubble-row.assistant .bubble {
  position: relative;
}


.fanvue-btn {
  display: inline-flex;
  margin-top: 8px;
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.fanvue-btn:hover {
  text-decoration: underline;
}

.typing {
  display: inline-flex;
  gap: 5px;
  padding: 12px 14px;
  align-items: center;
  min-width: 54px;
  min-height: 16px;
}

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8a8a8;
  animation: typing-bounce 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.error {
  color: #c0392b;
  font-size: 0.88rem;
  text-align: center;
  padding: 4px 8px;
}

.composer {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}

.composer-pill {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 44px;
  padding: 4px 8px 4px 4px;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 24px;
}

.composer textarea {
  flex: 1;
  resize: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 9px 8px 9px 6px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  max-height: 140px;
  outline: none;
  min-width: 0;
}

.composer textarea::placeholder {
  color: #8e8e8e;
}

.composer textarea:focus {
  outline: none;
}

.composer-icon {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #262626;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.composer-icon:hover {
  background: #f4f4f4;
}

.composer-icon:disabled {
  opacity: 0.45;
  cursor: default;
}

.composer-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-bottom: 0;
}

.composer.has-text .composer-tools {
  display: none;
}

.send-text-btn {
  display: none;
  align-self: center;
  border: 0;
  background: transparent;
  color: #0095f6;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 36px;
  padding: 0 8px 0 10px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.composer.has-text .send-text-btn {
  display: inline-block;
}

.send-text-btn:hover {
  color: #1677c9;
}

.send-text-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.emoji-popover {
  position: absolute;
  right: 16px;
  bottom: calc(66px + env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  width: min(276px, calc(100% - 24px));
  padding: 8px;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.emoji-popover[hidden] {
  display: none;
}

.emoji-popover button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.emoji-popover button:hover {
  background: #f2f2f2;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes typing-bounce {
  0%,
  70%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-5px);
  }
}

@media (min-width: 720px) {
  .app {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

.bubble.has-photo {
  padding: 4px;
}

.bubble-row.user .bubble.has-photo {
  background: var(--user-bg);
}

.chat-photo {
  display: block;
  width: 100%;
  max-width: 240px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
  cursor: zoom-in;
}

.photo-placeholder {
  min-width: 140px;
  padding: 36px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  text-align: center;
  font-size: 0.9rem;
}

.bubble-row.assistant .photo-placeholder {
  background: #e3e3e3;
}

.photo-caption {
  padding: 6px 8px 4px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.bubble.sending-photo {
  width: 148px;
  height: 148px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #e6e6e6;
  color: #8e8e8e;
}

.sending-cam {
  display: block;
  transform-origin: 50% 58%;
  animation: cam-rock 1s ease-in-out infinite;
}

@keyframes cam-rock {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
}

.bubble.view-once {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  min-width: 168px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.bubble.view-once .view-once-icon {
  flex-shrink: 0;
  display: block;
}

.bubble.view-once .view-once-label {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.bubble.view-once.opened {
  cursor: default;
  color: #8e8e8e;
  background: #f0f0f0;
}

.bubble.view-once.opened .view-once-label {
  font-weight: 400;
  color: #8e8e8e;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 16px;
}

.photo-viewer[hidden] {
  display: none;
}

.photo-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.photo-viewer-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.photo-viewer-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
}

.call-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #4b4b4b;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 10px;
}

.call-btn:hover {
  background: #f4f4f4;
}

.menu-wrap {
  position: relative;
}

.menu-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4b4b4b;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
}

.menu-btn:hover,
.menu-btn[aria-expanded="true"] {
  background: #f4f4f4;
}

.header-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  padding: 8px;
  z-index: 70;
}

.header-menu[hidden] {
  display: none;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  text-align: left;
  cursor: pointer;
}

.menu-item:hover,
.menu-item:focus {
  background: #eef2ff;
  outline: none;
}

.menu-item.danger {
  color: #e31c1c;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  color: #1c2330;
}

.modal[hidden] {
  display: none;
}

.modal h2 {
  margin: 0;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1d26;
}

.modal-lead {
  margin: 12px 0 22px;
  text-align: center;
  color: #6b7280;
  font-size: 1.02rem;
}

.modal-copy {
  margin: 14px 0 22px;
  color: #5c6570;
  font-size: 1.02rem;
  line-height: 1.45;
}

.modal-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 8px;
  color: #1a1d26;
}

.modal textarea {
  width: 100%;
  resize: vertical;
  min-height: 110px;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: #111;
}

.modal textarea:focus {
  outline: 2px solid #c5d4ff;
  border-color: #9db0f5;
}

.char-count {
  margin: 8px 0 18px;
  text-align: right;
  color: #8b9099;
  font-size: 0.92rem;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-ok,
.btn-outline,
.btn-primary {
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  min-height: 48px;
}

.btn-ok {
  display: block;
  width: 100%;
  color: #fff;
  background: #3b6dff;
  border: 3px solid #8aa6ff;
  box-shadow: 0 0 0 2px #fff inset;
  border-radius: 14px;
}

.btn-ok:hover {
  background: #2f5ff0;
}

.btn-outline {
  background: #fff;
  color: #111;
  border: 1px solid #c5c9d0;
}

.btn-outline:hover {
  background: #f7f7f8;
}

.btn-primary {
  background: #9db0f5;
  color: #fff;
  border: 0;
}

.btn-primary:hover:not(:disabled) {
  background: #8aa0f0;
}

.btn-primary:disabled {
  background: #c5d0f8;
  color: #fff;
  cursor: not-allowed;
}

.start-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #f5f5f5;
  align-items: center;
  justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
}

html.show-start .start-overlay,
.start-overlay.is-leaving {
  display: flex;
}

.start-card {
  width: min(100%, 320px);
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  animation: start-in 0.35s ease;
}

.start-card h2 {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.start-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px;
  background: #efefef;
}

.start-sub {
  margin: 0 0 22px;
  color: #8e8e8e;
  font-size: 0.9rem;
  line-height: 1.35;
}

.start-btn {
  appearance: none;
  border: 0;
  background: var(--user-bg);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  width: 100%;
  cursor: pointer;
}

.start-btn:hover {
  background: #2e86d9;
}

.start-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

@keyframes start-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes start-out {
  to { opacity: 0; transform: scale(0.96); }
}

@keyframes start-overlay-out {
  to { opacity: 0; }
}

.start-overlay.is-leaving {
  animation: start-overlay-out 0.28s ease forwards;
}

.start-overlay.is-leaving .start-card {
  animation: start-out 0.28s ease forwards;
}

.chat-started {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 2px 8px;
  padding: 12px 14px;
  background: #f4f4f4;
  border-radius: 16px;
}

.chat-started-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f3ff;
  color: #3797f0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chat-started-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.chat-started-body {
  margin-top: 3px;
  color: #8e8e8e;
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .transcript-track.is-releasing {
    transition: none;
  }

  .bubble-row {
    animation: none;
  }

  .sending-cam {
    animation: none;
  }

  .start-card,
  .start-overlay.is-leaving,
  .start-overlay.is-leaving .start-card {
    animation: none;
  }
}
.avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #22c55e;       /* зелёный */
  border: 2px solid #fff;    /* белая обводка */
  border-radius: 50%;
  box-sizing: border-box;
}
.start-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 12px;
}

.start-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* точка чуть больше под большой аватар */
.start-avatar-wrap .online-dot {
  width: 20px;
  height: 20px;
  bottom: 4px;
  right: 4px;
  border-width: 3px;
}


/* API wake-up screen on the static frontend (backend may be cold). */
.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  background: #ffffff;
  color: var(--muted);
}
.boot-overlay[hidden] {
  display: none !important;
}
.boot-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--line);
  border-top-color: #8e8e8e;
  border-radius: 50%;
  animation: boot-spin 0.7s linear infinite;
}
.boot-overlay-text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}
@keyframes boot-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .boot-spinner {
    animation: none;
    border-top-color: var(--line);
    border-right-color: #8e8e8e;
  }
}

.chat-started.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-report { padding: 26px 20px 20px; }
.report-copy { color: #4b5563; font-size: 0.98rem; line-height: 1.45; margin: 14px 4px 16px; }
.report-list { max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; }
.report-reason {
  text-align: left; background: none; border: 0; border-radius: 10px;
  padding: 14px 14px; font: inherit; font-size: 1.02rem; color: #111827; cursor: pointer;
}
.report-reason:hover, .report-reason:focus-visible { background: #edf3fd; outline: none; }
.toast {
  position: fixed; top: 16px; left: 50%; transform: translate(-50%, -12px);
  z-index: 1000; display: flex; align-items: center; gap: 14px;
  width: min(380px, calc(100% - 24px)); padding: 14px 18px;
  background: #fff; color: #111827; border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14); font-size: 0.98rem; line-height: 1.4;
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.toast[hidden] { display: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { flex: none; }
.name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.name-row h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.verified {
  flex-shrink: 0;
  display: block;
}
