*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000;
  --text: #e7e9ea;
  --muted: #71767b;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);
  --accent: #1d9bf0;
  --blur: 24px;
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --finder-bg: #1e1e1e;
  --finder-sidebar: #282828;
  --finder-text: #e8e8e8;
  --finder-muted: #8e8e93;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: #000;
  color: var(--text);
}

/* thx soeljei */
:focus,
:focus-visible {
  outline: none;
}



/* booting bullshit */

body.is-booting {
  overflow: hidden;
}

body.boot-cursor-hidden,
body.boot-cursor-hidden * {
  cursor: none !important;
}

body.boot-cursor-hidden #fake-cursor {
  opacity: 0 !important;
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background-color: #000;
  color: #fff;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.boot-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.boot-screen-inner {
  display: grid;
  justify-items: center;
  gap: clamp(112px, 12vh, 156px);
  width: min(100vw, 1024px);
}

.boot-screen-apple {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(104px, 9vw, 126px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.boot-screen-progress {
  width: clamp(230px, 22vw, 290px);
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.boot-screen-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to right, #f5f5f5, #bdbdbd);
}

.boot-screen.show-progress .boot-screen-progress {
  opacity: 1;
}

.boot-screen.is-animating .boot-screen-progress-fill {
  animation: bootProgress 3.2s linear forwards;
}

@keyframes bootProgress {
  0% { width: 0%; }
  10% { width: 10%; }
  24% { width: 28%; }
  38% { width: 45%; }
  55% { width: 60%; }
  65% { width: 65%; }
  72% {
    /* i'll make this more realistic to the actual apple loading screen later */
    width: 65%;
    animation-timing-function: cubic-bezier(0.2, 0.75, 0.25, 1);
  }
  100% { width: 100%; }
}



/* desktop */

html:has(body.site-open) {
  height: auto;
  overflow: auto;
}

body.site-open {
  background: #000;
  overflow-x: hidden;
  overflow-y: visible;
}

body.site-open::before {
  content: none;
}

.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;
}

.finder-stage {
  position: fixed;
  inset: 0;
  z-index: 200;
  animation: stageIn 0.7s ease;
  user-select: none;
  -webkit-user-select: none;
}

body.is-booting .finder-stage {
  opacity: 0;
  pointer-events: none;
}

.finder-desktop {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.finder-desktop .finder-folder {
  pointer-events: auto;
}

/* dock based on https://github.com/puruvj/macos-web */
.dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  padding: 0.38rem 0.38rem 0.74rem;
  pointer-events: none;
}

.dock-el {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 4.35rem;
  padding: 0.34rem 0.36rem 0.5rem;
  border-radius: 1.18rem;
  background-color: hsla(0, 0%, 100%, 0.28);
  box-shadow:
    inset 0 0 0 0.2px hsla(0, 0%, 100%, 0.65),
    0 0 0 0.2px hsla(0, 0%, 0%, 0.55),
    hsla(0, 0%, 0%, 0.3) 2px 5px 19px 7px;
  pointer-events: auto;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

.dock-divider {
  align-self: stretch;
  width: 1px;
  margin: 5px 4px;
  background: hsla(0, 0%, 0%, 0.28);
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border: none;
  background: none;
  padding: 0 1px 6px;
  cursor: default;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.dock-item-indicator {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateX(-50%) scale(0.5);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.dock-item.is-running .dock-item-indicator {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.dock-item-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  transform: translateY(1px);
}

.dock-item-icon-discord {
  display: grid;
  place-items: center;
}

.dock-discord-surface {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 22%),
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #5868f2 0%, #4752c4 62%, #353b8d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -2px 4px rgba(0, 0, 0, 0.16),
    0 4px 10px rgba(0, 0, 0, 0.28);
  transform: translateY(1px);
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.dock-discord-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.14);
}

.dock-discord-glyph {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.16));
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.dock-item-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 0.7rem;
  border-radius: 0.375rem;
  background: hsla(0, 0%, 100%, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    hsla(0, 0%, 0%, 0.28) 0 1px 5px 2px,
    inset 0 0 0 0.9px hsla(0, 0%, 0%, 0.12);
  color: #111;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.dock-item:hover .dock-item-tooltip,
.dock-item:focus-visible .dock-item-tooltip {
  opacity: 1;
}

.dock-context-menu {
  position: fixed;
  z-index: 6;
  min-width: 254px;
  padding: 0.14rem 0;
  border-radius: 0.78rem;
  background: rgba(45, 45, 45, 0.94);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 3px 10px rgba(0, 0, 0, 0.24),
    inset 0 0 0 0.8px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: #f4f4f5;
}

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

.dock-context-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.34rem 0.8rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
}

.dock-context-item + .dock-context-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

#dock-context-hide::before,
#dock-context-quit::before {
  content: none;
}

.dock-context-item-title {
  gap: 0.42rem;
  justify-content: flex-start;
  font-weight: 600;
}

.dock-item.is-menu-open .dock-item-icon,
.dock-item.is-menu-open .dock-discord-surface {
  filter: brightness(0.74);
}

.dock-context-check {
  flex: 0 0 auto;
  width: 0.72rem;
  color: #ffffff;
}

.dock-context-arrow {
  margin-left: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.dock-context-item:not(.dock-context-item-title):not(.dock-context-item-has-arrow) {
  cursor: default;
}

#dock-context-hide,
#dock-context-quit {
  cursor: pointer;
}

#dock-context-hide:hover,
#dock-context-quit:hover {
  background: rgba(255, 255, 255, 0.08);
}

.finder-marquee {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  box-sizing: border-box;
  will-change: transform, width, height;
}

.discord-window {
  position: absolute;
  left: 50%;
  top: 92px;
  z-index: 2;
  width: min(1170px, calc(100vw - 72px));
  height: min(705px, calc(100vh - 118px));
  min-width: 780px;
  min-height: 560px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 4px 14px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-origin: center center;
}

.discord-window.is-opening,
.discord-window.is-closing {
  pointer-events: none;
}

.discord-window.is-opening {
  animation: discordWindowOpen 145ms cubic-bezier(0.2, 0.9, 0.22, 1) forwards;
}

.discord-window.is-closing {
  animation: discordWindowClose 145ms cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}

@keyframes discordWindowOpen {
  0% {
    opacity: 0;
    transform: translate3d(-8px, -4px, 0) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes discordWindowClose {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(-8px, -4px, 0) scale(0.94);
  }
}

/* resizing bullshit oh lord */
.discord-window-resize {
  position: absolute;
  z-index: 3;
}

.discord-window-resize[data-resize="right"] {
  top: 30px;
  right: 0;
  bottom: 10px;
  width: 0.75rem;
  cursor: ew-resize;
}

.discord-window-resize[data-resize="bottom"] {
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 0.75rem;
  cursor: ns-resize;
}

.discord-window-resize[data-resize="top-left"] {
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  cursor: nwse-resize;
}

.discord-window-resize[data-resize="top-right"] {
  top: 0;
  right: 0;
  width: 1rem;
  height: 1rem;
  cursor: nesw-resize;
}

.discord-window-resize[data-resize="bottom-left"] {
  left: 0;
  bottom: 0;
  width: 1rem;
  height: 1rem;
  cursor: nesw-resize;
}

.discord-window-resize[data-resize="bottom-right"] {
  right: 0;
  bottom: 0;
  width: 1rem;
  height: 1rem;
  cursor: nwse-resize;
}


.discord-window[hidden] {
  display: none;
}

.discord-window-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  background: #111214;
  border-bottom: 1px solid #2f3336;
  cursor: grab;
}

