@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750;800&display=swap");
:root {
  color-scheme: dark;
  --bg: #090a0d;
  --surface: #111216;
  --raised: #18191f;
  --line: #26272e;
  --text: #ededf1;
  --muted: #91929f;
  --accent: #aa9aff;
  --accent-soft: #211d32;
  --radius: 12px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
.auth-shell {
  min-height: 100dvh;
  padding: 28px max(24px, env(safe-area-inset-right)) 40px
    max(24px, env(safe-area-inset-left));
}
.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  gap: 20px;
}
.auth-header .brand {
  padding: 0;
}
.auth-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  min-height: 44px;
}
.auth-shell .auth-main {
  border: 0;
  min-height: 0;
  max-width: 440px;
  margin: clamp(36px, 10vh, 110px) auto 0;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
}
.auth-heading h1 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}
.auth-card .stack-form {
  padding: 0;
  gap: 20px;
}
.auth-card .stack-form p {
  margin: 0;
}
.auth-card .stack-form input {
  min-height: 46px;
  font-size: 16px;
  background: var(--bg);
}
.auth-card .stack-form input[type="radio"] {
  min-height: 0;
}
.auth-card .stack-form > .button {
  min-height: 46px;
  justify-content: center;
}
.auth-card .form-error {
  margin: 16px 0;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}
