/* KB_MUSIC */
.mv{--bg:#0d0d12;--s1:#17171f;--s2:#22222c;--s3:#2d2d39;--tx:#f4f4f8;--mu:#a1a1b3;--ac:#8b5cf6;--ac2:#a78bfa;--ok:#22c55e;
position:fixed;inset:0;display:flex;flex-direction:column;background:var(--bg);color:var(--tx);font:15px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans KR",sans-serif;
padding-top:env(safe-area-inset-top);z-index:50;overflow:hidden}
.mv *{box-sizing:border-box}
.mv button{font:inherit;color:inherit;cursor:pointer}
.mv-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;height:56px;flex:none}
.mv-title{flex:1;margin:0;font-size:18px;font-weight:700;display:flex;align-items:center;gap:10px;letter-spacing:-.01em}
.mv-logo{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#8b5cf6,#ec4899);font-size:16px}
.mv-ib{min-width:44px;height:44px;border:0;background:transparent;border-radius:50%;display:inline-grid;place-items:center;font-size:20px;color:var(--tx);text-decoration:none;transition:background .15s}
.mv-ib:hover{background:var(--s2)}.mv-ib.sm{min-width:40px;height:40px;font-size:17px}
.mv-ib:focus-visible,.mv-tab:focus-visible,.mv-chip:focus-visible,.mv-row:focus-visible{outline:2px solid var(--ac2);outline-offset:2px}
.mv-search{display:flex;align-items:center;margin:0 12px 10px;background:var(--s2);border-radius:14px;height:48px;padding:0 4px 0 14px;flex:none;border:1px solid transparent;transition:border-color .15s}
.mv-search:focus-within{border-color:var(--ac)}
.mv-s-ic{color:var(--mu);font-size:20px;margin-right:8px}
.mv-search input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:var(--tx);font-size:16px;height:100%}
.mv-search input::-webkit-search-cancel-button{display:none}
.mv-s-x{border:0;background:transparent;color:var(--mu);width:36px;height:36px;font-size:15px}
.mv-s-go{border:0;background:var(--ac);color:#fff!important;width:40px;height:40px;border-radius:11px;font-size:18px;font-weight:700}
.mv-tabs{display:flex;gap:6px;margin:0 12px 8px;background:var(--s1);padding:4px;border-radius:14px;flex:none}
.mv-tab{flex:1;height:40px;border:0;border-radius:10px;background:transparent;color:var(--mu)!important;font-weight:600;transition:all .15s}
.mv-tab[aria-selected=true]{background:var(--s3);color:var(--tx)!important;box-shadow:0 1px 6px #0006}
.mv-chips{display:flex;gap:8px;padding:2px 12px 8px;overflow-x:auto;flex:none;scrollbar-width:none}
.mv-chips::-webkit-scrollbar{display:none}
.mv-chip{flex:none;height:34px;padding:0 14px;border-radius:17px;border:1px solid var(--s3);background:transparent;color:var(--tx);font-size:14px;white-space:nowrap}
.mv-chip[aria-pressed=true]{background:var(--tx);color:var(--bg)!important;border-color:var(--tx)}
.mv-player{flex:none;background:#000}
.mv-vbox{position:relative;width:100%;aspect-ratio:16/9;max-height:52vh;margin:0 auto;max-width:calc(52vh*16/9)}
.mv-vbox iframe,#mv-yt{position:absolute;inset:0;width:100%;height:100%;border:0}
.mv-vmeta{display:flex;align-items:center;gap:4px;padding:8px 8px 8px 14px;background:var(--s1)}
.mv-vt{flex:1;min-width:0;display:flex;flex-direction:column}.mv-vt strong,.mv-vt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mv-vt small{color:var(--mu)}
.mv-body{flex:1;overflow-y:auto;padding:4px 12px 24px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mv-h{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--mu);margin:16px 4px 10px;font-weight:700;display:flex;justify-content:space-between;align-items:center}
.mv-h button{border:0;background:none;color:var(--ac2)!important;font-size:13px;text-transform:none;letter-spacing:0}
.mv-sug{display:flex;flex-wrap:wrap;gap:8px}
.mv-hero{border-radius:20px;padding:22px 20px;margin:6px 0 4px;background:radial-gradient(120% 140% at 0% 0%,#4c1d95 0%,#1e1b4b 45%,#17171f 100%);border:1px solid #ffffff10}
.mv-hero h2{margin:0 0 6px;font-size:22px;letter-spacing:-.02em}.mv-hero p{margin:0;color:#d4d4e4;font-size:14px}
.mv-list{list-style:none;margin:0;padding:0}
.mv-row{display:flex;align-items:center;gap:12px;padding:8px;border-radius:12px;cursor:pointer;min-height:64px;transition:background .12s}
.mv-row:hover,.mv-row.on{background:var(--s1)}
.mv-row.on .mv-rt strong{color:var(--ac2)}
.mv-th{flex:none;width:52px;height:52px;border-radius:8px;object-fit:cover;background:var(--s2)}
.mv-th.v{width:120px;height:68px;border-radius:10px}
.mv-tw{position:relative;flex:none}.mv-tw b{position:absolute;right:4px;bottom:4px;background:#000c;color:#fff;font-size:11px;padding:1px 5px;border-radius:4px;font-weight:600}
.mv-rt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mv-rt strong{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px}
.mv-rt small{color:var(--mu);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-src{display:inline-block;font-size:10.5px;padding:1px 6px;border-radius:5px;background:var(--s3);color:var(--mu);margin-right:6px;vertical-align:1px;font-weight:600}
.mv-acts{display:flex;flex:none}
.mv-acts .mv-ib{min-width:40px;height:40px;font-size:17px;color:var(--mu)}
.mv-acts .mv-ib.fav{color:#f472b6}
.mv-note{background:var(--s1);border:1px solid var(--s3);border-radius:16px;padding:16px;margin:10px 0}
.mv-note h3{margin:0 0 6px;font-size:16px}.mv-note p{margin:0 0 12px;color:var(--mu);font-size:14px}
.mv-btn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border-radius:21px;background:var(--ac);color:#fff!important;border:0;font-weight:600;text-decoration:none}
.mv-btn.ghost{background:var(--s2);color:var(--tx)!important}
.mv-album{display:flex;gap:14px;align-items:flex-end;padding:8px 4px 14px}
.mv-album img{width:120px;height:120px;border-radius:12px;object-fit:cover;background:var(--s2);box-shadow:0 8px 24px #0008}
.mv-album h2{margin:0 0 4px;font-size:19px;line-height:1.2}.mv-album p{margin:0 0 10px;color:var(--mu);font-size:13px}
.mv-num{width:24px;text-align:center;color:var(--mu);font-size:13px;flex:none}
.mv-empty{text-align:center;color:var(--mu);padding:40px 16px}
.mv-empty b{display:block;font-size:40px;margin-bottom:8px}
.mv-skel{height:64px;border-radius:12px;margin:6px 0;background:linear-gradient(90deg,var(--s1) 25%,var(--s2) 50%,var(--s1) 75%);background-size:200% 100%;animation:mvsk 1.2s infinite}
@keyframes mvsk{to{background-position:-200% 0}}
.mv-mini{flex:none;position:relative;display:flex;align-items:center;gap:6px;margin:0 8px calc(8px + env(safe-area-inset-bottom));padding:8px 6px 8px 8px;background:linear-gradient(90deg,#2e1065,#1f1f2b);border-radius:14px;box-shadow:0 -4px 24px #0007}
.mv-prog{position:absolute;left:10px;right:10px;bottom:2px;height:2px;background:#ffffff22;border-radius:2px;overflow:hidden}.mv-prog i{display:block;height:100%;width:0;background:#fff}
.mv-mimg{width:44px;height:44px;border-radius:8px;object-fit:cover;background:var(--s3);flex:none}
.mv-mtxt{flex:1;min-width:0;border:0;background:none;text-align:left;display:flex;flex-direction:column;padding:0 4px}
.mv-mtxt strong,.mv-mtxt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mv-mtxt small{color:#c4c4d4;font-size:12.5px}
.mv-play{background:var(--tx)!important;color:var(--bg)!important}
.mv-sheet{position:absolute;inset:0;z-index:5;background:#000a;display:flex;align-items:flex-end;animation:mvf .2s}
.mv-full{width:100%;height:100%;background:linear-gradient(180deg,#3b1d7a 0%,#15131f 55%,#0d0d12 100%);padding:calc(10px + env(safe-area-inset-top)) 22px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;animation:mvu .25s ease-out;max-width:560px;margin:0 auto}
@media(min-width:700px){.mv-sheet{align-items:stretch;justify-content:center}}
.mv-fhead{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--mu);font-size:13px;text-transform:uppercase;letter-spacing:.06em}
.mv-fimg{width:min(100%,46vh);aspect-ratio:1;margin:18px auto;border-radius:14px;object-fit:cover;background:var(--s2);box-shadow:0 20px 50px #000a}
.mv-fmeta{display:flex;align-items:center;gap:8px;margin-top:auto}.mv-fmeta>div{flex:1;min-width:0}
.mv-fmeta h2{margin:0;font-size:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mv-fmeta p{margin:2px 0 0;color:var(--mu)}
#mv-seek{width:100%;margin:16px 0 2px;accent-color:#fff;height:28px}
.mv-times{display:flex;justify-content:space-between;font-size:12px;color:var(--mu);font-variant-numeric:tabular-nums}
.mv-fctl{display:flex;align-items:center;justify-content:space-between;margin:10px 0}
.mv-ib.lg{font-size:28px;min-width:56px;height:56px}.mv-ib.xl{font-size:28px;min-width:72px;height:72px}
.mv-ib.act{color:var(--ac2);background:#8b5cf622}
.mv-lic{font-size:12px;color:var(--mu);text-align:center;margin:6px 0 0}.mv-lic a{color:var(--ac2)}
.mv-qs{width:100%;max-height:80%;background:var(--s1);border-radius:20px 20px 0 0;padding:12px 12px calc(12px + env(safe-area-inset-bottom));overflow-y:auto;animation:mvu .25s ease-out;max-width:640px;margin:0 auto}
.mv-qs .mv-fhead{color:var(--tx);text-transform:none;letter-spacing:0;font-size:17px;padding:0 4px 8px}
.mv-toast{position:absolute;left:50%;bottom:96px;transform:translate(-50%,20px);background:var(--tx);color:var(--bg);padding:10px 16px;border-radius:12px;font-size:14px;opacity:0;pointer-events:none;transition:all .2s;z-index:9;max-width:90%}
.mv-toast.on{opacity:1;transform:translate(-50%,0)}
@keyframes mvu{from{transform:translateY(40px);opacity:.4}}@keyframes mvf{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.mv *{animation:none!important;transition:none!important}}
@media(min-width:900px){.mv-body,.mv-chips,.mv-search,.mv-tabs{width:100%;max-width:980px;margin-left:auto;margin-right:auto}.mv-search,.mv-tabs{width:calc(100% - 24px)}
.mv-tabs{max-width:420px}.mv-mini{width:calc(100% - 24px);max-width:980px;margin-left:auto;margin-right:auto}
.mv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.mv-grid .mv-row{flex-direction:column;align-items:stretch;padding:10px}.mv-grid .mv-th.v{width:100%;height:auto;aspect-ratio:16/9}.mv-grid .mv-th:not(.v){width:100%;height:auto;aspect-ratio:1}.mv-grid .mv-acts{justify-content:flex-end}}

.mv-vbox{position:relative}.mv-blocked{position:absolute;inset:0;background:#171721;z-index:3;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:14px;text-align:center}.mv-blocked[hidden]{display:none}.mv-blocked p{width:100%;margin:0}.mv-blocked label{font-size:12px;width:100%}.mv-pcontrols{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0}.mv-pcontrols[hidden]{display:none}.mv-pcontrols select{background:#292936;color:white;border:1px solid #555;border-radius:8px;padding:8px}.mv-full{overflow-y:auto}.mv-lic p{line-height:1.5}.mv-tab{min-width:0}

#mv-native{display:block;width:100%;max-height:44dvh;background:#000;object-fit:contain}.mv-native-actions{display:flex;gap:8px;padding:6px 10px;flex-wrap:wrap}.mv-bg{display:inline-block;color:#8fe0b2;font-size:10px;line-height:1.5;margin:2px 4px 2px 0}.mv-player{flex-shrink:0}#mv-filters[hidden]{display:none}#mv-filters{padding-top:0}.mv-native-actions .mv-btn{font-size:12px;padding:7px 12px}
/* KB_MUSIC_POLISH118: restrained, thumb-friendly media library */
.mv{--bg:#0c1012;--s1:#141b1e;--s2:#1c2528;--s3:#2b373b;--tx:#f5f8f7;--mu:#98aaa9;--ac:#35ba8b;--ac2:#87e3bc;background:radial-gradient(ellipse at 70% -35%,#163b37 0,transparent 55%),var(--bg);font-size:14px}
.mv-bar{height:60px;padding:8px 16px}.mv-title{font-size:22px;letter-spacing:-.8px;font-weight:750}.mv-logo{background:transparent;color:var(--ac2);width:27px}.mv-icon{width:22px;height:22px;display:block;flex:none;vertical-align:middle}.mv-search{height:48px;margin:0 16px 14px;border-radius:12px;background:#1c2529;border:1px solid #ffffff08}.mv-s-go{background:transparent;color:var(--tx)!important;display:grid;place-items:center}.mv-s-ic{display:flex;align-items:center}.mv-tabs{margin:0 16px 14px;border-radius:13px;padding:4px;background:#11191c;border:1px solid #ffffff08;gap:2px}.mv-tab{height:44px;font-size:12.5px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.mv-tab .mv-icon{width:18px;height:18px}.mv-tab[aria-selected=true]{background:#293936;color:#c1f3df!important;box-shadow:0 2px 5px #0005}
.mv-chips{padding:0 16px 12px;gap:8px}.mv-chip{height:34px;padding:0 13px;font-size:12px;border-color:#30403f;display:inline-flex;align-items:center;justify-content:center;gap:6px}.mv-chip .mv-icon{width:15px;height:15px}.mv-chip[aria-pressed=true]{background:#c5f2df;border-color:#c5f2df;color:#10221a!important}.mv-body{padding:0 12px 24px}.mv-hero{background:linear-gradient(120deg,#1d3934,#19252a);border:1px solid #8de5bd15;padding:15px 16px;border-radius:16px;margin:2px 4px 16px}.mv-hero h2{font-size:19px;margin-bottom:4px}.mv-hero p{font-size:12px;line-height:1.45;max-width:45ch;color:#b4cac5}.mv-h{text-transform:none;font-size:16px;letter-spacing:-.25px;color:#e4eeeb;margin:18px 6px 10px}.mv-row{min-height:80px;padding:9px 8px;gap:12px;border-radius:12px}.mv-row.on{background:linear-gradient(90deg,#244c3b60,#1c2e2a55);box-shadow:inset 2px 0 #70dca8}.mv-row.on .mv-rt strong{color:#96e3b9}.mv-th{width:58px;height:58px;border-radius:10px;background:linear-gradient(140deg,#24504b,#283950)}.mv-th.v{width:104px;height:60px}.mv-rt{gap:5px}.mv-rt strong{font-size:14px;line-height:1.35;font-weight:600;position:relative;padding-right:22px}.mv-rt small{font-size:11.5px;line-height:1.6}.mv-src{font-size:9px;padding:1px 5px;border-radius:4px;background:#263b35;color:#b1c9c0;font-weight:500}.mv-acts .mv-ib{min-width:34px;width:34px;height:44px}.mv-acts .mv-icon{width:19px;height:19px}.mv-acts .fav{color:#8be3b8!important}.mv-bg{font-size:9px;margin-right:3px;color:#8bdab2}.mv-eq{display:flex;align-items:flex-end;gap:2px;width:16px;height:15px;position:absolute;right:0;top:2px}.mv-eq i{width:3px;border-radius:2px;background:#8be3b8;height:6px;animation:mveq .8s ease-in-out infinite alternate;animation-play-state:paused}.mv-eq i:nth-child(2){height:13px;animation-delay:-.3s}.mv-eq i:nth-child(3){height:9px;animation-delay:-.6s}.mv-playing .mv-eq i{animation-play-state:running}@keyframes mveq{to{height:3px}}
.mv-mini{margin:4px 12px calc(10px + env(safe-area-inset-bottom));padding:10px 8px 12px 10px;border-radius:14px;gap:8px;background:linear-gradient(110deg,#23483d,#233236);box-shadow:0 -8px 28px #0005;border:1px solid #9fdfb821}.mv-mimg{width:48px;height:48px;border-radius:8px}.mv-mtxt{padding:0;gap:3px}.mv-mtxt strong{font-size:13px;font-weight:650}.mv-mtxt small{font-size:11px;color:#b9d1c9}.mv-mini .mv-ib{width:40px;min-width:40px;height:40px}.mv-mini #mv-mprev{display:none}.mv-mini .mv-play{background:#d0f5e2!important;color:#123c28!important}.mv-mini .mv-icon{width:21px;height:21px}.mv-prog{left:11px;right:11px;bottom:3px;background:#d3efdd23;height:2px}.mv-prog i{background:#8de4b1}.mv-full{background:radial-gradient(ellipse at 60% -15%,#2b5f4e,transparent 75%),linear-gradient(180deg,#213731,#0e1516 75%);padding-left:26px;padding-right:26px}.mv-fhead{font-size:10px;letter-spacing:.15em;color:#c6dcd4}.mv-fimg{border-radius:14px;width:min(100%,42vh);margin:24px auto;box-shadow:0 22px 45px #0007}.mv-fmeta h2{font-size:22px;font-weight:700;letter-spacing:-.5px}.mv-fmeta p{font-size:13px;color:#abc3ba}.mv-fctl{margin:14px 0}.mv-fctl .mv-icon{width:26px;height:26px}.mv-fctl .mv-play{background:#c7f3da!important;color:#123d29!important}.mv-fctl .mv-play .mv-icon{width:32px;height:32px}.mv-lic{font-size:10px;color:#879d96}.mv-lic a{color:#a4cdb9}.mv-empty b .mv-icon{width:40px;height:40px;margin:auto}.mv-btn{background:#2a8e6b}.mv-btn.ghost{background:#24322d}.mv-sug{padding:0 4px}.mv-sug .mv-chip{font-size:12px}.mv-sheet{z-index:6}
@media(min-width:900px){.mv-body,.mv-chips,.mv-search{max-width:1100px}.mv-tabs{max-width:520px}.mv-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.mv-mini{max-width:1100px}.mv-mini #mv-mprev{display:inline-grid}.mv-grid .mv-row{border:1px solid #ffffff07;background:#141d1d}}
@media(max-width:360px){.mv-tabs{margin-left:10px;margin-right:10px}.mv-tab{font-size:11px;gap:4px}.mv-tab .mv-icon{width:15px}.mv-row{gap:8px}.mv-th{width:50px;height:50px}.mv-acts .mv-ib{min-width:30px;width:30px}.mv-fimg{width:70%}}

/* KB_MINI_PREVIOUS: symmetric transport controls, including narrow phones */
.mv-mini #mv-mprev{display:inline-grid}.mv-mini .mv-mtxt{min-width:0}.mv-mini .mv-ib{flex:0 0 38px;min-width:38px;width:38px;height:40px}
@media(max-width:380px){.mv-mini{margin-left:8px;margin-right:8px;gap:5px;padding-left:8px;padding-right:5px}.mv-mini .mv-mimg{width:40px;height:40px}.mv-mini .mv-ib{flex-basis:36px;width:36px;min-width:36px}.mv-mini .mv-mtxt strong{font-size:12px}.mv-mini .mv-mtxt small{font-size:10.5px}}

/* Loading feedback sits beside metadata, never over YouTube's controls. */
.mv-vthumb{width:42px;height:28px;border-radius:5px;object-fit:cover;flex:none;background:#243b35}.mv-vloading{width:17px;height:17px;border:2px solid #ffffff33;border-top-color:#94dfbc;border-radius:50%;animation:mvspin .65s linear infinite;flex:none}.mv-vloading[hidden]{display:none}@keyframes mvspin{to{transform:rotate(360deg)}}

/* External Brave handoff: touch-friendly, wrapping localized labels. */
.mv-brave[hidden]{display:none!important}
.mv-brave{padding:10px 12px 12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#17171f;border-top:1px solid #ffffff12}
.mv-brave-button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1 1 230px;min-height:46px;padding:9px 13px;border-radius:12px;background:linear-gradient(110deg,#e65324,#ae3823);color:#fff!important;text-decoration:none;font-size:14px;font-weight:700;line-height:1.35;text-align:center;box-sizing:border-box}
.mv-brave-button svg{flex-shrink:0}.mv-brave-button:focus-visible,.mv-brave-how:focus-visible{outline:2px solid #fff;outline-offset:3px}
.mv-brave-how{padding:12px 3px;color:#ffb69b;text-decoration:underline;font-size:13px;min-height:44px;display:flex;align-items:center;box-sizing:border-box}
#mv-brave-note{flex-basis:100%;color:#b9b9c7;font-size:11px;line-height:1.5}
