
/* FOUNTAIN+ TV VIEWER V0.3.4.0 — CLEAN LIVE GUIDE
   PRESENTATION ONLY. Does not alter playout/player/fullscreen mechanics. */

body[data-fplus-tv-viewer-version="0.3.4.0"]{
  background:#050705;
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-topbar{
  height:64px;
  padding:0 clamp(18px,3.4vw,54px);
  background:rgba(4,6,4,.96);
  border-bottom:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(18px);
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-topbar nav{gap:30px}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-topbar nav a{
  font-size:10px;
  letter-spacing:.13em;
  color:rgba(245,240,223,.88);
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-shell{
  width:min(1540px,calc(100% - 36px));
  padding:26px 0 54px;
}

body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-heading-clean{
  min-height:46px;
  margin:0 0 12px;
  align-items:center;
}
.tv-channel-heading{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.tv-heading-clean h1{
  margin:0;
  font-size:22px;
  line-height:1;
  letter-spacing:-.035em;
}
.tv-live-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#f6f2e5;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
.tv-live-label .signal-dot{
  width:7px;
  height:7px;
  box-shadow:none;
}
.tv-signal-clean{
  display:grid;
  grid-template-columns:auto auto;
  grid-template-areas:"label clock" "city clock";
  column-gap:12px;
  align-items:center;
  text-align:right;
}
.tv-signal-clean small{
  grid-area:label;
  color:rgba(245,240,223,.48);
  font-size:8px;
  letter-spacing:.12em;
}
.tv-signal-clean strong{
  grid-area:clock;
  font-size:18px;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.02em;
}
.tv-signal-clean>span{
  grid-area:city;
  margin:0;
  color:rgba(245,240,223,.38);
  font-size:8px;
  letter-spacing:.12em;
}

/* Player container stays mechanically unchanged. Visual polish only. */
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-stage{
  border-color:rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow:0 22px 65px rgba(0,0,0,.42);
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-watermark{
  display:none;
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-controls{
  left:14px;
  right:14px;
  bottom:14px;
  opacity:.12;
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-stage:hover .tv-controls,
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-stage:focus-within .tv-controls{
  opacity:1;
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-controls button{
  border-color:rgba(255,255,255,.14);
  background:rgba(0,0,0,.72);
  padding:9px 12px;
  font-size:9px;
}

/* Horizontal live guide. */
.tv-guide-deck{
  display:grid;
  grid-template-columns:118px minmax(300px,1.45fr) repeat(3,minmax(210px,.92fr));
  margin-top:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  overflow:hidden;
  background:#0b0d0b;
  box-shadow:0 14px 38px rgba(0,0,0,.18);
}
.tv-channel-tile,
.tv-guide-deck .title-card{
  min-width:0;
  min-height:128px;
  border:0;
  border-radius:0;
  background:#0b0d0b;
  box-shadow:none;
}
.tv-channel-tile{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:16px 12px;
  background:#080a08;
  text-align:center;
}
.channel-mark{
  width:56px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(226,185,79,.24);
  border-radius:9px;
  color:#f5f0df;
  font-size:19px;
  font-weight:950;
  letter-spacing:-.05em;
}
.channel-mark span{color:#e2b94f}
.tv-channel-tile strong{
  font-size:9px;
  letter-spacing:.08em;
}
.tv-channel-tile>span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:rgba(245,240,223,.5);
  font-size:8px;
  font-weight:850;
  letter-spacing:.1em;
}
.tv-channel-tile i{
  width:6px;height:6px;border-radius:50%;
  background:#ff453f;
  box-shadow:0 0 10px rgba(255,69,63,.45);
}

.tv-guide-deck .title-card{
  position:relative;
  padding:17px 18px 15px;
  border-left:1px solid rgba(255,255,255,.09);
  display:flex;
  flex-direction:column;
}
.tv-guide-deck .title-card-now{
  background:linear-gradient(135deg,rgba(226,185,79,.07),rgba(255,255,255,.015) 50%),#0c0f0b;
}
.tv-guide-deck .card-eyebrow{
  min-height:auto;
  color:rgba(245,240,223,.42);
  font-size:8px;
  font-weight:900;
  letter-spacing:.15em;
}
.tv-guide-deck .title-card-now .card-eyebrow{
  color:#e2b94f;
}
.tv-guide-deck .title-card h2,
.tv-guide-deck .title-card h3{
  margin:9px 0 0;
  color:#f5f0df;
  font-size:18px;
  line-height:1.08;
  letter-spacing:-.025em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tv-guide-deck .title-card-now h2{
  font-size:22px;
}
.guide-now-meta{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:8px;
  color:rgba(245,240,223,.48);
  font-size:9px;
  font-weight:700;
}
.guide-now-meta span+span:before{
  content:"·";
  margin-right:9px;
  color:rgba(245,240,223,.24);
}
.guide-progress{
  height:3px;
  margin-top:auto;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.14);
}
.guide-progress>span{
  display:block;
  width:0%;
  height:100%;
  background:#e2b94f;
  transition:width .8s linear;
}
.guide-remaining{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:8px;
}
.guide-remaining span{
  color:rgba(245,240,223,.33);
  font-size:8px;
  font-weight:850;
  letter-spacing:.12em;
}
.guide-remaining strong{
  color:rgba(245,240,223,.72);
  font-size:10px;
  font-variant-numeric:tabular-nums;
}
.tv-guide-deck .card-time{
  margin-top:auto;
  padding-top:16px;
  color:#f5f0df;
  font-size:10px;
  font-weight:800;
}
.tv-guide-deck .card-sub{
  margin-top:5px;
  color:rgba(245,240,223,.38);
  font-size:9px;
  line-height:1.3;
}
.tv-guide-deck .promo-preview::after{display:none}

/* Guide control becomes a quiet utility, not a dashboard module. */
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-guide-strip{
  margin-top:5px;
  padding:0;
  text-align:right;
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-guide-strip>button{
  padding:10px 3px;
  color:rgba(245,240,223,.48);
  font-size:8px;
  letter-spacing:.13em;
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .full-guide{
  text-align:left;
  border-color:rgba(255,255,255,.09);
  border-radius:12px;
  background:#0a0c0a;
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .guide-label{
  color:rgba(245,240,223,.38);
}
body[data-fplus-tv-viewer-version="0.3.4.0"] .guide-row+.guide-row{
  border-top-color:rgba(255,255,255,.07);
}

/* Remove any stale development-looking blocks. */
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-status-grid,
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-note,
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-title-cards,
body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-kicker{
  display:none!important;
}

@media(max-width:1050px){
  .tv-guide-deck{
    grid-template-columns:96px minmax(280px,1.35fr) repeat(3,minmax(190px,.9fr));
    overflow-x:auto;
    scrollbar-width:none;
  }
  .tv-guide-deck::-webkit-scrollbar{display:none}
  .tv-channel-tile,.tv-guide-deck .title-card{min-height:124px}
}
@media(max-width:760px){
  body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-shell{
    width:min(100% - 14px,1540px);
    padding-top:14px;
  }
  body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-heading-clean{
    min-height:42px;
  }
  .tv-heading-clean h1{font-size:18px}
  .tv-signal-clean small,.tv-signal-clean>span{display:none}
  .tv-signal-clean{display:block}
  .tv-signal-clean strong{font-size:15px}
  body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-stage{border-radius:12px}
  .tv-guide-deck{
    grid-template-columns:82px 78vw repeat(3,68vw);
    border-radius:12px;
  }
  .tv-channel-tile{padding:12px 8px}
  .channel-mark{width:46px;height:36px;font-size:17px}
  .tv-guide-deck .title-card{padding:14px 15px}
  .tv-guide-deck .title-card-now h2{font-size:20px}
  .tv-guide-deck .title-card h3{font-size:17px}
  body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-controls{opacity:1}
}
@media(max-width:520px){
  body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-topbar{height:58px;padding:0 16px}
  body[data-fplus-tv-viewer-version="0.3.4.0"] .tv-brand{font-size:20px}
  .tv-live-label{font-size:8px}
  .tv-heading-clean h1{font-size:17px}
  .tv-guide-deck{grid-template-columns:74px 82vw repeat(3,72vw)}
}
