/* songs page, Apple-Music-style (js/songs-am.js) — dark-navy panels on both themes */
.am{--am-bg:#0b1a33;--am-bg2:#12264a;--am-line:rgba(140,180,255,.16);--am-tx:#eef3fb;--am-mu:#9fb2d0;--am-ac:#ff5d6c;max-width:1040px;margin-top:8px}
.am-intro{color:var(--muted,#4a5870);font-size:1.02rem;line-height:1.6;margin:0 0 18px}.am-intro p{margin:0 0 6px}
.am-h{font:700 1.35rem/1.2 var(--font-serif,Georgia,serif);margin:8px 0 14px}
.am-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(min-width:760px){.am-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
@media(min-width:1180px){.am-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.am-album{display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none;border-radius:16px}
.am-album:hover .am-cov-lg,.am-album:focus-visible .am-cov-lg{transform:translateY(-3px);box-shadow:0 14px 34px rgba(5,14,32,.35)}
.am-at{font-weight:650;font-size:1rem;line-height:1.25;margin-top:4px}.am-am{color:var(--am-mu);font-size:.86rem;margin:0}
.am .am-album .am-am,.am-intro{color:var(--muted,#5a6780)}
.am-cov{display:block;position:relative;overflow:hidden;border-radius:12px;background:linear-gradient(140deg,#1d3d72 0%,#0d1b36 55%,#3a1d4f 100%);flex:0 0 auto}
.am-cov img{width:100%;height:100%;object-fit:cover;display:block}
.am-cov-lg{aspect-ratio:16/9;width:100%;border-radius:14px;box-shadow:0 8px 22px rgba(5,14,32,.22);transition:transform .2s,box-shadow .2s}
.am-cov-ph{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#bcd2ff}
.am-cov-ph svg{width:34%;max-width:72px;opacity:.85}.am-cov-ph b{font-size:.8rem;font-weight:600;opacity:.8;padding:0 10px;text-align:center}
.am-cov-sm{width:96px;height:54px;border-radius:10px;aspect-ratio:16/9}.am-cov-sm.am-cov-ph svg{width:22px}.am-cov-sm.am-cov-ph b{display:none}
.am-back{display:inline-flex;margin:4px 0 14px;font-weight:600;text-decoration:none;color:var(--accent,#c0392b)}
.am-ahead{display:grid;grid-template-columns:1fr;gap:16px;align-items:end;padding:16px;border-radius:20px;background:linear-gradient(160deg,var(--am-bg2),var(--am-bg));color:var(--am-tx)}
.am-cov-xl{width:min(420px,92vw);aspect-ratio:16/9;border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.45);margin:0 auto}
.am-ahead h2{font:700 1.7rem/1.15 var(--font-serif,Georgia,serif);margin:2px 0 4px;color:var(--am-tx)}
.am-kick{text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:700;color:var(--am-ac);margin:0}
.am-btn{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:10px 22px;border:0;border-radius:999px;background:var(--am-ac);color:#fff;font:inherit;font-weight:700;cursor:pointer;min-height:44px}
.am-btn svg{width:20px;height:20px}
@media(min-width:760px){.am-ahead{grid-template-columns:min(380px,42%) 1fr;padding:22px;gap:26px}.am-cov-xl{width:100%;max-width:380px;margin:0}.am-ahead h2{font-size:2.1rem}}
.am-list{list-style:none;margin:14px 0 0;padding:6px;border-radius:18px;background:var(--am-bg);color:var(--am-tx)}
.am-row{display:flex;align-items:center;gap:4px;border-radius:12px}.am-row+.am-row{border-top:1px solid var(--am-line)}
.am-row:hover{background:rgba(255,255,255,.04)}
.am-rb{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px 8px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:56px}
.am-n{width:20px;text-align:center;color:var(--am-mu);font-variant-numeric:tabular-nums}
.am-tt{flex:1;min-width:0;display:flex;flex-direction:column}.am-tt b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.am-tt small{color:var(--am-mu);font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.am-d{color:var(--am-mu);font-size:.88rem;font-variant-numeric:tabular-nums}
.am-ib{flex:0 0 auto;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:none;color:var(--am-mu);cursor:pointer}
.am-ib:hover{color:var(--am-tx);background:rgba(255,255,255,.07)}.am-ib svg{width:20px;height:20px}
.am-eq{display:none;width:20px;height:16px;align-items:flex-end;justify-content:center;gap:2px}.am-eq i{width:3px;background:var(--am-ac);border-radius:2px;height:40%}
.am-row.is-cur .am-tt b{color:var(--am-ac)}.am-row.is-cur .am-n{display:none}.am-row.is-cur .am-eq{display:inline-flex}
.am-row.is-on .am-eq i{animation:am-eq .9s ease-in-out infinite alternate}.am-row.is-on .am-eq i:nth-child(2){animation-delay:-.3s}.am-row.is-on .am-eq i:nth-child(3){animation-delay:-.6s}
@keyframes am-eq{from{height:25%}to{height:100%}}
@media (prefers-reduced-motion:reduce){.am-row.is-on .am-eq i{animation:none;height:70%}}
.am-foot{margin:26px 0 8px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.am-ch{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid var(--am-line);text-decoration:none;font-weight:600;color:inherit;min-height:40px}.am-ch svg{width:20px;height:20px}
.am-note,.am-made{font-size:.85rem;color:var(--muted,#5a6780);margin:0;max-width:720px}
/* mini player */
.am-bar{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:60;border-radius:16px;background:rgba(11,26,51,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#eef3fb;box-shadow:0 10px 30px rgba(0,0,0,.35);overflow:hidden;max-width:760px;margin:0 auto}
.am-bar-in{display:flex;align-items:center;gap:4px;padding:8px 6px 8px 8px}
.am-open{flex:1;min-width:0;display:flex;align-items:center;gap:10px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0}
.am-cov-bar{width:72px;height:40px;border-radius:8px;aspect-ratio:16/9}.am-cov-bar.am-cov-ph b{display:none}.am-cov-bar.am-cov-ph svg{width:22px}
.am-bar .am-tt small{color:#9fb2d0}
.am-ctl{display:flex;align-items:center;gap:2px}.am-ctl button,.am-x{width:40px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:inherit;cursor:pointer;border-radius:10px}
.am-ctl svg{width:20px;height:20px}.am-ctl .am-pp svg{width:26px;height:26px}.am-x svg{width:18px;height:18px;opacity:.7}
.am-line{height:3px;background:rgba(255,255,255,.12)}.am-line i{display:block;height:100%;width:0;background:#ff5d6c}
@media(max-width:400px){.am-bar .am-ctl [data-a=prev]{display:none}}
body.am-on{padding-bottom:84px}
/* now playing sheet */
.am-sheet{position:fixed;inset:0;z-index:70;background:radial-gradient(120% 80% at 20% 0%,#1d3d72 0%,#0b1a33 55%,#070f20 100%);color:#eef3fb;overflow-y:auto;-webkit-overflow-scrolling:touch}
html.am-lock{overflow:hidden}
.am-sh-in{max-width:1040px;margin:0 auto;padding:12px 18px 40px}
.am-sh-x{width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.am-sh-x svg{width:24px;height:24px}
.am-sh-top{display:grid;gap:18px;margin-top:10px}
.am-cov-np{width:min(520px,92vw);aspect-ratio:16/9;border-radius:16px;margin:0 auto;box-shadow:0 22px 50px rgba(0,0,0,.5)}
.am-sh-meta h2{font:700 1.5rem/1.2 var(--font-serif,Georgia,serif);margin:4px 0 2px;color:#fff}.am-sh-meta .am-am{color:#9fb2d0}
.am-seek{margin:14px 0 4px;--p:0%}.am-seek input{width:100%;margin:0;accent-color:#ff5d6c;height:28px}
.am-times{display:flex;justify-content:space-between;font-size:.78rem;color:#9fb2d0;font-variant-numeric:tabular-nums}
.am-ctl-big{justify-content:center;gap:18px;margin:4px 0 12px}.am-ctl-big button{width:56px;height:56px}.am-ctl-big svg{width:28px;height:28px}
.am-ctl-big .am-pp{width:68px;height:68px;border-radius:50%;background:#fff;color:#0b1a33}.am-ctl-big .am-pp svg{width:32px;height:32px}
.am-sheet .am-ch{border-color:rgba(255,255,255,.2)}
@media(min-width:900px){.am-sh-top{grid-template-columns:min(480px,48%) 1fr;align-items:center;gap:36px}.am-cov-np{margin:0;width:100%}}
.am-lyr{margin-top:22px;padding:18px;border-radius:18px;background:rgba(255,255,255,.05)}
.am-lyr h3{margin:0 0 10px;font-size:1.05rem}
.am-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.am-tabs button{border:1px solid rgba(255,255,255,.2);background:none;color:inherit;border-radius:999px;padding:6px 14px;font:inherit;font-size:.88rem;cursor:pointer;min-height:36px}
.am-tabs button[aria-selected=true]{background:#fff;color:#0b1a33;border-color:#fff}
.am-lyr-t{font-size:1.08rem;line-height:1.55}.am-stanza{margin:0 0 16px}.am-stanza h4{margin:0 0 4px;font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;color:#ff8f9a}.am-stanza p{margin:0}
@media(min-width:900px){.am-lyr-t{columns:2;column-gap:40px}.am-stanza{break-inside:avoid}}

.am-list .am-tt b{white-space:normal;overflow:visible;line-height:1.25}
@media(max-width:420px){.am-list .am-cov-sm{display:block;width:72px;height:40px}.am-rb{gap:10px;padding-left:6px}.am-ib{width:40px}}

/* ---- YouTube-style watch + playlist (t418u) ---- */
.am.yt{max-width:1180px}
.am-sign{margin:10px 0 0;font-weight:700;color:var(--am-ac,#ff5d6c)}
.yt-pl-head{display:grid;grid-template-columns:1fr;gap:16px;align-items:end;padding:18px;border-radius:20px;background:linear-gradient(160deg,var(--am-bg2),var(--am-bg));color:var(--am-tx);margin-bottom:8px}
.yt-pl-head .am-cov-xl{aspect-ratio:16/9;width:100%;max-width:420px;border-radius:14px}
@media(min-width:760px){.yt-pl-head{grid-template-columns:min(380px,42%) 1fr;gap:26px;padding:22px}.yt-pl-head .am-cov-xl{max-width:none;margin:0}}
.yt-list .yt-row,.am-list .yt-row{display:flex;align-items:center;gap:4px;border-radius:12px}
.yt-list .yt-row+.yt-row{border-top:1px solid var(--am-line)}
.yt-row-a{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px 8px;color:inherit;text-decoration:none;min-height:56px}
.yt-row-a:hover{background:rgba(255,255,255,.04);border-radius:12px}
.yt-n{width:22px;text-align:center;color:var(--am-mu);font-variant-numeric:tabular-nums;flex:0 0 auto}
.yt-row.is-cur .am-tt b,.yt-row.is-on .am-tt b{color:var(--am-ac)}
.yt-watch{display:grid;grid-template-columns:1fr;gap:22px;margin-top:4px}
@media(min-width:980px){.yt-watch{grid-template-columns:minmax(0,1fr) 320px;align-items:start}}
.yt-stage{position:relative;border-radius:18px;overflow:hidden;background:#071226;aspect-ratio:16/9;box-shadow:0 18px 44px rgba(5,14,32,.4)}
.yt-stage-cov,.yt-stage .am-cov{width:100%;height:100%;border-radius:0;aspect-ratio:auto}
.yt-stage-cov img{width:100%;height:100%;object-fit:cover}
.yt-stage-play{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(180deg,transparent 40%,rgba(7,18,38,.55))}
.am-btn-xl{padding:14px 28px;font-size:1.05rem;box-shadow:0 12px 28px rgba(255,93,108,.45)}
.am-btn-xl svg{width:24px;height:24px}
.yt-title{font:800 1.55rem/1.2 Inter,system-ui,sans-serif;margin:14px 0 4px;letter-spacing:-.02em;color:inherit}
@media(min-width:760px){.yt-title{font-size:1.85rem}}
.yt-sub{margin:0 0 8px;color:var(--muted,#5a6780);font-size:.95rem}
.yt-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}
.yt-ch{display:flex;align-items:center;gap:10px}
.yt-av{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#1d3d72,#ff5d6c);color:#fff;font-weight:800}
.yt-ch b{display:block;font-size:.95rem}.yt-ch small{color:var(--muted,#5a6780)}
.yt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.yt-like{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid var(--am-line,rgba(140,180,255,.2));background:var(--am-bg,#0b1a33);color:var(--am-tx,#eef3fb);font:inherit;font-weight:650;cursor:pointer;min-height:42px}
.yt-like svg{width:18px;height:18px}.yt-like b{font-variant-numeric:tabular-nums;opacity:.9}
.yt-like.is-on{border-color:rgba(255,93,108,.55);color:#ff8f9a;background:rgba(255,93,108,.12)}
.yt-yt{margin:0}
.yt-desc{margin:0 0 16px;padding:12px 14px;border-radius:14px;background:rgba(11,26,51,.06);border:1px solid rgba(16,35,64,.08)}
html:not([data-theme=light]) .yt-desc{background:rgba(255,255,255,.05);border-color:var(--am-line)}
.yt-desc-tog{width:100%;text-align:left;border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
.yt-desc-tog .yt-more{color:var(--am-ac,#ff5d6c);font-weight:700}
.yt-desc-body{margin-top:10px}.yt-desc-body p{margin:0;line-height:1.55;color:var(--muted,#4a5870)}
html:not([data-theme=light]) .yt-desc-body p{color:var(--am-mu)}
.yt-lyr{margin:18px 0;padding:16px;border-radius:16px;background:var(--am-bg);color:var(--am-tx)}
.yt-lyr h3{margin:0 0 10px}
.yt-comments{margin:22px 0 8px}
.yt-comments h3{margin:0 0 12px;font-size:1.1rem}
.yt-cc{opacity:.65;font-weight:600}
.yt-cform{display:grid;gap:8px;margin-bottom:16px;padding:14px;border-radius:14px;background:rgba(11,26,51,.05);border:1px solid rgba(16,35,64,.08)}
html:not([data-theme=light]) .yt-cform{background:rgba(255,255,255,.04);border-color:var(--am-line)}
.yt-cname,.yt-ctext{width:100%;box-sizing:border-box;padding:11px 12px;border-radius:10px;border:1px solid rgba(16,35,64,.15);background:#fff;color:inherit;font:inherit}
html:not([data-theme=light]) .yt-cname,html:not([data-theme=light]) .yt-ctext{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);color:#eef3fb}
.yt-ctext{resize:vertical;min-height:64px}
.yt-csend{justify-self:start;margin-top:2px}
.yt-cmsg{margin:4px 0 0;font-weight:600;color:#1a7a4c}.yt-cmsg.is-err{color:#c0392b}
.yt-clist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.yt-cmt{display:grid;grid-template-columns:40px 1fr;gap:10px}
.yt-cmt-av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#163a7a;color:#fff;font-weight:800}
.yt-cmt b{font-size:.92rem}.yt-cmt time{margin-left:8px;font-size:.78rem;color:var(--muted,#6b7c96);font-weight:500}
.yt-cmt p{margin:4px 0 0;line-height:1.45}
.yt-cmt-empty{color:var(--muted,#6b7c96);padding:8px 0}
.yt-related{padding:14px;border-radius:16px;background:var(--am-bg);color:var(--am-tx)}
.yt-related h3{margin:0 0 12px;font-size:1rem}
.yt-related ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.yt-related a{display:flex;align-items:center;gap:10px;padding:6px;border-radius:10px;color:inherit;text-decoration:none}
.yt-related a:hover{background:rgba(255,255,255,.06)}

/* t426u: YouTube-style 16:9 thumbs; channel brand OK; hide leftover sign */
.am-sign{display:none!important}
.yt-list .am-cov-sm,.yt-row .am-cov-sm{width:120px;height:68px;border-radius:10px;aspect-ratio:16/9}
.yt-related .am-cov-sm{width:128px;height:72px;border-radius:8px;aspect-ratio:16/9}
.am.yt .am-cov-lg{aspect-ratio:16/9;border-radius:14px}
.am.yt .am-cov-bar{width:72px;height:40px;border-radius:8px;aspect-ratio:16/9}
.am.yt .am-cov-np{aspect-ratio:16/9;width:min(480px,92vw);border-radius:14px}
.yt-ch small{display:none}
@media(max-width:420px){.yt-list .am-cov-sm{display:block!important;width:96px;height:54px}.yt-n{display:none}}


/* t431u: SongsFromKamal — compress site page chrome; closer to YouTube watch */
#view:has(.am.yt) .pg-head{margin-bottom:10px;padding-bottom:8px}
#view:has(.am.yt) .pg-head .pg-ico{display:none}
#view:has(.am.yt) .pg-head .kicker{font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;opacity:.75}
#view:has(.am.yt) .pg-head h1{font-size:clamp(1.45rem,2.6vw,1.9rem);letter-spacing:-.02em;margin:.15em 0}
#view:has(.am.yt) .pg-head .lead{font-size:.95rem;max-width:42rem;color:var(--muted,#5a6780)}
#view:has(.am.yt) .pg-head .actions{margin-top:6px}
.am.yt .yt-watch{gap:28px}
.am.yt .yt-title{font:700 1.35rem/1.25 Inter,system-ui,sans-serif;letter-spacing:-.01em}
@media(min-width:760px){.am.yt .yt-title{font-size:1.55rem}}
.am.yt .yt-meta{padding:4px 0 8px;border-bottom:1px solid rgba(16,35,64,.08);margin-bottom:12px}
html:not([data-theme=light]) .am.yt .yt-meta{border-bottom-color:var(--am-line)}
.am.yt .yt-ch{gap:12px}
.am.yt .yt-av{width:40px;height:40px;font-size:.95rem}
.am.yt .yt-related{position:sticky;top:12px}
.am.yt .yt-related a{gap:12px;padding:8px;align-items:flex-start}
.am.yt .yt-related .am-tt b{white-space:normal;line-height:1.3;font-size:.92rem}
.am.yt .yt-related .am-tt small{margin-top:2px}
.am.yt .yt-pl-head h2{font:800 1.6rem/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em}

/* ---- t443u: Melody of Hope — YouTube dark masterpiece (site navy + coral) ---- */
.am.yt{
  --yt-bg:#0f1728;
  --yt-elev:#18253c;
  --yt-elev2:#1e2f4a;
  --yt-line:rgba(160,190,255,.12);
  --yt-tx:#f1f5ff;
  --yt-mu:#9aadc8;
  --yt-ac:#ff5d6c;
  max-width:1280px;
}
.am.yt.yt-is-watch{margin-top:0}

/* Collapse site page chrome on watch — song IS the page */
#view:has(.yt-watch-page) .pg-head,
#view .topic.yt-watch-page .pg-head{display:none!important}
#view:has(.yt-watch-page) .pg-more,
#view .topic.yt-watch-page .pg-more{display:none!important}
#view:has(.yt-watch-page) .navrow,
#view .topic.yt-watch-page .navrow{margin:0 0 10px;padding:0}
#view:has(.yt-watch-page) .disclaimer-box,
#view .topic.yt-watch-page .disclaimer-box{display:none!important}

.am.yt .yt-back{
  display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;
  font:600 .88rem/1 Inter,system-ui,sans-serif;color:var(--yt-mu);text-decoration:none;
  opacity:.9
}
.am.yt .yt-back:hover{color:var(--yt-ac)}

/* Watch grid — desktop like YT (player + sidebar) */
.am.yt .yt-watch{
  display:grid;grid-template-columns:1fr;gap:18px;margin:0;
  color:inherit
}
html:not([data-theme=light]) .am.yt .yt-watch{color:var(--yt-tx)}
.am.yt .yt-ch-t b{color:inherit}
html[data-theme=light] .am.yt .yt-ch-t b,
html:not([data-theme]) .am.yt .yt-ch-t b{color:#0f1b33}
html:not([data-theme=light]) .am.yt .yt-ch-t b{color:#fff}
@media(min-width:1060px){
  .am.yt .yt-watch{grid-template-columns:minmax(0,1fr) 402px;gap:24px;align-items:start}
}

/* Big 16:9 stage */
.am.yt .yt-stage{
  position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;
  background:#000;box-shadow:0 20px 50px rgba(3,10,24,.55);
  isolation:isolate
}
@media(max-width:720px){
  .am.yt .yt-stage{border-radius:0;margin-inline:calc(50% - 50vw);width:100vw;max-width:100vw}
}
.am.yt .yt-stage-cov,.am.yt .yt-stage .am-cov{width:100%;height:100%;border-radius:0;aspect-ratio:auto;display:block}
.am.yt .yt-stage-cov img{width:100%;height:100%;object-fit:cover;display:block}
.am.yt .yt-stage-play{
  position:absolute;inset:0;display:grid;place-items:center;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 35%,rgba(0,0,0,.45) 100%);
  transition:background .2s
}
.am.yt .yt-stage:hover .yt-stage-play{background:linear-gradient(180deg,rgba(0,0,0,.12) 30%,rgba(0,0,0,.5) 100%)}
.am.yt .yt-playbtn{
  width:72px;height:72px;border:0;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;
  background:rgba(15,23,40,.72);color:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.45),inset 0 0 0 2px rgba(255,255,255,.18);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:transform .15s,background .15s,box-shadow .15s
}
.am.yt .yt-playbtn svg{width:30px;height:30px;margin-left:3px}
.am.yt .yt-playbtn:hover{transform:scale(1.06);background:var(--yt-ac);box-shadow:0 14px 32px rgba(255,93,108,.45)}
.am.yt .yt-playbtn:focus-visible{outline:2px solid #fff;outline-offset:3px}

.am.yt .yt-below{padding:2px 2px 0}
.am.yt .yt-title{
  font:700 1.28rem/1.3 Inter,Roboto,system-ui,sans-serif;
  letter-spacing:-.015em;margin:12px 0 6px;color:inherit
}
html[data-theme=light] .am.yt.yt-is-watch .yt-title,
html:not([data-theme]) .am.yt.yt-is-watch .yt-title{color:#0f1b33}
html:not([data-theme=light]) .am.yt .yt-title{color:#fff}
@media(min-width:760px){.am.yt .yt-title{font-size:1.45rem}}

.am.yt .yt-sub{margin:0 0 8px;color:var(--yt-mu);font-size:.92rem}

.am.yt .yt-meta{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px;padding:6px 0 14px;margin:0 0 10px;
  border-bottom:1px solid rgba(16,35,64,.1)
}
html:not([data-theme=light]) .am.yt .yt-meta{border-bottom-color:var(--yt-line)}

.am.yt .yt-ch{display:flex;align-items:center;gap:12px;min-width:0}
.am.yt .yt-av{
  width:40px;height:40px;border-radius:50%;flex:0 0 auto;
  display:grid;place-items:center;font:800 .95rem/1 Inter,system-ui,sans-serif;color:#fff;
  background:linear-gradient(145deg,#1d4a8c 0%,#ff5d6c 100%);
  box-shadow:0 4px 12px rgba(15,40,90,.3)
}
.am.yt .yt-ch-t{min-width:0;display:flex;flex-direction:column;gap:1px}
.am.yt .yt-ch-t b{font-size:.95rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.am.yt .yt-ch-t small{display:block!important;font-size:.75rem;color:var(--muted,#6b7c96);font-weight:500}

.am.yt .yt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.am.yt .yt-like{
  display:inline-flex;align-items:center;gap:8px;padding:8px 16px;min-height:40px;
  border:0;border-radius:999px;cursor:pointer;font:650 .9rem/1 Inter,system-ui,sans-serif;
  background:var(--yt-elev);color:var(--yt-tx);
  box-shadow:inset 0 0 0 1px var(--yt-line)
}
.am.yt .yt-like svg{width:18px;height:18px}
.am.yt .yt-like b{font-variant-numeric:tabular-nums;opacity:.92}
.am.yt .yt-like:hover{background:var(--yt-elev2)}
.am.yt .yt-like.is-on{background:rgba(255,93,108,.16);color:#ff9aa4;box-shadow:inset 0 0 0 1px rgba(255,93,108,.45)}

/* Description — YT gray card */
.am.yt .yt-desc{
  margin:0 0 14px;padding:12px 14px;border-radius:12px;
  background:rgba(15,23,40,.06);border:0
}
html:not([data-theme=light]) .am.yt .yt-desc{background:var(--yt-elev)}
.am.yt .yt-desc-tog{
  width:100%;text-align:left;border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0
}
.am.yt .yt-desc-line{display:flex;flex-wrap:wrap;gap:4px;align-items:baseline;font-size:.9rem;line-height:1.4}
.am.yt .yt-desc-line b{font-variant-numeric:tabular-nums}
.am.yt .yt-more{color:var(--yt-ac);font-weight:700}
.am.yt .yt-desc-body{margin-top:10px}
.am.yt .yt-desc-body p{margin:0;line-height:1.55;color:var(--muted,#4a5870);font-size:.95rem}
html:not([data-theme=light]) .am.yt .yt-desc-body p{color:var(--yt-mu)}

/* Lyrics panel */
.am.yt .yt-lyr{
  margin:0 0 16px;padding:16px 16px 8px;border-radius:14px;
  background:var(--am-bg,#0b1a33);color:var(--am-tx,#eef3fb)
}
.am.yt .yt-lyr h3{margin:0 0 10px;font:700 1.02rem/1.2 Inter,system-ui,sans-serif}
.am.yt .yt-lyr .am-tabs{margin-bottom:10px}
.am.yt .yt-lyr .am-lyr-t{font-size:1.02rem;line-height:1.55}

/* Comments — YT card */
.am.yt .yt-comments{margin:8px 0 4px}
.am.yt .yt-comments h3{
  margin:0 0 12px;font:700 1.05rem/1.2 Inter,system-ui,sans-serif;
  display:flex;align-items:baseline;gap:8px
}
.am.yt .yt-cc{opacity:.7;font-weight:600;font-size:.92rem}
.am.yt .yt-cform{
  display:grid;gap:8px;margin-bottom:16px;padding:14px;border-radius:12px;
  background:rgba(15,23,40,.05);border:1px solid rgba(16,35,64,.08)
}
html:not([data-theme=light]) .am.yt .yt-cform{background:var(--yt-elev);border-color:var(--yt-line)}
.am.yt .yt-cname,.am.yt .yt-ctext{
  width:100%;box-sizing:border-box;padding:11px 12px;border-radius:10px;
  border:1px solid rgba(16,35,64,.14);background:#fff;color:inherit;font:inherit
}
html:not([data-theme=light]) .am.yt .yt-cname,
html:not([data-theme=light]) .am.yt .yt-ctext{
  background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.14);color:#eef3fb
}
.am.yt .yt-ctext{resize:vertical;min-height:56px}
.am.yt .yt-csend{justify-self:start;border-radius:999px;padding:9px 18px}
.am.yt .yt-clist{display:flex;flex-direction:column;gap:14px}
.am.yt .yt-cmt{display:grid;grid-template-columns:40px 1fr;gap:12px}
.am.yt .yt-cmt-av{
  width:40px;height:40px;border-radius:50%;display:grid;place-items:center;
  background:#1a3d78;color:#fff;font-weight:800
}
.am.yt .yt-cmt b{font-size:.9rem}
.am.yt .yt-cmt time{margin-left:8px;font-size:.75rem;color:var(--muted,#6b7c96);font-weight:500}
.am.yt .yt-cmt p{margin:4px 0 0;line-height:1.45;font-size:.95rem}

/* Related sidebar — YT recommended */
.am.yt .yt-related{
  padding:4px 0 0;border-radius:0;background:transparent;color:inherit
}
.am.yt .yt-related h3{
  margin:0 0 10px;font:700 .95rem/1.2 Inter,system-ui,sans-serif;
  color:var(--muted,#5a6780);text-transform:none;letter-spacing:0
}
html:not([data-theme=light]) .am.yt .yt-related h3{color:var(--yt-mu)}
.am.yt .yt-related ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.am.yt .yt-related a{
  display:grid;grid-template-columns:168px 1fr;gap:10px;align-items:start;
  padding:0;border-radius:10px;color:inherit;text-decoration:none
}
.am.yt .yt-related a:hover{background:transparent}
.am.yt .yt-related a:hover .am-tt b{color:var(--yt-ac)}
.am.yt .yt-related .am-cov-sm{
  width:168px;height:94px;border-radius:10px;aspect-ratio:16/9;overflow:hidden;
  box-shadow:0 4px 14px rgba(5,14,32,.2)
}
.am.yt .yt-related .am-tt{min-width:0;padding-top:2px}
.am.yt .yt-related .am-tt b{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  white-space:normal;line-height:1.3;font-size:.92rem;font-weight:650
}
.am.yt .yt-related .am-tt small{display:block;margin-top:4px;color:var(--muted,#6b7c96);font-size:.78rem}
.am.yt .yt-related .yt-rd{display:block;margin-top:2px;color:var(--muted,#6b7c96);font-size:.75rem;font-variant-numeric:tabular-nums}
@media(max-width:1059px){
  .am.yt .yt-related{margin-top:8px;padding-top:14px;border-top:1px solid rgba(16,35,64,.1)}
  .am.yt .yt-related a{grid-template-columns:140px 1fr}
  .am.yt .yt-related .am-cov-sm{width:140px;height:79px}
}
@media(min-width:1060px){
  .am.yt .yt-related{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;padding-right:2px}
}

/* List / playlist head polish */
.am.yt .yt-pl-head{
  border-radius:18px;padding:18px;background:linear-gradient(155deg,#1a335c 0%,#0b1a33 55%,#1a1230 100%);
  color:#eef3fb;box-shadow:0 16px 40px rgba(5,14,32,.28)
}
.am.yt .yt-pl-head h2{font:800 1.55rem/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em;margin:4px 0;color:#fff}
.am.yt .yt-pl-head .am-kick{color:#ff8f9a}
.am.yt .yt-list{border-radius:16px;overflow:hidden}
.am.yt .yt-row-a{gap:14px}
.am.yt .yt-list .am-cov-sm{width:128px;height:72px;border-radius:10px;box-shadow:0 4px 12px rgba(5,14,32,.2)}
@media(max-width:420px){
  .am.yt .yt-list .am-cov-sm{width:104px;height:58px}
  .am.yt .yt-n{display:none}
}

/* Soft dark panel behind watch on light theme */
html[data-theme=light] #view .topic.yt-watch-page,
html:not([data-theme]) #view .topic.pg-songs:has(.yt-is-watch){
  /* keep site light chrome; only song chrome is YT-structured */
}

/* t443u: YouTube-perfect polish Melody of Hope */
.yt-pl-head{box-shadow:0 16px 40px rgba(5,14,32,.35);border:1px solid rgba(255,123,132,.18)}
.yt-stage{border:1px solid rgba(255,123,132,.22)}
.yt-title{letter-spacing:-.025em}
.yt-av{background:linear-gradient(145deg,#0b1a33,#ff7b84)!important;box-shadow:0 0 0 2px rgba(255,123,132,.25)}
.yt-like.is-on{border-color:rgba(255,123,132,.65);color:#ff7b84;background:rgba(255,123,132,.14)}
.yt-desc{border-radius:16px}
.yt-comments .yt-cform{display:grid;gap:10px;padding:14px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,123,132,.12)}
.yt-cmt{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.yt-cmt-av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#1d3d72,#ff7b84);color:#fff;font-weight:700;flex:0 0 auto}
.am-cov,.am-cov-sm,.am-cov-xl,.yt-stage-cov{overflow:hidden}
.am-cov img,.am-cov-sm img,.am-cov-xl img{transition:transform .35s ease}
.yt-row-a:hover .am-cov-sm img,.yt-pl-head:hover .am-cov-xl img{transform:scale(1.03)}
/* t524u */
.am-bar[hidden],#am-bar[hidden]{display:none!important}
.yt-av-img{background:none!important;padding:0;overflow:hidden;box-shadow:0 0 0 2px rgba(232,190,110,.55)!important}
.yt-av-img img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.yt-share{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;padding:8px 14px;background:rgba(255,255,255,.08);color:inherit;font:inherit;cursor:pointer}
.yt-share svg{width:20px;height:20px}
.yt-share-msg{margin:6px 0 0;color:#e8be6e;font-size:.9rem}
.yt-upnext{display:flex;align-items:center;justify-content:space-between;gap:8px}
.yt-auto{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;cursor:pointer}
.yt-auto input{position:absolute;opacity:0;width:1px;height:1px}
.yt-auto i{width:36px;height:20px;border-radius:999px;background:#3a4a66;position:relative;transition:.2s}
.yt-auto i:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}
.yt-auto input:checked+i{background:#ff7b84}.yt-auto input:checked+i:after{left:18px}
.yt-albchip{display:inline-block;margin:6px 0 10px;padding:6px 12px;border-radius:999px;background:rgba(232,190,110,.14);color:#e8be6e;text-decoration:none;font-size:.85rem}
.yt-owner{margin:0 0 18px;padding:14px;border:1px dashed rgba(232,190,110,.5);border-radius:14px}
.yt-owner form{display:grid;gap:10px}.yt-owner label{display:grid;gap:4px;font-size:.9rem}
.yt-owner input,.yt-owner textarea,.yt-owner select{font:inherit;padding:8px;border-radius:8px;border:1px solid #3a4a66;background:rgba(255,255,255,.05);color:inherit}
.yt-osnip{white-space:pre-wrap;font-size:.75rem;background:rgba(0,0,0,.25);padding:8px;border-radius:8px;max-height:240px;overflow:auto}
.am.yt .yt-stage-play{inset:auto 12px 12px auto!important;width:auto!important;height:auto!important;display:block!important}
.am.yt .yt-playbtn{width:52px!important;height:52px!important}

/* t586: uniform rows, no numbers, title never touches duration */
.yt-n{display:none!important}
.am.yt .yt-row{display:flex;align-items:center;gap:10px}
.am.yt .yt-row-a{flex:1;min-width:0;display:grid!important;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;column-gap:12px}
.am.yt .yt-row-a .am-cov-sm{display:block!important;width:120px!important;height:68px!important;margin:0!important}
.am.yt .yt-row-a .am-tt{min-width:0;overflow:hidden}
.am.yt .yt-row-a .am-tt b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25}
.am.yt .yt-row-a .am-d{justify-self:end;padding-left:6px;white-space:nowrap}
.am.yt .yt-row .yt-play{flex:0 0 auto}
@media(max-width:420px){.am.yt .yt-row-a{grid-template-columns:96px minmax(0,1fr) auto;column-gap:10px}.am.yt .yt-row-a .am-cov-sm{width:96px!important;height:54px!important}}

/* t629: YouTube-like watch page — inline seek, action row, description, comments gate */
.yt-pbar{margin:12px 0 4px;user-select:none;-webkit-user-select:none}
.yt-ptrack{position:relative;height:22px;cursor:pointer;touch-action:none}
.yt-ptrack::before{content:"";position:absolute;left:0;right:0;top:9px;height:4px;border-radius:2px;background:rgba(255,255,255,.18)}
.yt-pfill{position:absolute;left:0;top:9px;height:4px;width:0;border-radius:2px;background:#ff7b84}
.yt-pknob{position:absolute;top:4px;left:0;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:#ff7b84;box-shadow:0 0 0 4px rgba(255,123,132,.18);transition:transform .15s}
.yt-pbar.is-drag .yt-pknob{transform:scale(1.35)}
.yt-ptimes{display:flex;justify-content:space-between;font-size:12px;opacity:.75;font-variant-numeric:tabular-nums}
.yt-actions{display:flex;gap:8px;overflow-x:auto;margin:10px 0;scrollbar-width:none}
.yt-actions .yt-like{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:0;color:inherit;font:inherit;font-size:14px}
.yt-actions .yt-like svg{width:20px;height:20px}
.yt-actions .yt-like.is-on{background:rgba(255,123,132,.18);color:#ff7b84}
.yt-desc{background:rgba(255,255,255,.06);border-radius:12px;padding:10px 12px;margin:6px 0 14px}
.yt-desc-tog{all:unset;display:block;width:100%;cursor:pointer}
.yt-desc .yt-more{color:#ff7b84;font-weight:600}
.yt-desc-body{margin-top:8px}
.yt-cas{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:14px}
.yt-cgate{padding:12px;border-radius:12px;background:rgba(255,123,132,.08);text-align:center}
.yt-cgate p{margin:0 0 10px}
.yt-cdel{margin-top:4px;background:none;border:1px solid rgba(255,123,132,.5);color:#ff7b84;border-radius:999px;padding:2px 10px;font-size:12px;cursor:pointer}
