/* AUTR IS TWO MIRRORS FACING (Wave 110q).
 * The meta-relic names the engine that forged it: the map that contains the mapmaker. So the world is silvered
 * glass, one surface from top to foot (no band), and in it a corridor of reflections receding to a point right of
 * centre: thirteen frames, each keeping 0.95 of the light before it (opacity compounds through the nesting), the
 * odd ones reversed. The name stands low on the left in the outermost glass. Type is Avenir for the name, a mono
 * for what the engine reads of itself. No web fonts. */

body[data-world="autr"] {
  --bg: #dfe3e7; --surface: #d6dbe0; --surface2: #eef1f3; --text: #1d2228; --muted: #5d6670; --dim: #b8c0c8;
  --amber: #1f5f6b; --amber2: #1f5f6b; --ember: #1f5f6b; --glow: rgba(31, 95, 107, .06);
  --w-accent: #1f5f6b; --w-accent2: #1d2228;
  --nav-bg: rgba(223, 227, 231, .94);
  --f-display: 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --f-label: 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --f-body: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --f-num: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-family: var(--f-body); font-size: 16px; color: var(--text);
  background: linear-gradient(115deg, #cfd5db 0%, #eef1f4 22%, #d3d9df 38%, #e9edf0 61%, #c9d0d7 80%, #e4e8ec 100%) fixed;
}
body[data-world="autr"]::before { opacity: .12; mix-blend-mode: multiply; }

body[data-world="autr"] .banner-block { background: none; border-bottom: 0; min-height: 600px; padding: 0; overflow: hidden; }
body[data-world="autr"] .banner-block::after { background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .35) 45%, transparent 55%); }
/* the corridor: each reflection sits inside the last, 80% its size, so every one shares the same vanishing point */
.mirror { position: absolute; inset: 3.2rem 3rem 3rem; }
.reflection { position: absolute; left: 13.2%; top: 12%; width: 80%; height: 80%; opacity: .95;
  border: 1px solid rgb(29 34 40 / .5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55), 0 0 0 1px rgb(255 255 255 / .35);
  background: linear-gradient(115deg, rgb(255 255 255 / .06), transparent 40%, rgb(0 0 0 / .03)); container-type: size; }
.mirror > .reflection { left: 0; top: 0; width: 100%; height: 100%; }
/* each label is set in its own glass's units, so it shrinks with the reflection: a true Droste */
.rf-label { position: absolute; left: 1.4cqw; top: 2.2cqh; font: 600 4.2cqh/1 var(--f-num); letter-spacing: .14em; color: var(--text); white-space: nowrap; }
.rf-label i { font-style: normal; color: var(--amber); }
.reflection.is-flipped > .rf-label { transform: scaleX(-1); left: auto; right: 1.4cqw; }
.mirror > .reflection > .rf-label { display: none; }   /* the outermost glass carries the name itself */
/* the name, in the outermost glass */
.mirror-name { position: absolute; left: 4.6rem; bottom: 4.2rem; z-index: 2; max-width: min(36rem, 48%); padding: 1rem 1.4rem 1.1rem 0; background: linear-gradient(90deg, rgb(226 230 234 / .94) 70%, rgb(226 230 234 / 0)); }
body[data-world="autr"] .banner-eyebrow { color: var(--amber); font-family: var(--f-label); letter-spacing: .4em; font-weight: 500; }
body[data-world="autr"] .banner-eyebrow::before { background: var(--amber); }
body[data-world="autr"] .banner-title { font-family: var(--f-display); font-weight: 600; color: var(--text); letter-spacing: -.03em; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .95; }
body[data-world="autr"] .banner-title span { color: transparent; -webkit-text-stroke: 1px var(--text); }
body[data-world="autr"] .banner-tagline { font-family: var(--f-label); color: var(--muted); letter-spacing: .2em; font-size: .78rem; }
.mirror-line { margin-top: .9rem; font: italic .92rem/1.6 var(--f-body); color: var(--muted); }

