@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexendLatin.woff2') format('woff2'),
    url('https://ublctyddhtbgaersvxxb.supabase.co/storage/v1/object/public/threeui-media/scene-images/embedded/1ec8f6ee2750554b4bc59ff0b507d316a82a7ba37e0e5bebc41d3bd9b9faad46.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --u: calc(100vw / 1600);
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.62);
  --ink-faint: rgba(255, 255, 255, 0.44);
  --rule: rgba(255, 255, 255, 0.055);
  --card: #f2f3ef;
  --card-ink: #23261f;
  --card-label: #7c8177;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1900px) {
  :root {
    --u: calc(1900px / 1600);
  }
}

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

html {
  background: #383b34;
}

body {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #383b34;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: calc(880 * var(--u));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(64% 52% at 27% 84%, rgba(232, 238, 222, 0.085) 0%, rgba(232, 238, 222, 0) 72%),
    radial-gradient(70% 60% at 92% 8%, rgba(24, 28, 20, 0.10) 0%, rgba(24, 28, 20, 0) 68%),
    #4a4d44;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(72% 44% at 50% 117%, rgba(238, 243, 231, 0.50) 0%, rgba(238, 243, 231, 0.21) 42%, rgba(238, 243, 231, 0.04) 72%, rgba(238, 243, 231, 0) 88%),
    linear-gradient(180deg, rgba(238, 243, 231, 0) 54%, rgba(238, 243, 231, 0.03) 78%, rgba(238, 243, 231, 0.085) 100%);
  pointer-events: none;
  z-index: 0;
}

.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: calc(-800 * var(--u));
  margin-top: calc(-440 * var(--u));
  width: calc(1600 * var(--u));
  height: calc(880 * var(--u));
}

.guides {
  position: absolute;
  inset: calc(-40 * var(--u)) 0;
  z-index: 1;
  pointer-events: none;
}

.guides i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--rule) 12%, var(--rule) 78%, rgba(255, 255, 255, 0) 100%);
}

.ghost {
  position: absolute;
  z-index: 1;
  left: calc(6 * var(--u));
  bottom: calc(-64 * var(--u));
  font-size: calc(310 * var(--u));
  line-height: 0.78;
  font-weight: 400;
  letter-spacing: calc(30 * var(--u));
  color: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

#scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.is-ready #scene {
  opacity: 1;
}

.dock-wrap {
  position: absolute;
  z-index: 20;
  top: calc(38 * var(--u));
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.dock {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: calc(3 * var(--u));
  height: calc(46 * var(--u));
  padding: calc(5 * var(--u));
  border-radius: calc(14 * var(--u));
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 42%),
    rgba(34, 40, 31, 0.74);
  box-shadow: 0 calc(8 * var(--u)) calc(22 * var(--u)) rgba(10, 14, 8, 0.30),
    inset 0 1px rgba(255, 255, 255, 0.06);
  isolation: isolate;
  position: relative;
}

.dock-item {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: calc(36 * var(--u));
  gap: calc(8 * var(--u));
  padding: 0 calc(13 * var(--u));
  transform-origin: 50% 0;
  border: 1px solid transparent;
  border-radius: calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-faint);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: calc(11 * var(--u));
  font-weight: 500;
  letter-spacing: calc(1.5 * var(--u));
  text-transform: uppercase;
  white-space: nowrap;
  will-change: width, height, transform;
  transition: color 0.18s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.dock-item[data-near="true"] {
  z-index: 7;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.19);
  background: rgba(31, 37, 28, 0.94);
  box-shadow: 0 calc(7 * var(--u)) calc(16 * var(--u)) rgba(10, 14, 8, 0.30);
}

.dock-item .glyph {
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  flex: none;
  opacity: 0.66;
  transition: opacity 0.18s var(--ease);
}

.dock-item .glyph svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dock-item[data-near="true"] .glyph {
  opacity: 1;
}

.dock-mark {
  width: calc(36 * var(--u));
  padding: 0;
  background: #eef1e7;
  border-color: #eef1e7;
  color: #23261f;
  overflow: hidden;
}

.dock-mark svg {
  width: 58%;
  height: 58%;
  display: block;
  fill: currentColor;
}

.dock-mark[data-near="true"] {
  background: #fff;
  border-color: #fff;
  color: #1b1e18;
}

.dock-item.is-active {
  background: var(--card);
  border-color: var(--card);
  color: var(--card-ink);
  box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgba(12, 17, 9, 0.24);
}

.dock-item.is-active .glyph {
  opacity: 0.8;
}

.dock-item--enter {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.075);
}

[data-spec] {
  --spec-angle: 2.4rad;
  --spec-bright: 0;
}

[data-spec]::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 5;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--spec-bright);
  background: conic-gradient(from var(--spec-angle) at 50% 50%,
      rgba(240, 246, 232, 0) 0deg, rgba(240, 246, 232, 0.08) 14deg, rgba(240, 246, 232, 0.95) 28deg,
      rgba(240, 246, 232, 0.16) 46deg, rgba(240, 246, 232, 0) 68deg, rgba(240, 246, 232, 0) 180deg,
      rgba(240, 246, 232, 0.08) 194deg, rgba(240, 246, 232, 0.95) 208deg, rgba(240, 246, 232, 0.16) 226deg,
      rgba(240, 246, 232, 0) 248deg, rgba(240, 246, 232, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.headline {
  position: absolute;
  z-index: 4;
  left: calc(46 * var(--u));
  top: calc(202 * var(--u));
  font-size: calc(63 * var(--u));
  line-height: calc(65 * var(--u));
  font-weight: 300;
  letter-spacing: calc(-0.4 * var(--u));
  color: var(--ink);
}

.headline span {
  display: block;
  padding-bottom: 0.04em;
}

.headline span i {
  display: inline-block;
  font-style: normal;
}

.lede {
  position: absolute;
  z-index: 4;
  left: calc(520 * var(--u));
  top: calc(196 * var(--u));
  width: calc(208 * var(--u));
  font-size: calc(16.5 * var(--u));
  line-height: calc(22 * var(--u));
  font-weight: 300;
  color: var(--ink-soft);
}

.pill-clip {
  position: absolute;
  z-index: 4;
  left: calc(644 * var(--u));
  top: calc(360 * var(--u));
  width: calc(410 * var(--u));
  height: calc(270 * var(--u));
  margin: calc(-135 * var(--u)) 0 0 calc(-205 * var(--u));
  clip-path: inset(calc(72 * var(--u)) calc(60 * var(--u)) calc(26 * var(--u)) calc(60 * var(--u)) round calc(62 * var(--u)));
}

.pill {
  position: absolute;
  inset: 0;
  --mr: calc(150 * var(--u));
  display: grid;
  place-items: center;
}

.liquid-stage {
  --lu: calc(var(--h) / 516);
  --bh: var(--h);
  --pad: calc(900 * var(--lu));
  position: relative;
  width: max-content;
  height: max-content;
  padding: var(--pad);
  display: grid;
  place-items: center;
  touch-action: manipulation;
  font-family: 'Lexend', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

.liquid-stage--explore {
  --h: calc(60.156 * var(--u));
}

.liquid-stage--play {
  --h: calc(88.2288 * var(--u));
}

.liquid-plate {
  position: absolute;
  inset: var(--pad);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.014) 44%, rgba(255, 255, 255, 0) 64%),
    rgba(10, 12, 10, 0.42);
  box-shadow:
    0 calc(var(--h) * 0.08) calc(var(--h) * 0.18) rgba(0, 0, 0, 0.38),
    0 calc(var(--h) * 0.24) calc(var(--h) * 0.50) rgba(0, 0, 0, 0.28),
    0 calc(var(--h) * 0.48) calc(var(--h) * 0.96) rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 calc(var(--h) * -0.02) calc(var(--h) * 0.05) rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.38s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.liquid-stage.hot .liquid-plate {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.02) 44%, rgba(255, 255, 255, 0) 64%),
    rgba(8, 10, 8, 0.50);
  box-shadow:
    0 calc(var(--h) * 0.10) calc(var(--h) * 0.22) rgba(0, 0, 0, 0.44),
    0 calc(var(--h) * 0.32) calc(var(--h) * 0.66) rgba(0, 0, 0, 0.34),
    0 calc(var(--h) * 0.66) calc(var(--h) * 1.32) rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 calc(var(--h) * -0.02) calc(var(--h) * 0.05) rgba(255, 255, 255, 0.06);
}

.liquid-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.liquid-button {
  text-decoration: none;
  position: relative;
  height: var(--bh);
  border: 0;
  background: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.liquid-button:focus-visible {
  outline: calc(4 * var(--lu)) solid rgba(255, 255, 255, 0.55);
  outline-offset: calc(10 * var(--lu));
}

.liquid-button .ico {
  display: block;
  flex: none;
  overflow: visible;
}

.liquid-button .lbl {
  display: block;
  transform: translateY(calc(2 * var(--lu)));
}

.liquid-button--explore {
  padding: 0 calc(224 * var(--lu)) 0 calc(95 * var(--lu));
  gap: calc(112 * var(--lu));
  font-size: calc(140 * var(--lu));
}

.liquid-button--explore .ico {
  width: calc(150 * var(--lu));
  height: calc(150 * var(--lu));
}

.liquid-button--play {
  width: var(--bh);
  height: var(--bh);
  padding: 0;
}

.liquid-button--play .ico {
  width: calc(176 * var(--lu));
  height: calc(176 * var(--lu));
  margin-left: calc(14 * var(--lu));
}

.liquid-button--play .lbl {
  display: none;
}

.liquid-stage.press .liquid-plate {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01) 44%, rgba(255, 255, 255, 0) 64%),
    rgba(7, 9, 7, 0.55);
  box-shadow:
    0 calc(var(--h) * 0.04) calc(var(--h) * 0.11) rgba(0, 0, 0, 0.46),
    0 calc(var(--h) * 0.13) calc(var(--h) * 0.32) rgba(0, 0, 0, 0.36),
    0 calc(var(--h) * 0.27) calc(var(--h) * 0.62) rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition-duration: 0.10s;
}

.play-wrap {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  left: calc(187 * var(--u));
  top: calc(431 * var(--u));
  width: calc(170 * var(--u));
  height: calc(170 * var(--u));
}

.play-wrap>* {
  pointer-events: auto;
}

.play-clip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(396 * var(--u));
  height: calc(396 * var(--u));
  margin: calc(-198 * var(--u)) 0 0 calc(-198 * var(--u));
  clip-path: inset(calc(131 * var(--u)) calc(106 * var(--u)) calc(73 * var(--u)) calc(106 * var(--u)) round calc(92 * var(--u)));
}

.play-glass {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.play-ring::after {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--u));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out);
}

.play-clip:hover~.play-ring::after,
.play-clip:focus-within~.play-ring::after {
  opacity: 1;
  transform: scale(1.06);
}

.stat {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: calc(9 * var(--u));
}

.stat--a {
  left: calc(1250 * var(--u));
  top: calc(216 * var(--u));
}

.stat--b {
  left: calc(1346 * var(--u));
  top: calc(326 * var(--u));
}

.stat .mark {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  flex: none;
  margin-top: calc(2 * var(--u));
  color: rgba(255, 255, 255, 0.34);
}

.stat .mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stat dt {
  font-size: calc(13.5 * var(--u));
  font-weight: 300;
  color: var(--ink-soft);
  line-height: calc(19 * var(--u));
}

.stat dt,
.stat dd {
  text-shadow: 0 calc(2 * var(--u)) calc(16 * var(--u)) rgba(10, 14, 8, 0.6);
}

.stat .mark svg {
  filter: drop-shadow(0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(10, 14, 8, 0.6));
}

.stat dd {
  font-size: calc(13.5 * var(--u));
  font-weight: 600;
  color: var(--ink);
  line-height: calc(21 * var(--u));
}

.card {
  position: absolute;
  background: var(--card);
  border-radius: calc(46 * var(--u));
  box-shadow: 0 calc(30 * var(--u)) calc(70 * var(--u)) rgba(16, 21, 13, 0.30);
  transition: box-shadow 0.8s var(--ease);
}

.card--about {
  left: calc(890 * var(--u));
  top: calc(200 * var(--u));
  width: calc(330 * var(--u));
  height: calc(305 * var(--u));
}

.card--stove {
  z-index: 4;
  will-change: transform;
  left: calc(1237 * var(--u));
  top: calc(482 * var(--u));
  width: calc(328 * var(--u));
  height: calc(310 * var(--u));
}

.card .label {
  position: absolute;
  left: calc(38 * var(--u));
  font-size: calc(15.5 * var(--u));
  font-weight: 300;
  color: var(--card-label);
}

.card h2 {
  position: absolute;
  left: calc(38 * var(--u));
  font-size: calc(26.2 * var(--u));
  line-height: calc(27 * var(--u));
  font-weight: 400;
  letter-spacing: calc(-0.5 * var(--u));
  color: var(--card-ink);
}

.card--about .label {
  top: calc(152 * var(--u));
}

.card--about h2 {
  top: calc(177 * var(--u));
  width: calc(142 * var(--u));
}

.card--stove .label {
  top: calc(45 * var(--u));
}

.card--stove h2 {
  top: calc(70 * var(--u));
}

.card figure {
  position: absolute;
  left: calc(14 * var(--u));
  right: calc(14 * var(--u));
  border-radius: calc(34 * var(--u));
  overflow: hidden;
  isolation: isolate;
  background: #263025;
}

.card--stove figure {
  bottom: calc(14 * var(--u));
  height: calc(158 * var(--u));
}

.card--about figure {
  top: calc(14 * var(--u));
  height: calc(122 * var(--u));
}

.portal-media {
  position: absolute;
  inset: calc(-9 * var(--u));
  z-index: 1;
  display: block;
  will-change: transform, clip-path;
  transform:
    perspective(900px) translate3d(calc(var(--px, 0) * -11px), calc(var(--py, 0) * -7px), 0) rotateY(calc(var(--px, 0) * -1.4deg)) rotateX(calc(var(--py, 0) * 0.9deg));
  transform-origin: 50% 50%;
}

.portal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  filter: saturate(0.92) contrast(1.03);
  transition: transform 1.25s var(--ease-out), filter 0.8s var(--ease);
}

.card:hover .portal-media img {
  transform: scale(1.13);
  filter: saturate(1.04) contrast(1.04);
}

.pixel-reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}

