:root {
  color-scheme: dark;
  --bg: #060811;
  --bg-soft: #0a0d18;
  --panel: rgba(13, 17, 31, .78);
  --panel-solid: #0d111f;
  --panel-strong: #12182a;
  --line: rgba(157, 180, 255, .13);
  --line-strong: rgba(139, 124, 255, .34);
  --text: #f5f7ff;
  --muted: #8993ad;
  --muted-2: #5e6984;
  --primary: #8b6dff;
  --primary-2: #5d4bff;
  --cyan: #45e5ff;
  --pink: #ff4fd8;
  --lime: #b7ff62;
  --amber: #ffca5c;
  --danger: #ff6685;
  --success: #5ce6a8;
  --sidebar: 278px;
  --sidebar-collapsed: 88px;
  --sidebar-live: 278px;
  --header: 80px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --glow: 0 0 40px rgba(108, 86, 255, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html:not(.dark) {
  color-scheme: light;
  --bg: #f3f5fb;
  --bg-soft: #eef1f8;
  --panel: rgba(255, 255, 255, .78);
  --panel-solid: #ffffff;
  --panel-strong: #f6f7fb;
  --line: rgba(47, 55, 88, .11);
  --line-strong: rgba(108, 86, 255, .28);
  --text: #121627;
  --muted: #68718b;
  --muted-2: #98a0b5;
  --shadow: 0 24px 70px rgba(35, 42, 75, .13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -10%, rgba(112, 80, 255, .18), transparent 31rem),
    radial-gradient(circle at 93% 16%, rgba(51, 214, 255, .09), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  user-select: text;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel-solid);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  transform: translate(-50%, -160%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

body.theater-open,
body.modal-open {
  overflow: hidden;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
textarea,
select {
  user-select: text;
}

::selection {
  color: #fff;
  background: rgba(123, 91, 255, .72);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 99px;
  background: rgba(132, 145, 181, .32);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 109, 255, .65);
  background-clip: padding-box;
}

#bgfx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .76;
}

#bgfx::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(143, 130, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 130, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

#bgfx .aurora-layer,
#bgfx .orb,
#bgfx .beam,
#bgfx .scan-overlay,
#bgfx .datarain,
#cursorGlow {
  display: none;
}

#bgfx .grid3d {
  position: absolute;
  right: -15%;
  bottom: -18%;
  left: 12%;
  height: 44%;
  border-top: 1px solid rgba(143, 130, 255, .18);
  background-image:
    linear-gradient(rgba(119, 105, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 105, 255, .08) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .42;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: center top;
  animation: gridScroll 16s linear infinite;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 74%, transparent);
}

#bgfx canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .44;
}

#fxCanvas {
  z-index: 1;
}

#bgfx .scan-overlay {
  display: block;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(113, 89, 255, .025), transparent);
  opacity: .8;
}

.app-frame {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  margin-left: var(--sidebar-live);
  transition: margin-left .45s var(--ease);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 26px;
  width: 100%;
  max-width: 1800px;
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(var(--header) + 26px) 26px 0 30px;
}

#app {
  min-width: 0;
  padding-top: 0 !important;
}

.page {
  min-height: calc(100vh - var(--header));
  padding-top: 0 !important;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.insight-rail {
  position: sticky;
  top: calc(var(--header) + 22px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - var(--header) - 36px);
  padding: 4px 0 28px;
  overflow-y: auto;
  scrollbar-width: none;
}

.insight-rail::-webkit-scrollbar {
  display: none;
}

body.no-rail .workspace {
  grid-template-columns: minmax(0, 1fr);
}

body.no-rail .insight-rail {
  display: none;
}

body.login-page .workspace,
body.admin-page .workspace {
  grid-template-columns: minmax(0, 1fr);
}

body.login-page .insight-rail,
body.admin-page .insight-rail {
  display: none;
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 72;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-live);
  height: 100vh;
  border-right: 1px solid var(--line);
  background: rgba(7, 9, 18, .88);
  box-shadow: 24px 0 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(28px) saturate(140%);
  transition: width .42s var(--ease), transform .42s var(--ease);
}

html:not(.dark) .side-nav {
  background: rgba(248, 249, 253, .88);
}

.side-nav-brand {
  display: flex;
  align-items: center;
  min-height: var(--header);
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.brand-symbol {
  position: relative;
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(187, 172, 255, .36);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 24%),
    linear-gradient(135deg, #8f72ff, #5a4cff 54%, #22c9f2);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.08em;
  box-shadow: 0 10px 28px rgba(92, 73, 255, .3);
}

.brand-symbol::before,
.brand-symbol::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  inset: 5px;
}

.brand-symbol::after {
  border-style: dashed;
  opacity: .55;
  animation: orbit 12s linear infinite;
}

.brand-word {
  min-width: 0;
  margin-left: 12px;
  white-space: nowrap;
  transition: opacity .25s ease, transform .35s var(--ease);
}

.brand-word strong {
  display: block;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.brand-word span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.side-nav-scroll {
  flex: 1;
  min-height: 0;
  padding: 17px 14px 18px;
  overflow-y: auto;
  scrollbar-width: none;
}

.side-nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-launch {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  margin-bottom: 18px;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid rgba(150, 127, 255, .35);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(126, 95, 255, .2), rgba(44, 208, 255, .08));
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
}

.nav-launch:hover {
  border-color: rgba(160, 138, 255, .68);
  background: linear-gradient(110deg, rgba(126, 95, 255, .29), rgba(44, 208, 255, .12));
  transform: translateY(-2px);
}

.nav-launch-icon {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  margin-right: 11px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #4e73ff);
  color: #fff;
  box-shadow: 0 7px 18px rgba(101, 82, 255, .35);
}

