.hub-page{background:#0b1020;color:#edf2fc}
.hub-page [hidden]{display:none!important}
.hub-page main{min-height:75vh}
.hub-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);align-items:center;gap:55px;padding-block:174px 58px}
.hub-hero-copy{min-width:0}
.hub-hero h1{font-size:clamp(44px,5.8vw,75px);font-weight:500;line-height:1.5;letter-spacing:-.045em;margin:13px 0 12px;white-space:nowrap}
.hub-lead{max-width:650px;color:#b2bfd6;font-size:17px;line-height:2}
.hub-hero-tag{display:inline-flex;align-items:center;min-height:34px;margin-top:24px;padding:4px 15px;font-size:10px;color:#9ab6db;border:1px solid #c5dfff20;border-radius:50px;background:#bed9ff08}
.hub-art{position:relative;height:255px;display:grid;place-items:center;isolation:isolate}
.hub-art::before{content:'';position:absolute;inset:8% 6%;border-radius:50%;background:radial-gradient(ellipse,#5785f333,transparent 65%);filter:blur(20px);z-index:-2}
.hub-art-orbit{position:absolute;inset:22px -3%;border:1px solid #d6eaff27;border-radius:50%;transform:rotate(-24deg);background:linear-gradient(135deg,#a2c9ff0e,#c4b4fb02);box-shadow:inset 0 1px 2px #fff1}
.hub-art-orbit::after{content:'';position:absolute;inset:21px -16px;border:1px solid #c4d9ff14;border-radius:50%;transform:rotate(42deg)}
.hub-art-core{display:grid;place-items:center;position:relative;width:122px;height:122px;border-radius:38px;background:linear-gradient(145deg,#35517a99,#1a2844b3);border:1px solid #d6e8ff38;box-shadow:0 24px 50px #0005,inset 0 1px 2px #fff2;backdrop-filter:blur(15px);transform:rotate(-7deg)}
.hub-art-core>svg{width:56px;height:56px;color:#bdd7ff}
.hub-art-indicators .hub-art-core{background:linear-gradient(145deg,#214c6299,#172b40b3)}
.hub-art-indicators .hub-art-core>svg{color:#9bdee2}
.hub-art-courses .hub-art-core{background:linear-gradient(145deg,#55477799,#292740b3)}
.hub-art-courses .hub-art-core>svg{color:#d3c2ff}
.hub-art-label{position:absolute;bottom:7px;font:600 7px/1.6 var(--latin);letter-spacing:.21em;color:#93a9ca;text-align:center}
.hub-art-wave{position:absolute;inset:38px -9%;width:118%;height:160px;z-index:-1;overflow:visible;stroke:#90baff4d;stroke-width:1;filter:drop-shadow(0 4px 8px #8eb7ff33)}
.hub-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);padding-bottom:20px}
.hub-tabs a{padding:8px 22px;color:#9aacc9;font-size:13px;border-radius:40px;border:1px solid transparent;transition:background .2s,color .2s}
.hub-tabs a:hover{background:#b1d2ff0c;color:#e0edff}
.hub-tabs a[aria-current=page]{background:linear-gradient(135deg,#a8cbff17,#97baff09);color:#c6ddff;border-color:#b9d5ff27;box-shadow:inset 0 1px 1px #fff1}
.hub-library{padding-block:46px 30px}
.hub-library-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:26px}
.hub-kicker{font:600 8px/1.8 var(--latin);letter-spacing:.18em;color:#8a9dbb;margin-bottom:8px}
.hub-library-heading h2{font-size:clamp(24px,3vw,33px);font-weight:500;line-height:1.5;letter-spacing:-.025em}
.hub-count{font-size:10px;color:#9fb6d8;white-space:nowrap}
.hub-empty{min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:44px 30px;border:1px solid #c8dfff20;border-radius:34px;background:radial-gradient(ellipse at 50% 0,#8fb7ff0d,transparent 55%),linear-gradient(145deg,#1c2b4482,#15213863);box-shadow:inset 0 1px 1px #fff1,0 12px 45px #0001}
.hub-empty-icon{width:52px;height:52px;display:grid;place-items:center;color:#8fb3e2;border:1px solid #b1d3ff27;border-radius:17px;background:#bdd6ff08;margin-bottom:17px}
.hub-empty-icon svg{height:25px;width:25px}
.hub-empty h3{font-size:21px;line-height:1.8;font-weight:500}
.hub-empty p{max-width:510px;font-size:13px;line-height:2;color:#a0b2ce;margin-top:7px}
.hub-empty .btn{margin-top:23px;font-size:11px;min-height:42px;padding:9px 20px}
.hub-arrow{width:17px;height:17px;flex:none}
.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.hub-card{min-width:0;overflow:hidden;border:1px solid #c9deff23;border-radius:30px;background:linear-gradient(135deg,#20314dc2,#142139b3);box-shadow:inset 0 1px 1px #fff1,0 12px 35px #0002}
.hub-card-visual{position:relative;min-height:200px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 65% 10%,#72afff1a,transparent 65%),linear-gradient(145deg,#183255,#19233c);border-bottom:1px solid #c2dfff16}
.hub-card-visual::before{content:'';position:absolute;inset:10% -8%;border:1px solid #afd5ff18;border-radius:50%;transform:rotate(-17deg)}
.hub-card-visual::after{content:'';position:absolute;width:58%;height:120%;border:1px solid #bcd4ff0d;border-radius:50%;transform:rotate(47deg);pointer-events:none}
.hub-card-symbol{width:65px;height:65px;display:grid;place-items:center;z-index:1;background:linear-gradient(145deg,#a4ceff1a,#b0caff08);border:1px solid #cae0ff30;border-radius:22px;box-shadow:0 12px 30px #0002;color:#bddcff}
.hub-card-symbol svg{width:30px;height:30px}
.hub-card-visual-label{position:absolute;bottom:18px;inset-inline-start:24px;font:600 8px var(--latin);letter-spacing:.18em;color:#a3bce0}
.hub-video-button{position:absolute;inset:0;z-index:2;width:100%;border:0;background:transparent;color:inherit;display:grid;place-items:center}
.hub-video-button .hub-card-symbol{transition:background .2s,transform .2s}
.hub-video-button:hover .hub-card-symbol{background:#a3c9ff27;transform:scale(1.07)}
.hub-card-copy{padding:26px}
.hub-card-meta{display:block;font-size:10px;color:#98b2d8;margin-bottom:10px}
.hub-card h3{font-size:25px;font-weight:500;line-height:1.7;margin:0}
.hub-card-copy p{font-size:13px;line-height:2;color:#a7b9d4;margin-top:8px}
.hub-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}
.hub-card-actions>.btn{font-size:11px;padding:9px 18px;min-height:44px;gap:12px}
.hub-card-course{display:grid;grid-template-columns:220px minmax(0,1fr);grid-column:1/-1}
.hub-card-course .hub-card-visual{min-height:270px;border-bottom:0;border-inline-end:1px solid #c2dfff16;background:radial-gradient(ellipse at 70% 5%,#b99cfb24,transparent 65%),linear-gradient(145deg,#292a50,#18243e)}
.hub-card-course .hub-card-copy{padding:35px}
.hub-card-course h3{font-size:31px}
.hub-card-course .hub-card-copy p{max-width:630px}
.hub-card-course .hub-card-symbol{color:#d0c4f3}
.hub-note{display:flex;gap:22px;align-items:center;margin-block:24px 65px;padding-block:22px}
.hub-note-line{height:1px;width:45px;background:linear-gradient(90deg,#b7d3ff00,#b7d3ff66)}
.hub-note p{font-size:15px;color:#9fb0cc}
.hub-note .plain-link{margin-inline-start:auto;display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap}
.hub-noscript{color:#a7b9d4;text-align:center;margin:20px;font-size:13px}
.hub-noscript a{text-decoration:underline}
.hub-player{width:min(1000px,calc(100% - 32px));max-width:none;padding:0;background:#101b2e;color:#edf2fc;border:1px solid #cee3ff30;border-radius:24px;box-shadow:0 30px 100px #0009;overflow:hidden}
.hub-player::backdrop{background:#020612bd;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.hub-player-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;border-bottom:1px solid #d0e4ff20}
.hub-player-head h2{font-size:16px;font-weight:500;line-height:1.7}
.hub-player-head button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #d1e5ff2b;border-radius:50%;background:#c5ddff0a;flex:none}
.hub-player-head button:hover{background:#c5ddff20}
.hub-player-head button svg{width:20px;height:20px}
.hub-player-body{aspect-ratio:16/9;background:#050a14}
.hub-player-body iframe{width:100%;height:100%;display:block;border:0}
.hub-page:has(.hub-player[open]){overflow:hidden}
@media(max-width:1000px){.hub-hero{gap:30px;grid-template-columns:minmax(0,1.25fr) minmax(190px,.75fr)}.hub-hero h1{font-size:clamp(38px,5.4vw,62px)}.hub-art{height:220px}.hub-art-core{width:100px;height:100px;border-radius:31px}.hub-art-core>svg{width:48px;height:48px}.hub-lead{font-size:15px}}
@media(max-width:700px){.hub-hero{display:block;position:relative;padding-block:137px 34px}.hub-hero-copy{position:relative;z-index:2}.hub-hero .eyebrow{font-size:10px}.hub-hero h1{font-size:clamp(31px,8.5vw,48px);margin-top:12px;line-height:1.6}.hub-lead{font-size:13px;max-width:510px}.hub-hero-tag{font-size:9px;margin-top:19px;padding-inline:12px}.hub-art{display:none}.hub-tabs{gap:4px;padding-bottom:16px}.hub-tabs a{font-size:11px;padding:8px 14px}.hub-library{padding-block:30px 15px}.hub-library-heading{margin-bottom:20px;gap:10px}.hub-library-heading h2{font-size:24px}.hub-kicker{font-size:6px;letter-spacing:.14em}.hub-count{font-size:9px}.hub-empty{min-height:290px;padding:32px 22px;border-radius:27px}.hub-empty h3{font-size:19px}.hub-empty p{font-size:12px}.hub-grid{grid-template-columns:1fr;gap:20px}.hub-card{border-radius:27px}.hub-card-visual{min-height:185px}.hub-card-copy{padding:23px}.hub-card h3{font-size:24px}.hub-card-copy p{font-size:12px}.hub-card-course{grid-template-columns:1fr}.hub-card-course .hub-card-visual{min-height:180px;border-inline-end:0;border-bottom:1px solid #c2dfff16}.hub-card-course .hub-card-copy{padding:25px}.hub-card-course h3{font-size:27px}.hub-card-actions>.btn{font-size:11px}.hub-note{gap:12px;flex-wrap:wrap;margin-block:10px 35px}.hub-note-line{width:26px}.hub-note p{font-size:13px}.hub-note .plain-link{margin-inline-start:38px;flex-basis:100%;font-size:10px}.hub-player{width:calc(100% - 20px);border-radius:17px}.hub-player-head{padding:10px 12px}.hub-player-head h2{font-size:13px}.hub-player-head button{width:33px;height:33px}}
@media(prefers-reduced-motion:reduce){.hub-tabs a,.hub-video-button .hub-card-symbol{transition:none}}

/* Course posters retain the complete original artwork. */
.hub-card-course-image{grid-template-columns:300px minmax(0,1fr)}
.hub-card-course-image .hub-card-visual{display:block;min-height:0;background:#07162a}
.hub-card-course-image .hub-card-visual::before,.hub-card-course-image .hub-card-visual::after{display:none}
.hub-course-poster{display:block;width:100%;aspect-ratio:1231/1277;line-height:0}
.hub-course-image{display:block;width:100%;height:100%;object-fit:contain}
.hub-course-poster:focus-visible{outline:2px solid #afd8ff;outline-offset:-4px}
.hub-card-course-image .hub-card-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:32px}
@media(max-width:700px){.hub-card-course-image{grid-template-columns:1fr}.hub-card-course-image .hub-card-visual{min-height:0}.hub-card-course-image .hub-card-copy{padding:25px}}

/* Event previews stay lightweight: thumbnails first, one player only on request. */
.hub-page[data-library=events] .hub-hero{padding-block:145px 32px;gap:35px}
.hub-page[data-library=events] .hub-art{height:180px}
.hub-page[data-library=events] .hub-art-core{width:96px;height:96px;border-radius:30px}
.hub-page[data-library=events] .hub-art-core>svg{width:46px;height:46px}
.hub-page[data-library=events] .hub-art-wave{height:125px;inset-block-start:24px}
.hub-page[data-library=events] .hub-hero-tag{margin-top:17px}
.hub-card-event-thumbnail .hub-card-visual{min-height:0;aspect-ratio:16/9;background:#07162a}
.hub-card-event-thumbnail .hub-card-visual::before,.hub-card-event-thumbnail .hub-card-visual::after{display:none}
.hub-event-thumbnail{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.hub-event-poster::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#020a1800 35%,#020a183b);pointer-events:none}
.hub-event-poster .hub-card-symbol{width:58px;height:58px;border-radius:50%;background:#0a234bc9;border-color:#e5efff8c;box-shadow:0 7px 28px #0005;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.hub-event-poster .hub-card-symbol svg{width:24px;height:24px;margin-inline-start:3px}
.hub-event-poster:focus-visible{outline:3px solid #c3e1ff;outline-offset:-6px}
.hub-card-event .hub-card-copy{padding:21px 23px 23px}
.hub-card-event h3{font-size:22px;line-height:1.65}
.hub-event-category{display:inline-flex;align-items:center;min-height:25px;margin-bottom:8px;padding:2px 10px;border:1px solid #b5d4ff24;border-radius:30px;background:#bdd6ff08;font-size:10px;color:#aac5ec}
.hub-card-event .hub-card-actions{margin-top:16px}
.hub-card-event .hub-card-actions>.btn{min-height:42px;padding:8px 17px}
@media(max-width:700px){.hub-page[data-library=events] .hub-hero{padding-block:133px 27px}.hub-card-event .hub-card-copy{padding:19px 21px 21px}.hub-card-event h3{font-size:21px}.hub-event-poster .hub-card-symbol{width:54px;height:54px}}


/* Category rows use page scrolling vertically and lightweight preview scrolling horizontally. */
.hub-grid.hub-event-categories{display:block}
.hub-event-jumps{display:flex;gap:7px;flex-wrap:wrap;position:sticky;top:calc(110px + var(--tby-app-safe-top,0px));z-index:25;margin-bottom:25px;padding:10px;border:1px solid #c7ddff25;border-radius:23px;background:#14233bea;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 10px 25px #0002}
.hub-event-jumps a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 18px;border-radius:30px;color:#b9d1f2;font-size:12px;border:1px solid transparent;white-space:nowrap}
.hub-event-jumps a:hover{background:#bad7ff10;border-color:#c6dfff22;color:#edf5ff}
.hub-event-jumps a:focus-visible,.hub-event-row:focus-visible{outline:2px solid #afd7ff;outline-offset:4px}
.hub-event-group{margin-block:0 35px;scroll-margin-top:90px;min-width:0}
.hub-event-group-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:16px}
.hub-event-group-heading h3{font-size:25px;font-weight:500;color:#e3edfc;line-height:1.6}
.hub-event-group-count{font-size:11px;color:#93adcf;white-space:nowrap}
.hub-event-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px) / 3);gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:2px;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#3d5b84 transparent;padding:1px 1px 14px;min-width:0}
.hub-event-row>.hub-card{scroll-snap-align:start;min-width:0}
.hub-event-row .hub-card-event{display:flex;flex-direction:column}
.hub-event-row .hub-card-visual{flex:none}
.hub-event-row .hub-card-copy{flex:1;display:flex;flex-direction:column;padding:18px}
.hub-event-row .hub-card-event h3{font-size:20px;line-height:1.65}
.hub-event-row .hub-card-actions{margin-top:auto;padding-top:16px}
.hub-event-empty{padding:22px 24px;border:1px dashed #a8caff26;border-radius:22px;color:#93abcb;background:#accaff04;font-size:13px;line-height:1.8}

/* Indicator files are downloadable as supplied; players exist only after an explicit click. */
.hub-card-indicator{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.hub-card-indicator .hub-card-visual{min-height:260px;border-bottom:0;border-inline-end:1px solid #c2dfff16;background:radial-gradient(ellipse at 50% 25%,#8fc1ff12,transparent 65%),linear-gradient(145deg,#18324a,#152038)}
.hub-card-indicator.hub-card-event-thumbnail .hub-card-visual{aspect-ratio:auto}
.hub-card-indicator .hub-card-copy{padding:30px;min-width:0}
.hub-card-indicator h3{font-size:27px;line-height:1.65;overflow-wrap:anywhere}
.hub-platforms{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.hub-platform-badge{display:inline-flex;align-items:center;gap:6px;min-height:31px;padding:4px 9px;border:1px solid #bddaff30;border-radius:11px;background:#9dc7ff0a;color:#b9d9ff;font:600 11px/1.5 var(--latin)}
.hub-platform-badge svg{width:17px;height:17px;color:#8ac5fa}
.hub-free-badge{font-size:10px;padding:4px 9px;color:#a6dbd1;border:1px solid #a3dbcf25;border-radius:30px;background:#88cdb709}
.hub-download-choice{display:flex;flex-direction:column;gap:5px;align-items:flex-start}
.hub-download-size{display:block;padding-inline:5px;font-size:10px;color:#90a8c7;direction:ltr}
.hub-installation{margin-top:18px;border:1px solid #b8d8ff20;border-radius:16px;background:#9cc4ff05;padding:11px 15px}
.hub-installation summary{font-size:12px;color:#aac9f2;cursor:pointer}
.hub-installation ol{padding-inline-start:20px;margin-top:12px;color:#9eb3cf;font-size:12px;line-height:1.9}
.hub-installation li+li{margin-top:7px}
.hub-native-video{display:block;width:100%;height:100%;border:0;background:#050a14;object-fit:contain}
@media(max-width:1000px){.hub-event-row{grid-auto-columns:calc((100% - 18px) / 2)}}
@media(max-width:700px){.hub-event-jumps{top:calc(90px + var(--tby-app-safe-top,0px));gap:5px;padding:7px;border-radius:19px}.hub-event-jumps a{min-height:36px;padding:7px 12px;font-size:11px}.hub-event-group{margin-bottom:28px;scroll-margin-top:85px}.hub-event-group-heading h3{font-size:22px}.hub-event-group-count{font-size:10px}.hub-event-row{grid-auto-columns:86%;gap:14px}.hub-event-row .hub-card-copy{padding:18px}.hub-event-row .hub-card-event h3{font-size:20px}.hub-event-empty{padding:19px 20px;font-size:12px}.hub-card-indicator{grid-template-columns:1fr}.hub-card-indicator .hub-card-visual{min-height:0;height:auto;aspect-ratio:16/9;border-inline-end:0;border-bottom:1px solid #c2dfff16}.hub-card-indicator.hub-card-event-thumbnail .hub-card-visual{aspect-ratio:16/9}.hub-card-indicator .hub-card-copy{padding:24px}.hub-card-indicator h3{font-size:24px}.hub-card-indicator .hub-card-actions{gap:13px 9px}}
@media(prefers-reduced-motion:reduce){.hub-event-row{scroll-behavior:auto}}

/* Owner installation steps: a native, keyboard-accessible disclosure button. */
.hub-card-indicator{scroll-margin-top:125px}
.hub-installation{padding:0!important;border:0!important;background:none!important;margin:15px 0 0}
.hub-installation>summary{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:10px 17px;border:1px solid #c9dfff3b;border-radius:16px;background:linear-gradient(135deg,#b2ceff14,#b2ceff05);color:#c5dcfa;font-size:12px;line-height:1.7;cursor:pointer;list-style:none}
.hub-installation>summary::-webkit-details-marker{display:none}
.hub-installation>summary::after{content:'+';font-size:20px;line-height:1}
.hub-installation[open]>summary::after{content:'−'}
.hub-installation>summary:focus-visible{outline:2px solid #a8d6ff;outline-offset:4px}
.hub-installation>ol{padding-inline-start:23px;margin:15px 0;color:var(--muted,#a8b5cd);font-size:12px;line-height:2}
.hub-installation>ol li+li{margin-top:7px}

/* Keep indicator actions the same size; file metadata must not stretch the play button. */
.hub-card-indicator .hub-card-actions{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));align-items:start}
.hub-card-indicator .hub-download-choice{min-width:0;align-items:stretch}
.hub-card-indicator .hub-card-actions>.btn,.hub-card-indicator .hub-download-choice>.btn{width:100%;height:48px;min-height:48px;padding:9px 12px;border-radius:50px;font-size:11px;line-height:1.6;gap:8px;white-space:nowrap}
