:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: #101218;
  --panel-2: #171a22;
  --text: #f7f8fb;
  --muted: #a8acb8;
  --line: rgba(255, 255, 255, 0.11);
  --cyan: #52e5f7;
  --cyan-strong: #21cfe8;
  --red: #9e1018;
  --gold: #f6d46b;
  --rail: 76px;
  --announce: 42px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

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

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 200;
  left: 12px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #0b0c10;
}

.skip-link:focus {
  top: 10px;
}

.announcement {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  background: var(--cyan);
  color: #071014;
  font-size: 13px;
  font-weight: 750;
}

.announcement__text {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  white-space: nowrap;
}

.announcement__viewport {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.announcement__text.is-ltr {
  animation: announcement-ltr var(--announcement-duration, 24s) linear infinite;
}

.announcement__text.is-rtl {
  animation: announcement-rtl var(--announcement-duration, 24s) linear infinite;
}

.announcement__text.is-ttb,
.announcement__text.is-btt {
  flex-direction: column;
  gap: 2px;
  white-space: normal;
  text-align: center;
}

.announcement__text.is-ttb {
  animation: announcement-ttb var(--announcement-duration, 24s) linear infinite;
}

.announcement__text.is-btt {
  animation: announcement-btt var(--announcement-duration, 24s) linear infinite;
}

.announcement__text.is-static {
  animation: none;
}

@keyframes announcement-ltr { from { transform: translateX(-105%); } to { transform: translateX(105%); } }
@keyframes announcement-rtl { from { transform: translateX(105%); } to { transform: translateX(-105%); } }
@keyframes announcement-ttb { from { transform: translateY(-120%); } to { transform: translateY(120%); } }
@keyframes announcement-btt { from { transform: translateY(120%); } to { transform: translateY(-120%); } }
}

.announcement strong {
  font-weight: 950;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border: 1px solid rgba(7, 16, 20, 0.36);
  border-radius: 5px;
  font-weight: 900;
}

.side-rail {
  position: fixed;
  z-index: 70;
  left: 0;
  top: var(--announce);
  bottom: 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 8px 14px;
  border-right: 1px solid var(--line);
  background: rgba(8, 9, 13, 0.96);
  backdrop-filter: blur(18px);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7f8fb;
  color: #0a0b10;
  font-size: 13px;
  font-weight: 1000;
}

.rail-nav,
.rail-bottom {
  width: 100%;
  display: grid;
  gap: 5px;
}

.rail-nav {
  position: relative;
  margin-top: 26px;
}

