/* V3 landing page: fluid desktop cards with a compact responsive fallback. */
body.v3-home-page { isolation: isolate; }
body.v3-home-page .v3-creation-landing {
  position: relative;
  isolation: isolate;
  width: calc(100% - var(--sidebar-width));
  height: auto;
  min-height: 0;
  margin-left: var(--sidebar-width);
  overflow: hidden;
  background: #000;
  color: #f5f5f7;
}
body.v3-home-page .v3-creation-landing::before {
  display: none;
}
/* Quota cue around the account avatar. The arc is configurable independently
   so account data can replace the current visual reference value later. */
body.v3-home-page .account-actions .avatar-link {
  isolation: isolate;
  border: 0;
  background: transparent;
}
body.v3-home-page .account-actions .avatar-link::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    from 225deg,
    #2f86ff 0deg,
    #4f8fff 130deg,
    #a08cff 260deg,
    transparent var(--avatar-quota-sweep, 315deg) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  pointer-events: none;
}
body.v3-home-page .account-actions .avatar-link img {
  position: relative;
  z-index: 1;
}
body.v3-home-page .account-actions .avatar-link:focus-visible {
  outline: 2px solid #d8e7ff;
  outline-offset: 7px;
}
/* The cool liquid field fades to black at the bottom of the creation section. */
.v3-liquid-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 52% 12%, #14152d 0%, #080b1b 46%, #000 90%);
  mask-image: linear-gradient(to bottom, #000 0%, #000e 27%, #000c 52%, #0009 75%, #0005 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000e 27%, #000c 52%, #0009 75%, #0005 88%, transparent 100%);
}
/* Keep the liquid light concentrated in the center, with soft dark edges. */
.v3-liquid-background::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 90% at 52% 38%, transparent 24%, #0003 49%, #0009 73%, #000e 100%),
    linear-gradient(to bottom, #0003, transparent 25%, transparent 56%, #0009);
}
.v3-liquid-field {
  position: absolute;
  top: -25%;
  left: -10%;
  width: 120%;
  height: 130%;
  opacity: .96;
  isolation: isolate;
  mask-image: radial-gradient(ellipse at 55% 44%, #000 16%, #000d 50%, transparent 93%);
  -webkit-mask-image: radial-gradient(ellipse at 55% 44%, #000 16%, #000d 50%, transparent 93%);
}
.v3-liquid-field::before,
.v3-liquid-field::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 44% 56% 63% 37% / 57% 33% 67% 43%;
  will-change: transform;
}
.v3-liquid-field::before {
  background:
    radial-gradient(ellipse 20% 24% at 51% 40%, #050713b3 0%, transparent 80%),
    radial-gradient(ellipse 23% 31% at 54% 23%, #919dc3 0%, #59688ead 43%, transparent 77%),
    radial-gradient(ellipse 28% 27% at 32% 32%, #8064ad 0%, #453467c9 43%, transparent 79%),
    radial-gradient(ellipse 32% 36% at 76% 32%, #1747e9 0%, #142c9ab3 48%, transparent 83%),
    radial-gradient(ellipse 25% 31% at 47% 53%, #373b87 0%, #201b4588 43%, transparent 79%),
    radial-gradient(ellipse 32% 25% at 35% 83%, #2545c4cc 0%, #17245d99 46%, transparent 83%),
    radial-gradient(ellipse 30% 26% at 73% 82%, #6952a8bb 0%, #352a6988 46%, transparent 83%);
  filter: blur(28px) saturate(1.18);
  animation: v3-liquid-flow 10s ease-in-out infinite alternate;
}
.v3-liquid-field::after {
  background:
    radial-gradient(ellipse 22% 21% at 48% 40%, #040611cc 0%, transparent 82%),
    radial-gradient(ellipse 20% 25% at 50% 25%, #bcc5e0 0%, #7b83a388 36%, transparent 76%),
    radial-gradient(ellipse 25% 23% at 65% 38%, #3459e3b3 0%, #20378a80 47%, transparent 82%),
    radial-gradient(ellipse 28% 22% at 29% 43%, #6d4f9388 0%, transparent 80%),
    radial-gradient(ellipse 34% 24% at 56% 82%, #294cb7b3 0%, transparent 82%);
  opacity: .86;
  filter: blur(25px) saturate(1.16);
  animation: v3-liquid-fold 13s ease-in-out -4s infinite alternate;
}
.v3-liquid-grain {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url('./assets/v3-liquid-grain.svg') repeat;
  background-size: 160px 160px;
  mix-blend-mode: soft-light;
  opacity: .52;
}
@keyframes v3-liquid-flow {
  0% { transform: translate(-10%, -7%) rotate(-24deg) scale(.86, 1.14); }
  50% { transform: translate(10%, 7%) rotate(13deg) scale(1.2, .88); }
  100% { transform: translate(-7%, 10%) rotate(36deg) scale(.92, 1.2); }
}
@keyframes v3-liquid-fold {
  0% { transform: translate(11%, -9%) rotate(28deg) scale(1.18, .84); }
  50% { transform: translate(-12%, 8%) rotate(-24deg) scale(.82, 1.24); }
  100% { transform: translate(8%, 4%) rotate(-42deg) scale(1.22, .86); }
}
@media (prefers-reduced-motion: reduce) {
  .v3-liquid-field::before,
  .v3-liquid-field::after { animation: none; will-change: auto; }
}
.v3-home-shell {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding-top: 80px;
}
.v3-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  text-align: center;
}
.v3-sparkles {
  display: block;
  width: 56px;
  height: 56px;
  overflow: visible;
  filter: drop-shadow(0 0 5px #62bfff44);
}
.v3-attribution {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "CharmD Sans", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  white-space: nowrap;
}
.v3-attribution em {
  font-family: var(--font-latin);
  font-style: italic;
  font-weight: 600;
}
.v3-title {
  margin: 5px 0 0;
  color: #e3e3e6;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "CharmD Sans", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: 0;
}
/* The shared landing stylesheet positions the legacy composer at the viewport
   bottom. V3 places it in the prototype's normal vertical sequence instead. */
body.v3-home-page .v3-creation-landing .v3-creator-bridge {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  flex: none;
  width: 1000px;
  height: var(--landing-composer-height, 180px);
  margin: 41px 0 0;
}
body.v3-home-page .v3-creator-bridge .creator-bridge-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid #3c3d3f;
  border-radius: 10px;
  background: #181818;
  color: #74767b;
  font-size: 13px;
}
body.v3-home-page .v3-creator-bridge .creator-bridge-loading[hidden] { display: none; }
body.v3-home-page #creatorBridgeFrame {
  border-radius: 10px;
  overflow: hidden;
}
body.v3-home-page #creatorBridgeFrame.is-ready {
  visibility: visible !important;
  clip-path: none !important;
}
/* The selected preset is rendered inside the shared composer so it remains
   attached to the input surface while the bridge moves or opens overlays. */
body.v3-home-page .v3-creator-bridge > .landing-preset { display: none !important; }
.v3-feature-grid {
  --v3-grid-width: var(--v3-content-width, 1802px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: var(--v3-grid-width);
  /* Match the first column's 21:9 banner, including the shared gaps. */
  height: calc((var(--v3-grid-width) - 30px) / 4 * 9 / 21);
  margin-top: 60px;
  align-self: flex-start;
  margin-left: var(--v3-content-left, 33px);
  flex: none;
}
.v3-proof-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 20px repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  min-height: 0;
  min-width: 0;
  height: auto;
  box-sizing: border-box;
  padding: 17px 30px 12px;
  border: 1px solid #222930;
  border-radius: 10px;
  background: #171b21;
}
.v3-proof-heading {
  grid-column: 1 / -1;
  align-self: start;
  margin: 0;
  color: #f3f3f4;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}
.v3-proof-tile {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 1fr;
  column-gap: 10px;
  align-content: center;
  align-items: center;
  min-width: 0;
  padding: 0;
  border-radius: 10px;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: background-color 180ms ease;
}
.v3-proof-tile:hover,
.v3-proof-tile:focus-visible {
  background: rgba(255,255,255,.04);
}
.v3-proof-tile:focus-visible {
  outline: 2px solid #c0f2f8;
  outline-offset: 3px;
}
.v3-proof-placeholder {
  display: block;
  position: relative;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}
.v3-proof-placeholder > :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v3-proof-placeholder[data-state="loading"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, #ffffff24, transparent);
  animation: proof-media-loading 1s ease-in-out infinite;
}
@keyframes proof-media-loading {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .v3-proof-placeholder[data-state="loading"]::after { animation: none; }
}
.v3-proof-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.v3-feature-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #3b3c3e;
  border-radius: 10px;
  background: #181818;
  color: #f3f3f4;
  text-align: left;
  cursor: default;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.v3-feature-card[data-bridge-task] { cursor: pointer; }
.v3-feature-large {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
}
.v3-banner-carousel { cursor: default; }
.v3-banner-product-link { position: absolute; z-index: 1; inset: 0; display: block; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.v3-banner-product-link[hidden] { display: none; }
.v3-banner-product-link:focus-visible { outline: 2px solid #9acaff; outline-offset: -4px; }
.v3-banner-carousel:hover { transform: none; border-color: #3b3c3e; background: #181818; }
.v3-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}
.v3-banner-slide.is-active { opacity: 1; }
.v3-banner-pagination {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.v3-banner-pagination button {
  display: block;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #898c94;
  opacity: .78;
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}
.v3-banner-pagination button:hover { opacity: 1; transform: scale(1.12); }
.v3-banner-pagination button[aria-pressed="true"] { background: #fff; opacity: 1; }
.v3-banner-pagination button:focus-visible { outline: 2px solid #6fbcf1; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .v3-banner-slide, .v3-banner-pagination button { transition: none; }
}
.v3-feature-card[data-task="feature-white"] { grid-column: 3; grid-row: 1; }
.v3-feature-card[data-task="feature-poster"] { grid-column: 4; grid-row: 1; }
.v3-feature-card[data-task="feature-portrait"] { grid-column: 3; grid-row: 2; }
.v3-feature-card[data-task="feature-outfit"] { grid-column: 4; grid-row: 2; }
.v3-feature-card[data-bridge-task]:hover,
.v3-feature-card[data-bridge-task]:focus-visible,
.v3-feature-card[data-bridge-task].is-selected {
  border-color: #8abbd0;
  background: #202123;
}
.v3-feature-card[data-bridge-task]:hover { transform: translateY(-1px); }
.v3-feature-card[data-bridge-task]:focus-visible {
  outline: 2px solid #c0f2f8;
  outline-offset: 3px;
}
.v3-proof-card,
.v3-feature-small {
  background: linear-gradient(135deg, #ffffff0d, #ffffff02), rgba(24, 27, 36, .42);
  border-color: rgba(220, 228, 255, .18);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  box-shadow: inset 0 1px 0 #ffffff0a, 0 8px 24px #0002;
}
.v3-feature-card[data-bridge-task]:is(:hover, :focus-visible, .is-selected) {
  background: linear-gradient(135deg, #ffffff12, #ffffff04), rgba(31, 36, 49, .5);
  border-color: #8abbd0;
}
.v3-card-placeholder {
  position: absolute;
  inset: 0;
  background: #181818;
}
.v3-card-copy {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 31px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  pointer-events: none;
}
.v3-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 20px;
}
.v3-card-copy strong {
  color: #f3f3f4;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}
.v3-card-badge {
  display: inline-flex;
  align-items: center;
  height: 12px;
  margin-top: 1px;
  padding: 0 7px;
  border: 1px solid rgba(56, 189, 222, .26);
  border-radius: 10px;
  background: rgba(15, 88, 111, .36);
  color: #51c8e9;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  font-size: 10px;
  font-weight: 300;
  line-height: 12px;
  white-space: nowrap;
}
.v3-card-copy small {
  color: #c2c3c8;
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
}
.v3-feature-small > img {
  position: absolute;
  z-index: 0;
  right: 26px;
  bottom: 0;
  width: auto;
  height: 88px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
.v3-feature-card[data-task="feature-white"] > img {
  top: 13px;
  bottom: 13px;
  height: calc(100% - 26px);
  object-position: right center;
}
.v3-feature-card[data-task="feature-poster"] > img {
  top: 13px;
  bottom: 0;
  width: auto;
  height: calc(100% - 13px);
  border-radius: 10px 10px 0 0;
}
.v3-feature-card[data-task="feature-portrait"] > img {
  top: 13px;
  height: calc(100% - 13px);
}
.v3-feature-card[data-task="feature-outfit"] > img {
  top: 13px;
  height: calc(100% - 13px);
  object-fit: contain;
  object-position: right top;
}
body.v3-home-page .canvas-frame { margin-top: 0; }
body.v3-home-page .homepage-main.homepage-case-flow { padding-bottom: 0; }
body.v3-home-page .landing-scroll-hint { display: none; }
body.v3-home-page #creatorBridgeFrame.is-overlay-host { position: fixed; }
body.v3-home-page.creator-bridge-modal-open #homeSkills { visibility: hidden; pointer-events: none; }
/* Featured work stays outside the scaled canvas: all reference dimensions
   are real CSS pixels, including type, avatars, radii and the sticky toolbar. */
.v3-featured {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
  padding-top: 60px;
  padding-bottom: 72px;
  background: #000;
  color: #fff;
  scroll-margin-top: 72px;
}
.v3-galleries {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
  padding-top: 60px;
  background: #000;
  scroll-margin-top: 24px;
}
.v3-gallery-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  width: var(--v3-content-width, calc(100% - 64px));
  margin: 0 0 16px var(--v3-content-left, 32px);
}
.v3-gallery-tabs > button {
  padding: 0;
  border: 0;
  background: none;
  color: #888;
  font: 400 16px/24px var(--font-ui);
  cursor: pointer;
}
.v3-gallery-tabs > button[aria-selected="true"],
.v3-gallery-tabs > button:hover { color: #fff; }
.v3-gallery-tabs > button:focus-visible { outline: 2px solid #9bcdf2; outline-offset: 5px; }
.v3-galleries > :is(.v3-featured, .case-browser) { width: 100%; margin-left: 0; padding-top: 0; }
.v3-galleries > [hidden] { display: none !important; }
body.sidebar-layout:is(.projects-view-active, .assets-view-active, .account-view-active) .v3-galleries { display: none; }
.v3-featured-content {
  width: var(--v3-content-width, calc(100% - 64px));
  margin-left: var(--v3-content-left, 32px);
}
:is(.v3-featured-portrait, .v3-featured-tvc) {
  /* Keep both featured categories focused on their works, without banners. */
  display: none;
  position: relative;
  height: calc(274px * var(--v3-portrait-scale, 1));
  margin-top: 20px;
  margin-bottom: 28px;
}
:is(.v3-featured-portrait > .portrait-banner, .v3-featured-tvc > .tvc-banner) {
  top: 0;
  left: 0;
  transform: scale(var(--v3-portrait-scale, 1));
  transform-origin: top left;
}
.v3-featured-tvc > .tvc-banner {
  position: absolute;
  width: 1851px;
  height: 274px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface) url('./首页主卖点/TVCbanner.jpg') center / cover no-repeat;
  text-align: center;
}
.tvc-banner > .lime-button {
  margin-top: 18px;
  background: linear-gradient(90deg,#2a70e3 0%,#2643b9 100%);
  color: #fff;
}
.v3-featured-portrait-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 17px;
}
.v3-featured-portrait-image {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #15171a;
}
.v3-featured-portrait-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(.v3-featured-content > h2, .v3-home-page #caseTitle) {
  margin: 0 0 16px;
  font: 400 16px/24px var(--font-ui);
}
:is(.v3-featured-toolbar, .v3-home-page .case-toolbar) {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  align-items: end;
  gap: 110px;
  height: 44px;
  background: #000;
}
:is(.v3-featured-tabs, .v3-home-page .case-tablist) {
  display: flex;
  align-items: stretch;
  gap: 46px;
  height: 44px;
  border-bottom: 1px solid #2c2c2c;
}
:is(.v3-featured-tabs, .v3-home-page .case-tablist) > button {
  position: relative;
  display: block;
  flex: none;
  width: auto;
  height: auto;
  padding: 0 0 1px;
  border-radius: 0;
  border: 0;
  background: none;
  color: #888;
  font: 400 14px/20px var(--font-ui);
  cursor: pointer;
  white-space: nowrap;
}
:is(.v3-featured-tabs, .v3-home-page .case-tablist) > button[aria-selected="true"]::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 62px;
  height: 3px;
  background: #fff;
}
:is(.v3-featured-tabs, .v3-home-page .case-tablist) > button:hover { color: #fff; }
:is(.v3-featured-search, .v3-home-page .case-search) {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #505050;
  border-radius: 10px;
  background: #080808;
}
:is(.v3-featured-search, .v3-home-page .case-search) input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  color: #eee;
  font: 300 14px/20px var(--font-ui);
}
:is(.v3-featured-search, .v3-home-page .case-search) > img {
  flex: none;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(.42);
}
:is(.v3-featured-search, .v3-home-page .case-search) input::placeholder {
  color: #6b6b6b;
  opacity: 1;
  font-weight: 300;
}
:is(.v3-featured-search, .v3-home-page .case-search) input::-webkit-search-cancel-button { display: none; }
:is(.v3-featured-search, .v3-home-page .case-search) button {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
}
:is(.v3-featured-search, .v3-home-page .case-search):focus-within { border-color: #9bcdf2; box-shadow: none; }
:is(.v3-featured-tabs, .v3-home-page .case-tablist) > button:focus-visible,
:is(.v3-featured-search, .v3-home-page .case-search) button:focus-visible { outline: 2px solid #9bcdf2; outline-offset: 4px; }
body.v3-home-page #caseTitle {
  width: var(--v3-content-width, calc(100% - 64px));
  margin-left: var(--v3-content-left, 32px);
  color: #fff;
}
body.v3-home-page .case-toolbar {
  width: var(--v3-content-width, calc(100% - 64px));
  margin-left: var(--v3-content-left, 32px);
  min-height: 44px;
  padding: 0;
}
body.v3-home-page .case-tablist { padding: 0; }
body.v3-home-page .case-panel-canvas { padding-top: calc(17px / var(--v3-portrait-scale, 1)); }
.v3-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px 10px;
  padding-top: 17px;
}
.v3-featured-cover {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
  clip-path: inset(0 round 10px);
  background: #9f9f9f;
}
.v3-featured-card { min-width: 0; outline: none; }
.v3-featured-card:focus-visible .v3-featured-cover { outline: 2px solid #9bcdf2; outline-offset: 3px; }
.v3-featured-cover > :is(.v3-featured-poster, video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v3-featured-card .v3-featured-cover > video {
  /* Video compositing rounds fractional card dimensions differently from
     images. Bleed past the shared clip so the poster cannot peek through. */
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  opacity: 0;
  pointer-events: none;
}
.v3-featured-card.is-previewing .v3-featured-cover { background: #000; }
.v3-featured-card.is-previewing .v3-featured-poster { visibility: hidden; }
.v3-featured-card.is-previewing .v3-featured-cover > video { opacity: 1; }
.v3-featured-retry {
  margin-top: 10px;
  padding: 7px 14px;
  border: 1px solid #505050;
  border-radius: 10px;
  color: #eee;
  background: #181818;
  cursor: pointer;
}
.v3-featured-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 74px;
  margin: 0;
  padding: 15px 10px 19px;
}
.v3-featured-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #d3d3d3;
}
.v3-featured-avatar img { display: block; width: 100%; height: 100%; }
.v3-featured-copy { flex: 1; min-width: 0; }
.v3-featured-create {
  display: inline-flex;
  flex: 0 0 160px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 160px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 52% 115%, #b9ffef 0%, transparent 62%),
    linear-gradient(105deg, #ffe3cf 0%, #f0e4e6 26%, #8dc8ff 65%, #1974ff 100%);
  color: #000;
  font: 400 12px/18px var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}
.v3-featured-create svg { flex: none; width: 18px; height: 18px; }
.v3-featured-meta:hover .v3-featured-create,
.v3-featured-meta:focus-within .v3-featured-create {
  opacity: 1;
  pointer-events: auto;
}
.v3-featured-create:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .v3-featured-create { transition: none; }
}
.v3-featured-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font: 400 14px/20px var(--font-ui);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.v3-featured-copy p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #a0a0a0;
  font: 400 12px/18px var(--font-ui);
}
.v3-featured-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 54px;
  padding: 0 9px 0 12px;
  border-radius: 10px;
  background: #032b37;
  color: #00a0c5;
  letter-spacing: 3px;
}
.v3-featured-status { margin: 20px 0 0; color: #999; font: 400 14px/22px var(--font-ui); }
.v3-featured-status:not([hidden]) + #featured-results { min-height: 460px; }
.v3-featured [hidden] { display: none !important; }
#featured-results { outline: none; overflow-anchor: none; }
body.v3-featured-pinned .v3-featured-toolbar,
body.v3-home-page.case-tabs-pinned .case-toolbar {
  height: 80px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 326px);
  gap: 40px;
  padding-right: 210px;
  box-shadow: -32px 0 #000, 32px 0 #000;
}
body.v3-featured-pinned .account-actions { top: 20px; }
body.sidebar-layout:is(.projects-view-active, .assets-view-active, .account-view-active) .v3-featured { display: none; }
/* Reuse the original scaled film stage in its new position before the footer. */
.v3-film-frame { min-height: 0; }
.v3-film-frame > .case-panel-canvas { padding-top: 60px; }
.v3-film-frame #film { scroll-margin-top: 100px; }
@media (max-width: 2040px) {
  .v3-feature-grid {
    --v3-grid-width: var(--v3-content-width, calc(100vw - var(--sidebar-width) - 32px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .v3-proof-card { width: auto; }
}
@media (min-width: 1251px) and (max-width: 1500px) {
  .v3-proof-card { padding: 6px 16px 8px; gap: 6px 14px; }
  .v3-proof-card { grid-template-rows: 20px repeat(2, minmax(0, 1fr)); }
  .v3-proof-tile { grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; }
  .v3-proof-placeholder { width: 32px; height: 32px; border-radius: 10px; }
  .v3-card-copy { top: 6px; left: 16px; gap: 2px; }
  .v3-feature-small > img { right: 12px; }
}
@media (max-width: 1250px) {
  body.v3-home-page .v3-creator-bridge { width: min(1000px, calc(100% - 32px)); }
  .v3-feature-grid {
    --v3-grid-width: min(1000px, calc(100vw - var(--sidebar-width) - 32px));
    align-self: center;
    margin-left: 0;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, calc((var(--v3-grid-width) - 10px) / 2 * 9 / 21 / 2 - 5px)) repeat(2, 90px);
  }
  .v3-proof-card {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .v3-feature-large { grid-column: 1; grid-row: 1 / span 2; }
  .v3-feature-card[data-task="feature-white"] { grid-column: 1; grid-row: 3; }
  .v3-feature-card[data-task="feature-poster"] { grid-column: 2; grid-row: 3; }
  .v3-feature-card[data-task="feature-portrait"] { grid-column: 1; grid-row: 4; }
  .v3-feature-card[data-task="feature-outfit"] { grid-column: 2; grid-row: 4; }
}
@media (max-width: 680px) {
  .v3-home-shell { padding-top: 96px; }
  .v3-attribution { font-size: 14px; }
  .v3-title { font-size: 22px; }
  body.v3-home-page .v3-creator-bridge { margin-top: 30px; }
  .v3-feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(90px, auto) minmax(190px, auto) repeat(4, 90px);
  }
  .v3-feature-large { grid-column: 1; grid-row: 1; }
  .v3-proof-card { grid-column: 1; grid-row: 2; }
  .v3-feature-card[data-task="feature-white"],
  .v3-feature-card[data-task="feature-poster"],
  .v3-feature-card[data-task="feature-portrait"],
  .v3-feature-card[data-task="feature-outfit"] { grid-column: 1; }
  .v3-feature-card[data-task="feature-white"] { grid-row: 3; }
  .v3-feature-card[data-task="feature-poster"] { grid-row: 4; }
  .v3-feature-card[data-task="feature-portrait"] { grid-row: 5; }
  .v3-feature-card[data-task="feature-outfit"] { grid-row: 6; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-feature-card,
  .v3-proof-tile { transition: none; }
}

.v3-featured-cover:focus-visible { outline: 2px solid #9bcdf2; outline-offset: 3px; }

.v3-feature-window{position:relative;grid-column:3 / span 2;grid-row:1 / span 2;min-width:0;min-height:0}
.v3-feature-rail{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:calc((100% - 10px)/2);gap:10px;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.v3-feature-rail::-webkit-scrollbar{display:none}
.v3-feature-rail>.v3-feature-card[data-task]{grid-column:auto;grid-row:auto;scroll-snap-align:start;text-decoration:none}
.v3-feature-rail>a{cursor:pointer}.v3-feature-rail>a:hover{border-color:#8abbd0}
.v3-feature-next{position:absolute;right:-26px;top:50%;transform:translateY(-50%);border:0;padding:0;width:24px;height:40px;background:transparent;color:#b8bdc8;font-size:32px;cursor:pointer}
.v3-feature-next:disabled{opacity:.25;cursor:default}
.v3-feature-card:is([data-task="feature-tvc"],[data-task="feature-shortform"])>img{top:13px;height:calc(100% - 13px);max-width:30%;border-radius:10px 10px 0 0}
@media(max-width:1250px){.v3-feature-window{grid-column:1 / -1;grid-row:3 / span 2}}
@media(max-width:680px){.v3-feature-window{grid-column:1;grid-row:3;height:190px}.v3-feature-rail{grid-auto-columns:100%;grid-template-rows:repeat(2,90px);height:190px}.v3-feature-grid{grid-template-rows:minmax(90px,auto) minmax(190px,auto) 190px}}
body.v3-home-page :is(#case-motion,#case-shortform) .case-panel-canvas{gap:0}
body.v3-home-page #case-motion .portrait-gallery,body.v3-home-page #case-shortform .shortform-collage{position:relative;top:auto;left:33px;width:1851px;height:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;overflow:visible}
body.v3-home-page #case-shortform .shortform-section{height:auto}
body.v3-home-page #case-shortform :is(.collage-shadow,.shortform-feature){display:none}
body.v3-home-page #case-motion .portrait-tile,body.v3-home-page #case-shortform .shortform-tile{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:9/16;transform:none;margin:0;border-radius:10px;overflow:hidden}
body.v3-home-page #case-shortform .shortform-tile video{display:block;width:100%;height:100%;object-fit:cover}
body.v3-home-page #case-motion .portrait-gallery{grid-template-rows:none;grid-auto-rows:auto}

/* Keep all remaining content cards consistent within the V3 homepage. */
body.v3-home-page :is(.scene-tile, .photo-tile, .case-result,
  .portrait-banner, .tvc-banner, .film-player-shell, .film-side,
  .film-still, .film-case, .shortform-feature) {
  border-radius: 10px;
}
