/* TVBAR005 | Borderless top-aligned compact player controls, focus tooltips retained. */
#tn-watch .tn-watch-actions.tn-neon-controls{
  --tn-cyan:#26e4f6;
  position:relative;
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  align-items:center;
  gap:clamp(4px,.65vw,9px);
  box-sizing:border-box;
  min-width:0;
  width:100%;
  margin:0!important;
  padding:3px 8px 5px;
  border-top:0!important;
  border-bottom:0!important;
  background:linear-gradient(180deg,#061e39 0%,#04172e 54%,#062341 100%);
  box-shadow:none;
  isolation:isolate;
  overflow:visible!important;
}
#tn-watch .tn-neon-controls .tn-neon-btn{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  flex:0 1 62px;
  width:clamp(38px,5.5vw,62px);
  height:clamp(40px,4vw,44px);
  min-width:0;
  min-height:40px;
  box-sizing:border-box;
  margin:0;
  padding:0!important;
  color:#ebfeff!important;
  border:1.5px solid #10bdda!important;
  border-radius:999px;
  background:linear-gradient(180deg,#0b4969 0%,#063351 48%,#041e37 100%)!important;
  box-shadow:inset 0 1px 0 rgba(143,244,255,.27),inset 0 -3px 8px #0003,0 2px 10px #001729;
  cursor:pointer;
  font-size:0!important;
  line-height:0;
  transition:background .14s,border-color .14s,box-shadow .14s,transform .14s;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
#tn-watch .tn-neon-controls .tn-neon-btn.primary{
  background:linear-gradient(180deg,#2df6fc,#0ac9e1 63%,#04a3c7)!important;
  color:#043454!important;
  border-color:#8bfaff!important;
  box-shadow:0 0 11px #03d4f866,0 2px 9px #03d4f83d,inset 0 2px 0 #b7ffffa6;
}
#tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):hover,
#tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):focus,
#tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):focus-visible{
  z-index:10;
  background:linear-gradient(180deg,#0d7294,#064567 70%,#052940)!important;
  color:#fff!important;
  border-color:#8afbff!important;
  outline:2px solid #a9fbff!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 3px #04ddf52b,0 0 23px #0be4ffb2,inset 0 1px 0 #8ef9ff78;
  transform:translateY(-1px);
}
#tn-watch .tn-neon-controls .tn-neon-btn:disabled{
  opacity:.32;
  cursor:not-allowed;
  filter:grayscale(.6);
}
#tn-watch .tn-neon-controls .tn-neon-svg{
  width:clamp(18px,2.1vw,23px);
  height:clamp(18px,2.1vw,23px);
  display:block;
  overflow:visible;
  color:inherit;
  fill:none;
  stroke:currentColor;
  stroke-width:2.3;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 2px rgba(217,255,255,.32));
  pointer-events:none;
}
#tn-watch .tn-neon-controls .tn-neon-main .tn-neon-pause{display:none}
#tn-watch .tn-neon-controls .tn-neon-main[data-playing="1"] .tn-neon-play{display:none}
#tn-watch .tn-neon-controls .tn-neon-main[data-playing="1"] .tn-neon-pause{display:block}
#tn-watch .tn-neon-controls .tn-neon-btn::after,
#tn-watch .tn-neon-controls .tn-neon-btn::before{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .13s;
}
#tn-watch .tn-neon-controls .tn-neon-btn::after{
  content:attr(data-tip);
  position:absolute;
  left:50%;
  bottom:calc(100% + 9px);
  transform:translateX(-50%);
  width:max-content;
  max-width:min(180px,75vw);
  padding:6px 12px;
  white-space:nowrap;
  box-sizing:border-box;
  color:#f6ffff;
  font:700 clamp(11px,1vw,13px)/1.25 Arial,Roboto,sans-serif;
  letter-spacing:.1px;
  border:1px solid #36dff2;
  border-radius:999px;
  background:linear-gradient(180deg,#074669,#03263c);
  box-shadow:0 0 18px #00dafa7a,inset 0 1px 0 #b8ffff33;
  z-index:13;
}
#tn-watch .tn-neon-controls .tn-neon-btn::before{
  content:"";
  position:absolute;
  bottom:calc(100% + 4px);
  left:50%;
  transform:translateX(-50%) rotate(45deg);
  width:10px;height:10px;
  border-right:1px solid #36dff2;
  border-bottom:1px solid #36dff2;
  background:#03283f;
  z-index:14;
}
#tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):is(:hover,:focus,:focus-visible)::before,
#tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):is(:hover,:focus,:focus-visible)::after{
  visibility:visible;
  opacity:1;
}
#tn-watch .tn-watch-caption-controls{margin:0!important;padding:0!important;min-height:0!important;display:block!important}
#tn-watch .tn-watch-caption-hint{
  position:absolute!important;
  width:1px!important;height:1px!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  overflow:hidden!important;white-space:nowrap!important;
}
#tn-watch .tn-watch-caption-hint.is-visible{
  position:relative!important;
  display:block!important;
  width:fit-content!important;max-width:100%!important;height:auto!important;
  clip:auto!important;clip-path:none!important;white-space:normal!important;
  padding:8px 12px;margin:7px auto 3px;
  background:#092e46;border:1px solid #2686a4;border-radius:11px;
  color:#d7f8ff;font-size:12px;line-height:1.4;
  text-align:center;
}
@media(max-width:720px){
  #tn-watch .tn-watch-actions.tn-neon-controls{gap:4px;padding:3px 4px 5px;margin:0!important}
  #tn-watch .tn-neon-controls .tn-neon-btn{
    flex:1 1 0;
    width:auto;
    height:40px;
    min-height:40px;
    border-width:1px!important;
  }
  #tn-watch .tn-neon-controls .tn-neon-svg{width:18px;height:18px}
  #tn-watch .tn-neon-controls .tn-neon-btn::after{padding:6px 8px;font-size:11px;bottom:calc(100% + 9px)}
  #tn-watch .tn-neon-controls .tn-neon-btn::before{bottom:calc(100% + 4px);width:9px;height:9px}
  #tn-watch .tn-neon-controls .tn-neon-btn:first-child::after{left:0;transform:translateX(0)}
  #tn-watch .tn-neon-controls .tn-neon-btn:last-child::after{left:auto;right:0;transform:none}
}
@media(max-width:350px){
 #tn-watch .tn-watch-actions.tn-neon-controls{gap:3px;padding-left:3px;padding-right:3px}
 #tn-watch .tn-neon-controls .tn-neon-svg{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){
 #tn-watch .tn-neon-controls .tn-neon-btn{transition:none}
 #tn-watch .tn-neon-controls .tn-neon-btn::before,#tn-watch .tn-neon-controls .tn-neon-btn::after{transition:none}
}

