:root{
  --bg:#020108;
  --text:#f8fbff;
  --muted:rgba(238,246,255,.68);
  --soft:rgba(238,246,255,.48);
  --vice-pink:#ff0a8a;
  --vice-cyan:#18b8ff;
  --vice-blue:#009fe8;
  --vice-purple:#7428ff;
  --edge-x:50%;
  --edge-y:50%;
  --flow-x:50%;
  --flow-y:50%;
  --bg-shift:0px;
  --bg-shift-fast:0px;
  --bg-tilt:0deg;
  --glass-alpha:.17;
  --glass-edge:.45;
  --button-highlight:var(--vice-pink);
  --button-highlight-strong:var(--vice-pink);
  --font-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-heading:var(--font-body);
}

@view-transition{
  navigation:auto;
}

::view-transition-old(root),
::view-transition-new(root){
  animation-duration:.52s;
  animation-timing-function:cubic-bezier(.22,1,.36,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html:has(body.chapter-scroll-enabled){
  scroll-snap-type:none;
  scroll-padding-top:0;
}
body{
  min-height:100vh;
  padding-bottom:118px;
  overflow-x:hidden;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  letter-spacing:0;
  -webkit-font-smoothing:antialiased;
  opacity:0;
  transition:opacity .42s cubic-bezier(.22,1,.36,1),filter .42s cubic-bezier(.22,1,.36,1);
}
body.logo-on-dark{
  --chrome-text:rgba(226,244,255,.68);
  --chrome-text-strong:#fff;
  --chrome-text-shadow:0 0 12px color-mix(in srgb,var(--vice-cyan) 42%,transparent),0 0 16px color-mix(in srgb,var(--vice-pink) 34%,transparent);
  --chrome-icon:var(--vice-cyan);
  --chrome-icon-active:var(--vice-pink);
}
body.logo-on-light{
  --chrome-text:rgba(5,18,38,.68);
  --chrome-text-strong:#071426;
  --chrome-text-shadow:0 0 10px rgba(255,255,255,.55),0 0 14px color-mix(in srgb,var(--vice-cyan) 24%,transparent);
  --chrome-icon:var(--vice-cyan);
  --chrome-icon-active:var(--vice-pink);
}
body.page-ready{opacity:1}
body.page-leaving{opacity:0;filter:blur(10px) brightness(.78)}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit;color:inherit}

body[data-site="resource"]{
  --vice-pink:#ff4fb2;
  --vice-cyan:#5fe7ff;
  --vice-blue:#51a2ff;
  --vice-purple:#9b5cff;
  --glass-alpha:.20;
}

body[data-site="network"]{
  --vice-pink:#ff1c76;
  --vice-cyan:#00d7ff;
  --vice-blue:#2474ff;
  --vice-purple:#5f2bff;
  --glass-alpha:.15;
}

body[data-page="mods"]{
  --bg:#071321;
  --vice-pink:#ff0a8a;
  --vice-cyan:#72d7ff;
  --vice-blue:#2f9dff;
  --vice-purple:#6f5dff;
  --glass-alpha:.13;
  --glass-edge:.50;
}

.site-bg{
  position:fixed;
  inset:0;
  z-index:-10;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 118%,rgba(0,80,120,.20),transparent 42%),
    linear-gradient(145deg,#020108 0%,#070113 46%,#01040c 100%);
}
.site-bg::before{
  content:"";
  position:absolute;
  inset:-16%;
  background:
    radial-gradient(circle at var(--flow-x) var(--flow-y),color-mix(in srgb,var(--vice-cyan) 52%,transparent),transparent 24%),
    radial-gradient(circle at calc(100% - var(--flow-x)) calc(100% - var(--flow-y)),color-mix(in srgb,var(--vice-pink) 58%,transparent),transparent 29%),
    radial-gradient(circle at 22% 78%,color-mix(in srgb,var(--vice-purple) 34%,transparent),transparent 32%),
    radial-gradient(circle at 82% 70%,color-mix(in srgb,var(--vice-blue) 30%,transparent),transparent 34%),
    linear-gradient(145deg,#020108 0%,#080114 46%,#01030c 100%);
  filter:saturate(1.22) brightness(.96);
  transform:translate3d(calc(var(--bg-shift-fast) * .05),calc(var(--bg-shift) * -.20),0) rotate(var(--bg-tilt)) scale(1.1);
  animation:liquidField 16s ease-in-out infinite alternate;
}
.site-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center,transparent 0 39%,rgba(0,0,0,.54) 73%,rgba(0,0,0,.90) 100%),
    linear-gradient(to bottom,rgba(0,0,0,.30),rgba(0,0,0,.64));
}
.site-light-overlay{
  position:fixed;
  inset:0;
  z-index:-9;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,10,138,.13),transparent 30%),
    radial-gradient(circle at 84% 72%,rgba(24,184,255,.16),transparent 32%),
    linear-gradient(145deg,rgba(246,252,255,.78),rgba(216,238,248,.62));
  backdrop-filter:saturate(1.08) brightness(1.08);
  transition:opacity .58s cubic-bezier(.22,1,.36,1);
}
body.light-chapter-active .site-light-overlay{
  opacity:1;
}

body[data-page="mods"] .site-bg{
  background:
    linear-gradient(to bottom,rgba(255,255,255,.02),rgba(2,8,14,.30)),
    url("mods-bg.png") center center / cover no-repeat,
    #071321;
}

body[data-page="mods"] .site-bg::before{
  inset:0;
  background:
    radial-gradient(circle at 72% 26%,rgba(114,215,255,.12),transparent 28%),
    radial-gradient(circle at 34% 76%,rgba(255,10,138,.10),transparent 34%),
    linear-gradient(to bottom,rgba(255,255,255,.08),rgba(0,0,0,.26));
  filter:saturate(1.10) contrast(1.04) brightness(1.05);
  transform:scale(1.03);
  animation:none;
}

