.atlas-game { --atlas-ink: #263b39; --atlas-paper: #f6f2e5; --atlas-moss: #dce5d5; color: var(--color-ink, var(--atlas-ink)); }
.atlas-top, .atlas-journal-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.atlas-top .badge { display: inline-flex; gap: 16px; align-items: center; }
.atlas-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: clamp(20px,4vw,44px); align-items: stretch; }
.atlas-stage { position: relative; min-height: 350px; background: var(--atlas-moss); border-radius: 24px 24px 36px 24px; overflow: hidden; display: grid; place-items: center; padding: 18px 18px 96px; }
.atlas-stage.atlas-landscape { padding: 0; }
.atlas-map { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; }
.atlas-creature { width: min(100%,300px); margin-inline: auto; }
.atlas-scene-label { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 12px 16px; background: var(--atlas-paper); border-radius: 14px; box-shadow: 0 4px 0 #c1bba2; display: grid; gap: 2px; }
.atlas-scene-label span { font-size: .875rem; }.atlas-scene-label strong { font-size: 1.15rem; }
.atlas-console { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 12px; min-width: 0; }
.atlas-console h3 { font-size: clamp(1.35rem,2.2vw,1.7rem); line-height: 1.2; margin: 0; }
.atlas-clue { font-size: 1.05rem; line-height: 1.65; margin: 0; }
.atlas-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.atlas-choices:has(.atlas-route) { grid-template-columns: minmax(0,1fr); }
.atlas-choices .btn { min-height: 52px; white-space: normal; line-height: 1.3; }
.atlas-route { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 12px 16px; }
.atlas-route span { font-size: .875rem; font-weight: 500; }
.atlas-choices [data-atlas-next] { grid-column: 1 / -1; }
.atlas-feedback { min-height: 52px; margin: 0; font-size: .95rem; line-height: 1.5; }
.atlas-feedback.has-message { color: #315b43; font-weight: 600; }
.atlas-help, .atlas-provenance { font-size: .875rem; line-height: 1.6; margin: 0; }
.atlas-journal-heading { margin-top: 36px; }.atlas-journal-heading h3 { font-size: 1.2rem; }
.atlas-collection { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.atlas-specimen { min-width: 0; padding: 10px; text-align: center; background: var(--color-card,var(--atlas-paper)); border: 1px solid #c8cdbb; border-radius: 16px; color: inherit; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; box-shadow: 0 3px 0 #d1d5c5; }
.atlas-specimen:hover { background: #e8ecde; }.atlas-specimen:active { translate: 0 2px; box-shadow: 0 1px 0 #d1d5c5; }
.atlas-specimen strong { font-size: .875rem; line-height: 1.4; }.atlas-specimen span { font-size: .8125rem; margin-top: 3px; }
.atlas-creature-small { width: 100%; max-height: 115px; }.atlas-unseen { filter: brightness(.58) saturate(.5); opacity: .62; }
.atlas-provenance { margin-top: 22px; max-width: 75ch; }
.atlas-dialog { max-width: min(480px,calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border: 1px solid #a5b49f; border-radius: 24px; color: var(--atlas-ink); background: var(--atlas-paper); overflow: auto; }
.atlas-dialog::backdrop { background: #182d2b99; }.atlas-dialog h3 { margin: 8px 0 14px; font-size: 1.5rem; }.atlas-dialog p { margin-bottom: 16px; line-height: 1.6; }.atlas-dialog .btn { margin-top: 4px; }.atlas-dialog .atlas-creature { width: 200px; }
.atlas-game button:focus-visible, .atlas-game [tabindex]:focus-visible { outline: 3px solid var(--color-focus,#236ab3); outline-offset: 4px; }
@media (max-width: 700px) { .atlas-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }.atlas-stage { min-height: 270px; padding-bottom: 80px; }.atlas-stage>.atlas-creature { max-height: 200px; }.atlas-collection { grid-template-columns: repeat(3,minmax(0,1fr)); }.atlas-route { flex-wrap: wrap; gap: 3px 10px; }.atlas-console { gap: 14px; }.atlas-scene-label { bottom: 14px; left: 14px; right: 14px; }.atlas-feedback { min-height: 0; } }
