:root {
  --navy: #12263f;
  --navy-2: #1d3a5f;
  --amber: #ffb703;
  --amber-dark: #e09e00;
  --sky: #e6f0ff;
  --bg: #f4f8ff;
  --ink: #16233a;
  --muted: #5a6b84;
  --line: #c9d8ee;
  --radius: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.7; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
a { color: var(--navy-2); }
.site-header { background: var(--navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.brand b { color: var(--amber); }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: #dbe7f7; text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--amber); }
main { max-width: 960px; margin: 0 auto; padding: 0 20px 44px; }
.hero { padding-top: 30px; }
.eyebrow { display: inline-block; background: var(--amber); color: var(--navy); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; margin: 0 0 14px; }
.hero h1 { font-size: 2.5rem; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--navy); }
.tagline { color: var(--muted); font-size: 1.12rem; margin: 0 0 22px; }
.stage { position: relative; aspect-ratio: 16 / 10; background: var(--navy); border-radius: var(--radius); overflow: hidden; border: 4px solid var(--navy); box-shadow: 0 18px 40px rgba(18, 38, 63, 0.22); }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #bcd8ff 0%, #e6f0ff 55%, #fff3cf 100%); z-index: 2; }
.cover-inner { text-align: center; padding: 20px; max-width: 560px; }
.cover-clef { width: 92px; height: 92px; margin: 0 auto 10px; border-radius: 50%; background: var(--amber); color: var(--navy); font-size: 3.4rem; line-height: 92px; font-weight: 700; }
.cover-text { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 0 0 18px; line-height: 1.35; }
.play-btn { background: var(--amber); color: var(--navy); border: 0; border-radius: 999px; padding: 15px 34px; font-size: 1.18rem; font-weight: 800; cursor: pointer; box-shadow: 0 6px 0 var(--amber-dark); }
.play-btn:hover { background: #ffc42e; }
.play-btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--amber-dark); }
.cover-note { color: var(--muted); font-size: 0.92rem; margin: 16px 0 0; }
.keys-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: repeating-linear-gradient(90deg, #fff 0 34px, #12263f 34px 40px, #fff 40px 74px); border-top: 3px solid var(--navy); }
.loader { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--sky); z-index: 3; font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.loader-notes { font-size: 2.2rem; letter-spacing: 8px; color: var(--amber-dark); animation: bob 0.9s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.stage[data-gf-state="loading"] .loader { display: flex; }
.stage[data-gf-state="loading"] .cover, .stage[data-gf-state="playing"] .cover { display: none; }
.game-actions { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 18px 0 6px; }
.action-btn { background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: 9px 20px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.action-btn:hover { background: var(--amber); border-color: var(--amber); }
.action-btn[data-gf-liked] { background: var(--amber); border-color: var(--amber); }
.share-msg { color: var(--navy-2); font-size: 0.95rem; font-weight: 600; }
.source-note { color: var(--muted); font-size: 0.95rem; text-align: center; }
article.page, .hero + * { text-align: left; }
h2 { font-size: 1.6rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--navy); margin: 2.4em 0 0.6em; }
h3 { font-size: 1.2rem; color: var(--navy); margin: 1.7em 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }
table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
th { background: var(--navy); color: #fff; }
.page { max-width: 760px; margin: 0 auto; padding-top: 30px; }
.page h1 { font-size: 2.2rem; line-height: 1.2; color: var(--navy); letter-spacing: -0.02em; margin: 0 0 0.6em; }
.comments { max-width: 760px; margin: 0 auto; border-top: 4px solid var(--navy); padding-top: 10px; }
.comments h2 { margin-top: 0.8em; }
.comments-intro { color: var(--muted); }
.comment { border-top: 1px solid var(--line); padding: 14px 0; }
.comment.reply { margin-left: 28px; }
.comment-meta { font-size: 0.95rem; color: var(--muted); margin-bottom: 4px; }
.owner-badge { background: var(--amber); color: var(--navy); font-size: 0.75rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
.reply-btn { background: none; border: 0; color: var(--navy-2); cursor: pointer; padding: 0; font-size: 0.95rem; font-weight: 700; }
form[data-gf-comment-form] { margin-top: 18px; }
form[data-gf-comment-form] label { display: block; font-weight: 700; margin-bottom: 12px; }
form[data-gf-comment-form] input, form[data-gf-comment-form] textarea { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 2px solid var(--navy); border-radius: 12px; background: #fff; font: inherit; }
form[data-gf-comment-form] button[type="submit"] { background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 11px 24px; font-size: 1rem; font-weight: 800; cursor: pointer; }
form[data-gf-comment-form] button[data-gf-reply-cancel] { background: none; border: 2px solid var(--muted); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.site-footer { background: var(--navy); color: #dbe7f7; margin-top: 44px; }
.site-footer .wrap { padding-top: 30px; padding-bottom: 30px; }
.foot-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin: 0 0 4px; }
.foot-tag { color: #9db4d4; margin: 0 0 14px; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.foot-nav a { color: #dbe7f7; }
.foot-copy { color: #9db4d4; font-size: 0.9rem; margin: 0; }
@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .stage { aspect-ratio: 4 / 3; }
  .cover-clef { width: 72px; height: 72px; line-height: 72px; font-size: 2.6rem; }
  .cover-text { font-size: 1.15rem; }
}