.image-feature-menu {
  position: fixed;
  z-index: 95;
  left: calc(var(--rail) + 14px);
  top: calc(var(--announce) + 92px);
  width: min(360px, calc(100vw - var(--rail) - 28px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(249, 250, 250, .98);
  color: #11151a;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
}

.image-feature-menu[hidden] { display: none; }

.image-feature-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 12px;
  border-bottom: 1px solid #e4e7e8;
}

.image-feature-menu__head strong { font-size: 14px; }
.image-feature-menu__head span { color: #7d858b; font-size: 12px; }

.image-feature-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  padding-top: 12px;
}

.image-feature-menu__grid a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #e4e7e8;
  border-radius: 8px;
  background: #f4f6f6;
  color: #22282d;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.image-feature-menu__grid a:hover,
.image-feature-menu__grid a:focus-visible {
  border-color: #a9dfe5;
  background: #eaf9fa;
  color: #087e99;
  outline: none;
}

.rail-bottom {
  position: relative;
  margin-top: auto;
}

.rail-link {
  position: relative;
  width: 48px;
  height: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  border-radius: 7px;
  color: #8f94a0;
  transition: color 160ms ease, background-color 160ms ease;
}

.rail-link--video {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.rail-link--elite {
  color: #f4d07a;
  border-color: rgba(244, 208, 122, .28);
  background: linear-gradient(145deg, rgba(139, 8, 23, .84), rgba(49, 5, 11, .86));
  box-shadow: 0 8px 24px rgba(130, 7, 21, .26), inset 0 1px 0 rgba(255,255,255,.08);
}

.rail-link--super {
  color: #8de9ef;
  border: 1px solid rgba(81, 221, 234, .24);
  background: linear-gradient(145deg, rgba(14, 88, 103, .46), rgba(10, 27, 36, .72));
}

.rail-link--super:hover,
.rail-link--super:focus-visible,
.rail-link--super.is-active {
  color: #d7ffff;
  border-color: rgba(81, 221, 234, .7);
  background: linear-gradient(145deg, rgba(19, 133, 147, .72), rgba(8, 42, 55, .9));
}

.rail-link--dialogue {
  color: #8de9ef;
  border: 1px solid rgba(81, 221, 234, .42);
  background: linear-gradient(145deg, rgba(14, 50, 60, .72), rgba(8, 18, 24, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.rail-link--dialogue:hover,
.rail-link--dialogue:focus-visible,
.rail-link--dialogue.is-active {
  color: #d7ffff;
  border-color: rgba(81, 221, 234, .86);
  background: linear-gradient(145deg, rgba(19, 104, 119, .78), rgba(8, 42, 55, .94));
}

.rail-link--elite:hover,
.rail-link--elite:focus-visible {
  color: #ffe6a1;
  border-color: rgba(244, 208, 122, .72);
  background: linear-gradient(145deg, rgba(184, 17, 34, .95), rgba(70, 7, 16, .92));
}

.rail-link::after {
  content: attr(aria-label);
  position: absolute;
  z-index: 90;
  left: calc(100% + 12px);
  top: 50%;
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: rgba(20, 22, 29, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  color: #f7f8fb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(4px, -50%);
  transition: opacity 140ms ease, transform 140ms ease;
}

.rail-link:hover,
.rail-link:focus-visible,
.rail-link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rail-link:hover::after,
.rail-link:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.rail-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.rail-link.rail-link--elite:hover,
.rail-link.rail-link--elite:focus-visible,
.rail-link.rail-link--elite.is-active {
  color: #ffe6a1;
  border-color: rgba(244, 208, 122, .72);
  background: linear-gradient(145deg, rgba(184, 17, 34, .95), rgba(70, 7, 16, .92));
  box-shadow: 0 8px 26px rgba(130, 7, 21, .36), inset 0 1px 0 rgba(255,255,255,.1);
}

.rail-link.is-active::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 12px;
  width: 2px;
  height: 24px;
  background: var(--cyan);
}

.rail-icon {
  width: 22px;
  height: 22px;
  display: block;
  stroke-width: 2;
}

.rail-account {
  width: 60px;
  min-height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 9px auto 0;
  color: #d9dce3;
}

.rail-account__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #181b22;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}

.rail-account__avatar img,
.account-identity__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rail-account__name {
  width: 60px;
  overflow: hidden;
  color: #f2f3f6;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-account:hover .rail-account__avatar,
.rail-account:focus-visible .rail-account__avatar {
  border-color: var(--cyan);
}

.rail-article-toggle {
  width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 2px auto 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #aeb3bd;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.rail-article-toggle svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.rail-article-toggle:hover,
.rail-article-toggle:focus-visible,
.rail-article-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rail-article-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.rail-article-menu {
  position: absolute;
  z-index: 110;
  left: calc(100% + 14px);
  bottom: 0;
  width: 248px;
  max-height: min(520px, calc(100vh - var(--announce) - 28px));
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(24, 25, 30, 0.98);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}

.rail-article-menu[hidden] {
  display: none;
}

.rail-article-menu__loading,
.rail-article-menu__empty {
  padding: 18px 12px;
  color: #959ba7;
  font-size: 12px;
  text-align: center;
}

.rail-article-item {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #f2f3f6;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}

.rail-article-item:hover,
.rail-article-item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}

.rail-article-item:focus-visible {
  outline: 2px solid rgba(82, 229, 247, 0.68);
  outline-offset: -2px;
}

.rail-article-item svg {
  width: 20px;
  height: 20px;
  color: #9fa5af;
  stroke-width: 1.8;
}

.article-reader {
  position: fixed;
  z-index: 180;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 4, 9, 0.76);
  backdrop-filter: blur(10px);
}

body.article-reader-open {
  overflow: hidden;
}

.article-reader[hidden] {
  display: none;
}

.article-reader__dialog {
  width: min(760px, 100%);
  max-height: min(82vh, 820px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #12141a;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

.article-reader__header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 20, 26, 0.98);
}

.article-reader__header span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.article-reader__header h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
}

.article-reader__header button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: transparent;
  color: #dce0e7;
  cursor: pointer;
}

.article-reader__header button:hover,
.article-reader__header button:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.article-reader__header button svg {
  width: 19px;
  height: 19px;
}

.article-reader__content {
  min-height: 260px;
  padding: 28px 24px 34px;
  color: #d3d7df;
  font-size: 15px;
  line-height: 1.95;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.mobile-header {
  display: none;
}

main {
  margin-left: var(--rail);
  padding-top: var(--announce);
}

.footer {
  margin-left: var(--rail);
}

.creation-hero {
  position: relative;
  min-height: 760px;
  height: calc(100vh - var(--announce));
  max-height: 940px;
  overflow: hidden;
  isolation: isolate;
  background: #0a0b10;
}

.hero-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("/downloads/ysai-hero-cinema.webp?v=20260817-fast2");
  background-position: center 50%;
  background-size: cover;
  transform: scale(1.02);
}

.creation-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.66) 0%, rgba(5, 6, 9, 0.44) 35%, rgba(5, 6, 9, 0.72) 76%, #08090d 100%);
}

.creation-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(6, 8, 12, 0.2);
  pointer-events: none;
}

.hero-topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(26px, 4vw, 66px);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: #0a0b10;
  font-size: 12px;
  font-weight: 1000;
}

.wordmark strong,
.wordmark small {
  display: block;
}

.wordmark strong {
  font-size: 15px;
  font-weight: 950;
}

.wordmark small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 750;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 750;
}

.top-actions a:hover {
  color: #fff;
}

.top-login {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  background: rgba(8, 9, 13, 0.5);
  backdrop-filter: blur(12px);
}

.top-login.is-authenticated,
.mobile-login.is-authenticated {
  gap: 8px;
}

.top-login.is-authenticated {
  min-height: 44px;
  padding: 5px 11px;
}

.account-identity__avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: #242833;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.account-identity__text {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
}

.account-identity__text strong {
  max-width: 110px;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-identity__text small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-content {
  width: min(940px, calc(100% - 48px));
  margin: clamp(68px, 10vh, 118px) auto 0;
  text-align: center;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto 32px;
}

.hero-eyebrow {
  margin: 0 0 15px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.08;
  font-weight: 950;
  text-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.hero-copy > p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.creator-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-bottom: 14px;
}

.creator-tab {
  position: relative;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.creator-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 160ms ease, left 160ms ease;
}

.creator-tab:hover,
.creator-tab.is-active {
  color: #fff;
}

.creator-tab.is-active::after {
  left: 0;
  width: 100%;
}

.prompt-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 21px 22px 17px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.055) 44%, rgba(255, 255, 255, 0.025) 100%),
    rgba(24, 25, 31, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035),
    0 26px 70px rgba(0, 0, 0, 0.38),
    0 8px 24px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(30px) saturate(138%);
  backdrop-filter: blur(30px) saturate(138%);
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.prompt-box::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0.78;
}

