/* MR Theory Board · Θεωρία 3 · Template 6
   Άλλες κλίμακες · v1.1.0 */

.mrtb-app.mrtb-t3-other-scales-active .mrtb-mini-piano{
  display:none !important;
}

.mrtb-t3-other-scales-scene,
.mrtb-t3-other-scales-scene *{
  box-sizing:border-box;
}

.mrtb-t3-other-scales-scene{
  --t3os-ink:#17253c;
  --t3os-muted:#65758e;
  --t3os-line:rgba(47,78,121,.13);
  --t3os-blue:#347bd7;
  --t3os-purple:#7558dc;
  --t3os-cyan:#20a8ba;
  --t3os-green:#2baa72;
  --t3os-orange:#eb8b31;
  --t3os-red:#e45d6a;
  --t3os-gold:#e4a51a;
  position:absolute;
  inset:8px 10px auto;
  z-index:12;
  min-height:740px;
  padding:12px;
  border:1px solid rgba(43,82,132,.14);
  border-radius:24px;
  color:var(--t3os-ink);
  background:
    radial-gradient(circle at 4% 0%,rgba(71,181,255,.22),transparent 29%),
    radial-gradient(circle at 97% 4%,rgba(128,93,238,.18),transparent 27%),
    radial-gradient(circle at 48% 100%,rgba(41,183,161,.11),transparent 34%),
    linear-gradient(154deg,rgba(255,255,255,.985),rgba(238,247,255,.97));
  box-shadow:0 16px 38px rgba(30,67,112,.14);
  overflow:hidden;
  isolation:isolate;
  font-family:inherit;
}

.mrtb-t3-other-scales-scene::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(70,101,145,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(70,101,145,.028) 1px,transparent 1px);
  background-size:24px 24px;
  mask-image:linear-gradient(to bottom,black,transparent 74%);
}

.mrtb-t3-other-scales-scene::after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  right:-85px;
  bottom:-110px;
  z-index:-1;
  border:32px solid rgba(84,110,222,.055);
  border-radius:50%;
  pointer-events:none;
}

.mrtb-t3-other-scales-scene button,
.mrtb-t3-other-scales-scene select{
  font:inherit;
}

.mrtb-t3-other-scales-scene button{
  -webkit-tap-highlight-color:transparent;
}

/* =========================================================
   Header
   ========================================================= */

.t3os-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,285px);
  gap:14px;
  align-items:center;
  margin-bottom:9px;
}

.t3os-heading{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.t3os-kicker{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:5px 10px;
  border:1px solid rgba(47,106,180,.12);
  border-radius:999px;
  color:#2468b7;
  background:linear-gradient(145deg,#edf7ff,#dfeeff);
  box-shadow:inset 0 -2px 0 rgba(41,91,155,.06);
  font-size:9px;
  font-weight:950;
  letter-spacing:.56px;
  text-transform:uppercase;
  white-space:nowrap;
}

.t3os-heading h2{
  margin:0;
  color:#17243a;
  font-size:clamp(23px,2.3vw,32px);
  line-height:1;
  letter-spacing:-.45px;
}

.t3os-heading p{
  margin:5px 0 0;
  color:#62728b;
  font-size:11px;
  font-weight:830;
}

.t3os-header-progress{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:3px 9px;
  align-items:center;
  min-height:58px;
  padding:9px 11px;
  border:1px solid rgba(48,82,126,.11);
  border-radius:16px;
  background:rgba(255,255,255,.78);
  box-shadow:0 7px 18px rgba(40,72,112,.08);
}

.t3os-header-progress > span{
  grid-row:1/3;
  min-width:47px;
  min-height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(145deg,var(--t3os-blue),var(--t3os-purple));
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.12),0 6px 12px rgba(72,77,190,.2);
  font-size:11px;
  font-weight:950;
}

.t3os-header-progress > strong{
  align-self:end;
  color:#273754;
  font-size:12px;
  line-height:1.1;
}

.t3os-header-progress > div{
  align-self:start;
  height:6px;
  overflow:hidden;
  border-radius:999px;
  background:#e7edf6;
}

.t3os-header-progress i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--t3os-blue),var(--t3os-purple));
  transition:width .24s ease;
}

/* =========================================================
   Scene navigation
   ========================================================= */

.t3os-view-tabs{
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  gap:7px;
  margin-bottom:10px;
  padding:2px 0 4px;
  overflow:auto hidden;
  scrollbar-width:thin;
}

.t3os-view-tabs button{
  min-width:130px;
  min-height:52px;
  display:grid;
  grid-template-columns:29px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:8px;
  align-items:center;
  padding:7px 10px;
  border:1px solid rgba(53,86,130,.1);
  border-radius:14px;
  color:#2c3d58;
  background:rgba(255,255,255,.83);
  box-shadow:inset 0 -3px 0 rgba(32,59,95,.06),0 5px 12px rgba(39,71,111,.07);
  cursor:pointer;
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease,color .14s ease;
}

.t3os-view-tabs button:hover{
  transform:translateY(-1px);
  box-shadow:inset 0 -3px 0 rgba(32,59,95,.06),0 8px 17px rgba(39,71,111,.11);
}

.t3os-view-tabs button > span{
  grid-row:1/3;
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#35649d;
  background:#e4effb;
  font-size:11px;
  font-weight:950;
}

.t3os-view-tabs button b{
  align-self:end;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:left;
  font-size:11px;
  line-height:1.05;
  white-space:nowrap;
}

.t3os-view-tabs button small{
  align-self:start;
  min-width:0;
  overflow:hidden;
  color:#738098;
  text-overflow:ellipsis;
  text-align:left;
  font-size:8.5px;
  font-weight:850;
  line-height:1.1;
  white-space:nowrap;
}

.t3os-view-tabs button.active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(145deg,#3478d5,#7358de);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.14),0 8px 18px rgba(57,74,183,.23);
}

.t3os-view-tabs button.active > span{
  color:#fff;
  background:rgba(255,255,255,.18);
}

.t3os-view-tabs button.active small{
  color:rgba(255,255,255,.79);
}

/* =========================================================
   Shared view structure
   ========================================================= */

.t3os-stage{
  min-width:0;
}

.t3os-view{
  display:grid;
  gap:10px;
  animation:t3os-enter .24s ease both;
}

@keyframes t3os-enter{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:none}
}

.t3os-lesson-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
}

.t3os-lesson-head > div:first-child > span,
.t3os-card-head > div:first-child > span,
.t3os-observation-card > span,
.t3os-blue-options > div:first-child > span,
.t3os-analysis-card > span,
.t3os-correction-note > span,
.t3os-lab-rule > span{
  display:block;
  margin-bottom:4px;
  color:#3774bd;
  font-size:8.5px;
  font-weight:950;
  letter-spacing:.62px;
  text-transform:uppercase;
}

.t3os-lesson-head h3{
  margin:0;
  color:#19273d;
  font-size:clamp(19px,2vw,27px);
  line-height:1.04;
  letter-spacing:-.3px;
}

.t3os-lesson-head p{
  max-width:860px;
  margin:5px 0 0;
  color:#64738b;
  font-size:11px;
  font-weight:760;
  line-height:1.38;
}

.t3os-focus-card{
  --card-accent:var(--t3os-blue);
  --card-soft:#eaf3ff;
  position:relative;
  min-width:0;
  padding:12px;
  border:1px solid rgba(46,78,120,.12);
  border-radius:21px;
  background:rgba(255,255,255,.91);
  box-shadow:0 11px 25px rgba(34,66,106,.09);
  overflow:hidden;
}

.t3os-focus-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(to bottom,var(--card-accent),transparent 88%);
}

.t3os-focus-card.minor{
  --card-accent:var(--t3os-purple);
  --card-soft:#f0ebff;
}

.t3os-focus-card.blues{
  --card-accent:#347bd7;
  --card-soft:#e7f2ff;
}

.t3os-focus-card.symmetric{
  --card-accent:var(--t3os-cyan);
  --card-soft:#e5f9fb;
}

.t3os-focus-card.lab{
  --card-accent:var(--t3os-purple);
  --card-soft:#f0eaff;
}

.t3os-card-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  margin-bottom:7px;
}

.t3os-card-head > div:first-child > span{
  color:var(--card-accent);
}

.t3os-card-head h4{
  margin:0;
  color:#19273c;
  font-size:clamp(22px,2.6vw,35px);
  line-height:1;
  letter-spacing:-.5px;
}

.t3os-card-head p{
  max-width:800px;
  margin:5px 0 0;
  color:#63728a;
  font-size:10.5px;
  font-weight:770;
  line-height:1.38;
}

/* =========================================================
   Buttons
   ========================================================= */

.t3os-play-button{
  min-width:145px;
  min-height:54px;
  display:grid;
  grid-template-columns:36px 1fr;
  grid-template-rows:auto auto;
  column-gap:8px;
  align-items:center;
  padding:7px 11px;
  border:0;
  border-radius:15px;
  color:#fff;
  background:linear-gradient(145deg,var(--t3os-blue),var(--t3os-purple));
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.13),0 8px 17px rgba(61,79,192,.23);
  cursor:pointer;
  transition:transform .14s ease,filter .14s ease,box-shadow .14s ease;
}

.t3os-play-button:hover{
  transform:translateY(-1px);
  filter:saturate(1.08);
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.13),0 11px 22px rgba(61,79,192,.27);
}

.t3os-play-button:active{
  transform:translateY(1px);
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.13),0 5px 10px rgba(61,79,192,.2);
}

.t3os-play-button > span{
  grid-row:1/3;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  font-size:19px;
  font-weight:900;
}

.t3os-play-button b{
  align-self:end;
  text-align:left;
  font-size:11px;
  line-height:1;
}

.t3os-play-button small{
  align-self:start;
  max-width:105px;
  overflow:hidden;
  color:rgba(255,255,255,.77);
  text-overflow:ellipsis;
  text-align:left;
  font-size:8px;
  font-weight:800;
  white-space:nowrap;
}

