/* ANT-SYS-2026-0828-006 | 全站成品化、比例与交互统一 */

:root {
  --site-radius: 10px;
  --site-radius-lg: 14px;
  --site-control-height: 36px;
  --site-soft-line: rgba(214, 168, 71, 0.18);
  --site-soft-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

/* ANT-SYS-2026-0907-002 | X-style learning discussion community v2 */
body.clean-ui.community-page-mode {
  background: #090a0b;
}

body.clean-ui.community-page-mode .main {
  min-width: 0;
  padding: 18px 20px 48px;
  background: #090a0b;
}

body.clean-ui.community-page-mode .topbar {
  max-width: 1020px;
  margin: 0 auto 12px;
  border-color: #2f3336;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.9);
}

body.clean-ui.community-page-mode .view-root {
  display: block;
  max-width: none;
}

body.clean-ui.community-page-mode :is(.guest-permission-notice, .registered-permission-notice) {
  display: none;
}

body.clean-ui.community-page-mode .ugc-community-shell,
body.clean-ui.community-page-mode .community-detail-shell {
  width: min(100%, 1020px);
  max-width: 1020px;
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(300px, 360px);
  overflow: visible;
  border: 1px solid #2f3336;
  border-radius: 0;
  color: #e7e9ea;
  background: #000;
}

body.clean-ui.community-page-mode .ugc-feed-column,
body.clean-ui.community-page-mode .community-detail-column {
  min-width: 0;
  border-right: 1px solid #2f3336;
  background: #000;
}

body.clean-ui.community-page-mode .ugc-feed-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #2f3336;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
}

body.clean-ui.community-page-mode .ugc-feed-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 4px;
}

