.native-preview {
  --bg-app: #07090b;
  --bg-sidebar: #0b0f12;
  --bg-main: #0f1417;
  --bg-raised: #141a1e;
  --bg-input: #161d22;
  --bg-overlay: #161c21;
  --bg-overlay-2: #1c242a;
  --bg-tooltip: #1f282e;

  --bg-hover: rgba(214, 236, 230, 0.045);
  --bg-hover-strong: rgba(214, 236, 230, 0.07);
  --bg-active: rgba(214, 236, 230, 0.09);
  --bg-message-hover: rgba(214, 236, 230, 0.025);
  --bg-well: rgba(0, 0, 0, 0.3);
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  --text-strong: #f1f5f6;
  --text: #d3dadd;
  --text-muted: #8c989f;
  --text-faint: #646f76;
  --text-disabled: #454f55;
  --accent-200: #a7f3d0;
  --accent-300: #6ee7b7;
  --accent-400: #34d399;
  --accent: #10b981;
  --accent-hover: #1fc791;
  --accent-press: #0ea271;
  --accent-600: #059669;
  --accent-700: #047857;
  --accent-900: #064e3b;
  --accent-ink: #03130c;
  --accent-text: #3ddba3;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-softer: color-mix(in srgb, var(--accent) 8%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 38%, transparent);
  --accent-glow: 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), 0 0 18px -2px color-mix(in srgb, var(--accent) 35%, transparent);
  --online: #10b981;
  --idle: #f2b441;
  --dnd: #ef4b5f;
  --offline: #5f6a71;
  --danger: #ef4b5f;
  --danger-hover: #f2606f;
  --danger-soft: rgba(239, 75, 95, 0.13);
  --danger-text: #ff7d8b;
  --warning: #f2b441;
  --warning-soft: rgba(242, 180, 65, 0.12);
  --info: #5ab0f2;
  --info-soft: rgba(90, 176, 242, 0.12);
  --mention-bg: color-mix(in srgb, var(--accent) 7.5%, transparent);
  --mention-bar: var(--accent);
  --mention-pill: color-mix(in srgb, var(--accent) 16%, transparent);
  --mention-pill-hover: color-mix(in srgb, var(--accent) 30%, transparent);
  --badge-red: #ef4b5f;
  --crystal: linear-gradient(135deg, #a7f3d0 0%, #34d399 38%, #10b981 62%, #5eead4 100%);
  --app-glow: color-mix(in srgb, var(--accent) 13%, transparent);
  --font-sans: 'Twemoji Country Flags', 'Inter Variable', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --font-mono: 'Cascadia Code', 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --font-emoji: 'Twemoji Country Flags', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;

  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 18px;
  --fs-2xl: 22px;
  --fs-3xl: 28px;
  --chat-scale: 1;
  --fs-message: calc(15px * var(--chat-scale));
  --lh-message: 1.47;
  --group-gap: 16px;
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 20px;
  --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 6px 20px -6px rgba(0, 0, 0, 0.6);
  --shadow-pop: 0 16px 40px -10px rgba(0, 0, 0, 0.72), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-modal: 0 32px 80px -16px rgba(0, 0, 0, 0.8), 0 4px 14px rgba(0, 0, 0, 0.4);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-1: 90ms;
  --dur-2: 160ms;
  --dur-3: 240ms;
  --dur-4: 360ms;
  --topbar-h: 44px;
  --rail-w: 72px;
  --sidebar-w: 248px;
  --members-w: 256px;
  --header-h: 52px;
  --surface: var(--bg-main);

  color-scheme: dark;
}

.native-preview *,
.native-preview *::before,
.native-preview *::after {
  box-sizing: border-box;
}

.native-preview html,
.native-preview body,
.native-preview #root {
  height: 100%;
}

.native-preview html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.native-preview body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.43;
  font-feature-settings: 'cv05' 1, 'cv08' 1;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  overscroll-behavior: none;
}

.native-preview [data-native-title], .native-preview h2, .native-preview h3, .native-preview h4, .native-preview h5, .native-preview p, .native-preview figure, .native-preview blockquote, .native-preview dl, .native-preview dd {
  margin: 0;
}

.native-preview [data-native-title], .native-preview h2, .native-preview h3, .native-preview h4 {
  color: var(--text-strong);
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.native-preview ul, .native-preview ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.native-preview img, .native-preview svg, .native-preview video {
  display: block;
  max-width: 100%;
}

.native-preview button,
.native-preview input,
.native-preview textarea,
.native-preview select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.native-preview button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.native-preview button:disabled {
  cursor: not-allowed;
}

.native-preview a {
  color: var(--accent-text);
  text-decoration: none;
}

.native-preview a:hover {
  text-decoration: underline;
}

.native-preview[data-underline-links='true'] .md a {
  text-decoration: underline;
}

.native-preview ::selection {
  background: color-mix(in srgb, var(--accent) 32%, transparent);
  color: #fff;
}
.native-preview :focus {
  outline: none;
}

.native-preview :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.native-preview * {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.native-preview *::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.native-preview *::-webkit-scrollbar-track {
  background: transparent;
}

.native-preview *::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}

.native-preview *::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.native-preview .scroll-thin {
  scrollbar-width: none;
}

.native-preview .scroll-thin::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.native-preview .scroll-thin:hover {
  scrollbar-width: thin;
}
.native-preview .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.native-preview .truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.native-preview .tnum {
  font-variant-numeric: tabular-nums;
}

.native-preview .emoji {
  font-family: var(--font-emoji);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.native-preview .grow {
  flex: 1 1 auto;
  min-width: 0;
}
.native-preview[data-motion='reduced'] *,
.native-preview[data-motion='reduced'] *::before,
.native-preview[data-motion='reduced'] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.96) translateY(4px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: scale(0.97); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}
.native-preview input:focus-visible,
.native-preview textarea:focus-visible,
.native-preview [contenteditable]:focus-visible {
  outline: none;
}

.native-preview .lucide {
  flex-shrink: 0;
}
.native-preview .lucide[stroke-width='2'] {
  stroke-width: 1.85;
}
.native-preview .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-strong);
}

.native-preview .wordmark-text {
  font-weight: 800;
  font-style: italic;
  font-size: 17px;
  letter-spacing: -0.035em;
  line-height: 1;
  padding-inline-end: 2px;
}
.native-preview .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  user-select: none;
  transition:
    background-color var(--dur-1) ease,
    border-color var(--dur-1) ease,
    color var(--dur-1) ease,
    box-shadow var(--dur-2) ease,
    transform var(--dur-1) ease;
}

.native-preview .btn:active:not(:disabled) {
  transform: translateY(0.5px) scale(0.985);
}

.native-preview .btn:disabled {
  opacity: 0.45;
}

.native-preview .btn-sm {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: var(--fs-sm);
  gap: 6px;
}

.native-preview .btn-block {
  width: 100%;
}

.native-preview .btn-icon {
  display: inline-flex;
  margin: 0 -2px;
}

.native-preview .btn-icon svg {
  width: 18px;
  height: 18px;
}

.native-preview .btn-sm .btn-icon svg {
  width: 16px;
  height: 16px;
}

.native-preview .btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-strong);
  box-shadow: inset 0 0 0 1px var(--line), var(--highlight-top);
}

.native-preview .btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.11);
}

.native-preview .btn.is-loading .btn-label,
.native-preview .btn.is-loading .btn-icon {
  visibility: hidden;
}
.native-preview .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition:
    background-color var(--dur-1) ease,
    color var(--dur-1) ease,
    transform var(--dur-1) ease;
}

.native-preview .icon-btn svg {
  width: 20px;
  height: 20px;
}

.native-preview .icon-btn-sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.native-preview .icon-btn-sm svg {
  width: 16px;
  height: 16px;
}

.native-preview .icon-btn:hover:not(:disabled) {
  background: var(--bg-hover-strong);
  color: var(--text-strong);
}

.native-preview .icon-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.native-preview .icon-btn.is-active {
  color: var(--text-strong);
}

.native-preview .icon-btn.is-danger,
.native-preview .icon-btn.is-danger:hover {
  color: var(--danger-text);
}

.native-preview .icon-btn:disabled {
  opacity: 0.4;
}

@keyframes tooltip-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

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

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(6px);
  }
}

@keyframes modal-out {
  to {
    opacity: 0;
    transform: scale(0.97);
  }
}

.native-preview .slider-mark.is-active {
  color: var(--accent-text);
}

.native-preview .segmented-item.is-active {
  background: var(--bg-overlay-2);
  color: var(--text-strong);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 0 0 1px var(--line-2);
}

.native-preview .section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-faint);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

.native-preview .empty-state.is-compact {
  padding: 28px 16px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.native-preview .avatar {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.native-preview .avatar-media {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #1c2328;
  isolation: isolate;
}

.native-preview .avatar-media > img,
.native-preview .avatar-media > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.native-preview .avatar-status {
  position: absolute;
  display: flex;
  z-index: 2;
}
.native-preview[data-animate-media='hover'] .anim-host:not(:hover) .media-anim *,
.native-preview[data-animate-media='hover'] .anim-host:not(:hover) .media-anim,
.native-preview[data-animate-media='hover'] .anim-host:not(:hover) .banner-preset .bp-layer {
  animation-play-state: paused !important;
}

.native-preview[data-animate-media='hover'] .anim-host:not(:hover) .av-gif {
  display: none;
}

.native-preview[data-animate-media='hover'] .anim-host:not(:hover) .av-poster {
  display: block;
}
.native-preview .avatar-speak {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 calc(1.5px + var(--av-size, 32px) * 0.03) var(--accent), inset 0 0 calc(var(--av-size, 32px) * 0.18) color-mix(in srgb, var(--accent) 45%, transparent);
  transition: opacity var(--dur-2) var(--ease-out);
}

.native-preview .avatar.is-speaking .avatar-speak {
  opacity: 1;
  animation: speak-pulse 1.4s ease-in-out infinite;
}

@keyframes speak-pulse {
  50% {
    box-shadow: inset 0 0 0 calc(1.5px + var(--av-size, 32px) * 0.03) var(--accent-300), inset 0 0 calc(var(--av-size, 32px) * 0.26) color-mix(in srgb, var(--accent) 60%, transparent);
  }
}

.native-preview[data-motion='reduced'] .avatar.is-speaking .avatar-speak {
  animation: none;
}
@media(max-width:420px){}

.native-preview .banner {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
}

.native-preview .banner-img,
.native-preview .banner > .av-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.native-preview .bp-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.native-preview .banner-emerald-aurora {
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 34% 12%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.2px 1.2px at 58% 26%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 76% 14%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 90% 34%, rgba(255, 255, 255, 0.6), transparent),
    linear-gradient(180deg, #020a08 0%, #04140f 50%, #072a20 100%);
}
.native-preview .banner-emerald-aurora .bp-a {
  inset: -20% -30%;
  background:
    linear-gradient(104deg, transparent 22%, rgba(16, 185, 129, 0.0) 28%, rgba(52, 211, 153, 0.75) 36%, rgba(167, 243, 208, 0.55) 40%, rgba(16, 185, 129, 0.15) 50%, transparent 56%),
    linear-gradient(78deg, transparent 48%, rgba(45, 212, 191, 0.55) 60%, rgba(16, 185, 129, 0.1) 70%, transparent 76%);
  filter: blur(9px);
  mix-blend-mode: screen;
  transform-origin: 50% 100%;
  animation: aurora-drift 14s ease-in-out infinite alternate;
}
.native-preview .banner-emerald-aurora .bp-b {
  background:
    radial-gradient(70% 60% at 30% 115%, rgba(16, 185, 129, 0.55), transparent 70%),
    radial-gradient(50% 50% at 80% 110%, rgba(45, 212, 191, 0.35), transparent 70%);
  animation: aurora-pulse 7s ease-in-out infinite alternate;
}
.native-preview .banner-emerald-aurora .bp-c {
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.3));
}

@keyframes aurora-drift {
  0% {
    transform: translate3d(-7%, 0, 0) scaleY(1) skewX(-4deg);
  }
  100% {
    transform: translate3d(7%, -4%, 0) scaleY(1.12) skewX(4deg);
  }
}