.t3os-play-button.is-blues{
  background:linear-gradient(145deg,#236dc4,#433aa6);
}

.t3os-play-button.is-symmetric{
  background:linear-gradient(145deg,#149cae,#3970cf);
}

.t3os-play-button.is-lab{
  background:linear-gradient(145deg,#7b52df,#c15ab6);
}

.t3os-segmented{
  display:flex;
  gap:6px;
  padding:5px;
  border:1px solid rgba(52,84,127,.1);
  border-radius:15px;
  background:rgba(255,255,255,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}

.t3os-segmented button{
  min-width:92px;
  min-height:43px;
  display:grid;
  gap:2px;
  place-content:center;
  border:0;
  border-radius:11px;
  color:#31425d;
  background:#edf3fa;
  cursor:pointer;
}

.t3os-segmented button b{
  font-size:11px;
}

.t3os-segmented button small{
  color:#77849a;
  font-size:8px;
  font-weight:850;
}

.t3os-segmented button.active{
  color:#fff;
  background:linear-gradient(145deg,#3377d4,#7158dc);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.12),0 5px 10px rgba(56,74,183,.18);
}

.t3os-segmented button.active small{
  color:rgba(255,255,255,.78);
}

/* =========================================================
   Staff
   ========================================================= */

.t3os-staff-shell{
  width:100%;
  margin:6px 0 8px;
  padding:4px;
  border:1px solid rgba(44,77,119,.1);
  border-radius:19px;
  background:linear-gradient(180deg,#f9fcff,#edf5fc);
  overflow:auto hidden;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
}

.t3os-staff{
  display:block;
  width:100%;
  min-width:780px;
  height:auto;
  overflow:visible;
}

.t3os-paper{
  fill:rgba(255,255,255,.92);
  stroke:rgba(42,76,120,.08);
  stroke-width:2;
}

.t3os-staff-lines line,
.t3os-ledger{
  stroke:#202a3a;
  stroke-width:2.15;
  stroke-linecap:round;
}

.t3os-clef{
  fill:#202a3a;
  font-family:"Times New Roman",serif;
  font-size:82px;
  font-weight:400;
  pointer-events:none;
}

.t3os-staff-note{
  cursor:pointer;
  outline:none;
}

.t3os-head{
  fill:#202a3a;
  stroke:#202a3a;
  stroke-width:1.4;
  transition:fill .14s ease,stroke .14s ease,filter .14s ease,transform .14s ease;
}

.t3os-stem{
  stroke:#202a3a;
  stroke-width:3.1;
  stroke-linecap:round;
  transition:stroke .14s ease;
}

.t3os-accidental{
  fill:#202a3a;
  font-family:"Times New Roman",serif;
  font-size:29px;
  font-weight:900;
  text-anchor:middle;
}

.t3os-note-name{
  fill:#1c2a40;
  font-size:13.5px;
  font-weight:950;
  text-anchor:middle;
}

.t3os-degree{
  fill:#687990;
  font-size:10px;
  font-weight:950;
  text-anchor:middle;
}

.t3os-staff-note:hover .t3os-head,
.t3os-staff-note:focus .t3os-head{
  fill:#357bd6;
  stroke:#357bd6;
  filter:drop-shadow(0 0 7px rgba(53,123,214,.42));
}

.t3os-staff-note:hover .t3os-stem,
.t3os-staff-note:focus .t3os-stem{
  stroke:#357bd6;
}

.t3os-staff-note.is-root .t3os-head{
  fill:#3379d5;
  stroke:#3379d5;
  filter:drop-shadow(0 0 7px rgba(52,122,215,.38));
}

.t3os-staff-note.is-root .t3os-stem{
  stroke:#3379d5;
}

.t3os-staff-note.is-root .t3os-note-name,
.t3os-staff-note.is-root .t3os-degree{
  fill:#245fa9;
}

.t3os-staff-note.is-focus .t3os-head{
  fill:#eba617;
  stroke:#d89200;
  filter:drop-shadow(0 0 8px rgba(242,176,31,.54));
}

.t3os-staff-note.is-focus .t3os-stem{
  stroke:#d9980b;
}

.t3os-staff-note.is-focus .t3os-note-name,
.t3os-staff-note.is-focus .t3os-degree{
  fill:#a56400;
}

.t3os-staff-note.is-essential .t3os-head{
  fill:#e95775;
  stroke:#cb3555;
  filter:drop-shadow(0 0 9px rgba(230,65,99,.54));
}

.t3os-staff-note.is-essential .t3os-stem{
  stroke:#d33d60;
}

.t3os-staff-note.is-essential .t3os-note-name,
.t3os-staff-note.is-essential .t3os-degree{
  fill:#b62b4c;
}

.t3os-staff-note.is-optional .t3os-head{
  fill:#8b59df;
  stroke:#7042c2;
  filter:drop-shadow(0 0 8px rgba(119,72,207,.44));
}

.t3os-staff-note.is-optional .t3os-stem{
  stroke:#7d4bd1;
}

.t3os-staff-note.is-optional .t3os-note-name,
.t3os-staff-note.is-optional .t3os-degree{
  fill:#6738b5;
}

.t3os-staff-note.is-omitted{
  opacity:.67;
}

.t3os-staff-note.is-omitted .t3os-head{
  fill:#fff;
  stroke:#d34c5a;
  stroke-width:3;
}

.t3os-staff-note.is-omitted .t3os-stem{
  stroke:#d35a66;
  stroke-dasharray:4 3;
}

.t3os-staff-note.is-omitted .t3os-note-name,
.t3os-staff-note.is-omitted .t3os-degree{
  fill:#b43648;
}

.t3os-remove-cross{
  stroke:#d83f51;
  stroke-width:4;
  stroke-linecap:round;
  pointer-events:none;
}

.t3os-removed-label{
  fill:#bc3145;
  font-size:7.5px;
  font-weight:950;
  letter-spacing:.45px;
  text-anchor:middle;
}

.t3os-staff-note.is-playing .t3os-head,
.t3os-note-chip.is-playing{
  animation:t3os-pulse-note .21s ease;
}

@keyframes t3os-pulse-note{
  0%{transform:scale(1)}
  45%{transform:scale(1.22)}
  100%{transform:scale(1)}
}

.t3os-staff-note.is-playing .t3os-head{
  fill:#ff6e83;
  stroke:#e74061;
  filter:drop-shadow(0 0 10px rgba(255,89,119,.64));
}

.t3os-step-arcs path{
  fill:none;
  stroke:#56a2d1;
  stroke-width:1.65;
  stroke-linecap:round;
  opacity:.85;
}

.t3os-step-arcs text{
  fill:#2b78a9;
  font-size:9px;
  font-weight:950;
  text-anchor:middle;
}

.t3os-step-tick{
  stroke:#56a2d1;
  stroke-width:1.2;
  opacity:.7;
}

.t3os-interval-arrows > path{
  fill:none;
  stroke:#e5a31a;
  stroke-width:2.1;
  stroke-linecap:round;
}

.t3os-interval-arrows marker path{
  fill:#e5a31a;
}

.t3os-arrow-label rect{
  fill:#fff2c7;
  stroke:#e3a31c;
  stroke-width:1.3;
}

.t3os-arrow-label text{
  fill:#9d6200;
  font-size:9.5px;
  font-weight:950;
  text-anchor:middle;
}

.t3os-staff-caption{
  fill:#6c7d94;
  font-size:9px;
  font-weight:850;
  text-anchor:middle;
}

/* =========================================================
   Formula and note chips
   ========================================================= */

.t3os-formula-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(56px,1fr));
  gap:6px;
  margin-top:8px;
}

.t3os-formula-row > span{
  min-height:47px;
  display:grid;
  place-content:center;
  gap:2px;
  border:1px solid rgba(45,78,122,.09);
  border-radius:12px;
  text-align:center;
  background:#f0f5fb;
}

.t3os-formula-row b{
  color:#243652;
  font-size:13px;
  line-height:1;
}

.t3os-formula-row small{
  color:#7a8799;
  font-size:7px;
  font-weight:850;
  text-transform:uppercase;
}

.t3os-formula-row > span.is-focus{
  border-color:rgba(226,158,17,.25);
  background:linear-gradient(145deg,#fff5d6,#ffe9a9);
  box-shadow:inset 0 -2px 0 rgba(177,113,0,.08);
}

.t3os-formula-row > span.is-focus b{
  color:#9f6400;
}

.t3os-note-chip{
  min-width:47px;
  min-height:45px;
  display:grid;
  place-content:center;
  gap:2px;
  padding:5px 8px;
  border:1px solid rgba(50,83,128,.11);
  border-radius:11px;
  color:#253753;
  background:#eff5fb;
  box-shadow:inset 0 -2px 0 rgba(34,61,96,.05);
  cursor:pointer;
}

.t3os-note-chip b{
  font-size:12px;
  line-height:1;
}

.t3os-note-chip small{
  color:#728097;
  font-size:7.5px;
  font-weight:850;
}

.t3os-note-chip:hover{
  border-color:rgba(52,123,214,.25);
  background:#e8f2ff;
}

.t3os-note-chip.is-removed{
  color:#b52f41;
  border-color:rgba(205,62,80,.22);
  background:#fff0f2;
  text-decoration:line-through;
}

/* =========================================================
   Pentatonic
   ========================================================= */

.t3os-pentatonic-summary{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);
  gap:9px;
  margin-top:7px;
}

.t3os-result-notes,
.t3os-remove-box{
  padding:9px 10px;
  border:1px solid rgba(45,78,122,.09);
  border-radius:14px;
  background:#f7faff;
}

.t3os-result-notes > small,
.t3os-remove-box > small,
.t3os-lab-result > div > small{
  display:block;
  margin-bottom:6px;
  color:#657790;
  font-size:8px;
  font-weight:950;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.t3os-result-notes > div,
.t3os-remove-box > div,
.t3os-lab-result > div > div{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}

.t3os-remove-box{
  border-color:rgba(205,65,83,.13);
  background:#fff6f7;
}

.t3os-remove-box p{
  margin:7px 0 0;
  color:#78626a;
  font-size:9px;
  font-weight:760;
  line-height:1.35;
}

.t3os-observation-card{
  display:grid;
  grid-template-columns:minmax(160px,.55fr) minmax(0,1.4fr) auto;
  gap:10px 14px;
  align-items:center;
  padding:10px 12px;
  border:1px solid rgba(29,154,137,.16);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(235,252,248,.95),rgba(242,249,255,.94));
  box-shadow:0 7px 17px rgba(43,102,112,.07);
}

.t3os-observation-card > span{
  grid-row:1/3;
  align-self:center;
  margin:0;
  color:#198b7d;
}

.t3os-observation-card strong{
  align-self:end;
  color:#244642;
  font-size:11px;
}

.t3os-observation-card p{
  align-self:start;
  margin:0;
  color:#5d7472;
  font-size:9px;
  font-weight:760;
  line-height:1.35;
}

.t3os-observation-card button{
  grid-column:3;
  grid-row:1/3;
  min-height:37px;
  padding:7px 11px;
  border:0;
  border-radius:11px;
  color:#fff;
  background:linear-gradient(145deg,#24a18f,#347bc7);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.11),0 5px 11px rgba(31,131,138,.16);
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}

/* =========================================================
   Blues
   ========================================================= */

.t3os-blues-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,285px);
  gap:10px;
  align-items:start;
}

.t3os-essential-badge,
.t3os-quality-badge{
  min-width:128px;
  display:grid;
  gap:2px;
  padding:9px 11px;
  border-left:5px solid #e94d6f;
  border-radius:13px;
  background:#fff0f4;
}

.t3os-essential-badge span,
.t3os-essential-badge small,
.t3os-quality-badge small{
  color:#8e5262;
  font-size:7.5px;
  font-weight:900;
  text-transform:uppercase;
}

.t3os-essential-badge b{
  color:#bd2e50;
  font-size:16px;
  line-height:1;
}

.t3os-essential-badge small{
  text-transform:none;
}

.t3os-blue-note-core{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:8px;
}

.t3os-blue-note-core article{
  padding:9px 10px;
  border:1px solid rgba(48,81,124,.1);
  border-radius:14px;
  background:linear-gradient(145deg,#f7faff,#eef5fd);
}

.t3os-blue-note-core span{
  display:block;
  margin-bottom:3px;
  color:#3575bd;
  font-size:7.5px;
  font-weight:950;
  text-transform:uppercase;
}

.t3os-blue-note-core strong{
  color:#243752;
  font-size:11px;
}

.t3os-blue-note-core p{
  margin:5px 0 0;
  color:#65748a;
  font-size:8.5px;
  font-weight:740;
  line-height:1.36;
}

.t3os-blue-options{
  display:grid;
  gap:9px;
  padding:11px;
  border:1px solid rgba(57,84,137,.12);
  border-radius:19px;
  background:linear-gradient(155deg,rgba(248,250,255,.96),rgba(239,242,255,.95));
  box-shadow:0 9px 21px rgba(51,61,126,.08);
}

.t3os-blue-options h4{
  margin:0;
  color:#222f49;
  font-size:18px;
  line-height:1;
}

.t3os-blue-options > div:first-child > span{
  color:#7558cf;
}

.t3os-blue-options > div:first-child p{
  margin:5px 0 0;
  color:#6d7490;
  font-size:9px;
  font-weight:750;
  line-height:1.35;
}

.t3os-option-list{
  display:grid;
  gap:7px;
}

.t3os-option-list button{
  min-height:60px;
  display:grid;
  grid-template-columns:28px 39px 1fr;
  gap:7px;
  align-items:center;
  padding:7px 8px;
  border:1px solid rgba(65,86,135,.1);
  border-radius:13px;
  color:#34425d;
  background:#fff;
  text-align:left;
  cursor:pointer;
  transition:transform .13s ease,background .13s ease,border-color .13s ease;
}

.t3os-option-list button:hover{
  transform:translateX(2px);
  border-color:rgba(112,77,203,.24);
}

.t3os-option-list button > span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#7257cc;
  background:#eee9ff;
  font-size:13px;
  font-weight:950;
}

.t3os-option-list button b{
  color:#6041b2;
  font-size:13px;
}

.t3os-option-list button small{
  color:#737b92;
  font-size:8px;
  font-weight:760;
  line-height:1.3;
}

.t3os-option-list button.active{
  border-color:rgba(113,76,205,.28);
  background:linear-gradient(145deg,#f2edff,#e8f2ff);
  box-shadow:inset 0 -2px 0 rgba(84,54,169,.07);
}

.t3os-option-list button.active > span{
  color:#fff;
  background:linear-gradient(145deg,#7655d8,#3f7dd4);
}

.t3os-reset-button{
  min-height:35px;
  padding:6px 10px;
  border:1px solid rgba(68,86,130,.12);
  border-radius:10px;
  color:#59657b;
  background:#eef2f8;
  font-size:8.5px;
  font-weight:900;
  cursor:pointer;
}

/* =========================================================
   Symmetric scales
   ========================================================= */

.t3os-scale-tabs{
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  gap:7px;
  overflow:auto hidden;
  padding-bottom:3px;
}

.t3os-scale-tabs button{
  min-width:130px;
  min-height:58px;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  gap:2px 8px;
  align-items:center;
  padding:7px 9px;
  border:1px solid rgba(49,83,127,.1);
  border-radius:14px;
  color:#30415d;
  background:rgba(255,255,255,.82);
  cursor:pointer;
}

.t3os-scale-tabs button > span{
  grid-row:1/3;
  min-width:49px;
  min-height:34px;
  display:grid;
  place-items:center;
  padding:4px 6px;
  border-radius:10px;
  color:#267b8d;
  background:#e4f6f8;
  font-size:9px;
  font-weight:950;
}

.t3os-scale-tabs button b{
  align-self:end;
  text-align:left;
  font-size:10px;
}

.t3os-scale-tabs button small{
  align-self:start;
  color:#758097;
  text-align:left;
  font-size:8px;
  font-weight:820;
}

.t3os-scale-tabs button.active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(145deg,#159bad,#4271cf);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.13),0 7px 15px rgba(30,116,158,.2);
}

.t3os-scale-tabs button.active > span{
  color:#fff;
  background:rgba(255,255,255,.16);
}

.t3os-scale-tabs button.active small{
  color:rgba(255,255,255,.76);
}

.t3os-symmetric-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:9px;
}

.t3os-octave-visual,
.t3os-analysis-card{
  min-width:0;
  padding:10px;
  border:1px solid rgba(47,80,123,.1);
  border-radius:17px;
  background:rgba(255,255,255,.86);
  box-shadow:0 7px 17px rgba(39,71,110,.07);
}

.t3os-octave-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-bottom:8px;
}

.t3os-octave-head small{
  display:block;
  color:#6c7a90;
  font-size:7.5px;
  font-weight:900;
  text-transform:uppercase;
}

.t3os-octave-head strong{
  color:#253650;
  font-size:12px;
}

.t3os-octave-head > span{
  padding:7px 10px;
  border-radius:10px;
  color:#fff;
  background:linear-gradient(145deg,#179bad,#4773ce);
  font-size:10px;
  font-weight:950;
  white-space:nowrap;
}

.t3os-semitone-strip{
  display:grid;
  grid-template-columns:repeat(12,minmax(25px,1fr));
  gap:3px;
}

.t3os-semitone-strip > span{
  position:relative;
  min-height:43px;
  display:grid;
  place-content:center;
  gap:1px;
  border:1px solid rgba(55,85,126,.08);
  border-radius:7px;
  color:#7a8596;
  background:#edf2f7;
  text-align:center;
}

.t3os-semitone-strip > span::after{
  content:"";
  position:absolute;
  right:-3px;
  top:4px;
  bottom:4px;
  width:1px;
  background:transparent;
}

.t3os-semitone-strip > span.is-boundary::after{
  width:3px;
  border-radius:3px;
  background:#2c90a6;
}

.t3os-semitone-strip > span.is-note{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(145deg,#2c9eb0,#4776d1);
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.1);
}

.t3os-semitone-strip b{
  font-size:9px;
}

.t3os-semitone-strip small{
  font-size:7px;
  font-weight:850;
}

.t3os-cell-pattern{
  display:grid;
  grid-template-columns:repeat(var(--t3os-repeat),minmax(18px,1fr));
  gap:3px;
  margin-top:5px;
}

.t3os-cell-pattern span{
  min-width:0;
  display:grid;
  place-content:center;
  min-height:29px;
  border-radius:7px;
  color:#247c8c;
  background:#e3f4f6;
  text-align:center;
}

.t3os-cell-pattern b{
  font-size:7.5px;
  line-height:1;
}

.t3os-cell-pattern small{
  margin-top:2px;
  overflow:hidden;
  color:#66868d;
  text-overflow:ellipsis;
  font-size:5.5px;
  font-weight:800;
  white-space:nowrap;
}

.t3os-octave-visual > p{
  margin:7px 0 0;
  color:#68768b;
  font-size:9px;
  font-weight:760;
  line-height:1.35;
}

.t3os-analysis-card > span{
  color:#1590a1;
}

.t3os-analysis-card h4{
  margin:0;
  color:#21364d;
  font-size:17px;
  line-height:1.05;
}

.t3os-analysis-card > p{
  margin:6px 0 8px;
  color:#657589;
  font-size:8.7px;
  font-weight:750;
  line-height:1.37;
}

.t3os-interval-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
}

.t3os-interval-cards article{
  min-width:0;
  display:grid;
  place-content:center;
  min-height:64px;
  padding:6px;
  border:1px solid rgba(33,142,157,.12);
  border-radius:11px;
  background:#eaf8f9;
  text-align:center;
}

.t3os-interval-cards span{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  margin:0 auto 3px;
  border-radius:50%;
  color:#fff;
  background:#2494a5;
  font-size:8px;
  font-weight:950;
}

.t3os-interval-cards strong{
  overflow:hidden;
  color:#235b64;
  text-overflow:ellipsis;
  font-size:10px;
  white-space:nowrap;
}

.t3os-interval-cards small{
  margin-top:2px;
  color:#67868b;
  font-size:6.5px;
  font-weight:800;
  line-height:1.15;
}

.t3os-quality-badge{
  border-left-color:var(--card-accent);
  background:var(--card-soft);
}

.t3os-quality-badge small{
  color:#62728a;
}

.t3os-quality-badge strong{
  max-width:180px;
  color:#25475a;
  font-size:12px;
  line-height:1.1;
}

.t3os-correction-note{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:center;
  padding:8px 11px;
  border:1px solid rgba(225,154,28,.17);
  border-radius:14px;
  background:#fff8e8;
}

.t3os-correction-note > span{
  margin:0;
  color:#a46a08;
}

.t3os-correction-note p{
  margin:0;
  color:#75654b;
  font-size:8.7px;
  font-weight:740;
  line-height:1.35;
}

/* =========================================================
   Scale Lab
   ========================================================= */

.t3os-lab-controls{
  display:grid;
  grid-template-columns:minmax(160px,.7fr) minmax(330px,1.55fr) minmax(170px,.75fr);
  gap:8px;
  align-items:stretch;
}

.t3os-lab-controls > label,
.t3os-parts-control,
.t3os-equation-card{
  min-width:0;
  display:grid;
  gap:5px;
  padding:9px 10px;
  border:1px solid rgba(51,82,126,.1);
  border-radius:15px;
  background:rgba(255,255,255,.85);
  box-shadow:0 6px 14px rgba(39,70,110,.06);
}

.t3os-lab-controls > label > span,
.t3os-parts-control > span,
.t3os-equation-card > span{
  color:#67778f;
  font-size:7.5px;
  font-weight:950;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.t3os-lab-controls select{
  width:100%;
  min-height:37px;
  padding:0 10px;
  border:0;
  border-radius:10px;
  color:#2a3b57;
  background:#edf3fb;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

.t3os-parts-control > div{
  display:grid;
  grid-template-columns:repeat(5,minmax(52px,1fr));
  gap:5px;
}

.t3os-parts-control button{
  min-height:39px;
  display:grid;
  place-content:center;
  gap:1px;
  border:0;
  border-radius:10px;
  color:#3d4961;
  background:#eef2f8;
  cursor:pointer;
}

.t3os-parts-control button b{
  font-size:12px;
  line-height:1;
}

.t3os-parts-control button small{
  color:#7b8496;
  font-size:6.5px;
  font-weight:850;
}

.t3os-parts-control button.active{
  color:#fff;
  background:linear-gradient(145deg,#7954d9,#4774d1);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.12),0 5px 10px rgba(78,70,179,.18);
}

.t3os-parts-control button.active small{
  color:rgba(255,255,255,.76);
}

.t3os-equation-card{
  align-content:center;
  border-color:rgba(119,79,207,.15);
  background:linear-gradient(145deg,#f4efff,#edf4ff);
}

.t3os-equation-card strong{
  color:#6241b3;
  font-size:19px;
  line-height:1;
}

.t3os-equation-card small{
  color:#6c6c8b;
  font-size:7.5px;
  font-weight:800;
}

.t3os-lab-result{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);
  gap:8px;
  margin-top:7px;
}

.t3os-lab-result > div,
.t3os-lab-result > article{
  padding:9px 10px;
  border:1px solid rgba(52,82,126,.1);
  border-radius:14px;
  background:#f7f9fd;
}

.t3os-lab-result > article{
  border-color:rgba(112,74,201,.14);
  background:#f4efff;
}

.t3os-lab-result article > span{
  display:block;
  margin-bottom:3px;
  color:#7452c9;
  font-size:7.5px;
  font-weight:950;
  text-transform:uppercase;
}

.t3os-lab-result article strong{
  color:#503495;
  font-size:12px;
}

.t3os-lab-result article p{
  margin:4px 0 0;
  color:#706a82;
  font-size:8px;
  font-weight:750;
  line-height:1.34;
}

.t3os-lab-rule{
  padding:9px 11px;
  border:1px solid rgba(42,149,126,.15);
  border-radius:14px;
  background:#ebfaf5;
}

.t3os-lab-rule > span{
  color:#228d75;
}

.t3os-lab-rule p{
  margin:0;
  color:#5e766f;
  font-size:8.7px;
  font-weight:750;
  line-height:1.35;
}

/* =========================================================
   Toast and focus
   ========================================================= */

.t3os-toast{
  position:fixed;
  left:50%;
  bottom:20px;
  z-index:9999;
  max-width:min(420px,calc(100vw - 28px));
  padding:9px 13px;
  border-radius:12px;
  color:#fff;
  background:rgba(26,38,58,.94);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  font-size:10px;
  font-weight:850;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,10px);
  transition:opacity .16s ease,transform .16s ease;
}

.t3os-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}

.mrtb-t3-other-scales-scene button:focus-visible,
.mrtb-t3-other-scales-scene select:focus-visible,
.t3os-staff-note:focus-visible{
  outline:3px solid rgba(49,122,214,.33);
  outline-offset:2px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width:980px){
  .mrtb-t3-other-scales-scene{
    inset:7px 7px auto;
    padding:10px;
    border-radius:20px;
  }

  .t3os-header{
    grid-template-columns:minmax(0,1fr) minmax(190px,235px);
  }

  .t3os-kicker{
    display:none;
  }

  .t3os-blues-grid,
  .t3os-symmetric-grid{
    grid-template-columns:1fr;
  }

  .t3os-blue-options{
    grid-template-columns:minmax(180px,.55fr) minmax(0,1.45fr) auto;
    align-items:center;
  }

  .t3os-option-list{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .t3os-option-list button{
    grid-template-columns:26px 33px 1fr;
  }

  .t3os-reset-button{
    align-self:stretch;
    max-width:120px;
  }

  .t3os-lab-controls{
    grid-template-columns:minmax(145px,.65fr) minmax(0,1.35fr);
  }

  .t3os-equation-card{
    grid-column:1/-1;
    grid-template-columns:auto auto 1fr;
    align-items:center;
  }

  .t3os-equation-card > span{
    margin-right:auto;
  }

  .t3os-equation-card small{
    text-align:right;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width:720px){
  .mrtb-t3-other-scales-scene{
    inset:5px 5px auto;
    min-height:720px;
    padding:8px;
    border-radius:17px;
  }

  .t3os-header{
    grid-template-columns:1fr;
    gap:7px;
  }

  .t3os-heading{
    gap:8px;
  }

  .t3os-heading h2{
    font-size:22px;
  }

  .t3os-heading p{
    margin-top:3px;
    font-size:9px;
  }

  .t3os-header-progress{
    min-height:auto;
    grid-template-columns:42px 1fr;
    padding:6px 8px;
  }

  .t3os-header-progress > span{
    min-width:42px;
    min-height:31px;
  }

  .t3os-view-tabs{
    grid-template-columns:repeat(4,118px);
    gap:5px;
    margin:0 -2px 8px;
    padding:1px 2px 4px;
  }

  .t3os-view-tabs button{
    min-width:118px;
    min-height:47px;
    grid-template-columns:25px 1fr;
    column-gap:6px;
    padding:6px 7px;
    border-radius:12px;
  }

  .t3os-view-tabs button > span{
    width:25px;
    height:25px;
  }

  .t3os-lesson-head,
  .t3os-card-head{
    grid-template-columns:1fr;
    gap:7px;
  }

  .t3os-lesson-head h3{
    font-size:19px;
  }

  .t3os-lesson-head p,
  .t3os-card-head p{
    font-size:9px;
  }

  .t3os-play-button{
    width:100%;
    min-width:0;
    min-height:45px;
    grid-template-columns:31px 1fr;
    border-radius:12px;
  }

  .t3os-play-button > span{
    width:31px;
    height:31px;
    font-size:16px;
  }

  .t3os-play-button small{
    max-width:none;
  }

  .t3os-segmented{
    width:100%;
  }

  .t3os-segmented button{
    flex:1;
    min-width:0;
  }

  .t3os-focus-card{
    padding:9px;
    border-radius:17px;
  }

  .t3os-card-head h4{
    font-size:22px;
  }

  .t3os-staff-shell{
    margin-left:-2px;
    margin-right:-2px;
    border-radius:15px;
  }

  .t3os-staff{
    min-width:760px;
  }

  .t3os-pentatonic-summary,
  .t3os-blue-note-core,
  .t3os-lab-result{
    grid-template-columns:1fr;
  }

  .t3os-observation-card{
    grid-template-columns:1fr;
    gap:5px;
  }

  .t3os-observation-card > span,
  .t3os-observation-card button{
    grid-column:auto;
    grid-row:auto;
  }

  .t3os-observation-card button{
    width:100%;
  }

  .t3os-blues-grid{
    grid-template-columns:1fr;
  }

  .t3os-essential-badge,
  .t3os-quality-badge{
    min-width:0;
  }

  .t3os-blue-options{
    grid-template-columns:1fr;
    padding:9px;
  }

  .t3os-option-list{
    grid-template-columns:1fr;
  }

  .t3os-reset-button{
    max-width:none;
  }

  .t3os-scale-tabs{
    grid-template-columns:repeat(4,132px);
    gap:5px;
  }

  .t3os-symmetric-grid{
    grid-template-columns:1fr;
  }

  .t3os-semitone-strip{
    min-width:540px;
  }

  .t3os-octave-visual{
    overflow:auto hidden;
  }

  .t3os-cell-pattern{
    min-width:540px;
  }

  .t3os-analysis-card{
    padding:9px;
  }

  .t3os-correction-note{
    grid-template-columns:1fr;
    gap:3px;
  }

  .t3os-lab-controls{
    grid-template-columns:1fr;
  }

  .t3os-equation-card{
    grid-column:auto;
    grid-template-columns:1fr;
  }

  .t3os-equation-card small{
    text-align:left;
  }

  .t3os-parts-control > div{
    grid-template-columns:repeat(5,minmax(45px,1fr));
  }

  .t3os-note-chip{
    min-width:43px;
  }

  .t3os-formula-row{
    display:flex;
    gap:5px;
    overflow:auto hidden;
    padding-bottom:3px;
  }

  .t3os-formula-row > span{
    flex:0 0 54px;
  }
}

@media (max-width:420px){
  .mrtb-t3-other-scales-scene{
    inset:4px 3px auto;
    padding:7px;
  }

  .t3os-heading h2{
    font-size:20px;
  }

  .t3os-view-tabs{
    grid-template-columns:repeat(4,108px);
  }

  .t3os-view-tabs button{
    min-width:108px;
  }

  .t3os-view-tabs button b{
    font-size:9.5px;
  }

  .t3os-card-head h4{
    font-size:20px;
  }

  .t3os-parts-control > div{
    grid-template-columns:repeat(3,1fr);
  }

  .t3os-parts-control button:last-child:nth-child(5){
    grid-column:2;
  }

  .t3os-interval-cards{
    grid-template-columns:1fr;
  }

  .t3os-interval-cards article{
    grid-template-columns:28px 1fr;
    grid-template-rows:auto auto;
    column-gap:7px;
    min-height:48px;
    place-content:initial;
    align-items:center;
    text-align:left;
  }

  .t3os-interval-cards span{
    grid-row:1/3;
    margin:0;
  }

  .t3os-interval-cards strong,
  .t3os-interval-cards small{
    text-align:left;
  }
}

@media (prefers-reduced-motion:reduce){
  .mrtb-t3-other-scales-scene *,
  .mrtb-t3-other-scales-scene *::before,
  .mrtb-t3-other-scales-scene *::after{
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}


/* MR Theory Board · Θεωρία 3 · Template 6
   Άλλες κλίμακες · symmetric compact fix · v1.0.2 */

.mrtb-t3-other-scales-scene{
  min-height:620px;
}

.t3os-symmetric-view{
  gap:7px;
}

.t3os-focus-card.symmetric{
  padding:8px 10px;
}

.t3os-focus-card.symmetric .t3os-staff-shell{
  margin:3px 0 5px;
}

.t3os-focus-card.symmetric .t3os-staff{
  min-width:740px;
}

.t3os-symmetric-support{
  grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);
  gap:6px;
}

.t3os-octave-visual.compact,
.t3os-analysis-card.compact{
  padding:7px 8px;
  border-radius:14px;
}

.t3os-octave-head{
  margin-bottom:5px;
}

.t3os-octave-head strong{
  font-size:10.5px;
}

.t3os-octave-head > span{
  padding:5px 8px;
  font-size:8.5px;
}

.t3os-semitone-strip{
  grid-template-columns:repeat(12,minmax(22px,1fr));
  gap:2px;
}

.t3os-semitone-strip > span{
  min-height:28px;
  border-radius:6px;
}

.t3os-semitone-strip b{
  font-size:8px;
}

.t3os-semitone-strip small{
  font-size:6px;
}

.t3os-octave-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
  margin-top:5px;
}

.t3os-pattern-chip{
  min-width:0;
  display:grid;
  align-content:center;
  min-height:38px;
  padding:5px 7px;
  border:1px solid rgba(44,86,126,.09);
  border-radius:10px;
  background:#eef6fb;
}

.t3os-pattern-chip.wide{
  background:#f5fbff;
}

.t3os-pattern-chip b{
  color:#257d8e;
  font-size:6.8px;
  font-weight:950;
  line-height:1.05;
  letter-spacing:.45px;
  text-transform:uppercase;
}

.t3os-pattern-chip small{
  margin-top:2px;
  color:#5f7288;
  font-size:7.2px;
  font-weight:820;
  line-height:1.2;
}

.t3os-analysis-card h4{
  font-size:13px;
}

.t3os-analysis-card > p{
  margin:4px 0 6px;
  font-size:7.6px;
  line-height:1.28;
}

.t3os-interval-cards{
  gap:4px;
}

.t3os-interval-cards article{
  min-height:46px;
  padding:5px;
}

.t3os-interval-cards span{
  width:19px;
  height:19px;
  margin:0 auto 2px;
  font-size:7px;
}

.t3os-interval-cards strong{
  font-size:8.5px;
}

.t3os-interval-cards small{
  font-size:5.8px;
}

.t3os-symmetric-summary{
  padding:6px 9px;
}

@media (max-width: 1220px){
  .t3os-octave-meta{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 980px){
  .t3os-symmetric-support{
    grid-template-columns:1fr;
  }

  .t3os-focus-card.symmetric .t3os-staff{
    min-width:700px;
  }
}

@media (max-width: 640px){
  .t3os-octave-meta{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   Scale Lab · Custom tone/semitone builder · v1.1.0
   ========================================================= */

.t3os-lab-view{
  gap:8px;
}

.t3os-lab-topbar{
  display:grid;
  grid-template-columns:minmax(145px,.55fr) minmax(0,2fr) minmax(145px,.55fr);
  gap:8px;
  align-items:stretch;
}

.t3os-lab-root-control,
.t3os-lab-presets,
.t3os-lab-total,
.t3os-step-builder{
  min-width:0;
  padding:9px 10px;
  border:1px solid rgba(51,82,126,.1);
  border-radius:15px;
  background:rgba(255,255,255,.88);
  box-shadow:0 6px 14px rgba(39,70,110,.06);
}

.t3os-lab-root-control,
.t3os-lab-total{
  display:grid;
  align-content:center;
  gap:5px;
}

.t3os-lab-root-control > span,
.t3os-lab-presets > span,
.t3os-lab-total > span,
.t3os-step-builder-head span,
.t3os-lab-notes-panel > span,
.t3os-lab-name-panel > span,
.t3os-lab-interval-panel > span{
  color:#6a7890;
  font-size:7.5px;
  font-weight:950;
  letter-spacing:.52px;
  text-transform:uppercase;
}

.t3os-lab-root-control select{
  width:100%;
  min-height:38px;
  padding:0 10px;
  border:0;
  border-radius:10px;
  color:#2a3b57;
  background:#edf3fb;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

.t3os-lab-presets{
  display:grid;
  gap:6px;
}

.t3os-lab-presets > div{
  display:flex;
  gap:5px;
  overflow:auto hidden;
  padding-bottom:2px;
  scrollbar-width:thin;
}

.t3os-lab-presets button{
  flex:0 0 auto;
  min-width:102px;
  min-height:38px;
  display:grid;
  align-content:center;
  gap:1px;
  padding:5px 8px;
  border:1px solid rgba(71,83,129,.08);
  border-radius:10px;
  color:#3c4962;
  background:#eef2f8;
  text-align:left;
  cursor:pointer;
}

.t3os-lab-presets button b{
  font-size:8.5px;
  line-height:1.05;
}

.t3os-lab-presets button small{
  color:#79839a;
  font-size:6.5px;
  font-weight:820;
}

.t3os-lab-presets button.active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(145deg,#7954d9,#4774d1);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.12),0 5px 10px rgba(78,70,179,.18);
}

.t3os-lab-presets button.active small{
  color:rgba(255,255,255,.78);
}

.t3os-lab-total{
  border-color:rgba(119,79,207,.14);
  background:linear-gradient(145deg,#f5f0ff,#edf4ff);
}

.t3os-lab-total strong{
  color:#6041b1;
  font-size:20px;
  line-height:1;
}

.t3os-lab-total small{
  color:#6d6c88;
  font-size:7.5px;
  font-weight:800;
  line-height:1.2;
}

.t3os-lab-total.is-complete{
  border-color:rgba(37,164,117,.2);
  background:linear-gradient(145deg,#eafaf3,#e8f8ff);
}

.t3os-lab-total.is-complete strong{
  color:#238d68;
}

.t3os-step-builder{
  display:grid;
  gap:7px;
  border-color:rgba(89,75,183,.12);
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(245,242,255,.92));
}

.t3os-step-builder-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}

.t3os-step-builder-head > div:first-child{
  display:grid;
  gap:2px;
}

.t3os-step-builder-head strong{
  color:#48347f;
  font-size:13px;
}

.t3os-step-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:5px;
}

.t3os-step-actions button{
  min-width:72px;
  min-height:38px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:0 5px;
  align-items:center;
  padding:5px 8px;
  border:0;
  border-radius:10px;
  color:#46536b;
  background:#e9eef5;
  cursor:pointer;
}

.t3os-step-actions button b{
  grid-row:1/3;
  font-size:13px;
  line-height:1;
}

.t3os-step-actions button small{
  font-size:6.5px;
  font-weight:850;
}

.t3os-step-actions button.is-half{
  color:#167e92;
  background:#dff6f8;
}

.t3os-step-actions button.is-tone{
  color:#365db1;
  background:#e3ecff;
}

.t3os-step-actions button:disabled,
.t3os-play-button:disabled{
  filter:grayscale(.35);
  opacity:.45;
  cursor:not-allowed;
}

.t3os-step-sequence{
  display:flex;
  gap:5px;
  overflow:auto hidden;
  padding:2px 0 3px;
  scrollbar-width:thin;
}

.t3os-step-sequence button{
  position:relative;
  flex:0 0 57px;
  min-height:46px;
  display:grid;
  place-content:center;
  gap:1px;
  padding:5px;
  border:1px solid transparent;
  border-radius:11px;
  cursor:pointer;
}

.t3os-step-sequence button b{
  font-size:14px;
  line-height:1;
}

.t3os-step-sequence button small{
  font-size:6.5px;
  font-weight:850;
}

.t3os-step-sequence button i{
  position:absolute;
  top:2px;
  right:5px;
  font-size:9px;
  font-style:normal;
  opacity:.58;
}

.t3os-step-sequence button.is-half{
  color:#167b8d;
  border-color:rgba(28,151,168,.16);
  background:#e2f7f9;
}

.t3os-step-sequence button.is-tone{
  color:#365daf;
  border-color:rgba(64,100,190,.15);
  background:#e7eeff;
}

.t3os-empty-sequence{
  min-height:46px;
  display:grid;
  place-items:center;
  padding:8px;
  border:1px dashed rgba(95,78,174,.2);
  border-radius:11px;
  color:#77728c;
  background:rgba(247,245,255,.72);
  text-align:center;
  font-size:8px;
  font-weight:760;
}

.t3os-lab-meter{
  display:grid;
  grid-template-columns:repeat(12,minmax(18px,1fr));
  gap:3px;
}

.t3os-lab-meter span{
  position:relative;
  min-height:28px;
  display:grid;
  place-items:center;
  border-radius:6px;
  color:#8b94a5;
  background:#edf1f6;
}

.t3os-lab-meter span::after{
  content:"";
  position:absolute;
  right:-3px;
  top:4px;
  bottom:4px;
  width:1px;
  background:transparent;
}

.t3os-lab-meter span.is-filled{
  color:#fff;
  background:linear-gradient(145deg,#2e9fb1,#4775cf);
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.1);
}

.t3os-lab-meter span.is-tone{
  background:linear-gradient(145deg,#467bd7,#6857ce);
}

.t3os-lab-meter span.is-step-end::after{
  width:3px;
  border-radius:3px;
  background:#1b6776;
}

.t3os-lab-meter b{
  font-size:7.5px;
}

.t3os-step-builder > p{
  margin:0;
  color:#747f91;
  font-size:7.3px;
  font-weight:760;
}

.t3os-focus-card.lab.custom{
  padding:10px;
}

.t3os-focus-card.lab.custom .t3os-staff-shell{
  margin:5px 0 7px;
}

.t3os-quality-badge.is-complete{
  border-left-color:#26a575;
  background:#e9faf3;
}

.t3os-lab-analysis-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(220px,.75fr) minmax(230px,.8fr);
  gap:7px;
  align-items:stretch;
}

.t3os-lab-notes-panel,
.t3os-lab-name-panel,
.t3os-lab-interval-panel{
  min-width:0;
  padding:8px 9px;
  border:1px solid rgba(52,82,126,.1);
  border-radius:13px;
  background:#f7f9fd;
}

.t3os-lab-notes-panel > div:not(.t3os-formula-row){
  display:flex;
  gap:4px;
  overflow:auto hidden;
  margin-top:5px;
  padding-bottom:2px;
}

.t3os-lab-notes-panel .t3os-note-chip{
  min-width:42px;
  min-height:39px;
}

.t3os-lab-notes-panel .t3os-formula-row{
  display:flex;
  gap:4px;
  overflow:auto hidden;
  margin-top:5px;
  padding-bottom:2px;
}

.t3os-lab-notes-panel .t3os-formula-row > span{
  flex:0 0 48px;
  min-height:38px;
}

.t3os-lab-name-panel{
  display:grid;
  align-content:start;
  gap:3px;
  border-color:rgba(112,74,201,.14);
  background:#f4efff;
}

.t3os-lab-name-panel.is-exact{
  border-color:rgba(37,164,117,.18);
  background:#eafaf3;
}

.t3os-lab-name-panel strong{
  color:#503495;
  font-size:13px;
  line-height:1.12;
}

.t3os-lab-name-panel.is-exact strong{
  color:#237e60;
}

.t3os-lab-name-panel > small{
  color:#786e8c;
  font-size:7px;
  font-weight:850;
}

.t3os-lab-name-panel p{
  margin:3px 0 0;
  color:#706a82;
  font-size:7.8px;
  font-weight:750;
  line-height:1.3;
}

.t3os-nearest-scales{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:5px;
}

.t3os-nearest-scales b{
  width:100%;
  color:#6e6382;
  font-size:6.8px;
  text-transform:uppercase;
}

.t3os-nearest-scales em{
  padding:3px 6px;
  border-radius:999px;
  color:#6349a4;
  background:#e8ddff;
  font-size:6.8px;
  font-style:normal;
  font-weight:850;
}

.t3os-lab-interval-panel{
  display:grid;
  gap:5px;
}

.t3os-lab-interval-panel .t3os-interval-cards article{
  min-height:50px;
}

/* The staff stays first and dominant in the symmetric scene. */
.t3os-symmetric-grid,
.t3os-correction-note{
  display:none !important;
}

.t3os-symmetric-view .t3os-focus-card.symmetric{
  order:3;
}

.t3os-symmetric-support{
  order:4;
}

@media (max-width:1100px){
  .t3os-lab-topbar{
    grid-template-columns:minmax(140px,.55fr) minmax(0,1.45fr);
  }

  .t3os-lab-total{
    grid-column:1/-1;
    grid-template-columns:auto auto 1fr;
    align-items:center;
  }

  .t3os-lab-total small{
    text-align:right;
  }

  .t3os-lab-analysis-grid{
    grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);
  }

  .t3os-lab-interval-panel{
    grid-column:1/-1;
  }
}

@media (max-width:720px){
  .t3os-lab-topbar,
  .t3os-lab-analysis-grid{
    grid-template-columns:1fr;
  }

  .t3os-lab-total,
  .t3os-lab-interval-panel{
    grid-column:auto;
  }

  .t3os-lab-total{
    grid-template-columns:1fr;
  }

  .t3os-lab-total small{
    text-align:left;
  }

  .t3os-step-builder-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .t3os-step-actions{
    width:100%;
    justify-content:stretch;
  }

  .t3os-step-actions button{
    flex:1 1 calc(50% - 5px);
  }

  .t3os-lab-meter{
    min-width:510px;
  }

  .t3os-step-builder{
    overflow:auto hidden;
  }

  .t3os-step-builder-head,
  .t3os-step-sequence,
  .t3os-step-builder > p{
    min-width:0;
  }

  .t3os-focus-card.lab.custom .t3os-staff{
    min-width:720px;
  }
}

@media (max-width:420px){
  .t3os-step-actions button{
    min-width:0;
    padding:5px 6px;
  }

  .t3os-lab-presets button{
    min-width:94px;
  }
}


/* MR Theory Board · Scale Lab · Τριημιτόνιο · v1.1.1 */

.t3os-step-actions button.is-three-half{
  color:#8b4c16;
  background:linear-gradient(145deg,#fff0d8,#ffe0ac);
}

.t3os-step-sequence button.is-three-half{
  color:#8a4c16;
  border-color:rgba(218,132,43,.2);
  background:linear-gradient(145deg,#fff1dc,#ffe2b7);
}

.t3os-lab-meter span.is-three-half{
  background:linear-gradient(145deg,#e59438,#b867b5);
}

@media (max-width:720px){
  .t3os-step-actions button{
    flex:1 1 calc(33.333% - 5px);
  }
}

@media (max-width:520px){
  .t3os-step-actions button{
    flex:1 1 calc(50% - 5px);
  }
}


/* =========================================================
   MR THEORY BOARD · THEORY 3 · OTHER SCALES GAME · v1.0.0
   ========================================================= */
.mrtb-app.mrtb-t3osg-game-active .mrtb-t3-other-scales-scene{display:none!important}
.mrtb-app.mrtb-t3osg-game-active .mrtb-mini-piano{display:none!important}
.t3osg-scene,.t3osg-scene *{box-sizing:border-box}
.t3osg-scene{--g-ink:#17263d;--g-muted:#66758d;--g-blue:#337bd7;--g-purple:#7359dc;--g-cyan:#1fa3b5;--g-green:#26a96c;--g-red:#e05265;position:absolute;inset:8px 10px auto;z-index:25;min-height:620px;padding:12px;border:1px solid rgba(42,78,124,.14);border-radius:24px;color:var(--g-ink);background:radial-gradient(circle at 2% 0%,rgba(48,173,232,.18),transparent 30%),radial-gradient(circle at 98% 2%,rgba(116,86,220,.16),transparent 28%),linear-gradient(150deg,#fff,#eef7ff);box-shadow:0 16px 38px rgba(29,67,112,.14);overflow:hidden;font-family:inherit}
.t3osg-scene button,.t3osg-scene input{font:inherit}.t3osg-scene button{cursor:pointer;-webkit-tap-highlight-color:transparent}.t3osg-scene button:disabled{cursor:default;opacity:.6}
.t3osg-menu-head,.t3osg-game-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,390px) 38px;gap:12px;align-items:center;margin-bottom:11px}
.t3osg-menu-head>div:first-child>span,.t3osg-game-head>div>span{display:block;color:#3275be;font-size:8px;font-weight:950;letter-spacing:.65px;text-transform:uppercase}.t3osg-menu-head h2{margin:3px 0;color:#17253a;font-size:clamp(22px,2.3vw,32px);line-height:1}.t3osg-menu-head p{max-width:850px;margin:6px 0 0;color:var(--g-muted);font-size:10px;font-weight:780;line-height:1.36}
.t3osg-menu-example,.t3osg-round-banner{padding:10px 12px;border:1px solid rgba(50,86,132,.1);border-radius:15px;background:rgba(255,255,255,.82);box-shadow:0 7px 16px rgba(35,69,110,.07)}.t3osg-menu-example small,.t3osg-round-banner small{display:block;color:#75839a;font-size:7px;font-weight:900;text-transform:uppercase}.t3osg-menu-example strong,.t3osg-round-banner b{display:block;margin:3px 0;color:#263a57;font-size:11px}.t3osg-menu-example span{color:#6b7890;font-size:8px;font-weight:760}.t3osg-close,.t3osg-game-head .close{width:38px;height:38px;border:0;border-radius:12px;color:#fff;background:linear-gradient(145deg,#ef6b75,#cf4358);font-size:19px;font-weight:900;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.t3osg-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:10px}.t3osg-setup-card{padding:11px;border:1px solid rgba(48,81,124,.1);border-radius:18px;background:rgba(255,255,255,.87);box-shadow:0 8px 20px rgba(35,68,108,.07)}.t3osg-setup-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.t3osg-setup-title b{font-size:12px}.t3osg-setup-title span{color:#718098;font-size:8px;font-weight:850}.t3osg-counts{display:grid;grid-template-columns:repeat(9,1fr);gap:5px}.t3osg-counts button,.t3osg-rounds button{min-height:35px;border:1px solid rgba(49,82,126,.11);border-radius:10px;color:#34516f;background:#edf4fb;font-weight:950}.t3osg-counts button.active,.t3osg-rounds button.active{color:#fff;border-color:transparent;background:linear-gradient(145deg,var(--g-blue),var(--g-purple));box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.t3osg-name-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}.t3osg-name-inputs label{display:grid;grid-template-columns:27px 1fr;align-items:center;border:1px solid rgba(49,82,126,.1);border-radius:10px;background:#f6f9fd;overflow:hidden}.t3osg-name-inputs span{display:grid;place-items:center;height:34px;color:#fff;background:#3979c7;font-size:9px;font-weight:950}.t3osg-name-inputs input{min-width:0;height:34px;padding:0 8px;border:0;outline:0;color:#273a56;background:transparent;font-size:9px;font-weight:800}
.t3osg-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.t3osg-levels button{min-height:62px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;gap:2px 7px;align-items:center;padding:7px 8px;border:1px solid rgba(48,82,127,.1);border-radius:13px;color:#31425e;background:#f6f9fd;text-align:left}.t3osg-levels button>b{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#3472b8;background:#e2effc;font-size:9px}.t3osg-levels strong{align-self:end;font-size:9px}.t3osg-levels small{align-self:start;color:#738099;font-size:7px;font-weight:780}.t3osg-levels button.active{color:#fff;border-color:transparent;background:linear-gradient(145deg,#258fae,#4771cf);box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}.t3osg-levels button.active>b{color:#fff;background:rgba(255,255,255,.17)}.t3osg-levels button.active small{color:rgba(255,255,255,.78)}.t3osg-rounds{display:flex;gap:6px;align-items:center;margin-top:8px}.t3osg-rounds span{margin-right:auto;color:#6f7f96;font-size:8px;font-weight:900}.t3osg-rounds button{min-width:42px}.t3osg-start{width:100%;min-height:48px;margin-top:10px;border:0;border-radius:14px;color:#fff;background:linear-gradient(145deg,var(--g-blue),var(--g-purple));box-shadow:inset 0 -4px 0 rgba(0,0,0,.13),0 8px 18px rgba(60,74,185,.2);font-size:12px;font-weight:950}
.t3osg-game-head{grid-template-columns:minmax(150px,.65fr) minmax(280px,1.35fr) 38px}.t3osg-game-head>div:first-child strong{display:block;margin-top:3px;font-size:16px}.t3osg-round-banner{text-align:center}.t3osg-player-grid{display:grid;gap:8px;align-items:start}.t3osg-player-grid.count-1{grid-template-columns:minmax(0,760px);justify-content:center}.t3osg-player-grid.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.t3osg-player-grid.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.t3osg-player-grid.count-4{grid-template-columns:repeat(4,minmax(0,1fr))}.t3osg-player-grid.count-5,.t3osg-player-grid.count-6{grid-template-columns:repeat(3,minmax(0,1fr))}.t3osg-player-grid.count-7,.t3osg-player-grid.count-8,.t3osg-player-grid.count-9{grid-template-columns:repeat(3,minmax(0,1fr))}
.t3osg-player-card{min-width:0;padding:9px;border:1px solid rgba(46,79,122,.12);border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 8px 18px rgba(34,67,106,.08);transition:border-color .16s ease,transform .16s ease}.t3osg-player-card>header{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:6px}.t3osg-player-card>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.t3osg-player-card>header span{padding:4px 7px;border-radius:999px;color:#906500;background:#fff0bd;font-size:8px;font-weight:900}.t3osg-question-box{padding:7px 8px;border-radius:12px;background:linear-gradient(145deg,#edf7ff,#e8f0ff)}.t3osg-question-box>span{display:block;color:#2b82a0;font-size:7px;font-weight:950;text-transform:uppercase}.t3osg-question-box h3{margin:2px 0;color:#1d3049;font-size:15px;line-height:1.05}.t3osg-question-box p{margin:3px 0 0;color:#687891;font-size:7px;font-weight:760;line-height:1.25}.t3osg-live-answer{min-height:32px;display:grid;place-items:center;margin:6px 0;padding:5px;border:1px dashed rgba(48,83,128,.18);border-radius:10px;color:#728098;background:#f7faff;text-align:center;font-size:8px;font-weight:850}.t3osg-live-answer.has-answer{color:#245a73;border-style:solid;background:#e8f7fa}
.t3osg-note-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.t3osg-note-grid button{min-width:0;min-height:39px;display:grid;place-content:center;gap:2px;padding:3px;border:1px solid rgba(48,82,126,.1);border-radius:9px;color:#344a67;background:#edf4fb}.t3osg-note-grid b{font-size:9px}.t3osg-note-grid small{color:#7a8799;font-size:5.8px;font-weight:850}.t3osg-note-grid button.active{color:#fff;border-color:transparent;background:linear-gradient(145deg,#2598ad,#4274ce);box-shadow:inset 0 -2px 0 rgba(0,0,0,.12)}.t3osg-note-grid button.active small{color:rgba(255,255,255,.78)}
.t3osg-answer-step{display:flex;gap:6px;align-items:center;margin:6px 0 4px;color:#52637a;font-size:7px;font-weight:900}.t3osg-answer-step span{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#347ac8}.t3osg-base-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.t3osg-base-grid button,.t3osg-mod-grid button{min-height:30px;padding:4px;border:1px solid rgba(48,82,126,.1);border-radius:8px;color:#344b68;background:#eef4fa;font-size:7px;font-weight:900}.t3osg-base-grid button.active,.t3osg-mod-grid button.active{color:#fff;border-color:transparent;background:linear-gradient(145deg,#397bd0,#7359db)}.t3osg-mod-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.t3osg-mod-grid button.none{grid-column:span 2}
.t3osg-submit{width:100%;min-height:36px;margin-top:7px;border:0;border-radius:10px;color:#fff;background:#8390a2;font-size:9px;font-weight:950}.t3osg-submit.ready{background:linear-gradient(145deg,#28a76e,#208c91);box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}.t3osg-feedback{min-height:23px;display:grid;place-items:center;margin-top:5px;color:#718096;text-align:center;font-size:6.8px;font-weight:800}.t3osg-player-card.locked{border-color:rgba(55,125,195,.26)}.t3osg-player-card.correct{border-color:rgba(38,169,108,.34);box-shadow:0 9px 20px rgba(38,169,108,.13)}.t3osg-player-card.wrong{border-color:rgba(224,82,101,.34);box-shadow:0 9px 20px rgba(224,82,101,.12)}
.t3osg-staff-shell{margin:5px 0;padding:3px;border:1px solid rgba(45,78,120,.09);border-radius:12px;background:#f2f8fd;overflow:auto hidden}.t3osg-staff{display:block;width:100%;min-width:390px;height:auto}.t3osg-paper{fill:#fff;stroke:rgba(45,78,120,.08);stroke-width:2}.t3osg-line,.t3osg-ledger{stroke:#202b3b;stroke-width:2;stroke-linecap:round}.t3osg-clef{fill:#202b3b;font-family:"Times New Roman",serif;font-size:76px}.t3osg-head{fill:#202b3b;stroke:#202b3b}.t3osg-stem{stroke:#202b3b;stroke-width:3}.t3osg-accidental{fill:#202b3b;font-family:"Times New Roman",serif;font-size:22px;font-weight:700}
.t3osg-final{display:grid;place-items:center;min-height:570px}.t3osg-final-card{width:min(680px,100%);padding:22px;border:1px solid rgba(48,82,126,.11);border-radius:23px;background:rgba(255,255,255,.94);box-shadow:0 18px 40px rgba(33,68,111,.13);text-align:center}.t3osg-trophy{font-size:45px}.t3osg-final-card h2{margin:5px 0;color:#1c2c44;font-size:25px}.t3osg-final-card p{margin:0 0 12px;color:#6b7990;font-size:9px;font-weight:800}.t3osg-ranking{display:grid;gap:6px}.t3osg-ranking article{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;padding:8px 10px;border-radius:11px;background:#eef4fa;text-align:left}.t3osg-ranking article.winner{background:linear-gradient(145deg,#fff2bd,#ffe3a1)}.t3osg-ranking span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#467dc0;font-size:8px;font-weight:950}.t3osg-ranking strong{font-size:10px}.t3osg-ranking b{font-size:10px}.t3osg-final-actions{display:flex;justify-content:center;gap:7px;margin-top:13px}.t3osg-final-actions button{min-height:38px;padding:7px 13px;border:0;border-radius:10px;color:#334961;background:#e7eef7;font-size:8px;font-weight:950}.t3osg-final-actions .again{color:#fff;background:linear-gradient(145deg,var(--g-blue),var(--g-purple))}
@media(max-width:1180px){.t3osg-player-grid.count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.t3osg-player-grid.count-7,.t3osg-player-grid.count-8,.t3osg-player-grid.count-9{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.t3osg-menu-head,.t3osg-game-head{grid-template-columns:1fr 38px}.t3osg-menu-example,.t3osg-round-banner{grid-column:1/-1;grid-row:2}.t3osg-setup{grid-template-columns:1fr}.t3osg-player-grid.count-3,.t3osg-player-grid.count-5,.t3osg-player-grid.count-6,.t3osg-player-grid.count-7,.t3osg-player-grid.count-8,.t3osg-player-grid.count-9{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.t3osg-scene{inset:5px 5px auto;padding:8px;border-radius:17px}.t3osg-player-grid,.t3osg-player-grid.count-2,.t3osg-player-grid.count-3,.t3osg-player-grid.count-4,.t3osg-player-grid.count-5,.t3osg-player-grid.count-6,.t3osg-player-grid.count-7,.t3osg-player-grid.count-8,.t3osg-player-grid.count-9{grid-template-columns:1fr}.t3osg-name-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.t3osg-levels{grid-template-columns:1fr}.t3osg-note-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.t3osg-base-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.t3osg-mod-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}


/* MR Theory Board · Theory 3 · Other Scales Game fixes · v1.2.1 */
.t3osg-build-area{margin:6px 0 7px;padding:6px;border:1px solid rgba(45,78,120,.1);border-radius:12px;background:#f7fbff}
.t3osg-build-area-head{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:5px}
.t3osg-build-area-head b{color:#28415f;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.5px}
.t3osg-build-area-head span{padding:3px 7px;border-radius:999px;color:#23627f;background:#e5f4fb;font-size:7px;font-weight:900}
.t3osg-build-clear{margin-left:auto;min-height:26px;padding:4px 8px;border:1px solid rgba(48,82,126,.11);border-radius:8px;color:#38526f;background:#eef4fa;font-size:7px;font-weight:900}
.t3osg-selected-line{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.t3osg-selected-line span,.t3osg-selected-line em{min-height:22px;display:grid;place-items:center;padding:3px 7px;border-radius:999px;font-size:7px;font-weight:900}
.t3osg-selected-line span{color:#fff;background:linear-gradient(145deg,#2a94ad,#4a72d1)}
.t3osg-selected-line em{color:#70819a;background:#eef4fa;font-style:normal}
.t3osg-staff-shell{margin:5px 0;padding:4px;border:1px solid rgba(45,78,120,.09);border-radius:12px;background:#f2f8fd;overflow:auto hidden}
.t3osg-staff-shell.identify{padding:5px;background:#eef5fc}
.t3osg-staff-shell.build-answer{background:#ffffff}
.t3osg-staff{display:block;width:100%;min-width:480px;height:auto}
.t3osg-empty-staff{fill:#7f8ea3;font-size:12px;font-weight:800}
.t3osg-note-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:5px}
.t3osg-player-grid.count-1{grid-template-columns:minmax(0,1230px);justify-content:center}
@media(max-width:1180px){.t3osg-player-grid.count-1{grid-template-columns:minmax(0,100%)} }
@media(max-width:620px){.t3osg-build-area-head{align-items:flex-start}.t3osg-build-clear{margin-left:0}.t3osg-staff{min-width:560px}}


/* MR Theory Board · Other Scales Game · strict intervals + safe staff · v1.2.2 */
.t3osg-staff-shell{overflow:hidden!important}
.t3osg-staff{display:block;width:100%;min-width:520px;max-width:100%;height:auto;overflow:hidden}
.t3osg-staff-shell.identify{min-height:0;padding:5px 6px}
.t3osg-staff-shell.identify .t3osg-staff{min-width:620px}
.t3osg-player-grid.count-1{grid-template-columns:minmax(0,1040px);justify-content:center}
.t3osg-clef{font-size:78px}
.t3osg-accidental{font-size:21px}
@media(max-width:900px){.t3osg-player-grid.count-1{grid-template-columns:1fr}.t3osg-staff-shell{overflow:auto hidden!important}.t3osg-staff-shell.identify .t3osg-staff{min-width:700px}}
@media(max-width:620px){.t3osg-staff{min-width:650px}.t3osg-staff-shell.identify .t3osg-staff{min-width:720px}}


/* MR Theory Board · Other Scales Game · ordered staff notes · v1.2.3 */
.t3osg-staff-shell.build-answer,
.t3osg-staff-shell.identify{
  overflow:hidden !important;
}

.t3osg-staff-shell.build-answer .t3osg-staff,
.t3osg-staff-shell.identify .t3osg-staff{
  min-width:620px;
}

.t3osg-note-name{
  fill:#2d425e;
  font-size:12px;
  font-weight:900;
}

.t3osg-note-degree{
  fill:#6d7d94;
  font-size:9px;
  font-weight:900;
}

.t3osg-selected-line span{
  display:inline-flex;
  gap:4px;
  align-items:center;
}

.t3osg-selected-line span small{
  color:rgba(255,255,255,.78);
  font-size:6px;
  font-weight:900;
}

@media(max-width:900px){
  .t3osg-staff-shell.build-answer,
  .t3osg-staff-shell.identify{
    overflow:auto hidden !important;
  }

  .t3osg-staff-shell.build-answer .t3osg-staff,
  .t3osg-staff-shell.identify .t3osg-staff{
    min-width:700px;
  }
}


/* MR Theory Board · Other Scales Game · Random recognition · v1.2.4 */
.t3osg-identify-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;margin:-1px 3px 6px;padding:5px 8px;border-radius:9px;color:#5d718a;background:#edf6fc;font-size:7px;font-weight:850}
.t3osg-identify-meta b{color:#285f78}
.t3osg-identify-help{margin-top:6px;padding:9px;border:1px dashed rgba(50,84,128,.18);border-radius:10px;color:#6c7d94;background:#f7faff;text-align:center;font-size:7.5px;font-weight:850}
.t3osg-difference-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:5px}
.t3osg-difference-section{min-width:0;padding:6px;border:1px solid rgba(48,82,126,.1);border-radius:11px;background:#f7faff}
.t3osg-difference-section.add{background:#effaf6;border-color:rgba(38,169,108,.15)}
.t3osg-difference-section.remove{background:#fff4f5;border-color:rgba(224,82,101,.15)}
.t3osg-difference-section .t3osg-answer-step{margin:0 0 5px}
.t3osg-difference-section.add .t3osg-answer-step span{background:#28a76e}
.t3osg-difference-section.remove .t3osg-answer-step span{background:#df5265}
.t3osg-difference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.t3osg-difference-grid button{min-height:30px;padding:4px;border:1px solid rgba(48,82,126,.1);border-radius:8px;color:#344b68;background:#fff;font-size:7px;font-weight:900}
.t3osg-difference-section.add .t3osg-difference-grid button.active{color:#fff;border-color:transparent;background:linear-gradient(145deg,#2caf75,#218c8f)}
.t3osg-difference-section.remove .t3osg-difference-grid button.active{color:#fff;border-color:transparent;background:linear-gradient(145deg,#eb6a77,#c94759)}
.t3osg-difference-grid em{grid-column:1/-1;padding:7px;color:#728198;text-align:center;font-size:7px;font-style:normal;font-weight:800}
.t3osg-base-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.t3osg-base-grid button{white-space:normal;line-height:1.12}
.t3osg-staff-shell.identify .t3osg-staff{min-width:620px}
@media(max-width:900px){.t3osg-difference-columns{grid-template-columns:1fr}.t3osg-base-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.t3osg-base-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.t3osg-difference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.t3osg-identify-meta{display:grid}}


/* MR Theory Board · Other Scales Game · composed scale names · v1.2.5 */
.t3osg-modifier-builder{
  margin-top:6px;
  padding:7px;
  border:1px solid rgba(55,92,138,.11);
  border-radius:12px;
  background:linear-gradient(145deg,#f5f9ff,#eef6ff);
}
.t3osg-composed-name{
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  min-height:38px;
  margin-bottom:6px;
  padding:6px 9px;
  border-radius:10px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(49,83,127,.08);
}
.t3osg-composed-name small{
  color:#718198;
  font-size:6.7px;
  font-weight:900;
  text-transform:uppercase;
}
.t3osg-composed-name strong{
  color:#243a57;
  font-size:10px;
  text-align:right;
}
.t3osg-composed-name strong b{
  color:#3178c9;
  font-weight:950;
}
.t3osg-modifier-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:4px;
}
.t3osg-modifier-grid button{
  min-height:31px;
  padding:4px;
  border:1px solid rgba(48,82,126,.1);
  border-radius:8px;
  color:#344b68;
  background:#fff;
  font-size:7px;
  font-weight:950;
}
.t3osg-modifier-grid button.none{
  grid-column:span 2;
}
.t3osg-modifier-grid button.active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(145deg,#397bd0,#7359db);
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.12);
}
.t3osg-base-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:900px){
  .t3osg-modifier-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:620px){
  .t3osg-composed-name{display:grid}
  .t3osg-composed-name strong{text-align:left}
  .t3osg-modifier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .t3osg-base-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* MR Theory Board · Other Scales Game · interval-equivalent names + fitted staff · v1.2.6 */
.t3osg-player-card,
.t3osg-build-area,
.t3osg-staff-shell{
  min-width:0;
}

.t3osg-player-card{
  overflow:hidden;
}

.t3osg-staff-shell.build-answer,
.t3osg-staff-shell.identify{
  width:100%;
  max-width:100%;
  overflow:hidden !important;
}

.t3osg-staff-shell.build-answer .t3osg-staff,
.t3osg-staff-shell.identify .t3osg-staff,
.t3osg-staff{
  display:block;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:auto;
}

.t3osg-staff-shell.build-answer{
  padding:3px;
}

.t3osg-clef{
  font-size:74px;
}

.t3osg-accidental{
  font-size:19px;
}

.t3osg-note-name{
  font-size:11px;
}

.t3osg-note-degree{
  font-size:8px;
}

@media(max-width:900px){
  .t3osg-staff-shell.build-answer,
  .t3osg-staff-shell.identify{
    overflow:hidden !important;
  }

  .t3osg-staff-shell.build-answer .t3osg-staff,
  .t3osg-staff-shell.identify .t3osg-staff{
    min-width:0 !important;
  }
}