.nav-launch .nav-label,
.nav-launch .nav-meta {
  transition: opacity .22s ease;
}

.nav-launch .nav-meta {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-group {
  margin: 0 10px 8px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 18px;
}

.side-link {
  position: relative;
  display: flex;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.side-link .side-icon {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  margin-right: 11px;
  place-items: center;
  border-radius: 9px;
  font-size: 13px;
  transition: color .2s ease, background .2s ease;
}

.side-link:hover {
  color: var(--text);
  background: rgba(132, 111, 255, .07);
}

.side-link:hover .side-icon {
  color: #b9abff;
}

.side-link.on {
  border-color: rgba(143, 121, 255, .25);
  background: linear-gradient(100deg, rgba(126, 95, 255, .18), rgba(74, 199, 255, .05));
  color: #f7f5ff;
  box-shadow: inset 3px 0 0 var(--primary);
}

html:not(.dark) .side-link.on {
  color: #4e3cca;
}

.side-link.on .side-icon {
  background: rgba(132, 106, 255, .18);
  color: #a994ff;
}

.side-link .nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .2s ease, transform .35s var(--ease);
}

.side-link .nav-count {
  min-width: 20px;
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(255, 110, 170, .25);
  border-radius: 99px;
  background: rgba(255, 79, 216, .1);
  color: #ff91df;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

.side-nav-footer {
  padding: 13px 14px 16px;
  border-top: 1px solid var(--line);
}

.system-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(120, 95, 255, .1), rgba(48, 202, 255, .03));
  transition: opacity .22s ease;
}

.system-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 10px;
  font-weight: 750;
}

.system-card-head span:last-child {
  color: var(--success);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: .08em;
}

.system-meter {
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .07);
}

.system-meter i {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--lime));
  box-shadow: 0 0 12px rgba(72, 218, 255, .5);
}

.system-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
}

.side-collapse {
  position: absolute;
  top: 95px;
  right: -13px;
  z-index: 4;
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--panel-solid);
  color: #a997ff;
  font-size: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .26);
  transition: transform .25s var(--ease), background .2s ease;
}

.side-collapse:hover {
  background: var(--panel-strong);
  transform: scale(1.08);
}

.side-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  background: rgba(3, 5, 12, .68);
  backdrop-filter: blur(7px);
}

body.sidebar-collapsed {
  --sidebar-live: var(--sidebar-collapsed);
}

body.sidebar-collapsed .side-nav {
  width: var(--sidebar-collapsed);
}

body.sidebar-collapsed .side-nav-brand {
  padding: 0 22px;
}

body.sidebar-collapsed .side-nav .brand-word,
body.sidebar-collapsed .side-nav .nav-label,
body.sidebar-collapsed .side-nav .nav-meta,
body.sidebar-collapsed .side-nav .nav-count,
body.sidebar-collapsed .side-nav .nav-group,
body.sidebar-collapsed .system-card,
body.sidebar-collapsed .nav-launch {
  opacity: 0;
  pointer-events: none;
}

body.sidebar-collapsed .side-nav .brand-word {
  transform: translateX(-8px);
}

body.sidebar-collapsed .side-link {
  justify-content: center;
  padding: 0;
}

body.sidebar-collapsed .side-link .side-icon {
  margin-right: 0;
}

body.sidebar-collapsed .side-link.on {
  box-shadow: inset 0 0 0 1px rgba(143, 121, 255, .2), 0 0 24px rgba(116, 88, 255, .08);
}

body.sidebar-collapsed .side-collapse {
  transform: rotate(180deg);
}

#siteHeader {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-live);
  z-index: 60;
  display: flex;
  align-items: center;
  height: var(--header);
  padding: 0 26px 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 17, .7);
  box-shadow: none;
  backdrop-filter: blur(24px) saturate(145%);
  transition: left .45s var(--ease), background .2s ease, box-shadow .2s ease;
}

html:not(.dark) #siteHeader {
  background: rgba(248, 249, 253, .78);
}

#siteHeader.scrolled {
  background: rgba(6, 8, 17, .91);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}

html:not(.dark) #siteHeader.scrolled {
  background: rgba(248, 249, 253, .92);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(250px, 480px) auto;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.header-leading {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.side-brand-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.mobile-menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
}

.header-brand-mobile {
  display: none;
  align-items: center;
  gap: 10px;
}

.global-search {
  position: relative;
  width: 100%;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.search-box:focus-within {
  border-color: rgba(141, 117, 255, .45);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 4px rgba(112, 84, 255, .08), 0 16px 38px rgba(0, 0, 0, .12);
}

html:not(.dark) .search-box {
  background: rgba(255, 255, 255, .75);
}

.search-box > i {
  position: absolute;
  left: 15px;
  z-index: 1;
  color: #8172d6;
  font-size: 12px;
  pointer-events: none;
}

#q {
  width: 100%;
  height: 100%;
  padding: 0 104px 0 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 560;
}

#q::placeholder {
  color: var(--muted-2);
}

.search-kbd {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  pointer-events: none;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 90;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(140, 122, 255, .26);
  border-radius: 18px;
  background: rgba(11, 14, 25, .97);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .46);
  backdrop-filter: blur(28px);
}

.search-suggest.open {
  display: block;
  animation: pageIn .2s var(--ease) both;
}

html:not(.dark) .search-suggest {
  background: rgba(251, 252, 255, .98);
}

.suggest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.suggest-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background .15s ease;
}

.suggest-item:hover,
.suggest-item.sel {
  background: rgba(128, 101, 255, .11);
}

.suggest-ico {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(130, 105, 255, .1);
  color: #a794ff;
  font-size: 10px;
}

.suggest-copy {
  min-width: 0;
}