.prompt-box:focus-within {
  border-color: rgba(255, 255, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.065) 44%, rgba(255, 255, 255, 0.03) 100%),
    rgba(24, 25, 31, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045),
    0 28px 76px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.035);
}

.prompt-box__main {
  display: flex;
  align-items: flex-start;
  flex: 1;
  gap: 12px;
}

.prompt-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-top: 3px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.prompt-label i {
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
}

.prompt-box textarea {
  width: 100%;
  min-height: 72px;
  padding: 2px 0;
  border: 0;
  outline: 0;
  resize: none;
  overflow-y: auto;
  background: transparent;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}

.prompt-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.prompt-box__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.prompt-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prompt-upload-control {
  width: 32px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.prompt-upload-control:hover,
.prompt-upload-control.is-selected {
  border-color: rgba(82, 229, 247, 0.72);
  background: rgba(82, 229, 247, 0.16);
  color: #8ff6ff;
}

.prompt-upload-control svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.prompt-upload-name {
  max-width: 150px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.icon-button:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.prompt-hint {
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
}

.send-button {
  min-width: 126px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--cyan);
  box-shadow: 0 10px 28px rgba(82, 229, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  color: #071014;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.send-button:hover {
  background: #88f2ff;
  transform: translateY(-1px);
}

.send-button b {
  font-size: 18px;
}

.quick-prompts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-prompts button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(8, 9, 13, 0.45);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.quick-prompts button:hover {
  border-color: rgba(82, 229, 247, 0.55);
  color: #fff;
}

.hero-next {
  position: absolute;
  left: 50%;
  bottom: 25px;
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 750;
}

.hero-next b {
  font-size: 16px;
}

.section {
  padding: 76px clamp(26px, 4vw, 66px);
  background: var(--bg);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-kicker {
  display: block;
  margin-bottom: 9px;
  color: #727784;
  font-size: 10px;
  font-weight: 900;
}

.section-heading h2,
.employee-band h2,
.product-center h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 950;
}

.section-controls {
  display: flex;
  gap: 8px;
}

.section-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: #d4d6dc;
  cursor: pointer;
}

.section-controls button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #1a1d25;
}

.feature-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(285px, 31vw);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.feature-track::-webkit-scrollbar {
  display: none;
}

.feature-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
}

.feature-card__visual {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: #151821;
}

.feature-card__meta {
  min-height: 142px;
  padding: 18px 19px 20px;
}

.feature-card__meta > span {
  color: #777c88;
  font-size: 10px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 7px 0 7px;
  font-size: 20px;
  font-weight: 950;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.image-visual,
.work-media--cinema,
.work-media--portrait,
.work-media--night {
  background-image: linear-gradient(180deg, rgba(8, 9, 13, 0.05), rgba(8, 9, 13, 0.5)), url("/downloads/ysai-hero-cinema.webp?v=20260817-fast2");
  background-size: cover;
}

.image-visual {
  background-position: center;
}

.visual-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 4px;
  background: rgba(8, 9, 13, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.canvas-preview {
  position: absolute;
  inset: 26px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #10131a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 17px 17px;
}

.canvas-preview i {
  position: absolute;
  width: 66px;
  height: 44px;
  border: 1px solid rgba(82, 229, 247, 0.52);
  border-radius: 5px;
  background: #1d2530;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.canvas-preview i:nth-child(1) { left: 12%; top: 24%; }
.canvas-preview i:nth-child(2) { left: 41%; top: 49%; border-color: rgba(246, 212, 107, 0.62); }
.canvas-preview i:nth-child(3) { right: 9%; top: 20%; border-color: rgba(230, 88, 103, 0.6); }

.canvas-preview span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #aeb2bd;
  font-size: 11px;
}

.video-preview {
  position: absolute;
  inset: 0;
  padding: 20px;
  background: #11131a;
}

.video-preview::before {
  content: "";
  position: absolute;
  inset: 36px 28px 43px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-image: url("/downloads/ysai-hero-cinema.webp?v=20260817-fast2");
  background-position: center;
  background-size: cover;
  filter: saturate(0.5) contrast(1.12);
}

.video-preview span,
.video-preview b {
  position: absolute;
  z-index: 1;
}

.video-preview span { right: 19px; top: 16px; color: #7d828e; font-size: 10px; }
.video-preview b { left: 19px; bottom: 16px; font-size: 11px; }

.video-preview i {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(8, 9, 13, 0.52);
  transform: translate(-50%, -50%);
}

.video-preview i::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 14px;
  border-left: 11px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.image-preview {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(140deg, #2a3d46 0%, #9c3f47 42%, #d7b45c 70%, #1e242f 100%);
}

.image-preview span,
.image-preview b {
  position: absolute;
  padding: 7px 9px;
  background: rgba(8, 9, 13, 0.67);
}

.image-preview span { right: 10px; top: 10px; font-size: 10px; }
.image-preview b { left: 10px; bottom: 10px; font-size: 11px; }

.employee-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% - 54px);
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(246, 212, 107, 0.28);
  border-radius: 7px;
  background: #26090c;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.employee-preview > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(246, 212, 107, 0.72);
  border-radius: 50%;
  color: var(--gold);
  font-size: 22px;
  font-weight: 950;
}

.employee-preview b,
.employee-preview small { display: block; }
.employee-preview b { color: var(--gold); font-size: 15px; }
.employee-preview small { margin-top: 5px; color: rgba(246, 212, 107, 0.62); font-size: 10px; }

.employee-preview i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #42d990;
  box-shadow: 0 0 0 5px rgba(66, 217, 144, 0.12);
}

.promo-section {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 14px;
  padding: 0 clamp(26px, 4vw, 66px) 76px;
  background: var(--bg);
}

.promo {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.promo > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.promo span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 900;
}

.promo h2 {
  margin: 13px 0 10px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 950;
}

.promo p {
  margin: 0;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.75;
}

.promo > div > b {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
}

.promo--director {
  background-image: linear-gradient(90deg, rgba(8, 9, 13, 0.94) 0%, rgba(8, 9, 13, 0.6) 58%, rgba(8, 9, 13, 0.22) 100%), url("/downloads/ysai-hero-cinema.webp?v=20260817-fast2");
  background-position: center;
  background-size: cover;
}

.promo-frame {
  align-self: flex-end;
  width: 230px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 9, 13, 0.68);
  backdrop-filter: blur(12px);
}