.auth-card .auth-switch {
  padding-top: 4px;
  text-align: center;
}
.auth-card .text-link {
  color: var(--accent);
  font-weight: 550;
}
.auth-security {
  min-width: 0;
}
.auth-security [hidden] {
  display: none;
}
.auth-security #security-status {
  font-size: 12px;
  margin-top: 8px;
}
.auth-security #security-status[data-state="ready"] {
  color: #a4d7ba;
}
.auth-security #security-status[data-state="error"] {
  color: #edb8c9;
}
.auth-card .code-input {
  letter-spacing: 0.22em;
  font-size: 22px !important;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.content-header .header-auth {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  font-size: 12px;
}
.content-header .header-auth .button {
  min-height: 32px;
  padding: 5px 14px;
}
@media (max-width: 700px) {
  .auth-shell {
    padding: max(18px, env(safe-area-inset-top)) 20px
      max(28px, env(safe-area-inset-bottom));
  }
  .auth-header {
    align-items: flex-start;
    gap: 12px;
  }
  .auth-header .auth-back {
    font-size: 12px;
    gap: 5px;
  }
  .auth-back .i {
    width: 17px;
    height: 17px;
  }
  .auth-shell .auth-main {
    margin-top: 42px;
    max-width: 420px;
  }
  .auth-card {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }
  .auth-card .stack-form {
    padding: 0;
    gap: 20px;
  }
  .auth-heading h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .auth-footer {
    margin-top: 32px;
  }
}
* {
  box-sizing: border-box;
}
@media (max-width: 360px) {
  .auth-shell {
    padding-inline: 10px;
  }
  .auth-header .auth-back {
    font-size: 11px;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  text-align: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
select {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.45;
}
button:hover,
a:hover {
  color: #fff;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input,
textarea,
select {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
img {
  display: block;
  max-width: 100%;
}
img.broken {
  object-fit: contain !important;
  font-size: 12px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 650;
}
h2 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.25px;
}
strong,
b {
  font-weight: 600;
}
small {
  font-size: 12px;
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px;
  background: var(--accent);
  color: #111;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  display: grid;
  grid-template-columns: 222px minmax(0, 648px) minmax(260px, 308px);
  max-width: 1234px;
  margin: auto;
  min-height: 100vh;
}
.app-shell.library-shell {
  grid-template-columns: 222px minmax(0, 1012px);
}
.left {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 21px 19px 12px 8px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 22px;
}
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -6px;
  width: 34px;
  height: 38px;
  color: var(--accent);
  line-height: 1;
}
.mark span {
  font-size: 38px;
  margin-top: -11px;
}
.wordmark {
  font-size: 14px;
  letter-spacing: 1.2px;
  font-weight: 800;
  line-height: 1.3;
}
.wordmark > span {
  display: block;
  font-weight: 450;
  font-size: 11px;
  letter-spacing: 2.1px;
  color: var(--muted);
}
.left nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  font-size: 15px;
  min-height: 46px;
  width: 100%;
  border-radius: 9px;
  color: #b6b6c2;
  position: relative;
}
.nav-item .i {
  width: 22px;
  height: 22px;
}
.nav-item:hover {
  background: var(--surface);
}
.nav-item.active {
  background: var(--raised);
  color: #f7f6fa;
  font-weight: 600;
}
.nav-item.active .i {
  color: var(--accent);
}
.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}
.new-post {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #15111f;
  border-radius: 24px;
  padding: 11px;
  margin: 20px 7px 0;
  font-weight: 650;
}
.new-post:hover,
.primary:hover {
  background: #baadff;
  color: #15111f;
}
.left-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.old-concepts {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--muted);
}
.old-concepts .i {
  width: 16px;
  height: 16px;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 12px 8px;
  border-radius: 10px;
}
.account:hover {
  background: var(--surface);
}
.account > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  font-size: 13px;
}
.account small {
  color: var(--muted);
  font-size: 11px;
}
.account > .i {
  margin-left: auto;
  width: 18px;
}
main {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-width: 0;
  min-height: 100dvh;
}
.content-header {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: #090a0df2;
  backdrop-filter: blur(18px);
}
.preview-indicator {
  margin-left: auto;
  font-size: 11px;
  color: #777986;
}
.preview-indicator:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #79718f;
  margin-right: 6px;
  vertical-align: middle;
}
.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex: none;
}
.icon-button:hover {
  background: var(--raised);
  color: var(--text);
}
.mobile-menu,
.mobile-bottom {
  display: none;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  height: 49px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs > button {
  flex: 1;
  white-space: nowrap;
  text-align: center;
  position: relative;
  color: var(--muted);
  min-width: max-content;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 550;
}
.tabs > button:hover {
  background: #111217;
}
.tabs > button.active {
  color: var(--text);
}
.tabs > button.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 4px;
  background: var(--accent);
  left: calc(50% - 17px);
}
.feed-context {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.feed-context > span,
.feed-context > button {
  display: flex;
  align-items: center;
  gap: 6px;
}
.feed-context .i {
  width: 13px;
  height: 13px;
}
.feed-context > button {
  color: #b9abc9;
}
.feed-post {
  padding: 19px 20px 11px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.post-author {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  flex: none;
  background: #2e2541;
  color: #d1bbfa;
}
.avatar.purple {
  background: #2c2540;
  color: #cabbff;
}
.avatar.blue {
  background: #1b334a;
  color: #93c3e9;
}
.avatar.rose {
  background: #422631;
  color: #dfb0bc;
}
.avatar.gray {
  background: #282a30;
  color: #c5c5cf;
}
.post-author > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 13px;
  line-height: 1.55;
}
.post-author > div > span {
  font-size: 11px;
  color: var(--muted);
}
.post-author i {
  font-style: normal;
  padding: 0 3px;
}
.verified {
  color: var(--accent);
  width: 13px;
  height: 13px;
  margin-left: 2px;
  stroke-width: 2.5;
  background: #251e39;
  border-radius: 50%;
  padding: 1px;
}
.more-menu {
  margin-left: auto;
  align-self: flex-start;
}
.post-body {
  margin: 9px 0 0 47px;
}
.post-body > p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #c5c5cf;
}
.post-body > p strong {
  color: #eeeef2;
}
.video-preview {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}
.video-preview > img {
  width: 100%;
  aspect-ratio: 16/8.8;
  object-fit: cover;
}
.video-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
  background: #111219e8;
  border: 1px solid #ffffff26;
  backdrop-filter: blur(12px);
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 600;
}
.video-label .i {
  width: 13px;
  height: 13px;
}
.video-preview:hover img {
  filter: brightness(1.07);
}
.attached-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #bfbfc9;
  font-size: 10px;
  margin: 12px 0 7px;
  font-weight: 550;
}
.attached-label > span {
  color: #727481;
  font-weight: 400;
  font-size: 10px;
}
.attached-resources {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.resource-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #111216;
  font-size: 10px;
  color: #c7c6d2;
}
.resource-chip:hover {
  border-color: #6e638f;
}
.resource-chip > .i {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.resource-chip small {
  font-size: 8px;
  color: var(--muted);
  font-weight: 600;
}
.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 8px;
  color: #848593;
}
.post-actions button,
.post-actions a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  min-height: 34px;
}
.post-actions .i {
  width: 17px;
  height: 17px;
}
.post-actions button:hover {
  color: var(--accent);
}
.post-actions .liked {
  color: #e59ab1;
}
.liked .i {
  fill: #e59ab12b;
  stroke: #e59ab1;
}
.saved {
  color: var(--accent) !important;
}
.saved .i {
  fill: #aa9aff21;
}
.pinned {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #93909e;
  font-size: 10px;
  margin: 0 0 9px 47px;
}
.pinned .i {
  width: 12px;
  height: 12px;
}
.note-post {
  background: #0e0e13;
  padding-bottom: 19px;
}
.note-post .post-body > p {
  margin-bottom: 6px;
}
.note-link {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--accent);
  padding-top: 4px;
}
.note-link .i {
  width: 14px;
  height: 14px;
}
.right {
  padding: 13px 0 24px 24px;
  align-self: start;
  position: sticky;
  top: 0;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 13px;
  min-width: 0;
}
.search-field > .i {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.search-field input {
  border: 0;
  padding: 0;
  background: none;
  width: 100%;
  font-size: 11px;
  outline: none;
}
.search-field:focus-within {
  border-color: #756297;
}
.right-section {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.right h2 {
  font-size: 13px;
}
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 11px;
}
.text-link .i {
  width: 14px;
  height: 14px;
}
.featured-resource {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 62px 1fr 16px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  width: 100%;
  margin-top: 15px;
  background: var(--surface);
}
.featured-resource > .asset-img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}
.featured-resource > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.featured-resource b {
  font-size: 12px;
  line-height: 1.5;
}
.featured-resource small {
  font-size: 10px;
  color: var(--muted);
}
.featured-resource small span {
  padding-left: 3px;
  font-size: 8px;
}
.featured-resource > .i {
  width: 14px;
  color: var(--muted);
}
.sample-note {
  font-size: 10px;
  color: #7d7f8d;
  line-height: 1.6;
  margin-top: 10px;
}
.topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  gap: 10px;
}
.topic-row:last-child {
  padding-bottom: 0;
}
.topic-row > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.topic-row b {
  font-size: 12px;
}
.topic-row small {
  font-size: 10px;
  color: var(--muted);
}
.topic-row > .i {
  width: 14px;
  color: #767382;
}
.creator-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.creator-row > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.creator-row b {
  font-size: 11px;
}
.creator-row small {
  font-size: 10px;
  color: var(--muted);
}
.creator-section p {
  font-size: 11px;
  color: var(--muted);
  margin: 14px 0;
}
.outline-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px;
  font-size: 11px;
  font-weight: 550;
}
.outline-button .i {
  width: 14px;
  height: 14px;
}
.right-footer {
  color: #626570;
  font-size: 9px;
  line-height: 1.9;
  margin-top: 20px;
}
.right-footer > span {
  padding: 0 4px;
}
.library-toolbar {
  padding: 18px 24px 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-chips > button {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--muted);
}
.filter-chips > button.selected {
  color: #efebfa;
  background: #25222e;
  border-color: #453c58;
}
.filter-chips > button:hover {
  background: #1b1b22;
}
.library-meta {
  display: flex;
  justify-content: space-between;
  padding: 15px 24px;
  font-size: 10px;
  color: var(--muted);
}
.library-meta > span:last-child {
  color: #6b6d7a;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
  padding: 0 24px 24px;
}
.asset-card {
  min-width: 0;
}
.model-library-meta {
  align-items: center;
  min-height: 60px;
}
.model-card .asset-visual {
  aspect-ratio: 4 / 3;
}
.model-card .asset-caption {
  align-items: flex-start;
}
.model-card .asset-caption > div {
  min-width: 0;
}
.model-card .asset-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}
.model-card .asset-caption > .icon-button {
  flex-shrink: 0;
}
.asset-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.24;
  border: 1px solid var(--line);
  background: #17191e;
  overflow: hidden;
  border-radius: 11px;
}
.asset-visual > .asset-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.25s,
    filter 0.25s;
}
.asset-visual:hover > .asset-img {
  transform: scale(1.04);
  filter: brightness(1.07);
}
.asset-visual .format-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 8px;
  letter-spacing: 0.5px;
  background: #101116bf;
  border: 1px solid #ffffff1f;
  padding: 3px 6px;
  border-radius: 4px;
  color: #d1cfdb;
}
.orbit-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translate(-50%, 5px);
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  font-size: 10px;
  background: #111219ed;
  border: 1px solid #ffffff21;
  border-radius: 20px;
  padding: 6px 10px;
  opacity: 0;
  transition: 0.2s;
}
.orbit-hint .i {
  width: 14px;
  height: 14px;
}
.asset-visual:hover .orbit-hint,
.asset-visual:focus-visible .orbit-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}
.asset-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 10px 0;
}
.asset-name {
  font-size: 12px;
  font-weight: 550;
}
.asset-caption p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.asset-caption > .icon-button {
  width: 30px;
  height: 30px;
}
.asset-caption .i {
  width: 16px;
  height: 16px;
}
.model-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #94909f;
  font-size: 12px;
}
.model-placeholder .i {
  width: 34px;
  height: 34px;
}
.quiet-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  color: #7c7e8a;
  font-size: 11px;
  padding: 19px 24px;
  line-height: 1.7;
}
.quiet-note .i {
  width: 15px;
  height: 15px;
  flex: none;
}
.asset-detail {
  padding: 24px;
}
.asset-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
}
.model-stage {
  position: relative;
  background: #15171c;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.model-stage model-viewer {
  display: block;
  width: 100%;
  height: 480px;
  --poster-color: transparent;
}
.model-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 13px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.model-bottom > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.model-bottom .i {
  width: 15px;
  height: 15px;
}
.model-loading {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 11px;
  background: #101116d9;
  border-radius: 6px;
  padding: 6px 10px;
}
.model-loading[hidden] {
  display: none;
}
.animation-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  font-size: 11px;
}
.animation-controls select {
  padding: 7px 25px 7px 9px;
  font-size: 11px;
}
.animation-controls > .subtle {
  margin-left: auto;
}
.asset-info {
  padding: 2px 0;
}
.small-tag {
  font-size: 10px;
  color: var(--accent);
}
.asset-info h2 {
  font-size: 21px;
  margin: 6px 0 12px;
  letter-spacing: -0.5px;
}
.asset-info > p:not(.sample-note) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.asset-info dl {
  margin: 21px 0;
}
.asset-info dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.asset-info dt {
  color: var(--muted);
  flex: none;
}
.asset-info dd {
  margin: 0;
  text-align: right;
  font-size: 10px;
  line-height: 1.7;
  max-width: 170px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  font-size: 12px;
  font-weight: 550;
}
.button .i {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: var(--accent);
  border-color: transparent;
  color: #171121;
}
.button.small {
  min-height: 32px;
  padding: 6px 13px;
  font-size: 11px;
}
.button.wide {
  width: 100%;
  margin-bottom: 9px;
}
.from-post {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.from-post > span {
  font-size: 10px;
  color: var(--muted);
}
.from-post > button {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  font-size: 11px;
  width: 100%;
}
.from-post img {
  width: 65px;
  height: 43px;
  object-fit: cover;
  border-radius: 5px;
}
.from-post .i {
  width: 14px;
  margin-left: auto;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0 24px 24px;
}
.game-cover {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border-radius: 11px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #16151ac9;
  border: 1px solid #ffffff3b;
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 21px);
  top: calc(50% - 21px);
  backdrop-filter: blur(8px);
}
.play-circle .i {
  width: 18px;
  height: 18px;
}
.game-cover:hover .play-circle {
  background: #8d7ac9e8;
}
.timing-cover {
  background: #242034;
  text-align: left;
}
.timing-word {
  font-size: 36px;
  line-height: 0.98;
  font-weight: 750;
  letter-spacing: -2px;
  position: absolute;
  top: 23px;
  left: 25px;
  color: #f4f0ff;
}
.timing-word b {
  color: #a692dd;
}
.timing-demo-pill {
  position: absolute;
  bottom: 20px;
  left: 26px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #aa9dc8;
}
.timing-cover .play-circle {
  left: auto;
  right: 24px;
}
.game-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
}
.game-caption h2 {
  font-size: 13px;
}
.game-caption p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.game-card > .sample-note {
  margin-top: 4px;
}
.motion-grid .asset-visual {
  aspect-ratio: 1.28;
}
.motion-visual .play-circle {
  width: 34px;
  height: 34px;
  left: auto;
  right: 11px;
  top: auto;
  bottom: 11px;
}
.motion-visual .play-circle .i {
  width: 14px;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 24px 24px;
}
.workflow-card {
  min-width: 0;
}
.workflow-cover {
  width: 100%;
  border: 1px solid var(--line);
  background: #151419;
  border-radius: 10px;
  padding: 20px 20px 14px;
  min-height: 216px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}