.suggest-copy strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggest-copy span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggest-type {
  margin-left: auto;
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.head-user {
  display: flex;
  align-items: center;
  gap: 7px;
}

.head-credit {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 800;
}

.head-credit i {
  margin-right: 6px;
  color: #ffca5c;
}

.head-credit small {
  margin-left: 3px;
  color: var(--muted-2);
  font-size: 7px;
}

.head-avatar {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 10px 24px rgba(76, 59, 207, .18);
  transition: transform .2s var(--ease);
}

.head-avatar:hover {
  transform: translateY(-2px) scale(1.04);
}

.head-login {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(129, 102, 255, .09);
  color: #b5a6ff;
  font-size: 9px;
  font-weight: 750;
}

.header-btn {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted);
  font-size: 12px;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease);
}

.header-btn:hover {
  border-color: rgba(140, 119, 255, .36);
  background: rgba(129, 102, 255, .1);
  color: #b5a5ff;
  transform: translateY(-2px);
}

.header-create {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin-left: 3px;
  padding: 0 15px;
  border: 1px solid rgba(173, 155, 255, .3);
  border-radius: 13px;
  background: linear-gradient(115deg, #8066ff, #5d52ff 56%, #326bff);
  color: #fff;
  font-size: 10px;
  font-weight: 780;
  box-shadow: 0 10px 26px rgba(88, 70, 235, .26), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}

.header-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(88, 70, 235, .38);
}

#scrollBar {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--pink));
  box-shadow: 0 0 10px rgba(105, 85, 255, .7);
}

.card {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)) !important;
  box-shadow: none;
  backdrop-filter: blur(18px);
}

html:not(.dark) .card {
  background: rgba(255, 255, 255, .9) !important;
}

.card-hov {
  transition: transform .35s var(--ease), border-color .25s ease, box-shadow .35s ease, background .25s ease !important;
}

.card-hov:hover {
  border-color: rgba(144, 122, 255, .35) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2), 0 0 40px rgba(104, 81, 255, .07) !important;
  transform: translateY(-7px) !important;
}

.card-hov::before {
  display: none !important;
}

.btn-pri {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px !important;
  overflow: hidden;
  border: 1px solid rgba(183, 163, 255, .32) !important;
  border-radius: 13px !important;
  background: linear-gradient(115deg, #876cff, #6350ff 53%, #3473ff) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: .005em;
  box-shadow: 0 12px 28px rgba(82, 64, 230, .25), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
  animation: none !important;
  transition: transform .25s var(--ease), box-shadow .25s ease, filter .2s ease;
}

.btn-pri:hover {
  filter: brightness(1.08);
  box-shadow: 0 17px 40px rgba(82, 64, 230, .38) !important;
  transform: translateY(-3px) !important;
}

.btn-pri::after {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .27), transparent) !important;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .035) !important;
  color: var(--text) !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  backdrop-filter: blur(12px);
  transition: transform .2s var(--ease), border-color .2s ease, background .2s ease;
}

.btn-ghost:hover {
  border-color: rgba(144, 122, 255, .34) !important;
  background: rgba(129, 102, 255, .09) !important;
  color: #b3a3ff !important;
  transform: translateY(-2px);
}

.chip,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, .025) !important;
  color: var(--muted) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  backdrop-filter: blur(10px);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease);
}

.chip:hover,
.pill:hover {
  border-color: rgba(145, 123, 255, .3) !important;
  color: var(--text) !important;
  transform: translateY(-2px);
}

.chip.on,
.pill.on {
  border-color: rgba(147, 125, 255, .36) !important;
  background: linear-gradient(110deg, rgba(129, 101, 255, .2), rgba(49, 198, 255, .07)) !important;
  color: #c1b4ff !important;
  box-shadow: 0 8px 22px rgba(86, 67, 215, .1);
}

.field,
select.field {
  width: 100%;
  min-height: 43px;
  padding: 0 13px !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  outline: 0;
  background: rgba(255, 255, 255, .028) !important;
  color: var(--text) !important;
  font-size: 11px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

textarea.field {
  min-height: 100px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  resize: vertical;
}

.field:focus {
  border-color: rgba(142, 119, 255, .5) !important;
  background: rgba(255, 255, 255, .04) !important;
  box-shadow: 0 0 0 4px rgba(112, 84, 255, .08) !important;
}

.field::placeholder {
  color: var(--muted-2) !important;
}

.kpi {
  position: relative;
  padding: 16px !important;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)) !important;
  backdrop-filter: blur(14px);
}

.kpi::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  content: "";
  border-radius: 50%;
  background: rgba(112, 86, 255, .1);
  filter: blur(25px);
}