@keyframes aurora-pulse {
  to {
    opacity: 0.7;
  }
}
.native-preview .banner-synthwave {
  background: linear-gradient(180deg, #140726 0%, #3b0f5c 48%, #a3205f 64%, #12061f 64.5%);
}

.native-preview .banner-synthwave .bp-a {
  left: 50%;
  top: 12%;
  width: 34%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #fde68a 0%, #fb7185 55%, #c026d3 100%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 9%, transparent 9% 12%);
  mask: linear-gradient(180deg, #000 45%, transparent 45%), repeating-linear-gradient(180deg, #000 0 7%, transparent 7% 10%);
  box-shadow: 0 0 40px rgba(251, 113, 133, 0.6);
  filter: drop-shadow(0 0 18px rgba(251, 113, 133, 0.55));
}

.native-preview .banner-synthwave .bp-b {
  top: 64%;
  background-image:
    linear-gradient(rgba(244, 114, 182, 0.75) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(244, 114, 182, 0.6) 1.5px, transparent 1.5px);
  background-size: 34px 22px;
  transform: perspective(160px) rotateX(58deg);
  transform-origin: top center;
  inset: 64% -50% -40% -50%;
  animation: grid-move 1.6s linear infinite;
}

.native-preview .banner-synthwave .bp-c {
  background: linear-gradient(180deg, transparent 55%, rgba(18, 6, 31, 0.1) 64%, rgba(18, 6, 31, 0.85) 100%);
}

@keyframes grid-move {
  to {
    background-position: 0 22px;
  }
}

.native-preview .banner-nebula .bp-a {
  inset: -30%;
  background:
    radial-gradient(30% 35% at 30% 60%, rgba(139, 92, 246, 0.6), transparent 70%),
    radial-gradient(25% 30% at 75% 35%, rgba(56, 189, 248, 0.45), transparent 70%);
  filter: blur(14px);
  animation: nebula-spin 26s linear infinite;
}

.native-preview .banner-nebula .bp-b {
  background-image:
    radial-gradient(1.2px 1.2px at 12% 30%, #fff, transparent),
    radial-gradient(1px 1px at 28% 70%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 46% 22%, #fff, transparent),
    radial-gradient(1px 1px at 62% 80%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 78% 46%, #fff, transparent),
    radial-gradient(1px 1px at 90% 18%, #fff, transparent),
    radial-gradient(1px 1px at 8% 86%, #fff, transparent);
  opacity: 0.8;
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes nebula-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  to {
    opacity: 0.35;
  }
}

.native-preview .banner-ember .bp-a {
  background: radial-gradient(60% 50% at 50% 110%, rgba(251, 146, 60, 0.55), transparent 70%);
  animation: ember-glow 3s ease-in-out infinite alternate;
}

.native-preview .banner-ember .bp-b,
.native-preview .banner-ember .bp-c {
  background-image:
    radial-gradient(2px 2px at 10% 90%, #fdba74, transparent),
    radial-gradient(1.5px 1.5px at 25% 80%, #fde047, transparent),
    radial-gradient(2px 2px at 40% 95%, #fb923c, transparent),
    radial-gradient(1.5px 1.5px at 58% 85%, #fdba74, transparent),
    radial-gradient(2px 2px at 72% 92%, #fde047, transparent),
    radial-gradient(1.5px 1.5px at 88% 88%, #fb923c, transparent);
  animation: embers-rise 5s linear infinite;
}

.native-preview .banner-ember .bp-c {
  animation-delay: -2.5s;
  translate: 4% 0;
}

@keyframes ember-glow {
  to {
    opacity: 0.6;
  }
}

@keyframes embers-rise {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-90%);
    opacity: 0;
  }
}

.native-preview .banner-ocean .bp-a {
  background: radial-gradient(40% 60% at 75% 10%, rgba(125, 211, 252, 0.35), transparent 70%);
}

.native-preview .banner-dusk .bp-a {
  background: radial-gradient(30% 60% at 20% 100%, rgba(253, 224, 71, 0.55), transparent 70%);
}

.native-preview .banner-dusk .bp-b {
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.25));
}

.native-preview .banner-graphite .bp-a {
  background: radial-gradient(50% 80% at 85% 0%, rgba(16, 185, 129, 0.18), transparent 70%);
}
.native-preview .profile-effect {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}

@keyframes fx-rise {
  0% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--fx-x, 10px), -340px) scale(1);
    opacity: 0;
  }
}

@keyframes fx-twinkle-rise {
  0% {
    transform: translate(0, 0) rotate(0) scale(0.4);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    transform: translate(calc(var(--fx-x, 10px) / 2), -170px) rotate(90deg) scale(1);
  }
  100% {
    transform: translate(var(--fx-x, 10px), -340px) rotate(180deg) scale(0.5);
    opacity: 0;
  }
}

@keyframes fx-fall {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translate(var(--fx-x, 10px), 420px);
    opacity: 0;
  }
}

.native-preview .avatar-deco {
  position: absolute;
  inset: -12.5%;
  z-index: 1;
  pointer-events: none;
}

.native-preview .avatar-deco svg {
  width: 100%;
  height: 100%;
  display: block;
}

.native-preview .dk-spin,
.native-preview .dk-spin-slow,
.native-preview .dk-spin-fast,
.native-preview .dk-spin-rev {
  transform-origin: 60px 60px;
  animation: spin 6s linear infinite;
}

.native-preview .dk-spin-fast {
  animation-duration: 3s;
}

.native-preview .dk-spin-rev {
  animation-duration: 9s;
  animation-direction: reverse;
}

@keyframes dk-ring-out {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.16);
    opacity: 0;
  }
}

@keyframes dk-bubble {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  20%,
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10px);
  }
}

@keyframes dk-float {
  50% {
    transform: translateY(-3px) rotate(4deg);
  }
}

.native-preview .dk-flicker {
  animation: dk-flicker 3.2s steps(1) infinite;
}

@keyframes dk-flicker {
  0%,
  100% {
    opacity: 1;
  }
  41% {
    opacity: 0.55;
  }
  43% {
    opacity: 1;
  }
  71% {
    opacity: 0.8;
  }
  72% {
    opacity: 1;
  }
}

.native-preview .dk-zap {
  opacity: 0;
  animation: dk-zap 2.4s linear infinite;
}

@keyframes dk-zap {
  0%,
  20%,
  100% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  6% {
    opacity: 0.2;
  }
  9% {
    opacity: 1;
  }
  14% {
    opacity: 0;
  }
}

@keyframes dk-rift {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes dk-pull {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy));
    opacity: 0;
  }
}

@keyframes dk-flame {
  0% {
    transform: scaleY(0.82) skewX(-3deg);
  }
  100% {
    transform: scaleY(1.12) skewX(3deg);
  }
}

@keyframes dk-ember {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(4px, -46px);
    opacity: 0;
  }
}

@keyframes dk-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.native-preview .dk-petal {
  animation: dk-petal 4.2s ease-in infinite;
}

@keyframes dk-petal {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(26px, 84px) rotate(320deg);
    opacity: 0;
  }
}

@keyframes dk-chase {
  0%,
  100% {
    opacity: 0.35;
  }
  10% {
    opacity: 1;
  }
}

@keyframes dk-bob {
  to {
    transform: translateY(-2.5px);
  }
}

@keyframes dk-coin {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.1);
  }
}

.native-preview .dk-glow {
  animation: dk-glow 1.6s ease-in-out infinite;
}

@keyframes dk-glow {
  0%,
  100% {
    opacity: 1;
  }
  40% {
    opacity: 0.5;
  }
  60% {
    opacity: 0.85;
  }
}

@keyframes dk-bat {
  to {
    transform: scaleY(0.45) translateY(-1px);
  }
}

@keyframes dk-spider {
  50% {
    transform: scaleY(1.25);
  }
}

@keyframes dk-fog {
  to {
    transform: translateX(10px);
  }
}

@keyframes dk-wave {
  to {
    transform: translateX(40px);
  }
}
@property --pf-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.native-preview .pframe {
  --pf-s: var(--pf-scale, 1);
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.native-preview .pframe-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--pf-grad, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

@keyframes pf-sheen {
  0%,
  20% {
    background-position: 130% 0;
  }
  70%,
  100% {
    background-position: -30% 0;
  }
}

.native-preview .pframe-part {
  position: absolute;
  width: calc(var(--pw, 74px) * var(--pf-s));
  height: calc(var(--ph, 74px) * var(--pf-s));
}

.native-preview .pframe-part svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.native-preview .pframe-part.at-tl {
  top: 0;
  left: 0;
}

.native-preview .pframe-part.at-tr {
  top: 0;
  right: 0;
}

.native-preview .pframe-part.at-bl {
  bottom: 0;
  left: 0;
}

.native-preview .pframe-part.at-br {
  bottom: 0;
  right: 0;
}

.native-preview .pframe-part.flip-x {
  transform: scaleX(-1);
}

.native-preview .pframe-part.flip-y {
  transform: scaleY(-1);
}

.native-preview .pframe-part.flip-xy {
  transform: scale(-1, -1);
}

.native-preview .pframe-part.at-bottom {
  inset: auto 0 0 0;
  width: auto;
  height: calc(30px * var(--pf-s));
}

.native-preview .pframe-part.at-bottom svg {
  overflow: hidden;
}

.native-preview .pframe-part.at-top-center {
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: calc(150px * var(--pf-s));
  height: calc(50px * var(--pf-s));
}

.native-preview .pframe-part.at-top-mid,
.native-preview .pframe-part.at-bottom-mid {
  left: 50%;
  translate: -50% 0;
}

.native-preview .pframe-part.at-top-mid {
  top: calc(-0.5px * var(--pf-s));
}

.native-preview .pframe-part.at-bottom-mid {
  bottom: calc(-0.5px * var(--pf-s));
}

.native-preview .pf-b-twin .pframe-border {
  padding: 1px;
}

.native-preview .pf-b-gold .pframe-border {
  padding: 2.5px;
}

.native-preview .pf-b-holo .pframe-border {
  padding: 2.5px;
  animation: pf-rot 8s linear infinite;
}

.native-preview .pf-b-onyx {
  --pf-grad: linear-gradient(135deg, #6ee7b7, #1f2a2f 25%, #0b0f12 48%, #34d399 50%, #1f2a2f 62%, #a7f3d0 100%);
}

.native-preview .pf-b-celestial {
  --pf-grad: linear-gradient(160deg, #fde68a, #6366f1 45%, #312e81 70%, #fde68a);
  box-shadow: inset 0 0 22px rgba(99, 102, 241, 0.16);
}

.native-preview .pf-b-sakura {
  --pf-grad: linear-gradient(160deg, #fbcfe8, #f472b6 50%, #fdf2f8);
}

.native-preview .pf-b-pixel .pframe-border {
  padding: 3px;
}

.native-preview .pf-b-plasma,
.native-preview .pf-b-void {
  --pf-grad: conic-gradient(from var(--pf-angle), #38bdf8, #6366f1, #e0f2fe, #0ea5e9, #38bdf8);
}

.native-preview .pf-b-plasma .pframe-border,
.native-preview .pf-b-void .pframe-border {
  animation: pf-rot 3.2s linear infinite;
}

.native-preview .pf-b-void {
  --pf-grad: conic-gradient(from var(--pf-angle), #7c3aed, #c026d3, #f0abfc, #4c1d95, #7c3aed);
  box-shadow: inset 0 0 26px rgba(192, 38, 211, 0.18);
}

.native-preview .pf-b-void .pframe-border {
  animation-duration: 6s;
}

@keyframes pf-rot {
  to {
    --pf-angle: 360deg;
  }
}

.native-preview .pf-b-winter {
  --pf-grad: linear-gradient(160deg, #ffffff, #bae6fd 35%, #3b82f6 70%, #e0f2fe);
  box-shadow: inset 0 0 26px rgba(186, 230, 253, 0.16);
}
.native-preview .pf-float {
  animation: dk-float 4s ease-in-out infinite;
}

.native-preview .pf-twinkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: dk-twinkle 2.8s ease-in-out infinite;
}

.native-preview .pf-petal {
  animation: dk-petal 4.4s ease-in infinite;
}

@keyframes pf-flame {
  0% {
    transform: scaleY(0.78) skewX(-4deg);
  }
  100% {
    transform: scaleY(1.08) skewX(4deg);
  }
}

.native-preview .pf-zap {
  opacity: 0;
  animation: dk-zap 2.6s linear infinite;
}

.native-preview .pf-rift {
  animation: dk-rift 3.8s ease-in-out infinite;
}

@keyframes pf-wave {
  to {
    transform: translateX(80px);
  }
}

.native-preview .pf-drip {
  animation: pf-drip 4.6s ease-in infinite;
}

.native-preview .pf-drip-b {
  animation-delay: -2.3s;
}

@keyframes pf-drip {
  0%,
  55% {
    transform: translateY(0);
    opacity: 0;
  }
  62% {
    opacity: 1;
  }
  92% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

@keyframes pf-pulse {
  from {
    stroke-dashoffset: 64;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.native-preview .border-line {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  padding: 2px;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.07);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.native-preview .border-line::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--bl-c1) 10deg, var(--bl-c2) 22deg, transparent 40deg);
  animation: onyx-border-rotate var(--bl-speed, 3.5s) linear infinite;
}
@supports (width: 1cqmax) {
  .native-preview .border-line {
    container-type: size;
  }

  .native-preview .border-line::before {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 150cqmax;
    height: 150cqmax;
    margin: -75cqmax 0 0 -75cqmax;
  }
}

.native-preview .border-line.bl-circle {
  inset: -3px;
  border-radius: 50%;
}

.native-preview .border-line.bl-hover::before {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.native-preview .anim-host:hover .border-line.bl-hover::before,
.native-preview .anim-host:focus-within .border-line.bl-hover::before {
  opacity: 1;
}

@keyframes onyx-border-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fxs-flash {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
  6% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0;
    transform: scale(1.4);
  }
}

@keyframes fxs-burst {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  45% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1);
    opacity: 0.9;
  }
  65%,
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 30px)) rotate(var(--rot)) scale(0.8);
    opacity: 0;
  }
}

@keyframes fxp-bolt {
  0%,
  12%,
  100% {
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  4% {
    opacity: 0.25;
  }
  6% {
    opacity: 1;
  }
  9% {
    opacity: 0;
  }
}
.native-preview .fxv-stage {
  position: absolute;
  top: 3%;
  right: 3%;
  width: 62%;
  max-height: 46%;
  aspect-ratio: 2 / 1;
  overflow: visible;
}

.native-preview .fxv-crack,
.native-preview .fxv-lens,
.native-preview .fxv-spill,
.native-preview .fxv-mote,
.native-preview .fxv-flash,
.native-preview .fxv-drift {
  animation-duration: 9s;
  animation-iteration-count: infinite;
}

.native-preview .fxv-crack {
  stroke-dasharray: 160;
  animation-name: fxv-crack;
  animation-timing-function: ease-out;
}

@keyframes fxv-crack {
  0% {
    stroke-dashoffset: 160;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  10% {
    stroke-dashoffset: 0;
  }
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  80%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.native-preview .fxv-lens {
  transform-box: fill-box;
  transform-origin: center;
  animation-name: fxv-lens;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes fxv-lens {
  0%,
  10% {
    transform: scaleY(0);
  }
  21% {
    transform: scaleY(1.1);
  }
  26%,
  64% {
    transform: scaleY(1);
  }
  76%,
  100% {
    transform: scaleY(0);
  }
}

.native-preview .fxv-spill {
  animation-name: fxv-spill;
}

@keyframes fxv-spill {
  0%,
  10% {
    opacity: 0;
  }
  22% {
    opacity: 0.95;
  }
  64% {
    opacity: 0.7;
  }
  78%,
  100% {
    opacity: 0;
  }
}

.native-preview .fxv-drift {
  animation-name: fxv-drift;
  animation-timing-function: linear;
}

@keyframes fxv-drift {
  from {
    transform: translateX(10px);
  }
  to {
    transform: translateX(-14px);
  }
}

.native-preview .fxv-mote {
  opacity: 0;
  animation-name: fxv-mote;
  animation-timing-function: ease-in;
}

@keyframes fxv-mote {
  0%,
  22% {
    transform: translate(var(--x), var(--y)) scale(1);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  62%,
  100% {
    transform: translate(0, 0) scale(0.2);
    opacity: 0;
  }
}

.native-preview .fxv-flash {
  opacity: 0;
  animation-name: fxv-flash;
}

@keyframes fxv-flash {
  0%,
  73% {
    opacity: 0;
  }
  77% {
    opacity: 0.85;
  }
  86%,
  100% {
    opacity: 0;
  }
}
.native-preview .fxa-ribbon {
  position: absolute;
  top: -10%;
  height: 46%;
  border-radius: 50%;
  filter: blur(14px);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: fxa-sway 11s ease-in-out infinite alternate;
}

.native-preview .fxa-1 {
  left: -10%;
  width: 70%;
  background: linear-gradient(100deg, transparent, rgba(52, 211, 153, 0.8), rgba(34, 211, 238, 0.5), transparent);
}

.native-preview .fxa-2 {
  left: 30%;
  width: 75%;
  background: linear-gradient(100deg, transparent, rgba(167, 139, 250, 0.6), rgba(52, 211, 153, 0.55), transparent);
  animation-duration: 14s;
  animation-delay: -4s;
}

.native-preview .fxa-3 {
  left: 10%;
  width: 60%;
  top: 4%;
  height: 30%;
  background: linear-gradient(100deg, transparent, rgba(110, 231, 183, 0.7), transparent);
  animation-duration: 9s;
  animation-delay: -2s;
}

@keyframes fxa-sway {
  0% {
    transform: translateX(-8%) skewX(-12deg) scaleY(0.9);
  }
  100% {
    transform: translateX(10%) skewX(10deg) scaleY(1.15);
  }
}
.native-preview .fxf-fly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fef9c3;
  box-shadow: 0 0 6px 2px rgba(190, 242, 100, 0.75), 0 0 14px 5px rgba(163, 230, 53, 0.25);
  animation:
    fxf-wander var(--fx-dur, 7s) ease-in-out infinite alternate,
    fxf-pulse 2.6s ease-in-out infinite;
}

@keyframes fxf-wander {
  to {
    transform: translate(var(--fx-x), var(--fx-y));
  }
}

@keyframes fxf-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

.native-preview .fxc-meteor {
  position: absolute;
  width: 130px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9));
  transform: rotate(-24deg);
  opacity: 0;
  animation: fxc-meteor 5.1s ease-in infinite;
}

.native-preview .fxc-meteor::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px rgba(199, 210, 254, 0.9);
}

@keyframes fxc-meteor {
  0% {
    transform: translate(0, 0) rotate(-24deg);
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  22%,
  100% {
    transform: translate(-200px, 90px) rotate(-24deg);
    opacity: 0;
  }
}

.native-preview .fxc-twinkle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(199, 210, 254, 0.9);
  animation: dk-twinkle 3s ease-in-out infinite;
}

.native-preview .fxk-petal {
  position: absolute;
  top: -20px;
  width: 11px;
  height: 8px;
  border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, #fff1f7, #f9a8d4);
  opacity: 0;
  animation: fxk-fall var(--fx-dur) linear infinite;
}

@keyframes fxk-fall {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 0;
  }
  8% {
    opacity: 0.95;
  }
  100% {
    transform: translate(var(--fx-x), 440px) rotate(var(--rot));
    opacity: 0;
  }
}

.native-preview .fxw-frost {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 30% at 0% 0%, rgba(224, 242, 254, 0.28), transparent 70%),
    radial-gradient(40% 30% at 100% 0%, rgba(224, 242, 254, 0.22), transparent 70%);
}

