:root {
  color-scheme: dark;
  --bg: #101014;
  --topbar: #0b0b0f;
  --surface: #18181c;
  --surface-2: #202027;
  --surface-3: #2a2a33;
  --surface-hover: #24242c;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f5;
  --soft: #d6d6dc;
  --muted: #9b9ba5;
  --faint: #70707a;
  --brand: #4c8dff;
  --brand-hover: #6ba1ff;
  --danger: #f05264;
  --ok: #49d18b;
  --warning: #f7c948;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  --radius: 6px;
  --radius-lg: 8px;
  --content-pad: 24px;
  --topbar-height: 64px;
  --sidebar-width: 248px;
  --card-min-width: 212px;
  --hero-height: 360px;
  --cover-ratio: 4 / 3;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}


button,
input,
select,
textarea {
  font: inherit;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
}

.boot-mark,
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #111115;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}


.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(172px, 210px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: var(--topbar-height);
  padding: 10px var(--content-pad);
  background: color-mix(in srgb, var(--topbar) 94%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, auto);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-title {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-subtitle {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: var(--muted);
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-mini {
  display: grid;
  grid-template-columns: 18px minmax(180px, 280px);
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.search-mini:focus-within {
  border-color: var(--line-strong);
  background: var(--surface-3);
}

.search-mini input,
.field,
.select,
.textarea {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.select,
.field,
.textarea {
  min-height: 38px;
  padding: 0 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

.select:hover,
.field:hover,
.textarea:hover {
  border-color: var(--line-strong);
}

.textarea {
  min-height: 104px;
  padding-top: 10px;
  resize: vertical;
}

.icon-button,
.button,
.ghost-button,
.danger-button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.icon-button {
  width: 38px;
  padding: 0;
}

.button,
.ghost-button,
.danger-button {
  padding: 0 15px;
}

.button {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.button:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.ghost-button:hover,
.icon-button:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.danger-button {
  color: #fff5f6;
  background: rgba(240, 82, 100, 0.18);
  border-color: rgba(240, 82, 100, 0.35);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.avatar {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--brand-hover);
  font-size: 10px;
  font-weight: 850;
}

.shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: calc(100vh - var(--topbar-height));
}

.sidebar {
  position: sticky;
  top: var(--topbar-height);
  align-self: start;
  height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}

.sidebar-section + .sidebar-section {
  margin-top: 22px;
}

.sidebar-title {
  margin: 0 0 8px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.side-link,
.side-action {
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 650;
}

.side-link:hover,
.side-link.active,
.side-action:hover {
  color: var(--text);
  background: var(--surface-2);
}

.side-count {
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
}

.content {
  min-width: 0;
  padding: 24px var(--content-pad) 48px;
}

.hero {
  position: relative;
  min-height: var(--hero-height);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

.hero::after {
  content: "\203A";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  min-height: var(--hero-height);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.hero .button,
.hero .ghost-button {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero .ghost-button {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: var(--surface-2);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: var(--hero-height);
  object-fit: cover;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
}

.stat {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #ffffff;
}

.stat strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 850;
}

.stat span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.section {
  margin-top: 32px;
}

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

.section-header h2,
.page-header h1,
.panel h2 {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 850;
  letter-spacing: 0;
}

.page-header h1 {
  font-size: 32px;
}

.section-header p,
.page-header p,
.panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.channel-grid,
.category-grid,
.admin-grid,
.kpi-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.tile,
.panel,
.filter-panel,
.table-wrap,
.form-panel,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.asset-card {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.tile {
  min-height: 124px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tile:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.asset-card:hover .asset-cover {
  border-color: var(--line-strong);
}

.tile h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 800;
}

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

.tile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.accent-bar {
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
}

.catalog-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 88px;
  padding: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.filter-group + .filter-group {
  margin-top: 14px;
}

.filter-label,
.form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
  letter-spacing: 0;
}

.filter-chip-list,
.tag-list,
.action-row,
.meta-row,
.tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.chip,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
}

.chip {
  cursor: pointer;
}

.chip:hover {
  background: var(--surface-hover);
}

.chip.active,
.badge.good {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.badge.warn {
  color: #181004;
  background: var(--warning);
  border-color: transparent;
}

.badge.danger {
  color: #fff5f6;
  background: rgba(240, 82, 100, 0.8);
  border-color: transparent;
}

.sortbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min-width), 1fr));
  gap: 24px 18px;
}

.asset-card {
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}

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

.asset-cover {
  position: relative;
  aspect-ratio: var(--cover-ratio);
  background: var(--surface-2);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.asset-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.asset-card:hover .asset-cover img {
  transform: scale(1.025);
}

.card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
}

.card-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(10, 10, 14, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.card-icon.active {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.asset-card-body {
  min-height: 170px;
  padding: 10px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asset-title {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.33;
  font-weight: 800;
}

.asset-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-footer .ghost-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.page-header {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.gallery-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-panel,
.panel,
.form-panel {
  padding: 18px;
}

.info-panel {
  position: sticky;
  top: 88px;
}

.info-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.info-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.info-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.info-value {
  color: var(--soft);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  min-height: 48px;
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
  letter-spacing: 0;
}

.table td {
  color: var(--soft);
  font-size: 14px;
}

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

.form-row.full {
  grid-column: 1 / -1;
}

.admin-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
}

.admin-nav {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--text);
  background: var(--surface-2);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: 360px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.auth-shell-root,
.shell-auth,
.login-content {
  min-height: 100vh;
}

.shell-auth {
  display: block;
}

.login-content {
  padding: 0;
  background:
    radial-gradient(circle at 88% 7%, rgba(56, 74, 142, 0.42), rgba(16, 16, 24, 0.12) 30%, transparent 58%),
    radial-gradient(circle at 25% 88%, rgba(90, 101, 190, 0.26), rgba(6, 7, 12, 0.06) 35%, transparent 62%),
    #020307;
  overflow: hidden;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  color: #f7f7fa;
}

.login-screen::before {
  content: "";
  position: fixed;
  left: -12vw;
  right: -8vw;
  bottom: -34vh;
  height: 62vh;
  pointer-events: none;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 34% 0%, rgba(255, 255, 255, 0.94), rgba(118, 128, 255, 0.72) 1.4%, rgba(83, 94, 190, 0.24) 4%, transparent 18%),
    linear-gradient(12deg, transparent 0 32%, rgba(148, 154, 255, 0.58) 33%, rgba(22, 28, 70, 0.32) 34%, rgba(8, 10, 24, 0.86) 58%, transparent 59%),
    radial-gradient(ellipse at 35% 0%, rgba(137, 144, 255, 0.44), rgba(17, 20, 47, 0.76) 28%, rgba(5, 6, 13, 0.92) 66%, transparent 68%);
  filter: blur(0.2px);
}

.login-frame {
  position: relative;
  z-index: 1;
  width: min(1680px, 100%);
  min-height: min(78vh, 800px);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(480px, 0.86fr);
  align-items: center;
  gap: clamp(44px, 7vw, 120px);
  padding: clamp(52px, 7vw, 112px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.24), rgba(11, 14, 31, 0.26) 48%, rgba(26, 33, 72, 0.36)),
    rgba(6, 7, 13, 0.72);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.52);
}

.login-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(129, 139, 255, 0.16) 42.2%, transparent 42.8%),
    radial-gradient(circle at 82% 18%, rgba(84, 97, 170, 0.15), transparent 34%);
}

.login-brand-zone {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.login-logo {
  width: clamp(220px, 18vw, 320px);
  filter: drop-shadow(0 14px 28px rgba(255, 255, 255, 0.12));
}

.login-sweep {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 2px solid transparent;
}

.sweep-a {
  width: 900px;
  height: 720px;
  left: -170px;
  top: -390px;
  border-right-color: rgba(126, 138, 255, 0.22);
  transform: rotate(7deg);
}

.sweep-b {
  width: 760px;
  height: 260px;
  left: -360px;
  bottom: -92px;
  border-top-color: rgba(195, 201, 255, 0.46);
  filter: drop-shadow(0 -3px 10px rgba(138, 143, 255, 0.38));
}

.login-horizon {
  position: absolute;
  left: -44%;
  right: -18%;
  bottom: -172px;
  height: 260px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse at 42% 0%, rgba(255, 255, 255, 0.74), rgba(118, 130, 255, 0.46) 3%, rgba(36, 42, 96, 0.32) 28%, rgba(3, 4, 10, 0.94) 66%, transparent 67%);
  box-shadow: 0 -9px 24px rgba(129, 139, 255, 0.32);
}

.login-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  width: min(660px, 100%);
  margin-left: auto;
  padding: clamp(44px, 5vw, 82px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 10%, rgba(88, 100, 160, 0.18), transparent 38%),
    rgba(10, 12, 20, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.login-field {
  min-height: 82px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 26px;
  color: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.login-field:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.login-field input {
  min-width: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 22px;
  font-weight: 650;
}

.login-field input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.login-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-block;
  color: rgba(255, 255, 255, 0.68);
}

.login-user-icon::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.login-user-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 20px;
  height: 13px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.login-lock-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 4px;
  width: 20px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.login-lock-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 1px;
  width: 10px;
  height: 13px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.login-eye-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.login-eye-icon {
  position: relative;
  width: 28px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.login-eye-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.login-eye-button.active .login-eye-icon::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 7px;
  width: 32px;
  height: 2px;
  background: currentColor;
  transform: rotate(-32deg);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  font-weight: 650;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.login-remember input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-remember span {
  width: 28px;
  height: 28px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.login-remember input:checked + span {
  background: #ffffff;
  box-shadow: inset 0 0 0 7px #111116;
}

.login-options a {
  color: rgba(255, 255, 255, 0.68);
}

.login-submit {
  min-height: 88px;
  color: #101014;
  background: linear-gradient(180deg, #ffffff, #f3f3f4);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 28px;
  font-weight: 950;
}

.login-submit:hover {
  background: #ffffff;
}

@media (max-width: 1180px) {
  .login-frame {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 42px;
  }

  .login-brand-zone {
    min-height: 220px;
    justify-content: center;
  }

  .login-panel {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .login-screen {
    padding: 16px;
  }

  .login-frame {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .login-brand-zone {
    min-height: 160px;
  }

  .login-logo {
    width: 180px;
  }

  .login-panel {
    gap: 18px;
    padding: 22px;
    border-radius: 16px;
  }

  .login-field {
    min-height: 58px;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 14px;
  }

  .login-field input {
    font-size: 16px;
  }

  .login-icon {
    width: 26px;
    height: 26px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
  }

  .login-submit {
    min-height: 58px;
    font-size: 20px;
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-content: space-between;
  }

  .shell,
  .catalog-layout,
  .detail-layout,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .filter-panel,
  .admin-nav,
  .info-panel {
    position: static;
    height: auto;
  }

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

  .channel-grid,
  .category-grid,
  .admin-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --content-pad: 14px;
  }

  .content {
    padding-top: 18px;
    padding-bottom: 36px;
  }

  .topbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .user-pill span:not(.avatar) {
    display: none;
  }

  .search-mini {
    grid-template-columns: 18px minmax(90px, 1fr);
  }

  .hero,
  .hero-copy {
    min-height: 430px;
  }

  .hero-copy {
    padding: 22px;
  }

  h1 {
    font-size: 34px;
  }

  .stats-row,
  .channel-grid,
  .category-grid,
  .admin-grid,
  .kpi-grid,
  .form-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .sortbar,
  .section-header,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


.market-rail {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.market-rail::-webkit-scrollbar {
  display: none;
}

.market-rail a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--soft);
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
}

.market-rail a:hover {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.product-panel h1 {
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1.16;
}

.product-panel > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.product-actions .button,
.product-actions .ghost-button {
  width: 100%;
}

.asset-card .meta-row {
  gap: 5px;
}

.asset-card .badge {
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

.asset-card .chip {
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

.asset-card .tag-list {
  gap: 5px;
}

@media (max-width: 760px) {
  .market-rail {
    margin-top: 12px;
  }

  .product-panel h1 {
    font-size: 24px;
  }
}

/* Luvva marketplace-density refinement: structure and density based on the approved spec. */
:root {
  --bg: #0f0f13;
  --topbar: #111116;
  --surface: #1b1b21;
  --surface-2: #24242b;
  --surface-3: #303039;
  --surface-hover: #2b2b33;
  --line: rgba(255, 255, 255, 0.04);
  --line-strong: rgba(255, 255, 255, 0.09);
  --text: #f2f2f5;
  --soft: #d5d5dc;
  --muted: #a2a2ad;
  --faint: #797985;
  --brand: #27aefb;
  --brand-hover: #4bbcff;
  --radius: 8px;
  --radius-lg: 10px;
  --sidebar-width: 248px;
  --card-min-width: 236px;
  --cover-ratio: 1.52 / 1;
}

body {
  background: #0f0f13;
  font-size: 13px;
}

.topbar {
  min-height: 58px;
  padding: 8px 18px;
  grid-template-columns: 118px minmax(240px, 1fr) auto;
  gap: 18px;
  background: #121217;
  border-bottom: 0;
}

.brand {
  grid-template-columns: 42px 44px;
  gap: 16px;
}

.brand::after {
  content: "\203A";
  width: 58px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #111116;
  background: #ffffff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  transform: skew(-8deg);
}

.brand-title,
.brand-subtitle {
  display: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: #ffffff;
  color: #111116;
  border-radius: 4px;
  font-size: 10px;
}

.primary-nav {
  order: 1;
  gap: 4px;
}

.nav-link {
  min-height: 34px;
  padding: 0 14px;
  color: #c6c6cf;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
}

.nav-link.active,
.nav-link:hover {
  background: #2a2a31;
  color: #ffffff;
}

.header-actions {
  order: 2;
  gap: 10px;
}

.search-mini {
  width: min(700px, 44vw);
  height: 36px;
  background: #1d1d22;
  border: 0;
  border-radius: 999px;
  color: #8f8f99;
}

.search-mini:focus-within {
  background: #24242a;
  border: 0;
}

.icon-button,
.button,
.ghost-button,
.danger-button,
.user-pill,
.select,
.field,
.textarea {
  border: 0;
  box-shadow: none;
}

.icon-button,
.user-pill,
.select {
  background: #24242b;
}

.button {
  min-height: 40px;
  background: #27aefb;
  border-radius: 7px;
  color: #071014;
  font-weight: 900;
}

.ghost-button,
.danger-button {
  min-height: 38px;
  background: #34343d;
  border-radius: 7px;
  color: #f2f2f5;
  font-weight: 850;
}

.shell {
  grid-template-columns: 252px minmax(0, 1fr);
}

.sidebar {
  background: #111116;
  padding: 16px 12px 28px;
  border-right: 0;
}

.sidebar-title {
  margin: 18px 8px 8px;
  color: #f2f2f5;
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
}

.side-link {
  min-height: 31px;
  padding: 0 8px;
  border: 0;
  color: #b5b5bf;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 760;
}

.side-link:hover,
.side-link.active {
  background: #2a2a31;
  color: #ffffff;
}

.side-count {
  min-width: 28px;
  padding: 1px 6px;
  color: #d8d8df;
  background: #3b3b44;
  border-radius: 999px;
  font-size: 10px;
  text-align: center;
}

.content {
  padding: 18px 22px 44px;
}

.hero {
  min-height: 345px;
  width: calc(100% - 454px);
  border: 0;
  border-radius: 12px;
  background: #1b1b21;
}

.hero-copy {
  min-height: 345px;
  padding: 58px 52px;
  justify-content: center;
  gap: 14px;
}

.hero::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.4) 44%, rgba(0, 0, 0, 0.05));
}

.hero h1 {
  font-size: 38px;
  line-height: 1.05;
}

.hero p {
  max-width: 440px;
  color: #f1f1f5;
  font-size: 15px;
  font-weight: 650;
}

.eyebrow {
  background: transparent;
  border: 0;
  padding: 0;
  color: #f2f2f5;
  font-size: 13px;
}

.stats-row {
  display: none;
}

.hero-media img {
  min-height: 345px;
}

.market-rail {
  margin-top: 16px;
  margin-bottom: 8px;
  width: calc(100% - 454px);
}

.market-rail a {
  min-height: 42px;
  background: #1f1f26;
  border: 0;
  border-radius: 10px;
  color: #f2f2f5;
  padding: 0 18px;
}

.section {
  margin-top: 28px;
}

.section-header {
  margin-bottom: 12px;
}

.section-header h2,
.page-header h1 {
  font-size: 22px;
  font-weight: 950;
}

.section-header p,
.page-header p {
  display: none;
}

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

.category-grid {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
}

.tile {
  min-height: 76px;
  padding: 16px 18px;
  background: #1d1d23;
  border: 0;
  border-radius: 10px;
}

.tile:hover {
  background: #292932;
  border: 0;
}

.tile p,
.accent-bar {
  display: none;
}

.tile h3 {
  font-size: 15px;
  margin: 0;
}

.tile-meta {
  color: #a2a2ad;
}

.catalog-layout {
  display: block;
}

.filter-panel {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 18px;
}

.filter-group {
  margin: 0 !important;
}

.filter-label {
  display: none;
}

.filter-panel .field,
.filter-panel .select,
.filter-panel .ghost-button {
  min-height: 36px;
  background: #1f1f25;
  border: 1px solid #3a3a42;
  border-radius: 6px;
  color: #f2f2f5;
  font-size: 12px;
  font-weight: 800;
}

.filter-panel .field {
  width: 190px;
}

.filter-chip-list {
  max-width: 560px;
}

.sortbar {
  min-height: 38px;
  margin-bottom: 14px;
}

.sortbar .badge {
  background: transparent;
  color: #aaaab4;
}

.sortbar .select {
  width: 160px;
  min-height: 36px;
  background: #1f1f25;
  border: 1px solid #3a3a42;
  border-radius: 6px;
}

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

.asset-card {
  background: #1d1d23;
  border-radius: 8px;
  overflow: hidden;
  transform: none !important;
}

.asset-card:hover {
  background: #23232a;
}

.asset-cover {
  border: 0;
  border-radius: 0;
  aspect-ratio: 1.62 / 1;
  background: #18181d;
}

.asset-card:hover .asset-cover {
  border: 0;
}

.asset-card:hover .asset-cover img {
  transform: none;
}

.asset-card-body {
  min-height: 102px;
  padding: 10px 12px 12px;
  gap: 6px;
}

.asset-card .meta-row {
  order: 3;
}

.asset-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.asset-subtitle {
  color: #aaaab4;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.asset-card .tag-list,
.card-footer .ghost-button,
.card-actions {
  display: none;
}

.card-footer {
  margin-top: 0;
}

.card-footer .badge {
  background: transparent;
  padding: 0;
  color: #aaaab4;
}

.badge,
.chip {
  border: 0;
}

.badge.good {
  background: transparent;
  color: #42d878;
}

.badge.warn {
  background: transparent;
  color: #ffcf33;
}

.page-header {
  margin-bottom: 14px;
}

.detail-layout {
  grid-template-columns: minmax(560px, 900px) 320px;
  justify-content: center;
  gap: 20px;
  padding-top: 24px;
}

.gallery-main {
  height: 510px;
  background: #050509;
  border: 0;
  border-radius: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.gallery-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 840px;
  margin-top: 14px;
}

.gallery-thumb {
  border: 0;
  border-radius: 7px;
  background: #222229;
}

.panel {
  background: transparent;
  border: 0;
  padding: 0;
}

.gallery .panel {
  margin-top: 34px;
}

.gallery .panel h2 {
  font-size: 18px;
}

.product-panel {
  top: 78px;
  background: rgba(72, 82, 70, 0.68);
  backdrop-filter: blur(16px);
  border: 0;
  border-radius: 12px;
  padding: 24px;
}

.product-panel h1 {
  font-size: 22px;
  margin-top: 14px;
}

.product-panel .meta-row {
  gap: 6px;
}

.product-actions {
  gap: 10px;
  margin: 20px 0 22px;
}

.info-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-row {
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 9px 0;
  border-bottom: 0;
}

.info-label,
.info-value {
  font-size: 12px;
}

.table-wrap,
.form-panel,
.admin-nav,
.empty-state {
  border: 0;
  background: #1d1d23;
}

@media (min-width: 1181px) {
  .content > .hero + .market-rail + .section {
    margin-top: 32px;
  }
}

@media (max-width: 1180px) {
  .hero,
  .market-rail {
    width: 100%;
  }

  .catalog-layout {
    display: grid;
  }

  .filter-panel {
    display: grid;
  }

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

.hero-rail {
  position: absolute;
  right: 22px;
  top: 78px;
  width: 420px;
  display: grid;
  gap: 12px;
  z-index: 3;
}

.hero-rail-card {
  height: 76px;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  overflow: hidden;
  background: #1d1d23;
  border: 0;
  border-radius: 10px;
  color: #f2f2f5;
}

.hero-rail-card.active {
  background: #2a2a31;
}

.hero-rail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-rail-card span {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 0 16px;
}

.hero-rail-card small {
  color: #aaaab4;
  font-size: 11px;
  font-weight: 800;
}

.hero-rail-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 950;
}

@media (max-width: 1180px) {
  .hero-rail {
    position: static;
    width: 100%;
    margin-top: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-rail {
    grid-template-columns: 1fr;
  }
}

/* Admin table utilities */
.table-key {
  display: block;
  margin-top: 4px;
  color: #8f8f99;
  font-size: 12px;
  font-weight: 700;
}

.feature-table-wrap {
  overflow-x: auto;
}

.feature-table {
  min-width: 980px;
}

.feature-table td:nth-child(3) {
  min-width: 260px;
}

.settings-grid {
  margin-bottom: 22px;
}

.product-panel {
  background: #1d1d23;
  border: 0;
  color: var(--text);
}

.inline-editor-panel {
  margin-top: 18px;
  padding: 16px;
  background: #18181d;
  border-radius: 10px;
}

.inline-editor-form {
  margin-top: 12px;
  background: #202027;
}

.info-list.is-muted {
  opacity: 0.62;
}

.asset-add-card {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  color: var(--soft);
  background: #202027;
}

.asset-add-card:hover {
  background: #272730;
}

.asset-add-symbol {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: #30303a;
  border-radius: 10px;
  font-size: 30px;
  font-weight: 800;
}

.asset-add-card .asset-card-body {
  min-height: 0;
  padding: 0;
  text-align: center;
}


.topbar {
  grid-template-columns: minmax(128px, 190px) minmax(0, 1fr);
}

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

.topbar-flow .topbar-item {
  flex: 0 0 auto;
}

.topbar-flow .topbar-search-item {
  flex: 1 1 320px;
  min-width: 180px;
}

.home-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}

.home-feature-row .home-rail-block {
  min-width: 0;
}

.home-content .hero {
  width: 100%;
  height: var(--hero-height);
  min-height: var(--hero-height);
  border: 0;
  border-radius: 12px;
  background: #1b1b21;
}

.home-feature-row .hero-carousel {
  height: 100%;
  min-height: var(--hero-height);
}

.home-feature-row .hero-rail {
  position: static;
  width: 100%;
  height: auto;
  align-content: start;
}

.home-content .market-rail {
  width: 100%;
}

.home-content .home-market-block .market-rail {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .home-feature-row {
    grid-template-columns: 1fr;
  }

  .topbar-flow {
    flex-wrap: wrap;
  }

  .topbar-flow .topbar-search-item {
    order: 99;
    flex-basis: 100%;
  }
}
.sidebar-items {
  display: grid;
  gap: 4px;
}

/* Fab-similarity visual pass: self-authored dark marketplace layout. */
:root {
  --bg: #0e0e12;
  --topbar: #101014;
  --surface: #1c1c20;
  --surface-2: #24242a;
  --surface-3: #33333a;
  --surface-hover: #2a2a31;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f6;
  --soft: #d8d8df;
  --muted: #aaaab4;
  --faint: #777782;
  --brand: #1cb8ff;
  --brand-hover: #45c6ff;
  --topbar-height: 56px;
  --sidebar-width: 252px;
  --card-min-width: 292px;
  --hero-height: 354px;
  --radius: 7px;
  --radius-lg: 9px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
}

.topbar {
  min-height: var(--topbar-height);
  height: var(--topbar-height);
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 7px 18px;
  background: #101014;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  backdrop-filter: none;
}

.brand-cluster {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-cluster::after {
  display: none;
}

.brand-combo {
  width: 108px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 4px 0 8px;
  color: #f6f6f8;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.brand-combo:hover {
  background: #24242b;
}

.brand-logo-img {
  width: 76px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.brand-caret {
  color: #a9a9b3;
  font-size: 12px;
}

.topbar-flow {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar-flow .nav-link {
  min-height: 34px;
  padding: 0 8px;
  color: #c4c4cc;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.topbar-flow .nav-link:hover,
.topbar-flow .nav-link.active {
  color: #ffffff;
  background: #2a2a31;
}

.topbar-flow .topbar-search-item {
  flex: 1 1 520px;
  min-width: 260px;
}

.search-mini {
  width: auto;
  height: 36px;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  padding: 0 14px;
  color: #9b9ba5;
  background: #1d1d22;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 999px;
}

.search-mini:focus-within {
  background: #24242a;
  border-color: rgba(255, 255, 255, 0.1);
}

.search-mini input {
  min-width: 0;
  font-size: 13px;
}

.icon-button,
.user-pill,
.role-select {
  min-height: 34px;
  height: 34px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #c6c6cf;
}

.icon-button {
  width: 34px;
  font-size: 16px;
}

.icon-bookmark {
  width: 13px;
  height: 17px;
  display: inline-block;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  position: relative;
}

.icon-bookmark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -5px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  background: var(--topbar);
}

.icon-button:hover,
.user-pill:hover,
.role-select:hover {
  color: #ffffff;
  background: #27272e;
}

.role-select {
  width: 86px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.user-pill {
  padding: 0 8px;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.avatar {
  width: 22px;
  height: 22px;
  background: #303039;
  color: #e7e7ee;
}

.shell {
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: calc(100vh - var(--topbar-height));
}

.shell-detail {
  display: block;
}

.sidebar {
  top: var(--topbar-height);
  min-height: calc(100vh - var(--topbar-height));
  height: auto;
  overflow: visible;
  padding: 18px 12px 26px;
  background: #101015;
  border-right: 0;
}

.sidebar-folder {
  margin: 0 0 18px;
}

.sidebar-folder summary {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: #f0f0f3;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
}

.sidebar-folder summary::-webkit-details-marker,
.side-subtree summary::-webkit-details-marker {
  display: none;
}

.sidebar-folder summary::after {
  content: "⌃";
  color: #8d8d98;
  font-size: 12px;
}

.sidebar-folder:not([open]) summary::after {
  content: "⌄";
}

.sidebar-items {
  gap: 3px;
  margin-top: 5px;
}

.side-link,
.side-subtree > summary.side-link {
  min-height: 30px;
  padding: 0 8px;
  color: #b9b9c2;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 760;
}

.side-link:hover,
.side-link.active,
.side-subtree > summary.side-link:hover {
  color: #ffffff;
  background: #292930;
}

.side-count {
  min-width: 28px;
  padding: 1px 6px;
  color: #d9d9df;
  background: #34343c;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.side-subtree {
  margin: 0;
}

.side-child-list {
  display: grid;
  gap: 1px;
  margin: 1px 0 6px 28px;
}

.side-child {
  min-height: 26px;
  display: flex;
  align-items: center;
  color: #a4a4ae;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.side-child:hover {
  color: #ffffff;
}

.side-child.muted {
  color: #858590;
}

.explore-title {
  margin: 8px 8px 28px;
  color: #f6f6f8;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.explore-section {
  margin: 0 0 30px;
}

.product-section {
  margin-top: 2px;
}

.explore-section summary::-webkit-details-marker,
.product-details summary::-webkit-details-marker,
.product-tree-summary::-webkit-details-marker {
  display: none;
}

.explore-section-summary,
.explore-section-title {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 8px 12px;
  color: #f4f4f6;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
}

.explore-section-title {
  cursor: default;
}

.explore-section-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #a8a8b2;
  border-left: 2px solid #a8a8b2;
  transform: rotate(45deg);
}

.explore-section:not([open]) .explore-section-summary::after {
  transform: rotate(225deg);
}

.explore-list,
.product-list,
.product-children {
  display: grid;
  gap: 6px;
}

.explore-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: #a9a9b2;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 780;
}

.explore-row.explore-expandable,
.product-root {
  grid-template-columns: 11px 20px minmax(0, 1fr);
}

.explore-row:hover,
.explore-row.active {
  color: #f5f5f7;
  background: transparent;
}

.explore-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #aaaab4;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.explore-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.explore-icon .icon-letter {
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
}

.tone-neutral {
  color: #aaaab4;
}

.tone-purple {
  color: #b692ff;
}

.tone-pink {
  color: #ef83d9;
}

.tone-rose {
  color: #ff91bd;
}

.tone-orange {
  color: #ff926f;
}

.explore-chevron {
  width: 8px;
  height: 8px;
  justify-self: center;
  border-right: 2px solid #aaaab4;
  border-bottom: 2px solid #aaaab4;
  transform: rotate(-45deg);
}

.product-details {
  margin: 0;
}

.product-tree-summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.product-tree-summary::-webkit-details-marker {
  display: none;
}

.product-tree-summary .explore-row {
  pointer-events: auto;
}

.product-tree-link {
  min-width: 0;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-details[open] > .product-tree-summary .explore-chevron {
  transform: rotate(45deg);
}

.product-section .explore-section-title {
  min-height: 28px;
  margin: 0 15px 10px;
  font-size: 17px;
  letter-spacing: 0;
}

.product-list {
  gap: 9px;
}

.product-section .explore-row {
  min-height: 38px;
  grid-template-columns: 13px 22px minmax(0, 1fr);
  gap: 9px;
  margin: 0 3px;
  padding: 0 14px 0 calc(14px + var(--tree-depth, 0) * 18px);
  color: #a8a8b0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 780;
}

.product-section .explore-row:hover {
  color: #d8d8df;
  background: #26262b;
}

.product-section .explore-row.active {
  color: #b8b8c0;
  background: #36363b;
}

.product-section .explore-row.active .explore-chevron {
  border-color: #bebec7;
}

.product-section .explore-name {
  overflow: visible;
  text-overflow: clip;
}

.product-children {
  margin: 5px 0 8px;
  gap: 5px;
}

.product-divider {
  height: 1px;
  margin: 8px 3px 14px;
  background: rgba(255, 255, 255, 0.13);
}

.product-list .explore-row {
  min-height: 38px;
}

.content {
  padding: 18px 22px 46px;
}

.detail-content {
  padding-left: 22px;
  padding-right: 22px;
}

.home-content {
  padding-top: 18px;
}

.home-feature-row {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 14px;
  align-items: stretch;
}

.home-content .hero {
  width: 100%;
  height: var(--hero-height);
  min-height: var(--hero-height);
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #17171c;
  box-shadow: none;
}

.home-content .hero::after {
  display: none;
}

.hero-carousel {
  position: relative;
  height: 100%;
  min-height: var(--hero-height);
  overflow: hidden;
  border-radius: 10px;
}

.hero-carousel-media,
.hero-carousel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel-media img {
  object-fit: cover;
}

.hero-carousel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.05));
}

.hero-carousel-panel {
  position: absolute;
  left: 50px;
  top: 50%;
  z-index: 2;
  width: min(420px, calc(100% - 96px));
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.hero-carousel-panel .eyebrow {
  min-height: 0;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 900;
}

.hero-carousel-panel h1 {
  max-width: 460px;
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 950;
}

.hero-carousel-panel p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.hero-feature-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-feature-card strong,
.hero-feature-card small {
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.hero-feature-card .badge {
  min-height: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
}

.hero-carousel-panel .action-row {
  gap: 10px;
}

.hero-carousel-panel .button {
  min-height: 38px;
  padding: 0 15px;
  color: #061116;
  background: var(--brand);
  border-radius: 7px;
}

.hero-carousel-panel .ghost-button {
  min-height: 38px;
  padding: 0 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 7px;
}

.hero-carousel-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(18, 18, 22, 0.58);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.hero-dots {
  display: flex;
  gap: 5px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.hero-dot.active {
  width: 18px;
  background: #ffffff;
}

.hero-carousel-strip,
.stats-row {
  display: none;
}

.hero-rail {
  position: static;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-content: stretch;
}

.home-feature-row .hero-rail {
  height: 100%;
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.hero-rail-card {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
  color: #f4f4f6;
  background: #1b1b20;
  border: 0;
  border-radius: 9px;
}

.hero-rail-card:hover,
.hero-rail-card.active {
  background: #28282f;
}

.hero-rail-card img {
  width: 104px;
  height: 100%;
  object-fit: cover;
}

.hero-rail-card span {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 0 16px;
}

.hero-rail-card small {
  color: #a9a9b3;
  font-size: 11px;
  font-weight: 850;
}

.hero-rail-card strong {
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 950;
}

.home-sale-note {
  margin: 14px 0 0;
  color: #9e9ea8;
  font-size: 12px;
  font-weight: 700;
}

.home-market-block .market-rail {
  margin-top: 14px;
  margin-bottom: 4px;
  width: 100%;
}

.market-rail a {
  min-height: 36px;
  padding: 0 14px;
  color: #eeeef2;
  background: #1e1e24;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.market-rail a:hover {
  background: #2a2a31;
}

.section {
  margin-top: 24px;
}

.section-header {
  align-items: center;
  margin-bottom: 12px;
}

.section-header h2,
.page-header h1,
.panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.section-header p,
.page-header p {
  display: none;
}

.section-header .ghost-button {
  min-height: 32px;
  padding: 0 11px;
  color: #d6d6dd;
  background: #24242b;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
}

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

.category-grid {
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: 12px;
}

.tile {
  min-height: 66px;
  padding: 14px 16px;
  color: #ffffff;
  background: #1b1b20;
  border: 0;
  border-radius: 9px;
}

.tile:hover {
  background: #292930;
  border: 0;
}

.channel-tile {
  min-height: 66px;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  display: grid;
  align-items: center;
  align-content: center;
  gap: 12px;
}

.channel-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #111116;
  background: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
}

.channel-tile h3,
.category-tile h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 950;
}

.channel-tile p,
.category-tile p,
.channel-tile .accent-bar {
  display: none;
}

.channel-tile .tile-meta {
  justify-self: end;
  display: block;
  color: #cfcfd7;
}

.channel-tile .tile-meta span {
  display: none;
}

.channel-tile .tile-meta::after {
  content: "›";
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

.category-tile .tile-meta {
  display: none;
}

.category-tile {
  min-height: 72px;
  justify-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.category-glyph {
  display: grid;
  place-items: center;
  color: #b794ff;
  font-size: 24px;
  line-height: 1;
}

.catalog-page {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 8px;
}

.catalog-layout,
.catalog-page {
  display: block;
}

.catalog-note {
  margin: 0 0 18px;
  color: #8f8f99;
  font-size: 12px;
  font-weight: 750;
}

.filter-panel {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
}

.filter-label {
  display: none;
}

.filter-group {
  margin: 0 !important;
}

.filter-panel .field,
.filter-panel .select,
.filter-panel .ghost-button,
.sortbar .select {
  min-height: 32px;
  padding: 0 11px;
  color: #f2f2f5;
  background: #1d1d23;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
}

.filter-panel .field {
  width: 184px;
}

.filter-panel .select {
  width: auto;
  min-width: 94px;
  max-width: 148px;
}

.filter-chip-list {
  max-width: 560px;
  gap: 5px;
}

.chip,
.badge {
  min-height: 24px;
  padding: 0 8px;
  color: #d7d7de;
  background: #2a2a31;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.chip.active,
.badge.good {
  color: #0b1114;
  background: var(--brand);
}

.badge.warn {
  color: #1a1304;
  background: #f6c84f;
}

.sortbar {
  flex: 0 0 auto;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.sortbar .select {
  width: 166px;
  min-width: 166px;
}

.filter-settings-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #d8d8df;
  background: #1d1d23;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  cursor: pointer;
}

.filter-settings-button span,
.filter-settings-button span::before,
.filter-settings-button span::after {
  width: 15px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  border-radius: 999px;
}

.filter-settings-button span::before,
.filter-settings-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.filter-settings-button span::before {
  top: -5px;
  width: 10px;
}

.filter-settings-button span::after {
  top: 5px;
  width: 12px;
  left: 3px;
}

.asset-grid {
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min-width), 1fr));
  gap: 14px 12px;
}

.asset-card {
  overflow: hidden;
  background: #1b1b20;
  border: 0;
  border-radius: 8px;
  transform: none !important;
}

.asset-card.featured {
  box-shadow: inset 0 0 0 2px #f47b20;
}

.asset-card:hover {
  background: #24242b;
}

.asset-cover {
  aspect-ratio: 16 / 9;
  background: #141418;
  border: 0;
  border-radius: 0;
}

.asset-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}

.card-actions {
  top: 7px;
  right: 7px;
}

.asset-cover-badges {
  position: absolute;
  left: 9px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.asset-cover-badges span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  color: #ffffff;
  background: rgba(20, 20, 24, 0.72);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.card-icon {
  width: 30px;
  height: 30px;
  color: #ffffff;
  background: rgba(12, 12, 16, 0.62);
  border: 0;
  border-radius: 7px;
  opacity: 0;
}

.asset-card:hover .card-icon,
.card-icon.active {
  opacity: 1;
}

.asset-card-body {
  min-height: 76px;
  padding: 8px 12px 10px;
  display: grid;
  align-content: start;
  gap: 4px;
}

.asset-title-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.asset-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 950;
}

.asset-creator {
  margin: 0;
  overflow: hidden;
  color: #a9a9b3;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 750;
}

.asset-market-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 2px;
}

.asset-price {
  overflow: hidden;
  color: #cfcfd6;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.asset-rating {
  flex: 0 0 auto;
  color: #ffc83d;
  font-size: 12px;
  font-weight: 900;
}

.discount-pill {
  flex: 0 0 auto;
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: #102006;
  background: #9ad94c;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
}

.asset-old-price {
  color: #8b8b95;
  font-size: 11px;
  font-weight: 800;
  text-decoration: line-through;
}

.detail-page-header {
  max-width: 1240px;
  margin: 0 auto 10px;
}

.detail-page-header .breadcrumbs {
  color: #8f8f99;
}

.detail-layout {
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: minmax(560px, 890px) 324px;
  gap: 20px;
  justify-content: center;
  align-items: start;
  padding-top: 6px;
}

.gallery {
  gap: 14px;
}

.gallery-main {
  height: min(50vw, 506px);
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050507;
  border: 0;
  border-radius: 10px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.gallery-strip {
  max-width: 840px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.gallery-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #232329;
  border: 0;
  border-radius: 7px;
}

.gallery-thumb:first-child {
  outline: 2px solid #ffffff;
  outline-offset: 0;
}

.detail-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}

.detail-tabs span,
.detail-tabs a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #d6d6dd;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.detail-tabs span.active,
.detail-tabs a.active {
  color: #111116;
  background: #ffffff;
  border-color: #ffffff;
}

.gallery .panel {
  margin-top: 10px;
  padding: 0;
  background: transparent;
  border: 0;
}

.gallery .panel h2 {
  margin-bottom: 16px;
  font-size: 18px;
}

.gallery .panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 950;
}

.gallery .panel p {
  display: block;
  max-width: 760px;
  color: #d8d8df;
  font-size: 14px;
  line-height: 1.7;
}

.product-panel {
  position: sticky;
  top: calc(var(--topbar-height) + 26px);
  overflow: hidden;
  padding: 0;
  color: #f2f2f5;
  background: #202024;
  border: 0;
  border-radius: 10px;
}

.product-panel > * {
  margin-left: 24px;
  margin-right: 24px;
}

.publisher-pill {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: #f2f2f5;
  background: #5a5a60;
  border-radius: 999px;
  padding: 0 10px 0 5px;
  font-size: 12px;
  font-weight: 850;
}

.publisher-pill span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #111116;
  background: #ffffff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
}

.product-panel h1 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 950;
}

.detail-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

.detail-trail span {
  color: #8f8f99;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #ffffff;
  font-size: 13px;
}

.detail-rating span {
  color: #ffc83d;
  letter-spacing: 1px;
}

.detail-rating small {
  color: #aaaab4;
}

.product-panel > p {
  display: block;
  margin-top: 12px;
  color: #c9c9d0;
  font-size: 13px;
  line-height: 1.55;
}

.license-box {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding: 14px 14px;
  background: #303036;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
}

.license-box span {
  color: #e8e8ed;
  font-size: 13px;
  font-weight: 900;
}

.license-box strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
}

.license-box small {
  color: #aaaab4;
  line-height: 1.45;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.product-actions .button,
.product-actions .ghost-button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 950;
}

.product-actions .button {
  color: #061116;
  background: var(--brand);
}

.product-actions .ghost-button {
  color: #ffffff;
  background: #57575c;
}

.format-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.format-section h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 950;
}

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

.format-pills span,
.format-pills a {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #e8e8ee;
  background: #55555b;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.format-pills a:hover,
.detail-chip-row a:hover,
.detail-link:hover {
  color: #ffffff;
  background: #4a4a52;
}

.product-panel .inline-editor-panel {
  margin-top: 18px;
  padding: 14px;
  background: #17171c;
  border-radius: 8px;
}

.product-panel .inline-editor-panel h2 {
  font-size: 15px;
}

.product-panel .inline-editor-form {
  margin: 12px 0 0;
  padding: 12px;
  background: #232329;
}

.info-list {
  margin: 24px 0 0;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.info-row {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  border-bottom: 0;
}

.info-label,
.info-value {
  font-size: 12px;
}

.info-label {
  color: #a8a8b2;
  font-weight: 850;
}

.info-value {
  color: #d8d8df;
}

.table-wrap,
.form-panel,
.admin-nav,
.empty-state {
  background: #1b1b20;
  border: 0;
  border-radius: 9px;
}

.asset-add-card {
  background: #202027;
}

@media (max-width: 1180px) {
  .topbar {
    height: auto;
    grid-template-columns: 1fr;
  }

  .topbar-flow {
    flex-wrap: wrap;
  }

  .topbar-flow .topbar-search-item {
    order: 99;
    flex-basis: 100%;
  }

  .home-feature-row,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .hero-rail-card {
    min-height: 82px;
  }

  .product-panel {
    position: static;
  }

  .gallery-main {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --card-min-width: 170px;
  }

  .content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-cluster {
    gap: 8px;
  }

  .brand-name {
    min-width: 64px;
  }

  .hero-carousel-panel {
    left: 22px;
    width: calc(100% - 44px);
  }

  .hero-carousel-panel h1 {
    font-size: 30px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

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

  .filter-panel .field,
  .filter-panel .select {
    width: 100%;
  }

  .filter-group {
    flex: 1 1 100%;
  }

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

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

  .product-panel > * {
    margin-left: 16px;
    margin-right: 16px;
  }
}



/* Current Fab reference refinement */
:root {
  --bg: #101014;
  --topbar: #101014;
  --surface: #1c1c20;
  --surface-2: #202024;
  --surface-3: #2d3130;
  --card-min-width: 300px;
}

body {
  background: #101014;
}

.content {
  background: #101014;
}

.home-category-grid {
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 10px;
}

.home-category-tile {
  min-height: 68px;
  padding: 10px 14px 8px;
  display: grid;
  grid-template-rows: 26px auto;
  justify-items: center;
  align-content: center;
  gap: 5px;
  background: #1c1c20;
  border-radius: 6px;
}

.home-category-tile:hover {
  background: #242428;
}

.home-category-tile .category-glyph {
  width: 22px;
  height: 22px;
  color: #b997ff;
  font-size: 0;
}

.home-category-tile .category-glyph svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-category-tile h3 {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
}

.asset-grid {
  gap: 14px;
}

.asset-card {
  background: #1c1c20;
  border-radius: 8px;
  box-shadow: none;
}

.asset-card.featured {
  box-shadow: none;
}

.asset-card:hover {
  background: #222228;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.asset-cover {
  aspect-ratio: 1.78 / 1;
}

.asset-card-body {
  min-height: 74px;
  padding: 8px 10px 10px;
  gap: 3px;
}

.asset-title {
  font-size: 12px;
  line-height: 1.25;
}

.asset-creator,
.asset-price {
  font-size: 11px;
}

.asset-rating {
  font-size: 11px;
}

.detail-content {
  min-height: calc(100vh - var(--topbar-height));
  padding-top: 24px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 38% 12%, rgba(37, 37, 43, 0.42), rgba(16, 16, 20, 0.68) 34%, rgba(16, 16, 20, 0.98) 70%),
    #101014;
}

.detail-layout {
  max-width: 1280px;
  grid-template-columns: minmax(0, 900px) 330px;
  gap: 22px;
  align-items: start;
  padding-top: 0;
}

.gallery {
  gap: 18px;
}

.gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3px;
  overflow: hidden;
  background: #15181a;
  border-radius: 9px;
}

.gallery-main {
  height: 520px;
  min-height: 520px;
  border-radius: 0;
  background: #141619;
}

.gallery-main img {
  object-fit: cover;
}

.gallery-side-strip {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 3px;
  min-height: 520px;
}

.gallery-side-thumb {
  overflow: hidden;
  background: #1c1c20;
}

.gallery-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-strip {
  max-width: none;
  grid-template-columns: repeat(6, minmax(0, 128px));
  justify-content: center;
  gap: 10px;
}

.gallery-thumb {
  border-radius: 6px;
  background: #232329;
}

.gallery-thumb:first-child {
  outline: 2px solid #ffffff;
}

.detail-tabs {
  margin-top: 28px;
}

.detail-tabs span,
.detail-tabs a {
  min-height: 34px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.18);
}

.detail-description-panel,
.detail-tags-section,
.more-from-section {
  margin-top: 22px;
}

.detail-description-panel p {
  max-width: 880px;
  margin: 0 0 13px;
  color: #e2e2e6;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 750;
}

.detail-description-panel a,
.detail-description-panel strong {
  color: #22b9ff;
}

.detail-wide-card {
  margin-top: 44px;
  padding: 28px 32px 34px;
  background: #1c1c20;
  border-radius: 9px;
}

.detail-wide-card h2,
.detail-tags-section h2,
.more-from-section h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.detail-format-pills {
  margin-bottom: 28px;
}

.technical-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
}

.technical-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
}

.technical-grid p {
  margin: 0 0 7px;
  color: #e0e0e4;
  font-size: 13px;
  font-weight: 750;
}

.detail-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-chip-row span,
.detail-chip-row a {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #e7e7eb;
  background: #3a3a42;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.more-from-section .section-header.compact {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.more-from-section .asset-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-panel {
  top: calc(var(--topbar-height) + 24px);
  background: #1c1c20;
  border-radius: 10px;
}

.product-panel > * {
  margin-left: 0;
  margin-right: 0;
}

.product-panel-section {
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.32);
}

.product-panel-section:last-child {
  border-bottom: 0;
}

.publisher-pill {
  margin-top: 0;
  background: #3a3a42;
}

.product-panel h1 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.detail-rating {
  margin-top: 12px;
}

.license-panel-section h2,
.product-panel .format-section h2,
.product-panel .info-list h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
}