body[data-page="mods"] .site-bg::after{
  background:
    radial-gradient(circle at center,transparent 0 50%,rgba(0,0,0,.16) 76%,rgba(0,0,0,.44) 100%),
    linear-gradient(to bottom,rgba(2,7,14,.06),rgba(2,6,12,.38));
}

body[data-page="mods"] .aurora{
  opacity:.16;
  filter:blur(96px) saturate(1.2);
}

body[data-page="mods"] .grid{
  opacity:.16;
  mix-blend-mode:soft-light;
  transform:none;
}
.aurora{
  position:absolute;
  width:48rem;
  height:48rem;
  border-radius:999px;
  filter:blur(92px) saturate(1.55);
  opacity:.34;
  animation:floatAurora 17s ease-in-out infinite alternate;
}
.aurora-one{left:-16rem;top:7rem;background:var(--vice-pink)}
.aurora-two{right:-15rem;top:10rem;background:var(--vice-cyan);animation-delay:-5s}
.aurora-three{left:32%;bottom:-22rem;background:var(--vice-purple);animation-delay:-9s}
.grid{
  position:absolute;
  inset:0;
  opacity:.38;
  background-image:
    linear-gradient(color-mix(in srgb,var(--vice-cyan) 10%,transparent) 1px,transparent 1px),
    linear-gradient(90deg,color-mix(in srgb,var(--vice-pink) 8%,transparent) 1px,transparent 1px);
  background-size:74px 74px;
  mask-image:linear-gradient(to bottom,transparent,black 14%,black 75%,transparent);
  transform:translate3d(0,calc(var(--bg-shift-fast) * .12),0);
  animation:gridMove 14s linear infinite;
}
.noise{
  position:absolute;
  inset:0;
  opacity:.055;
  background-image:
    radial-gradient(circle at 20% 30%,rgba(255,255,255,.28) 0 1px,transparent 1px),
    radial-gradient(circle at 80% 60%,rgba(255,255,255,.20) 0 1px,transparent 1px);
  background-size:38px 38px,54px 54px;
  mix-blend-mode:screen;
}

#liquidGlassCanvas{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
}
body.webgl-liquid-ready main,
body.webgl-liquid-ready .topbar,
body.webgl-liquid-ready .desktop-nav,
body.webgl-liquid-ready .footer,
body.webgl-liquid-ready .scroll-progress{
  position:relative;
  z-index:2;
}
body.webgl-liquid-ready .topbar,
body.webgl-liquid-ready .desktop-nav{
  position:fixed;
  z-index:120;
}

.scroll-progress{
  position:fixed;
  top:0;
  left:0;
  height:3px;
  width:0;
  z-index:999;
  background:linear-gradient(90deg,var(--vice-pink),var(--vice-purple),var(--vice-cyan));
  box-shadow:0 0 22px color-mix(in srgb,var(--vice-pink) 90%,transparent),0 0 26px color-mix(in srgb,var(--vice-cyan) 72%,transparent);
}

.liquid-glass,
.liquid-button,
.stat,
.tool-card{
  --edge-x:var(--mx,50%);
  --edge-y:var(--my,50%);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(116deg,rgba(255,255,255,.050),rgba(255,255,255,.006) 42%,rgba(255,255,255,.032)),
    rgba(3,8,22,calc(var(--glass-alpha) * .30));
  backdrop-filter:blur(6px) saturate(1.18) contrast(1.05) brightness(1.01);
  -webkit-backdrop-filter:blur(6px) saturate(1.18) contrast(1.05) brightness(1.01);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.045),
    inset 0 0 0 2px rgba(255,255,255,.014),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(255,255,255,.035),
    inset 8px 0 14px rgba(255,255,255,.018),
    inset -8px 0 16px rgba(114,215,255,.018),
    inset 18px 0 34px rgba(255,255,255,.014),
    inset -18px 0 38px rgba(255,10,138,.012),
    0 24px 74px rgba(0,0,0,.42);
}
.liquid-glass::before,
.liquid-button::before,
.stat::before,
.tool-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.30) 0%,
      rgba(255,255,255,.16) 4%,
      rgba(255,255,255,.070) 10%,
      rgba(255,255,255,.020) 20%,
      transparent 38% 62%,
      rgba(114,215,255,.020) 80%,
      rgba(114,215,255,.070) 90%,
      rgba(255,255,255,.14) 96%,
      rgba(255,255,255,.28) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,.28) 0%,
      rgba(255,255,255,.13) 5%,
      rgba(255,255,255,.052) 12%,
      rgba(255,255,255,.014) 24%,
      transparent 45% 66%,
      rgba(255,255,255,.018) 80%,
      rgba(255,255,255,.070) 92%,
      rgba(255,255,255,.20) 100%);
  filter:blur(1.2px) saturate(1.36) contrast(1.04);
  mix-blend-mode:screen;
  opacity:.34;
  transition:opacity .18s ease;
  z-index:1;
}
.liquid-glass::after,
.liquid-button::after,
.stat::after,
.tool-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1.4px;
  pointer-events:none;
  background:
    linear-gradient(90deg,color-mix(in srgb,var(--vice-pink) 42%,transparent),transparent 12% 88%,color-mix(in srgb,var(--vice-cyan) 42%,transparent)),
    linear-gradient(180deg,rgba(255,255,255,.30),transparent 15% 84%,rgba(255,255,255,.16));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:calc(var(--glass-edge) * .54);
  filter:none;
  transition:none;
  z-index:3;
}
body.is-scrolling .liquid-glass::before,
body.is-scrolling .liquid-button::before,
body.is-scrolling .stat::before,
body.is-scrolling .tool-card::before,
body.is-scrolling .liquid-glass::after,
body.is-scrolling .liquid-button::after,
body.is-scrolling .stat::after,
body.is-scrolling .tool-card::after{
  transition:none;
}
.liquid-glass:hover::before,
.liquid-button:hover::before,
.liquid-glass.is-liquid-hover::before,
.liquid-button.is-liquid-hover::before,
.stat:hover::before,
.tool-card:hover::before{opacity:.56}
.liquid-glass:hover::after,
.liquid-button:hover::after,
.liquid-glass.is-liquid-hover::after,
.liquid-button.is-liquid-hover::after,
.stat:hover::after,
.tool-card:hover::after{
  opacity:calc(var(--glass-edge) * .76);
  filter:none;
}
.liquid-glass>*,
.liquid-button>*,
.stat>*,
.tool-card>*{position:relative;z-index:4}

