:root {
  color-scheme: light;
  --ink: #142620;
  --pine: #285343;
  --red: #9e3d32;
  --gold: #b7a06a;
  --mist: #f2f4f0;
  --paper: #fcfdfb;
  --muted: #61726a;
  --line: #dce3db;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--mist);
}
* {
  box-sizing: border-box;
}
html {
  overflow-y: scroll;
}
.route-pending #content,
#content[aria-busy='true'] {
  visibility: hidden;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
h1,
h2,
h3 {
  font-family: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  line-height: 1.4;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 38px;
  font-weight: 600;
}
h2 {
  font-size: 26px;
  font-weight: 600;
}
h3 {
  font-size: 22px;
  font-weight: 600;
}
p {
  overflow-wrap: anywhere;
}
small {
  font-size: 13px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 20;
  padding: 8px;
  background: white;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  max-width: 1280px;
  padding: 25px 48px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Songti SC', serif;
  font-size: 27px;
  font-weight: 600;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 47px;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 7px 2px 7px 2px;
}
.brand small {
  display: block;
  font-family: system-ui, sans-serif;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 400;
}
#navigation {
  display: flex;
  gap: 28px;
}
#navigation a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
#navigation a[aria-current] {
  color: var(--red);
  border-color: var(--red);
}
#navigation a > span {
  display: none;
}
.account-link {
  font-size: 14px;
}
.account-link span {
  margin-left: 10px;
}
main {
  max-width: 1184px;
  margin: 10px auto 70px;
  min-height: 65vh;
  padding: 0 24px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #f4f2e8;
  padding: 62px 56px;
  border-radius: 5px 50px 5px 5px;
  min-height: 455px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.5;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-copy > p:not(.hero-kicker) {
  color: #b9c7bd;
  font-size: 15px;
}
.actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--red);
  color: white;
  font-size: 15px;
}
.button:hover {
  filter: brightness(1.08);
}
.button.secondary {
  background: #e5ece6;
  color: var(--pine);
}
.hero-link {
  color: #e5ddc4;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #68755f;
}
.compass {
  width: 330px;
  height: 350px;
  margin: auto;
  display: grid;
  place-items: center;
  position: relative;
  color: #b7a06a;
}
.compass-ring {
  width: 310px;
  height: 310px;
  border: 1px solid #7e7855;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  outline: 1px solid #454f3b;
  outline-offset: 15px;
}
.compass-ring::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px dashed #6b7355;
  border-radius: 50%;
}
.compass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 176px;
  height: 176px;
  border: 1px solid #8a8056;
  transform: rotate(-8deg);
  font-family: 'Songti SC', serif;
}
.compass-grid span {
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 1px solid #535c44;
}
.compass-grid span:nth-child(5) {
  background: var(--red);
  color: #eadbbd;
}
.north,
.south,
.east,
.west {
  position: absolute;
  font-size: 12px;
  line-height: 1.5;
}
.north {
  top: 7px;
}
.south {
  bottom: 7px;
}
.east {
  right: 11px;
}
.west {
  left: 11px;
}
.compass-caption {
  position: absolute;
  bottom: -8px;
  font-size: 12px;
  letter-spacing: 5px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 44px 0 23px;
}
.section-heading h2 {
  margin: 0;
  font-size: 25px;
}
.section-heading > span {
  font-size: 12px;
  color: var(--muted);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.method-card {
  background: var(--paper);
  padding: 25px;
  border: 1px solid var(--line);
  display: flex;
  gap: 19px;
  align-items: start;
  border-radius: 8px;
  transition: border-color 0.15s;
}
.method-card:hover {
  border-color: var(--gold);
}
.method-card h3 {
  font-size: 20px;
  margin: 8px 0;
}
.method-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.method-card .method-name {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 5px;
}
.method-glyph {
  writing-mode: vertical-rl;
  letter-spacing: 6px;
  font-family: 'Songti SC', serif;
  font-size: 25px;
  color: var(--gold);
  padding-top: 3px;
}
.text-link {
  color: var(--red);
  display: inline-block;
  font-size: 14px;
  padding: 10px 0;
}
.home-bottom {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 30px 8px;
}
.home-bottom h2 {
  max-width: 440px;
  font-size: 30px;
}
.home-bottom p {
  color: var(--muted);
  font-size: 14px;
}
.quiet-panel {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
.site-footer {
  max-width: 1184px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
}
.page-heading {
  padding: 32px 0 18px;
}
.page-heading h1 {
  margin-bottom: 8px;
}
.page-heading p {
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.tabs a {
  padding: 9px 22px;
  border: 1px solid var(--line);
  border-radius: 50px;
  min-height: 44px;
}
.tabs a[aria-current] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: 50px;
  align-items: start;
}
.paper {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  background: var(--paper);
  margin-bottom: 20px;
  min-width: 0;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--pine);
}
.login-panel form {
  max-width: 420px;
  margin: 24px auto;
}
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.terms-checkbox input {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--pine);
}
.terms-checkbox a {
  text-decoration: underline;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid #c9d4c9;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  min-height: 46px;
}
textarea {
  resize: vertical;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.guide {
  padding: 30px 10px;
}
.guide p {
  color: var(--muted);
}
.seal {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 65px;
  color: var(--red);
  border: 1px solid var(--red);
  font-family: 'Songti SC', serif;
  font-size: 35px;
  margin-bottom: 24px;
  border-radius: 4px 12px;
}
.muted,
.status-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 15px;
}
.inline-error {
  color: var(--red);
  font-size: 14px;
}
.inline-error:empty {
  display: none;
}
.empty,
.loading {
  padding: 65px 20px;
  text-align: center;
}
.empty p {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}
.empty .text-link {
  display: block;
}
.empty-symbol {
  font-size: 54px;
  color: var(--gold);
  margin-bottom: 20px;
}
.entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.entry:last-child {
  border-bottom: 0;
}
.entry strong {
  display: block;
  font-weight: 500;
}
.entry small {
  color: var(--muted);
  display: block;
}
.result-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}
.result-reading {
  line-height: 1.95;
}
.ai-reading,
.followups {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.ai-label {
  color: var(--pine);
  margin-bottom: 10px;
}
.reading-wait {
  text-align: center;
  padding: 18px 4px 8px;
}
.reading-wait h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.reading-wait p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.reading-wait .reading-wait-entitlement {
  font-size: 12px;
  margin: 22px 0 12px;
}
.reading-wait .reading-wait-slow {
  text-align: left;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}
.result-loading {
  padding: 64px 16px 80px;
  min-height: 420px;
}
.reading-orbit {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 28px;
}
.result-loading .reading-orbit {
  width: 220px;
  height: 220px;
  margin-bottom: 32px;
}
.reading-orbit svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.7;
}
.reading-orbit-guide {
  opacity: 0.35;
}
.reading-orbit-track {
  transform-origin: 100px 100px;
  animation: reading-orbit-turn 24s linear infinite;
}
.reading-orbit-marks {
  stroke-width: 5;
  stroke-dasharray: 0.7 13.8;
}
.reading-orbit-arc {
  stroke: var(--pine);
  stroke-width: 1.5;
}
.reading-orbit-star {
  fill: var(--pine);
  stroke: var(--paper);
  stroke-width: 1;
}
.reading-orbit-inner {
  stroke: var(--pine);
  opacity: 0.55;
  animation-duration: 36s;
  animation-direction: reverse;
}
.reading-orbit-core {
  fill: var(--paper);
  stroke-opacity: 0.55;
}
.reading-orbit-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  font-size: 38px;
  color: var(--pine);
  animation: reading-orbit-breathe 4s ease-in-out infinite;
}
.reading-wait-flow {
  height: 1px;
  max-width: 280px;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--line);
}
.reading-wait-flow::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--pine), transparent);
  animation: reading-flow 3.5s ease-in-out infinite;
}
.reading-reveal {
  animation: reading-arrive 550ms ease-out;
}
@keyframes reading-orbit-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes reading-orbit-breathe {
  50% {
    opacity: 0.65;
    transform: scale(0.96);
  }
}
@keyframes reading-flow {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(350%);
  }
}
@keyframes reading-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ai-reading p,
.followup-item p {
  white-space: pre-line;
}
.reading-list {
  margin: 1em 0;
  padding-inline-start: 1.8em;
}

