/* Niemandsland: unit & building codex — handcrafted Obsidian / brass UI.
 *
 * Loaded on every screen (site header), because the codex is reachable from
 * anywhere: start page, wiki, lobby and the running match. Handwritten like
 * faq.css / wiki.css / profile.css with plain hex values, so it works
 * independently of the compiled Tailwind bundle and inside the fullscreen
 * match view, where the site chrome is hidden.
 */

.cx-open {
  overflow: hidden;
}

.cx-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(217, 182, 92, 0.14), transparent 62%),
    rgba(8, 8, 11, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cx-shell {
  position: fixed;
  z-index: 1001;
  top: clamp(0.5rem, 3vh, 2.25rem);
  bottom: clamp(0.5rem, 3vh, 2.25rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(74rem, calc(100vw - 1.5rem));
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid rgba(200, 162, 74, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 50% -20%, rgba(217, 182, 92, 0.1), transparent 58%),
    linear-gradient(180deg, #16161c 0%, #0d0d11 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 44px 90px -40px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.cx-shell * {
  box-sizing: border-box;
}

.cx-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 205, 138, 0.75), transparent);
  pointer-events: none;
}

/* ── Header ────────────────────────────────────────────────────────────── */

.cx-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(36, 36, 45, 0.9);
  background: linear-gradient(180deg, rgba(26, 26, 33, 0.9), rgba(14, 14, 18, 0.72));
}

.cx-head-crest {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid rgba(130, 102, 44, 0.7);
  border-radius: 12px;
  color: #e6cd8a;
  background: radial-gradient(120% 120% at 50% -25%, rgba(217, 182, 92, 0.24), transparent 62%), #14141a;
}

.cx-head-crest svg {
  width: 22px;
  height: 22px;
}

.cx-head-copy {
  min-width: 0;
}

.cx-head-kicker {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #78716c;
}

.cx-head-title {
  margin: 2px 0 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f5f5f4;
}

.cx-head-sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: #a8a29e;
}

.cx-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid rgba(200, 162, 74, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 11, 0.6);
}

.cx-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8a29e;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.cx-tab svg {
  width: 14px;
  height: 14px;
}

.cx-tab:hover {
  color: #e6cd8a;
}

.cx-tab.is-active {
  color: #14141a;
  background: linear-gradient(180deg, #e6cd8a, #c8a24a);
  box-shadow: 0 6px 18px -10px rgba(217, 182, 92, 0.9);
}

.cx-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 10px;
  color: #a8a29e;
  background: rgba(19, 19, 24, 0.9);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cx-close svg {
  width: 16px;
  height: 16px;
}

.cx-close:hover {
  color: #e6cd8a;
  border-color: rgba(200, 162, 74, 0.55);
}

/* ── Body layout ───────────────────────────────────────────────────────── */

.cx-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 19.5rem minmax(0, 1fr);
}

.cx-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 10px;
  padding: 12px;
  border-right: 1px solid rgba(36, 36, 45, 0.9);
  background: linear-gradient(180deg, rgba(14, 14, 18, 0.6), rgba(8, 8, 11, 0.4));
}

.cx-search {
  position: relative;
}

.cx-search svg {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: #78716c;
  pointer-events: none;
}

.cx-search input {
  width: 100%;
  padding: 8px 10px 8px 30px;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 10px;
  font-size: 12px;
  color: #e7e5e4;
  background: rgba(8, 8, 11, 0.7);
  outline: none;
}

.cx-search input::placeholder {
  color: #57534e;
}

.cx-search input:focus {
  border-color: rgba(200, 162, 74, 0.6);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.12);
}

.cx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cx-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #a8a29e;
  background: rgba(19, 19, 24, 0.8);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.cx-filter:hover {
  color: #e6cd8a;
}

.cx-filter.is-active {
  color: #14141a;
  border-color: transparent;
  background: var(--cx-tint, #c8a24a);
}

.cx-filter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cx-tint, #c8a24a);
}

.cx-filter.is-active .cx-filter-dot {
  background: rgba(20, 20, 24, 0.65);
}

.cx-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 4px;
}

.cx-list-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  color: #d6d3d1;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cx-list-item:hover {
  background: rgba(26, 26, 33, 0.85);
  border-color: rgba(50, 50, 61, 0.9);
}

.cx-list-item.is-active {
  color: #f5f5f4;
  border-color: rgba(200, 162, 74, 0.45);
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.16), rgba(200, 162, 74, 0.04));
  box-shadow: inset 2px 0 0 var(--cx-tint, #c8a24a);
}

.cx-list-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 32px;
  overflow: hidden;
  flex: none;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 8px;
  color: var(--cx-tint, #c8a24a);
  background: rgba(8, 8, 11, 0.6);
}

.cx-list-icon svg {
  width: 15px;
  height: 15px;
}

