:root {
  color-scheme: dark;
  --bg: #111111;
  --bg-2: #0a0a0a;
  --panel: #181818;
  --panel-2: #202020;
  --line: #2b2b2b;
  --line-soft: #242424;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --soft: #c9c9c9;
  --accent: #51d7e7;
  --accent-2: #f5b561;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

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

.splashActive .topbar {
  display: none;
}

.splashActive #routeRoot {
  min-height: 100vh;
}

.splashPage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #060707;
}

.splashBackdrop,
.splashShade,
.splashMosaic {
  position: absolute;
  inset: 0;
}

.splashBackdrop {
  background-color: #050505;
  background-position: center 42%;
  background-size: cover;
  filter: blur(22px) brightness(0.34) contrast(1.18) saturate(0.92);
  opacity: 0.48;
  transform: scale(1.08);
  transition: background-image 260ms ease-out;
}

.splashMosaic {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
  padding: 92px clamp(18px, 4vw, 72px) 70px clamp(170px, 20vw, 360px);
  opacity: 0.62;
  transform: rotate(-2deg) scale(1.04);
  pointer-events: none;
}

.splashTile {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #101010;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.splashTileImage,
.splashTile .coverPlaceholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.splashTile.tile1 { grid-column: 1 / span 4; grid-row: 1 / span 3; }
.splashTile.tile2 { grid-column: 5 / span 3; grid-row: 1 / span 2; }
.splashTile.tile3 { grid-column: 8 / span 5; grid-row: 1 / span 4; }
.splashTile.tile4 { grid-column: 2 / span 3; grid-row: 4 / span 3; }
.splashTile.tile5 { grid-column: 5 / span 4; grid-row: 3 / span 3; }
.splashTile.tile6 { grid-column: 9 / span 3; grid-row: 5 / span 2; }
.splashTile.tile7 { grid-column: 1 / span 5; grid-row: 7 / span 2; }
.splashTile.tile8 { grid-column: 6 / span 3; grid-row: 6 / span 3; }
.splashTile.tile9 { grid-column: 9 / span 4; grid-row: 7 / span 2; }
.splashTile.tile10 { grid-column: 11 / span 2; grid-row: 4 / span 2; }

.splashShade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58) 36%, rgba(0, 0, 0, 0.18) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1) 42%, rgba(0, 0, 0, 0.9));
  pointer-events: none;
  z-index: 1;
}

.splashFallback .splashBackdrop {
  background: #050505;
}

.splashNav {
  position: relative;
  z-index: 3;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(20px, 4.8vw, 76px);
}

.splashBrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.splashGlyph {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 4px solid currentColor;
  color: transparent;
  position: relative;
}

.splashGlyph::after {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 4px solid var(--accent);
  border-right: 4px solid var(--accent);
  position: absolute;
  right: 3px;
  top: 3px;
}

.splashBrand small {
  align-self: flex-start;
  color: rgba(81, 215, 231, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.splashNavActions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.splashTopCta,
.splashMainCta {
  border: 0;
  border-radius: 8px;
  background: #f1f1f1;
  color: #090909;
  cursor: pointer;
  font-weight: 760;
}

.splashTopCta {
  height: 36px;
  padding: 0 18px;
  font-size: 14px;
}

.splashLang {
  min-width: 88px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
}

.splashContent {
  position: relative;
  z-index: 3;
  align-self: end;
  width: min(820px, calc(100% - clamp(32px, 9vw, 144px)));
  margin: 0 auto 10vh clamp(20px, 5.2vw, 82px);
  display: grid;
  justify-items: start;
  gap: 18px;
  text-align: left;
}

.splashContent p,
.splashContent h1,
.splashContent h2 {
  margin: 0;
}

.splashContent p {
  color: rgba(81, 215, 231, 0.9);
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
}

.splashContent h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 860;
  text-wrap: balance;
}

.splashContent h2 {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.36;
  font-weight: 540;
}

.splashSearch {
  width: min(680px, 100%);
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 10, 0.72);
  backdrop-filter: blur(16px);
}

.splashSearch input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  background: transparent;
  color: #fff;
}