.kpi:hover {
  border-color: rgba(139, 114, 255, .32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
  transform: translateY(-4px);
}

.kpi .ico {
  color: currentColor !important;
  opacity: .24 !important;
}

.sec-head {
  margin-bottom: 18px !important;
}

.sec-eyebrow,
.sec-badge {
  color: #9681ff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase;
}

.sec-eyebrow::before {
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.sec-title {
  font-size: 19px !important;
  font-weight: 820 !important;
  letter-spacing: -.035em !important;
}

.sec-sub {
  margin-top: 5px !important;
  color: var(--muted) !important;
  font-size: 10px !important;
}

.gradtext {
  background: linear-gradient(105deg, #9b8aff 2%, #5de2ff 50%, #ff7ad9 96%) !important;
  background-size: 180% 180% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  animation: aurora 8s ease infinite !important;
}

html:not(.dark) .gradtext {
  background: linear-gradient(105deg, #684de6, #1599c7 50%, #d83aa9) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
}

.hud-panel,
.neon-border {
  border-color: rgba(142, 120, 255, .2) !important;
  background: rgba(12, 16, 29, .68) !important;
}

.corner-ticks::before,
.corner-ticks::after {
  border-color: rgba(150, 129, 255, .58) !important;
}

.creation-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 22%, rgba(131, 92, 255, .2), transparent 28rem),
    radial-gradient(circle at 88% 72%, rgba(46, 210, 255, .12), transparent 25rem),
    linear-gradient(145deg, rgba(17, 20, 36, .9), rgba(7, 10, 20, .94));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .28);
}

.creation-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(145, 127, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 127, 255, .055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(100deg, #000, transparent 75%);
}

.creation-hero::after {
  position: absolute;
  top: -40%;
  right: 8%;
  width: 300px;
  height: 180%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(87, 207, 255, .08), transparent);
  transform: skewX(-14deg);
  animation: beam 10s ease-in-out infinite;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  width: 100%;
  max-width: 100%;
  min-height: 520px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 52px 26px 52px 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 22px;
  padding: 0 10px;
  border: 1px solid rgba(142, 121, 255, .25);
  border-radius: 9px;
  background: rgba(126, 96, 255, .08);
  color: #b8aaff;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-eyebrow .live-dot {
  width: 6px;
  height: 6px;
  margin-right: 7px;
}

.hero-title {
  max-width: 700px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 4.1vw, 66px) !important;
  font-weight: 890 !important;
  letter-spacing: -.064em !important;
  line-height: .99 !important;
}

.hero-title .line-break {
  display: block;
}

.hero-lead {
  max-width: 590px;
  margin: 23px 0 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 24px;
  color: var(--muted) !important;
  font-size: 9px !important;
  font-weight: 650;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-proof i {
  color: #9d8cff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.hero-actions .btn-pri,
.hero-actions .btn-ghost {
  min-height: 47px;
  padding: 0 20px !important;
  font-size: 11px !important;
}

.hero-console {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 34px 38px 38px 20px;
}

.hero-console-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(161, 141, 255, .24);
  border-radius: 24px;
  background: rgba(5, 7, 14, .72);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.console-top {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(153, 136, 255, .13);
}

.console-lights {
  display: flex;
  gap: 5px;
  margin-right: 12px;
}

.console-lights i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3e465d;
}

.console-lights i:nth-child(1) {
  background: #ff658a;
  box-shadow: 0 0 9px rgba(255, 101, 138, .45);
}

.console-lights i:nth-child(2) {
  background: #ffca5c;
}

.console-lights i:nth-child(3) {
  background: #5ce6a8;
  box-shadow: 0 0 9px rgba(92, 230, 168, .45);
}

.console-top span {
  color: #7d87a3;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.console-top b {
  margin-left: auto;
  color: #8e7cff;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 700;
}

.hero-media {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 17px;
  background: #05070c;
}

#heroVideo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: #05070c;
}

.media-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 58%, rgba(2, 3, 7, .75));
  pointer-events: none;
}

.media-scan::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(77, 224, 255, .42), transparent);
  animation: scanline 4.5s linear infinite;
}

@keyframes scanline {
  from { top: -5%; }
  to { top: 105%; }
}

.media-chip {
  position: absolute;
  top: 13px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 7px;
  background: rgba(3, 5, 10, .58);
  color: rgba(255, 255, 255, .8);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
}

.media-chip.live {
  color: #8affc3;
}

.media-caption {
  position: absolute;
  right: 16px;
  bottom: 44px;
  left: 16px;
  color: #fff;
}

.media-caption strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .55);
  font-size: 8px;
}

.media-control {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 27px;
  color: rgba(255, 255, 255, .76);
  font-size: 9px;
}

.media-control button {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
}

.media-progress {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .18);
  cursor: pointer;
}

.media-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 0 10px rgba(84, 215, 255, .65);
}

.hero-video-btn {
  display: none;
}

.console-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 62px;
  border-top: 1px solid rgba(153, 136, 255, .13);
}

.console-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12px;
  border-right: 1px solid rgba(153, 136, 255, .11);
}

.console-stat:last-child {
  border-right: 0;
}

.console-stat b {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
}

.console-stat span {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.future-mini {
  position: relative;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .025);
}

.future-mini .mini-media {
  width: 100%;
  height: 100%;
  min-height: 76px;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.future-mini:hover .mini-media {
  transform: scale(1.08);
}

.future-mini-empty {
  display: grid;
  grid-column: 1 / -1;
  min-height: 76px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 15px;
  color: var(--muted);
  font-size: 9px;
}

.content-section {
  padding: 36px 0 0;
}

.content-section-lg {
  padding: 46px 0 0;
}

.tool-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.tool-card {
  position: relative;
  min-height: 150px;
  padding: 15px !important;
  overflow: hidden;
  cursor: pointer;
}

.tool-card::after {
  position: absolute;
  right: -30px;
  bottom: -35px;
  width: 90px;
  height: 90px;
  content: "";
  border-radius: 50%;
  background: rgba(111, 83, 255, .12);
  filter: blur(24px);
}

.tool-card .feat-ico {
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(142, 120, 255, .16);
  border-radius: 11px !important;
  background: linear-gradient(135deg, rgba(137, 107, 255, .18), rgba(55, 204, 255, .06)) !important;
  color: #a896ff !important;
  font-size: 12px !important;
}

.tool-card h3 {
  margin-top: 12px !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  line-height: 1.3;
}

.tool-card p {
  min-height: 30px;
  margin-top: 6px !important;
  color: var(--muted) !important;
  font-size: 8px !important;
  line-height: 1.55 !important;
}

.tool-card .tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  color: #9e8bff;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 700;
}

.tool-card .tool-meta i {
  color: var(--muted-2);
  font-size: 7px;
}