.native-preview .fxw-flake {
  position: absolute;
  top: -20px;
  color: #fff;
  text-shadow: 0 0 6px rgba(186, 230, 253, 0.9);
  line-height: 1;
  opacity: 0;
  animation: fx-fall var(--fx-dur) linear infinite;
}

@keyframes fxh-fog {
  to {
    transform: translateX(18%);
  }
}

@keyframes fxh-fly {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  25% {
    transform: translate(110px, -12px);
  }
  50% {
    transform: translate(220px, 6px);
  }
  75% {
    transform: translate(320px, -8px);
  }
  90%,
  100% {
    transform: translate(420px, 4px);
    opacity: 0;
  }
}

@keyframes fxu-caustics {
  to {
    background-position: 80px 40px, -60px 30px, 40px -50px;
  }
}

@keyframes fxx-fall {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  100% {
    transform: translateY(440px) rotate(270deg);
    opacity: 0.2;
  }
}
.native-preview .banner-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.native-preview .bn-twinkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: dk-twinkle 3s ease-in-out infinite;
}

.native-preview .bn-sweep {
  animation: bn-sweep 5.5s ease-in-out infinite;
}

@keyframes bn-sweep {
  from {
    transform: skewX(-20deg) translateX(0);
  }
  to {
    transform: skewX(-20deg) translateX(1000px);
  }
}

@keyframes bn-meteor {
  0% {
    transform: translate(580px, 6px);
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  30%,
  100% {
    transform: translate(320px, 104px);
    opacity: 0;
  }
}

.native-preview .bn-fall {
  animation: bn-fall 8s linear infinite;
}

@keyframes bn-fall {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--fx-x, 30px), 230px) rotate(300deg);
    opacity: 0;
  }
}

.native-preview .bn-blink {
  animation: bn-blink 3s steps(1) infinite;
}

@keyframes bn-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}

@keyframes bn-flow {
  from {
    stroke-dashoffset: 300;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bn-pulse {
  50% {
    transform: scale(1.8);
    opacity: 0.05;
  }
}

.native-preview .bn-swirl {
  animation: spin 40s linear infinite;
}

.native-preview .bn-rift {
  animation: dk-rift 4.4s ease-in-out infinite;
}

@keyframes bn-rise {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(16px, -220px);
    opacity: 0;
  }
}

@keyframes bn-bat {
  0% {
    transform: translate(-40px, 0);
  }
  50% {
    transform: translate(300px, -10px);
  }
  100% {
    transform: translate(660px, 6px);
  }
}

.native-preview .bn-fog {
  animation: bn-fog 12s ease-in-out infinite alternate;
}

@keyframes bn-fog {
  to {
    transform: translateX(150px);
  }
}

.native-preview .bn-aurora {
  transform-box: fill-box;
  transform-origin: center;
  animation: bn-aurora 10s ease-in-out infinite alternate;
}

@keyframes bn-aurora {
  to {
    transform: translateX(-40px) scaleY(1.25);
    opacity: 0.6;
  }
}

@keyframes bn-wave-x {
  to {
    transform: translateX(50px);
  }
}

@keyframes am-sweep {
  from {
    transform: skewX(-20deg) translateX(0);
  }
  to {
    transform: skewX(-20deg) translateX(180px);
  }
}

@keyframes am-beat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.12);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.07);
  }
}

@keyframes am-wave {
  to {
    transform: translateX(30px);
  }
}
.native-preview .sname {
  --ns-c1: var(--text-strong);
  --ns-c2: var(--ns-c1);
  --ns-c3: var(--ns-c2);
  --ns-px: 0.14em;
  --ns-py: 0.08em;
  padding-block: var(--ns-py);
  padding-inline: var(--ns-px);
  margin-block: calc(var(--ns-py) * -1);
  margin-inline: calc(var(--ns-px) * -1);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.native-preview .sname.ns-neon {
  --ns-px: 0.5em;
  --ns-py: 0.34em;
}

.native-preview .sname.ns-italic:not(.ns-neon) {
  --ns-px: 0.26em;
}
.native-preview :where(.truncate):has(> .sname) {
  --np-x: 0.14em;
  --np-y: 0.08em;
  padding-block: var(--np-y);
  padding-inline: var(--np-x);
  margin-block: calc(var(--np-y) * -1);
  margin-inline: calc(var(--np-x) * -1);
}

.native-preview :where(.truncate):has(> .sname.ns-neon) {
  --np-x: 0.5em;
  --np-y: 0.34em;
}

.native-preview :where(.truncate):has(> .sname.ns-italic:not(.ns-neon)) {
  --np-x: 0.26em;
}

.native-preview .truncate > .sname {
  padding: 0;
  margin: 0;
}

.native-preview .ns-italic {
  font-style: italic;
}

.native-preview .ns-upper {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.native-preview .ns-solid {
  color: var(--ns-c1);
}

.native-preview .ns-gradient,
.native-preview .ns-metallic,
.native-preview .ns-prism,
.native-preview .ns-shimmer {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.native-preview .ns-gradient {
  background-image: linear-gradient(90deg, var(--ns-c1), var(--ns-c2), var(--ns-c3));
}
.native-preview .ns-neon {
  color: color-mix(in srgb, var(--ns-c1) 35%, #fff);
  text-shadow:
    0 0 0.05em var(--ns-c1),
    0 0 0.2em var(--ns-c1),
    0 0 0.45em color-mix(in srgb, var(--ns-c1) 55%, transparent);
}

.native-preview[data-theme='daylight'] .ns-neon {
  color: color-mix(in srgb, var(--ns-c1) 70%, #000);
  text-shadow: 0 0 0.3em color-mix(in srgb, var(--ns-c1) 45%, transparent);
}

.native-preview .ns-prism {
  background-image: linear-gradient(90deg, #f87171, #fbbf24, #34d399, #38bdf8, #a78bfa, #f472b6, #f87171);
  background-size: 200% 100%;
  animation: ns-prism 4s linear infinite;
}

@keyframes ns-prism {
  to {
    background-position: 200% 0;
  }
}

@keyframes ns-shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}
.native-preview .flag {
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
  flex-shrink: 0;
}

.native-preview .flag svg {
  display: block;
}

@keyframes bn-silk {
  0% {
    transform: translate(-20px, 4px);
  }
  100% {
    transform: translate(20px, -6px);
  }
}

.native-preview .bn-rain {
  animation: bn-rain 1.1s linear infinite;
}

@keyframes bn-rain {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-12px, 250px);
  }
}
.native-preview[data-theme='daylight'] .sname:not(.ns-neon) {
  filter: drop-shadow(0 0 0.6px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
}

.native-preview[data-theme='daylight'] .is-themed .sname {
  filter: none;
}

.native-preview .app {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background:
    radial-gradient(900px 260px at 50% -140px, var(--app-glow), transparent 70%),
    var(--bg-app);
}

.native-preview .app-body {
  position: relative;
  flex: 1;
  display: flex;
  min-height: 0;
}
.native-preview .app-body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: color-mix(in srgb, var(--bg-main) 92%, var(--text-strong) 8%);
  z-index: 6;
  pointer-events: none;
}

.native-preview .topbar-brand .wordmark {
  gap: 8px;
  padding-inline-start: 26px;
}

.native-preview .wordmark svg {
  flex-shrink: 0;
}

.native-preview .topbar-search span.grow {
  text-align: start;
}

.native-preview .topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.native-preview .header-actions {
  flex-shrink: 0;
  margin-inline-start: auto;
  padding-inline-start: 8px;
  border-inline-start: 1px solid var(--line);
}

.native-preview .view-header-tools > .header-actions {
  margin-inline-start: 4px;
}

.native-preview .view-header-tools + .header-actions {
  margin-inline-start: 8px;
}

.native-preview .plus-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding-block: 0 0;
  padding-inline: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 8%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), var(--highlight-top);
  color: var(--accent-200);
  font-size: var(--fs-sm);
  font-weight: 650;
  transition: background var(--dur-2), box-shadow var(--dur-2);
}

.native-preview .plus-pill:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 18px -4px color-mix(in srgb, var(--accent) 50%, transparent);
}

