/* SOL PATCH 474 */

/* ---------- TV guide: title and time each get their own line — they can never overlap ---------- */
#app .p453-ggrid .blk > b,#app .p453-ggrid .blk > small,.p453-ggrid .blk > b,.p453-ggrid .blk > small{flex-shrink:0 !important;min-height:0}
.p453-ggrid .blk{justify-content:center !important;overflow:hidden}
.p453-ggrid .blk > b{display:-webkit-box !important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden !important;white-space:normal !important;line-height:1.22 !important;max-height:2.5em;word-break:break-word}
.p453-ggrid .blk > small{display:block !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis;line-height:1.3 !important;max-height:1.3em}
.p453-ggrid .blk > small i,.p453-ggrid .blk > small svg{vertical-align:middle}
.p453-ggrid .row:not(.head){height:88px !important}
.p453-ggrid .blk{top:7px !important;bottom:7px !important;padding:6px 10px !important;gap:3px !important}
.p453-ggrid .blk.tiny > small{display:none !important}
.p453-ggrid .blk.tiny > b{-webkit-line-clamp:3;font-size:11px !important}
@media (min-width:1100px){
  .p453-ggrid .row:not(.head){height:84px !important}
  .p453-ggrid .blk > b{font-size:13px !important}
  .p453-ggrid .blk > small{font-size:11px !important}
}
@media (max-width:640px){
  .p453-ggrid .row:not(.head){height:80px !important}
  .p453-ggrid .blk{padding:5px 8px !important}
  .p453-ggrid .blk > b{font-size:12px !important}
  .p453-ggrid .blk > small{font-size:10px !important}
  .p453-guide .chc .cn b{font-size:12.5px;line-height:1.2;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
/* the hover/tap preview of a show is a separate card, so it never sits on top of the next show's text */
@media (hover:hover){#app .p453-ggrid .blk:not(.gap):hover > b{-webkit-line-clamp:3 !important;max-height:3.8em}}

/* ---------- header: everything fits, one Login button ---------- */
@media (min-width:561px){.nav .nav-login-m{display:none !important}}
.nav .nav-in{gap:10px}
.nav .nav-links{flex:0 1 auto !important;min-width:0}
.nav .nav-search-wrap{flex:0 1 170px;min-width:42px;max-width:220px}
.nav .nav-search-wrap .nav-search-input{min-width:0;width:100%}
@media (max-width:1500px){.nav .nav-search-wrap{flex:0 0 44px !important;width:44px !important;max-width:44px !important;overflow:hidden}.nav .nav-search-wrap:focus-within{overflow:visible}.nav .nav-search-wrap .nav-search-input{padding-left:12px !important;padding-right:0 !important;color:transparent}.nav .nav-search-wrap .nav-search-input::placeholder{color:transparent}.nav .nav-search-wrap:focus-within{position:absolute;right:16px;left:auto;top:50%;transform:translateY(-50%);max-width:380px;width:380px;z-index:30}.nav .nav-search-wrap:focus-within .nav-search-input{color:inherit;padding-left:16px !important}.nav .nav-search-wrap:focus-within .nav-search-input::placeholder{color:rgba(255,255,255,.5)}}
@media (max-width:1280px){.nav .nav-links > *{padding-left:7px !important;padding-right:7px !important}.nav .sol-lang-btn{transform:scale(.92)}}

/* ---------- hover card on the homepage: the Play button and the whole bar show ---------- */
html body #p462-hc .ac button.pl:not(#p474):not(#p470):not(#p469):not(#p468){width:auto !important;min-width:92px !important;max-width:none !important;aspect-ratio:auto !important;overflow:visible !important;padding:0 18px !important;justify-content:center;white-space:nowrap}
html body #p462-hc .ac button:not(#p474){flex:0 0 auto;white-space:nowrap}
html body #p462-hc .ac:not(#p474){flex-wrap:wrap;overflow:visible}
#p462-hc{max-height:calc(100vh - 84px);overflow-y:auto !important}

/* ---------- profile: no duplicate hero — the hub keeps only its numbers ---------- */
.p474-novip > .bd{display:none !important}
.p474-novip{padding-top:6px !important}

/* ---------- Directory organization cards: contact + bio ---------- */
.p473-org .ab{margin-top:8px}.p473-org .ab p{margin:0;-webkit-line-clamp:2}.p473-org .ab.open p{-webkit-line-clamp:unset;display:block}
.p473-org .mr{background:none;border:0;padding:2px 0 0;color:#e9c46d;font-weight:700;font-size:12px;cursor:pointer}
.p473-org .ct{list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px solid rgba(255,255,255,.07);display:grid;gap:5px}
.p473-org .ct li{display:flex;gap:8px;align-items:center;font-size:12.5px;min-width:0}.p473-org .ct svg{flex:none;color:#e9c46d}
.p473-org .ct a{color:#f1eadb;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.p473-org .ct a:hover{color:#f3dc95}

/* ---------- designed covers stay in the SOL gold family ---------- */
.p472-gen{background:radial-gradient(120% 90% at 0% 0%,hsl(calc(26 + var(--h,0) / 18),62%,36%),transparent 60%),radial-gradient(90% 90% at 100% 100%,hsl(calc(30 + var(--h,0) / 24),55%,18%),#0d0a07 75%) !important}

/* ---------- premium music playbar ---------- */
#sol-bar{left:14px !important;right:14px !important;bottom:12px !important;border-radius:22px !important;overflow:hidden;background:linear-gradient(180deg,rgba(28,22,14,.92),rgba(10,8,6,.96)) !important;border:1px solid rgba(233,196,109,.35) !important;box-shadow:0 22px 60px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2)}
#sol-bar::before{content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,#b45cf0 20%,#e9c46d 50%,#29d3f0 80%,transparent);opacity:.8;pointer-events:none}
#sol-bar > div:first-child{height:3px !important}
#sol-bar > div:last-child{max-width:1480px !important;padding:10px 18px !important}
#sol-bar > div:last-child > div:first-child{width:300px !important}
#sol-bar > div:last-child > div:first-child > div:first-child{width:54px !important;height:54px !important;border-radius:12px !important;box-shadow:0 8px 22px rgba(0,0,0,.6),0 0 0 1px rgba(233,196,109,.3) !important;position:relative}
#sol-bar.p474-on > div:last-child > div:first-child > div:first-child::after{content:"";position:absolute;right:-4px;bottom:-4px;width:18px;height:18px;border-radius:50%;background:#e9c46d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cg fill='%231a1204'%3E%3Crect x='2' y='3' width='2' height='6'%3E%3Canimate attributeName='height' values='6;2;6' dur='.9s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='5' y='2' width='2' height='8'%3E%3Canimate attributeName='height' values='8;3;8' dur='.7s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='8' y='4' width='2' height='5'%3E%3Canimate attributeName='height' values='5;8;5' dur='.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/g%3E%3C/svg%3E") center/12px no-repeat;box-shadow:0 2px 8px rgba(0,0,0,.5)}
#sol-bar > div:last-child > div:first-child > div:nth-child(2) > div:first-child{font:700 14.5px/1.2 Outfit,system-ui,sans-serif !important;color:#fff !important}
#sol-bar > div:last-child > div:first-child > div:nth-child(2) > div:last-child{color:#d9c08a !important}
#sol-bar button[onclick="stopTrack()"][style*="border-radius:50%"]{width:46px !important;height:46px !important;background:linear-gradient(180deg,#fff1bf,#e8b339 60%,#a8761a) !important;color:#1a1204 !important;box-shadow:0 6px 20px rgba(232,179,57,.35),inset 0 1px 0 rgba(255,255,255,.5);transition:transform .15s}
#sol-bar button[onclick="stopTrack()"][style*="border-radius:50%"]:hover{transform:scale(1.07)}
#sol-bar button[onclick="prevTrack()"],#sol-bar button[onclick="nextTrack()"]{color:rgba(255,255,255,.75) !important}
#sol-bar .p474-src{font:800 10px Outfit,system-ui;letter-spacing:.2em;text-transform:uppercase;color:#e9c46d}
#sol-bar .sol-bar-extra button{color:rgba(255,255,255,.7)}
#sol-bar .sol-bar-extra button.on,#sol-bar .sol-bar-extra button.active{color:#e9c46d}
#sol-bar input[type=range]{accent-color:#e9c46d}
#sol-bar .btn-gold{border-radius:999px !important}
body:has(#sol-bar) .p452-memdock{bottom:96px}
@media (max-width:640px){
  #sol-bar{left:8px !important;right:8px !important;bottom:8px !important;border-radius:18px !important}
  #sol-bar > div:last-child{padding:8px 10px !important;gap:8px !important}
  #sol-bar > div:last-child > div:first-child{width:auto !important;flex:1 1 auto}
  #sol-bar > div:last-child > div:first-child > div:first-child{width:44px !important;height:44px !important}
  #sol-bar .p474-src{display:none}
}