.discord-window.is-dragging .discord-window-titlebar {
  cursor: grabbing;
}

.discord-window-traffic {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.discord-window-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  pointer-events: none;
  user-select: none;
}

/* the little active app indicator dot that pmo */
.discord-window-light {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9c9c9;
  box-shadow: inset 0 0 0 0.8px rgba(0, 0, 0, 0.16);
}

.discord-window-light.is-close {
  border: 0;
  padding: 0;
  background: #ff5f57;
  cursor: pointer;
}

.discord-window-light.is-close::before,
.discord-window-light.is-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 1.15px;
  border-radius: 999px;
  background: rgba(92, 28, 26, 0.88);
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.12s ease;
}

.discord-window-light.is-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.discord-window-light.is-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.discord-window-light.is-close:hover::before,
.discord-window-light.is-close:hover::after {
  opacity: 1;
}

.discord-window-light.is-minimize {
  background: #febc2e;
}

.discord-window-light.is-zoom {
  background: #28c840;
}


.discord-window-body {
  height: calc(100% - 30px);
  background: #000;
  overflow: hidden;
}

.discord-window-body > #discord-channel-site {
  min-height: 100%;
  height: 100%;
  opacity: 1;
  overflow: hidden;
}

.discord-window-body > #discord-channel-site .discord-channel-bg {
  position: absolute;
}

.discord-window-body > #discord-channel-site .discord-channel-shell {
  max-width: none;
  min-height: calc(100% / 0.92);
  height: calc(100% / 0.92);
  width: calc(100% / 0.92);
  transform: scale(0.92);
  transform-origin: top left;
}

.discord-window-body > #discord-channel-site .discord-channel-layout {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.discord-window-body > #discord-channel-site .discord-channel-identity {
  height: 100%;
  min-height: 100%;
}

.discord-window-body > #discord-channel-site .discord-channel-stream {
  min-height: 100%;
}

@keyframes stageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* CNG - wallpaper */
.wallpaper {
  position: absolute;
  inset: 0;
  background-image: url("./assets/macos-wallpaper-dark.jpg"); 
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* fading animations */
.fade-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-overlay.in {
  opacity: 1;
  pointer-events: all;
  transition-duration: 0.45s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-overlay.out {
  opacity: 0;
  transition-duration: 2.1s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}


/* main falrux folder on the desktop */
.finder-folder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 96px;
  padding: 6px 4px 4px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: default;
  color: #fff;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.finder-folder.selected {
  background: rgba(255, 149, 0, 0.32);
  border-color: rgba(255, 149, 0, 0.6);
}

.finder-folder.selected .folder-icon {
  filter: none;
}

.finder-folder.selected .folder-label {
  background: #ff9500;
  color: #fff;
  text-shadow: none;
}

.folder-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.folder-label {
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  padding: 1px 6px;
  border-radius: 4px;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* notification */
.macos-notification {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: visible;
}

.macos-notification.visible {
  visibility: visible;
  pointer-events: auto;
  animation: notificationIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.macos-notification.dismissing {
  pointer-events: none;
  animation: none;
}

@keyframes notificationIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.macos-notification-close {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(32, 32, 34, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.4),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  cursor: pointer;
  transform: translate(calc(-50% - 0.5px), calc(-50% - 0.5px));
  transition: opacity 0.1s ease, background 0.1s ease, color 0.1s ease;
}

.macos-notification:hover .macos-notification-close {
  opacity: 1;
}

.macos-notification-close:hover {
  background: rgba(52, 52, 54, 0.92);
  color: rgba(255, 255, 255, 0.88);
}

.macos-notification-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.macos-notification-content {
  flex: 1;
  min-width: 0;
}

.macos-notification-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.macos-notification-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.macos-notification-time {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
}

.macos-notification-body {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}

/* main falrux page */
.site {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  opacity: 0;
  transition: none;
}

.site::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50vh;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 145% 120% at 50% 100%, color-mix(in srgb, var(--profile-main, #160509) 78%, transparent) 0%, color-mix(in srgb, var(--profile-main, #160509) 54%, transparent) 20%, color-mix(in srgb, var(--profile-main, #160509) 30%, transparent) 38%, color-mix(in srgb, var(--profile-main, #160509) 12%, transparent) 58%, transparent 82%),
    linear-gradient(0deg, color-mix(in srgb, var(--profile-main, #160509) 72%, transparent) 0%, color-mix(in srgb, var(--profile-main, #160509) 46%, transparent) 18%, color-mix(in srgb, var(--profile-main, #160509) 22%, transparent) 36%, color-mix(in srgb, var(--profile-main, #160509) 8%, transparent) 58%, transparent 78%);
  mix-blend-mode: normal;
  opacity: 0.9;
}

.site-leaf-canvas {
  position: fixed;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
}

/* yeen background video w/ a gradient underneath */
.site-bg {
  --site-bg-overlay-opacity: 0.7;
  --site-bg-video-opacity: 0.9;
  position: fixed;
  inset: 0;
  height: 155vh;
  z-index: 0;
  pointer-events: none;
  background-color: #000;
  overflow: hidden;
  will-change: transform;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-bg::before {
  z-index: 1;
  background: color-mix(in srgb, #000 72%, var(--profile-accent, #4a1218) 28%);
  opacity: var(--site-bg-overlay-opacity);
}

.site-bg::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.018) 10%, rgba(0, 0, 0, 0) 24%),
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.06), transparent 40%);
  mix-blend-mode: screen;
  opacity: 0.22;
}

.site-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: var(--site-bg-video-opacity);
}

.site > .page {
  position: relative;
  z-index: 2;
}


/* discord profile effect stuff */
/* no we don't use lanyard anymore because leaves are lowk tuff for this site */
.site-profile-effect-wrap {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.site-profile-effect {
  position: absolute;
  top: 0;
  right: 0;
  height: 100dvh;
  width: calc(100dvh * var(--effect-w, 450) / var(--effect-h, 880));
  max-width: 100vw;
  pointer-events: none;
  overflow: visible;
}

.site-profile-effect::after {
  content: none;
}

.site-profile-effect-main,
.site-profile-effect-edge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  pointer-events: none;
}

.site-profile-effect-edge {
  z-index: 0;
  left: -10%;
  bottom: 34%;
  mix-blend-mode: normal;
}

.site-profile-effect-main {
  z-index: 1;
  bottom: 0;
}

.site-profile-effect-edge .site-profile-effect-layers {
  filter:
    url(#site-profile-effect-colorize)
    brightness(calc(var(--profile-effect-brightness, 0.84) - 0.04))
    contrast(1.18)
    saturate(1.18)
    drop-shadow(0 0 24px var(--profile-effect-glow, rgba(232, 189, 64, 0.28)))
    blur(10px);
  opacity: 0.74;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0%, #000 70%, transparent 94%),
    linear-gradient(
      to left,
      #000 0%,
      rgba(0, 0, 0, 0.98) 10%,
      rgba(0, 0, 0, 0.9) 20%,
      rgba(0, 0, 0, 0.7) 34%,
      rgba(0, 0, 0, 0.42) 48%,
      rgba(0, 0, 0, 0.18) 60%,
      rgba(0, 0, 0, 0.06) 68%,
      transparent 82%
    );
  mask-image:
    linear-gradient(to bottom, #000 0%, #000 70%, transparent 94%),
    linear-gradient(
      to left,
      #000 0%,
      rgba(0, 0, 0, 0.98) 10%,
      rgba(0, 0, 0, 0.9) 20%,
      rgba(0, 0, 0, 0.7) 34%,
      rgba(0, 0, 0, 0.42) 48%,
      rgba(0, 0, 0, 0.18) 60%,
      rgba(0, 0, 0, 0.06) 68%,
      transparent 82%
    );
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.site-profile-effect-layers {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: right top;
}

.site-profile-effect-main .site-profile-effect-layers {
  filter:
    url(#site-profile-effect-colorize)
    brightness(calc(var(--profile-effect-brightness, 0.88) + 0.02))
    contrast(1.22)
    saturate(1.12)
    drop-shadow(0 0 18px var(--profile-effect-glow, rgba(232, 189, 64, 0.24)));
  -webkit-mask-image: radial-gradient(ellipse 130% 110% at 100% 0%, #000 62%, transparent 94%);
  mask-image: radial-gradient(ellipse 130% 110% at 100% 0%, #000 62%, transparent 94%);
}

.site-profile-effect-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
}

.site-profile-effect-layer[hidden] {
  display: none;
}

.site-profile-effect-layer.is-finished {
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.site.visible {
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* main page layout and the desktop link */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  min-height: 100dvh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-desktop-link {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-desktop-link:hover {
  color: var(--text);
}

.brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* home socials and about switcher */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(14, 18, 24, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  overflow: hidden;
}

.tabs::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03) 34%, rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 48%);
  pointer-events: none;
  opacity: 0.8;
}

.tab-btn {
  position: relative;
  z-index: 1;
  padding: 8px 17px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--text);
}

.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  pointer-events: none;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-indicator.no-transition {
  transition: none;
}


/* main card */
.card-wrap {
  position: relative;
  perspective: 900px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}

.card-wrap .card {
  transform:
    translate3d(var(--card-follow-x, 0px), var(--card-follow-y, 0px), 0)
    rotateX(var(--card-follow-rotate-x, 0deg))
    rotateY(var(--card-follow-rotate-y, 0deg));
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.card {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  padding: 32px 28px;
  overflow: visible;
}


/* spotify rpc card (lanyard) */
.spotify-rpc {
  position: fixed;
  top: 56px;
  left: 16px;
  z-index: 10;
  width: min(300px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 28%, rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 5px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(170%) brightness(1.06);
  -webkit-backdrop-filter: blur(24px) saturate(170%) brightness(1.06);
  pointer-events: auto;
  overflow: hidden;
  isolation: isolate;
}

.spotify-rpc::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.14), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 34%, rgba(255, 255, 255, 0.03));
  opacity: 0.85;
}

.spotify-rpc[hidden] {
  display: none !important;
}

.spotify-rpc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.spotify-rpc-label {
  font-size: 12px;
  font-weight: 600;
  color: #f2f3f5;
}

.spotify-rpc-logo {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: #b3b3b3;
}

.spotify-rpc-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.spotify-rpc-art {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.spotify-rpc-meta {
  min-width: 0;
  flex: 1;
}

.spotify-rpc-song {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-rpc-artist {
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-rpc-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.spotify-rpc-time {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.6);
}

.spotify-rpc-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.spotify-rpc-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.78));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.28);
  transition: width 1s linear;
}

.spotify-rpc-actions {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.spotify-rpc-actions[hidden] {
  display: none !important;
}

.spotify-song-page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.16);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.spotify-song-page:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.12);
}

.spotify-song-page:active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.5);
}