.card figure::after {
  content: '';
  position: absolute;
  z-index: 2;
  filter: blur(calc(2 * var(--u)));
  opacity: 0;
  pointer-events: none;
  top: 0;
  bottom: 0;
  width: 26%;
  left: calc(-13% - 9 * var(--u));
  background: linear-gradient(90deg, transparent, rgba(229, 244, 209, 0.2) 42%, rgba(252, 255, 246, 0.72) 54%, transparent);
}

.knob-float {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  left: calc(1142 * var(--u));
  top: calc(427 * var(--u));
  width: calc(58 * var(--u));
  height: calc(58 * var(--u));
}

.knob-float>* {
  pointer-events: auto;
}

.knob--about {
  left: 0;
  top: 0;
}

.card .knob,
.knob--about {
  position: absolute;
  z-index: 4;
  right: calc(20 * var(--u));
  bottom: calc(20 * var(--u));
  width: calc(58 * var(--u));
  height: calc(58 * var(--u));
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #fbfcf8;
  display: grid;
  place-items: center;
  box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgba(16, 21, 13, 0.18);
  transition: transform 0.5s var(--ease-out), background 0.4s var(--ease);
}

.knob--about {
  right: auto;
  bottom: auto;
  width: calc(58 * var(--u));
  height: calc(58 * var(--u));
}

.card--stove .knob {
  width: calc(54 * var(--u));
  height: calc(54 * var(--u));
  right: calc(26 * var(--u));
  bottom: calc(26 * var(--u));
}

.card .knob svg,
.knob--about svg {
  width: calc(19 * var(--u));
  height: calc(19 * var(--u));
  display: block;
  color: #3f453a;
}

.card .knob:hover,
.knob--about:hover {
  transform: scale(1.1) rotate(8deg);
  background: #fff;
}

.card:hover {
  box-shadow: 0 calc(38 * var(--u)) calc(84 * var(--u)) rgba(16, 21, 13, 0.36);
}

.scroll {
  position: absolute;
  z-index: 4;
  left: calc(846 * var(--u));
  top: calc(690 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  writing-mode: vertical-rl;
  font-size: calc(11 * var(--u));
  font-weight: 400;
  letter-spacing: calc(4.4 * var(--u));
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  text-decoration: none;
}

.scroll .track {
  position: relative;
  width: 1px;
  height: calc(56 * var(--u));
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.scroll .track::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: rgba(255, 255, 255, 0.75);
  animation: trickle 2.6s var(--ease) infinite;
}

@keyframes trickle {
  0% {
    transform: translateY(-105%);
    opacity: 0;
  }

  22% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    transform: translateY(255%);
    opacity: 0;
  }
}

.js .mask {
  clip-path: inset(100% 0 0 0 round var(--mr, 0px));
}

.is-ready .mask {
  clip-path: inset(0 0 0 0 round var(--mr, 0px));
  transition: clip-path 1.05s var(--ease-out) var(--d, 0ms);
}

.js .mask-circle {
  clip-path: circle(0% at 50% 50%);
}

.is-ready .mask-circle {
  clip-path: circle(76% at 50% 50%);
  transition: clip-path 1.1s var(--ease-out) var(--d, 0ms);
}

.js .fade {
  opacity: 0;
}

.is-ready .fade {
  opacity: 1;
  transition: opacity 1.3s var(--ease) var(--d, 0ms);
}

.intro-done .mask,
.intro-done .mask-circle {
  clip-path: none;
  transition: none;
}

.card {
  --mr: calc(46 * var(--u));
}

.js .dock {
  opacity: 0;
}

.is-ready .dock {
  opacity: 1;
  transition: opacity 0.8s var(--ease) 80ms;
}

.js .dock-item {
  clip-path: inset(0 0 105% 0);
}

.is-ready .dock-item {
  clip-path: inset(0 0 -30% 0);
  transition: clip-path 0.9s var(--ease-out) var(--d, 0ms),
    color 0.18s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.intro-done .dock-item {
  clip-path: none;
}

.js .headline span i {
  opacity: 0;
  transform: translateY(calc(16 * var(--u)));
}

.is-ready .headline span i {
  opacity: 1;
  transform: none;
  transition: opacity 1.05s var(--ease) var(--d, 0ms),
    transform 1.25s var(--ease-out) var(--d, 0ms);
}

.js .portal-media {
  clip-path: inset(0 100% 0 0 round calc(25 * var(--u)));
}

.is-ready .card--about .portal-media {
  animation: portalCut 1.45s steps(12, end) 0.92s both;
}

.is-ready .card--stove .portal-media {
  animation: portalCut 1.45s steps(12, end) 1.08s both;
}

.is-ready .card--about figure::after {
  animation: portalScan 1.45s steps(12, end) 0.92s both;
}

.is-ready .card--stove figure::after {
  animation: portalScan 1.45s steps(12, end) 1.08s both;
}

.intro-done .portal-media {
  clip-path: none;
  animation: none;
}

@keyframes portalCut {
  from {
    clip-path: inset(0 100% 0 0 round calc(25 * var(--u)));
  }

  to {
    clip-path: inset(0 0 0 0 round calc(25 * var(--u)));
  }
}

@keyframes portalScan {
  0% {
    left: calc(-13% - 9 * var(--u));
    opacity: 0;
  }

  10% {
    opacity: 0.75;
  }

  88% {
    opacity: 0.55;
  }

  100% {
    left: calc(87% + 9 * var(--u));
    opacity: 0;
  }
}

.is-ready #scene {
  transition: opacity 0.45s var(--ease);
}

.par {
  transform:
    perspective(1400px) translate3d(calc(var(--px, 0) * var(--pd, 0) * -1px),
      calc(var(--py, 0) * var(--pd, 0) * -0.62px),
      0) rotateY(calc(var(--px, 0) * var(--pr, 0) * 1deg)) rotateX(calc(var(--py, 0) * var(--pr, 0) * -0.7deg));
}

.knob-float {
  transform-origin: calc(-87 * var(--u)) calc(-74.5 * var(--u));
}

.card--about {
  transform-origin: 50% 50%;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: calc(4 * var(--u));
  border-radius: calc(6 * var(--u));
}

.card .knob:focus-visible,
.knob--about:focus-visible,
.play:focus-visible {
  outline-color: rgba(28, 34, 22, 0.9);
}

@media (prefers-reduced-motion: reduce) {

  .mask,
  .mask-circle,
  .fade,
  #scene,
  .dock,
  .dock-item,
  .headline span i {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }

  .par {
    transform: none !important;
  }

  .portal-media {
    clip-path: none !important;
    animation: none !important;
    transform: none !important;
  }

  .pixel-reveal,
  .card figure::after {
    display: none !important;
  }

  .portal-media img {
    transform: none !important;
    transition: none !important;
  }

  .scroll .track::after {
    animation: none;
  }

  #scene {
    transition: none;
  }
}

.notranslate {
  translate: no;
}

.token-secret-field {
  -webkit-text-security: disc !important;
}

.token-secret-field.is-revealed {
  -webkit-text-security: none !important;
}



.profile-detail-item--clickable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.profile-detail-item--clickable:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.08);
}

.profile-detail-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.profile-view-pill-btn {
  background: rgba(88, 101, 242, 0.16);
  color: #7983f5;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.profile-view-pill-btn:hover {
  background: #5865f2;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-modal--secondary {
  z-index: 105;
}

.guilds-modal-card,
.connections-modal-card {
  width: min(calc(840 * var(--u)), 95vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: calc(22 * var(--u));
}

.guilds-modal-header,
.connections-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14 * var(--u));
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.guilds-modal-title-col,
.connections-modal-title-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.guilds-modal-header-actions {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.guilds-search-input {
  height: calc(34 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(8 * var(--u));
  color: #fff;
  padding: 0 calc(12 * var(--u));
  font-size: calc(12 * var(--u));
  width: calc(200 * var(--u));
  outline: none;
  transition: border-color 0.2s;
}

.guilds-search-input:focus {
  border-color: #5865f2;
}

.guilds-modal-close-btn {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ccc;
  font-size: calc(20 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.guilds-modal-close-btn:hover {
  background: rgba(237, 66, 69, 0.25);
  color: #ed4245;
}

.guilds-modal-body,
.connections-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: calc(16 * var(--u)) calc(4 * var(--u));
  min-height: calc(240 * var(--u));
  max-height: 60vh;
}

.guilds-cards-grid,
.connections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(240 * var(--u)), 1fr));
  gap: calc(12 * var(--u));
}

.guild-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.guild-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.guild-card-banner {
  height: calc(64 * var(--u));
  background-size: cover;
  background-position: center;
  background-color: rgba(88, 101, 242, 0.15);
  position: relative;
}

.guild-card-body {
  padding: calc(12 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  flex: 1;
}

.guild-card-icon-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: calc(-32 * var(--u));
  margin-bottom: calc(4 * var(--u));
}

.guild-card-icon {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  object-fit: cover;
  border: calc(3 * var(--u)) solid #232820;
  background: #1a1d18;
  flex-shrink: 0;
}

.guild-card-initials {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  border: calc(3 * var(--u)) solid #232820;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: calc(15 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guild-owner-tag {
  background: rgba(250, 166, 26, 0.16);
  color: #faa61a;
  border: 1px solid rgba(250, 166, 26, 0.35);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
}

.guild-card-title {
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.guild-card-meta-line {
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(6 * var(--u));
}

.guild-code-tag {
  background: rgba(0, 0, 0, 0.35);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-family: monospace;
  font-size: calc(10.5 * var(--u));
  color: #7983f5;
  cursor: pointer;
  user-select: all;
}

.guild-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u));
  max-height: calc(48 * var(--u));
  overflow-y: auto;
  margin-top: auto;
  padding-top: calc(4 * var(--u));
}

.guild-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-size: calc(9.5 * var(--u));
  text-transform: uppercase;
  font-weight: 600;
}

.connection-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  padding: calc(14 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  transition: all 0.2s;
}

.connection-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.connection-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
}

.connection-type-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
  color: #5865f2;
  text-transform: uppercase;
  background: rgba(88, 101, 242, 0.12);
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.connection-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
  color: #57f287;
  background: rgba(87, 242, 135, 0.12);
  border: 1px solid rgba(87, 242, 135, 0.3);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
}

.connection-name-title {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
  word-break: break-all;
  margin: 0;
}

.connection-details-list {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.65);
}

.connection-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.connection-detail-val {
  color: #d1d5db;
  font-weight: 600;
}

.guilds-empty-notice,
.connections-empty-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: calc(13 * var(--u));
  padding: calc(40 * var(--u)) 0;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  :root {
    --u: calc(100vw / 760);
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .stage {
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    width: 100%;
    height: calc(1625 * var(--u));
  }

  .hero::after {
    background:
      radial-gradient(90% 30% at 50% 74%, rgba(238, 243, 231, 0.40) 0%, rgba(238, 243, 231, 0.14) 46%, rgba(238, 243, 231, 0) 82%),
      linear-gradient(180deg, rgba(238, 243, 231, 0) 62%, rgba(238, 243, 231, 0.05) 100%);
  }

  .guides i:nth-child(3) {
    display: none;
  }

  .guides i:nth-child(1) {
    left: calc(253 * var(--u)) !important;
  }

  .guides i:nth-child(2) {
    left: calc(506 * var(--u)) !important;
  }

  .dock-wrap {
    top: calc(30 * var(--u));
  }

  .dock {
    height: max(56px, calc(58 * var(--u)));
    padding: max(6px, calc(6 * var(--u)));
    gap: max(4px, calc(4 * var(--u)));
    border-radius: max(17px, calc(18 * var(--u)));
  }

  .dock-item {
    height: max(44px, calc(46 * var(--u)));
    width: max(44px, calc(46 * var(--u)));
    padding: 0;
    border-radius: max(12px, calc(13 * var(--u)));
  }

  .dock-item span:not(.glyph) {
    display: none;
  }

  .dock-item .glyph {
    width: max(19px, calc(20 * var(--u)));
    height: max(19px, calc(20 * var(--u)));
  }

  .dock-mark svg {
    width: 52%;
    height: 52%;
  }

  .knob-float {
    display: none !important;
  }

  .headline {
    left: calc(34 * var(--u));
    top: calc(128 * var(--u));
    font-size: calc(62 * var(--u));
    line-height: calc(66 * var(--u));
  }

  .lede {
    left: calc(34 * var(--u));
    top: calc(288 * var(--u));
    width: calc(400 * var(--u));
    font-size: calc(19 * var(--u));
    line-height: calc(27 * var(--u));
  }

  .pill-clip {
    left: calc(34 * var(--u));
    top: calc(430 * var(--u));
    width: calc(506 * var(--u));
    height: calc(334 * var(--u));
    margin: calc(-167 * var(--u)) 0 0 calc(-79 * var(--u));
    clip-path: inset(calc(93 * var(--u)) calc(74 * var(--u)) calc(1 * var(--u)) calc(74 * var(--u)) round calc(76 * var(--u)));
  }

  .liquid-stage--explore {
    --h: calc(74.4152 * var(--u));
  }

  .play-wrap {
    display: none;
  }

  .stat {
    gap: calc(11 * var(--u));
  }

  .stat .mark {
    width: calc(36 * var(--u));
    height: calc(36 * var(--u));
  }

  .stat dt {
    font-size: calc(16 * var(--u));
    line-height: calc(22 * var(--u));
  }

  .stat dd {
    font-size: calc(16.5 * var(--u));
    line-height: calc(24 * var(--u));
  }

  .stat--a {
    left: calc(34 * var(--u));
    top: calc(540 * var(--u));
  }

  .stat--b {
    left: calc(396 * var(--u));
    top: calc(540 * var(--u));
  }

  .card {
    border-radius: calc(36 * var(--u));
  }

  .card--about {
    left: calc(34 * var(--u));
    top: calc(1050 * var(--u));
    width: calc(692 * var(--u));
    height: calc(246 * var(--u));
  }

  .card--about .label,
  .card--stove .label {
    top: calc(64 * var(--u));
    left: calc(36 * var(--u));
    font-size: calc(15.5 * var(--u));
    margin: 0;
  }

  .card--about h2,
  .card--stove h2 {
    top: calc(96 * var(--u));
    left: calc(36 * var(--u));
    width: calc(300 * var(--u));
    font-size: calc(30 * var(--u));
    line-height: calc(36 * var(--u));
    letter-spacing: calc(-0.4 * var(--u));
    margin: 0;
  }

  .card--stove {
    left: calc(34 * var(--u));
    top: calc(1324 * var(--u));
    width: calc(692 * var(--u));
    height: calc(246 * var(--u));
  }

  .card--about figure,
  .card--stove figure {
    left: auto !important;
    right: calc(20 * var(--u)) !important;
    top: calc(34 * var(--u)) !important;
    bottom: auto !important;
    width: calc(316 * var(--u)) !important;
    height: calc(178 * var(--u)) !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: calc(24 * var(--u)) !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .card .portal-media {
    inset: 0 !important;
    transform: none !important;
    border-radius: calc(24 * var(--u)) !important;
    overflow: hidden !important;
  }

  .card .portal-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
    filter: none !important;
    border-radius: calc(24 * var(--u)) !important;
  }

  .card:hover .portal-media img {
    transform: none !important;
  }

  .card .pixel-reveal {
    display: none !important;
  }

  .card .knob {
    display: none !important;
  }

  .scroll {
    left: calc(702 * var(--u));
    top: calc(470 * var(--u));
  }

  .ghost {
    font-size: calc(184 * var(--u));
    letter-spacing: calc(14 * var(--u));
    bottom: calc(660 * var(--u));
    left: calc(-10 * var(--u));
  }
}

