:root {
  --bg: #0d0906;
  --panel: rgba(20, 13, 9, 0.5);
  --panel-strong: rgba(26, 16, 11, 0.68);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(242, 216, 170, 0.13);
  --text: #f7ecd8;
  --muted: #d7c0a0;
  --accent: #e8c27e;
  --accent-strong: #f2d7a5;
  --accent-deep: #ba7040;
  --button-text: #1c130b;
  --shadow: rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 55% 22%, rgba(246, 194, 95, 0.16), transparent 28%),
    linear-gradient(rgba(10, 7, 5, 0.02), rgba(10, 7, 5, 0.18)),
    url("assets/wallpaper.png?v=20260528a");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.98) brightness(1.02);
  transform: scale(1);
  transition: filter 320ms ease, transform 320ms ease;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0.34) 100%),
    radial-gradient(circle at top left, rgba(255, 241, 206, 0.04), transparent 30%),
    radial-gradient(circle at bottom right, rgba(237, 182, 86, 0.06), transparent 24%);
  transition: background 320ms ease;
}

body.view-section::before {
  filter: saturate(0.74) brightness(0.62) blur(2px);
  transform: scale(1.02);
}

body.view-section::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.36) 28%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(circle at top left, rgba(255, 241, 206, 0.02), transparent 30%),
    radial-gradient(circle at bottom right, rgba(237, 182, 86, 0.03), transparent 24%);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  transition: opacity 520ms ease, transform 520ms ease;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 222, 163, 0.08), transparent 22%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14) 70%, rgba(0, 0, 0, 0.34));
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.site-intro__panel {
  display: grid;
  justify-items: start;
  gap: 12px;
  width: min(360px, calc(100% - 24px));
  margin-top: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(20, 13, 9, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  text-align: left;
}

.site-intro__kicker,
.site-intro__copy {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.site-intro__kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-intro__copy {
  color: var(--muted);
}

html.trg-intro-pending .site-intro {
  opacity: 1;
  pointer-events: auto;
}

html.trg-intro-pending .page-shell {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.site-header,
.hero,
.latest,
.workshop,
.commitment,
.about,
.pillars,
.releases,
.statement-page,
.store-callout,
.site-footer {
  animation: rise-in 620ms ease both;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand__logo {
  width: 94px;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.34));
}

.brand__copy {
  display: grid;
  gap: 4px;
}

.brand__name {
  font-size: 1.45rem;
  letter-spacing: 0.05em;
}

.brand__tag {
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-pill);
  background: rgba(20, 13, 9, 0.34);
  backdrop-filter: blur(6px);
  transition: background 240ms ease, border-color 240ms ease;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  text-decoration: none;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(242, 216, 170, 0.1);
  color: var(--text);
  outline: none;
}

.site-nav a[aria-current="page"] {
  background: rgba(242, 216, 170, 0.14);
  color: var(--text);
}

.hero,
.latest,
.workshop,
.commitment,
.about,
.pillars,
.releases,
.statement-page,
.store-callout,
.site-footer {
  border: 1px solid var(--panel-border);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(7px);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.hero,
.latest,
.workshop,
.commitment,
.about,
.pillars,
.releases,
.statement-page,
.store-callout {
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(23, 15, 10, 0.42), rgba(15, 10, 7, 0.5));
}

.hero,
.store-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
  gap: 16px;
}

.hero {
  margin-bottom: 18px;
  align-items: start;
}

.hero__panel,
.hero__bench,
.latest,
.workshop,
.commitment,
.about,
.pillars,
.releases,
.statement-page,
.store-callout,
.site-footer {
  padding: 26px;
}

.hero__bench {
  display: grid;
  gap: 12px;
  align-content: start;
}

.note-card,
.pillar-card,
.feature-card,
.release-group,
.release-card,
.store-callout__panel {
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  transition: background 240ms ease, border-color 240ms ease;
}

.note-card,
.pillar-card,
.release-card,
.store-callout__panel {
  padding: 20px;
}

.homepage-clear-deck {
  min-height: clamp(320px, 52vh, 620px);
  display: grid;
  place-items: center;
}

body:has(.homepage-clear-deck)::before,
body:has(.homepage-clear-deck)::after,
body:has(.homepage-shop-wall)::before,
body:has(.homepage-shop-wall)::after {
  content: none;
}

.homepage-clear-deck__marker {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.note-card {
  padding: 18px;
}

.hero__eyebrow,
.section-heading__kicker,
.note-card__label,
.pillar-card__label,
.release-card__meta,
.release-group__label {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

h1 {
  margin-top: 0.55rem;
  max-width: 11ch;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.55rem;
}

h4 {
  font-size: 1.95rem;
}

.hero__lead,
.note-card p:last-child,
.section-heading p:last-child,
.about__panel p,
.pillar-card p:last-child,
.feature-card__subtitle,
.feature-card__hook,
.feature-card__body,
.feature-card__support,
.release-card__hook,
.release-card__body,
.release-group__intro,
.store-callout__copy p:last-child,
.site-footer p {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
}

.hero__lead {
  max-width: 41rem;
  margin: 0.95rem 0 0;
  font-size: 1rem;
  color: var(--text);
}

.hero__actions,
.feature-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.25rem;
}

.note-card h2 {
  margin-top: 0.42rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.02;
}

.note-card p:last-child {
  font-size: 0.97rem;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  color: var(--button-text);
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--accent-strong);
}

.cart-count-badge {
  display: inline-flex;
  min-width: 1.5rem;
  justify-content: center;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(242, 216, 170, 0.18);
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1;
}

