/* TubeVieu extras (added 2026-11-15): language menu and emoji picker */
.tvl{position:relative;display:inline-flex;align-items:center;margin-right:10px}
.tvl-btn{width:40px;height:40px;border-radius:50%;border:1px solid rgba(127,140,160,.35);background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}
.tvl-btn:hover,.tvl-btn[aria-expanded="true"]{background:rgba(31,143,160,.12);border-color:#1f8fa0;color:#1f8fa0}
.tvl-btn.is-tr{border-color:#f4b740;color:#f4b740}
.tvl-btn:focus-visible{outline:3px solid #1f8fa0;outline-offset:2px}
.tvl-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:1060;width:min(560px,calc(100vw - 32px));max-height:min(70vh,640px);overflow:auto;background:#fff;color:#1b2433;border:1px solid #e3e8ef;border-radius:16px;box-shadow:0 18px 48px rgba(10,20,40,.22);padding:14px 16px 12px;font-size:14px;text-align:left}
.tvl-search{width:100%;border:1px solid #d5dce6;border-radius:10px;padding:9px 12px;font-size:14px;margin-bottom:6px;background:#f7f9fc;color:inherit}
.tvl-search:focus{outline:2px solid #1f8fa0;border-color:transparent}
.tvl-sec{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5d6b80;margin:12px 2px 6px}
.tvl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px}
.tvl-item{display:block;text-align:left;border:0;background:transparent;color:inherit;padding:8px 10px;border-radius:8px;font-size:14px;line-height:1.25;cursor:pointer;text-decoration:none!important}
.tvl-item:hover{background:#eef4f8;color:#0f6d7a}
.tvl-item.is-on{background:#e3f4f5;color:#0f6d7a;font-weight:600}
.tvl-note{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff6e0;border-radius:10px;padding:8px 10px;margin-bottom:10px;font-size:13px}
.tvl-stop{border:0;background:#f4b740;color:#1a1306;border-radius:999px;padding:5px 12px;font-weight:600;cursor:pointer}
.tvl-foot{margin:12px 2px 0;font-size:12px;color:#6b778a;line-height:1.45}
@media (max-width:575px){.tvl{margin-right:6px}.tvl-panel{position:fixed;left:16px;right:16px;top:64px;width:auto}.tvl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* night mode */
body.night-mode .tvl-panel,.night-mode .tvl-panel,html[data-mode="night"] .tvl-panel{background:#16202f;color:#e8eef6;border-color:#2b3a50}
.night-mode .tvl-search{background:#0f1724;border-color:#2b3a50}
.night-mode .tvl-item:hover,.night-mode .tvl-item.is-on{background:#1f3046;color:#7fe0d6}
.night-mode .tvl-note{background:#3a2f12}
/* keep Google's translate bar out of the layout */
body{top:0!important}
.goog-te-banner-frame,iframe.skiptranslate,.VIpgJd-ZVi9od-ORHb-OEVmcd,#goog-gt-tt,.goog-te-balloon-frame{display:none!important}
.goog-text-highlight{background:none!important;box-shadow:none!important}

/* emoji picker */
.tvemo{display:block!important;max-height:none!important;padding:8px!important}
.tvemo-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid rgba(127,140,160,.25);padding-bottom:6px}
.tvemo-tabs,.tvemo-tones{display:flex;flex-wrap:wrap;gap:2px}
.tvemo-tab,.tvemo-tone,.tvemo-e{border:0;background:transparent;cursor:pointer;line-height:1;border-radius:8px;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Twemoji Mozilla",sans-serif}
.tvemo-tab{font-size:20px;padding:6px}
.tvemo-tab.is-on{background:rgba(31,143,160,.16)}
.tvemo-tone{font-size:17px;padding:4px;opacity:.7}
.tvemo-tone.is-on{opacity:1;background:rgba(244,183,64,.25);box-shadow:inset 0 0 0 2px #f4b740}
.tvemo-label{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.65;margin:8px 4px 4px}
.tvemo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));max-height:220px;overflow:auto;gap:2px}
.tvemo-e{font-size:24px;padding:6px 0;text-align:center}
.tvemo-e:hover,.tvemo-tab:hover,.tvemo-tone:hover{background:rgba(127,140,160,.18)}
.tvemo button:focus-visible{outline:2px solid #1f8fa0}