.promo-frame strong {
  display: block;
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.55;
}

.promo--agent {
  background: #8d0c15;
  color: var(--gold);
}

.promo--agent p,
.promo--agent span {
  color: rgba(246, 212, 107, 0.72);
}

.agent-lines {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(246, 212, 107, 0.2);
  border-radius: 50%;
}

.agent-lines i {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(246, 212, 107, 0.14);
  border-radius: 50%;
}

.agent-lines i:nth-child(2) { inset: 48px; }
.agent-lines i:nth-child(3) { inset: 74px; }
.agent-lines i:nth-child(4) { inset: 100px; background: var(--gold); }

.show-section {
  border-top: 1px solid var(--line);
}

.show-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.show-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
}

.show-tab {
  position: relative;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777c87;
  font-size: 21px;
  font-weight: 900;
  cursor: pointer;
}

.show-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.show-tab.is-active {
  color: #fff;
}

.show-tab.is-active::after {
  background: var(--cyan);
}

.show-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  width: min(300px, 28vw);
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.search-box span {
  color: #7e838e;
  font-size: 18px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
}

.search-box input::placeholder {
  color: #6e737e;
}

.publish-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border-radius: 6px;
  background: #f2f3f5;
  color: #111217;
  font-size: 12px;
  font-weight: 900;
}

.media-filters {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 28px 0 24px;
}

.media-filters button {
  min-width: 62px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #7e838e;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.media-filters button:hover,
.media-filters button.is-active {
  border-color: var(--line);
  background: var(--panel);
  color: #fff;
}

.work-grid {
  display: block;
  column-count: 6;
  column-gap: 12px;
}

.work-card {
  display: inline-block;
  width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  outline: none;
  break-inside: avoid;
  page-break-inside: avoid;
}

.work-card[hidden] {
  display: none;
}

.work-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--media-ratio, 16 / 10);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: #151820;
  transition: transform 180ms ease, border-color 180ms ease;
}

.work-media > img,
.work-media > video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #151820;
}

.work-card:hover .work-media,
.work-card:focus-visible .work-media {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
}

.work-media.is-empty {
  display: grid;
  place-items: center;
  background: #151820;
}

.work-media__empty {
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 950;
}