body.clean-ui.community-page-mode .ugc-feed-heading h2 {
  margin: 0;
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.clean-ui.community-page-mode .ugc-feed-heading span {
  color: #71767b;
  font-size: 12px;
}

body.clean-ui.community-page-mode .ugc-feed-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.clean-ui.community-page-mode .ugc-feed-tabs button {
  position: relative;
  min-height: 48px;
  border: 0;
  color: #71767b;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

body.clean-ui.community-page-mode .ugc-feed-tabs button:hover {
  color: #e7e9ea;
  background: rgba(231, 233, 234, 0.06);
}

body.clean-ui.community-page-mode .ugc-feed-tabs button.is-active {
  color: #f2f2f2;
}

body.clean-ui.community-page-mode .ugc-feed-tabs button.is-active::after {
  position: absolute;
  right: 34%;
  bottom: 0;
  left: 34%;
  height: 4px;
  border-radius: 999px;
  content: "";
  background: #d9a83e;
}

body.clean-ui.community-page-mode .community-topic-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 14px;
  border-bottom: 1px solid #2f3336;
  scrollbar-width: none;
}

body.clean-ui.community-page-mode .community-topic-strip::-webkit-scrollbar {
  display: none;
}

body.clean-ui.community-page-mode .community-topic-strip button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid #2f3336;
  border-radius: 999px;
  padding: 5px 11px;
  color: #aab0b4;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

body.clean-ui.community-page-mode .community-topic-strip button:hover,
body.clean-ui.community-page-mode .community-topic-strip button.is-active {
  border-color: rgba(217, 168, 62, 0.72);
  color: #f5d78f;
  background: rgba(217, 168, 62, 0.11);
}

body.clean-ui.community-page-mode .community-topic-strip span {
  margin-left: 3px;
  color: #71767b;
  font-variant-numeric: tabular-nums;
}

body.clean-ui.community-page-mode .inspiration-composer,
body.clean-ui.community-page-mode .inspiration-post {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #2f3336;
  border-radius: 0;
  padding: 14px 16px;
  color: #e7e9ea;
  background: #000;
  box-shadow: none;
}

body.clean-ui.community-page-mode .inspiration-post {
  cursor: default;
  transform: none;
  transition: background 140ms ease;
}

body.clean-ui.community-page-mode .inspiration-post:hover {
  border-color: #2f3336;
  background: rgba(231, 233, 234, 0.025);
  transform: none;
}

body.clean-ui.community-page-mode .composer-avatar,
body.clean-ui.community-page-mode .post-avatar,
body.clean-ui.community-page-mode .post-avatar img {
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
}

body.clean-ui.community-page-mode .composer-avatar,
body.clean-ui.community-page-mode .post-avatar {
  overflow: hidden;
  background: #1f2326;
}

body.clean-ui.community-page-mode .composer-fields {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.clean-ui.community-page-mode .inspiration-composer textarea {
  min-height: 64px;
  resize: vertical;
  border: 0;
  border-radius: 0;
  padding: 7px 0 12px;
  color: #e7e9ea;
  background: transparent;
  font-size: 19px;
  line-height: 1.45;
  outline: none;
}

body.clean-ui.community-page-mode .inspiration-composer textarea::placeholder {
  color: #71767b;
}

body.clean-ui.community-page-mode .inspiration-composer textarea:focus {
  box-shadow: inset 0 -1px #2f3336;
}

body.clean-ui.community-page-mode .inspiration-composer .composer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid #202327;
}

body.clean-ui.community-page-mode .composer-category {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #71767b;
  font-size: 11px;
}

body.clean-ui.community-page-mode .composer-category select,
body.clean-ui.community-page-mode .inspiration-composer input[name="mediaUrl"],
body.clean-ui.community-page-mode .ugc-upload-control {
  width: auto;
  min-height: 34px;
  box-sizing: border-box;
  border: 1px solid #2f3336;
  border-radius: 999px;
  padding: 6px 10px;
  color: #d6d9db;
  background: #0a0b0c;
  font-size: 12px;
}

body.clean-ui.community-page-mode .composer-category select {
  padding-right: 24px;
}

body.clean-ui.community-page-mode .inspiration-composer input[name="mediaUrl"] {
  flex: 1 1 170px;
  min-width: 120px;
}

body.clean-ui.community-page-mode .ugc-upload-control {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

body.clean-ui.community-page-mode .ugc-upload-control .community-action-icon {
  color: #d9a83e;
}

body.clean-ui.community-page-mode .inspiration-composer .hero-btn {
  width: auto;
  min-width: 92px;
  min-height: 36px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 15px;
  color: #18130a;
  background: #e0b24d;
  font-weight: 900;
}

body.clean-ui.community-page-mode .inspiration-composer [data-community-post-message] {
  margin: 0;
  color: #71767b;
  font-size: 11px;
}

body.clean-ui.community-page-mode .inspiration-composer.is-locked {
  min-height: 136px;
  align-items: start;
}

body.clean-ui.community-page-mode .inspiration-composer.is-locked .composer-fields > strong {
  color: #e7e9ea;
  font-size: 19px;
}

body.clean-ui.community-page-mode .inspiration-composer.is-locked .composer-fields > p {
  color: #71767b;
  line-height: 1.55;
}

body.clean-ui.community-page-mode .post-main {
  min-width: 0;
}

body.clean-ui.community-page-mode .post-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
}

body.clean-ui.community-page-mode .post-author-line {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #71767b;
  font-size: 13px;
}

body.clean-ui.community-page-mode .post-author-line strong {
  overflow: hidden;
  max-width: 190px;
  color: #e7e9ea;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui.community-page-mode .post-author-line span,
body.clean-ui.community-page-mode .post-author-line small {
  color: #71767b;
}

body.clean-ui.community-page-mode .post-head em {
  order: 2;
  border: 0;
  padding: 0 3px;
  color: #d9a83e;
  font-size: 11px;
  font-style: normal;
}

body.clean-ui.community-page-mode .post-open-surface {
  cursor: pointer;
  outline: none;
}

body.clean-ui.community-page-mode .post-open-surface:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(217, 168, 62, 0.55);
}

body.clean-ui.community-page-mode .inspiration-post h3 {
  margin: 3px 0 5px;
  color: #f3f4f5;
  font-size: 16px;
  line-height: 1.35;
}

body.clean-ui.community-page-mode .inspiration-post p {
  display: block;
  margin: 0;
  overflow: visible;
  color: #d9dcde;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  -webkit-line-clamp: unset;
}

body.clean-ui.community-page-mode .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

body.clean-ui.community-page-mode .post-tags span,
body.clean-ui.community-page-mode .post-tags button {
  border: 0;
  padding: 0;
  color: #d9a83e;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

body.clean-ui.community-page-mode .post-media {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #2f3336;
  border-radius: 16px;
  background: #0a0b0c;
}

body.clean-ui.community-page-mode .post-media img,
body.clean-ui.community-page-mode .post-media video {
  width: 100%;
  max-height: 620px;
  display: block;
  object-fit: contain;
  background: #000;
}

body.clean-ui.community-page-mode .post-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  margin-top: 10px;
  padding: 0;
  border: 0;
}

body.clean-ui.community-page-mode .post-actions button {
  min-width: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  padding: 4px 6px;
  color: #71767b;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

body.clean-ui.community-page-mode .post-actions button:hover,
body.clean-ui.community-page-mode .post-actions button:focus-visible,
body.clean-ui.community-page-mode .post-actions button.is-active {
  color: #e1b34e;
  background: rgba(217, 168, 62, 0.1);
  outline: none;
}

body.clean-ui.community-page-mode .post-actions button:disabled,
body.clean-ui.community-page-mode .community-subscribe-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

body.clean-ui.community-page-mode .community-action-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.clean-ui.community-page-mode .post-actions .is-zero {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

body.clean-ui.community-page-mode .community-subscribe-btn {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 32px;
  border: 1px solid #eff3f4;
  border-radius: 999px;
  padding: 5px 12px;
  color: #0f1419;
  background: #eff3f4;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

body.clean-ui.community-page-mode .community-subscribe-btn.is-active {
  border-color: #536471;
  color: #e7e9ea;
  background: transparent;
}

body.clean-ui.community-page-mode .community-subscribe-btn.is-compact {
  min-width: 66px;
  min-height: 30px;
  padding: 4px 10px;
}

body.clean-ui.community-page-mode .community-self-label {
  color: #71767b;
  font-size: 12px;
}

body.clean-ui.community-page-mode .community-empty-feed {
  min-height: 220px;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 8px;
  padding: 28px 56px;
  border-bottom: 1px solid #2f3336;
  text-align: left;
}

body.clean-ui.community-page-mode .community-empty-feed strong {
  color: #e7e9ea;
  font-size: 23px;
}

body.clean-ui.community-page-mode .community-empty-feed span {
  max-width: 420px;
  color: #71767b;
  line-height: 1.55;
}

body.clean-ui.community-page-mode .community-empty-feed button,
body.clean-ui.community-page-mode .community-login-reply {
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  color: #18130a;
  background: #e0b24d;
  cursor: pointer;
  font-weight: 800;
}

body.clean-ui.community-page-mode .ugc-community-aside {
  position: sticky;
  top: 12px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 10px 14px 28px;
  border: 0;
  background: #000;
}

body.clean-ui.community-page-mode .ugc-community-search {
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 12px;
  color: #71767b;
  background: #202327;
}

body.clean-ui.community-page-mode .ugc-community-search:focus-within {
  border-color: #d9a83e;
  background: #000;
}

body.clean-ui.community-page-mode .ugc-community-search input {
  min-width: 0;
  min-height: 40px;
  border: 0;
  padding: 0;
  color: #e7e9ea;
  background: transparent;
  outline: none;
}

body.clean-ui.community-page-mode .ugc-community-search button {
  border: 0;
  padding: 4px;
  color: #d9a83e;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

body.clean-ui.community-page-mode .ugc-community-card {
  display: grid;
  gap: 9px;
  overflow: hidden;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 14px;
  color: #e7e9ea;
  background: #000;
}

body.clean-ui.community-page-mode .ugc-community-card h3 {
  margin: 0;
  color: #e7e9ea;
  font-size: 19px;
}

body.clean-ui.community-page-mode .ugc-community-card p {
  margin: 0;
  color: #8b949a;
  font-size: 13px;
  line-height: 1.5;
}

body.clean-ui.community-page-mode .community-card-kicker {
  color: #d9a83e !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: 0.15em;
}

body.clean-ui.community-page-mode .community-purpose-card {
  background: linear-gradient(145deg, rgba(217, 168, 62, 0.12), transparent 62%), #000;
}

body.clean-ui.community-page-mode .ugc-community-card > a,
body.clean-ui.community-page-mode .ugc-community-card > button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  color: #0f1419;
  background: #eff3f4;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

body.clean-ui.community-page-mode .community-trend-card {
  gap: 0;
  padding: 0;
}

body.clean-ui.community-page-mode .community-trend-card h3,
body.clean-ui.community-page-mode .community-follow-card h3,
body.clean-ui.community-page-mode .community-featured-creator h3 {
  padding: 13px 14px 8px;
}

body.clean-ui.community-page-mode .community-trend-card > button {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 2px;
  border: 0;
  border-radius: 0;
  padding: 10px 14px;
  color: #e7e9ea;
  background: transparent;
  text-align: left;
}

body.clean-ui.community-page-mode .community-trend-card > button:hover,
body.clean-ui.community-page-mode .community-creator-row:hover {
  background: rgba(231, 233, 234, 0.055);
}

body.clean-ui.community-page-mode .community-trend-card small,
body.clean-ui.community-page-mode .community-trend-card span {
  color: #71767b;
  font-size: 11px;
}

body.clean-ui.community-page-mode .community-trend-card strong {
  color: #e7e9ea;
  font-size: 14px;
}

body.clean-ui.community-page-mode .community-follow-card,
body.clean-ui.community-page-mode .community-featured-creator {
  gap: 0;
  padding: 0 0 8px;
}

body.clean-ui.community-page-mode .community-creator-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
}

body.clean-ui.community-page-mode .community-creator-row > img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #202327;
}

body.clean-ui.community-page-mode .community-creator-row > div {
  min-width: 0;
  display: grid;
}

body.clean-ui.community-page-mode .community-creator-row strong {
  overflow: hidden;
  color: #e7e9ea;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui.community-page-mode .community-creator-row span,
body.clean-ui.community-page-mode .community-creator-row small {
  overflow: hidden;
  color: #71767b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui.community-page-mode .community-pagination {
  border-top: 0;
  border-bottom: 1px solid #2f3336;
  border-radius: 0;
  background: #000;
}

body.clean-ui.community-page-mode .guest-upgrade-card {
  margin: 14px;
  border-color: #2f3336;
  border-radius: 16px;
  background: #070809;
}

body.clean-ui.community-page-mode .community-detail-header {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
  border-bottom: 1px solid #2f3336;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
}

body.clean-ui.community-page-mode .community-detail-header > a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #e7e9ea;
  text-decoration: none;
  font-size: 22px;
}

body.clean-ui.community-page-mode .community-detail-header > a:hover {
  background: #202327;
}

body.clean-ui.community-page-mode .community-detail-header > div {
  display: grid;
}

body.clean-ui.community-page-mode .community-detail-header strong {
  font-size: 18px;
}

body.clean-ui.community-page-mode .community-detail-header span {
  color: #71767b;
  font-size: 11px;
}

body.clean-ui.community-page-mode .community-detail-post {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px 8px;
}

body.clean-ui.community-page-mode .community-detail-post h1 {
  margin: 8px 0 10px;
  color: #f3f4f5;
  font-size: 22px;
  line-height: 1.3;
}

body.clean-ui.community-page-mode .community-detail-body {
  margin: 0;
  color: #e7e9ea;
  font-size: 17px;
  line-height: 1.65;
  white-space: pre-wrap;
}

body.clean-ui.community-page-mode .community-detail-media {
  margin-top: 14px;
}

body.clean-ui.community-page-mode .community-detail-time {
  display: block;
  margin-top: 12px;
  color: #71767b;
  font-size: 12px;
}

body.clean-ui.community-page-mode .community-detail-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

body.clean-ui.community-page-mode .community-detail-source-actions .hero-btn,
body.clean-ui.community-page-mode .community-detail-source-actions .asset-link {
  width: auto;
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
}

body.clean-ui.community-page-mode .community-detail-column > .community-thread-actions {
  margin: 0 16px 0 76px;
  padding: 8px 0;
  border-top: 1px solid #2f3336;
  border-bottom: 1px solid #2f3336;
}

body.clean-ui.community-page-mode .community-thread {
  display: grid;
  gap: 0;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #000;
}

body.clean-ui.community-page-mode .community-thread > h2 {
  margin: 0;
  padding: 14px 16px 8px;
  color: #e7e9ea;
  font-size: 16px;
}

body.clean-ui.community-page-mode .community-comment-form {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px 16px 14px;
  border-bottom: 1px solid #2f3336;
}

body.clean-ui.community-page-mode .community-comment-form > img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

body.clean-ui.community-page-mode .community-comment-form textarea {
  min-height: 52px;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid #2f3336;
  border-radius: 0;
  padding: 8px 0;
  color: #e7e9ea;
  background: transparent;
  outline: none;
}

body.clean-ui.community-page-mode .community-comment-form button {
  min-width: 64px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: #18130a;
  background: #e0b24d;
  font-weight: 800;
}

body.clean-ui.community-page-mode .community-comment-form p {
  grid-column: 2 / -1;
  margin: 0;
  color: #71767b;
  font-size: 11px;
}

body.clean-ui.community-page-mode .community-comment-list {
  display: grid;
}

body.clean-ui.community-page-mode .community-comment-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 16px;
  border-top: 0;
  border-bottom: 1px solid #2f3336;
}

body.clean-ui.community-page-mode .community-comment-list article > img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

body.clean-ui.community-page-mode .community-comment-list article > div {
  min-width: 0;
}

body.clean-ui.community-page-mode .community-comment-list strong {
  color: #e7e9ea;
  font-size: 14px;
}

body.clean-ui.community-page-mode .community-comment-list time {
  margin-left: 7px;
  color: #71767b;
  font-size: 11px;
}

body.clean-ui.community-page-mode .community-comment-list p {
  margin: 4px 0 0;
  color: #d9dcde;
  line-height: 1.55;
}

body.clean-ui.community-page-mode .community-no-comments {
  margin: 0;
  padding: 22px 16px;
  border-bottom: 1px solid #2f3336;
  color: #71767b;
}

body.clean-ui.community-page-mode .community-login-reply {
  justify-self: start;
  margin: 10px 16px 16px;
}

@media (max-width: 1180px) {
  body.clean-ui.community-page-mode .ugc-community-shell,
  body.clean-ui.community-page-mode .community-detail-shell {
    width: min(100%, 680px);
    grid-template-columns: minmax(0, 1fr);
  }

  body.clean-ui.community-page-mode .ugc-feed-column,
  body.clean-ui.community-page-mode .community-detail-column {
    border-right: 0;
  }

  body.clean-ui.community-page-mode .ugc-community-aside {
    display: none;
  }

  body.clean-ui.community-page-mode .topbar {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  body.clean-ui.community-page-mode .main {
    padding: 0 0 max(28px, env(safe-area-inset-bottom));
  }

  body.clean-ui.community-page-mode .topbar {
    margin: 0;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  body.clean-ui.community-page-mode .ugc-community-shell,
  body.clean-ui.community-page-mode .community-detail-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-width: 0;
    border-radius: 0;
  }

  body.clean-ui.community-page-mode .ugc-feed-heading {
    padding-inline: 13px;
  }

  body.clean-ui.community-page-mode .ugc-feed-heading span {
    display: none;
  }

  body.clean-ui.community-page-mode .inspiration-composer,
  body.clean-ui.community-page-mode .inspiration-post,
  body.clean-ui.community-page-mode .community-detail-post {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }

  body.clean-ui.community-page-mode .composer-avatar,
  body.clean-ui.community-page-mode .post-avatar,
  body.clean-ui.community-page-mode .post-avatar img {
    width: 40px;
    height: 40px;
  }

  body.clean-ui.community-page-mode .inspiration-composer textarea {
    font-size: 17px;
  }

  body.clean-ui.community-page-mode .composer-category > span,
  body.clean-ui.community-page-mode .inspiration-composer input[name="mediaUrl"] {
    display: none;
  }

  body.clean-ui.community-page-mode .inspiration-composer .hero-btn {
    min-width: 78px;
  }

  body.clean-ui.community-page-mode .post-author-line span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.clean-ui.community-page-mode .community-subscribe-btn.is-compact {
    min-width: 58px;
    padding-inline: 8px;
  }

  body.clean-ui.community-page-mode .action-label {
    display: none;
  }

  body.clean-ui.community-page-mode .community-empty-feed {
    padding: 28px 32px;
  }

  body.clean-ui.community-page-mode .community-detail-column > .community-thread-actions {
    margin-left: 61px;
    margin-right: 12px;
  }

  body.clean-ui.community-page-mode .community-detail-post h1 {
    font-size: 20px;
  }

  body.clean-ui.community-page-mode .community-detail-body {
    font-size: 16px;
  }

  body.clean-ui.community-page-mode .community-comment-form {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-inline: 12px;
  }

  body.clean-ui.community-page-mode .community-comment-form > img {
    width: 38px;
    height: 38px;
  }

  body.clean-ui.community-page-mode .community-comment-form button {
    grid-column: 2;
    justify-self: end;
  }

  body.clean-ui.community-page-mode .community-comment-form p {
    grid-column: 2;
  }
}

/* ANT-SYS-2026-0901-014 | 项目栏目只展示真实成片、提示词与配套素材 */
body.clean-ui .project-production-shell {
  width: min(1480px, calc(100vw - 56px));
  margin: 0 auto 56px;
  display: grid;
  gap: 18px;
}

body.clean-ui .project-production-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 2px;
}

body.clean-ui .project-production-header h1 {
  margin: 4px 0 0;
  font-size: clamp(28px, 3vw, 42px) !important;
}

body.clean-ui .project-production-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

body.clean-ui .project-film-section,
body.clean-ui .project-sequence-section {
  min-width: 0;
  border: 1px solid rgba(227, 177, 66, 0.28);
  border-radius: 14px;
  background: rgba(13, 12, 9, 0.92);
  padding: 16px;
}

body.clean-ui .project-film-section .project-section-title {
  margin-bottom: 12px;
}

body.clean-ui .project-section-title > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

body.clean-ui .project-section-title > div > small {
  color: var(--gold);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.clean-ui .project-film-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(76vh, 900px);
  overflow: hidden;
  border: 1px solid rgba(227, 177, 66, 0.38);
  border-radius: 16px;
  background: #050505;
}

body.clean-ui .project-film-section .project-film-stage {
  border: 0;
  border-radius: 10px;
}

body.clean-ui .project-film-stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050505;
}

body.clean-ui .project-production-library {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

body.clean-ui .project-production-library > :only-child {
  grid-column: 1 / -1;
}

body.clean-ui .project-prompt-column,
body.clean-ui .project-assets-column,
body.clean-ui .project-context-grid > article {
  min-width: 0;
  border: 1px solid rgba(227, 177, 66, 0.28);
  border-radius: 14px;
  background: rgba(13, 12, 9, 0.92);
  padding: 16px;
}

body.clean-ui .project-prompt-list,
body.clean-ui .project-script-list {
  display: grid;
  gap: 12px;
}

body.clean-ui .project-script-intro {
  margin: 0 0 14px;
  max-width: 92ch;
  color: #d5cab2;
  font-size: 15px;
  line-height: 1.8;
}

body.clean-ui .project-script-document {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

body.clean-ui .project-script-document summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

body.clean-ui .project-script-document summary::-webkit-details-marker {
  display: none;
}

body.clean-ui .project-script-document summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-weight: 800;
}

body.clean-ui .project-script-document summary small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

body.clean-ui .project-script-document summary b {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

body.clean-ui .project-script-document pre {
  max-height: 620px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  white-space: pre-wrap;
  color: #efe8d5;
  font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.clean-ui .project-asset-section + .project-asset-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.clean-ui .project-asset-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body.clean-ui .project-asset-section > header h3 {
  margin: 0;
  font-size: 17px !important;
}

body.clean-ui .project-asset-section > header span {
  color: var(--muted);
  font-size: 12px;
}

body.clean-ui .project-team-section dl {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

body.clean-ui .project-team-section dl div {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
}

body.clean-ui .project-team-section dt {
  color: var(--muted);
}

body.clean-ui .project-team-section dd {
  margin: 0;
  font-weight: 800;
}

body.clean-ui .project-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.clean-ui .project-section-title h2,
body.clean-ui .project-context-grid h2 {
  margin: 0;
  font-size: 22px !important;
}

body.clean-ui .project-section-title span {
  color: var(--muted);
  font-size: 12px;
}

body.clean-ui .project-prompt-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

body.clean-ui .project-prompt-card + .project-prompt-card {
  margin-top: 12px;
}

body.clean-ui .project-prompt-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.clean-ui .project-prompt-card h3 {
  margin: 3px 0 0;
  font-size: 16px !important;
}

body.clean-ui .project-prompt-card small {
  color: var(--gold);
}

body.clean-ui .project-prompt-card button {
  min-width: 58px;
  padding: 7px 11px;
  border: 1px solid rgba(227, 177, 66, 0.55);
  border-radius: 8px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}

body.clean-ui .project-prompt-card pre {
  max-height: 520px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  color: #efe8d5;
  font: 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.clean-ui .project-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.clean-ui .project-asset-card {
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: #080808;
}

body.clean-ui .project-asset-media {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #030303;
}

body.clean-ui .project-asset-media > :is(img, video) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

body.clean-ui .project-audio-preview {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 14px;
}

body.clean-ui .project-audio-preview audio {
  width: 100%;
}

body.clean-ui .project-asset-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  font-size: 12px;
}

body.clean-ui .project-asset-card footer span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui .project-asset-card footer b {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

body.project-asset-detail-open {
  overflow: hidden;
}

body.clean-ui .project-asset-dialog-backdrop:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: stretch;
  padding: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

body.clean-ui .project-asset-dialog {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.65fr);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #101113;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}

body.clean-ui .project-asset-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

body.clean-ui .project-asset-dialog-stage {
  min-width: 0;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: auto;
  background: #050607;
}

body.clean-ui .project-asset-dialog-stage > img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: none;
}

body.clean-ui .project-asset-dialog-stage > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.clean-ui .project-asset-dialog-audio {
  width: min(620px, 90%);
  display: grid;
  gap: 18px;
  text-align: center;
}

body.clean-ui .project-asset-dialog-audio audio {
  width: 100%;
}

body.clean-ui .project-asset-dialog-prompt {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: #17181a;
}

body.clean-ui .project-asset-dialog-prompt header small,
body.clean-ui .project-asset-prompt-heading span {
  color: var(--gold);
}

body.clean-ui .project-asset-dialog-prompt header h2 {
  margin: 5px 42px 0 0;
  font-size: clamp(20px, 2vw, 30px);
}

body.clean-ui .project-asset-prompt-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.clean-ui .project-asset-prompt-heading div {
  display: grid;
  gap: 3px;
}

body.clean-ui .project-asset-prompt-heading span {
  font-size: 11px;
}

body.clean-ui .project-asset-prompt-heading button {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  color: #16110a;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

body.clean-ui .project-asset-dialog-prompt pre {
  min-height: 0;
  flex: 1;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #0b0c0d;
  white-space: pre-wrap;
}

body.clean-ui .project-asset-dialog-prompt code {
  color: #eee8da;
  font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.clean-ui .project-context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 18px;
}

body.clean-ui .project-context-grid > :only-child {
  grid-column: 1 / -1;
}

body.clean-ui .project-context-grid p {
  margin: 12px 0 0;
  max-width: 78ch;
  color: #c9bea6;
  line-height: 1.8;
}

body.clean-ui .project-context-grid dl {
  margin: 10px 0 0;
}

body.clean-ui .project-context-grid dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.clean-ui .project-context-grid dt {
  color: var(--muted);
}

body.clean-ui .project-context-grid dd {
  margin: 0;
}

body.clean-ui .project-source-footer {
  display: flex;
  justify-content: flex-end;
}

body.clean-ui .project-unpublished-state {
  width: min(680px, calc(100vw - 40px));
  margin: 18vh auto 0;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(227, 177, 66, 0.3);
  border-radius: 16px;
  background: rgba(13, 12, 9, 0.96);
}

body.clean-ui .project-unpublished-state p {
  color: var(--muted);
}

/* ANT-SYS-2026-0902-005 | 无源片学习项目仍可在会员项目区展示完整学习入口 */
body.clean-ui .project-learning-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: stretch;
}

body.clean-ui .project-learning-cover {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 10px;
}

body.clean-ui .project-learning-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

body.clean-ui .project-learning-summary > p,
body.clean-ui .project-learning-rights > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

body.clean-ui .project-learning-metrics,
body.clean-ui .project-learning-card-breakdown,
body.clean-ui .project-learning-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.clean-ui .project-learning-card-breakdown {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.clean-ui .project-learning-metrics > div,
body.clean-ui .project-learning-card-breakdown > div,
body.clean-ui .project-learning-stages > div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(227, 177, 66, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

body.clean-ui .project-learning-metrics strong,
body.clean-ui .project-learning-card-breakdown strong {
  color: #f5d589;
  font-size: 24px;
}

body.clean-ui .project-learning-metrics span,
body.clean-ui .project-learning-card-breakdown span,
body.clean-ui .project-learning-stages span {
  color: var(--muted);
}

body.clean-ui .project-learning-stages > div {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

body.clean-ui .project-learning-stages b {
  color: var(--gold);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.clean-ui .project-learning-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.clean-ui .project-learning-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  body.clean-ui .project-production-library,
  body.clean-ui .project-context-grid,
  body.clean-ui .project-learning-overview {
    grid-template-columns: 1fr;
  }

  body.clean-ui .project-learning-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.clean-ui .project-asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.clean-ui .project-production-shell {
    width: min(100% - 24px, 1480px);
    gap: 12px;
  }

  body.clean-ui .project-production-header {
    align-items: stretch;
    flex-direction: column;
  }

  body.clean-ui .project-production-actions {
    justify-content: flex-start;
  }

  body.clean-ui .project-film-stage {
    border-radius: 10px;
  }

  body.clean-ui .project-prompt-column,
  body.clean-ui .project-assets-column,
  body.clean-ui .project-context-grid > article {
    padding: 12px;
  }

  body.clean-ui .project-film-section,
  body.clean-ui .project-sequence-section {
    padding: 12px;
  }

  body.clean-ui .project-asset-grid {
    grid-template-columns: 1fr;
  }

  body.clean-ui .project-learning-metrics,
  body.clean-ui .project-learning-card-breakdown,
  body.clean-ui .project-learning-stages {
    grid-template-columns: 1fr;
  }

  body.clean-ui .project-learning-cover {
    min-height: 210px;
  }

  body.clean-ui .project-prompt-card pre {
    max-height: 380px;
    font-size: 13px;
  }
}

/* Prompt learning studio: tools / effect carousel / copyable prompt. */
.prompt-studio-shell {
  width: 100%;
  min-width: 0;
  color: #f5ead4;
}

.prompt-studio-header {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding: 6px 0 16px;
}

.prompt-studio-header > a {
  color: #d6a847;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.prompt-studio-header h1 {
  margin: 0 0 10px;
  color: #fff7e3;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.15;
}

.prompt-studio-layout {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(340px, 420px);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.prompt-studio-tools,
.prompt-studio-prompt {
  position: sticky;
  top: 18px;
}

.prompt-studio-tools {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(214, 168, 71, 0.28);
  border-radius: 14px;
  background: #12100c;
}

.prompt-studio-tools :where(a, button) {
  min-width: 0;
  min-height: 62px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 7px 4px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #eadcbf;
  background: transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.prompt-studio-tools :where(a, button):hover,
.prompt-studio-tools :where(a, button):focus-visible {
  border-color: rgba(214, 168, 71, 0.42);
  color: #fff7e3;
  background: rgba(214, 168, 71, 0.12);
  outline: none;
}

.prompt-studio-tools b {
  font-size: 22px;
  line-height: 1;
}

.prompt-studio-tools span {
  font-size: 11px;
  font-weight: 800;
}

.prompt-studio-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.prompt-effect-carousel,
.prompt-studio-results,
.prompt-studio-notes,
.prompt-studio-prompt {
  overflow: hidden;
  border: 1px solid rgba(214, 168, 71, 0.26);
  border-radius: 14px;
  background: #0d0c0a;
}

.prompt-effect-stage {
  position: relative;
  min-height: 0;
  height: clamp(360px, calc(100dvh - 260px), 720px);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #242019 0%, #080807 72%);
}

.prompt-effect-carousel.is-playable .prompt-effect-stage {
  background: #050505;
}

.prompt-primary-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.prompt-primary-audio {
  width: min(680px, calc(100% - 40px));
}

.prompt-carousel-slide {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 18px;
}

.prompt-carousel-slide.is-active {
  display: grid;
}

.prompt-carousel-slide img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.prompt-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.prompt-carousel-arrow.is-prev { left: 14px; }
.prompt-carousel-arrow.is-next { right: 14px; }

.prompt-carousel-status {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.prompt-carousel-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  border-top: 1px solid rgba(214, 168, 71, 0.18);
}

.prompt-carousel-thumbs button {
  flex: 0 0 64px;
  height: 54px;
  padding: 2px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #17140f;
  cursor: pointer;
}

.prompt-carousel-thumbs button.is-active {
  border-color: #e0ae43;
}

.prompt-carousel-thumbs img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px;
}

.prompt-studio-results {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.prompt-studio-results :where(video, audio) {
  width: 100%;
}

.prompt-studio-notes {
  padding: 0 16px;
}

.prompt-studio-notes details + details {
  border-top: 1px solid rgba(214, 168, 71, 0.18);
}

.prompt-studio-notes summary {
  padding: 15px 0;
  color: #fff2cf;
  font-weight: 900;
  cursor: pointer;
}

.prompt-studio-notes dl {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 2fr;
  gap: 8px;
  margin: 0 0 12px;
}

.prompt-studio-notes dl div {
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.prompt-studio-notes dt {
  margin-bottom: 5px;
  color: #d6a847;
  font-size: 12px;
  font-weight: 900;
}

.prompt-studio-notes dd,
.prompt-studio-notes p {
  margin: 0;
  color: #d8ccb3;
  font-size: 13px;
  line-height: 1.45;
}

.prompt-studio-notes details > p,
.prompt-studio-notes details > a {
  display: inline-block;
  margin: 0 12px 16px 0;
}

.prompt-studio-notes a {
  color: #e0ae43;
  font-weight: 800;
  text-decoration: none;
}

.prompt-studio-prompt {
  height: calc(100dvh - 170px);
  min-height: 600px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.prompt-studio-prompt header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(214, 168, 71, 0.22);
}

.prompt-studio-prompt h2 {
  margin: 0;
  color: #fff2cf;
  font-size: 18px;
}

.prompt-studio-prompt pre {
  min-height: 0;
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #f4e5c7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.prompt-studio-prompt code { font: inherit; }
.prompt-studio-prompt .code-key { color: #f2c96d; }
.prompt-studio-prompt .code-string { color: #9dd6a8; }
.prompt-studio-prompt .code-number { color: #8ecbff; }
.prompt-studio-prompt .code-boolean,
.prompt-studio-prompt .code-null { color: #f39f8f; }

.prompt-effect-empty {
  color: #a99d86;
}

.prompt-reference-strip {
  overflow: hidden;
  border: 1px solid rgba(214, 168, 71, 0.24);
  border-radius: 14px;
  background: #0d0c0a;
}

.prompt-reference-strip header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(214, 168, 71, 0.18);
}

.prompt-reference-strip h2 { margin: 0; font-size: 15px; }
.prompt-reference-strip header span { color: #9f947f; font-size: 12px; }
.prompt-reference-strip > div { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.prompt-reference-strip a { flex: 0 0 112px; height: 76px; }
.prompt-reference-strip img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 8px; }

.prompt-character-cards {
  overflow: hidden;
  border: 1px solid rgba(214, 168, 71, 0.28);
  border-radius: 14px;
  background: #0d0c0a;
}

.prompt-character-cards > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(214, 168, 71, 0.18);
}

.prompt-character-cards > header h2,
.prompt-character-cards > header p,
.prompt-character-card-copy h3,
.prompt-character-card-copy p {
  margin: 0;
}

.prompt-character-cards > header h2 {
  color: #fff2cf;
  font-size: 18px;
}

.prompt-character-cards > header p {
  margin-top: 4px;
  color: #a99d86;
  font-size: 12px;
}

.prompt-character-cards > header > span {
  flex: 0 0 auto;
  color: #d6a847;
  font-size: 12px;
  font-weight: 850;
}

.prompt-character-card-list {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.prompt-character-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 71, 0.18);
  border-radius: 12px;
  background: #090908;
}

.prompt-character-card-image {
  min-width: 0;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #030303;
}

.prompt-character-card-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.prompt-character-card-copy {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-left: 1px solid rgba(214, 168, 71, 0.18);
}

.prompt-character-card-copy > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(214, 168, 71, 0.14);
}

.prompt-character-card-copy h3 {
  color: #fff2cf;
  font-size: 16px;
}

.prompt-character-card-copy p {
  margin-top: 4px;
  color: #a99d86;
  font-size: 12px;
}

.prompt-character-card-copy button {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  color: #17120a;
  background: #e0ae43;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.prompt-character-card-copy pre {
  min-height: 0;
  max-height: 360px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  color: #e8dcc4;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.prompt-publisher-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #bcae92;
  font-size: 12px;
}

.prompt-publisher-line > span {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.prompt-publisher-line small {
  color: #8f856f;
  font-size: 10px;
  font-weight: 700;
}

.prompt-publisher-line strong {
  overflow: hidden;
  color: #f4e7cb;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-publisher-line em {
  margin-left: auto;
  color: #9f947f;
  font-size: 11px;
  font-style: normal;
}

.prompt-publisher-line img,
.prompt-avatar img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.prompt-publisher-line.is-detail {
  gap: 9px;
}

.prompt-publisher-line.is-detail img {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(214, 168, 71, 0.46);
}

.prompt-publisher-line.is-detail small,
.prompt-publisher-line.is-detail strong {
  font-size: 12px;
}

.prompt-studio-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.prompt-avatar { overflow: hidden; }
.prompt-avatar img { width: 100%; height: 100%; display: block; }

.prompt-remix-section {
  margin: 28px 0 10px 114px;
  padding: 18px;
  border: 1px solid rgba(214, 168, 71, 0.26);
  border-radius: 14px;
  background: #0d0c0a;
}

.prompt-remix-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.prompt-remix-head h2 { margin: 0 0 4px; font-size: 20px; }
.prompt-remix-head p { margin: 0; color: #a99d86; font-size: 13px; }
.prompt-remix-sort { display: flex; gap: 6px; }
.prompt-remix-sort button {
  padding: 7px 12px;
  border: 1px solid rgba(214, 168, 71, 0.28);
  border-radius: 999px;
  color: #c9bfa9;
  background: transparent;
  cursor: pointer;
}
.prompt-remix-sort button.is-active { color: #151109; background: #e0ae43; }

.prompt-remix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.prompt-remix-card {
  overflow: hidden;
  border: 1px solid rgba(214, 168, 71, 0.2);
  border-radius: 12px;
  background: #15130f;
}
.prompt-remix-media { aspect-ratio: 16 / 10; background: #050505; }
.prompt-remix-media :where(img, video) { width: 100%; height: 100%; display: block; object-fit: contain; }
.prompt-remix-body { padding: 10px; }
.prompt-remix-body > div { display: flex; align-items: center; gap: 7px; color: #c6b99e; font-size: 12px; }
.prompt-remix-body > div img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.prompt-remix-body h3 { margin: 8px 0 4px; font-size: 15px; }
.prompt-remix-body p { margin: 0; color: #a99d86; font-size: 12px; line-height: 1.45; }
.prompt-remix-empty { grid-column: 1 / -1; padding: 28px; text-align: center; color: #9f947f; }

.prompt-remix-publish { margin-top: 16px; border-top: 1px solid rgba(214, 168, 71, 0.18); }
.prompt-remix-publish > summary { padding: 15px 0 0; color: #e7c36e; font-weight: 800; cursor: pointer; }
.prompt-remix-publish form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 14px; }
.prompt-remix-publish label { display: grid; gap: 6px; color: #c9bfa9; font-size: 12px; }
.prompt-remix-publish :where(input, textarea) { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid rgba(214, 168, 71, 0.26); border-radius: 8px; color: #f5ead4; background: #12100d; font: inherit; }
.prompt-remix-prompt-field { grid-column: 1 / -1; }
.prompt-remix-publish button { justify-self: start; }
.prompt-remix-publish [data-prompt-remix-message] { align-self: center; margin: 0; color: #e7c36e; font-size: 13px; }

.inspiration-composer .composer-avatar,
.inspiration-post .post-avatar img {
  display: block;
  object-fit: cover;
}

.inspiration-composer .composer-row {
  grid-template-columns: minmax(110px, 0.7fr) 110px minmax(180px, 1fr) minmax(180px, 1fr) auto;
  align-items: center;
}

.inspiration-composer .composer-row strong {
  overflow: hidden;
  color: #f1dfb9;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspiration-composer [data-community-post-message] {
  margin: 0;
  color: #aa9d83;
  font-size: 12px;
}

.inspiration-post .post-avatar {
  overflow: hidden;
}

.inspiration-post .post-avatar img {
  width: 100%;
  height: 100%;
}

@media (max-width: 1280px) {
  .prompt-studio-layout {
    grid-template-columns: 78px minmax(0, 1fr) minmax(310px, 36vw);
    gap: 12px;
  }

  .prompt-studio-header {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .prompt-effect-stage {
    min-height: 0;
  }

  .inspiration-composer .composer-row {
    grid-template-columns: minmax(110px, 0.7fr) 110px minmax(180px, 1fr) auto;
  }

  .inspiration-composer .composer-row input[name="mediaUrl"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .prompt-studio-layout {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .prompt-studio-prompt {
    grid-column: 2;
    position: static;
    height: min(70vh, 720px);
    min-height: 480px;
  }

  .prompt-studio-notes dl {
    grid-template-columns: 1fr;
  }

  .prompt-character-card {
    grid-template-columns: 1fr;
  }

  .prompt-character-card-copy {
    border-top: 1px solid rgba(214, 168, 71, 0.18);
    border-left: 0;
  }

  .prompt-remix-section { margin-left: 84px; }
  .prompt-remix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prompt-remix-publish form { grid-template-columns: 1fr; }
  .prompt-remix-prompt-field { grid-column: 1; }
}

@media (max-width: 680px) {
  .prompt-studio-header {
    grid-template-columns: 1fr;
  }

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

  .prompt-studio-tools {
    position: sticky;
    top: 0;
    z-index: 8;
    grid-template-columns: repeat(6, minmax(48px, 1fr));
    overflow-x: auto;
  }

  .prompt-studio-tools :where(a, button) {
    min-height: 52px;
  }

  .prompt-studio-tools span {
    font-size: 10px;
  }

  .prompt-effect-stage {
    min-height: 0;
    height: clamp(300px, calc(100dvh - 240px), 560px);
  }

  .prompt-carousel-slide {
    padding: 8px;
  }

  .prompt-studio-prompt {
    grid-column: 1;
    height: 68vh;
    min-height: 440px;
  }

  .prompt-remix-section { margin-left: 0; padding: 14px; }
  .prompt-remix-head { align-items: start; flex-direction: column; }
  .prompt-remix-grid { grid-template-columns: 1fr; }

  .inspiration-composer .composer-row {
    grid-template-columns: 1fr;
  }

  .inspiration-composer .composer-row input[name="mediaUrl"] {
    grid-column: 1;
  }
}

html {
  scroll-behavior: smooth;
}

body.clean-ui {
  font-family: "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.clean-ui :where(h1, h2, h3, h4, h5, h6) {
  font-weight: 650 !important;
  letter-spacing: -0.018em;
  line-height: 1.16;
}

body.clean-ui :where(strong, b) {
  font-weight: 650;
}

body.clean-ui .eyebrow {
  font-size: 11px;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
}

body.clean-ui :where(
  .primary-btn,
  .asset-link,
  .hero-btn,
  .copy-btn,
  .auth-btn,
  .nav-item,
  .category-chip,
  .top-finance-pill,
  .top-avatar-button,
  .settings-menu button,
  .payment-provider-actions button,
  .canvas-action-row button,
  .canvas-action-row a,
  .ant-help-center-header-button,
  .ant-help-center-canvas-button
) {
  min-height: var(--site-control-height);
  border-radius: var(--site-radius);
  padding: 7px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 1.2;
  letter-spacing: 0;
  box-shadow: none;
}

body.clean-ui .nav-item {
  font-size: 14px;
}

body.clean-ui :where(.primary-btn, .asset-link, .hero-btn, .copy-btn, .category-chip) {
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

body.clean-ui :where(.primary-btn, .asset-link, .hero-btn, .copy-btn, .category-chip):hover {
  transform: translateY(-1px);
}

body.clean-ui :where(.panel, .home-section, .fusion-section, .settings-panel, .admin-board, .workflow-gateway-section) {
  border-radius: var(--site-radius-lg);
  box-shadow: var(--site-soft-shadow);
}

/* 泛用“说明”气泡是建设期残留；正式反馈改用 production-status-note。 */
body.clean-ui .inline-info {
  display: none !important;
}

body.clean-ui .production-status-note {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(214, 168, 71, 0.2);
  border-radius: var(--site-radius);
  padding: 9px 11px;
  color: var(--muted);
  background: rgba(214, 168, 71, 0.06);
  font-size: 12px;
}

body.clean-ui .production-status-note strong {
  flex: 0 0 auto;
  color: var(--accent);
}

/* ANT-SYS-2026-0830-002 | 首页案例：画面只展示作品，标题与说明独立排在下方。 */
body.clean-ui .home-section[data-home-section="cases"] .home-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.clean-ui .case-portal-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: #15130f;
}

body.clean-ui .case-portal-card .portal-media {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 9;
  background: #211d15;
}

body.clean-ui .case-portal-card .portal-media::after {
  display: none;
}

body.clean-ui .case-portal-card .portal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.clean-ui .case-portal-card .portal-body {
  position: static;
  inset: auto;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 124px;
  padding: 13px 14px 14px;
  background: none;
}

body.clean-ui .case-portal-card .case-card-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.clean-ui .case-portal-card .case-card-heading > span {
  flex: 0 0 auto;
  border: 1px solid rgba(214, 168, 71, 0.34);
  border-radius: 999px;
  padding: 3px 7px;
  color: #f0c25a;
  background: rgba(214, 168, 71, 0.08);
  font-size: 10px;
  line-height: 1;
}

body.clean-ui .case-portal-card .portal-body h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #fff7e5;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui .case-portal-card .portal-body p {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0;
  overflow: hidden;
  color: #ada590;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.clean-ui .case-portal-card .portal-meta {
  display: flex;
  max-height: none;
  margin-top: 1px;
  overflow: hidden;
}

body.clean-ui .case-portal-card .portal-meta span {
  max-width: min(50%, 160px);
}

@media (max-width: 1280px) {
  body.clean-ui .home-section[data-home-section="cases"] .home-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.clean-ui .home-section[data-home-section="cases"] .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.clean-ui .home-section[data-home-section="cases"] .home-card-grid {
    grid-template-columns: 1fr;
  }

  body.clean-ui .case-portal-card .portal-body {
    min-height: 116px;
  }
}

/* AI 客服是固定悬浮层，根容器不得占据文档流并制造全站假滚动。 */
body.clean-ui #aill-support-root {
  position: fixed;
  inset: 0;
  z-index: 220;
  width: 0;
  height: 0;
  pointer-events: none;
}

body.clean-ui #aill-support-root .aill-support > * {
  pointer-events: auto;
}

body.clean-ui #aill-support-root .aill-support {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 220;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

body.clean-ui #aill-support-root .aill-support-launch {
  position: relative;
  display: grid;
  width: 50px;
  min-width: 50px;
  height: 50px;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(226, 180, 74, 0.78);
  border-radius: 50%;
  padding: 3px;
  color: #fff8e5;
  background: linear-gradient(145deg, rgba(54, 39, 15, 0.98), rgba(12, 16, 24, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  cursor: pointer;
}

body.clean-ui #aill-support-root .aill-support-launch::after {
  position: absolute;
  right: 58px;
  top: 50%;
  z-index: 2;
  width: max-content;
  border: 1px solid rgba(226, 180, 74, 0.62);
  border-radius: 8px;
  padding: 6px 9px;
  color: #fff4d4;
  background: rgba(14, 16, 20, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  content: attr(data-aill-tooltip);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(5px, -50%);
  transition: opacity 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

body.clean-ui #aill-support-root .aill-support-launch:hover::after,
body.clean-ui #aill-support-root .aill-support-launch:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

body.clean-ui.login-index-mode #aill-support-root .aill-support-launch::after {
  right: auto;
  left: 58px;
  transform: translate(-5px, -50%);
}

body.clean-ui.login-index-mode #aill-support-root .aill-support-launch:hover::after,
body.clean-ui.login-index-mode #aill-support-root .aill-support-launch:focus-visible::after {
  transform: translate(0, -50%);
}

body.clean-ui #aill-support-root .aill-support-launch .aill-pet-sprite {
  width: 42px;
}

@media (hover: none) {
  body.clean-ui #aill-support-root .aill-support-launch::after {
    display: none;
  }
}

body.clean-ui #aill-support-root .aill-support-launch > span:not(.aill-pet-sprite),
body.clean-ui #aill-support-root .aill-support-launch > b {
  display: none;
}

body.clean-ui #aill-support-root .aill-support-panel {
  box-sizing: border-box;
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 100px));
  overflow: hidden;
  border: 1px solid rgba(226, 180, 74, 0.48);
  border-radius: 16px;
  color: #fff8e5;
  background: linear-gradient(155deg, rgba(19, 25, 35, 0.99), rgba(20, 15, 9, 0.99));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.56);
}

body.clean-ui #aill-support-root .aill-support-panel > header,
body.clean-ui #aill-support-root .aill-support-identity,
body.clean-ui #aill-support-root .aill-support-footer {
  display: flex;
  align-items: center;
}

body.clean-ui #aill-support-root .aill-support-panel > header {
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(226, 180, 74, 0.18);
  padding: 12px 14px 10px;
}

body.clean-ui #aill-support-root .aill-support-identity {
  gap: 9px;
}

body.clean-ui #aill-support-root .aill-support-identity .aill-pet-sprite {
  width: 46px;
}

body.clean-ui #aill-support-root .aill-support-identity div,
body.clean-ui #aill-support-root .aill-support-messages,
body.clean-ui #aill-support-root .aill-message {
  display: grid;
}

body.clean-ui #aill-support-root .aill-support-identity div {
  gap: 2px;
}

body.clean-ui #aill-support-root .aill-support-identity span,
body.clean-ui #aill-support-root .aill-support-footer span {
  color: #cdbf9f;
  font-size: 12px;
}

body.clean-ui #aill-support-root .aill-support-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.clean-ui #aill-support-root .aill-support-header-actions button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff7df;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

body.clean-ui #aill-support-root .aill-support-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 13px 0;
}

body.clean-ui #aill-support-root .aill-support-status span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(85, 174, 126, 0.3);
  border-radius: 999px;
  padding: 4px 7px;
  color: #bce7ce;
  background: rgba(28, 92, 57, 0.24);
  font-size: 10px;
}

body.clean-ui #aill-support-root .aill-support-status span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4bd18a;
  content: "";
}

body.clean-ui #aill-support-root .aill-support-status span.is-fallback {
  color: #f1d99e;
  border-color: rgba(226, 180, 74, 0.34);
  background: rgba(82, 58, 18, 0.24);
}

body.clean-ui #aill-support-root .aill-support-status span.is-fallback::before {
  background: #e2b44a;
}

body.clean-ui #aill-support-root .aill-support-messages {
  gap: 9px;
  min-height: 150px;
  max-height: 280px;
  overflow: auto;
  padding: 13px;
}

body.clean-ui #aill-support-root .aill-message {
  gap: 4px;
  justify-items: start;
}

body.clean-ui #aill-support-root .aill-message > span {
  color: #bba97f;
  font-size: 11px;
}

body.clean-ui #aill-support-root .aill-message p {
  max-width: 92%;
  margin: 0;
  border: 1px solid rgba(123, 166, 205, 0.3);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 10px;
  color: #e8f5ff;
  background: #102338;
  font-size: 13px;
  line-height: 1.5;
}

