.clipboard-sheet {
  position: fixed; inset: auto 0 max(12px, var(--tg-effective-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  width: min(420px, calc(100% - 24px)); max-height: calc(var(--app-viewport-height, 100dvh) - max(12px, var(--tg-effective-safe-area-inset-top, 0px)) - max(12px, var(--tg-effective-safe-area-inset-bottom, 0px)) - 12px);
  box-sizing: border-box; margin: 0 auto; padding: 24px; overflow-y: auto;
  border: 1px solid rgba(190, 85, 112, .24); border-radius: 28px;
  background: #120b0e; color: #faf4f6; box-shadow: 0 18px 80px #0009;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  z-index: 2147483000;
}
.clipboard-sheet[open] { display: grid; gap: 12px; }
.clipboard-sheet::backdrop { background: #050305b8; backdrop-filter: blur(6px); }
.clipboard-sheet h2 { font-size: 23px; line-height: 1.2; margin: 0; letter-spacing: -.5px; }
.clipboard-sheet p { font-size: 14px; line-height: 1.5; margin: 0; color: #c2b6bc; }
.clipboard-sheet__label { font-size: 12px; color: #b5a6ae; margin-top: 4px; }
.clipboard-sheet__value {
  box-sizing: border-box; width: 100%; min-height: 98px; padding: 14px;
  border: 1px solid #ffffff24; border-radius: 16px; background: #ffffff05;
  color: #fff; font: 16px/1.5 ui-monospace, SFMono-Regular, monospace;
  resize: none; overflow-wrap: anywhere; word-break: break-all;
  user-select: text !important; -webkit-user-select: text !important;
  -webkit-touch-callout: default !important;
}
.clipboard-sheet__value::selection { background: #a72a50; color: #fff; }
.clipboard-sheet__status { min-height: 21px; }
.clipboard-sheet button {
  min-height: 48px; border-radius: 18px; border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3;
  cursor: pointer; color: #fff; padding: 12px 16px;
}
.clipboard-sheet__copy { background: #a12649; }
.clipboard-sheet__select { background: #ffffff09; border-color: #ffffff1a !important; }
.clipboard-sheet__close { background: transparent; color: #d0c3c9 !important; }
.clipboard-sheet button:disabled { opacity: .55; }
.clipboard-sheet button:focus-visible, .clipboard-sheet__value:focus-visible { outline: 2px solid #e789a3; outline-offset: 3px; }