.explore-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.explore-heading h1 {
  margin: 6px 0 0;
  font-size: clamp(28px, 3.4vw, 45px) !important;
  font-weight: 870 !important;
  letter-spacing: -.05em !important;
  line-height: 1.04 !important;
}

.explore-heading p {
  max-width: 600px;
  margin-top: 9px !important;
  color: var(--muted) !important;
  font-size: 11px !important;
}

.explore-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(14px);
}

.filter-pills {
  display: flex;
  flex: 1;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.algorithm-select {
  display: flex;
  align-items: center;
  min-width: 188px;
  height: 35px;
  padding: 0 9px 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  color: #9d8cff;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.algorithm-select select {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin-left: 7px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 9px;
  font-weight: 650;
  text-transform: none;
}

.algorithm-select option {
  background: var(--panel-solid);
  color: var(--text);
}

.discovery-grid {
  columns: 3 250px;
  column-gap: 14px;
}

.discovery-grid > * {
  break-inside: avoid;
  margin-bottom: 14px;
}

.creation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}

.creation-card-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #090b12;
}

.creation-card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, transparent 50%, rgba(3, 4, 9, .72));
  pointer-events: none;
}

.creation-card-media > video,
.creation-card-media > img {
  width: 100%;
  height: auto;
  min-height: 260px;
  max-height: 510px;
  object-fit: cover;
  transition: transform .65s var(--ease), filter .4s ease;
}

.creation-card:hover .creation-card-media > video,
.creation-card:hover .creation-card-media > img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.creation-card-top {
  position: absolute;
  top: 11px;
  right: 11px;
  left: 11px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kind-chip,
.match-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(5, 7, 12, .6);
  color: rgba(255, 255, 255, .8);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.match-chip {
  border-color: rgba(177, 255, 99, .18);
  color: #b7ff92;
}

.kind-chip.video {
  color: #74e8ff;
}

.kind-chip.image {
  color: #c2b5ff;
}

.creation-card-actions {
  position: absolute;
  top: 47px;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .25s ease, transform .3s var(--ease);
}

.creation-card:hover .creation-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.card-action {
  display: grid;
  width: 33px;
  height: 33px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(5, 7, 12, .62);
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  backdrop-filter: blur(12px);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease);
}

.card-action:hover {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(118, 91, 255, .2);
  color: #fff;
  transform: scale(1.08);
}

.card-action.on {
  border-color: rgba(255, 79, 216, .3);
  color: #ff79d5;
}

.creation-card-info {
  padding: 14px 15px 15px;
}

.creation-card-title {
  min-height: 34px;
  margin: 0;
  font-size: 11px !important;
  font-weight: 730 !important;
  letter-spacing: -.012em;
  line-height: 1.5;
}