body.clean-ui #aill-support-root .aill-message.is-user {
  justify-items: end;
}

body.clean-ui #aill-support-root .aill-support-quick,
body.clean-ui #aill-support-root .aill-message-actions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

body.clean-ui #aill-support-root .aill-support-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 13px 9px;
}

body.clean-ui #aill-support-root .aill-support-quick button {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui #aill-support-root .aill-message-knowledge,
body.clean-ui #aill-support-root .aill-message-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

body.clean-ui #aill-support-root .aill-message-knowledge span {
  border-radius: 999px;
  padding: 3px 7px;
  color: #a9cee9;
  background: rgba(40, 82, 116, 0.32);
  font-size: 10px;
}

body.clean-ui #aill-support-root .aill-message-tools button {
  border: 0;
  padding: 2px 0;
  color: #bba97f;
  background: transparent;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

body.clean-ui #aill-support-root :is(.aill-message-actions, .aill-support-quick, .aill-support-footer) button {
  flex: 0 0 auto;
  border: 1px solid rgba(226, 180, 74, 0.36);
  border-radius: 999px;
  padding: 6px 9px;
  color: #ffe5a4;
  background: rgba(72, 49, 17, 0.5);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

body.clean-ui #aill-support-root .aill-support-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 0 13px 9px;
}

body.clean-ui #aill-support-root .aill-support-compose textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  max-height: 100px;
  resize: vertical;
  border: 1px solid rgba(94, 143, 188, 0.48);
  border-radius: 10px;
  padding: 8px 9px;
  color: #eef8ff;
  background: #071522;
  font: inherit;
}

body.clean-ui #aill-support-root .aill-support-compose > button {
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  color: #1b160b;
  background: linear-gradient(135deg, #f8d783, #daa33a);
  font-weight: 650;
  cursor: pointer;
}

body.clean-ui #aill-support-root .aill-support-footer {
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px 12px;
}

/* 首页大图：从整屏展示改为可一眼浏览的电影横幅。 */
body.clean-ui .banner-slide,
body.clean-ui .banner-slide .banner-panorama,
body.clean-ui .banner-slide .portal-placeholder {
  height: clamp(286px, 31vw, 372px) !important;
  min-height: 286px !important;
}

body.clean-ui .banner-slide .banner-panorama {
  object-fit: cover;
  transform: none;
}

body.clean-ui .banner-copy {
  top: 22px;
  left: 24px;
  width: min(360px, 34%);
  padding: 12px 14px;
}

body.clean-ui .banner-copy h2 {
  font-size: clamp(24px, 2.2vw, 34px);
}

body.clean-ui .banner-book-intro {
  display: none !important;
}

/* 各栏目首屏统一成紧凑横幅，避免一张图占满浏览器。 */
body.clean-ui .fusion-portal-hero {
  min-height: 320px !important;
  max-height: 430px;
  aspect-ratio: 21 / 7;
}

body.clean-ui .fusion-hero-copy {
  width: min(680px, 68%);
  padding: clamp(24px, 3vw, 42px);
}

body.clean-ui .fusion-hero-copy h2,
body.clean-ui .fusion-hero h2 {
  font-size: clamp(30px, 3.2vw, 46px) !important;
}

body.clean-ui .fusion-hero-copy p,
body.clean-ui .fusion-hero p {
  font-size: 15px;
  line-height: 1.65;
}

