.ability-dock {
  position:absolute;
  right:29px;
  bottom:230px;
  width:208px;
}
.ability-buttons { display:flex; gap:8px; }
.ability-buttons button {
  flex:1;
  min-height:46px;
  padding:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  background:#eee6cfeF;
  border:1px solid #fff0cf;
  border-radius:6px;
  box-shadow:0 3px 10px #493b3a30;
  font-size:14px;
  touch-action:manipulation;
}
.ability-buttons button[aria-pressed="true"] { background:#b6e2cc; border-color:#497d75; }
.ability-buttons button:disabled { opacity:.7; }
.ability-buttons svg { width:21px; height:21px; flex-shrink:0; }
.ability-buttons span { white-space:nowrap; }
.ability-buttons kbd { padding:1px 3px; }
.flight-meter {
  background:#253d3cd9;
  border:1px solid #a4bbaa;
  padding:7px 9px;
  color:#fff2d0;
  margin-bottom:8px;
  border-radius:4px;
}
.flight-meter>span { display:flex; justify-content:space-between; font-size:12px; }
.flight-meter b { font-weight:500; }
.flight-meter>div { height:4px; background:#ffffff26; margin-top:6px; }
.flight-meter i { display:block; height:100%; background:#a8e9d3; }
.exp-hud {
  position:absolute;
  top:83px;
  left:50%;
  transform:translateX(-50%);
  background:#254643eF;
  color:#fff0c8;
  border:1px solid #b6c7ad;
  border-radius:4px;
  padding:9px 16px;
  font-size:15px;
  white-space:nowrap;
  pointer-events:none;
}
.exp-section { padding:5px 0 20px; margin-bottom:16px; border-bottom:1px solid #bca987; }
.exp-section:last-child { border-bottom:0; margin-bottom:0; }
.exp-section h3 { display:flex; justify-content:space-between; gap:12px; font-size:22px; }
.exp-section h3 span { font:14px var(--sans); color:#526f68; }
.panel .exp-section p { font-size:16px; line-height:1.7; }
.panel .exp-stat { color:#395d55; font-size:15px; }
.panel .exp-muted { font-size:13px; color:#6f624b; }
.exp-section .action,.exp-section .minor-btn { min-height:42px; font-size:14px; }
.panel blockquote { margin:14px 0; padding:10px 14px; border-left:3px solid #70968a; background:#d6d4b54f; font-size:15px; line-height:1.7; }
.panel blockquote p { margin:6px 0 0; }
.code-read { text-align:center; color:#416f6b; letter-spacing:.12em; padding:12px; font:700 28px var(--serif); }
.code-actions { justify-content:center; }
.code-actions button { width:64px; height:48px; font:700 20px var(--serif); }
.guide-extra { padding:12px 0; border-top:1px solid #cabc9f; }
.guide-extra p { margin:6px 0; font-size:14px; line-height:1.7; }
.guide-extra strong { color:#3b675f; }
.atlas-legend { display:flex; flex-wrap:wrap; gap:12px; font-size:13px; margin:10px 0; color:#72583f; }
.quest-navigation {
  position:absolute;
  transform:translate(-50%,-50%);
  width:156px;
  display:grid;
  justify-items:center;
  gap:6px;
  pointer-events:none;
  text-align:center;
  color:#fff4d1;
  filter:drop-shadow(0 3px 5px #30291c55);
}
.navigation-icon {
  display:grid;place-items:center;width:36px;height:36px;
  border:1px solid #ffda82;border-radius:50%;background:#403629eb;
  box-shadow:0 0 0 4px #ffe5a128;
}
.navigation-icon svg { grid-area:1/1;width:24px;height:24px;stroke:#ffe2a1;fill:none;stroke-width:1.7; }
.navigation-icon .navigation-arrow { display:none;fill:#ffe2a1;transform:rotate(var(--navigation-angle)); }
.is-edge .navigation-pin { display:none; }
.is-edge .navigation-arrow { display:block; }
.navigation-label { display:grid;gap:3px;max-width:156px;border:1px solid #f4d69880;background:#3b3229eb;border-radius:5px;padding:6px 9px; }
.navigation-label strong { font-size:13px;font-weight:600;line-height:1.25; }
.navigation-label small { font:600 15px/1.25 var(--sans);font-variant-numeric:tabular-nums;color:#ffdf92; }
.navigation-label>span { font-size:10px;line-height:1.3;color:#e9dfc9; }
.is-near .navigation-icon { border-color:#b6f0d2;background:#2b5149; }
@media(pointer:coarse) {
  .ability-dock { right:21px; bottom:88px; width:128px; }
  .ability-buttons { gap:8px; }
  .ability-buttons button { flex-direction:column; gap:2px; padding:5px; min-height:51px; }
  .ability-buttons kbd { display:none; }
  .ability-buttons span { font-size:13px; }
  .flight-meter { padding:6px; margin-bottom:5px; }
  .flight-meter>span { font-size:11px; }
  .exp-hud { top:210px; max-width:90vw; font-size:14px; padding:8px 10px; }
}
@media(max-width:360px) {
  .brand h1 { font-size:20px; }
  .brand .brand-logo { width:32px; height:32px; }
  .tools { gap:5px; right:12px; }
  .tools .tool { width:32px; height:32px; }
  .ability-dock { right:15px; }
}
@media(max-height:540px) and (orientation:landscape) {
  .ability-dock { bottom:86px; right:20px; }
  .exp-hud { top:64px; }
}
