/* mōris · THE FIVE VERSIONS (AV law, 7 Oct 2026; applied 16 Nov by POUPS • music on AV's order through r2d2)
   ONE app, FIVE designed versions, never one stretched page:
     1 phone app      the Flutter app (not this file; it follows the same sizes)
     2 mobile web     under 700 px        covers 2 per row, about 160 px; release cover full width minus the padding
     3 iPad           700 to 1099 px      covers 4 per row; release cover 320 px beside its text
     4 desktop        1100 to 1699 px     shelves of 5 to 6 at about 190 px; grids of 6; release cover 320 px
     5 widescreen     1700 px and more    8 per row; the page uses up to 1760 px, it is not the desktop page stretched
   One place for the sizes: the variables below. Everything else in this file only reads them.
   Loaded AFTER live.css. live.css fights with !important and repeated ids, so the selectors here repeat #view to win; no value of
   live.css is edited. Look stays mōris: flat, no gradient, the mark untouched, mono caps labels. No new colour. */
:root{
  --mo5-cols:2;          /* covers per row in a grid */
  --mo5-card:160px;      /* one cover on a shelf (the row that scrolls sideways) */
  --mo5-gap:12px;
  --mo5-hero:100%;       /* the cover of a release page */
  --mo5-av:140px;        /* the photo of an artist page */
  --mo5-bar:56px;        /* the player bar */
}
@media (min-width:700px){:root{--mo5-cols:4;--mo5-card:164px;--mo5-gap:14px;--mo5-hero:320px;--mo5-av:160px;--mo5-bar:60px}}
@media (min-width:1100px){:root{--mo5-cols:6;--mo5-card:190px;--mo5-gap:16px;--mo5-hero:320px;--mo5-av:200px;--mo5-bar:64px}}
@media (min-width:1100px) and (max-width:1279px){:root{--mo5-cols:5}}
@media (min-width:1700px){:root{--mo5-cols:8;--mo5-card:200px;--mo5-gap:18px;--mo5-hero:320px;--mo5-av:200px;--mo5-bar:68px}}

