:root {
  --bg: #fbf7ee;
  --paper: rgba(255, 252, 244, 0.88);
  --paper-solid: #fffaf0;
  --sage: #8faa86;
  --sage-deep: #58725a;
  --mint: #dfeadd;
  --gold: #c79b4b;
  --gold-soft: #ead6a8;
  --peach: #e8b8a8;
  --rose: #c98678;
  --ink: #354035;
  --muted: #7e7a6f;
  --night: #273247;
  --sky: #9eb9c9;
  --plum: #8d6477;
  --coral: #d58b73;
  --line: rgba(117, 134, 105, 0.2);
  --shadow: 0 22px 70px rgba(104, 91, 63, 0.14);
  --font-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --font-display: Georgia, "Times New Roman", "Noto Serif CJK SC", "Songti SC", serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  background:
    radial-gradient(circle at 18% 14%, rgba(223, 234, 221, 0.95), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(232, 184, 168, 0.34), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #f8f2e7 52%, #eef5eb 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(88, 114, 90, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 114, 90, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

.landing-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
}

.landing-hidden, .home-hidden {
  display: none;
}
.cosmic-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 250, 240, 0.96), rgba(223, 234, 221, 0.92) 46%, rgba(39, 50, 71, 0.86));
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 220ms ease, transform 520ms ease;
}
.cosmic-transition.active {
  opacity: 1;
  transform: scale(1);
}
.cosmic-orbit {
  position: relative;
  width: min(340px, 76vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.cosmic-orbit strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(44px, 12vw, 82px);
  letter-spacing: 0.04em;
}
.cosmic-orbit span {
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(255, 250, 240, 0.62);
  border-radius: 50%;
  animation: universeSpin 980ms ease-in-out infinite;
}
.cosmic-orbit span:nth-child(2) {
  inset: 12%;
  border-color: rgba(199, 155, 75, 0.5);
  animation-delay: -180ms;
}
.cosmic-orbit span:nth-child(3) {
  inset: 4%;
  border-color: rgba(143, 170, 134, 0.56);
  animation-delay: -360ms;
}
.landing-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(30px, 7vw, 72px);
  border: 1px solid rgba(117, 134, 105, 0.22);
  border-radius: 36px;
  background: rgba(255, 252, 244, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  text-align: center;
}
.brand-kicker, .eyebrow {
  margin: 0 0 10px;
  color: var(--sage-deep);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.landing-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}
.landing-card h1 span {
  display: block;
  white-space: nowrap;
}
.landing-card p {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}
.landing-card .brand-kicker {
  max-width: none;
  margin: 0 0 10px;
  color: var(--sage-deep);
  font-size: 12px;
  line-height: 1.4;
}
.enter-btn, .primary-btn, .home-nav-btn {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  transition: 180ms ease;
}
.enter-btn {
  margin-top: 32px;
  padding: 14px 30px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
  box-shadow: 0 16px 32px rgba(88, 114, 90, 0.2);
  font-size: 16px;
}
.enter-btn:hover, .primary-btn:hover, .home-nav-btn:hover {
  transform: translateY(-2px);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 32px;
  height: 54px;
  margin-left: -16px;
  border: 1px solid rgba(88, 114, 90, 0.32);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--sage-deep);
  animation: cueDrop 1.8s ease-in-out infinite;
}
.landing-leaf {
  position: absolute;
  width: 330px;
  height: 520px;
  border-radius: 60% 40% 62% 38%;
  background: linear-gradient(145deg, rgba(143, 170, 134, 0.18), rgba(255, 250, 240, 0));
  filter: blur(0.2px);
  animation: leafFloat 8s ease-in-out infinite;
}
.leaf-a { left: -80px; top: 10vh; transform: rotate(-18deg); }
.leaf-b { right: -120px; bottom: 8vh; transform: rotate(24deg); animation-delay: -3s; }