.work-video-state {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  min-width: 70px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(5, 7, 11, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.work-video-state.is-ready {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  overflow: hidden;
  padding: 0;
  color: transparent;
}

.work-video-state.is-ready::after {
  content: "";
  display: block;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.work-card:hover .work-video-state.is-ready,
.work-card:focus-visible .work-video-state.is-ready {
  opacity: 0;
}

.work-video-state.is-error {
  color: rgba(255, 255, 255, 0.72);
}

.work-price,
.work-likes {
  position: absolute;
  z-index: 2;
  top: 12px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(10, 11, 15, 0.82);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.work-price {
  left: 12px;
  padding: 0 11px;
}

.work-likes {
  right: 12px;
  gap: 6px;
  padding: 0 10px;
}

.work-likes > span {
  color: #ff6974;
  font-size: 19px;
  line-height: 1;
}

.work-likes b {
  font-weight: 800;
}

.work-info {
  display: block;
  padding-top: 11px;
}

.work-info h3 {
  margin: 0;
  overflow: hidden;
  color: #f3f4f6;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-info__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #6f7480;
  font-size: 10px;
}

.work-viewer {
  position: fixed;
  z-index: 190;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(2, 3, 6, 0.96);
  backdrop-filter: blur(12px);
}

.work-viewer[hidden] {
  display: none;
}

body.work-viewer-open {
  overflow: hidden;
}

.work-viewer__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  width: 100%;
  min-height: 100%;
}

.work-viewer__close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 414px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(13, 15, 20, 0.8);
  color: #eef1f5;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.work-viewer__close:hover,
.work-viewer__close:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.work-viewer__close svg {
  width: 21px;
  height: 21px;
}

.work-viewer__stage {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 62px 54px;
  overflow: hidden;
  background: #030407;
}

.work-viewer__stage img,
.work-viewer__stage video {
  display: block;
  width: min(100%, 1280px);
  max-height: calc(100dvh - 124px);
  border-radius: 8px;
  object-fit: contain;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.work-viewer__empty {
  width: min(100%, 1050px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #0b0d12;
  color: rgba(255, 255, 255, 0.14);
  font-size: 72px;
  font-weight: 900;
}

.work-viewer__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 38px 28px 28px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0f14;
}

.work-viewer__author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.work-viewer__avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #30343e;
  color: #fff;
  font-weight: 850;
}

.work-viewer__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-viewer__author > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.work-viewer__author strong {
  overflow: hidden;
  color: #f4f5f7;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-viewer__author small,
.work-viewer__summary span {
  color: #858b96;
  font-size: 11px;
}

.work-viewer__side h2 {
  margin: 28px 0 12px;
  color: #fff;
  font-size: 23px;
  line-height: 1.45;
}

.work-viewer__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.work-viewer__summary strong {
  color: var(--cyan);
  font-size: 16px;
}

.work-viewer__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.work-viewer__stats span {
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  background: #12151b;
}

.work-viewer__stats svg {
  width: 16px;
  height: 16px;
  color: #8f96a3;
}

.work-viewer__stats b {
  color: #f4f5f7;
  font-size: 14px;
}

.work-viewer__stats small {
  color: #777e89;
  font-size: 10px;
}

.work-viewer__description {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.work-viewer__description h3 {
  margin: 0 0 12px;
  color: #e8ebf0;
  font-size: 13px;
}

.work-viewer__description p {
  margin: 0;
  color: #a3a9b3;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.work-viewer__action {
  position: sticky;
  bottom: 0;
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: var(--cyan);
  color: #071014;
  box-shadow: 0 -22px 34px #0d0f14;
  cursor: pointer;
  font-weight: 900;
}

.work-viewer__action:hover,
.work-viewer__action:focus-visible {
  background: #8af1fb;
}

.work-viewer__action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.work-author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.work-author__avatar {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #252a35;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.work-author__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-author__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-copy-count {
  flex: 0 0 auto;
  font-weight: 650;
}

.show-loading {
  column-span: all;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.show-loading > span {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  background: linear-gradient(100deg, #11141b 20%, #1a1e27 40%, #11141b 60%);
  background-size: 220% 100%;
  animation: show-skeleton 1.35s ease-in-out infinite;
}

@keyframes show-skeleton {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.work-media--workflow {
  background-color: #10131a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
}

.flow-node {
  position: absolute;
  width: 64px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 229, 247, 0.42);
  border-radius: 5px;
  background: #1a222c;
  color: #b9c2cb;
  font-size: 10px;
}

.flow-node.n1 { left: 8%; top: 24%; }
.flow-node.n2 { left: 39%; top: 49%; border-color: rgba(246, 212, 107, 0.48); }
.flow-node.n3 { right: 8%; top: 20%; border-color: rgba(225, 76, 92, 0.5); }

.work-media--workflow i {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  transform-origin: left center;
}

.work-media--workflow i:nth-of-type(1) { left: 27%; top: 40%; width: 33%; transform: rotate(24deg); }
.work-media--workflow i:nth-of-type(2) { left: 58%; top: 47%; width: 28%; transform: rotate(-29deg); }

.work-media--product {
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: #c8464f;
}

.work-media--product::after {
  content: "";
  position: absolute;
  right: 16%;
  top: 20%;
  width: 70px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: -24px 20px 0 rgba(255, 255, 255, 0.07);
}

.work-media--product strong,
.work-media--brand strong {
  position: relative;
  z-index: 1;
  font-size: 20px;
  line-height: 1.2;
}

.work-media--agent {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  background: #26090c;
  color: var(--gold);
}

.agent-orbit {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 212, 107, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(246, 212, 107, 0.05), 0 0 0 36px rgba(246, 212, 107, 0.03);
}

.agent-orbit span {
  font-size: 31px;
  font-weight: 950;
}

.work-media--agent > strong {
  font-size: 11px;
}

.work-media--timeline {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 27px;
  background: #162029;
}

.work-media--timeline > div {
  display: flex;
  align-items: center;
  width: 82%;
}

.work-media--timeline b {
  min-width: 54px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 229, 247, 0.4);
  border-radius: 4px;
  color: #c9f8fd;
  font-size: 10px;
}

.work-media--timeline i {
  flex: 1;
  height: 1px;
  background: rgba(82, 229, 247, 0.34);
}

.work-media--timeline > span {
  position: static;
  background: transparent;
  color: #7c8f9e;
}

.work-media--brand {
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: #394c58;
}

.work-media--brand::before {
  content: "YS";
  position: absolute;
  right: 18px;
  top: 24px;
  color: rgba(255, 255, 255, 0.13);
  font-size: 100px;
  line-height: 1;
  font-weight: 950;
}

.empty-state {
  padding: 70px 20px;
  color: #7c818c;
  text-align: center;
}

.show-retry {
  margin-left: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: #fff;
  cursor: pointer;
}

.show-load-more {
  min-width: 112px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.show-load-more:hover,
.show-load-more:focus-visible {
  border-color: var(--cyan);
  background: #171d25;
}

.show-load-more[hidden] {
  display: none;
}

.employee-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding: 86px clamp(26px, 5vw, 88px);
  border-top: 1px solid var(--line);
  background: #0c0e13;
}

.employee-band__copy {
  align-self: center;
}

.employee-band__copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.employee-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.employee-options article {
  min-height: 245px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #14171e;
}

.employee-options article > span {
  color: #737986;
  font-size: 11px;
  font-weight: 900;
}

.employee-options h3 {
  margin: 31px 0 11px;
  font-size: 23px;
}

.employee-options p {
  min-height: 70px;
  margin: 0;
  color: #9da2ad;
  font-size: 13px;
  line-height: 1.7;
}

.employee-options a {
  display: inline-block;
  margin-top: 21px;
  font-size: 12px;
  font-weight: 850;
}

.employee-options .employee-option--elite {
  border-color: rgba(246, 212, 107, 0.28);
  background: #6f0d14;
  color: var(--gold);
}

.employee-option--elite p,
.employee-option--elite > span {
  color: rgba(246, 212, 107, 0.68) !important;
}

.product-center {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(420px, 1.3fr);
  align-items: center;
  gap: 60px;
  padding: 88px clamp(26px, 5vw, 88px);
  background: #f2f3f5;
  color: #111217;
}

.product-center__main > p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #5b606b;
  font-size: 14px;
  line-height: 1.75;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.download-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.download-button {
  gap: 16px;
  background: #111217;
  color: #fff;
}

.download-button b {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.19);
  color: var(--cyan);
  font-size: 11px;
}

.secondary-button {
  border: 1px solid #c9ccd2;
}

.product-center__main > small {
  display: block;
  margin-top: 12px;
  color: #787d87;
  font-size: 10px;
}

.api-panel {
  padding: 28px;
  border: 1px solid #d5d7dc;
  border-radius: 8px;
  background: #fff;
}

.api-panel > span {
  color: #858a94;
  font-size: 10px;
  font-weight: 900;
}

.api-panel h3 {
  margin: 11px 0 8px;
  font-size: 23px;
}

.api-panel p {
  margin: 0;
  color: #6e737d;
  font-size: 12px;
}

.api-value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 10px 10px 13px;
  border: 1px solid #d9dbe0;
  border-radius: 6px;
  background: #f4f5f7;
}

.api-value code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #22252b;
  font-size: 12px;
  text-overflow: ellipsis;
}

.api-value button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: #181a20;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.footer {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  padding: 22px clamp(26px, 4vw, 66px);
  border-top: 1px solid var(--line);
  background: #08090d;
  color: #777c87;
  font-size: 11px;
}

.mobile-download {
  min-width: 0;
  min-height: 160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid rgba(17, 18, 23, 0.18);
  border-radius: 6px;
  background: #101218;
}

.mobile-download__copy > span {
  display: block;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.mobile-download__copy h2 {
  margin: 7px 0 0;
  color: #f7f8fb;
  font-size: 22px;
  line-height: 1.3;
}

.mobile-download__copy p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #9196a2;
  font-size: 12px;
  line-height: 1.7;
}

.mobile-download__actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.mobile-download__button {
  width: 184px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #191c24;
  color: #f7f8fb;
  text-align: left;
  cursor: pointer;
}

.mobile-download__button--android {
  border-color: rgba(82, 229, 247, 0.42);
  background: var(--cyan);
  color: #071014;
}

.mobile-download__button:hover,
.mobile-download__button:focus-visible {
  border-color: var(--cyan);
  outline: none;
}

.mobile-download__button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.mobile-download__button span,
.mobile-download__button strong,
.mobile-download__button small {
  display: block;
  min-width: 0;
}

.mobile-download__button strong {
  font-size: 13px;
  line-height: 1.2;
}

.mobile-download__button small {
  margin-top: 4px;
  color: #989eaa;
  font-size: 10px;
  white-space: nowrap;
}

.mobile-download__button--android small {
  color: rgba(7, 16, 20, 0.72);
}

.footer > div strong,
.footer > div span {
  display: block;
}

.footer > div strong {
  color: #d7d9de;
  font-size: 12px;
}

.footer > div span {
  margin-top: 4px;
}

.footer nav {
  display: flex;
  gap: 20px;
}

.footer a:hover {
  color: #fff;
}

.ios-install-guide {
  position: fixed;
  z-index: 185;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 4, 9, 0.78);
  backdrop-filter: blur(10px);
}

.ios-install-guide[hidden] {
  display: none;
}

body.ios-install-guide-open {
  overflow: hidden;
}

.ios-install-guide__dialog {
  width: min(620px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #12141a;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

.ios-install-guide__header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 20, 26, 0.98);
}

.ios-install-guide__header span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.ios-install-guide__header h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
}

