.top-actions { display: flex; align-items: center; gap: clamp(8px, 2.5vw, 18px); }
.help-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; font-weight: 650; }
.help-link:hover, .help-footer a:hover, .how-to-actions a:hover { color: var(--orange-dark); }
.help-footer { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 24px; }
.help-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.help-footer span { align-self: center; }

html:has(.how-to[open]) { overflow: hidden; }
.how-to {
  width: min(34rem, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 20px;
  padding: clamp(20px, 5vw, 34px);
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 18px 56px #15221f44;
  overscroll-behavior: contain;
}
.how-to[open] { animation: how-to-in 210ms cubic-bezier(.16, 1, .3, 1) both; }
.how-to::backdrop { background: #142422ba; }
@keyframes how-to-in {
  from { opacity: .45; transform: translateY(10px) scale(.975); }
  to { opacity: 1; transform: none; }
}
.how-to-heading h2:focus { outline: none; }
.how-to-heading, .how-to-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; }
.how-to-heading h2 { margin: 0; font-size: clamp(1.9rem, 7vw, 2.65rem); line-height: 1.04; }
.how-to p { margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.how-to-steps { display: grid; gap: 10px; margin: 18px 0; padding-inline-start: 1.3em; line-height: 1.45; }
.how-to-steps li { padding-inline-start: 4px; }
.how-to-steps li::marker { color: var(--orange-dark); font-weight: 750; }
.how-to-example {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #eee9dd;
}
.how-to-example strong { color: var(--orange-dark); font: 780 2.2rem/1 var(--display); }
.how-to-example p { margin: 0; font-size: .875rem; line-height: 1.35; }
.how-to-actions { flex-wrap: wrap; }
.how-to-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }

.south-guide { display: grid; align-items: center; grid-template-columns: minmax(0, 34rem); gap: 24px; padding-block: clamp(32px, 8vw, 108px) 40px; }
.guide-copy { padding: 0; }
.guide-copy h1 { font-size: clamp(2.2rem, 5.8vw, 4.25rem); }
.guide-copy p { font-size: 1.05rem; }
.guide-copy strong { color: var(--ink); }
.guide-play { display: inline-flex; align-items: center; margin-top: 24px; text-decoration: none; }
.guide-play:hover { background: var(--orange-dark); }
.guide-compass {
  position: relative;
  width: min(100%, clamp(10rem, 27vw, 17rem));
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font: 750 clamp(1rem, 2.1vw, 1.3rem) var(--display);
}
.guide-compass span { position: absolute; }
.guide-north, .guide-south { left: 50%; translate: -50% 0; }
.guide-north { top: 8%; }
.guide-south { bottom: 8%; color: var(--orange-dark); }
.guide-east, .guide-west { top: 50%; translate: 0 -50%; }
.guide-east { right: 9%; }
.guide-west { left: 9%; }
.guide-needle { inset: 23% 41%; background: linear-gradient(var(--ink) 50%, var(--orange) 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

@media (max-width: 400px) {
  .top-actions { gap: 8px; }
  .top-actions .date { font-size: .72rem; }
  .top-actions .help-link { font-size: .78rem; }
}
@media (min-width: 730px) {
  .south-guide { grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .how-to[open] { animation: none; }
}