.ip-homepage {
  width: min(1260px, 100%);
  margin: 0 auto;
  padding: 12px clamp(14px, 3vw, 28px) 40px;
  animation: fadeUp 360ms ease;
}
.home-nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.86);
  box-shadow: 0 14px 42px rgba(104, 91, 63, 0.12);
  backdrop-filter: blur(20px);
}
.home-brand {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
}
.home-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}
.home-nav a,
.home-nav-btn,
.ghost-link {
  color: var(--sage-deep);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
}
.home-nav a {
  padding: 9px 10px;
}
.home-nav a.active {
  color: var(--ink);
  background: rgba(223, 234, 221, 0.78);
  border-radius: 999px;
}
.home-nav-btn {
  min-height: 38px;
  padding: 8px 14px;
  color: #fffaf0;
  background: var(--night);
}
.ip-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  min-height: 0;
  padding: clamp(22px, 4vw, 42px) 0 16px;
}
.ip-hero-copy h1,
.section-head h2,
.meme-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 0.95;
}
.ip-hero-copy h1 {
  font-size: clamp(68px, 11vw, 132px);
}
.ip-hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}
.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.66);
}
.ip-hero-art {
  position: relative;
  min-height: clamp(260px, 32vw, 390px);
}
.hero-square-showcase {
  position: absolute;
  inset: 0;
  width: min(520px, 100%);
  margin-left: auto;
}
.hero-square-showcase img {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(39, 50, 71, 0.12);
  border-radius: 8px;
  background: #f7efd9;
  box-shadow: 0 24px 70px rgba(39, 50, 71, 0.16);
}
.hero-square-showcase img:first-child {
  right: 6%;
  top: 2%;
  width: min(360px, 76%);
  transform: rotate(2deg);
}
.hero-square-showcase img:nth-child(2) {
  left: 0;
  bottom: 4%;
  width: min(248px, 50%);
  transform: rotate(-7deg);
}
.hero-square-showcase img:nth-child(3) {
  left: 8%;
  top: 10%;
  width: min(160px, 32%);
  object-fit: contain;
  padding: 10px;
  transform: rotate(-12deg);
}
.hero-square-showcase img:nth-child(4) {
  right: -6%;
  bottom: 0;
  width: min(170px, 34%);
  object-fit: contain;
  padding: 10px;
  transform: rotate(9deg);
}
.hero-protagonists {
  position: absolute;
  right: 8%;
  top: 0;
  width: min(360px, 72%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(39, 50, 71, 0.12);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(39, 50, 71, 0.16);
}
.hero-card-stack img {
  position: absolute;
  width: min(140px, 20vw);
  aspect-ratio: 3 / 5;
  object-fit: contain;
  border-radius: 8px;
  background: #f7efd9;
  box-shadow: 0 22px 58px rgba(39, 50, 71, 0.18);
}
.hero-card-stack img:nth-child(1) {
  left: 6%;
  top: 5%;
  transform: rotate(-9deg);
}
.hero-card-stack img:nth-child(2) {
  right: -6%;
  bottom: 6%;
  transform: rotate(8deg);
}
.hero-card-stack img:nth-child(3) {
  left: 22%;
  bottom: 0;
  transform: rotate(-4deg);
}
.ip-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.ip-ribbon a,
.ip-ribbon button {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 252, 244, 0.82);
  box-shadow: 0 14px 34px rgba(104, 91, 63, 0.1);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ip-ribbon span {
  color: var(--coral);
  font-size: 12px;
}
.ip-ribbon strong {
  overflow-wrap: anywhere;
}
.ip-ribbon em {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}
.collection-section,
.meme-section,
.atlas-section {
  padding-top: 32px;
}
.content-page {
  display: none;
  min-height: auto;
  padding-bottom: 32px;
}
.content-page.active {
  display: block;
  animation: fadeUp 260ms ease;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}
.section-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: right;
}
.section-head h2,
.meme-section h2 {
  font-size: clamp(40px, 6vw, 76px);
}
.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(14px, 3vw, 28px);
  align-items: stretch;
  margin-bottom: 10px;
}
.page-hero-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  min-height: clamp(300px, 38vw, 360px);
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.92), rgba(223, 234, 221, 0.64)),
    var(--paper-solid);
  box-shadow: var(--shadow);
}
.page-hero-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.94;
}
.page-hero-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}
.page-hero-copy .section-actions {
  justify-content: flex-start;
  margin-top: 16px;
}
.copyright-note,
.session-note {
  color: var(--plum);
  font-size: 14px;
  line-height: 1.75;
}
.meme-copyright-note {
  max-width: 820px;
  margin: -4px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(141, 100, 119, 0.24);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.76);
}
.feature-stage {
  position: relative;
  min-width: 0;
  min-height: clamp(300px, 38vw, 360px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(39, 50, 71, 0.08), rgba(232, 184, 168, 0.2)),
    #fffaf0;
  box-shadow: 0 26px 70px rgba(39, 50, 71, 0.14);
}
.feature-stage img {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 38vw, 360px);
  object-fit: cover;
  padding: 0;
  transition: transform 280ms ease;
  user-select: none;
}
.feature-stage:hover img {
  transform: scale(1.025);
}
.stage-watermark {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
  padding: 8px 12px;
  border: 1px solid rgba(255, 250, 240, 0.56);
  border-radius: 999px;
  color: rgba(53, 64, 53, 0.72);
  background: rgba(255, 252, 244, 0.58);
  box-shadow: 0 10px 24px rgba(39, 50, 71, 0.08);
  font-size: 13px;
  line-height: 1.2;
  pointer-events: none;
  backdrop-filter: blur(12px);
}
.feature-stage figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 240, 0.48);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.86);
  backdrop-filter: blur(18px);
}
.feature-stage h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.05;
}
.feature-stage p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}
.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(80px, 104px);
  gap: 8px;
  margin: 0;
  padding: 8px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.gallery-strip button {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 252, 244, 0.78);
  box-shadow: 0 10px 28px rgba(104, 91, 63, 0.08);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.gallery-strip button:hover,
