:root{--bg:#05070b;--panel:#0b1119cc;--line:#223245;--cyan:#27d7ff;--pink:#ff3ec9;--yellow:#ffd53c;--green:#32f0a6;--text:#edf8ff;--muted:#8ba0b3;--danger:#ff4d62;--radius:20px}
*{box-sizing:border-box}html,body{margin:0;background:#030509;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100%;overflow-x:hidden}body{min-height:100dvh;background:radial-gradient(circle at 15% 10%,#111c35 0,transparent 34%),radial-gradient(circle at 85% 70%,#2b0a2d 0,transparent 28%),#030509}.ambient{position:fixed;inset:auto;pointer-events:none;filter:blur(60px);opacity:.35}.ambient-a{width:240px;height:240px;background:#00c8ff;left:-100px;top:25%}.ambient-b{width:300px;height:300px;background:#ff00ba;right:-130px;bottom:5%}.app-shell{min-height:100dvh;position:relative;z-index:1}.screen{display:none;min-height:100dvh}.screen.active{display:flex}.home-screen{padding:max(30px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));align-items:center;justify-content:center;flex-direction:column;text-align:center}.home-topline{font-size:11px;letter-spacing:.32em;color:#7294aa;margin-bottom:22px}.hero-logo{display:flex;flex-direction:column;line-height:.78;transform:skew(-7deg) rotate(-2deg);filter:drop-shadow(0 0 18px #15c7ff55)}.hero-logo span{display:block;font-weight:1000;font-style:italic;letter-spacing:-.07em;text-shadow:0 0 12px currentColor}.hero-guitar{font-size:clamp(54px,13vw,110px);color:#f8fbff}.hero-fret{font-size:clamp(46px,11vw,94px);color:var(--cyan)}.hero-hero{font-size:clamp(50px,12vw,100px);color:var(--pink)}.tagline{margin:26px 0 22px;letter-spacing:.18em;color:#a8c0d3;font-size:12px}.tagline span{color:#51758f}.guitar-visual{width:min(820px,92vw);height:150px;position:relative;margin:0 auto 24px;transform:perspective(700px) rotateX(64deg) rotateZ(-2deg);border-radius:36px;background:linear-gradient(180deg,#261b18,#08090d 55%,#16110f);box-shadow:0 0 30px #00c8ff22,0 0 50px #ff00b722;overflow:hidden}.neck-glow{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent 7.7%,#e0d2bf55 7.9%,transparent 8.15%),linear-gradient(90deg,#ff00b91d,#00c8ff1c)}.neck-line{position:absolute;left:2%;right:2%;height:1px;background:#d6dbe2aa}.n1{top:16%}.n2{top:30%}.n3{top:44%}.n4{top:58%}.n5{top:72%}.n6{top:86%}.note-dot{position:absolute;width:16px;height:16px;border-radius:50%;box-shadow:0 0 12px currentColor,0 0 24px currentColor;background:currentColor}.d1{left:20%;top:25%;color:var(--pink)}.d2{left:36%;top:63%;color:var(--cyan)}.d3{left:51%;top:38%;color:var(--yellow)}.d4{left:66%;top:73%;color:#6dff85}.d5{left:78%;top:22%;color:var(--cyan)}.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:min(720px,100%)}.hero-btn{min-height:88px;border-radius:18px;border:1px solid #2a4055;background:#09111bcc;color:#fff;padding:16px;display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;text-align:left;align-items:center;cursor:pointer;box-shadow:inset 0 0 28px #0e213122;transition:.2s}.hero-btn:hover{transform:translateY(-2px)}.hero-btn span{grid-row:1/3;font-size:28px}.hero-btn strong{font-size:18px;letter-spacing:.05em}.hero-btn small{color:#85a2b6}.hero-btn.primary{border-color:#ff52df;box-shadow:0 0 20px #ff36cf22,inset 0 0 30px #ff00c018}.hero-btn.primary span{color:var(--pink)}.hero-btn.secondary{border-color:#2cccf8;box-shadow:0 0 20px #2cccf822,inset 0 0 30px #00bdf018}.hero-btn.secondary span{color:var(--cyan)}.ecosystem-link{margin-top:28px;color:#6f8ca0;text-decoration:none;font-size:12px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:max(14px,env(safe-area-inset-top)) 16px 10px;gap:10px}.icon-btn,.quiz-jump{border:1px solid #25384a;background:#09111b;color:#cce9f9;border-radius:12px;height:42px;padding:0 14px;font-weight:800}.icon-btn{width:42px}.mini-logo{font-weight:900;letter-spacing:.08em;font-size:13px}.mini-logo span{color:var(--cyan)}.practice-screen,.quiz-screen{flex-direction:column}.control-panel{padding:4px 16px 10px;display:grid;grid-template-columns:1.4fr 2fr 1fr;gap:10px}.control-group{background:var(--panel);border:1px solid #1f3142;border-radius:16px;padding:11px}.control-group label,.pattern-controls label{font-size:10px;color:#7f9aad;letter-spacing:.12em;display:block;margin-bottom:8px}.segmented,.note-strip{display:flex;gap:7px;flex-wrap:wrap}.segmented button,.note-strip button,.pattern-controls button{background:#09121d;border:1px solid #2a4054;color:#d4e7f2;border-radius:10px;padding:9px 12px;font-weight:800;min-width:48px;cursor:pointer}.segmented button.active,.note-strip button.active,.pattern-controls button.active{border-color:#ff57d7;color:#fff;background:#2b0b2c;box-shadow:0 0 14px #ff38c844}.practice-meta{padding:0 16px 8px;display:flex;justify-content:space-between;align-items:end;gap:16px}.practice-meta strong{display:block;font-size:18px}.practice-meta>div>span{color:#8ca5b8;font-size:12px}.legend-inline{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.legend-inline small{color:#8ba0b3;margin-right:7px}.legend{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:900}.legend.root{background:var(--cyan);color:#032530;box-shadow:0 0 14px #27d7ff}.legend.third{background:var(--pink);color:#38042c;box-shadow:0 0 14px #ff3ec9}.legend.fifth{background:var(--yellow);color:#362800;box-shadow:0 0 14px #ffd53c}.legend.other{background:#91a3b1;color:#14212a}.pattern-controls{display:flex;align-items:end;gap:7px;padding:0 16px 8px;flex-wrap:wrap}.pattern-controls label{margin:0 5px 10px 0}.shape-controls{display:flex;align-items:center;justify-content:center;gap:16px;padding:0 16px 8px}.shape-controls button{width:38px;height:38px;border-radius:50%;border:1px solid #2e4861;background:#0a141f;color:white;font-size:24px}.shape-controls div{text-align:center;min-width:200px}.shape-controls strong,.shape-controls span{display:block}.shape-controls span{color:#8ca5b8;font-size:12px}.hidden{display:none!important}.fretboard-wrap{margin:0 16px;border:1px solid #263b4f;border-radius:18px;background:linear-gradient(180deg,#130d0b,#07090c);overflow:hidden;position:relative;box-shadow:inset 0 0 30px #000,0 0 24px #00c8ff0c}.practice-board{flex:1;min-height:330px}.quiz-board{flex:1;min-height:430px}.fretboard-wrap svg{width:100%;height:100%;display:block;touch-action:none;user-select:none}.practice-hint{padding:9px 16px max(14px,env(safe-area-inset-bottom));text-align:center;color:#718b9e;font-size:12px}.quiz-head{text-align:center;padding:4px 16px 12px}.roundline{font-size:11px;letter-spacing:.18em;color:#7894a7}.quiz-head h2{font-size:clamp(30px,8vw,56px);margin:8px 0 2px;font-style:italic;text-shadow:0 0 18px #ff3ec955}.quiz-head p{margin:0;color:#bcd4e2}.quiz-head p strong{color:var(--cyan)}.quiz-feedback{margin-top:8px;color:#7894a7;font-size:12px;min-height:18px}.attempt-pill{border:1px solid #2b4358;background:#0a141f;padding:8px 10px;border-radius:999px;font-size:11px;color:#9eb7c7}.quiz-bottom{display:flex;justify-content:space-between;padding:10px 18px max(16px,env(safe-area-inset-bottom));font-size:13px;color:#8fa8b9}.modal-backdrop{position:fixed;inset:0;background:#020407df;display:none;align-items:center;justify-content:center;padding:20px;z-index:20}.modal-backdrop.show{display:flex}.result-modal{width:min(430px,100%);background:#090f17;border:1px solid #31495e;border-radius:24px;padding:26px;text-align:center;box-shadow:0 0 60px #ff35cb22,0 0 80px #00c8ff18}.result-kicker{font-size:10px;letter-spacing:.2em;color:#7493a7}.result-modal h2{font-size:42px;color:var(--pink);margin:10px 0;text-shadow:0 0 22px currentColor}.result-score strong{font-size:64px;color:var(--cyan)}.result-score span{display:block;color:#7f9aad}.result-modal p{color:#a5bbca}.result-modal button{width:100%;padding:14px;border-radius:12px;font-weight:900;margin-top:8px;cursor:pointer}.modal-primary{background:linear-gradient(90deg,#ff32c7,#7f43ff);border:0;color:#fff}.modal-secondary{background:#0a1520;border:1px solid #2d455a;color:#fff}.result-modal a{display:block;color:#7f9aad;text-decoration:none;font-size:12px;margin-top:12px}
@media(max-width:800px){.home-actions{grid-template-columns:1fr}.guitar-visual{height:110px}.control-panel{grid-template-columns:1fr}.control-group{padding:8px}.practice-meta{align-items:flex-start;flex-direction:column}.legend-inline{justify-content:flex-start}.practice-board{min-height:56dvh}.quiz-board{min-height:55dvh}.hero-logo{margin-top:6vh}.pattern-controls{position:sticky;bottom:0;z-index:4;background:linear-gradient(180deg,transparent,#04070bd9 20%);padding-top:10px}.shape-controls{position:sticky;bottom:0;z-index:4;background:#05090dde;padding-top:8px}.note-strip{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.note-strip button{flex:0 0 auto}}
@media(min-width:801px){.practice-screen .fretboard-wrap,.quiz-screen .fretboard-wrap{max-height:60vh}.quiz-screen .fretboard-wrap{min-height:420px}}

/* ===== V2 polish ===== */
body{font-family:"Barlow Condensed",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button{font-family:inherit}
.hero-logo span,.section-title,.practice-meta strong,.quiz-head h2,.result-modal h2{font-family:"Metal Mania","Barlow Condensed",sans-serif;font-weight:400;letter-spacing:.035em}
.hero-logo span{letter-spacing:-.025em}
.hero-guitar{font-size:clamp(58px,13vw,116px)}
.hero-fret{font-size:clamp(48px,11vw,98px)}
.hero-hero{font-size:clamp(54px,12vw,106px)}

/* All interactive controls need a strong, legible edge */
.hero-btn,.icon-btn,.quiz-jump,.control-group,.segmented button,.note-strip button,.pattern-controls button,.shape-controls button,.fretboard-wrap,.attempt-pill,.result-modal,.modal-secondary{border-width:2px}
.hero-btn{border-style:solid;min-height:94px}
.segmented button,.note-strip button,.pattern-controls button{border-width:2px}
.shape-controls button{border-width:2px}
.icon-btn,.quiz-jump{border-width:2px;display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0;flex:0 0 auto}
.icon-btn{width:44px;height:44px;font-size:22px}
.quiz-jump{height:44px;padding:0 14px;gap:7px;min-width:92px;cursor:pointer}
.quiz-jump-icon{font-size:17px;color:var(--yellow);filter:drop-shadow(0 0 7px #ffd53c99)}

.home-screen{position:relative;padding-bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px))}
.hero-icon{width:48px;height:48px;display:inline-flex!important;align-items:center;justify-content:center;grid-row:1/3!important}
.hero-icon svg{width:38px;height:38px;fill:currentColor;filter:drop-shadow(0 0 8px currentColor)}
.hero-btn strong{font-size:20px;letter-spacing:.07em}
.hero-btn small{font-size:14px;line-height:1.1}
.ecosystem-link{position:absolute;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);margin:0;color:#b7cfdf;text-decoration:none;font-size:15px;letter-spacing:.04em;padding:10px 16px;border:2px solid #29445b;border-radius:999px;background:#071019cc;box-shadow:0 0 18px #27d7ff16;white-space:nowrap;transition:.2s}
.ecosystem-link:hover{color:#fff;border-color:var(--cyan);box-shadow:0 0 20px #27d7ff44}
.ecosystem-link strong{color:var(--cyan);font-size:18px;margin-left:5px}

.section-title{font-size:24px;color:#fff;text-shadow:0 0 12px #ff3ec977,0 0 18px #27d7ff44;transform:skew(-5deg) rotate(-1deg)}
.drawer-head,.mobile-menu-btn,.drawer-backdrop{display:none}
.practice-drawer{display:contents}

.legend.seventh{background:#62ef75;color:#06280c;box-shadow:0 0 14px #62ef75}
.legend.ninth{background:#ff8b3d;color:#351304;box-shadow:0 0 14px #ff8b3d}

@media(max-width:800px){
  .practice-screen{height:100dvh;min-height:100dvh;overflow:hidden}
  .practice-screen .topbar{flex:0 0 auto;padding-bottom:7px}
  .desktop-back{display:none}
  .mobile-menu-btn{display:inline-flex;flex-direction:column;gap:4px;padding:0!important}
  .mobile-menu-btn span{display:block;width:20px;height:2px;border-radius:4px;background:#d9eef9;box-shadow:0 0 7px #27d7ff55}
  .practice-drawer{display:block;position:fixed;left:0;top:0;bottom:0;width:min(88vw,380px);z-index:40;background:linear-gradient(180deg,#09111d 0%,#04070b 100%);border-right:2px solid #2d4b63;box-shadow:22px 0 55px #000c;transform:translateX(-104%);transition:transform .22s ease;padding:max(12px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom));overflow-y:auto}
  .practice-drawer.open{transform:translateX(0)}
  .drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 2px}
  .drawer-head strong{font-family:"Permanent Marker","Barlow Condensed",sans-serif;font-size:22px;font-weight:400;letter-spacing:.04em;color:#fff;text-shadow:0 0 10px #ff3ec977}
  .drawer-backdrop{display:block;position:fixed;inset:0;z-index:35;background:#020407b8;opacity:0;pointer-events:none;transition:opacity .22s}
  .drawer-backdrop.show{opacity:1;pointer-events:auto}
  .control-panel{display:block;padding:0}
  .control-group{margin-bottom:10px;padding:11px;border-width:2px}
  .pattern-controls{position:static;background:none;padding:4px 0 0;display:flex;gap:7px}
  .pattern-controls label{width:100%;margin:0 0 2px}
  .note-strip{display:grid;grid-template-columns:repeat(4,1fr);overflow:visible;gap:7px}
  .note-strip button{min-width:0;padding:9px 5px}
  .segmented{display:grid;grid-template-columns:repeat(3,1fr)}
  #qualityControls{grid-template-columns:1fr 1fr}
  .practice-meta{flex:0 0 auto;padding:1px 12px 6px;gap:5px}
  .practice-meta strong{font-size:17px}
  .practice-meta>div>span{font-size:11px}
  .legend-inline{width:100%;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding:2px 0;gap:5px;scrollbar-width:none}
  .legend-inline::-webkit-scrollbar{display:none}
  .legend-inline small{margin-right:4px;white-space:nowrap;font-size:10px}
  .legend{width:21px;height:21px;flex:0 0 21px;font-size:10px}
  .shape-controls{flex:0 0 auto;position:static;background:none;padding:2px 12px 6px}
  .shape-controls button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0}
  .practice-board{flex:1 1 auto;min-height:0;margin:0 10px 6px}
  .practice-hint{display:none}
  .quiz-jump{min-width:88px;height:42px}
  .section-title{font-size:22px}
  .home-screen{justify-content:flex-start;padding-top:max(28px,env(safe-area-inset-top));overflow-y:auto}
  .hero-logo{margin-top:2vh}
  .ecosystem-link{font-size:14px}
}


/* ===== V2.1 homepage + pentatonic accuracy ===== */
.hero-logo span,.section-title,.practice-meta strong,.quiz-head h2,.result-modal h2{
  font-family:"Permanent Marker","Barlow Condensed",sans-serif;
  font-weight:400;
}
.hero-logo{transform:skew(-8deg) rotate(-2deg);filter:drop-shadow(0 0 16px #15c7ff55)}
.hero-logo span{text-shadow:0 0 8px currentColor,0 0 20px currentColor}
.hero-guitar{color:#f8fbff!important;text-shadow:0 0 8px #fff,0 0 18px #c9d7ff!important}
.hero-fret{color:var(--cyan)!important}
.hero-hero{color:var(--pink)!important}
.home-screen{justify-content:center}
.guitar-visual{display:none!important}
.hero-btn:hover{transform:none}
.hero-btn{transition:border-color .18s,box-shadow .18s,background .18s}
.hero-btn:active{transform:none}
.practice-pick svg>path{fill:currentColor}
.practice-pick .pick-neck path{fill:none;stroke:#06131b;stroke-width:2.4;stroke-linecap:round;opacity:.92}
@media (hover:hover){
  .hero-btn.primary:hover{border-color:#ff8be7;box-shadow:0 0 28px #ff36cf3a,inset 0 0 34px #ff00c020}
  .hero-btn.secondary:hover{border-color:#6fe0ff;box-shadow:0 0 28px #2cccf83a,inset 0 0 34px #00bdf020}
}
@media(max-width:800px){
  .home-screen{justify-content:center;overflow-y:auto}
  .hero-logo{margin-top:0}
}

/* ===== V2.2 controls, premium icons & dynamic fret range ===== */
.hero-icon svg,.quiz-jump-icon svg{overflow:visible}
.hero-icon .icon-shell,.quiz-jump-icon .icon-shell{fill:none;stroke:currentColor;stroke-width:3;stroke-linejoin:round;filter:drop-shadow(0 0 6px currentColor)}
.hero-icon .icon-cut{fill:currentColor;opacity:.16}
.hero-icon .icon-line{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;opacity:.95}
.hero-icon circle{fill:currentColor}
.hero-icon .icon-q,.quiz-jump-icon .icon-q{fill:currentColor}
.hero-icon .icon-spark,.quiz-jump-icon .icon-spark{fill:currentColor;filter:drop-shadow(0 0 4px currentColor)}
.quiz-jump-icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:var(--cyan);filter:none}
.quiz-jump-icon svg{width:24px;height:24px}
.quiz-jump{gap:8px}

.practice-heading{flex:1;min-width:0;text-align:center;line-height:1.05;padding:0 8px}
.practice-heading strong{display:block;font-family:"Permanent Marker","Barlow Condensed",sans-serif;font-weight:400;font-size:clamp(16px,2vw,24px);color:#fff;text-shadow:0 0 10px #ff3ec966;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.practice-heading span{display:block;margin-top:3px;font-size:11px;letter-spacing:.03em;color:#8ca5b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.control-panel{grid-template-columns:2fr .9fr 1.35fr}
.fret-count-controls{display:flex;align-items:end;gap:7px;padding:0 16px 8px;flex-wrap:wrap}
.fret-count-controls label{font-size:10px;color:#7f9aad;letter-spacing:.12em;display:block;margin:0 5px 10px 0}
.fret-count-controls button{background:#09121d;border:2px solid #2a4054;color:#d4e7f2;border-radius:10px;padding:9px 12px;font-weight:800;min-width:58px;cursor:pointer}
.fret-count-controls button.active{border-color:#27d7ff;color:#fff;background:#082433;box-shadow:0 0 14px #27d7ff44}
.practice-legend{padding:9px 18px 2px;justify-content:flex-end;flex:0 0 auto}
.practice-legend small{white-space:nowrap}

@media(max-width:800px){
  .practice-heading strong{font-size:15px}
  .practice-heading span{font-size:9px}
  .quiz-jump{min-width:44px;width:44px;padding:0}
  .quiz-jump>span:last-child{display:none}
  .quiz-jump-icon,.quiz-jump-icon svg{width:27px;height:27px}
  .fret-count-controls{position:static;background:none;padding:10px 0 0;display:flex;gap:7px}
  .fret-count-controls label{width:100%;margin:0 0 2px}
  .fret-count-controls button{flex:1;min-width:0;padding:9px 5px}
  .practice-legend{width:auto;max-width:100%;margin:0 10px;padding:5px 4px 1px;justify-content:flex-end;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .practice-legend::-webkit-scrollbar{display:none}
}
/* V2.3 — Fretboard Map */
.home-actions{grid-template-columns:repeat(3,1fr);width:min(1040px,100%)}
.hero-btn.map-btn{border-color:#5cffb2;box-shadow:0 0 20px #31f6a622,inset 0 0 30px #18e79816}
.hero-btn.map-btn .hero-icon{color:#5cffb2}
.map-note svg{width:42px;height:42px;overflow:visible;filter:drop-shadow(0 0 8px currentColor)}
.map-note .note-beam{fill:currentColor}.map-note .note-glint{fill:#fff}
.fretmap-screen{flex-direction:column;height:100dvh;overflow:hidden}
.map-heading{display:flex;flex-direction:column;text-align:center;line-height:1}
.map-heading strong{font-family:'Permanent Marker',cursive;font-size:22px;color:#5cffb2;text-shadow:0 0 14px #35f4aa88;transform:skew(-5deg)}
.map-heading span{font-size:9px;letter-spacing:.16em;color:#7f9aad;margin-top:5px}
.map-nav{display:flex;gap:7px}.map-nav-btn{height:42px;border:2px solid #2a4054;background:#09121d;color:#d4e7f2;border-radius:11px;padding:0 12px;font-weight:900;font-size:11px;cursor:pointer}
.map-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:2px 16px 9px}
.map-controls label{font-size:10px;color:#7f9aad;letter-spacing:.12em;margin-right:5px}
.map-controls button{background:#09121d;border:2px solid #2a4054;color:#d4e7f2;border-radius:10px;padding:9px 12px;font-weight:800;min-width:58px;cursor:pointer}
.map-controls button.active{border-color:#5cffb2;color:#fff;background:#09271d;box-shadow:0 0 14px #36efa044}
.map-board{flex:1;min-height:0;margin-bottom:0}.map-hint{text-align:center;padding:8px 16px max(12px,env(safe-area-inset-bottom));font-size:11px;letter-spacing:.08em;color:#718b9e}
@media(max-width:800px){.home-actions{grid-template-columns:1fr}.fretmap-screen .topbar{padding-bottom:5px}.map-heading strong{font-size:17px}.map-heading span{font-size:7px}.map-nav-btn{padding:0 7px;font-size:9px}.map-controls{justify-content:center;padding:4px 10px 8px}.map-controls label{display:none}.map-controls button{flex:1;max-width:75px;padding:8px 5px;min-width:0}.map-board{margin:0 10px}.map-hint{padding-top:5px}}
/* V2.4 — home card spacing + simplified Fretboard Map header */
.hero-btn{column-gap:18px}
.hero-btn .hero-icon{margin-right:2px}
.fretmap-screen .topbar{justify-content:flex-start}
.fretmap-screen .map-heading{position:absolute;left:50%;transform:translateX(-50%)}

/* V2.6 — vertical home navigation + cleaner ecosystem footer */
.home-actions{grid-template-columns:1fr!important;width:min(720px,100%);gap:14px}
.ecosystem-link{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:6px 2px!important;
  color:#9db7c8!important;
  text-decoration:none;
  font-size:14px;
  letter-spacing:.04em;
}
.ecosystem-link:hover{
  color:#fff!important;
  border:0!important;
  box-shadow:none!important;
}
.ecosystem-link strong{color:var(--cyan);font-size:18px;margin-left:6px}

.legend-pair{display:inline-flex;align-items:center;gap:6px}.legend-pair small{margin-right:7px}.legend-pair.legend-muted{opacity:.24;filter:saturate(.35)}