.spotify-song-page-icon {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transform: translateY(-1px);
}


/* hero and tab switching animations */
.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  overflow: visible;
}

.tab-stage {
  position: relative;
  z-index: 3;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0);
  filter: blur(0.5rem);
  will-change: opacity, transform, filter;
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-panel.active,
.tab-panel.is-entering,
.tab-panel.is-leaving {
  display: block;
}

.tab-panel.active,
.tab-panel.is-entering:not(.is-before-enter) {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.tab-panel.is-leaving {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.tab-panel.is-leaving.is-after-leave {
  opacity: 0;
  transform: translate3d(0, -1.3rem, 0);
  filter: blur(0.4rem);
}


/* liquid glass type of card */
/* not rlly liquid glass looking - that's on purpose tho */
.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.014) 18%, rgba(255, 255, 255, 0.004) 42%, rgba(255, 255, 255, 0.003) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 34%),
    color-mix(in srgb, var(--profile-main, #4a1218) 1%, rgba(18, 20, 24, 0.035));
  backdrop-filter: blur(calc(var(--blur) + 8px)) saturate(165%) brightness(1.05);
  -webkit-backdrop-filter: blur(calc(var(--blur) + 8px)) saturate(165%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.1),
    0 6px 14px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.card.glass::before,
.card.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.card.glass::before {
  z-index: -1;
  inset: 1px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 17%, rgba(255, 255, 255, 0.005) 42%, rgba(255, 255, 255, 0.003)),
    radial-gradient(circle at 50% -4%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.01), transparent 28%, rgba(255, 255, 255, 0.014) 72%, rgba(255, 255, 255, 0.026));
  opacity: 0.54;
}

.card.glass::after {
  inset: -16px;
  z-index: -2;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.07), transparent 30%),
    radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--profile-main, #4a1218) 16%, rgba(255, 255, 255, 0.02)), transparent 54%);
  filter: blur(24px);
  opacity: 0.1;
}


/* avatar decor and status icon bs (lanyard) */
.muted { color: var(--muted); font-size: 13px; }

.avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: var(--avatar-size);
  height: var(--avatar-size);
  display: inline-block;
}

.avatar-wrap .avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-wrap .avatar-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hero-top {
  position: relative;
  width: fit-content;
  margin: 0 auto 16px;
}

.hero-avatar-wrap {
  margin-bottom: 0;
  overflow: visible;
}

.hero-avatar-wrap .avatar-img {
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 10, 12, 0.98);
  background: #232428;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  z-index: 2;
}

.hero-status-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.22s ease;
}