body.clean-ui .fusion-hero.compact {
  min-height: 150px;
  max-height: 220px;
  padding: 20px 22px;
}

body.clean-ui .fusion-hero.compact > img {
  max-height: 220px;
  object-fit: cover;
}

body.clean-ui .community-hero {
  min-height: 190px;
  grid-template-columns: minmax(280px, 1fr) minmax(150px, 220px);
  align-items: end;
  padding: 24px 28px;
  border-radius: var(--site-radius-lg);
}

body.clean-ui .community-hero h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08;
}

body.clean-ui .community-hero p:not(.eyebrow) {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.6;
}

body.clean-ui .community-stats strong {
  font-size: clamp(30px, 3.2vw, 44px);
}

body.clean-ui .workflow-hub-top {
  min-height: 210px;
  padding: 26px 28px;
  border-radius: var(--site-radius-lg);
}

body.clean-ui .workflow-hub-copy {
  gap: 13px;
}

body.clean-ui .workflow-hub-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

body.clean-ui .workflow-hub-stat {
  min-height: 58px;
}

body.clean-ui .workflow-hub-stat strong {
  font-size: 20px;
}

body.clean-ui .workflow-production-tracks {
  gap: 16px;
}

body.clean-ui #workbench-root,
body.clean-ui .workflow-hub-page,
body.clean-ui .workflow-hub-section,
body.clean-ui .workflow-track-grid,
body.clean-ui .workflow-track-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

body.clean-ui .workflow-track-head > div {
  display: grid;
  gap: 5px;
}

body.clean-ui .workflow-track-head > span {
  color: rgba(245, 210, 131, 0.72);
  font-size: 13px;
  font-weight: 600;
}

body.clean-ui .workflow-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.clean-ui .workflow-track-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 158px 1fr;
  min-height: 454px;
  border: 1px solid rgba(245, 210, 131, 0.17);
  border-radius: var(--site-radius-lg);
  background: linear-gradient(145deg, rgba(28, 25, 18, 0.98), rgba(8, 9, 11, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

body.clean-ui .workflow-track-card.is-antpowerx {
  background: linear-gradient(145deg, rgba(22, 27, 34, 0.98), rgba(9, 10, 12, 0.98));
}

body.clean-ui .workflow-track-card.is-local,
body.clean-ui .workflow-track-card.is-online {
  background: linear-gradient(145deg, rgba(19, 31, 31, 0.98), rgba(7, 10, 12, 0.99));
}

body.clean-ui .workflow-track-card > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 158px;
  object-fit: cover;
}

body.clean-ui .workflow-track-body {
  display: flex;
  min-width: 0;
  padding: 18px;
  flex-direction: column;
  align-items: flex-start;
}

body.clean-ui .workflow-track-level {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid rgba(245, 210, 131, 0.22);
  border-radius: 8px;
  padding: 0 10px;
  color: #f1c75f;
  background: rgba(241, 199, 95, 0.08);
  font-size: 12px;
  font-weight: 650;
}

body.clean-ui .workflow-track-body h4 {
  margin: 12px 0 7px;
  color: #fff7e5;
  font-size: clamp(21px, 1.7vw, 26px);
  font-weight: 650;
  line-height: 1.12;
}

body.clean-ui .workflow-track-body p {
  margin: 0;
  color: rgba(255, 247, 229, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

body.clean-ui .workflow-track-tags {
  display: flex;
  margin: 13px 0 16px;
  gap: 7px;
  flex-wrap: wrap;
}

body.clean-ui .workflow-track-tags span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  padding: 0 9px;
  color: rgba(255, 247, 229, 0.72);
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 600;
}

body.clean-ui .workflow-track-body .primary-btn {
  margin-top: auto;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

body.clean-ui .workflow-track-level-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.clean-ui .workflow-local-state {
  color: rgba(255, 247, 229, 0.64);
  font-size: 11px;
  font-weight: 650;
}

body.clean-ui .workflow-local-state.is-active,
body.clean-ui .workflow-local-state.is-device_ready {
  color: #68d6ad;
}

body.clean-ui .workflow-local-state.is-device_review {
  color: #f3b46b;
}

body.clean-ui .workflow-online-state {
  color: rgba(255, 247, 229, 0.64);
  font-size: 11px;
  font-weight: 650;
}

body.clean-ui .workflow-online-state.is-connected {
  color: #68d6ad;
}

body.clean-ui .workflow-online-panel {
  display: grid;
  width: 100%;
  gap: 10px;
}

body.clean-ui .workflow-online-form {
  display: grid;
  width: 100%;
  gap: 7px;
}

body.clean-ui .workflow-online-form label {
  color: rgba(255, 247, 229, 0.84);
  font-size: 12px;
  font-weight: 650;
}

body.clean-ui .workflow-online-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

body.clean-ui .workflow-online-form input {
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 0 10px;
  color: #fff7e5;
  background: rgba(0, 0, 0, 0.24);
  font: inherit;
  font-size: 11px;
}

body.clean-ui .workflow-online-form .primary-btn {
  width: auto;
  min-width: 104px;
  margin-top: 0;
  padding: 0 12px;
}

body.clean-ui .workflow-online-form > span,
body.clean-ui .workflow-gpu-disclaimer {
  color: rgba(222, 232, 229, 0.58);
  font-size: 10px;
  line-height: 1.45;
}

body.clean-ui .workflow-gpu-providers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

body.clean-ui .workflow-gpu-providers a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(104, 214, 173, 0.2);
  border-radius: 999px;
  padding: 0 9px;
  color: #8cdbbe;
  background: rgba(104, 214, 173, 0.06);
  font-size: 10px;
  font-weight: 650;
  text-decoration: none;
}

body.clean-ui .workflow-online-verified {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid rgba(104, 214, 173, 0.18);
  border-radius: 10px;
  padding: 10px;
  background: rgba(104, 214, 173, 0.06);
}

body.clean-ui .workflow-online-verified strong {
  overflow: hidden;
  color: #d7f6ea;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui .workflow-online-verified span,
body.clean-ui .workflow-online-verified small {
  color: rgba(215, 246, 234, 0.66);
  font-size: 10px;
}

body.clean-ui .workflow-online-controls {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

body.clean-ui .workflow-local-action {
  width: 100%;
}

body.clean-ui .workflow-local-setup {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 9px;
}

body.clean-ui .workflow-local-setup summary {
  cursor: pointer;
  color: rgba(255, 247, 229, 0.78);
  font-size: 11px;
  font-weight: 650;
}

body.clean-ui .workflow-local-fallback-body {
  display: grid;
  margin-top: 9px;
  gap: 8px;
}

body.clean-ui .workflow-local-fallback-body .primary-btn {
  margin-top: 0;
}

body.clean-ui .workflow-local-meta {
  display: grid;
  margin: 12px 0 8px;
  gap: 4px;
  color: rgba(222, 232, 229, 0.58);
  font-size: 10px;
  line-height: 1.45;
}

body.clean-ui .studio-logo-stage {
  min-height: 300px;
  max-height: 360px;
  grid-template-columns: minmax(100px, 145px) minmax(0, 1fr);
  gap: 26px;
  padding: 28px 34px;
}

body.clean-ui .studio-logo-orbit {
  width: min(18vw, 132px);
}

body.clean-ui .studio-logo-copy strong {
  margin-top: 7px;
  font-size: clamp(34px, 4vw, 52px);
}

body.clean-ui .studio-logo-copy p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.55;
}

body.clean-ui .studio-logo-copy small {
  margin-top: 12px;
  padding: 5px 10px;
  font-weight: 600;
}

body.clean-ui .membership-commerce-hero,
body.clean-ui .membership-pricing-shell .membership-commerce-hero {
  min-height: 250px !important;
  max-height: 310px;
  padding: 28px;
}

body.clean-ui .membership-commerce-hero h2,
body.clean-ui .membership-pricing-shell .membership-commerce-hero h2 {
  font-size: clamp(30px, 3.5vw, 44px) !important;
}

body.clean-ui .credits-hero {
  min-height: 210px;
  max-height: 290px;
  padding: 24px 26px;
}

body.clean-ui .credits-hero h2 {
  font-size: clamp(28px, 3vw, 40px);
}

/* 个人中心：移除重复横幅和技术身份框架，只保留账号与制作入口。 */
body.clean-ui .account-profile-panel.account-profile-compact {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  margin-top: 0;
  border-radius: var(--site-radius-lg);
  padding: 13px 16px;
  background:
    radial-gradient(circle at 8% 0%, rgba(224, 185, 93, 0.12), transparent 28%),
    rgba(13, 11, 7, 0.94);
}

body.clean-ui .account-profile-compact .account-profile-avatar {
  width: 60px;
  height: 60px;
  margin: 0;
  border-width: 2px;
  font-size: 18px;
  font-weight: 650;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

body.clean-ui .account-profile-compact .account-profile-copy {
  gap: 4px;
  padding: 0;
}

body.clean-ui .account-profile-compact .account-profile-copy h3 {
  font-size: 21px;
}

body.clean-ui .account-profile-compact .account-profile-actions {
  align-items: center;
  gap: 7px;
  padding: 0;
}

body.clean-ui .account-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

body.clean-ui .personal-canvas-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(260px, 360px));
  justify-content: start;
}

body.clean-ui .personal-canvas-grid.compact .personal-canvas-cover img,
body.clean-ui .personal-canvas-grid.compact .personal-canvas-cover video {
  max-height: 203px;
}

body.clean-ui .personal-canvas-grid.compact .team-canvas-card .personal-canvas-cover :is(img, video) {
  height: 176px;
  max-height: 176px;
  aspect-ratio: auto;
}

body.clean-ui .personal-canvas-grid.compact .team-canvas-card .personal-canvas-body {
  gap: 8px;
  padding: 12px;
}

body.clean-ui .personal-canvas-grid.compact .team-canvas-card .personal-canvas-body h3 {
  font-size: 20px;
}

body.clean-ui .personal-canvas-grid.compact .team-canvas-card .canvas-meta-row {
  gap: 6px;
}

body.clean-ui .personal-canvas-grid.compact .team-canvas-card .canvas-action-row .primary-btn {
  width: 100%;
  justify-content: center;
}

body.clean-ui .account-command-card {
  gap: 6px;
  min-height: 0;
  padding: 12px 14px;
}

body.clean-ui .account-command-card h3 {
  font-size: 20px;
}

body.clean-ui .account-command-card > :is(.primary-btn, .asset-link) {
  align-self: end;
  margin-top: 4px;
}

body.clean-ui .resource-thumb-card {
  max-height: 270px;
  aspect-ratio: 16 / 10;
  border-radius: var(--site-radius);
}

body.clean-ui .resource-thumb-card::after {
  inset: 42% 0 0;
}

body.clean-ui .resource-thumb-card span,
body.clean-ui .resource-thumb-card strong {
  font-weight: 600;
}

/* 技能库：以政府可汇报、用户可理解、能力可验证为中心。 */
body.clean-ui .production-skill-library {
  display: grid;
  gap: 16px;
}

body.clean-ui .production-skill-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius-lg);
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(214, 168, 71, 0.1), transparent 45%), #11100d;
  color: #f6eddc;
}

body.clean-ui .production-skill-header h2 {
  margin: 5px 0 6px;
  font-size: clamp(28px, 3.2vw, 42px);
}

body.clean-ui .production-skill-header p:not(.eyebrow) {
  margin: 0;
  color: #c8b993;
}

body.clean-ui .production-skill-header > strong {
  color: #f4c75f;
  font-size: 38px;
  white-space: nowrap;
}

body.clean-ui .production-skill-header > strong span {
  display: block;
  color: #c8b993;
  font-size: 11px;
  text-align: right;
}

body.clean-ui .production-skill-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}

body.clean-ui .production-skill-filters span {
  flex: 0 0 auto;
  border: 1px solid var(--site-soft-line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(214, 168, 71, 0.05);
  font-size: 12px;
}

body.clean-ui .capability-report-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.clean-ui .capability-report-strip article {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius);
  padding: 14px 16px;
  background: #11100d;
}

body.clean-ui .capability-report-strip b {
  color: #f4c75f;
  font-size: 28px;
}

body.clean-ui .capability-report-strip span {
  color: #f6eddc;
  font-weight: 600;
}

body.clean-ui .capability-report-strip small {
  overflow: hidden;
  color: #9f947d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui .capability-library-section {
  display: grid;
  gap: 12px;
  scroll-margin-top: 90px;
}

body.clean-ui .capability-library-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 2px;
}

body.clean-ui .capability-library-section > header div {
  display: grid;
  gap: 3px;
}

body.clean-ui .capability-library-section > header span {
  color: #f4c75f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.clean-ui .capability-library-section > header h3,
body.clean-ui .capability-standard-panel h3 {
  margin: 0;
  color: #f6eddc;
  font-size: clamp(20px, 2vw, 28px);
}

body.clean-ui .capability-library-section > header p {
  margin: 0;
  color: #9f947d;
}

body.clean-ui .capability-library-section > header > b {
  flex: 0 0 auto;
  color: #f4c75f;
  font-size: 28px;
}

body.clean-ui .capability-standard-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(280px, 1.25fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius-lg);
  padding: 18px 20px;
  background: linear-gradient(120deg, rgba(214, 168, 71, 0.08), transparent 42%), #11100d;
}

body.clean-ui .capability-standard-panel p {
  margin: 0;
  color: #b7aa8d;
  line-height: 1.65;
}

body.clean-ui .capability-standard-panel nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

body.clean-ui .capability-standard-panel nav a {
  border: 1px solid var(--site-soft-line);
  border-radius: 999px;
  padding: 7px 10px;
  color: #f4c75f;
  text-decoration: none;
  white-space: nowrap;
}

body.clean-ui .production-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

body.clean-ui .production-skill-grid .skill-visual-card {
  min-height: 0;
  border-radius: var(--site-radius-lg);
  box-shadow: var(--site-soft-shadow);
}

body.clean-ui .production-skill-grid .skill-visual-card img {
  aspect-ratio: 16 / 9;
  max-height: 166px;
}

body.clean-ui .production-skill-grid .skill-visual-card > div {
  gap: 6px;
  padding: 12px 13px 14px;
}

body.clean-ui .production-skill-grid .skill-visual-card span,
body.clean-ui .production-skill-grid .skill-visual-card em {
  font-weight: 600;
}

body.clean-ui .production-skill-grid .skill-visual-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
  body.clean-ui .capability-report-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.clean-ui .capability-standard-panel {
    grid-template-columns: 1fr;
  }

  body.clean-ui .capability-standard-panel nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body.clean-ui .production-skill-header {
    align-items: start;
    padding: 18px;
  }

  body.clean-ui .production-skill-header > strong {
    font-size: 28px;
  }

  body.clean-ui .capability-report-strip {
    grid-template-columns: 1fr 1fr;
  }

  body.clean-ui .capability-library-section > header {
    align-items: start;
  }
}

body.clean-ui .production-capability-page {
  display: grid;
  gap: 16px;
}

body.clean-ui .production-capability-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

body.clean-ui .production-capability-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

body.clean-ui .production-capability-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius-lg);
  padding: 18px;
  background: #11100d;
  color: #f6eddc;
}

body.clean-ui .production-capability-hero > img {
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--site-radius);
}

body.clean-ui .production-capability-hero h2 {
  margin: 6px 0 9px;
  font-size: clamp(28px, 3vw, 42px);
}

body.clean-ui .production-capability-hero p:not(.eyebrow) {
  color: #c8b993;
  line-height: 1.65;
}

body.clean-ui .production-capability-grid,
body.clean-ui .production-capability-steps > div,
body.clean-ui .production-effect-grid,
body.clean-ui .production-capability-effects > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.clean-ui .production-capability-grid article,
body.clean-ui .production-capability-steps,
body.clean-ui .production-capability-steps article,
body.clean-ui .production-effect-gallery,
body.clean-ui .production-capability-effects {
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius-lg);
  padding: 15px;
  background: var(--panel);
}

body.clean-ui .production-capability-grid h3,
body.clean-ui .production-capability-steps h3,
body.clean-ui .production-effect-gallery h3,
body.clean-ui .production-capability-effects h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

body.clean-ui .production-capability-grid p,
body.clean-ui .production-capability-grid ul {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

body.clean-ui .production-capability-steps article {
  display: flex;
  gap: 10px;
  padding: 12px;
}

body.clean-ui .production-capability-steps article b {
  color: var(--accent);
}

body.clean-ui .production-effect-grid img {
  width: 100%;
  max-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--site-radius);
}

body.clean-ui .production-capability-effects figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius);
  background: rgba(214, 168, 71, 0.04);
}

body.clean-ui .production-capability-effects img {
  display: block;
  width: 100%;
  max-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body.clean-ui .production-capability-effects figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

body.clean-ui .production-tool-redirect {
  max-width: 760px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius-lg);
  padding: 28px;
  background: linear-gradient(135deg, rgba(214, 168, 71, 0.1), transparent 54%), var(--panel);
  box-shadow: var(--site-soft-shadow);
}

body.clean-ui .production-tool-redirect h2,
body.clean-ui .production-tool-redirect p {
  margin: 0;
}

body.clean-ui .production-tool-redirect h2 {
  font-size: clamp(28px, 3vw, 40px);
}

/* 列表分页，避免提示词/案例无上限堆叠。 */
body.clean-ui .community-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