.creation-card-author {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.mini-avatar {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  margin-right: 8px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 9px;
  background: linear-gradient(135deg, #8265ff, #3dcbe9);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(82, 65, 218, .2);
}

.creation-card-author strong {
  display: block;
  max-width: 120px;
  overflow: hidden;
  color: var(--text);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creation-card-author span {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 7px;
}

.creation-card-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
}

.creation-card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.creation-card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  font-size: 7px;
  font-weight: 650;
}

.topic-chip:hover {
  border-color: rgba(142, 121, 255, .3);
  color: #aa99ff;
}

.creation-card-time {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 7px;
}

.insight-card {
  position: relative;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: 0 16px 45px rgba(0, 0, 0, .1);
  backdrop-filter: blur(20px);
}

html:not(.dark) .insight-card {
  background: rgba(255, 255, 255, .86);
}

.insight-card::before {
  position: absolute;
  top: 0;
  left: 16px;
  width: 46px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 0 12px rgba(105, 84, 255, .55);
}

.insight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.insight-title {
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: -.01em;
}

.insight-title i {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  border: 1px solid rgba(143, 121, 255, .2);
  border-radius: 8px;
  background: rgba(129, 102, 255, .1);
  color: #a996ff;
  font-size: 9px;
  line-height: 25px;
  text-align: center;
}

.insight-label {
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.match-engine {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid rgba(145, 123, 255, .2);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(128, 99, 255, .13), rgba(55, 201, 255, .04));
}

.match-orbit {
  position: relative;
  display: grid;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px dashed rgba(164, 144, 255, .5);
  border-radius: 50%;
  color: #b2a2ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 800;
  animation: orbit 12s linear infinite;
}

.match-orbit::before {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 1.5s infinite;
}

.match-orbit span {
  animation: orbit 12s linear infinite reverse;
}

.match-engine strong {
  display: block;
  font-size: 10px;
  font-weight: 760;
}

.match-engine p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.trend-list {
  display: flex;
  flex-direction: column;
}

.trend-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 7px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.trend-item:last-child {
  border-bottom: 0;
}

.trend-rank {
  width: 25px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 700;
}

.trend-item:first-child .trend-rank {
  color: #b7ff62;
}

.trend-copy {
  min-width: 0;
  flex: 1;
}

.trend-copy strong {
  display: block;
  overflow: hidden;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 7px;
}

.trend-momentum {
  margin-left: 7px;
  color: #65e9ae;
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
}

.creator-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.creator-row .aav {
  width: 34px;
  height: 34px;
  margin-right: 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  font-size: 10px;
}

.creator-row strong {
  display: block;
  max-width: 145px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-row span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 7px;
}

.creator-follow {
  display: grid;
  width: 25px;
  height: 25px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(129, 102, 255, .08);
  color: #a895ff;
  font-size: 8px;
}

.economy-card {
  overflow: hidden;
  border-color: rgba(182, 255, 97, .14);
  background:
    radial-gradient(circle at 92% 14%, rgba(182, 255, 97, .12), transparent 9rem),
    linear-gradient(145deg, rgba(128, 98, 255, .1), rgba(255, 255, 255, .02));
}

.economy-value {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.economy-value b {
  font-family: "JetBrains Mono", monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.economy-value span {
  color: #8fffc1;
  font-size: 8px;
  font-weight: 700;
}

.economy-bar {
  display: flex;
  height: 5px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
}

.economy-bar i {
  display: block;
  height: 100%;
}

.economy-bar i:first-child {
  width: 68%;
  background: linear-gradient(90deg, #8369ff, #55dcff);
}

.economy-bar i:last-child {
  flex: 1;
  background: #b7ff62;
}

.economy-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 7px;
}

.ai-orb-card {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(144, 122, 255, .2);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(128, 99, 255, .1), rgba(55, 202, 255, .035));
  transition: border-color .2s ease, transform .2s var(--ease);
}

.ai-orb-card:hover {
  border-color: rgba(144, 122, 255, .4);
  transform: translateY(-2px);
}

.ai-orb {
  position: relative;
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  place-items: center;
  border: 1px solid rgba(159, 139, 255, .35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a894ff, #604aff 50%, #2d5cff);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 0 24px rgba(100, 78, 255, .25);
}

.ai-orb-card strong {
  display: block;
  font-size: 9px;
  font-weight: 760;
}

.ai-orb-card span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .02);
}

.value-cell {
  min-height: 88px;
  padding: 17px;
  border-right: 1px solid var(--line);
}

.value-cell:last-child {
  border-right: 0;
}

.value-cell b {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.value-cell span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
}

.value-cell i {
  float: right;
  color: #9c89ff;
  font-size: 11px;
}

.cta-future {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 180px;
  padding: 30px 34px;
  overflow: hidden;
  border: 1px solid rgba(152, 131, 255, .25);
  border-radius: 24px;
  background:
    radial-gradient(circle at 72% 25%, rgba(74, 207, 255, .13), transparent 18rem),
    radial-gradient(circle at 12% 100%, rgba(129, 94, 255, .18), transparent 20rem),
    linear-gradient(135deg, rgba(18, 21, 38, .96), rgba(8, 11, 22, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

.cta-future::after {
  position: absolute;
  right: 20%;
  width: 180px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(133, 114, 255, .4), transparent);
  transform: rotate(-24deg);
}

.cta-future h2 {
  margin: 6px 0 0;
  font-size: 25px !important;
  font-weight: 850 !important;
  letter-spacing: -.045em;
}

.cta-future p {
  max-width: 570px;
  margin-top: 8px !important;
  color: var(--muted) !important;
  font-size: 10px !important;
}

.cta-future .hero-actions {
  margin-top: 0;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 6px 0 22px;
}

.page-head h1 {
  margin: 6px 0 0;
  font-size: clamp(27px, 3vw, 40px) !important;
  font-weight: 860 !important;
  letter-spacing: -.05em !important;
}

.page-head p {
  margin-top: 7px !important;
  color: var(--muted) !important;
  font-size: 10px !important;
}

.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.panel {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, .025);
}

html:not(.dark) .panel {
  background: rgba(255, 255, 255, .82);
}

.panel-title {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 780;
}

.panel-title i {
  margin-right: 7px;
  color: #9f8cff;
}

.tool-sel {
  overflow: hidden;
  cursor: pointer;
}

.tool-sel.on {
  border-color: rgba(144, 121, 255, .48) !important;
  background: linear-gradient(145deg, rgba(127, 98, 255, .16), rgba(52, 202, 255, .05)) !important;
  box-shadow: 0 0 28px rgba(104, 81, 255, .09);
}

.up-box {
  border-color: rgba(143, 121, 255, .24) !important;
  border-radius: 15px !important;
  background: rgba(129, 102, 255, .025);
}

.up-box:hover {
  border-color: rgba(144, 121, 255, .5) !important;
  background: rgba(129, 102, 255, .07) !important;
}

.tablewrap {
  border-color: var(--line) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .02) !important;
}

table.adm th {
  background: rgba(255, 255, 255, .025) !important;
  border-color: var(--line) !important;
  color: var(--muted) !important;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

table.adm td {
  border-color: var(--line) !important;
  color: var(--text) !important;
  font-size: 10px;
}

table.adm tr:hover td {
  background: rgba(129, 102, 255, .045) !important;
}

.empty-state {
  padding: 58px 20px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .015);
  color: var(--muted);
}

.empty-state .es-ico {
  border-color: rgba(143, 121, 255, .36);
  background: rgba(128, 100, 255, .09);
  color: #9f8cff;
}

.empty-state h3 {
  color: var(--text);
}

.login-split {
  min-height: calc(100vh - var(--header) - 26px) !important;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .23);
}

.login-left {
  background:
    radial-gradient(circle at 20% 30%, rgba(128, 94, 255, .24), transparent 20rem),
    radial-gradient(circle at 80% 76%, rgba(47, 201, 255, .12), transparent 18rem),
    linear-gradient(145deg, #0e1221, #080b14) !important;
}

.login-right-panel {
  background: rgba(8, 11, 20, .88) !important;
  color: var(--text) !important;
}

.login-right-panel .text-ink-400,
.login-right-panel .text-ink-300 {
  color: #8993ad !important;
}

.login-right-panel .text-ink-900,
.login-right-panel .text-ink-700 {
  color: #f5f7ff !important;
}

.login-split .card {
  background: rgba(255, 255, 255, .035) !important;
}

.tabbtn {
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: var(--muted) !important;
}

.tabbtn.on {
  border-color: rgba(144, 122, 255, .2) !important;
  background: rgba(129, 102, 255, .13) !important;
  color: #c1b5ff !important;
  box-shadow: none;
}

.drawer-card,
.account-drawer {
  background: rgba(10, 13, 24, .96) !important;
}

#theater {
  background: #030408 !important;
}

