/* LWVlife Music & Memories + Movie Music (GitHub #114). Senior rules: big text, 48 px targets, 3 cards per row, 2 on narrow / large text. */
.mm-page{position:fixed;inset:0;z-index:2400;background:#F6F2EA;overflow-y:auto;-webkit-overflow-scrolling:touch;color:#1d1d1d;font-size:var(--fs,19px);line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
.mm-page[hidden]{display:none}
html.mm-open,html.mm-open body{overflow:hidden}
.mm-page button,.mm-page a,.mm-page input{font:inherit}
.mm-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:8px;padding:calc(6px + env(safe-area-inset-top,0px)) 10px 6px;background:#3B2A6E;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.mm-h1{flex:1 1 auto;margin:0;font-size:1.1em;line-height:1.25;text-align:center;font-weight:800;color:#fff}
.mm-nav{flex:0 0 auto;min-height:48px;min-width:48px;padding:0 12px;border:2px solid rgba(255,255,255,.75);border-radius:14px;background:rgba(255,255,255,.12);color:#fff;font-weight:800;cursor:pointer}
.mm-body{max-width:760px;margin:0 auto;padding:12px 12px calc(100px + env(safe-area-inset-bottom,0px))}
.mm-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 8px}
.mm-tabs button{min-height:56px;border:2px solid #3B2A6E;border-radius:14px;background:#fff;color:#3B2A6E;font-weight:800;cursor:pointer;padding:6px}
.mm-tabs button[aria-selected="true"]{background:#3B2A6E;color:#fff}
.mm-sub{margin:4px 2px 10px;color:#4a4a4a}
.mm-h3{margin:18px 2px 8px;font-size:1.05em;color:#3B2A6E}
.mm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mm-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;min-height:112px;padding:10px 6px;border:2px solid #d8cfe9;border-radius:16px;background:#fff;color:#1d1d1d;text-align:center;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.mm-card b{font-size:.95em;line-height:1.2}
.mm-card small{font-size:.78em;color:#555;line-height:1.2}
.mm-ic{font-size:1.7em;line-height:1}
.mm-card:active{transform:scale(.98)}
.mm-big .mm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:359px){.mm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.mm-list{list-style:none;margin:6px 0;padding:0;display:grid;gap:8px}
.mm-item{display:flex;align-items:center;gap:8px;padding:10px;border:2px solid #e2dbef;border-radius:14px;background:#fff}
.mm-it{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.mm-it b{font-size:1em;line-height:1.25}
.mm-it small{color:#555;font-size:.8em}
.mm-n{color:#7a4b00!important}
.mm-tag{display:inline-block;align-self:flex-start;margin-top:2px;padding:1px 8px;border-radius:10px;font-size:.74em;font-weight:800}
.mm-tag.ok{background:#E3F4E8;color:#1B5E20}.mm-tag.out{background:#FFF1DB;color:#7A4B00}.mm-tag.srch{background:#E7EEFB;color:#1A3F8F}
.mm-btns{flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.mm-act{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:48px;min-width:88px;padding:0 12px;border:0;border-radius:14px;background:#1a73e8;color:#fff;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap}
.mm-play{background:#2E7D32}.mm-out{background:#fff;color:#7A4B00;border:2px solid #C98A1B}.mm-srch{background:#fff;color:#1A3F8F;border:2px solid #1A3F8F}
.mm-star{min-height:44px;min-width:88px;border:2px solid #d8cfe9;border-radius:12px;background:#fff;color:#B8860B;font-size:1.2em;cursor:pointer}
.mm-star[aria-pressed="true"]{background:#FFF6D6;border-color:#B8860B}
.mm-note,.mm-cn{margin:12px 2px;padding:10px 12px;border-radius:12px;background:#EFEAF7;color:#33295a;font-size:.86em}
.mm-cn{background:#FFF1DB;color:#5a3a00}
.mm-seg,.mm-reg{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0}
.mm-seg-l{width:100%;font-weight:800;color:#3B2A6E;font-size:.9em}
.mm-seg button,.mm-reg button{flex:1 1 auto;min-height:48px;padding:0 10px;border:2px solid #3B2A6E;border-radius:12px;background:#fff;color:#3B2A6E;font-weight:800;cursor:pointer}
.mm-seg button[aria-pressed="true"],.mm-reg button[aria-pressed="true"]{background:#3B2A6E;color:#fff}
.mm-find{margin:16px 0 8px}
.mm-find label{display:block;font-weight:800;color:#3B2A6E;margin:0 2px 4px}
.mm-find-r{display:flex;gap:6px}
.mm-find input{flex:1 1 auto;min-width:0;min-height:52px;padding:0 12px;border:2px solid #7C4DBA;border-radius:14px;background:#fff;color:#1d1d1d}
.mm-fav,.mm-res{margin:12px 0}
.mm-fav h3,.mm-res h3{margin:6px 2px;font-size:1.02em;color:#3B2A6E}
.mm-page :focus-visible,.mm-entry :focus-visible{outline:3px solid #ffb300;outline-offset:2px}
/* entry block inside the Lounge Music tab */
.mm-entry{margin:6px 0 14px}
.mm-ebtns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mm-ebtn{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:120px;padding:12px 8px;border:0;border-radius:18px;color:#fff;text-align:center;cursor:pointer;box-shadow:0 3px 8px rgba(0,0,0,.2);font:inherit}
.mm-ebtn.gen{background:linear-gradient(160deg,#7C4DBA,#4B2C8F)}.mm-ebtn.mov{background:linear-gradient(160deg,#C2416B,#7A1F3D)}
.mm-ebtn b{font-size:1.05em;line-height:1.2}.mm-ebtn small{font-size:.8em;opacity:.92;line-height:1.2}
.mm-eic{font-size:2em;line-height:1}
@media (max-width:340px){.mm-ebtns{grid-template-columns:1fr}.mm-item{flex-wrap:wrap}.mm-btns{flex-direction:row;width:100%}.mm-btns>*{flex:1 1 auto}}
@media (prefers-reduced-motion:reduce){.mm-card:active{transform:none}}
.lg-page .mm-ebtn,.lg-page .mm-ebtn b,.lg-page .mm-ebtn small{color:#fff!important}
.lg-page .mm-ebtn small{opacity:.95}
