/* Shared styles for per-note SEO pages (notes/*.html and {lang}/notes/*.html) */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK", sans-serif;
  background:
    radial-gradient(ellipse at 30% 0%, #2c1f15 0%, transparent 60%),
    linear-gradient(180deg, #1d1410, #0a0604);
  color: #f3ead4;
  min-height: 100vh;
  line-height: 1.6;
  padding: 40px 20px 80px;
}

main { max-width: 820px; margin: 0 auto; }

.back {
  display: inline-block;
  color: #a09080;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 24px;
}
.back:hover { color: #f1c75a; }

h1 {
  font-family: Georgia, "Noto Serif TC", "Noto Serif CJK", serif;
  font-size: clamp(26px, 4vw, 40px);
  color: #f1c75a;
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 0 28px rgba(241, 199, 90, 0.25);
}

h2 {
  font-family: Georgia, "Noto Serif TC", "Noto Serif CJK", serif;
  font-size: 24px;
  color: #f1c75a;
  margin: 32px 0 16px;
  scroll-margin-top: 16px;
}

.subhead {
  color: #a09080;
  font-size: 17px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.fretboard-wrap {
  background: #1a0f08;
  border: 1px solid rgba(241, 199, 90, 0.15);
  border-radius: 10px;
  padding: 16px;
  margin: 28px 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
.fretboard-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.cta {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(180deg, #d4a548, #a07820);
  color: #1a0f04;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  margin: 8px 0 32px;
  box-shadow: 0 6px 16px rgba(160, 120, 32, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(160, 120, 32, 0.55);
}
.cta:focus-visible {
  outline: 2px solid #f1c75a;
  outline-offset: 3px;
}

ul.positions { list-style: none; padding: 0; }
ul.positions li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
}
ul.positions li:last-child { border-bottom: none; }
ul.positions strong {
  color: #f1c75a;
  font-weight: 500;
}

p {
  font-size: 15px;
  color: #f3ead4;
  margin-bottom: 14px;
  opacity: 0.92;
  line-height: 1.75;
}

.other-notes {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #a09080;
}
.other-notes a {
  color: #a09080;
  text-decoration: none;
  padding: 2px 6px;
  transition: color 0.15s;
}
.other-notes a:hover { color: #f1c75a; }
.other-notes a:focus-visible {
  outline: 2px solid #f1c75a;
  outline-offset: 2px;
  border-radius: 4px;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #6a5f4a;
  text-align: center;
}
footer a {
  color: #a09080;
  text-decoration: none;
  margin: 0 8px;
}
footer a:hover { color: #f1c75a; }

/* Skip-to-content for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #f1c75a;
  color: #1a0f04;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