.native-preview .plus-pill.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.native-preview .plus-pill.is-active svg {
  filter: brightness(0.22) saturate(1.4);
}
.native-preview .rail {
  width: var(--rail-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0 12px;
  overflow-y: auto;
  overflow-x: hidden;
  --surface: var(--bg-app);
}

.native-preview .rail-sep {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
  flex-shrink: 0;
  margin: 2px 0;
}

.native-preview .rail-item {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
}

.native-preview .rail-item.is-drop-before::before {
  content: '';
  position: absolute;
  top: -5px;
  inset-inline-start: 16px;
  inset-inline-end: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.native-preview .rail-pill {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 4px;
  height: 0;
  translate: 0 -50%;
  border-radius: 0 4px 4px 0;
  background: var(--text-strong);
  transition: height var(--dur-3) var(--ease-spring), background var(--dur-2);
}

.native-preview .rail-item.is-unread .rail-pill {
  height: 8px;
}

.native-preview .rail-item:hover .rail-pill {
  height: 20px;
}

.native-preview .rail-item.is-active .rail-pill {
  height: 36px;
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent);
}

.native-preview .rail-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  color: var(--text);
  box-shadow: var(--highlight-top);
  transition:
    border-radius var(--dur-3) var(--ease-out),
    background var(--dur-2) ease,
    color var(--dur-2) ease,
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) ease;
}

.native-preview .rail-btn:active {
  transform: translateY(1px);
}

.native-preview .rail-item:hover .rail-btn,
.native-preview .rail-item.is-active .rail-btn {
  border-radius: 14px;
}

.native-preview .rail-btn-icon {
  overflow: hidden;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.native-preview .rail-btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.native-preview .rail-item.is-active .rail-btn-icon {
  box-shadow: 0 0 0 2px var(--bg-app), 0 0 0 3.5px color-mix(in srgb, var(--accent) 75%, transparent);
}

.native-preview .rail-home {
  background: var(--bg-raised);
}

.native-preview .rail-item:hover .rail-home {
  background: var(--accent-soft);
}

.native-preview .rail-item.is-active .rail-home {
  background: linear-gradient(150deg, #134e3c, #0b231c);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 20px -6px color-mix(in srgb, var(--accent) 60%, transparent);
}

.native-preview .rail-action {
  color: var(--accent);
}

.native-preview .rail-item:hover .rail-action {
  background: var(--accent);
  color: var(--accent-ink);
}

.native-preview .rail-dm .avatar {
  transition: transform var(--dur-2) var(--ease-out);
}
.native-preview .workspace {
  flex: 1;
  min-width: 0;
  display: flex;
  margin-block: 0 8px;
  margin-inline: 0 8px;
  border-radius: 0;
  background: var(--bg-main);
  box-shadow:
    inset 1px 0 0 var(--line),
    inset -1px 0 0 var(--line),
    inset 0 -1px 0 var(--line),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 20px 60px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
}

.native-preview .workspace::before { display: none; }
.native-preview .sidebar {
  position: relative;
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-sidebar);
  box-shadow: inset -1px 0 0 var(--line);
  min-height: 0;
  --surface: var(--bg-sidebar);
}

.native-preview .sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 12px;
  min-height: 0;
}

.native-preview .sidebar-header {
  position: relative;
  z-index: 3;
  height: var(--header-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 0 0;
  padding-inline: 16px 12px;
  box-shadow: inset 0 -1px 0 var(--line);
  transition: background var(--dur-2), box-shadow var(--dur-2);
}

.native-preview .server-header-btn .truncate {
  flex: 1;
  text-align: start;
}

.native-preview .sidebar.has-banner .sidebar-header {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent);
}

.native-preview .sidebar.has-banner .sidebar-header .server-header-btn {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.native-preview .sidebar.has-banner.is-scrolled .sidebar-header {
  background: var(--bg-sidebar);
  box-shadow: inset 0 -1px 0 var(--line);
}

.native-preview .sidebar.has-banner.is-scrolled .sidebar-header .server-header-btn {
  text-shadow: none;
}

.native-preview .sidebar-banner .banner {
  position: absolute;
  inset: 0;
}

.native-preview .channel.is-active {
  background: var(--bg-active);
  color: var(--text-strong);
}

.native-preview .channel.is-active::before {
  content: '';
  position: absolute;
  inset-inline-start: -8px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}

.native-preview .channel.is-unread:not(.is-active)::after {
  content: '';
  position: absolute;
  inset-inline-start: -8px;
  top: 50%;
  width: 4px;
  height: 8px;
  translate: 0 -50%;
  border-radius: 0 4px 4px 0;
  background: var(--text-strong);
}

.native-preview .channel.is-active .channel-icon,
.native-preview .channel:hover .channel-icon {
  color: var(--text-muted);
}

.native-preview .channel:hover .channel-actions,
.native-preview .channel.is-active .channel-actions,
.native-preview .channel:focus-visible .channel-actions,
.native-preview .channel-actions:focus-within {
  display: flex;
}

.native-preview .channel-actions .icon-btn {
  width: 24px;
  height: 24px;
}

.native-preview .channel-actions .icon-btn svg {
  width: 16px;
  height: 16px;
}
.native-preview .home-search {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--bg-well);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-faint);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: start;
  transition: color var(--dur-1), box-shadow var(--dur-1);
}

.native-preview .home-search:hover {
  color: var(--text-muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.native-preview .nav-list {
  padding: 8px 0 4px;
}

.native-preview .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  margin: 1px 8px;
  padding-block: 0 0;
  padding-inline: 12px 10px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1);
  width: calc(100% - 16px);
  text-align: start;
}

.native-preview .nav-item:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.native-preview .nav-item.is-active {
  background: var(--bg-active);
  color: var(--text-strong);
}

.native-preview .nav-item svg {
  width: 21px;
  height: 21px;
}

.native-preview .nav-item .nav-gem {
  color: var(--accent);
}

.native-preview .dm-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px 4px;
  padding-inline: 18px 10px;
}

.native-preview .dm-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  margin: 1px 8px;
  padding-block: 0 0;
  padding-inline: 8px 6px;
  border-radius: 9px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1);
}

.native-preview .dm-item:hover {
  background: var(--bg-hover);
  color: var(--text);
  --surface: #12181b;
}

.native-preview .dm-item.is-active {
  background: var(--bg-active);
  color: var(--text-strong);
}

.native-preview .dm-item.is-unread {
  color: var(--text-strong);
}

.native-preview .dm-item.is-unread .dm-name {
  font-weight: 650;
}

.native-preview .dm-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.native-preview .dm-name {
  font-size: 15px;
  font-weight: 500;
}

.native-preview .dm-sub {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.native-preview .dm-close {
  opacity: 0;
}

.native-preview .dm-item:hover .dm-close,
.native-preview .dm-close:focus-visible {
  opacity: 1;
}
.native-preview .self-panel {
  margin: 0 8px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--line), var(--highlight-top);
  flex-shrink: 0;
  --surface: #12171a;
}

.native-preview .user-panel {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  padding: 0 6px 0 6px;
}

.native-preview .user-panel-id {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding-block: 0 0;
  padding-inline: 4px 6px;
  border-radius: 9px;
  text-align: start;
  transition: background var(--dur-1);
}

.native-preview .user-panel-id:hover {
  background: var(--bg-hover-strong);
}

.native-preview .user-panel-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.native-preview .user-panel-name {
  color: var(--text-strong);
  font-size: var(--fs-md);
  font-weight: 650;
}

.native-preview .user-panel-sub {
  position: relative;
  height: 15px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.native-preview .user-panel-sub > span {
  display: block;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2);
}

.native-preview .user-panel-sub > span + span {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  opacity: 0;
}

.native-preview .user-panel-id:hover .user-panel-sub > span:first-child {
  transform: translateY(-100%);
  opacity: 0;
}

.native-preview .user-panel-id:hover .user-panel-sub > span + span {
  transform: none;
  opacity: 1;
}

.native-preview .user-panel .icon-btn.is-off {
  color: var(--danger-text);
}

.native-preview .user-panel .icon-btn.is-off:hover {
  background: var(--danger-soft);
}
.native-preview .main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  --surface: var(--bg-main);
}

.native-preview .view-header {
  position: relative;
  z-index: 4;
  height: var(--header-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 0 0;
  padding-inline: 16px 10px;
  box-shadow: inset 0 -1px 0 var(--line), 0 1px 0 rgba(0, 0, 0, 0.2);
  background: var(--bg-main);
}

.native-preview .view-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.native-preview .view-header-title .channel-icon {
  color: var(--text-faint);
}

.native-preview .view-header-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
  flex-shrink: 0;
}

.native-preview .header-search {
  position: relative;
  margin-inline-start: 6px;
}

.native-preview .header-search input {
  width: 160px;
  height: 30px;
  padding-block: 0 0;
  padding-inline: 30px 28px;
  border: 0;
  border-radius: 8px;
  background: var(--bg-well);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-strong);
  font-size: var(--fs-sm);
  transition: width var(--dur-3) var(--ease-out), box-shadow var(--dur-2);
}

.native-preview .header-search input::placeholder {
  color: var(--text-faint);
}

.native-preview .header-search input:focus,
.native-preview .header-search.has-value input {
  width: 240px;
  box-shadow: inset 0 0 0 1px var(--accent-line), 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}

.native-preview .header-search > svg {
  position: absolute;
  inset-inline-start: 9px;
  top: 50%;
  translate: 0 -50%;
  width: 15px;
  height: 15px;
  color: var(--text-faint);
  pointer-events: none;
}

.native-preview .header-search .clear {
  position: absolute;
  inset-inline-end: 4px;
  top: 50%;
  translate: 0 -50%;
}

.native-preview .mobile-only {
  display: none !important;
}

.native-preview .view-body {
  flex: 1;
  min-height: 0;
  display: flex;
}
@media (max-width: 1100px) {
  .native-preview .header-search input {
    width: 120px;
  }
}

@media (max-width: 920px) {
  .native-preview .header-search:not(.has-value) input:not(:focus) {
    width: 32px;
    padding-inline: 30px 0;
    cursor: pointer;
  }

  .native-preview .header-search:not(.has-value) input:not(:focus)::placeholder {
    color: transparent;
  }

  .native-preview .header-search input:focus,
  .native-preview .header-search.has-value input {
    width: 180px;
  }
}
.native-preview .onyx-logo,
.native-preview .os-logo {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  user-select: none;
}

.native-preview .os-logo {
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.28);
}
.native-preview .rail-home,
.native-preview .rail-item:hover .rail-home,
.native-preview .rail-item.is-active .rail-home {
  padding: 0;
  background: transparent;
}

.native-preview .rail-home-logo {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.native-preview .rail-home .onyx-logo {
  width: 100%;
  height: 100%;
}

.native-preview .rail-item:hover .rail-home .onyx-logo {
  filter: brightness(1.08);
}

.native-preview .rail-item.is-active .rail-home {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 20px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}

.native-preview .topbar-brand .wordmark .onyx-logo {
  border-radius: 6px;
}

.native-preview .topbar-os-logo {
  width: 22px;
  height: 22px;
}
.native-preview .nav-item-os {
  position: relative;
  border-radius: 10px;
  isolation: isolate;
}
.native-preview .nav-item-os > .border-line {
  border-radius: 10px;
  padding: 1.5px;
  background: transparent;
}
.native-preview .onyx-mark {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  user-select: none;
}

.native-preview .wordmark .wordmark-logo {
  display: none;
}

.native-preview[data-theme='daylight'] .wordmark .wordmark-mark {
  display: none;
}

.native-preview[data-theme='daylight'] .wordmark .wordmark-logo {
  display: block;
}

.native-preview .chat {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.native-preview .chat-main {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.native-preview .view-header-title [data-native-title] {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
  min-width: 0;
}

.native-preview .header-status {
  display: inline-flex;
}

.native-preview .has-dot-wrap {
  position: relative;
}

.native-preview .side-panel {
  display: flex;
  flex-shrink: 0;
  min-height: 0;
}
.native-preview .msg-list-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.native-preview .msg-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-anchor: none;
}

.native-preview .msg-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.native-preview .msg-bottom-spacer {
  height: 18px;
  flex-shrink: 0;
}

.native-preview .welcome {
  padding: 40px 16px 8px 16px;
  margin: 0 0 4px;
}

.native-preview .welcome-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.native-preview .welcome-username {
  color: var(--text);
  font-size: 19px;
  font-weight: 500;
  margin: -2px 0 10px;
}

.native-preview .welcome-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 640px;
}

.native-preview .welcome-text strong {
  color: var(--text);
}

.native-preview .welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.native-preview .welcome-dm .avatar {
  margin-bottom: 14px;
}

.native-preview .welcome-mutual {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-end: 8px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.native-preview .welcome-mutual-icons {
  display: inline-flex;
}

.native-preview .welcome-mutual-icons .server-icon {
  border-radius: 7px;
  box-shadow: 0 0 0 2px var(--bg-main);
}

.native-preview .welcome-mutual-icons .server-icon + .server-icon {
  margin-inline-start: -6px;
}
.native-preview .divider-day {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 16px 6px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 650;
  user-select: none;
}

.native-preview .divider-day::before,
.native-preview .divider-day::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.native-preview .divider-day + .msg {
  margin-top: 6px !important;
}

.native-preview .divider-new + .msg {
  margin-top: 10px !important;
}

@keyframes slide-down {
  from {
    transform: translateY(-100%);
  }
}

.native-preview .jump-present {
  position: absolute;
  z-index: 3;
  inset-inline-end: 24px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding-block: 0 0;
  padding-inline: 14px 12px;
  border-radius: 999px;
  background: var(--bg-overlay-2);
  box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line-2);
  color: var(--text-strong);
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--dur-2), transform var(--dur-3) var(--ease-out);
}

