/* section landing pages (_app/landing.php): hero clip, starting-point cards; the rows reuse media.css .mrow/.mcard */
.lhero{display:grid;grid-template-columns:minmax(0,640px) minmax(240px,1fr);grid-template-areas:"m t" "m q";gap:8px 20px;align-items:end;margin:4px 0 22px;padding:14px;border-radius:12px;
  background:color-mix(in oklab, var(--cur) 10%, var(--surface));border:1px solid color-mix(in oklab, var(--cur) 30%, var(--line))}
.lhero-m{grid-area:m;align-self:center;border-radius:8px;overflow:hidden;background:var(--raised);aspect-ratio:16/9}
.lhero-m img{display:block;width:100%;height:100%;object-fit:cover}
.lhero-t{grid-area:t}
.lhero-t h1{margin:0 0 4px;font-size:30px;line-height:1.1}
.lhero-n{color:var(--muted);font-size:14px;margin-bottom:12px}
.lhero-q{grid-area:q;align-self:start;margin:0}
.lhero-all{display:inline-block;margin-bottom:4px}
.lhero-all{font-weight:600}
.lsps{margin:0 0 22px}
.lsps h2{margin:0 0 8px;font-size:17px}
.lsp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.lsp{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--fg);text-decoration:none;min-height:88px}
.lsp:hover{border-color:var(--cur)}
.lsp:hover .lsp-t{text-decoration:underline}
.lsp:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.lsp-c{display:flex;flex:none}
.lsp-c .mt{width:36px;height:50px;margin:0 0 0 -12px;box-shadow:0 0 0 2px var(--surface)}
.lsp-c .mt:first-child{margin-left:0}
.lsp-c .mt b{font-size:14px}.lsp-c .mt i{display:none}
.lsp-c .mt-music{height:36px;margin-top:0;border-radius:50%}
.lsp-x{display:flex;flex-direction:column;gap:2px;min-width:0}
.lsp-t{font-size:14.5px;line-height:1.25}
.lsp-l{font-size:12.5px;color:var(--muted);line-height:1.3}
.lsp-n{font-size:12px;font-weight:600;color:var(--cur)}
.mt-games{background:var(--raised)}
.landpage .mland{margin-top:0}
/* short landscape screens: a smaller clip so the starting points show without scrolling far */
@media (max-height:500px) and (orientation:landscape){.lhero{grid-template-columns:minmax(0,300px) minmax(240px,1fr)}.lhero-t h1{font-size:24px}}
.lhero-t h1{overflow-wrap:anywhere}
/* phones: the same hero (square clip), the starting points as a two-row swipeable strip so every card stays reachable */
@media (max-width:700px){
  .lhero{grid-template-columns:110px minmax(0,1fr);grid-template-areas:"m t" "q q";gap:10px 12px;padding:10px;margin-bottom:16px;align-items:center}
  .lhero-m{aspect-ratio:1}
  .lhero-t{grid-area:t}
.lhero-t h1{font-size:22px}
  .lhero-n{font-size:12.5px;margin-bottom:8px}
  .lhero-q input{min-width:0;font-size:16px}
  .lsp-grid{grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-template-columns:none;grid-auto-columns:78%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;overscroll-behavior-x:contain}
  .lsp{scroll-snap-align:start;min-height:44px}
}
@media (max-width:700px) and (orientation:landscape),(max-height:500px) and (orientation:landscape){
  .lsp-grid{grid-auto-columns:42%}
}
/* "More like this" on record pages (_app/nn.php): the landing rows' look, below the record */
.mlike{margin:22px 0 4px}
.mlike .mrow-h{flex-wrap:wrap;row-gap:2px}
.mlike-why{font-size:12px;cursor:help}
.gamepage .mlike{margin:0;padding:6px 14px 14px;border-top:1px solid var(--line)}
/* related rows on record pages (_app/related.php): a series card's kicker, this title marked, "More ways in" */
.mways{margin:18px 0 6px}
.mways .mlike{margin:0 0 14px}
.mcard-k{font:600 11px var(--mono);letter-spacing:.03em;color:var(--muted);text-transform:uppercase}
.mcard.here .mt{outline:3px solid var(--accent);outline-offset:-3px}
.mways-more{margin:2px 0 10px}
.mways-more>summary{cursor:pointer;font-weight:600;padding:10px 0;min-height:44px;box-sizing:border-box}
.mways-more[open]>summary{margin-bottom:6px}
.gamepage .mways{margin:14px 0}
.gamepage .mways .mlike{padding:0;border-top:0}
.mterms{margin:4px 0}.mterms>summary{cursor:pointer;display:inline-block}
.msim{font-size:12px;margin-left:6px;white-space:nowrap}
.mlike-h{margin:8px 0 12px;font-size:1.5em}
.mlike-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:16px 12px;margin-bottom:12px}
.mlike-grid .mcard{flex:none}
@media (max-width:700px){.mlike-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}.mlike-grid .mt.card{width:100%}}