.dock-mark--discord {
  background: #eef1e7;
  border-color: #eef1e7;
  color: #23261f;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.18s var(--ease);
}

.dock-mark--discord[data-near="true"] {
  background: #ffffff;
  border-color: #ffffff;
  color: #1b1e18;
}

.dock-mark--discord.is-authenticated {
  background: rgba(35, 40, 32, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
  padding: 0;
  overflow: hidden;
}

.discord-svg-icon {
  width: 70%;
  height: 70%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.dock-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 22, 16, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 40%),
    #232820;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(28 * var(--u));
  box-shadow: 0 calc(24 * var(--u)) calc(64 * var(--u)) rgba(0, 0, 0, 0.65);
  width: min(calc(760 * var(--u)), 92vw);
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--ink);
  text-align: left;
}

.profile-header-banner {
  position: relative;
  width: 100%;
  min-height: calc(140 * var(--u));
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  display: flex;
  align-items: center;
}

.profile-header-banner.is-plain {
  background: transparent;
  box-shadow: none;
}

.profile-header-banner.has-nameplate {
  background: transparent;
  box-shadow: none;
}

.profile-nameplate-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: none;
}

.profile-nameplate-video.is-visible {
  display: block;
}

.profile-nameplate-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: none;
}

.profile-nameplate-static.is-visible {
  display: block;
}

.profile-header-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.profile-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: calc(24 * var(--u));
  width: 100%;
  padding: calc(24 * var(--u)) calc(32 * var(--u));
}

.profile-avatar-wrapper {
  position: relative;
  width: calc(88 * var(--u));
  height: calc(88 * var(--u));
  flex-shrink: 0;
  margin: 0;
}

.profile-avatar-display {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: none;
  box-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, 0.45);
  object-fit: cover;
  display: block;
}

.profile-avatar-decoration {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  object-fit: contain;
  display: none;
}

.profile-avatar-decoration.is-visible {
  display: block;
}

.profile-identity-col {
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--u));
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--u));
  flex-wrap: wrap;
  width: 100%;
}

.profile-badges-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: calc(6 * var(--u));
  padding: calc(4 * var(--u)) calc(8 * var(--u));
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(10 * var(--u));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-left: auto;
  flex-shrink: 0;
}

.profile-badge-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  border-radius: calc(4 * var(--u));
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}

.profile-badge-item:hover {
  transform: scale(1.18);
  z-index: 3;
}

.profile-badge-icon {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  object-fit: contain;
  display: block;
}

.profile-name-display {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(8 * var(--u));
  font-size: calc(26 * var(--u));
  font-weight: 700;
  color: var(--name-color, #ffffff);
  text-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, 0.85);
  line-height: 1.2;
}

.profile-global-name {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
}

.profile-username-tag {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: calc(14 * var(--u));
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: normal;
  text-shadow: 0 calc(1 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, 0.85);
}

.profile-clan-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--u));
  height: calc(22 * var(--u));
  padding: 0 calc(8 * var(--u)) 0 calc(6 * var(--u));
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(6 * var(--u));
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.35);
  vertical-align: middle;
  user-select: none;
  flex-shrink: 0;
}

.profile-clan-icon {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  object-fit: contain;
  display: block;
}

.profile-clan-tag {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: calc(11 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.5 * var(--u));
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
}

.profile-name-display[data-font-id="1"] .profile-global-name {
  font-family: 'Bangers', cursive, sans-serif;
}

.profile-name-display[data-font-id="2"] .profile-global-name {
  font-family: 'BioRhyme', serif;
}

.profile-name-display[data-font-id="3"] .profile-global-name {
  font-family: 'Cherry Bomb One', cursive;
}

.profile-name-display[data-font-id="4"] .profile-global-name {
  font-family: 'Chicle', cursive;
}

.profile-name-display[data-font-id="5"] .profile-global-name {
  font-family: monospace;
}

.profile-name-display[data-font-id="6"] .profile-global-name {
  font-family: 'MuseoModerno', sans-serif;
}

.profile-name-display[data-font-id="7"] .profile-global-name {
  font-family: serif;
}

.profile-name-display[data-font-id="8"] .profile-global-name {
  font-family: 'Pixelify Sans', monospace;
}

.profile-name-display[data-font-id="9"] .profile-global-name {
  font-family: sans-serif;
}

.profile-name-display[data-font-id="10"] .profile-global-name {
  font-family: serif;
}

.profile-name-display[data-font-id="11"] .profile-global-name {
  font-family: system-ui, -apple-system, sans-serif;
}

.profile-name-display[data-font-id="12"] .profile-global-name {
  font-family: 'Zilla Slab', serif;
}

.profile-name-display[data-font-id="13"] .profile-global-name {
  font-family: 'Playpen Sans', cursive;
}

.profile-name-display[data-font-id="14"] .profile-global-name {
  font-family: 'Orbitron', sans-serif;
}

.profile-name-display[data-font-id="15"] .profile-global-name {
  font-family: cursive;
}

.profile-name-display[data-font-id="16"] .profile-global-name {
  font-family: 'Kalam', cursive, sans-serif;
  font-weight: 700;
}

.profile-name-display[data-effect-id="1"] .profile-global-name {
  color: var(--name-color, #ffffff);
  text-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.85);
}

.profile-name-display[data-effect-id="2"] .profile-global-name {
  background-image: var(--name-gradient, linear-gradient(90deg, #ffffff, var(--name-color, #00c6ff)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.profile-name-display[data-effect-id="3"] .profile-global-name {
  color: #ffffff;
  text-shadow:
    0 0 calc(8 * var(--u)) var(--name-color, #00c6ff),
    0 0 calc(18 * var(--u)) var(--name-color, #00c6ff),
    0 0 calc(30 * var(--u)) var(--name-color, #00c6ff),
    0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.9);
}

.profile-name-display[data-effect-id="4"] .profile-global-name {
  background-image: linear-gradient(180deg, #ffffff 30%, var(--name-color, #00c6ff) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: calc(1 * var(--u)) rgba(0, 0, 0, 0.85);
  filter: drop-shadow(0 calc(2 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, 0.75));
}

.profile-name-display[data-effect-id="5"] .profile-global-name {
  color: #ffffff;
  text-shadow:
    calc(2.5 * var(--u)) calc(2.5 * var(--u)) 0 var(--name-color, #00c6ff),
    calc(3.5 * var(--u)) calc(3.5 * var(--u)) 0 var(--name-color, #00c6ff),
    0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 0 calc(4 * var(--u)) var(--name-glow-soft, rgba(0, 198, 255, 0.4)));
}

.profile-name-display[data-effect-id="6"] .profile-global-name {
  background-image: var(--name-gradient, linear-gradient(90deg, #ffffff, var(--name-color, #00c6ff)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 calc(10 * var(--u)) var(--name-color, #00c6ff));
}

.profile-name-display[data-effect-id="7"] .profile-global-name {
  background: linear-gradient(90deg, #ff007a, #7928ca, #0070f3, #00dfd8, #ff4d4d, #ff007a);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: prismShift 4s linear infinite;
}

.profile-name-display[data-effect-id="8"] .profile-global-name {
  background: var(--name-gradient, linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 calc(2 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, 0.6));
}

@keyframes prismShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.profile-meta-row {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  flex-wrap: wrap;
}

.profile-email-display {
  font-size: calc(13 * var(--u));
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 calc(1 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.profile-pronouns-display {
  display: inline-flex;
  align-items: center;
  font-size: calc(11 * var(--u));
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(4 * var(--u));
  padding: calc(1.5 * var(--u)) calc(7 * var(--u));
  line-height: 1.2;
  letter-spacing: calc(0.3 * var(--u));
  text-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.25);
  user-select: text;
}

.profile-pronouns-display:empty {
  display: none !important;
}



.profile-detail-item--clickable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.profile-detail-item--clickable:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.08);
}

.profile-detail-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.profile-view-pill-btn {
  background: rgba(88, 101, 242, 0.16);
  color: #7983f5;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.profile-view-pill-btn:hover {
  background: #5865f2;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-modal--secondary {
  z-index: 105;
}

.guilds-modal-card,
.connections-modal-card {
  width: min(calc(840 * var(--u)), 95vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: calc(22 * var(--u));
}

.guilds-modal-header,
.connections-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14 * var(--u));
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.guilds-modal-title-col,
.connections-modal-title-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.guilds-modal-header-actions {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.guilds-search-input {
  height: calc(34 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(8 * var(--u));
  color: #fff;
  padding: 0 calc(12 * var(--u));
  font-size: calc(12 * var(--u));
  width: calc(200 * var(--u));
  outline: none;
  transition: border-color 0.2s;
}

.guilds-search-input:focus {
  border-color: #5865f2;
}

.guilds-modal-close-btn {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ccc;
  font-size: calc(20 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.guilds-modal-close-btn:hover {
  background: rgba(237, 66, 69, 0.25);
  color: #ed4245;
}

.guilds-modal-body,
.connections-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: calc(16 * var(--u)) calc(4 * var(--u));
  min-height: calc(240 * var(--u));
  max-height: 60vh;
}

.guilds-cards-grid,
.connections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(240 * var(--u)), 1fr));
  gap: calc(12 * var(--u));
}

.guild-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.guild-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.guild-card-banner {
  height: calc(64 * var(--u));
  background-size: cover;
  background-position: center;
  background-color: rgba(88, 101, 242, 0.15);
  position: relative;
}

.guild-card-body {
  padding: calc(12 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  flex: 1;
}

.guild-card-icon-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: calc(-32 * var(--u));
  margin-bottom: calc(4 * var(--u));
}

.guild-card-icon {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  object-fit: cover;
  border: calc(3 * var(--u)) solid #232820;
  background: #1a1d18;
  flex-shrink: 0;
}

.guild-card-initials {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  border: calc(3 * var(--u)) solid #232820;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: calc(15 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guild-owner-tag {
  background: rgba(250, 166, 26, 0.16);
  color: #faa61a;
  border: 1px solid rgba(250, 166, 26, 0.35);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
}

.guild-card-title {
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.guild-card-meta-line {
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(6 * var(--u));
}

.guild-code-tag {
  background: rgba(0, 0, 0, 0.35);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-family: monospace;
  font-size: calc(10.5 * var(--u));
  color: #7983f5;
  cursor: pointer;
  user-select: all;
}

.guild-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u));
  max-height: calc(48 * var(--u));
  overflow-y: auto;
  margin-top: auto;
  padding-top: calc(4 * var(--u));
}

.guild-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-size: calc(9.5 * var(--u));
  text-transform: uppercase;
  font-weight: 600;
}

.connection-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  padding: calc(14 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  transition: all 0.2s;
}

.connection-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.connection-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
}

.connection-type-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
  color: #5865f2;
  text-transform: uppercase;
  background: rgba(88, 101, 242, 0.12);
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.connection-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
  color: #57f287;
  background: rgba(87, 242, 135, 0.12);
  border: 1px solid rgba(87, 242, 135, 0.3);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
}

.connection-name-title {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
  word-break: break-all;
  margin: 0;
}

.connection-details-list {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.65);
}

.connection-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.connection-detail-val {
  color: #d1d5db;
  font-weight: 600;
}

.guilds-empty-notice,
.connections-empty-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: calc(13 * var(--u));
  padding: calc(40 * var(--u)) 0;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .profile-header-content {
    padding: calc(20 * var(--u)) calc(20 * var(--u));
    gap: calc(16 * var(--u));
    align-items: flex-start;
  }

  .profile-avatar-wrapper {
    width: calc(72 * var(--u));
    height: calc(72 * var(--u));
  }

  .profile-identity-col {
    display: flex;
    flex-direction: column;
    gap: calc(6 * var(--u));
    min-width: 0;
    flex: 1;
  }

  .profile-name-row {
    display: contents;
  }

  .profile-name-display {
    order: 1;
    width: 100%;
    font-size: calc(22 * var(--u));
  }

  .profile-meta-row {
    order: 2;
    width: 100%;
    margin-top: calc(2 * var(--u));
  }

  .profile-email-display {
    word-break: break-all;
  }

  .profile-badges-wrap {
    order: 3;
    margin-left: 0 !important;
    margin-top: calc(6 * var(--u));
    align-self: flex-start;
    max-width: 100%;
    flex-wrap: wrap;
  }
}

.profile-body-content {
  padding: calc(24 * var(--u)) calc(32 * var(--u)) calc(32 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--u));
  width: 100%;
}

.auth-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: calc(8 * var(--u));
}

.auth-modal-actions-left,
.auth-modal-actions-right {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
}

.auth-action-btn--update {
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(88, 101, 242, 0.45);
  color: #7983f5;
}

.auth-action-btn--update:hover {
  background: rgba(88, 101, 242, 0.28);
  border-color: rgba(88, 101, 242, 0.7);
  color: #ffffff;
}

.auth-action-btn--update:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-action-btn {
  width: auto;
  min-width: calc(130 * var(--u));
  height: calc(40 * var(--u));
  padding: 0 calc(24 * var(--u));
  border-radius: calc(10 * var(--u));
  border: 1px solid transparent;
  font-family: inherit;
  font-size: calc(13 * var(--u));
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.auth-action-btn:hover {
  transform: translateY(-1px);
}

.auth-action-btn:active {
  transform: translateY(0);
}

.auth-action-btn--primary {
  background: #5865f2;
  color: #ffffff;
}

.auth-action-btn--primary:hover {
  background: #4752c4;
}

.auth-action-btn--danger {
  background: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.4);
  color: #ff6b6b;
}