.gallery-strip button.active {
  transform: translateY(-3px);
  border-color: rgba(88, 114, 90, 0.44);
  background: rgba(223, 234, 221, 0.82);
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #f7efd9;
  user-select: none;
}
.atlas-strip img {
  object-fit: cover;
}
.gallery-strip span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.atlas-console {
  display: grid;
  gap: 12px;
  align-content: start;
}
.atlas-console .section-actions {
  justify-content: flex-end;
}
.atlas-hero {
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(14px, 3vw, 28px);
  margin-bottom: 10px;
}
.atlas-hero .page-hero-copy {
  min-height: clamp(300px, 38vw, 360px);
  padding: clamp(18px, 3vw, 34px);
}
.atlas-hero .page-hero-copy h2 {
  font-size: clamp(40px, 6vw, 72px);
}
.atlas-hero .page-hero-copy p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.68;
}
.atlas-hero .page-hero-copy .section-actions {
  margin-top: 16px;
}
.atlas-stage {
  min-height: clamp(300px, 38vw, 360px);
}
.atlas-stage img {
  height: 125%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transform: translateY(-10%);
}
.atlas-stage:hover img {
  transform: translateY(-10%) scale(1.025);
}
.atlas-stage figcaption {
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
}
.atlas-stage .stage-watermark {
  top: 18px;
  right: 18px;
}
.atlas-strip {
  grid-auto-columns: minmax(80px, 104px);
  padding-top: 8px;
  padding-bottom: 10px;
}
.atlas-strip button {
  padding: 6px;
}
.tarot-atlas-groups {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  overflow: hidden;
}
.tarot-arcana-group {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.tarot-arcana-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
  color: var(--ink);
}
.tarot-arcana-head p,
.tarot-arcana-head span,
.tarot-arcana-head strong {
  margin: 0;
  line-height: 1.15;
}
.tarot-arcana-head p {
  font-weight: 800;
  font-size: 14px;
}
.tarot-arcana-head span,
.tarot-arcana-head strong {
  color: var(--muted);
  font-size: 11px;
}
.tarot-arcana-head strong {
  flex: 0 0 auto;
  font-weight: 700;
}
.tarot-arcana-strip {
  padding: 0 2px 2px;
}
.atlas-page-active {
  overflow: hidden;
}
.atlas-page-active .ip-homepage {
  height: 100vh;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: hidden;
}
.atlas-page-active .home-nav {
  position: relative;
  top: 0;
  min-height: 54px;
  padding: 8px 10px;
  overflow: hidden;
}
.atlas-page-active .home-brand {
  font-size: 26px;
}
.atlas-page-active .home-nav a {
  flex: 0 0 auto;
  padding: 7px 9px;
}
.atlas-page-active .home-nav-btn {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
}
.atlas-page-active .home-nav nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: flex-end;
}
.atlas-page-active main {
  height: calc(100vh - 70px);
  overflow: hidden;
}
.atlas-page-active .atlas-section.active {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  padding-top: 8px;
  padding-bottom: 0;
  overflow: hidden;
}
.atlas-page-active .atlas-hero {
  min-height: 0;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.34fr);
  gap: 14px;
  margin-bottom: 6px;
  overflow: hidden;
}
.atlas-page-active .atlas-hero .page-hero-copy,
.atlas-page-active .atlas-stage {
  min-height: 0;
  height: 100%;
}
.atlas-page-active .atlas-hero .page-hero-copy {
  align-content: center;
  padding: clamp(14px, 2vw, 24px);
  overflow: hidden;
}
.atlas-page-active .atlas-hero .page-hero-copy h2 {
  font-size: clamp(34px, 4.8vw, 60px);
}
.atlas-page-active .atlas-hero .page-hero-copy p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.5;
}
.atlas-page-active .atlas-hero .page-hero-copy .section-actions {
  gap: 8px;
  margin-top: 12px;
}
.atlas-page-active .atlas-hero .mini-btn {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 12px;
}
.atlas-page-active .atlas-stage img {
  height: 125%;
  min-height: 0;
  transform: translateY(-10%);
}
.atlas-page-active .atlas-stage:hover img {
  transform: translateY(-10%) scale(1.025);
}
.atlas-page-active .atlas-stage figcaption {
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
}
.atlas-page-active .atlas-stage figcaption p:not(.eyebrow) {
  display: none;
}
.atlas-page-active .atlas-stage h3 {
  font-size: clamp(20px, 2.2vw, 28px);
}
.atlas-page-active .atlas-strip {
  grid-auto-columns: minmax(66px, 86px);
  max-height: 106px;
  padding-top: 6px;
  padding-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.atlas-page-active .atlas-strip button {
  gap: 4px;
  padding: 5px;
}
.atlas-page-active .tarot-atlas-groups {
  max-height: 148px;
}
.atlas-page-active .tarot-arcana-group {
  gap: 4px;
}
.atlas-page-active .tarot-arcana-head p {
  font-size: 12px;
}
.atlas-page-active .tarot-arcana-head span,
.atlas-page-active .tarot-arcana-head strong {
  font-size: 10px;
}
.atlas-page-active .tarot-arcana-strip {
  grid-auto-columns: minmax(58px, 76px);
  max-height: none;
}
.atlas-page-active .atlas-strip img {
  aspect-ratio: 1;
}
.atlas-page-active .atlas-strip span {
  font-size: 11px;
  line-height: 1.18;
}
.feature-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.meme-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-preview-card,
.atlas-card,
.meme-pack {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 252, 244, 0.86);
  box-shadow: var(--shadow);
}
.feature-preview-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 330px;
}
.feature-preview-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  background: #f7efd9;
}
.meme-preview-grid .feature-preview-card img {
  object-fit: contain;
  padding: 18px;
}
.feature-preview-card > div {
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 42px);
}
.feature-preview-card h3,
.atlas-card h3,
.meme-pack h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}
.feature-preview-card p,
.atlas-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.gallery-drawer {
  margin-top: 16px;
  animation: fadeUp 220ms ease;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.collection-card {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(230px, auto) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 252, 244, 0.86);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.collection-card:hover,
.collection-card.active {
  transform: translateY(-5px);
  border-color: rgba(88, 114, 90, 0.42);
  box-shadow: 0 26px 70px rgba(39, 50, 71, 0.16);
}
.collection-card.large {
  grid-column: span 2;
}
.collection-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  background: #f7efd9;
}
.collection-card:not(.large) img {
  object-fit: contain;
  padding: 16px;
}
.atlas-gallery-grid .collection-card img {
  object-fit: contain;
  padding: 14px;
}
.protected-content-active [data-protected-page].active {
  user-select: none;
}
.protected-content-active [data-protected-page].active img {
  -webkit-user-drag: none;
  user-select: none;
}
.collection-card div:not(.sticker-preview) {
  padding: 16px;
}
.collection-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 25px;
}
.collection-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.sticker-preview {
  min-height: 230px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(158, 185, 201, 0.32), rgba(213, 139, 115, 0.18)),
    #fffaf0;
}
.sticker-preview span,
.meme-grid div {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(39, 50, 71, 0.12);
  border-radius: 999px;
  color: var(--night);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 22px rgba(39, 50, 71, 0.08);
  font-size: 14px;
}
.sticker-preview span:nth-child(2) {
  justify-self: end;
  background: rgba(223, 234, 221, 0.82);
}
.sticker-preview span:nth-child(3) {
  background: rgba(234, 214, 168, 0.72);
}
.atlas-grid,
.meme-collections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.atlas-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  min-height: 220px;
}
.atlas-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  padding: 18px;
  background: #f7efd9;
}
.atlas-card > div,
.meme-pack-head {
  padding: 20px;
}
.meme-pack {
  padding-bottom: 14px;
}
.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 0 14px;
}
.meme-item,
.meme-grid div {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  text-align: center;
}
.meme-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  background: #f7efd9;
}
.meme-item > div {
  padding: 10px;
}
.meme-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}
.meme-item p {
  margin: 0 0 4px;
}
.meme-item.empty,
.meme-grid div {
  display: grid;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--muted);
}