.splashSearch input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.splashSearch button {
  height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--accent);
  color: #041012;
  cursor: pointer;
  font-weight: 760;
}

.splashTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.splashTags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.splashRail {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 58px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.splashRail span {
  min-width: 116px;
  padding: 9px 0 9px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.splashDots {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 5.2vw, 82px);
  bottom: 34px;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.splashDots button {
  width: 22px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
}

.splashDots button.active {
  width: 46px;
  background: #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  background: rgba(17, 17, 17, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.routeLoading {
  min-height: 54vh;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 15px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
}

.logoGlyph {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f4f4;
  color: #111;
  font-weight: 900;
  font-size: 15px;
}

.mainNav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
}

.mainNav a {
  white-space: nowrap;
}

.mainNav a:hover,
.mainNav a.active {
  color: var(--text);
}

.accountActions,
.boardActions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.ghostButton,
.solidButton,
.backButton,
.modeTabs button,
.channelButton,
.searchBar button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
}

.ghostButton,
.solidButton {
  padding: 0 13px;
}

.solidButton {
  background: var(--text);
  color: #111;
  border-color: var(--text);
  font-weight: 650;
}

.discoverHero {
  display: flex;
  justify-content: center;
  padding: 38px 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70%),
    var(--bg);
}

.searchPanel {
  width: min(760px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
}

.modeTabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-2);
}

.modeTabs button {
  min-width: 86px;
  padding: 0 16px;
  border: 0;
  color: var(--muted);
}

.modeTabs button.active {
  background: var(--panel-2);
  color: var(--text);
}

.searchBar {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  height: 48px;
  border: 1px solid #303030;
  border-radius: 10px;
  background: #0e0e0e;
  overflow: hidden;
}

.searchBar input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--text);
}

.searchBar input::placeholder {
  color: #686868;
}

.searchBar button {
  height: 48px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  font-size: 22px;
}

.heroCarousel {
  padding: 0 28px 24px;
}

.heroSlide {
  position: relative;
  min-height: min(56vh, 560px);
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border-radius: 0;
  background: #090909;
  border: 1px solid #1f1f1f;
  cursor: pointer;
}

.heroImage,
.heroSlide .coverPlaceholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.heroScrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.55)),
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.heroCopy {
  position: absolute;
  left: clamp(22px, 4vw, 64px);
  bottom: clamp(28px, 5vw, 70px);
  max-width: min(560px, 72vw);
  display: grid;
  gap: 12px;
}

.heroCopy span {
  color: #d6d6d6;
  font-size: 14px;
}

.heroCopy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.heroDots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.heroDots button {
  width: 22px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.heroDots button.active {
  width: 36px;
  background: #fff;
}

#statusLine {
  margin: 0;
  color: #777;
  font-size: 12px;
}

.vectorStatusPanel {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #151515;
  color: var(--muted);
  font-size: 12px;
}

.vectorStatusHead {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vectorStatusHead strong {
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.vectorStatusHead span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vectorDot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #6a6a6a;
}

.vectorDot.ready {
  background: #63d486;
}

.vectorPills,
.vectorCoverage,
.vectorMissing {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vectorPill,
.vectorCoverage span,
.vectorMissing span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 9px;
  background: #101010;
  color: var(--muted);
}

.vectorPill.ready {
  color: #dff8e6;
  border-color: #2a6040;
  background: #142018;
}

.vectorPill.pending {
  color: #d1d1d1;
}

.vectorMissing span {
  color: #b9b9b9;
}

.feedShell {
  padding: 0 28px 56px;
}

.channelBar {
  position: sticky;
  top: 58px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  overflow: visible;
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid var(--line-soft);
}

.channelButton {
  flex: 0 0 auto;
  padding: 0 13px;
  color: var(--muted);
  background: #151515;
  touch-action: manipulation;
  pointer-events: auto;
}

.channelButton.active,
.channelButton:hover {
  color: var(--text);
  background: #262626;
  border-color: #3a3a3a;
}

.feedHeader {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 16px;
}

.feedHeader h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.feedHeader p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.feedHeader span {
  color: var(--muted);
  font-size: 13px;
  margin-left: auto;
}

.boardFeed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.imageRecommendFeed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  align-items: start;
}