.auth-action-btn--danger:hover {
  background: rgba(220, 53, 69, 0.28);
  border-color: rgba(220, 53, 69, 0.6);
}

.auth-action-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink-soft);
}

.auth-action-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.auth-action-btn--token {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.45);
  color: #4ade80;
}

.auth-action-btn--token:hover {
  background: rgba(34, 197, 94, 0.28);
  border-color: rgba(34, 197, 94, 0.7);
  color: #ffffff;
}

.token-modal-card {
  max-width: calc(560 * var(--u));
  width: 92vw;
  padding: calc(28 * var(--u));
}

.token-modal-header {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  margin-bottom: calc(20 * var(--u));
}

.token-modal-title {
  font-size: calc(20 * var(--u));
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.token-modal-desc {
  font-size: calc(13 * var(--u));
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.token-modal-body {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}

.token-input-field-group {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
}

.token-field-label {
  font-size: calc(12 * var(--u));
  font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: calc(0.5 * var(--u));
}

.token-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.token-modal-input {
  width: 100%;
  height: calc(44 * var(--u));
  padding: 0 calc(42 * var(--u)) 0 calc(14 * var(--u));
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(10 * var(--u));
  color: var(--ink);
  font-size: calc(13 * var(--u));
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.token-modal-input:focus {
  border-color: rgba(88, 101, 242, 0.8);
  background: rgba(0, 0, 0, 0.45);
}

.token-field-toggle-btn {
  position: absolute;
  right: calc(10 * var(--u));
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  padding: 0;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s var(--ease);
}

.token-field-toggle-btn:hover {
  color: var(--ink);
}

.token-field-toggle-btn svg {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
}

.token-agreement-box {
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(8 * var(--u));
}

.token-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: calc(10 * var(--u));
  font-size: calc(12 * var(--u));
  color: var(--ink-soft);
  line-height: 1.45;
  cursor: pointer;
}

.token-consent-checkbox {
  margin-top: calc(2 * var(--u));
  cursor: pointer;
  accent-color: #5865f2;
}

.token-legal-link {
  color: #7983f5;
  text-decoration: underline;
  text-underline-offset: calc(2 * var(--u));
  transition: color 0.2s var(--ease);
}

.token-legal-link:hover {
  color: #9aa5ff;
}

.token-modal-status {
  min-height: calc(20 * var(--u));
  font-size: calc(12 * var(--u));
  line-height: 1.4;
  transition: opacity 0.2s var(--ease);
}

.token-modal-status.is-loading {
  color: #7983f5;
}

.token-modal-status.is-error {
  color: #ff6b6b;
}

.token-modal-status.is-success {
  color: #4ade80;
}

.auth-modal-title {
  font-size: calc(18 * var(--u));
  font-weight: 500;
  color: var(--ink);
}

.auth-modal-desc {
  font-size: calc(13 * var(--u));
  color: var(--ink-soft);
  line-height: 1.4;
}

.auth-input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--u));
  text-align: left;
}

.auth-input-label {
  font-size: calc(12 * var(--u));
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: calc(1 * var(--u));
}

.client-id-input {
  width: 100%;
  height: calc(40 * var(--u));
  padding: 0 calc(12 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(8 * var(--u));
  color: var(--ink);
  font-family: inherit;
  font-size: calc(13 * var(--u));
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.client-id-input:focus {
  border-color: #5865f2;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(10 * var(--u));
  width: 100%;
}

.profile-details-grid:has(.profile-nameplate-detail-item.is-visible) {
  grid-template-columns: repeat(4, 1fr);
}

.profile-nameplate-detail-item {
  display: none;
}

.profile-nameplate-detail-item.is-visible {
  display: flex;
}

.profile-detail-item {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  padding: calc(6 * var(--u)) calc(8 * var(--u));
  border-radius: calc(8 * var(--u));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-detail-label {
  font-size: calc(9 * var(--u));
  text-transform: uppercase;
  letter-spacing: calc(0.5 * var(--u));
  color: var(--ink-faint);
}

.profile-detail-value {
  font-size: calc(11 * var(--u));
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-uuid-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(8 * var(--u));
  padding: calc(8 * var(--u)) calc(12 * var(--u));
}

.profile-uuid-label {
  font-size: calc(11 * var(--u));
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: calc(0.8 * var(--u));
}

.profile-uuid-value {
  font-size: calc(12 * var(--u));
  color: #a4d994;
  font-family: monospace;
  word-break: break-all;
  user-select: all;
}

.profile-tasks-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(10 * var(--u));
  padding: calc(12 * var(--u)) calc(14 * var(--u));
}

.profile-tasks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: calc(8 * var(--u));
}

.profile-tasks-title-wrap {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
}

.profile-tasks-title {
  font-size: calc(11 * var(--u));
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: calc(0.8 * var(--u));
  font-weight: 600;
}

.profile-tasks-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  padding: 0 calc(6 * var(--u));
  border-radius: calc(9 * var(--u));
  background: rgba(88, 101, 242, 0.25);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #7983f5;
  font-size: calc(11 * var(--u));
  font-weight: 700;
}

.profile-tasks-refresh-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-faint);
  padding: calc(4 * var(--u)) calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-tasks-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.profile-tasks-list {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  max-height: calc(200 * var(--u));
  overflow-y: auto;
  scrollbar-width: thin;
}

.profile-tasks-empty {
  font-size: calc(12 * var(--u));
  color: var(--ink-faint);
  text-align: center;
  padding: calc(12 * var(--u)) 0;
}

.profile-task-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(8 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  gap: calc(12 * var(--u));
}

.profile-task-left {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  min-width: 0;
  flex: 1;
}

.profile-task-header-row {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
}

.profile-task-name {
  font-size: calc(13 * var(--u));
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-task-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  border-radius: calc(4 * var(--u));
  background: rgba(46, 204, 113, 0.18);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.35);
  font-size: calc(10 * var(--u));
  font-weight: 600;
  text-transform: uppercase;
}

.profile-task-badge-dot {
  width: calc(6 * var(--u));
  height: calc(6 * var(--u));
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.7);
  animation: taskPulse 1.8s infinite;
}

@keyframes taskPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }

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

.profile-task-detail {
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-task-timer {
  font-size: calc(11 * var(--u));
  color: #7983f5;
  font-family: monospace;
}

.profile-task-stop-btn {
  padding: calc(6 * var(--u)) calc(12 * var(--u));
  border-radius: calc(6 * var(--u));
  background: rgba(237, 66, 69, 0.16);
  border: 1px solid rgba(237, 66, 69, 0.4);
  color: #ff6b6b;
  font-size: calc(11 * var(--u));
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.profile-task-stop-btn:hover {
  background: rgba(237, 66, 69, 0.3);
  color: #fff;
}


.page-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(18 * var(--u))) scale(0.985);
  filter: blur(8px);
  transition: opacity 350ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 380ms cubic-bezier(0.22, 0.61, 0.36, 1), visibility 380ms;
  z-index: 4;
}

.page-view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.page-view.is-leaving {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(calc(-18 * var(--u))) scale(0.985);
  filter: blur(8px);
}

.page-view.is-entering {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(calc(22 * var(--u))) scale(0.98);
  filter: blur(10px);
}

.page-view--home {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-view--sub {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  padding: calc(100 * var(--u)) calc(30 * var(--u)) calc(70 * var(--u));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.page-view--sub::-webkit-scrollbar {
  width: calc(6 * var(--u));
}

.page-view--sub::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: calc(3 * var(--u));
}

.view-container {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: calc(1120 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(26 * var(--u));
}

.view-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: calc(8 * var(--u));
}

.view-tag {
  display: inline-flex;
  align-items: center;
  padding: calc(4 * var(--u)) calc(12 * var(--u));
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(999 * var(--u));
  font-size: calc(11 * var(--u));
  letter-spacing: calc(0.8 * var(--u));
  text-transform: uppercase;
  color: var(--ink-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.view-title {
  font-size: calc(36 * var(--u));
  font-weight: 500;
  letter-spacing: calc(-0.8 * var(--u));
  color: var(--ink);
  line-height: 1.15;
}

.view-subtitle {
  max-width: calc(660 * var(--u));
  font-size: calc(14 * var(--u));
  color: var(--ink-soft);
  line-height: 1.5;
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(18 * var(--u));
  width: 100%;
}

.view-grid--duo {
  grid-template-columns: repeat(2, 1fr);
}

.view-card {
  position: relative;
  z-index: 4;
  background: rgba(30, 33, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(20 * var(--u));
  padding: calc(22 * var(--u));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 calc(14 * var(--u)) calc(36 * var(--u)) rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}

.view-card:hover {
  transform: translateY(calc(-3 * var(--u)));
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(30, 33, 26, 0.92);
}

.view-card-icon {
  width: calc(38 * var(--u));
  height: calc(38 * var(--u));
  border-radius: calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-card-icon svg {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
}

.view-card-title {
  font-size: calc(16 * var(--u));
  font-weight: 500;
  color: var(--ink);
}

.view-card-desc {
  font-size: calc(13 * var(--u));
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}

.view-card-action {
  align-self: flex-start;
  margin-top: calc(6 * var(--u));
  padding: calc(8 * var(--u)) calc(16 * var(--u));
  border-radius: calc(8 * var(--u));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: calc(12 * var(--u));
  font-family: inherit;
  font-weight: 400;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 150ms ease;
}

.view-card-action:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(calc(-1 * var(--u)));
}

.view-card-action:active {
  transform: scale(0.97);
}

.view-downloader-box {
  position: relative;
  z-index: 4;
  background: rgba(30, 33, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(20 * var(--u));
  padding: calc(20 * var(--u)) calc(24 * var(--u));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--u));
  box-shadow: 0 calc(14 * var(--u)) calc(36 * var(--u)) rgba(0, 0, 0, 0.35);
}

.view-input-row {
  display: flex;
  gap: calc(10 * var(--u));
  align-items: center;
  width: 100%;
}

.view-input-url {
  flex: 1;
  padding: calc(12 * var(--u)) calc(16 * var(--u));
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(10 * var(--u));
  color: var(--ink);
  font-size: calc(13 * var(--u));
  font-family: inherit;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.view-input-url:focus {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.45);
}

.view-input-url.is-invalid {
  border-color: #f04747;
  box-shadow: 0 0 calc(8 * var(--u)) rgba(240, 71, 71, 0.4);
}

.view-download-btn {
  padding: calc(12 * var(--u)) calc(24 * var(--u));
  background: #5865F2;
  border: none;
  border-radius: calc(10 * var(--u));
  color: #fff;
  font-size: calc(13 * var(--u));
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease, transform 150ms ease;
}

.view-download-btn:hover {
  background: #4752c4;
  transform: translateY(calc(-1 * var(--u)));
}

.view-download-btn:active {
  transform: scale(0.97);
}

.view-platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8 * var(--u));
}

.view-platform-chip {
  padding: calc(6 * var(--u)) calc(12 * var(--u));
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  font-family: inherit;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 180ms ease;
  user-select: none;
}

.view-platform-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.2);
}

.view-platform-chip.is-selected {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.6);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 0 calc(10 * var(--u)) rgba(88, 101, 242, 0.25);
}

.view-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.view-input-wrapper .view-input-url {
  width: 100%;
  padding-right: calc(36 * var(--u));
}

.view-input-clear {
  position: absolute;
  right: calc(10 * var(--u));
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: calc(18 * var(--u));
  cursor: pointer;
  padding: 0 calc(4 * var(--u));
  line-height: 1;
  transition: color 150ms ease;
}

.view-input-clear:hover {
  color: #fff;
}

.downloader-alert {
  padding: calc(10 * var(--u)) calc(14 * var(--u));
  background: rgba(240, 71, 71, 0.16);
  border: 1px solid rgba(240, 71, 71, 0.35);
  border-radius: calc(8 * var(--u));
  color: #ff8585;
  font-size: calc(12 * var(--u));
}

.downloader-loading {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  padding: calc(14 * var(--u));
  background: rgba(0, 0, 0, 0.25);
  border-radius: calc(10 * var(--u));
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.downloader-spinner {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #5865F2;
  border-radius: 50%;
  animation: downloaderSpin 700ms linear infinite;
}

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

.downloader-loading-text {
  font-size: calc(12 * var(--u));
  color: var(--ink-soft);
}

.downloader-result-container {
  margin-top: calc(8 * var(--u));
  background: rgba(18, 20, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(14 * var(--u));
  padding: calc(18 * var(--u));
  backdrop-filter: blur(25px);
  box-shadow: 0 calc(10 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, 0.4);
}

.downloader-card-header {
  margin-bottom: calc(14 * var(--u));
  padding-bottom: calc(10 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.downloader-meta-left {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.downloader-platform-tag {
  align-self: flex-start;
  padding: calc(3 * var(--u)) calc(8 * var(--u));
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 600;
  color: #7983f5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.downloader-duration-tag {
  align-self: flex-start;
  font-size: calc(11 * var(--u));
  color: var(--ink-soft);
}

.downloader-title {
  font-size: calc(15 * var(--u));
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
  margin: calc(4 * var(--u)) 0 0 0;
}

.downloader-author {
  font-size: calc(12 * var(--u));
  color: var(--ink-soft);
  margin: 0;
}

.downloader-content-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: calc(18 * var(--u));
}

@media (max-width: 768px) {
  .downloader-content-layout {
    grid-template-columns: 1fr;
  }
}

.downloader-preview-video-box,
.downloader-preview-image-box {
  width: 100%;
  border-radius: calc(10 * var(--u));
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.downloader-preview-player {
  width: 100%;
  max-height: calc(320 * var(--u));
  display: block;
  outline: none;
}

.downloader-preview-img {
  width: 100%;
  height: auto;
  max-height: calc(320 * var(--u));
  object-fit: cover;
  display: block;
}

.downloader-preview-audio-box {
  padding: calc(14 * var(--u));
  background: rgba(0, 0, 0, 0.4);
  border-radius: calc(10 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  align-items: center;
}

.downloader-audio-art {
  width: calc(120 * var(--u));
  height: calc(120 * var(--u));
  border-radius: calc(8 * var(--u));
  object-fit: cover;
}

.downloader-audio-player {
  width: 100%;
  outline: none;
}

.downloader-links-col {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
}

.downloader-links-heading {
  font-size: calc(13 * var(--u));
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0;
}

.downloader-options-list {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
}

.downloader-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--u));
  padding: calc(12 * var(--u)) calc(14 * var(--u));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(10 * var(--u));
  transition: all 180ms ease;
}

.downloader-option-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.downloader-option-info {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.downloader-option-label {
  font-size: calc(13 * var(--u));
  font-weight: 500;
  color: var(--ink);
}

.downloader-option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6 * var(--u));
}

.downloader-pill-quality {
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  background: rgba(255, 255, 255, 0.08);
  border-radius: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  color: var(--ink-soft);
}

.downloader-pill-format {
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  background: rgba(88, 101, 242, 0.16);
  border-radius: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  color: #7983f5;
  font-weight: 600;
}

.downloader-pill-nowm {
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  background: rgba(67, 181, 129, 0.18);
  border-radius: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  color: #57f287;
  font-weight: 600;
}

.downloader-option-actions {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
}

.downloader-action-btn {
  padding: calc(8 * var(--u)) calc(16 * var(--u));
  border-radius: calc(8 * var(--u));
  font-size: calc(12 * var(--u));
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 160ms ease;
  white-space: nowrap;
}

.downloader-action-btn--primary {
  background: #5865F2;
  color: #fff;
  border: none;
}

.downloader-action-btn--primary:hover {
  background: #4752c4;
  transform: translateY(calc(-1 * var(--u)));
}

.downloader-action-btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.downloader-action-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.downloader-action-btn.is-copied {
  background: rgba(67, 181, 129, 0.2);
  border-color: rgba(67, 181, 129, 0.5);
  color: #57f287;
}

.view-grid--trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(14 * var(--u));
}

.notranslate {
  translate: no;
}

.token-secret-field {
  -webkit-text-security: disc !important;
}

.token-secret-field.is-revealed {
  -webkit-text-security: none !important;
}



.profile-detail-item--clickable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.profile-detail-item--clickable:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.08);
}