.app-shell {
  width: min(1240px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 22px;
}
.workspace-hidden { display: none; }
.workspace-active { display: block; animation: fadeUp 360ms ease; }
.workspace-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: end;
  padding: 14px 2px 18px;
}
.workspace-topbar h2, .panel-head h3, .card-name, .card-image-label {
  font-family: var(--font-display);
}
.workspace-topbar h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
}
.workspace-topbar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.workspace-status {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}
.workspace-status .session-note {
  max-width: none;
  color: var(--plum);
  white-space: nowrap;
}
.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.account-panel, .admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.account-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.account-summary h4 {
  margin: 0 0 6px;
  color: var(--sage-deep);
}
.auth-form {
  display: grid;
  gap: 8px;
}
.auth-form input, .admin-table input, .admin-table select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(88, 114, 90, 0.18);
  border-radius: 14px;
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 13px;
}
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.redeem-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.turnstile-box {
  min-height: 0;
}
.turnstile-box:not(:empty) {
  min-height: 65px;
}
.admin-link {
  color: var(--sage-deep);
  font-size: 13px;
  text-decoration: none;
}
.workspace-status .admin-link {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.84);
}
.mini-btn {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #fffaf0;
  background: var(--sage-deep);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.mini-btn.subtle {
  color: var(--sage-deep);
  background: #f1eadb;
}
.hidden { display: none !important; }
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  width: min(560px, calc(100% - 28px));
  padding: 13px 16px;
  border: 1px solid rgba(141, 100, 119, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 252, 244, 0.94);
  box-shadow: 0 20px 54px rgba(39, 50, 71, 0.2);
  line-height: 1.65;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: 180ms ease;
  backdrop-filter: blur(18px);
}
.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.admin-panel {
  margin-bottom: 18px;
  padding: 18px;
}
.panel-head.compact h3 {
  font-size: clamp(28px, 4vw, 40px);
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}
.admin-table th {
  color: var(--sage-deep);
  font-size: 12px;
}
.admin-table td span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.admin-product-thumb {
  display: block;
  width: 54px;
  height: 54px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: #f7efd9;
}
.shop-product-form small {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.shop-product-form small a {
  color: var(--sage-deep);
}
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mini-btn.danger {
  color: #fff7f1;
  background: #9c4f49;
}
.mini-btn.subtle.danger {
  color: #9c4f49;
  background: #f2ddd7;
}

.admin-console {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
}
.admin-console-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}
.admin-console-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.96;
}
.admin-login-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.admin-login-card .helper-text {
  grid-column: 1 / -1;
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.7);
}
.admin-page {
  display: none;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.82);
  box-shadow: var(--shadow);
}
.admin-page.active {
  display: block;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--sage-deep);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}
.code-create-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}
.asset-upload-form {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1fr) minmax(240px, 1.1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 16px 0 18px;
}
.code-create-grid label {
  display: grid;
  gap: 6px;
  color: var(--sage-deep);
  font-size: 13px;
}
.asset-upload-form label {
  display: grid;
  gap: 6px;
  color: var(--sage-deep);
  font-size: 13px;
}
.code-create-grid .field-wide {
  grid-column: span 2;
}
.admin-asset-grid {
  display: grid;
  gap: 16px;
}
.admin-asset-group {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}
.admin-asset-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.admin-asset-group h4 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}
.admin-asset-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.admin-asset-list figure {
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.84);
}
.admin-asset-list img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: #f7efd9;
}
.admin-asset-list figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.admin-output {
  min-height: 260px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font: 13px/1.6 Consolas, "SFMono-Regular", monospace;
}
.admin-locked .admin-tabs,
.admin-locked .admin-page:not(#admin-tab-overview) {
  opacity: 0.48;
  pointer-events: none;
}