.cx-list-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cx-list-copy {
  min-width: 0;
  flex: 1;
}

.cx-list-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cx-list-meta {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: #78716c;
}

.cx-empty {
  padding: 14px 10px;
  font-size: 11px;
  line-height: 1.6;
  color: #78716c;
  text-align: center;
}

/* ── Dossier ───────────────────────────────────────────────────────────── */

.cx-panel {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 26px;
  scroll-behavior: smooth;
}

.cx-hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36, 36, 45, 0.9);
}

.cx-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cx-accent, #c8a24a), transparent 70%);
}

.cx-hero-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border: 1px solid var(--cx-accent, #c8a24a);
  border-radius: 14px;
  color: var(--cx-accent, #c8a24a);
  background: radial-gradient(120% 120% at 50% -25%, rgba(217, 182, 92, 0.2), transparent 62%), #14141a;
  box-shadow: 0 0 28px -18px var(--cx-accent, #c8a24a);
}

.cx-hero-icon svg {
  width: 28px;
  height: 28px;
}

.cx-hero-copy {
  flex: 1;
  min-width: min(13rem, 100%);
}

.cx-artwork {
  flex: 0 1 320px;
  width: 320px;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cx-accent, #c8a24a);
  border-radius: 12px;
  background: #14141a;
}

.cx-artwork img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.cx-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.cx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6cd8a;
  background: rgba(200, 162, 74, 0.1);
}

.cx-badge--field {
  color: #b3c294;
  border-color: rgba(138, 154, 106, 0.45);
  background: rgba(138, 154, 106, 0.12);
}

.cx-badge--rust {
  color: #e0996f;
  border-color: rgba(179, 96, 47, 0.45);
  background: rgba(179, 96, 47, 0.12);
}

.cx-badge--ghost {
  color: #a8a29e;
  border-color: rgba(70, 70, 83, 0.9);
  background: rgba(20, 20, 24, 0.8);
}

.cx-hero h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
  color: #fafaf9;
}

.cx-hero p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #a8a29e;
}

.cx-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin-top: 2px;
}

.cx-quick {
  flex: 1 1 5.5rem;
  min-width: 5.5rem;
  padding: 7px 9px;
  border: 1px solid rgba(36, 36, 45, 0.9);
  border-radius: 10px;
  background: rgba(8, 8, 11, 0.45);
}

.cx-quick dt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #78716c;
}

.cx-quick dt svg {
  width: 12px;
  height: 12px;
}

.cx-quick dd {
  margin: 3px 0 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: #f5f5f4;
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.cx-section {
  margin-top: 18px;
}

.cx-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.cx-section-head h4 {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9b65c;
}

.cx-section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.32), transparent);
}

.cx-section-head svg {
  width: 14px;
  height: 14px;
  color: #a8843a;
}

.cx-section-note {
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 1.6;
  color: #78716c;
}

.cx-gap-top {
  margin-top: 8px;
}

.cx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 6px;
}

.cx-cell {
  padding: 7px 9px;
  border: 1px solid rgba(36, 36, 45, 0.9);
  border-left: 2px solid rgba(130, 102, 44, 0.7);
  border-radius: 8px;
  background: rgba(19, 19, 24, 0.55);
}

.cx-cell dt {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #78716c;
}

.cx-cell dd {
  margin: 3px 0 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #e7e5e4;
}

.cx-cell small {
  margin-left: 3px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 10px;
  color: #78716c;
}

.cx-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(36, 36, 45, 0.9);
  border-radius: 10px;
}

.cx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.cx-table th,
.cx-table td {
  padding: 6px 9px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid rgba(36, 36, 45, 0.7);
}

.cx-table thead th {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #78716c;
  background: rgba(8, 8, 11, 0.6);
}

.cx-table th:first-child,
.cx-table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: rgba(14, 14, 18, 0.96);
}

.cx-table tbody tr:last-child td,
.cx-table tbody tr:last-child th {
  border-bottom: 0;
}

.cx-table tbody tr.is-self th,
.cx-table tbody tr.is-self td {
  color: #e6cd8a;
  background: rgba(200, 162, 74, 0.08);
}

.cx-table td {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  color: #d6d3d1;
}

.cx-table td.is-muted {
  color: #78716c;
}

/* ── Meters (terrain speed) ────────────────────────────────────────────── */

.cx-meters {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cx-meter {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) 3.5rem;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.cx-meter-label {
  color: #a8a29e;
}

.cx-meter-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(8, 8, 11, 0.75);
  overflow: hidden;
}

.cx-meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(130, 102, 44, 0.9), #d9b65c);
  transform-origin: left center;
  transform: scaleX(var(--cx-ratio, 0));
}

.cx-meter-value {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #e7e5e4;
}

/* ── Cost row ──────────────────────────────────────────────────────────── */

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

