:root{--navy:#061827;--navy2:#0b2940;--cream:#f5eddc;--gold:#e2b65b;--red:#b82635;--muted:#a9bac6;--focus:#fff3a4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 75% 0,#174966 0,transparent 34%),linear-gradient(145deg,#061827,#081f32 55%,#04121e);color:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:18px}.topbar{height:92px;padding:18px 4vw;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:10}.brand{display:grid;grid-template-columns:42px auto;grid-template-rows:auto auto;column-gap:12px;color:#fff;text-decoration:none;border-radius:14px;padding:7px 12px}.brand .heart{grid-row:1/3;background:var(--red);width:42px;height:42px;border-radius:50%;display:grid;place-items:center}.brand>span:nth-child(2){font-family:Georgia,serif;font-weight:700;font-size:21px}.brand small{color:var(--gold);letter-spacing:.12em;text-transform:uppercase}.top-actions{display:flex;gap:14px}.ghost,.profile-pill{border:1px solid #ffffff38;background:#ffffff0d;color:#fff;border-radius:99px;padding:10px 16px;font-weight:700}.profile-pill{display:flex;align-items:center;gap:10px}.profile-pill>span:first-child{display:grid;place-items:center;width:36px;height:36px;background:linear-gradient(145deg,var(--gold),#c47a34);border-radius:50%;color:#18202a}.screen{min-height:calc(100vh - 92px);padding:2vh 4vw 8vh}.profile-screen{text-align:center;padding-top:8vh}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:var(--gold);font-size:14px;font-weight:800;margin:0 0 10px}.profile-screen h1,.hero h1,.player-screen h1{font:700 clamp(40px,5vw,72px)/1.05 Georgia,serif;margin:0 0 14px}.lead{color:var(--muted);font-size:22px}.profiles-grid{display:flex;justify-content:center;gap:3vw;margin:7vh auto 5vh;flex-wrap:wrap}.profile-card{width:190px;border:0;background:transparent;color:#fff;font-size:22px;font-weight:800;padding:12px;border-radius:24px}.avatar{display:grid;place-items:center;width:156px;height:156px;margin:auto auto 16px;border-radius:38px;background:var(--avatar);font:700 66px Georgia,serif;box-shadow:inset 0 0 0 1px #fff3}.profile-card small{display:block;color:var(--muted);font-size:14px;margin-top:7px}.add-profile{border:1px solid #ffffff3a;background:#ffffff0d;color:#fff;padding:15px 24px;border-radius:18px;font-size:18px}.add-profile span{font-size:26px;margin-right:8px}.remote-help{color:#8fa8b7;font-size:15px;margin-top:4vh}.remote-help kbd{background:#ffffff13;border:1px solid #ffffff2e;border-radius:6px;padding:4px 8px;margin:2px}.hero{min-height:48vh;border-radius:34px;background:linear-gradient(90deg,#092438 0,#092438e8 48%,transparent 74%),linear-gradient(135deg,#173e54,#8b5139);padding:5vw;display:flex;align-items:center;overflow:hidden;position:relative;box-shadow:0 24px 60px #0005}.hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 83% 42%,#f1cb6b44,transparent 22%);pointer-events:none}.hero-copy{max-width:700px;position:relative;z-index:2}.hero-copy>p:not(.eyebrow){font-size:22px;line-height:1.5;color:#d9e2e7}.hero-actions{display:flex;gap:15px;margin-top:28px}.primary,.secondary{border:0;border-radius:14px;padding:17px 25px;font-size:18px;font-weight:800}.primary{background:var(--cream);color:#092033}.secondary{background:#ffffff15;border:1px solid #ffffff3b;color:#fff}.hero-meta{margin-top:25px;color:#d8b76c}.hero-art{margin-left:auto;width:38%;display:grid;place-items:center}.globe{width:min(28vw,350px);aspect-ratio:1;border:2px solid #eac66b88;border-radius:50%;display:grid;place-items:center;font:700 70px Georgia;color:#f7dda0;box-shadow:0 0 80px #f1c75d2e,inset 0 0 60px #06182799}.rail-section{margin-top:44px}.section-title{display:flex;align-items:end;justify-content:space-between}.section-title h2{font:700 32px Georgia;margin:0}.section-title>span{color:var(--gold)}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:20px;overflow-x:auto;padding:20px 7px 28px;scrollbar-width:none}.category-card,.content-card{position:relative;border:0;border-radius:22px;min-height:190px;padding:24px;text-align:left;color:#fff;overflow:hidden;background:linear-gradient(145deg,var(--card),#071827);box-shadow:0 12px 30px #0004}.category-card:after{content:attr(data-symbol);position:absolute;right:14px;bottom:-20px;font-size:100px;opacity:.18}.category-card h3,.content-card h3{font:700 27px Georgia;margin:65px 0 5px}.category-card p,.content-card p{color:#d6e0e5;margin:0;font-size:15px}.content-rail{grid-auto-columns:minmax(310px,1fr)}.content-card{min-height:210px;background:linear-gradient(0deg,#061827f5 0,#0618271c 72%),var(--image);background-size:cover;background-position:center}.content-card .tag{background:#b82635;padding:5px 9px;border-radius:7px;font-size:12px}.content-card h3{margin-top:90px}.focusable{outline:none;transition:transform .14s ease,box-shadow .14s ease,border-color .14s}.focusable:focus,.focusable[data-focus="true"]{transform:scale(1.055);box-shadow:0 0 0 5px var(--focus),0 18px 45px #0009!important;z-index:4}.player-screen{padding-top:2vh}.back{background:transparent;color:#fff;border:1px solid #ffffff3d;border-radius:12px;padding:12px 18px;font-weight:700;margin-bottom:3vh}.player-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.7fr);gap:4vw;align-items:center}.video-shell{background:#000;aspect-ratio:16/9;border-radius:24px;overflow:hidden;position:relative;box-shadow:0 30px 80px #000a}.video-shell video{width:100%;height:100%;object-fit:contain}.video-overlay{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;gap:25px;padding:50px 20px 25px;background:linear-gradient(transparent,#000c);opacity:0;transition:.2s}.video-shell:hover .video-overlay,.video-shell:focus-within .video-overlay,.video-overlay.visible{opacity:1}.round,.play{border:1px solid #fff5;color:#fff;background:#081c2dcc;border-radius:50%;width:64px;height:64px;font-size:25px}.round small{font-size:11px}.play{background:var(--cream);color:#081c2d;width:78px;height:78px}.player-screen aside p{color:#b8c8d2;line-height:1.6}.progress-label{display:flex;justify-content:space-between;margin-top:30px}.progress{height:9px;background:#ffffff20;border-radius:9px;margin-top:10px;overflow:hidden}.progress i{height:100%;display:block;background:var(--gold);width:0}.modal{position:fixed;inset:0;background:#020a11dc;display:grid;place-items:center;z-index:50}.modal[hidden]{display:none}.modal-card{width:min(520px,90vw);background:#102c40;border:1px solid #ffffff21;border-radius:28px;padding:38px;box-shadow:0 30px 100px #000}.modal-card h2{font:700 35px Georgia}.modal-card label{display:block;color:#c5d2d9;margin:20px 0}.modal-card input,.modal-card select{display:block;width:100%;margin-top:8px;background:#061827;color:#fff;border:1px solid #ffffff35;border-radius:12px;padding:16px;font-size:18px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}#toast{position:fixed;right:30px;bottom:30px;background:#f5eddc;color:#082033;padding:14px 20px;border-radius:12px;font-weight:700;opacity:0;transform:translateY(15px);transition:.2s;z-index:80}#toast.show{opacity:1;transform:none}@media(max-width:800px){.topbar{height:78px;padding:12px 4vw}.brand>span:nth-child(2){font-size:16px}.brand small{font-size:10px}.profile-pill #miniName{display:none}.screen{min-height:calc(100vh - 78px)}.hero{min-height:58vh}.hero-art{display:none}.hero-actions{flex-wrap:wrap}.rail{grid-auto-columns:78vw}.profiles-grid{gap:16px}.profile-card{width:140px}.avatar{width:112px;height:112px;border-radius:28px;font-size:48px}.player-layout{grid-template-columns:1fr}.player-screen h1{font-size:40px}}

[hidden]{display:none!important}button{font-family:inherit;cursor:pointer}.language-label{align-self:center;color:var(--muted);font-size:15px}.focusable:focus{outline:3px solid #fff3a4;outline-offset:3px;transform:none;box-shadow:0 0 0 4px #17384c,0 0 0 7px #fff3a4!important}.topbar{height:76px;padding:10px 4vw}.screen{min-height:calc(100vh - 76px)}.profile-screen{padding-top:3vh}.profile-screen h1{font-size:42px}.profile-screen .lead{font-size:19px}.profiles-grid{margin:22px auto 20px}.profile-card{width:150px;font-size:20px}.avatar{width:106px;height:106px;border-radius:24px;font-size:48px;margin-bottom:8px}.profile-screen .remote-help{margin:22px 0 0}.add-profile{padding:9px 20px}.hero{min-height:250px;padding:28px 32px}.hero h1{font-size:42px}.hero-copy{max-width:650px}.hero-copy>p:not(.eyebrow){font-size:19px}.hero-actions{flex-wrap:wrap;margin-top:18px}.hero-art{width:24%;opacity:.5}.globe{width:150px;font-size:42px}.primary,.secondary{padding:13px 18px;font-size:17px}.hero-meta{margin-top:16px;font-size:16px}.category-card h3{margin-top:30px}.rail{grid-auto-columns:230px}.content-rail{grid-auto-columns:285px}.rail-section{margin-top:28px}.medicine-screen h1{font:700 38px/1.15 Georgia;margin:5px 0 12px}.medicine-screen h2{font-size:24px;margin:24px 0 12px}.catalog-help{font-size:17px;line-height:1.5;color:#c8d8e2}.medicine-films,.medicine-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:8px}.medicine-films .content-card{min-height:190px}.medicine-courses{grid-template-columns:repeat(3,minmax(0,1fr))}.medicine-courses .content-card{min-height:135px;padding:20px;background:linear-gradient(135deg,#163a52,#2f4555)}.medicine-courses .content-card h3{font-family:inherit;font-size:20px;line-height:1.3;margin:22px 0 10px}.medicine-courses .content-card p{font-size:14px}.player-heading{display:flex;align-items:center;gap:22px;margin-bottom:12px}.player-heading .back{margin:0;flex-shrink:0}.player-screen #playerTitle{font:700 27px/1.15 Georgia;margin:0}.player-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start}.player-screen aside p{font-size:16px;line-height:1.45;margin:8px 0}.player-screen .video-shell{border-radius:12px;overflow:visible}.video-shell video{border-radius:12px;background:#000}.video-overlay{gap:12px;padding:22px 14px 15px;border-radius:0 0 12px 12px}.round,.play{width:auto;min-width:72px;height:48px;font-size:16px;font-weight:700;padding:7px 10px;border-radius:10px;flex-shrink:0}.play{min-width:90px}.player-screen .progress-label{font-size:15px;margin-top:14px}#playStatus{min-height:44px;color:#f4d38a}#playerTime{font-variant-numeric:tabular-nums}#nextCourse,#retryButton{margin:12px 0 4px;width:100%}.tv-cinema{background:#000;overflow:hidden}.tv-cinema .topbar,.tv-cinema .player-heading,.tv-cinema .player-layout>aside{display:none}.tv-cinema #app,.tv-cinema .player-screen,.tv-cinema .player-layout{margin:0;padding:0;width:100vw;height:100vh;min-height:0;display:block}.tv-cinema .video-shell{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0;box-shadow:none}.tv-cinema video{border-radius:0}.tv-cinema .video-overlay{position:fixed;bottom:22px;left:50%;right:auto;transform:translateX(-50%);padding:18px 24px;gap:18px;background:#092133ed;border-radius:16px;width:max-content}.tv-cinema .round,.tv-cinema .play{height:56px;min-width:100px;font-size:19px}.tv-cinema.controls-hidden .video-overlay{opacity:0;pointer-events:none}.modal-card{max-height:92vh;overflow:auto;padding:24px}.modal-card h2{font-size:28px;margin:8px 0}.modal-card label{margin:12px 0}.modal-card input,.modal-card select{padding:11px}.modal-actions{margin-top:14px}@media(max-width:800px){.player-layout{grid-template-columns:1fr}.medicine-courses{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{display:none}.hero{min-height:250px}.player-heading{flex-wrap:wrap}.tv-cinema .video-overlay{gap:10px;max-width:94vw}.tv-cinema .round,.tv-cinema .play{min-width:60px;font-size:15px}}@media(max-width:500px){.medicine-films,.medicine-courses{grid-template-columns:1fr}.topbar{padding:8px;gap:8px}.brand{column-gap:6px;padding:4px}.top-actions{gap:8px}.brand>span:nth-child(2){font-size:14px}.ghost{padding:10px}.video-overlay{gap:5px;padding:12px 6px}.round,.play{font-size:13px;min-width:48px}.play{min-width:63px}.hero{padding:22px}.hero h1{font-size:32px}}
html{scroll-padding:14px}.focusable{scroll-margin:14px}

/* Catalogue complet sur télévision */
.top-actions a{display:inline-flex;text-decoration:none;align-items:center;padding:14px 18px;border:1px solid #557184;border-radius:40px;color:white;font-size:17px;white-space:nowrap}.hero-actions>a{text-decoration:none;display:inline-flex;align-items:center}.topbar{gap:16px}.brand{min-width:0}.top-actions{gap:12px}