.hero-status-icon.is-current {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.hero-status-icon.is-next {
  opacity: 0;
  transform: scale(0.62);
  filter: blur(3px);
}

.hero-status-dot.is-morphing .hero-status-icon.is-current {
  opacity: 0;
  transform: scale(1.26);
  filter: blur(4px);
}

.hero-status-dot.is-morphing .hero-status-icon.is-next {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}


/* discord status speech bubble (lanyard) */
.hero-text {
  text-align: center;
}

.status-bubble {
  --bubble-bg: #1e1f22;
  position: absolute;
  left: calc(100% + 10px);
  top: 10px;
  display: block;
  width: max-content;
  max-width: min(256px, calc(50vw - 68px));
  z-index: 2;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.status-bubble[hidden] {
  display: none !important;
}

.status-bubble-tail {
  position: absolute;
  right: calc(100% - 2px);
  top: 18px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.status-bubble-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--bubble-bg);
}

.status-bubble-dot:first-child {
  width: 5px;
  height: 5px;
  right: 0;
  bottom: 0;
}

.status-bubble-dot:last-child {
  width: 9px;
  height: 9px;
  right: 7px;
  bottom: -7px;
}

.status-bubble-body {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bubble-bg);
}

.status-bubble-text {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #f2f3f5;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.status-bubble-text .emoji {
  font-style: normal;
  margin-right: 0.35em;
}

.status-bubble-text .status-emoji {
  width: 18px;
  height: 18px;
  vertical-align: -0.2em;
  margin-right: 0.35em;
  object-fit: contain;
}