.native-preview .jump-present.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.native-preview .jump-present:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.native-preview .msg {
  position: relative;
  padding-block: 2px 2px;
  padding-inline: 72px 56px;
  margin-top: var(--group-gap);
  transition: background-color var(--dur-1) ease;
  --surface: var(--bg-main);
}

.native-preview .msg.is-grouped {
  margin-top: 0;
}

.native-preview .msg:hover {
  background: var(--bg-message-hover);
}

.native-preview .msg.is-mentioned {
  background: var(--mention-bg);
}

.native-preview .msg.is-mentioned::before,
.native-preview .msg.is-replying::before,
.native-preview .msg.is-highlight::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--mention-bar);
}

.native-preview .msg.is-mentioned:hover {
  background: color-mix(in srgb, var(--accent) 11%, transparent);
}

.native-preview .msg.is-replying {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.native-preview .msg.is-highlight {
  animation: msg-flash 1.8s var(--ease-out);
}

@keyframes msg-flash {
  0%,
  35% {
    background: color-mix(in srgb, var(--accent) 20%, transparent);
  }
  100% {
    background: transparent;
  }
}

.native-preview .msg-gutter {
  position: absolute;
  inset-inline-start: 16px;
  top: 4px;
  width: 40px;
  display: flex;
  justify-content: center;
}

.native-preview .msg-reply + .msg-gutter {
  top: 28px;
}

.native-preview .msg.is-grouped .msg-gutter {
  top: 2px;
  height: calc(var(--fs-message) * var(--lh-message));
  align-items: center;
}

.native-preview .msg-avatar {
  border-radius: 50%;
  display: block;
}

.native-preview .msg-avatar:active {
  transform: translateY(1px);
}

.native-preview .msg:hover .msg-hover-time {
  opacity: 1;
}

.native-preview .msg-main {
  min-width: 0;
}

.native-preview .msg-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  line-height: 22px;
  min-height: 22px;
}

.native-preview .msg-author {
  color: var(--text-strong);
  font-size: calc(15px * var(--chat-scale));
  font-weight: 620;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  flex-shrink: 1;
  max-width: 100%;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.native-preview .msg-author:hover {
  text-decoration: underline;
}

.native-preview .msg-identity > .msg-author {
  display: inline-flex;
  min-width: 0;
}

.native-preview .msg-identity > .msg-author > .display-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.native-preview .msg-identity > .plus-check,
.native-preview .msg-identity > .server-tag,
.native-preview .msg-identity > .plus-identity-badge {
  align-self: center;
}

.native-preview .msg-time {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
}

.native-preview .msg-content {
  color: var(--text);
  font-size: var(--fs-message);
  line-height: var(--lh-message);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.native-preview .msg.is-mine .msg-content {
  color: var(--text);
}
.native-preview .msg-toolbar {
  position: absolute;
  z-index: 2;
  inset-inline-end: 16px;
  top: -18px;
  display: none;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border-radius: 10px;
  background: var(--bg-overlay);
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line-2);
}

.native-preview .msg:hover .msg-toolbar,
.native-preview .msg-toolbar.is-open,
.native-preview .msg:focus-within .msg-toolbar {
  display: flex;
}

.native-preview .msg-compact .msg-toolbar {
  top: -16px;
}

.native-preview .tb-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--text-muted);
  transition: background var(--dur-1), color var(--dur-1), transform var(--dur-1);
}

.native-preview .tb-btn svg {
  width: 19px;
  height: 19px;
}

.native-preview .tb-btn:hover,
.native-preview .tb-btn[data-state='open'] {
  background: var(--bg-hover-strong);
  color: var(--text-strong);
}

.native-preview .tb-btn:active {
  transform: scale(0.92);
}

.native-preview .tb-emoji {
  font-family: var(--font-emoji);
  font-size: 17px;
  line-height: 1;
}

.native-preview .tb-emoji:hover {
  transform: scale(1.12);
}

.native-preview .tb-danger:hover {
  color: var(--danger-text);
  background: var(--danger-soft);
}

.native-preview .tb-sep {
  width: 1px;
  height: 20px;
  margin: 0 2px;
  background: var(--line-2);
}

.native-preview .msg-system .msg-gutter {
  top: 5px;
}

.native-preview .sys-text .msg-author {
  font-size: inherit;
}

.native-preview .msg-system .msg-time {
  margin-inline-start: 8px;
}

.native-preview .msg-compact-main > .msg-content,
.native-preview .msg-compact-main > .msg-content > .md,
.native-preview .msg-compact-main > .msg-content > .md > .md-p:first-child {
  display: inline;
}
.native-preview .md-p {
  white-space: pre-wrap;
}

.native-preview .md strong {
  color: var(--text-strong);
  font-weight: 680;
}

.native-preview .md > .md-h:first-child {
  margin-top: 2px;
}

.native-preview .md.is-jumbo {
  font-size: 44px;
  line-height: 1.2;
}

.native-preview .md.is-jumbo .custom-emoji {
  height: 48px;
  vertical-align: bottom;
}
.native-preview .reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.native-preview .reaction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-block: 0 0;
  padding-inline: 7px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px transparent;
  transition: background var(--dur-1), box-shadow var(--dur-1), transform var(--dur-1);
}

.native-preview .reaction:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.native-preview .reaction:active {
  transform: scale(0.95);
}

.native-preview .reaction.is-mine {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.native-preview .reaction.is-mine .reaction-count {
  color: var(--accent-200);
}

.native-preview .reaction-char {
  font-family: var(--font-emoji);
  font-size: 16px;
  line-height: 1;
}

.native-preview .reaction-count {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
}

.native-preview .reaction-add {
  padding: 0 8px;
  color: var(--text-faint);
  opacity: 0;
}

.native-preview .msg:hover .reaction-add,
.native-preview .reaction-add[data-state='open'],
.native-preview .reaction-add:focus-visible {
  opacity: 1;
}

.native-preview .reaction-add:hover {
  color: var(--text-strong);
}

.native-preview .reaction-tip .reaction-char {
  font-size: 26px;
}
.native-preview .composer-wrap {
  position: relative;
  flex-shrink: 0;
  padding: 0 16px;
}

.native-preview .composer {
  position: relative;
  border-radius: 12px;
  background: var(--bg-input);
  box-shadow: inset 0 0 0 1px var(--line), var(--highlight-top);
  transition: box-shadow var(--dur-2) ease;
}

.native-preview .composer:focus-within {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent), 0 0 0 3px color-mix(in srgb, var(--accent) 7%, transparent);
}

.native-preview .composer-row {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 6px;
}

.native-preview .composer-plus,
.native-preview .composer-emoji {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.native-preview .composer-plus svg,
.native-preview .composer-emoji svg {
  width: 22px;
  height: 22px;
}

.native-preview .composer-emoji.is-active,
.native-preview .composer-emoji[data-state='open'] {
  color: var(--accent-text);
}

.native-preview .composer-input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  max-height: 45vh;
  padding: calc((40px - var(--fs-message) * 1.47) / 2) 4px;
  border: 0;
  resize: none;
  background: transparent;
  color: var(--text-strong);
  font-size: var(--fs-message);
  line-height: 1.47;
  overflow-y: auto;
}

.native-preview .composer-input::placeholder {
  color: var(--text-faint);
}

.native-preview .composer-send {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-faint);
  transition: background var(--dur-2), color var(--dur-2), transform var(--dur-1), box-shadow var(--dur-2);
}

.native-preview .composer-send.is-ready {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 14px -4px color-mix(in srgb, var(--accent) 55%, transparent);
}

.native-preview .composer-send.is-ready:hover {
  background: var(--accent-hover);
}

.native-preview .composer-send:active:not(:disabled) {
  transform: scale(0.94);
}

.native-preview .composer.is-locked {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding-block: 10px 10px;
  padding-inline: 16px 12px;
  color: var(--text-muted);
  font-size: var(--fs-md);
}

.native-preview .composer.is-locked > span {
  flex: 1;
}

.native-preview .composer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 26px;
  padding: 0 4px;
  color: var(--text-faint);
  font-size: 11.5px;
  font-weight: 500;
}

.native-preview .composer-wrap:focus-within .composer-hint {
  opacity: 1;
}

.native-preview .ac-item.is-active {
  background: var(--bg-hover-strong);
}

.native-preview .ep-rail-btn.is-active {
  background: var(--accent-softer);
  color: var(--accent-text);
}

.native-preview .ep-rail-server .server-icon {
  border-radius: 7px;
}

.native-preview .ep-head .server-icon {
  border-radius: 5px;
}
.native-preview .server-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 30%;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  user-select: none;
}

.native-preview .server-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.native-preview .rail-btn .server-icon {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit;
}

.native-preview .rail-item:hover .rail-btn-avatar {
  border-radius: 50%;
}

.native-preview .home-header {
  padding: 0 10px;
}
.native-preview .call-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 16px 18px;
  background:
    radial-gradient(60% 120% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    #090d0f;
  box-shadow: inset 0 -1px 0 var(--line);
  flex-shrink: 0;
  animation: fade-in var(--dur-3);
}

.native-preview .call-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.native-preview .call-ringing,
.native-preview .call-time {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
}

@keyframes blink {
  50% {
    opacity: 0.55;
  }
}

.native-preview .call-person.is-ringing .avatar::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent);
  animation: ring-pulse 1.6s var(--ease-out) infinite;
}

.native-preview .call-cam .banner {
  position: absolute;
  inset: 0;
  opacity: 0.75;
}

.native-preview .call-person.has-cam .avatar {
  position: relative;
}

.native-preview .audio.is-compact {
  width: 100%;
  padding: 2px;
  background: transparent;
  box-shadow: none;
}
.native-preview .composer-mic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.native-preview .composer-mic svg {
  width: 21px;
  height: 21px;
}

@keyframes rec-pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (max-width: 560px) {
}

@keyframes typing-dot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.native-preview .pcard {
  --pc-avatar: 84px;
  --pc-ring: 6px;
  --pc-banner: 122px;
  --pc-left: 16px;
  position: relative;
  width: 340px;
  max-width: 100%;
  background: var(--bg-overlay);
  overflow: hidden;
  --surface: var(--bg-overlay);
}

.native-preview .pcard-preview {
  border-radius: 16px;
  box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line-2);
}

.native-preview .pcard-panel {
  width: 100%;
  background: transparent;
  --pc-avatar: 80px;
  --pc-banner: 120px;
  --surface: var(--bg-sidebar);
}

.native-preview .pcard.is-themed {
  padding: 4px;
  background: linear-gradient(170deg, var(--pc-a), var(--pc-b));
  --surface: #0e1214;
}

.native-preview .pcard-panel.is-themed {
  padding: 0;
}