.license-select {
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 10px;
  padding: 12px 14px;
  color: #f2f2f5;
  background: #25252b;
  border: 1px solid #3a3a42;
  border-radius: 6px;
}

.license-select strong {
  font-size: 13px;
}

.license-select small {
  grid-column: 1 / -1;
  color: #b9b9c2;
  font-size: 12px;
  font-weight: 800;
}

.tax-note {
  display: block;
  margin-top: 7px;
  color: #a9a9b1;
  font-size: 11px;
  font-weight: 800;
}

.product-actions {
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 10px;
}

.product-actions .button {
  grid-column: 1 / -1;
  min-height: 38px;
  background: #25b8f7;
}

.product-actions .ghost-button {
  min-height: 38px;
  background: #3a3a42;
}

.bookmark-action {
  width: 38px;
  min-height: 38px;
  color: #ffffff;
  background: #3a3a42;
  border: 0;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 950;
}

.favorite-toggle-action {
  grid-column: 1 / -1;
}

.favorite-toggle-action.active {
  background: #2f2f36;
}

.admin-edit-action {
  grid-column: 1 / -1;
}

.product-panel .format-section {
  margin-top: 0;
  padding-top: 22px;
}

.product-panel .info-list {
  margin: 0;
  padding-top: 22px;
  padding-bottom: 22px;
}