.oracle-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.oracle-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
}
.oracle-nav {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.nav-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.nav-item span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sage-deep);
  background: var(--mint);
  font-size: 12px;
}
.nav-item strong {
  font-size: 15px;
}
.nav-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.nav-item.active {
  border-color: rgba(88, 114, 90, 0.24);
  background: #fffaf0;
  box-shadow: 0 10px 26px rgba(104, 91, 63, 0.08);
}
.oracle-stage { min-width: 0; }
.panel, .form-shell, .reading-card, .card-shell, .card-back-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel {
  display: none;
  padding: clamp(18px, 3vw, 28px);
}
.panel.active {
  display: block;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.panel-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
}
.mode-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #f1eadb;
}
.mode-btn {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.mode-btn.active {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
}

.tarot-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
  gap: 16px;
  margin-top: 20px;
  align-items: stretch;
}
.question-shell {
  display: grid;
  gap: 10px;
}
.form-shell, .reading-card, .card-back-panel {
  min-width: 0;
  padding: 18px;
}
.field-wide { grid-column: 1 / -1; }
label {
  display: grid;
  gap: 8px;
  color: var(--sage-deep);
}
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(88, 114, 90, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(143, 170, 134, 0.34);
}
.helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.shop-section .section-head {
  align-items: end;
}
.shop-section .section-head p:not(.eyebrow) {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.shop-grid {
  display: grid;
  gap: 18px;
}
.shop-category-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.82);
  box-shadow: var(--shadow);
}
.shop-category-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.shop-category-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}
.shop-category-head span,
.shop-cart-head > span {
  min-width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(88, 114, 90, 0.18);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(223, 234, 221, 0.42);
  font-size: 12px;
}
.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.shop-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(88, 114, 90, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.shop-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 114, 90, 0.36);
  box-shadow: 0 16px 34px rgba(39, 50, 71, 0.12);
}
.shop-card img,
.shop-card-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  object-fit: cover;
  background: linear-gradient(135deg, #f7efd9, #dfeadd);
}
.shop-card-placeholder span {
  color: var(--sage-deep);
  font-size: 13px;
}
.shop-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.shop-card-top,
.shop-card-meta,
.shop-cart-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.shop-card-top span {
  color: var(--muted);
  font-size: 12px;
}
.shop-card h3,
.shop-card p {
  margin: 0;
}
.shop-card h3 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
}
.shop-card p {
  color: var(--muted);
  line-height: 1.65;
}
.shop-card-meta strong,
.shop-cart-total strong,
.shop-order-total {
  color: var(--rose);
  font-size: 22px;
}
.shop-order-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.9);
  box-shadow: var(--shadow);
}
.shop-cart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.shop-cart-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}
.shop-cart-list {
  display: grid;
  gap: 10px;
}
.shop-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(88, 114, 90, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}
.shop-cart-item strong,
.shop-cart-item span {
  display: block;
}
.shop-cart-item strong {
  color: var(--ink);
}
.shop-cart-item span {
  color: var(--muted);
  font-size: 12px;
}
.shop-qty-control {
  display: grid;
  grid-template-columns: 30px 46px 30px;
  align-items: center;
  border: 1px solid rgba(88, 114, 90, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: #fffaf0;
}
.shop-qty-control button {
  min-height: 30px;
  border: 0;
  color: var(--sage-deep);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.shop-qty-control input {
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  background: transparent;
}
.shop-remove-btn {
  border: 0;
  color: var(--rose);
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.shop-cart-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.shop-order-form {
  display: grid;
  gap: 10px;
}
.shop-pay-qr,
.shop-pay-placeholder {
  width: min(220px, 100%);
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: contain;
  background: #f7efd9;
}
.shop-pay-placeholder {
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.shop-order-results {
  display: grid;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.shop-order-result {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  justify-items: center;
  padding: 14px;
  border: 1px solid rgba(88, 114, 90, 0.14);
  border-radius: 8px;
  background: rgba(223, 234, 221, 0.32);
}
.shop-order-result > div {
  width: 100%;
}
.shop-order-result strong,
.shop-order-result span {
  display: block;
}
.shop-order-result span {
  color: var(--muted);
  font-size: 12px;
}
.shop-empty {
  min-height: 150px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px dashed rgba(88, 114, 90, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}
.shop-empty h3,
.shop-empty p {
  margin: 0;
}

.card-back-panel {
  display: grid;
  gap: 14px;
}
.card-back-panel h4, .reading-card h4, .detail-block h5 {
  margin: 0 0 8px;
  color: var(--sage-deep);
}
.card-back-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.card-back-option {
  min-width: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 10px;
  border: 1px solid rgba(88, 114, 90, 0.18);
  border-radius: 8px;
  color: var(--sage-deep);
  background: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  cursor: pointer;
  transition: 180ms ease;
}
.card-back-option:hover, .card-back-option.active {
  transform: translateY(-2px);
  border-color: rgba(88, 114, 90, 0.46);
  background: #f4f7ee;
}
.card-back-option img {
  width: 64px;
  aspect-ratio: 3 / 5;
  object-fit: contain;
  border-radius: 12px;
  background: #f4ecd9;
}
.card-back-option span {
  font-size: 13px;
}
.action-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 2px;
}
.primary-btn {
  padding: 13px 26px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
  box-shadow: 0 14px 28px rgba(88, 114, 90, 0.18);
  font-size: 15px;
}
.primary-btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}
.secondary-action {
  margin-top: 14px;
}

.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.card-grid.tarot-single {
  grid-template-columns: minmax(260px, 380px);
  justify-content: center;
}
.card-grid.tarot-triple, .card-grid.lenormand-spread {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-shell {
  overflow: hidden;
  background: rgba(255, 252, 244, 0.92);
}
.card-shell.featured {
  box-shadow: 0 24px 70px rgba(88, 114, 90, 0.18);
}
.card-shell img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: contain;
  background: linear-gradient(180deg, #f6efd9, #fdfaf1);
  border-bottom: 1px solid var(--line);
}
.card-meta {
  padding: 16px;
}
.card-role {
  margin: 0;
  color: var(--sage-deep);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-name {
  margin: 8px 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}
.card-tag {
  margin: 0 0 8px;
  color: var(--gold);
}
.card-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.tarot-waiting {
  padding: 24px;
  border: 1px dashed rgba(88, 114, 90, 0.28);
  border-radius: 8px;
  background: rgba(255,255,255,0.42);
  text-align: center;
}
.reading-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.post-reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(135deg, rgba(255,250,240,0.95), rgba(158,185,201,0.18));
}
.post-reading-actions .reading-choice-copy {
  flex: 1 1 260px;
}
.post-reading-actions .reading-choice-copy h4,
.post-reading-actions .reading-choice-copy p {
  margin: 0;
}
.choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.choice-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fffaf0;
  background: var(--night);
  font: inherit;
  cursor: pointer;
  transition: 180ms ease;
}
.choice-btn.secondary {
  color: var(--sage-deep);
  border: 1px solid var(--line);
  background: rgba(255, 252, 244, 0.86);
}
.choice-btn:hover {
  transform: translateY(-2px);
}
.reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 16px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.detail-block {
  padding: 14px;
  border-radius: 8px;
  background: rgba(223, 234, 221, 0.44);
}
.detail-block p, .reading-card p {
  color: var(--muted);
  line-height: 1.75;
}
.card-image-label {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 28px;
}
.preview-card img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: contain;
  border-radius: 8px;
  background: #f7efd9;
}

.shuffle-stage {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(234, 214, 168, 0.6), transparent 36%),
    rgba(255, 252, 244, 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shuffle-table {
  position: relative;
  width: min(600px, 100%);
  height: 310px;
}
.shuffle-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  aspect-ratio: 3 / 5;
  border: 1px solid rgba(88, 114, 90, 0.26);
  border-radius: 16px;
  background-image: var(--card-back);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f7efd9;
  box-shadow: 0 18px 36px rgba(104, 91, 63, 0.18);
  animation: shuffleRitual 2.7s cubic-bezier(.2,.76,.18,1) both;
  transform-origin: center;
}
.shuffle-card:nth-child(1) { --start-x: -206px; --start-y: -42px; --mid-x: -82px; --mid-y: -34px; --end-x: -170px; --end-y: 18px; --rot-a: -26deg; --rot-b: 12deg; --rot-c: -16deg; animation-delay: 0ms; }
.shuffle-card:nth-child(2) { --start-x: 92px; --start-y: -62px; --mid-x: 50px; --mid-y: -22px; --end-x: -58px; --end-y: -4px; --rot-a: 20deg; --rot-b: -10deg; --rot-c: -5deg; animation-delay: 80ms; }
.shuffle-card:nth-child(3) { --start-x: -132px; --start-y: 34px; --mid-x: 112px; --mid-y: 18px; --end-x: 58px; --end-y: -4px; --rot-a: -12deg; --rot-b: 18deg; --rot-c: 6deg; animation-delay: 160ms; }
.shuffle-card:nth-child(4) { --start-x: 168px; --start-y: 18px; --mid-x: -28px; --mid-y: 44px; --end-x: 170px; --end-y: 18px; --rot-a: 24deg; --rot-b: -16deg; --rot-c: 16deg; animation-delay: 240ms; }
.shuffle-card:nth-child(5) { --start-x: -40px; --start-y: -110px; --mid-x: -152px; --mid-y: -4px; --end-x: -88px; --end-y: 68px; --rot-a: -8deg; --rot-b: -24deg; --rot-c: -9deg; animation-delay: 320ms; }
.shuffle-card:nth-child(6) { --start-x: 38px; --start-y: 98px; --mid-x: 154px; --mid-y: 20px; --end-x: 88px; --end-y: 68px; --rot-a: 10deg; --rot-b: 22deg; --rot-c: 9deg; animation-delay: 400ms; }
.shuffle-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  color: var(--sage-deep);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.ai-reading-card {
  background: linear-gradient(135deg, rgba(255,250,240,0.95), rgba(223,234,221,0.72));
}
.ai-reading-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fffaf0;
  background: var(--sage-deep);
  font-size: 12px;
}
.status-pill.loading {
  color: var(--sage-deep);
  background: rgba(143, 170, 134, 0.16);
  border: 1px solid rgba(88, 114, 90, 0.18);
}
.status-pill.fallback {
  color: var(--rose);
  background: rgba(232, 184, 168, 0.18);
  border: 1px solid rgba(201, 134, 120, 0.18);
}
.ai-reading-text {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 17px;
}
.ai-waiting {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}
.ai-oracle-loader {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 214, 168, 0.76), rgba(255,255,255,0.1) 62%);
}
.orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--gold);
  animation: oracleOrbit 2.4s linear infinite;
}
.dot-b { background: var(--sage); animation-duration: 3.1s; animation-delay: -0.8s; }
.dot-c { background: var(--peach); animation-duration: 3.8s; animation-delay: -1.4s; }
.card-mini {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 48px;
  margin: -24px -15px;
  border: 1px solid rgba(88, 114, 90, 0.22);
  border-radius: 8px;
  background: linear-gradient(160deg, #fffaf0, #dfeadd);
  animation: miniCards 1.8s ease-in-out infinite;
}
.card-mini-a { transform: translateX(-24px) rotate(-13deg); }
.card-mini-b { animation-delay: 0.16s; }
.card-mini-c { transform: translateX(24px) rotate(13deg); animation-delay: 0.32s; }
.typing-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}
.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
  animation: typingPulse 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0.32s; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.pillar, .detail-block {
  background: rgba(223, 234, 221, 0.44);
}
.pillar {
  padding: 14px;
  border-radius: 8px;
  text-align: left;
}
.pillar-label {
  color: var(--sage-deep);
  font-size: 12px;
}
.pillar-value {
  margin-top: 8px;
  font-size: 28px;
}
.pillar p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.pillar span {
  display: block;
  margin-top: 8px;
  color: var(--sage-deep);
  font-size: 12px;
  line-height: 1.55;
}
.balance-bars { display: grid; gap: 10px; }
.balance-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.balance-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(88, 114, 90, 0.12);
  overflow: hidden;
}
.balance-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--gold));
}