.workflow-cover:hover {
  border-color: #71627d;
}
.html-label {
  color: #aaa0bf;
  font-size: 8px;
  letter-spacing: 0.8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.html-label .i {
  width: 12px;
  height: 12px;
}
.workflow-cover > strong {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  max-width: 180px;
  margin-top: 17px;
}
.document-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 15px 0;
}
.document-lines > span {
  display: block;
  height: 3px;
  width: 84%;
  background: #303039;
  border-radius: 4px;
}
.document-lines > span:nth-child(2) {
  width: 66%;
}
.document-lines > span:nth-child(3) {
  width: 73%;
}
.workflow-cover-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 9px;
  color: var(--muted);
  margin-top: auto;
}
.workflow-cover-footer .i {
  width: 14px;
  height: 14px;
}
.workflow-caption {
  padding: 10px 0;
}
.workflow-caption > button {
  font-size: 12px;
  font-weight: 550;
}
.workflow-caption p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.composer {
  display: flex;
  gap: 11px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.composer > div {
  min-width: 0;
  flex: 1;
}
.composer textarea {
  width: 100%;
  height: 66px;
  min-height: 66px;
  resize: vertical;
  border: 0;
  background: none;
  padding: 7px 0;
  font-size: 15px;
  line-height: 1.7;
  outline: none;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.composer-bottom > div {
  display: flex;
  gap: 5px;
}
.composer-bottom select {
  font-size: 10px;
  padding: 5px 20px 5px 7px;
  border: 0;
  background: var(--surface);
  max-width: 140px;
}
.composer .primary {
  border-radius: 20px;
  padding: 6px 20px;
}
.discussion-kind {
  font-size: 9px;
  color: #b5a9d0;
  margin-left: auto;
  align-self: flex-start;
  padding-top: 2px;
  white-space: nowrap;
}
.discussion-kind.solved {
  color: #a0c5ab;
  display: flex;
  align-items: center;
  gap: 4px;
}
.discussion-kind .i {
  width: 12px;
  height: 12px;
}
.topic-tag {
  font-size: 10px;
  color: #aaa0c1;
  margin: 1px 0 7px;
}
.discussion-text {
  text-align: left;
  display: block;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  width: 100%;
}
.discussion-post {
  padding-top: 20px;
}
.discussion-post .post-body {
  margin-top: 7px;
}
.post-actions .join-thread {
  margin-left: auto;
  font-size: 10px;
}
.active-topic {
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}
.active-topic button {
  border: 1px solid var(--line);
  font-size: 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  color: var(--accent);
}
.active-topic .i {
  width: 12px;
  height: 12px;
}
.benchmark-body {
  padding: 22px 24px;
}
.demo-callout {
  font-size: 11px;
  color: #a69bb6;
  background: #17151d;
  border: 1px solid #2b2535;
  padding: 10px 12px;
  border-radius: 7px;
  margin-bottom: 18px;
}
.benchmark-table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 450;
  font-size: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td:first-child {
  font-weight: 550;
}
.model-initial {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  background: #211e2a;
  border-radius: 7px;
  font-size: 10px;
  color: var(--accent);
  margin-right: 9px;
}
.score-cell {
  min-width: 130px;
  position: relative;
}
.score-cell > b {
  font-size: 12px;
  position: relative;
  display: block;
  padding-left: 8px;
  line-height: 28px;
}
.score-cell small {
  color: var(--muted);
  font-size: 9px;
  margin-left: 3px;
}
.score-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--score);
  background: #3d31533b;
  border-left: 2px solid #9d86c8;
  border-radius: 2px;
}
.benchmark-body > .sample-note {
  margin: 14px 0 30px;
}
.comparison-list {
  display: grid;
  gap: 0;
}
.comparison-list > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
}
.comparison-list img {
  width: 104px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
}
.comparison-list small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.comparison-list .i {
  width: 15px;
  margin-left: auto;
  flex: none;
  color: var(--muted);
}
.post-detail {
  padding: 20px;
}
.detail-post-text {
  font-size: 14px;
  line-height: 1.75;
  margin: 15px 0 18px;
  color: #cccbd5;
}
.detail-post-text strong {
  color: var(--text);
}
.post-detail > .section-row {
  margin-top: 25px;
}
.subtle {
  color: var(--muted);
  font-size: 10px;
}
.mini-asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 15px;
}
.post-detail > .workflow-card {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.post-detail > .workflow-card .workflow-cover {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  max-width: 220px;
  min-height: 155px;
  padding: 15px;
}
.post-detail > .workflow-card .workflow-cover > strong {
  font-size: 16px;
  margin-top: 9px;
}
.post-detail > .workflow-card .document-lines {
  margin: 10px 0;
}
.post-detail > .workflow-card .workflow-caption {
  padding: 16px;
}
.thread-invite {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 17px 0;
  border-block: 1px solid var(--line);
  font-size: 11px;
  flex-wrap: wrap;
}
.thread-invite > .i {
  width: 17px;
  color: var(--muted);
}
.thread-invite > .text-link {
  margin-left: auto;
}
.empty {
  padding: 70px 25px;
  text-align: center;
  color: var(--muted);
}
.empty > .i {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: #7f758f;
}
.empty h2 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}
.empty p {
  font-size: 12px;
}
.search-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.inset {
  margin-inline: 24px;
}
.search-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
dialog {
  background: var(--bg);
  color: var(--text);
  border: 1px solid #3b3647;
  border-radius: 15px;
  max-height: 90dvh;
  width: min(600px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  box-shadow: 0 30px 100px #0009;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(6px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 10px 15px 10px 20px;
  font-size: 13px;
  font-weight: 550;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 3;
}
.dialog-copy {
  padding: 26px;
  line-height: 1.8;
  font-size: 13px;
}
.dialog-copy h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.dialog-copy p {
  color: var(--muted);
  margin: 12px 0;
}
.dialog-copy ul {
  padding-left: 20px;
  color: var(--muted);
}
.dialog-copy li {
  margin: 8px 0;
}
.reader-dialog {
  width: min(1010px, calc(100% - 32px));
  overflow: hidden;
  height: 90dvh;
}
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  font-size: 10px;
}
.reader-toolbar > span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.reader-toolbar .i {
  width: 14px;
  height: 14px;
}
.workflow-reader {
  display: block;
  width: 100%;
  height: calc(100% - 128px);
  border: 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.reader-note {
  font-size: 10px;
  color: var(--muted);
  padding: 10px 20px;
}
.thread-content .feed-post {
  padding: 20px;
}
.thread-replies {
  padding: 0 23px;
}
.reply {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.reply > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.reply .avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
}
.reply > p {
  font-size: 12px;
  line-height: 1.8;
  margin: 9px 0 0 38px;
  white-space: pre-wrap;
}
.reply > .text-link {
  margin: 10px 0 0 38px;
}
.accepted {
  font-size: 9px;
  display: flex;
  gap: 4px;
  align-items: center;
  color: #9ac5a8;
  margin-left: auto;
}
.accepted .i {
  width: 12px;
  height: 12px;
}
.thread-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 24px 0;
}
.reply-form {
  padding: 20px;
}
.reply-form label {
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
}
.reply-form textarea {
  width: 100%;
  height: 90px;
  padding: 12px;
  font-size: 12px;
}
.reply-form > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
}
.reply-form .sample-note {
  margin: 0;
}
.search-dialog {
  display: flex;
  padding: 23px;
  gap: 12px;
}
.search-dialog > .search-field {
  flex: 1;
}
.game-demo {
  text-align: center;
  padding: 34px 28px;
}
.game-demo h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  margin: 10px 0;
}
.game-demo p {
  font-size: 12px;
  color: var(--muted);
}
.timing-track {
  height: 45px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1b1a22;
  margin: 35px 0;
  overflow: hidden;
}
.timing-track > .target {
  position: absolute;
  left: 42%;
  width: 16%;
  height: 100%;
  background: #9075c573;
  border-inline: 1px solid #af94e3;
}
.timing-track > #marker {
  position: absolute;
  width: 4px;
  height: 100%;
  background: #eee5ff;
  left: 50%;
  box-shadow: 0 0 15px #cab7ff80;
}
.game-demo #game-status {
  margin: 16px 0 7px;
}
.game-demo > .button {
  min-width: 140px;
}
#notice {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 100;
  max-width: calc(100% - 40px);
  width: max-content;
  border: 1px solid #514762;
  background: #211d2b;
  color: #efebf6;
  padding: 10px 18px;
  border-radius: 9px;
  box-shadow: 0 10px 30px #0008;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .app-shell {
    max-width: 1320px;
    grid-template-columns: 238px minmax(0, 690px) minmax(270px, 330px);
  }
  .app-shell.library-shell {
    grid-template-columns: 238px minmax(0, 1082px);
  }
  .left {
    padding-right: 25px;
  }
  .right {
    padding-left: 28px;
  }
  .nav-item {
    font-size: 16px;
  }
  .feed-post {
    padding: 20px 24px 12px;
  }
  .post-body > p {
    font-size: 14px;
  }
  .content-header {
    padding-inline: 24px;
  }
  .resource-chip {
    font-size: 11px;
  }
  .post-author > div {
    font-size: 14px;
  }
  .post-author > div > span {
    font-size: 12px;
  }
}
@media (max-width: 1150px) {
  .app-shell {
    max-width: 970px;
    grid-template-columns: 202px minmax(0, 680px);
    justify-content: center;
  }
  .app-shell.library-shell {
    max-width: 1100px;
    grid-template-columns: 202px minmax(0, 1fr);
  }
  .right {
    display: none;
  }
  .left {
    padding-inline: 9px 15px;
  }
  .nav-item {
    font-size: 14px;
    gap: 11px;
    padding-inline: 12px;
  }
  .asset-detail-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
  }
  .model-stage model-viewer {
    height: 410px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) and (min-width: 701px) {
  .app-shell,
  .app-shell.library-shell {
    grid-template-columns: 76px minmax(0, 1fr);
    max-width: 800px;
  }
  .left {
    padding: 20px 11px;
  }
  .brand {
    padding: 0 7px 25px;
  }
  .wordmark,
  .nav-item > span,
  .new-post > span,
  .old-concepts > span,
  .account > span:nth-child(2),
  .account > .i {
    display: none;
  }
  .nav-item {
    padding: 13px 15px;
  }
  .nav-item.active {
    background: #211e2b;
  }
  .new-post {
    padding: 13px;
    margin: 20px 2px 0;
  }
  .old-concepts {
    padding: 15px 18px;
  }
  .account {
    padding: 9px;
  }
  .asset-detail-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .asset-grid {
    gap: 18px 13px;
    padding-inline: 20px;
  }
  .asset-detail {
    padding: 20px;
  }
  .asset-info h2 {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  :root {
    font-size: 14px;
  }
  .app-shell,
  .app-shell.library-shell {
    display: block;
    width: 100%;
    padding-bottom: 72px;
  }
  .left {
    display: none;
  }
  .left.open {
    display: flex;
    position: fixed;
    inset: 0 auto 0 0;
    width: 245px;
    max-width: 85vw;
    padding: 22px 16px 15px;
    background: #101116;
    border-right: 1px solid var(--line);
    z-index: 60;
  }
  .left.open .nav-item {
    font-size: 15px;
    min-height: 48px;
  }
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 50;
    cursor: default;
  }
  .right {
    display: none;
  }
  main {
    border: 0;
    min-height: calc(100dvh - 72px);
  }
  .content-header {
    height: 53px;
    padding: 0 12px;
    gap: 8px;
    background: #090a0df7;
  }
  .content-header h1 {
    font-size: 16px;
  }
  .content-header .preview-indicator {
    font-size: 9px;
  }
  .content-header > .icon-button {
    width: 32px;
    height: 32px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .mobile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 7px 5px calc(6px + env(safe-area-inset-bottom));
    background: #0d0e12f5;
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    z-index: 35;
  }
  .mobile-bottom > button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 62px;
    min-height: 44px;
    color: #7e818f;
    justify-content: center;
  }
  .mobile-bottom .i {
    width: 21px;
    height: 21px;
  }
  .mobile-bottom span {
    font-size: 9px;
  }
  .mobile-bottom > button.active {
    color: var(--accent);
  }
  .tabs {
    height: 47px;
  }
  .tabs > button {
    font-size: 12px;
    padding: 0 12px;
  }
  .feed-context {
    padding: 10px 15px;
    font-size: 9px;
    gap: 6px;
  }
  .feed-context .i {
    width: 11px;
    height: 11px;
  }
  .feed-context > button {
    font-size: 9px;
  }
  .feed-post {
    padding: 16px 15px 9px;
  }
  .post-author {
    gap: 9px;
  }
  .avatar {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }
  .post-author > div {
    font-size: 12px;
  }
  .post-author > div > span {
    font-size: 10px;
  }
  .post-author .verified {
    width: 11px;
    height: 11px;
  }
  .post-body {
    margin-left: 0;
    margin-top: 10px;
  }
  .post-body > p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 11px;
  }
  .post-actions {
    margin-top: 8px;
  }
  .post-actions button,
  .post-actions a {
    font-size: 10px;
    min-height: 36px;
  }
  .video-preview {
    border-radius: 9px;
  }
  .video-preview > img {
    aspect-ratio: 16/9;
  }
  .video-label {
    font-size: 9px;
    bottom: 8px;
    left: 8px;
    padding: 5px 7px;
  }
  .attached-label {
    font-size: 9px;
    margin-top: 10px;
  }
  .attached-label > span {
    font-size: 9px;
  }
  .resource-chip {
    font-size: 9px;
    padding: 7px 8px;
    gap: 5px;
    min-height: 33px;
  }
  .resource-chip small {
    font-size: 7px;
  }
  .resource-chip > .i {
    width: 12px;
    height: 12px;
  }
  .attached-resources {
    gap: 5px;
  }
  .pinned {
    margin-left: 0;
    font-size: 9px;
  }
  .note-post {
    padding-bottom: 16px;
  }
  .note-link {
    font-size: 11px;
  }
  .library-toolbar {
    padding: 15px 15px 4px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .filter-chips {
    max-width: 100%;
    gap: 5px;
  }
  .filter-chips > button {
    font-size: 10px;
    padding: 7px 11px;
    min-height: 32px;
  }
  .library-meta {
    padding: 13px 15px;
    font-size: 9px;
  }
  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 15px 18px;
    gap: 16px 11px;
  }
  .asset-visual {
    aspect-ratio: 1.04;
    border-radius: 9px;
  }
  .asset-visual .format-tag {
    top: 8px;
    left: 8px;
    font-size: 7px;
  }
  .asset-caption {
    padding: 7px 0;
    align-items: flex-start;
  }
  .asset-name {
    font-size: 11px;
  }
  .asset-caption p {
    font-size: 9px;
    line-height: 1.6;
  }
  .asset-caption > .icon-button {
    width: 29px;
    height: 32px;
    margin-top: -1px;
  }
  .asset-caption .i {
    width: 15px;
    height: 15px;
  }
  .orbit-hint {
    display: none;
  }
  .quiet-note {
    padding: 16px 15px;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 10px;
    gap: 9px;
  }
  .quiet-note .i {
    margin-top: 3px;
  }
  .asset-detail {
    padding: 15px;
  }
  .asset-detail-grid {
    display: block;
  }
  .model-stage model-viewer {
    height: 360px;
    max-height: 55dvh;
  }
  .model-bottom {
    padding: 5px 10px;
    font-size: 9px;
  }
  .asset-info {
    margin-top: 17px;
  }
  .asset-info h2 {
    font-size: 21px;
  }
  .asset-info dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin: 17px 0;
  }
  .asset-info dl > div {
    display: block;
    padding: 10px 0;
  }
  .asset-info dd {
    text-align: left;
    margin-top: 3px;
    max-width: none;
  }
  .asset-info dt {
    font-size: 9px;
  }
  .asset-info > .sample-note {
    font-size: 10px;
  }
  .from-post {
    margin-top: 20px;
    padding-top: 16px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    padding: 0 15px 20px;
    gap: 24px;
  }
  .game-caption {
    padding-top: 10px;
  }
  .game-caption h2 {
    font-size: 13px;
  }
  .game-cover {
    aspect-ratio: 16/8.5;
  }
  .timing-word {
    font-size: 37px;
  }
  .motion-grid .asset-visual {
    aspect-ratio: 1.04;
  }
  .motion-grid .format-tag {
    font-size: 6px;
  }
  .motion-visual .play-circle {
    width: 28px;
    height: 28px;
    bottom: 8px;
    right: 8px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px 15px 20px;
    gap: 12px;
  }
  .workflow-cover {
    padding: 14px 13px 11px;
    min-height: 193px;
  }
  .workflow-cover > strong {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .html-label {
    font-size: 6px;
    gap: 4px;
  }
  .html-label .i {
    width: 10px;
    height: 10px;
  }
  .workflow-caption > button {
    font-size: 11px;
    line-height: 1.5;
  }
  .workflow-caption p {
    font-size: 9px;
  }
  .composer {
    padding: 16px 15px;
    gap: 9px;
  }
  .composer textarea {
    font-size: 14px;
    height: 65px;
    min-height: 65px;
  }
  .composer-bottom {
    flex-wrap: wrap;
    margin-left: -43px;
    margin-top: 4px;
    gap: 5px;
  }
  .composer-bottom select {
    font-size: 9px;
    max-width: 133px;
    padding: 6px 16px 6px 6px;
  }
  .composer-bottom > div {
    gap: 3px;
  }
  .composer .primary {
    padding: 6px 17px;
    font-size: 11px;
  }
  .discussion-kind {
    font-size: 8px;
    padding-top: 3px;
  }
  .discussion-text {
    font-size: 12px;
    line-height: 1.8;
  }
  .discussion-post .post-body {
    margin-top: 11px;
  }
  .topic-tag {
    font-size: 9px;
  }
  .benchmark-body {
    padding: 18px 15px;
  }
  .benchmark-body .section-row h2 {
    font-size: 14px;
  }
  .demo-callout {
    font-size: 10px;
  }
  th {
    font-size: 9px;
    padding: 9px 7px;
  }
  td {
    padding: 13px 7px;
    font-size: 10px;
  }
  .model-initial {
    width: 23px;
    height: 23px;
    font-size: 9px;
    margin-right: 6px;
  }
  .score-cell {
    min-width: 90px;
  }
  .score-cell > b {
    font-size: 11px;
    line-height: 26px;
  }
  .benchmark-table-wrap .text-link {
    font-size: 9px;
  }
  .benchmark-table-wrap .i {
    width: 12px;
  }
  .comparison-list > a {
    font-size: 11px;
    gap: 10px;
  }
  .comparison-list img {
    width: 90px;
  }
  .comparison-list small {
    font-size: 9px;
  }
  .post-detail {
    padding: 16px 15px;
  }
  .detail-post-text {
    font-size: 12px;
    line-height: 1.8;
  }
  .post-detail > .section-row h2 {
    font-size: 14px;
  }
  .post-detail > .section-row .subtle {
    font-size: 9px;
  }
  .post-detail > .workflow-card .workflow-cover {
    max-width: 150px;
    min-height: 162px;
    padding: 12px;
  }
  .post-detail > .workflow-card .workflow-cover > strong {
    font-size: 14px;
  }
  .post-detail > .workflow-card .workflow-caption {
    padding: 11px;
  }
  .thread-invite {
    gap: 8px;
    font-size: 10px;
  }
  .thread-invite > .text-link {
    margin-left: 26px;
  }
  .mini-asset-grid {
    gap: 11px;
  }
  .search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-heading {
    padding: 15px;
    font-size: 11px;
  }
  .empty {
    padding: 60px 22px;
  }
  .empty h2 {
    font-size: 18px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: 92dvh;
    border-radius: 12px;
  }
  .modal-header {
    font-size: 12px;
    padding: 8px 10px 8px 15px;
  }
  .reader-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    margin: 0;
  }
  .reader-toolbar {
    padding: 11px 15px;
    align-items: flex-start;
    font-size: 9px;
  }
  .reader-toolbar > .text-link {
    font-size: 9px;
    white-space: nowrap;
  }
  .workflow-reader {
    height: calc(100% - 128px);
  }
  .reader-note {
    font-size: 9px;
    padding: 10px 15px;
  }
  .thread-content .feed-post {
    padding: 16px;
  }
  .reply-form {
    padding: 16px;
  }
  .reply-form > div .sample-note {
    font-size: 9px;
  }
  .thread-replies {
    padding-inline: 17px;
  }
  .reply p {
    font-size: 11px;
    margin-left: 0;
  }
  .reply > .text-link {
    margin-left: 0;
  }
  .search-dialog {
    padding: 17px;
    gap: 7px;
  }
  .search-dialog .search-field {
    padding: 10px;
  }
  .search-dialog input {
    font-size: 10px;
  }
  .dialog-copy {
    padding: 20px;
    font-size: 12px;
  }
  .dialog-copy h2 {
    font-size: 18px;
  }
  #notice {
    bottom: 79px;
    font-size: 11px;
    width: max-content;
    max-width: calc(100% - 30px);
  }
  .game-demo {
    padding: 27px 20px;
  }
  .game-demo h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
