/* AMUN_LIVING_TEMPLE_V1 — progressive, server-owned temple presentation.
   Loaded after Glass Temple. No reward, eligibility or account rules live in CSS. */
html[data-theme='glass-temple'] {
  --lt-gold: #f7d888;
  --lt-text: #e8f6f6;
  --lt-muted: #b3ced5;
  --lt-cyan: #b3e9ed;
  --lt-line: #7ad2db62;
  --lt-glass: linear-gradient(135deg, #154451e8, #092a35ee 55%, #061e29fa);
}

/* The platform brand is the one header logo on every account screen. */
html[data-theme='glass-temple'] .app-header,
html[data-theme='glass-temple'] .desktop-brand > .emblem { display: none; }
html[data-theme='glass-temple'] .platform-brand > img {
  width: 144px;
  height: auto;
  flex: 0 0 auto;
}
html[data-theme='glass-temple'] .platform-brand > span {
  font-size: 1rem;
  letter-spacing: .07em;
  white-space: nowrap;
}

html[data-theme='glass-temple'] .lt-home {
  min-width: 0;
  padding: 0 22px;
  color: var(--lt-text);
  overflow-wrap: break-word;
}
html[data-theme='glass-temple'] .lt-home :is(section, article, div) { min-width: 0; }
html[data-theme='glass-temple'] .lt-home [hidden] { display: none !important; }
html[data-theme='glass-temple'] .lt-home :is(h1, h2, h3, p) { overflow-wrap: break-word; }
html[data-theme='glass-temple'] .lt-home :is(h1, h2, h3) { margin: 0; }
html[data-theme='glass-temple'] .lt-home :is(button, a) { min-height: 44px; touch-action: manipulation; }
html[data-theme='glass-temple'] .lt-home :is(button, a):focus-visible {
  outline: 3px solid #d0ffff;
  outline-offset: 4px;
}
html[data-theme='glass-temple'] .lt-home :is(.lt-map-shell, .lt-room-card, .lt-city-card, .lt-treasury) {
  background: var(--lt-glass);
  border: 1px solid var(--lt-line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 #efffff0e, 0 10px 32px #0002;
}
html[data-theme='glass-temple'] .lt-map-shell {
  margin: 0 0 20px;
  overflow: hidden;
  isolation: isolate;
}
html[data-theme='glass-temple'] .lt-map-heading {
  padding: 22px 22px 0;
  display: block;
}
html[data-theme='glass-temple'] .lt-eyebrow {
  display: block;
  color: #c5e3e6;
  font-size: .67rem;
  letter-spacing: .1em;
  line-height: 1.6;
  margin-bottom: 5px;
}
html[data-theme='glass-temple'] .lt-map-heading h1 {
  color: #ffe6aa;
  font: 500 clamp(1.55rem, 4vw, 2rem)/1.4 Cinzel, 'IBM Plex Sans Arabic', serif;
}
html[data-theme='glass-temple'] .lt-map-heading p {
  font-size: .8rem;
  line-height: 1.75;
  margin: 7px 0 0;
  color: var(--lt-muted);
  max-width: 34rem;
}
html[data-theme='glass-temple'] .lt-stage-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid #dbbf765c;
  border-radius: 999px;
  background: #e4c7760b;
  color: #f3dcaa;
  font-size: .69rem;
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: break-word;
}
html[data-theme='glass-temple'] .lt-stage-badge svg { width: 17px; height: 17px; flex: 0 0 17px; }
html[data-theme='glass-temple'] .lt-map {
  position: relative;
  aspect-ratio: 45 / 34;
  min-height: 280px;
  width: 100%;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 44%, #208a963d 0%, #0b536333 35%, #0626300f 72%);
}
html[data-theme='glass-temple'] .lt-map > svg,
html[data-theme='glass-temple'] .lt-map-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
html[data-theme='glass-temple'] .lt-map svg { pointer-events: none; }
html[data-theme='glass-temple'] .lt-map :is(.lt-map-sun, .lt-map-gate, .lt-map-building, .lt-map-allies, .lt-map-treasury) { transform-box: fill-box; transform-origin: center; }
html[data-theme='glass-temple'] .lt-map[data-stage='unknown'] :is(.lt-map-gate, .lt-map-building) { opacity: .72; }
html[data-theme='glass-temple'] .lt-map-gate-outline { stroke-dasharray: 5 5; opacity: .6; }
html[data-theme='glass-temple'] .lt-map-beam { display: none; }
html[data-theme='glass-temple'] .lt-zone {
  position: absolute;
  z-index: 2;
  left: var(--lt-x, 50%);
  top: var(--lt-y, 50%);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: clamp(74px, 23%, 118px);
  max-width: 25%;
  padding: 6px 7px;
  min-height: 54px;
  border: 1px solid #eac976b0;
  border-radius: 14px;
  background: linear-gradient(145deg, #123d4af2, #042331ed);
  color: #ffdfa0;
  font: inherit;
  font-size: .73rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 5px 20px #01121a77, inset 0 1px 0 #ffedbd12;
  cursor: pointer;
}
html[data-theme='glass-temple'] .lt-zone:hover {
  background: linear-gradient(145deg, #215664f5, #0a3041f5);
  border-color: #ffe7a1;
  box-shadow: 0 5px 24px #01121a80, 0 0 16px #ffe3a018;
}
html[data-theme='glass-temple'] .lt-zone:active { background: #254f55; }
html[data-theme='glass-temple'] .lt-zone svg { width: 20px; height: 20px; flex: 0 0 20px; }
html[data-theme='glass-temple'] .lt-zone > span { max-width: 100%; }
html[data-theme='glass-temple'] .lt-zone small { display: block; color: #c5e7e9; font-size: .63rem; font-weight: 400; }
html[data-theme='glass-temple'] .lt-zone-sun { --lt-x: 27.5%; --lt-y: 22%; }
html[data-theme='glass-temple'] .lt-zone-gate { --lt-x: 72%; --lt-y: 21%; }
html[data-theme='glass-temple'] .lt-zone-allies { --lt-x: 25%; --lt-y: 77%; }
html[data-theme='glass-temple'] .lt-zone-treasury { --lt-x: 75%; --lt-y: 77%; }
html[data-theme='glass-temple'] .lt-zone-unavailable { cursor: default; border-color: #809fa999; color: #b4c8ce; background: #18333df2; }
html[data-theme='glass-temple'] .lt-map-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 22px 20px;
  color: #c4dfe3;
  font-size: .78rem;
  line-height: 1.8;
}
html[data-theme='glass-temple'] .lt-map-status > span { flex: 1 1 12rem; min-width: 0; overflow-wrap: break-word; }
html[data-theme='glass-temple'] .lt-map-status > strong { color: #efd395; font-size: .87rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-theme='glass-temple'] .lt-confirmation {
  margin: 0 17px 17px;
  padding: 12px 14px;
  border: 1px solid #e5c67570;
  border-radius: 12px;
  color: #ffe4a7;
  background: #a88e3720;
  font-size: .79rem;
  line-height: 1.8;
}
html[data-theme='glass-temple'] .lt-map-caption {
  margin: 0;
  padding: 0 22px 18px;
  text-align: center;
  color: #bfd9df;
  font-size: .73rem;
  line-height: 1.8;
}
html[data-theme='glass-temple'] .lt-source-note,
html[data-theme='glass-temple'] .lt-hint {
  color: #b4cdd5;
  font-size: .73rem;
  line-height: 1.8;
  margin: 9px 0 0;
}
html[data-theme='glass-temple'] .lt-room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
html[data-theme='glass-temple'] .lt-room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 17px;
  min-height: 190px;
}
html[data-theme='glass-temple'] .lt-room-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  border: 1px solid #d6c18262;
  border-radius: 12px;
  background: #ad955d12;
  color: #ecd097;
}
html[data-theme='glass-temple'] .lt-room-icon svg { width: 22px; height: 22px; }
html[data-theme='glass-temple'] .lt-room-card h2,
html[data-theme='glass-temple'] .lt-room-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #f8dda0;
  font-size: .95rem;
  line-height: 1.55;
}
html[data-theme='glass-temple'] .lt-room-card :is(h2, h3) svg {
  width: 22px;
  height: 22px;
  margin-block-start: 1px;
  flex: 0 0 22px;
  color: #efce85;
}
html[data-theme='glass-temple'] .lt-room-card > p {
  margin: 8px 0 12px;
  color: #b6d2d9;
  font-size: .74rem;
  line-height: 1.8;
}
html[data-theme='glass-temple'] .lt-room-stat {
  display: block;
  margin: 0 0 14px;
  color: #d9eff2;
  font-size: .76rem;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}
html[data-theme='glass-temple'] .lt-room-stat strong {
  display: block;
  color: #f6dda1;
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
html[data-theme='glass-temple'] .lt-room-card > button,
html[data-theme='glass-temple'] .lt-room-card > .lt-room-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: auto 0 0;
  padding: 10px 12px;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #6fc5d266;
  border-radius: 11px;
  background: #19495768;
  color: #d7edf1;
  font: inherit;
  font-size: .74rem;
  line-height: 1.6;
  cursor: pointer;
}
html[data-theme='glass-temple'] .lt-room-card > button:hover { border-color: #c4e9ea; background: #21576799; }
html[data-theme='glass-temple'] .lt-room-card > button svg { width: 17px; height: 17px; flex: 0 0 17px; }
html[data-theme='glass-temple'][dir='rtl'] .lt-room-card > button svg:last-child { transform: scaleX(-1); }
html[data-theme='glass-temple'] .lt-room-card button:disabled { cursor: default; opacity: .58; }
html[data-theme='glass-temple'] .lt-room-card > small { color: #a8c7d0; font-size: .66rem; line-height: 1.8; margin-top: 11px; }
html[data-theme='glass-temple'] .lt-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 12px;
}
html[data-theme='glass-temple'] .lt-section-heading h2 {
  color: #f8d999;
  font-size: 1.08rem;
  line-height: 1.55;
}
html[data-theme='glass-temple'] .lt-home-body { min-width: 0; }
html[data-theme='glass-temple'] .lt-balance {
  position: relative;
  margin: 0 0 18px;
  padding: 21px 23px;
  border: 1px solid #81c7d180;
  border-radius: 20px;
  background: radial-gradient(ellipse at 100% 0, #2c687260, transparent 65%), var(--lt-glass);
  box-shadow: inset 0 1px 0 #d1ffff14, 0 8px 22px #0002;
}
html[data-theme='glass-temple'] .lt-balance > span {
  display: block;
  font-size: .72rem;
  line-height: 1.6;
  letter-spacing: .065em;
  color: #bddde5;
}
html[data-theme='glass-temple'] .lt-balance > strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(2.2rem, 7vw, 3.05rem);
  font-weight: 650;
  line-height: 1.3;
  color: #ecf9f9;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
html[data-theme='glass-temple'] .lt-balance > small {
  font-size: .66rem;
  letter-spacing: .05em;
  line-height: 1.6;
  color: #adccd5;
}
html[data-theme='glass-temple'] .lt-sun-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 22px;
  min-height: 350px;
  border: 1px solid #9fced284;
  border-radius: 22px;
  background: #092c38;
  box-shadow: inset 0 1px 0 #fff2ba10, 0 10px 30px #0003;
}
html[data-theme='glass-temple'] .lt-sun-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}
html[data-theme='glass-temple'] .lt-sun-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  opacity: .62;
}
html[data-theme='glass-temple'] .lt-sun-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, #052833f5 0%, #052833d9 47%, #0528334d 100%), linear-gradient(0deg, #04232fe0, transparent 78%);
}
html[data-theme='glass-temple'] .lt-sun-body { position: relative; padding: 25px; }
html[data-theme='glass-temple'] .lt-sun-body > h2 { font-size: 1.2rem; color: #ffe1a4; line-height: 1.55; margin-bottom: 12px; }
html[data-theme='glass-temple'] .lt-sun-body > span:not(.temple-eyebrow) { color: #bcdde4; font-size: .67rem; line-height: 1.6; letter-spacing: .065em; }
html[data-theme='glass-temple'] .lt-countdown {
  display: block;
  margin: 8px 0 16px;
  color: #d4f8fc;
  font-size: clamp(2.05rem, 7vw, 3.2rem);
  line-height: 1.3;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 24px #174c63;
  text-align: start;
  direction: ltr;
  overflow-wrap: anywhere;
}
html[data-theme='glass-temple'] .lt-sun-power {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-bottom: 18px;
  line-height: 1.6;
}
html[data-theme='glass-temple'] .lt-sun-power > span { color: #bcdde4; font-size: .76rem; }
html[data-theme='glass-temple'] .lt-sun-power > strong { color: #ffe19f; font-size: 1.7rem; font-weight: 650; font-variant-numeric: tabular-nums; }
html[data-theme='glass-temple'] .lt-sun-actions { max-width: 450px; margin: 0 0 15px; }
html[data-theme='glass-temple'] .lt-sun-actions > button { margin-top: 0; }
html[data-theme='glass-temple'] .lt-sun-actions > button + button { margin-top: 9px; }
html[data-theme='glass-temple'] .lt-sun-body > p { max-width: 34rem; color: #bcd6df; font-size: .74rem; line-height: 1.85; margin: 8px 0; }
html[data-theme='glass-temple'] .lt-sun-body > .quiet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 0;
  width: 100%;
  max-width: 450px;
  min-height: 44px;
  line-height: 1.7;
  font-size: .77rem;
  color: #d2e8eb;
}
html[data-theme='glass-temple'] .lt-sun-body > .quiet-link svg { width: 18px; height: 18px; flex: 0 0 18px; }
html[data-theme='glass-temple'][dir='rtl'] .lt-sun-body > .quiet-link svg { transform: scaleX(-1); }
html[data-theme='glass-temple'] .lt-city-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 22px 0;
  padding: 23px;
}
html[data-theme='glass-temple'] .lt-city-card::before {
  content: none;
}
html[data-theme='glass-temple'] .lt-city-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #05273352, #062532b8 60%, #062532f0);
}
html[data-theme='glass-temple'] .lt-city-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}
html[data-theme='glass-temple'] .lt-city-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: .36; }
html[data-theme='glass-temple'] .lt-city-body { position: relative; }
html[data-theme='glass-temple'] .lt-city-body > p { margin: 7px 0 18px; font-size: .79rem; line-height: 1.85; color: #c2d9df; }
html[data-theme='glass-temple'] .lt-city-body > small { display: block; margin-top: 14px; color: #bdd7de; font-size: .68rem; line-height: 1.85; }
html[data-theme='glass-temple'] .lt-city-card h2 { color: #ffe1a0; font-size: 1.24rem; line-height: 1.5; }
html[data-theme='glass-temple'] .lt-city-card > p { margin: 7px 0 18px; font-size: .79rem; line-height: 1.8; }
html[data-theme='glass-temple'] .lt-city-art { display: block; width: 100%; height: auto; max-height: 220px; margin: 6px 0 16px; opacity: .95; }
html[data-theme='glass-temple'] .lt-city-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
html[data-theme='glass-temple'] .lt-city-metric,
html[data-theme='glass-temple'] .lt-city-metrics > div {
  padding: 14px 10px;
  border: 1px solid #77c8d252;
  background: #062432bf;
  border-radius: 13px;
  color: #c0dce2;
  text-align: center;
  font-size: .7rem;
  line-height: 1.7;
}
html[data-theme='glass-temple'] .lt-city-metrics strong {
  display: block;
  margin: 4px 0;
  color: #f3d89b;
  font-size: 1.55rem;
  font-weight: 650;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
html[data-theme='glass-temple'] .lt-city-card .lt-hint { margin-top: 14px; color: #bdd7de; }
html[data-theme='glass-temple'] .lt-treasury {
  margin: 0 22px 22px;
  padding: 23px;
  overflow-wrap: break-word;
  color: var(--lt-text);
  background: var(--lt-glass);
  border: 1px solid var(--lt-line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 #efffff0e, 0 10px 32px #0002;
  scroll-margin-block-start: 24px;
}
html[data-theme='glass-temple'] .lt-treasury:focus-visible {
  outline: 3px solid #d0ffff;
  outline-offset: 4px;
}
html[data-theme='glass-temple'] .lt-treasury > :is(h1, h2) { color: #f9da98; font-size: 1.28rem; line-height: 1.55; margin: 0; }
html[data-theme='glass-temple'] .lt-treasury > p { margin: 9px 0 18px; font-size: .79rem; line-height: 1.8; }
html[data-theme='glass-temple'] .lt-treasury-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
html[data-theme='glass-temple'] .lt-treasury-stats > div {
  min-width: 0;
  padding: 13px 8px;
  background: #062633ba;
  border: 1px solid #78bbc34c;
  border-radius: 12px;
  text-align: center;
  color: #bdd6dd;
  font-size: .7rem;
  line-height: 1.8;
}
html[data-theme='glass-temple'] .lt-treasury-stats strong {
  display: block;
  margin-bottom: 3px;
  color: #f6daa0;
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
html[data-theme='glass-temple'] .lt-treasury-status { color: #c0d8df; }
html[data-theme='glass-temple'] .lt-treasury-gate {
  margin: 16px 0;
  padding: 14px;
  background: radial-gradient(ellipse at 50% 60%, #4165675c, #0627333b 65%);
  border: 1px solid #b6c68c45;
  border-radius: 16px;
}
html[data-theme='glass-temple'] .lt-treasury-gate > svg { width: 100%; height: auto; display: block; max-height: 270px; }
html[data-theme='glass-temple'] .lt-treasury-actions { margin-top: 14px; }
html[data-theme='glass-temple'] .lt-treasury-actions > button { min-height: 44px; }
html[data-theme='glass-temple'] .lt-treasury-actions > p { margin: 10px 0 0; color: #b4cfd8; font-size: .74rem; line-height: 1.85; }
html[data-theme='glass-temple'] .lt-treasury-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
html[data-theme='glass-temple'] .lt-achievement {
  min-width: 0;
  padding: 17px;
  border: 1px solid #7fbcc34d;
  border-radius: 16px;
  background: #062532bd;
  color: #b5d0d8;
}
html[data-theme='glass-temple'] .lt-achievement[data-earned='true'] {
  border-color: #e9cb859e;
  background: linear-gradient(135deg, #39514d66, #0d333fba);
}
html[data-theme='glass-temple'] .lt-achievement > svg { display: block; width: 28px; height: 28px; color: #ebd298; margin-bottom: 10px; }
html[data-theme='glass-temple'] .lt-achievement h3 { color: #e7d6ae; font-size: .88rem; line-height: 1.55; }
html[data-theme='glass-temple'] .lt-achievement p { font-size: .72rem; line-height: 1.8; margin: 8px 0 0; }
html[data-theme='glass-temple'] .lt-achievement-status {
  display: inline-block;
  padding: 4px 9px;
  margin-top: 10px;
  border: 1px solid #81c8c84d;
  border-radius: 999px;
  font-size: .65rem;
  line-height: 1.7;
  color: #b7d4d9;
}
html[data-theme='glass-temple'] .lt-achievement[data-earned='true'] .lt-achievement-status {
  color: #ffe4a7;
  border-color: #eacb7669;
  background: #ddb9630e;
}
html[data-theme='glass-temple'] .lt-nft-status {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid #8cbcc455;
  border-radius: 14px;
  background: #12374380;
  font-size: .77rem;
  line-height: 1.85;
  color: #c0d7de;
}
html[data-theme='glass-temple'] .lt-nft-status strong { display: block; color: #f0d89f; margin-bottom: 3px; font-size: .84rem; }
html[data-theme='glass-temple'] .lt-home .temple-home { padding: 0; }
html[data-theme='glass-temple'] .lt-home .temple-hero { margin: 0 0 20px; border-radius: 20px; min-height: 190px; padding-top: 96px; }
html[data-theme='glass-temple'] .lt-home .temple-account-summary { margin-top: 20px; }
html[data-theme='glass-temple'] .lt-home .temple-community { margin-bottom: 0; }

/* A short decorative response only follows a successful server claim. */
html[data-theme='glass-temple'] .lt-map.lt-claim-glow .lt-map-beam {
  display: block;
  stroke-dasharray: 550;
  stroke-dashoffset: 550;
  filter: drop-shadow(0 0 8px #ffe49a);
  animation: lt-claim-beam 1.35s ease-out both;
}
html[data-theme='glass-temple'] .lt-map.lt-claim-glow .lt-map-sun { animation: lt-claim-sun 1.35s ease-out both; }
html[data-theme='glass-temple'] .lt-map.lt-stage-rise :is(.lt-map-gate, .lt-map-building) { animation: lt-stage-rise 1.1s ease-out both; }
html[data-theme='glass-temple'] .lt-claim-status {
  color: #ffe4a7;
  padding: 11px 16px;
  margin: 0 0 14px;
  background: #a88e3720;
  border: 1px solid #e5c67570;
  border-radius: 12px;
  font-size: .79rem;
  line-height: 1.8;
}
@keyframes lt-claim-beam {
  0% { opacity: 0; stroke-dashoffset: 550; }
  15% { opacity: .9; }
  52% { opacity: .9; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes lt-claim-sun {
  0%, 100% { filter: none; }
  32% { filter: drop-shadow(0 0 16px #ffe290); }
}
@keyframes lt-stage-rise {
  0% { opacity: .45; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  html[data-theme='glass-temple'] .platform-header {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 8px;
    align-items: center;
  }
  html[data-theme='glass-temple'] .platform-brand {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  html[data-theme='glass-temple'] .platform-brand > img { width: 144px; max-width: 100%; }
  html[data-theme='glass-temple'] .platform-brand > span { font-size: .82rem; letter-spacing: .035em; max-width: 100%; }
  html[data-theme='glass-temple'] .platform-header > .portal-language {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 52px;
    max-width: 52px;
    padding-inline: 6px;
  }
  html[data-theme='glass-temple'] .platform-header > nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: space-between;
  }
  html[data-theme='glass-temple'] .platform-header > nav > button { flex: 1; min-width: 0; }
}
@media (max-width: 767px) {
  html[data-theme='glass-temple'] .lt-home { padding-inline: 16px; }
  html[data-theme='glass-temple'] .lt-map-heading { padding: 18px 17px 0; }
  html[data-theme='glass-temple'] .lt-map-heading h1 { font-size: 1.5rem; }
  html[data-theme='glass-temple'] .lt-map-heading p { font-size: .77rem; }
  html[data-theme='glass-temple'] .lt-map-caption { padding-inline: 17px; font-size: .7rem; }
  html[data-theme='glass-temple'] .lt-room-card { padding: 15px; min-height: 195px; }
  html[data-theme='glass-temple'] .lt-room-card :is(h2, h3) { font-size: .87rem; gap: 6px; }
  html[data-theme='glass-temple'] .lt-room-card :is(h2, h3) svg { width: 19px; height: 19px; flex-basis: 19px; }
  html[data-theme='glass-temple'] .lt-city-card,
  html[data-theme='glass-temple'] .lt-treasury { padding: 19px 17px; }
  html[data-theme='glass-temple'] .lt-treasury { margin-inline: 16px; }
  html[data-theme='glass-temple'] .lt-map-status { padding-inline: 17px; }
  html[data-theme='glass-temple'] .lt-sun-body { padding: 20px; }
  html[data-theme='glass-temple'] .lt-city-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-theme='glass-temple'] .lt-city-metrics > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  html[data-theme='glass-temple'] .lt-treasury-grid { gap: 10px; }
  html[data-theme='glass-temple'] .lt-treasury-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-theme='glass-temple'] .lt-treasury-stats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  html[data-theme='glass-temple'] .lt-achievement { padding: 14px; }
}
@media (max-width: 380px) {
  html[data-theme='glass-temple'] .lt-home { padding-inline: 12px; }
  html[data-theme='glass-temple'] .lt-map-heading { padding: 17px 14px 0; }
  html[data-theme='glass-temple'] .lt-map-heading h1 { font-size: 1.35rem; }
  html[data-theme='glass-temple'] .lt-zone { width: 23%; padding: 6px 4px; font-size: .64rem; border-radius: 11px; gap: 3px; }
  html[data-theme='glass-temple'] .lt-zone svg { width: 18px; height: 18px; flex-basis: 18px; }
  html[data-theme='glass-temple'] .lt-zone small { display: none; }
  html[data-theme='glass-temple'] .lt-room-grid { grid-template-columns: minmax(0, 1fr); }
  html[data-theme='glass-temple'] .lt-room-card { min-height: 0; }
  html[data-theme='glass-temple'] .lt-room-card :is(h2, h3) { font-size: 1rem; }
  html[data-theme='glass-temple'] .lt-room-card > button { margin-top: 3px; }
  html[data-theme='glass-temple'] .lt-treasury-grid { grid-template-columns: minmax(0, 1fr); }
  html[data-theme='glass-temple'] .lt-treasury { margin-inline: 12px; }
  html[data-theme='glass-temple'] .lt-sun-body { padding: 18px 16px; }
  html[data-theme='glass-temple'] .lt-sun-body > h2 { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme='glass-temple'] .lt-home *,
  html[data-theme='glass-temple'] .lt-home *::before,
  html[data-theme='glass-temple'] .lt-home *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html[data-theme='glass-temple'] .lt-map.lt-claim-glow .lt-map-beam { display: none; }
}
html[data-theme='glass-temple'][data-motion='reduced'] .lt-home *,
html[data-theme='glass-temple'][data-motion='reduced'] .lt-home *::before,
html[data-theme='glass-temple'][data-motion='reduced'] .lt-home *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html[data-theme='glass-temple'][data-motion='reduced'] .lt-map.lt-claim-glow .lt-map-beam { display: none; }
@media (forced-colors: active) {
  html[data-theme='glass-temple'] .lt-home :is(.lt-zone, .lt-room-card, .lt-city-card, .lt-treasury, .lt-map-shell, .lt-achievement) { border: 1px solid CanvasText; }
  html[data-theme='glass-temple'] .lt-treasury { border: 1px solid CanvasText; }
  html[data-theme='glass-temple'] .lt-map.lt-claim-glow .lt-map-beam { display: none; }
}
