/* F-A1: Settings → About and help (js/about.js) and its hidden extra
 * (js/about-ember.js). On the type scale (app.css's --t-*), every margin
 * on 4, 8, 12, 16, 24 px. Wraps, never cuts text off. Nothing here is amber
 * or red: "Update ready" is an invitation, in the fire's gold. */

/* ---- the header: Hearth, its version, update state ---- */
.settings .abouthead { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 8px 0 0; }
.settings .abouthead .aname { font-family: var(--pixel); font-size: var(--px-name); line-height: 1.2; color: var(--cream); }
.settings .abouthead .aver {
  margin: 0; padding: 4px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--body-face); font-weight: 600; font-size: var(--t-body); line-height: var(--lh-body); letter-spacing: normal; color: var(--peach);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.settings .abouthead .acount { margin: 0; min-height: 0; font-family: var(--body-face); font-size: var(--t-small); line-height: var(--lh-small); color: rgb(var(--fg) / .8); }
.settings .abouthead .acount:empty { display: none; }
/* F-TY1: what the phone does to Hearth's size (js/about.js, screenLine). */
.settings .abouthead .ascreen { margin: 0; font-family: var(--body-face); font-size: var(--t-small); line-height: var(--lh-small); color: rgb(var(--fg) / .8); font-variant-numeric: tabular-nums; }
.settings .abouthead .aupdate { margin: 0; font-family: var(--body-face); font-size: var(--t-small); line-height: var(--lh-small); color: rgb(var(--fg) / .8); }
.settings .abouthead button.aupdate.ready {
  min-height: 36px; margin: 4px 0 0; padding: 4px 12px; border: 0; border-radius: var(--btn-radius); cursor: pointer;
  background: var(--gold); color: var(--ink); font-family: var(--body-face); font-weight: 600; font-size: var(--t-body); line-height: var(--lh-body); letter-spacing: normal;
}

/* ---- the hidden extra ---- */
.settings .aember[hidden] { display: none; }
.settings .apanel {
  display: flex; align-items: flex-end; gap: 12px; margin: 12px 0 0; padding: 12px; border-radius: 12px; background: var(--wall);
}
.settings .apanel .esay { flex: 1 1 auto; min-width: 0; }
.settings .apanel .etap { position: relative; }
@keyframes ahop { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-12px); } 60% { transform: translateY(0); } 75% { transform: translateY(-4px); } }
.settings .apanel .etap.hopping .esprite { animation: emberbob 1.4s steps(4) infinite, ahop .6s steps(6) 1; }
.settings .asparks { position: absolute; left: 50%; top: 12px; width: 0; height: 0; pointer-events: none; }
.settings .asparks i {
  position: absolute; width: 4px; height: 4px; background: var(--gold); opacity: 0;
  animation: aspark .9s steps(6) 1 forwards;
}
.settings .asparks i:nth-child(1) { --dx: -24px; --dy: -20px; }
.settings .asparks i:nth-child(2) { --dx: -10px; --dy: -32px; animation-delay: .05s; }
.settings .asparks i:nth-child(3) { --dx: 4px; --dy: -36px; animation-delay: .1s; background: var(--cream); }
.settings .asparks i:nth-child(4) { --dx: 16px; --dy: -28px; animation-delay: .05s; }
.settings .asparks i:nth-child(5) { --dx: 26px; --dy: -16px; animation-delay: .12s; }
@keyframes aspark { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

/* ---- help ---- */
.settings .help b { font-weight: 600; color: var(--cream); }
.settings .help a, .settings .help button.alink { color: var(--peach); }
.settings .help button.alink { margin: 0; padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.settings .awrong { list-style: none; margin: 0; padding: 0; }

/* ---- report a problem ---- */
.settings .areport .lede { margin: 8px 0 0; }
.settings .areport .actions { margin: 12px 0 0; }
.settings .areport .note:empty { display: none; }
.settings a.quiet {
  position: relative; display: inline-flex; align-items: center; min-height: var(--btn-h); padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid rgb(var(--fg2) / .5); border-radius: var(--btn-radius); color: var(--peach); text-decoration: none;
  font-family: var(--body-face); font-weight: 600; font-size: var(--t-body); line-height: var(--lh-body); letter-spacing: normal; white-space: nowrap; box-sizing: border-box;
}

/* ---- technical details ---- */
.settings .atech { margin: 16px 0 0; }
.settings .atech summary {
  cursor: pointer; padding: 8px 0; font-family: var(--body-face); font-weight: 600; font-size: var(--t-body); line-height: var(--lh-body); letter-spacing: normal;
  color: rgb(var(--fg2));
}
.settings .atech li.copyable { cursor: pointer; }
.settings .help .aup { color: var(--cream); }
.settings .help .adown { color: var(--peach); }