.product-panel .info-row {
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 7px 0;
}

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

.panel-footer-actions .ghost-button {
  min-height: 32px;
  justify-content: center;
  background: #3a3a42;
  border: 0;
}

@media (max-width: 1180px) {
  .gallery-stage {
    grid-template-columns: 1fr;
  }

  .gallery-side-strip {
    display: none;
  }

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

  .more-from-section .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Detail and home pass 2 calibration */
.detail-layout {
  max-width: 1210px;
  grid-template-columns: minmax(0, 860px) 328px;
  gap: 24px;
}

.gallery-stage {
  grid-template-columns: minmax(0, 620px) 238px;
  justify-content: center;
}

.gallery-main,
.gallery-side-strip {
  height: 492px;
  min-height: 492px;
}

.gallery-strip {
  grid-template-columns: repeat(6, minmax(0, 112px));
}

.detail-wide-card {
  max-width: 860px;
}

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

.home-category-tile {
  min-height: 64px;
  border-radius: 6px;
}

.home-category-tile .category-glyph svg {
  width: 18px;
  height: 18px;
}

/* Catalog target-image calibration */
.catalog-shell-root {
  --sidebar-width: 248px;
  --card-min-width: 260px;
  --catalog-card-bg: #1c1c20;
  --catalog-control-bg: #19191e;
  --catalog-control-border: #3a3a42;
}

.catalog-shell {
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: calc(100vh - var(--topbar-height));
}

.catalog-shell .sidebar {
  top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
  min-height: calc(100vh - var(--topbar-height));
  overflow-y: auto;
  padding: 19px 8px 22px;
  background: #101014;
  border-right: 1px solid #29292f;
  scrollbar-color: #3a3a40 transparent;
  scrollbar-width: thin;
}

.catalog-shell .sidebar::-webkit-scrollbar {
  width: 7px;
}

.catalog-shell .sidebar::-webkit-scrollbar-thumb {
  background: #3a3a40;
  border-radius: 999px;
}

.catalog-shell .catalog-content {
  min-height: calc(100vh - var(--topbar-height));
  padding: 18px 26px 30px 14px;
  background: #101014;
}

.catalog-shell .explore-title {
  margin: 1px 2px 25px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.catalog-shell .explore-section {
  margin: 0 0 27px;
}

.catalog-shell .explore-section-summary,
.catalog-shell .explore-section-title {
  min-height: 22px;
  margin: 0 2px 11px;
  color: #f1f1f4;
  font-size: 12px;
  font-weight: 950;
}

.catalog-shell .explore-section-summary::after {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
}

.catalog-shell .explore-list,
.catalog-shell .product-list,
.catalog-shell .product-children {
  gap: 3px;
}

.catalog-shell .explore-row {
  min-height: 24px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 6px;
  padding: 0 5px;
  color: #a9a9b1;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 760;
}

.catalog-shell .explore-icon {
  width: 16px;
  height: 16px;
  font-size: 13px;
}

.catalog-shell .explore-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.catalog-shell .explore-icon .icon-letter {
  font-size: 13px;
}

.catalog-shell .product-section .explore-section-title {
  min-height: 22px;
  margin: 0 2px 9px;
  font-size: 12px;
}

.catalog-shell .product-section .explore-row {
  min-height: 26px;
  grid-template-columns: 12px 16px minmax(0, 1fr) auto;
  gap: 6px;
  margin: 0;
  padding: 0 8px 0 calc(6px + var(--tree-depth, 0) * 18px);
  color: #a9a9b1;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 780;
}

.catalog-shell .product-section .explore-row.active {
  color: #e0e0e5;
  background: #38383f;
}

.catalog-shell .product-section .explore-row:hover {
  color: #eeeeF2;
  background: #29292f;
}

.catalog-shell .product-children {
  margin: 1px 0 2px;
}

.catalog-shell .product-children .product-children .product-tree-row.leaf {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-left: calc(14px + var(--tree-depth, 0) * 18px);
}

.catalog-shell .product-children .product-children .product-tree-row.leaf .explore-chevron,
.catalog-shell .product-children .product-children .product-tree-row.leaf .explore-icon {
  display: none;
}

.catalog-shell .product-divider {
  margin: 9px 0 10px;
  background: rgba(255, 255, 255, 0.12);
}

.catalog-shell .explore-chevron {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
}

.explore-count {
  min-width: 28px;
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: #d9d9df;
  background: #3a3a40;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

.catalog-shell .catalog-toolbar {
  gap: 14px;
  margin: 0 0 8px;
}

.catalog-shell .filter-panel {
  gap: 7px;
  margin: 0;
}

.catalog-shell .filter-panel .select,
.catalog-shell .sortbar .select {
  min-height: 27px;
  height: 27px;
  padding: 0 10px;
  color: #d9d9df;
  background: var(--catalog-control-bg);
  border: 1px solid var(--catalog-control-border);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 850;
}

.catalog-shell .filter-panel .select {
  min-width: 75px;
  max-width: 128px;
}

.catalog-shell .filter-panel .filter-group:nth-child(2) .select {
  min-width: 96px;
}

.catalog-shell .sortbar {
  min-height: 27px;
  gap: 7px;
}

.catalog-shell .sortbar .select {
  width: 154px;
  min-width: 154px;
}

.catalog-shell .filter-settings-button {
  width: 28px;
  height: 27px;
  background: var(--catalog-control-bg);
  border-color: var(--catalog-control-border);
  border-radius: 5px;
}

.catalog-shell .catalog-note {
  margin: 10px 0 17px;
  color: #9a9aa3;
  font-size: 11px;
  font-weight: 750;
}

.catalog-shell .asset-grid {
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min-width), 1fr));
  gap: 14px;
}

