:root {
  --ink: #102039;
  --ink-2: #233147;
  --muted: #65707e;
  --muted-2: #8c95a0;
  --page: #fafbfc;
  --surface: #ffffff;
  --line: #e8ebef;
  --soft: #f3f5f7;
  --shadow: 0 7px 22px rgba(24, 35, 50, 0.07);
  --shadow-strong: 0 16px 50px rgba(15, 29, 48, 0.16);
  --radius: 8px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto,
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: 220ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 93% 53%, rgba(222, 228, 235, 0.34), transparent 23rem),
    radial-gradient(circle at 7% 90%, rgba(227, 231, 236, 0.28), transparent 26rem),
    var(--page);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-shell {
  width: min(1150px, calc(100% - 58px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(16, 32, 57, 0.3);
  outline-offset: 3px;
}

.topbar {
  position: relative;
  z-index: 20;
  height: 46px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(16, 32, 57, 0.05);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-width: 170px;
}

.brand-monogram {
  position: relative;
  display: block;
  width: 37px;
  height: 34px;
  color: #101d31;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 600;
  line-height: 34px;
}

.brand-monogram span:first-child {
  position: absolute;
  top: -1px;
  left: 0;
}

.brand-monogram span:last-child {
  position: absolute;
  top: 6px;
  left: 15px;
  font-size: 21px;
}

.brand-divider {
  width: 1px;
  height: 28px;
  margin: 0 12px 0 2px;
  background: #e5e7eb;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.brand-copy strong {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 2px;
  color: #9298a1;
  font-family: var(--sans);
  font-size: 4.7px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  height: 100%;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
}

.primary-nav a {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transition: transform var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.add-button,
.icon-button,
.view-switcher button,
.dialog-close,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition:
    color var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
}

.add-button {
  min-width: 133px;
  height: 29px;
  gap: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(16, 32, 57, 0.14);
  font-family: var(--sans);
  font-size: 9px;
}

.add-button svg {
  width: 14px;
  height: 14px;
}

.add-button:hover {
  background: #1b304f;
  box-shadow: 0 7px 16px rgba(16, 32, 57, 0.2);
  transform: translateY(-1px);
}

.action-wrap {
  position: relative;
}

.icon-button {
  width: 31px;
  height: 31px;
  padding: 0;
  color: var(--ink-2);
  background: #f5f6f7;
  border-radius: 50%;
}

.icon-button svg {
  width: 14px;
  height: 14px;
}

.icon-button:hover,
.icon-button[aria-expanded="true"] {
  background: #e9edf1;
}

.header-popover {
  position: absolute;
  z-index: 50;
  top: calc(100% + 9px);
  right: 0;
  width: 205px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow-strong);
  font-size: 11px;
}

.header-popover::before {
  position: absolute;
  top: -5px;
  right: 12px;
  width: 9px;
  height: 9px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  content: "";
  transform: rotate(45deg);
}

.popover-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.profile-popover {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-popover small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.profile-avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  place-items: center;
  font-family: var(--sans);
  font-size: 11px;
}

.hero {
  position: relative;
  height: clamp(194px, 23.7vw, 280px);
  background-color: #fcf6ed;
  background-image: url("assets/hero.webp");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 251, 246, 0.13), transparent 42%);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-copy {
  padding-top: 29px;
  padding-left: 10px;
}

.hero-copy > .eyebrow {
  display: none;
}

.hero h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
}

.hero-intro {
  margin: 4px 0 0;
  color: #515d6b;
  font-family: var(--sans);
  font-size: clamp(11px, 1.4vw, 16px);
  line-height: 1.18;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 13px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 70px;
  border-radius: 6px;
}

.hero-stat:hover .stat-icon {
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 32, 57, 0.1);
  transform: translateY(-1px);
}

.stat-icon {
  display: grid;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  place-items: center;
  transition:
    background-color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
}

.stat-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.hero-stat > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stat strong {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1;
}

.hero-stat small {
  margin-top: 4px;
  color: #687280;
  font-family: var(--sans);
  font-size: 7px;
  line-height: 1;
}

.switcher-shell {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: -15px;
  left: 0;
  pointer-events: none;
}

.view-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 220px;
  height: 34px;
  margin-left: auto;
  padding: 3px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 32, 57, 0.09);
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(16, 32, 57, 0.1);
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.view-switcher button {
  gap: 5px;
  min-width: 0;
  padding: 0 7px;
  color: #344054;
  background: transparent;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 7px;
  white-space: nowrap;
}

.view-switcher button + button {
  border-left: 1px solid #eceef1;
}

.view-switcher button svg {
  width: 11px;
  height: 11px;
  stroke-width: 1.6;
}

.view-switcher button:hover {
  background: #f2f4f6;
}

.view-switcher button.is-active {
  color: #fff;
  background: var(--ink);
  border-left-color: var(--ink);
  box-shadow: 0 3px 8px rgba(16, 32, 57, 0.2);
}