.native-preview .pcard-banner {
  position: relative;
  height: var(--pc-banner);
  -webkit-mask: radial-gradient(circle calc(var(--pc-avatar) / 2 + var(--pc-ring)) at calc(var(--pc-left) + var(--pc-ring) + var(--pc-avatar) / 2) 100%, transparent 98.5%, #000 100%);
  mask: radial-gradient(circle calc(var(--pc-avatar) / 2 + var(--pc-ring)) at calc(var(--pc-left) + var(--pc-ring) + var(--pc-avatar) / 2) 100%, transparent 98.5%, #000 100%);
}

.native-preview .pcard.is-themed .pcard-banner {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.native-preview .pcard-banner .banner {
  position: absolute;
  inset: 0;
}

.native-preview .pcard-top {
  position: relative;
  height: calc(var(--pc-avatar) / 2 + 10px);
}

.native-preview .pcard.is-themed .pcard-inner {
  border-radius: 0 0 12px 12px;
}

.native-preview .pcard-avatar {
  position: absolute;
  inset-inline-start: calc(var(--pc-left) + var(--pc-ring));
  top: calc(var(--pc-avatar) / -2);
  z-index: 2;
}

.native-preview .pcard-top-tools {
  position: absolute;
  inset-inline-end: 10px;
  top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.native-preview .pcard-top-tools .icon-btn {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
}

.native-preview .pcard-top-tools .icon-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.native-preview .pcard-inner {
  position: relative;
  z-index: 1;
  padding: 2px 16px 16px;
}

.native-preview .pcard-names {
  margin-bottom: 12px;
}

.native-preview .pcard-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  min-width: 0;
}

.native-preview .pcard-username {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  color: var(--text);
  font-size: var(--fs-md);
}

.native-preview .pcard-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-size: var(--fs-md);
  overflow-wrap: anywhere;
}

.native-preview .pcard-status .emoji {
  font-size: 16px;
}

.native-preview .pcard-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  box-shadow: inset 0 1px 0 var(--line);
}

.native-preview .pcard-h {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.native-preview .pcard-since {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text);
  font-size: 13.5px;
}

.native-preview .since-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.native-preview .since-item .server-icon {
  border-radius: 5px;
}

.native-preview .pcard-note {
  display: block;
  width: calc(100% + 16px);
  margin: -4px -8px 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  resize: none;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.native-preview .pcard-note::placeholder {
  color: var(--text-faint);
}

.native-preview .pcard-note:hover {
  background: rgba(0, 0, 0, 0.15);
}

.native-preview .pcard-note:focus {
  background: rgba(0, 0, 0, 0.32);
}

.native-preview .pcard-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.native-preview .self-menu-item .grow {
  display: flex;
  flex-direction: column;
}

.native-preview .self-status.is-active {
  background: var(--bg-hover);
  color: var(--text-strong);
}

.native-preview .self-status .status-glyph {
  margin: 0 2px;
}

.native-preview .pmodal.is-themed {
  padding: 5px;
  background: linear-gradient(170deg, var(--pc-a), var(--pc-b));
  --surface: #0e1214;
}

.native-preview .pmodal.is-themed .pmodal-banner {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.native-preview .pmodal-banner .banner {
  position: absolute;
  inset: 0;
}

.native-preview .pmodal.is-themed .pmodal-body {
  border-radius: 0 0 14px 14px;
}

.native-preview .ptab.is-active {
  color: var(--text-strong);
}

.native-preview .ptab.is-active::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.native-preview .pmodal-about .pcard-h {
  margin-top: 12px;
}

.native-preview .mutual-row .grow span {
  display: block;
  color: var(--text-muted);
  font-size: 12.5px;
}
.native-preview .dm-profile {
  width: 340px;
  overflow-y: auto;
  background: var(--bg-sidebar);
  box-shadow: inset 1px 0 0 var(--line);
  --surface: var(--bg-sidebar);
}

.native-preview .collapse {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.native-preview .collapse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 650;
}

.native-preview .collapse-head:hover {
  color: var(--text-strong);
  background: var(--bg-hover);
}

.native-preview .collapse-head svg {
  color: var(--text-muted);
  transition: transform var(--dur-2) var(--ease-out);
}

.native-preview .collapse.is-open .collapse-head svg {
  transform: rotate(180deg);
}
.native-preview .pcard.is-themed,
.native-preview .pmodal.is-themed,
.native-preview .account-card.is-themed {
  color-scheme: dark;
  --text-strong: #f4f7f8;
  --text: #d6dee1;
  --text-muted: #a3b0b5;
  --text-faint: #7b898e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --bg-hover: rgba(255, 255, 255, 0.05);
  --bg-hover-strong: rgba(255, 255, 255, 0.08);
  --bg-well: rgba(0, 0, 0, 0.3);
  --pc-surface: color-mix(in srgb, var(--pc-a) 15%, rgba(255, 255, 255, 0.035));
  --pc-surface-2: color-mix(in srgb, var(--pc-a) 26%, rgba(255, 255, 255, 0.07));
  --pc-line: color-mix(in srgb, var(--pc-a) 42%, rgba(255, 255, 255, 0.1));
  --pc-accent: color-mix(in srgb, var(--pc-a) 45%, #ffffff);
  color: var(--text);
}

.native-preview .pcard.is-themed .pcard-top,
.native-preview .pcard.is-themed .pcard-inner,
.native-preview .pmodal.is-themed .pmodal-head,
.native-preview .pmodal.is-themed .pmodal-body {
  background: var(--pc-veil, rgba(10, 13, 15, 0.6));
}

.native-preview .is-themed :is(.activity, .pcard-status, .collapse, .pmodal-note, .pmodal-badge, .self-menu, .pcard-expand) {
  background: var(--pc-surface);
  box-shadow: inset 0 0 0 1px var(--pc-line);
}

.native-preview .is-themed :is(.pcard-badges, .member-no) {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 1px var(--pc-line);
}

.native-preview .is-themed .role-chip {
  background: var(--pc-surface);
  box-shadow: inset 0 0 0 1px var(--pc-line);
}

.native-preview .is-themed :is(.collapse-head, .mutual-row, .self-menu-item, .pcard-expand):hover, .native-preview .is-themed .self-status.is-active {
  background: var(--pc-surface-2);
  color: var(--text-strong);
}

.native-preview .is-themed .pcard-sections {
  box-shadow: inset 0 1px 0 var(--pc-line);
}

.native-preview .is-themed .self-menu-sep {
  background: var(--pc-line);
}

.native-preview .is-themed :is(.pcard-msg input, .pcard-note:focus) {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 1px var(--pc-line);
}

.native-preview .is-themed .pcard-msg input:focus {
  box-shadow: inset 0 0 0 1px var(--pc-accent), 0 0 0 3px color-mix(in srgb, var(--pc-a) 30%, transparent);
}

.native-preview .is-themed .btn-secondary {
  background: var(--pc-surface-2);
  box-shadow: inset 0 0 0 1px var(--pc-line);
  color: var(--text-strong);
}

.native-preview .is-themed .btn-secondary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--pc-a) 38%, rgba(255, 255, 255, 0.1));
}

.native-preview .is-themed .activity-time,
.native-preview .is-themed .activity.is-streaming .activity-label {
  color: var(--pc-accent);
}

.native-preview .is-themed .pmodal-tabs {
  box-shadow: inset 0 -1px 0 var(--pc-line);
}

.native-preview .is-themed .ptab.is-active::after {
  background: var(--pc-accent);
}

.native-preview .is-themed .pcard-top-tools .icon-btn,
.native-preview .is-themed .pmodal-more {
  background: rgba(0, 0, 0, 0.32);
}
.native-preview .pcard-extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.native-preview .pcard-expand {
  margin-top: 14px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
}

.native-preview .pcard-expand:hover {
  background: var(--bg-hover-strong);
}
.native-preview .dm-profile {
  display: flex;
  padding: 0;
  overflow: hidden;
}

.native-preview .dm-profile .pcard-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border-radius: 0;
  background: var(--bg-overlay);
  box-shadow: inset 0 0 0 1px var(--line);
  --surface: var(--bg-overlay);
}

.native-preview .dm-profile .pcard-banner,
.native-preview .dm-profile .pcard-top {
  flex-shrink: 0;
}

.native-preview .dm-profile .pcard-panel .pcard-inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  border-radius: 0;
}

.native-preview .pcard-panel-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 12px 16px 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.native-preview .is-themed .pcard-panel-footer {
  background: var(--pc-veil);
}

.native-preview .pcard-panel-footer .pcard-expand {
  margin: 0;
}

.native-preview .dm-profile .pcard-panel.is-themed {
  padding: 4px;
  background: var(--pc-grad, linear-gradient(170deg, var(--pc-a), var(--pc-b)));
  box-shadow: none;
  --surface: #0e1214;
}

.native-preview .dm-profile .collapse-body {
  --surface: transparent;
}

.native-preview .dm-profile .pcard-panel,
.native-preview .dm-profile .pframe,
.native-preview .dm-profile .pframe-border,
.native-preview .dm-profile .pframe-inner {
  border-radius: 0 !important;
}