body.clean-ui .community-pagination button {
  min-height: var(--site-control-height);
  border: 1px solid var(--site-soft-line);
  border-radius: var(--site-radius);
  padding: 7px 14px;
  color: var(--ink);
  background: var(--panel);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

body.clean-ui .community-pagination button:disabled {
  opacity: 0.38;
  cursor: default;
}

body.clean-ui .community-pagination span {
  color: var(--muted);
  font-size: 12px;
}

body.clean-ui .inspiration-feed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

body.clean-ui .inspiration-composer,
body.clean-ui .inspiration-feed > .guest-upgrade-card,
body.clean-ui .inspiration-feed > .community-pagination,
body.clean-ui .inspiration-feed > .empty {
  grid-column: 1 / -1;
}

body.clean-ui .inspiration-post {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding: 13px;
}

body.clean-ui .inspiration-post .post-avatar {
  width: 38px;
  height: 38px;
  font-weight: 600;
}

body.clean-ui .inspiration-post h3 {
  font-size: 17px;
}

body.clean-ui .inspiration-post p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.clean-ui .post-media img,
body.clean-ui .post-media video {
  width: 100%;
  height: 260px;
  max-height: 260px;
  object-fit: cover;
}

body.clean-ui .post-actions button {
  border-radius: var(--site-radius);
  font-size: 12px;
  font-weight: 600;
}

body.clean-ui .credit-guide-collapsible {
  padding: 0;
}

body.clean-ui .credit-guide-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

body.clean-ui .credit-guide-summary::-webkit-details-marker {
  display: none;
}

body.clean-ui .credit-guide-summary h3,
body.clean-ui .credit-guide-summary p {
  margin: 0;
}

body.clean-ui .credit-guide-summary h3 {
  margin: 4px 0;
  font-size: 20px;
}

body.clean-ui .credit-guide-summary p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

body.clean-ui .credit-guide-summary em {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

body.clean-ui .credit-guide-collapsible[open] .credit-guide-summary em {
  font-size: 0;
}

body.clean-ui .credit-guide-collapsible[open] .credit-guide-summary em::after {
  content: "收起指南";
  font-size: 12px;
}

body.clean-ui .credit-guide-content {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--site-soft-line);
  padding: 18px 20px 20px;
}

body.clean-ui .masonry-card img,
body.clean-ui .community-card img,
body.clean-ui .project-community-card img {
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1180px) {
  body.clean-ui .workflow-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.clean-ui .fusion-portal-hero {
    aspect-ratio: auto;
  }

  body.clean-ui .production-capability-hero {
    grid-template-columns: 1fr;
  }

  body.clean-ui .inspiration-feed {
    grid-template-columns: 1fr;
  }

  body.clean-ui .production-capability-grid,
  body.clean-ui .production-capability-steps > div,
  body.clean-ui .production-effect-grid,
  body.clean-ui .production-capability-effects > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --site-control-height: 38px;
  }

  body.clean-ui .banner-slide,
  body.clean-ui .banner-slide .banner-panorama,
  body.clean-ui .banner-slide .portal-placeholder {
    height: 240px !important;
    min-height: 240px !important;
  }

  body.clean-ui .banner-copy,
  body.clean-ui .banner-slide-zhangdao-method .banner-copy {
    top: 14px;
    left: 14px;
    width: min(72%, 310px);
  }

  body.clean-ui .banner-copy p {
    display: none;
  }

  body.clean-ui .fusion-portal-hero {
    min-height: 290px !important;
    max-height: 360px;
  }

  body.clean-ui .fusion-hero-copy {
    width: 100%;
    padding: 22px;
  }

  body.clean-ui .community-hero,
  body.clean-ui .director-picks-hero,
  body.clean-ui .workflow-hub-top {
    grid-template-columns: 1fr;
    min-height: 180px;
    padding: 20px;
  }

  body.clean-ui .studio-logo-stage {
    min-height: 260px;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }

  body.clean-ui .studio-logo-orbit {
    width: 82px;
  }

  body.clean-ui .studio-logo-copy strong {
    font-size: clamp(28px, 8vw, 38px);
  }

  body.clean-ui .community-stats,
  body.clean-ui .director-picks-avatar {
    display: none;
  }

  body.clean-ui .workflow-hub-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.clean-ui .workflow-track-grid {
    grid-template-columns: 1fr;
  }

  body.clean-ui .workflow-track-card {
    grid-template-columns: 1fr;
    grid-template-rows: 168px 1fr;
    min-height: 0;
  }

  body.clean-ui .workflow-track-card > img {
    min-height: 0;
    height: 168px;
    max-height: 168px;
  }

  body.clean-ui .workflow-track-body {
    padding: 20px;
  }

  body.clean-ui .workflow-track-body .primary-btn {
    width: 100%;
  }

  body.clean-ui .membership-commerce-hero,
  body.clean-ui .membership-pricing-shell .membership-commerce-hero,
  body.clean-ui .credits-hero {
    min-height: 220px !important;
    max-height: none;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  body.clean-ui .account-profile-main {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 0 14px 14px;
  }

  body.clean-ui .account-profile-avatar {
    width: 58px;
    height: 58px;
    margin-top: -22px;
  }

  body.clean-ui .account-profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 2px;
  }

  body.clean-ui .account-profile-panel.account-profile-compact {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 0;
    padding: 10px 12px;
  }

  body.clean-ui .account-profile-compact .account-profile-avatar {
    width: 52px;
    height: 52px;
  }

  body.clean-ui .account-profile-compact .account-profile-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    grid-column: auto;
    width: auto;
    padding: 0;
  }

  body.clean-ui .account-profile-compact .account-profile-actions > * {
    width: auto;
    min-width: 0;
    padding-inline: 8px;
    justify-content: center;
  }

  body.clean-ui .account-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.clean-ui .production-skill-header {
    align-items: flex-start;
    padding: 18px;
  }

  body.clean-ui .production-skill-header > strong {
    font-size: 30px;
  }

  body.clean-ui .production-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.clean-ui .production-skill-grid .skill-visual-card img {
    height: auto;
  }

  body.clean-ui .resource-thumb-card {
    max-height: 220px;
  }

  body.clean-ui .aill-support-launch {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 3px;
    border-radius: 50%;
  }

  body.clean-ui .aill-support-launch img {
    width: 42px;
    height: 42px;
  }

  body.clean-ui .aill-support-launch > span:not(.aill-pet-sprite),
  body.clean-ui .aill-support-launch b {
    display: none;
  }

  body.clean-ui .masonry-card img,
  body.clean-ui .community-card img,
  body.clean-ui .project-community-card img {
    max-height: 360px;
    object-fit: cover;
  }

  body.clean-ui .production-capability-grid,
  body.clean-ui .production-capability-steps > div,
  body.clean-ui .production-effect-grid,
  body.clean-ui .production-capability-effects > div {
    grid-template-columns: 1fr;
  }
}

/* ANT-SYS-2026-0902-002 | 最后加载层：锁定非首页 Banner 的紧凑尺寸 */
body.clean-ui.compact-section-banners .fusion-portal-hero {
  height: clamp(200px, 22vw, 260px) !important;
  min-height: 0 !important;
  max-height: 260px;
}

body.clean-ui.compact-section-banners .fusion-hero.compact {
  min-height: 0;
  max-height: 180px;
  padding: 16px 20px;
}

body.clean-ui.compact-section-banners .membership-commerce-hero,
body.clean-ui.compact-section-banners .membership-pricing-shell .membership-commerce-hero {
  min-height: 0 !important;
  max-height: 240px;
  padding: 18px 20px;
}

body.clean-ui.compact-section-banners .credits-hero {
  min-height: 0 !important;
  max-height: 210px;
  padding: 16px 20px;
}

@media (max-width: 720px) {
  body.clean-ui.compact-section-banners .fusion-portal-hero {
    height: 176px !important;
    min-height: 176px !important;
    max-height: 176px;
  }

  body.clean-ui.compact-section-banners .fusion-portal-hero .studio-launch-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
  }

  body.clean-ui.compact-section-banners .fusion-portal-hero .studio-launch-actions :is(a, button) {
    min-width: 0;
    min-height: 32px;
    padding: 6px 4px;
    font-size: 10px;
    white-space: nowrap;
  }

  body.clean-ui.compact-section-banners .fusion-hero.compact {
    min-height: 0;
    max-height: 150px;
    grid-template-columns: minmax(0, 1fr) 86px;
    padding: 12px 14px;
  }

  body.clean-ui.compact-section-banners .membership-commerce-hero,
  body.clean-ui.compact-section-banners .membership-pricing-shell .membership-commerce-hero,
  body.clean-ui.compact-section-banners .credits-hero {
    min-height: 0 !important;
    max-height: none;
    grid-template-columns: minmax(0, 1fr) 104px;
    padding: 12px 14px;
  }

  body.clean-ui.compact-section-banners .membership-commerce-hero > div > p:not(.eyebrow),
  body.clean-ui.compact-section-banners .membership-status-card p,
  body.clean-ui.compact-section-banners .workbench-hero > div:first-child > p:last-child,
  body.clean-ui.compact-section-banners .workbench-note span,
  body.clean-ui.compact-section-banners .legal-hero > div:first-child > p:last-child {
    display: none;
  }

  body.clean-ui.compact-section-banners .legal-hero {
    grid-template-columns: minmax(0, 1fr) 76px;
    min-height: 0;
    max-height: 150px;
  }

  body.clean-ui.compact-section-banners .workbench-hero {
    grid-template-columns: minmax(0, 1fr) 104px;
    min-height: 0;
    padding: 12px 14px;
  }
}

/* ANT-SYS-2026-0831-001: compact, film-first learning pages with an inline asset browser */
body.clean-ui #view-root h1 {
  font-size: clamp(28px, 3.2vw, 46px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}

body.clean-ui #view-root h2 {
  font-size: clamp(20px, 2.1vw, 30px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

.case-reading-shell {
  width: min(1640px, 100%);
  gap: 14px;
}

.case-reading-shell .reading-breadcrumb {
  padding-block: 2px;
  font-size: 12px;
}

.case-film-stage {
  border-radius: 10px;
  box-shadow: none;
}

.case-project-title {
  gap: 8px;
  padding: 8px 2px 14px;
  border-bottom: 1px solid var(--line);
}

.case-project-title h1 {
  max-width: 1120px;
  font-size: clamp(27px, 3vw, 42px) !important;
}

.case-project-title > p:not(.eyebrow) {
  max-width: 1080px;
  font-size: 15px;
  line-height: 1.62;
}

.case-project-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  color: var(--muted);
  font-size: 12px;
}

.case-project-byline strong {
  color: var(--ink);
  font-size: 13px;
}

.case-project-byline span + span::before {
  content: "·";
  margin-right: 12px;
  color: var(--line);
}

.case-project-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 250px;
  min-width: 0;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 94%, #080806);
}

.case-project-workspace :where(h2, h3, h4, p, figure, dl) {
  margin-top: 0;
}

.case-library-folders,
.case-library-info {
  min-width: 0;
  background: color-mix(in srgb, var(--panel) 90%, #090908);
}

.case-library-folders {
  border-right: 1px solid var(--line);
}

.case-library-info {
  border-left: 1px solid var(--line);
}

.case-library-folders > header,
.case-library-info > header,
.case-library-heading {
  padding: 20px 18px 14px;
}

.case-library-folders > header > span,
.case-library-info > header > span,
.case-library-heading > span,
.case-library-prompt header span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.case-library-folders h2,
.case-library-info h2,
.case-library-heading h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 22px !important;
}

.case-library-folders nav {
  display: grid;
  gap: 3px;
  padding: 0 10px 18px;
}

.case-library-folders button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.case-library-folders button:hover,
.case-library-folders button.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}

.case-library-folders button small {
  color: var(--muted);
  font-size: 10px;
}

.case-library-assets {
  min-width: 0;
  padding-bottom: 26px;
}

.case-library-group {
  min-width: 0;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.case-library-group[hidden] {
  display: none !important;
}

.case-library-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.case-library-group-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.case-library-group-title span {
  color: var(--muted);
  font-size: 11px;
}

.case-library-prompt-grid {
  display: grid;
  gap: 10px;
}

.case-library-prompt {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090908;
}

.case-library-prompt > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.case-library-prompt h4 {
  margin: 3px 0 0;
  color: #f5eddd;
  font-size: 15px;
}

.case-library-prompt button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(214, 168, 71, .55);
  border-radius: 7px;
  color: #f3d88f;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.case-library-prompt > p {
  margin: 0;
  padding: 10px 14px 0;
  color: #a99f8d;
  font-size: 12px;
  line-height: 1.55;
}

.case-library-prompt pre {
  max-height: 340px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  color: #eee3cd;
  font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.case-library-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
}

.case-library-video-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
}

.case-library-video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.case-library-video-grid figcaption {
  padding: 9px 11px;
  color: #beb49e;
  font-size: 11px;
}

.case-library-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.case-library-image-grid a {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: #050505;
}

.case-library-image-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 160ms ease;
}

.case-library-image-grid a:hover img {
  transform: scale(1.025);
}

.case-library-document-list {
  display: grid;
  gap: 6px;
}

.case-library-document-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
}

.case-library-document-list a:hover {
  border-color: var(--accent);
}

.case-library-document-list strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-library-document-list span,
.case-library-empty {
  color: var(--muted);
  font-size: 11px;
}

.case-library-info dl {
  margin: 0;
  padding: 0 18px;
}

.case-library-info dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.case-library-info dt,
.case-library-info dd {
  margin: 0;
  font-size: 11px;
}

.case-library-info dt {
  color: var(--muted);
}

.case-library-info dd {
  max-width: 125px;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.case-library-stack {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.case-library-stack span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.case-library-stack strong {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}

.case-library-source {
  display: block;
  margin: 0 18px 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.case-technical-details > summary {
  padding: 16px 18px;
  font-size: 18px;
}

.case-source-footer {
  padding: 18px;
}

.case-source-footer h2 {
  font-size: 23px !important;
}

/* The special open-project page follows the same compact title scale. */
.hell-grind-title {
  padding: clamp(24px, 3vw, 42px);
}

.hell-grind-title h1 {
  font-size: clamp(30px, 3.7vw, 50px) !important;
  line-height: 1.05;
}

.hell-grind-description > p {
  font-size: 16px;
}

.hell-grind-brief-header h2,
.hell-grind-brief-section > header h3 {
  font-size: clamp(28px, 4vw, 48px) !important;
}

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

  .case-library-info {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) minmax(180px, .6fr) auto;
    align-items: center;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case-library-info dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding: 12px;
  }

  .case-library-source {
    margin: 0 14px 0 0;
  }
}

@media (max-width: 760px) {
  body.clean-ui #view-root h1 {
    font-size: clamp(25px, 8vw, 34px) !important;
  }

  .case-project-workspace {
    grid-template-columns: 1fr;
  }

  .case-library-folders {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-library-folders nav {
    display: flex;
    overflow-x: auto;
  }

  .case-library-folders button {
    flex: 0 0 auto;
    min-width: 118px;
  }

  .case-library-info {
    grid-column: auto;
    display: block;
  }

  .case-library-info dl {
    display: block;
    padding: 0 18px;
  }

  .case-library-source {
    margin: 0 18px 18px;
  }

  .case-library-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-library-video-grid {
    grid-template-columns: 1fr;
  }
}

/* ANT-SYS-2026-0908-005 | X-style learning community v3 */
body.clean-ui.community-page-mode :is(.inspiration-post h3, .community-detail-post h1, .community-profile-identity h1) {
  overflow: visible;
  text-overflow: clip;
  white-space: normal !important;
}

body.clean-ui.community-page-mode :is(.post-avatar, .community-comment-avatar, .community-profile-avatar),
body.clean-ui.community-page-mode :is(.post-author-line, .community-comment-head) button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

body.clean-ui.community-page-mode .community-avatar-fallback {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, hsl(var(--community-avatar-hue) 58% 48%), hsl(calc(var(--community-avatar-hue) + 48) 62% 29%));
  font-weight: 900;
}

body.clean-ui.community-page-mode .post-author-line > button:hover strong,
body.clean-ui.community-page-mode .community-comment-head > button:hover strong {
  text-decoration: underline;
}

body.clean-ui.community-page-mode .post-head em.is-demo,
body.clean-ui.community-page-mode .community-profile-identity > em {
  border: 1px solid rgba(217, 168, 62, 0.55);
  border-radius: 999px;
  padding: 2px 7px;
  color: #f3ca70;
  background: rgba(217, 168, 62, 0.12);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

body.clean-ui.community-page-mode .community-media-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  overflow: hidden;
  border: 1px solid #2f3336;
  border-radius: 16px;
  background: #000;
}

body.clean-ui.community-page-mode .community-media-grid.media-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

body.clean-ui.community-page-mode .community-media-grid.media-count-3 .community-media-cell:first-child {
  grid-row: span 2;
}

body.clean-ui.community-page-mode .community-media-cell {
  min-width: 0;
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #050607;
}

body.clean-ui.community-page-mode .community-media-cell.is-image {
  cursor: zoom-in;
}

body.clean-ui.community-page-mode .community-media-grid:not(.media-count-1) .community-media-cell {
  aspect-ratio: 16 / 10;
}

body.clean-ui.community-page-mode .community-media-cell img,
body.clean-ui.community-page-mode .community-media-cell video {
  width: 100%;
  height: 100%;
  max-height: 680px;
  display: block;
  object-fit: cover;
  background: #000;
}

body.clean-ui.community-page-mode .community-media-grid.media-count-1 .community-media-cell img,
body.clean-ui.community-page-mode .community-media-grid.media-count-1 .community-media-cell video {
  height: auto;
  max-height: 720px;
  object-fit: contain;
}

body.clean-ui.community-page-mode .community-detail-media.media-count-1 .community-media-cell img,
body.clean-ui.community-page-mode .community-detail-media.media-count-1 .community-media-cell video {
  max-height: min(78vh, 920px);
}

body.clean-ui.community-page-mode .community-composer-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  border-radius: 14px;
}

body.clean-ui.community-page-mode .community-composer-preview[hidden] {
  display: none;
}

body.clean-ui.community-page-mode .community-composer-preview :is(img, video) {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  background: #08090a;
}

/* ANT-SYS-2026-0901-015 | 全站栏目原生纵向滚动。
 * 普通首页、项目、案例、提示词、教程、资源和个人中心全部由文档滚动；
 * 仅画布工作区与真实可见的全屏详情层可以锁定页面。 */
html:has(body.clean-ui:not(.agent-canvas-focus-mode):not(.agent-canvas-window-mode):not(.detail-open):not(.project-asset-detail-open):not(.case-asset-detail-open)),
body.clean-ui:not(.agent-canvas-focus-mode):not(.agent-canvas-window-mode):not(.detail-open):not(.project-asset-detail-open):not(.case-asset-detail-open) {
  min-height: 100%;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
}

body.clean-ui:not(.agent-canvas-focus-mode):not(.agent-canvas-window-mode):not(.detail-open):not(.project-asset-detail-open):not(.case-asset-detail-open)
  :is(.app-shell, .main, .view-root) {
  height: auto !important;
  max-height: none !important;
  overflow-y: visible !important;
  overscroll-behavior-y: auto !important;
}

/* Horizontal navigation and card rows must not consume vertical wheel input. */
body.clean-ui :is(.nav, .category-row, .resource-category-strip, .prompt-reference-strip > div) {
  overscroll-behavior-y: auto;
}

/* Final specificity override: asset detail displays the original bitmap at its
 * natural dimensions and scrolls inside the media stage instead of the page. */
body.clean-ui .project-asset-dialog-stage {
  overflow: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.clean-ui .project-asset-dialog-stage > img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: none !important;
}

/* ANT-SYS-2026-0901-014 | 项目页滚轮与原尺寸资产浏览兜底。
 * 项目正文使用浏览器原生纵向滚动；只有资产弹窗打开时才锁定页面。
 * 该规则位于最终样式层末尾，防止通用媒体规则再次压缩原图。 */