.button--secondary {
  border-color: rgba(242, 216, 170, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(242, 216, 170, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button--pending {
  cursor: default;
  opacity: 0.82;
}

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

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.section-heading p:last-child,
.note-card p:last-child,
.about__panel p,
.pillar-card p:last-child,
.feature-card__subtitle,
.feature-card__body,
.feature-card__support,
.release-card__hook,
.release-card__body,
.release-group__intro,
.store-callout__copy p:last-child,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.latest,
.workshop,
.commitment,
.about,
.pillars,
.releases,
.store-callout {
  margin-bottom: 18px;
}

.workshop-card {
  overflow: hidden;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.workshop-card__copy p,
.commitment__copy p {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.workshop-card__copy > p:not(.workshop-card__label) {
  color: var(--muted);
}

.workshop-card__label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.workshop-card .button {
  justify-self: start;
  margin-top: 4px;
}

.available__action {
  display: flex;
  justify-content: flex-start;
}

.workshop-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  max-width: 850px;
}

.workshop-card__media {
  min-height: 330px;
  padding: 22px;
  background: rgba(10, 7, 5, 0.34);
}

.workshop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.workshop-card__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: 26px;
}

.workshop-card__stage strong {
  color: var(--text);
}

.commitment__inner {
  max-width: 760px;
  margin: 0 auto;
}

.commitment h2 {
  margin-top: 12px;
}

.commitment__copy {
  display: grid;
  gap: 15px;
  margin-top: 22px;
  color: var(--muted);
}

.commitment__emphasis {
  padding: 10px 0;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-weight: 700;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  padding: 22px;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(24, 14, 10, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.feature-card__media {
  position: relative;
}

.feature-card__media::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 72%;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(126, 108, 199, 0.28), transparent 62%);
  filter: blur(16px);
  pointer-events: none;
}

.feature-card__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  padding: 16px;
  border: 1px solid rgba(242, 216, 170, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(34, 22, 15, 0.82), rgba(10, 7, 5, 0.88));
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.feature-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}

.feature-card__copy {
  display: grid;
  gap: 14px;
}

.feature-card__eyebrow {
  margin: 0;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-card__subtitle {
  margin: -2px 0 0;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.feature-card__hook {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 1.2rem;
}

.feature-card__body {
  color: var(--text);
}

.feature-card__support {
  font-size: 0.98rem;
}

.about__panel {
  display: grid;
  gap: 14px;
}

.statement-page {
  max-width: 880px;
  margin: 0 auto 18px;
}

.statement-page h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
}

.statement-intro {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.statement-block {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.statement-content {
  display: grid;
  gap: 18px;
}

.statement-content p {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.8;
}

.statement-list {
  display: grid;
  gap: 8px;
  margin: -2px 0 0;
  padding-left: 1.2rem;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.8;
}

.statement-list li::marker {
  color: var(--accent);
}

.statement-seal {
  margin: 26px 0 0;
  display: flex;
  justify-content: center;
}

.statement-seal img {
  display: block;
  width: min(260px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.3));
}

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

.pillar-card {
  display: grid;
  gap: 12px;
}

.release-groups {
  display: grid;
  gap: 18px;
}

.release-group {
  padding: 22px;
}

.release-group__header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.release-group__title {
  font-size: 2rem;
}

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

.release-card {
  display: grid;
  gap: 12px;
}

.release-card__hook {
  color: var(--text);
  font-size: 1.02rem;
}

.store-callout__copy,
.store-callout__panel {
  align-self: center;
}

.store-callout__panel {
  padding: 22px;
}

.coming-soon__panel {
  display: grid;
  gap: 14px;
}

.coming-soon__video-shell {
  overflow: hidden;
  border: 1px solid rgba(242, 216, 170, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(32, 20, 14, 0.9), rgba(10, 7, 5, 0.94));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.coming-soon__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0d0906;
}

.coming-soon__caption {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
}

.store-section {
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(23, 15, 10, 0.52), rgba(15, 10, 7, 0.58));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(7px);
}

.store-hero,
.store-spotlight,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 18px;
  align-items: start;
}

.store-hero__copy,
.store-spotlight__copy,
.product-hero__copy {
  display: grid;
  gap: 14px;
}

.store-hero__aside {
  display: grid;
  gap: 12px;
}

.creation-standard-placard {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(242, 216, 170, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(70, 46, 22, 0.48), rgba(34, 22, 12, 0.72)),
    radial-gradient(circle at top left, rgba(242, 215, 165, 0.1), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 191, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.creation-standard-title,
.creation-standard-copy,
.creation-standard-motto {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.creation-standard-title {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.creation-standard-copy {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.creation-standard-motto {
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.creation-standard-placard--statement {
  margin-top: 2px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  outline: none;
}

.breadcrumbs__sep {
  color: rgba(242, 216, 170, 0.42);
}

.store-spotlight {
  padding: 0;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.store-spotlight__media,
.product-hero__media {
  position: relative;
}

.store-spotlight__media img,
.product-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.store-spotlight__media img {
  width: 75%;
  min-height: 0;
  margin: 0 auto;
}

.store-spotlight__copy {
  padding: 22px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(242, 216, 170, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-strong);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge--available-direct,
.status-badge--free-download {
  border-color: rgba(155, 197, 112, 0.42);
  background: rgba(108, 145, 69, 0.18);
  color: #d7ecb4;
}

.status-badge--coming-soon,
.status-badge--preview-available,
.status-badge--preview-only,
.status-badge--pay-what-you-want {
  border-color: rgba(242, 216, 170, 0.34);
  background: rgba(186, 112, 64, 0.18);
  color: #f4dbab;
}

.status-badge--revised-edition-pending,
.status-badge--legacy-edition,
.status-badge--legacy-not-for-sale {
  border-color: rgba(162, 146, 111, 0.38);
  background: rgba(109, 88, 56, 0.22);
  color: #dfc89f;
}

.status-badge--retired {
  border-color: rgba(126, 124, 136, 0.32);
  background: rgba(70, 70, 76, 0.22);
  color: #d7d4e2;
}

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

.product-card,
.browse-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.product-card:hover,
.product-card:focus-within,
.browse-card:hover,
.browse-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 216, 170, 0.3);
  background: rgba(255, 255, 255, 0.065);
  outline: none;
}

.product-card[hidden] {
  display: none !important;
}

.product-card__media {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(30, 19, 13, 0.94), rgba(11, 8, 6, 0.98));
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-card__button {
  width: 100%;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(18rem, 1fr);
  gap: 24px;
  align-items: start;
}

.cart-item-list {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(242, 216, 170, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.cart-item__media,
.cart-item__media--missing {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__body {
  min-width: 0;
}

.cart-item__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.cart-item__title a {
  color: inherit;
  text-decoration: none;
}

.cart-item__title a:hover,
.cart-item__title a:focus-visible {
  text-decoration: underline;
}

.cart-item__meta,
.cart-summary__copy {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.cart-summary__status {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.6;
}

.cart-item__actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.cart-item__price,
.cart-summary__total {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
}

.cart-summary {
  display: grid;
  gap: 12px;
}

.cart-checkout-form {
  display: grid;
  gap: 12px;
}

.cart-checkout-form__field {
  display: grid;
  gap: 6px;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.cart-checkout-form__field span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-checkout-form__field input {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(242, 216, 170, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.cart-checkout-form__field input:focus-visible {
  outline: 2px solid rgba(242, 216, 170, 0.4);
  outline-offset: 2px;
}

.cart-checkout-form__feedback {
  min-height: 1.4em;
  margin: 0;
  color: var(--accent-strong);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.cart-summary__button {
  width: 100%;
}

.cart-unavailable {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.cart-unavailable[hidden] {
  display: none;
}

.cart-unavailable__header,
.cart-unavailable__list {
  display: grid;
  gap: 14px;
}

.cart-item--unavailable {
  border-color: rgba(242, 216, 170, 0.22);
  background: rgba(79, 43, 28, 0.26);
}

.cart-item__meta--warning {
  color: var(--accent-strong);
}

.product-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__price {
  color: var(--accent-strong);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.product-card__title {
  font-size: 1.5rem;
}

.product-byline,
.product-card__subtitle,
.product-subtitle,
.product-card__meta,
.browse-card p,
.catalog-count,
.fulfillment-note,
.identity-strip dd {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

.product-byline {
  margin: 0;
  color: var(--accent-strong);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

.product-card__meta--byline {
  color: var(--accent-strong);
}

.author-link {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.author-link:hover,
.author-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  outline: none;
}

.browse-card {
  justify-content: center;
  min-height: 180px;
  padding: 20px;
}

.browse-card h3 {
  font-size: 1.35rem;
}

.store-browser,
.bookshelf-browser {
  display: grid;
  gap: 18px;
}

.store-browser__view-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(242, 216, 170, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  width: fit-content;
}

.store-browser__view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.store-browser__view-button:hover,
.store-browser__view-button:focus-visible {
  color: var(--text);
  outline: none;
}

.store-browser__view-button:hover {
  transform: translateY(-1px);
}

.store-browser__view-button[aria-pressed="true"] {
  border-color: rgba(242, 216, 170, 0.24);
  background: rgba(242, 216, 170, 0.12);
  color: var(--accent-strong);
}

.store-browser__panel {
  display: grid;
  gap: 18px;
}

.store-browser[data-store-has-views="true"] .store-browser__panel {
  display: none;
}

.store-browser[data-store-has-views="true"][data-store-view="shelf"] .store-browser__panel[data-store-view-panel="shelf"],
.store-browser[data-store-has-views="true"][data-store-view="catalog"] .store-browser__panel[data-store-view-panel="catalog"] {
  display: grid;
}

@media (max-width: 980px), (hover: none) {
  .store-browser[data-store-has-views="true"]:not([data-store-view-locked="true"]) .store-browser__panel[data-store-view-panel="shelf"] {
    display: none;
  }

  .store-browser[data-store-has-views="true"]:not([data-store-view-locked="true"]) .store-browser__panel[data-store-view-panel="catalog"] {
    display: grid;
  }
}

.bookshelf-browser__header,
.catalog-browser__header {
  display: grid;
  gap: 8px;
}

.bookshelf-browser__header h3,
.catalog-browser__header h3 {
  font-size: 1.45rem;
}

.bookshelf-browser__header p,
.catalog-browser__header p {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.bookshelf-stack {
  display: grid;
  gap: 18px;
  justify-items: start;
  width: fit-content;
  max-width: 100%;
  margin-inline: 0 auto;
}

.bookshelf-grid {
  --bookshelf-spine-width: 60px;
  --bookshelf-cover-width: clamp(188px, 16vw, 236px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--shelf-items, 12), 60px);
  gap: 10px;
  align-items: end;
  padding: 16px 18px 20px;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(42, 26, 17, 0.74), rgba(16, 10, 7, 0.9));
  box-shadow:
    inset 0 -10px 0 rgba(59, 34, 20, 0.92),
    inset 0 -14px 0 rgba(136, 88, 52, 0.25),
    0 18px 34px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  margin-inline: 0 auto;
}

.bookshelf-grid--compact {
  grid-template-columns: repeat(3, 60px);
  width: fit-content;
  max-width: 100%;
}

.bookshelf-book {
  --bookshelf-cover-left: 0;
  --bookshelf-cover-right: auto;
  --bookshelf-cover-origin: left center;
  --bookshelf-cover-rest-transform: rotateY(88deg) scale(0.96);
  --bookshelf-spine-origin: left center;
  --bookshelf-spine-open-transform: rotateY(-88deg) scaleX(0.74);
  --bookshelf-cover-radius: 16px 10px 10px 16px;
  display: block;
  position: relative;
  z-index: 0;
  width: var(--bookshelf-spine-width);
  min-height: 310px;
  text-decoration: none;
  perspective: 1200px;
  overflow: visible;
  transition: z-index 0ms linear 130ms;
}

.bookshelf-book__scene {
  position: relative;
  display: block;
  width: 100%;
  min-height: 310px;
}

.bookshelf-book__spine,
.bookshelf-book__cover-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(242, 216, 170, 0.18);
  border-radius: var(--bookshelf-cover-radius);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 260ms ease, opacity 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.bookshelf-book__spine {
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 10px;
  padding: 14px 8px;
  transform-origin: var(--bookshelf-spine-origin);
  background:
    linear-gradient(180deg, rgba(125, 77, 42, 0.95), rgba(66, 39, 22, 0.98)),
    linear-gradient(90deg, rgba(255, 240, 216, 0.12), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.24));
}

.bookshelf-book:nth-child(3n + 2) .bookshelf-book__spine {
  background:
    linear-gradient(180deg, rgba(90, 60, 33, 0.95), rgba(44, 28, 17, 0.98)),
    linear-gradient(90deg, rgba(255, 240, 216, 0.12), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.24));
}

.bookshelf-book:nth-child(4n + 3) .bookshelf-book__spine {
  background:
    linear-gradient(180deg, rgba(112, 48, 34, 0.95), rgba(57, 24, 17, 0.98)),
    linear-gradient(90deg, rgba(255, 240, 216, 0.12), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.24));
}

.bookshelf-book__status,
.bookshelf-book__title,
.bookshelf-book__author {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
}

.bookshelf-book__status,
.bookshelf-book__author,
.bookshelf-book__mobile-subtitle,
.bookshelf-book__mobile-meta {
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.bookshelf-book__status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bookshelf-book__title {
  color: #fff4df;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bookshelf-book__author {
  font-size: 0.8rem;
  line-height: 1.45;
}

.bookshelf-book__cover-frame {
  top: 0;
  bottom: 0;
  left: var(--bookshelf-cover-left);
  right: var(--bookshelf-cover-right);
  z-index: 2;
  width: var(--bookshelf-cover-width);
  opacity: 0;
  pointer-events: none;
  transform: var(--bookshelf-cover-rest-transform);
  transform-origin: var(--bookshelf-cover-origin);
  background:
    linear-gradient(180deg, rgba(24, 16, 12, 0.96), rgba(8, 6, 5, 0.98));
}

.bookshelf-book__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bookshelf-book__mobile {
  display: none;
}

.bookshelf-book:hover,
.bookshelf-book:focus-visible {
  z-index: 3;
  transition-delay: 0ms;
}

.bookshelf-book:focus-visible {
  outline: 2px solid rgba(242, 216, 170, 0.82);
  outline-offset: 8px;
}

.bookshelf-book--edge-right {
  --bookshelf-cover-left: auto;
  --bookshelf-cover-right: 0;
  --bookshelf-cover-origin: right center;
  --bookshelf-cover-rest-transform: rotateY(-88deg) scale(0.96);
  --bookshelf-spine-origin: right center;
  --bookshelf-spine-open-transform: rotateY(88deg) scaleX(0.74);
  --bookshelf-cover-radius: 10px 16px 16px 10px;
}

.bookshelf-book[data-bookshelf-force-right="true"] {
  --bookshelf-cover-left: calc(100% - 2px);
  --bookshelf-cover-right: auto;
  --bookshelf-cover-origin: left center;
  --bookshelf-cover-rest-transform: rotateY(88deg) scale(0.96);
}

.catalog-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.catalog-control {
  display: grid;
  gap: 6px;
}

.catalog-control:first-child {
  grid-column: span 2;
}

.catalog-control span {
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-control--toggle {
  align-content: end;
}

.catalog-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(242, 216, 170, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.catalog-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.catalog-toggle span {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

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

.title-index__link {
  min-width: 2rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(242, 216, 170, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-strong);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.title-index__link:hover,
.title-index__link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.product-cover {
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-hero__meta span {
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(242, 216, 170, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
}

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

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

.identity-strip__item {
  padding: 16px;
  border: 1px solid rgba(242, 216, 170, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.identity-strip dt {
  margin: 0 0 6px;
  color: var(--accent);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.preview-panel {
  display: grid;
  gap: 16px;
}

.preview-feature {
  width: fit-content;
  max-width: calc((100% - 18px) * 0.56);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 216, 170, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.preview-feature img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(78vh, 760px);
  height: auto;
  object-fit: contain;
}

.preview-note {
  background: rgba(255, 255, 255, 0.035);
}

.inline-link {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--text);
  outline: none;
}

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

.preview-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.preview-figure img,
.preview-video video {
  display: block;
  width: 100%;
  height: auto;
}

.author-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 18px;
  align-items: start;
}

.author-hero__copy,
.author-hero__aside {
  display: grid;
  gap: 14px;
}

.author-card-grid,
.author-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.author-card,
.author-post {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.author-card__tagline,
.author-card__bio,
.author-post__date,
.author-post__excerpt,
.author-post__body p {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.author-card__tagline {
  color: var(--accent-strong);
  font-weight: 700;
}

.author-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
}

.author-card__meta span {
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(242, 216, 170, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.author-post__date {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.author-post__excerpt {
  color: var(--text);
}

.author-post__body {
  display: grid;
  gap: 10px;
}

.discussion-form,
.discussion-reply-form,
.discussion-list,
.discussion-comments {
  display: grid;
  gap: 14px;
}

.discussion-form {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(242, 216, 170, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.discussion-form label,
.discussion-reply-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

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

.discussion-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  line-height: 1.55;
}

.discussion-thread,
.discussion-comment {
  padding: 18px;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.discussion-thread > header,
.discussion-comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.discussion-comment--author {
  border-color: rgba(242, 198, 108, 0.42);
  background: rgba(119, 76, 25, 0.2);
}

.author-response-badge {
  margin-right: auto;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  background: var(--accent);
  color: #21140b;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.discussion-status {
  margin: 0;
  color: var(--accent-strong);
}

.discussion-status--error {
  color: #ffaaa0;
}

.account-page {
  display: grid;
  gap: 20px;
}

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

.account-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(242, 216, 170, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.account-card h2 {
  font-size: 1.6rem;
}

.account-card p,
.account-help,
.account-summary {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

.account-form {
  display: grid;
  gap: 13px;
}

.account-form--compact {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 216, 170, 0.12);
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.account-form input,
.account-form textarea {
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(242, 216, 170, 0.22);
  border-radius: 14px;
  background: rgba(12, 8, 6, 0.56);
  color: var(--text);
  font: inherit;
}

.account-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.account-form input:focus-visible,
.account-form textarea:focus-visible,
.account-card button:focus-visible {
  border-color: rgba(242, 216, 170, 0.48);
  outline: 3px solid rgba(232, 194, 126, 0.22);
  outline-offset: 2px;
}

.account-card--forum {
  width: min(100%, 760px);
}

.account-optional {
  color: var(--muted);
  font-weight: 400;
}

.forum-member {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-inline: auto;
}

.forum-member__name,
.forum-member__bio,
.forum-member__joined {
  margin: 0;
  white-space: normal;
}

.forum-avatar {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 216, 170, 0.2);
  border-radius: 18%;
  background: rgba(255, 255, 255, 0.05);
  object-fit: cover;
}

.forum-avatar--small {
  width: 44px;
  height: 44px;
}

.forum-avatar--large {
  width: 128px;
  height: 128px;
}

.forum-member__identity,
.forum-avatar-editor__identity,
.forum-avatar-editor__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.forum-member__identity h1,
.forum-avatar-editor h3,
.forum-avatar-editor p {
  margin: 0;
}

.forum-avatar-editor {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(242, 216, 170, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(12, 8, 6, 0.24);
}

.forum-avatar-editor[hidden] {
  display: none;
}

.forum-avatar-presets {
  margin: 8px 0;
  padding: 16px;
  border: 1px solid rgba(242, 216, 170, 0.2);
  border-radius: var(--radius-lg);
}

.forum-avatar-presets__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 10px;
}

.forum-avatar-presets__grid label {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 9px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
}

.forum-avatar-presets__grid label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(196, 142, 75, 0.12);
}

.forum-avatar-presets__grid label:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.forum-avatar-presets__grid input { position: absolute; opacity: 0; }
.forum-avatar-presets__grid img { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.forum-avatar-presets__grid span { font-size: 0.82rem; line-height: 1.25; }

.forum-home,
.forum-category-placeholder,
.forum-category,
.forum-topic {
  display: grid;
  gap: 22px;
}

.forum-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(242, 216, 170, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.forum-identity p {
  margin: 0;
}

.forum-category-list {
  display: grid;
  gap: 14px;
}

.forum-category-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(242, 216, 170, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.forum-category-card__body {
  display: grid;
  gap: 7px;
}

.forum-category-card h2,
.forum-category-card p,
.forum-category-card dl,
.forum-category-card dd,
.forum-category-card dt {
  margin: 0;
}

.forum-category-card h2 a {
  display: inline-block;
  padding-block: 4px;
  color: var(--accent-strong);
  text-underline-offset: 4px;
}

.forum-category-card h2 a:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(232, 194, 126, 0.32);
  outline-offset: 3px;
}

.forum-category-card__counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, auto));
  gap: 10px;
  text-align: center;
}

.forum-category-card__counts div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(12, 8, 6, 0.3);
}

.forum-category-card__counts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.forum-category-card__counts dd {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
}

.forum-category-placeholder__description {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.forum-notice {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(242, 216, 170, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.forum-notice h2,
.forum-notice p {
  margin: 0;
}

.forum-topic-list { display: grid; gap: 12px; }
.forum-topic-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid rgba(242, 216, 170, 0.15); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); }
.forum-topic-card h2, .forum-topic-card p, .forum-topic-card dl, .forum-topic-card dt, .forum-topic-card dd { margin: 0; }
.forum-topic-card__main, .forum-topic-card__creator { display: grid; gap: 8px; }
.forum-topic-card__creator { grid-template-columns: auto minmax(0, 1fr); align-items: center; color: var(--muted); }
.forum-topic-card__facts { display: grid; grid-template-columns: repeat(2, minmax(90px, auto)); gap: 10px; }
.forum-topic-card__facts div { padding: 9px 11px; border-radius: 10px; background: rgba(12, 8, 6, 0.3); }
.forum-topic-card__facts dt { color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.forum-topic-card__facts dd { margin-top: 3px; }
.forum-topic-create { display: grid; gap: 14px; padding: 20px; border: 1px solid rgba(242, 216, 170, 0.16); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); }
.forum-topic-create h2, .forum-topic-create p { margin: 0; }
.forum-topic-create form { display: grid; gap: 9px; }
.forum-topic-create input, .forum-topic-create textarea { width: 100%; }
.forum-topic-create__help, .forum-topic-create__status, .forum-topic-sign-in { color: var(--muted); }
.forum-post { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); border: 1px solid rgba(242, 216, 170, 0.16); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.forum-post__author, .forum-post__content { display: grid; align-content: start; gap: 10px; padding: 20px; }
.forum-post__author { background: rgba(12, 8, 6, 0.25); }
.forum-post__author p, .forum-post__content p { margin: 0; }
.forum-post__meta { color: var(--muted); font-size: 0.86rem; }
.forum-post__display-name { color: var(--text); }
.forum-post__body { display: grid; gap: 0.85em; overflow-wrap: anywhere; line-height: 1.7; }
.forum-post__blank { min-height: 0.6em; }
.forum-discussion { display: grid; gap: 16px; }
.forum-reply-create { display: grid; gap: 14px; padding: 20px; border: 1px solid rgba(242, 216, 170, 0.16); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); }
.forum-reply-create h2, .forum-reply-create p { margin: 0; }
.forum-reply-create form { display: grid; gap: 9px; }
.forum-reply-create textarea { width: 100%; }
.forum-reply-create form > p { color: var(--muted); }
.forum-reply-success { padding: 10px 12px; border: 1px solid rgba(137, 194, 124, 0.35); border-radius: 10px; background: rgba(137, 194, 124, 0.1); }
.forum-report { margin-top: 12px; color: var(--muted); }
.forum-report summary { cursor: pointer; font-weight: 700; }
.forum-report-form, .forum-moderation-action { display: grid; gap: 10px; margin-top: 10px; }
.forum-report-form label, .forum-moderation-action label { display: grid; gap: 6px; }
.forum-topic-pinned { color: var(--accent); font-size: 0.72em; text-transform: uppercase; }
.forum-moderation, .forum-moderation-list { display: grid; gap: 18px; }
.forum-moderation-card { display: grid; gap: 10px; padding: 20px; border: 1px solid rgba(242,216,170,.16); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); }
.forum-moderation-card h2, .forum-moderation-card p { margin: 0; }
.forum-moderation-card__excerpt { padding: 12px; white-space: pre-wrap; background: rgba(12,8,6,.3); }
.forum-moderation-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.forum-post--hidden { border-color: rgba(196,142,75,.55); }

@media (max-width: 640px) {
  .forum-category-card {
    grid-template-columns: 1fr;
  }

  .forum-category-card__counts {
    grid-template-columns: repeat(2, 1fr);
  }

  .forum-topic-card, .forum-post { grid-template-columns: 1fr; }
  .forum-topic-card__facts { grid-template-columns: repeat(2, 1fr); }
}

.google-signin-control {
  min-height: 44px;
}

.account-card--session,
.account-card--reset {
  align-content: start;
}

.creator-onboarding { gap: 16px; }
.creator-registration-details > summary { cursor: pointer; color: var(--accent-strong); font-weight: 700; }
.creator-registration-form fieldset { display: grid; gap: 10px; margin: 0; padding: 18px; border: 1px solid rgba(242, 216, 170, 0.18); border-radius: 14px; }
.creator-registration-form legend { padding: 0 6px; color: var(--text); font-weight: 700; }
.creator-registration-form legend span { margin-left: 6px; color: var(--accent-strong); font-size: 0.78rem; text-transform: uppercase; }
.creator-agreement { padding: 12px; border: 1px solid rgba(242, 216, 170, 0.14); border-radius: 10px; background: rgba(12, 8, 6, 0.25); }
.creator-agreement summary { cursor: pointer; font-weight: 700; }
.creator-status-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.creator-status-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding: 11px 13px; border: 1px solid rgba(242, 216, 170, 0.15); border-radius: 10px; }
.creator-status-item--complete span { color: #a8d79b; }
.creator-status-item--attention span { color: var(--accent-strong); }
.creator-onboarding-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 640px) {
  .discussion-form__fields {
    grid-template-columns: 1fr;
  }

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

.author-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.05rem;
  border: 1px solid rgba(242, 216, 170, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-strong);
  text-decoration: none;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.author-link-pill:hover,
.author-link-pill:focus-visible {
  color: var(--text);
  border-color: rgba(242, 216, 170, 0.42);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
  outline: none;
}

body.view-section .store-section {
  background:
    linear-gradient(180deg, rgba(23, 15, 10, 0.66), rgba(15, 10, 7, 0.74));
  border-color: rgba(242, 216, 170, 0.16);
}

body.view-section .product-card,
body.view-section .browse-card,
body.view-section .store-spotlight,
body.view-section .author-card,
body.view-section .author-post,
body.view-section .identity-strip__item,
body.view-section .preview-figure {
  background: rgba(18, 12, 9, 0.18);
  border-color: rgba(242, 216, 170, 0.16);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  border-radius: 20px;
  background: rgba(20, 13, 9, 0.46);
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 6px;
  border: 1px solid rgba(242, 216, 170, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.footer-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-mark:hover,
.footer-mark:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(242, 216, 170, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(242, 216, 170, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-strong);
  text-decoration: none;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
  border-color: rgba(242, 216, 170, 0.42);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
  outline: none;
}

body.view-section .site-nav {
  background: rgba(20, 13, 9, 0.48);
}

body.view-section .hero,
body.view-section .latest,
body.view-section .workshop,
body.view-section .commitment,
body.view-section .about,
body.view-section .pillars,
body.view-section .releases,
body.view-section .statement-page,
body.view-section .store-callout {
  background:
    linear-gradient(180deg, rgba(23, 15, 10, 0.62), rgba(15, 10, 7, 0.7));
  border-color: rgba(242, 216, 170, 0.16);
}

body.view-section .note-card,
body.view-section .workshop-card,
body.view-section .pillar-card,
body.view-section .feature-card,
body.view-section .release-group,
body.view-section .release-card,
body.view-section .statement-block,
body.view-section .creation-standard-placard,
body.view-section .store-callout__panel,
body.view-section .site-footer {
  background: rgba(18, 12, 9, 0.18);
  border-color: rgba(242, 216, 170, 0.16);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .author-hero,
  .store-hero,
  .store-spotlight,
  .product-hero,
  .store-callout,
  .feature-card,
  .workshop-card,
  .pillar-grid,
  .release-grid,
  .author-card-grid,
  .author-post-grid,
  .product-card-grid,
  .product-support-grid,
  .browse-card-grid,
  .cart-layout,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .catalog-controls,
  .identity-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-feature {
    width: 100%;
    max-width: 100%;
  }

  .store-browser__view-switcher {
    width: 100%;
    justify-content: center;
  }

  .catalog-control:first-child {
    grid-column: span 2;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .bookshelf-grid {
    --bookshelf-spine-width: 100%;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cart-item__actions {
    justify-items: start;
  }

  .bookshelf-book,
  .bookshelf-book__scene {
    width: 100%;
    min-height: auto;
  }

  .bookshelf-book__spine,
  .bookshelf-book__cover-frame {
    display: none;
  }

  .bookshelf-book__mobile {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(242, 216, 170, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  }

  .bookshelf-book__mobile-media {
    overflow: hidden;
    border-radius: 14px;
    background:
      linear-gradient(180deg, rgba(30, 19, 13, 0.94), rgba(11, 8, 6, 0.98));
    aspect-ratio: 4 / 5;
  }

  .bookshelf-book__mobile-copy {
    display: grid;
    align-content: start;
    gap: 10px;
  }

  .bookshelf-book__mobile-title {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
  }

  .bookshelf-book__mobile-subtitle,
  .bookshelf-book__mobile-meta {
    line-height: 1.65;
  }
}

@media (max-width: 640px) {
  .site-intro {
    justify-content: center;
    padding: 16px;
  }

  .page-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 12px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand {
    align-items: center;
    gap: 12px;
  }

  .brand__logo {
    width: 71px;
  }

  .site-intro__panel {
    justify-items: center;
    width: min(420px, 100%);
    margin-top: 0;
    padding: 16px 18px;
    text-align: center;
  }

  .brand__name {
    font-size: 1.2rem;
  }

  .brand__tag {
    font-size: 0.8rem;
  }

  .hero__panel,
  .hero__bench,
  .store-section,
  .latest,
  .workshop,
  .commitment,
  .about,
  .pillars,
  .releases,
  .statement-page,
  .store-callout,
  .site-footer,
  .release-group {
    padding: 18px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 6px;
  }

  .site-nav a {
    width: auto;
    flex: 1 1 40%;
    text-align: center;
    font-size: 0.92rem;
    padding: 10px 8px;
  }

  .button {
    width: 100%;
  }

  .catalog-controls,
  .identity-strip {
    grid-template-columns: 1fr;
  }

  .catalog-control:first-child {
    grid-column: span 1;
  }

  .catalog-tools {
    align-items: flex-start;
  }

  .store-browser__view-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .store-browser__view-button {
    width: 100%;
  }

  .feature-card {
    gap: 18px;
  }

  .feature-card__frame {
    aspect-ratio: 16 / 11.5;
    padding: 14px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.2rem, 8vw, 3.25rem);
    line-height: 1;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .note-card h2 {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro,
  .page-shell {
    transition-duration: 120ms;
  }
}
.marketplace-ad-banner{height:clamp(72px,12vw,150px);margin:0 auto 1rem;max-width:1200px;overflow:hidden;background:#17130f;border:1px solid rgba(242,216,170,.18);opacity:0;transition:opacity .8s ease}.marketplace-ad-banner.is-visible{opacity:1}.marketplace-ad-banner a{display:grid;height:100%;position:relative}.marketplace-ad-banner img{height:100%;width:100%;object-fit:cover}.marketplace-ad-banner span{position:absolute;z-index:1;padding:.2rem .45rem;background:rgba(0,0,0,.72);color:#fff;font-size:.72rem}.creator-dashboard-banner{margin-bottom:1rem}@media(prefers-reduced-motion:reduce){.marketplace-ad-banner{transition:none}}
.creator-reputation{display:grid;gap:.55rem;align-items:start}.creator-badges{display:flex;flex-wrap:wrap;gap:.45rem}.creator-badge{display:inline-flex;align-items:center;min-height:28px;padding:.3rem .65rem;border:1px solid rgba(242,216,170,.3);border-radius:999px;background:rgba(255,255,255,.055);color:var(--accent-strong);font:700 .78rem/1.2 "Trebuchet MS","Segoe UI",Arial,sans-serif}.creator-badge--historical{border-color:rgba(232,194,126,.5)}.creator-badge--achievement{border-color:rgba(137,194,124,.45)}.creator-badge--service-tier{border-style:double}.creator-rating,.creator-badge-overflow{margin:0;color:var(--muted);font:700 .88rem/1.4 "Trebuchet MS","Segoe UI",Arial,sans-serif}.creator-reputation--profile.creator-reputation--founding{position:relative;isolation:isolate}.creator-reputation--profile.creator-reputation--founding::before{position:absolute;z-index:-1;inset:-1rem;border-radius:999px;background:radial-gradient(circle,rgba(232,194,126,.16),transparent 70%);content:"";pointer-events:none}.launch-week-callout{position:relative;overflow:hidden}.launch-week-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}@media(prefers-reduced-motion:reduce){.creator-reputation *,.launch-week-callout *{animation:none!important;transition:none!important}}
.creator-rating-entry{display:grid;gap:.65rem;margin-top:.75rem;padding:1rem;border:1px solid rgba(242,216,170,.16);border-radius:14px;background:rgba(12,8,6,.24)}.creator-rating-entry h3,.creator-rating-entry p{margin:0}.creator-rating-guidance,.creator-rating-form__status{color:var(--muted);line-height:1.55}.creator-rating-form,.creator-rating-form fieldset{display:grid;gap:.7rem;margin:0}.creator-rating-form fieldset{padding:0;border:0}.creator-rating-form legend{font-weight:700}.creator-rating-stars{display:flex;flex-wrap:wrap;gap:.4rem}.creator-rating-stars label{position:relative;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(242,216,170,.25);border-radius:10px;cursor:pointer;background:rgba(255,255,255,.04);color:var(--muted);font-size:1.55rem}.creator-rating-stars input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.creator-rating-stars label:has(input:checked){border-color:var(--accent);background:rgba(196,142,75,.18);color:var(--accent-strong)}.creator-rating-stars label:focus-within{outline:3px solid rgba(232,194,126,.35);outline-offset:3px}.creator-rating-distribution{display:grid;gap:.35rem;margin:.5rem 0 0;padding-left:1.25rem}.library-creator-rating:empty{display:none}
.discovery-labels{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.55rem}.discovery-label{display:inline-flex;padding:.28rem .6rem;border:1px solid rgba(137,194,124,.38);border-radius:999px;background:rgba(137,194,124,.09);color:var(--text);font:700 .75rem/1.2 "Trebuchet MS","Segoe UI",Arial,sans-serif}.discovery-label--new-release,.discovery-label--new-and-rising{border-color:rgba(232,194,126,.42);background:rgba(196,142,75,.1)}

/* 2026 shelf storefront */
:root{--shop-green:#1f2a22;--shop-green-deep:#151c17;--shop-tobacco:#4a3326;--shop-walnut:#6a4a35;--shop-gold:#b89a4a;--shop-parchment:#e7e0cf;--shop-muted:#b7ae9d;--store-header-height:92px}
body:has(.shelf-storefront){background:#182019;color:var(--shop-parchment)}
body:has(.shelf-storefront)::before{background:radial-gradient(circle at 30% 0,rgba(184,154,74,.08),transparent 32%),linear-gradient(180deg,#1f2a22,#182019 70%);filter:none}
body:has(.shelf-storefront) .site-header{position:sticky;top:0;z-index:50;min-height:var(--store-header-height);margin:0 -16px 20px;padding:9px 16px;border-bottom:1px solid rgba(184,154,74,.25);background:rgba(21,28,23,.96);box-shadow:0 8px 24px rgba(0,0,0,.28);backdrop-filter:blur(10px)}
body:has(.shelf-storefront) .brand__logo{width:68px}body:has(.shelf-storefront) .brand__tag{display:none}body:has(.shelf-storefront) .site-nav{padding:5px;background:rgba(0,0,0,.12)}body:has(.shelf-storefront) .site-nav a{padding:8px 10px;font-size:.88rem}
.shelf-storefront{display:grid;gap:26px}.store-welcome{max-width:820px;padding:12px 4px 0}.store-welcome h1{margin:.15em 0;font-size:clamp(2rem,5vw,4rem);line-height:1}.store-welcome p:last-child{max-width:66ch;color:var(--shop-muted);font-family:"Trebuchet MS","Segoe UI",sans-serif;line-height:1.65}
.shelf-storefront .store-section{padding:22px 20px 28px;border-color:rgba(184,154,74,.18);background:rgba(21,28,23,.56);box-shadow:none}.shelf-storefront .section-heading{margin-bottom:16px}.shelf-storefront .section-heading h2{color:var(--shop-parchment)}.shelf-storefront .section-heading__kicker{color:var(--shop-gold)}
.shelf-storefront .bookshelf-grid{position:relative;display:flex;align-items:flex-end;gap:7px;width:100%;padding:18px 74px 26px;border:0;border-radius:5px;background:linear-gradient(180deg,rgba(18,25,20,.78),rgba(12,17,14,.9));box-shadow:inset 0 -10px 0 #4a3326,inset 0 -14px 0 #6a4a35,inset 0 -16px 0 rgba(184,154,74,.35),0 18px 22px rgba(0,0,0,.25);overflow:visible}
.shelf-dressing{position:absolute;z-index:1;bottom:calc(23px - var(--shelf-contact-shift,0px));display:flex;align-items:flex-end;justify-content:center;gap:0;width:92px;height:92px;overflow:visible;pointer-events:none;user-select:none;opacity:.9;filter:drop-shadow(0 6px 5px rgba(0,0,0,.48));transition:opacity .2s ease}.shelf-dressing--left{left:-16px}.shelf-dressing--right{right:-16px;flex-direction:row-reverse}.shelf-dressing__object{position:relative;display:block;flex:0 0 auto;max-width:none;object-fit:contain;object-position:center bottom;overflow:visible;transform:translateY(var(--shelf-art-base-nudge,0px))}.shelf-dressing__object[src$="/variegated_pothos_in_ornate_green_urn.webp"]{--shelf-art-base-nudge:3px}.shelf-dressing__object[src$="/antique_golden_book_trophy.webp"]{--shelf-art-base-nudge:3px}.shelf-dressing__object[src$="/antique_brass_globe_on_stacked_books.webp"],.shelf-dressing__object[src$="/antique_brass_lantern_with_candle_glow.webp"],.shelf-dressing__object[src$="/cheerful_ceramic_sumo_figurine.webp"],.shelf-dressing__object[src$="/frosted_holiday_tree_with_velvet_bow.webp"]{--shelf-art-base-nudge:1px}.shelf-dressing__object[src$="/basketball_trophy_on_walnut_stand.webp"],.shelf-dressing__object[src$="/vintage_books_and_magnifying_glass.webp"]{--shelf-art-base-nudge:4px}.shelf-dressing__object[src$="/glowing_autumn_jack_o_lantern_harvest_decor.webp"]{--shelf-art-base-nudge:6px}.shelf-dressing__object[src$="/enchanted_books_and_emerald_dice.webp"]{--shelf-art-base-nudge:7px}.shelf-dressing__object--plant{z-index:1;width:76px;height:76px}.shelf-dressing__object--secondary{z-index:2;width:84px;height:84px;margin-left:-68px}.shelf-dressing__object--house{width:90px;height:90px;margin-left:-74px}.shelf-dressing__object--event{width:88px;height:88px;margin-left:-72px}.shelf-dressing--right .shelf-dressing__object--secondary{margin-right:-68px;margin-left:0}.shelf-dressing--right .shelf-dressing__object--house{margin-right:-74px}.shelf-dressing--right .shelf-dressing__object--event{margin-right:-72px}.shelf-dressing--house{height:94px;opacity:1}.shelf-dressing--event{height:92px;opacity:.97}.search-shelves .shelf-dressing{transform:scale(.9);transform-origin:center bottom}body.book-examination-active .shelf-dressing{opacity:.38}
.shelf-storefront .bookshelf-book,.shelf-storefront .bookshelf-book--edge-right{--bookshelf-spine-width:var(--book-spine-width,58px);--bookshelf-cover-left:auto;--bookshelf-cover-right:calc(100% - 2px);--bookshelf-cover-origin:right center;--bookshelf-cover-rest-transform:rotateY(-88deg) scale(.96);--bookshelf-spine-origin:left center;--bookshelf-spine-open-transform:rotateY(88deg) scaleX(.74);--bookshelf-cover-radius:10px 16px 16px 10px;flex:0 0 var(--book-spine-width,58px);width:var(--book-spine-width,58px);min-height:var(--book-height,296px);transition:transform .46s cubic-bezier(.2,.72,.22,1),filter .3s ease,z-index 0s .46s}.shelf-storefront .bookshelf-book__scene{min-height:inherit}
.bookshelf-book__details{position:absolute;z-index:4;top:8px;right:calc(var(--bookshelf-cover-width) + 16px);left:auto;display:grid;gap:7px;width:210px;padding:14px;border:1px solid rgba(184,154,74,.3);border-radius:10px;background:rgba(21,28,23,.97);box-shadow:0 16px 32px rgba(0,0,0,.35);color:var(--shop-muted);font:500 .84rem/1.4 "Trebuchet MS","Segoe UI",sans-serif;opacity:0;pointer-events:none;transform:translateX(10px);transition:opacity .18s ease,transform .24s ease}.bookshelf-book__details strong{color:var(--shop-parchment);font:700 1.05rem/1.15 Georgia,serif}.bookshelf-book__details em{color:var(--shop-gold);font-style:normal;font-weight:700}
.bookshelf-book__badges{display:flex;flex-wrap:wrap;gap:5px}.bookshelf-book__details .status-badge{font-size:.65rem}.bookshelf-book__publisher{color:var(--shop-gold)}.bookshelf-book__price{color:var(--shop-parchment);font-weight:700}.shelf-storefront .bookshelf-book__details{top:8px;left:calc(50% + 16px);right:auto;width:230px;transform:translateX(-10px);transition:opacity .22s ease .1s,transform .32s ease}
.bookshelf-book__placeholder{align-self:flex-end;flex:0 0 var(--placeholder-width);width:var(--placeholder-width);height:var(--placeholder-height);min-height:var(--placeholder-height);border-radius:10px;background:linear-gradient(90deg,rgba(0,0,0,.2),rgba(0,0,0,.38),rgba(0,0,0,.16));box-shadow:inset 0 -5px 9px rgba(0,0,0,.28)}.shelf-storefront .bookshelf-book.is-examining{position:fixed;z-index:60;margin:0;transform:translate3d(var(--examination-x,0),var(--examination-y,0),40px);filter:drop-shadow(0 20px 18px rgba(0,0,0,.54));transition:transform .46s cubic-bezier(.2,.72,.22,1),filter .3s ease}.shelf-storefront .bookshelf-book.is-examining .bookshelf-book__spine{opacity:.06;transform:var(--bookshelf-spine-open-transform)}.shelf-storefront .bookshelf-book.is-examining .bookshelf-book__cover-frame{right:50%;left:auto;opacity:1;pointer-events:auto;transform:rotateY(0) scale(1);border-color:rgba(242,216,170,.34);box-shadow:0 22px 40px rgba(0,0,0,.38)}.shelf-storefront .bookshelf-book.is-examining .bookshelf-book__details{opacity:1;pointer-events:auto;transform:none}.shelf-storefront .bookshelf-book.is-examining.is-returning{transform:translate3d(var(--return-x,0),var(--return-y,0),40px);filter:none}.shelf-storefront .bookshelf-book.is-examining.is-returning .bookshelf-book__spine{opacity:1;transform:none}.shelf-storefront .bookshelf-book.is-examining.is-returning .bookshelf-book__cover-frame{opacity:0;pointer-events:none;transform:var(--bookshelf-cover-rest-transform)}.shelf-storefront .bookshelf-book.is-examining.is-returning .bookshelf-book__details{opacity:0;pointer-events:none;transform:translateX(-10px)}.shelf-storefront .store-section:has(.bookshelf-book.is-examining),.shelf-storefront .bookshelf-grid:has(.bookshelf-book.is-examining){position:relative;z-index:55}
.shelf-storefront::before{content:"";position:fixed;inset:0;z-index:20;background:rgba(7,10,8,0);pointer-events:none;transition:background .28s ease}body.book-examination-active .shelf-storefront::before{background:rgba(7,10,8,.25)}
.sponsor-marquee{position:sticky;top:var(--store-header-height);z-index:40;display:grid;grid-template-columns:auto 1fr;align-items:stretch;min-height:74px;border:1px solid rgba(184,154,74,.35);background:#151c17;box-shadow:0 9px 24px rgba(0,0,0,.35);overflow:hidden}.sponsor-marquee[hidden]{display:none}.sponsor-marquee__label{display:grid;place-items:center;padding:8px 12px;border-right:1px solid rgba(184,154,74,.3);color:var(--shop-gold);font:700 .68rem/1.2 "Trebuchet MS",sans-serif;letter-spacing:.12em;text-transform:uppercase;writing-mode:vertical-rl}.sponsor-marquee__viewport{overflow:hidden}.sponsor-marquee__track{display:flex;align-items:center;gap:26px;width:max-content;height:100%;padding:7px 20px;will-change:transform}.sponsor-marquee__item{position:relative;display:block;width:clamp(280px,40vw,520px);height:58px;overflow:hidden;border-radius:5px}.sponsor-marquee__item img{width:100%;height:100%;object-fit:cover}.sponsor-marquee__item span{position:absolute;left:4px;bottom:3px;padding:2px 5px;background:rgba(0,0,0,.7);font:700 .65rem sans-serif}
.search-shelves .store-browser__view-switcher{display:none}.search-shelves .catalog-controls{grid-template-columns:2fr repeat(3,1fr)}.search-shelves .catalog-control:nth-of-type(n+6){display:none}.shelf-empty{margin:10px 0 0;color:var(--shop-muted)}
.store-lower{display:grid;grid-template-columns:minmax(260px,1fr) 1.5fr;gap:34px;margin-top:8px;padding:34px;border-top:1px solid rgba(184,154,74,.32);background:linear-gradient(135deg,rgba(74,51,38,.52),rgba(21,28,23,.82));box-shadow:0 20px 45px rgba(0,0,0,.22)}.store-lower h2{margin:.2em 0}.store-lower p{color:var(--shop-muted);line-height:1.6}.store-lower__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-lower__links a{padding:12px 14px;border-bottom:1px solid rgba(184,154,74,.22);color:var(--shop-parchment);text-decoration:none}.store-lower__links a:hover,.store-lower__links a:focus-visible{color:var(--shop-gold);outline:2px solid rgba(184,154,74,.5);outline-offset:2px}
@media(max-width:900px){:root{--store-header-height:118px}.shelf-storefront .bookshelf-grid{display:flex;align-items:flex-end;gap:8px;max-width:100%;overflow-x:auto;overflow-y:visible;scroll-snap-type:x proximity;padding-top:250px;padding-right:20px;padding-left:20px}.shelf-dressing{display:none}.shelf-storefront .bookshelf-book,.shelf-storefront .bookshelf-book__scene{flex:0 0 54px;width:54px;min-height:280px;scroll-snap-align:center}.shelf-storefront .bookshelf-book{--bookshelf-cover-width:min(48vw,190px)}.shelf-storefront .bookshelf-book__spine,.shelf-storefront .bookshelf-book__cover-frame{display:block}.shelf-storefront .bookshelf-book__mobile{display:none}.shelf-storefront .bookshelf-book__details{top:0;left:calc(50% + 10px);right:auto;width:min(42vw,180px);font-size:.76rem}.shelf-storefront .search-shelves .bookshelf-stack{width:100%}.search-shelves .catalog-controls{grid-template-columns:repeat(2,1fr)}.store-lower{grid-template-columns:1fr}}
@media(max-width:640px){:root{--store-header-height:154px}body:has(.shelf-storefront) .site-header{align-items:stretch}.shelf-storefront .store-section{padding:18px 12px 22px}.sponsor-marquee{grid-template-columns:36px 1fr}.search-shelves .catalog-controls{grid-template-columns:1fr}.store-lower{padding:24px 18px}.store-lower__links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.shelf-storefront *{scroll-behavior:auto!important}.shelf-storefront .bookshelf-book,.shelf-storefront .bookshelf-book__spine,.shelf-storefront .bookshelf-book__cover-frame,.bookshelf-book__details{transition:none!important}.sponsor-marquee__track{transform:none!important;will-change:auto}}

/* Approved storefront mockup alignment */
body:has(.shelf-storefront){overflow-x:hidden;background:#08120d;color:#efe4c9}
body:has(.shelf-storefront)::before{background:radial-gradient(circle at 8% 4%,rgba(105,137,79,.14),transparent 20%),radial-gradient(circle at 92% 18%,rgba(159,116,54,.09),transparent 19%),linear-gradient(180deg,#0b1811 0,#07100c 44%,#100b07 100%)}
body:has(.shelf-storefront) .page-shell{width:min(1500px,100%);padding:0;background:linear-gradient(90deg,rgba(30,18,10,.72),transparent 3%,transparent 97%,rgba(30,18,10,.72));box-shadow:0 0 70px rgba(0,0,0,.48)}
body:has(.shelf-storefront) .site-header{display:grid;grid-template-columns:minmax(280px,auto) minmax(0,1fr);gap:clamp(18px,3vw,48px);min-height:78px;margin:0;padding:7px clamp(18px,4vw,62px);border-top:1px solid rgba(218,183,103,.28);border-right:0;border-bottom:7px solid #4b2e1c;border-left:0;border-radius:0;background:linear-gradient(180deg,rgba(10,27,18,.99),rgba(7,20,14,.99));box-shadow:inset 0 -1px 0 #a87a3e,0 7px 18px rgba(0,0,0,.55);backdrop-filter:none}
body:has(.shelf-storefront) .site-header::after{position:absolute;right:0;bottom:-7px;left:0;height:6px;background:linear-gradient(180deg,#8a5a30 0,#3b2215 38%,#6c4326 58%,#24140d 100%);content:"";pointer-events:none}
body:has(.shelf-storefront) .brand{gap:12px;min-width:0}
body:has(.shelf-storefront) .brand__logo{width:62px;max-height:62px;object-fit:contain;filter:drop-shadow(0 5px 9px rgba(0,0,0,.48))}
body:has(.shelf-storefront) .brand__copy{gap:1px;min-width:0}
body:has(.shelf-storefront) .brand__name{color:#ecdfbd;font:700 clamp(1.05rem,1.7vw,1.55rem)/1 Georgia,"Times New Roman",serif;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}
body:has(.shelf-storefront) .brand__tag{display:block;color:#c7a55b;font:700 .68rem/1.15 Georgia,"Times New Roman",serif;letter-spacing:.14em;text-transform:uppercase}
body:has(.shelf-storefront) .site-nav{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:clamp(3px,.7vw,10px);min-width:0;padding:0;border:0;border-radius:0;background:transparent;backdrop-filter:none}
body:has(.shelf-storefront) .site-nav a{flex:0 0 auto;padding:8px 9px;border:1px solid transparent;border-radius:3px;color:#d6cab0;font:600 .82rem/1.15 Georgia,"Times New Roman",serif;white-space:nowrap}
body:has(.shelf-storefront) .site-nav a:hover,body:has(.shelf-storefront) .site-nav a:focus-visible,body:has(.shelf-storefront) .site-nav a[aria-current="page"]{border-color:rgba(202,166,84,.42);background:rgba(193,153,69,.1);color:#f4e7c5}
body:has(.shelf-storefront) .site-nav a:has(.nav-search__label){display:flex;flex:1 1 340px;align-items:center;justify-content:space-between;gap:12px;max-width:410px;min-width:190px;padding:9px 14px;border-color:rgba(197,163,81,.48);border-radius:999px;background:rgba(0,0,0,.2);color:#aa9f87;font-weight:400}
.nav-search__label{overflow:hidden;text-overflow:ellipsis}.nav-search__icon{color:#e4c66f;font-size:1.35rem;line-height:.7}

.shelf-storefront{position:relative;display:grid;gap:0;margin:0 clamp(10px,2.7vw,42px);border-right:11px solid #3b2316;border-left:11px solid #3b2316;background:repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0 2px,transparent 2px 17px),linear-gradient(90deg,#17251b,#0c1811 48%,#17251b);box-shadow:inset 2px 0 0 #8a5d35,inset -2px 0 0 #8a5d35,0 18px 48px rgba(0,0,0,.45)}
.shelf-storefront>.store-welcome{display:flex;align-items:baseline;gap:14px;max-width:none;padding:9px 32px 8px;border-top:1px solid rgba(218,181,99,.27);border-bottom:4px solid #4a2c1b;background:linear-gradient(180deg,#13241a,#0d1b14);box-shadow:inset 0 -1px 0 #9a6a39}
.shelf-storefront>.store-welcome .section-heading__kicker{flex:0 0 auto;margin:0;color:#c6a45a;font-size:.64rem;letter-spacing:.14em}
.shelf-storefront>.store-welcome h1{flex:0 0 auto;max-width:none;margin:0;color:#f1e5c6;font-size:1rem;line-height:1.15;letter-spacing:.025em;white-space:nowrap}
.shelf-storefront>.store-welcome p:last-child{min-width:0;margin:0;color:#aa9e83;font:italic .76rem/1.35 Georgia,"Times New Roman",serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shelf-storefront>[data-store-closed-notice]{display:block;min-height:0;margin:0;padding:6px 30px;border:0;border-bottom:1px solid rgba(196,155,72,.3);border-radius:0;background:linear-gradient(90deg,rgba(109,69,30,.38),rgba(29,44,31,.78),rgba(109,69,30,.28));box-shadow:none;backdrop-filter:none}
.shelf-storefront>[data-store-closed-notice] .store-callout__copy{display:flex;align-items:baseline;gap:10px;padding:0}
.shelf-storefront>[data-store-closed-notice] .section-heading__kicker{margin:0;color:#deb963;font-size:.62rem;white-space:nowrap}
.shelf-storefront>[data-store-closed-notice] h2{margin:0;color:#f0e3c4;font-size:.85rem;line-height:1.3;white-space:nowrap}
.shelf-storefront>[data-store-closed-notice] p:last-child{margin:0;color:#afa388;font:italic .72rem/1.3 Georgia,"Times New Roman",serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

body:has(.shelf-storefront) .shelf-storefront .store-section{position:relative;margin:0;padding:9px 24px 14px;border:0;border-bottom:5px solid #4a2c1b;border-radius:0;background:linear-gradient(90deg,rgba(19,34,24,.98),rgba(8,20,14,.96) 52%,rgba(19,34,24,.98));box-shadow:inset 0 -1px 0 #986435;backdrop-filter:none}
body:has(.shelf-storefront) .shelf-storefront .store-section::after{position:absolute;right:-11px;bottom:-5px;left:-11px;height:5px;background:linear-gradient(180deg,#99663a,#3a2114 45%,#6a4225 67%,#23130c);content:"";pointer-events:none}
.shelf-storefront .section-heading{display:flex;align-items:baseline;gap:10px;margin:0 58px 7px;min-width:0}
.shelf-storefront .section-heading h2{order:0;margin:0;color:#f0e2c0;font:700 1rem/1.1 Georgia,"Times New Roman",serif;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.shelf-storefront .section-heading__kicker{order:2;margin:0;color:#c09a4c;font:700 .58rem/1.2 "Trebuchet MS","Segoe UI",sans-serif;letter-spacing:.13em;white-space:nowrap}
.shelf-storefront .section-heading>p:last-child{order:1;min-width:0;margin:0;color:#b8a77f;font:italic .71rem/1.25 Georgia,"Times New Roman",serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shelf-storefront .store-section[aria-labelledby="open-rules-shelf-heading"]{background:linear-gradient(90deg,rgba(23,41,28,.99),rgba(9,23,15,.97) 52%,rgba(23,41,28,.99))}
.shelf-storefront .store-section[aria-labelledby="open-rules-shelf-heading"] .section-heading h2{font-size:1.08rem}

.shelf-storefront .bookshelf-grid{--shelf-contact-shift:23px;position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:flex-start;gap:clamp(3px,.42vw,7px);min-height:260px;width:100%;padding:17px 76px 23px;border:3px solid #5a3822;border-top-color:#82552f;border-bottom-width:11px;border-radius:1px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0 1px,transparent 1px 23px),radial-gradient(ellipse at 50% 100%,rgba(144,105,52,.12),transparent 55%),linear-gradient(180deg,#0c1b13 0,#0b1711 58%,#07100c 100%);box-shadow:inset 0 1px 0 rgba(224,190,113,.2),inset 12px 0 17px rgba(0,0,0,.34),inset -12px 0 17px rgba(0,0,0,.34),inset 0 -7px 0 #382116,0 6px 10px rgba(0,0,0,.46);overflow:visible}
.shelf-storefront .bookshelf-grid::before{position:absolute;z-index:0;inset:0;border:1px solid rgba(221,183,94,.08);background:linear-gradient(90deg,rgba(167,120,57,.05),transparent 7%,transparent 93%,rgba(167,120,57,.05));content:"";pointer-events:none}
.shelf-storefront .bookshelf-grid::after{position:absolute;z-index:5;right:-5px;bottom:-13px;left:-5px;height:13px;border-top:1px solid #b17d43;background:linear-gradient(180deg,#84542f 0,#3e2417 35%,#6f4628 62%,#28160e 100%);box-shadow:0 5px 8px rgba(0,0,0,.45);content:"";pointer-events:none}
.shelf-storefront .bookshelf-book,.shelf-storefront .bookshelf-book--edge-right{position:relative;top:var(--shelf-contact-shift);z-index:2;min-height:calc(var(--book-height,296px) - 68px);border-radius:3px;filter:drop-shadow(2px 3px 2px rgba(0,0,0,.34))}
.shelf-storefront .bookshelf-book__scene{min-height:inherit}
.shelf-storefront .bookshelf-book__spine{gap:5px;padding:9px 6px;border-color:rgba(222,187,104,.3);border-radius:3px;background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#5f3026,#321a16)}
.shelf-storefront .bookshelf-book:nth-of-type(5n + 2) .bookshelf-book__spine{background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#284c43,#132d29)}
.shelf-storefront .bookshelf-book:nth-of-type(5n + 3) .bookshelf-book__spine{background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#24465e,#122b3c)}
.shelf-storefront .bookshelf-book:nth-of-type(5n + 4) .bookshelf-book__spine{background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#64502c,#322716)}
.shelf-storefront .bookshelf-book:nth-of-type(5n + 5) .bookshelf-book__spine{background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#39392f,#1b1d19)}
.shelf-storefront .bookshelf-book__status{color:#c9a755;font-size:.54rem;letter-spacing:.08em}.shelf-storefront .bookshelf-book__title{color:#f0dfb7;font-size:.88rem;letter-spacing:.035em;text-shadow:0 1px 1px #000}.shelf-storefront .bookshelf-book__author{color:#c8b990;font-size:.62rem}
.shelf-dressing{z-index:4;bottom:calc(23px - var(--shelf-contact-shift,0px));filter:drop-shadow(0 7px 5px rgba(0,0,0,.58));opacity:.96}.shelf-dressing--house{opacity:1}
.bookshelf-book__placeholder{position:relative;top:var(--shelf-contact-shift);z-index:2;border-radius:2px;background:linear-gradient(90deg,rgba(0,0,0,.38),rgba(136,96,47,.12),rgba(0,0,0,.28));box-shadow:inset 0 -4px 7px rgba(0,0,0,.42)}

.shelf-storefront .bookshelf-book__details{top:2px;left:calc(50% + 12px);width:260px;gap:8px;padding:18px 20px;border:1px solid #a77c3d;border-radius:2px;background:linear-gradient(145deg,rgba(15,35,24,.99),rgba(5,17,11,.99));box-shadow:inset 0 0 0 1px rgba(222,188,105,.11),12px 18px 40px rgba(0,0,0,.55);color:#cfc3a5;font:500 .82rem/1.45 Georgia,"Times New Roman",serif;clip-path:polygon(0 0,96% 0,100% 8%,100% 92%,96% 100%,0 100%)}
.shelf-storefront .bookshelf-book__details strong{color:#f4e6c2;font-size:1.28rem;letter-spacing:.015em}.shelf-storefront .bookshelf-book__creator{color:#d3c6a8}.shelf-storefront .bookshelf-book__publisher{color:#d6ad50}.shelf-storefront .bookshelf-book__price{color:#f0d57c;font-size:1rem}.shelf-storefront .bookshelf-book__details em{display:inline-flex;align-items:center;justify-content:center;margin-top:2px;padding:8px 12px;border:1px solid #c39a47;border-radius:2px;background:linear-gradient(180deg,#d8b45f,#a77b31);color:#172018;font-style:normal;text-transform:uppercase;letter-spacing:.05em}
.shelf-storefront .bookshelf-book.is-examining{filter:drop-shadow(0 25px 23px rgba(0,0,0,.68))}.shelf-storefront .bookshelf-book.is-examining .bookshelf-book__cover-frame{border:2px solid #9d7137;border-radius:2px;box-shadow:0 25px 50px rgba(0,0,0,.52)}

.sponsor-marquee{grid-template-columns:170px minmax(0,1fr);min-height:82px;margin:0;border:6px solid #4a2c1b;border-right-width:11px;border-left-width:11px;border-radius:0;background:linear-gradient(90deg,#14291d,#081a11 55%,#14291d);box-shadow:inset 0 1px 0 #a8733a,inset 0 -1px 0 #9a6634,0 7px 13px rgba(0,0,0,.45)}
.sponsor-marquee__label{padding:10px 18px;border-right:1px solid rgba(207,173,84,.42);color:#e6d3a1;font:700 .78rem/1.2 Georgia,"Times New Roman",serif;letter-spacing:.09em;writing-mode:horizontal-tb}.sponsor-marquee__label::after{display:block;margin-top:5px;color:#a9956d;font:italic 600 .6rem/1.2 Georgia,"Times New Roman",serif;letter-spacing:0;content:"Supporting a brighter gaming community.";text-transform:none}.sponsor-marquee__track{gap:14px;padding:7px 18px}.sponsor-marquee__item{height:62px;border:1px solid rgba(214,179,90,.34);border-radius:2px;background:#111c15}.sponsor-marquee__item span{left:6px;bottom:5px;background:rgba(4,11,7,.8);color:#e9d8b0;font-family:Georgia,"Times New Roman",serif}

.search-shelves .catalog-controls{grid-template-columns:minmax(220px,2fr) repeat(4,minmax(115px,1fr));gap:7px;margin:0 58px 8px;padding:8px;border:1px solid rgba(155,105,51,.58);border-radius:2px;background:rgba(5,14,9,.68)}
.search-shelves .catalog-control{gap:3px;font-size:.59rem;letter-spacing:.08em}.search-shelves .dock-input{min-height:34px;padding:6px 9px;border-color:rgba(193,153,70,.28);border-radius:2px;background:#101b14;color:#e6dbc0;font-size:.72rem}.search-shelves .catalog-tools{margin:0 58px 7px}.search-shelves .catalog-count{font-size:.68rem}.search-shelves .bookshelf-browser__header,.search-shelves .catalog-browser__header{display:none}

.store-lower{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.6fr);gap:28px;margin:0;padding:22px 34px 24px;border:0;border-top:7px solid #4a2c1b;border-radius:0;background:linear-gradient(90deg,#102219,#07170f 55%,#102219);box-shadow:inset 0 1px 0 #9b6938,0 16px 34px rgba(0,0,0,.38)}
.store-lower__intro{padding-right:24px;border-right:1px solid rgba(198,158,73,.3)}.store-lower h2{margin:.18em 0;color:#ede0be;font-size:1.2rem}.store-lower p{margin:.35rem 0;color:#a99d82;font-size:.78rem}.store-lower__notice{margin-top:13px!important;padding:9px 11px;border-left:3px solid #b28d43;background:rgba(115,78,35,.17);color:#c5b794!important}.store-lower__links{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.store-lower__links a{display:grid;align-content:start;gap:3px;min-height:58px;padding:9px 12px;border-right:1px solid rgba(184,154,74,.18);border-bottom:1px solid rgba(184,154,74,.18);color:#ded1b1}.store-lower__links a strong{color:#dec16c;font:700 .72rem/1.2 Georgia,"Times New Roman",serif}.store-lower__links a span{color:#91866f;font:500 .62rem/1.3 "Trebuchet MS","Segoe UI",sans-serif}.store-lower__links a:hover,.store-lower__links a:focus-visible{background:rgba(201,164,76,.08);color:#f1e3be;transform:none}
body:has(.shelf-storefront) .site-footer{display:grid;grid-template-columns:auto 1fr auto;gap:16px;margin:0;padding:11px clamp(22px,4vw,62px);border:0;border-top:7px solid #4a2c1b;border-radius:0;background:linear-gradient(90deg,#0b1d14,#06120c 60%,#0b1d14);box-shadow:inset 0 1px 0 #986638;color:#aa9d80}.shelf-storefront~.site-footer .footer-mark{width:58px;height:58px;padding:0;border:0;border-radius:0;background:transparent}.shelf-storefront~.site-footer .footer-mark img{filter:drop-shadow(0 4px 5px rgba(0,0,0,.45))}.shelf-storefront~.site-footer p{margin:0;font:500 .68rem/1.35 Georgia,"Times New Roman",serif}.shelf-storefront~.site-footer p:last-child{color:#c6a95d;text-align:right}

@media(max-width:1120px){body:has(.shelf-storefront) .brand__tag{display:none}body:has(.shelf-storefront) .brand__name{font-size:1.05rem}body:has(.shelf-storefront) .site-nav a{padding-inline:6px;font-size:.74rem}body:has(.shelf-storefront) .site-nav a:has(.nav-search__label){flex-basis:210px;min-width:150px}.nav-search__label{font-size:0}.nav-search__label::after{font-size:.72rem;content:"Search games and Creators"}.shelf-storefront .bookshelf-grid{padding-right:68px;padding-left:68px}}
@media(max-width:900px){body:has(.shelf-storefront) .page-shell{width:100%}body:has(.shelf-storefront) .site-header{grid-template-columns:1fr;gap:6px;min-height:auto;padding:7px 12px 9px}body:has(.shelf-storefront) .brand{justify-content:center}body:has(.shelf-storefront) .brand__logo{width:48px;max-height:48px}body:has(.shelf-storefront) .brand__name{font-size:1rem}body:has(.shelf-storefront) .site-nav{justify-content:center;overflow-x:auto;padding-bottom:2px}body:has(.shelf-storefront) .site-nav a{font-size:.68rem}body:has(.shelf-storefront) .site-nav a:has(.nav-search__label){flex:0 0 auto;min-width:44px;border-radius:3px}.nav-search__label{font-size:0}.nav-search__label::after{font-size:.68rem;content:"Search"}.shelf-storefront{margin:0 6px;border-width:5px}.shelf-storefront>.store-welcome{display:grid;gap:3px;padding:8px 14px}.shelf-storefront>.store-welcome h1{font-size:.92rem;white-space:normal}.shelf-storefront>.store-welcome p:last-child{font-size:.68rem}.shelf-storefront>[data-store-closed-notice]{padding:7px 14px}.shelf-storefront>[data-store-closed-notice] .store-callout__copy{display:grid;gap:1px}.shelf-storefront>[data-store-closed-notice] h2{font-size:.78rem}.shelf-storefront>[data-store-closed-notice] p:last-child{font-size:.65rem}.shelf-storefront .section-heading{display:grid;gap:2px;margin:0 4px 7px}.shelf-storefront .section-heading h2{font-size:.9rem}.shelf-storefront .section-heading>p:last-child{font-size:.66rem}.shelf-storefront .section-heading__kicker{display:none}body:has(.shelf-storefront) .shelf-storefront .store-section{padding:8px 8px 12px}.shelf-storefront .bookshelf-grid{min-height:0;padding-top:250px;padding-right:20px;padding-left:20px;border-right-width:2px;border-left-width:2px}.sponsor-marquee{grid-template-columns:38px 1fr;min-height:68px;border-right-width:5px;border-left-width:5px}.sponsor-marquee__label{padding:6px;border-right:1px solid rgba(207,173,84,.42);font-size:.55rem;writing-mode:vertical-rl}.sponsor-marquee__label::after{display:none}.search-shelves .catalog-controls{grid-template-columns:1fr 1fr;margin:0 4px 8px}.search-shelves .catalog-control:first-child{grid-column:1/-1}.search-shelves .catalog-tools{margin:0 4px 6px}.store-lower{grid-template-columns:1fr;gap:14px;padding:18px}.store-lower__intro{padding-right:0;padding-bottom:12px;border-right:0;border-bottom:1px solid rgba(198,158,73,.3)}.store-lower__links{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.shelf-storefront) .site-footer{grid-template-columns:auto 1fr;padding:10px 16px}.shelf-storefront~.site-footer p:last-child{grid-column:1/-1;text-align:left}}
@media(max-width:520px){body:has(.shelf-storefront) .brand__name{font-size:.88rem}body:has(.shelf-storefront) .site-nav a{padding:6px 5px;font-size:.62rem}body:has(.shelf-storefront) .site-nav a:has(.nav-search__label){display:none}.shelf-storefront>.store-welcome p:last-child{white-space:normal}.search-shelves .catalog-controls{grid-template-columns:1fr}.search-shelves .catalog-control:first-child{grid-column:auto}.store-lower__links{grid-template-columns:1fr}.shelf-storefront~.site-footer .footer-mark{width:46px;height:46px}}

/* Storefront remodel Phase 2: compact shop header and front display */
:root{--store-header-height:86px}
body:has(.shelf-storefront) .site-header{grid-template-columns:minmax(230px,.82fr) minmax(0,1.7fr);align-items:center;gap:clamp(14px,2vw,28px);min-height:var(--store-header-height);padding:8px clamp(18px,3vw,44px);border-bottom:5px solid #4a2c1b;background:linear-gradient(180deg,#102017 0,#07150f 100%);box-shadow:inset 0 1px 0 rgba(223,188,104,.24),inset 0 -1px 0 rgba(220,172,84,.45),0 8px 18px rgba(0,0,0,.42)}
body:has(.shelf-storefront) .site-header::after{bottom:-5px;height:5px;background:linear-gradient(180deg,#9d6b38,#3a2114 54%,#21130d)}
body:has(.shelf-storefront) .brand{align-items:center;gap:10px;min-width:0}
body:has(.shelf-storefront) .brand__logo{width:54px;max-height:54px}
body:has(.shelf-storefront) .brand__name{font-size:clamp(1rem,1.35vw,1.34rem);letter-spacing:.045em}
body:has(.shelf-storefront) .brand__tag{color:#d1b66d;font-size:.62rem;letter-spacing:.12em}
body:has(.shelf-storefront) .site-nav{display:grid;grid-template-columns:auto auto minmax(180px,1fr) auto auto;grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;justify-content:end;gap:6px;overflow:visible}
body:has(.shelf-storefront) .site-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 9px;border:1px solid transparent;border-radius:4px;color:#d9cfb7;font:650 .76rem/1.1 "Trebuchet MS","Segoe UI",sans-serif;letter-spacing:.01em}
body:has(.shelf-storefront) .site-nav a[href="/store/#search-results-heading"]{justify-content:space-between;min-width:180px;max-width:360px;padding:8px 12px;border-color:rgba(203,169,82,.5);border-radius:999px;background:linear-gradient(180deg,rgba(6,13,9,.6),rgba(0,0,0,.28));color:#efe3bf}
body:has(.shelf-storefront) .site-nav a[href="/account.html"],body:has(.shelf-storefront) .site-nav a[href="/store/cart/"]{border-color:rgba(214,178,89,.28);background:rgba(206,166,74,.08)}
body:has(.shelf-storefront) .site-nav a[href="/forum"],body:has(.shelf-storefront) .site-nav a[href="/creator/"],body:has(.shelf-storefront) .site-nav a[href="/support.html"]{font-size:.68rem;color:#bfb398}
body:has(.shelf-storefront) .site-nav a:hover,body:has(.shelf-storefront) .site-nav a:focus-visible,body:has(.shelf-storefront) .site-nav a[aria-current="page"]{border-color:rgba(225,188,95,.56);background:rgba(190,149,64,.14);color:#fff1c9;outline:0}
body:has(.shelf-storefront) .site-nav a:focus-visible{box-shadow:0 0 0 3px rgba(220,185,98,.28)}
.nav-search__label{font-size:.76rem}.nav-search__icon{margin-left:8px;font-size:1rem}
.shelf-storefront>.storefront-shop-window{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);align-items:stretch;gap:clamp(18px,3vw,38px);padding:clamp(22px,4vw,44px) clamp(22px,4.8vw,70px) clamp(18px,3vw,34px);border-top:1px solid rgba(222,185,98,.22);border-bottom:5px solid #4a2c1b;background:radial-gradient(circle at 72% 22%,rgba(186,149,66,.14),transparent 28%),linear-gradient(90deg,#14251b 0,#0b1811 50%,#111a12 100%);box-shadow:inset 0 -1px 0 #9a6a39}
.storefront-shop-window__copy{display:grid;align-content:center;gap:10px;min-width:0}
.shelf-storefront>.storefront-shop-window .section-heading__kicker{margin:0;color:#cfad5d;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase}
.shelf-storefront>.storefront-shop-window h1{max-width:12ch;margin:0;color:#f3e5c1;font:700 clamp(2.05rem,5vw,4.15rem)/.95 Georgia,"Times New Roman",serif;letter-spacing:0;white-space:normal}
.shelf-storefront>.storefront-shop-window p{max-width:58ch;margin:0;color:#c9bfa5;font:1rem/1.55 "Trebuchet MS","Segoe UI",sans-serif;white-space:normal;overflow:visible;text-overflow:clip}
.storefront-shop-window__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.storefront-shop-window__actions .button{min-height:38px;padding:9px 14px;border-radius:4px}
.storefront-shop-window__display{position:relative;display:grid;align-items:end;min-height:220px;padding:18px 20px 24px;border:3px solid #5a3822;border-bottom-width:10px;background:linear-gradient(180deg,rgba(12,27,18,.84),rgba(5,12,8,.94));box-shadow:inset 0 1px 0 rgba(231,195,111,.2),inset 12px 0 16px rgba(0,0,0,.25),inset -12px 0 16px rgba(0,0,0,.25)}
.storefront-shop-window__display::after{position:absolute;right:-5px;bottom:-13px;left:-5px;height:13px;border-top:1px solid #b17d43;background:linear-gradient(180deg,#83542f,#3d2417 42%,#25150e);content:"";pointer-events:none}
.storefront-empty-shelf{display:grid;grid-template-columns:repeat(3,clamp(42px,5vw,60px)) minmax(120px,1fr);align-items:end;gap:8px}
.storefront-empty-shelf__book{display:block;height:clamp(132px,16vw,184px);border:1px solid rgba(230,194,109,.28);border-radius:3px 3px 1px 1px;background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 18%,rgba(0,0,0,.3)),linear-gradient(180deg,#5c2f26,#2c1713);box-shadow:2px 4px 4px rgba(0,0,0,.28)}
.storefront-empty-shelf__book:nth-child(2){height:clamp(152px,18vw,204px);background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 18%,rgba(0,0,0,.3)),linear-gradient(180deg,#244a41,#132a25)}
.storefront-empty-shelf__book:nth-child(3){height:clamp(120px,15vw,174px);background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 18%,rgba(0,0,0,.3)),linear-gradient(180deg,#5f4d2a,#312715)}
.storefront-empty-shelf p{align-self:center;margin:0 0 12px 10px;color:#b9ac8b;font:italic .9rem/1.45 Georgia,"Times New Roman",serif}
.storefront-feature-book{display:grid;gap:6px;align-self:end;max-width:320px;padding:18px;border:1px solid rgba(222,185,98,.34);border-radius:4px;background:rgba(5,13,9,.62);color:#efe4c6;text-decoration:none}
.storefront-feature-book__eyebrow{color:#c6a45a;font:700 .62rem/1.2 "Trebuchet MS","Segoe UI",sans-serif;letter-spacing:.13em;text-transform:uppercase}
.storefront-browse-paths .storefront-path-grid{display:flex;align-items:stretch;gap:8px;min-height:138px;padding:18px 24px 20px;border:3px solid #5a3822;border-bottom-width:10px;background:linear-gradient(180deg,#0c1b13,#07100c);box-shadow:inset 0 1px 0 rgba(224,190,113,.2),inset 0 -7px 0 #382116}
.storefront-browse-paths .storefront-path-card{display:grid;align-content:space-between;flex:0 1 180px;min-height:108px;padding:12px 10px;border:1px solid rgba(222,187,104,.3);border-radius:3px;background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#5f3026,#321a16);box-shadow:2px 5px 6px rgba(0,0,0,.32);color:#eadcbc;text-decoration:none;transform:none}
.storefront-browse-paths .storefront-path-card:nth-child(2){background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#284c43,#132d29)}
.storefront-browse-paths .storefront-path-card:nth-child(3){background:linear-gradient(90deg,rgba(255,239,194,.08),transparent 13%,transparent 84%,rgba(0,0,0,.28)),linear-gradient(180deg,#64502c,#322716)}
.storefront-browse-paths .storefront-path-card strong{color:#f1e3be;font:700 .92rem/1.12 Georgia,"Times New Roman",serif}
.storefront-browse-paths .storefront-path-card span{color:#c4b79c;font-size:.68rem;line-height:1.35}
.storefront-browse-paths .storefront-path-card:hover,.storefront-browse-paths .storefront-path-card:focus-visible{border-color:rgba(225,188,95,.56);box-shadow:2px 5px 6px rgba(0,0,0,.32),0 0 0 3px rgba(220,185,98,.18);transform:none}
@media(max-width:1180px){body:has(.shelf-storefront) .site-nav{grid-template-columns:auto minmax(170px,1fr) auto auto;grid-auto-flow:row;justify-content:stretch}body:has(.shelf-storefront) .site-nav a[href="/authors.html"],body:has(.shelf-storefront) .site-nav a[href="/forum"],body:has(.shelf-storefront) .site-nav a[href="/creator/"],body:has(.shelf-storefront) .site-nav a[href="/support.html"]{font-size:.64rem;padding-inline:7px}body:has(.shelf-storefront) .site-nav a[href="/store/#search-results-heading"]{min-width:170px}}
@media(max-width:900px){:root{--store-header-height:118px}body:has(.shelf-storefront) .site-header{grid-template-columns:1fr;min-height:var(--store-header-height);gap:7px;padding:8px 12px}body:has(.shelf-storefront) .brand{justify-content:center}body:has(.shelf-storefront) .site-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;overflow:visible}body:has(.shelf-storefront) .site-nav a{min-height:30px;font-size:.67rem}body:has(.shelf-storefront) .site-nav a[href="/store/#search-results-heading"]{order:-1;flex:1 1 100%;max-width:520px}.shelf-storefront>.storefront-shop-window{grid-template-columns:1fr;gap:16px;padding:22px 18px}.shelf-storefront>.storefront-shop-window h1{max-width:14ch;font-size:clamp(2rem,9vw,3.2rem)}.storefront-shop-window__display{min-height:170px}.storefront-empty-shelf{grid-template-columns:repeat(3,42px) 1fr}.storefront-empty-shelf p{font-size:.78rem}}
@media(max-width:560px){:root{--store-header-height:148px}body:has(.shelf-storefront) .brand__logo{width:44px;max-height:44px}body:has(.shelf-storefront) .brand__tag{display:none}body:has(.shelf-storefront) .site-nav a[href="/forum"],body:has(.shelf-storefront) .site-nav a[href="/creator/"],body:has(.shelf-storefront) .site-nav a[href="/support.html"]{display:none}body:has(.shelf-storefront) .site-nav a[href="/account.html"]{font-size:0}body:has(.shelf-storefront) .site-nav a[href="/account.html"]::after{font-size:.66rem;content:"Account"}body:has(.shelf-storefront) .site-nav a[href="/store/#search-results-heading"]{display:flex}.storefront-empty-shelf{grid-template-columns:repeat(3,34px);align-items:end}.storefront-empty-shelf p{grid-column:1/-1;margin:8px 0 0}.storefront-shop-window__actions .button{flex:1 1 160px}}

/* Public header navigation refresh */
.site-header,
body:has(.shelf-storefront) .site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  min-height: auto;
  margin: 0 0 16px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body:has(.shelf-storefront) .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0;
  padding: 7px clamp(12px, 3vw, 28px);
  background: rgba(10, 18, 13, 0.92);
  border-bottom: 1px solid rgba(218, 183, 103, 0.2);
}

body:has(.shelf-storefront) .site-header::after {
  content: none;
}

.brand,
body:has(.shelf-storefront) .brand {
  gap: 10px;
  min-width: max-content;
}

.brand__logo,
body:has(.shelf-storefront) .brand__logo {
  width: 44px;
  max-height: 44px;
}

.brand__name,
body:has(.shelf-storefront) .brand__name {
  font-size: clamp(0.95rem, 1.6vw, 1.18rem);
  white-space: nowrap;
}

.brand__tag,
body:has(.shelf-storefront) .brand__tag {
  display: none;
}

.site-nav,
body:has(.shelf-storefront) .site-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a,
body:has(.shelf-storefront) .site-nav a {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: clamp(0.68rem, 0.88vw, 0.84rem);
  line-height: 1;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
body:has(.shelf-storefront) .site-nav a:hover,
body:has(.shelf-storefront) .site-nav a:focus-visible,
body:has(.shelf-storefront) .site-nav a[aria-current="page"] {
  border-color: rgba(225, 188, 95, 0.42);
  background: rgba(242, 216, 170, 0.1);
  color: var(--text);
  outline: none;
}

.site-nav a:focus-visible,
body:has(.shelf-storefront) .site-nav a:focus-visible {
  box-shadow: 0 0 0 3px rgba(220, 185, 98, 0.24);
}

@media (max-width: 760px) {
  .site-header,
  body:has(.shelf-storefront) .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand,
  body:has(.shelf-storefront) .brand {
    justify-content: center;
  }

  .site-nav,
  body:has(.shelf-storefront) .site-nav {
    justify-content: flex-start;
    padding-bottom: 3px;
  }
}

body:has(.homepage-shop-wall) .page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

body:has(.homepage-shop-wall) .site-header {
  --shop-wall-header-height: 50px; /* Accepted storefront geometry lock. */
  position: sticky;
  top: 0;
  z-index: 140;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: var(--shop-wall-header-height);
  padding: 6px clamp(12px, 3vw, 44px);
  border: 0;
  border-bottom: 4px solid #6d3f22;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(105, 59, 26, 0.18), transparent 18%, transparent 82%, rgba(105, 59, 26, 0.18)),
    linear-gradient(180deg, #e7c181 0%, #d19a54 52%, #b8793b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 181, 0.74),
    inset 0 -7px 0 rgba(104, 58, 28, 0.26),
    0 8px 20px rgba(18, 9, 4, 0.38);
}

body:has(.homepage-shop-wall) .site-header .brand {
  display: none;
}

body:has(.homepage-shop-wall) .site-nav {
  --nav-bracket-left: 0px;
  --nav-bracket-top: 0px;
  --nav-bracket-width: 0px;
  --nav-bracket-height: 0px;
  position: relative;
  justify-content: safe center;
  gap: clamp(14px, 1.7vw, 26px);
  width: min(1420px, 100%);
  padding: 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

body:has(.homepage-shop-wall) .site-nav::before,
body:has(.homepage-shop-wall) .site-nav::after {
  position: absolute;
  top: var(--nav-bracket-top);
  z-index: 1;
  width: 7px;
  height: var(--nav-bracket-height);
  border-color: #48603e;
  opacity: 0;
  content: "";
  pointer-events: none;
  transition:
    left 0.16s ease,
    opacity 0.12s ease;
}

body:has(.homepage-shop-wall) .site-nav::before {
  left: var(--nav-bracket-left);
  border-top: 2px solid #48603e;
  border-bottom: 2px solid #48603e;
  border-left: 2px solid #48603e;
}

body:has(.homepage-shop-wall) .site-nav::after {
  left: calc(var(--nav-bracket-left) + var(--nav-bracket-width) - 7px);
  border-top: 2px solid #48603e;
  border-right: 2px solid #48603e;
  border-bottom: 2px solid #48603e;
}

body:has(.homepage-shop-wall) .site-nav.is-bracketing::before,
body:has(.homepage-shop-wall) .site-nav.is-bracketing::after {
  opacity: 1;
}

body:has(.homepage-shop-wall) .site-header .site-nav a {
  position: relative;
  z-index: 2;
  min-height: auto;
  padding: 6px 0 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #251309;
  font-size: 1.008rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 0 rgba(255, 238, 190, 0.55);
}

body:has(.homepage-shop-wall) .site-header .site-nav a:hover,
body:has(.homepage-shop-wall) .site-header .site-nav a[aria-current="page"] {
  background: transparent;
  color: #140a05;
  box-shadow: none;
}

body:has(.homepage-shop-wall) .site-header .site-nav a:focus-visible {
  background: transparent;
  color: #140a05;
  outline: 3px solid #251309;
  outline-offset: 3px;
  box-shadow: none;
}

.homepage-shop-wall {
  /* Accepted storefront geometry lock: keep these values in sync with scripts/test-storefront-visual-alignment.js. */
  --shop-wall-bric-row-height: 148px; /* 148px + 2px top border + 5px bottom border = 155px rendered Bric-a-Brac shelf. */
  --shop-wall-bric-surface-height: 48px;
  --shop-wall-bric-back-height: 100px;
  --shop-wall-merch-bay-height: 378px;
  --shop-wall-merch-product-space: 320px;
  --shop-wall-merch-shelf-construction: 52px;
  --shop-wall-merch-shelf-top: 30px;
  --shop-wall-merch-shelf-fascia: 18px;
  --shop-wall-fixture-height: 120px;
  --shop-wall-recessed-light-width: 14px;
  --shop-wall-recessed-light-height: 8px;
  --shop-wall-recessed-light-background: radial-gradient(ellipse at 50% 62%, rgba(255, 223, 139, 0.95) 0%, rgba(238, 154, 57, 0.7) 32%, rgba(89, 43, 19, 0.82) 58%, rgba(30, 13, 6, 0.92) 100%);
  --shop-wall-recessed-light-shadow:
    inset 0 0 0 1px rgba(58, 25, 10, 0.68),
    inset 0 1px 1px rgba(255, 230, 151, 0.48),
    0 0 6px rgba(255, 190, 82, 0.46),
    0 6px 18px rgba(244, 143, 38, 0.34),
    0 1px 2px rgba(16, 7, 3, 0.42);
  /* The accepted upper light shape repeated in thirds of a full-width recess. */
  --shop-wall-three-downlight-pools:
    radial-gradient(ellipse 2.666% 6% at 16.666% 0%, rgba(255, 244, 201, 0.96) 0%, rgba(255, 208, 106, 0.64) 42%, transparent 100%),
    radial-gradient(ellipse 6% 19% at 16.666% 11%, rgba(255, 225, 142, 0.68) 0%, rgba(246, 165, 62, 0.32) 44%, transparent 80%),
    radial-gradient(ellipse 12.333% 76% at 16.666% 44%, rgba(255, 207, 105, 0.26) 0%, rgba(212, 113, 37, 0.12) 42%, rgba(84, 35, 12, 0.03) 62%, transparent 82%),
    radial-gradient(ellipse 2.666% 6% at 50% 0%, rgba(255, 244, 201, 0.96) 0%, rgba(255, 208, 106, 0.64) 42%, transparent 100%),
    radial-gradient(ellipse 6% 19% at 50% 11%, rgba(255, 225, 142, 0.68) 0%, rgba(246, 165, 62, 0.32) 44%, transparent 80%),
    radial-gradient(ellipse 12.333% 76% at 50% 44%, rgba(255, 207, 105, 0.26) 0%, rgba(212, 113, 37, 0.12) 42%, rgba(84, 35, 12, 0.03) 62%, transparent 82%),
    radial-gradient(ellipse 2.666% 6% at 83.333% 0%, rgba(255, 244, 201, 0.96) 0%, rgba(255, 208, 106, 0.64) 42%, transparent 100%),
    radial-gradient(ellipse 6% 19% at 83.333% 11%, rgba(255, 225, 142, 0.68) 0%, rgba(246, 165, 62, 0.32) 44%, transparent 80%),
    radial-gradient(ellipse 12.333% 76% at 83.333% 44%, rgba(255, 207, 105, 0.26) 0%, rgba(212, 113, 37, 0.12) 42%, rgba(84, 35, 12, 0.03) 62%, transparent 82%);
  /* Center the reflection 15px into the 30px horizontal top, above the fascia. */
  --shop-wall-three-shelf-catches:
    radial-gradient(ellipse 8% 14px at 16.666% 15px, rgba(255, 244, 198, 0.86) 0%, rgba(255, 190, 82, 0.48) 38%, rgba(178, 79, 22, 0.13) 62%, transparent 84%),
    radial-gradient(ellipse 8% 14px at 50% 15px, rgba(255, 244, 198, 0.86) 0%, rgba(255, 190, 82, 0.48) 38%, rgba(178, 79, 22, 0.13) 62%, transparent 84%),
    radial-gradient(ellipse 8% 14px at 83.333% 15px, rgba(255, 244, 198, 0.86) 0%, rgba(255, 190, 82, 0.48) 38%, rgba(178, 79, 22, 0.13) 62%, transparent 84%);
  width: min(1500px, 100%);
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(30, 12, 5, 0.78), transparent 4%, transparent 96%, rgba(30, 12, 5, 0.78)),
    linear-gradient(180deg, #552711 0%, #3b1b0c 52%, #291207 100%);
  box-shadow:
    inset 0 2px 0 rgba(194, 118, 56, 0.28),
    inset 2px 0 0 rgba(156, 84, 38, 0.22),
    inset -3px 0 0 rgba(24, 10, 4, 0.46),
    inset 0 -5px 0 rgba(24, 10, 4, 0.5),
    0 10px 24px rgba(14, 7, 3, 0.34);
  color: #f3dfb4;
}

.shop-wall-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  background: #2f1408;
}

.shop-wall-row--identity {
  min-height: 420px;
  padding-bottom: 22px;
}

.shop-wall-row--identity::after {
  content: "";
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22px;
  border-top: 2px solid rgba(231, 166, 91, 0.42);
  background:
    radial-gradient(ellipse 9% 78% at 16.666% 0%, rgba(255, 232, 163, 0.58) 0%, rgba(247, 174, 74, 0.32) 34%, rgba(169, 79, 24, 0.1) 58%, transparent 78%),
    radial-gradient(ellipse 9% 78% at 50% 0%, rgba(255, 232, 163, 0.58) 0%, rgba(247, 174, 74, 0.32) 34%, rgba(169, 79, 24, 0.1) 58%, transparent 78%),
    radial-gradient(ellipse 9% 78% at 83.333% 0%, rgba(255, 232, 163, 0.58) 0%, rgba(247, 174, 74, 0.32) 34%, rgba(169, 79, 24, 0.1) 58%, transparent 78%),
    linear-gradient(90deg, rgba(29, 12, 5, 0.42), transparent 5%, transparent 95%, rgba(29, 12, 5, 0.42)),
    linear-gradient(180deg, #633118 0 6px, #45200f 6px 16px, #281006 16px 100%);
  box-shadow:
    inset 0 -2px 0 rgba(20, 8, 3, 0.46),
    0 8px 13px rgba(18, 8, 3, 0.42);
}

.shop-wall-row--identity > .shop-wall-bay > * {
  position: relative;
  z-index: 2;
}

.shop-wall-row--identity > .shop-wall-bay::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 0;
  bottom: 22px;
  left: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 8% 6% at 50% 0%, rgba(255, 244, 201, 0.96) 0%, rgba(255, 208, 106, 0.64) 42%, transparent 100%),
    radial-gradient(ellipse 18% 19% at 50% 11%, rgba(255, 225, 142, 0.68) 0%, rgba(246, 165, 62, 0.32) 44%, transparent 80%),
    radial-gradient(ellipse 37% 76% at 50% 44%, rgba(255, 207, 105, 0.26) 0%, rgba(212, 113, 37, 0.12) 42%, rgba(84, 35, 12, 0.03) 62%, transparent 82%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.shop-wall-row--identity > .shop-wall-bay::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 4;
  width: var(--shop-wall-recessed-light-width);
  height: var(--shop-wall-recessed-light-height);
  border-radius: 50%;
  background: var(--shop-wall-recessed-light-background);
  box-shadow: var(--shop-wall-recessed-light-shadow);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Recessed hardware only: tuck into the dark bottom edge of each shelf board,
   keeping the fixture off the next bay's vertical heading face. */
.shop-wall-shelf-fixtures {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  height: var(--shop-wall-recessed-light-height);
  pointer-events: none;
}

.shop-wall-shelf-fixtures > span,
.shop-wall-row--identity .shop-wall-shelf-level--upper::before {
  position: absolute;
  width: var(--shop-wall-recessed-light-width);
  height: var(--shop-wall-recessed-light-height);
  border-radius: 50%;
  background: var(--shop-wall-recessed-light-background);
  box-shadow: var(--shop-wall-recessed-light-shadow);
  transform: translateX(-50%);
  pointer-events: none;
}

.shop-wall-shelf-fixtures > span {
  top: 0;
}

.shop-wall-shelf-fixtures > span:nth-child(1) {
  left: 16.666%;
}

.shop-wall-shelf-fixtures > span:nth-child(2) {
  left: 50%;
}

.shop-wall-shelf-fixtures > span:nth-child(3) {
  left: 83.333%;
}

.shop-wall-row--identity .shop-wall-shelf-level--upper::before {
  content: "";
  bottom: 0;
  left: 50%;
  z-index: 4;
}

.shop-wall-row--merchandising {
  grid-template-columns: 1fr;
  min-height: 0;
}

.shop-wall-row--merchandising .shop-wall-bay {
  min-height: var(--shop-wall-merch-bay-height);
  border-right: 0;
  border-bottom: 0;
  border-image: none;
}

.shop-wall-bay {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: visible;
  border-right: 14px solid;
  border-image: linear-gradient(90deg, #5d2c14 0%, #3d1a0a 38%, #211006 72%, #51240f 100%) 1;
  background:
    linear-gradient(90deg, rgba(25, 10, 4, 0.36), transparent 8%, transparent 92%, rgba(22, 9, 4, 0.44)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(45, 20, 8, 0.24) 70px 72px),
    linear-gradient(180deg, #754523 0%, #5d2d14 100%);
  box-shadow:
    inset 9px 0 12px rgba(36, 16, 6, 0.2),
    inset -10px 0 13px rgba(31, 13, 5, 0.28),
    inset 0 8px 12px rgba(35, 15, 6, 0.22);
}

.shop-wall-bay:nth-child(3n),
.shop-wall-row .shop-wall-bay:last-child {
  border-right: 0;
}

.shop-wall-plaque {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 9px 12px;
  border-bottom: 4px solid #3b2111;
  background:
    linear-gradient(90deg, transparent, rgba(223, 158, 76, 0.18), transparent),
    linear-gradient(180deg, #7c4721 0%, #542912 100%);
}

.shop-wall-plaque h2 {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: #211507;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.92rem, 1.42vw, 1.28rem);
  line-height: 1;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 241, 194, 0.7);
}

/* Brass signs surround the accepted label boxes without shifting the shelves
   or the text. The wood header and existing downlighting stay behind them. */
.shop-wall-plaque h2::before {
  content: "";
  position: absolute;
  inset: -7px -18px;
  z-index: -1;
  border: 1px solid #705020;
  border-radius: 2px;
  background:
    radial-gradient(circle 1.5px at 6px 50%, #674a20 70%, rgba(255, 236, 168, 0.7) 100%, transparent 120%),
    radial-gradient(circle 1.5px at calc(100% - 6px) 50%, #674a20 70%, rgba(255, 236, 168, 0.7) 100%, transparent 120%),
    repeating-linear-gradient(0deg, rgba(255, 241, 191, 0.07) 0 1px, rgba(99, 69, 22, 0.05) 1px 2px, transparent 2px 4px),
    linear-gradient(115deg, transparent 12%, rgba(255, 245, 195, 0.38) 32%, transparent 52%, rgba(100, 67, 20, 0.12) 76%, transparent 92%),
    linear-gradient(180deg, #e4ce88 0%, #c9ac5b 42%, #b18b3b 74%, #d4b86d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 208, 0.8),
    inset 0 -1px 0 rgba(84, 53, 16, 0.5),
    inset 1px 0 0 rgba(255, 239, 181, 0.4),
    0 2px 4px rgba(24, 10, 4, 0.45);
  pointer-events: none;
}

.shop-wall-shelves {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 0;
}

.shop-wall-shelves--single {
  grid-template-rows: minmax(0, 1fr);
}

.shop-wall-row--merchandising .shop-wall-shelf-level {
  min-height: var(--shop-wall-merch-product-space);
  padding-bottom: 42px;
}

.shop-wall-row--merchandising .shop-wall-shelf-level::after {
  height: var(--shop-wall-merch-shelf-construction);
  border-top: 2px solid rgba(246, 193, 112, 0.48);
  background:
    var(--shop-wall-shelf-top-light, linear-gradient(transparent, transparent)),
    linear-gradient(180deg, #8f5429 0 var(--shop-wall-merch-shelf-top), #5b2a12 var(--shop-wall-merch-shelf-top) calc(var(--shop-wall-merch-shelf-top) + var(--shop-wall-merch-shelf-fascia)), #321407 calc(var(--shop-wall-merch-shelf-top) + var(--shop-wall-merch-shelf-fascia)) 100%);
  box-shadow:
    inset 0 -2px 0 rgba(25, 10, 4, 0.5),
    0 10px 14px rgba(18, 7, 3, 0.42),
    0 -4px 8px rgba(41, 17, 6, 0.25);
}

/* Only a shelf with an existing fixture directly above receives a new pool.
   The marquee interrupts that relationship above Featured Creator. */
.shop-wall-row--merchandising > .shop-wall-bay + .shop-wall-bay,
.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac + .shop-wall-bay {
  --shop-wall-shelf-top-light: var(--shop-wall-three-shelf-catches);
}

.shop-wall-row--merchandising > .shop-wall-bay + .shop-wall-bay::before,
.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac + .shop-wall-bay::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--shop-wall-merch-shelf-construction);
  z-index: 3;
  background: var(--shop-wall-three-downlight-pools);
  mix-blend-mode: screen;
  pointer-events: none;
}

.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--shop-wall-bric-surface-height);
  z-index: 2;
  background: var(--shop-wall-three-downlight-pools);
  mix-blend-mode: screen;
  pointer-events: none;
}

.shop-wall-row--bric-a-brac {
  grid-template-columns: 1fr;
  min-height: var(--shop-wall-bric-row-height);
  padding: 0;
  border-top: 2px solid rgba(231, 166, 91, 0.28);
  border-bottom: 5px solid #35180c;
  background:
    linear-gradient(90deg, rgba(28, 11, 5, 0.42), transparent 5%, transparent 95%, rgba(28, 11, 5, 0.42)),
    linear-gradient(180deg, #603017 0%, #4a210d 100%);
  box-shadow:
    inset 0 7px 12px rgba(35, 15, 6, 0.24),
    inset 0 -4px 0 rgba(25, 10, 4, 0.38);
}

.shop-wall-row--identity + .shop-wall-row--bric-a-brac::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--shop-wall-bric-surface-height);
  z-index: 2;
  background:
    radial-gradient(ellipse 14% 92% at 16.666% 0%, rgba(255, 210, 116, 0.26) 0%, rgba(217, 117, 37, 0.11) 45%, transparent 82%),
    radial-gradient(ellipse 14% 92% at 50% 0%, rgba(255, 210, 116, 0.26) 0%, rgba(217, 117, 37, 0.11) 45%, transparent 82%),
    radial-gradient(ellipse 14% 92% at 83.333% 0%, rgba(255, 210, 116, 0.26) 0%, rgba(217, 117, 37, 0.11) 45%, transparent 82%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface,
.shop-wall-row--identity + .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface {
  background:
    radial-gradient(ellipse 8% 34% at 16.666% 24%, rgba(255, 244, 198, 0.86) 0%, rgba(255, 190, 82, 0.48) 38%, rgba(178, 79, 22, 0.13) 62%, transparent 84%),
    radial-gradient(ellipse 8% 34% at 50% 24%, rgba(255, 244, 198, 0.86) 0%, rgba(255, 190, 82, 0.48) 38%, rgba(178, 79, 22, 0.13) 62%, transparent 84%),
    radial-gradient(ellipse 8% 34% at 83.333% 24%, rgba(255, 244, 198, 0.86) 0%, rgba(255, 190, 82, 0.48) 38%, rgba(178, 79, 22, 0.13) 62%, transparent 84%),
    linear-gradient(180deg, #8f5429 0 24px, #5b2a12 24px 40px, #321407 40px 100%);
}

.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::before,
.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::after,
.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac .shop-wall-bric-shelf::after,
.shop-wall-row--identity + .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::before,
.shop-wall-row--identity + .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::after,
.shop-wall-row--identity + .shop-wall-row--bric-a-brac .shop-wall-bric-shelf::after {
  content: "";
  position: absolute;
  top: 46px;
  z-index: 4;
  width: var(--shop-wall-recessed-light-width);
  height: var(--shop-wall-recessed-light-height);
  border-radius: 50%;
  background: var(--shop-wall-recessed-light-background);
  box-shadow: var(--shop-wall-recessed-light-shadow);
  transform: translateX(-50%);
  pointer-events: none;
}

.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::before,
.shop-wall-row--identity + .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::before {
  left: 16.666%;
}

.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac .shop-wall-bric-shelf::after,
.shop-wall-row--identity + .shop-wall-row--bric-a-brac .shop-wall-bric-shelf::after {
  top: calc(var(--shop-wall-bric-row-height) - var(--shop-wall-bric-surface-height) + 46px);
  left: 50%;
}

.shop-wall-row--merchandising > .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::after,
.shop-wall-row--identity + .shop-wall-row--bric-a-brac .shop-wall-bric-shelf__surface::after {
  left: 83.333%;
}

.shop-wall-bric-shelf {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  min-height: var(--shop-wall-bric-row-height);
  padding: 0 0 var(--shop-wall-bric-surface-height);
  background:
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(43, 18, 7, 0.22) 70px 72px),
    linear-gradient(180deg, rgba(214, 135, 60, 0.06), rgba(35, 13, 5, 0.16));
  box-shadow:
    inset 10px 0 13px rgba(31, 13, 5, 0.2),
    inset -10px 0 13px rgba(31, 13, 5, 0.24);
}

.shop-wall-bric-shelf__back {
  min-height: var(--shop-wall-bric-back-height);
  background:
    linear-gradient(90deg, rgba(23, 9, 4, 0.34), transparent 6%, transparent 94%, rgba(23, 9, 4, 0.34)),
    repeating-linear-gradient(90deg, rgba(236, 172, 91, 0.03) 0 2px, transparent 2px 80px),
    linear-gradient(180deg, #68401f 0%, #50250f 100%);
  box-shadow:
    inset 0 1px 0 rgba(246, 193, 112, 0.2),
    inset 0 -12px 18px rgba(31, 13, 5, 0.24);
}

.shop-wall-bric-shelf__surface {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--shop-wall-bric-surface-height);
  border-top: 2px solid rgba(246, 193, 112, 0.48);
  background:
    linear-gradient(180deg, #8f5429 0 24px, #5b2a12 24px 40px, #321407 40px 100%);
  box-shadow:
    inset 0 -2px 0 rgba(25, 10, 4, 0.5),
    0 10px 14px rgba(18, 7, 3, 0.42),
    0 -4px 8px rgba(41, 17, 6, 0.25);
}

.storefront-ad-marquee,
.storefront-news-chiron {
  display: block;
  width: calc(100% - 48px);
  height: var(--shop-wall-fixture-height);
  margin: 24px auto;
  border: 8px solid #321407;
  background: #1d0d07;
  box-shadow:
    inset 0 0 0 2px rgba(190, 119, 55, 0.28),
    inset 0 8px 16px rgba(15, 6, 2, 0.38),
    0 8px 18px rgba(14, 7, 3, 0.3);
}

.homepage-shop-wall > .storefront-ad-marquee,
.homepage-shop-wall > .storefront-news-chiron {
  width: 100%;
}

.storefront-news-chiron__display {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
}

.storefront-news-chiron__bug {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  border: 1px solid #967749;
  border-right: 3px solid #be9856;
  background:
    linear-gradient(rgba(5, 10, 17, 0.56), rgba(5, 10, 17, 0.56)),
    url("/assets/images/news/american-flag-header.png") center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(240, 207, 140, 0.2), inset 0 -3px 6px rgba(0, 0, 0, 0.3);
  color: #f4dfb1;
  text-shadow: 0 1px 2px #000, 0 0 4px rgba(0, 0, 0, 0.7);
}

.storefront-news-chiron__bug > * {
  margin: 0;
  letter-spacing: 0;
}

.storefront-news-chiron__brand {
  font: 700 11px/1.2 Arial, sans-serif;
}

.storefront-news-chiron__title {
  font: 700 26px/1 Georgia, "Times New Roman", serif;
}

.storefront-news-chiron__edition {
  color: #f4dfb1;
  font: 700 8px/1.2 Arial, sans-serif;
}

.storefront-news-chiron__viewport {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #645239;
  border-left: 0;
  background: linear-gradient(180deg, #17221c, #0b1311);
  box-shadow: inset 0 1px 0 rgba(214, 184, 111, 0.12), inset 0 -1px 0 rgba(214, 184, 111, 0.12);
}

.storefront-news-chiron__viewport:focus-visible {
  outline: 2px solid #d1af6b;
  outline-offset: -3px;
}

.storefront-news-chiron__track {
  display: flex;
  width: max-content;
  height: 100%;
}

.storefront-news-chiron[data-news-ready] .storefront-news-chiron__track {
  animation: storefront-news-right var(--news-duration) linear infinite;
}

.storefront-news-chiron__sequence {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.storefront-news-chiron__item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  height: 100%;
  padding: 0 28px;
  white-space: nowrap;
}

.storefront-news-chiron__item::after {
  position: absolute;
  top: calc(50% - 14px);
  right: 0;
  width: 1px;
  height: 28px;
  background: #8d7448;
  content: "";
}

.storefront-news-chiron__prefix {
  color: #d2ad67;
  font: 700 10px/1.2 Arial, sans-serif;
  letter-spacing: 0;
}

.storefront-news-chiron__headline {
  color: #f1eee2;
  font: 600 20px/1.25 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

@keyframes storefront-news-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 699px) {
  .storefront-news-chiron__display {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 5px;
  }

  .storefront-news-chiron__title {
    font-size: 19px;
  }

  .storefront-news-chiron__brand {
    font-size: 9px;
  }

  .storefront-news-chiron__edition {
    font-size: 6px;
  }

  .storefront-news-chiron__item {
    padding: 0 20px;
  }

  .storefront-news-chiron__headline {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-news-chiron[data-news-ready] .storefront-news-chiron__track {
    animation: none;
    transform: none;
  }

  .storefront-news-chiron__viewport {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .storefront-news-chiron__track {
    display: block;
    width: 100%;
    height: auto;
  }

  .storefront-news-chiron__sequence {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 12px;
    width: 100%;
    height: auto;
    padding: 12px;
  }

  .storefront-news-chiron__sequence[aria-hidden="true"] {
    display: none;
  }

  .storefront-news-chiron__item {
    height: auto;
    padding: 0;
    white-space: normal;
  }

  .storefront-news-chiron__item::after {
    display: none;
  }

  .storefront-news-chiron__headline {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
}

.storefront-ad-marquee__display {
  --storefront-ad-gap: 8px;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
}

.storefront-ad-marquee__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.storefront-ad-marquee__track {
  display: flex;
  gap: var(--storefront-ad-gap);
  width: 100%;
  height: 100%;
  animation: storefront-ads-left 60s linear infinite;
}

.storefront-ad-marquee__group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 0 0 100%;
  gap: var(--storefront-ad-gap);
  min-width: 0;
  height: 100%;
}

@keyframes storefront-ads-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - var(--storefront-ad-gap))); }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-ad-marquee__track {
    animation: none;
  }
}

.storefront-ad {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #625046;
  border-radius: 0;
  background: #111612;
  box-shadow: inset 0 0 0 1px rgba(255, 235, 203, 0.13), inset 0 2px 5px rgba(0, 0, 0, 0.55);
}

.storefront-ad__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-ad__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  height: 100%;
  padding: 8px 14px;
  color: #f0eee5;
}

.storefront-ad__copy > *,
.storefront-ad__callout {
  margin: 0;
  letter-spacing: 0;
}

.storefront-ad__advertiser {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}

.storefront-ad__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.08;
}

.storefront-ad__support {
  font-size: 11px;
  line-height: 1.15;
}

.storefront-ad__callout {
  position: absolute;
  right: 10px;
  bottom: 7px;
  z-index: 2;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.1;
}

.storefront-ad--folk {
  border-color: #6b574d;
}

.storefront-ad--folk .storefront-ad__art {
  object-position: center 25%;
}

.storefront-ad--folk .storefront-ad__copy {
  background: linear-gradient(90deg, rgba(6, 12, 9, 0.74), rgba(6, 12, 9, 0.16) 68%, transparent);
  text-shadow: 0 1px 2px #000;
}

.storefront-ad--folk .storefront-ad__advertiser {
  color: #c6cfc1;
}

.storefront-ad--folk .storefront-ad__title {
  color: #f0e1d5;
}

.storefront-ad--folk .storefront-ad__callout {
  padding-left: 6px;
  border-left: 2px solid #a45248;
  color: #dcb6ae;
}

.storefront-ad--space {
  border-color: #71848c;
  background: #0d293d;
}

.storefront-ad--space .storefront-ad__art {
  opacity: 0.83;
}

.storefront-ad--space .storefront-ad__copy {
  background: linear-gradient(90deg, rgba(7, 28, 47, 0.73), rgba(7, 28, 47, 0.08) 70%, transparent);
  font-family: Arial, sans-serif;
}

.storefront-ad--space .storefront-ad__advertiser {
  color: #a8d9e7;
}

.storefront-ad--space .storefront-ad__title {
  color: #f3fbfc;
  font-family: Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
}

.storefront-ad--space .storefront-ad__support {
  color: #f1c28d;
}

.storefront-ad--space .storefront-ad__callout {
  color: #ffd19a;
}

.storefront-ad--house {
  border-color: #b39557;
  background:
    repeating-linear-gradient(0deg, rgba(223, 194, 132, 0.025) 0 1px, transparent 1px 4px),
    #18362b;
}

.storefront-ad__logo {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform: translateY(-50%);
}

.storefront-ad--house .storefront-ad__copy {
  padding-left: 70px;
  color: #ebdfb9;
}

.storefront-ad--house .storefront-ad__advertiser {
  color: #c4ba98;
  font-size: 9px;
}

.storefront-ad--house .storefront-ad__title {
  font-size: 18px;
}

.storefront-ad--house .storefront-ad__support {
  font-size: 10px;
}

@media (max-width: 1199px) {
  .storefront-ad__copy {
    padding: 7px 10px;
  }

  .storefront-ad__title {
    font-size: 17px;
  }

  .storefront-ad__support {
    font-size: 10px;
  }

  .storefront-ad__logo {
    left: 8px;
    width: 28px;
    height: 28px;
  }

  .storefront-ad--house .storefront-ad__copy {
    padding-left: 43px;
  }

  .storefront-ad--house .storefront-ad__title {
    font-size: 16px;
  }
}

@media (max-width: 699px) {
  .storefront-ad-marquee__display {
    --storefront-ad-gap: 5px;
    padding: 5px;
  }

  .storefront-ad__copy {
    gap: 2px;
    padding: 5px;
  }

  .storefront-ad__advertiser {
    font-size: 7px;
  }

  .storefront-ad__title {
    font-size: 11px;
  }

  .storefront-ad__support {
    font-size: 8px;
  }

  .storefront-ad__callout {
    display: none;
  }

  .storefront-ad__logo {
    top: 7px;
    right: 5px;
    left: auto;
    width: 17px;
    height: 17px;
    transform: none;
  }

  .storefront-ad--house .storefront-ad__copy {
    gap: 2px;
    padding: 5px;
  }

  .storefront-ad--house .storefront-ad__advertiser {
    padding-right: 19px;
    font-size: 6px;
  }

  .storefront-ad--house .storefront-ad__title {
    font-size: 10px;
  }

  .storefront-ad--house .storefront-ad__support {
    font-size: 7px;
  }

  .storefront-ad--house .storefront-ad__support span {
    display: block;
  }
}

.shop-wall-shelf-level {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  min-height: 126px;
  padding: 20px clamp(13px, 1.8vw, 26px) 25px;
  background:
    linear-gradient(90deg, rgba(24, 9, 4, 0.28), transparent 10%, transparent 90%, rgba(22, 8, 3, 0.32)),
    linear-gradient(180deg, rgba(218, 139, 63, 0.045), rgba(34, 13, 5, 0.14));
}

.shop-wall-shelf-level::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20px;
  border-top: 2px solid rgba(241, 185, 104, 0.42);
  background:
    linear-gradient(180deg, #874d25 0 5px, #5a2a12 5px 15px, #351608 15px 100%);
  box-shadow:
    inset 0 -2px 0 rgba(29, 12, 4, 0.42),
    0 7px 10px rgba(20, 8, 3, 0.38),
    0 -3px 7px rgba(34, 14, 5, 0.24);
}

.shop-wall-row--identity .shop-wall-shelf-level--lower::before {
  content: "";
  position: absolute;
  inset: 0 0 20px;
  z-index: 1;
  background:
    radial-gradient(ellipse 8% 6% at 50% 0%, rgba(255, 244, 201, 0.96) 0%, rgba(255, 208, 106, 0.64) 42%, transparent 100%),
    radial-gradient(ellipse 18% 19% at 50% 11%, rgba(255, 225, 142, 0.68) 0%, rgba(246, 165, 62, 0.32) 44%, transparent 80%),
    radial-gradient(ellipse 37% 76% at 50% 44%, rgba(255, 207, 105, 0.26) 0%, rgba(212, 113, 37, 0.12) 42%, rgba(84, 35, 12, 0.03) 62%, transparent 82%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.shop-wall-row--identity .shop-wall-shelf-level--lower::after {
  /* This narrower shelf has a 5px horizontal top; the front stays dark. */
  background:
    radial-gradient(ellipse 24% 2.5px at 50% 2.5px, rgba(255, 244, 198, 0.86) 0%, rgba(255, 190, 82, 0.48) 38%, rgba(178, 79, 22, 0.13) 62%, transparent 84%),
    linear-gradient(180deg, #874d25 0 5px, #5a2a12 5px 15px, #351608 15px 100%);
}

.shelf-storefront .shop-wall-books {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 136px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: auto;
  overflow: visible;
}

.shelf-storefront .shop-wall-books::before,
.shelf-storefront .shop-wall-books::after {
  content: none;
}

/* Hang on the back wall within a shelf third, behind books and existing light.
   Absolute positioning leaves the locked shelf dimensions untouched. */
.shop-wall-shelf-level {
  --shop-wall-art-width: min(212px, calc(33.333% - 16px));
}

.shop-wall-back-wall-art {
  position: absolute;
  top: 4px;
  left: 16.666%;
  z-index: 0;
  width: var(--shop-wall-art-width);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(2px 4px 5px rgba(16, 7, 3, 0.55));
  pointer-events: none;
  user-select: none;
}

.shop-wall-back-wall-art--right {
  left: 83.333%;
}

.shop-wall-back-wall-art--center {
  left: 50%;
}

.shop-wall-product-row {
  position: absolute;
  bottom: 43px;
  left: calc(16.666% - var(--shop-wall-art-width) / 2 - 188px * 203 / 1774);
  right: calc(16.667% - var(--shop-wall-art-width) / 2);
  z-index: 5;
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 188px;
  margin: 0;
  padding: 0;
  filter: drop-shadow(0 12px 8px rgba(16, 7, 3, 0.58));
}

.shop-wall-product-row::before,
.shop-wall-product-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: 6;
  box-sizing: border-box;
  width: calc(188px * 203 / 1774);
  height: calc(188px / 2);
  border: 1px solid #63401f;
  border-top-color: #d5b17b;
  border-radius: 1px;
  background:
    linear-gradient(90deg, rgba(255, 232, 190, 0.22), transparent 18%, transparent 78%, rgba(55, 27, 10, 0.2)),
    repeating-linear-gradient(92deg, transparent 0 3px, rgba(71, 39, 15, 0.2) 3px 4px, transparent 4px 7px, rgba(244, 210, 155, 0.14) 7px 8px),
    linear-gradient(180deg, #bd9460, #a37644 48%, #8b5c31);
  box-shadow: inset 1px 0 0 rgba(245, 216, 168, 0.3), inset -2px 0 3px rgba(46, 23, 9, 0.2);
  pointer-events: none;
}

.shop-wall-product-row::before {
  left: calc(-188px * 203 / 1774);
}

.shop-wall-product-row::after {
  right: calc(-188px * 203 / 1774);
}

.shop-wall-product-mock {
  --mock-product-bottom: 43px;
  --mock-product-height: 188px;
  --mock-product-left: 50%;
  position: absolute;
  bottom: var(--mock-product-bottom);
  left: var(--mock-product-left);
  z-index: 5;
  width: var(--mock-product-width, calc(var(--mock-product-height) * 0.64));
  height: var(--mock-product-height);
  margin: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 8px rgba(16, 7, 3, 0.58));
  pointer-events: none;
  user-select: none;
}

.shop-wall-product-mock::before {
  content: "";
  position: absolute;
  top: 8px;
  right: -13px;
  bottom: 5px;
  z-index: 0;
  width: 17px;
  border: 1px solid rgba(38, 20, 10, 0.72);
  border-left: 0;
  border-radius: 0 3px 3px 0;
  background:
    linear-gradient(90deg, rgba(255, 238, 191, 0.44), rgba(137, 92, 49, 0.8) 38%, rgba(51, 28, 15, 0.94)),
    repeating-linear-gradient(180deg, rgba(255, 238, 191, 0.18) 0 1px, transparent 1px 4px);
  transform: skewY(-4deg);
  transform-origin: left center;
}

.shop-wall-product-mock--spine {
  --mock-product-width: calc(var(--mock-product-height) * 203 / 1774);
  overflow: hidden;
}

.shop-wall-product-row > .shop-wall-product-mock {
  position: relative;
  bottom: auto;
  left: auto;
  flex: 0 0 var(--mock-product-width);
  padding: 0;
  transform: none;
  filter: none;
}

.shop-wall-product-row[data-fill-spines] > .shop-wall-product-mock:not(:first-child) {
  flex: 1 1 0;
  min-width: 0;
}

.shop-wall-product-row[data-overhang-spine] {
  right: calc(16.667% - var(--shop-wall-art-width) / 2 - 188px * 203 / 1774);
}

.shop-wall-product-row[data-overhang-spine] > .shop-wall-product-mock:last-child {
  flex: 0 0 var(--mock-product-width);
}

.shop-wall-product-row--library {
  bottom: 18px;
  left: 0;
  right: 0;
  height: min(188px, calc(100% - 28px));
}

.shop-wall-product-row--library::before,
.shop-wall-product-row--library::after {
  content: none;
}

.shop-wall-product-row--right {
  justify-content: flex-end;
}

.shop-wall-shelf-level > .shop-wall-product-row--library::before,
.shop-wall-shelf-level > .shop-wall-product-row--library::after {
  position: absolute;
  width: auto;
  height: 50%;
  aspect-ratio: 406 / 1774;
}

.shop-wall-shelf-level > .shop-wall-product-row--library:not(.shop-wall-product-row--right)::after,
.shop-wall-shelf-level > .shop-wall-product-row--library.shop-wall-product-row--right::before {
  content: "";
}

/* Preserve the stops at the former five-spine boundary without mock books. */
.shop-wall-shelf-level > .shop-wall-product-row--library:not(.shop-wall-product-row--right)::after {
  left: 0;
  right: auto;
  transform: translateX(500%);
}

.shop-wall-shelf-level > .shop-wall-product-row--library.shop-wall-product-row--right::before {
  left: auto;
  right: 0;
  transform: translateX(-500%);
}

.shop-wall-library-books {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--library-bookstop-clearance, 0px);
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.shop-wall-product-row--right > .shop-wall-library-books {
  left: 0;
  right: var(--library-bookstop-clearance, 0px);
}

.shop-wall-library-books > .shop-wall-product-mock {
  position: relative;
  bottom: auto;
  left: auto;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 100%;
  transform: none;
  filter: none;
}

.shop-wall-product-mock--spine::before {
  content: none;
}

.shop-wall-product-mock img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #2d1a10;
  border-radius: 3px;
  object-fit: cover;
  background: #140c07;
  box-shadow:
    inset -7px 0 9px rgba(24, 12, 6, 0.28),
    0 2px 0 rgba(237, 190, 105, 0.28);
}

.shop-wall-product-mock--spine img {
  position: absolute;
  left: 50%;
  width: calc(100% * 887 / 203);
  max-width: none;
  border: 0;
  border-radius: 0;
  transform: translateX(-50%);
  object-fit: fill;
  background: transparent;
  box-shadow: none;
}

/* Match the jersey's frame footprint; contain narrower posters in dark matting. */
.shop-wall-back-wall-art--right,
.shop-wall-back-wall-art--center {
  aspect-ratio: 1306 / 1600;
  object-fit: contain;
  background: #151515;
}

.homepage-shop-wall .bookshelf-book {
  min-height: clamp(116px, 13vw, 176px);
}

.shop-wall-sign,
.shop-wall-empty {
  position: relative;
  z-index: 2;
  max-width: 250px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(55, 31, 16, 0.58);
  border-radius: 4px;
  background:
    linear-gradient(180deg, #efe1b8 0%, #c8a96e 100%);
  color: #2d190d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 5px 12px rgba(20, 9, 3, 0.25);
}

.shop-wall-sign p {
  margin: 0 0 8px;
}

.shop-wall-sign a,
.shop-wall-view-link {
  color: #4d2410;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-wall-view-link {
  position: absolute;
  right: 16px;
  bottom: 22px;
  z-index: 3;
  padding: 6px 7px;
  border-radius: 4px;
  background: rgba(37, 17, 7, 0.64);
  color: #f1d89c;
}

.shop-wall-bay--identity {
  grid-template-rows: 1fr;
  place-items: center;
  padding: clamp(22px, 3vw, 44px);
  background:
    radial-gradient(circle at 50% 24%, rgba(252, 217, 137, 0.12), transparent 38%),
    linear-gradient(90deg, rgba(24, 10, 4, 0.36), transparent 8%, transparent 92%, rgba(22, 9, 4, 0.44)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(45, 20, 8, 0.24) 70px 72px),
    linear-gradient(180deg, #70411f 0%, #542711 100%);
}

/* Preserve the accepted row height independently of the larger painted sign.
   The unpainted heading names the main landmark for assistive technology. */
.shop-wall-identity-space {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(320px, 88%);
  padding: clamp(20px, 3vw, 34px);
  border: 3px solid transparent;
  pointer-events: none;
  user-select: none;
}

.shop-wall-identity-space::before {
  content: "";
  width: clamp(112px, 11vw, 158px);
  height: clamp(112px, 11vw, 158px);
}

.shop-wall-identity-space h1 {
  opacity: 0;
  display: grid;
  gap: 2px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 0.92;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

/* A physical wood sign beneath the existing downlight, not a cream UI card.
   Absolute placement keeps the accepted bay/shelf/fixture geometry unchanged. */
.shop-wall-row--identity > .shop-wall-bay--identity > .shop-wall-identity-sign {
  position: absolute;
  inset: 12px 12px 18px;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 3px solid #3b1d0e;
  border-radius: 2px;
  container-type: inline-size;
  transform: scale(1.1);
  transform-origin: center;
  background:
    radial-gradient(circle at 10px 10px, #e5b569 0 1px, #765026 1px 3px, #30190c 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 10px) 10px, #e5b569 0 1px, #765026 1px 3px, #30190c 3px 4px, transparent 4.5px),
    radial-gradient(circle at 10px calc(100% - 10px), #e5b569 0 1px, #765026 1px 3px, #30190c 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #e5b569 0 1px, #765026 1px 3px, #30190c 3px 4px, transparent 4.5px),
    url("/assets/woodgrain-sign.svg"),
    linear-gradient(105deg, rgba(44, 20, 8, 0.18), transparent 24%, rgba(224, 157, 79, 0.12) 52%, transparent 76%, rgba(44, 20, 8, 0.2)),
    linear-gradient(180deg, #a16a35 0%, #8b542a 48%, #78441f 100%);
  background-size: auto, auto, auto, auto, 100% 100%, auto, auto;
  box-shadow:
    inset 0 0 0 2px rgba(214, 144, 70, 0.38),
    inset 0 3px 5px rgba(246, 189, 108, 0.18),
    inset 0 -4px 8px rgba(37, 15, 5, 0.32),
    0 8px 14px rgba(20, 8, 3, 0.4);
  pointer-events: none;
  user-select: none;
}

.shop-wall-identity-sign img {
  align-self: center;
  width: min(270px, 92%);
  height: 100%;
  max-height: 270px;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(37, 17, 7, 0.38));
}

.shop-wall-identity-title {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #1b1008;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.125rem, 10.8cqw, 2.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(234, 170, 87, 0.48), 0 -1px 1px rgba(39, 16, 5, 0.25);
}

.shop-wall-identity-title span {
  white-space: nowrap;
}

@media (max-width: 1023px) {
  /* The identity sign already fills the responsive wall; prevent overhang. */
  .shop-wall-row--identity > .shop-wall-bay--identity > .shop-wall-identity-sign {
    transform: none;
  }

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

  .shop-wall-row--identity {
    min-height: 0;
  }

  .shop-wall-bay--identity {
    grid-column: 1 / -1;
    order: -1;
    min-height: 300px;
    border-right: 0;
    border-bottom: 14px solid #3b2111;
  }

  .shop-wall-bay:nth-child(2n) {
    border-right: 0;
  }

  .shop-wall-row--merchandising .shop-wall-bay:last-child {
    grid-column: auto;
    min-height: 378px;
    border-top: 0;
  }
}

@media (max-width: 699px) {
  body:has(.homepage-shop-wall) .site-header {
    min-height: 58px;
    padding: 8px 8px;
  }

  body:has(.homepage-shop-wall) .site-nav {
    justify-content: flex-start;
  }

  body:has(.homepage-shop-wall) .site-nav a {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 0.792rem;
  }

  .homepage-shop-wall {
    padding: 14px;
  }

  .shop-wall-row {
    grid-template-columns: 1fr;
  }

  .shop-wall-row--identity,
  .shop-wall-row--merchandising {
    min-height: 0;
  }

  .shop-wall-bay,
  .shop-wall-bay:nth-child(2n),
  .shop-wall-bay:nth-child(3n),
  .shop-wall-row .shop-wall-bay:last-child {
    grid-column: auto;
    min-height: 260px;
    border-right: 0;
    border-bottom: 14px solid #3b2111;
  }

  .shop-wall-row .shop-wall-bay:last-child {
    border-bottom: 0;
  }

  .shop-wall-row--merchandising .shop-wall-bay:last-child {
    border-top: 0;
  }

  .shop-wall-row--merchandising .shop-wall-bay,
  .shop-wall-row--merchandising .shop-wall-bay:last-child {
    min-height: 378px;
    border-bottom: 0;
  }

  .shop-wall-shelf-level {
    min-height: 112px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .shop-wall-view-link {
    right: 10px;
    bottom: 20px;
    font-size: 0.66rem;
  }
}