/* MOBILETHEME001 — light theme for playback controls only. Dark theme remains unchanged. */
html[data-theme="light"] #tn-watch .tn-watch-actions.tn-neon-controls {
  --tn-cyan:#087a9d;
  background:#f5f9ff;
  box-shadow:none;
  border-radius:10px;
}
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn {
  color:#17466a!important;
  border-color:#85b5d2!important;
  background:linear-gradient(180deg,#ffffff,#e5f0fa)!important;
  box-shadow:0 1px 3px #153b5b20;
}
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn.primary {
  color:#ffffff!important;
  border-color:#087a9d!important;
  background:linear-gradient(180deg,#087fa5,#066587)!important;
  box-shadow:0 2px 6px #087a9d38;
}
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):hover,
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):focus,
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn:not(:disabled):focus-visible {
  color:#103d63!important;
  border-color:#117db2!important;
  background:#d5ebfc!important;
  outline:2px solid #0873aa!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 3px #0873aa26;
}
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn.primary:not(:disabled):hover,
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn.primary:not(:disabled):focus,
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn.primary:not(:disabled):focus-visible {
  color:#fff!important;
  background:#075b83!important;
}
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-svg {filter:none;}
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn::after {
  color:#17466a;
  border-color:#85b5d2;
  background:#ffffff;
  box-shadow:0 3px 9px #153b5b22;
}
html[data-theme="light"] #tn-watch .tn-neon-controls .tn-neon-btn::before {
  border-right-color:#85b5d2;
  border-bottom-color:#85b5d2;
  background:#ffffff;
}
html[data-theme="light"] #tn-watch .tn-watch-caption-hint.is-visible {
  color:#17466a;
  border-color:#85b5d2;
  background:#eef6ff;
}