.catalog-shell .asset-card {
  background: var(--catalog-card-bg);
  border-radius: 8px;
  box-shadow: none;
}

.catalog-shell .asset-card:hover {
  background: #222228;
  box-shadow: none;
}

.catalog-shell .asset-cover {
  aspect-ratio: 1.78 / 1;
}

.catalog-shell .asset-card-body {
  min-height: 64px;
  padding: 8px 10px 9px;
  gap: 2px;
}

.catalog-shell .asset-title {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 950;
}

.catalog-shell .asset-creator,
.catalog-shell .asset-price {
  font-size: 11px;
  line-height: 1.25;
}

.catalog-shell .asset-rating {
  font-size: 11px;
}

.catalog-shell .discount-pill {
  min-height: 17px;
  padding: 0 6px;
  font-size: 10px;
}

.catalog-shell .asset-cover-badges {
  left: 8px;
  bottom: 7px;
}

.catalog-shell .asset-cover-badges span {
  min-height: 18px;
  padding: 0 6px;
  font-size: 10px;
}

/* Unified browse sidebar and six-card material rows */
:root {
  --sidebar-width: 248px;
}

.shell:not(.shell-detail) {
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.shell:not(.shell-detail) .sidebar {
  width: var(--sidebar-width);
  box-sizing: border-box;
  top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
  min-height: calc(100vh - var(--topbar-height));
  overflow-y: auto;
  padding: 19px 8px 22px;
  background: #101014;
  border-right: 1px solid #29292f;
  scrollbar-color: #3a3a40 transparent;
  scrollbar-width: thin;
}

.shell:not(.shell-detail) .sidebar::-webkit-scrollbar {
  width: 7px;
}

.shell:not(.shell-detail) .sidebar::-webkit-scrollbar-thumb {
  background: #3a3a40;
  border-radius: 999px;
}

.shell:not(.shell-detail) .explore-title {
  margin: 1px 2px 25px;
  color: #f6f6f8;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.shell:not(.shell-detail) .explore-section {
  margin: 0 0 27px;
}

.shell:not(.shell-detail) .explore-section-summary,
.shell:not(.shell-detail) .explore-section-title {
  min-height: 22px;
  margin: 0 2px 11px;
  color: #f1f1f4;
  font-size: 12px;
  font-weight: 950;
}

.shell:not(.shell-detail) .explore-section-summary::after {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
}

.shell:not(.shell-detail) .explore-list,
.shell:not(.shell-detail) .product-list,
.shell:not(.shell-detail) .product-children {
  gap: 3px;
}

.shell:not(.shell-detail) .explore-row {
  min-height: 24px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 6px;
  padding: 0 5px;
  color: #a9a9b1;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 760;
}

.shell:not(.shell-detail) .explore-row.explore-expandable,
.shell:not(.shell-detail) .product-root,
.shell:not(.shell-detail) .product-section .explore-row {
  grid-template-columns: 12px 16px minmax(0, 1fr) auto;
}

.shell:not(.shell-detail) .product-section .explore-row.no-icon {
  grid-template-columns: 12px minmax(0, 1fr) auto;
}

.shell:not(.shell-detail) .explore-icon {
  width: 16px;
  height: 16px;
  font-size: 13px;
}

.shell:not(.shell-detail) .explore-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.shell:not(.shell-detail) .explore-icon .icon-letter {
  font-size: 13px;
}

.shell:not(.shell-detail) .product-section .explore-section-title {
  min-height: 22px;
  margin: 0 2px 9px;
  font-size: 12px;
}

.shell:not(.shell-detail) .product-section .explore-row {
  min-height: 26px;
  gap: 6px;
  margin: 0;
  padding: 0 8px 0 calc(6px + var(--tree-depth, 0) * 18px);
  font-weight: 780;
}

.shell:not(.shell-detail) .product-section .explore-row.active {
  color: #e0e0e5;
  background: #38383f;
}

.shell:not(.shell-detail) .product-section .explore-row:hover {
  color: #eeeef2;
  background: #29292f;
}

.shell:not(.shell-detail) .product-children {
  margin: 1px 0 2px;
}

.shell:not(.shell-detail) .product-children .product-tree-row.leaf {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-left: calc(30px + var(--tree-depth, 0) * 18px);
}

.shell:not(.shell-detail) .product-children .product-tree-row.has-children.no-icon {
  grid-template-columns: 12px minmax(0, 1fr) auto;
  padding-left: calc(6px + var(--tree-depth, 0) * 18px);
}

.shell:not(.shell-detail) .product-children .product-tree-row.leaf .explore-chevron,
.shell:not(.shell-detail) .product-children .product-tree-row.leaf .explore-icon {
  display: none;
}

.shell:not(.shell-detail) .product-children .product-children .product-tree-row.leaf {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-left: calc(14px + var(--tree-depth, 0) * 18px);
}

.shell:not(.shell-detail) .product-children .product-children .product-tree-row.leaf .explore-chevron,
.shell:not(.shell-detail) .product-children .product-children .product-tree-row.leaf .explore-icon {
  display: none;
}

.shell:not(.shell-detail) .product-divider {
  margin: 9px 0 10px;
  background: rgba(255, 255, 255, 0.12);
}

.shell:not(.shell-detail) .explore-chevron {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
}

.shell:not(.shell-detail) .asset-grid,
.catalog-shell .asset-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.shell:not(.shell-detail) .asset-card {
  background: #1c1c20;
  border-radius: 8px;
  box-shadow: none;
}

.shell:not(.shell-detail) .asset-cover {
  aspect-ratio: 1.78 / 1;
}

.shell:not(.shell-detail) .asset-card-body {
  min-height: 74px;
  padding: 8px 10px 10px;
  gap: 3px;
}

.shell:not(.shell-detail) .asset-title {
  font-size: 12px;
  line-height: 1.25;
}

.shell:not(.shell-detail) .asset-creator,
.shell:not(.shell-detail) .asset-price,
.shell:not(.shell-detail) .asset-rating {
  font-size: 11px;
  line-height: 1.25;
}

/* Detail page clickable/edit-in-place controls */
.gallery-thumb.active,
.gallery-side-thumb.active,
.gallery-thumb:hover,
.gallery-side-thumb:hover {
  outline: 2px solid #ffffff;
  outline-offset: 0;
}

.detail-tabs a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.detail-tabs a.active {
  color: #111116;
  background: #ffffff;
  border-color: #ffffff;
}

.detail-link,
.strong-link {
  color: #22b9ff;
  font-weight: 900;
}

.strong-link {
  display: inline-flex;
}

.detail-chip-row a {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #e7e7eb;
  background: #3a3a42;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.format-pills a {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #e8e8ee;
  background: #55555b;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.detail-inline-form-shell {
  display: none;
}

.detail-edit-control {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.detail-edit-control > span {
  color: #a9a9b1;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
}

.detail-edit-control .field,
.detail-edit-control .select,
.detail-edit-control .textarea {
  min-height: 30px;
  padding: 0 9px;
  color: #f4f4f6;
  background: #25252b;
  border: 1px solid #3a3a42;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.detail-edit-control .textarea {
  min-height: 92px;
  padding-top: 9px;
}

.detail-title-editor .field {
  min-height: 38px;
  font-size: 20px;
  font-weight: 950;
}

.detail-inline-short {
  width: min(210px, 100%);
  display: inline-grid;
  vertical-align: middle;
  margin: 0 6px;
}

.detail-inline-url,
.detail-inline-long,
.detail-cover-editor {
  margin: 10px 0;
}

.detail-edit-pills {
  align-items: flex-start;
}

.detail-pill-editor {
  width: min(180px, 100%);
}

.detail-pill-editor.wide {
  width: min(280px, 100%);
}

.detail-edit-select {
  min-width: 126px;
}

.product-panel .detail-edit-select .select {
  min-height: 28px;
}

.detail-save-action {
  background: #3a3a42;
}

.image-picker-control {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.image-picker-control input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.image-picker-button {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #f4f4f6;
  background: #3a3a42;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.image-picker-control small {
  color: #a9a9b1;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
}

.detail-cover-editor + .image-picker-control {
  margin: -2px 0 18px;
}

.gallery-main {
  position: relative;
}

.gallery-zoom-action {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #f6f6f8;
  background: rgba(37, 37, 43, 0.82);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 950;
}

.gallery-strip-wrap {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
}

.gallery-nav-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #f4f4f6;
  background: #2a2a31;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

.gallery-thumb:first-child {
  outline: 0;
}

.gallery-thumb.active,
.gallery-side-thumb.active {
  outline: 2px solid #ffffff;
}

.gallery-edit-tools {
  display: grid;
  gap: 12px;
  margin-top: -2px;
}

.gallery-edit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 10px;
}

.set-cover-button {
  min-height: 30px;
  background: #3a3a42;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 48px 72px;
  background: rgba(5, 5, 8, 0.92);
}

.gallery-lightbox img {
  max-width: min(1280px, 88vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: #1c1c20;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  color: #f8f8fa;
  background: #2a2a31;
  border-radius: 999px;
}

.gallery-lightbox-close {
  top: 26px;
  right: 30px;
  width: 42px;
  height: 42px;
  font-size: 30px;
  line-height: 1;
}

.gallery-lightbox-nav {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  font-size: 34px;
}

.gallery-lightbox-nav.prev {
  left: 28px;
}

.gallery-lightbox-nav.next {
  right: 28px;
}

.gallery-lightbox span {
  position: fixed;
  bottom: 24px;
  color: #d9d9df;
  font-size: 13px;
  font-weight: 850;
}

.detail-rich-text {
  max-width: 880px;
  margin-bottom: 13px;
  color: #e2e2e6;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 750;
}

.chip-editor {
  display: grid;
  gap: 10px;
  width: 100%;
}

.chip-editor-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.chip-editor-head span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.chip-editor-head small {
  color: #9b9ba5;
  font-size: 11px;
  font-weight: 750;
}

.chip-selected-list,
.chip-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-editor-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: #e8e8ee;
  background: #3a3a42;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.chip-editor-chip.selected {
  background: #55555b;
}

.chip-editor-chip.option.is-selected {
  color: #111116;
  background: #ffffff;
}

.chip-editor-chip b {
  font-size: 13px;
  line-height: 1;
}

.chip-editor-empty {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  color: #9b9ba5;
  font-size: 12px;
  font-weight: 750;
}

.chip-new-row {
  display: grid;
  grid-template-columns: minmax(180px, 280px) auto;
  gap: 8px;
  align-items: center;
}

.chip-new-row .field {
  min-height: 32px;
  background: #25252b;
  border-color: #3a3a42;
}

.chip-new-row .ghost-button {
  min-height: 32px;
  background: #3a3a42;
}

.format-chip-editor {
  min-width: min(480px, 100%);
}

.detail-tab-panel {
  margin-top: 34px;
}

.feedback-form {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 26px 0 28px;
  padding: 18px;
  background: #1c1c20;
  border: 1px solid #2a2a31;
  border-radius: 10px;
}

.feedback-form h3 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
}

.feedback-form label {
  display: grid;
  gap: 7px;
  color: #d9d9df;
  font-size: 12px;
  font-weight: 900;
}

.feedback-form .textarea {
  min-height: 92px;
}

.feedback-form .button {
  justify-self: start;
  min-height: 34px;
}

.review-compose {
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
}

.review-compose h3,
.review-compose .textarea,
.review-compose .button {
  grid-column: 1 / -1;
}

.rating-input {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rating-input label {
  display: inline-flex;
}

.rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-input span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: #d9d9df;
  background: #2a2a31;
  border: 1px solid #3a3a42;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.rating-input input:checked + span {
  color: #111116;
  background: #f7b718;
  border-color: #f7b718;
}

.feedback-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 12px 0;
}