/* 公开知识页沿用学堂阅读样式；真实导航在手机上自然折行，不占用应用底栏。 */
.public-library {
  margin: 48px 0;
}
.public-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 32px;
}
.public-links .entry {
  min-width: 0;
}
.public-links small,
.public-reading,
.breadcrumbs {
  overflow-wrap: anywhere;
}
.public-reading {
  max-width: 76ch;
  margin-inline: auto;
  line-height: 1.95;
}
.public-reading h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.4;
}
.public-reading h2 {
  margin-top: 1.5em;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.public-page .site-header {
  flex-wrap: wrap;
}
.public-page .account-link {
  order: 1;
}
.public-page #navigation {
  order: 2;
  position: static;
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.public-page #navigation a {
  font-size: 14px;
  min-height: 44px;
  justify-content: center;
}
.reading-list li {
  margin: 0.65em 0;
  padding-inline-start: 0.25em;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.followup-item {
  margin: 24px 0;
  padding-left: 16px;
  border-left: 2px solid var(--pine);
}
.followups .button {
  margin-top: 12px;
}
.followup-item h3,
.ai-reading h2,
.ai-reading h3 {
  overflow-wrap: anywhere;
}
.board-title p {
  font-size: 13px;
}
.qimen-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.qimen-board section {
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 12px 7px;
  font-size: 14px;
  min-height: 130px;
}
.qimen-board small {
  font-size: 11px;
  color: var(--muted);
}
.qimen-board strong,
.qimen-board span {
  display: block;
}
.qimen-board em {
  color: var(--red);
  font-style: normal;
}
.qimen-board p {
  margin: 6px 0 0;
}
.palace-center {
  display: grid;
  place-items: center;
  font-family: 'Songti SC', serif;
  font-size: 30px !important;
  color: var(--gold);
}
.pillars,
.revealed-cards {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.pillars section,
.revealed-cards section {
  background: var(--mist);
  padding: 16px;
  flex: 1;
  text-align: center;
}
.pillars strong {
  display: block;
  font-family: 'Songti SC', serif;
  font-size: 30px;
}
.card-symbol {
  font-size: 50px;
  color: var(--gold);
}
.reading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.95;
}
.reading-section {
  margin-top: 28px;
}
.reading p {
  white-space: pre-line;
}
.lead {
  font-size: 19px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th,
td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}
.stage summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Songti SC', serif;
  font-size: 23px;
  min-height: 44px;
  gap: 15px;
}
.stage summary small {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted);
}
.exercise {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.exercise summary {
  cursor: pointer;
  min-height: 44px;
}
.learning-intro {
  margin-bottom: 25px;
}
.search-label {
  max-width: 440px;
}
.atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.atlas-item {
  background: var(--paper);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.atlas-item p {
  font-size: 14px;
  color: var(--muted);
}
.atlas-visual {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--mist);
  border-radius: 4px;
}
.atlas-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.atlas-image-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--muted);
  text-align: center;
}
.atlas-figure {
  width: min(100%, 360px);
  margin: 0 auto 32px;
}
.atlas-figure figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.atlas-preview {
  display: block;
  cursor: zoom-in;
}
.deck {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 8px;
  margin: 25px 0;
}
.card-back {
  min-height: 96px;
  background: var(--ink);
  border: 2px solid var(--gold);
  border-radius: 5px;
  color: var(--gold);
  padding: 7px 2px;
}
.card-back span {
  font-size: 24px;
  display: block;
}
.card-back small {
  font-size: 11px;
}
.card-back.selected {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.draw-progress {
  color: var(--red);
}
#notice {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 95px;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  max-width: 90vw;
  padding: 12px 22px;
  border-radius: 8px;
  display: none;
}
#notice.visible {
  display: block;
}
@media (max-width: 1000px) {
  .site-header {
    padding: 20px 24px;
    gap: 15px;
  }
  #navigation {
    gap: 18px;
  }
  .account-link {
    display: none;
  }
  .hero {
    padding: 40px 30px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .compass {
    transform: scale(0.85);
  }
  .method-card {
    padding: 20px 14px;
    gap: 10px;
  }
  .method-glyph {
    display: none;
  }
  .workspace {
    gap: 25px;
  }
}
@media (max-width: 680px) {
  .site-header {
    padding: 17px 20px;
  }
  .brand {
    font-size: 24px;
  }
  .brand-mark {
    width: 35px;
    height: 39px;
  }
  .brand small {
    font-size: 9px;
  }
  .account-link {
    display: block;
    font-size: 12px;
  }
  #navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(252, 253, 251, 0.97);
    border-top: 1px solid var(--line);
    gap: 0;
    justify-content: space-around;
  }
  #navigation a {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 11px;
    min-width: 55px;
    border: 0;
  }
  #navigation a > span {
    display: block;
    font-size: 23px;
    line-height: 28px;
  }
  main {
    padding: 0 17px;
    margin-top: 5px;
    margin-bottom: 25px;
  }
  .hero {
    display: block;
    min-height: 0;
    padding: 30px 25px 27px;
    border-radius: 5px 30px 5px 5px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.5;
  }
  .hero-kicker {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 17px;
  }
  .hero-copy > p:not(.hero-kicker) {
    font-size: 13px;
    max-width: 250px;
  }
  .hero .compass {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -49px;
    top: 62px;
    transform: rotate(14deg);
    opacity: 0.16;
  }
  .hero .compass-ring {
    width: 200px;
    height: 200px;
  }
  .hero .compass-grid {
    width: 118px;
    height: 118px;
  }
  .hero .compass-grid span {
    font-size: 18px;
  }
  .hero .compass-caption {
    display: none;
  }
  .actions {
    gap: 20px;
    margin-top: 22px;
  }
  .desktop-only {
    display: none;
  }
  .section-heading {
    margin: 30px 0 15px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading > span {
    display: none;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .method-card {
    padding: 20px;
    gap: 20px;
  }
  .method-glyph {
    display: block;
    font-size: 27px;
  }
  .method-card h3 {
    font-size: 20px;
  }
  .method-card p {
    margin-bottom: 5px;
  }
  .method-card .text-link {
    padding-bottom: 0;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 18px;
    padding: 20px 2px;
  }
  .home-bottom h2 {
    font-size: 25px;
  }
  .quiet-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }
  .site-footer {
    display: block;
    padding: 20px 20px 100px;
  }
  .site-footer span {
    display: block;
    font-size: 11px;
    margin-bottom: 8px;
  }
  .page-heading {
    padding: 23px 0 10px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .tabs a {
    font-size: 13px;
    padding: 9px 17px;
  }
  .workspace,
  .result-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .paper {
    padding: 22px 18px;
  }
  .paper h2 {
    font-size: 23px;
  }
  .field-grid {
    gap: 0 12px;
  }
  .guide {
    padding: 12px 10px;
  }
  .guide .seal {
    display: none;
  }
  .guide h2 {
    font-size: 22px;
  }
  .empty {
    padding: 40px 15px;
  }
  .empty h2 {
    font-size: 24px;
  }
  .atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .atlas-item {
    padding: 15px;
  }
  .atlas-item h2 {
    font-size: 20px;
  }
  .atlas-item p {
    font-size: 12px;
  }
  .stage summary {
    font-size: 20px;
  }
  .deck {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
  }
  .card-back {
    min-height: 80px;
  }
  .pillars section {
    padding: 12px 4px;
  }
  .pillars strong {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.payment-panel,
.purchase-card {
  max-width: 680px;
  margin: 0 auto 24px;
}
.payment-panel {
  text-align: center;
}
.payment-price {
  font-size: 2rem;
  color: var(--pine, #174c40);
}
.payment-qr {
  display: block;
  width: min(264px, 100%);
  height: auto;
  margin: 24px auto;
  image-rendering: pixelated;
}
.payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}
.payment-order {
  overflow-wrap: anywhere;
}
.payment-success {
  color: var(--pine, #174c40);
}