/* the rest of the house, in the glass */
body[data-world="autr"] .relic-glyph { color: var(--amber); background: var(--surface2); border: 1px solid var(--dim); border-radius: 50%; box-shadow: none; }
body[data-world="autr"] .badge { font-family: var(--f-label); color: var(--text); font-weight: 500; }
body[data-world="autr"] .relic-description { font-style: normal; color: var(--text); border-left-color: var(--amber); }
body[data-world="autr"] .portrait-frame { box-shadow: 0 18px 36px -18px rgb(0 0 0 / .45); }
body[data-world="autr"] .cert-doc { background: var(--surface2); border-color: var(--text); color: var(--text); }
body[data-world="autr"] .cert-name, body[data-world="autr"] .stat-value, body[data-world="autr"] .section-title, body[data-world="autr"] .link-card-name { font-family: var(--f-display); color: var(--text); }
body[data-world="autr"] .cert-val, body[data-world="autr"] .cert-prov-val, body[data-world="autr"] .cert-mint-addr { color: var(--text); }
body[data-world="autr"] .cert-eyebrow, body[data-world="autr"] .cert-sub, body[data-world="autr"] .cert-key, body[data-world="autr"] .cert-copy-note, body[data-world="autr"] .cert-calib, body[data-world="autr"] .cert-prov-label, body[data-world="autr"] .cert-mint-label { color: var(--muted); }
body[data-world="autr"] .cert-witnesses { white-space: normal; overflow-wrap: anywhere; }
body[data-world="autr"] .cert-witnesses a { color: var(--amber); }
body[data-world="autr"] .stats-grid { background: var(--text); }
body[data-world="autr"] .stat-cell, body[data-world="autr"] .mint-address-block, body[data-world="autr"] .link-card, body[data-world="autr"] .pack-link, body[data-world="autr"] .copy-btn, body[data-world="autr"] .cert-copy-btn { background: var(--surface2); color: var(--text); border-color: var(--dim); }
body[data-world="autr"] .btn-primary { color: var(--surface2); background: var(--text); }
body[data-world="autr"] .btn-primary:hover { background: var(--amber); }
body[data-world="autr"] .back-strip, body[data-world="autr"] .relic-web { background: rgb(214 219 224 / .7); }
body[data-world="autr"] .vt-pull, body[data-world="autr"] [data-world-steps] .vt-pull { background: var(--surface2); color: var(--text); border-color: var(--text); font-family: var(--f-label); }
body[data-world="autr"] [data-world-steps] .vt-eq { font-family: var(--f-display); font-weight: 600; color: var(--text); }
body[data-world="autr"] [data-world-steps] .vt-note { color: var(--text); }
body[data-world="autr"] .entrance .en-scene { color: var(--text); font-family: var(--f-body); }
body[data-world="autr"] .entrance .en-scene::first-letter { color: var(--amber); font-family: var(--f-display); font-weight: 600; }
body[data-world="autr"] .entrance .en-arrive, body[data-world="autr"] .entrance .en-tuned { color: var(--muted); font-family: var(--f-label); }
body[data-world="autr"] .en-tuned b { color: var(--amber); font-family: var(--f-display); }
body[data-world="autr"] .en-ways button, body[data-world="autr"] .entrance .en-ways a { color: var(--text); font-family: var(--f-label); background: var(--surface2); border-color: var(--text); }
body[data-world="autr"] .en-ways button:hover, body[data-world="autr"] .entrance .en-ways a:hover { color: var(--amber); border-color: var(--amber); }
body[data-world="autr"] .entrance .en-ways .en-next { color: var(--muted); border-color: var(--dim); }
body[data-world="autr"] .walk-card { background: var(--surface2); border-color: var(--text); color: var(--text); }
body[data-world="autr"] .walk-card .wk-line { color: var(--text); }
body[data-world="autr"] nav:first-of-type, body[data-world="autr"] .world-nav { background: var(--nav-bg); border-bottom-color: var(--dim); }
body[data-world="autr"] .world-nav { font-family: var(--f-label); --w-accent: var(--amber) !important; --w-accent2: var(--text) !important; }
body[data-world="autr"] .world-nav a, body[data-world="autr"] .nav-back { color: var(--muted); }
body[data-world="autr"] .nav-brand, body[data-world="autr"] .footer-brand { color: var(--text); font-family: var(--f-display); font-weight: 600; letter-spacing: .1em; }
body[data-world="autr"] .nav-ticker { color: var(--amber); font-family: var(--f-label); }
body[data-world="autr"] .world-room-head .wr-no, body[data-world="autr"] .world-room-head h2, body[data-world="autr"] .ws-no { font-family: var(--f-display); font-weight: 600; }
body[data-world="autr"] .world-room-head .wr-no { color: var(--dim); }
body[data-world="autr"] .world-room-head p, body[data-world="autr"] .ws-no small, body[data-world="autr"] .ws-empty, body[data-world="autr"] .ws-count,
body[data-world="autr"] .world-record-head, body[data-world="autr"] .wl-head, body[data-world="autr"] .world-lede, body[data-world="autr"] .wl-row { color: var(--muted); }
body[data-world="autr"] .ws-body { color: var(--text); }
body[data-world="autr"] .ws-chapter, body[data-world="autr"] .wl-row { border-top-color: var(--dim); }
body[data-world="autr"] .wl-row, body[data-world="autr"] .world-record-head { font-family: var(--f-num); }
body[data-world="autr"] .wl-track { background: linear-gradient(90deg, transparent calc(50% - .5px), var(--dim) calc(50% - .5px), var(--dim) calc(50% + .5px), transparent calc(50% + .5px)); }
body[data-world="autr"] .wl-bar { background: rgb(31 95 107 / .4); }
body[data-world="autr"] .surface-dust, body[data-world="autr"] .street-chalk { max-width: 100%; overflow-wrap: anywhere; }

@media (max-width: 860px) {
  body[data-world="autr"] .banner-block { min-height: 640px; }
  .mirror { inset: 2.6rem 12px 12px; }
  .mirror-name { left: 28px; right: 28px; bottom: 28px; max-width: none; }
}
@media (max-width: 560px) {
  body[data-world="autr"] nav:first-of-type { padding: 1rem 16px; gap: 10px; }
  body[data-world="autr"] nav:first-of-type .nav-brand { display: none; }
  body[data-world="autr"] .nav-ticker { font-size: .74rem; letter-spacing: .12em; }
}