.feedback-reply-form .field {
  min-height: 32px;
  background: #25252b;
  border-color: #3a3a42;
}

.feedback-reply-form .ghost-button {
  min-height: 32px;
  background: #3a3a42;
}

.feedback-replies {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.feedback-reply {
  padding: 10px 12px;
  background: #25252b;
  border-radius: 8px;
}

.feedback-reply strong {
  color: #f4f4f6;
  font-size: 12px;
  font-weight: 950;
}

.feedback-reply span {
  margin-left: 8px;
  color: #9b9ba5;
  font-size: 11px;
  font-weight: 800;
}

.feedback-reply p {
  margin: 5px 0 0;
  color: #d9d9df;
  font-size: 12px;
  line-height: 1.5;
}

.feedback-like-button {
  color: #f4f4f6;
}

.review-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 52px;
  align-items: center;
  max-width: 760px;
}

.rating-distribution h2,
.review-list-head h2,
.faq-panel > h2,
.comments-panel > h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 950;
}

.rating-bar-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  color: #e8e8ee;
  font-size: 13px;
  font-weight: 900;
}

.rating-bar-track {
  height: 4px;
  overflow: hidden;
  background: #3a3a42;
  border-radius: 999px;
}

.rating-bar-track i {
  display: block;
  height: 100%;
  background: #f7b718;
  border-radius: inherit;
}