.ios-install-guide__header button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: transparent;
  color: #dce0e7;
  cursor: pointer;
}

.ios-install-guide__header button:hover,
.ios-install-guide__header button:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  outline: none;
}

.ios-install-guide__header svg {
  width: 19px;
  height: 19px;
}

.ios-install-guide__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 12px 20px 4px;
  list-style: none;
}

.ios-install-guide__steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ios-install-guide__steps li:last-child {
  border-bottom: 0;
}

.ios-install-guide__steps b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(82, 229, 247, 0.12);
  color: var(--cyan);
  font-size: 11px;
}

.ios-install-guide__steps > li > svg {
  width: 22px;
  height: 22px;
  color: #dce0e7;
}

.ios-install-guide__steps strong,
.ios-install-guide__steps span {
  display: block;
  overflow-wrap: anywhere;
}

.ios-install-guide__steps strong {
  color: #f7f8fb;
  font-size: 14px;
}

.ios-install-guide__steps span {
  margin-top: 5px;
  color: #969ca8;
  font-size: 12px;
  line-height: 1.6;
}

.ios-install-guide__done {
  width: calc(100% - 40px);
  min-height: 44px;
  margin: 8px 20px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--cyan);
  color: #071014;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ios-install-guide__done:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.toast {
  position: fixed;
  z-index: 150;
  left: calc(50% + var(--rail) / 2);
  bottom: 28px;
  max-width: calc(100vw - 40px);
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(20, 22, 29, 0.96);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1440px) {
  .work-grid {
    column-count: 6;
  }

  .show-loading {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .work-grid {
    column-count: 4;
  }

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

  .promo-section {
    grid-template-columns: 1fr;
  }

  .promo {
    min-height: 280px;
  }

  .employee-band,
  .product-center {
    gap: 34px;
  }

  .mobile-download {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  :root {
    --rail: 0px;
    --announce: 40px;
  }

  .side-rail,
  .hero-topbar {
    display: none;
  }

  .mobile-header {
    position: fixed;
    z-index: 70;
    left: 0;
    right: 0;
    top: var(--announce);
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 13, 0.92);
    backdrop-filter: blur(16px);
  }

  .mobile-brand,
  .mobile-actions {
    display: flex;
    align-items: center;
  }

  .mobile-brand {
    gap: 9px;
  }

  .mobile-brand span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #fff;
    color: #0a0b10;
    font-size: 10px;
    font-weight: 950;
  }

  .mobile-brand strong {
    font-size: 13px;
  }

  .mobile-actions {
    gap: 12px;
    font-size: 11px;
  }

  .mobile-login {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
  }

  .mobile-login.is-authenticated {
    max-width: 145px;
    padding: 3px 8px;
  }

  .mobile-login .account-identity__avatar {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .mobile-login .account-identity__text strong {
    max-width: 82px;
    font-size: 10px;
  }

  .mobile-login .account-identity__text small {
    font-size: 8px;
  }

  main,
  .footer {
    margin-left: 0;
  }

  .creation-hero {
    min-height: 720px;
    height: calc(100svh - var(--announce));
    padding-top: 58px;
  }

  .hero-content {
    margin-top: clamp(74px, 12vh, 110px);
  }

  .feature-track {
    grid-auto-columns: minmax(285px, 58vw);
  }

  .show-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .show-actions {
    width: 100%;
  }

  .search-box {
    width: auto;
    flex: 1;
  }

  .work-grid {
    column-count: 3;
  }

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

  .employee-band,
  .product-center {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .work-viewer {
    overflow-y: auto;
  }

  .work-viewer__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(46vh, auto) auto;
    min-height: auto;
  }

  .work-viewer__close {
    top: 14px;
    right: 14px;
  }

  .work-viewer__stage {
    min-height: 46vh;
    padding: 54px 14px 18px;
  }

  .work-viewer__stage img,
  .work-viewer__stage video {
    max-height: 58vh;
  }

  .work-viewer__side {
    min-height: 50vh;
    padding: 24px 18px 20px;
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .work-viewer__side h2 {
    margin-top: 22px;
    font-size: 20px;
  }

  .work-viewer__action {
    margin-top: 28px;
  }

  .article-reader {
    align-items: flex-end;
    padding: 0;
  }

  .article-reader__dialog {
    width: 100%;
    max-height: 88vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 7px 7px 0 0;
  }

  .article-reader__header {
    padding: 16px;
  }

  .article-reader__header h2 {
    font-size: 20px;
  }

  .article-reader__content {
    min-height: 220px;
    padding: 22px 18px 30px;
    font-size: 14px;
  }

  .ios-install-guide {
    align-items: flex-end;
    padding: 0;
  }

  .ios-install-guide__dialog {
    width: 100%;
    max-height: 90vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 7px 7px 0 0;
  }

  .announcement {
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    font-size: 10px;
  }

  .announcement__text span {
    display: none;
  }

  .announcement a {
    min-height: 24px;
    padding: 0 9px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-top: 72px;
  }

  .hero-copy {
    margin-bottom: 24px;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy > p:last-child {
    font-size: 13px;
  }

  .creator-tabs {
    gap: 20px;
  }

  .creator-tab {
    font-size: 12px;
  }

  .prompt-box {
    min-height: 188px;
    padding: 17px 16px 14px;
  }

  .prompt-box__main {
    display: block;
  }

  .prompt-label {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .prompt-box textarea {
    min-height: 68px;
    font-size: 13px;
  }

  .prompt-hint {
    display: none;
  }

  .send-button {
    min-width: 106px;
  }

  .quick-prompts {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .quick-prompts::-webkit-scrollbar {
    display: none;
  }

  .quick-prompts button {
    flex: 0 0 auto;
  }

  .hero-next {
    display: none;
  }

  .section {
    padding: 56px 16px;
  }

  .section-heading h2,
  .employee-band h2,
  .product-center h2 {
    font-size: 26px;
  }

  .feature-track {
    grid-auto-columns: 84vw;
  }

  .feature-card {
    min-height: 370px;
  }

  .feature-card__visual {
    height: 225px;
  }

  .promo-section {
    padding: 0 16px 56px;
  }

  .promo {
    min-height: 340px;
    display: block;
    padding: 27px;
  }

  .promo h2 {
    font-size: 29px;
  }

  .promo-frame {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 200px;
  }

  .show-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .show-tab {
    font-size: 16px;
  }

  .publish-button {
    padding: 0 13px;
  }

  .work-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .show-loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .work-info h3 {
    font-size: 12px;
  }

  .employee-band,
  .product-center {
    padding: 62px 16px;
  }

  .employee-options {
    grid-template-columns: 1fr;
  }

  .employee-options article {
    min-height: 220px;
  }

  .download-row {
    display: grid;
  }

  .download-button,
  .secondary-button {
    width: 100%;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 16px;
  }

  .mobile-download {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0;
    padding: 24px 18px;
  }

  .mobile-download__copy h2 {
    font-size: 20px;
  }

  .mobile-download__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-download__button {
    width: 100%;
    min-width: 0;
  }

  .footer small {
    grid-column: auto;
  }

  .toast {
    left: 50%;
  }
}

@media (max-width: 430px) {
  .mobile-download__actions {
    grid-template-columns: 1fr;
  }

  .ios-install-guide__header {
    min-height: 76px;
    padding: 14px 16px;
  }

  .ios-install-guide__header h2 {
    font-size: 19px;
  }

  .ios-install-guide__steps {
    padding: 8px 16px 2px;
  }

  .ios-install-guide__steps li {
    grid-template-columns: 24px 30px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 0;
  }

  .ios-install-guide__done {
    width: calc(100% - 32px);
    margin: 8px 16px calc(16px + env(safe-area-inset-bottom));
  }

  .mobile-actions > a:first-child {
    display: none;
  }

  .hero-content {
    margin-top: 56px;
  }

  .hero-eyebrow {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy > p:last-child {
    margin-top: 12px;
    line-height: 1.6;
  }

  .creator-tabs {
    gap: 16px;
  }

  .creator-tab {
    font-size: 11px;
  }

  .prompt-box {
    min-height: 176px;
  }

  .send-button span {
    display: none;
  }

  .send-button {
    min-width: 46px;
    padding: 0;
  }

  .work-grid {
    column-count: 1;
  }

  .show-loading {
    grid-template-columns: 1fr;
  }
}

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

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

/* Mobile left navigation mirrors the desktop rail without taking hero space. */
.mobile-header__start,
.mobile-menu-toggle,
.mobile-nav-scrim,
.mobile-nav-drawer,
.mobile-feature-menu { display: none; }

@media (max-width: 900px) {
  .mobile-header__start { display: flex; min-width: 0; align-items: center; gap: 10px; }
  .mobile-menu-toggle {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    background: rgba(255,255,255,.055);
    color: #f7f8fb;
  }
  .mobile-menu-toggle svg { width: 19px; height: 19px; }
  .mobile-menu-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
  .mobile-nav-scrim,
  .mobile-nav-drawer { display: block; }
  .mobile-nav-scrim {
    position: fixed;
    z-index: 115;
    inset: 0;
    background: rgba(2,5,9,.18);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .mobile-nav-scrim[hidden] { display: block !important; }
  .mobile-nav-scrim.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-nav-drawer {
    position: fixed;
    z-index: 116;
    left: 12px;
    top: calc(var(--announce) + 58px + 10px);
    bottom: auto;
    width: min(278px, calc(100vw - 32px));
    max-height: calc(100svh - var(--announce) - 82px);
    overflow-y: auto;
    display: block;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    background: rgba(12,17,26,.2) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-102%);
    transition: transform .22s ease, opacity .2s ease, visibility .2s ease;
  }
  .mobile-nav-drawer[hidden] { display: flex !important; }
  .mobile-nav-drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
  .mobile-nav-drawer__links { display: grid; gap: 5px; padding: 10px; }
  .mobile-nav-drawer__links a,
  .mobile-nav-drawer__product {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #d6dbe5;
    background: transparent;
    font-size: 15px;
    font-weight: 760;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
  }
  .mobile-nav-drawer__links a:hover,
  .mobile-nav-drawer__links a:focus-visible,
  .mobile-nav-drawer__product:hover,
  .mobile-nav-drawer__product:focus-visible { border-color: rgba(82,229,247,.42); background: rgba(82,229,247,.12); color: #fff; }
  .mobile-nav-drawer__links a svg,
  .mobile-nav-drawer__product svg { width: 20px; height: 20px; color: #9ca5b5; }
  .mobile-nav-drawer__product span { flex: 1; }
  .mobile-nav-drawer__product .mobile-nav-drawer__chevron { width: 17px; height: 17px; }
  .mobile-nav-drawer__product.rail-link--dialogue { color: #b9f7fb; border-color: rgba(81,221,234,.38); background: rgba(14,88,103,.32); }
  .mobile-nav-drawer__links .is-elite {
    border-color: rgba(244,208,122,.3);
    color: #f8da8b;
    background: linear-gradient(120deg, rgba(139,8,23,.68), rgba(49,5,11,.62));
  }
  .mobile-nav-drawer__links a[href="/canvas/super"] {
    border-color: rgba(81,221,234,.28);
    color: #b9f7fb;
    background: rgba(14,88,103,.32);
  }
  .mobile-nav-drawer__links .is-elite svg { color: #f8da8b; }
  .mobile-nav-drawer.has-feature-open { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-24px); }
  .mobile-feature-menu {
    display: block;
    position: fixed;
    z-index: 117;
    left: 12px;
    top: calc(var(--announce) + 58px + 10px);
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100svh - var(--announce) - 82px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(17, 21, 26, .12);
    border-radius: 10px;
    background: rgba(249, 250, 250, .99);
    color: #11151a;
    box-shadow: 0 18px 48px rgba(0,0,0,.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }
  .mobile-feature-menu[hidden] { display: none !important; }
  .mobile-feature-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-feature-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 12px; border-bottom: 1px solid #e4e7e8; }
  .mobile-feature-menu__head>div { display: flex; align-items: baseline; gap: 8px; }
  .mobile-feature-menu__head strong { font-size: 14px; }
  .mobile-feature-menu__head span { color: #7d858b; font-size: 12px; }
  .mobile-feature-menu__head button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; color: #515960; background: #eef1f1; cursor: pointer; }
  .mobile-feature-menu__head button svg { width: 18px; height: 18px; }
  .mobile-feature-menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 8px; padding-top: 12px; }
  .mobile-feature-menu__grid a { min-height: 42px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #e0e4e5; border-radius: 8px; background: #f4f6f6; color: #22282d; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
  .mobile-feature-menu__grid a:hover,
  .mobile-feature-menu__grid a:focus-visible { border-color: #a9dfe5; background: #eaf9fa; color: #087e99; outline: none; }
  body.mobile-nav-open { overflow: hidden; }
}