.profile-detail-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.profile-view-pill-btn {
  background: rgba(88, 101, 242, 0.16);
  color: #7983f5;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.profile-view-pill-btn:hover {
  background: #5865f2;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-modal--secondary {
  z-index: 105;
}

.guilds-modal-card,
.connections-modal-card {
  width: min(calc(840 * var(--u)), 95vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: calc(22 * var(--u));
}

.guilds-modal-header,
.connections-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14 * var(--u));
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.guilds-modal-title-col,
.connections-modal-title-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.guilds-modal-header-actions {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.guilds-search-input {
  height: calc(34 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(8 * var(--u));
  color: #fff;
  padding: 0 calc(12 * var(--u));
  font-size: calc(12 * var(--u));
  width: calc(200 * var(--u));
  outline: none;
  transition: border-color 0.2s;
}

.guilds-search-input:focus {
  border-color: #5865f2;
}

.guilds-modal-close-btn {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ccc;
  font-size: calc(20 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.guilds-modal-close-btn:hover {
  background: rgba(237, 66, 69, 0.25);
  color: #ed4245;
}

.guilds-modal-body,
.connections-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: calc(16 * var(--u)) calc(4 * var(--u));
  min-height: calc(240 * var(--u));
  max-height: 60vh;
}

.guilds-cards-grid,
.connections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(240 * var(--u)), 1fr));
  gap: calc(12 * var(--u));
}

.guild-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.guild-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.guild-card-banner {
  height: calc(64 * var(--u));
  background-size: cover;
  background-position: center;
  background-color: rgba(88, 101, 242, 0.15);
  position: relative;
}

.guild-card-body {
  padding: calc(12 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  flex: 1;
}

.guild-card-icon-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: calc(-32 * var(--u));
  margin-bottom: calc(4 * var(--u));
}

.guild-card-icon {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  object-fit: cover;
  border: calc(3 * var(--u)) solid #232820;
  background: #1a1d18;
  flex-shrink: 0;
}

.guild-card-initials {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  border: calc(3 * var(--u)) solid #232820;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: calc(15 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guild-owner-tag {
  background: rgba(250, 166, 26, 0.16);
  color: #faa61a;
  border: 1px solid rgba(250, 166, 26, 0.35);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
}

.guild-card-title {
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.guild-card-meta-line {
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(6 * var(--u));
}

.guild-code-tag {
  background: rgba(0, 0, 0, 0.35);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-family: monospace;
  font-size: calc(10.5 * var(--u));
  color: #7983f5;
  cursor: pointer;
  user-select: all;
}

.guild-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u));
  max-height: calc(48 * var(--u));
  overflow-y: auto;
  margin-top: auto;
  padding-top: calc(4 * var(--u));
}

.guild-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-size: calc(9.5 * var(--u));
  text-transform: uppercase;
  font-weight: 600;
}

.connection-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  padding: calc(14 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  transition: all 0.2s;
}

.connection-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.connection-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
}

.connection-type-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
  color: #5865f2;
  text-transform: uppercase;
  background: rgba(88, 101, 242, 0.12);
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.connection-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
  color: #57f287;
  background: rgba(87, 242, 135, 0.12);
  border: 1px solid rgba(87, 242, 135, 0.3);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
}

.connection-name-title {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
  word-break: break-all;
  margin: 0;
}

.connection-details-list {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.65);
}

.connection-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.connection-detail-val {
  color: #d1d5db;
  font-weight: 600;
}

.guilds-empty-notice,
.connections-empty-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: calc(13 * var(--u));
  padding: calc(40 * var(--u)) 0;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .view-grid--trio {
    grid-template-columns: 1fr;
  }
}

.is-hidden {
  display: none !important;
}

.view-about-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: calc(18 * var(--u));
  width: 100%;
}

.view-about-layout--security {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: calc(18 * var(--u));
  width: 100%;
}

.view-dev-badge {
  font-size: calc(10 * var(--u));
  text-transform: uppercase;
  letter-spacing: calc(0.8 * var(--u));
  color: #a4d994;
  font-weight: 500;
}

.view-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8 * var(--u));
  margin-top: calc(6 * var(--u));
}

.view-meta-pill {
  padding: calc(4 * var(--u)) calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  color: var(--ink);
}

.view-specs-title {
  font-size: calc(15 * var(--u));
  font-weight: 500;
  color: var(--ink);
  margin-bottom: calc(4 * var(--u));
}

.view-specs-list {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
}

.view-spec-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(8 * var(--u)) calc(12 * var(--u));
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(8 * var(--u));
}

.view-spec-key {
  font-size: calc(12 * var(--u));
  color: var(--ink-soft);
}

.view-spec-val {
  font-size: calc(12 * var(--u));
  color: var(--ink);
  font-weight: 400;
  text-align: right;
  max-width: 65%;
  word-break: break-word;
}

.view-about-left-col,
.view-about-right-col {
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
}

.security-status-box {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  font-size: calc(13 * var(--u));
  color: #38bdf8;
  min-height: calc(20 * var(--u));
}

.security-status-box.is-error {
  color: #f87171;
}

.security-status-box.is-success {
  color: #4ade80;
}

.security-spinner {
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: securitySpin 0.75s linear infinite;
  flex-shrink: 0;
}

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

.counter {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.counter__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.counter__row {
  display: inline-flex;
  align-items: baseline;
  margin: 0 calc(var(--counter-gap, 0px) / -2);
  user-select: none;
  -webkit-user-select: none;
}

.counter__affix,
.counter__digit,
.counter__symbol {
  margin: 0 calc(var(--counter-gap, 0px) / 2 * var(--counter-shown, 1));
  opacity: var(--counter-shown, 1);
}

.counter__affix {
  white-space: pre;
}

.counter__digit {
  position: relative;
  display: inline-block;
  box-sizing: content-box;
  line-height: calc(1em + var(--counter-padding, 0px));
  text-align: center;
}

.counter__sizer {
  visibility: hidden;
}

.counter__window {
  position: absolute;
  top: calc(var(--counter-fade, 0em) * -1);
  right: 0;
  bottom: calc(var(--counter-fade, 0em) * -1);
  left: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.0355) calc(var(--counter-fade, 0.3em) * 0.1667), rgba(0, 0, 0, 0.2099) calc(var(--counter-fade, 0.3em) * 0.3333), rgba(0, 0, 0, 0.5) calc(var(--counter-fade, 0.3em) * 0.5), rgba(0, 0, 0, 0.7901) calc(var(--counter-fade, 0.3em) * 0.6667), rgba(0, 0, 0, 0.9645) calc(var(--counter-fade, 0.3em) * 0.8333), #000 var(--counter-fade, 0.3em), #000 calc(100% - var(--counter-fade, 0.3em)), rgba(0, 0, 0, 0.9645) calc(100% - var(--counter-fade, 0.3em) * 0.8333), rgba(0, 0, 0, 0.7901) calc(100% - var(--counter-fade, 0.3em) * 0.6667), rgba(0, 0, 0, 0.5) calc(100% - var(--counter-fade, 0.3em) * 0.5), rgba(0, 0, 0, 0.2099) calc(100% - var(--counter-fade, 0.3em) * 0.3333), rgba(0, 0, 0, 0.0355) calc(100% - var(--counter-fade, 0.3em) * 0.1667), rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.0355) calc(var(--counter-fade, 0.3em) * 0.1667), rgba(0, 0, 0, 0.2099) calc(var(--counter-fade, 0.3em) * 0.3333), rgba(0, 0, 0, 0.5) calc(var(--counter-fade, 0.3em) * 0.5), rgba(0, 0, 0, 0.7901) calc(var(--counter-fade, 0.3em) * 0.6667), rgba(0, 0, 0, 0.9645) calc(var(--counter-fade, 0.3em) * 0.8333), #000 var(--counter-fade, 0.3em), #000 calc(100% - var(--counter-fade, 0.3em)), rgba(0, 0, 0, 0.9645) calc(100% - var(--counter-fade, 0.3em) * 0.8333), rgba(0, 0, 0, 0.7901) calc(100% - var(--counter-fade, 0.3em) * 0.6667), rgba(0, 0, 0, 0.5) calc(100% - var(--counter-fade, 0.3em) * 0.5), rgba(0, 0, 0, 0.2099) calc(100% - var(--counter-fade, 0.3em) * 0.3333), rgba(0, 0, 0, 0.0355) calc(100% - var(--counter-fade, 0.3em) * 0.1667), rgba(0, 0, 0, 0) 100%);
}

.counter__strip {
  position: absolute;
  inset: 0;
}

.counter__numeral {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.counter__symbol {
  position: relative;
  display: inline-flex;
  justify-content: center;
  clip-path: inset(-0.5em 0);
}

.counter__symbol-text {
  display: inline-block;
  white-space: pre;
}

.counter__blur {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.security-clock-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--u));
  align-items: center;
  padding: calc(24 * var(--u)) calc(24 * var(--u));
}

.security-clock-header {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.security-clock-live-indicator {
  position: relative;
  width: calc(10 * var(--u));
  height: calc(10 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-clock-live-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #38bdf8;
  opacity: 0.75;
  animation: clockPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.security-clock-live-dot {
  width: calc(8 * var(--u));
  height: calc(8 * var(--u));
  border-radius: 50%;
  background: #38bdf8;
}

@keyframes clockPing {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.security-clock-title {
  font-size: calc(14 * var(--u));
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: calc(0.5 * var(--u));
}

.security-clock-badge {
  font-size: calc(10 * var(--u));
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  border-radius: calc(4 * var(--u));
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-weight: 600;
}

.security-clock-display-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(8 * var(--u)) 0;
  width: 100%;
}

.security-card-icon {
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  min-width: calc(52 * var(--u));
  min-height: calc(52 * var(--u));
  max-width: calc(52 * var(--u));
  max-height: calc(52 * var(--u));
  border-radius: calc(14 * var(--u));
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  box-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, 0.35), 0 0 calc(18 * var(--u)) rgba(74, 222, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(4 * var(--u));
  overflow: hidden;
  flex-shrink: 0;
}

.security-card-icon-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.45));
}

.about-video-wrapper {
  width: 100%;
  max-width: calc(360 * var(--u));
  margin: calc(12 * var(--u)) auto;
  border-radius: calc(16 * var(--u));
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 calc(12 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: calc(640 * var(--u));
  object-fit: contain;
  background: #000;
  border-radius: calc(15 * var(--u));
}

.card[data-navigate],
.knob[data-navigate] {
  cursor: pointer;
}

.notranslate {
  translate: no;
}

.token-secret-field {
  -webkit-text-security: disc !important;
}

.token-secret-field.is-revealed {
  -webkit-text-security: none !important;
}



.profile-detail-item--clickable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.profile-detail-item--clickable:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.08);
}

.profile-detail-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.profile-view-pill-btn {
  background: rgba(88, 101, 242, 0.16);
  color: #7983f5;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.profile-view-pill-btn:hover {
  background: #5865f2;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-modal--secondary {
  z-index: 105;
}

.guilds-modal-card,
.connections-modal-card {
  width: min(calc(840 * var(--u)), 95vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: calc(22 * var(--u));
}

.guilds-modal-header,
.connections-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14 * var(--u));
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.guilds-modal-title-col,
.connections-modal-title-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.guilds-modal-header-actions {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.guilds-search-input {
  height: calc(34 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(8 * var(--u));
  color: #fff;
  padding: 0 calc(12 * var(--u));
  font-size: calc(12 * var(--u));
  width: calc(200 * var(--u));
  outline: none;
  transition: border-color 0.2s;
}

.guilds-search-input:focus {
  border-color: #5865f2;
}

.guilds-modal-close-btn {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ccc;
  font-size: calc(20 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.guilds-modal-close-btn:hover {
  background: rgba(237, 66, 69, 0.25);
  color: #ed4245;
}

.guilds-modal-body,
.connections-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: calc(16 * var(--u)) calc(4 * var(--u));
  min-height: calc(240 * var(--u));
  max-height: 60vh;
}

.guilds-cards-grid,
.connections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(240 * var(--u)), 1fr));
  gap: calc(12 * var(--u));
}

.guild-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.guild-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.guild-card-banner {
  height: calc(64 * var(--u));
  background-size: cover;
  background-position: center;
  background-color: rgba(88, 101, 242, 0.15);
  position: relative;
}

.guild-card-body {
  padding: calc(12 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  flex: 1;
}

.guild-card-icon-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: calc(-32 * var(--u));
  margin-bottom: calc(4 * var(--u));
}

