/* UI layer 2026-11-25: system type (no web font), ID-first cards, saved drawer, filter bar, reserved ad space, focus states.
   Loads after site.css and overrides it. Class names never start with ad/ads/banner/sponsor. */
:root{--disp:ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold","Trebuchet MS",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
h1,h2,.brand,.fw,.sec b,.step h3,.num,.fix b,.catbar,.sortbar,.copy .cta,.search input,.sortbar button,.more,.catbar input,.catbar button{font-family:var(--disp)}
h1,h2,.brand,.fw,.sec b,.step h3,.num,.fix b{font-weight:900;letter-spacing:0}
.search input,.catbar input{font-weight:600}
.sortbar button,.more,.catbar button{font-weight:800}

/* Focus and motion */
:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #1a1050}
.item :focus-visible,.cats a:focus-visible,.sec:focus-visible{outline-color:#1a1050;box-shadow:none}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.item:hover,.cats a:hover,.sec:hover{transform:none}}
.anchor{scroll-margin-top:110px;height:0}
.skip{position:absolute;left:-999px}

/* Header: brand + saved on row 1, full-width search on row 2 (phones); one row on desktop. */
.bar{gap:8px 12px}
.brand{order:1;font-size:1.4rem}
.mybtn{order:2;margin-left:auto;border:3px solid var(--out);background:#fff;color:var(--ink);border-radius:999px;padding:6px 14px;min-height:44px;font:800 .92rem var(--disp);cursor:pointer;box-shadow:0 3px 0 var(--out)}
.mybtn[hidden]{display:none}
.mybtn span{color:#e0356a}.mybtn b{background:var(--sun);border-radius:999px;padding:0 7px;font-weight:800}.mybtn b:empty{display:none}
.search{order:3;flex:1 1 100%}
.search input{min-height:46px;font-size:1rem}
.main{order:2}
@media(min-width:900px){.bar{flex-wrap:nowrap}.search{order:3;flex:0 1 340px;margin-left:auto}.mybtn{order:4;margin-left:0}.main{display:flex}}

/* Reserved room for the top leaderboard (units.js inserts it right after the header): no layout shift. */
.rsv{height:82px}
.sp-unit-top{margin:16px auto -66px!important}
@media(min-width:480px){.rsv{height:92px}.sp-unit-top{margin:16px auto -76px!important}}
@media(min-width:760px){.rsv{height:122px}.sp-unit-top{margin:16px auto -106px!important}}
.rsv{pointer-events:none}

/* Cards: the ID is the hero. */
.item{position:relative;content-visibility:auto;contain-intrinsic-size:auto 330px}
.item[hidden]{display:none}
.pic{position:relative}
.copy{min-height:52px;margin:8px;padding:8px 12px;border-radius:14px;gap:4px}
.copy .cid{font:900 1.12rem var(--mono);letter-spacing:.3px}
.copy .cta{font-size:.85rem;padding:4px 10px;align-self:center}
.copy.done{background:var(--sun)}
.nm{font-size:.98rem}
.ext{color:#4a2fc0;padding:4px 0;min-height:24px}
.fav{position:absolute;top:6px;right:6px;width:44px;height:44px;border-radius:50%;border:3px solid var(--out);background:#fff;color:#e0356a;font-size:1.35rem;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;box-shadow:0 3px 0 var(--out);touch-action:manipulation}
.fav[aria-pressed=true]{background:#ffd9e6}
.fav:active{transform:translateY(2px);box-shadow:none}
.song{padding-right:0}
.song .fav{position:static;flex:none;margin:8px 0 8px 4px;width:44px;height:44px}
.song .copy{min-width:150px;flex:1 1 150px}
.song .txt{flex:1 1 150px}
@media(min-width:620px){.song .copy{flex:0 0 auto}}

/* Filter bar and jump line */
.findbar{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:14px 0 0;background:#2b1d6e;border:3px solid var(--out);border-radius:18px;padding:10px 12px;box-shadow:4px 4px 0 var(--out)}
.findbar[hidden]{display:none}
.findbar label{font-weight:800;font-family:var(--disp)}
.findbar input{flex:1 1 180px;min-width:0;min-height:44px;border:3px solid var(--out);border-radius:999px;padding:8px 14px;font:600 1rem system-ui,sans-serif;color:var(--ink);background:#fff}
.findbar span{color:#d9d2ff;font-size:.9rem}
.jumpline{font-size:.95rem;color:#d9d2ff;margin:10px 0 0}
.jumpline a{display:inline-block;padding:4px 2px;color:#fff}

/* Saved / recently copied drawer */
.mine{background:#fff;color:var(--ink);border-bottom:4px solid var(--out)}
.mine[hidden]{display:none}
.mine h2,.mine h3{color:var(--ink);text-shadow:none}
.mine h2{margin:12px 0 0;font-size:1.3rem}.mine h3{margin:14px 0 6px}
.minehead{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mynote{margin:2px 0 0;color:var(--ink2);font-size:.9rem}
.plain{background:none;border:2px solid var(--ink);color:var(--ink);border-radius:999px;padding:4px 12px;min-height:40px;font:800 .85rem var(--disp);cursor:pointer}
.mlist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f2eeff;border:2px solid var(--ink);border-radius:14px;padding:6px 8px}
.mrow img,.mtile{width:48px;height:48px;border-radius:10px;flex:none;object-fit:cover;background:#ddd5ff;display:grid;place-items:center}
.mtile{background:#7b4dff;color:#fff;font-size:1.4rem}
.mn{flex:1 1 120px;min-width:0;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrow .copy{margin:0;min-height:44px;flex:0 1 auto;flex-direction:row;align-items:center}
.mrow .copy .cid{font-size:1rem}
@media(min-width:760px){.mlist{grid-template-columns:1fr 1fr}}
.back .mlist .mrow{color:var(--ink)}
.back h2{margin-top:1.2em}

/* Footer: popular categories on every page */
.fpop h2{font-size:1.05rem;margin:0 0 6px;color:#fff;text-shadow:none}
.fpop ul{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px}
.fpop a{display:inline-block;padding:6px 0;color:#fff}
.foot a{text-underline-offset:3px}

/* Contact / legal pages */
.prose{max-width:46rem}
.prose h2{font-size:1.3rem}
.prose ul{padding-left:1.2em}
.mailbox{display:inline-block;background:var(--sun);color:var(--ink)!important;border:3px solid var(--out);border-radius:14px;box-shadow:0 4px 0 var(--out);padding:10px 18px;font:900 1.1rem var(--disp);text-decoration:none;word-break:break-all}

/* Reserved room for the mid-page rectangle (rsv.js adds the spacer) and the native banner above the footer (static spacer).
   The unit units.js inserts right after a spacer overlays it with a negative top margin: same total height before and after it loads. */
.rsv-box{height:282px;margin:0;pointer-events:none;clear:both}
.rsv-nat{height:292px}
.rsv-box+.sp-unit-mid{margin:-266px auto 16px!important}
.rsv-box+.sp-unit-native{margin:-276px auto 16px!important}
.rsv-box.rsv-off,.sp-unit.rsv-off{display:none!important}