.status-online { background: #23a559; }
.status-idle { background: #f0b232; }
.status-dnd { background: #f23f43; }
.status-offline { background: #80848e; }

.hero h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}


/* display name font effects (lanyard) */
.discord-display-name {
  display: inline-block;
  font-weight: inherit;
  letter-spacing: inherit;
  position: relative;
}

.discord-display-name[data-effect="1"] {
  color: var(--dn-color-1, inherit);
}

.discord-display-name[data-effect="2"] {
  background: linear-gradient(90deg, var(--dn-color-1), var(--dn-color-2, var(--dn-color-1)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.discord-display-name[data-effect="3"] {
  color: var(--dn-color-1);
  text-shadow:
    0 0 4px var(--dn-color-2, var(--dn-color-1)),
    0 0 10px var(--dn-color-1),
    0 0 18px var(--dn-color-2, var(--dn-color-1));
}

.discord-display-name[data-effect="4"] {
  background: linear-gradient(180deg, var(--dn-color-1), var(--dn-color-2, var(--dn-color-1)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.discord-display-name[data-effect="5"] {
  color: var(--dn-color-1);
  filter: drop-shadow(2px 2px 0 var(--dn-color-2, var(--dn-color-1)));
}

.discord-display-name[data-effect="6"] {
  background: linear-gradient(135deg, var(--dn-color-1), var(--dn-color-2, var(--dn-color-1)), var(--dn-color-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px var(--dn-color-2, var(--dn-color-1)));
}

.hero-display-name {
  line-height: 1.1;
  letter-spacing: inherit;
  text-shadow: 0 1px 10px rgba(255, 232, 155, 0.2);
}

.hero-display-name[data-effect="1"],
.hero-display-name[data-effect="2"],
.hero-display-name[data-effect="4"],
.hero-display-name[data-effect="6"] {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 225, 0.72) 16%, rgba(255, 241, 186, 0.26) 32%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, var(--dn-color-1, #f0cc57) 0%, var(--dn-color-1, #f0cc57) 34%, var(--dn-color-2, var(--dn-color-1, #f0cc57)) 100%);
  background-blend-mode: screen, normal;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-pronunciation {
  font-size: 15px;
  color: #e7e9ea;
  margin-bottom: 6px;
}

.hero-pronunciation strong {
  font-weight: 700;
}

.hero-flag {
  font-size: 22px;
  line-height: 1;
  margin: 0;
}


/* SOCIALS TAB */
.linktree {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
  padding-top: 4px;
}

.linktree-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.linktree-link > * {
  pointer-events: none;
}

.linktree-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.linktree-link-static {
  cursor: default;
}

.linktree-link-static:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: none;
}

.linktree-link,
.linktree-link-static,
.linktree-label,
.linktree-name,
.linktree-handle {
  user-select: none;
  -webkit-user-select: none;
}

.linktree-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.linktree-icon-img {
  display: block;
  width: 20px;
  height: 20px;
}

.linktree-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.linktree-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.linktree-handle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.linktree-arrow {
  display: block;
  width: 16px;
  height: 16px;
  margin-left: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.48;
}

.link-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ABOUT TAB */
.about-body {
  text-align: center;
}

.about-divider {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1;
  opacity: 0.55;
  overflow: hidden;
  user-select: none;
}

.about-meta {
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
  color: #f4f6f7;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.16);
}

.about-meta p {
  margin: 0;
}

.about-roles {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-roles li {
  font-size: 15px;
  color: #e7e9ea;
  line-height: 1.4;
}

.about-roles li::before {
  content: "- ";
  color: var(--muted);
}

.about-roles strong {
  font-weight: 700;
}


/* main profile page - smaller screens */
@media (max-width: 768px) {
  .page { padding: 16px 14px 40px; }

  .card { padding: 24px 18px; }

  .status-bubble {
    left: calc(100% + 6px);
    top: 6px;
    max-width: min(200px, calc(50vw - 58px));
  }

  .status-bubble-text {
    font-size: 11px;
    -webkit-line-clamp: 4;
  }

  .spotify-rpc {
    top: 12px;
    left: 12px;
    width: min(280px, calc(100vw - 24px));
  }

  .tabs { width: 100%; justify-content: stretch; }
  .tab-btn { flex: 1; padding: 8px 10px; font-size: 12px; }
}


/* discord channel base */
.discord-channel-site {
  --discord-channel-ink: #f8f3df;
  --discord-channel-muted: #9d998b;
  --discord-channel-line: rgba(248, 243, 223, 0.17);
  --discord-channel-panel: rgba(18, 18, 16, 0.76);
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  color: var(--discord-channel-ink);
  opacity: 0;
  overflow: hidden;
}

.discord-channel-site.visible {
  opacity: 1;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.discord-channel-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 22%, color-mix(in srgb, var(--profile-main, #4a1218) 34%, transparent), transparent 28rem),
    radial-gradient(circle at 92% 88%, rgba(206, 155, 35, 0.1), transparent 24rem),
    #050505;
}

.discord-channel-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(115deg, transparent 0 11px, rgba(255, 255, 255, 0.018) 12px 13px);
}

.discord-channel-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.discord-channel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-bottom: 18px;
  padding: 0 4px;
  border-bottom: 1px solid var(--discord-channel-line);
}

.discord-channel-brand,
.discord-channel-desktop-link {
  color: var(--discord-channel-ink);
  text-decoration: none;
}

.discord-channel-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.01em;
}

.discord-channel-brand-mark {
  color: #e8bd40;
  font-size: 24px;
  font-style: normal;
  text-shadow: 0 0 18px rgba(232, 189, 64, 0.45);
}

.discord-channel-desktop-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--discord-channel-muted);
}

.discord-channel-desktop-link:hover {
  color: var(--discord-channel-ink);
}

.discord-channel-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.65fr);
  min-height: calc(100dvh - 160px);
  border: 1px solid var(--discord-channel-line);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.discord-channel-identity {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 48px 34px;
  overflow: hidden;
  border-right: 1px solid var(--discord-channel-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
    color-mix(in srgb, var(--profile-main, #4a1218) 16%, rgba(5, 5, 5, 0.88));
}

.discord-channel-starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: rgba(248, 243, 223, 0.58);
  font-family: Georgia, serif;
}

.discord-channel-starfield span {
  position: absolute;
  display: block;
  filter: drop-shadow(0 0 8px rgba(232, 189, 64, 0.16));
  animation: discordChannelStarDrift 7s ease-in-out infinite alternate;
}

.discord-channel-starfield span:nth-child(1) { top: 8%; left: 13%; font-size: 68px; transform: rotate(-18deg); }
.discord-channel-starfield span:nth-child(2) { top: 16%; right: 13%; font-size: 25px; animation-delay: -2s; }
.discord-channel-starfield span:nth-child(3) { bottom: 14%; left: 9%; font-size: 52px; transform: rotate(12deg); animation-delay: -4s; }
.discord-channel-starfield span:nth-child(4) { top: 42%; right: 8%; font-size: 30px; }
.discord-channel-starfield span:nth-child(5) { bottom: 7%; right: 18%; font-size: 34px; animation-delay: -5s; }
.discord-channel-starfield span:nth-child(6) { top: 50%; left: 5%; font-size: 20px; animation-delay: -1s; }

@keyframes discordChannelStarDrift {
  from { translate: 0 -3px; opacity: 0.45; }
  to { translate: 0 5px; opacity: 0.9; }
}

/* discord channel profile sidebar */
.discord-channel-profile-card {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.discord-channel-avatar-wrap {
  display: block;
  margin: 0 auto 24px;
}

.discord-channel-avatar-wrap .avatar-img {
  border: 1px solid rgba(248, 243, 223, 0.25);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.58);
}

.discord-channel-status-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 3;
  width: 19px;
  height: 19px;
  border: 4px solid #0b0b0a;
  border-radius: 50%;
}

.discord-channel-profile-name {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.discord-channel-profile-handle {
  margin-bottom: 22px;
  color: #d8b53e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.discord-channel-profile-note {
  max-width: 255px;
  margin: 0 auto;
  color: var(--discord-channel-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.65;
}

/* discord channel header and owner controls */
.discord-channel-stream {
  min-width: 0;
  background: rgba(8, 8, 8, 0.8);
}

.discord-channel-stream-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 32px 24px;
  border-bottom: 1px solid var(--discord-channel-line);
}

.discord-channel-kicker {
  margin-bottom: 4px;
  color: #d8b53e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.discord-channel-stream-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.discord-channel-auth-button,
.discord-channel-auth-row button,
.discord-channel-publish-button {
  border: 1px solid rgba(248, 243, 223, 0.22);
  border-radius: 999px;
  background: rgba(248, 243, 223, 0.07);
  color: var(--discord-channel-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.discord-channel-auth-button {
  padding: 10px 14px;
  white-space: nowrap;
}

.discord-channel-auth-button:hover,
.discord-channel-auth-row button:hover {
  background: rgba(248, 243, 223, 0.13);
}

.discord-channel-auth-panel {
  padding: 16px 32px;
  border-bottom: 1px solid var(--discord-channel-line);
  background: rgba(216, 181, 62, 0.05);
}

.discord-channel-auth-panel > label {
  display: block;
  margin-bottom: 8px;
  color: var(--discord-channel-muted);
  font-size: 11px;
  font-weight: 700;
}

.discord-channel-auth-row {
  display: flex;
  gap: 8px;
}

.discord-channel-auth-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--discord-channel-line);
  border-radius: 10px;
  outline: none;
  background: rgba(0, 0, 0, 0.42);
  color: var(--discord-channel-ink);
  font: inherit;
}

.discord-channel-auth-row input:focus {
  border-color: rgba(216, 181, 62, 0.6);
}

.discord-channel-auth-row button {
  padding: 0 14px;
}

#discord-channel-auth-status {
  margin-top: 8px;
  color: var(--discord-channel-muted);
  font-size: 11px;
}

/* old composer layout kept for the standalone version */
.discord-channel-com {
  margin: 22px 26px 12px;
  border: 1px solid var(--discord-channel-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.discord-channel-com textarea {
  display: block;
  width: 100%;
  min-height: 96px;
  padding: 18px 18px 10px;
  resize: vertical;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--discord-channel-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
}

.discord-channel-com textarea::placeholder {
  color: rgba(248, 243, 223, 0.34);
}

.discord-channel-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.discord-channel-preview-grid[hidden] {
  display: none;
}

.discord-channel-preview-item {
  position: relative;
  min-height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: #10100f;
  border: 1px solid var(--discord-channel-line);
}

.discord-channel-preview-item img,
.discord-channel-preview-item video {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.discord-channel-preview-item .discord-channel-audio-card {
  margin: 34px 10px 10px;
}

.discord-channel-preview-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  cursor: pointer;
}

.discord-channel-com-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid var(--discord-channel-line);
}

.discord-channel-media-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dfc55d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.discord-channel-media-button span {
  font-size: 20px;
  line-height: 0;
}

.discord-channel-com-status {
  flex: 1;
  color: var(--discord-channel-muted);
  font-size: 10px;
  line-height: 1.3;
}

.discord-channel-publish-button {
  padding: 9px 16px;
  border-color: rgba(216, 181, 62, 0.45);
  background: #d8b53e;
  color: #11100b;
}

.discord-channel-publish-button:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* posts and uploaded media */
.discord-channel-feed {
  padding: 0 26px 22px;
}

.discord-channel-post {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--discord-channel-line);
}

.discord-channel-post:last-child {
  border-bottom: 0;
}

.discord-channel-post-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(248, 243, 223, 0.18);
}

.discord-channel-post-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 7px;
}

.discord-channel-post-name {
  font-size: 14px;
  font-weight: 800;
}

.discord-channel-post-handle,
.discord-channel-post-time {
  color: var(--discord-channel-muted);
  font-size: 11px;
}

.discord-channel-post-time::before {
  content: "·";
  margin-right: 7px;
}

.discord-channel-post-body {
  color: #efecdf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.discord-channel-post-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
}

.discord-channel-post-media:has(> :only-child) {
  grid-template-columns: 1fr;
}

.discord-channel-post-media img,
.discord-channel-post-media video {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  background: #111;
}

.discord-channel-post-media .discord-channel-audio-card {
  grid-column: 1 / -1;
  justify-self: start;
}

/* discord-ish audio attachment player */
.discord-channel-post-audio {
  margin-top: 8px;
}

.discord-channel-post-audio + .discord-channel-post-media {
  margin-top: 8px;
}

.discord-channel-audio-card {
  --audio-accent: #5865f2;
  display: grid;
  gap: 8px;
  width: min(100%, 458px);
  padding: 13px 14px 12px;
  border-radius: 13px;
  background: #18191c;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-channel-audio-file {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.discord-channel-audio-file-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 37px;
}

.discord-channel-audio-file-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.discord-channel-audio-file-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.discord-channel-audio-file-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 37px;
  gap: 2px;
  padding: 0;
}

.discord-channel-audio-file-name {
  display: inline-block;
  overflow: hidden;
  color: #a8bcff;
  font-size: 12.2px;
  font-weight: 500;
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  min-width: 0;
}

.discord-channel-audio-file-name:hover,
.discord-channel-audio-file-name:focus-visible {
  text-decoration: underline;
}

.discord-channel-audio-file-size {
  color: #b6bac1;
  font-size: 10.4px;
  line-height: 1;
}

.discord-channel-audio-file-size.is-empty {
  display: none;
}

.discord-channel-audio-player {
  display: grid;
  grid-template-columns: 30px auto minmax(0, 1fr) 30px;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: #111214;
}

.discord-channel-audio-player audio {
  display: none;
}

.discord-channel-audio-play,
.discord-channel-audio-volume {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #111214;
  color: #f5f5f6;
  cursor: pointer;
  transition: background 0.14s ease, transform 0.14s ease;
}

.discord-channel-audio-play:hover,
.discord-channel-audio-volume:hover {
  background: #0d0e10;
}

.discord-channel-audio-play:active,
.discord-channel-audio-volume:active {
  transform: scale(0.97);
}

.discord-channel-audio-volume {
  transition: none;
}

.discord-channel-audio-volume:hover,
.discord-channel-audio-volume:active {
  transform: none;
}

.discord-channel-audio-play svg,
.discord-channel-audio-volume svg {
  display: block;
  width: 21px;
  height: 21px;
}

.discord-channel-audio-play-icon-pause,
.discord-channel-audio-volume-icon-low,
.discord-channel-audio-volume-icon-off {
  display: none;
}

.discord-channel-audio-card.is-playing .discord-channel-audio-play-icon-play,
.discord-channel-audio-card.is-low-volume .discord-channel-audio-volume-icon-high,
.discord-channel-audio-card.is-muted .discord-channel-audio-volume-icon-high,
.discord-channel-audio-card.is-muted .discord-channel-audio-volume-icon-low {
  display: none;
}

.discord-channel-audio-card.is-playing .discord-channel-audio-play-icon-pause,
.discord-channel-audio-card.is-low-volume .discord-channel-audio-volume-icon-low,
.discord-channel-audio-card.is-muted .discord-channel-audio-volume-icon-off {
  display: inline-flex;
}

.discord-channel-audio-time {
  color: #f2f3f5;
  font-size: 11.6px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.discord-channel-audio-volume-wrap {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
}

.discord-channel-audio-volume-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.325rem);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 1.85rem;
  height: 5.4rem;
  padding: 0.4rem 0;
  border-radius: 0.5rem;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: none;
}

.discord-channel-audio-volume-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1.85rem;
  height: 0.4rem;
  transform: translateX(-50%);
}

.discord-channel-audio-volume-wrap:hover .discord-channel-audio-volume-popover,
.discord-channel-audio-volume-wrap:focus-within .discord-channel-audio-volume-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}

.discord-channel-audio-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 0.55rem;
  height: 4.6rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: none;
  writing-mode: vertical-lr;
  direction: rtl;
  background-color: transparent;
  background:
    linear-gradient(#2b2d31, #2b2d31)
      center / 0.55rem 100% no-repeat,
    linear-gradient(var(--audio-accent), var(--audio-accent))
      center / 0.25rem 100% no-repeat;
  box-shadow: inset 0 0 0 0.0625rem rgba(0, 0, 0, 0.92);
  cursor: pointer;
  transition: none;
}

.discord-channel-audio-volume-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  width: 0.25rem;
  height: 100%;
  border-radius: 999px;
  background: transparent;
}

.discord-channel-audio-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
}

.discord-channel-audio-volume-slider::-moz-range-track {
  width: 0.25rem;
  border-radius: 999px;
  background: transparent;
}

.discord-channel-audio-volume-slider::-moz-range-progress {
  background: transparent;
}

.discord-channel-audio-volume-slider::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
}