.mixedSearchFeed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.mixedSearchFeed .imageFrame {
  aspect-ratio: 4 / 5;
}

.boardCard {
  min-width: 0;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #252525;
  border-radius: 8px;
  background: #141414;
  transition: border-color 160ms ease, transform 160ms ease;
}

.boardCard:hover {
  border-color: #3c3c3c;
  transform: translateY(-1px);
}

.boardCoverStack {
  height: 184px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 10px 0;
  background: #101010;
}

.boardCoverPane {
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #1a1a1a;
}

.boardCoverPane.pane1 {
  transform: translateY(8px);
}

.boardCoverPane.pane2 {
  transform: translateY(0);
}

.boardCoverPane.pane3 {
  transform: translateY(14px);
}

.boardCoverImage,
.boardCoverPane .coverPlaceholder,
.boardCoverEmpty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
}

.boardCoverEmpty {
  grid-column: 1 / -1;
  border-radius: 7px;
  background: #191919;
  color: #666;
  font-size: 12px;
}

.recommendCard {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 0;
  background: #141414;
}

.boardCard:hover .recommendCard {
  background: #171717;
}

.recommendIndex {
  color: #585858;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.recommendType {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid #333;
  border-radius: 999px;
  color: #b8b8b8;
  font-size: 12px;
}

.recommendCard h2 {
  margin: 0;
  min-height: 44px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.imageRecommendCard {
  min-width: 0;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #222;
  border-radius: 8px;
  background: #151515;
  transition: border-color 160ms ease, transform 160ms ease;
}

.imageRecommendCard:hover {
  border-color: #3c3c3c;
  transform: translateY(-1px);
}

.imageFrame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1b1b1b;
}

.recommendImage,
.imageFrame .coverPlaceholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.imageRank {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.62);
  color: #f2f2f2;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.imageInfo {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.imageInfo h2 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.imageInfo p,
.imageKicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.recommendCard p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.miniTags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.miniTags span {
  padding: 3px 6px;
  border-radius: 5px;
  background: #202020;
  color: #808080;
  font-size: 11px;
}

.boardPage {
  padding: 0 28px 56px;
}

.boardHero {
  position: sticky;
  top: 58px;
  z-index: 10;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 18px 0;
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px);
}

.backButton {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 30px;
  line-height: 1;
}

.crumb {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.boardHero h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.boardMeta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.metaPill {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #151515;
}

.assetFeed {
  columns: 6 185px;
  column-gap: 12px;
  padding-top: 18px;
}

.assetCard {
  break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 7px;
  overflow: hidden;
  background: #171717;
  border: 1px solid #202020;
}

.assetCard img,
.assetPlaceholder {
  width: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
  background: #1b1b1b;
}

.assetPlaceholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: #666;
  text-align: center;
  font-size: 12px;
}

.assetCaption {
  padding: 8px 9px 9px;
  color: #b8b8b8;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.assetDetailPage {
  padding: 0 28px 64px;
}

.assetDetailTop {
  position: sticky;
  top: 58px;
  z-index: 10;
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px);
}

.assetTitleBlock {
  min-width: 0;
}

.assetTitleBlock h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.assetViewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 420px);
  gap: 24px;
  align-items: start;
  padding: 22px 0 34px;
  border-bottom: 1px solid var(--line-soft);
}

.assetStage {
  min-height: min(68vh, 760px);
  margin: 0;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  border: 1px solid #242424;
}

.assetMainImage {
  width: 100%;
  height: 100%;
  min-height: min(68vh, 760px);
  display: grid;
  place-items: center;
}