.review-score-card {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.review-score-card strong {
  color: #ffffff;
  font-size: 64px;
  line-height: 0.9;
  font-weight: 950;
}

.review-stars,
.review-card h3 span {
  color: #f7b718;
  letter-spacing: 1px;
}

.review-score-card b {
  color: #f4f4f6;
  font-size: 16px;
  font-weight: 950;
}

.review-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin-top: 52px;
  padding-bottom: 22px;
  border-bottom: 1px solid #3a3a42;
}

.review-list-head h2 {
  margin: 0;
}

.review-list-head h2 span {
  margin-left: 10px;
  padding: 3px 11px;
  color: #d9d9df;
  background: #3a3a42;
  border-radius: 999px;
  font-size: 14px;
}

.review-filters {
  display: flex;
  gap: 12px;
}

.review-filters button {
  min-height: 44px;
  padding: 0 22px;
  color: #f4f4f6;
  background: #1c1c20;
  border: 1px solid #3a3a42;
  border-radius: 8px;
  font-weight: 900;
}

.review-list {
  max-width: 760px;
}

.review-card {
  padding: 28px 0 32px;
  border-bottom: 1px solid #3a3a42;
}

.review-card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 9px;
  color: #f5f5f7;
  font-size: 16px;
  font-weight: 950;
}