.guild-card-icon {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  object-fit: cover;
  border: calc(3 * var(--u)) solid #232820;
  background: #1a1d18;
  flex-shrink: 0;
}

.guild-card-initials {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  border: calc(3 * var(--u)) solid #232820;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: calc(15 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guild-owner-tag {
  background: rgba(250, 166, 26, 0.16);
  color: #faa61a;
  border: 1px solid rgba(250, 166, 26, 0.35);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
}

.guild-card-title {
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.guild-card-meta-line {
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(6 * var(--u));
}

.guild-code-tag {
  background: rgba(0, 0, 0, 0.35);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-family: monospace;
  font-size: calc(10.5 * var(--u));
  color: #7983f5;
  cursor: pointer;
  user-select: all;
}

.guild-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u));
  max-height: calc(48 * var(--u));
  overflow-y: auto;
  margin-top: auto;
  padding-top: calc(4 * var(--u));
}

.guild-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-size: calc(9.5 * var(--u));
  text-transform: uppercase;
  font-weight: 600;
}

.connection-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  padding: calc(14 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  transition: all 0.2s;
}

.connection-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.connection-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
}

.connection-type-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
  color: #5865f2;
  text-transform: uppercase;
  background: rgba(88, 101, 242, 0.12);
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.connection-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
  color: #57f287;
  background: rgba(87, 242, 135, 0.12);
  border: 1px solid rgba(87, 242, 135, 0.3);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
}

.connection-name-title {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
  word-break: break-all;
  margin: 0;
}

.connection-details-list {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.65);
}

.connection-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.connection-detail-val {
  color: #d1d5db;
  font-weight: 600;
}

.guilds-empty-notice,
.connections-empty-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: calc(13 * var(--u));
  padding: calc(40 * var(--u)) 0;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .page-view--sub {
    padding: calc(120 * var(--u)) calc(20 * var(--u)) calc(40 * var(--u));
  }

  .view-grid {
    grid-template-columns: 1fr;
  }

  .view-grid--duo {
    grid-template-columns: 1fr;
  }

  .view-about-layout,
  .view-about-layout--security {
    grid-template-columns: 1fr;
  }

  .view-input-row {
    flex-direction: column;
  }

  .view-download-btn {
    width: 100%;
  }
}

.hypesquad-card-icon {
  color: #9c84ef;
}

.hypesquad-house-selector {
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--u));
  width: 100%;
}

.hypesquad-radio-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hypesquad-house-option {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  border-radius: calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 150ms var(--ease);
}

.hypesquad-house-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(calc(-1 * var(--u)));
}

.hypesquad-house-option.is-active {
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 0 calc(12 * var(--u)) rgba(88, 101, 242, 0.22);
}