@keyframes cueDrop {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(18px); }
}
@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(-18deg); }
  50% { transform: translateY(-18px) rotate(-10deg); }
}
@keyframes universeSpin {
  0% { transform: rotate(0deg) scale(0.88); opacity: 0.36; }
  50% { transform: rotate(180deg) scale(1.08); opacity: 1; }
  100% { transform: rotate(360deg) scale(0.88); opacity: 0.36; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shuffleRitual {
  0% { opacity: 0; transform: translate(calc(-50% + var(--start-x)), calc(-50% + var(--start-y))) rotate(var(--rot-a)) scale(0.86); }
  18% { opacity: 1; transform: translate(calc(-50% + var(--start-x)), calc(-50% + var(--start-y))) rotate(var(--rot-a)) scale(1); }
  44% { transform: translate(calc(-50% + var(--mid-x)), calc(-50% + var(--mid-y))) rotate(var(--rot-b)) scale(1.05); }
  70% { transform: translate(-50%, -50%) rotate(0deg) scale(0.96); }
  100% { opacity: 1; transform: translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y))) rotate(var(--rot-c)) scale(1); }
}
@keyframes oracleOrbit {
  from { transform: rotate(0deg) translateX(50px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}
@keyframes miniCards {
  0%, 100% { transform: translateY(4px) rotate(-7deg); opacity: 0.72; }
  50% { transform: translateY(-7px) rotate(7deg); opacity: 1; }
}
@keyframes typingPulse {
  0%, 80%, 100% { opacity: 0.28; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@media (max-width: 860px) {
  .app-shell { padding: 14px; }
  .ip-hero,
  .page-hero,
  .feature-preview-card,
  .workspace-topbar, .oracle-layout, .tarot-workbench, .reading-grid, .field-grid, .pillars, .ai-waiting, .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-order-panel {
    position: static;
  }
  .ip-homepage { padding-top: 12px; }
  .home-nav {
    position: static;
    align-items: flex-start;
  }
  .ip-hero {
    min-height: auto;
    padding-top: 24px;
  }
  .ip-hero-art {
    min-height: 330px;
  }
  .hero-protagonists {
    right: 0;
    width: min(520px, 82%);
  }
  .ip-ribbon,
  .collection-grid,
  .meme-preview-grid,
  .atlas-grid,
  .meme-collections,
  .shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-card.large {
    grid-column: span 2;
  }
  .content-page { padding-bottom: 24px; }
  .page-hero {
    gap: 10px;
    margin-bottom: 8px;
  }
  .page-hero-copy,
  .feature-stage,
  .feature-stage img {
    min-height: 250px;
  }
  .page-hero-copy {
    padding: 18px;
  }
  .page-hero-copy h2 {
    font-size: clamp(34px, 8vw, 54px);
  }
  .atlas-hero {
    gap: 10px;
    margin-bottom: 8px;
  }
  .atlas-hero .page-hero-copy {
    min-height: 250px;
    padding: 18px;
  }
  .atlas-hero .page-hero-copy h2 {
    font-size: clamp(34px, 8vw, 54px);
  }
  .atlas-hero .page-hero-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.68;
  }
  .atlas-hero .page-hero-copy .section-actions {
    margin-top: 16px;
  }
  .atlas-stage {
    min-height: 250px;
    max-height: none;
  }
  .atlas-stage img {
    height: 125%;
    min-height: 0;
    transform: translateY(-10%);
  }
  .atlas-stage:hover img {
    transform: translateY(-10%) scale(1.025);
  }
  .atlas-stage figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
  }
  .atlas-stage figcaption p:not(.eyebrow) {
    display: none;
  }
  .gallery-strip {
    grid-auto-columns: minmax(74px, 92px);
  }
  .workspace-status {
    justify-items: start;
    text-align: left;
  }
  .workspace-status .session-note {
    font-size: 12px;
  }
  .workspace-actions {
    justify-content: flex-start;
  }
  .oracle-sidebar {
    position: static;
  }
  .oracle-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-head, .ai-reading-head {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-console-head,
  .admin-login-card,
  .stats-grid,
  .code-create-grid,
  .asset-upload-form {
    grid-template-columns: 1fr;
  }
  .code-create-grid .field-wide {
    grid-column: auto;
  }
  .card-grid.tarot-triple, .card-grid.lenormand-spread {
    grid-template-columns: 1fr;
  }
  .atlas-page-active .ip-homepage {
    padding: 8px 10px;
  }
  .atlas-page-active .home-nav {
    display: flex;
    align-items: center;
    min-height: auto;
  }
  .atlas-page-active .home-nav nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  .atlas-page-active main {
    height: calc(100vh - 118px);
  }
  .atlas-page-active .atlas-section.active {
    padding-top: 6px;
  }
  .atlas-page-active .atlas-hero {
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .atlas-page-active .atlas-hero .page-hero-copy {
    height: auto;
    min-height: 0;
    padding: 12px;
  }
  .atlas-page-active .atlas-hero .page-hero-copy h2 {
    font-size: clamp(28px, 7vw, 42px);
  }
  .atlas-page-active .atlas-hero .page-hero-copy p:not(.eyebrow) {
    display: none;
  }
  .atlas-page-active .atlas-hero .page-hero-copy p.copyright-note {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.3;
  }
  .atlas-page-active .atlas-hero .page-hero-copy .section-actions {
    margin-top: 8px;
  }
  .atlas-page-active .atlas-stage {
    height: 100%;
    min-height: 0;
  }
  .atlas-page-active .atlas-strip {
    grid-auto-columns: minmax(58px, 74px);
    max-height: 86px;
  }
  .atlas-page-active .atlas-strip span {
    display: none;
  }
}

@media (max-width: 560px) {
  .landing-screen { padding: 16px; }
  .landing-card { width: 100%; padding: 30px 22px; border-radius: 26px; }
  .landing-card h1 { font-size: clamp(34px, 11vw, 46px); line-height: 1.12; }
  .landing-card p { font-size: 15px; line-height: 1.8; }
  .home-nav {
    display: grid;
  }
  .home-nav nav,
  .hero-actions,
  .choice-buttons {
    justify-content: stretch;
  }
  .home-nav a,
  .home-nav-btn,
  .hero-actions .primary-btn,
  .ghost-link,
  .choice-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .ip-hero-copy h1 {
    font-size: clamp(48px, 16vw, 72px);
  }
  .ip-hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }
  .ip-hero-art {
    min-height: 280px;
  }
  .hero-protagonists {
    top: 0;
    width: 92%;
  }
  .hero-card-stack img {
    width: min(118px, 34vw);
  }
  .ip-ribbon,
  .collection-grid,
  .meme-grid,
  .shop-category-grid {
    grid-template-columns: 1fr;
  }
  .shop-category-panel,
  .shop-order-panel {
    padding: 12px;
  }
  .shop-cart-item,
  .shop-order-result {
    grid-template-columns: 1fr;
  }
  .shop-pay-qr,
  .shop-pay-placeholder {
    width: min(260px, 100%);
    justify-self: center;
  }
  .shop-qty-control {
    width: 112px;
  }
  .collection-card.large {
    grid-column: auto;
  }
  .section-head {
    display: grid;
    align-items: start;
  }
  .section-head > p {
    text-align: left;
  }
  .feature-preview-card,
  .meme-preview-grid,
  .atlas-grid,
  .meme-collections {
    grid-template-columns: 1fr;
  }
  .collection-section,
  .meme-section,
  .atlas-section {
    padding-top: 18px;
  }
  .content-page { padding-bottom: 18px; }
  .page-hero-copy,
  .feature-stage,
  .feature-stage img {
    min-height: 190px;
  }
  .page-hero-copy {
    padding: 14px;
  }
  .page-hero-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.48;
  }
  .page-hero-copy .section-actions {
    margin-top: 10px;
  }
  .atlas-hero .page-hero-copy {
    min-height: 190px;
    padding: 14px;
  }
  .atlas-hero .page-hero-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.48;
  }
  .atlas-hero .page-hero-copy p.copyright-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.42;
  }
  .atlas-hero .page-hero-copy .section-actions,
  .atlas-console .section-actions {
    gap: 6px;
  }
  .atlas-stage {
    min-height: 190px;
    max-height: none;
  }
  .atlas-stage img {
    height: 125%;
    min-height: 0;
    transform: translateY(-10%);
  }
  .atlas-stage:hover img {
    transform: translateY(-10%) scale(1.025);
  }
  .atlas-stage h3 {
    font-size: 18px;
  }
  .atlas-stage .eyebrow {
    margin-bottom: 2px;
  }
  .atlas-strip {
    grid-auto-columns: minmax(56px, 70px);
  }
  .atlas-strip span {
    display: none;
  }
  .gallery-strip {
    grid-auto-columns: minmax(66px, 82px);
    gap: 6px;
    padding-bottom: 8px;
  }
  .feature-stage figcaption {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    margin: 0;
    padding: 8px 10px;
  }
  .feature-stage figcaption p:not(.eyebrow) {
    display: none;
  }
  .stage-watermark {
    right: 8px;
    top: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 8px;
    font-size: 11px;
  }
  .feature-preview-card img {
    min-height: 260px;
  }
  .atlas-card {
    grid-template-columns: 1fr;
  }
  .workspace-topbar { padding-top: 10px; }
  .workspace-topbar h2 { font-size: 48px; }
  .workspace-status .session-note {
    font-size: 10px;
  }
  .oracle-nav { grid-template-columns: 1fr; }
  .panel { padding: 16px; border-radius: 8px; }
  .mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-back-options { grid-template-columns: 1fr; }
  .card-back-option { grid-template-columns: 64px 1fr; justify-items: start; align-items: center; }
  .card-grid.tarot-single { grid-template-columns: 1fr; }
  .shuffle-stage { min-height: 320px; }
  .shuffle-table { height: 270px; }
  .shuffle-card { width: 78px; }
  .ai-oracle-loader { justify-self: center; }
  .atlas-page-active .ip-homepage {
    padding: 6px 8px;
  }
  .atlas-page-active .home-nav {
    gap: 6px;
    padding: 6px 8px;
  }
  .atlas-page-active .home-brand {
    font-size: 24px;
  }
  .atlas-page-active .home-nav nav {
    gap: 5px;
  }
  .atlas-page-active .home-nav a,
  .atlas-page-active .home-nav-btn {
    width: auto;
    min-height: 28px;
    padding: 5px 7px;
    font-size: 11px;
  }
  .atlas-page-active main {
    height: calc(100vh - 124px);
  }
  .atlas-page-active .atlas-hero {
    gap: 6px;
    margin-bottom: 4px;
  }
  .atlas-page-active .atlas-hero .page-hero-copy {
    padding: 9px;
  }
  .atlas-page-active .atlas-hero .page-hero-copy h2 {
    font-size: clamp(24px, 7vw, 34px);
  }
  .atlas-page-active .atlas-hero .page-hero-copy .copyright-note {
    font-size: 10px;
    line-height: 1.25;
  }
  .atlas-page-active .atlas-hero .mini-btn {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
  }
  .atlas-page-active .atlas-stage figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 7px 9px;
  }
  .atlas-page-active .atlas-stage h3 {
    font-size: 17px;
  }
  .atlas-page-active .atlas-stage .stage-watermark {
    top: 8px;
    right: 8px;
  }
  .atlas-page-active .atlas-strip {
    grid-auto-columns: minmax(50px, 64px);
    max-height: 70px;
    gap: 5px;
  }
}