main:focus {
  outline: none;
}
.asset-visual > .asset-img {
  object-fit: contain;
}
.asset-visual:has(img[src*="poster-astronaut"]) {
  background: #20232b;
}
.asset-visual:has(img[src*="webgl_animation"]) {
  background: #ededed;
}
.asset-visual:has(img[src*="WaterBottle"]) {
  background: #9a857c;
}
.asset-visual:has(img[src*="Avocado"]),
.asset-visual:has(img[src*="Lantern"]) {
  background: #8b8b8b;
}
/* V1 working application */
.preview-indicator:empty:before {
  display: none;
}
.post-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 8px;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.creator-badge {
  font-size: 10px;
  color: var(--accent);
  font-weight: 450;
}
.detail-title {
  font-size: 20px;
  margin-top: 20px;
  line-height: 1.4;
}
.detail-section {
  margin-top: 24px;
}
.resolved-label {
  display: inline-block;
  color: #a4c6b2;
  font-size: 11px;
  margin-top: 10px;
}
.right-copy {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.topic-row b > .i {
  width: 16px;
  height: 16px;
  margin-right: 7px;
}
.join-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.empty > .button {
  margin-top: 18px;
}
.load-more {
  padding: 24px;
  text-align: center;
}
.library-start {
  padding-top: 24px;
}
.file-art {
  height: 100%;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #aaa2be;
}
.file-art > .i {
  width: 35px;
  height: 35px;
}
.file-art b {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: var(--text);
}
.file-art small {
  font-size: 10px;
  color: var(--muted);
}
.resource-preview {
  min-height: 420px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-preview > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  opacity: 0.25;
}
.native-model-preview > img {
  opacity: 1;
}
.render-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 9px;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  background: #101116df;
  font-size: 10px;
  color: var(--muted);
}
.native-model-note {
  color: var(--muted);
  font-size: 12px;
}
.preview-lock {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  padding: 24px;
}
.preview-lock > .i {
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.preview-lock > span {
  font-size: 17px;
  max-width: 320px;
}
.preview-lock > small {
  font-size: 11px;
  color: var(--muted);
}
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 25px;
  font-size: 14px;
}
.stack-form p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.stack-form small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.stack-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}
.stack-form input,
.stack-form textarea,
.stack-form select {
  padding: 10px 12px;
  width: 100%;
  font-size: 14px;
  border-radius: 7px;
}
.stack-form input[type="file"] {
  font-size: 12px;
}
.stack-form fieldset {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
}
.stack-form legend {
  font-size: 13px;
  padding: 0 6px;
}
.stack-form .radio-line {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.stack-form input[type="checkbox"],
.stack-form input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
  flex: none;
}
.stack-form textarea {
  resize: vertical;
}
.two-buttons {
  display: flex;
  gap: 12px;
}
.two-buttons > * {
  flex: 1;
}
.subscription-channel {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #2d2e34;
  border-radius: 14px;
  background: #17181c;
}
.subscription-avatar {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.subscription-identity {
  min-width: 0;
}
.subscription-identity strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.subscription-identity span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #a5a6af;
  font-size: 11px;
  line-height: 1.5;
}
.youtube-mark {
  width: 16px;
  height: 12px;
  flex: none;
}
.channel-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 24px;
  background: #f1f1f1;
  color: #111;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.channel-subscribe:hover {
  background: #d9d9df;
  color: #111;
}
.channel-subscribe:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.subscription-answers {
  gap: 10px;
}
.subscription-answers > .button,
.stack-form .subscription-answers .radio-line {
  min-height: 44px;
  justify-content: center;
  border: 1px solid #383941;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}
.subscription-answers > .button:hover,
.stack-form .subscription-answers .radio-line:hover {
  background: #24252c;
}
.stack-form .subscription-answers .radio-line:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.stack-form .subscription-field {
  border: 0;
  padding: 0;
  gap: 16px;
  max-height: none;
  overflow: visible;
}
.stack-form .subscription-field legend {
  padding: 0 0 16px;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
}
dialog.subscription-question,
dialog.subscription-gate {
  width: min(460px, calc(100% - 32px));
}
.subscription-question .modal-header,
.subscription-gate .modal-header {
  padding: 24px 24px 0;
  border-bottom: 0;
  gap: 14px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.3px;
}
.subscription-question .modal-header .icon-button {
  flex: none;
  margin: -5px -10px 0 0;
}
.subscription-question .auth-heading h1 {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.3px;
}
@media (max-width: 420px) {
  .subscription-channel {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
  }
  .subscription-avatar {
    width: 48px;
    height: 48px;
  }
  .channel-subscribe {
    grid-column: 2;
    justify-self: start;
  }
  .subscription-question .modal-header,
  .subscription-gate .modal-header {
    padding: 20px 20px 0;
    font-size: 17px;
  }
}
.dev-note {
  border: 1px solid #5b4b24;
  background: #302713;
  padding: 10px 12px;
  border-radius: 7px;
  color: #d7c389 !important;
  font-size: 12px !important;
}
.form-error {
  padding: 13px 20px;
  margin: 15px 20px 0;
  background: #351c27;
  border: 1px solid #603448;
  border-radius: 8px;
  font-size: 12px;
  color: #edb8c9;
}
.form-error[hidden] {
  display: none;
}
.studio-body {
  padding: 20px 24px;
}
.studio-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.studio-body .tabs {
  margin-inline: -24px;
}
.studio-content {
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.management-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.management-row > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.management-row b {
  font-size: 13px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.management-row small {
  font-size: 11px;
}
.management-row select {
  font-size: 12px;
  padding: 8px;
}
.setting-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  font-size: 13px;
}
.setting-line input {
  accent-color: var(--accent);
}
.report-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.report-card p {
  margin: 10px 0;
}
.report-card blockquote {
  margin: 10px 0;
  background: var(--surface);
  border-left: 2px solid var(--line);
  padding: 10px 15px;
}
.report-card > div {
  display: flex;
  gap: 20px;
}
.stack-form progress {
  width: 100%;
  accent-color: var(--accent);
}
.full-model {
  display: block;
  width: 100%;
  height: 65dvh;
  background: #171920;
}
.viewer-dialog {
  width: min(950px, calc(100% - 24px));
}
.viewer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  color: var(--muted);
  font-size: 12px;
}
.viewer-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.viewer-tools select {
  max-width: 160px;
  padding: 6px;
}
.workflow-reader.full-reader {
  height: calc(100% - 55px);
}
.media-preview {
  display: block;
  width: 100%;
  max-height: 75dvh;
}
.image-preview {
  margin: auto;
  max-height: 75dvh;
  object-fit: contain;
}
.text-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 20px;
  font-size: 13px;
  line-height: 1.75;
}
.search-dialog > input {
  min-width: 0;
  flex: 1;
  padding: 10px;
}
.post-detail .thread-replies {
  padding: 0;
}
.post-detail .reply-form {
  padding-inline: 0;
}
.dialog-copy a {
  color: var(--accent);
}
.dialog-copy a.button {
  color: #15111f;
}
.left {
  padding-top: 17px;
}
.left .brand {
  padding-bottom: 17px;
}
.left .nav-item {
  min-height: 43px;
  padding-block: 10px;
}
.left .new-post {
  margin-top: 16px;
}
@media (max-width: 700px) {
  .stack-form {
    padding: 20px;
    gap: 16px;
  }
  .join-strip {
    padding: 15px;
    font-size: 11px;
  }
  .post-title {
    font-size: 14px;
  }
  .resource-preview {
    min-height: 300px;
  }
  .file-art {
    padding: 20px 12px;
  }
  .file-art b {
    font-size: 12px;
  }
  .file-art > .i {
    width: 29px;
    height: 29px;
  }
  .studio-body {
    padding: 17px 15px;
  }
  .studio-body .tabs {
    margin-inline: -15px;
  }
  .studio-actions {
    gap: 8px;
  }
  .studio-actions .button {
    font-size: 11px;
  }
  .management-row {
    gap: 8px;
    flex-wrap: wrap;
  }
  .management-row > span:first-child {
    flex-basis: 60%;
  }
  .management-row b {
    font-size: 12px;
  }
  .management-row small {
    font-size: 10px;
  }
  .management-row .text-link {
    font-size: 10px;
  }
  .viewer-tools {
    flex-wrap: wrap;
    font-size: 11px;
    padding: 12px 15px;
  }
  .viewer-tools > span {
    width: 100%;
  }
  .full-model {
    height: 57dvh;
  }
  .detail-title {
    font-size: 18px;
  }
  .creator-badge {
    font-size: 8px;
  }
  .left.open .nav-item {
    min-height: 43px;
  }
  .left .left-bottom {
    padding-top: 10px;
  }
  .post-author > div > span {
    font-size: 10px;
  }
  .post-body > p {
    font-size: 13px;
  }
  .discussion-text {
    font-size: 13px;
  }
}