body.webgl-liquid-ready .liquid-button{
  backdrop-filter:blur(10px) saturate(1.62) contrast(1.10) brightness(.98);
  -webkit-backdrop-filter:blur(10px) saturate(1.62) contrast(1.10) brightness(.98);
}
body.webgl-liquid-ready .topbar,
body.webgl-liquid-ready .desktop-nav{
  background:
    linear-gradient(116deg,rgba(255,255,255,.038),rgba(255,255,255,.004) 42%,rgba(255,255,255,.030)),
    rgba(0,0,10,.010);
  backdrop-filter:blur(4px) saturate(1.14) contrast(1.04) brightness(1.01);
  -webkit-backdrop-filter:blur(4px) saturate(1.14) contrast(1.04) brightness(1.01);
}

.topbar{
  position:fixed;
  top:18px;
  left:50%;
  z-index:120;
  width:min(1180px,calc(100% - 32px));
  min-height:76px;
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:10px 12px 10px 16px;
  border-radius:38px;
  --glass-edge:.62;
  backdrop-filter:blur(4px) saturate(1.14) contrast(1.04) brightness(1.01);
  -webkit-backdrop-filter:blur(4px) saturate(1.14) contrast(1.04) brightness(1.01);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.045),
    inset 0 0 0 2px rgba(255,255,255,.012),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(255,255,255,.035),
    inset 10px 0 20px rgba(255,255,255,.016),
    inset -10px 0 22px rgba(255,255,255,.012),
    inset 28px 0 48px rgba(255,255,255,.010),
    inset -28px 0 48px rgba(255,255,255,.010),
    0 22px 64px rgba(0,0,0,.38);
}
.brand{display:flex;align-items:center;min-width:118px}
.brand-logo-stack,
.footer-logo-stack{
  position:relative;
  display:block;
  width:150px;
  height:32px;
  flex:0 0 auto;
}
.brand-logo-stack img,
.footer-logo-stack img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left center;
  opacity:0;
  transition:opacity .38s cubic-bezier(.22,1,.36,1),filter .38s cubic-bezier(.22,1,.36,1);
  will-change:opacity;
}
body.logo-on-dark .logo-light{opacity:1}
body.logo-on-dark .logo-dark{opacity:0}
body.logo-on-light .logo-light{opacity:0}
body.logo-on-light .logo-dark{opacity:1}
body.logo-on-light .topbar{
  background:
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.028)),
    rgba(240,250,255,.07);
  border-color:rgba(5,18,38,.12);
}
.site-switcher{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:18px;
  padding:0;
  background:transparent;
  border:0;
}
.site-group{
  position:relative;
}
.site-link{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--chrome-text);
  font-size:13px;
  font-weight:780;
  text-transform:uppercase;
  letter-spacing:.06em;
  background:transparent;
  border:0;
  cursor:pointer;
  transition:color .18s ease,text-shadow .18s ease;
}
.site-link:hover,
.site-link[aria-current="page"]{
  color:var(--chrome-text-strong);
  text-shadow:var(--chrome-text-shadow);
}
.site-dropdown{
  position:absolute;
  top:calc(100% + 12px);
  left:50%;
  min-width:220px;
  display:grid;
  gap:6px;
  padding:10px;
  border-radius:24px;
  transform:translate(-50%,8px);
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.site-group:hover .site-dropdown,
.site-group:focus-within .site-dropdown,
.site-group.is-open .site-dropdown{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}
.site-dropdown__link{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:0 14px;
  border-radius:16px;
  color:var(--chrome-text);
  font-size:13px;
  font-weight:760;
}
.site-dropdown__link:hover,
.site-dropdown__link[aria-current="page"]{
  color:var(--chrome-text-strong);
  background:linear-gradient(90deg,color-mix(in srgb,var(--vice-pink) 16%,transparent),color-mix(in srgb,var(--vice-cyan) 16%,transparent));
}

.liquid-button{
  min-height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 23px;
  border-radius:999px;
  color:white;
  font-weight:820;
  line-height:1;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.liquid-button:hover{transform:translateY(-2px) scale(1.01)}
.button-primary,
.nav-download{
  --glass-edge:.72;
  color:white;
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--button-highlight-strong) 38%,transparent),color-mix(in srgb,var(--button-highlight) 18%,transparent)),
    color-mix(in srgb,var(--button-highlight) 16%,transparent);
  border-color:color-mix(in srgb,var(--button-highlight) 48%,transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb,var(--button-highlight) 22%,transparent),
    inset 0 -1px 0 color-mix(in srgb,var(--button-highlight) 28%,transparent),
    inset 0 0 28px color-mix(in srgb,var(--button-highlight) 20%,transparent),
    0 16px 42px rgba(0,0,0,.36);
  text-shadow:0 0 10px rgba(0,0,0,.30);
}
.button-secondary{background:rgba(0,0,10,.20)}
.nav-download{justify-self:end;font-size:14px;min-width:116px}
.button-primary *,
.nav-download *{color:white}

