/* SubTV Language Switcher – dark, purple gradient ring, same tokens as subtv.net */
.stls{--ls-panel:rgba(17,12,25,.97);--ls-line:rgba(255,255,255,.1);--ls-text:#f6f2fb;--ls-muted:#a99fb9;--ls-accent:#e04bf4;--ls-grad:linear-gradient(135deg,#7b2ff7 0%,#b63ef2 50%,#ff4f9a 100%);position:relative;box-sizing:border-box;font-family:inherit;line-height:1.3;-webkit-font-smoothing:antialiased}
.stls *,.stls *::before,.stls *::after{box-sizing:border-box}
.stls [hidden]{display:none!important}
.stls p{margin:0}
.stls__i{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Round flag with gradient ring */
.stls__flag{display:inline-block;flex:none;width:26px;height:26px;padding:2px;border-radius:50%;background:var(--ls-grad);box-shadow:0 4px 12px rgba(123,47,247,.35)}
.stls__flag svg{display:block;width:100%;height:100%;border-radius:50%;border:1.5px solid #120d1a;background:#120d1a}

/* Trigger */
.stls__btn{display:inline-flex;align-items:center;gap:8px;height:42px;margin:0;padding:0 12px 0 6px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.05);color:#fff!important;font:inherit;font-size:14px;font-weight:700;letter-spacing:.04em;line-height:1;cursor:pointer;-webkit-appearance:none;appearance:none;box-shadow:none;transition:background .2s,border-color .2s,box-shadow .2s}
.stls__btn:hover,.stls.is-open>.stls__btn{background:rgba(255,255,255,.1);border-color:rgba(182,62,242,.65);box-shadow:0 0 0 4px rgba(166,61,242,.14)}
.stls__btn:focus-visible,.stls__opt:focus-visible,.stls__close:focus-visible,.stls--inline a:focus-visible{outline:2px solid var(--ls-accent);outline-offset:2px}
.stls__i--caret{width:15px;height:15px;opacity:.8;transition:transform .2s}
.stls.is-open .stls__btn .stls__i--caret{transform:rotate(180deg)}

/* Panel */
.stls__panel{position:absolute;top:calc(100% + 12px);right:0;z-index:100000;width:300px;max-width:calc(100vw - 24px);max-height:calc(100vh - 120px);overflow-y:auto;padding:10px;border:1px solid var(--ls-line);border-radius:20px;background:var(--ls-panel);color:var(--ls-text);text-align:left;box-shadow:0 26px 70px rgba(0,0,0,.65),0 0 0 1px rgba(182,62,242,.14);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);opacity:0;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:opacity .18s ease,transform .18s ease}
.stls.is-open .stls__panel{opacity:1;transform:none}
.stls__panel::before{content:"";position:absolute;left:18px;right:18px;top:0;height:2px;border-radius:2px;background:var(--ls-grad);opacity:.9}
.stls__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 6px;padding:8px 8px 12px;border-bottom:1px solid var(--ls-line)}
.stls__title{display:flex;align-items:center;gap:8px;color:#fff;font-size:14px;font-weight:800;letter-spacing:.02em}
.stls__title .stls__i{color:var(--ls-accent)}
.stls__hint{margin-top:5px!important;color:var(--ls-muted);font-size:12.5px;line-height:1.45}
.stls__close{display:grid;place-items:center;flex:none;width:32px;height:32px;margin:0;padding:0;border:1px solid var(--ls-line);border-radius:50%;background:rgba(255,255,255,.05);color:#fff;cursor:pointer;transition:background .2s}
.stls__close:hover{background:rgba(255,255,255,.12)}
.stls__list{display:grid;gap:3px;margin:0;padding:0;list-style:none}
.stls__list li{margin:0;padding:0;list-style:none}
.stls__list li::before{display:none}
.stls__opt{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:13px;color:var(--ls-text)!important;text-decoration:none!important;transition:background .15s,transform .15s}
.stls__opt:hover{background:rgba(255,255,255,.07)}
.stls__opt[aria-current]{background:linear-gradient(135deg,rgba(123,47,247,.24),rgba(255,79,154,.12));box-shadow:inset 0 0 0 1px rgba(182,62,242,.5)}
.stls__opt .stls__flag{width:32px;height:32px}
.stls__txt{display:flex;flex:1;flex-direction:column;min-width:0}
.stls__name{color:#fff;font-size:15px;font-weight:700;line-height:1.25}
.stls__region{overflow:hidden;color:var(--ls-muted);font-size:12.5px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}
.stls__i--tick{width:18px;height:18px;color:var(--ls-accent);opacity:0}
.stls__opt[aria-current] .stls__i--tick{opacity:1}

/* Floating window – bottom left (WhatsApp stays bottom right) */
.stls--floating{position:fixed;left:20px;bottom:20px;z-index:9991}
.stls--floating.stls--right{left:auto;right:20px}
.stls--floating>.stls__btn{height:58px;gap:11px;padding:0 16px 0 7px;border-color:rgba(182,62,242,.45);background:rgba(17,12,25,.92);letter-spacing:0;box-shadow:0 14px 36px rgba(0,0,0,.5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.stls--floating>.stls__btn .stls__flag{width:42px;height:42px}
.stls__btxt{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left}
.stls__small{display:flex;align-items:center;gap:5px;color:var(--ls-muted);font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.stls__small .stls__i{width:12px;height:12px}
.stls__big{color:#fff;font-size:14.5px;font-weight:700;white-space:nowrap}
.stls__sep,.stls__reg{color:#d9c4f2;font-weight:600}
.stls__mcode{display:none;font-size:14px;font-weight:800;letter-spacing:.04em}
.stls--floating .stls__panel{top:auto;right:auto;bottom:calc(100% + 14px);left:0;width:440px;padding:12px;transform:translateY(10px) scale(.98);transform-origin:bottom left}
.stls--floating.stls--right .stls__panel{left:auto;right:0;transform-origin:bottom right}
.stls--floating .stls__list{grid-template-columns:1fr 1fr;gap:6px}
.stls--floating .stls__opt{padding:10px}
html.stvt-lock .stls--floating,html.stv-lock .stls--floating{display:none}

/* Inline chips (footer, pages) */
.stls--inline{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.stls--inline li{margin:0;padding:0;list-style:none}
.stls--inline a{display:inline-flex;align-items:center;gap:8px;padding:4px 12px 4px 4px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.03);color:#dcd3e8!important;font-size:13px;font-weight:700;letter-spacing:.04em;text-decoration:none!important;transition:border-color .2s,background .2s}
.stls--inline a:hover{border-color:rgba(182,62,242,.55);color:#fff!important}
.stls--inline a[aria-current]{border-color:rgba(182,62,242,.7);background:rgba(166,61,242,.16);color:#fff!important}
.stls--inline .stls__flag{width:24px;height:24px;box-shadow:none}

/* Inside a WordPress menu */
.stls-menu-item{display:flex;align-items:center;list-style:none}
.stls-menu-item::before,.stls-menu-item::after{display:none!important}

@media (max-width:600px){
	.stls--floating{left:14px;bottom:16px}
	.stls--floating.stls--right{right:14px}
	.stls--floating.stls--no-mobile{display:none}
	.stls--floating>.stls__btn{height:52px;gap:8px;padding:0 12px 0 5px}
	.stls--floating>.stls__btn .stls__flag{width:40px;height:40px}
	.stls__btxt{display:none}
	.stls__mcode{display:inline}
	.stls--floating .stls__panel{position:fixed;left:12px;right:12px;bottom:84px;width:auto;max-width:none;max-height:calc(100vh - 110px)}
	.stls--floating .stls__opt{gap:9px;padding:9px 8px}
	.stls--floating .stls__opt .stls__flag{width:28px;height:28px}
	.stls--floating .stls__name{font-size:14px}
	.stls--dropdown .stls__btn{height:40px;padding:0 9px 0 5px;gap:6px}
	.stls--dropdown .stls__panel{position:fixed;top:78px;left:12px;right:12px;width:auto;max-width:none;max-height:calc(100vh - 100px)}
}
@media (prefers-reduced-motion:reduce){.stls__panel,.stls__btn,.stls__i--caret,.stls__opt{transition:none}}

/* CookieYes floating cookie button hidden: preferences stay reachable from the footer link (.cky-banner-element) */
.cky-btn-revisit-wrapper,.cky-revisit-bottom-left,.cky-revisit-bottom-right{display:none!important}

/* Mirror Chaty's WhatsApp button: 54px, 20px from the edges (16px on phones) */
.stls--floating{left:20px;bottom:20px}
.stls--floating>.stls__btn{height:54px;padding:0 16px 0 6px}
.stls--floating>.stls__btn .stls__flag{width:42px;height:42px}
.chaty-widget{bottom:20px!important;right:20px!important}
@media (max-width:600px){
	.stls--floating{left:16px;bottom:16px}
	.stls--floating>.stls__btn{height:54px;padding:0 12px 0 6px}
	.chaty-widget{bottom:16px!important;right:16px!important}
	.stls--floating .stls__panel{bottom:82px}
}