/* Report posts open as a reader; the feed stays compact. */
.report-story {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f1015;
  text-align: left;
}
.report-story:hover {
  border-color: #625876;
  background: #13131b;
}
.report-story:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.report-story-cover {
  display: block;
  width: 100%;
  aspect-ratio: 2.2;
  object-fit: cover;
}
.report-story-copy {
  display: grid;
  gap: 9px;
  padding: 17px 18px;
}
.report-story-copy > strong {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.35px;
}
.report-teaser {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.report-read {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 12px;
  margin-top: 3px;
}
.report-read .i {
  width: 15px;
  height: 15px;
}
.report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #0c0d11;
}
.report-tabs {
  display: flex;
  align-self: stretch;
  min-width: 0;
  gap: 18px;
}
.report-tabs > button {
  position: relative;
  min-height: 48px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.report-tabs > button[aria-selected="true"] {
  color: var(--text);
}
.report-tabs > button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.report-tabs > button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
  border-radius: 4px;
}
.report-video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.report-video-link .i {
  width: 16px;
  height: 16px;
}
.post-report-reader {
  display: block;
  width: 100%;
  height: calc(100dvh - 107px);
  min-height: 420px;
  border: 0;
  background: #0b0d12;
}
.report-gate {
  min-height: 60dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
}
.report-gate > .i {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.report-gate h2 {
  font-size: 22px;
  max-width: 520px;
  line-height: 1.4;
}
.report-gate p {
  color: var(--muted);
  font-size: 13px;
  max-width: 420px;
}
.report-files,
.report-discussion {
  padding: 24px;
}
.report-discussion {
  max-width: 780px;
  margin: auto;
}
.report-discussion .detail-section {
  margin-top: 0;
}
.report-post [hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .report-story-copy {
    padding: 14px;
    gap: 7px;
  }
  .report-story-copy > strong {
    font-size: 17px;
  }
  .report-story-cover {
    aspect-ratio: 1.9;
  }
  .report-toolbar {
    padding: 0 12px;
  }
  .report-tabs {
    gap: 14px;
  }
  .report-tabs > button {
    font-size: 11px;
  }
  .report-video-link span {
    display: none;
  }
  .post-report-reader {
    height: calc(100dvh - 179px);
    min-height: 360px;
  }
  .report-files,
  .report-discussion {
    padding: 16px;
  }
  .report-gate {
    padding: 24px 18px;
  }
}

/* Creator overview and video attribution */
.studio-actions {
  margin-bottom: 16px;
}
.studio-body .tabs > button {
  padding-inline: 17px;
}
.analytics-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.analytics-period {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.analytics-toolbar > .button:last-child {
  margin-left: auto;
}
.analytics-period select,
.analytics-panel-heading select {
  min-height: 36px;
  padding: 7px 28px 7px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  max-width: 100%;
}
.analytics-content {
  color: var(--text);
}
.analytics-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.analytics-metric {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  min-width: 0;
}
.analytics-metric > span {
  color: var(--muted);
  font-size: 12px;
}
.analytics-metric > strong {
  font-size: clamp(21px, 2.6vw, 29px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.analytics-panel {
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 16px;
  overflow: hidden;
}
.analytics-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.analytics-panel-heading h2,
.video-link-heading h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.15px;
  overflow-wrap: anywhere;
}
.analytics-chart {
  position: relative;
  padding: 5px 16px 12px;
}
.analytics-chart svg {
  display: block;
  width: 100%;
  height: 142px;
  overflow: visible;
}
.chart-grid {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.chart-fill {
  fill: var(--accent);
  fill-opacity: 0.08;
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.chart-dot {
  fill: var(--accent);
}
.chart-ceiling {
  position: absolute;
  right: 20px;
  top: 0;
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.chart-dates {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  padding-inline: 12px;
}
.analytics-details {
  border-top: 1px solid var(--line);
}
.analytics-details > summary,
.analytics-definitions > summary {
  cursor: pointer;
  width: fit-content;
  color: var(--muted);
  font-size: 11px;
  min-height: 36px;
  padding: 10px 16px;
}
.analytics-definitions > summary {
  padding-inline: 0;
}
.analytics-definitions p {
  max-width: 720px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 10px;
}
.analytics-footnote {
  margin: 0;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 11px;
  border-top: 1px solid var(--line);
}
.analytics-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.analytics-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  min-width: 440px;
}
.analytics-table th,
.analytics-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.analytics-table thead th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--surface);
}
.analytics-table tbody th {
  font-weight: 500;
}
.analytics-table td,
.analytics-table thead th:not(:first-child) {
  text-align: right;
}
.analytics-table td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  font-weight: 400;
  margin-top: 3px;
}
.analytics-ranking {
  min-width: 620px;
}
.analytics-ranking th:first-child {
  width: 42%;
}
.analytics-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}
.analytics-rank {
  color: var(--muted);
  flex: none;
  font-size: 10px;
  min-width: 14px;
}
.analytics-item-title {
  color: var(--text);
  line-height: 1.45;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  overflow-wrap: anywhere;
}
.analytics-item-title:hover {
  color: var(--accent);
}
.analytics-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.analytics-emphasis {
  font-weight: 650;
  color: var(--accent);
}
.analytics-switch {
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
}
.analytics-switch button {
  border-radius: 5px;
  color: var(--muted);
  font-size: 12px;
  padding: 5px 12px;
  min-height: 28px;
}
.analytics-switch button[aria-pressed="true"] {
  color: var(--text);
  background: var(--raised);
}
.analytics-show-all {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.analytics-empty,
.analytics-error {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.analytics-error p {
  margin: 0 0 14px;
}
.analytics-error .button {
  display: inline-flex;
}
.analytics-intro {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 12px;
  max-width: 570px;
}
.video-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.video-link-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px;
  min-width: 0;
  background: var(--surface);
}
.video-link-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.video-link-heading > div {
  min-width: 0;
}
.video-link-date {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.link-toggle {
  font-size: 11px;
  flex: none;
  min-height: 24px;
}
.link-status {
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-left: 6px;
  padding: 1px 5px;
  color: #dabf85;
}
.video-link-url {
  display: flex;
  align-items: stretch;
  gap: 7px;
}
.video-link-url input {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: var(--bg);
  font-size: 11px;
  padding: 9px;
  color: var(--muted);
}
.video-link-url .button {
  font-size: 11px;
  min-height: 36px;
  padding: 7px 10px;
  gap: 5px;
  flex: none;
}
.video-link-url .i {
  width: 14px;
  height: 14px;
}
.video-link-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  gap: 12px;
}
.video-link-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.video-link-stats strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
}
.video-link-stats span {
  font-size: 10px;
  color: var(--muted);
}
.link-empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  margin: 20px 0 12px;
  padding-block: 46px;
}
.link-empty p {
  margin: 8px 0 4px;
  color: var(--text);
}
.link-empty > span:last-child {
  font-size: 12px;
}
.link-empty-icon {
  font-size: 26px;
  color: var(--accent);
}
@media (max-width: 900px) {
  .video-links {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .studio-actions {
    margin-bottom: 10px;
  }
  .studio-body .tabs > button {
    padding-inline: 14px;
    font-size: 12px;
  }
  .analytics-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .analytics-metric {
    padding: 12px 14px;
    gap: 7px;
  }
  .analytics-metric > strong {
    font-size: 25px;
  }
  .analytics-metric > span {
    font-size: 11px;
  }
  .analytics-period {
    gap: 5px;
    font-size: 0;
  }
  .analytics-toolbar {
    gap: 4px;
  }
  .analytics-toolbar .button {
    font-size: 11px;
    padding-inline: 10px;
  }
  .analytics-panel-heading {
    gap: 8px;
    padding: 12px;
  }
  .analytics-panel-heading select {
    font-size: 11px;
    min-width: 0;
    padding-left: 8px;
    padding-right: 20px;
  }
  .analytics-switch button {
    padding-inline: 9px;
    font-size: 11px;
  }
  .analytics-table th,
  .analytics-table td {
    padding: 11px 12px;
  }
  .analytics-chart {
    padding-inline: 10px;
  }
  .analytics-chart svg {
    height: 120px;
  }
  .video-link-card {
    padding: 14px;
  }
}
.analytics-ranking-heading {
  flex-wrap: wrap;
}
.analytics-ranking-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
@media (max-width: 600px) {
  .analytics-ranking-controls {
    width: 100%;
  }
  .analytics-ranking-controls select {
    flex: 1;
    width: 50%;
  }
}
.video-link-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
@media (max-width: 600px) {
  .analytics-ranking {
    min-width: 0;
  }
  .analytics-ranking thead {
    display: none;
  }
  .analytics-ranking tbody,
  .analytics-ranking tr,
  .analytics-ranking th,
  .analytics-ranking td {
    display: block;
  }
  .analytics-ranking tbody tr {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 11px 4px;
    border-top: 1px solid var(--line);
  }
  .analytics-ranking th,
  .analytics-ranking td {
    border: 0;
    padding: 7px 8px;
    text-align: left;
  }
  .analytics-ranking th:first-child {
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 0;
  }
  .analytics-ranking td {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
  }
  .analytics-ranking td::before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 4px;
    white-space: normal;
    min-height: 25px;
  }
  .analytics-ranking td small {
    white-space: normal;
    font-size: 9px;
    line-height: 1.4;
  }
  .analytics-post-ranking tbody tr {
    grid-template-columns: 1fr 3fr;
  }
}