.discord-channel-audio-seek {
  width: 100%;
  height: 4px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg, var(--audio-accent) 0 var(--audio-progress, 0%), #4b4f56 var(--audio-progress, 0%) 100%);
  cursor: pointer;
}

.discord-channel-audio-seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.discord-channel-audio-seek::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.discord-channel-audio-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  margin-top: -2.5px;
  border: 0;
  border-radius: 50%;
  background: var(--audio-accent);
  box-shadow: none;
}

.discord-channel-audio-seek::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--audio-accent);
  box-shadow: none;
}

.discord-channel-feed-state {
  padding: 40px 10px;
  color: var(--discord-channel-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-align: center;
}

/* discord channel - smaller screens */
@media (max-width: 820px) {
  .discord-channel-shell {
    width: min(100% - 20px, 720px);
    padding-top: 10px;
  }

  .discord-channel-layout {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .discord-channel-identity {
    min-height: auto;
    padding: 44px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--discord-channel-line);
  }

  .discord-channel-starfield span:nth-child(1) { font-size: 48px; }
  .discord-channel-starfield span:nth-child(3) { font-size: 38px; }
}

@media (max-width: 520px) {
  .discord-channel-shell {
    width: 100%;
    padding: 0;
  }

  .discord-channel-topbar {
    padding: 0 16px;
    margin-bottom: 0;
  }

  .discord-channel-layout {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .discord-channel-stream-heading,
  .discord-channel-auth-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .discord-channel-com {
    margin: 16px 12px 4px;
  }

  .discord-channel-feed {
    padding: 0 16px 18px;
  }

  .discord-channel-com-actions {
    flex-wrap: wrap;
  }

  .discord-channel-com-status {
    order: 3;
    flex-basis: 100%;
  }

  .discord-channel-preview-grid,
  .discord-channel-post-media {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .discord-channel-starfield span {
    animation: none;
  }
}


/* discord app thing */
.discord-channel-site,
body.discord-channel-signin-body {
  --discord-channel-stars-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 300'%3E%3Cg fill='white'%3E%3Cpath d='M50 0 61.8 35.1 98.5 35.1 68.3 57 79.4 91 50 70 20.6 91 31.7 57 1.5 35.1 38.2 35.1Z' transform='translate(6 6) scale(0.9) rotate(-14 50 50)'/%3E%3Cpath d='M50 0 61.8 35.1 98.5 35.1 68.3 57 79.4 91 50 70 20.6 91 31.7 57 1.5 35.1 38.2 35.1Z' transform='translate(260 2) scale(0.56) rotate(8 50 50)'/%3E%3Cpath d='M50 0 61.8 35.1 98.5 35.1 68.3 57 79.4 91 50 70 20.6 91 31.7 57 1.5 35.1 38.2 35.1Z' transform='translate(132 56) scale(0.44) rotate(-7 50 50)'/%3E%3Cpath d='M50 0 61.8 35.1 98.5 35.1 68.3 57 79.4 91 50 70 20.6 91 31.7 57 1.5 35.1 38.2 35.1Z' transform='translate(308 86) scale(0.92) rotate(11 50 50)'/%3E%3Cpath d='M50 0 61.8 35.1 98.5 35.1 68.3 57 79.4 91 50 70 20.6 91 31.7 57 1.5 35.1 38.2 35.1Z' transform='translate(24 146) scale(0.8) rotate(-10 50 50)'/%3E%3Cpath d='M50 0 61.8 35.1 98.5 35.1 68.3 57 79.4 91 50 70 20.6 91 31.7 57 1.5 35.1 38.2 35.1Z' transform='translate(194 176) scale(0.5) rotate(15 50 50)'/%3E%3Cpath d='M50 0 61.8 35.1 98.5 35.1 68.3 57 79.4 91 50 70 20.6 91 31.7 57 1.5 35.1 38.2 35.1Z' transform='translate(320 214) scale(0.65) rotate(-9 50 50)'/%3E%3Ccircle cx='157' cy='24' r='3.4'/%3E%3Ccircle cx='104' cy='118' r='2.8'/%3E%3Ccircle cx='252' cy='132' r='3'/%3E%3Ccircle cx='382' cy='42' r='2.5'/%3E%3Ccircle cx='361' cy='175' r='2.8'/%3E%3Ccircle cx='126' cy='248' r='3'/%3E%3Ccircle cx='268' cy='266' r='2.6'/%3E%3Ccircle cx='43' cy='250' r='2.7'/%3E%3C/g%3E%3C/svg%3E");
  --discord-channel-ink: #f5f5f5;
  --discord-channel-muted: #71767b;
  --discord-channel-line: #2f3336;
  background: #000;
  overflow: visible;
}

.discord-channel-bg {
  background: #000;
}

.discord-channel-bg::after,
.discord-channel-topbar {
  display: none;
}

.discord-channel-shell {
  width: 100%;
  max-width: 1265px;
  margin: 0 auto;
  padding: 0;
}

.discord-channel-layout {
  --discord-channel-sidebar-default: 42%;
  --discord-channel-sidebar-size: clamp(70px, var(--discord-channel-sidebar-width, var(--discord-channel-sidebar-default)), calc(100% - 320px));
  position: relative;
  grid-template-columns: var(--discord-channel-sidebar-size) minmax(320px, 1fr);
  min-height: 100%;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  box-shadow: none;
}

.discord-channel-sidebar-resizer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--discord-channel-sidebar-size);
  z-index: 30;
  width: 12px;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
  transform: translateX(-50%);
}

.discord-channel-sidebar-resizer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: transparent;
  transform: translateX(-50%);
}