#theater .relative.flex-1 {
  background:
    radial-gradient(circle at 50% 42%, rgba(96, 72, 207, .12), transparent 45%),
    #030408;
}

#tStage {
  background: #020306 !important;
}

#tStage::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(130, 113, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 113, 255, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000, transparent 70%);
  pointer-events: none;
}

#tVideo {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 84px);
  object-fit: contain;
  background: transparent;
  will-change: transform, opacity;
  transition: opacity .2s ease;
}

.theater-action-rail {
  border-color: rgba(255, 255, 255, .08) !important;
  background: rgba(8, 10, 17, .9) !important;
  backdrop-filter: blur(18px);
}

.theater-action {
  transition: color .2s ease, transform .2s var(--ease) !important;
}

.theater-action:hover {
  color: #fff !important;
  transform: translateY(-3px) !important;
}

.theater-action > div {
  border: 1px solid rgba(255, 255, 255, .08) !important;
  background: rgba(255, 255, 255, .055) !important;
  backdrop-filter: blur(10px);
}

.theater-drawer {
  border-color: rgba(255, 255, 255, .08) !important;
  background: rgba(8, 10, 17, .96) !important;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .38) !important;
  backdrop-filter: blur(26px);
}

#tSeek {
  height: 4px !important;
  background: rgba(255, 255, 255, .12) !important;
}

#tFill {
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--pink)) !important;
  box-shadow: 0 0 12px rgba(78, 210, 255, .42);
}

#aiPanel {
  border: 1px solid rgba(145, 124, 255, .28) !important;
  border-radius: 20px !important;
  background: rgba(9, 12, 22, .96) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48), 0 0 50px rgba(96, 73, 255, .1) !important;
}

#aiFab {
  border: 1px solid rgba(184, 164, 255, .3);
  border-radius: 17px !important;
  background: linear-gradient(135deg, #8b6dff, #4c67ff 58%, #2dd7ed) !important;
  box-shadow: 0 14px 38px rgba(83, 66, 223, .38) !important;
  animation: float 4.5s ease-in-out infinite;
}

#aiFab::before {
  border-color: rgba(141, 119, 255, .4) !important;
}

.ai-msg.bot {
  border-color: var(--line) !important;
  background: rgba(255, 255, 255, .035) !important;
  color: var(--text) !important;
}

.ai-msg.me {
  background: linear-gradient(120deg, rgba(126, 96, 255, .9), rgba(65, 108, 255, .86)) !important;
}

#cmdK {
  background: rgba(2, 4, 10, .7) !important;
  backdrop-filter: blur(14px);
}

#cmdK .cmd-box {
  border: 1px solid rgba(147, 126, 255, .3) !important;
  border-radius: 18px !important;
  background: rgba(8, 11, 20, .97) !important;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .55), 0 0 60px rgba(102, 79, 255, .12) !important;
}

.toast {
  border-color: var(--line) !important;
  border-radius: 14px !important;
  background: rgba(10, 13, 24, .94) !important;
  color: var(--text) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35) !important;
  backdrop-filter: blur(20px);
}

.site-footer {
  position: relative;
  grid-column: 1 / -1;
  margin-top: 52px;
  padding: 34px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  background: rgba(4, 6, 12, .26) !important;
}

.site-footer a {
  color: var(--muted) !important;
}

.site-footer a:hover {
  color: #ad9cff !important;
}

#drawer {
  z-index: 100;
  border-color: var(--line) !important;
  background: rgba(9, 12, 22, .97) !important;
  box-shadow: -30px 0 90px rgba(0, 0, 0, .42) !important;
  backdrop-filter: blur(28px);
}

#scrim {
  z-index: 99;
  background: rgba(3, 5, 12, .68) !important;
  backdrop-filter: blur(7px);
}

#notifPanel {
  max-width: calc(100vw - 24px);
}

#drawer,
#mAuth > div,
#mTop > div {
  border-color: var(--line) !important;
  border-radius: 22px !important;
  background: rgba(10, 13, 24, .96) !important;
  color: var(--text) !important;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .5) !important;
  backdrop-filter: blur(28px);
}

#fullPage {
  background: rgba(5, 7, 13, .96) !important;
  backdrop-filter: blur(24px);
}

.anim-up,
.anim-in,
.page-enter {
  animation-duration: .48s !important;
  animation-timing-function: var(--ease) !important;
}

.reveal {
  transform: translateY(22px) !important;
  transition-duration: .65s !important;
}

.reveal.in {
  transform: translateY(0) !important;
}

.plan-pop::after {
  border-color: rgba(69, 224, 255, .42) !important;
  box-shadow: 0 0 28px rgba(69, 224, 255, .08);
}

.spinner {
  border-color: rgba(131, 106, 255, .2) !important;
  border-top-color: var(--primary) !important;
}

.skel {
  border: 1px solid var(--line) !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, .035) 25%, rgba(255, 255, 255, .075) 50%, rgba(255, 255, 255, .035) 75%) !important;
  background-size: 800px 100% !important;
}

.aav {
  border-radius: 12px !important;
  background: linear-gradient(135deg, #8066ff, #3bc4e9) !important;
}

.plan-pop,
.stat-spark > i,
.onb-bar > i {
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--pink)) !important;
}

.masonry {
  columns: 3 230px;
  column-gap: 14px;
}

.masonry > * {
  margin-bottom: 14px;
}

@media (max-width: 1480px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 282px;
  }

  .hero-copy {
    padding-left: 38px;
  }

  .hero-console {
    padding-right: 28px;
  }
}