.desktop-nav{
  position:fixed;
  left:50%;
  bottom:max(18px,env(safe-area-inset-bottom));
  z-index:120;
  transform:translateX(-50%);
  width:min(760px,calc(100% - 28px));
  min-height:76px;
  display:flex;
  align-items:center;
  gap:0;
  padding:8px;
  border-radius:38px;
  --glass-edge:.72;
  backdrop-filter:blur(4px) saturate(1.14) contrast(1.04) brightness(1.01);
  -webkit-backdrop-filter:blur(4px) saturate(1.14) contrast(1.04) brightness(1.01);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.045),
    inset 0 0 0 2px rgba(255,255,255,.012),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(255,255,255,.04),
    inset 10px 0 20px rgba(255,255,255,.016),
    inset -10px 0 22px rgba(255,255,255,.012),
    inset 28px 0 48px rgba(255,255,255,.010),
    inset -28px 0 48px rgba(255,255,255,.010),
    0 20px 64px rgba(0,0,0,.42);
}
.nav-selection{
  position:absolute;
  top:8px;
  left:0;
  width:var(--nav-active-w,90px);
  height:calc(100% - 16px);
  border-radius:36px;
  transform:translate3d(var(--nav-active-x,8px),0,0);
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(145deg,rgba(255,255,255,.024),rgba(255,255,255,.004)),
    rgba(0,0,10,.012);
  backdrop-filter:blur(3px) saturate(1.10) contrast(1.04) brightness(1.01);
  -webkit-backdrop-filter:blur(3px) saturate(1.10) contrast(1.04) brightness(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(255,255,255,.035),
    inset 8px 0 18px color-mix(in srgb,var(--vice-pink) 7%,transparent),
    inset -8px 0 18px color-mix(in srgb,var(--vice-cyan) 7%,transparent),
    inset 18px 0 34px color-mix(in srgb,var(--vice-pink) 10%,transparent),
    inset -18px 0 34px color-mix(in srgb,var(--vice-cyan) 10%,transparent),
    0 0 22px color-mix(in srgb,var(--vice-pink) 14%,transparent),
    0 0 24px color-mix(in srgb,var(--vice-cyan) 10%,transparent);
  transition:transform .22s cubic-bezier(.22,1,.36,1),width .22s cubic-bezier(.22,1,.36,1);
  z-index:0;
}
body.is-scrolling .nav-selection{
  transition:transform .16s linear,width .16s linear;
}
.desktop-nav a{
  position:relative;
  z-index:2;
  flex:1 1 0;
  min-width:0;
  min-height:60px;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 10px;
  border-radius:36px;
  color:var(--chrome-text);
  font-size:12px;
  font-weight:780;
  line-height:1.05;
  text-align:center;
  transition:color .12s linear,text-shadow .12s linear;
}
.desktop-nav a:hover,
.desktop-nav a.active{
  color:var(--chrome-text-strong);
  text-shadow:var(--chrome-text-shadow);
}
.nav-icon,
.nav-icon svg{
  width:30px;
  height:30px;
}
.nav-icon{
  display:grid;
  place-items:center;
  flex:0 0 30px;
  color:var(--chrome-icon);
  filter:none;
}
.nav-icon svg,
.nav-icon path{
  fill:currentColor;
  stroke:none;
}
.nav-icon img{
  width:30px;
  height:30px;
  object-fit:contain;
  filter:brightness(0) invert(1);
  opacity:.86;
}
.desktop-nav a.active .nav-icon{
  color:var(--chrome-icon-active);
  filter:none;
}
.desktop-nav a.active .nav-icon img{
  opacity:1;
  filter:brightness(0) invert(1) drop-shadow(0 0 10px color-mix(in srgb,var(--vice-cyan) 45%,transparent));
}

.section{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:132px 0;
}
.chapter{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  transform-style:preserve-3d;
  margin-block:48px;
}
.chapter::before{
  content:"";
  position:absolute;
  inset:auto 8% 8% 8%;
  height:26%;
  pointer-events:none;
  background:radial-gradient(ellipse at center,color-mix(in srgb,var(--vice-cyan) 14%,transparent),transparent 64%);
  filter:blur(34px);
  opacity:.48;
  transform:translateZ(-1px);
}
.has-section-bg::after{
  content:"";
  position:absolute;
  inset:38px max(-52px, -4vw);
  z-index:-2;
  border-radius:48px;
  background:
    linear-gradient(to bottom,rgba(1,5,12,.12),rgba(1,5,12,.56)),
    var(--section-bg) center center / cover no-repeat;
  opacity:.42;
  filter:saturate(1.08) contrast(1.06);
  transform:scale(1.015);
}
body[data-page="mods"] .has-section-bg::after{
  display:none;
}
.light-chapter{
  color:#06182e;
}
.light-chapter.section-download-cards{
  min-height:calc(100svh - 96px);
  padding-top:88px;
  padding-bottom:88px;
}
.light-chapter.section-download-cards .download-card{
  min-height:320px;
}
.light-chapter .kicker,
.light-chapter .section-heading p,
.light-chapter .download-card p{
  color:rgba(6,24,46,.68);
}
.light-chapter .kicker,
.light-chapter .download-label,
.light-chapter .project-tabs span,
.light-chapter .docs-layout aside a{
  color:rgba(6,24,46,.78);
  background:
    linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.28)),
    rgba(255,255,255,.24);
  border-color:rgba(7,25,48,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 0 18px rgba(24,184,255,.12);
}
.light-chapter .liquid-glass,
.light-chapter .download-card{
  border-color:rgba(7,25,48,.14);
  background:
    linear-gradient(145deg,rgba(255,255,255,.52),rgba(255,255,255,.20)),
    rgba(255,255,255,.18);
  color:#06182e;
}
body.safari-optimized .site-bg::before,
body.safari-optimized .site-bg::after,
body.safari-optimized .aurora,
body.safari-optimized .noise,
body.safari-optimized .grid,
body.safari-optimized #liquidGlassCanvas,
body.safari-optimized .chapter::before{
  display:none !important;
  animation:none !important;
}
body.safari-optimized .liquid-glass,
body.safari-optimized .liquid-button,
body.safari-optimized .stat,
body.safari-optimized .tool-card{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
body.safari-optimized .liquid-glass::before,
body.safari-optimized .liquid-glass::after,
body.safari-optimized .liquid-button::before,
body.safari-optimized .liquid-button::after,
body.safari-optimized .stat::before,
body.safari-optimized .stat::after,
body.safari-optimized .tool-card::before,
body.safari-optimized .tool-card::after{
  content:none !important;
  display:none !important;
}

.mobile-toggle{
  display:none;
  width:54px;
  height:54px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.018));
  color:var(--chrome-text-strong);
  place-items:center;
}
.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after{
  content:"";
  display:block;
  width:21px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  box-shadow:0 0 12px color-mix(in srgb,var(--vice-cyan) 40%,transparent);
}
.mobile-toggle::before{transform:translateY(-7px)}
.mobile-toggle::after{transform:translateY(7px)}
.mobile-menu{
  position:fixed;
  top:104px;
  left:50%;
  z-index:119;
  width:min(430px,calc(100% - 28px));
  max-height:calc(100svh - 128px);
  overflow:auto;
  transform:translateX(-50%);
  padding:14px;
  border-radius:34px;
}
.mobile-menu section{
  display:grid;
  gap:8px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.mobile-menu section:last-child{border-bottom:0}
.mobile-menu a{
  min-height:42px;
  display:flex;
  align-items:center;
  border-radius:20px;
  color:var(--chrome-text-strong);
  font-weight:820;
  padding:0 14px;
}
.mobile-menu div a{
  color:var(--chrome-text);
  padding-left:28px;
}
.mobile-menu a:hover{
  background:linear-gradient(90deg,color-mix(in srgb,var(--vice-pink) 16%,transparent),color-mix(in srgb,var(--vice-cyan) 16%,transparent));
}
.hero{
  min-height:calc(100vh - 40px);
  display:grid;
  grid-template-columns:1fr .90fr;
  align-items:center;
  gap:56px;
  padding-top:128px;
  padding-bottom:132px;
}
.eyebrow,
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:rgba(238,246,255,.78);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
  text-shadow:0 0 16px rgba(0,0,0,.34);
}
.eyebrow,
.kicker{
  padding:10px 14px;
  border-radius:999px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.025)),
    rgba(2,8,20,.36);
  border:1px solid color-mix(in srgb,var(--vice-cyan) 28%,rgba(255,255,255,.14));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 0 24px color-mix(in srgb,var(--vice-cyan) 16%,transparent),
    0 10px 32px rgba(0,0,0,.28);
  backdrop-filter:blur(12px) saturate(1.35);
  -webkit-backdrop-filter:blur(12px) saturate(1.35);
}
.kicker{
  padding:9px 13px;
}
.pulse-dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background:var(--vice-cyan);
  box-shadow:0 0 18px var(--vice-cyan);
  animation:pulse 1.8s ease-in-out infinite;
}
h1{
  margin-top:24px;
  max-width:850px;
  font-size:clamp(46px,5.9vw,78px);
  line-height:.96;
  letter-spacing:0;
  background:linear-gradient(100deg,#fff 8%,var(--vice-pink) 40%,var(--vice-cyan) 78%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 26px color-mix(in srgb,var(--vice-pink) 16%,transparent));
}
h1,
h2,
h3,
.main-dash h2,
.resource-card h2{
  font-family:var(--font-heading);
}
.hero-text{
  margin-top:24px;
  max-width:720px;
  color:var(--muted);
  font-size:19px;
  line-height:1.75;
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.hero-actions .liquid-button{min-width:190px}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:34px;
  max-width:680px;
}
.stat{
  min-height:96px;
  padding:18px;
  border-radius:26px;
}
.stat strong{display:block;font-size:20px}.stat span{display:block;margin-top:6px;color:var(--soft);font-size:13px}

.hero-visual{
  min-height:640px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.device-glass{
  position:relative;
  width:min(470px,100%);
  height:620px;
  border-radius:42px;
}
.device-glass::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:41px;
  background:
    linear-gradient(120deg,rgba(255,255,255,.16),transparent 28%,transparent 70%,rgba(255,255,255,.07)),
    repeating-linear-gradient(135deg,rgba(255,255,255,.04) 0 1px,transparent 1px 13px);
  opacity:.78;
}
.dashboard-card,
.mini-card{position:absolute;border-radius:28px}
.main-dash{left:54px;right:54px;top:118px;padding:26px}
.dash-top{display:flex;justify-content:space-between;align-items:center;color:rgba(255,255,255,.54);font-size:12px;letter-spacing:.16em;font-weight:820}
.dash-top i{width:10px;height:10px;border-radius:99px;background:var(--vice-cyan);box-shadow:0 0 18px var(--vice-cyan)}
.main-dash h2{margin-top:22px;font-size:32px;letter-spacing:0}
.main-dash p{margin-top:10px;color:var(--muted);line-height:1.55}
.signal-bars{display:flex;align-items:end;gap:8px;margin-top:30px;height:58px}
.signal-bars span{flex:1;border-radius:999px;background:linear-gradient(to top,var(--vice-pink),var(--vice-cyan));box-shadow:0 0 22px color-mix(in srgb,var(--vice-cyan) 24%,transparent)}
.signal-bars span:nth-child(1){height:30%}.signal-bars span:nth-child(2){height:50%}.signal-bars span:nth-child(3){height:75%}.signal-bars span:nth-child(4){height:100%}
.mini-card{padding:18px;min-width:170px}.mini-card small{display:block;color:var(--soft);font-weight:740}.mini-card strong{display:block;margin-top:8px;font-size:20px}
.mini-card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:18px;
  margin-bottom:12px;
  border:1px solid rgba(255,255,255,.12);
}
.mini-one{right:22px;top:350px;animation:floatCard 5s ease-in-out infinite}.mini-two{left:22px;bottom:100px;animation:floatCard 5s ease-in-out infinite -1.8s}.mini-three{right:46px;bottom:38px;animation:floatCard 5s ease-in-out infinite -3s}
.hero-custom{
  width:min(520px,100%);
  min-height:480px;
  border-radius:36px;
  padding:28px;
}
.hero-card-stack{
  width:min(520px,100%);
  display:grid;
  gap:16px;
}
.hero-stack-card{
  min-height:154px;
  border-radius:30px;
  padding:20px;
}
.hero-stack-card:nth-child(2){transform:translateX(34px)}
.hero-stack-card:nth-child(3){transform:translateX(-18px)}
.hero-stack-card img{
  width:100%;
  aspect-ratio:16/8;
  object-fit:cover;
  border-radius:20px;
  margin-bottom:14px;
  border:1px solid rgba(255,255,255,.12);
}
.hero-stack-card small{
  display:block;
  color:var(--soft);
  font-size:12px;
  font-weight:820;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.hero-stack-card strong{
  display:block;
  margin-top:8px;
  font-size:24px;
}
.hero-stack-card p{
  margin-top:8px;
  color:var(--muted);
  line-height:1.55;
}

.split{display:grid;grid-template-columns:.85fr 1.15fr;gap:36px;align-items:start}
.section-heading h2{margin-top:16px;font-size:clamp(36px,5vw,68px);line-height:.96;letter-spacing:0}
.section-heading p{max-width:700px;margin:18px auto 0;color:var(--muted);font-size:18px;line-height:1.7}.centered{text-align:center}
.glass-panel{border-radius:32px;padding:34px}.glass-panel>p{color:var(--muted);font-size:18px;line-height:1.75}
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}
.tool-card{padding:24px;border-radius:28px}
.icon-bubble{display:grid;place-items:center;width:50px;height:50px;border-radius:18px;background:linear-gradient(135deg,var(--vice-pink),var(--vice-cyan));box-shadow:0 0 28px color-mix(in srgb,var(--vice-pink) 22%,transparent);font-weight:900;margin-bottom:20px;color:#050108}
.tool-card h3,.system-card h3,.download-card h3{font-size:24px;letter-spacing:0}
.tool-card p,.system-card p,.download-card p,.resource-card p{margin-top:10px;color:var(--muted);line-height:1.65}

.system-grid{margin-top:46px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.system-card{min-height:290px;border-radius:30px;padding:26px;transition:transform .28s ease}
.system-card:hover{transform:translateY(-7px)}
.system-card span{color:rgba(255,255,255,.42);font-weight:900;font-size:13px;letter-spacing:.16em}.system-card h3{margin-top:70px}

.resource-card{border-radius:38px;padding:44px;display:grid;grid-template-columns:1fr .85fr;gap:34px;align-items:center}
.resource-card h2{margin-top:16px;font-size:clamp(40px,5vw,70px);letter-spacing:0;line-height:.96}.resource-card p{font-size:18px;max-width:620px}
.pack-preview{display:grid;grid-template-columns:1fr 1fr;gap:16px;transform:rotate(-2deg)}
.pack-tile{aspect-ratio:1/1;border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.035)),radial-gradient(circle at 25% 20%,var(--vice-pink),transparent 38%),radial-gradient(circle at 80% 80%,var(--vice-cyan),transparent 40%)}
.tile-b{transform:translateY(28px);filter:hue-rotate(25deg)}.tile-c{transform:translateY(-14px);filter:hue-rotate(-35deg)}.tile-d{filter:hue-rotate(55deg)}