html:has(body.clean-ui .project-production-shell),
body.clean-ui:has(.project-production-shell):not(.project-asset-detail-open) {
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
}

body.clean-ui:has(.project-production-shell):not(.project-asset-detail-open) :is(.app-shell, .main, .view-root, .project-production-shell) {
  height: auto !important;
  max-height: none !important;
  overflow-y: visible !important;
  overscroll-behavior-y: auto !important;
}

body.clean-ui .project-asset-dialog-stage > img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: none !important;
}

body.clean-ui .project-asset-dialog-stage {
  overflow: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* ANT-SYS-2026-0901-013 | 首页运营中心是功能入口，不按作品大图卡占据首屏。 */
body.clean-ui .operations-center-compact {
  padding: 12px 14px 14px;
}

body.clean-ui .operations-center-compact > .feed-head {
  min-height: 36px;
  margin-bottom: 9px;
}

body.clean-ui .operations-center-compact > .feed-head h2 {
  font-size: clamp(18px, 1.7vw, 24px);
}

body.clean-ui .operations-center-compact > .feed-head .hero-btn {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 12px;
}

body.clean-ui .operations-center-compact .ops-gateway-grid {
  gap: 10px;
}

body.clean-ui .operations-center-compact .ops-gateway-card {
  grid-template-columns: minmax(128px, 36%) minmax(0, 1fr);
  grid-template-rows: 132px;
  height: 132px;
  min-height: 0;
}

body.clean-ui .operations-center-compact .ops-gateway-card > img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

body.clean-ui .operations-center-compact .ops-gateway-card > div {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  padding: 14px 16px;
  align-content: center;
  gap: 6px;
}

body.clean-ui .operations-center-compact .ops-gateway-card small {
  font-size: 10px;
  letter-spacing: 0.06em;
}

body.clean-ui .operations-center-compact .ops-gateway-card h3 {
  font-size: clamp(15px, 1.4vw, 18px);
}

@media (max-width: 760px) {
  body.clean-ui .operations-center-compact {
    padding: 10px;
  }

  body.clean-ui .operations-center-compact .ops-gateway-grid {
    grid-template-columns: 1fr;
  }

  body.clean-ui .operations-center-compact .ops-gateway-card {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: 96px;
    height: 96px;
  }

  body.clean-ui .operations-center-compact .ops-gateway-card > div {
    padding: 10px 12px;
  }
}

@media (max-width: 430px) {
  body.clean-ui .production-skill-header > strong {
    display: none;
  }

  body.clean-ui .production-skill-grid {
    grid-template-columns: 1fr;
  }

  body.clean-ui .account-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  body.clean-ui .account-command-card {
    gap: 3px;
    padding: 7px 9px;
  }

  body.clean-ui .account-command-card h3 {
    font-size: 17px;
  }
}

@media (max-width: 350px) {
  body.clean-ui .account-profile-panel.account-profile-compact {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  body.clean-ui .account-profile-compact .account-profile-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.clean-ui .account-profile-compact .account-profile-actions > * {
    width: 100%;
  }

  body.clean-ui .account-command-grid {
    grid-template-columns: 1fr;
  }
}
/* 运营数据库：真实数据表、受控编辑与审计 */
.ops-db-topbar,
.ops-db-shell {
  border: 1px solid rgba(213, 164, 55, 0.24);
  background: #0b0b09;
  border-radius: 14px;
}

.ops-db-topbar {
  min-height: 76px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ops-db-topbar .eyebrow {
  margin: 0 0 3px;
  font-size: 10px;
  letter-spacing: .11em;
  color: #a88b54;
}

.ops-db-topbar h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: -.02em;
}

.ops-db-top-actions,
.ops-db-login {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ops-db-login {
  padding: 0;
  border: 0;
  background: transparent;
}

.ops-db-login input {
  width: 168px;
  min-height: 36px;
  margin: 0;
}

.ops-db-login [data-admin-message] {
  font-size: 11px;
  color: #a99672;
}

.ops-db-auth-state {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(100, 188, 139, .28);
  border-radius: 999px;
  color: #98c7aa;
  font-size: 12px;
}

.ops-db-shell {
  position: relative;
  margin-top: 12px;
  padding: 14px;
  min-height: 440px;
}

.ops-db-shell.is-loading {
  opacity: .72;
  pointer-events: none;
}

.ops-db-access-required {
  min-height: 320px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: #9f947d;
}

.ops-db-access-required strong {
  color: #f4ecdd;
  font-size: 18px;
}

.ops-db-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.ops-db-summary-card {
  min-height: 68px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid rgba(213, 164, 55, .18);
  border-radius: 10px;
  background: #11110e;
  color: #aaa088;
  cursor: pointer;
}

.ops-db-summary-card:hover,
.ops-db-summary-card.is-active {
  border-color: rgba(238, 184, 61, .72);
  background: linear-gradient(135deg, rgba(219, 164, 43, .14), #11110e 60%);
  color: #f0bd4d;
}

.ops-db-summary-card span {
  font-size: 12px;
}

.ops-db-summary-card strong {
  font-size: 23px;
  font-weight: 650;
  color: #f5efe4;
  line-height: 1;
}

.ops-db-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 10px;
}

.ops-db-table-card,
.ops-db-audit {
  min-width: 0;
  border: 1px solid rgba(213, 164, 55, .16);
  border-radius: 11px;
  background: #0e0e0c;
  overflow: hidden;
}

.ops-db-table-toolbar {
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(213, 164, 55, .14);
}

.ops-db-table-toolbar > div,
.ops-db-audit > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ops-db-table-toolbar strong,
.ops-db-audit > div strong {
  font-size: 15px;
  font-weight: 620;
  color: #f1eadc;
}

.ops-db-table-toolbar span,
.ops-db-audit > div span {
  font-size: 11px;
  color: #8e846e;
}

.ops-db-table-toolbar form {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ops-db-table-toolbar input,
.ops-db-table-toolbar select {
  width: 156px;
  min-height: 34px;
  margin: 0;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
}

.ops-db-table-toolbar select {
  width: 118px;
}

.ops-db-table {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.ops-db-tr {
  min-width: 980px;
  min-height: 54px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: .62fr 1.75fr .82fr .72fr .9fr .74fr 58px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(213, 164, 55, .09);
  color: #c7bda8;
  font-size: 12px;
}

.ops-db-table.is-users .ops-db-tr,
.ops-db-table.is-canvases .ops-db-tr,
.ops-db-table.is-projects .ops-db-tr,
.ops-db-table.is-finance .ops-db-tr {
  grid-template-columns: 1.55fr .72fr .72fr 1fr .72fr .78fr 58px;
}

.ops-db-table.is-finance .ops-db-tr {
  grid-template-columns: .7fr 1.5fr .85fr 1fr .74fr .8fr 58px;
}

.ops-db-th {
  min-height: 36px;
  background: #15140f;
  color: #92866e;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
}

.ops-db-tr:last-child {
  border-bottom: 0;
}

.ops-db-tr:hover:not(.ops-db-th) {
  background: rgba(218, 169, 55, .035);
}

.ops-db-tr > strong {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-weight: 580;
}

.ops-db-tr em,
.ops-db-tr small,
.ops-db-tr time {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.ops-db-tr em {
  color: #eee6d7;
}

.ops-db-tr small,
.ops-db-tr time {
  color: #827966;
  font-size: 10px;
}

.ops-db-status {
  display: inline-flex;
  max-width: 100%;
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(208, 158, 45, .24);
  border-radius: 999px;
  color: #d0a750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}

.ops-db-status.is-positive {
  border-color: rgba(93, 178, 131, .28);
  color: #8bc5a4;
}

.ops-db-status.is-muted {
  border-color: rgba(151, 143, 128, .22);
  color: #928a7c;
}

.ops-db-row-action {
  min-height: 29px;
  padding: 0 8px;
  border: 1px solid rgba(226, 172, 48, .35);
  border-radius: 7px;
  background: transparent;
  color: #e4b54e;
  font-size: 11px;
  cursor: pointer;
}

.ops-db-row-action:hover {
  background: #dca733;
  color: #14110a;
}

.ops-db-progress {
  display: inline-block;
  width: 66px;
  height: 4px;
  margin-right: 6px;
  vertical-align: middle;
  overflow: hidden;
  border-radius: 999px;
  background: #29261e;
}

.ops-db-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #dba837;
}

.ops-db-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #7f7666;
}

.ops-db-pagination {
  min-height: 48px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(213, 164, 55, .12);
  color: #8d826e;
  font-size: 11px;
}

.ops-db-pagination > div {
  display: flex;
  gap: 7px;
}

.ops-db-audit {
  padding: 12px;
}

.ops-db-audit > div {
  justify-content: space-between;
  margin-bottom: 8px;
}

.ops-db-audit article {
  padding: 9px 0;
  display: grid;
  gap: 3px;
  border-bottom: 1px solid rgba(213, 164, 55, .09);
}

.ops-db-audit article strong,
.ops-db-audit article span,
.ops-db-audit article time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-db-audit article strong {
  color: #d8cdb9;
  font-size: 11px;
  font-weight: 580;
}

.ops-db-audit article span,
.ops-db-audit article time,
.ops-db-audit p {
  color: #786f60;
  font-size: 10px;
}

.ops-db-editor {
  position: fixed;
  z-index: 1200;
  top: 90px;
  right: 18px;
  width: min(410px, calc(100vw - 32px));
  max-height: calc(100vh - 112px);
  padding: 18px;
  overflow-y: auto;
  border: 1px solid rgba(226, 172, 48, .45);
  border-radius: 14px;
  background: #11110e;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
}

.ops-db-editor-head {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ops-db-editor-head span {
  color: #a99369;
  font-size: 10px;
  letter-spacing: .08em;
}

.ops-db-editor-head h3 {
  margin: 4px 0 0;
  color: #f1e9da;
  font-size: 18px;
  font-weight: 620;
}

.ops-db-editor-head > button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(213, 164, 55, .22);
  border-radius: 50%;
  background: transparent;
  color: #b7aa93;
  font-size: 20px;
  cursor: pointer;
}

.ops-db-editor form {
  display: grid;
  gap: 11px;
}

.ops-db-editor label {
  display: grid;
  gap: 5px;
  color: #a89b84;
  font-size: 11px;
}

.ops-db-editor input,
.ops-db-editor select,
.ops-db-editor textarea {
  width: 100%;
  margin: 0;
  border-radius: 8px;
  background: #0a0a08;
}

.ops-db-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.ops-db-detail-list {
  display: grid;
  gap: 0;
  margin: 0 0 15px;
}

.ops-db-detail-list > div {
  padding: 9px 0;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(213, 164, 55, .1);
}

.ops-db-detail-list dt {
  color: #7f7564;
}

.ops-db-detail-list dd {
  margin: 0;
  color: #d6cbb8;
  word-break: break-word;
}

@media (max-width: 1100px) {
  .ops-db-topbar,
  .ops-db-table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ops-db-top-actions,
  .ops-db-table-toolbar form {
    width: 100%;
    flex-wrap: wrap;
  }

  .ops-db-workspace {
    grid-template-columns: 1fr;
  }

  .ops-db-audit {
    display: none;
  }
}

@media (max-width: 720px) {
  .ops-db-shell {
    padding: 9px;
  }

  .ops-db-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-db-summary-card {
    min-height: 58px;
  }

  .ops-db-summary-card:last-child {
    grid-column: 1 / -1;
  }

  .ops-db-table-toolbar input {
    flex: 1 1 150px;
  }

  .ops-db-editor {
    top: 70px;
    right: 10px;
    width: calc(100vw - 20px);
  }
}

/* ANT-SYS-2026-0830-003: video-first public case studies */
.case-film-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 71, 0.3);
  border-radius: 14px;
  background: #050505;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.case-film-stage video,
.case-film-stage iframe,
.case-film-stage > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050505;
}

.case-film-stage > img {
  object-fit: cover;
}

.case-film-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.62));
}

.case-film-stage:has(video)::after,
.case-film-stage:has(iframe)::after {
  display: none;
}

.case-film-stage iframe {
  border: 0;
}

.case-official-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: min(360px, calc(100% - 32px));
  padding: 24px 28px;
  border: 1px solid rgba(255, 224, 150, 0.55);
  border-radius: 18px;
  color: #fff7e5;
  background: rgba(7, 7, 6, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  text-align: center;
  text-decoration: none;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.case-official-play:hover {
  border-color: #f0c25a;
  background: rgba(12, 11, 8, 0.9);
  transform: translate(-50%, -50%) scale(1.02);
}

.case-official-play > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  border-radius: 50%;
  color: #11100d;
  background: linear-gradient(135deg, #ffe19a, #d99d31);
  font-size: 24px;
}

.case-official-play strong {
  font-size: 20px;
}

.case-official-play small {
  color: #d8c8a8;
  font-size: 13px;
}

.case-title-block {
  display: grid;
  gap: 14px;
  padding: 6px 4px 2px;
}

.case-title-block h1 {
  max-width: 1050px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.case-title-block > p:not(.eyebrow) {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.case-fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.case-fact-strip > div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.case-fact-strip > div:last-child {
  border-right: 0;
}

.case-fact-strip span,
.case-fact-strip small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.case-fact-strip strong {
  display: block;
  margin: 7px 0 5px;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.2;
}

.case-breakdown-grid,
.case-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.case-breakdown-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
}

.case-breakdown-card b,
.case-breakdown-card span {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-breakdown-card h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.case-breakdown-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.case-resource-grid a {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.case-resource-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.case-resource-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.case-resource-grid strong {
  margin-top: 16px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.case-resource-grid small {
  color: var(--muted);
  line-height: 1.6;
}

.case-resource-grid em {
  align-self: end;
  margin-top: auto;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.case-rights-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  background: rgba(214, 168, 71, 0.06);
  font-size: 13px;
  line-height: 1.65;
}

/* ANT-SYS-2026-0830-003 v2: film -> prompts -> assets -> technical brief -> source */
.case-section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.case-section-head-row > div {
  min-width: 0;
}

.case-section-head-row > a {
  flex: 0 0 auto;
}

.case-prompt-list {
  display: grid;
  gap: 14px;
}

.case-prompt-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.case-prompt-card > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.case-prompt-card > header > div {
  min-width: 0;
}

.case-prompt-card header span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.case-prompt-card h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 20px;
}

.case-prompt-card header p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.case-prompt-card pre {
  max-height: 420px;
  margin: 0;
  padding: 20px;
  overflow: auto;
  color: #f6ead1;
  background: #090908;
  font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.case-prompt-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.case-prompt-empty span {
  color: var(--accent);
}

.case-assets-section .case-resource-grid {
  margin-top: 14px;
}

.case-assets-section > .case-section-head:not(:first-child) {
  margin-top: 28px;
}

.case-technical-details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
}

.case-technical-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
}

.case-technical-details > summary::-webkit-details-marker {
  display: none;
}

.case-technical-details > summary small {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.case-technical-details[open] > summary {
  border-bottom: 1px solid var(--line);
}

.case-technical-details[open] > summary small::before {
  content: "已";
}

.case-technical-body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.case-source-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

.case-source-footer h2 {
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
}

.case-source-footer p:not(.eyebrow) {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.case-source-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .case-fact-strip,
  .case-breakdown-grid,
  .case-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-fact-strip > div:nth-child(2) {
    border-right: 0;
  }

  .case-fact-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .case-reading-shell {
    min-width: 0;
    overflow: hidden;
  }

  .case-title-block,
  .case-title-block h1 {
    min-width: 0;
    max-width: 100%;
  }

  .case-title-block h1 {
    font-size: clamp(30px, 9vw, 42px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .case-section-head-row,
  .case-prompt-card > header,
  .case-prompt-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .case-prompt-card > header .copy-btn,
  .case-section-head-row > a {
    width: 100%;
  }

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

  .case-source-actions {
    justify-items: stretch;
  }

  .case-film-stage {
    border-radius: 8px;
  }

  .case-official-play {
    min-width: calc(100% - 24px);
    padding: 16px;
  }

  .case-official-play > span {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .case-fact-strip,
  .case-breakdown-grid,
  .case-resource-grid {
    grid-template-columns: 1fr;
  }

  .case-fact-strip > div,
  .case-fact-strip > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-fact-strip > div:last-child {
    border-bottom: 0;
  }

  .case-resource-grid a {
    min-height: 150px;
  }
}

/* ANT-SYS-2026-0830-007: HELL GRIND official open-project learning page */
.hell-grind-case {
  --hg-bg: #111214;
  --hg-panel: #18191c;
  --hg-panel-2: #202126;
  --hg-line: rgba(255, 255, 255, 0.12);
  --hg-text: #f5f5f3;
  --hg-muted: #9b9da4;
  --hg-lime: #ccff35;
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--hg-text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--hg-bg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

/* ANT-SYS-2026-0902-009 | 公开学习项目必须服从当前内容区宽度，避免资产栅格撑破主栏。 */
.view-root:has(> .hell-grind-case) {
  grid-template-columns: minmax(0, 1fr);
}

.hell-grind-case :where(h1, h2, h3, h4, p) {
  margin-top: 0;
}

.hell-grind-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--hg-line);
  color: var(--hg-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hell-grind-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.hell-grind-breadcrumb a:hover,
.hell-grind-breadcrumb strong {
  color: var(--hg-text);
}

.hell-grind-film {
  width: 100%;
  aspect-ratio: 4096 / 1716;
  overflow: hidden;
  background: #000;
}

.hell-grind-source-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--hg-line);
  background: linear-gradient(100deg, rgba(181, 255, 67, .1), rgba(181, 255, 67, .025) 54%, transparent);
}

.hell-grind-source-access > div {
  min-width: 0;
}

.hell-grind-source-access span {
  display: block;
  margin-bottom: 5px;
  color: var(--hg-lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.hell-grind-source-access strong {
  color: var(--hg-text);
  font-size: 16px;
}

.hell-grind-source-access p {
  max-width: 880px;
  margin: 5px 0 0;
  color: var(--hg-muted);
  font-size: 12px;
  line-height: 1.65;
}

.hell-grind-source-access nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hell-grind-source-access :is(a, button) {
  padding: 9px 12px;
  border: 1px solid rgba(181, 255, 67, .3);
  border-radius: 8px;
  color: var(--hg-text);
  background: rgba(181, 255, 67, .06);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hell-grind-source-access :is(a, button):is(:hover, :focus-visible) {
  border-color: var(--hg-lime);
  color: var(--hg-lime);
  outline: none;
}

.hell-grind-film :is(video, iframe) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.hell-grind-film iframe,
.learning-asset-stage iframe {
  border: 0;
}

/* ANT-SYS-2026-0907-001 | 官方外部播放器在站内使用完整可视区域。 */
.hell-grind-film iframe[src*="platform.twitter.com/embed/Tweet.html"],
.learning-asset-stage iframe[src*="platform.twitter.com/embed/Tweet.html"] {
  color-scheme: dark;
  background: #000;
}

.hell-grind-film:has(> .x-official-player) {
  aspect-ratio: auto !important;
  min-height: 560px;
}

.x-official-player {
  display: flex;
  width: 100%;
  height: 560px;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hell-grind-film .x-official-player > iframe,
.learning-asset-stage .x-official-player > iframe {
  width: min(100%, 550px);
  max-width: 550px;
  height: 600px;
  flex: 0 1 550px;
  clip-path: inset(0 14px 35px 0);
  transform: translateX(7px);
  background: #15202b;
}

.learning-asset-stage > img {
  image-rendering: auto;
}

.learning-external-source-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  background: #070809;
}

.learning-external-source-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: saturate(.82) contrast(1.08);
}

.learning-external-source-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 9, .94), rgba(7, 8, 9, .58) 60%, rgba(7, 8, 9, .2));
}

.learning-external-source-stage > div {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(680px, 88%);
  padding: clamp(24px, 5vw, 64px);
}

.learning-external-source-stage span {
  color: var(--hg-lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.learning-external-source-stage strong,
.learning-external-source-stage p {
  display: block;
}

.learning-external-source-stage strong {
  margin-top: 10px;
  color: #f5f6f2;
  font-size: clamp(20px, 3vw, 36px);
}

.learning-external-source-stage p {
  max-width: 620px;
  margin: 12px 0 20px;
  color: #c5c8c0;
  font-size: 13px;
  line-height: 1.75;
}

.learning-external-source-stage a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(204, 255, 53, .42);
  border-radius: 999px;
  color: var(--hg-lime);
  background: rgba(204, 255, 53, .08);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.hell-grind-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: clamp(28px, 4vw, 64px);
  border-bottom: 1px solid var(--hg-line);
}

.hell-grind-title-main > p,
.hell-grind-section-title > span,
.hell-grind-brief-header > p,
.hell-grind-brief-section > header > span,
.hell-grind-source > div > span {
  margin-bottom: 12px;
  color: var(--hg-lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hell-grind-title h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--hg-text);
  font-size: clamp(38px, 5.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hell-grind-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hell-grind-meta span {
  padding: 8px 12px;
  border: 1px solid var(--hg-line);
  border-radius: 999px;
  color: #d9dadd;
  font-size: 12px;
}

.hell-grind-author {
  display: grid;
  grid-template-columns: 46px minmax(150px, 1fr);
  align-content: center;
  align-items: center;
  gap: 4px 12px;
  min-width: 280px;
}

.hell-grind-author-mark {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #111;
  background: var(--hg-lime);
  font-weight: 1000;
}

.hell-grind-author strong,
.hell-grind-author span {
  display: block;
}

.hell-grind-author span {
  margin-top: 3px;
  color: var(--hg-muted);
  font-size: 12px;
}

.hell-grind-author > a {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 11px 15px;
  border: 1px solid var(--hg-line);
  border-radius: 999px;
  color: var(--hg-text);
  text-align: center;
  text-decoration: none;
}

.hell-grind-description {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: 30px clamp(28px, 4vw, 64px);
  border-bottom: 1px solid var(--hg-line);
}

.hell-grind-description > p {
  max-width: 1000px;
  margin-bottom: 0;
  color: #c9cacf;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.65;
}

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

.hell-grind-actions :where(a, button),
.hell-grind-code-block > div button,
.hell-grind-prompt-grid article > div button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--hg-line);
  border-radius: 999px;
  color: var(--hg-text);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hell-grind-actions :where(a, button):first-child {
  color: #111;
  border-color: var(--hg-lime);
  background: var(--hg-lime);
}

.hell-grind-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--hg-line);
  background: #151619;
}

.hell-grind-stats > div {
  display: grid;
  gap: 5px;
  padding: 22px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--hg-line);
}

.hell-grind-stats > div:last-child {
  border-right: 0;
}

.hell-grind-stats strong {
  color: var(--hg-text);
  font-size: clamp(24px, 3vw, 42px);
}

.hell-grind-stats span {
  color: var(--hg-muted);
  font-size: 12px;
}

.hell-grind-library {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  min-height: 0;
  border-bottom: 1px solid var(--hg-line);
}

.hell-grind-folders {
  min-width: 0;
  border-right: 1px solid var(--hg-line);
  background: #151619;
}

.hell-grind-section-title {
  padding: 28px 24px 20px;
}

.hell-grind-section-title h2 {
  margin-bottom: 0;
  color: var(--hg-text);
  font-size: 28px;
}

.hell-grind-section-title p {
  margin: 7px 0 0;
  color: var(--hg-muted);
  font-size: 12px;
}

.hell-grind-folder-list {
  max-height: 860px;
  overflow: auto;
  padding: 0 12px 24px;
}

.hell-grind-folder {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #b4b5ba;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.hell-grind-folder:is(.is-current, :hover, :focus-visible) {
  color: var(--hg-text);
  background: var(--hg-panel-2);
  outline: none;
}

.hell-grind-folder strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hell-grind-folder small {
  color: #74767d;
  font-size: 10px;
}

.hell-grind-assets {
  min-width: 0;
  padding-bottom: 30px;
}

.hell-grind-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 24px;
}

.hell-grind-asset-grid > :is(a, button) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--hg-text);
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.hell-grind-asset-grid > :is(a, button):focus-visible {
  outline: 2px solid var(--hg-lime);
  outline-offset: 2px;
}

.hell-grind-asset-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #090a0b;
}

.hell-grind-asset-grid :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.hell-grind-asset-grid > :is(a, button):hover :is(img, video) {
  transform: scale(1.025);
}

.hell-grind-asset-grid figure > span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 6px;
  border-radius: 5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 10px;
}