.native-preview .display-name {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.native-preview .pcard > .profile-effect,
.native-preview .pmodal > .profile-effect {
  z-index: 0;
}

.native-preview .pcard-top {
  z-index: 1;
}

.native-preview .pcard-name .plus-check,
.native-preview .pmodal-names h2 .plus-check {
  margin-inline-start: 2px;
}

.native-preview .sbadges-h .server-icon {
  flex-shrink: 0;
}

.native-preview .tab.is-active {
  background: var(--bg-active);
  color: var(--text-strong);
}

.native-preview .tab-accent.is-active {
  background: transparent;
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.native-preview .chip.is-active {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: var(--accent-200);
}

.native-preview .share-teaser .grow span {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.native-preview .active-voice .truncate {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.native-preview .active-voice .server-icon {
  border-radius: 6px;
}

@keyframes crystal-float {
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes crystal-breathe {
  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

.native-preview .invite-friend .grow {
  display: flex;
  flex-direction: column;
}

.native-preview .invite-friend .grow span {
  color: var(--text-faint);
  font-size: var(--fs-xs);
}

.native-preview .picker-row .grow {
  display: flex;
  flex-direction: column;
}

.native-preview .picker-row .grow span {
  color: var(--text-faint);
  font-size: var(--fs-xs);
}

.native-preview .lightbox-bar .truncate {
  flex: 1;
}

.native-preview .qs-item.is-active {
  background: var(--bg-hover-strong);
  color: var(--text-strong);
}

.native-preview .qs-icon .server-icon {
  border-radius: 7px;
}

.native-preview .plus-hero-card .pcard {
  width: 100%;
}

.native-preview .wall-self .grow span,
.native-preview .wall-cta .grow span {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.native-preview .wall-entry > .avatar {
  flex-shrink: 0;
}

@media (max-width: 560px) {
}

.native-preview .os-card > .border-line {
  border-radius: 22px;
  padding: 1.5px;
  background: transparent;
}

@keyframes os-glow {
  to {
    transform: translateX(-40px) scale(1.12);
    opacity: 0.7;
  }
}

.native-preview .os-card-logo .os-logo {
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.35), 0 16px 36px -14px rgba(37, 99, 235, 0.7);
}

.native-preview .os-cta.btn {
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-press: #2563eb;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(59, 130, 246, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.native-preview .os-cta.btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  box-shadow: 0 10px 28px -12px rgba(59, 130, 246, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.native-preview .os-cta.btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.native-preview .os-team-logo .onyx-logo {
  border-radius: 8px;
}

@media (max-width: 860px) {
}

@media (max-width: 560px) {

  .native-preview .os-card-logo .os-logo {
    width: 84px;
    height: 84px;
  }

  .native-preview .os-actions,
  .native-preview .os-cta.btn {
    width: 100%;
  }

  .native-preview .os-cta.btn {
    justify-content: center;
  }

  .native-preview .view-header-actions .btn .btn-label {
    display: none;
  }

  .native-preview .view-header-actions .btn {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
}
.native-preview .invite-landing .invite-preview-body > .btn { margin-top: 8px; min-height: 48px; }
.native-preview .invite-auth > .btn { justify-self: start; }
@media (max-width: 480px) { }
.native-preview .official-badge-grid .btn { flex-shrink: 0; }
.native-preview .badge-admin-catalog button.is-active { border-color: var(--accent-line); background: var(--accent-softer); color: var(--accent-text); }
@media (max-width: 1050px) { }.native-preview .os-coupon>.btn{margin-top:auto;min-height:46px}
@keyframes os-coupon-drift{to{transform:translate(8%,12%) scale(1.12);opacity:.65}}
@media(prefers-reduced-motion:reduce){}
@media(max-width:1150px){}
@media(max-width:600px){}
@media(max-width:600px){}

@keyframes live-pulse {
  50% {
    opacity: 0.35;
  }
}

.native-preview .studio-preview .pcard {
  width: 100%;
}

.native-preview .mini-msg-head .msg-author {
  font-size: 15px;
  font-weight: 650;
  color: var(--text-strong);
}

.native-preview .mini-msg-head .msg-time {
  color: var(--text-faint);
  font-size: 11px;
}

.native-preview .mini-card .pframe {
  border-radius: 8px;
}

.native-preview .palette.is-active .palette-swatch {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 3px var(--accent-softer);
}

.native-preview .palette.is-active {
  color: var(--text-strong);
}

.native-preview .name-stage .btn {
  margin-top: 4px;
}

.native-preview .name-preset > .sname,
.native-preview .name-preset > span:first-child {
  max-width: 100%;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-preview .name-preset.is-active,
.native-preview .font-tile.is-active,
.native-preview .effect-tile.is-active {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.native-preview .effect-tile > .sname,
.native-preview .effect-tile > span:first-child {
  font-size: 26px;
  font-weight: 800;
}

.native-preview .color-slot.is-active {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--accent);
}

.native-preview .swatch.is-active {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--accent);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}

.native-preview .lang-option.is-active {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.native-preview .lang-option.is-active .radio-dot {
  box-shadow: inset 0 0 0 6px var(--accent);
}
.native-preview .pcard-idrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.native-preview .pcard-idrow .pcard-badges {
  margin: 0;
}

.native-preview .member-ident {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.native-preview .member-no {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding-block: 0 0;
  padding-inline: 6px 8px;
  border-radius: 7px;
  background: var(--bg-well);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.native-preview[data-theme='daylight'] .member-no {
  background: var(--bg-raised);
}

.native-preview .pcard.is-themed .member-no {
  background: rgba(0, 0, 0, 0.35);
  color: #e8edef;
}
.native-preview .profile-pop .pcard,
.native-preview .pcard-preview {
  border-radius: 16px;
}

.native-preview .pcard.is-themed {
  background: var(--pc-grad, linear-gradient(170deg, var(--pc-a), var(--pc-b)));
}

.native-preview .pmodal.is-themed {
  background: var(--pc-grad, linear-gradient(170deg, var(--pc-a), var(--pc-b)));
}

.native-preview .pcard.has-frame-bottom .pcard-inner {
  padding-bottom: 26px;
}

.native-preview .studio-nav-item.is-active {
  background: var(--accent-soft);
  color: var(--accent-200);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.native-preview[data-theme='daylight'] .studio-nav-item.is-active,
.native-preview[data-theme='daylight'] .chip.is-active {
  color: var(--accent-700);
}

.native-preview .studio-avatar-row > .avatar {
  flex-shrink: 0;
}

.native-preview .studio-tile.is-active {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-softer);
}

@media (hover: none) {
}

.native-preview .bl-swatch.is-active,
.native-preview .bl-custom.is-active {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.native-preview .cp-swatch.is-active {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--accent);
}

@media (pointer: coarse) {
}

.native-preview .gradient-editor.is-active {
  box-shadow: inset 0 0 0 2px var(--accent);
}
@container studio (max-width: 700px) {

  .native-preview .studio-preview .pcard {
    --pc-banner: 96px;
    max-width: 380px;
  }

  .native-preview .studio-preview .pcard-sections,
  .native-preview .studio-mini,
  .native-preview .profile-preview-hint {
    display: none;
  }
}

@container studio (max-width: 620px) {
}

@keyframes og-pop {
  from {
    transform: scale(0.4) rotate(-14deg);
    opacity: 0;
  }
}
.native-preview .plus-check {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border-radius: 6px;
  vertical-align: middle;
  cursor: pointer;
}

.native-preview .plus-check[role='img'] {
  cursor: default;
}

.native-preview .plus-check:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.native-preview .plus-check-icon {
  display: block;
  filter: drop-shadow(0 1px 3px rgba(37, 99, 235, 0.45));
}
@media (max-width: 700px) {
}

.native-preview .vgrid {
  flex: 1;
  min-height: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: minmax(130px, 1fr);
  align-content: start;
  overflow-y: auto;
}

.native-preview .vgrid.n-1 {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.native-preview .vgrid.n-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.native-preview .vgrid.is-focus {
  display: flex;
  flex-direction: column;
}

.native-preview .vgrid.is-focus > .vtile,
.native-preview .vgrid.is-focus > [data-state] > .vtile {
  flex: 1;
}

.native-preview .vgrid.is-focus > :first-child {
  flex: 1;
  min-height: 0;
  display: flex;
}

.native-preview .vgrid.is-focus > :first-child > .vtile {
  flex: 1;
}

.native-preview .vstrip .vtile {
  width: 200px;
  flex-shrink: 0;
  height: 100%;
}

.native-preview .vtile {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background:
    radial-gradient(70% 90% at 50% 40%, var(--tile-tint), transparent 70%),
    #12171a;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: box-shadow var(--dur-2);
  --surface: #12171a;
}

.native-preview .vtile.is-screen {
  background: #050708;
}

.native-preview .vtile.is-speaking {
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 28px -8px color-mix(in srgb, var(--accent) 55%, transparent);
}

.native-preview .vtile.is-speaking .vvideo {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.native-preview .vtile-center {
  position: relative;
  z-index: 1;
  border-radius: 50%;
}

.native-preview .vtile:fullscreen {
  border-radius: 0;
}

.native-preview .vtile:fullscreen .vvideo {
  object-fit: contain;
}

.native-preview .vtile-foot {
  position: absolute;
  z-index: 2;
  inset-inline-start: 10px;
  inset-inline-end: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.native-preview .vtile-foot > * {
  pointer-events: auto;
}

.native-preview .vtile-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.native-preview .vtile-tools {
  position: absolute;
  z-index: 2;
  top: 10px;
  inset-inline-end: 10px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--dur-2);
}

.native-preview .vtile:hover .vtile-tools,
.native-preview .vtile-tools:focus-within {
  opacity: 1;
}

.native-preview .vtile-tool {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.native-preview .vtile-tool:hover {
  background: rgba(0, 0, 0, 0.75);
}

@media (hover: none) {
  .native-preview .vtile-tools {
    opacity: 1;
  }
}
.native-preview .vcontrols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.native-preview .vbtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1c2328;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text-strong);
  transition: background var(--dur-1), transform var(--dur-1), color var(--dur-1), box-shadow var(--dur-1);
}

.native-preview .vbtn svg {
  width: 22px;
  height: 22px;
}

.native-preview .vbtn:hover:not(:disabled) {
  background: #252e34;
}

.native-preview .vbtn:active:not(:disabled) {
  transform: scale(0.94);
}

.native-preview .vbtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.native-preview .vbtn.is-off {
  background: rgba(239, 75, 95, 0.16);
  color: var(--danger-text);
}

.native-preview .vbtn.is-on {
  background: var(--accent);
  color: var(--accent-ink);
}

.native-preview .vbtn.is-talking {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}

.native-preview .vbtn-leave {
  width: 64px;
  border-radius: 26px;
  background: var(--danger);
  color: #fff;
}

.native-preview .vbtn-leave:hover:not(:disabled) {
  background: var(--danger-hover);
}

.native-preview .vcontrols.is-compact .vbtn {
  width: 44px;
  height: 44px;
}

.native-preview .vcontrols.is-compact .vbtn-leave {
  width: 56px;
}

.native-preview .vcontrols.is-compact .vbtn svg {
  width: 20px;
  height: 20px;
}

.native-preview .vbtn.is-small {
  width: 34px;
  height: 34px;
}

.native-preview .vbtn.is-small svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 480px) {
  .native-preview .vcontrols { gap: 6px; }
  .native-preview .vcontrols .vbtn, .native-preview .vcontrols.is-compact .vbtn { width: 44px; height: 44px; }
  .native-preview .vcontrols .vbtn-leave, .native-preview .vcontrols.is-compact .vbtn-leave { width: 48px; }
}
.native-preview .call-panel {
  position: relative;
  max-height: 46vh;
}

.native-preview .call-panel.is-large {
  max-height: none;
  flex: 1 0 60%;
}

.native-preview .call-status {
  width: 100%;
  justify-content: center;
}

.native-preview .call-size {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.native-preview .call-size:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.native-preview .call-stage {
  width: 100%;
  min-height: 180px;
  flex: 1;
  display: flex;
}

.native-preview .call-panel:not(.is-large) .call-stage .vgrid {
  grid-auto-rows: minmax(150px, 1fr);
}

.native-preview .call-self .vgrid {
  flex: 1;
  grid-template-columns: 1fr;
}

@keyframes incoming-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
}

.native-preview .mini-stage > .vtile {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

@media (hover: none) {
}

@media (max-width: 600px) {

  .native-preview .vgrid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: minmax(120px, 1fr);
  }

  .native-preview .vgrid.n-2 {
    grid-template-columns: 1fr;
  }
  .native-preview .call-panel:not(.is-large) {
    max-height: 70dvh;
    gap: 8px;
    padding: 12px;
  }

  .native-preview .call-panel:not(.is-large) .call-stage {
    min-height: 0;
    flex: 1 1 180px;
    max-height: 240px;
  }

  .native-preview .call-panel:not(.is-large) .call-stage .vgrid {
    grid-auto-rows: minmax(130px, 1fr);
  }

  .native-preview .call-panel .call-stage .vgrid.n-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .native-preview .call-panel .voice-notice {
    max-height: 80px;
    overflow-y: auto;
    flex-shrink: 0;
  }

  .native-preview .call-panel .call-status {
    flex-shrink: 0;
  }

  .native-preview .vbtn {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 1000px) and (max-height: 500px) {
  .native-preview .call-panel:not(.is-large) {
    max-height: calc(100dvh - 110px);
    gap: 8px;
    padding: 10px;
  }

  .native-preview .call-panel:not(.is-large) .call-stage {
    min-height: 0;
    flex: 1 1 120px;
  }

  .native-preview .call-panel .voice-notice {
    max-height: 50px;
    overflow-y: auto;
    flex-shrink: 0;
  }

  .native-preview .call-panel .call-status {
    flex-shrink: 0;
  }
}

.native-preview .btn.is-recording {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.native-preview .voice-stage,
.native-preview .call-stage {
  animation: voice-reveal 180ms ease-out;
}

.native-preview .vbtn[data-unavailable] {
  opacity: 0.55;
}

@keyframes voice-reveal {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1279px) {
  .native-preview {
    --sidebar-w: 236px;
    --members-w: 240px;
  }

  .native-preview .profile-editor .pcard {
    width: 300px;
  }
}
@media (max-width: 1099px) {
  .native-preview .side-panel.is-drawer {
    position: absolute;
    z-index: 15;
    top: var(--header-h);
    inset-inline-end: 0;
    bottom: 0;
    box-shadow: -24px 0 48px -12px rgba(0, 0, 0, 0.7);
    animation: drawer-in var(--dur-3) var(--ease-out);
  }

  .native-preview .chat {
    position: relative;
  }

  .native-preview .profile-editor .pcard {
    width: 340px;
  }
}

@keyframes drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}

@media (max-width: 900px) {
}
@media (max-width: 767px), (max-width: 1100px) and (pointer: coarse) {
  .native-preview {
    --topbar-h: 48px;
  }

  .native-preview .mobile-only {
    display: inline-flex !important;
  }

  .native-preview .hide-sm,
  .native-preview .header-search,
  .native-preview .topbar-search .grow,
  .native-preview .topbar-search .kbd,
  .native-preview .demo-pill {
    display: none !important;
  }

  .native-preview .app.is-mobile .workspace {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .native-preview .app.is-mobile{--pane-base:0px;--pane-direction:1}
  .native-preview[dir='rtl'] .app.is-mobile{--pane-direction:-1}
  .native-preview .app.is-mobile.mobile-nav{--pane-base:100vw}
  .native-preview .app.is-mobile .app-body{position:relative;overflow:hidden;isolation:isolate}
  .native-preview .app.is-mobile .workspace{position:absolute;inset:0;display:block;width:100%;overflow:visible}
  .native-preview .app.is-mobile .rail-pane,.native-preview .app.is-mobile .channel-pane,.native-preview .app.is-mobile .main{position:absolute;inset-block:0;display:flex;transition:transform 240ms var(--ease-out),visibility 0s;will-change:auto}
  .native-preview .app.is-mobile .rail-pane{inset-inline-start:0;width:var(--rail-w);z-index:2}
  .native-preview .app.is-mobile .channel-pane{inset-inline-start:var(--rail-w);width:calc(100% - var(--rail-w));z-index:2}
  .native-preview .app.is-mobile .rail-pane,.native-preview .app.is-mobile .channel-pane{transform:translateX(calc(var(--pane-direction) * (var(--pane-base) + var(--pane-drag,0px) - 100vw)))}
  .native-preview .app.is-mobile .channel-pane>.sidebar{flex:1;width:100%;min-width:0}
  .native-preview .app.is-mobile .rail-pane>.rail{height:100%}
  .native-preview .app.is-mobile .main{inset-inline:0;width:100%;transform:translateX(calc(var(--pane-direction) * (var(--pane-base) + var(--pane-drag,0px))))}
  .native-preview .app.is-mobile.mobile-main .rail-pane,.native-preview .app.is-mobile.mobile-main .channel-pane,.native-preview .app.is-mobile.mobile-nav .main{visibility:hidden;transition:transform 240ms var(--ease-out),visibility 0s 240ms}
  .native-preview .app.is-mobile[data-panning='true'] .rail-pane,.native-preview .app.is-mobile[data-panning='true'] .channel-pane,.native-preview .app.is-mobile[data-panning='true'] .main{visibility:visible;transition:none;will-change:transform}

  .native-preview .mobile-back {
    margin-inline-start: -6px;
  }

  .native-preview .view-header {
    padding-block: 0 0;
    padding-inline: 10px 6px;
    gap: 4px;
  }

  .native-preview .header-actions {
    gap: 2px;
    padding-inline-start: 4px;
  }

  .native-preview .header-actions .icon-btn {
    width: 30px;
    height: 32px;
  }

  .native-preview .header-actions .plus-pill {
    width: 30px;
    padding: 0;
    justify-content: center;
  }

  .native-preview .header-actions .plus-pill span {
    display: none;
  }

  .native-preview .view-header-title {
    min-width: 0;
    flex: 1;
  }

  .native-preview .friends-view .view-header {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    padding:10px 12px 12px;
    row-gap:12px;
  }
  .native-preview .friends-view .tabs .tab-accent.is-active{color:var(--accent-text)}

  .native-preview .msg {
    padding-inline-start: 60px;
    padding-inline-end: 12px;
  }

  .native-preview .msg-gutter {
    inset-inline-start: 10px;
  }

  .native-preview .msg-toolbar {
    inset-inline-end: 8px;
  }

  .native-preview .tb-emoji,
  .native-preview .msg-toolbar .tb-sep {
    display: none;
  }

  .native-preview .divider-day,
  .native-preview .divider-new {
    margin-inline-start: 10px;
    margin-inline-end: 10px;
  }

  .native-preview .welcome {
    padding: 28px 12px 8px;
  }

  .native-preview .welcome-title {
    font-size: 24px;
  }

  .native-preview .composer-wrap {
    padding: 0 8px;
  }

  .native-preview .composer-meta {
    height: 10px;
  }

  .native-preview .composer-meta > * {
    display: none;
  }

  .native-preview .jump-present {
    inset-inline-end: 12px;
  }

  .native-preview .side-panel.is-drawer {
    width: min(320px, 86vw);
  }

  .native-preview .side-panel.is-drawer > * {
    width: 100%;
  }

  .native-preview .search-panel,
  .native-preview .dm-profile {
    width: 100%;
  }
  .native-preview .vgrid,
  .native-preview .vgrid.n-2 {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(140px, 1fr);
  }

  .native-preview .vbtn {
    width: 46px;
    height: 46px;
  }

  @keyframes sheet-in {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
  }

  .native-preview .profile-editor .pcard {
    width: 100%;
  }
}

@media(max-width:479px){}

@media (max-width:767px), (pointer:coarse){
  .native-preview html{overflow:hidden;overscroll-behavior:none}
  .native-preview input,.native-preview textarea,.native-preview select{font-size:16px}
  .native-preview[data-keyboard='open'] .app{padding-bottom:0}
}
@media(prefers-reduced-motion:reduce){.native-preview .app.is-mobile .rail-pane,.native-preview .app.is-mobile .channel-pane,.native-preview .app.is-mobile .main{transition:none!important}}
.native-preview[data-motion='reduced'] .app.is-mobile .rail-pane,.native-preview[data-motion='reduced'] .app.is-mobile .channel-pane,.native-preview[data-motion='reduced'] .app.is-mobile .main{transition:none!important}

@media (hover: none) {
  .native-preview .msg:hover {
    background: transparent;
  }

  .native-preview .msg-toolbar {
    display: none !important;
  }

  .native-preview .reaction-add {
    opacity: 1;
  }
}
.native-preview .profile-sheet .pcard { width: 100%; }
.native-preview .header-touch-tools { display: flex; gap: 4px; align-items: center; margin-inline-start: auto; flex-shrink: 0; }
.native-preview .header-overflow .hide-sm { display: flex !important; }
.native-preview .header-overflow .icon-btn { display: flex; justify-content: flex-start; padding: 10px; gap: 14px; width: 100%; height: auto; min-height: 48px; border-radius: 10px; text-align: start; }
.native-preview .header-overflow .icon-btn::after { content: attr(aria-label); font-size: 14px; font-weight: 500; }
.native-preview .header-overflow .icon-btn svg, .native-preview .header-overflow .icon-btn img { flex-shrink: 0; width: 22px; height: 22px; }
.native-preview .header-overflow-head .icon-btn { width: 44px; min-height: 44px; justify-content: center; padding: 0; }
.native-preview .header-overflow-head .icon-btn::after { content: none; }
.native-preview .header-overflow .header-actions { flex-direction: column; align-items: stretch; margin: 10px 0 0; padding: 10px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); gap: 4px; }
.native-preview .header-overflow .header-search { display: flex !important; width: 100%; margin: 6px 0; }
.native-preview .header-overflow .header-search input { width: 100%; height: 46px; font-size: 16px; }
.native-preview .header-overflow .header-actions .plus-pill { width: 100%; min-height: 48px; justify-content: flex-start; border-radius: 10px; padding: 10px; gap: 14px; }
.native-preview .header-overflow .plus-pill span { display: inline; }

@media (pointer: coarse) {
  .native-preview button, .native-preview [role='button'], .native-preview a, .native-preview .dm-item, .native-preview .channel { touch-action: manipulation; }
  .native-preview .icon-btn, .native-preview .modal-close, .native-preview .settings-close, .native-preview .call-size { min-width: 44px; min-height: 44px; }
  .native-preview .btn, .native-preview .menu-item, .native-preview .ptab { min-height: 44px; }
  .native-preview .field input:not([type='checkbox']):not([type='radio']), .native-preview .field textarea, .native-preview .field select, .native-preview .header-search input, .native-preview .composer textarea, .native-preview .settings-filter input, .native-preview .community-select { font-size: 16px; }
  .native-preview .dm-item { min-height: 58px; }
  .native-preview .dm-close { display: none; }
  .native-preview .user-panel-sub > span + span { display: none !important; }
}

@media (max-width: 767px), (max-width: 1100px) and (pointer: coarse) {
  .native-preview { --header-h: 60px; }
  .native-preview .app { height: 100dvh; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .native-preview .view-header, .native-preview .sidebar-header { height: 60px; min-height: 60px; }
  .native-preview .view-header { padding-inline: 8px; gap: 8px; }
  .native-preview .view-header .mobile-back { margin: 0; width: 48px; height: 48px; flex-shrink: 0; }
  .native-preview .view-header .icon-btn { min-width: 44px; min-height: 44px; }
  .native-preview .view-header [data-native-title] { font-size: 17px; }
  .native-preview .view-header-title { gap: 8px; }
  .native-preview .header-actions .icon-btn, .native-preview .header-actions .plus-pill { width: 44px; min-height: 44px; }
  .native-preview .header-touch-tools > .icon-btn { width: 44px; }
  .native-preview .settings-mobile-head .icon-btn { width: 48px; height: 48px; border-radius: 12px; }
  .native-preview .account-head > .avatar { width: 72px !important; height: 72px !important; }
  .native-preview .account-head > .btn { margin: 0; }
  .native-preview .studio-preview .pcard { margin-inline: auto; }
  .native-preview .tag-picker-summary .btn { min-height: 44px; padding-inline: 12px; }
  .native-preview .tag-picker-summary .btn-icon { display: none; }
  .native-preview .composer-wrap { padding-inline: 8px; }
  .native-preview .composer textarea { font-size: 16px; }
  .native-preview .composer .icon-btn, .native-preview .composer .composer-btn { min-width: 44px; min-height: 44px; }
  .native-preview .call-panel, .native-preview .call-panel:not(.is-large) { padding: 12px; gap: 10px; max-height: min(62dvh,500px); min-height: 0; }
  .native-preview .call-panel.is-large { flex: 0 1 auto; max-height: min(72dvh,640px); }
  .native-preview .call-panel .call-status { min-height: 44px; padding-inline: 48px; display: flex; align-items: center; flex-shrink: 0; }
  .native-preview .call-size { width: 44px; height: 44px; top: 10px; inset-inline-end: 10px; }
  .native-preview .call-self .vgrid, .native-preview .call-panel .call-self .vgrid.n-1 { grid-template-columns: minmax(0,1fr); grid-auto-rows: minmax(0,1fr); height: 100%; }
  .native-preview .call-panel.is-large .call-self, .native-preview .call-panel.is-large .call-person { height: clamp(160px,32dvh,280px); }
  .native-preview .call-panel .call-stage { min-height: 160px; max-height: 240px; flex: 1 1 180px; }
  .native-preview .call-panel .call-stage .vgrid, .native-preview .call-panel:not(.is-large) .call-stage .vgrid { grid-auto-rows: minmax(150px,1fr); }
  .native-preview .call-panel.is-large .call-stage { max-height: 360px; }
  .native-preview .call-panel .vcontrols { width: 100%; gap: 6px; }
  .native-preview .call-panel .vcontrols.is-compact .vbtn, .native-preview .call-panel .vcontrols.is-compact .vbtn-leave { width: clamp(44px,calc((100vw - 72px)/7),52px); height: 48px; flex-shrink: 0; }
  .native-preview .call-panel .vcontrols.is-compact .vbtn svg { width: 23px; height: 23px; }
}
@media (max-height: 520px) and (pointer: coarse) {
  .native-preview .call-self, .native-preview .call-person, .native-preview .call-panel.is-large .call-self, .native-preview .call-panel.is-large .call-person { height: 140px; min-height: 140px; }
  .native-preview .call-panel { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .native-preview .call-panel .call-people { flex-shrink: 0; }
}
.native-preview .header-overflow .header-actions .icon-btn { width: 100%; justify-content: flex-start; padding-inline: 14px; }
.native-preview .header-overflow .header-search .clear { position: static; width: 44px; min-width: 44px; padding: 0; justify-content: center; }
.native-preview .header-overflow .header-search .clear::after { content: none; }
@media (max-width: 767px), (max-width: 1100px) and (pointer: coarse) {
  .native-preview .app { position: fixed; top: var(--touch-top,0px); inset-inline: 0; height: var(--touch-height,100dvh); }
  .native-preview[data-keyboard='open'] .call-panel { max-height: max(100px,calc(var(--touch-height) - 172px)); overflow-y: auto; }
  .native-preview[data-keyboard='open'] .call-people, .native-preview[data-keyboard='open'] .vcontrols { flex-shrink: 0; }
  .native-preview[data-keyboard='open'] .call-panel .vcontrols { position: sticky; bottom: 0; background: var(--bg-main); }
}
.native-preview .header-overflow .header-search input,
.native-preview .header-overflow .header-search:not(.has-value) input:not(:focus) { width: 100%; min-width: 0; padding-inline: 34px 10px; cursor: text; }
.native-preview .header-overflow .header-search:not(.has-value) input:not(:focus)::placeholder { color: var(--text-muted); }
.native-preview .header-overflow .icon-btn:not(:disabled) { color: var(--text); }
.native-preview .header-overflow .header-search .clear { translate: none; margin-inline-start: 4px; }
@media (pointer: coarse) { }
.native-preview .header-overflow-actions > .btn { justify-content: flex-start; min-height: 48px; }
@media (pointer: coarse) {
  .native-preview .badge-order-item .btn, .native-preview .official-badge-grid .btn { min-width: 44px; min-height: 44px; }
}
@media (pointer: coarse) {
  .native-preview .app { position: fixed; top: var(--touch-top,0px); inset-inline: 0; height: var(--touch-height,100dvh); }
}

/* Website adaptations around unchanged ONYX components. No application handlers are shipped. */
.native-preview{display:block;min-width:0;width:100%;color:var(--text);font:14px/1.43 var(--font-sans);font-feature-settings:'cv05' 1,'cv08' 1;isolation:isolate}
.native-preview .native-root{width:100%;height:100%;min-width:0;overflow:hidden;border-radius:inherit;isolation:isolate}
.native-preview .native-root .pcard{width:100%;margin:0}.native-preview .native-root .pcard-top-tools{display:none}
.native-preview .native-root .pcard-name{font-size:20px}.native-preview .native-root .pcard-username,.native-preview .native-root .pcard-status{font-size:14px}
.native-preview .read-only :is(button,a,[role='button']){pointer-events:none;cursor:default}
.native-preview .read-only :is(input,textarea){pointer-events:none;caret-color:transparent}
.native-preview .read-only .msg-content,.native-preview .read-only .msg-content *,.native-preview .read-only .welcome :is(h2,p,strong,.welcome-username){user-select:text;-webkit-user-select:text}
.native-preview .native-chat-desktop,.native-preview .native-chat-mobile{height:100%;min-width:0}.native-preview .native-chat-mobile{display:none}
.native-preview .native-root .app{position:relative;inset:auto;top:auto;height:100%;min-height:0;padding:0}.native-preview .native-root .workspace{margin:0;border-radius:0}
.native-preview .native-root .msg-scroll{overscroll-behavior:contain;touch-action:pan-y}.native-preview .native-root .msg-inner{padding-top:0}
.native-preview .native-root .msg-tools,.native-preview .native-root .jump-present,.native-preview .native-root .notify-prompt,.native-preview .native-root .demo-pill{display:none}
.native-preview .native-root .header-actions .header-search{max-width:150px}
.native-preview .native-root .composer{margin-bottom:12px}.native-preview .native-root .side-panel{width:340px;max-width:340px}
.native-preview .native-chat-mobile .rail,.native-preview .native-chat-mobile .sidebar,.native-preview .native-chat-mobile .side-panel{display:none!important}
.native-preview .native-chat-mobile .workspace{width:100%;margin:0}.native-preview .native-chat-mobile .main{width:100%;min-width:0}
.native-preview .native-chat-mobile .hide-sm,.native-preview .native-chat-mobile .header-search{display:none!important}
.native-preview .native-chat-mobile .mobile-only{display:inline-flex!important}
.native-preview .native-call .call-panel{max-height:none;width:100%;border:0;padding:22px;gap:16px}
.native-preview .native-call .call-panel,.native-preview .native-call .call-stage{animation:none;opacity:1;transform:none}
.native-preview .native-call .call-stage{height:240px;flex:0 0 240px;max-height:none}
.native-preview .native-call .call-stage .vgrid{height:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}
.native-preview .native-call .call-size{display:none}.native-preview .native-call .call-status{flex:0 0 auto}
.native-preview .native-call .call-time{min-width:5ch;font-variant-numeric:tabular-nums}
.native-preview .native-call .vtile .avatar-speak{transition:opacity .25s}
@media(min-width:601px){.native-preview.profile-host .pcard{--pc-avatar:104px;--pc-banner:170px;--pc-left:20px}.native-preview.profile-host .pcard-avatar>.avatar{transform:scale(1.2381);transform-origin:top left}.native-preview.profile-host .pcard-inner{padding:4px 22px 22px}.native-preview.profile-host .pcard-name{font-size:26px}.native-preview.profile-host .pcard-username{font-size:16px}.native-preview.profile-host .pcard-status{font-size:16px;padding:12px}.native-preview.profile-host .pcard-names{margin-bottom:16px}}
.native-preview[data-offscreen] .media-anim,.native-preview[data-offscreen] .media-anim *,.native-preview[data-offscreen] .media-anim::before,.native-preview[data-offscreen] .media-anim::after,.native-preview[data-offscreen] .media-anim *::before,.native-preview[data-offscreen] .media-anim *::after{animation-play-state:paused!important}
@media(max-width:1099px){.native-preview .native-chat-desktop{display:none}.native-preview .native-chat-mobile{display:block;height:auto}.native-preview.chat-host,.native-preview .native-root.native-chat{height:auto}.native-preview .native-chat-mobile .app{height:auto;min-height:720px}.native-preview .native-chat-mobile .msg-scroll{flex:none;overflow:visible}}
@media(max-width:600px){.native-preview .native-call .call-panel{padding:16px;gap:12px}.native-preview .native-call .call-stage{height:170px;flex-basis:170px}.native-preview .native-call .call-panel .vcontrols.is-compact .vbtn,.native-preview .native-call .call-panel .vcontrols.is-compact .vbtn-leave{width:clamp(32px,calc((100vw - 110px)/6),44px);height:40px;flex-shrink:0}.native-preview .native-call .call-panel .vcontrols{gap:6px}.native-preview .native-call .vtile .avatar{max-width:64px;max-height:64px}.native-preview .native-chat-mobile .view-header{padding-inline:12px}.native-preview .native-chat-mobile .msg-inner{padding-top:8px}}
@media(prefers-reduced-motion:reduce){.native-preview *,.native-preview *::before,.native-preview *::after{animation:none!important;transition:none!important}}