.review-meta {
  margin: 0 0 12px;
  color: #a9a9b1;
  font-weight: 850;
}

.review-card p:not(.review-meta) {
  margin-bottom: 14px;
  color: #e2e2e6;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 760;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a9a9b1;
  font-weight: 850;
}

.review-actions button {
  color: #f4f4f6;
  background: transparent;
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.faq-panel {
  max-width: 980px;
}

.faq-card {
  padding: 0;
  background: #1c1c20;
  border: 1px solid #2a2a31;
  border-radius: 12px;
}

.faq-card summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  color: #ffffff;
  list-style: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 950;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin: 0;
  padding: 0 22px 8px;
  color: #c8c8d0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 760;
}

.faq-card p:last-child {
  padding-bottom: 24px;
}

.faq-reply-form,
.faq-actions {
  margin-left: 22px;
  margin-right: 22px;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 22px;
}

.faq-actions button {
  min-height: 30px;
  padding: 0 12px;
  color: #f4f4f6;
  background: #3a3a42;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.faq-forum-link {
  margin: 28px 0 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.faq-forum-link a {
  color: #22b9ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.comments-panel {
  width: 100%;
  max-width: 860px;
  overflow: hidden;
}

.comment-time-separator {
  margin: 18px 0 10px;
  color: #d9d9df;
  font-size: 15px;
  font-weight: 950;
}

.comment-list {
  display: grid;
  gap: 14px;
}

.comment-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(112px, 136px) minmax(0, 1fr) minmax(72px, auto);
  gap: 18px;
  align-items: start;
  padding: 26px 28px;
  background: #1c1c20;
  border-radius: 16px;
}