.hell-grind-asset-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 18px;
}

.hell-grind-asset-filters button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--hg-line);
  border-radius: 999px;
  color: #c9cacf;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.hell-grind-asset-filters button:is(.is-active, :hover, :focus-visible) {
  color: #111214;
  border-color: var(--hg-lime);
  outline: none;
  background: var(--hg-lime);
}

.hell-grind-asset-card > div {
  display: grid;
  gap: 4px;
  padding: 9px 2px 4px;
}

.hell-grind-asset-card > div strong {
  overflow: hidden;
  color: var(--hg-text);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hell-grind-asset-card > div small {
  color: var(--hg-muted);
  font-size: 9px;
}

.hell-grind-asset-card figure > :is(em, b) {
  position: absolute;
  top: 8px;
  margin: 0;
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}

.hell-grind-asset-card figure > em {
  left: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
}

.hell-grind-asset-card figure > b {
  right: 8px;
  color: #111214;
  background: var(--hg-lime);
}

.learning-audio-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  color: var(--hg-lime);
  background: radial-gradient(circle at 50% 45%, rgba(204, 255, 53, 0.12), transparent 48%), #0b0c0d;
}

.learning-audio-thumb span {
  margin-right: 10px;
  font-size: 34px;
}

.learning-audio-thumb i {
  width: 4px;
  height: 20%;
  border-radius: 4px;
  background: currentColor;
}

.learning-audio-thumb i:nth-of-type(2),
.learning-audio-thumb i:nth-of-type(4) {
  height: 42%;
}

.learning-audio-thumb i:nth-of-type(3) {
  height: 66%;
}

.learning-document-thumb,
.learning-video-thumb {
  display: grid;
  place-content: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  color: var(--hg-lime);
  background: radial-gradient(circle at 50% 42%, rgba(204, 255, 53, 0.13), transparent 52%), #0b0c0d;
  text-align: center;
}

.learning-document-thumb span,
.learning-video-thumb span {
  font-size: 30px;
  font-weight: 1000;
}

.learning-document-thumb strong,
.learning-video-thumb strong {
  color: #d4d5d2;
  font-size: 10px;
}

.learning-assets-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 280px;
  padding: 30px;
  border: 1px dashed rgba(204, 255, 53, 0.28);
  border-radius: 12px;
  color: var(--hg-text);
  background: #101214;
  text-align: center;
}

.learning-assets-state i {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(204, 255, 53, 0.22);
  border-top-color: var(--hg-lime);
  border-radius: 50%;
  animation: learning-assets-spin 800ms linear infinite;
}

.learning-assets-state span {
  color: var(--hg-muted);
  font-size: 11px;
}

.learning-assets-state button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--hg-lime);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@keyframes learning-assets-spin {
  to { transform: rotate(360deg); }
}

body.case-asset-detail-open {
  overflow: hidden;
}

.learning-asset-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 0;
  background: rgba(8, 9, 10, 0.92);
  backdrop-filter: blur(14px);
}

.learning-asset-overlay[hidden],
.hell-grind-asset-card[hidden] {
  display: none !important;
}

.learning-asset-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  color: #f4f4f2;
  background: #17191c;
}

.learning-asset-close {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  background: rgba(33, 35, 39, 0.92);
  font-size: 24px;
  cursor: pointer;
}

.learning-asset-stage {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  overflow: hidden;
  background: #070809;
}

.learning-asset-stage > :is(img, video, iframe) {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.learning-asset-stage > :is(img, video) {
  object-fit: contain;
}

.learning-asset-audio-stage {
  display: grid;
  place-items: center;
  gap: 22px;
  width: min(720px, 86%);
  padding: clamp(32px, 8vw, 90px);
  border: 1px solid rgba(204, 255, 53, 0.26);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 30%, rgba(204, 255, 53, 0.14), transparent 52%), #101214;
  text-align: center;
}

.learning-asset-audio-stage > span {
  color: var(--hg-lime);
  font-size: clamp(70px, 12vw, 150px);
  line-height: 1;
}

.learning-asset-audio-stage > strong {
  font-size: clamp(18px, 2.5vw, 28px);
}

.learning-asset-audio-stage audio {
  width: 100%;
}

.learning-asset-document-stage {
  display: grid;
  place-items: center;
  gap: 18px;
  width: min(620px, 88%);
  padding: clamp(34px, 8vw, 90px);
  border: 1px solid rgba(204, 255, 53, 0.26);
  border-radius: 24px;
  background: #101214;
  text-align: center;
}

.learning-asset-document-stage > span {
  color: var(--hg-lime);
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 1000;
}

.learning-asset-document-stage a {
  padding: 11px 16px;
  border-radius: 999px;
  color: #111214;
  background: var(--hg-lime);
  font-weight: 900;
  text-decoration: none;
}

.learning-asset-inspector {
  min-width: 0;
  overflow: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: #25282c;
}

.learning-asset-inspector > header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px 54px 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.learning-asset-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #111214;
  background: var(--hg-lime);
  font-weight: 1000;
}

.learning-asset-inspector header strong,
.learning-asset-inspector header span {
  display: block;
}

.learning-asset-inspector header span {
  margin-top: 3px;
  color: #9ea1a8;
  font-size: 11px;
}

.learning-asset-prompt {
  padding: 16px 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.learning-asset-prompt > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #aeb0b6;
  font-size: 11px;
}

.learning-asset-prompt button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  color: #fff;
  background: #303338;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.learning-asset-prompt p {
  max-height: min(52vh, 620px);
  margin: 0;
  overflow: auto;
  color: #e5e6e8;
  font-size: 13px;
  line-height: 1.62;
  white-space: pre-wrap;
}

.learning-asset-prompt p.is-missing {
  color: #aeb0b6;
}

.learning-asset-prompt small {
  display: block;
  margin-top: 14px;
  color: #8e9198;
  font-size: 10px;
  line-height: 1.55;
}

.learning-asset-meta {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.learning-asset-meta summary {
  color: #b9bbc1;
  font-size: 11px;
  cursor: pointer;
}

.learning-asset-meta dl {
  display: grid;
  gap: 9px;
  margin: 15px 0 0;
}

.learning-asset-meta dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.learning-asset-meta :where(dt, dd) {
  margin: 0;
  font-size: 11px;
}

.learning-asset-meta dt {
  color: #8f9299;
}

.learning-asset-meta dd {
  color: #f0f0ee;
  text-align: right;
}

.learning-asset-inspector > footer {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.learning-asset-inspector > footer a {
  color: var(--hg-lime);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.learning-asset-inspector > footer span {
  color: #888b92;
  font-size: 10px;
}

.hell-grind-brief {
  background: #f3f2ee;
  color: #131416;
}

body.clean-ui .hell-grind-brief-header h2,
body.clean-ui .hell-grind-brief-section > header h3,
body.clean-ui .hell-grind-brief-stats strong {
  color: #111214 !important;
  -webkit-text-fill-color: #111214;
  opacity: 1;
}

.hell-grind-brief-header {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 150px) 28px 68px;
  text-align: center;
}

.hell-grind-brief-header > p,
.hell-grind-brief-section > header > span {
  color: #7a7b7e;
}

.hell-grind-brief-header h2 {
  margin: 0 auto 18px;
  color: #101113;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hell-grind-brief-header > span {
  color: #6f7074;
  font-size: 15px;
}

.hell-grind-brief-section {
  display: grid;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 74px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.hell-grind-brief-section > header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.hell-grind-brief-section > header h3 {
  max-width: 820px;
  margin: 0;
  color: #111214;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hell-grind-brief-copy {
  max-width: 760px;
  margin-left: 204px;
}

.hell-grind-brief-copy > p {
  margin: 0 0 18px;
  color: #3e4045;
  font-size: 18px;
  line-height: 1.78;
}

body.clean-ui .hell-grind-brief .hell-grind-brief-copy > p {
  color: #3e4045 !important;
  -webkit-text-fill-color: #3e4045;
}

.hell-grind-brief-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 30px;
}

.hell-grind-brief-stats > div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 10px;
  background: #dfded9;
}

.hell-grind-brief-stats strong {
  color: #111214;
  font-size: 25px;
}

.hell-grind-brief-stats span {
  color: #6f7074;
  font-size: 11px;
}

.hell-grind-brief-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.hell-grind-brief-images.is-single {
  grid-template-columns: 1fr;
}

.hell-grind-brief-images figure {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #dbdad4;
}

.hell-grind-brief-images img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 900px;
  object-fit: contain;
}

.hell-grind-code-block {
  max-width: 920px;
  margin-left: 204px;
  overflow: hidden;
  border-radius: 12px;
  color: #f0f0ec;
  background: #17181b;
}

.hell-grind-code-block > div,
.hell-grind-prompt-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hell-grind-code-block > div > span,
.hell-grind-prompt-grid article > div > span {
  color: var(--hg-lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hell-grind-code-block pre,
.hell-grind-prompt-grid pre {
  max-height: 540px;
  margin: 0;
  padding: 22px;
  overflow: auto;
  font: 13px/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.hell-grind-rule-list {
  display: grid;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: hg-rules;
}

.hell-grind-rule-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  counter-increment: hg-rules;
  font-size: 17px;
}

.hell-grind-rule-list li::before {
  content: counter(hg-rules, decimal-leading-zero);
  color: #7a7b7e;
  font: 12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hell-grind-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hell-grind-prompt-grid article {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  color: #efefe9;
  background: #17181b;
}

.hell-grind-prompt-grid h4 {
  margin: 18px 20px 0;
  color: #fff;
  font-size: 19px;
}

.hell-grind-prompt-grid pre {
  max-height: 420px;
  padding-top: 14px;
  color: #cfd0ca;
  font-size: 11px;
}

.hell-grind-attachments > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hell-grind-attachments a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  color: #111214;
  text-decoration: none;
}

.hell-grind-attachments a > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #111;
  background: var(--hg-lime);
  font-size: 11px;
  font-weight: 900;
}

.hell-grind-attachments a small {
  color: #797b7f;
}

.hell-grind-source {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  padding: clamp(38px, 6vw, 82px);
  border-top: 1px solid var(--hg-line);
  background: #111214;
}

.hell-grind-source strong {
  display: block;
  color: var(--hg-text);
  font-size: clamp(24px, 3vw, 44px);
}

.hell-grind-source p {
  max-width: 920px;
  margin: 14px 0 0;
  color: var(--hg-muted);
  line-height: 1.7;
}

.hell-grind-source > a {
  padding: 13px 18px;
  border-radius: 999px;
  color: #111;
  background: var(--hg-lime);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .hell-grind-title,
  .hell-grind-description {
    grid-template-columns: 1fr;
  }

  .hell-grind-author {
    min-width: 0;
    max-width: 340px;
  }

  .hell-grind-actions {
    justify-content: flex-start;
  }

  .hell-grind-library {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .hell-grind-asset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hell-grind-brief-copy,
  .hell-grind-code-block {
    margin-left: 0;
  }

  .hell-grind-prompt-grid,
  .hell-grind-attachments > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hell-grind-case {
    border-radius: 10px;
  }

  .hell-grind-breadcrumb {
    padding: 12px 14px;
  }

  .hell-grind-title,
  .hell-grind-description {
    padding: 28px 18px;
  }

  .hell-grind-title h1 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .hell-grind-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hell-grind-stats > div:nth-child(2) {
    border-right: 0;
  }

  .hell-grind-stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hg-line);
  }

  .hell-grind-library {
    grid-template-columns: 1fr;
  }

  .hell-grind-folders {
    border-right: 0;
    border-bottom: 1px solid var(--hg-line);
  }

  .hell-grind-folder-list {
    display: flex;
    max-height: none;
    padding: 0 14px 18px;
    overflow-x: auto;
  }

  .hell-grind-folder {
    flex: 0 0 auto;
    min-width: 160px;
  }

  .hell-grind-assets .hell-grind-section-title {
    padding-inline: 14px;
  }

  .hell-grind-asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0 14px;
  }

  .hell-grind-brief-header {
    padding: 64px 18px 48px;
  }

  .hell-grind-brief-section {
    gap: 20px;
    padding: 52px 18px;
  }

  .hell-grind-brief-section > header {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hell-grind-brief-copy > p {
    font-size: 16px;
  }

  .hell-grind-brief-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hell-grind-brief-images {
    grid-template-columns: 1fr;
  }

  .hell-grind-source {
    grid-template-columns: 1fr;
    padding: 42px 18px;
  }

  .hell-grind-source > a {
    text-align: center;
  }
}

/* Final cascade for ANT-SYS-2026-0831-001 open-project distribution. */
.hell-grind-technical-details {
  border-radius: 0;
  border-right: 0;
  border-left: 0;
}

.hell-grind-technical-details > summary {
  padding: 16px 24px;
  font-size: 18px;
}

.hell-grind-technical-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

.hell-grind-technical-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.hell-grind-technical-card > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hell-grind-technical-card h3 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 18px !important;
  line-height: 1.3;
}

