@font-face {
  font-family: "Inter Display";
  src: url("/InterDisplay-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("/InterDisplay-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("/InterDisplay-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Inter Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  --background: #060608;
  --surface: #0b0b0f;
  --surface-raised: #0e0e13;
  --surface-hover: #121219;
  --text: #f4f2f7;
  --muted: #9995a4;
  --muted-strong: #bbb6c4;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --purple: #a64cff;
  --purple-bright: #b86cff;
  --purple-soft: rgba(166, 76, 255, 0.12);
  --purple-border: rgba(174, 88, 255, 0.34);
  --danger: #ff8792;
  --content: 1470px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(75% 52% at 78% -17%, rgba(130, 49, 205, 0.14), transparent 72%),
    var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  color: inherit;
}

::selection {
  background: rgba(166, 76, 255, 0.36);
  color: #fff;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(20px);
}

.topbar__inner {
  display: grid;
  width: min(100% - 56px, 1700px);
  min-height: 78px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

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

.topbar__nav--right {
  justify-content: flex-end;
}

.nav-item,
.account-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-item {
  padding: 0 13px;
  background: transparent;
}

.nav-item:hover,
.nav-item.is-active {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.nav-item--button {
  cursor: pointer;
}

.nav-item--signin {
  border-color: var(--border);
  color: var(--muted-strong);
}

.account-pill {
  gap: 9px;
  padding: 0 12px;
  border-color: var(--border);
  color: var(--muted-strong);
}

.account-pill:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.account-pill__status,
.workspace-badge__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 0 4px var(--purple-soft);
}

.brand {
  display: flex;
  width: min(290px, 28vw);
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: opacity 160ms ease;
}

.brand:hover {
  opacity: 0.82;
}

.brand__image {
  display: block;
  width: 100%;
  height: auto;
}

.wrap {
  width: min(100% - 56px, var(--content));
  margin: 0 auto;
  padding: 0 0 104px;
  flex: 1;
}

.hero {
  padding: 76px 0 54px;
}

.hero--catalog {
  max-width: 1295px;
}

.hero--workspace {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.hero--workspace > div:first-child {
  max-width: 760px;
}

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

h1,
h2,
h3 {
  color: var(--text);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero__copy {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.6;
}

.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #c998f7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.publisher-hero {
  display: flex;
  min-height: 690px;
  padding: 104px 0 96px;
  align-items: center;
}

.publisher-hero__copy {
  max-width: 1020px;
}

.publisher-hero h1 {
  max-width: 1000px;
  font-size: clamp(60px, 8vw, 112px);
  line-height: 0.9;
}

.publisher-hero h1 span {
  color: #a7a1ad;
}

.publisher-hero__copy > p {
  max-width: 640px;
  margin: 34px 0 0;
  color: var(--muted-strong);
  font-size: 19px;
  line-height: 1.55;
}

.publisher-hero__actions {
  display: flex;
  margin-top: 38px;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button--large {
  min-height: 48px;
  padding: 0 20px;
}

.publisher-resources {
  display: grid;
  margin-bottom: 96px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publisher-resources a {
  display: flex;
  min-height: 156px;
  padding: 0 32px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-strong);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.035em;
  transition: background 160ms ease, color 160ms ease;
}

.publisher-resources a + a {
  border-left: 1px solid var(--border);
}

.publisher-resources a:hover {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.search {
  display: grid;
  margin-top: 36px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search__field {
  position: relative;
}

.search__field::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 12px;
  height: 12px;
  border: 1.5px solid #77717f;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translateY(-57%);
}

.search__field::after {
  position: absolute;
  top: calc(50% + 6px);
  left: 29px;
  width: 6px;
  height: 1.5px;
  border-radius: 2px;
  background: #77717f;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search input {
  min-height: 50px;
  padding-left: 46px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.026);
  color: var(--text);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input,
select {
  min-height: 46px;
  padding: 0 14px;
}

textarea {
  min-height: 126px;
  padding: 13px 14px;
  line-height: 1.55;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #6f6a76;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--purple-border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(166, 76, 255, 0.1);
}

select option {
  background: #111116;
}

.button {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.46;
  cursor: wait;
  transform: none;
}

.button.primary {
  border-color: var(--purple);
  background: var(--purple);
  color: #0d0712;
}

.button.primary:hover {
  border-color: var(--purple-bright);
  background: var(--purple-bright);
}

.button--quiet {
  background: rgba(255, 255, 255, 0.035);
}

.button--wide {
  width: 100%;
}

.button.danger {
  border-color: rgba(255, 135, 146, 0.28);
  background: rgba(255, 135, 146, 0.06);
  color: var(--danger);
}

.button.danger:hover {
  border-color: rgba(255, 135, 146, 0.46);
  background: rgba(255, 135, 146, 0.1);
}

.category-list {
  display: flex;
  margin-top: 22px;
  gap: 7px;
  flex-wrap: wrap;
}

.category-chip,
.badge,
.result-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.category-chip {
  min-height: 30px;
  padding: 0 11px;
  text-transform: capitalize;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.category-chip:hover,
.category-chip.is-active {
  border-color: var(--purple-border);
  background: var(--purple-soft);
  color: #d8b4ff;
}

.catalog-section,
.workspace-section {
  padding-top: 14px;
}

.section-heading {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.panel__heading h2 {
  margin: 0;
  font-size: 26px;
}

.result-count {
  min-height: 28px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.025);
}

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

.card,
.panel,
.empty-state,
.install-panel {
  border: 1px solid var(--border);
  background: var(--surface);
}

.card {
  display: flex;
  min-height: 328px;
  padding: 20px;
  border-radius: 18px;
  flex-direction: column;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.card__top,
.card__meta,
.card__actions {
  display: flex;
  align-items: center;
}

.card__top {
  justify-content: space-between;
  gap: 16px;
}

.card__badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.extension-icon {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--purple-border);
  border-radius: 13px;
  background: var(--purple-soft);
  color: #d9b6ff;
}

.extension-icon--large {
  width: 76px;
  height: 76px;
  border-radius: 20px;
}

.extension-icon__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.extension-icon__letter {
  font-size: 18px;
  font-weight: 600;
}

.extension-icon--large .extension-icon__letter {
  font-size: 28px;
}

.badge {
  min-height: 25px;
  padding: 0 8px;
  border-color: var(--purple-border);
  background: var(--purple-soft);
  color: #d5adfb;
  text-transform: capitalize;
}

.badge--quiet {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.badge--admin {
  border-color: rgba(121, 215, 168, 0.28);
  background: rgba(121, 215, 168, 0.075);
  color: #a8e6c4;
}

.card__body {
  padding: 26px 0 20px;
  flex: 1;
}

.card__body h2 {
  margin-bottom: 9px;
}

.card__body h2 a {
  transition: color 160ms ease;
}

.card__body h2 a:hover {
  color: #d9b6ff;
}

.muted,
.card__body p,
.panel__heading p,
.status,
.meta {
  color: var(--muted);
}

.card__body p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}

.card__meta {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  gap: 7px;
  color: #7f7a87;
  font-size: 11px;
  flex-wrap: wrap;
}

.card__meta span:not(:last-child)::after,
.detail-meta span:not(:last-child)::after {
  margin-left: 7px;
  color: #45414a;
  content: "·";
}

.card__actions {
  padding-top: 2px;
  justify-content: flex-end;
  gap: 8px;
}

.empty-state {
  display: flex;
  min-height: 150px;
  padding: 30px;
  align-items: center;
  border-radius: 18px;
  gap: 20px;
}

.empty-state > div {
  margin-right: auto;
}

.empty-state h2 {
  margin: 0 0 6px;
  font-size: 19px;
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.empty-state__mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--purple-border);
  border-radius: 50%;
  background: var(--purple-soft);
}

.empty-state__mark::before,
.empty-state__mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: #c894fb;
  content: "";
  transform: translate(-50%, -50%);
}

.empty-state__mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.empty-state__mark--clear::after {
  width: 7px;
  transform: translate(-9px, 2px) rotate(45deg);
}

.empty-state__mark--clear::before {
  width: 15px;
  transform: translate(-5px, -1px) rotate(-45deg);
}

.breadcrumb {
  display: inline-flex;
  margin-top: 46px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.breadcrumb:hover {
  color: var(--text);
}

.detail-hero {
  display: grid;
  padding: 52px 0 62px;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 72px;
}

.detail-hero__identity {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.detail-hero h1 {
  margin-top: 0;
  font-size: clamp(42px, 5vw, 64px);
}

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

.install-panel {
  padding: 20px;
  border-radius: 17px;
}

.install-panel__label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted-strong);
  font-size: 13px;
}

.install-panel p {
  margin: 13px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 14px;
}

.panel {
  border-radius: 18px;
}

.panel--content,
.panel--form,
.listing-card,
.review-card {
  padding: 26px;
}

.panel__heading {
  margin-bottom: 24px;
}

.panel__heading p {
  max-width: 560px;
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

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

.permissions span {
  display: inline-flex;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.resource-links {
  display: grid;
  gap: 7px;
}

.resource-link {
  display: flex;
  min-height: 43px;
  padding: 0 13px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  font-size: 13px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.resource-link:hover {
  border-color: var(--purple-border);
  background: var(--purple-soft);
  color: #e1c4ff;
}

.workspace-badge {
  display: flex;
  min-width: 186px;
  padding: 13px 15px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  gap: 12px;
}

.workspace-badge > div {
  display: grid;
  gap: 3px;
}

.workspace-badge strong {
  font-size: 12px;
  font-weight: 500;
}

.workspace-badge span:last-child {
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}

.panel--form {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 46px;
}

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

.field {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 12px;
}

.field > span {
  display: flex;
  justify-content: space-between;
}

.field em {
  color: #6f6976;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wide {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  padding-top: 3px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-actions > span {
  color: var(--muted);
  font-size: 11px;
}

.workspace-section {
  margin-top: 66px;
}

.listing-card + .listing-card,
.review-card + .review-card {
  margin-top: 14px;
}

.listing-card__header,
.review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.listing-card__header h2,
.review-card__header h2 {
  margin: 0 0 3px;
  font-size: 25px;
}

.listing-card__header .muted,
.review-card__header .meta {
  margin: 0;
  font-size: 12px;
}

.listing-card__identity {
  display: flex;
  max-width: 50%;
  align-items: center;
  gap: 10px;
}

.listing-card__identity code,
.review-card__id {
  overflow: hidden;
  color: #77717f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.upload-form {
  display: flex;
  min-width: 0;
  min-height: 205px;
  padding: 17px;
  flex-direction: column;
  border: 0;
  background: rgba(255, 255, 255, 0.018);
  gap: 12px;
}

.upload-form + .upload-form {
  border-left: 1px solid var(--border);
}

.upload-form__copy {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.upload-form__copy > div {
  display: grid;
  gap: 4px;
}

.upload-form__copy strong {
  font-size: 13px;
  font-weight: 500;
}

.upload-form__copy span:last-child {
  color: var(--muted);
  font-size: 10px;
}

.upload-form__number {
  color: var(--purple-bright);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.file-field {
  margin-top: auto;
}

input[type="file"] {
  min-height: 42px;
  padding: 5px;
  color: var(--muted);
  font-size: 10px;
}

input[type="file"]::file-selector-button {
  height: 30px;
  margin-right: 9px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted-strong);
  cursor: pointer;
  font: inherit;
}

.release-list {
  margin-top: 24px;
}

.release-list__heading,
.release {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
}

.release-list__heading {
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
}

.release {
  min-height: 58px;
  border-top: 1px solid var(--border);
}

.release > div {
  display: grid;
  gap: 3px;
}

.release strong {
  font-size: 13px;
  font-weight: 500;
}

.release__date {
  color: var(--muted);
  font-size: 10px;
}

.status {
  display: inline-flex;
  min-height: 38px;
  padding: 0 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.review-card__header h2 span {
  color: var(--muted);
  font-weight: 400;
}

.review-card__badges {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.admin-review-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(121, 215, 168, 0.2);
  border-radius: 10px;
  background: rgba(121, 215, 168, 0.055);
  color: #a8bdb1;
  font-size: 11px;
  line-height: 1.55;
}

.review-summary {
  max-width: 820px;
  margin-top: 26px;
}

.review-summary strong {
  font-size: 15px;
  font-weight: 500;
}

.review-summary p,
.review-grid p,
.review-permissions p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.review-grid {
  display: grid;
  margin: 26px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.review-grid > div {
  min-height: 132px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.018);
}

.review-grid > div + div {
  border-left: 1px solid var(--border);
}

.review-grid h3 {
  margin-top: 0;
}

.review-resources,
.review-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.review-resources .resource-link {
  min-width: 154px;
}

.review-permissions {
  margin: 26px 0;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.review-permissions h3 {
  margin-top: 0;
}

.review-actions {
  margin-top: 18px;
  justify-content: flex-end;
}

.message-state {
  display: flex;
  max-width: 660px;
  min-height: 62vh;
  margin: 0 auto;
  padding: 90px 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.message-state .empty-state__mark {
  margin-bottom: 24px;
}

.message-state h1 {
  font-size: clamp(42px, 6vw, 66px);
}

.message-state p {
  max-width: 520px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.footer {
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  width: min(100% - 56px, var(--content));
  min-height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #6f6a76;
  font-size: 11px;
}

.footer__copyright {
  color: var(--muted-strong);
  font-weight: 500;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer__links a {
  transition: color 160ms ease;
}

.footer__links a:hover {
  color: var(--text);
}

.sr-only {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

:focus-visible {
  outline: 2px solid rgba(184, 108, 255, 0.82);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel--form {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .upload-form {
    min-height: auto;
  }

  .upload-form + .upload-form {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .file-field {
    margin-top: 8px;
  }
}

@media (max-width: 780px) {
  .topbar {
    background: #060608;
    backdrop-filter: none;
  }

  .topbar__inner {
    width: min(100% - 28px, 1500px);
    min-height: 70px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    justify-content: flex-start;
  }

  .topbar__nav:first-child {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 30;
    min-height: 54px;
    padding: 7px;
    justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: rgba(13, 13, 18, 0.95);
    backdrop-filter: blur(20px);
  }

  .topbar__nav:first-child .nav-item {
    flex: 1;
  }

  .topbar__nav--right {
    grid-row: 1;
    grid-column: 2;
  }

  .account-pill span:not(.account-pill__status),
  .nav-item--button {
    display: none;
  }

  .account-pill {
    width: 36px;
    padding: 0;
  }

  .wrap,
  .footer__inner {
    width: min(100% - 28px, var(--content));
  }

  .wrap {
    padding-bottom: 120px;
  }

  .hero {
    padding: 54px 0 42px;
  }

  .publisher-hero {
    min-height: auto;
    padding: 96px 0 82px;
  }

  .hero--workspace {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .workspace-badge {
    min-width: 0;
  }

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

  .detail-hero {
    gap: 34px;
  }

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

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

  .review-grid > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .listing-card__header,
  .review-card__header {
    flex-direction: column;
  }

  .listing-card__identity {
    max-width: 100%;
  }

  .footer__inner {
    padding: 21px 0 88px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  .footer__links {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

@media (max-width: 540px) {
  .topbar__inner {
    width: min(100% - 20px, 1500px);
  }

  .brand {
    width: min(210px, 45vw);
  }

  .nav-item--signin {
    padding: 0 10px;
    font-size: 11px;
  }

  .wrap,
  .footer__inner {
    width: min(100% - 24px, var(--content));
  }

  h1 {
    font-size: 43px;
  }

  .hero__copy {
    font-size: 15px;
  }

  .publisher-hero h1 {
    font-size: 51px;
  }

  .publisher-hero__copy > p {
    font-size: 15px;
  }

  .publisher-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .publisher-hero__actions .button {
    width: 100%;
  }

  .publisher-resources {
    grid-template-columns: 1fr;
  }

  .publisher-resources a {
    min-height: 112px;
    padding: 0 20px;
  }

  .publisher-resources a + a {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

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

  .search .button {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .card,
  .panel--content,
  .panel--form,
  .listing-card,
  .review-card {
    padding: 19px;
  }

  .detail-hero__identity {
    flex-direction: column;
  }

  .detail-meta {
    flex-direction: column;
  }

  .detail-meta span::after {
    display: none;
  }

  .form-actions,
  .empty-state {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-actions .button,
  .review-actions .button {
    width: 100%;
  }

  .release {
    padding: 13px 0;
    grid-template-columns: 1fr auto;
  }

  .release .button {
    grid-column: 1 / -1;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