.discord-channel-sidebar-resizer:hover::after,
.discord-channel-sidebar-resizer:focus-visible::after,
.discord-window.is-resizing-sidebar .discord-channel-sidebar-resizer::after {
  background: rgba(181, 186, 193, 0.72);
}

.discord-channel-identity {
  position: relative;
  align-self: start;
  display: block;
  height: 100%;
  min-height: 100%;
  padding: 0;
  border-right: 1px solid var(--discord-channel-line);
  overflow: hidden;
  background: #000;
}

.discord-channel-starfield {
  inset: 0;
  background-color: #000;
  background-image: var(--discord-channel-stars-pattern);
  background-repeat: repeat;
  background-position: center top;
  background-size: 360px 258px;
}

.discord-channel-starfield span {
  display: none;
}

.discord-channel-profile-card {
  display: none;
}

.discord-channel-avatar-wrap {
  --avatar-size: 50px !important;
  grid-row: 1 / 4;
  margin: 0;
  align-self: center;
}

.discord-channel-status-dot {
  width: 14px;
  height: 14px;
  border-width: 3px;
  border-color: #000;
}

.discord-channel-profile-name {
  align-self: end;
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
}

.discord-channel-profile-handle {
  margin: 1px 0 0;
  color: var(--discord-channel-muted);
  font-size: 14px;
  font-weight: 400;
}

.discord-channel-profile-note {
  grid-column: 2;
  max-width: none;
  margin: 5px 0 0;
  color: var(--discord-channel-muted);
  font-family: inherit;
  font-size: 11px;
  font-style: normal;
  line-height: 1.3;
}

.discord-channel-stream {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100%;
  max-height: 100%;
  border-right: 1px solid var(--discord-channel-line);
  background: #000;
  overflow: hidden;
}

.discord-channel-stream-heading {
  z-index: 20;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--discord-channel-line);
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.discord-channel-kicker {
  display: none;
}

.discord-channel-stream-heading h2 {
  font-family: inherit;
  position: relative;
  padding-left: 18px;
  color: #f2f3f5;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.discord-channel-stream-heading h2::before {
  content: "#";
  position: absolute;
  left: 0;
  top: 0;
  color: #949ba4;
  font-weight: 700;
}

.discord-channel-auth-panel {
  padding: 14px 16px;
  border-bottom: 1px solid var(--discord-channel-line);
  background: #000;
}

.discord-channel-auth-row input {
  border: 2px solid var(--discord-channel-line);
  background: #000;
}

.discord-channel-auth-row button {
  border-color: var(--discord-channel-ink);
  background: var(--discord-channel-ink);
  color: #000;
}

.discord-channel-com {
  margin: 0 12px 12px;
  padding-top: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.discord-channel-coms {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 16px 0 14px;
  border: 1px solid #2a2d31;
  border-radius: 10px;
  background: #111214;
}

.discord-channel-com.is-locked {
  padding-top: 0;
}

.discord-channel-com.is-locked .discord-channel-coms {
  min-height: 72px;
  padding: 0 20px;
}

.discord-channel-com.has-extras .discord-channel-coms {
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.discord-channel-mediabutt-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #f2f3f5;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  opacity: 0.92;
  cursor: pointer;
  transform: translateY(1px);
}

.discord-channel-mediabutt-button[hidden] {
  display: none !important;
}

.discord-channel-com textarea {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #dbdee1;
  font-family: inherit;
  font-size: 15px;
  line-height: 18px;
  text-align: left;
  overflow: hidden;
  outline: none;
  resize: none;
  transform: translateY(1px);
}

.discord-channel-com textarea[hidden],
.discord-channel-com-locked-message[hidden] {
  display: none !important;
}

.discord-channel-com textarea::placeholder {
  color: #949ba4;
}

.discord-channel-com-locked-message {
  flex: 1 1 auto;
  color: #7f848e;
  font-size: 15px;
  line-height: 1.45;
}

.discord-channel-com-actions {
  padding: 0 14px 12px 52px;
  border: 1px solid #2a2d31;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #111214;
}

.discord-channel-preview-grid[hidden],
.discord-channel-com-actions[hidden] {
  display: none !important;
}

.discord-channel-com-status[hidden] {
  display: none;
}

.discord-channel-preview-grid {
  padding: 0 12px 10px;
  border-left: 1px solid #2a2d31;
  border-right: 1px solid #2a2d31;
  background: #111214;
}

.discord-channel-feed {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 6px 0 18px;
  overflow-y: auto;
  overflow-x: hidden;
}

.discord-channel-feed-inner {
  margin-top: auto;
}

/* discord server channel intro and date divs */
.discord-channel-channel-intro {
  padding: 22px 20px 18px;
}

.discord-channel-channel-intro-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f3f5;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.discord-channel-channel-intro h3 {
  margin: 0;
  color: #f2f3f5;
  font-size: 44px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.discord-channel-channel-intro p {
  margin: 12px 0 0;
  color: #b5bac1;
  font-size: 18px;
  line-height: 1.35;
}

.discord-channel-day-divider {
  position: relative;
  margin: 14px 16px 8px;
  text-align: center;
}

.discord-channel-day-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #2a2d31;
}

.discord-channel-day-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: #000;
  color: #b5bac1;
  font-size: 12px;
  font-weight: 700;
}