.hypesquad-house-badge {
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hypesquad-house-badge svg {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
}

.hypesquad-house-badge--bravery {
  color: #9c84ef;
}

.hypesquad-house-badge--brilliance {
  color: #f47b67;
}

.hypesquad-house-badge--balance {
  color: #45ddc0;
}

.hypesquad-house-info {
  display: flex;
  flex-direction: column;
  gap: calc(1 * var(--u));
}

.hypesquad-house-name {
  font-size: calc(12 * var(--u));
  font-weight: 600;
  color: var(--ink);
}

.hypesquad-house-sub {
  font-size: calc(10.5 * var(--u));
  color: var(--ink-soft);
}

.hypesquad-token-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.hypesquad-token-input {
  width: 100%;
  padding: calc(9 * var(--u)) calc(34 * var(--u)) calc(9 * var(--u)) calc(12 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(8 * var(--u));
  color: var(--ink);
  font-size: calc(11.5 * var(--u));
  font-family: monospace;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}

.hypesquad-token-input:focus {
  border-color: rgba(88, 101, 242, 0.7);
  background: rgba(0, 0, 0, 0.5);
}

.hypesquad-toggle-token-btn {
  position: absolute;
  right: calc(6 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--ink-faint);
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: calc(4 * var(--u));
  transition: color 150ms ease;
}

.hypesquad-toggle-token-btn:hover {
  color: var(--ink);
}

.hypesquad-toggle-token-btn svg {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
}

.hypesquad-btn-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.hypesquad-claim-btn {
  flex: 1;
  background: #5865F2;
  border: none;
  color: #fff;
  font-weight: 500;
  text-align: center;
  justify-content: center;
}

.hypesquad-claim-btn:hover {
  background: #4752c4;
}

.hypesquad-leave-btn {
  background: rgba(240, 71, 71, 0.12);
  border: 1px solid rgba(240, 71, 71, 0.28);
  color: #f04747;
  font-weight: 500;
}

.hypesquad-leave-btn:hover {
  background: rgba(240, 71, 71, 0.22);
  border-color: rgba(240, 71, 71, 0.45);
}

.hypesquad-feedback {
  display: none;
  width: 100%;
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  line-height: 1.4;
}

.hypesquad-feedback.is-success {
  background: rgba(87, 242, 135, 0.14);
  color: #57f287;
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.hypesquad-feedback.is-error {
  background: rgba(237, 66, 69, 0.14);
  color: #ed4245;
  border: 1px solid rgba(237, 66, 69, 0.3);
}

.discord-submenu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(6 * var(--u));
  padding: calc(6 * var(--u)) calc(10 * var(--u));
  background: rgba(28, 31, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(14 * var(--u));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(0, 0, 0, 0.25);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto calc(4 * var(--u));
}

.discord-submenu-btn {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  padding: calc(7 * var(--u)) calc(14 * var(--u));
  background: transparent;
  border: 1px solid transparent;
  border-radius: calc(10 * var(--u));
  color: var(--ink-soft);
  font-family: inherit;
  font-size: calc(12 * var(--u));
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), transform 150ms var(--ease);
}

.discord-submenu-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.discord-submenu-btn.is-active {
  color: #fff;
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.55);
  box-shadow: 0 0 calc(10 * var(--u)) rgba(88, 101, 242, 0.25);
  font-weight: 500;
}

.discord-submenu-icon {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-submenu-icon svg {
  width: 100%;
  height: 100%;
}

.discord-submenu-badge-img {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.hypesquad-header-badge-img {
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.hypesquad-house-img {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.quests-header-badge-img {
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.games-header-badge-img,
.voice-header-badge-img {
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.quests-token-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.quests-token-input {
  width: 100%;
  padding: calc(7 * var(--u)) calc(30 * var(--u)) calc(7 * var(--u)) calc(10 * var(--u));
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(8 * var(--u));
  color: var(--ink);
  font-size: calc(11 * var(--u));
  font-family: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quests-token-input:focus {
  outline: none;
  border-color: #5865f2;
  box-shadow: 0 0 0 calc(2 * var(--u)) rgba(88, 101, 242, 0.25);
}

.quests-toggle-token-btn {
  position: absolute;
  right: calc(6 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--ink-faint);
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 150ms ease;
}

.quests-toggle-token-btn:hover {
  color: var(--ink);
}

.quests-toggle-token-btn svg {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
}

.quests-options-row {
  display: flex;
  flex-direction: column;
  gap: calc(5 * var(--u));
  width: 100%;
}

.quests-checkbox-label {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(10.5 * var(--u));
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.quests-checkbox-label input[type="checkbox"] {
  accent-color: #5865f2;
  cursor: pointer;
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
}

.quests-btn-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.quests-scan-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink);
  font-weight: 500;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.quests-scan-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.quests-start-btn {
  background: #5865f2;
  border: none;
  color: #fff;
  font-weight: 500;
  flex: 1.5;
  text-align: center;
  justify-content: center;
}

.quests-start-btn:hover {
  background: #4752c4;
}

.quests-stop-btn {
  background: rgba(240, 71, 71, 0.15);
  border: 1px solid rgba(240, 71, 71, 0.35);
  color: #f04747;
  font-weight: 500;
  flex: 1.5;
  text-align: center;
  justify-content: center;
}

.quests-stop-btn:hover {
  background: rgba(240, 71, 71, 0.25);
  border-color: rgba(240, 71, 71, 0.5);
}

.quests-list-container {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  width: 100%;
  max-height: calc(460 * var(--u));
  overflow-y: auto;
  padding-right: calc(6 * var(--u));
}

.quests-list-container::-webkit-scrollbar {
  width: calc(4 * var(--u));
}

.quests-list-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: calc(2 * var(--u));
}

.quests-empty-state {
  font-size: calc(10.5 * var(--u));
  color: var(--ink-faint);
  text-align: center;
  padding: calc(12 * var(--u));
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: calc(8 * var(--u));
}

.quest-discord-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  min-height: calc(180 * var(--u));
  border-radius: calc(12 * var(--u));
  background: rgba(18, 20, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, border-color 180ms ease;
}

.quest-discord-card:hover {
  border-color: rgba(88, 101, 242, 0.4);
}

.quest-discord-card.is-completed {
  border-color: rgba(87, 242, 135, 0.35);
}

.quest-discord-card.is-expired {
  opacity: 0.62;
  filter: grayscale(0.25);
}

.quest-discord-card.is-expired:hover {
  opacity: 0.88;
}

.quest-discord-hero {
  position: relative;
  width: 100%;
  height: calc(115 * var(--u));
  min-height: calc(115 * var(--u));
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(9 * var(--u)) calc(12 * var(--u));
  overflow: hidden;
  background: linear-gradient(135deg, #181a24, #232738);
}

.quest-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 1;
}

.quest-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.45) 0%, rgba(15, 17, 23, 0.92) 100%);
  pointer-events: none;
  z-index: 2;
}

.quest-hero-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.quest-hero-expiry {
  font-size: calc(9.5 * var(--u));
  color: var(--ink-faint);
  background: rgba(0, 0, 0, 0.55);
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  border-radius: calc(4 * var(--u));
  backdrop-filter: blur(4px);
}

.quest-hero-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: calc(3 * var(--u));
  width: 100%;
}

.quest-hero-brand-row {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  width: 100%;
}

.quest-game-thumb-wrapper {
  width: calc(38 * var(--u));
  height: calc(38 * var(--u));
  border-radius: calc(8 * var(--u));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, 0.5);
}

.quest-game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quest-hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  min-width: 0;
  flex: 1;
}

.quest-hero-title {
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
  color: #fff;
  text-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.8);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quest-hero-publisher {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  color: rgba(255, 255, 255, 0.8);
}

.quest-publisher-name {
  color: #fff;
  font-weight: 600;
}

.quest-verified-badge {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  flex-shrink: 0;
}

.quest-discord-content {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  flex-shrink: 0;
}

.quest-content-row {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.quest-orb-wrapper {
  position: relative;
  width: calc(44 * var(--u));
  height: calc(44 * var(--u));
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, rgba(0, 0, 0, 0.6) 80%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.quest-orb-img,
.quest-orb-video {
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  object-fit: contain;
  pointer-events: none;
}

.quest-orb-percent {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #5865f2;
  color: #fff;
  font-size: calc(8 * var(--u));
  font-weight: 700;
  padding: calc(1 * var(--u)) calc(3 * var(--u));
  border-radius: calc(3 * var(--u));
}

.quest-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  min-width: 0;
  flex: 1;
}

.quest-tagline {
  font-size: calc(9.5 * var(--u));
  font-weight: 600;
  color: #9c84ef;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.quest-reward-row {
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  flex-wrap: wrap;
}

.quest-reward-label {
  font-size: calc(12 * var(--u));
  color: var(--ink-soft);
}

.quest-reward-highlight {
  font-size: calc(13 * var(--u));
  font-weight: 700;
  color: #fff;
}

.quest-multiplier-badge {
  background: rgba(156, 132, 239, 0.2);
  color: #9c84ef;
  border: 1px solid rgba(156, 132, 239, 0.4);
  font-size: calc(9 * var(--u));
  font-weight: 600;
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(10 * var(--u));
}

.quest-req-desc {
  font-size: calc(10 * var(--u));
  color: var(--ink-faint);
  margin: 0;
  line-height: 1.35;
}

.quest-progress-box {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  width: 100%;
}

.quest-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: calc(9.5 * var(--u));
  color: var(--ink-faint);
}

.quest-discord-actions {
  display: flex;
  width: 100%;
}

.quest-btn {
  width: 100%;
  padding: calc(7 * var(--u)) calc(12 * var(--u));
  border-radius: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: background 160ms ease, opacity 160ms ease;
}

.quest-btn--enroll {
  background: #5865f2;
  color: #fff;
}

.quest-btn--enroll:hover {
  background: #4752c4;
}

.quest-btn--running {
  background: rgba(88, 101, 242, 0.2);
  color: #8ea1e1;
  border: 1px solid rgba(88, 101, 242, 0.4);
  cursor: default;
}

.quest-btn--claim {
  background: linear-gradient(90deg, #5865f2, #2ecc71);
  color: #fff;
}

.quest-btn--claim:hover {
  opacity: 0.92;
}

.quest-btn--claimed {
  background: rgba(87, 242, 135, 0.15);
  color: #57f287;
  border: 1px solid rgba(87, 242, 135, 0.3);
  cursor: default;
}

.quest-badge {
  font-size: calc(9 * var(--u));
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  border-radius: calc(4 * var(--u));
  font-weight: 500;
  text-transform: uppercase;
}

.quest-badge--task {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
}

.quest-badge--status-unaccepted {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.quest-badge--status-running {
  background: rgba(88, 101, 242, 0.2);
  color: #5865f2;
  border: 1px solid rgba(88, 101, 242, 0.4);
}

.quest-badge--status-done {
  background: rgba(87, 242, 135, 0.15);
  color: #57f287;
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.quest-progress-track {
  width: 100%;
  height: calc(5 * var(--u));
  background: rgba(0, 0, 0, 0.3);
  border-radius: calc(3 * var(--u));
  overflow: hidden;
  position: relative;
}

.quest-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #5865f2, #57f287);
  border-radius: calc(3 * var(--u));
  transition: width 240ms ease;
}

.quests-feedback {
  display: none;
  width: 100%;
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  line-height: 1.4;
}

.quests-feedback.is-success {
  background: rgba(87, 242, 135, 0.14);
  color: #57f287;
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.quests-feedback.is-error {
  background: rgba(237, 66, 69, 0.14);
  color: #ed4245;
  border: 1px solid rgba(237, 66, 69, 0.3);
}

.games-card-icon {
  color: #5865f2;
}

.games-token-wrapper,
.games-cookie-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.games-token-input,
.games-cookie-input {
  width: 100%;
  padding: calc(7 * var(--u)) calc(30 * var(--u)) calc(7 * var(--u)) calc(10 * var(--u));
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(8 * var(--u));
  color: var(--ink);
  font-size: calc(11 * var(--u));
  font-family: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.games-cookie-input {
  padding-right: calc(10 * var(--u));
  font-size: calc(10.5 * var(--u));
}

.games-token-input:focus,
.games-cookie-input:focus {
  outline: none;
  border-color: #5865f2;
  box-shadow: 0 0 0 calc(2 * var(--u)) rgba(88, 101, 242, 0.25);
}

.games-toggle-token-btn {
  position: absolute;
  right: calc(6 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--ink-faint);
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 150ms ease;
}

.games-toggle-token-btn:hover {
  color: var(--ink);
}

.games-toggle-token-btn svg {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
}

.games-config-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.games-config-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  flex: 1;
}

.games-config-label {
  font-size: calc(10 * var(--u));
  color: var(--ink-soft);
  font-weight: 500;
}

.games-select {
  width: 100%;
  padding: calc(6 * var(--u)) calc(8 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(6 * var(--u));
  color: var(--ink);
  font-size: calc(11 * var(--u));
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.games-select:focus {
  border-color: #5865f2;
}

.games-select option {
  background: #181a20;
  color: #fff;
}

.games-btn-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.games-start-btn {
  background: #5865f2;
  border: none;
  color: #fff;
  font-weight: 600;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.games-start-btn:hover {
  background: #4752c4;
}

.games-stop-btn {
  background: rgba(240, 71, 71, 0.15);
  border: 1px solid rgba(240, 71, 71, 0.35);
  color: #f04747;
  font-weight: 600;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.games-stop-btn:hover {
  background: rgba(240, 71, 71, 0.25);
  border-color: rgba(240, 71, 71, 0.5);
}

.games-progress-box {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  width: 100%;
}

.games-progress-track {
  width: 100%;
  height: calc(6 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border-radius: calc(3 * var(--u));
  overflow: hidden;
}

.games-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #5865f2, #57f287);
  border-radius: calc(3 * var(--u));
  transition: width 200ms ease;
}

.games-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: calc(9.5 * var(--u));
  color: var(--ink-faint);
}

.games-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(6 * var(--u));
  width: 100%;
}

.games-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(2 * var(--u));
  padding: calc(6 * var(--u)) calc(4 * var(--u));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(6 * var(--u));
  text-align: center;
}

.games-stat-num {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
}

.games-stat-label {
  font-size: calc(8.5 * var(--u));
  color: var(--ink-faint);
}

.games-feedback {
  display: none;
  width: 100%;
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  line-height: 1.4;
}

.games-feedback.is-success {
  background: rgba(87, 242, 135, 0.14);
  color: #57f287;
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.games-feedback.is-error {
  background: rgba(237, 66, 69, 0.14);
  color: #ed4245;
  border: 1px solid rgba(237, 66, 69, 0.3);
}

.games-card-icon {
  color: #5865f2;
}

.games-token-wrapper,
.games-cookie-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.games-token-input,
.games-cookie-input {
  width: 100%;
  padding: calc(7 * var(--u)) calc(30 * var(--u)) calc(7 * var(--u)) calc(10 * var(--u));
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(8 * var(--u));
  color: var(--ink);
  font-size: calc(11 * var(--u));
  font-family: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.games-cookie-input {
  padding-right: calc(10 * var(--u));
  font-size: calc(10.5 * var(--u));
}

.games-token-input:focus,
.games-cookie-input:focus {
  outline: none;
  border-color: #5865f2;
  box-shadow: 0 0 0 calc(2 * var(--u)) rgba(88, 101, 242, 0.25);
}

.games-toggle-token-btn {
  position: absolute;
  right: calc(6 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--ink-faint);
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 150ms ease;
}

.games-toggle-token-btn:hover {
  color: var(--ink);
}

.games-toggle-token-btn svg {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
}

.games-config-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.games-config-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  flex: 1;
}

.games-config-label {
  font-size: calc(10 * var(--u));
  color: var(--ink-soft);
  font-weight: 500;
}

.games-select {
  width: 100%;
  padding: calc(6 * var(--u)) calc(8 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(6 * var(--u));
  color: var(--ink);
  font-size: calc(11 * var(--u));
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.games-select:focus {
  border-color: #5865f2;
}

.games-select option {
  background: #181a20;
  color: #fff;
}

.games-btn-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.games-start-btn {
  background: #5865f2;
  border: none;
  color: #fff;
  font-weight: 600;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.games-start-btn:hover {
  background: #4752c4;
}

.games-stop-btn {
  background: rgba(240, 71, 71, 0.15);
  border: 1px solid rgba(240, 71, 71, 0.35);
  color: #f04747;
  font-weight: 600;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.games-stop-btn:hover {
  background: rgba(240, 71, 71, 0.25);
  border-color: rgba(240, 71, 71, 0.5);
}

.games-progress-box {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  width: 100%;
}

.games-progress-track {
  width: 100%;
  height: calc(6 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border-radius: calc(3 * var(--u));
  overflow: hidden;
}

.games-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #5865f2, #57f287);
  border-radius: calc(3 * var(--u));
  transition: width 200ms ease;
}

.games-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: calc(9.5 * var(--u));
  color: var(--ink-faint);
}

.games-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(6 * var(--u));
  width: 100%;
}

.games-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(2 * var(--u));
  padding: calc(6 * var(--u)) calc(4 * var(--u));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(6 * var(--u));
  text-align: center;
}

.games-stat-num {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
}

.games-stat-label {
  font-size: calc(8.5 * var(--u));
  color: var(--ink-faint);
}

.games-feedback {
  display: none;
  width: 100%;
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  line-height: 1.4;
}

.games-feedback.is-success {
  background: rgba(87, 242, 135, 0.14);
  color: #57f287;
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.games-feedback.is-error {
  background: rgba(237, 66, 69, 0.14);
  color: #ed4245;
  border: 1px solid rgba(237, 66, 69, 0.3);
}

.quests-card-icon {
  color: #f1c40f;
}

.discord-projects-grid {
  transition: all 260ms var(--ease);
}

.discord-projects-grid.is-single-card {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.discord-projects-grid.is-single-card .discord-project-card.is-visible {
  width: 100% !important;
  max-width: calc(520 * var(--u)) !important;
  margin: 0 auto !important;
}

.discord-projects-grid.is-single-card .discord-project-card.is-visible.view-card--quests {
  max-width: calc(640 * var(--u)) !important;
}

.discord-project-card.is-hidden {
  display: none !important;
}

.discord-project-card.is-visible {
  display: flex !important;
  animation: fadeInDiscordProject 260ms var(--ease) forwards;
}

@keyframes fadeInDiscordProject {
  from {
    opacity: 0;
    transform: translateY(calc(8 * var(--u))) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.voice-card-icon {
  color: #57f287;
}

.voice-form {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  width: 100%;
  margin-top: calc(8 * var(--u));
}

.voice-channel-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.voice-channel-input-wrap {
  flex: 1;
  position: relative;
}

.voice-channel-input {
  width: 100%;
  height: calc(38 * var(--u));
  padding: 0 calc(12 * var(--u));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(8 * var(--u));
  color: #fff;
  font-size: calc(13 * var(--u));
  outline: none;
  transition: border-color 0.2s;
}

.voice-channel-input:focus {
  border-color: #5865f2;
}

.voice-check-btn {
  height: calc(38 * var(--u));
  padding: 0 calc(14 * var(--u));
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(8 * var(--u));
  color: #fff;
  font-size: calc(12 * var(--u));
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.voice-check-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.voice-preview-card {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: calc(8 * var(--u));
}

.voice-preview-guild-icon {
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-guild-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-preview-info {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  overflow: hidden;
}

.voice-preview-title {
  font-size: calc(13 * var(--u));
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-preview-details {
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.6);
}

.voice-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(8 * var(--u));
}

.voice-option-check {
  display: flex;
  cursor: pointer;
}

.voice-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.voice-option-box {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  width: 100%;
  padding: calc(8 * var(--u)) calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(8 * var(--u));
  transition: all 0.2s;
}

.voice-checkbox:checked+.voice-option-box {
  background: rgba(87, 242, 135, 0.08);
  border-color: rgba(87, 242, 135, 0.35);
}

.voice-option-name {
  font-size: calc(12 * var(--u));
  font-weight: 600;
  color: #fff;
}

.voice-checkbox:checked+.voice-option-box .voice-option-name {
  color: #57f287;
}

.voice-option-sub {
  font-size: calc(10 * var(--u));
  color: rgba(255, 255, 255, 0.5);
}

.voice-duration-section {
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--u));
}

.voice-section-label {
  font-size: calc(12 * var(--u));
  color: rgba(255, 255, 255, 0.75);
}

.voice-duration-select {
  height: calc(36 * var(--u));
  padding: 0 calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(8 * var(--u));
  color: #fff;
  font-size: calc(12 * var(--u));
  outline: none;
}

.voice-duration-select option {
  background: #18191c;
  color: #fff;
}

.voice-actions-row {
  display: flex;
  gap: calc(10 * var(--u));
  margin-top: calc(4 * var(--u));
}

.voice-btn {
  flex: 1;
  height: calc(40 * var(--u));
  border-radius: calc(8 * var(--u));
  font-size: calc(13 * var(--u));
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.voice-btn--connect {
  background: #5865f2;
  color: #fff;
}

.voice-btn--connect:hover:not(:disabled) {
  background: #4752c4;
}

.voice-btn--disconnect {
  background: rgba(237, 66, 69, 0.15);
  border: 1px solid rgba(237, 66, 69, 0.3);
  color: #ed4245;
}

.voice-btn--disconnect:hover:not(:disabled) {
  background: rgba(237, 66, 69, 0.25);
}

.voice-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.voice-status-panel {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  padding: calc(12 * var(--u));
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(10 * var(--u));
  margin-top: calc(4 * var(--u));
}

.voice-status-header {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.voice-status-avatar-wrap {
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.voice-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-status-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
}

.voice-status-name {
  font-size: calc(13 * var(--u));
  font-weight: 600;
  color: #fff;
}

.voice-status-badge {
  display: inline-block;
  font-size: calc(10 * var(--u));
  font-weight: 600;
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  border-radius: calc(4 * var(--u));
  background: rgba(87, 242, 135, 0.15);
  color: #57f287;
  align-self: flex-start;
}

.voice-status-badge.is-connecting {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
}

.voice-status-badge.is-disconnected {
  background: rgba(237, 66, 69, 0.15);
  color: #ed4245;
}

.voice-timer-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(2 * var(--u));
}

.voice-timer-label {
  font-size: calc(10 * var(--u));
  color: rgba(255, 255, 255, 0.5);
}

.voice-timer-clock {
  font-size: calc(15 * var(--u));
  font-weight: 700;
  color: #57f287;
  font-variant-numeric: tabular-nums;
}

.voice-live-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(85 * var(--u)), 1fr));
  gap: calc(6 * var(--u));
}

.voice-ctrl-btn {
  height: calc(32 * var(--u));
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(6 * var(--u));
  color: #fff;
  font-size: calc(11 * var(--u));
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.voice-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.voice-ctrl-btn.is-active {
  background: rgba(87, 242, 135, 0.18);
  border-color: rgba(87, 242, 135, 0.4);
  color: #57f287;
}


.voice-feedback {
  display: none;
  width: 100%;
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  line-height: 1.4;
}

.voice-feedback.is-success {
  display: block;
  background: rgba(87, 242, 135, 0.14);
  color: #57f287;
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.voice-feedback.is-error {
  display: block;
  background: rgba(237, 66, 69, 0.14);
  color: #ed4245;
  border: 1px solid rgba(237, 66, 69, 0.3);
}

.voice-sub-section {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  padding: calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(8 * var(--u));
}

.voice-sub-title {
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.voice-sub-label {
  font-size: calc(10.5 * var(--u));
  color: rgba(255, 255, 255, 0.6);
}

.voice-sub-select {
  height: calc(32 * var(--u));
  padding: 0 calc(8 * var(--u));
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(6 * var(--u));
  color: #fff;
  font-size: calc(11.5 * var(--u));
  outline: none;
}

.voice-sub-select option {
  background: #18191c;
  color: #fff;
}

.voice-media-row,
.voice-watch-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.voice-stream-input {
  flex: 1;
  height: calc(36 * var(--u));
  padding: 0 calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(6 * var(--u));
  color: #fff;
  font-size: calc(12 * var(--u));
  outline: none;
}

.voice-stream-input:focus {
  border-color: #5865f2;
}

.voice-media-btns {
  display: flex;
  gap: calc(6 * var(--u));
}

.voice-media-btn {
  height: calc(36 * var(--u));
  padding: 0 calc(12 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.voice-media-btn--play {
  background: #5865f2;
  color: #fff;
}

.voice-media-btn--play:hover {
  background: #4752c4;
}

.voice-media-btn--stop {
  background: rgba(237, 66, 69, 0.15);
  border: 1px solid rgba(237, 66, 69, 0.3);
  color: #ed4245;
}

.voice-media-btn--stop:hover {
  background: rgba(237, 66, 69, 0.25);
}

.voice-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(8 * var(--u));
}

.voice-quality-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.voice-channel-input[type="search"]::-webkit-search-decoration,
.voice-channel-input[type="search"]::-webkit-search-cancel-button,
.voice-channel-input[type="search"]::-webkit-search-results-button,
.voice-channel-input[type="search"]::-webkit-search-results-decoration,
.voice-stream-input[type="search"]::-webkit-search-decoration,
.voice-stream-input[type="search"]::-webkit-search-cancel-button,
.voice-stream-input[type="search"]::-webkit-search-results-button,
.voice-stream-input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

.voice-camera-config-section {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  padding: calc(10 * var(--u));
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(87, 242, 135, 0.18);
  border-radius: calc(8 * var(--u));
}

.voice-camera-input-row {
  display: flex;
  gap: calc(8 * var(--u));
  width: 100%;
}

.voice-camera-btn {
  height: calc(36 * var(--u));
  padding: 0 calc(12 * var(--u));
  border-radius: calc(6 * var(--u));
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.2s;
  white-space: nowrap;
}

.voice-camera-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.voice-camera-preview-row {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  padding: calc(8 * var(--u)) calc(10 * var(--u));
  background: rgba(0, 0, 0, 0.25);
  border-radius: calc(8 * var(--u));
  border: 1px dashed rgba(87, 242, 135, 0.25);
}

.voice-camera-preview-wrap {
  width: calc(60 * var(--u));
  height: calc(42 * var(--u));
  border-radius: calc(6 * var(--u));
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-camera-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-camera-preview-meta {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
}

.voice-camera-preview-tag {
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  color: #57f287;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.voice-camera-preview-hint {
  font-size: calc(10.5 * var(--u));
  color: rgba(255, 255, 255, 0.55);
}



.notranslate {
  translate: no;
}

.token-secret-field {
  -webkit-text-security: disc !important;
}

.token-secret-field.is-revealed {
  -webkit-text-security: none !important;
}



.profile-detail-item--clickable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.profile-detail-item--clickable:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.08);
}

.profile-detail-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.profile-view-pill-btn {
  background: rgba(88, 101, 242, 0.16);
  color: #7983f5;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.profile-view-pill-btn:hover {
  background: #5865f2;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-modal--secondary {
  z-index: 105;
}

.guilds-modal-card,
.connections-modal-card {
  width: min(calc(840 * var(--u)), 95vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: calc(22 * var(--u));
}

.guilds-modal-header,
.connections-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14 * var(--u));
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.guilds-modal-title-col,
.connections-modal-title-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.guilds-modal-header-actions {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.guilds-search-input {
  height: calc(34 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(8 * var(--u));
  color: #fff;
  padding: 0 calc(12 * var(--u));
  font-size: calc(12 * var(--u));
  width: calc(200 * var(--u));
  outline: none;
  transition: border-color 0.2s;
}

.guilds-search-input:focus {
  border-color: #5865f2;
}

.guilds-modal-close-btn {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ccc;
  font-size: calc(20 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.guilds-modal-close-btn:hover {
  background: rgba(237, 66, 69, 0.25);
  color: #ed4245;
}

.guilds-modal-body,
.connections-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: calc(16 * var(--u)) calc(4 * var(--u));
  min-height: calc(240 * var(--u));
  max-height: 60vh;
}

.guilds-cards-grid,
.connections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(240 * var(--u)), 1fr));
  gap: calc(12 * var(--u));
}

.guild-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.guild-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.guild-card-banner {
  height: calc(64 * var(--u));
  background-size: cover;
  background-position: center;
  background-color: rgba(88, 101, 242, 0.15);
  position: relative;
}

.guild-card-body {
  padding: calc(12 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  flex: 1;
}

.guild-card-icon-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: calc(-32 * var(--u));
  margin-bottom: calc(4 * var(--u));
}

.guild-card-icon {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  object-fit: cover;
  border: calc(3 * var(--u)) solid #232820;
  background: #1a1d18;
  flex-shrink: 0;
}

.guild-card-initials {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border-radius: 50%;
  border: calc(3 * var(--u)) solid #232820;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: calc(15 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guild-owner-tag {
  background: rgba(250, 166, 26, 0.16);
  color: #faa61a;
  border: 1px solid rgba(250, 166, 26, 0.35);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
}

.guild-card-title {
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.guild-card-meta-line {
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(6 * var(--u));
}

.guild-code-tag {
  background: rgba(0, 0, 0, 0.35);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-family: monospace;
  font-size: calc(10.5 * var(--u));
  color: #7983f5;
  cursor: pointer;
  user-select: all;
}

.guild-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u));
  max-height: calc(48 * var(--u));
  overflow-y: auto;
  margin-top: auto;
  padding-top: calc(4 * var(--u));
}

.guild-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  font-size: calc(9.5 * var(--u));
  text-transform: uppercase;
  font-weight: 600;
}

.connection-card-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(14 * var(--u));
  padding: calc(14 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  transition: all 0.2s;
}

.connection-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.connection-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
}

.connection-type-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
  color: #5865f2;
  text-transform: uppercase;
  background: rgba(88, 101, 242, 0.12);
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.connection-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 700;
  color: #57f287;
  background: rgba(87, 242, 135, 0.12);
  border: 1px solid rgba(87, 242, 135, 0.3);
  border-radius: 999px;
  padding: calc(1 * var(--u)) calc(6 * var(--u));
}

.connection-name-title {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
  word-break: break-all;
  margin: 0;
}

.connection-details-list {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.65);
}

.connection-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.connection-detail-val {
  color: #d1d5db;
  font-weight: 600;
}

.guilds-empty-notice,
.connections-empty-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: calc(13 * var(--u));
  padding: calc(40 * var(--u)) 0;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .discord-submenu {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: calc(6 * var(--u)) calc(8 * var(--u));
  }

  .discord-projects-grid.is-single-card .discord-project-card.is-visible {
    max-width: 100%;
  }
}

.profile-detail-item--clickable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.profile-detail-item--clickable:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.08);
}

.profile-detail-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.profile-view-pill-btn {
  background: rgba(88, 101, 242, 0.16);
  color: #7983f5;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.profile-view-pill-btn:hover {
  background: #5865f2;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-modal--secondary {
  z-index: 105;
}

.guilds-modal-card,
.connections-modal-card {
  width: min(calc(960 * var(--u)), 95vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: calc(22 * var(--u)) calc(24 * var(--u));
  background: linear-gradient(180deg, rgba(34, 40, 31, 0.98) 0%, rgba(22, 26, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(24 * var(--u));
  box-shadow: 0 calc(28 * var(--u)) calc(70 * var(--u)) rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.guilds-modal-header,
.connections-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14 * var(--u));
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.guilds-modal-heading-row {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
}

.guilds-modal-icon-badge {
  width: calc(38 * var(--u));
  height: calc(38 * var(--u));
  border-radius: calc(10 * var(--u));
  background: rgba(88, 101, 242, 0.14);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #7983f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guilds-modal-icon-badge svg {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
}

.guilds-modal-title-col,
.connections-modal-title-col {
  display: flex;
  flex-direction: column;
  gap: calc(4 * var(--u));
}

.guilds-modal-header-actions {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.guilds-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.guilds-search-icon {
  position: absolute;
  left: calc(12 * var(--u));
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.guilds-search-input {
  height: calc(36 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(10 * var(--u));
  color: #fff;
  padding: 0 calc(12 * var(--u)) 0 calc(34 * var(--u));
  font-size: calc(12 * var(--u));
  width: calc(220 * var(--u));
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, width 0.2s;
}

.guilds-search-input:focus {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.22);
  width: calc(250 * var(--u));
}

.guilds-modal-close-btn {
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.guilds-modal-close-btn svg {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
  stroke-width: 2.2;
}

.guilds-modal-close-btn:hover {
  background: rgba(237, 66, 69, 0.2);
  border-color: rgba(237, 66, 69, 0.4);
  color: #ed4245;
  transform: rotate(90deg);
}

.guilds-modal-tabs {
  display: flex;
  gap: calc(8 * var(--u));
  padding: calc(12 * var(--u)) 0 calc(8 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.guilds-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: calc(5 * var(--u)) calc(12 * var(--u));
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.2s;
}

.guilds-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.guilds-tab-btn.is-active {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.45);
  color: #7983f5;
}

.guilds-modal-body,
.connections-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: calc(16 * var(--u)) calc(4 * var(--u)) calc(10 * var(--u));
  min-height: calc(240 * var(--u));
  max-height: 58vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.guilds-modal-body::-webkit-scrollbar,
.connections-modal-body::-webkit-scrollbar {
  width: calc(6 * var(--u));
}

.guilds-modal-body::-webkit-scrollbar-thumb,
.connections-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.guilds-modal-body::-webkit-scrollbar-thumb:hover,
.connections-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(88, 101, 242, 0.5);
}

.guilds-cards-grid,
.connections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(260 * var(--u)), 1fr));
  gap: calc(14 * var(--u));
}

.guild-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(16 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s, box-shadow 0.22s, background 0.22s;
  position: relative;
}

.guild-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, 0.45), 0 0 calc(20 * var(--u)) rgba(88, 101, 242, 0.14);
}

.guild-card-banner {
  height: calc(82 * var(--u));
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #1a1d18;
}

.guild-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(20, 24, 18, 0.75) 100%);
}