@media (max-width: 1280px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .insight-rail {
    display: none;
  }

  .tool-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tool-card:nth-child(n + 9) {
    display: none;
  }
}

@media (max-width: 1080px) {
  :root {
    --sidebar-live: var(--sidebar-collapsed);
  }

  .side-nav {
    width: var(--sidebar-collapsed);
  }

  .side-nav .brand-word,
  .side-nav .nav-label,
  .side-nav .nav-meta,
  .side-nav .nav-count,
  .side-nav .nav-group,
  .side-nav .system-card,
  .side-nav .nav-launch {
    opacity: 0;
    pointer-events: none;
  }

  .side-link {
    justify-content: center;
    padding: 0;
  }

  .side-link .side-icon {
    margin-right: 0;
  }

  .side-collapse {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .creation-hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 40px 38px 14px;
  }

  .hero-console {
    padding: 14px 38px 38px;
  }

  .hero-console-inner {
    min-height: 430px;
  }

  .tool-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-card:nth-child(n + 7) {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 68px;
  }

  body {
    --sidebar-live: 0px;
  }

  .app-frame {
    margin-left: 0;
  }

  .side-nav {
    width: min(286px, 88vw);
    transform: translateX(-102%);
    box-shadow: 30px 0 90px rgba(0, 0, 0, .45);
  }

  body.mobile-nav-open .side-nav {
    transform: translateX(0);
  }

  body.mobile-nav-open .side-nav-scrim {
    display: block;
  }

  body.mobile-nav-open .side-nav .brand-word,
  body.mobile-nav-open .side-nav .nav-label,
  body.mobile-nav-open .side-nav .nav-meta,
  body.mobile-nav-open .side-nav .nav-count,
  body.mobile-nav-open .side-nav .nav-group,
  body.mobile-nav-open .side-nav .system-card,
  body.mobile-nav-open .side-nav .nav-launch {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-nav-open .side-link {
    justify-content: flex-start;
    padding: 0 12px;
  }

  body.mobile-nav-open .side-link .side-icon {
    margin-right: 11px;
  }

  #siteHeader {
    left: 0;
    padding: 0 14px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
  }

  .mobile-menu,
  .header-brand-mobile {
    display: flex;
  }

  .header-brand-mobile {
    justify-content: center;
  }

  .head-credit {
    display: none;
  }

  .header-brand-mobile .brand-symbol {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  .workspace {
    padding: calc(var(--header) + 17px) 14px 0;
  }

  .global-search {
    max-width: none;
  }

  .search-box {
    height: 42px;
  }

  #q {
    padding-right: 14px;
    font-size: 10px;
  }

  .search-kbd,
  .header-btn.ai-header,
  .header-create {
    display: none;
  }

  .creation-hero {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 31px 22px 10px;
  }

  .hero-title {
    font-size: clamp(35px, 11vw, 52px) !important;
  }

  .hero-lead {
    font-size: 11px !important;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-actions .btn-pri,
  .hero-actions .btn-ghost {
    flex: 1;
  }

  .hero-console {
    padding: 11px 18px 18px;
  }

  .hero-console-inner {
    min-height: 360px;
  }

  #heroVideo {
    min-height: 230px;
  }

  .tool-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-card:nth-child(n + 7) {
    display: block;
  }

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

  .value-cell:nth-child(2) {
    border-right: 0;
  }

  .value-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .filter-deck,
  .explore-hero,
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .algorithm-select {
    width: 100%;
  }

  .discovery-grid,
  .masonry {
    columns: 2 160px;
  }

  .creation-card-actions {
    opacity: 1;
    transform: none;
  }

  .cta-future {
    grid-template-columns: 1fr;
  }

  .theater-action-rail {
    position: absolute;
    right: 0;
    bottom: 58px;
    z-index: 35;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 48px;
    padding: 5px 8px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
  }

  .theater-action-rail > div {
    flex-direction: row !important;
    gap: 10px;
    margin: 0 !important;
  }

  .theater-action-rail > div:first-child,
  .theater-action-rail > div:last-child {
    display: none !important;
  }

  .theater-action {
    flex-direction: row !important;
    gap: 5px;
  }

  .theater-action > div {
    width: 32px !important;
    height: 32px !important;
  }

  .theater-action span {
    font-size: 8px !important;
  }

  .theater-drawer {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: min(68vh, 560px) !important;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  #tVideo {
    max-height: calc(100vh - 116px);
  }

  .login-left {
    display: none !important;
  }

  .login-split {
    display: block;
    border: 0;
    box-shadow: none;
  }

  #aiPanel {
    right: 12px;
    bottom: 82px;
    left: 12px;
    width: auto;
  }

  #aiFab {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .header-brand-mobile .brand-symbol {
    display: none;
  }

  .header-actions {
    gap: 5px;
  }

  .header-actions .btn-ghost,
  .header-actions .btn-pri {
    display: none;
  }

  .hero-copy {
    padding: 27px 18px 8px;
  }

  .hero-title {
    font-size: 35px !important;
  }

  .hero-lead {
    font-size: 10px !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-console {
    padding: 9px 12px 12px;
  }

  .console-stat {
    padding: 0 7px;
  }

  .console-stat b {
    font-size: 9px;
  }

  .tool-rail {
    gap: 7px;
  }

  .discovery-grid,
  .masonry {
    columns: 1;
  }

  .creation-card-media,
  .creation-card-media > video,
  .creation-card-media > img {
    min-height: 340px;
  }

  .cta-future {
    padding: 24px 20px;
  }

  .cta-future h2 {
    font-size: 21px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  #bgfx canvas,
  #bgfx .grid3d {
    display: none;
  }
}