.cx-cost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  color: #e7e5e4;
  background: rgba(8, 8, 11, 0.55);
}

.cx-cost svg {
  width: 12px;
  height: 12px;
  color: #d9b65c;
}

.cx-cost--free {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: #8a9a6a;
}

/* ── Archive dossier (properties & history) ─────────────────────────────── */

.cx-dossier {
  border: 1px solid rgba(200, 162, 74, 0.22);
  border-radius: 10px;
  padding: 10px 11px;
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.07), rgba(8, 8, 11, 0.2));
}

.cx-dossier-tag {
  margin: 0 0 8px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
  color: #e6cd8a;
}

.cx-traits {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cx-traits li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 999px;
  font-size: 11px;
  color: #d6d3d1;
  background: rgba(19, 19, 24, 0.7);
}

.cx-traits li svg {
  width: 12px;
  height: 12px;
  flex: none;
  color: #8a9a6a;
}

.cx-dossier-text h5 {
  margin: 10px 0 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9b65c;
}

.cx-dossier-text h5:first-child {
  margin-top: 0;
}

.cx-dossier-text p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.65;
  color: #a8a29e;
}

.cx-dossier-text p:last-child {
  margin-bottom: 0;
}

/* ── Faction bonuses ───────────────────────────────────────────────────── */

.cx-bonus {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(138, 154, 106, 0.28);
  border-left: 2px solid #8a9a6a;
  border-radius: 8px;
  font-size: 11px;
  color: #a8a29e;
  background: rgba(138, 154, 106, 0.07);
}

.cx-bonus + .cx-bonus {
  margin-top: 5px;
}

.cx-bonus strong {
  color: #e7e5e4;
  font-weight: 600;
}

.cx-bonus-value {
  margin-left: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: #b3c294;
}

.cx-bonus-from {
  color: #78716c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* ── Related entries ───────────────────────────────────────────────────── */

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

.cx-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 10px;
  font-size: 11px;
  color: #d6d3d1;
  background: rgba(19, 19, 24, 0.7);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.cx-chip:hover {
  color: #e6cd8a;
  border-color: rgba(200, 162, 74, 0.5);
  background: rgba(200, 162, 74, 0.1);
}

.cx-chip svg {
  width: 14px;
  height: 14px;
  color: var(--cx-tint, #c8a24a);
}

.cx-chip-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cx-chip-copy small {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  color: #78716c;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.cx-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-top: 1px solid rgba(36, 36, 45, 0.9);
  font-size: 10px;
  color: #78716c;
  background: rgba(8, 8, 11, 0.6);
}

.cx-foot a {
  margin-left: auto;
  color: #d9b65c;
  text-decoration: none;
  border-bottom: 1px dotted rgba(217, 182, 92, 0.6);
}

.cx-foot a:hover {
  color: #e6cd8a;
}

.cx-foot kbd {
  padding: 1px 5px;
  border: 1px solid rgba(50, 50, 61, 0.9);
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  color: #a8a29e;
  background: rgba(19, 19, 24, 0.9);
}

/* ── Loading / error ───────────────────────────────────────────────────── */

.cx-state {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 60px 20px;
  text-align: center;
  color: #a8a29e;
  font-size: 12px;
}

.cx-state svg {
  width: 26px;
  height: 26px;
  color: #82662c;
}

.cx-spinner {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(200, 162, 74, 0.2);
  border-top-color: #d9b65c;
  border-radius: 50%;
  animation: cx-spin 0.9s linear infinite;
}

.cx-retry {
  padding: 6px 14px;
  border: 1px solid rgba(200, 162, 74, 0.5);
  border-radius: 999px;
  font-size: 11px;
  color: #e6cd8a;
  background: rgba(200, 162, 74, 0.1);
  cursor: pointer;
}

.cx-retry:hover {
  background: rgba(200, 162, 74, 0.2);
}

@keyframes cx-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .cx-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .cx-side {
    border-right: 0;
    border-bottom: 1px solid rgba(36, 36, 45, 0.9);
  }

  .cx-list {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .cx-list-item {
    width: auto;
    flex: none;
    border-color: rgba(36, 36, 45, 0.9);
    background: rgba(19, 19, 24, 0.7);
  }

  .cx-list-meta {
    display: none;
  }

  .cx-tabs {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .cx-panel {
    padding: 14px 14px 20px;
  }

  .cx-meter {
    grid-template-columns: 6.5rem minmax(0, 1fr) 3rem;
  }
}

@media (max-width: 560px) {
  .cx-artwork {
    flex-basis: 100%;
    width: 100%;
  }

  .cx-head-title {
    font-size: 16px;
  }

  .cx-hero h3 {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-shell *,
  .cx-spinner {
    transition: none !important;
    animation: none !important;
  }

  .cx-panel {
    scroll-behavior: auto;
  }
}