.guild-card-body {
  padding: calc(12 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  flex: 1;
}

.guild-card-icon-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: calc(-36 * var(--u));
  margin-bottom: calc(2 * var(--u));
  position: relative;
  z-index: 2;
}

.guild-card-icon,
.guild-card-initials {
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  border-radius: calc(16 * var(--u));
  object-fit: cover;
  border: calc(3 * var(--u)) solid #22271f;
  background: #1a1d18;
  box-shadow: 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.guild-card-initials {
  background: linear-gradient(135deg, #5865f2 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 700;
  font-size: calc(16 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
}

.guild-role-tag {
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.guild-role-tag--owner {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.guild-role-tag--admin {
  background: rgba(88, 101, 242, 0.18);
  color: #818cf8;
  border: 1px solid rgba(88, 101, 242, 0.4);
}

.guild-role-tag--manager {
  background: rgba(6, 182, 212, 0.16);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.guild-role-tag--member {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guild-card-title {
  font-size: calc(14 * var(--u));
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.guild-meta-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(10 * var(--u));
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(5 * var(--u));
}

.guild-card-meta-line {
  font-size: calc(11 * var(--u));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
}

.guild-meta-label {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: calc(10.5 * var(--u));
}

.guild-copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #93c5fd;
  padding: calc(2 * var(--u)) calc(7 * var(--u));
  border-radius: calc(6 * var(--u));
  font-family: monospace;
  font-size: calc(10.5 * var(--u));
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--u));
  cursor: pointer;
  transition: all 0.2s;
}

.guild-copy-btn:hover {
  background: rgba(88, 101, 242, 0.25);
  color: #ffffff;
  border-color: rgba(88, 101, 242, 0.45);
}

.guild-copy-btn:active {
  transform: scale(0.96);
}

.guild-copy-icon {
  width: calc(11 * var(--u));
  height: calc(11 * var(--u));
  opacity: 0.75;
}

.guild-perm-badge {
  font-size: calc(11 * var(--u));
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.guild-features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u));
  margin-top: auto;
  padding-top: calc(4 * var(--u));
  overflow: visible;
  max-height: none;
}

.guild-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  padding: calc(2 * var(--u)) calc(6 * var(--u));
  border-radius: calc(5 * var(--u));
  font-size: calc(10 * var(--u));
  font-weight: 500;
  line-height: 1.2;
}

.guild-feature-more {
  background: rgba(88, 101, 242, 0.12);
  border-color: rgba(88, 101, 242, 0.28);
  color: #818cf8;
  font-weight: 700;
  cursor: default;
}

.guilds-footer-hint {
  font-size: calc(11.5 * var(--u));
  color: rgba(255, 255, 255, 0.45);
}

.connection-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(16 * var(--u));
  padding: calc(16 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.connection-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, 0.45), 0 0 calc(20 * var(--u)) rgba(88, 101, 242, 0.14);
}

.connection-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
}

.connection-type-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 700;
  color: #5865f2;
  text-transform: uppercase;
  background: rgba(88, 101, 242, 0.14);
  padding: calc(3 * var(--u)) calc(9 * var(--u));
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.3);
}

.connection-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(10.5 * var(--u));
  font-weight: 700;
  color: #57f287;
  background: rgba(87, 242, 135, 0.14);
  border: 1px solid rgba(87, 242, 135, 0.32);
  border-radius: 999px;
  padding: calc(2 * var(--u)) calc(8 * var(--u));
}

.connection-name-title {
  font-size: calc(14.5 * var(--u));
  font-weight: 700;
  color: #fff;
  word-break: break-all;
  margin: 0;
}

.connection-details-list {
  display: flex;
  flex-direction: column;
  gap: calc(5 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: calc(8 * var(--u));
  font-size: calc(11 * var(--u));
  color: rgba(255, 255, 255, 0.65);
}

.connection-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.connection-detail-val {
  color: #e5e7eb;
  font-weight: 600;
}

.guilds-empty-notice,
.connections-empty-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  padding: calc(40 * var(--u)) 0;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--u));
}

.guilds-empty-icon {
  width: calc(44 * var(--u));
  height: calc(44 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}

.guilds-empty-icon svg {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}

.guilds-empty-text {
  font-size: calc(13 * var(--u));
  margin: 0;
}

.hero--security {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.security-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.view-card--security {
  background: radial-gradient(ellipse at top left, rgba(74, 222, 128, 0.07), transparent 70%), rgba(26, 31, 24, 0.88);
  border: 1px solid rgba(74, 222, 128, 0.28);
  box-shadow: 0 calc(14 * var(--u)) calc(36 * var(--u)) rgba(0, 0, 0, 0.45), 0 0 calc(30 * var(--u)) rgba(74, 222, 128, 0.08);
}

.view-card--security:hover {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 calc(18 * var(--u)) calc(44 * var(--u)) rgba(0, 0, 0, 0.55), 0 0 calc(40 * var(--u)) rgba(74, 222, 128, 0.14);
}

.security-challenge-box {
  margin: calc(14 * var(--u)) 0;
  min-height: calc(72 * var(--u));
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: calc(14 * var(--u));
  padding: calc(8 * var(--u));
  transition: all 0.3s ease;
}

.security-retry-btn {
  margin-top: calc(10 * var(--u));
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.5);
  color: #fff;
  font-weight: 600;
}

.security-retry-btn:hover {
  background: #5865f2;
  border-color: #5865f2;
}

.dock-item.is-shield {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  cursor: default;
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
}

.security-digital-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  font-family: Space Grotesk, Orbitron, monospace;
}

.clock-unit {
  min-width: calc(68 * var(--u));
  height: calc(56 * var(--u));
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(12 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(32 * var(--u));
  font-weight: 700;
  color: #fff;
  letter-spacing: calc(1 * var(--u));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, 0.4);
  padding: 0 calc(14 * var(--u));
}

.clock-colon {
  font-size: calc(26 * var(--u));
  font-weight: 700;
  color: #38bdf8;
  animation: clockColonPulse 1s ease-in-out infinite;
  user-select: none;
}

@keyframes clockColonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 900px) {
  .security-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
  }
  .security-digital-clock {
    gap: 8px;
  }
  .clock-unit {
    min-width: 58px;
    height: 48px;
    font-size: 26px;
    padding: 0 10px;
    border-radius: 10px;
  }
  .clock-colon {
    font-size: 22px;
  }
}