/* Community media stays part of the post, separate from the asset library. */
.creator-avatar {
  display: block;
  object-fit: cover;
  border-radius: 50%;
  flex: none;
}
.account-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-profile p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.composer-media-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.composer-attach {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: var(--accent);
  font-size: 12px;
  position: relative;
  cursor: pointer;
  border-radius: 6px;
}
.composer-attach .i {
  width: 19px;
  height: 19px;
}
.composer-attach input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.composer-attach:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.composer-attach:has(input:disabled) {
  opacity: 0.4;
  cursor: default;
}
.composer-discard {
  font-size: 11px;
  min-height: 32px;
}
.composer-discard[hidden],
.composer-error[hidden] {
  display: none;
}
.composer-error,
.composer-file-error {
  font-size: 12px;
  color: #edb8c9;
  line-height: 1.5;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.composer-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 6px;
}
.composer-media-grid.has-video {
  grid-template-columns: minmax(0, 1fr);
}
.composer-media-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.composer-media-item > img,
.composer-media-item > video {
  width: 100%;
  height: 156px;
  display: block;
  object-fit: cover;
  background: #060708;
}
.composer-media-item > video {
  height: auto;
  max-height: 280px;
  min-height: 150px;
  object-fit: contain;
}
.composer-media-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #08090ed9;
  color: #fff;
  border: 1px solid #ffffff2b;
}
.composer-media-remove .i {
  width: 16px;
  height: 16px;
}
.composer-media-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  font-size: 11px;
}
.composer-media-caption > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}
.composer-media-caption small,
.composer-media-caption button {
  font-size: 10px;
  flex: none;
}
.composer-media-caption .media-ready {
  color: #a4d7ba;
}
.composer-media-item > progress {
  display: block;
  width: calc(100% - 20px);
  height: 3px;
  margin: 0 10px 10px;
  accent-color: var(--accent);
}
.composer-file-error {
  margin: 0;
  padding: 0 10px 10px;
  font-size: 10px;
}
.community-post-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 12px 0;
  background: #060708;
}
.community-post-media.media-count-1 {
  grid-template-columns: minmax(0, 1fr);
}
.community-photo {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
}
.community-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  max-height: 400px;
  object-fit: cover;
}
.media-count-1 .community-photo img {
  aspect-ratio: auto;
  max-height: 520px;
  object-fit: contain;
}
.media-count-3 .community-photo:first-child {
  grid-row: span 2;
}
.media-count-3 .community-photo:first-child img {
  height: 100%;
  aspect-ratio: auto;
}
.media-count-3 .community-photo:not(:first-child) img {
  aspect-ratio: 1.5;
}
.community-video-wrapper {
  min-width: 0;
  grid-column: 1 / -1;
}
.community-video {
  width: 100%;
  height: auto;
  max-height: 580px;
  display: block;
  background: #050607;
}
.community-video-download {
  display: block;
  color: var(--muted);
  font-size: 11px;
  padding: 8px 12px;
  text-align: right;
}
.community-photo-dialog {
  width: min(980px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 0;
}
.community-lightbox > img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 175px);
  object-fit: contain;
  background: #050607;
}
.community-photo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px;
  font-size: 12px;
  color: var(--muted);
}
.community-photo-controls .button {
  min-height: 36px;
  padding: 6px 12px;
}
@media (max-width: 600px) {
  .composer {
    padding: 15px 12px;
    gap: 9px;
  }
  .composer > .avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .composer-bottom {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .composer-bottom > div {
    min-width: 0;
    flex: 1;
    flex-wrap: wrap;
  }
  .composer-bottom select {
    max-width: min(130px, 100%);
  }
  .composer-bottom > .button {
    margin-left: auto;
    min-height: 34px;
  }
  .composer-media-item > img {
    height: 126px;
  }
  .composer-media-caption {
    gap: 5px;
    padding: 8px;
    flex-wrap: wrap;
  }
  .composer-media-caption > span {
    flex-basis: 100%;
  }
  .community-post-media {
    border-radius: 10px;
    margin: 10px 0;
  }
}