.hell-grind-technical-card p,
.hell-grind-technical-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.hell-grind-technical-card ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

.hell-grind-prompt-dock {
  padding: 0 24px 28px;
  border-bottom: 1px solid var(--hg-line);
  background: #151619;
}

.hell-grind-prompt-dock > .hell-grind-section-title {
  padding-inline: 0;
}

.hell-grind-project-info {
  min-width: 0;
  border-left: 1px solid var(--hg-line);
  background: #151619;
}

.hell-grind-project-info dl {
  margin: 0;
  padding: 0 18px;
}

.hell-grind-project-info dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hg-line);
}

.hell-grind-project-info :where(dt, dd) {
  margin: 0;
  font-size: 11px;
}

.hell-grind-project-info dt {
  color: var(--hg-muted);
}

.hell-grind-project-info dd {
  max-width: 120px;
  color: var(--hg-text);
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.hell-grind-project-info > div:not(.hell-grind-section-title) {
  display: grid;
  gap: 7px;
  padding: 20px 18px;
}

.hell-grind-project-info > div > span {
  color: var(--hg-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hell-grind-project-info > div > strong {
  color: var(--hg-text);
  font-size: 11px;
}

.hell-grind-project-info > a {
  display: block;
  margin: 0 18px 18px;
  padding: 10px;
  border: 1px solid var(--hg-line);
  border-radius: 7px;
  color: var(--hg-text);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .hell-grind-library {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .hell-grind-project-info {
    grid-column: 1 / -1;
    border-top: 1px solid var(--hg-line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .hell-grind-technical-body {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .hell-grind-prompt-dock {
    padding: 0 14px 20px;
  }

  .hell-grind-library {
    grid-template-columns: 1fr;
  }

  .hell-grind-project-info {
    grid-column: auto;
  }
}

/* ANT-SYS-2026-0831-002 | 全站资源卡图文分离：画面只承载媒体，标题、说明与标签全部进入独立信息区。 */
body.clean-ui .portal-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: #15130f;
}

body.clean-ui .portal-card > :is(.portal-media, .portal-action-media, .workflow-gateway-media) {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0a08;
}

body.clean-ui .portal-card > :is(.portal-media, .portal-action-media, .workflow-gateway-media)::after,
body.clean-ui .portal-card.libtv-card::before {
  display: none;
}

body.clean-ui .portal-card :is(.portal-media, .portal-action-media) img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #090805;
  filter: none;
  transform: none;
}

body.clean-ui .portal-card:hover :is(.portal-media, .portal-action-media) img,
body.clean-ui .portal-card:focus-visible :is(.portal-media, .portal-action-media) img {
  filter: none;
  transform: none;
}

body.clean-ui .portal-card .portal-body {
  position: static;
  inset: auto;
  z-index: auto;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 116px;
  padding: 12px 13px 13px;
  color: #fff7e5;
  background: #15130f;
}

body.clean-ui .portal-card .portal-body h3 {
  display: -webkit-box;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #fff7e5;
  font-size: 15px;
  line-height: 1.36;
  text-shadow: none;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.clean-ui .portal-card .portal-body p {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  color: #ada590;
  font-size: 12px;
  line-height: 1.42;
  text-overflow: clip;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.clean-ui .portal-card .portal-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  max-height: 27px;
  margin-top: auto;
  overflow: hidden;
}

body.clean-ui .portal-card .portal-meta span {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 48%;
  padding: 4px 7px;
  font-size: 11px;
}

/* 项目工作台、运营入口和旧展示组件沿用同一原则，不再用渐变遮罩承载正文。 */
body.clean-ui .workbench-preview-card,
body.clean-ui .showcase-card,
body.clean-ui .ops-gateway-card,
body.clean-ui .workflow-hub-ad-card,
body.clean-ui .account-canvas-feature-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #14120e;
}

body.clean-ui :is(.workbench-preview-card, .showcase-card, .ops-gateway-card, .workflow-hub-ad-card, .account-canvas-feature-card)::before,
body.clean-ui :is(.workbench-preview-card, .showcase-card, .ops-gateway-card, .workflow-hub-ad-card, .account-canvas-feature-card)::after {
  display: none;
}

body.clean-ui .workbench-preview-card > img,
body.clean-ui .showcase-card > img,
body.clean-ui .ops-gateway-card > img,
body.clean-ui .workflow-hub-ad-card > img,
body.clean-ui .account-canvas-feature-card .account-canvas-card-media {
  position: relative;
  inset: auto;
  grid-row: 1;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #090805;
  filter: none;
  transform: none;
}

body.clean-ui .account-canvas-feature-card .account-canvas-card-media :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #090805;
}

body.clean-ui :is(.workbench-preview-card, .showcase-card, .ops-gateway-card, .workflow-hub-ad-card):hover > img,
body.clean-ui :is(.workbench-preview-card, .showcase-card, .ops-gateway-card, .workflow-hub-ad-card):focus-visible > img,
body.clean-ui .account-canvas-feature-card:hover .account-canvas-card-media :is(img, video) {
  filter: none;
  transform: none;
}

body.clean-ui .workbench-preview-overlay,
body.clean-ui .showcase-card > div,
body.clean-ui .ops-gateway-card > div,
body.clean-ui .workflow-hub-ad-copy,
body.clean-ui .account-canvas-feature-copy {
  position: static;
  inset: auto;
  z-index: auto;
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 84px;
  padding: 12px 13px 13px;
  color: #fff7e5;
  background: #15130f;
  pointer-events: auto;
}

body.clean-ui .workbench-preview-overlay :is(strong, span),
body.clean-ui .account-canvas-feature-copy :is(strong, span) {
  color: inherit;
  text-shadow: none;
}

body.clean-ui .workbench-preview-overlay strong,
body.clean-ui .ops-gateway-card h3 {
  font-size: 17px;
  line-height: 1.3;
}

body.clean-ui .ops-card-index,
body.clean-ui .account-canvas-media-kind {
  display: none;
}

body.clean-ui .workflow-hub-ad-action {
  position: static;
  grid-row: 3;
  padding: 0 13px 13px;
  background: #15130f;
}

/* 新建画布入口也把名称和说明放在缩略图下方，避免“操作卡”成为例外。 */
body.clean-ui .account-canvas-create-card :is(button, a) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: start;
  justify-items: start;
  min-height: 0;
  padding: 0;
  background: #15130f;
}

body.clean-ui .account-canvas-create-card :is(button, a)::after {
  display: none;
}

body.clean-ui .account-canvas-create-card img {
  position: static;
  inset: auto;
  grid-column: 1 / -1;
  grid-row: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #090805;
}

body.clean-ui .account-canvas-create-card span {
  grid-column: 1;
  grid-row: 2 / 4;
  align-self: center;
  margin: 12px 0 12px 12px;
}

body.clean-ui .account-canvas-create-card strong {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding: 12px 12px 2px 10px;
}

body.clean-ui .account-canvas-create-card small {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  padding: 0 12px 12px 10px;
}

@media (max-width: 560px) {
  body.clean-ui .portal-card .portal-body {
    min-height: 104px;
  }
}

/* ANT-SYS-2026-0831-007 | 首页统一裁切铺满，内页保留完整画面。 */
body.clean-ui .home-section .portal-card > :is(.portal-media, .portal-action-media) {
  aspect-ratio: 16 / 9;
  background: #090805;
}

body.clean-ui .home-section .portal-card :is(.portal-media, .portal-action-media) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #090805;
}

body.clean-ui .home-section[data-home-section="projects"] .project-portal-card .portal-body {
  min-height: 132px;
}

body.clean-ui .home-section[data-home-section="projects"] .project-portal-card .portal-body p {
  min-height: 2.84em;
}

body.clean-ui :is(.case-film-stage, .case-hero-media, .project-hero-media) > img,
body.clean-ui .project-detail :is(.project-gallery-grid, .project-visual-grid) img {
  object-fit: contain;
  object-position: center;
  background: #050505;
}

/* ANT-SYS-2026-0831-009 | 成片、提示词和资产优先；项目说明降级到资产后的备用参考区。 */
.case-project-workspace {
  grid-template-columns: 220px minmax(0, 1fr);
}

.case-reference-details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

.case-reference-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 850;
}

.case-reference-details > summary::-webkit-details-marker {
  display: none;
}

.case-reference-details > summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.case-reference-details[open] > summary {
  border-bottom: 1px solid var(--line);
}

.case-reference-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0;
}

.case-reference-body .case-project-title {
  align-content: start;
  padding: 20px;
  border: 0;
}

.case-reference-body .case-project-title h1 {
  font-size: clamp(23px, 2.5vw, 34px) !important;
}

.case-reference-body .case-library-info {
  display: block;
  grid-column: auto;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.hell-grind-library {
  grid-template-columns: 220px minmax(0, 1fr);
}

.hell-grind-reference-details {
  color: var(--hg-text);
  border-color: var(--hg-line);
  background: #151619;
}

.hell-grind-reference-details > summary {
  color: var(--hg-text);
}

.hell-grind-reference-details > summary small {
  color: var(--hg-muted);
}

.hell-grind-reference-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  background: #111214;
}

.hell-grind-reference-body .hell-grind-title,
.hell-grind-reference-body .hell-grind-description {
  grid-column: 1;
}

.hell-grind-reference-body .hell-grind-title {
  padding: 24px;
}

.hell-grind-reference-body .hell-grind-title h1 {
  font-size: clamp(25px, 3vw, 40px) !important;
}

.hell-grind-reference-body .hell-grind-description {
  padding: 20px 24px;
}

.hell-grind-reference-body .hell-grind-project-info {
  grid-column: 2;
  grid-row: 1 / span 2;
  border-top: 0;
  border-left: 1px solid var(--hg-line);
}

@media (max-width: 760px) {
  .case-project-workspace,
  .case-reference-body,
  .hell-grind-library,
  .hell-grind-reference-body {
    grid-template-columns: 1fr;
  }

  .hell-grind-source-access {
    grid-template-columns: 1fr;
  }

  .hell-grind-source-access nav {
    justify-content: flex-start;
  }

  .hell-grind-film:has(> .x-official-player),
  .x-official-player {
    min-height: 640px;
    height: 640px;
  }

  .hell-grind-film .x-official-player > iframe,
  .learning-asset-stage .x-official-player > iframe {
    width: 100%;
    max-width: 100%;
    height: 680px;
    flex-basis: 100%;
    clip-path: inset(0 8px 24px 0);
    transform: translateX(4px);
  }

  .case-reference-body .case-library-info,
  .hell-grind-reference-body .hell-grind-project-info {
    grid-column: 1;
    grid-row: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hell-grind-reference-body .hell-grind-project-info {
    border-top-color: var(--hg-line);
  }
}

/* ANT-SYS-2026-0831-006 | 多媒体学习资产详情：移动端仍保持完整媒体与提示词检查器。 */
@media (max-width: 760px) {
  .hell-grind-asset-filters {
    flex-wrap: nowrap;
    padding-inline: 14px;
    overflow-x: auto;
  }

  .hell-grind-asset-filters button {
    flex: 0 0 auto;
  }

  .learning-asset-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 48dvh) minmax(0, 1fr);
  }

  .learning-asset-stage {
    padding: 12px;
  }

  .learning-asset-inspector {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .learning-asset-prompt p {
    max-height: 32vh;
  }
}

/* ANT-SYS-2026-0831-010 | 全站标题必须单行显示，窄屏以省略号收口。 */
body.clean-ui :where(h1, h2, h3, h4, h5, h6) {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

body.clean-ui :where(h1, h2, h3, h4, h5, h6) br {
  display: none;
}

@media (max-width: 720px) {
  body.clean-ui .project-asset-dialog-backdrop:not([hidden]) {
    padding: 0;
  }

  body.clean-ui .project-asset-dialog {
    width: 100vw;
    height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 48vh) minmax(0, 1fr);
  }

  body.clean-ui .project-asset-dialog-prompt {
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  body.clean-ui #view-root h1 {
    font-size: clamp(22px, 7vw, 32px) !important;
  }

  body.clean-ui #view-root h2 {
    font-size: clamp(18px, 5.6vw, 26px) !important;
  }

  body.clean-ui #view-root :where(h3, h4, h5, h6) {
    font-size: clamp(14px, 4.2vw, 20px) !important;
  }
}

/* ANT-SYS-2026-0908-005 | Community v3 final overrides. */
body.clean-ui.community-page-mode :is(.inspiration-post h3, .community-detail-post h1, .community-profile-identity h1) {
  overflow: visible;
  text-overflow: clip;
  white-space: normal !important;
}

body.community-media-viewer-open {
  overflow: hidden;
}

.community-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) 64px;
  color: #eff3f4;
  background: rgba(0, 0, 0, 0.94);
}

.community-media-viewer-backdrop {
  position: absolute;
  inset: 0;
}

.community-media-viewer > header,
.community-media-viewer > footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.community-media-viewer > header > button,
.community-media-viewer > footer > button,
.community-media-viewer .community-media-nav {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #eff3f4;
  background: rgba(239, 243, 244, 0.12);
  cursor: pointer;
  font-size: 26px;
}

.community-media-viewer > header > div {
  min-width: 0;
  display: grid;
}

.community-media-viewer > header span {
  overflow: hidden;
  color: #8b98a5;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-media-viewer > header small {
  margin-left: auto;
  color: #8b98a5;
}

.community-media-viewer > figure {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  margin: 0;
  padding: 22px 72px;
}

.community-media-viewer > figure :is(img, video) {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.community-media-viewer > figure img {
  transform: scale(var(--community-media-scale, 1));
  transform-origin: center;
  transition: transform 140ms ease;
}

.community-media-viewer .community-media-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
}

.community-media-viewer .community-media-nav.is-prev {
  left: 18px;
}

.community-media-viewer .community-media-nav.is-next {
  right: 18px;
}

.community-media-viewer > footer {
  justify-content: center;
}

body.clean-ui.community-page-mode .community-creator-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

body.clean-ui.community-page-mode .community-creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.clean-ui.community-page-mode .community-creator-copy {
  min-width: 0;
  display: grid;
  justify-items: start;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

body.clean-ui.community-page-mode .community-creator-copy :is(strong, span, small) {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-ui.community-page-mode .community-creator-copy span,
body.clean-ui.community-page-mode .community-creator-copy small {
  color: #71767b;
  font-size: 10px;
}

.community-media-viewer > footer output {
  min-width: 58px;
  text-align: center;
}

.community-media-viewer > footer > button:last-child {
  width: auto;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 13px;
}

body.clean-ui.community-page-mode .community-profile-cover {
  height: 190px;
  background: linear-gradient(120deg, rgba(217, 168, 62, 0.6), transparent 62%), url('/media/site-visuals/2026-08-23/community-hero-v1.png') center / cover;
}

body.clean-ui.community-page-mode .community-profile-identity {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 74px 18px 18px;
  border-bottom: 1px solid #2f3336;
}

body.clean-ui.community-page-mode .community-profile-avatar {
  position: absolute;
  top: -68px;
  left: 18px;
  width: 136px;
  height: 136px;
  border: 4px solid #000;
  border-radius: 50%;
  font-size: 42px;
}

body.clean-ui.community-page-mode .community-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.clean-ui.community-page-mode .community-profile-identity > .community-subscribe-btn {
  position: absolute;
  top: 12px;
  right: 16px;
}

body.clean-ui.community-page-mode .community-profile-identity h1 {
  margin: 0;
  color: #eff3f4;
  font-size: 22px;
}

body.clean-ui.community-page-mode .community-profile-identity > span {
  color: #71767b;
  font-size: 14px;
}

body.clean-ui.community-page-mode .community-profile-identity > p {
  max-width: 560px;
  margin: 10px 0 4px;
  color: #e7e9ea;
  line-height: 1.55;
}

body.clean-ui.community-page-mode .community-profile-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  margin-top: 8px;
}

body.clean-ui.community-page-mode .community-profile-stats span {
  margin-left: -10px;
  color: #71767b;
  font-size: 12px;
}

body.clean-ui.community-page-mode .community-profile-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid #2f3336;
}

body.clean-ui.community-page-mode .community-profile-tabs button {
  min-height: 50px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #71767b;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

body.clean-ui.community-page-mode .community-profile-tabs button.is-active {
  border-bottom-color: #d9a83e;
  color: #eff3f4;
}

body.clean-ui.community-page-mode .community-comment {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #2f3336;
}

body.clean-ui.community-page-mode .community-comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

body.clean-ui.community-page-mode .community-comment-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

body.clean-ui.community-page-mode .community-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

body.clean-ui.community-page-mode .community-comment-head span,
body.clean-ui.community-page-mode .community-comment-head time {
  margin: 0;
  color: #71767b;
  font-size: 12px;
}

body.clean-ui.community-page-mode .community-comment-reply,
body.clean-ui.community-page-mode .community-reply-cancel {
  border: 0;
  padding: 5px 0;
  color: #8b98a5;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

body.clean-ui.community-page-mode .community-comment-replies {
  margin: 10px -16px -14px 0;
  border-top: 1px solid #202327;
}

body.clean-ui.community-page-mode .community-comment-replies .community-comment {
  grid-template-columns: 34px minmax(0, 1fr);
  padding-left: 10px;
  border-bottom: 0;
}

body.clean-ui.community-page-mode .community-comment-replies .community-comment-avatar {
  width: 34px;
  height: 34px;
}

body.clean-ui.community-page-mode .community-comment-form .community-reply-cancel {
  grid-column: 2;
  justify-self: start;
  color: #d9a83e;
}

@media (max-width: 760px) {
  body.clean-ui.community-page-mode .community-media-cell {
    min-height: 128px;
  }

  body.clean-ui.community-page-mode .community-profile-cover {
    height: 140px;
  }

  body.clean-ui.community-page-mode .community-profile-avatar {
    top: -52px;
    width: 104px;
    height: 104px;
    font-size: 34px;
  }

  body.clean-ui.community-page-mode .community-profile-identity {
    padding-top: 62px;
  }

  .community-media-viewer {
    grid-template-rows: 58px minmax(0, 1fr) 58px;
  }

  .community-media-viewer > figure {
    padding: 12px 48px;
  }
}
/* ANT-SYS-2026-0908-006 | 四频道中文学习发布 */
.community-source-compact {
  align-items: center;
  border-top: 1px solid rgba(239, 243, 244, 0.12);
  color: #8b98a5;
  display: flex;
  font-size: 0.8rem;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
}

.community-source-compact a,
.community-original-source {
  color: #1d9bf0;
  font-weight: 700;
  text-decoration: none;
}

.community-detail-source-actions .community-source-credit {
  color: #8b98a5;
  flex-basis: 100%;
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0 0 0.7rem;
}