.stageImage,
.assetMainImage .coverPlaceholder {
  max-width: 100%;
  max-height: min(76vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.originPanel {
  position: sticky;
  top: 174px;
  display: grid;
  gap: 12px;
  min-width: 0;
  align-self: start;
}

.originPanelHead,
.similarHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.originPanelHead span,
.similarHead h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 750;
}

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

.originThumb {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid #252525;
  border-radius: 8px;
  background: #151515;
  overflow: hidden;
  cursor: pointer;
}

.originThumb.active,
.originThumb:hover {
  border-color: var(--accent);
}

.originThumbImage,
.originThumb .coverPlaceholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.originGallerySection {
  padding: 30px 0 38px;
  border-bottom: 1px solid var(--line-soft);
}

.originGallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.originGalleryCard {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #222;
  border-radius: 8px;
  background: #151515;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.originGalleryCard:hover,
.originGalleryCard.active {
  border-color: var(--accent);
}

.originGalleryCard:hover {
  transform: translateY(-1px);
}

.originGalleryFrame {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1b1b1b;
}

.originGalleryImage,
.originGalleryFrame .coverPlaceholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.originGalleryCaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px 10px;
  color: #b8b8b8;
  font-size: 12px;
  line-height: 1.3;
}

.originGalleryCaption span {
  color: #666;
  font-variant-numeric: tabular-nums;
}

.originGalleryCaption strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.similarSection {
  padding-top: 34px;
}

.similarHead {
  margin-bottom: 16px;
}

.similarHead span {
  color: var(--muted);
  font-size: 12px;
}

.similarFeed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.similarFeed .imageFrame {
  aspect-ratio: 16 / 10;
}

.empty {
  padding: 40px;
  color: var(--muted);
  background: #151515;
  border: 1px solid var(--line);
  border-radius: 10px;
}

@media (max-width: 820px) {
  .splashMosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
    gap: 8px;
    padding: 96px 12px 214px 12px;
    opacity: 0.42;
    transform: rotate(-1deg) scale(1.02);
  }

  .splashTile.tile1 { grid-column: 1 / span 3; grid-row: 1 / span 2; }
  .splashTile.tile2 { grid-column: 4 / span 3; grid-row: 1 / span 3; }
  .splashTile.tile3 { grid-column: 1 / span 4; grid-row: 3 / span 2; }
  .splashTile.tile4 { grid-column: 4 / span 3; grid-row: 4 / span 2; }
  .splashTile.tile5 { grid-column: 1 / span 3; grid-row: 5 / span 2; }
  .splashTile.tile6 { grid-column: 4 / span 3; grid-row: 6 / span 2; }
  .splashTile.tile7,
  .splashTile.tile8,
  .splashTile.tile9,
  .splashTile.tile10 {
    display: none;
  }

  .splashNav {
    height: auto;
    min-height: 68px;
    padding: 14px 18px;
    gap: 14px;
  }

  .splashBrand {
    font-size: 18px;
  }

  .splashNavActions {
    gap: 10px;
    font-size: 14px;
  }

  .splashNavActions > a,
  .splashLang {
    display: none;
  }

  .splashTopCta {
    height: 38px;
    padding: 0 14px;
    font-size: 15px;
  }

  .splashContent {
    width: calc(100% - 32px);
    margin: 0 16px 92px;
    gap: 16px;
    padding: 0;
  }

  .splashContent p {
    font-size: 12px;
  }

  .splashContent h1 {
    font-size: 43px;
    line-height: 1.02;
  }

  .splashContent h2 {
    font-size: 18px;
  }

  .splashSearch {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .splashDots {
    left: 16px;
    bottom: 26px;
  }

  .splashRail {
    display: none;
  }

  .topbar {
    grid-template-columns: auto 1fr;
    height: auto;
    min-height: 56px;
    padding: 10px 14px;
    gap: 10px;
  }

  .mainNav {
    order: 3;
    grid-column: 1 / -1;
    overflow-x: auto;
    gap: 16px;
  }

  .accountActions {
    justify-self: end;
  }

  .accountActions .solidButton {
    display: none;
  }

  .discoverHero {
    padding: 28px 14px 18px;
  }

  .feedShell,
  .boardPage,
  .assetDetailPage {
    padding-left: 14px;
    padding-right: 14px;
  }

  .channelBar,
  .boardHero,
  .assetDetailTop {
    top: 94px;
  }

  .boardHero,
  .assetDetailTop {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .boardActions {
    grid-column: 2;
  }

  .assetViewer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 32px;
  }

  .assetStage,
  .assetMainImage {
    min-height: 58vh;
  }

  .originPanel {
    position: static;
  }

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