/* LYRIC ROOM v3.3.3 — optional changes only to modern view. v3.1 is untouched. */
body.lr32-mode-modern .lr32-menu-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
/* Preexisting song selector remains in classic v3.1, but lives in settings in modern UI. */
body.lr32-mode-modern .lr31-preset-open{display:none!important}
.lr333-preset-settings{display:none}
body.lr32-mode-modern.lr32-tab-settings .lr333-preset-settings{
  display:block;width:100%;border:1px solid #51404d;border-radius:12px;
  background:#202029;margin:0 0 15px;overflow:hidden;
}
.lr333-preset-settings>summary{
  padding:15px 18px;cursor:pointer;color:#f6d6e0;font-size:14px;font-weight:750;
  list-style-position:inside;
}
.lr333-preset-settings>summary:hover{background:#322732}
.lr333-preset-settings[open]>summary{border-bottom:1px solid #423640}
body.lr32-mode-modern.lr32-tab-settings #lr32-presets-page{
  display:block;max-width:none;width:100%;padding:15px;margin:0;background:transparent;
}
body.lr32-mode-modern.lr32-tab-settings #lr32-presets-page[hidden]{display:none!important}
body.lr32-mode-modern.lr32-tab-settings .lr32-page-head{gap:10px}
body.lr32-mode-modern.lr32-tab-settings .lr32-page-head h2{font-size:17px}
body.lr32-mode-modern.lr32-tab-settings .lr32-presets-list{grid-template-columns:1fr;gap:8px}
body.lr32-mode-modern.lr32-tab-settings .lr32-preset-card{padding:11px 13px}
body.lr32-mode-modern.lr32-tab-settings .lr32-action{padding:8px 10px}
/* One toggle in the existing editor heading, no second MIDI or lyric DOM. */
.lr333-guide-toggle{display:none}
body.lr32-mode-modern.lr32-tab-studio .lr333-guide-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #664c5a;border-radius:8px;background:#332a37;
  color:#f0cedb;font-size:12px;font-weight:700;padding:8px 12px;cursor:pointer;
  white-space:nowrap;
}
body.lr32-mode-modern.lr32-tab-studio .lr333-guide-toggle:hover{background:#4b3444}
body.lr32-mode-modern.lr32-tab-studio .lr333-guide-toggle:focus-visible{
  outline:2px solid #f2a0b4;outline-offset:2px;
}
body.lr32-mode-modern.lr32-tab-studio .editor-heading{flex-wrap:wrap}
body.lr32-mode-modern.lr32-tab-studio.lr333-guide-hidden .workspace.workspace{
  grid-template-columns:minmax(0,1fr)!important;
}
body.lr32-mode-modern.lr32-tab-studio.lr333-guide-hidden .workspace > .editor-column{
  grid-column:1!important;grid-row:1!important;
}
body.lr32-mode-modern.lr32-tab-studio.lr333-guide-hidden .workspace > .guide-column{
  display:none!important;
}
/* Fixed lyric strip appears only when the guide's REAL lyric display is not visible. */
.lr333-floating-lyrics{display:none;position:fixed;left:50%;transform:translateX(-50%);
  max-width:calc(100vw - 22px);z-index:119;pointer-events:none;
  background:#211e2af2;border:1px solid #8e657b;border-radius:12px;
  box-shadow:0 8px 27px #0009;backdrop-filter:blur(10px);
  padding:10px 16px;text-align:center;line-height:1.45;
}
body.lr32-mode-modern.lr32-tab-studio.lr333-lyric-fallback .lr333-floating-lyrics:not([hidden]){
  display:flex;flex-direction:column;gap:3px;
}
.lr333-lyric-part{font-size:10px;color:#eaa9ba;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lr333-lyric-current{color:#fff1f0;font-size:clamp(13px,1.25vw,17px);overflow-wrap:anywhere;white-space:pre-line}
.lr333-lyric-next{font-size:11px;color:#a7a0b0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.lr32-mode-modern.lr32-tab-studio.lr333-lyric-fallback .editor-column{padding-bottom:100px}
@media(max-width:650px){
 body.lr32-mode-modern.lr32-tab-studio .lr333-guide-toggle{font-size:11px;padding:7px 9px}
 .lr333-floating-lyrics{padding:8px 10px}
 body.lr32-mode-modern.lr32-tab-settings .lr32-action-line{flex-direction:column;align-items:stretch;width:100%}
}