/* ---------- widescreen uses the width: 8 covers of about 200 px need 1760 px, not the 1560 px of the desktop rule */
@media (min-width:1700px){html body div#dev.dev #view#view,html body div#dev.dev #mo5-bar{max-width:1760px!important}}

/* ---------- shelves: one size per version, never a share of the screen */
html body div#dev.dev #view#view .shf{gap:var(--mo5-gap)!important}
html body div#dev.dev #view#view .shf>.si,html body div#dev.dev #view#view .shf>.at,html body .screen #view#view .shf>.si,html body .screen #view#view .shf>.at{flex:0 0 var(--mo5-card)!important;width:var(--mo5-card)!important;max-width:var(--mo5-card)!important;height:auto!important}
html body .screen #view#view #rd#rd .p4row:not(.mo5-grid){gap:var(--mo5-gap)!important}
html body .screen #view#view #rd#rd .p4row:not(.mo5-grid)>.p4c,html body .screen #view#view #rd#rd #p4carry .arg .at{flex:0 0 var(--mo5-card)!important;width:var(--mo5-card)!important}

/* ---------- grids: so many per row, per version */
html body .screen #view#view .sg,html body .screen #view#view .arg:has(.mxt),html body .screen #view#view #rd#rd .f8grid,html body .screen #view#view #rd#rd .f8grid.outside,html body .screen #view#view #rd#rd .p4row.mo5-grid,
html body div#dev.dev #view#view .f8grid,html body div#dev.dev #view#view .f8grid.outside{display:grid!important;grid-template-columns:repeat(var(--mo5-cols),minmax(0,1fr))!important;gap:calc(var(--mo5-gap) + 6px) var(--mo5-gap)!important;overflow:visible!important}
html body .screen #view#view #rd#rd .p4row.mo5-grid>.p4c{flex:none!important;width:auto!important;min-width:0!important}
html body div#dev.dev #view#view .f8tile{aspect-ratio:auto!important;height:auto!important}
/* a mixes shelf is a shelf, not a grid, when it scrolls sideways */
html body .screen #view#view .shf.arg:has(.mxt){display:flex!important;grid-template-columns:none!important;overflow-x:auto!important}

/* ---------- release page: the cover is capped; from the iPad up it stands beside its text */
html body .screen #view#view #rd#rd .p4hero:not(.w){width:100%!important;max-width:var(--mo5-hero)!important;margin-left:0!important;margin-right:0!important}
html body .screen #view#view #rd#rd .p4hero.w{max-width:720px!important}
@media (min-width:700px){
  html body .screen #view#view #rd#rd:has(>.p4hero:not(.w)){display:grid!important;grid-template-columns:var(--mo5-hero) minmax(0,1fr)!important;column-gap:28px!important;grid-auto-rows:min-content!important;align-content:start!important}
  html body .screen #view#view #rd#rd:has(>.p4hero:not(.w))>*{grid-column:2!important;min-width:0!important}
  html body .screen #view#view #rd#rd:has(>.p4hero:not(.w))>.p4hero{grid-column:1!important;grid-row:1 / span 8!important;align-self:start!important}
  html body .screen #view#view #rd#rd:has(>.p4hero:not(.w))>.p4sh,html body .screen #view#view #rd#rd:has(>.p4hero:not(.w))>.mo-pre-host,html body .screen #view#view #rd#rd:has(>.p4hero:not(.w))>#p4carry{grid-column:1 / -1!important}
  html body .screen #view#view #rd#rd:has(>.p4hero:not(.w))>h2.p4t{margin-top:4px!important}
}

/* ---------- artist page: a capped photo BESIDE the name, never a full-width hero (brief B) */
html body .screen #view#view #rd#rd .p4ah.mo5-ah{display:flex!important;flex-direction:row!important;align-items:center!important;text-align:left!important;gap:16px!important;margin-top:8px!important;padding:0!important;background:none!important}
html body .screen #view#view #rd#rd .mo5-ah .f8hero.mo5-av{flex:0 0 var(--mo5-av)!important;width:var(--mo5-av)!important;height:var(--mo5-av)!important;aspect-ratio:1/1!important;margin:0!important;border-radius:4px!important;overflow:hidden!important;background:#141415!important}
html body .screen #view#view #rd#rd .mo5-ah .f8hero.mo5-av img.p4av{width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important;display:block!important;border-radius:0!important}
html body .screen #view#view #rd#rd .mo5-ah .mo5-who{min-width:0;flex:1 1 auto}
html body .screen #view#view #rd#rd .mo5-ah h2.p4t{margin:0 0 6px!important;text-align:left!important;overflow-wrap:anywhere}
@media (min-width:700px){html body .screen #view#view #rd#rd .p4ah.mo5-ah{gap:24px!important}}
html body .screen #view#view #rd#rd .mo5-ext a{color:#f4d21b;text-decoration:none}

/* ---------- no empty boxes: a name or a title on a flat tile */
#view .mo5-name{display:flex!important;align-items:flex-end;justify-content:flex-start;background:#141415!important;aspect-ratio:1/1}
#view .mo5-name>i{font:700 14px/1.15 'Inter Tight',Inter,sans-serif;font-style:normal;color:#c9b987;padding:10px;text-align:left;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
/* the small performer card: the picture slot is 108 px, so a card without a picture carries the initials, the name is right under it */
#rd#rd .ma-person>.mo5-name.mo5-ini{width:108px;height:108px;flex:none;margin:0 0 10px;align-items:center;justify-content:center;background:#1c1c1d!important;aspect-ratio:auto}
#rd#rd .ma-person>.mo5-name.mo5-ini>i{font:700 30px/1 'Inter Tight',Inter,sans-serif;padding:0;color:#c9b987;display:block}
/* flat tiles must read as tiles on the dark page */
html body .screen #view#view #rd#rd .p4cv.t{background:#141415!important;align-items:flex-end!important;justify-content:flex-start!important}
html body .screen #view#view #rd#rd .p4cv.t b{font:700 14px/1.15 'Inter Tight',Inter,sans-serif!important;letter-spacing:0!important;padding:10px!important;text-align:left;color:#c9b987!important;white-space:normal!important;overflow-wrap:anywhere}
/* pre-order tiles: the title fits its box (it was cut: « DUNIYA KYA H ») */
html body #view#view .shf.mo-preorder>.si{flex:0 0 var(--mo5-card)!important;width:var(--mo5-card)!important}
html body #view#view .shf.mo-preorder>.si>.cvw{border:1px solid rgba(244,210,27,.35)}
html body #view#view .shf.mo-preorder .tt{font:700 15px/1.1 'Inter Tight',Inter,sans-serif!important;color:#f4d21b!important;align-items:flex-end!important;padding:10px!important;height:auto!important}
html body #view#view .shf.mo-preorder .tt::after{content:attr(data-t);text-transform:uppercase;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
#view .mo5-coming{position:absolute;left:8px;top:8px;z-index:2;font:700 10px/1 'Space Mono',monospace;font-style:normal;letter-spacing:.12em;text-transform:uppercase;color:#050505;background:#f4d21b;padding:5px 6px}
#view .mo5-coming.in{position:static;display:inline-block}

/* ---------- THE PLAYER BAR: on every version, under the view, for whatever plays */
html body #lcd#lcd,html.sound-on body .dev #lcd#lcd{display:none!important}     /* the old ticker strip: the bar replaces it */
#mo5-bar{position:relative;z-index:3;flex:none;display:flex;align-items:center;gap:12px;height:var(--mo5-bar);margin:0 -18px;padding:0 18px;background:#0b0b0c;border-top:1px solid rgba(255,255,255,.09);color:#fff1c6;min-width:0}
#mo5-bar button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:left}
#mo5-bar .mo5-art{flex:0 0 calc(var(--mo5-bar) - 16px);width:calc(var(--mo5-bar) - 16px);height:calc(var(--mo5-bar) - 16px);background:#141415;display:flex;align-items:center;justify-content:center;overflow:hidden}
#mo5-bar .mo5-art img{width:100%!important;height:100%!important;object-fit:cover;display:block;filter:none!important}
#mo5-bar .mo5-art img.mk{width:22px!important;height:22px!important;object-fit:contain}
#mo5-bar .mo5-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
#mo5-bar .mo5-txt b{font:600 13px/1.2 'Inter Tight',Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none}
#mo5-bar .mo5-txt span{font:400 11px/1.2 'Space Mono',monospace;color:#c9b987;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.02em}
#mo5-bar .mo5-tag,#mo5-bar .mo5-time{flex:none;font:700 10px/1 'Space Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:#c9b987}
#mo5-bar.on .mo5-tag{color:#050505;background:#f4d21b;padding:5px 6px}
#mo5-bar .mo5-time{display:none}
#mo5-bar .mo5-vol{display:none;align-items:center;gap:8px;flex:none;font:700 10px/1 'Space Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:#c9b987}
#mo5-bar .mo5-vol input{width:120px;accent-color:#f4d21b}
#mo5-bar .mo5-pp{flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#f4d21b;color:#050505;display:flex;align-items:center;justify-content:center}
#mo5-bar .mo5-pp:focus-visible,#mo5-bar .mo5-txt:focus-visible,#mo5-bar .mo5-art:focus-visible{outline:2px solid #fff1c6;outline-offset:2px}
#mo5-bar .mo5-line{position:absolute;left:0;right:0;top:-1px;height:9px;cursor:pointer}
#mo5-bar .mo5-line::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:rgba(255,255,255,.12)}
#mo5-bar .mo5-line i{position:absolute;left:0;top:0;height:2px;background:#f4d21b}
@media (min-width:700px){#mo5-bar .mo5-time{display:block}}
@media (min-width:1100px){
  #mo5-bar{width:100%;max-width:1360px;margin:0 auto;padding:0;gap:16px}
  #mo5-bar .mo5-vol{display:flex}
  #mo5-bar .mo5-txt b{font-size:14px}
}
@media (min-width:1700px){#mo5-bar .mo5-vol input{width:160px}#mo5-bar .mo5-pp{flex-basis:44px;width:44px;height:44px}}
html[data-theme=light] #mo5-bar{background:#f3ead8;color:#1b1b1b;border-top-color:#e2d3ba}
html[data-theme=light] #mo5-bar .mo5-txt span,html[data-theme=light] #mo5-bar .mo5-tag,html[data-theme=light] #mo5-bar .mo5-time,html[data-theme=light] #mo5-bar .mo5-vol{color:#6b5c3f}
/* on the radio screen the big player is the page itself: the bar stays (same place on every tab) */

/* ---------- PHASE 2 · HOME: shelves of square covers (the layout of a streaming app, the look of mōris) */
#view .mo5-home .mo5-date{display:flex;align-items:baseline;gap:8px;margin:2px 0 6px}
#view .mo5-home .mo5-date b{font:700 40px/1 'Inter Tight',Inter,sans-serif;letter-spacing:-1px;color:#fff1c6}
#view .mo5-home .mo5-date span{font:400 15px/1 'Inter Tight',Inter,sans-serif;color:#c9b987}
#view .mo5-home .shh{margin-top:22px}
/* a station card: its cover, or its name on a flat tile under the cover when the picture is missing; a small tag says live / playing */
#view .mo5-home .mo5-st .cvw .tt.mo5-under{z-index:0}
html body .screen #view#view .mo5-home .mo5-st .cvw img{z-index:1;filter:none!important}
#view .mo5-home .mo5-live{left:auto;right:8px;top:8px;background:#141415;color:#f4d21b}
#view .mo5-home .mo5-st .si.on .mo5-live{background:#f4d21b;color:#050505}
#view .mo5-home .mo5-st .si.on .cvw{outline:2px solid #f4d21b;outline-offset:-2px}
/* a label card: the label's name, big, on a flat tile */
#view .mo5-home .mo5-lab .tt.mo5-big{align-items:center!important;justify-content:center;text-align:center}
#view .mo5-home .mo5-lab .tt.mo5-big::after{font:700 20px/1.1 'Inter Tight',Inter,sans-serif;color:#fff1c6;-webkit-line-clamp:3}
/* an artist card: a round picture, or the name on a round flat tile */
html body .screen #view#view .mo5-home .mo5-art .cvw{border-radius:50%!important}
#view .mo5-home .mo5-art .cvw.mo5-name{align-items:center!important;justify-content:center!important}
#view .mo5-home .mo5-art .cvw.mo5-name>i{text-align:center;padding:14px}
#view .mo5-home .mo5-art .si>b,#view .mo5-home .mo5-art .si>span{text-align:center}
html body .screen #view#view .mo5-home .shf .si .cvw img{filter:none!important}

/* ---------- PHASE 2 · NAVIGATION: home · search · library first; the six tabs stay under them */
/* phone and iPad: a bar of four keys (home, search, library, more). « more » opens the menu with the six tabs. */
@media (max-width:1099px){
  html body .dev .panel>#sqk#sqk.sk6{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html body .dev .panel>#sqk#sqk.sk6>b.k-rest{display:none!important}
}
/* desktop and widescreen: one rail, two groups, « more » is not needed */
@media (min-width:1100px){
  html body div#dev.dev .panel #sqk#sqk.sk6>b.k-more{display:none!important}
  html body div#dev.dev .panel #sqk#sqk.sk6>b.k-main+b.k-rest{margin-top:18px!important;position:relative}
  html body div#dev.dev .panel #sqk#sqk.sk6>b.k-main+b.k-rest::before{content:"";position:absolute;left:14px;right:14px;top:-12px;height:1px;background:rgba(255,255,255,.08)}
  html body div#dev.dev .panel #sqk#sqk.sk6{margin-top:40px!important}
}
#sqk b:focus-visible{outline:2px solid #f4d21b;outline-offset:2px}
/* the six tabs inside the menu (phone and iPad) */
#device-menu .mo5-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 18px}
#device-menu .mo5-menu button{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 14px;background:#141415;border:0;color:#fff1c6;font:700 12px/1 'Space Mono',monospace;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;text-align:left}
#device-menu .mo5-menu button.on{color:#050505;background:#f4d21b}
#device-menu .mo5-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
@media (min-width:1100px){#device-menu .mo5-menu{display:none}}
/* ---------- the top bar is as wide as the content under it (at 2560 it ran wider) */
@media (min-width:1100px){html body div#dev.dev .screen>.top{width:100%!important;max-width:1360px!important;margin-left:auto!important;margin-right:auto!important}}
@media (min-width:1700px){html body div#dev.dev .screen>.top{max-width:1760px!important}}
/* ---------- PHASE 2 · SEARCH */
#view .mo5-search .mo5-q{display:block;margin:10px 0 6px}
#view .mo5-search .mo5-q span{display:block;font:700 10px/1 'Space Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:#c9b987;margin-bottom:8px}
#view .mo5-search .mo5-q input{width:100%;max-width:640px;height:52px;padding:0 16px;background:#141415;border:1px solid rgba(255,255,255,.12);border-radius:0;color:#fff1c6;font:500 17px/1 'Inter Tight',Inter,sans-serif;outline:0;-webkit-appearance:none;appearance:none}
#view .mo5-search .mo5-q input:focus{border-color:#f4d21b}
#view .mo5-search .mo5-q input::placeholder{color:#7d7462}
#view .mo5-hint{margin:14px 0 0;font:400 12px/1.5 'Space Mono',monospace;color:#c9b987;max-width:60ch}
#view .mo5-search .shh{margin-top:22px}
#view .mo5-tracks{list-style:none;margin:10px 0 24px;padding:0;max-width:880px}
#view .mo5-tracks li{display:flex;align-items:center;gap:12px;min-height:52px;border-bottom:1px solid rgba(255,255,255,.07)}
#view .mo5-tracks button{background:none;border:0;color:inherit;font:inherit;cursor:pointer;padding:0;text-align:left}
#view .mo5-tracks .mo5-tp{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#141415;color:#f4d21b;display:flex;align-items:center;justify-content:center;font-size:12px}
#view .mo5-tracks .mo5-tt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
#view .mo5-tracks .mo5-tt b{font:600 14px/1.2 'Inter Tight',Inter,sans-serif;color:#fff1c6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none}
#view .mo5-tracks .mo5-tt span{font:400 12px/1.2 'Inter Tight',Inter,sans-serif;color:#c9b987;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#view .mo5-tracks .mo5-td{flex:none;font:400 11px/1 'Space Mono',monospace;color:#c9b987}
html body .screen #view#view .mo5-search .mo5-art .cvw{border-radius:50%!important}
#view .mo5-search .mo5-art .cvw.mo5-name{align-items:center!important;justify-content:center!important}
#view .mo5-search .mo5-art .si>b,#view .mo5-search .mo5-art .si>span{text-align:center}

/* ---------- artist page: the short bio under the header, three lines until « more » (brief B, moris 20661) */
#view .mo5-bio{margin:14px 0 4px;max-width:68ch}
#view .mo5-bio p{margin:0;font:400 15px/1.5 'Inter Tight',Inter,sans-serif;color:#ddd5c3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-line}
#view .mo5-bio.open p{display:block;-webkit-line-clamp:unset;overflow:visible}
#view .mo5-bio button{margin-top:6px;padding:6px 0;background:none;border:0;color:#f4d21b;font:700 11px/1 'Space Mono',monospace;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}

/* ================================================================ PHASE 2B (moris-dev brief, 16 Nov · POUPS • music)
   The big play beside an artist's name and on a release; the numbered track list (number, cover 40 px, title, release,
   length, play). The app's own colours only (#f4d21b, #141415, #c9b987, #fff1c6), flat, no gradient, no motion.
   A row with no sound has NO button: its place stays empty so the lengths stay in one column. */
#view .mo5-namerow{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#view .mo5-namerow h2.p4t{margin:0!important;min-width:0}
#view .mo5-bigplay{flex:none;width:52px;height:52px;border-radius:50%;border:0;background:#f4d21b;color:#050505;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
#view .mo5-bigplay:focus-visible,#view .mo5-tracks button:focus-visible,#view .mo5-more:focus-visible{outline:2px solid #fff1c6;outline-offset:3px}
#view .mo5-relplay{display:flex;align-items:center;gap:12px;margin-top:16px}
#view .mo5-relplay .p4m{margin:0!important;font-size:12px!important}
#view .mo5-tl{max-width:880px}
#view .mo5-tracks.mo5-num li{display:grid;grid-template-columns:28px 40px minmax(0,1fr) auto 36px;align-items:center;gap:12px;min-height:56px}
#view .mo5-tracks.mo5-num li:has(>.mo5-tt.plain){grid-template-columns:28px minmax(0,1fr) auto 36px}
#view .mo5-tracks .mo5-tn{font:400 13px/1 'Space Mono',monospace;color:#c9b987;text-align:right}
#view .mo5-tracks .mo5-tc{width:40px!important;height:40px!important;max-width:40px;aspect-ratio:1/1;object-fit:cover;border-radius:3px;background:#141415;display:block}
#view .mo5-tracks .mo5-td{font-size:12px}
#view .mo5-tracks .mo5-tp.none{background:none}
#view .mo5-tracks li.on .mo5-tt b{color:#f4d21b}
#view .mo5-tracks .mo5-tt.plain b{white-space:normal;overflow:visible}
#view .mo5-more{margin:-12px 0 20px;padding:8px 0;background:none;border:0;color:#f4d21b;font:700 12px/1 'Space Mono',monospace;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
@media (max-width:699px){#view .mo5-bigplay{width:46px;height:46px}#view .mo5-tracks.mo5-num li{gap:10px;grid-template-columns:22px 40px minmax(0,1fr) auto 36px}#view .mo5-tracks.mo5-num li:has(>.mo5-tt.plain){grid-template-columns:22px minmax(0,1fr) auto 36px}}

/* azenda step 5 (16 Nov): the entry line of an event page: « Tickets · price ↗ », « Free entry », or the price alone. Same row as the others, the app's own colours. */
#rd .ma-row.mr-tix{display:flex;align-items:baseline;gap:12px;margin:0}
#rd .ma-row.mr-tix b{font-weight:700}
#rd .ma-row.mr-tix small{font:400 12px/1.4 'Space Mono',monospace;color:#c9b987}
#rd a.ma-row.mr-tix i{margin-left:auto;font-style:normal;color:#f4d21b}
#rd a.ma-row.mr-tix b{color:#f4d21b}