.comment-user {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #d9d9df;
  text-align: center;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: #cfcfd7;
  background: #3a3a42;
  border-radius: 999px;
  font-size: 24px;
}

.comment-user strong {
  color: #f3f3f5;
  font-size: 14px;
  font-weight: 950;
}

.comment-user small,
.comment-user b {
  color: #a9a9b1;
  font-size: 12px;
  font-weight: 850;
}

.comment-body time {
  display: block;
  margin: 4px 0 22px;
  color: #d9d9df;
  font-weight: 950;
}

.comment-body p {
  color: #f0f0f3;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.comment-body .feedback-reply p {
  color: #d9d9df;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 760;
}

.comment-body button,
.comment-actions button {
  color: #d9d9df;
  background: transparent;
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.comment-actions {
  display: flex;
  justify-content: end;
  gap: 16px;
  padding-top: 82px;
}

@media (max-width: 1180px) {
  .comments-panel {
    max-width: none;
  }

  .comment-card {
    grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
  }

  .comment-actions {
    grid-column: 2;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .comment-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .comment-user {
    justify-items: start;
    text-align: left;
  }

  .comment-actions {
    grid-column: auto;
    justify-content: start;
  }
}

@media (max-width: 1780px) {
  .shell:not(.shell-detail) .asset-grid,
  .catalog-shell .asset-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1480px) {
  .shell:not(.shell-detail) .asset-grid,
  .catalog-shell .asset-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .shell:not(.shell-detail) {
    grid-template-columns: 1fr;
  }

  .shell:not(.shell-detail) .sidebar {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #29292f;
  }

  .shell:not(.shell-detail) .asset-grid,
  .catalog-shell .asset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell:not(.shell-detail) .asset-grid,
  .catalog-shell .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Login and account menu final pass. */
.auth-shell-root,
.shell-auth,
.login-content {
  min-height: 100vh;
}

.login-content {
  padding: 0;
  background: #07070a;
  overflow: hidden;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  color: #f7f7fb;
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.035), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(33, 36, 45, 0.48), transparent 28%),
    #07070a;
}

.login-screen::before,
.login-frame::after,
.login-sweep,
.login-horizon,
.login-brand-zone {
  display: none;
}

.login-card.login-frame {
  position: relative;
  z-index: 1;
  width: min(432px, calc(100vw - 32px));
  min-height: 0;
  display: block;
  padding: 40px 36px 42px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 255, 255, 0.055), transparent 28%),
    linear-gradient(145deg, rgba(27, 29, 36, 0.88), rgba(12, 13, 17, 0.86));
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(20px);
}

.login-card .login-logo {
  width: 112px;
  height: 58px;
  margin: 0 auto 14px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.1));
}

.login-title {
  margin: 0 0 28px;
  color: #f5f5f8;
  text-align: center;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.login-form.login-panel {
  width: 100%;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.login-form .login-field {
  min-height: 47px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.login-form .login-field:focus-within {
  border-color: rgba(86, 191, 231, 0.52);
  background: rgba(255, 255, 255, 0.04);
}

.login-form .login-icon {
  display: none;
}

.login-form .login-field input {
  min-width: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
  font-weight: 650;
}

.login-form .login-field input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.login-form .login-eye-button {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.62);
}

.login-form .login-eye-icon {
  width: 19px;
  height: 13px;
  border-width: 1.6px;
}

.login-form .login-eye-icon::before {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-width: 1.6px;
}

.login-form .login-eye-button.active .login-eye-icon::after {
  left: -3px;
  top: 5px;
  width: 24px;
  height: 1.5px;
}

.login-error {
  min-height: 18px;
  margin: -8px 0 0;
  color: #ff7b7b;
  font-size: 12px;
  font-weight: 700;
}

.login-error[hidden] {
  display: none;
}

.login-form .login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.login-form .login-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.login-form .login-remember span {
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.login-form .login-remember input:checked + span {
  background: #4bbde7;
  box-shadow: inset 0 0 0 5px #101014;
}

.login-form .login-options a {
  color: #54c4ee;
  font-size: 13px;
  font-weight: 800;
}

.login-form .login-submit {
  min-height: 48px;
  margin-top: 10px;
  color: #081217;
  background: #4bbde7;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.login-form .login-submit:hover {
  background: #62c8ec;
}

.login-icp {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.4;
  transform: translateX(-50%);
  white-space: nowrap;
}

.login-icp:hover {
  color: rgba(255, 255, 255, 0.72);
}

.account-menu {
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-trigger {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #f3f3f6;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.account-trigger:hover,
.account-menu:focus-within .account-trigger {
  background: #25252c;
}

.account-avatar-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.account-avatar,
.account-menu-avatar {
  border-radius: 999px;
  background: #54565f;
  color: #ffffff;
  font-weight: 900;
}

.account-avatar {
  width: 36px;
  height: 36px;
  font-size: 19px;
}

.account-status {
  position: absolute;
  right: -2px;
  bottom: 3px;
  width: 13px;
  height: 13px;
  border: 2px solid #101014;
  border-radius: 999px;
  background: #45d56e;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 232px;
  padding: 16px 8px;
  color: #f4f4f7;
  background: #2b2c31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.account-menu-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 2px 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-menu-avatar {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  font-size: 28px;
}

.account-menu-head strong {
  min-width: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.account-menu-item {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  color: #f1f1f4;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  text-align: left;
}

.account-menu-item:last-child {
  border-bottom: 0;
}

.account-menu-item:hover {
  background: rgba(255, 255, 255, 0.055);
}

.account-menu-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #d6d6dc;
}

.account-settings-icon::before,
.account-settings-icon::after,
.account-logout-icon::before,
.account-logout-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.account-settings-icon::before {
  left: 4px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 2px;
}

.account-settings-icon::after {
  right: 3px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(0deg);
}

.account-logout-icon::before {
  left: 3px;
  top: 5px;
  width: 15px;
  height: 18px;
  border: 3px solid currentColor;
  border-right: 0;
  border-radius: 2px;
}

.account-logout-icon::after {
  right: 2px;
  top: 10px;
  width: 15px;
  height: 9px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 760px) {
  .login-screen {
    padding: 18px;
  }

  .login-card.login-frame {
    width: min(390px, calc(100vw - 28px));
    padding: 34px 24px 36px;
    border-radius: 16px;
  }

  .login-card .login-logo {
    width: 100px;
    height: 52px;
  }

  .login-title {
    font-size: 22px;
  }

  .login-form .login-options {
    align-items: center;
    flex-direction: row;
    font-size: 13px;
  }

  .account-dropdown {
    right: -4px;
    width: 224px;
  }

  .login-icp {
    bottom: 14px;
  }
}
