.points-mark {
  position: absolute;
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  z-index: 3;
  color: #ead6a9;
  background: #121710db;
  border: 1px solid #9b7a45;
  border-radius: 3px;
  font: 650 9px Rubik, sans-serif;
  letter-spacing: .08em;
  padding: 4px 6px;
  pointer-events: none;
}
.is-loading .points-mark,.hud-covered .points-mark { visibility: hidden; }
.feature-lesson.seal-entry-keys .native-symbol {
  flex: 0 1 38px;
  width: 38px;
  height: 38px;
  min-width: 0;
  filter: drop-shadow(0 0 5px #e7af5277);
}
.artifact-compact .feature-lesson.seal-entry-keys { gap: 4px; }

.charge-beat {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  width: max-content;
  max-width: 240px;
  transform: translate(-50%,-50%);
  padding: 8px 12px;
  border: 1px solid #c8a26a;
  border-radius: 4px;
  background: #102321f7;
  box-shadow: 0 3px 8px #0009;
  color: #ffe1a4;
  text-align: center;
  pointer-events: none;
}
.charge-beat strong,.charge-beat span { display: block; }
.charge-beat strong { font: 800 12px/1.25 Rubik,sans-serif; letter-spacing: .06em; }
.charge-beat span { font: 600 10px/1.25 Rubik,sans-serif; margin-top: 3px; }
.charge-beat[data-kind="carry"] { transform: translate(-50%,-100%); padding: 5px 10px; }

/* Existing dialog art and controls; only the audited information panels. */
.atlas-clear-rules .atlas-rule-lead{margin:0 0 18px;font:700 14px/1.4 Rubik,sans-serif;color:#f6d58e;text-align:center}
.atlas-clear-rules .rule-section,.atlas-free-guide .rule-section{margin:0 0 16px;padding:0 0 16px}
.atlas-clear-rules .rule-section h3,.atlas-free-guide .rule-section h3{margin:0 0 8px;font:700 13px/1.4 Rubik,sans-serif;color:#f3d69c}
.atlas-clear-rules .rule-section p,.atlas-free-guide .rule-section p{margin:0;font:400 13px/1.55 Rubik,sans-serif;color:#f4ead5}
.atlas-charge-example{padding:12px;margin-top:12px;border:1px solid #bc9c5b8c;border-radius:4px;background:#081a22;text-align:center}
.atlas-charge-example>strong{display:block;font:700 10px/1.4 Rubik,sans-serif;letter-spacing:.05em;color:#d4c39f}
.atlas-charge-example .atlas-charge-sum{display:block;margin:6px 0;color:#ffe6a3;font:700 24px/1.2 Rubik,sans-serif;white-space:nowrap}
.atlas-charge-example p{font-size:12px!important}
.modal p.atlas-rule-note{margin:0 0 18px;font:400 12px/1.5 Rubik,sans-serif;color:#d7d0bf;text-align:left}
.atlas-guide-keys{display:flex;align-items:center;justify-content:center;gap:4px;margin:0 0 12px;color:#ffe7b0}
.atlas-guide-keys .native-symbol{width:30px;height:34px;flex:0 0 30px}
.atlas-guide-keys strong{font:700 15px/1.2 Rubik,sans-serif;margin-left:3px;white-space:nowrap}
.modal p.atlas-guide-trigger{margin:0 0 22px;font:400 13px/1.55 Rubik,sans-serif;text-align:left;color:#f4ead5}
.atlas-free-guide .rule-section{margin-bottom:12px;padding-bottom:12px}
.modal .atlas-free-guide p.atlas-guide-trigger{margin-bottom:16px}
.atlas-clear-history .history-round>span:last-child{display:flex;flex-direction:column;gap:5px}
.atlas-history-label{font:500 9px/1.3 Rubik,sans-serif;color:#c9c2b0;letter-spacing:.035em}
.atlas-clear-history .history-round strong{font:600 13px/1.3 Rubik,sans-serif;color:#fff2cf}
.atlas-clear-auto .modal-actions .primary-action{min-width:0;flex:1;padding-left:10px;padding-right:10px}

/* Original artifact frame/art and green action; readable actual bonus panels. */
.modal.atlas-readable-bonus{overflow:hidden}
.atlas-readable-bonus .artifact-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;overflow-y:auto;overscroll-behavior:contain;padding:2px 3px;scrollbar-width:thin;scrollbar-color:#9a7b43 #14292b}
.atlas-readable-bonus .artifact-content>.artifact-title{font-size:16px;line-height:1.3;margin:0;color:#f0d298}
.atlas-readable-bonus .artifact-count{gap:10px;margin:0;flex:0 0 auto}
.atlas-readable-bonus .artifact-count strong{font:600 52px/1 Rubik,sans-serif}
.atlas-readable-bonus .artifact-count span{max-width:none;white-space:nowrap;font:700 15px/1.3 Cinzel,serif;text-align:center}
.atlas-earned-keys{display:flex;justify-content:center;gap:8px;flex:0 0 auto;height:38px}
.atlas-earned-keys .native-symbol{width:38px;height:38px;filter:drop-shadow(0 0 5px #e7af5277)}
.atlas-readable-bonus .atlas-earned-rule{margin:0;width:100%;max-width:310px;color:#f2e7d0;font:400 13px/1.5 Rubik,sans-serif;text-align:center;letter-spacing:0}
.atlas-earned-rule strong,.atlas-earned-rule span{display:block}
.atlas-earned-rule span{text-wrap:balance}
.atlas-earned-rule strong{color:#f4d392;font:700 13px/1.4 Rubik,sans-serif;margin-bottom:3px}
.atlas-readable-bonus .artifact-content>.primary-action{margin:2px 0 0;min-width:194px;min-height:46px;font-size:13px;letter-spacing:.08em;flex:0 0 auto}
.atlas-round-result .artifact-content{gap:14px}
.atlas-round-result .artifact-content>.artifact-title{font:700 18px/1.3 Cinzel,serif;color:#f4d699}
.atlas-round-result .artifact-content>.artifact-amount{margin:0;color:#fff1ca}
.atlas-readable-bonus .atlas-result-scope{margin:0;color:#e6ddc7;font:400 13px/1.5 Rubik,sans-serif;text-align:center}
.atlas-readable-bonus .atlas-result-played{margin:0;color:#f4dfb1;font:700 13px/1.5 Rubik,sans-serif;text-align:center}
.atlas-result-cap{width:100%;padding:12px 8px;border:1px solid #b89a5d99;border-radius:4px;background:#0c1c1de6;text-align:center}
.atlas-result-cap>strong{display:block;color:#ffe1a1;font:700 18px/1.3 Rubik,sans-serif;white-space:nowrap}
.atlas-readable-bonus .atlas-result-cap p{margin:5px 0 0;color:#eee2c8;font:400 13px/1.5 Rubik,sans-serif;text-align:center;text-wrap:balance}

/* Finite bonus-panel choreography; authoritative amounts and controls are unchanged. */
.atlas-readable-bonus .artifact-content{animation:none}
.atlas-readable-bonus .artifact-content>.artifact-title{animation:atlas-bonus-line-in 150ms cubic-bezier(.2,.7,.3,1) 0ms both}
.atlas-earned-bonus .artifact-count{animation:atlas-bonus-line-in 180ms cubic-bezier(.2,.7,.3,1) 30ms both}
.atlas-earned-bonus .atlas-earned-keys .native-symbol{animation:atlas-bonus-key-settle 190ms cubic-bezier(.2,.7,.3,1) 70ms both;transform-origin:50% 65%}
.atlas-earned-bonus .atlas-earned-keys .native-symbol:nth-child(2){animation-delay:100ms}
.atlas-earned-bonus .atlas-earned-keys .native-symbol:nth-child(3){animation-delay:130ms}
.atlas-earned-bonus .atlas-earned-rule{animation:atlas-bonus-line-in 180ms cubic-bezier(.2,.7,.3,1) 150ms both}
.atlas-earned-bonus .atlas-earned-rule:nth-of-type(2){animation-delay:180ms}
.atlas-earned-bonus .atlas-earned-rule:nth-of-type(3){animation-delay:210ms}
.atlas-round-result .artifact-amount{animation:atlas-bonus-line-in 190ms cubic-bezier(.2,.7,.3,1) 30ms both}
.atlas-round-result .atlas-result-scope{animation:atlas-bonus-line-in 170ms cubic-bezier(.2,.7,.3,1) 110ms both}
.atlas-round-result .atlas-result-played{animation:atlas-bonus-line-in 170ms cubic-bezier(.2,.7,.3,1) 150ms both}
.atlas-round-result .atlas-result-cap{animation:atlas-bonus-line-in 180ms cubic-bezier(.2,.7,.3,1) 190ms both}
.atlas-readable-bonus .artifact-content>.primary-action{animation:atlas-bonus-action-settle 160ms cubic-bezier(.2,.7,.3,1) 240ms both}
@keyframes atlas-bonus-line-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes atlas-bonus-key-settle{0%{opacity:0;transform:translateY(-3px) rotate(-3deg)}70%{opacity:1;transform:translateY(1px) rotate(.6deg)}100%{opacity:1;transform:translateY(0) rotate(0)}}
@keyframes atlas-bonus-action-settle{from{transform:translateY(3px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.atlas-readable-bonus .artifact-content,.atlas-readable-bonus .artifact-content>*,.atlas-readable-bonus .atlas-earned-keys .native-symbol{animation:none!important;opacity:1!important;transform:none!important;translate:none!important}}
#game.is-reduced-motion .atlas-readable-bonus .artifact-content,#game.is-reduced-motion .atlas-readable-bonus .artifact-content>*,#game.is-reduced-motion .atlas-readable-bonus .atlas-earned-keys .native-symbol{animation:none!important;opacity:1!important;transform:none!important;translate:none!important}