/* Mobile legacy ID rules override the generic fullscreen color. Match ID specificity. */
#tn-watch .tn-neon-controls #tn-watch-fullscreen {
  background:linear-gradient(180deg,#0b4969 0%,#063351 48%,#041e37 100%)!important;
  color:#ebfeff!important;
}
#tn-watch .tn-neon-controls #tn-watch-fullscreen:not(:disabled):hover,
#tn-watch .tn-neon-controls #tn-watch-fullscreen:not(:disabled):focus,
#tn-watch .tn-neon-controls #tn-watch-fullscreen:not(:disabled):focus-visible {
  background:linear-gradient(180deg,#0d7294,#064567 70%,#052940)!important;
  color:#fff!important;
}
html[data-theme="light"] #tn-watch .tn-neon-controls #tn-watch-fullscreen {
  background:linear-gradient(180deg,#fff,#e5f0fa)!important;
  color:#17466a!important;
}
html[data-theme="light"] #tn-watch .tn-neon-controls #tn-watch-fullscreen:not(:disabled):hover,
html[data-theme="light"] #tn-watch .tn-neon-controls #tn-watch-fullscreen:not(:disabled):focus,
html[data-theme="light"] #tn-watch .tn-neon-controls #tn-watch-fullscreen:not(:disabled):focus-visible {
  background:#d5ebfc!important;
  color:#103d63!important;
}

/* MOBILETHEME002: shared /m masthead search & mic, +30% visual size.
   Preserve the existing 40/44px touch targets and the expanded search behavior. */
body.tn-mobile .masthead {
  --tn-search-bg:#103a59;
  --tn-search-border:#439ec2;
  --tn-search-ink:#e8faff;
  --tn-mic-bg:#0e647a;
  --tn-mic-border:#39c7d8;
  --tn-mic-ink:#e8fbff;
  --tn-search-hover:#175878;
  --tn-mic-hover:#117e90;
  --tn-search-focus:#68e8f9;
  --tn-search-shadow:0 2px 6px #0003;
  --tn-search-field:#071e38;
}
html[data-theme="light"] body.tn-mobile .masthead {
  --tn-search-bg:#e7f3fc;
  --tn-search-border:#86b8d3;
  --tn-search-ink:#17466a;
  --tn-mic-bg:#d8f5f4;
  --tn-mic-border:#65bfc4;
  --tn-mic-ink:#075c68;
  --tn-search-hover:#cfe8f8;
  --tn-mic-hover:#b6eae8;
  --tn-search-focus:#0873aa;
  --tn-search-shadow:0 2px 6px #17466a18;
  --tn-search-field:#f7fbff;
}
body.tn-mobile .masthead .tn-search-collapsed .search-btn::before,
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic::before {
  width:28.6px!important;height:28.6px!important;
  box-sizing:border-box!important;border-radius:9px!important;
  box-shadow:var(--tn-search-shadow)!important;
}
body.tn-mobile .masthead .tn-search-collapsed .search-btn::before {
  background:var(--tn-search-bg)!important;border:1px solid var(--tn-search-border)!important;
}
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic::before {
  background:var(--tn-mic-bg)!important;border:1px solid var(--tn-mic-border)!important;
}
body.tn-mobile .masthead .tn-search-collapsed .search-btn svg,
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic svg {
  width:14.3px!important;height:14.3px!important;
}
body.tn-mobile .masthead .tn-search-collapsed .search-btn svg {color:var(--tn-search-ink)!important;}
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic svg {color:var(--tn-mic-ink)!important;}
body.tn-mobile .masthead .tn-search-collapsed .search-btn:hover::before,
body.tn-mobile .masthead .tn-search-collapsed .search-btn:focus-visible::before {background:var(--tn-search-hover)!important;}
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic:hover::before,
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic:focus-visible::before {background:var(--tn-mic-hover)!important;}
body.tn-mobile .masthead .tn-search-collapsed .search-btn:focus-visible,
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic:focus-visible,
body.tn-mobile .masthead .tn-search-expanded .search-btn:focus-visible {
  outline:2px solid var(--tn-search-focus)!important;outline-offset:-2px!important;
}
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic[aria-pressed="true"]::before {
  background:#b4233a!important;border-color:#b4233a!important;
}
body.tn-mobile .masthead .tn-voice-search-row>.tn-voice-mic[aria-pressed="true"] svg {color:#fff!important;}
html[data-theme] body.tn-mobile .masthead .tn-voice-search-row>.search-form.tn-search-expanded {
  background:var(--tn-search-field)!important;border-color:var(--tn-search-border)!important;
}
html[data-theme] body.tn-mobile .masthead .tn-search-expanded .search-btn {
  background:var(--tn-search-bg)!important;color:var(--tn-search-ink)!important;
  border-color:var(--tn-search-border)!important;
}
html[data-theme] body.tn-mobile .masthead .tn-search-expanded .search-btn:hover {background:var(--tn-search-hover)!important;}