/* grouped discord messagess */
.discord-channel-post {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 16px 14px;
  border-bottom: 0;
  transition: background-color 0.12s ease;
}

.discord-channel-post:hover {
  background: rgba(255, 255, 255, 0.035);
}

.discord-channel-post-avatar-wrap {
  --avatar-size: 40px;
  overflow: visible;
}

.discord-channel-post-avatar {
  width: 40px;
  height: 40px;
  margin-top: 1px;
  border: 0;
  border-radius: 50%;
}

.discord-channel-post-avatar-wrap .avatar-decor {
  width: 122%;
  height: 122%;
}

.discord-channel-post-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
  line-height: 1.2;
}

.discord-channel-post-name {
  font-size: 16px;
  font-weight: 700;
}

.discord-channel-post-display-name {
  color: inherit !important;
  text-shadow: none;
}

.discord-channel-post-time {
  color: var(--discord-channel-muted);
  font-size: 12px;
  font-weight: 500;
}

.discord-channel-post-time::before {
  content: none;
}

.discord-channel-post-body {
  margin: 0;
  color: #dbdee1;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.38;
  white-space: pre-wrap;
}

.discord-channel-post-stack {
  display: grid;
  gap: 4px;
}

.discord-channel-post-entry {
  display: grid;
  gap: 0;
}

.discord-channel-post-entry + .discord-channel-post-entry {
  margin-top: -1px;
}

.discord-channel-post-media {
  gap: 4px;
  margin-top: 8px;
  border: 1px solid #232428;
  border-radius: 16px;
}

.discord-channel-post-media img,
.discord-channel-post-media video {
  max-height: 680px;
  object-fit: contain;
  background: #050505;
}

.discord-channel-feed-state {
  min-height: 150px;
  margin: 0;
  padding: 56px 16px;
  color: #b5bac1;
  font-family: inherit;
  font-style: normal;
}


/* discord window intraction bs */
@media (max-width: 980px) {
  .discord-channel-layout {
    --discord-channel-sidebar-default: 88px;
  }

  .discord-channel-starfield {
    background-position: left top;
    background-size: 280px 200px;
  }

  .discord-channel-profile-card {
    display: none;
  }

  .discord-channel-avatar-wrap {
    --avatar-size: 48px !important;
  }

  .discord-channel-profile-name,
  .discord-channel-profile-handle,
  .discord-channel-profile-note {
    display: none;
  }
}

@media (max-width: 560px) {
  .discord-channel-layout {
    --discord-channel-sidebar-default: 70px;
  }

  .discord-channel-profile-card {
    display: none;
  }

  .discord-channel-stream-heading {
    padding: 0 12px;
  }

  .discord-channel-channel-intro {
    padding: 18px 14px 16px;
  }

  .discord-channel-channel-intro-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    font-size: 40px;
  }

  .discord-channel-channel-intro h3 {
    font-size: 28px;
  }

  .discord-channel-channel-intro p {
    font-size: 15px;
  }

  .discord-channel-com {
    margin: 0 8px 12px;
  }

  .discord-channel-coms {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .discord-channel-post {
    padding: 12px 10px;
  }

  .discord-channel-post-head {
    gap: 6px;
  }

  .discord-channel-post-time {
    font-size: 11px;
  }
}


/* owner sign-in page */
/* note: adding member sign-in support later */
html.discord-channel-signin-html,
body.discord-channel-signin-body {
  height: 100%;
  overflow: auto;
}

body.discord-channel-signin-body {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    #000;
}

.discord-channel-signin-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.discord-channel-signin-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--discord-channel-stars-pattern);
  background-repeat: repeat;
  background-size: 360px 258px;
  opacity: 1;
}

.discord-channel-signin-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62) 36%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.05), transparent 26%);
}

.discord-channel-signin-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.discord-channel-signin-card {
  width: min(560px, 100%);
  padding: 28px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.84);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.discord-channel-signin-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.discord-channel-signin-kicker {
  margin-bottom: 6px;
  color: #71767b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.discord-channel-signin-title {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.discord-channel-signin-copy {
  max-width: 34ch;
  margin-top: 14px;
  color: #a7adb3;
  font-size: 15px;
  line-height: 1.6;
}

.discord-channel-signin-form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.discord-channel-signin-label {
  color: #d5d5d5;
  font-size: 13px;
  font-weight: 700;
}

.discord-channel-signin-input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
}

.discord-channel-signin-actions,
.discord-channel-signin-session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discord-channel-signin-button,
.discord-channel-signin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.discord-channel-signin-button.is-ghost,
.discord-channel-signin-link.is-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.discord-channel-signin-button {
  cursor: pointer;
  font: inherit;
}

.discord-channel-signin-status {
  min-height: 24px;
  margin-top: 14px;
  color: #a7adb3;
  font-size: 14px;
  line-height: 1.5;
}

.discord-channel-signin-status.is-error {
  color: #ffb5b5;
}

.discord-channel-signin-session {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-channel-signin-session p {
  color: #d2d2d2;
  font-size: 14px;
  line-height: 1.5;
}

.discord-channel-signin-session strong {
  color: #fff;
}

@media (max-width: 560px) {
  .discord-channel-signin-card {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .discord-channel-signin-page::before {
    background-size: 300px 215px;
  }

  .discord-channel-signin-actions,
  .discord-channel-signin-session-actions {
    flex-direction: column;
  }

  .discord-channel-signin-button,
  .discord-channel-signin-link {
    width: 100%;
  }
}

/* fake macos cursor */
/* yes soeljei i fixed the colors */
html.motion-fx-enabled,
html.motion-fx-enabled * {
  cursor: none !important;
}

.fake-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}

.fake-cursor-arrow {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  transform: translate(-2px, -2px);
  transition: transform 0.12s ease;
}

.fake-cursor-horizontal-resize {
  display: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  transform: translate(-14px, -10px);
}

.fake-cursor.horizontal-resize .fake-cursor-arrow {
  display: none;
}

.fake-cursor.horizontal-resize .fake-cursor-horizontal-resize {
  display: block;
}

.fake-cursor.pressed .fake-cursor-arrow {
  transform: translate(-1px, -1px) scale(0.88);
}

.fake-cursor.pointer .fake-cursor-arrow {
  transform: translate(-3px, -3px) scale(1.05);
}
