/* XYNOXIA WATCH — live editorial streaming interface */
.watch-screen{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(10px,1.4vh,16px);overflow:hidden}
.watch-screen .screen-head{display:flex;align-items:end;justify-content:space-between;gap:18px;min-width:0}
.watch-screen .screen-title{font-size:clamp(23px,2.25vw,34px);font-weight:720;letter-spacing:-.055em;line-height:1.05}
.watch-screen .screen-sub{font-size:11px;color:#727b85;margin:5px 0 0}
.watch-screen .screen-actions{display:flex;gap:6px;flex-wrap:wrap}
.watch-screen .soft-btn{border:1px solid #dfe3e8;background:#fff;color:#3c444d;border-radius:7px;padding:8px 12px;font-size:10px;cursor:pointer;transition:background .18s,border-color .18s}
.watch-screen .soft-btn:hover,.watch-screen .soft-btn[aria-pressed=true]{background:#eef1f4;border-color:#c7cdd4}
.watch-live-layout{min-height:0;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.9fr);gap:14px}
.watch-feature{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:9px}
.watch-player{position:relative;min-height:0;overflow:hidden;background:#171b20;border-radius:12px;display:grid;place-items:center;isolation:isolate}
.watch-player iframe{width:100%;height:100%;min-height:0;border:0;position:absolute;inset:0}
.watch-player-poster{position:absolute;inset:0;background:#171b20 center/cover no-repeat;display:grid;place-items:center;cursor:pointer;border:0;color:#fff}
.watch-player-poster:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111820d9,#11182022),linear-gradient(0deg,#111820aa,transparent 58%)}
.watch-player-poster .poster-copy{position:absolute;left:clamp(16px,3vw,34px);bottom:clamp(16px,3vw,30px);max-width:65%;text-align:left}
.watch-player-poster .poster-kicker{font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#e2e6ea;font-weight:700}
.watch-player-poster strong{display:block;font-size:clamp(20px,2.5vw,34px);line-height:1.04;letter-spacing:-.04em;margin:8px 0}
.watch-player-poster small{font-size:10px;color:#e3e7eb}
.watch-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:#fff;color:#252a30;display:grid;place-items:center;font-size:19px;box-shadow:0 8px 30px #0004}
.watch-meta{display:flex;justify-content:space-between;align-items:center;gap:10px}
.watch-meta strong{font-size:12px}.watch-meta small{display:block;color:#7c858e;font-size:9px}
.watch-meta .watch-live-dot{display:inline-flex;align-items:center;gap:6px;color:#525d67;font-size:9px;letter-spacing:.12em;font-weight:750}
.watch-live-dot i{width:7px;height:7px;border-radius:50%;background:#a5adb5;display:inline-block;box-shadow:0 0 0 3px #e9edf0}
.watch-guide-panel{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px}
.watch-guide-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.watch-guide-top h3{font-size:13px;margin:0;letter-spacing:-.02em}
.watch-guide-top small{font-size:9px;color:#7d858d}
.watch-search{width:100%;border:1px solid #e0e4e8;border-radius:7px;padding:8px 10px;font-size:10px;outline:none;background:#fff;color:#2c333a}
.watch-search:focus{border-color:#aeb7c0;box-shadow:0 0 0 3px #e9edf1}
.watch-guide-list{min-height:0;overflow:auto;display:grid;align-content:start;gap:6px;padding-right:2px}
.watch-program{display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px;align-items:center;text-align:left;border:1px solid #e3e6e9;border-radius:8px;background:#fff;padding:7px;cursor:pointer;color:#252c33;min-width:0}
.watch-program:hover,.watch-program.is-selected{border-color:#aeb8c2;background:#f7f8f9}
.watch-program .program-art{height:43px;width:42px;border-radius:5px;background:linear-gradient(145deg,#dce1e6,#f4f5f6);display:grid;place-items:center;color:#68737d;font-size:16px}
.watch-program b{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.watch-program small{font-size:8px;color:#7d858d;display:block;margin-top:2px}
.watch-library{grid-column:1/-1;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0}
.watch-library-head{display:flex;justify-content:space-between;align-items:center}
.watch-library-head h3{margin:0;font-size:12px}
.watch-library-head small{font-size:9px;color:#7d858d}
.watch-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-height:0}
.watch-library-card{border:1px solid #e2e6e9;border-radius:8px;background:#fff;overflow:hidden;text-align:left;display:grid;grid-template-rows:minmax(50px,1fr) auto;min-width:0;color:#252c33;cursor:pointer}
.watch-library-card .library-art{min-height:52px;background:linear-gradient(135deg,#e7ebee,#cfd6dc);display:grid;place-items:center;color:#65717c;font-size:20px}
.watch-library-card .library-copy{padding:7px;min-width:0}
.watch-library-card b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.watch-library-card small{font-size:8px;color:#7d858d}
.watch-library-card:hover{border-color:#aeb8c2;transform:translateY(-1px)}
.watch-view-mode .watch-live-layout{display:none}
.watch-view-mode .watch-library{grid-column:1/-1;grid-template-rows:auto minmax(0,1fr)}
.watch-view-mode .watch-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.watch-empty{padding:20px;text-align:center;color:#77818b;font-size:11px}
@media(max-width:900px){.watch-live-layout{grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr)}.watch-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.watch-screen{height:auto;min-height:100%;overflow:visible;grid-template-rows:auto auto}.watch-screen .screen-head{align-items:flex-start;flex-direction:column}.watch-live-layout{grid-template-columns:1fr}.watch-player{aspect-ratio:16/9;min-height:190px}.watch-guide-list{max-height:210px}.watch-library{grid-column:1;grid-template-rows:auto auto}.watch-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.watch-view-mode .watch-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.watch-meta{align-items:flex-start}}
@media(max-height:650px) and (min-width:651px){.watch-screen{gap:7px}.watch-screen .screen-head{min-height:42px}.watch-live-layout{gap:9px}.watch-program{padding:5px}.watch-program .program-art{height:34px}.watch-library-card .library-art{min-height:38px}}
@media(prefers-reduced-motion:reduce){.watch-program,.watch-library-card,.watch-screen .soft-btn{transition:none}}

.main:has(.watch-screen)>.heading{display:none}
.watch-screen{grid-template-rows:auto minmax(0,1fr)}
.watch-live-layout{grid-template-rows:minmax(0,1fr) auto}
.watch-feature{grid-column:1;grid-row:1}
.watch-guide-panel{grid-column:2;grid-row:1}
.watch-library{grid-column:1/-1;grid-row:2}
.watch-library-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.watch-meta-actions{display:flex;gap:6px;align-items:center}
.watch-meta-actions .soft-btn{font-size:9px;padding:6px 9px}
.watch-open-collection{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e1e5e8;border-radius:8px;padding:9px 11px;color:#424c55;background:#f7f8f9;font-size:9px}
.watch-open-collection a{font-weight:700;text-decoration:underline;text-underline-offset:2px}
@media(max-width:650px){.main:has(.watch-screen)>.heading{display:none}.watch-live-layout{grid-template-rows:auto auto auto}.watch-feature,.watch-guide-panel,.watch-library{grid-column:1;grid-row:auto}.watch-library-grid{grid-auto-flow:row;grid-auto-columns:auto}}

.watch-open-links{display:flex;gap:12px;flex-wrap:wrap}
.watch-open-links a{font-weight:700;text-decoration:underline;text-underline-offset:2px;color:#48535e}

/* STREAMING THEATER — full-bleed Netflix / Pluto-inspired Watch */
.main:has(.watch-screen){padding:0!important;gap:0!important;background:#101418!important;grid-template-rows:minmax(0,1fr)!important}
.main:has(.watch-screen)>.content{padding:0!important;margin:0!important;background:#101418!important;overflow:hidden!important}
.watch-screen{height:100%!important;width:100%!important;min-height:0!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important;padding:clamp(12px,1.5vw,22px)!important;background:#101418!important;color:#f4f5f6!important}
.watch-live-layout{height:100%!important;grid-template-columns:minmax(0,1.8fr) minmax(260px,.72fr)!important;grid-template-rows:minmax(0,1fr) minmax(145px,.38fr)!important;gap:clamp(10px,1.2vw,18px)!important}
.watch-feature{grid-column:1!important;grid-row:1!important;grid-template-rows:minmax(0,1fr) auto!important;gap:8px!important}
.watch-player{border-radius:13px!important;background:#080b0e!important;box-shadow:0 18px 55px #0008!important}
.watch-player-poster:before{background:linear-gradient(90deg,#080b0ee8 0%,#080b0e55 52%,transparent 100%),linear-gradient(0deg,#080b0eaa,transparent 62%)!important}
.watch-player-poster strong{font-size:clamp(26px,3.4vw,52px)!important;max-width:580px!important}
.watch-player-poster .poster-copy{max-width:70%!important}
.watch-play{width:62px!important;height:62px!important}
.watch-meta{color:#f1f3f4!important;padding:0 2px!important}
.watch-meta small,.watch-meta .watch-live-dot{color:#9da7b0!important}
.watch-live-dot i{background:#c45d68!important;box-shadow:0 0 0 3px #c45d682b!important}
.watch-guide-panel{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;background:#171d23!important;border:1px solid #29323a!important;border-radius:12px!important;padding:13px!important}
.watch-guide-top h3{color:#f4f5f6!important;font-size:14px!important}
.watch-guide-top small{color:#87939d!important}
.watch-search{background:#202830!important;border-color:#35414b!important;color:#f2f4f5!important}
.watch-search::placeholder{color:#8d99a3!important}
.watch-program{background:#1c242b!important;border-color:#303b45!important;color:#f1f3f4!important}
.watch-program:hover,.watch-program.is-selected{background:#29343d!important;border-color:#73818d!important}
.watch-program .program-art{background:#303b44!important;color:#e5e9eb!important}
.watch-program small{color:#a1abb3!important}
.watch-library{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:8px!important}
.watch-library-head h3{color:#f4f5f6!important;font-size:13px!important}
.watch-library-head small{color:#87939d!important}
.watch-library-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:10px!important}
.watch-library-card{background:#171e24!important;border-color:#2c3740!important;border-radius:9px!important;grid-template-rows:minmax(55px,1fr) auto!important;transition:transform .18s,border-color .18s!important}
.watch-library-card:hover{border-color:#85919b!important;transform:scale(1.025)!important}
.watch-library-card .library-art{background:linear-gradient(135deg,#29343d,#45535e)!important;color:#dce2e6!important}
.watch-library-card .library-copy{padding:8px!important}
.watch-library-card b{color:#f0f2f3!important;font-size:10px!important}
.watch-library-card small{color:#9da8b0!important}
.watch-empty{color:#aab4bc!important}
.watch-view-mode .watch-library{grid-column:1/-1!important;grid-row:1/-1!important}
.watch-view-mode .watch-library-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-rows:minmax(130px,1fr)!important}
@media(max-width:850px){.watch-live-layout{grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr)!important}.watch-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:650px){.main:has(.watch-screen){padding:0!important}.watch-screen{padding:10px!important;height:auto!important;overflow:auto!important}.watch-live-layout{height:auto!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important}.watch-feature,.watch-guide-panel,.watch-library{grid-column:1!important;grid-row:auto!important}.watch-player{aspect-ratio:16/9!important;min-height:190px!important}.watch-guide-panel{min-height:230px!important}.watch-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important}.watch-view-mode .watch-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.watch-meta{padding-bottom:5px!important}}

/* XYNOXIA WATCH — cinematic full-viewport streaming layout */
.main:has(.watch-screen){padding:0!important;gap:0!important;grid-template-rows:minmax(0,1fr)!important;background:#10151a!important;overflow:hidden!important}
.main:has(.watch-screen)>.heading{display:none!important}
.main:has(.watch-screen)>.content{padding:0!important;margin:0!important;min-height:0!important;overflow:hidden!important;background:#10151a!important}
.watch-screen{width:100%!important;height:100%!important;min-height:0!important;padding:clamp(12px,1.5vw,22px)!important;overflow:hidden!important;background:radial-gradient(ellipse at 68% 0%,#26313a 0%,#151c22 42%,#10151a 100%)!important;color:#f4f6f7!important;display:block!important}
.stream-shell{height:100%;min-height:0;display:grid;grid-template-rows:42px minmax(0,1fr) minmax(145px,.34fr);gap:clamp(10px,1.2vh,16px);max-width:1900px;margin:0 auto}
.stream-toolbar{display:flex;align-items:center;gap:clamp(16px,2vw,32px);min-width:0;border-bottom:1px solid #ffffff18;padding:0 2px 9px}
.stream-wordmark{font-size:12px;letter-spacing:.22em;font-weight:750;color:#f4f6f7;white-space:nowrap}
.stream-wordmark span{font-size:9px;letter-spacing:.16em;color:#aab4bc;margin-left:8px}
.stream-tabs{display:flex;align-items:center;gap:5px}
.stream-tab{border:0;background:transparent;color:#aab4bc;padding:8px 11px;border-radius:6px;font-size:10px;cursor:pointer}
.stream-tab:hover,.stream-tab.active{background:#ffffff13;color:#fff}
.stream-search-wrap{margin-left:auto;display:flex;align-items:center;gap:7px;width:min(230px,25vw);border:1px solid #ffffff24;border-radius:6px;padding:6px 9px;color:#aab4bc}
.stream-search-wrap input{border:0;outline:0;background:transparent;color:#fff;width:100%;font-size:10px}
.stream-search-wrap input::placeholder{color:#9aa5ae}
.stream-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(225px,.28fr);gap:clamp(12px,1.5vw,22px);min-height:0}
.stream-player{position:relative;min-height:0;overflow:hidden;border-radius:11px;background:#080c10;box-shadow:0 18px 60px #0008}
.stream-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.stream-poster{position:absolute;inset:0;width:100%;height:100%;border:0;text-align:left;color:#fff;cursor:pointer;background-position:center 38%;background-size:cover;background-repeat:no-repeat}
.stream-gradient{position:absolute;inset:0;background:linear-gradient(90deg,#0b1016f2 0%,#0b1016a6 44%,#0b101620 100%),linear-gradient(0deg,#0b1016bb 0%,transparent 66%)}
.stream-feature-copy{position:absolute;left:clamp(22px,4vw,64px);bottom:clamp(22px,4vh,54px);display:flex;flex-direction:column;align-items:flex-start;max-width:min(650px,72%)}
.stream-eyebrow{font-size:9px;letter-spacing:.2em;color:#d0d8dd;font-weight:750}
.stream-feature-copy strong{font-size:clamp(28px,4vw,58px);line-height:.99;letter-spacing:-.055em;margin:12px 0;max-width:680px}
.stream-description{font-size:clamp(10px,.9vw,13px);line-height:1.55;color:#d0d7dc;max-width:480px}
.stream-hero-actions{display:flex;gap:9px;margin-top:20px}
.stream-play-button,.stream-more-button{display:inline-flex;align-items:center;padding:10px 16px;border-radius:5px;background:#f4f6f7;color:#1d252b;font-size:11px;font-weight:750}
.stream-more-button{background:#ffffff24;color:#fff;border:1px solid #ffffff35}
.stream-rail{min-height:0;border-left:1px solid #ffffff18;padding:4px 0 4px clamp(12px,1.4vw,20px);display:flex;flex-direction:column}
.stream-rail-heading{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.15em;font-weight:750;color:#e7ecef;margin-bottom:12px}
.stream-rail-heading i{height:1px;flex:1;background:#ffffff24}
.stream-rail-heading small{font-size:8px;color:#89959e}
.stream-channel-list{display:grid;gap:5px}
.stream-channel{display:grid;grid-template-columns:34px minmax(0,1fr) 12px;gap:9px;align-items:center;text-align:left;padding:9px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#f2f4f5;cursor:pointer}
.stream-channel:hover{background:#ffffff10;border-color:#ffffff1a}
.stream-channel-icon{height:32px;width:32px;border-radius:5px;background:linear-gradient(145deg,#39464f,#222d35);display:grid;place-items:center;color:#d8e0e4;font-size:15px}
.stream-channel b{font-size:10px;display:block}
.stream-channel small{font-size:8px;color:#a4afb7;display:block;margin-top:3px;line-height:1.3}
.stream-channel>i{font-style:normal;color:#87939c;font-size:16px}
.stream-rail-note{margin-top:auto;border-top:1px solid #ffffff18;padding:13px 4px 2px;display:grid;gap:5px}
.stream-rail-note b{font-size:11px;color:#e8edef}
.stream-rail-note span{font-size:9px;color:#9ba7af;line-height:1.45}
.stream-shelf{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:9px}
.stream-shelf-heading{display:flex;align-items:end;justify-content:space-between}
.stream-shelf-heading small{font-size:8px;letter-spacing:.18em;color:#a2adb5;font-weight:750}
.stream-shelf-heading h2{font-size:clamp(14px,1.3vw,18px);margin:3px 0 0;color:#f2f4f5;letter-spacing:-.03em}
.stream-shelf-heading>span{font-size:8px;letter-spacing:.13em;color:#89959e}
.stream-cards{display:flex;gap:10px;min-height:0;overflow-x:auto;overflow-y:hidden;padding:1px 2px 7px;scrollbar-width:thin;scrollbar-color:#48535c transparent}
.stream-card{flex:0 0 clamp(150px,16vw,235px);min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;text-align:left;border:1px solid #ffffff16;border-radius:7px;overflow:hidden;background:#1a232a;color:#f1f4f5;cursor:pointer;transition:transform .18s,border-color .18s}
.stream-card:hover{transform:translateY(-3px);border-color:#85939d}
.stream-card-art{min-height:0;background-position:center;background-size:cover;display:grid;place-items:center;position:relative}
.stream-card-art:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0b101a66,transparent)}
.stream-card-art i{font-style:normal;position:relative;background:#ffffffdf;color:#202830;border-radius:50%;height:30px;width:30px;display:grid;place-items:center;font-size:11px;opacity:0;transition:opacity .15s}
.stream-card:hover .stream-card-art i{opacity:1}
.stream-card-copy{padding:7px 9px;display:grid;gap:3px}
.stream-card-copy b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stream-card-copy small{font-size:8px;color:#9ba7af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stream-empty{color:#aab4bc;font-size:11px;padding:20px}
@media(max-width:850px){.stream-shell{grid-template-rows:40px minmax(0,1fr) minmax(125px,.34fr)}.stream-hero{grid-template-columns:minmax(0,1fr) minmax(190px,.32fr)}.stream-channel{padding:6px 4px}.stream-channel-icon{width:28px;height:28px}}
@media(max-width:650px){.watch-screen{height:100%!important;overflow:auto!important;padding:10px!important}.stream-shell{height:auto;min-height:100%;grid-template-rows:auto minmax(300px,58vh) minmax(135px,auto);gap:12px}.stream-toolbar{flex-wrap:wrap;height:auto;padding-bottom:8px;gap:7px}.stream-wordmark{font-size:10px}.stream-tabs{order:3;width:100%;justify-content:flex-start}.stream-tab{padding:7px 9px}.stream-search-wrap{width:min(180px,48vw)}.stream-hero{grid-template-columns:1fr;grid-template-rows:minmax(230px,1fr) auto;gap:8px}.stream-rail{border-left:0;border-top:1px solid #ffffff18;padding:8px 0 0}.stream-rail-heading{margin-bottom:5px}.stream-channel-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.stream-channel{grid-template-columns:26px minmax(0,1fr) 8px;padding:5px}.stream-channel-icon{height:25px;width:25px;font-size:12px}.stream-channel b{font-size:8px}.stream-channel small{font-size:7px}.stream-rail-note{display:none}.stream-feature-copy{left:16px;bottom:16px;max-width:86%}.stream-feature-copy strong{font-size:25px}.stream-description{font-size:9px}.stream-eyebrow{font-size:7px}.stream-hero-actions{margin-top:11px}.stream-play-button,.stream-more-button{padding:8px 10px;font-size:9px}.stream-card{flex-basis:145px;min-height:100px}}
@media(prefers-reduced-motion:reduce){.stream-card,.stream-tab,.stream-channel{transition:none!important}}

/* Ensure the streaming surface spans the complete application content area */
.main:has(.watch-screen)>.content{display:block!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;width:100%!important;height:100%!important}
.main:has(.watch-screen)>.content>.watch-screen{display:block!important;width:100%!important;height:100%!important}

/* Expanded streaming catalog presentation */
.stream-shell{grid-template-rows:42px minmax(0,1fr) minmax(175px,.42fr)!important}
.stream-card{flex-basis:clamp(175px,18vw,255px)!important}
.stream-card-art{min-height:92px!important}
.stream-card-art em{position:absolute;right:7px;bottom:6px;background:#090f15c9;color:#f4f6f7;border-radius:3px;padding:3px 5px;font-size:7px;font-style:normal;letter-spacing:.04em}
.stream-card.is-current{border-color:#9aaab4;box-shadow:0 0 0 1px #9aaab455}
.stream-rights{font-size:8px;color:#c3cdd3;margin-top:8px;letter-spacing:.02em}
.stream-feature-copy{max-width:min(650px,80%)}
.stream-feature-copy strong{max-width:600px}
.stream-poster{background-position:center;background-size:cover}
.stream-shelf{gap:10px}
.stream-cards{gap:12px}
.stream-card-copy{padding:8px 10px}
.stream-card-copy b{font-size:10px}
.stream-card-copy small{font-size:8px}
@media(max-width:650px){.stream-shell{grid-template-rows:auto minmax(300px,58vh) minmax(150px,auto)!important}.stream-card{flex-basis:155px!important}.stream-card-art{min-height:75px!important}}


/* XYNOXIA WELLNESS palette overrides — neutral blue, white and soft silver */
.main:has(.watch-screen){background:#f7fbfe!important}
.main:has(.watch-screen)>.content{background:#f7fbfe!important}
.watch-screen{background:#f7fbfe!important;color:#17324d!important}
.watch-player{border-radius:16px;box-shadow:0 10px 30px rgba(20,64,96,.12)}
.watch-player-poster:before{background:linear-gradient(90deg,rgba(9,42,67,.76),rgba(9,42,67,.10)),linear-gradient(0deg,rgba(9,42,67,.48),transparent 60%)}
.watch-program,.watch-library-card{border-color:#dce9f1;border-radius:11px;box-shadow:0 3px 12px rgba(22,73,107,.04)}
.watch-program:hover,.watch-program.is-selected,.watch-library-card:hover{border-color:#83bfdc;background:#f0f8fc}
.watch-program .program-art,.watch-library-card .library-art{filter:saturate(.65);background-color:#e8f4fa}
.watch-screen .soft-btn{border-color:#d5e6f0;color:#22506e;border-radius:9px}
.watch-screen .soft-btn:hover,.watch-screen .soft-btn[aria-pressed=true]{background:#eaf5fb;border-color:#a9d2e7}

/* XYNOXIA WELLNESS client portal — blue/white resource and care workspace */
:root{--wellness-blue:#247eae;--wellness-deep:#174f73;--wellness-pale:#eaf5fb;--wellness-line:#dceaf2}
.nav button.active{box-shadow:inset 3px 0 var(--wellness-blue)!important;color:var(--wellness-deep)!important;background:#eaf5fb!important}
.nav button.active span,.nav button:hover span{color:var(--wellness-blue)!important}
.resource-center-screen{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:clamp(8px,1.2vh,14px);overflow:hidden;color:#17344b}
.resource-top{display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0}
.resource-title{font-size:clamp(22px,2.5vw,32px);font-weight:750;letter-spacing:-.055em;line-height:1.1;color:#17344b}
.resource-top p{font-size:10px;color:#718797;margin:5px 0 0}
.resource-contact{display:flex;gap:7px;flex-shrink:0}
.resource-contact a{display:grid;grid-template-columns:24px auto;align-items:center;gap:6px;border:1px solid var(--wellness-line);border-radius:9px;padding:7px 10px;background:#fff;color:#315e7b;font-size:9px;font-weight:700}
.resource-contact i{font-style:normal;display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:var(--wellness-pale);color:var(--wellness-blue);font-size:13px}
.resource-search-row{display:flex;gap:10px;align-items:center}
.resource-searchbox{height:38px;display:flex;align-items:center;gap:8px;flex:1;border:1px solid var(--wellness-line);border-radius:9px;background:#fff;padding:0 11px;color:var(--wellness-blue)}
.resource-searchbox input{border:0!important;outline:0!important;box-shadow:none!important;padding:0!important;min-width:0}
.resource-state{display:flex;align-items:center;gap:8px;font-size:9px;color:#688194;white-space:nowrap}
.resource-state select{height:38px;border:1px solid var(--wellness-line);border-radius:9px;background:#fff;color:#214d6a;padding:0 28px 0 10px;font-size:10px;max-width:180px}
.resource-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:12px;min-height:0;overflow:hidden}
.resource-categories,.resource-detail{min-width:0;min-height:0;border:1px solid var(--wellness-line);border-radius:13px;background:#fff;padding:clamp(10px,1.2vw,16px);overflow:hidden}
.resource-categories{display:flex;flex-direction:column}
.resource-section-label{font-size:8px;letter-spacing:.16em;font-weight:800;color:#4b89ad}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;overflow:auto;scrollbar-width:thin}
.resource-grid .resource{min-height:54px;padding:7px;border:1px solid #e3edf3;border-radius:9px;background:#fff;display:flex;align-items:center;gap:8px;text-align:left;min-width:0;cursor:pointer}
.resource-grid .resource:hover,.resource-grid .resource.is-selected{background:#edf7fc;border-color:#9bcbe3}
.resource-grid .resource i{font-style:normal;flex:0 0 27px;width:27px;height:27px;border-radius:8px;background:#eaf5fb;color:#247eae;display:grid;place-items:center;font-size:14px}
.resource-grid .resource b{display:block;font-size:9px;color:#24455c;line-height:1.25}
.resource-grid .resource small{display:block;font-size:7px;color:#8093a1;line-height:1.25;margin-top:3px}
.resource-detail{display:flex;flex-direction:column;gap:clamp(7px,1vh,11px);background:linear-gradient(145deg,#fff,#f9fcfe)}
.resource-detail-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.resource-detail-head h2{font-size:clamp(16px,1.7vw,22px);letter-spacing:-.04em;margin:4px 0;color:#173c56}
.resource-detail-head p{font-size:9px;line-height:1.4;color:#738b9a;margin:0;max-width:540px}
.resource-detail-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eaf5fb;color:#247eae;display:grid;place-items:center;font-size:21px}
.resource-data-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.resource-data-strip>div{background:#eff7fb;border:1px solid #e0eef5;border-radius:9px;padding:8px;min-width:0}
.resource-data-strip small{display:block;font-size:6px;letter-spacing:.1em;font-weight:800;color:#5d879f}
.resource-data-strip strong{display:block;font-size:clamp(15px,1.8vw,22px);line-height:1.15;color:#174f73;margin:4px 0}
.resource-data-strip span{display:block;font-size:7px;line-height:1.3;color:#6f8796}
.resource-state-data{display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid #e2edf3;border-radius:9px;padding:9px 11px}
.resource-state-data b{font-size:9px;color:#244d68}
.resource-state-data span{font-size:8px;color:#708797;line-height:1.4}
.resource-state-data>small{font-size:7px;color:#8a9aa4;line-height:1.35}
.state-actions{display:flex;gap:6px;flex-wrap:wrap}
.state-actions a{font-size:7px;font-weight:700;color:#176b9a;background:#edf7fc;border:1px solid #d6eaf4;border-radius:6px;padding:5px 7px}
.resource-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:0}
.resource-links a{display:grid;grid-template-columns:1fr auto;align-content:center;gap:4px;border:1px solid #e1ebf1;border-radius:8px;background:#fff;padding:8px;min-width:0}
.resource-links a>span{grid-column:1/-1;font-size:7px;font-weight:800;letter-spacing:.1em;color:#3282ad}
.resource-links a>b{font-size:8px;line-height:1.35;color:#34576e}
.resource-links a>i{font-style:normal;font-size:10px;color:#3282ad}
.resource-footnote{font-size:7px;line-height:1.35;color:#8496a2;border-top:1px solid #e5eef3;padding-top:6px}
.account-screen{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;overflow:hidden}
.account-screen-head{display:flex;justify-content:space-between;align-items:center}
.account-screen-head h1{font-size:clamp(23px,2.5vw,34px);letter-spacing:-.055em;margin:5px 0;color:#173c56}
.account-screen-head p{font-size:10px;color:#728999;margin:0}
.account-head-icon{width:42px;height:42px;display:grid;place-items:center;background:#eaf5fb;color:#247eae;border-radius:12px;font-size:21px}
.account-empty{align-self:center;justify-self:center;width:min(100%,580px);text-align:center;border:1px solid #dceaf2;border-radius:18px;background:linear-gradient(145deg,#fff,#f2f8fc);padding:clamp(24px,4vw,48px)}
.account-empty-icon{margin:auto;width:54px;height:54px;border-radius:16px;background:#e6f3fa;color:#247eae;display:grid;place-items:center;font-size:25px}
.account-empty h2{font-size:clamp(20px,2.4vw,29px);margin:15px 0 7px;color:#1c4560;letter-spacing:-.04em}
.account-empty p{font-size:10px;line-height:1.65;color:#738b9a;max-width:430px;margin:0 auto}
.account-status{display:inline-flex;align-items:center;gap:7px;margin-top:18px;border:1px solid #e2edf3;background:#fff;border-radius:20px;padding:7px 11px;font-size:8px;color:#708797}
.account-status span{width:6px;height:6px;background:#d2a65e;border-radius:50%}
.account-bottom-note{display:flex;gap:12px;align-items:center;border-top:1px solid #e4eef4;padding-top:10px;color:#758a98}
.account-bottom-note b{font-size:9px;color:#2e6687;white-space:nowrap}
.account-bottom-note span{font-size:8px;line-height:1.45}
@media(max-width:850px){.resource-layout{grid-template-columns:minmax(210px,.8fr) minmax(0,1.4fr);gap:8px}.resource-grid{gap:5px}.resource-grid .resource{padding:6px}.resource-contact a{padding:6px}.resource-contact a span{display:none}.resource-contact a{grid-template-columns:24px}.resource-data-strip strong{font-size:15px}}
@media(max-width:620px){.resource-center-screen{gap:7px}.resource-top{align-items:flex-start}.resource-title{font-size:20px}.resource-top p{font-size:8px;max-width:260px}.resource-contact{gap:4px}.resource-contact a{padding:5px;grid-template-columns:22px}.resource-contact i{width:22px;height:22px}.resource-search-row{gap:6px}.resource-state{display:grid;gap:3px;font-size:7px}.resource-state select{max-width:112px;height:34px;font-size:8px}.resource-searchbox{height:34px}.resource-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:6px}.resource-categories,.resource-detail{padding:7px;border-radius:9px}.resource-grid{grid-template-columns:1fr;gap:4px}.resource-grid .resource{min-height:42px;gap:5px}.resource-grid .resource i{width:22px;height:22px;flex-basis:22px;font-size:11px}.resource-grid .resource b{font-size:7px}.resource-grid .resource small{font-size:6px}.resource-section-label{font-size:6px}.resource-detail{gap:6px}.resource-detail-head h2{font-size:13px}.resource-detail-head p{font-size:7px}.resource-detail-icon{width:28px;height:28px;flex-basis:28px;font-size:15px}.resource-data-strip{gap:3px}.resource-data-strip>div{padding:5px}.resource-data-strip small{font-size:5px}.resource-data-strip strong{font-size:11px}.resource-data-strip span{font-size:6px}.resource-state-data{padding:6px;gap:4px}.resource-state-data b{font-size:7px}.resource-state-data span,.resource-state-data>small{font-size:6px}.state-actions{gap:3px}.state-actions a{font-size:6px;padding:4px}.resource-links{grid-template-columns:1fr;gap:4px}.resource-links a{grid-template-columns:35px 1fr auto;align-items:center;padding:5px;gap:4px}.resource-links a>span{grid-column:auto;font-size:6px}.resource-links a>b{font-size:6px}.resource-footnote{font-size:6px;line-height:1.25;padding-top:4px}.account-screen{gap:8px}.account-empty{padding:22px 14px}.account-empty p{font-size:8px}.account-bottom-note span{font-size:7px}}
@media(max-height:700px) and (min-width:621px){.resource-center-screen{gap:6px}.resource-detail{gap:6px}.resource-categories,.resource-detail{padding:9px}.resource-data-strip>div{padding:6px}.resource-state-data{padding:7px}.resource-links a{padding:6px}.account-empty{padding:22px}.account-screen{gap:7px}}
