/* =========================================================
   MR Theory Board · Θεωρία 2 · Κεφάλαιο 3
   Συγχορδίες 7ης · v0.7.8 · multiplayer game
   Αρχείο παραγωγής: assets/css/theory2-seventh-chords.css
   ========================================================= */

.mrtb-app[data-scene="t2-seventh-chords"]{
  --t2s-panel-width:354px;
  --t2s-right-space:382px;
  --t2s-left-edge:14px;
  --t2s-staff-top:12px;
  --t2s-staff-height:425px;
  --t2s-lines-top:70px;
  --t2s-lines-height:240px;
  --t2s-line-gap:60px;
  --t2s-piano-top:452px;
  --t2s-piano-height:182px;
  --t2s-stage-height:730px;
}

/* ---------- Κοινή εργαλειοθήκη ---------- */

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-values-section,
.mrtb-app[data-scene="t2-seventh-chords"] [data-action="add-staff"],
.mrtb-app[data-scene="t2-seventh-chords"] [data-action="toggle-value-labels"]{
  display:none !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-sidebar{
  grid-template-columns:1fr !important;
  height:auto !important;
  min-height:48px !important;
  max-height:none !important;
  overflow:visible !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-tools-section,
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-tools-one-line{
  overflow:visible !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-tools-one-line{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:4px !important;
}

.mrtb-t2s-toolbar-accidentals{
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  margin-left:4px;
  padding-left:7px;
  border-left:2px solid rgba(38,48,68,.12);
}

.mrtb-t2s-toolbar-title{
  margin-right:1px;
  color:#536178;
  font-size:10px;
  line-height:1;
  font-weight:1000;
  white-space:nowrap;
  text-transform:uppercase;
}

.mrtb-t2s-toolbar-accidentals button{
  min-width:34px !important;
  min-height:28px !important;
  padding:2px 7px !important;
  border:0 !important;
  border-radius:9px !important;
  color:#263044 !important;
  background:linear-gradient(180deg,#fff,#eaf2ff) !important;
  box-shadow:
    inset 0 -2px 0 rgba(0,0,0,.10),
    0 3px 7px rgba(35,72,92,.10) !important;
  font-family:"Times New Roman",serif !important;
  font-size:19px !important;
  line-height:1 !important;
  font-weight:900 !important;
  cursor:pointer !important;
}

.mrtb-t2s-toolbar-accidentals button[data-t2s-acc=""]{
  min-width:48px !important;
  font-family:inherit !important;
  font-size:9px !important;
}

.mrtb-t2s-toolbar-accidentals button.active{
  background:linear-gradient(180deg,#ffe88c,#ffbd3e) !important;
  outline:3px solid rgba(255,184,46,.28) !important;
}

.mrtb-t2s-toolbar-selected{
  max-width:135px;
  overflow:hidden;
  padding:5px 8px;
  border-radius:999px;
  color:#40506a;
  background:rgba(255,255,255,.92);
  font-size:9px;
  line-height:1;
  font-weight:950;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* ---------- Board ---------- */

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board{
  position:relative !important;
  overflow:auto !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-scroll-spacer{
  width:100% !important;
  height:var(--t2s-stage-height) !important;
  min-height:var(--t2s-stage-height) !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-wrap{
  background:
    radial-gradient(circle at 10% 8%,rgba(255,255,255,.82) 0 40px,transparent 42px),
    radial-gradient(circle at 88% 10%,rgba(255,255,255,.58) 0 52px,transparent 54px),
    linear-gradient(90deg,rgba(255,255,255,.20) 1px,transparent 1px) 0 0/42px 42px,
    linear-gradient(0deg,rgba(255,255,255,.20) 1px,transparent 1px) 0 0/42px 42px,
    linear-gradient(180deg,#9ee6ff 0%,#d7f5ff 53%,#d8f4ac 100%) !important;
}

/* ---------- Μεγάλο native πεντάγραμμο ---------- */

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-staff{
  left:var(--t2s-left-edge) !important;
  right:var(--t2s-right-space) !important;
  top:var(--t2s-staff-top) !important;
  height:var(--t2s-staff-height) !important;
  min-height:var(--t2s-staff-height) !important;
  overflow:visible !important;
  border-radius:28px !important;
  background:rgba(255,255,255,.76) !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-staff-lines{
  left:112px !important;
  right:28px !important;
  top:var(--t2s-lines-top) !important;
  height:var(--t2s-lines-height) !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-line:nth-child(1){top:0 !important;}
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-line:nth-child(2){top:var(--t2s-line-gap) !important;}
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-line:nth-child(3){top:calc(var(--t2s-line-gap) * 2) !important;}
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-line:nth-child(4){top:calc(var(--t2s-line-gap) * 3) !important;}
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-line:nth-child(5){top:calc(var(--t2s-line-gap) * 4) !important;}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-clef{
  left:8px !important;
  top:42px !important;
  width:94px !important;
  font-size:140px !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-time-sig,
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-barline,
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-staff-label,
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-staff-hint,
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-mini-piano{
  display:none !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note{
  display:block !important;
  z-index:30 !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note .mrtb-note-glyph{
  transform:scale(1.28) !important;
  transform-origin:50% 50% !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note .mrtb-note-caption{
  left:90px !important;
  min-width:70px !important;
  font-size:12px !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note .mrtb-note-caption b{
  font-size:14px !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note .mrtb-note-value{
  display:none !important;
}

/* Χρωματική διάκριση ρόλων χωρίς βαριά τετράγωνα. */
.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note .mrtb-note-caption{
  box-sizing:border-box !important;
  padding:6px 13px !important;
  border:2px solid rgba(38,48,68,.12) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 8px 20px rgba(35,72,92,.12) !important;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-root .mrtb-note-head{
  filter:drop-shadow(0 0 7px rgba(230,68,78,.50));
  outline:none !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-third .mrtb-note-head{
  filter:drop-shadow(0 0 7px rgba(77,105,214,.48));
  outline:none !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-fifth .mrtb-note-head{
  filter:drop-shadow(0 0 7px rgba(39,171,112,.48));
  outline:none !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-seventh .mrtb-note-head{
  filter:drop-shadow(0 0 8px rgba(173,91,211,.52));
  outline:none !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-root .mrtb-note-caption{
  border-color:#ef5a62 !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-third .mrtb-note-caption{
  border-color:#5174df !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-fifth .mrtb-note-caption{
  border-color:#34b97e !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-seventh .mrtb-note-caption{
  border-color:#a45ccf !important;
}

.mrtb-app[data-scene="t2-seventh-chords"] .mrtb-board-note.mrtb-t2s-role-bass .mrtb-note-caption::after{
  content:"BASS";
  display:inline-block;
  margin-left:4px;
  padding:2px 5px;
  border-radius:999px;
  color:#fff;
  background:#263044;
  font-size:7px;
  font-weight:1000;
  vertical-align:middle;
}

/* ---------- Επάνω χειριστήρια ---------- */

.mrtb-t2s-staff-actions{
  position:absolute;
  left:205px !important;
  right:398px !important;
  top:22px !important;
  z-index:42;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:7px;
  pointer-events:none;
}

.mrtb-t2s-staff-actions > *{
  pointer-events:auto;
}

.mrtb-t2s-staff-actions button{
  min-height:34px;
  padding:6px 12px;
  border:0;
  border-radius:12px;
  color:#263044;
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,.10),
    0 6px 13px rgba(35,72,92,.13);
  font:inherit;
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
}

.mrtb-t2s-staff-actions .play{
  background:linear-gradient(180deg,#d8ffc9,#64dc88);
}

.mrtb-t2s-staff-actions .clear{
  background:linear-gradient(180deg,#fff,#e8eff8);
}

.mrtb-t2s-staff-live{
  min-width:210px;
  max-width:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  overflow:hidden;
  padding:7px 12px;
  border:2px solid rgba(255,184,46,.22);
  border-radius:999px;
  color:#243044;
  background:linear-gradient(180deg,#fff7bd,#ffd563);
  box-shadow:
    0 5px 12px rgba(35,72,92,.10),
    inset 0 -3px 0 rgba(0,0,0,.06);
  white-space:nowrap;
}

.mrtb-t2s-staff-live.recognized{
  color:#fff;
  border-color:rgba(74,102,185,.20);
  background:linear-gradient(145deg,#294171,#4f6db5);
}

.mrtb-t2s-staff-live.unknown{
  color:#fff;
  border-color:rgba(141,50,62,.20);
  background:linear-gradient(145deg,#7a5961,#ad737c);
}

.mrtb-t2s-staff-live b{
  font-size:19px;
  line-height:1;
}

.mrtb-t2s-staff-live span{
  max-width:235px;
  overflow:hidden;
  font-size:10px;
  font-weight:900;
  text-overflow:ellipsis;
}

/* ---------- Δεξί panel ---------- */

.mrtb-t2-sevenths-scene{
  position:absolute;
  top:12px;
  right:14px;
  z-index:24;
  width:var(--t2s-panel-width);
  min-height:690px;
  box-sizing:border-box;
  padding:14px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,250,255,.94));
  box-shadow:
    0 18px 42px rgba(36,59,96,.17),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.mrtb-t2s-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 126px;
  gap:9px;
  align-items:stretch;
}

.mrtb-t2s-title > span{
  color:#6a7890;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.mrtb-t2s-title h2{
  margin:2px 0 0;
  color:#263044;
  font-size:22px;
  line-height:1;
}

.mrtb-t2s-title p{
  margin:6px 0 0;
  color:#627088;
  font-size:10px;
  line-height:1.38;
}

.mrtb-t2s-live{
  display:grid;
  align-content:center;
  padding:9px 10px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(145deg,#647184,#919bab);
}

.mrtb-t2s-live.recognized{
  background:linear-gradient(145deg,#294171,#4f6db5);
}

.mrtb-t2s-live.unknown{
  background:linear-gradient(145deg,#7a5961,#ad737c);
}

.mrtb-t2s-live small,
.mrtb-t2s-live strong,
.mrtb-t2s-live span{
  display:block;
}

.mrtb-t2s-live small{
  opacity:.72;
  font-size:8px;
  font-weight:1000;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.mrtb-t2s-live strong{
  margin-top:3px;
  overflow-wrap:anywhere;
  font-size:28px;
  line-height:1;
}

.mrtb-t2s-live span{
  margin-top:4px;
  font-size:9px;
  font-weight:850;
  line-height:1.25;
}

.mrtb-t2s-section-label{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:8px;
  margin-top:11px;
  padding-bottom:5px;
  border-bottom:1px solid #e6ebf2;
}

.mrtb-t2s-section-label b{
  color:#263044;
  font-size:11px;
}

.mrtb-t2s-section-label span{
  color:#778398;
  font-size:8px;
  font-weight:800;
  text-align:right;
}

.mrtb-t2s-triad-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  margin-top:7px;
}

.mrtb-t2s-triad-row article{
  position:relative;
  min-height:52px;
  padding:7px 8px 6px 14px;
  border:2px solid #e3e9f1;
  border-radius:14px;
  background:#fff;
  opacity:.72;
  transition:.15s ease;
}

.mrtb-t2s-triad-row article::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  border-radius:14px 0 0 14px;
  background:#8190a7;
}

.mrtb-t2s-triad-row article.major::before{background:#42b97d;}
.mrtb-t2s-triad-row article.minor::before{background:#5d78d9;}
.mrtb-t2s-triad-row article.diminished::before{background:#e16a73;}
.mrtb-t2s-triad-row article.augmented::before{background:#db9c2d;}

.mrtb-t2s-triad-row article.active{
  opacity:1;
  border-color:#263b6f;
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(35,57,105,.12);
}

.mrtb-t2s-triad-row b,
.mrtb-t2s-triad-row span,
.mrtb-t2s-triad-row small{
  display:block;
}

.mrtb-t2s-triad-row b{
  color:#263044;
  font-size:11px;
}

.mrtb-t2s-triad-row span{
  color:#5d6c83;
  font-size:8px;
  font-weight:850;
}

.mrtb-t2s-triad-row small{
  margin-top:3px;
  color:#6b778b;
  font-size:7.5px;
  font-weight:760;
  line-height:1.22;
}

.mrtb-t2s-seventh-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:7px;
}

.mrtb-t2s-seventh-row article{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:7px 9px;
  border:2px solid #e3e9f1;
  border-radius:14px;
  background:#fff;
  opacity:.72;
  transition:.15s ease;
}

.mrtb-t2s-seventh-row article.minor7{
  border-left:6px solid #9b62d2;
}

.mrtb-t2s-seventh-row article.major7{
  border-left:6px solid #ed9b2c;
}

.mrtb-t2s-seventh-row article.active{
  opacity:1;
  border-color:#263b6f;
  box-shadow:0 7px 16px rgba(35,57,105,.12);
  transform:translateY(-1px);
}

.mrtb-t2s-seventh-row b,
.mrtb-t2s-seventh-row span{
  display:block;
}

.mrtb-t2s-seventh-row b{
  color:#263044;
  font-size:10px;
}

.mrtb-t2s-seventh-row span{
  color:#69768a;
  font-size:8px;
  font-weight:800;
}

.mrtb-t2s-seventh-row strong{
  color:#263044;
  font-size:20px;
  line-height:1;
}

/* Σειρά συμβολισμού: 1 ποιότητα · 2 έβδομη · 3 αλλοίωση πέμπτης */
.mrtb-t2s-quality-row,
.mrtb-t2s-fifth-row{
  display:grid;
  gap:7px;
  margin-top:7px;
}

.mrtb-t2s-quality-row{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.mrtb-t2s-fifth-row{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.mrtb-t2s-quality-row article,
.mrtb-t2s-fifth-row article{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-width:0;
  min-height:46px;
  padding:7px 9px;
  border:2px solid #e3e9f1;
  border-radius:14px;
  background:#fff;
  opacity:.72;
  transition:.15s ease;
}

.mrtb-t2s-quality-row article.minor{border-left:6px solid #5d78d9;}
.mrtb-t2s-quality-row article.major{border-left:6px solid #42b97d;}
.mrtb-t2s-fifth-row article.natural{border-left:6px solid #7f8da2;}
.mrtb-t2s-fifth-row article.sharp5{border-left:6px solid #db9c2d;}
.mrtb-t2s-fifth-row article.flat5{border-left:6px solid #e16a73;}

.mrtb-t2s-quality-row article.active,
.mrtb-t2s-fifth-row article.active{
  opacity:1;
  border-color:#263b6f;
  box-shadow:0 7px 16px rgba(35,57,105,.12);
  transform:translateY(-1px);
}

.mrtb-t2s-quality-row article div,
.mrtb-t2s-fifth-row article div{
  min-width:0;
}

.mrtb-t2s-quality-row b,
.mrtb-t2s-quality-row span,
.mrtb-t2s-fifth-row b,
.mrtb-t2s-fifth-row span{
  display:block;
}

.mrtb-t2s-quality-row b,
.mrtb-t2s-fifth-row b{
  color:#263044;
  font-size:10px;
}

.mrtb-t2s-quality-row span,
.mrtb-t2s-fifth-row span{
  overflow:hidden;
  color:#69768a;
  font-size:7.5px;
  font-weight:800;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.mrtb-t2s-quality-row strong,
.mrtb-t2s-fifth-row strong{
  flex:0 0 auto;
  margin-left:6px;
  color:#263044;
  font-size:18px;
  line-height:1;
}

.mrtb-t2s-analysis{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  margin-top:9px;
}

.mrtb-t2s-analysis article{
  position:relative;
  min-height:56px;
  padding:8px 8px 7px 47px;
  border:1px solid #dfe6ef;
  border-radius:14px;
  background:#fbfcff;
}

.mrtb-t2s-analysis article:last-child{
  grid-column:1 / -1;
}

.mrtb-t2s-analysis article > span{
  position:absolute;
  left:8px;
  top:8px;
  min-width:32px;
  padding:5px 3px;
  border-radius:9px;
  color:#536179;
  background:#e9eef6;
  font-size:7px;
  font-weight:1000;
  text-align:center;
}

.mrtb-t2s-analysis article.root > span{
  color:#a82f39;
  background:#ffe8ea;
}

.mrtb-t2s-analysis article.third > span{
  color:#3555b3;
  background:#e7edff;
}

.mrtb-t2s-analysis article.fifth > span{
  color:#16794f;
  background:#dff7ea;
}

.mrtb-t2s-analysis article.seventh > span{
  color:#7640a8;
  background:#f2e7ff;
}

.mrtb-t2s-analysis article.bass > span{
  color:#fff;
  background:#263044;
}

.mrtb-t2s-analysis strong,
.mrtb-t2s-analysis small{
  display:block;
}

.mrtb-t2s-analysis strong{
  color:#263044;
  font-size:12px;
  line-height:1.12;
}

.mrtb-t2s-analysis small{
  margin-top:3px;
  color:#68758a;
  font-size:8px;
  line-height:1.24;
}

.mrtb-t2s-rule{
  display:grid;
  grid-template-columns:1fr auto auto auto;
  gap:6px;
  align-items:center;
  margin-top:9px;
  padding:8px;
  border-radius:13px;
  color:#263044;
  background:linear-gradient(180deg,#fff9d4,#ffed9a);
}

.mrtb-t2s-rule > b{
  font-size:9px;
}

.mrtb-t2s-rule span{
  padding:4px 6px;
  border-radius:9px;
  background:rgba(255,255,255,.70);
  font-size:8px;
  white-space:nowrap;
}

/* ---------- Δύο οκτάβες πιάνου ---------- */

.mrtb-t2s-piano{
  position:absolute;
  left:14px;
  right:382px;
  top:var(--t2s-piano-top);
  z-index:22;
  height:var(--t2s-piano-height);
  box-sizing:border-box;
  padding:10px 12px 12px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:24px;
  background:rgba(255,255,255,.86);
  box-shadow:
    0 14px 32px rgba(36,59,96,.14),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.mrtb-t2s-piano-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  min-height:20px;
  color:#263044;
}

.mrtb-t2s-piano-label b{
  font-size:11px;
}

.mrtb-t2s-piano-label span{
  color:#68758a;
  font-size:8px;
  font-weight:800;
  text-align:right;
}

.mrtb-t2s-piano-inner{
  position:relative;
  height:137px;
  margin-top:5px;
}

.mrtb-t2s-white-keys{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(15,minmax(0,1fr));
  gap:2px;
}

.mrtb-t2s-white-keys button{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  min-width:0;
  padding:0 1px 8px;
  border:1px solid #cfd8e6;
  border-radius:0 0 9px 9px;
  color:#263044;
  background:linear-gradient(180deg,#fff,#f1f5fb);
  box-shadow:
    inset 0 -7px 0 rgba(49,66,91,.06),
    0 3px 7px rgba(35,72,92,.08);
  cursor:pointer;
}

.mrtb-t2s-white-keys button:active{
  transform:translateY(2px);
  background:linear-gradient(180deg,#fff5ba,#ffd65c);
}

.mrtb-t2s-white-keys b{
  font-size:9px;
  line-height:1;
}

.mrtb-t2s-white-keys small{
  margin-top:3px;
  color:#657189;
  font-size:7px;
  font-weight:800;
  line-height:1;
}

.mrtb-t2s-black-keys{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.mrtb-t2s-black-keys button{
  position:absolute;
  left:calc((100% / 15) * var(--key-position) - (100% / 15) * .31);
  top:0;
  z-index:3;
  width:calc((100% / 15) * .62);
  height:82px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  padding:0 1px 7px;
  border:0;
  border-radius:0 0 8px 8px;
  color:#fff;
  background:linear-gradient(180deg,#202633,#05070b);
  box-shadow:
    inset 0 -6px 0 rgba(255,255,255,.05),
    0 5px 8px rgba(0,0,0,.26);
  pointer-events:auto;
  cursor:pointer;
}

.mrtb-t2s-black-keys button:active{
  transform:translateY(2px);
  background:linear-gradient(180deg,#4b5261,#11151c);
}

.mrtb-t2s-black-keys b{
  font-size:7px;
  line-height:1;
}

.mrtb-t2s-black-keys small{
  margin-top:3px;
  color:#cbd4e2;
  font-size:6px;
  font-weight:800;
  line-height:1;
}

/* ---------- Βελάκια επεξήγησης διαστημάτων ---------- */

.mrtb-t2s-overlay{
  position:absolute;
  inset:0;
  z-index:25;
  overflow:visible;
  pointer-events:none;
}

.mrtb-t2s-overlay svg{
  position:absolute;
  inset:0;
  display:block;
  overflow:visible;
}

.mrtb-t2s-interval-guides path{
  fill:none;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:10 8;
  filter:url(#mrtbT2sShadow);
}

.mrtb-t2s-interval-guides path.third{stroke:#5174df;}
.mrtb-t2s-interval-guides path.fifth{stroke:#34b97e;}
.mrtb-t2s-interval-guides path.seventh{stroke:#a45ccf;}

.mrtb-t2s-interval-guides .root-dot{
  fill:#ef5a62;
  stroke:#fff;
  stroke-width:3;
}

.mrtb-t2s-interval-guides .third-dot{
  fill:#5174df;
  stroke:#fff;
  stroke-width:3;
}

.mrtb-t2s-interval-guides .fifth-dot{
  fill:#34b97e;
  stroke:#fff;
  stroke-width:3;
}

.mrtb-t2s-interval-guides .seventh-dot{
  fill:#a45ccf;
  stroke:#fff;
  stroke-width:3;
}

.mrtb-t2s-interval-label rect{
  fill:rgba(255,255,255,.97);
  stroke:#d8e1ed;
  stroke-width:2;
  filter:url(#mrtbT2sShadow);
}

.mrtb-t2s-interval-label text{
  fill:#263044;
  font-family:inherit;
  text-anchor:start;
}

.mrtb-t2s-interval-label text.main{
  font-size:13px;
  font-weight:1000;
}

.mrtb-t2s-interval-label text.sub{
  fill:#65738a;
  font-size:9px;
  font-weight:850;
}

.mrtb-t2s-interval-label.third rect{stroke:rgba(81,116,223,.42);}
.mrtb-t2s-interval-label.fifth rect{stroke:rgba(52,185,126,.42);}
.mrtb-t2s-interval-label.seventh rect{stroke:rgba(164,92,207,.42);}

/* Draw πάντα πάνω από όλα. */
.mrtb-app[data-scene="t2-seventh-chords"].mrtb-draw-on .mrtb-draw-canvas{
  z-index:90 !important;
}

/* ---------- Responsive ---------- */

@media (max-width:1180px){
  .mrtb-app[data-scene="t2-seventh-chords"]{
    --t2s-panel-width:330px;
    --t2s-right-space:356px;
  }

  .mrtb-t2s-staff-actions{
    right:372px !important;
  }

  .mrtb-t2s-piano{
    right:356px;
  }

  .mrtb-t2s-head{
    grid-template-columns:1fr;
  }

  .mrtb-t2s-live{
    grid-template-columns:auto 1fr;
    align-items:center;
    gap:7px;
  }

  .mrtb-t2s-live small{
    grid-column:1 / -1;
  }
}

@media (max-width:900px){
  .mrtb-app[data-scene="t2-seventh-chords"]{
    --t2s-panel-width:300px;
    --t2s-right-space:326px;
  }

  .mrtb-t2s-staff-actions{
    left:145px !important;
    right:340px !important;
  }

  .mrtb-t2s-staff-live{
    min-width:150px;
  }

  .mrtb-t2s-staff-live span{
    display:none;
  }

  .mrtb-t2s-piano{
    right:326px;
  }

  .mrtb-t2s-triad-row,
  .mrtb-t2s-analysis{
    grid-template-columns:1fr;
  }

  .mrtb-t2s-analysis article:last-child{
    grid-column:auto;
  }
}

/* =========================================================
   ΠΑΙΧΝΙΔΙ ΣΥΓΧΟΡΔΙΩΝ 7ΗΣ · 1–9 ΠΑΙΚΤΕΣ · v0.7.8
   ========================================================= */

.mrtb-app.mrtb-t2s-game-active{
  overflow:hidden !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-shell{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:minmax(0,1fr) !important;
  width:100% !important;
  height:var(--mrtb-height) !important;
  min-height:620px !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-topbar,
.mrtb-app.mrtb-t2s-game-active .mrtb-sidebar{
  display:none !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-board-wrap{
  grid-column:1 !important;
  grid-row:1 !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:hidden !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-board{
  width:100% !important;
  height:100% !important;
  min-height:620px !important;
  overflow:auto !important;
  border-radius:0 !important;
  background:
    radial-gradient(circle at 7% 10%,rgba(255,255,255,.72) 0 56px,transparent 58px),
    radial-gradient(circle at 92% 7%,rgba(255,255,255,.52) 0 72px,transparent 74px),
    linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px) 0 0/38px 38px,
    linear-gradient(0deg,rgba(255,255,255,.18) 1px,transparent 1px) 0 0/38px 38px,
    linear-gradient(145deg,#9fe6ff 0%,#dff7ff 55%,#dff5b2 100%) !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-staff,
.mrtb-app.mrtb-t2s-game-active .mrtb-t2-sevenths-scene,
.mrtb-app.mrtb-t2s-game-active .mrtb-t2s-staff-actions,
.mrtb-app.mrtb-t2s-game-active .mrtb-t2s-overlay,
.mrtb-app.mrtb-t2s-game-active .mrtb-t2s-piano,
.mrtb-app.mrtb-t2s-game-active .mrtb-draw-canvas,
.mrtb-app.mrtb-t2s-game-active .mrtb-scroll-spacer,
.mrtb-app.mrtb-t2s-game-active .mrtb-toast{
  display:none !important;
}

.mrtb-t2sg-scene,
.mrtb-t2sg-scene *{
  box-sizing:border-box;
}

.mrtb-t2sg-scene{
  position:absolute;
  inset:0;
  z-index:500;
  width:100%;
  min-height:100%;
  padding:12px;
  color:#22304a;
  font-family:inherit;
  overflow:auto;
}

.mrtb-t2sg-scene button,
.mrtb-t2sg-scene input{
  font:inherit;
}

/* ---------- Menu ---------- */

.mrtb-t2sg-scene.menu{
  display:flex;
  flex-direction:column;
  gap:14px;
  justify-content:center;
  min-height:100%;
  padding:22px clamp(16px,3vw,46px);
}

.mrtb-t2sg-menu-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  max-width:1280px;
  width:100%;
  margin:0 auto;
  padding:18px 22px;
  border:2px solid rgba(61,88,145,.15);
  border-radius:24px;
  background:rgba(255,255,255,.88);
  box-shadow:0 18px 48px rgba(31,68,100,.14);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.mrtb-t2sg-menu-head span{
  display:block;
  margin-bottom:4px;
  color:#4961a4;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.mrtb-t2sg-menu-head h2{
  margin:0;
  color:#263044;
  font-size:clamp(25px,3vw,42px);
  line-height:1.04;
  font-weight:1000;
}

.mrtb-t2sg-menu-head p{
  max-width:850px;
  margin:8px 0 0;
  color:#5f6d84;
  font-size:14px;
  line-height:1.45;
  font-weight:750;
}

.mrtb-t2sg-close,
.mrtb-t2sg-head-actions .close{
  flex:0 0 auto;
  width:42px;
  height:42px;
  border:0;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(180deg,#ff7e88,#e84355);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.14),0 8px 18px rgba(183,38,55,.20);
  font-size:26px !important;
  line-height:1;
  font-weight:1000;
  cursor:pointer;
}

.mrtb-t2sg-setup{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:14px;
  max-width:1280px;
  width:100%;
  margin:0 auto;
}

.mrtb-t2sg-setup-card{
  padding:18px;
  border:2px solid rgba(61,88,145,.14);
  border-radius:24px;
  background:rgba(255,255,255,.88);
  box-shadow:0 16px 42px rgba(31,68,100,.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.mrtb-t2sg-setup-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.mrtb-t2sg-setup-title b{
  font-size:16px;
  font-weight:1000;
}

.mrtb-t2sg-setup-title span{
  padding:5px 10px;
  border-radius:999px;
  color:#52627c;
  background:#edf3fc;
  font-size:11px;
  font-weight:950;
}

.mrtb-t2sg-counts{
  display:grid;
  grid-template-columns:repeat(9,minmax(0,1fr));
  gap:6px;
  margin-bottom:12px;
}

.mrtb-t2sg-counts button{
  min-height:38px;
  border:2px solid #d9e3f1;
  border-radius:12px;
  color:#40506a;
  background:#fff;
  font-weight:1000;
  cursor:pointer;
}

.mrtb-t2sg-counts button.active{
  color:#fff;
  border-color:#4767c8;
  background:linear-gradient(180deg,#627fda,#3553aa);
  box-shadow:0 7px 15px rgba(53,83,170,.25);
}

.mrtb-t2sg-name-inputs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

.mrtb-t2sg-name-inputs.count-1,
.mrtb-t2sg-name-inputs.count-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.mrtb-t2sg-name-inputs label{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:center;
  overflow:hidden;
  border:2px solid #dbe4f0;
  border-radius:13px;
  background:#fff;
}

.mrtb-t2sg-name-inputs label span{
  display:grid;
  place-items:center;
  align-self:stretch;
  color:#fff;
  background:#405baf;
  font-size:12px;
  font-weight:1000;
}

.mrtb-t2sg-name-inputs input{
  min-width:0;
  height:38px;
  padding:6px 9px;
  border:0;
  outline:0;
  color:#263044;
  background:transparent;
  font-weight:900;
}

.mrtb-t2sg-levels{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
}

.mrtb-t2sg-levels button{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:2px 9px;
  align-items:center;
  min-height:70px;
  padding:10px 12px;
  border:2px solid #dae3ef;
  border-radius:16px;
  text-align:left;
  color:#44516a;
  background:#fff;
  cursor:pointer;
}

.mrtb-t2sg-levels button > b{
  grid-row:1 / 3;
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  border-radius:14px;
  color:#fff;
  background:#6b7fd5;
  font-size:16px;
  font-weight:1000;
}

.mrtb-t2sg-levels button strong{
  font-size:14px;
  font-weight:1000;
}

.mrtb-t2sg-levels button small{
  color:#738096;
  font-size:10px;
  font-weight:800;
}

.mrtb-t2sg-levels button.active{
  border-color:#3f5eb8;
  background:linear-gradient(180deg,#f7f9ff,#e9efff);
  box-shadow:0 9px 20px rgba(63,94,184,.16);
}

.mrtb-t2sg-levels button.active > b{
  background:linear-gradient(180deg,#5979d5,#2f4d9e);
}

.mrtb-t2sg-start{
  align-self:center;
  min-width:270px;
  min-height:52px;
  padding:10px 26px;
  border:0;
  border-radius:17px;
  color:#17331e;
  background:linear-gradient(180deg,#c8ffb5,#5ddd81);
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.12),0 14px 28px rgba(47,145,74,.22);
  font-size:17px !important;
  font-weight:1000;
  cursor:pointer;
}

/* ---------- Game header ---------- */

.mrtb-t2sg-scene.playing{
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr);
  gap:8px;
  min-height:100%;
  padding:8px;
  overflow:hidden;
}

.mrtb-t2sg-game-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:7px 11px;
  border:2px solid rgba(52,78,137,.16);
  border-radius:16px;
  background:rgba(255,255,255,.92);
  box-shadow:0 8px 20px rgba(31,68,100,.10);
}

.mrtb-t2sg-game-head > div:first-child{
  display:flex;
  align-items:center;
  gap:10px;
}

.mrtb-t2sg-game-head span{
  color:#4058a0;
  font-size:13px;
  font-weight:1000;
}

.mrtb-t2sg-game-head strong{
  padding:5px 10px;
  border-radius:999px;
  color:#fff;
  background:#344f9c;
  font-size:12px;
  font-weight:1000;
}

.mrtb-t2sg-head-actions{
  display:flex;
  align-items:center;
  gap:7px;
}

.mrtb-t2sg-head-actions button{
  min-height:34px;
  padding:5px 11px;
  border:0;
  border-radius:11px;
  color:#25334b;
  background:linear-gradient(180deg,#d6ffc7,#66dc89);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.10),0 5px 12px rgba(31,68,100,.10);
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
}

.mrtb-t2sg-head-actions .close{
  min-width:34px;
  width:34px;
  height:34px;
  min-height:34px;
  padding:0;
  border-radius:11px;
  font-size:21px !important;
}

.mrtb-t2sg-round-banner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:34px;
  padding:5px 10px;
  border-radius:13px;
  color:#334260;
  background:rgba(255,255,255,.78);
  box-shadow:0 5px 14px rgba(31,68,100,.08);
  text-align:center;
}

.mrtb-t2sg-round-banner strong{
  font-size:13px;
  font-weight:1000;
}

.mrtb-t2sg-round-banner span{
  color:#66748b;
  font-size:10px;
  font-weight:850;
}

/* ---------- Player grid ---------- */

.mrtb-t2sg-player-grid{
  display:grid;
  min-height:0;
  gap:7px;
}

.mrtb-t2sg-player-grid.count-1{
  grid-template-columns:minmax(0,1fr);
}

.mrtb-t2sg-player-grid.count-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.mrtb-t2sg-player-grid.count-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.mrtb-t2sg-player-grid.count-4{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
}

.mrtb-t2sg-player-grid.count-5,
.mrtb-t2sg-player-grid.count-6,
.mrtb-t2sg-player-grid.count-7,
.mrtb-t2sg-player-grid.count-8,
.mrtb-t2sg-player-grid.count-9{
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:minmax(0,1fr);
}

.mrtb-t2sg-player-card{
  position:relative;
  display:grid;
  grid-template-rows:auto minmax(72px,1fr) repeat(8,auto);
  gap:5px;
  min-width:0;
  min-height:0;
  overflow:hidden;
  padding:7px;
  border:2px solid rgba(68,93,152,.18);
  border-radius:17px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 24px rgba(31,68,100,.12);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}

.mrtb-t2sg-player-card > header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  padding:1px 2px;
}

.mrtb-t2sg-player-card > header strong{
  min-width:0;
  overflow:hidden;
  color:#28354c;
  font-size:13px;
  font-weight:1000;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.mrtb-t2sg-player-card > header span{
  flex:0 0 auto;
  padding:3px 7px;
  border-radius:999px;
  color:#6d4c00;
  background:#fff1a8;
  font-size:11px;
  font-weight:1000;
}

.mrtb-t2sg-question-box{
  position:relative;
  display:grid;
  place-items:center;
  min-height:72px;
  overflow:hidden;
  padding:4px 8px;
  border:2px solid #dce5f1;
  border-radius:13px;
  background:linear-gradient(180deg,#fbfdff,#eff7fb);
}

.mrtb-t2sg-mini-staff{
  display:block;
  width:100%;
  height:100%;
  max-height:148px;
  overflow:visible;
}

.mrtb-t2sg-mini-staff .staff-lines line,
.mrtb-t2sg-mini-staff .ledgers line,
.mrtb-t2sg-mini-staff .stem{
  stroke:#283247;
  stroke-width:2.4;
  stroke-linecap:round;
}

.mrtb-t2sg-mini-staff .stem{
  stroke-width:3;
}

.mrtb-t2sg-mini-staff .clef{
  fill:#283247;
  font-family:"Bravura Text","Noto Music","Times New Roman",serif;
  font-size:72px;
}

.mrtb-t2sg-mini-staff .note ellipse{
  fill:#263044;
}

.mrtb-t2sg-mini-staff .accidental{
  fill:#263044;
  font-family:"Times New Roman",serif;
  font-size:27px;
  font-weight:900;
  text-anchor:middle;
}

.mrtb-t2sg-player-listen{
  position:absolute;
  right:5px;
  top:5px;
  width:29px;
  height:29px;
  padding:0;
  border:0;
  border-radius:10px;
  color:#17331e;
  background:linear-gradient(180deg,#d8ffc9,#68dd8b);
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.10),0 4px 9px rgba(31,68,100,.12);
  font-weight:1000;
  cursor:pointer;
}

.mrtb-t2sg-answer-row{
  display:grid;
  min-width:0;
  gap:3px;
}

.mrtb-t2sg-answer-row.roots{
  grid-template-columns:repeat(7,minmax(0,1fr));
}

.mrtb-t2sg-answer-row.qualities{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.mrtb-t2sg-answer-row.sevenths{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.mrtb-t2sg-answer-row.fifths{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.mrtb-t2sg-answer-step{
  display:flex;
  align-items:center;
  gap:5px;
  min-height:16px;
  color:#5f6e86;
  font-size:8px;
  line-height:1;
  font-weight:950;
}

.mrtb-t2sg-answer-step span{
  display:grid;
  place-items:center;
  width:15px;
  height:15px;
  border-radius:50%;
  color:#fff;
  background:#405da9;
  font-size:8px;
  font-weight:1000;
}

.mrtb-t2sg-answer-row button{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:32px;
  padding:2px 3px;
  border:2px solid #dde5f0;
  border-radius:9px;
  color:#44516a;
  background:#fff;
  cursor:pointer;
}

.mrtb-t2sg-answer-row button b{
  max-width:100%;
  overflow:hidden;
  font-size:11px;
  line-height:1;
  font-weight:1000;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.mrtb-t2sg-answer-row button small{
  max-width:100%;
  overflow:hidden;
  margin-top:2px;
  color:#7a879b;
  font-size:7px;
  line-height:1;
  font-weight:850;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.mrtb-t2sg-answer-row button:hover:not(:disabled){
  border-color:#8399d8;
  transform:translateY(-1px);
}

.mrtb-t2sg-answer-row button.active{
  color:#fff;
  border-color:#3655ae;
  background:linear-gradient(180deg,#6683dc,#3655ae);
  box-shadow:0 5px 11px rgba(54,85,174,.24);
}

.mrtb-t2sg-answer-row button.active small{
  color:rgba(255,255,255,.82);
}

.mrtb-t2sg-answer-row button:disabled{
  cursor:default;
}

.mrtb-t2sg-feedback{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:28px;
  overflow:hidden;
  padding:4px 7px;
  border-radius:9px;
  color:#637087;
  background:#eef3f8;
  font-size:9px;
  line-height:1.15;
  font-weight:900;
  text-align:center;
}

.mrtb-t2sg-feedback span{
  display:block;
}

.mrtb-t2sg-player-card.locked{
  border-color:#6482d8;
  box-shadow:0 0 0 3px rgba(80,111,202,.16),0 10px 24px rgba(31,68,100,.12);
}

.mrtb-t2sg-player-card.correct{
  border-color:#30b86c;
  background:linear-gradient(180deg,#f4fff7,#ddf8e6);
  box-shadow:0 0 0 4px rgba(48,184,108,.16),0 14px 28px rgba(27,126,70,.16);
  animation:mrtbT2sgCorrect .42s ease;
}

.mrtb-t2sg-player-card.correct .mrtb-t2sg-feedback{
  color:#12653a;
  background:#c8f2d8;
}

.mrtb-t2sg-player-card.wrong{
  border-color:#ef6670;
  background:linear-gradient(180deg,#fff7f7,#ffe1e4);
  box-shadow:0 0 0 4px rgba(239,102,112,.14),0 14px 28px rgba(159,43,54,.14);
  animation:mrtbT2sgWrong .38s ease;
}

.mrtb-t2sg-player-card.wrong .mrtb-t2sg-feedback{
  color:#8a2731;
  background:#ffd1d6;
}

@keyframes mrtbT2sgCorrect{
  0%{transform:scale(.98)}
  55%{transform:scale(1.025)}
  100%{transform:scale(1)}
}

@keyframes mrtbT2sgWrong{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-5px)}
  75%{transform:translateX(5px)}
}

/* Με 1–4 παίκτες αξιοποιούμε περισσότερο τον χώρο. */
.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-player-card,
.mrtb-t2sg-player-grid.count-2 .mrtb-t2sg-player-card,
.mrtb-t2sg-player-grid.count-3 .mrtb-t2sg-player-card,
.mrtb-t2sg-player-grid.count-4 .mrtb-t2sg-player-card{
  padding:10px;
  gap:7px;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-mini-staff,
.mrtb-t2sg-player-grid.count-2 .mrtb-t2sg-mini-staff,
.mrtb-t2sg-player-grid.count-3 .mrtb-t2sg-mini-staff,
.mrtb-t2sg-player-grid.count-4 .mrtb-t2sg-mini-staff{
  max-height:150px;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-row button,
.mrtb-t2sg-player-grid.count-2 .mrtb-t2sg-answer-row button,
.mrtb-t2sg-player-grid.count-3 .mrtb-t2sg-answer-row button,
.mrtb-t2sg-player-grid.count-4 .mrtb-t2sg-answer-row button{
  min-height:38px;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-row button b,
.mrtb-t2sg-player-grid.count-2 .mrtb-t2sg-answer-row button b,
.mrtb-t2sg-player-grid.count-3 .mrtb-t2sg-answer-row button b,
.mrtb-t2sg-player-grid.count-4 .mrtb-t2sg-answer-row button b{
  font-size:13px;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-row button small,
.mrtb-t2sg-player-grid.count-2 .mrtb-t2sg-answer-row button small,
.mrtb-t2sg-player-grid.count-3 .mrtb-t2sg-answer-row button small,
.mrtb-t2sg-player-grid.count-4 .mrtb-t2sg-answer-row button small{
  font-size:8px;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-player-card{
  width:100%;
  max-width:none;
  grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr);
  grid-template-rows:auto repeat(7,auto) auto;
  align-content:center;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-player-card > header{
  grid-column:1 / -1;
  grid-row:1;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-question-box{
  grid-column:1;
  grid-row:2 / 9;
  min-height:300px;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-row.roots{
  grid-column:2;
  grid-row:2;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-step.step-quality{
  grid-column:2;
  grid-row:3;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-row.qualities{
  grid-column:2;
  grid-row:4;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-step.step-seventh{
  grid-column:2;
  grid-row:5;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-row.sevenths{
  grid-column:2;
  grid-row:6;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-step.step-fifth{
  grid-column:2;
  grid-row:7;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-answer-row.fifths{
  grid-column:2;
  grid-row:8;
}

.mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-feedback{
  grid-column:1 / -1;
  grid-row:9;
  min-height:38px;
  font-size:12px;
}

/* Με 5–9 παίκτες η σειρά φαίνεται στο επάνω banner,
   ώστε όλες οι κάρτες να χωρούν ταυτόχρονα. */
.mrtb-t2sg-player-grid.count-5 .mrtb-t2sg-answer-step,
.mrtb-t2sg-player-grid.count-6 .mrtb-t2sg-answer-step,
.mrtb-t2sg-player-grid.count-7 .mrtb-t2sg-answer-step,
.mrtb-t2sg-player-grid.count-8 .mrtb-t2sg-answer-step,
.mrtb-t2sg-player-grid.count-9 .mrtb-t2sg-answer-step{
  display:none;
}

/* 7–9 παίκτες: compact χωρίς να κόβονται τα κουμπιά. */
.mrtb-t2sg-player-grid.count-7 .mrtb-t2sg-player-card,
.mrtb-t2sg-player-grid.count-8 .mrtb-t2sg-player-card,
.mrtb-t2sg-player-grid.count-9 .mrtb-t2sg-player-card{
  grid-template-rows:auto minmax(52px,1fr) repeat(5,auto);
  gap:3px;
  padding:5px;
  border-radius:13px;
}

.mrtb-t2sg-player-grid.count-7 .mrtb-t2sg-question-box,
.mrtb-t2sg-player-grid.count-8 .mrtb-t2sg-question-box,
.mrtb-t2sg-player-grid.count-9 .mrtb-t2sg-question-box{
  min-height:58px;
}

.mrtb-t2sg-player-grid.count-7 .mrtb-t2sg-answer-row button,
.mrtb-t2sg-player-grid.count-8 .mrtb-t2sg-answer-row button,
.mrtb-t2sg-player-grid.count-9 .mrtb-t2sg-answer-row button{
  min-height:25px;
  padding:1px 2px;
  border-radius:7px;
}

.mrtb-t2sg-player-grid.count-7 .mrtb-t2sg-answer-row button small,
.mrtb-t2sg-player-grid.count-8 .mrtb-t2sg-answer-row button small,
.mrtb-t2sg-player-grid.count-9 .mrtb-t2sg-answer-row button small{
  display:none;
}

.mrtb-t2sg-player-grid.count-7 .mrtb-t2sg-feedback,
.mrtb-t2sg-player-grid.count-8 .mrtb-t2sg-feedback,
.mrtb-t2sg-player-grid.count-9 .mrtb-t2sg-feedback{
  min-height:22px;
  padding:2px 4px;
  font-size:7px;
}

/* ---------- Final ---------- */

.mrtb-t2sg-scene.final{
  display:grid;
  place-items:center;
  min-height:100%;
  padding:24px;
}

.mrtb-t2sg-final-card{
  width:min(760px,100%);
  max-height:100%;
  overflow:auto;
  padding:24px;
  border:3px solid rgba(67,91,153,.16);
  border-radius:28px;
  background:rgba(255,255,255,.94);
  box-shadow:0 24px 70px rgba(31,68,100,.20);
  text-align:center;
}

.mrtb-t2sg-trophy{
  font-size:58px;
  line-height:1;
}

.mrtb-t2sg-final-card h2{
  margin:8px 0 4px;
  color:#263044;
  font-size:clamp(24px,4vw,42px);
  line-height:1.08;
  font-weight:1000;
}

.mrtb-t2sg-final-card > p{
  margin:0 0 14px;
  color:#6a778d;
  font-weight:850;
}

.mrtb-t2sg-ranking{
  display:grid;
  gap:7px;
  margin:0 auto 16px;
  max-width:600px;
}

.mrtb-t2sg-ranking article{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:8px 11px;
  border:2px solid #dce4ef;
  border-radius:13px;
  background:#f7f9fc;
  text-align:left;
}

.mrtb-t2sg-ranking article > span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  color:#fff;
  background:#7383a5;
  font-weight:1000;
}

.mrtb-t2sg-ranking article strong{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.mrtb-t2sg-ranking article b{
  padding:5px 9px;
  border-radius:999px;
  color:#334a92;
  background:#e5ebff;
}

.mrtb-t2sg-ranking article.winner{
  border-color:#f2c23b;
  background:linear-gradient(180deg,#fffbe4,#fff1a9);
  box-shadow:0 8px 18px rgba(190,143,23,.15);
}

.mrtb-t2sg-ranking article.winner > span{
  background:#e8af19;
}

.mrtb-t2sg-final-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}

.mrtb-t2sg-final-actions button{
  min-height:40px;
  padding:7px 14px;
  border:0;
  border-radius:12px;
  color:#33405a;
  background:#e8eef7;
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.09);
  font-weight:1000;
  cursor:pointer;
}

.mrtb-t2sg-final-actions button.again{
  color:#17331e;
  background:linear-gradient(180deg,#caffb9,#65dd87);
}

@media (max-width:980px){
  .mrtb-t2sg-setup{
    grid-template-columns:1fr;
  }

  .mrtb-t2sg-scene.menu{
    justify-content:flex-start;
  }

  .mrtb-t2sg-player-grid.count-3,
  .mrtb-t2sg-player-grid.count-5,
  .mrtb-t2sg-player-grid.count-6,
  .mrtb-t2sg-player-grid.count-7,
  .mrtb-t2sg-player-grid.count-8,
  .mrtb-t2sg-player-grid.count-9{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:auto;
  }

  .mrtb-t2sg-scene.playing{
    overflow:auto;
  }
}

@media (max-width:650px){
  .mrtb-t2sg-menu-head,
  .mrtb-t2sg-game-head,
  .mrtb-t2sg-round-banner{
    align-items:flex-start;
  }

  .mrtb-t2sg-menu-head,
  .mrtb-t2sg-game-head{
    flex-direction:column;
  }

  .mrtb-t2sg-close{
    position:absolute;
    right:18px;
    top:18px;
  }

  .mrtb-t2sg-name-inputs,
  .mrtb-t2sg-name-inputs.count-1,
  .mrtb-t2sg-name-inputs.count-2{
    grid-template-columns:1fr;
  }

  .mrtb-t2sg-player-grid,
  .mrtb-t2sg-player-grid.count-1,
  .mrtb-t2sg-player-grid.count-2,
  .mrtb-t2sg-player-grid.count-3,
  .mrtb-t2sg-player-grid.count-4,
  .mrtb-t2sg-player-grid.count-5,
  .mrtb-t2sg-player-grid.count-6,
  .mrtb-t2sg-player-grid.count-7,
  .mrtb-t2sg-player-grid.count-8,
  .mrtb-t2sg-player-grid.count-9{
    grid-template-columns:1fr;
    grid-template-rows:none;
    grid-auto-rows:auto;
  }

  .mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-player-card{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }

  .mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-player-card > *{
    grid-column:auto !important;
    grid-row:auto !important;
  }

  .mrtb-t2sg-player-grid.count-1 .mrtb-t2sg-question-box{
    min-height:130px;
  }
}

/* =========================================================
   FIX · Toolbar visible στο game Συγχορδιών 7ης
   ========================================================= */

.mrtb-app.mrtb-t2s-game-active .mrtb-shell{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:auto auto minmax(0,1fr) !important;
  gap:5px !important;
  width:100% !important;
  height:var(--mrtb-height) !important;
  min-height:620px !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-topbar{
  display:grid !important;
  grid-column:1 !important;
  grid-row:1 !important;
  visibility:visible !important;
  opacity:1 !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-sidebar{
  display:grid !important;
  grid-column:1 !important;
  grid-row:2 !important;
  grid-template-columns:1fr !important;
  height:auto !important;
  min-height:48px !important;
  max-height:none !important;
  overflow:visible !important;
  visibility:visible !important;
  opacity:1 !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-board-wrap{
  grid-column:1 !important;
  grid-row:3 !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-tools-section,
.mrtb-app.mrtb-t2s-game-active .mrtb-tools-one-line{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  overflow:visible !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-tools-section{
  flex-direction:column !important;
}

.mrtb-app.mrtb-t2s-game-active .mrtb-tools-one-line{
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:4px !important;
}


============================================================
2) assets/css/theory2-extended-chords.css
============================================================

Πήγαινε στο ΤΕΛΟΣ του αρχείου και πρόσθεσε ακριβώς αυτό:

/* =========================================================
   FIX · Toolbar visible στο game Extended chords
   ========================================================= */

.mrtb-app.mrtb-t2e-game-active .mrtb-shell{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:auto auto minmax(0,1fr) !important;
  gap:5px !important;
  width:100% !important;
  height:var(--mrtb-height) !important;
  min-height:620px !important;
}

.mrtb-app.mrtb-t2e-game-active .mrtb-topbar{
  display:grid !important;
  grid-column:1 !important;
  grid-row:1 !important;
  visibility:visible !important;
  opacity:1 !important;
}

.mrtb-app.mrtb-t2e-game-active .mrtb-sidebar{
  display:grid !important;
  grid-column:1 !important;
  grid-row:2 !important;
  grid-template-columns:1fr !important;
  height:auto !important;
  min-height:48px !important;
  max-height:none !important;
  overflow:visible !important;
  visibility:visible !important;
  opacity:1 !important;
}

.mrtb-app.mrtb-t2e-game-active .mrtb-board-wrap{
  grid-column:1 !important;
  grid-row:3 !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
}

.mrtb-app.mrtb-t2e-game-active .mrtb-tools-section,
.mrtb-app.mrtb-t2e-game-active .mrtb-tools-one-line{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  overflow:visible !important;
}

.mrtb-app.mrtb-t2e-game-active .mrtb-tools-section{
  flex-direction:column !important;
}

.mrtb-app.mrtb-t2e-game-active .mrtb-tools-one-line{
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:4px !important;
}