.download-grid{margin-top:44px;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
.download-card{border-radius:30px;padding:34px;display:flex;flex-direction:column;min-height:360px;transition:transform .28s ease}.download-card:hover{transform:translateY(-6px)}
.download-label{width:max-content;display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.66);font-size:12px;font-weight:820;text-transform:uppercase;letter-spacing:.12em}
.download-label,
.project-tabs span,
.docs-layout aside a{
  background:
    linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.025)),
    rgba(2,8,20,.32);
  border-color:rgba(255,255,255,.16);
  color:rgba(248,251,255,.86);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 18px color-mix(in srgb,var(--vice-cyan) 10%,transparent);
  backdrop-filter:blur(10px) saturate(1.24);
  -webkit-backdrop-filter:blur(10px) saturate(1.24);
}
.download-card h3{margin-top:24px;font-size:30px}.download-card p{flex:1}.download-card .liquid-button{margin-top:auto;min-height:58px}

.footer{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto 24px;
  padding:30px 34px;
  border-radius:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:var(--soft);
  scroll-snap-align:end;
}
.footer-logo-stack{width:138px;height:28px;opacity:.86}

.project-grid,
.status-grid{
  margin-top:46px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.project-card,
.release-card,
.status-card{
  border-radius:30px;
  padding:30px;
  transition:transform .28s ease,box-shadow .28s ease;
}
.card-media{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:20px;
  margin-bottom:20px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:44px;
}
.gallery-card{
  border-radius:30px;
  padding:12px;
}
.gallery-card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:22px;
}
.gallery-card figcaption{
  padding:14px 8px 4px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.hero-image{
  width:min(520px,100%);
  border-radius:36px;
  padding:12px;
}
.hero-image img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:26px;
}
.project-card:hover,
.release-card:hover,
.status-card:hover{
  transform:translateY(-7px);
}
.project-card{
  min-height:390px;
  display:flex;
  flex-direction:column;
}
.project-card h3,
.release-card h3,
.status-card h3{
  margin-top:22px;
  font-size:28px;
  line-height:1.04;
  letter-spacing:0;
}
.project-card p,
.release-card p,
.status-card p{
  margin-top:12px;
  color:var(--muted);
  line-height:1.65;
}
.project-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:22px 0 26px;
}
.project-tabs span{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(238,246,255,.72);
  font-size:12px;
  font-weight:760;
}
.project-card .liquid-button{margin-top:auto}
.release-timeline{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:36px;
}
.release-card ul{
  margin:22px 0 26px 18px;
  color:var(--muted);
  line-height:1.65;
}
.release-card li+li{margin-top:8px}
.release-card .liquid-button{
  min-height:52px;
  width:max-content;
}
.status-grid{grid-template-columns:repeat(3,1fr)}
.status-card{
  min-height:210px;
}
.status-dot{
  display:block;
  width:13px;
  height:13px;
  border-radius:99px;
  background:var(--vice-cyan);
  box-shadow:0 0 18px var(--vice-cyan);
}
.status-planned{
  background:var(--vice-pink);
  box-shadow:0 0 18px var(--vice-pink);
}
.docs-layout{
  display:grid;
  grid-template-columns:230px 1fr;
  gap:28px;
  margin-top:34px;
  padding:28px;
  border-radius:32px;
}
.docs-layout aside{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.docs-layout aside a{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:0 14px;
  border-radius:18px;
  color:rgba(238,246,255,.74);
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  font-size:13px;
  font-weight:780;
}
.docs-layout article+article{margin-top:26px}
.docs-layout h3{font-size:24px}
.docs-layout p{
  margin-top:8px;
  color:var(--muted);
  line-height:1.7;
}

.reveal{opacity:0;transform:translateY(28px);transition:opacity .75s ease,transform .75s cubic-bezier(.22,1,.36,1)}
.reveal.visible{opacity:1;transform:translateY(0)}
.hero .reveal{opacity:1;transform:none}
.delay-1{transition-delay:.12s}.delay-2{transition-delay:.22s}.delay-3{transition-delay:.32s}

@keyframes liquidField{0%{background-position:0% 44%,100% 24%,42% 100%,0 0,0 0}50%{background-position:78% 58%,24% 68%,58% 18%,20% 20%,50% 50%}100%{background-position:100% 36%,0% 42%,78% 86%,100% 100%,100% 100%}}
@keyframes modsBgDrift{0%{transform:translate3d(-10px,calc(var(--bg-shift) * -.04),0) scale(1.035)}100%{transform:translate3d(10px,calc(var(--bg-shift) * -.08),0) scale(1.055)}}
@keyframes floatAurora{0%{transform:rotate(-3deg) scale(1)}50%{transform:rotate(4deg) scale(1.08)}100%{transform:rotate(-1deg) scale(1.03)}}
@keyframes gridMove{to{background-position:0 74px,74px 0}}
@keyframes pulse{0%,100%{transform:scale(1);opacity:.8}50%{transform:scale(1.6);opacity:1}}
@keyframes floatCard{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}

@media(max-width:980px){
  .topbar{grid-template-columns:auto auto;gap:10px}.site-switcher,.nav-download{display:none}.mobile-toggle{display:grid;justify-self:end}
  .hero,.split,.resource-card{grid-template-columns:1fr}.hero{gap:28px;padding-top:130px}.hero-visual{min-height:520px}.device-glass{height:520px}.system-grid{grid-template-columns:1fr 1fr}
  .project-grid,.status-grid,.release-timeline,.gallery-grid{grid-template-columns:1fr 1fr}
  .docs-layout{grid-template-columns:1fr}
  .docs-layout aside{flex-direction:row;flex-wrap:wrap}
}
@media(max-height:760px) and (min-width:900px){
  .hero{
    padding-top:118px;
    padding-bottom:118px;
    gap:42px;
  }

  h1{
    font-size:clamp(42px,4.8vw,58px);
    line-height:.98;
  }

  .hero-text{
    margin-top:18px;
    font-size:17px;
    line-height:1.55;
  }

  .hero-actions{
    margin-top:22px;
  }

  .hero-stats{
    display:none;
  }

  .hero-visual{
    min-height:500px;
    transform:scale(.88);
    transform-origin:center right;
  }
}
@media(max-width:720px){
  .topbar{min-height:68px;border-radius:34px}.brand{min-width:auto}.brand-logo-stack{width:118px;height:26px}.nav-download{min-width:104px;min-height:50px;padding:0 17px}
  .desktop-nav{width:min(440px,calc(100% - 18px));min-height:68px;padding:7px;border-radius:34px}.nav-selection{top:7px;height:calc(100% - 14px);border-radius:28px}
  .desktop-nav a{min-height:54px;padding:0 6px;font-size:10px}.desktop-nav a span:last-child{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-icon,.nav-icon svg{width:24px;height:24px}.nav-icon{flex-basis:24px}
}
@media(max-width:680px){
  body{padding-bottom:104px}.section{width:min(100% - 24px,1180px);padding:82px 0}.hero{padding-bottom:108px}h1{font-size:48px}.hero-text{font-size:17px}
  .hero-stats,.feature-row,.system-grid,.download-grid,.project-grid,.status-grid,.release-timeline,.gallery-grid{grid-template-columns:1fr}.hero-visual{display:none}.resource-card,.glass-panel,.download-card,.project-card,.release-card,.status-card{padding:26px;border-radius:28px}.pack-preview{transform:none}.footer{flex-direction:column;text-align:center;border-radius:34px}.footer-logo-stack{width:124px;height:26px}
  .chapter{min-height:auto;scroll-snap-align:none;margin-block:0}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  #liquidGlassCanvas{display:none}
  .site-bg::before,.grid,.aurora{transform:none !important}
  .site-light-overlay{transition:none}
}

/* Vice overlay restoration: cursor-local edge refraction, no white hover rings. */
body[data-page="mods"]{
  --vice-pink:#ff0aa8;
  --vice-cyan:#00e5ff;
  --vice-blue:#00e5ff;
  --vice-blue-deep:#003dff;
  --vice-purple:#7b1dff;
  --glass-edge:.50;
}

body[data-page="mods"] .site-bg{
  background:
    radial-gradient(circle at 18% 18%,rgba(255,10,168,.23),transparent 31%),
    radial-gradient(circle at 78% 20%,rgba(0,61,255,.30),transparent 34%),
    linear-gradient(118deg,rgba(0,61,255,.46),rgba(0,8,42,.26) 42%,rgba(255,10,168,.18) 78%),
    url("mods-bg.png") center center / cover no-repeat,
    #00040f;
  background-blend-mode:screen,screen,color-burn,normal,normal;
}

.hero h1,
.section-heading h2,
.content-modal__panel h2{
  text-shadow:
    2px 0 0 rgba(0,61,255,.36),
    -2px 0 0 rgba(255,10,168,.34),
    0 0 28px rgba(0,61,255,.36);
}

.liquid-glass,
.liquid-button,
.stat,
.tool-card,
.project-card,
.download-card,
.release-card,
.system-card{
  --edge-x:50%;
  --edge-y:50%;
  --edge-local:50%;
  border-color:rgba(255,255,255,.075);
}

.liquid-glass:hover::before,
.liquid-button:hover::before,
.liquid-glass.is-liquid-hover::before,
.liquid-button.is-liquid-hover::before,
.stat:hover::before,
.tool-card:hover::before,
.project-card:hover::before,
.download-card:hover::before,
.release-card:hover::before,
.system-card:hover::before,
.liquid-glass:hover::after,
.liquid-button:hover::after,
.liquid-glass.is-liquid-hover::after,
.liquid-button.is-liquid-hover::after,
.stat:hover::after,
.tool-card:hover::after,
.project-card:hover::after,
.download-card:hover::after,
.release-card:hover::after,
.system-card:hover::after{
  opacity:0;
  filter:none;
}

.liquid-glass::before,
.liquid-button::before,
.stat::before,
.tool-card::before,
.project-card::before,
.download-card::before,
.release-card::before,
.system-card::before{
  background:linear-gradient(90deg,transparent,transparent);
  mix-blend-mode:color-dodge;
  opacity:0;
  filter:blur(12px) saturate(1.42);
  backdrop-filter:saturate(1.35) contrast(1.08) brightness(1.08);
  -webkit-backdrop-filter:saturate(1.35) contrast(1.08) brightness(1.08);
  transition:opacity .42s ease,background-position .55s ease,filter .42s ease;
  z-index:2;
}

.liquid-glass::after,
.liquid-button::after,
.stat::after,
.tool-card::after,
.project-card::after,
.download-card::after,
.release-card::after,
.system-card::after{
  padding:2.3px;
  background:
    radial-gradient(158px 62px at var(--edge-x) var(--edge-y),rgba(255,10,168,1) 0 20%,rgba(0,229,255,.98) 44%,transparent 80%);
  opacity:0;
  filter:none;
  transition:opacity .46s cubic-bezier(.22,1,.36,1),background .55s cubic-bezier(.22,1,.36,1);
  z-index:4;
}

.liquid-glass.is-edge-active::before,
.liquid-button.is-edge-active::before,
.stat.is-edge-active::before,
.tool-card.is-edge-active::before,
.project-card.is-edge-active::before,
.release-card.is-edge-active::before,
.download-card.is-edge-active::before,
.system-card.is-edge-active::before{
  opacity:.70;
}

.is-edge-fading::before{opacity:.18}

.edge-left.is-edge-active::before{
  background:
    radial-gradient(120px 260px at 0 var(--edge-local),rgba(0,229,255,.22),rgba(255,10,168,.105) 30%,rgba(0,229,255,.04) 56%,transparent 86%),
    linear-gradient(90deg,rgba(0,229,255,.055),rgba(255,10,168,.025) 16%,transparent 34%);
}
.edge-right.is-edge-active::before{
  background:
    radial-gradient(120px 260px at 100% var(--edge-local),rgba(255,10,168,.22),rgba(0,229,255,.105) 30%,rgba(255,10,168,.04) 56%,transparent 86%),
    linear-gradient(270deg,rgba(255,10,168,.055),rgba(0,229,255,.025) 16%,transparent 34%);
}
.edge-top.is-edge-active::before{
  background:
    radial-gradient(260px 120px at var(--edge-local) 0,rgba(0,229,255,.20),rgba(255,10,168,.10) 30%,rgba(0,229,255,.038) 56%,transparent 86%),
    linear-gradient(180deg,rgba(0,229,255,.050),rgba(255,10,168,.024) 16%,transparent 34%);
}
.edge-bottom.is-edge-active::before{
  background:
    radial-gradient(260px 120px at var(--edge-local) 100%,rgba(255,10,168,.20),rgba(0,229,255,.10) 30%,rgba(255,10,168,.038) 56%,transparent 86%),
    linear-gradient(0deg,rgba(255,10,168,.050),rgba(0,229,255,.024) 16%,transparent 34%);
}

.liquid-glass.is-edge-active::after,
.liquid-button.is-edge-active::after,
.stat.is-edge-active::after,
.tool-card.is-edge-active::after,
.project-card.is-edge-active::after,
.release-card.is-edge-active::after,
.download-card.is-edge-active::after,
.system-card.is-edge-active::after{
  opacity:.82;
}

.is-edge-fading::after{opacity:.22}
.is-edge-active{border-color:rgba(255,255,255,.045);box-shadow:inherit}

body.safari-optimized .liquid-glass::before,
body.safari-optimized .liquid-glass::after,
body.safari-optimized .liquid-button::before,
body.safari-optimized .liquid-button::after,
body.safari-optimized .stat::before,
body.safari-optimized .stat::after,
body.safari-optimized .tool-card::before,
body.safari-optimized .tool-card::after,
body.safari-optimized .project-card::before,
body.safari-optimized .project-card::after,
body.safari-optimized .release-card::before,
body.safari-optimized .release-card::after,
body.safari-optimized .download-card::before,
body.safari-optimized .download-card::after,
body.safari-optimized .system-card::before,
body.safari-optimized .system-card::after{
  content:none !important;
  display:none !important;
}

.builder-dock{
  position:fixed;
  right:18px;
  bottom:112px;
  z-index:1001;
  width:min(360px,calc(100% - 28px));
  display:grid;
  gap:10px;
  padding:14px;
  border-radius:28px;
  color:var(--text);
}
.builder-dock h2{margin:0;font-size:17px}
.builder-dock p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.builder-dock textarea{
  width:100%;
  min-height:130px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(0,0,0,.28);
  color:#fff;
  padding:12px;
  resize:vertical;
}
.builder-actions{display:flex;gap:8px;flex-wrap:wrap}
.builder-actions button{
  min-height:40px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(255,10,168,.26),rgba(0,229,255,.16));
  color:#fff;
  padding:0 14px;
  font-weight:850;
}
.builder-editable{
  cursor:text;
  outline:1.5px solid rgba(0,229,255,.74);
  outline-offset:7px;
  border-radius:12px;
}
.builder-editing{
  outline-color:rgba(255,10,168,.92);
  text-shadow:0 0 20px rgba(255,10,168,.34),0 0 18px rgba(0,229,255,.28);
}