.collections {
  padding-top: 19px;
  padding-bottom: 34px;
}

.collection-section {
  scroll-margin-top: 16px;
}

.collection-section + .collection-section {
  margin-top: 20px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  gap: 24px;
}

.section-identity {
  display: flex;
  align-items: center;
  min-width: 0;
}

.section-icon {
  display: grid;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  margin-right: 7px;
  place-items: center;
}

.section-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.55;
}

.section-title-group {
  min-width: 0;
}

.section-title-group h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.section-title-group p {
  margin: 3px 0 0;
  overflow: hidden;
  color: #6c7480;
  font-family: var(--sans);
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-summary {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
}

.summary-pill {
  display: flex;
  align-items: center;
  min-height: 28px;
  gap: 8px;
  padding: 0 13px;
  background: #f2f4f6;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 7.5px;
  white-space: nowrap;
}

.summary-pill svg {
  width: 14px;
  height: 14px;
}

.summary-pill strong {
  font-weight: 700;
}

.summary-dot {
  width: 2px;
  height: 2px;
  background: #6f7884;
  border-radius: 50%;
}

.view-all {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  gap: 8px;
  padding: 0 1px 0 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 600;
  white-space: nowrap;
}

.view-all svg {
  width: 12px;
  height: 12px;
  transition: transform var(--ease);
}

.view-all:hover svg {
  transform: translateX(3px);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 6px;
}

.collection-section[data-category="watches"] .section-heading {
  min-height: 39px;
}

.asset-card {
  position: relative;
  min-width: 0;
  overflow: visible;
  background: var(--surface);
  border: 1px solid #edf0f2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.asset-card:hover {
  z-index: 2;
  border-color: #dfe4e9;
  box-shadow: 0 12px 28px rgba(24, 35, 50, 0.11);
  transform: translateY(-2px);
}

.asset-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
}

.asset-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.asset-image-link:focus-visible {
  outline: 2px solid #b8863f;
  outline-offset: -2px;
}

.card-title-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-title-link:focus-visible {
  outline: 2px solid #b8863f;
  outline-offset: 2px;
  border-radius: 4px;
}

.asset-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.04;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.collection-section[data-category="watches"] .asset-image {
  height: auto;
  aspect-ratio: 2.57;
}

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

.card-menu-button {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  display: grid;
  width: 27px;
  height: 27px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.card-menu-button svg {
  width: 13px;
  height: 13px;
  opacity: 0;
}

.card-menu-button:focus-visible {
  background: rgba(255, 255, 255, 0.92);
}

.card-menu-button:focus-visible svg {
  opacity: 1;
}

.card-menu {
  position: absolute;
  z-index: 10;
  top: 35px;
  right: 6px;
  display: grid;
  width: 112px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 10px 26px rgba(16, 32, 57, 0.18);
}

.card-menu button {
  height: 30px;
  padding: 0 9px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 9px;
  text-align: left;
}

.card-menu button:hover {
  background: var(--soft);
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 13px 0 14px;
  border-bottom: 1px solid #eef0f2;
}

.card-title-row h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-chevron {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  color: #536173;
  background: #f4f6f7;
  border-radius: 50%;
  place-items: center;
  transition:
    color var(--ease),
    background-color var(--ease),
    transform var(--ease);
}

.card-chevron svg {
  width: 10px;
  height: 10px;
}

.asset-card:hover .card-chevron {
  color: #fff;
  background: var(--ink);
  transform: translateX(2px);
}

.card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 44px;
}

.meta-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  padding: 6px 8px 5px 13px;
}

.meta-item + .meta-item {
  border-left: 1px solid #f0f2f4;
}

.meta-item svg {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  stroke-width: 1.7;
}

.meta-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.meta-copy strong {
  overflow: hidden;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: #9097a1;
  font-family: var(--sans);
  font-size: 5.5px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Alternate controls are functional while the default matches the reference. */
.view-list .asset-grid {
  grid-template-columns: 1fr;
}

.view-list .asset-card {
  display: grid;
  grid-template-columns: minmax(220px, 31%) 1fr;
}

.view-list .asset-image-wrap {
  grid-row: 1 / span 2;
  border-radius: 7px 0 0 7px;
}

.view-list .asset-image,
.view-list .collection-section[data-category="watches"] .asset-image {
  height: 100%;
  min-height: 115px;
  aspect-ratio: auto;
}

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

.view-compact .asset-image-wrap {
  display: none;
}

.view-compact .asset-card {
  box-shadow: 0 3px 12px rgba(24, 35, 50, 0.06);
}

.asset-dialog {
  width: min(570px, calc(100% - 32px));
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.asset-dialog::backdrop {
  background: rgba(8, 17, 30, 0.56);
  backdrop-filter: blur(4px);
}

.asset-dialog[open] {
  animation: dialog-in 260ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.dialog-card {
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(5, 13, 25, 0.34);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.eyebrow {
  margin: 0 0 5px;
  color: #7d8793;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dialog-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.dialog-close {
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--soft);
  border-radius: 50%;
}

.dialog-close svg {
  width: 18px;
  height: 18px;
}

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

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 7px;
  outline: none;
  font-size: 13px;
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 32, 57, 0.1);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}

.primary-button {
  gap: 8px;
  color: #fff;
  background: var(--ink);
}

.primary-button svg {
  width: 16px;
  height: 16px;
}

.primary-button:hover {
  background: #1b304f;
}

.secondary-button {
  background: #fff;
  border: 1px solid #dfe3e8;
}

.secondary-button:hover {
  background: var(--soft);
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(330px, calc(100% - 40px));
  padding: 12px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity var(--ease),
    transform var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .primary-nav {
    gap: 30px;
  }
}

@media (max-width: 759px) {
  .page-shell {
    width: min(100% - 32px, 680px);
  }

  .topbar {
    height: 62px;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .brand-divider {
    margin-right: 9px;
  }

  .add-button {
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .add-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }

  .hero {
    height: 335px;
    background-position: 66% center;
  }

  .hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 251, 246, 0.98) 0 42%, rgba(255, 251, 246, 0.42) 72%, transparent 100%);
    content: "";
  }

  .hero-copy {
    padding-top: 45px;
    padding-left: 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-intro {
    max-width: 300px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero-intro br {
    display: none;
  }

  .hero-stats {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-stat {
    min-width: 100px;
  }

  .hero-stat strong {
    font-size: 18px;
  }

  .hero-stat small {
    font-size: 9px;
  }

  .switcher-shell {
    bottom: -20px;
  }

  .view-switcher {
    width: min(290px, 100%);
    height: 42px;
    margin-inline: auto;
  }

  .view-switcher button {
    min-height: 34px;
    font-size: 9px;
  }

  .view-switcher button svg {
    width: 13px;
    height: 13px;
  }

  .collections {
    padding-top: 42px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
  }

  .section-title-group h2 {
    font-size: 29px;
  }

  .section-title-group p {
    font-size: 10px;
  }

  .section-summary {
    width: 100%;
    justify-content: space-between;
  }

  .summary-pill {
    min-height: 32px;
    font-size: 9px;
  }

  .view-all {
    min-height: 44px;
    font-size: 9px;
  }

  .collection-section + .collection-section {
    margin-top: 30px;
  }

  .asset-image,
  .collection-section[data-category="watches"] .asset-image {
    aspect-ratio: 2.04;
  }

  body:not(.view-list):not(.view-compact) .collection-section .asset-grid {
    display: flex;
    gap: 12px;
    width: 100vw;
    max-width: 100vw;
    margin-top: 10px;
    margin-left: calc(50% - 50vw);
    padding: 2px 16px 8px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body:not(.view-list):not(.view-compact) .collection-section .asset-grid::-webkit-scrollbar {
    display: none;
  }

  body:not(.view-list):not(.view-compact) .collection-section .asset-card {
    flex: 0 0 min(78vw, 300px);
    min-width: min(78vw, 300px);
    scroll-snap-align: start;
  }

  body:not(.view-list):not(.view-compact) .collection-section .asset-card:hover {
    transform: none;
  }

  .view-list .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
  }

  .view-compact .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
  }

  .view-list .asset-card {
    grid-template-columns: minmax(150px, 38%) 1fr;
  }

  .meta-item {
    padding-left: 9px;
  }
}

@media (max-width: 539px) {
  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 11px;
  }

  .brand-copy small {
    font-size: 4px;
  }

  .brand-divider {
    height: 25px;
    margin-left: 0;
  }

  .topbar-actions {
    gap: 5px;
  }

  .topbar-actions .action-wrap:first-of-type {
    display: none;
  }

  .hero {
    height: 350px;
    background-position: 61% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(255, 251, 246, 0.99) 0 54%, rgba(255, 251, 246, 0.48) 80%, transparent 100%);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-intro {
    max-width: 255px;
    font-size: 13px;
  }

  .view-list .asset-grid,
  .view-compact .asset-grid {
    grid-template-columns: 1fr;
  }

  body:not(.view-list):not(.view-compact) .collection-section .asset-card {
    flex-basis: min(84vw, 292px);
    min-width: min(84vw, 292px);
  }

  .asset-image,
  .collection-section[data-category="watches"] .asset-image {
    aspect-ratio: 2.04;
  }

  .card-title-row {
    min-height: 46px;
  }

  .card-title-row h3 {
    font-size: 16px;
  }

  .card-meta {
    min-height: 57px;
  }

  .meta-item svg {
    width: 15px;
    height: 15px;
  }

  .meta-copy strong {
    font-size: 9px;
  }

  .meta-copy small {
    font-size: 7px;
  }

  .view-list .asset-card {
    display: block;
  }

  .view-list .asset-image-wrap {
    border-radius: 7px 7px 0 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .dialog-card {
    max-height: calc(100dvh - 32px);
    padding: 20px;
    overflow-y: auto;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
