/* Hubpile Course Front v3.3.0 - Course + Creator Ratings */
:root{--hpf-bg:#f4f7f6;--hpf-surface:#fff;--hpf-ink:#0b1820;--hpf-muted:#63717b;--hpf-line:#dfe8e4;--hpf-green:#07965f;--hpf-green2:#00ad72;--hpf-mint:#72f2bd;--hpf-dark:#071711;--hpf-dark2:#0d261d;--hpf-blue:#175cd3;--hpf-gold:#b7791f;--hpf-danger:#b42318;--hpf-shadow:0 22px 60px rgba(7,38,29,.10);--hpf-soft-shadow:0 12px 32px rgba(10,38,30,.07);--hpf-radius:26px;--hpf-max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body.hpf-body{margin:0;background:var(--hpf-bg);color:var(--hpf-ink);font-family:Inter,Arial,sans-serif;line-height:1.6}.hpf-wrap{width:min(var(--hpf-max),calc(100% - 32px));margin:auto}.hpf-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 18px;border-radius:14px;border:1px solid transparent;font-weight:850;font-size:14px;text-decoration:none;cursor:pointer;transition:.18s ease}.hpf-btn:hover{transform:translateY(-1px)}.hpf-btn.primary{background:linear-gradient(135deg,var(--hpf-green),var(--hpf-green2));color:#fff;box-shadow:0 10px 24px rgba(0,173,114,.18)}.hpf-btn.light{background:#fff;color:var(--hpf-ink);border-color:var(--hpf-line)}.hpf-btn.dark{background:#0e241c;color:#fff}.hpf-btn.ghost{background:transparent;color:inherit;border-color:rgba(255,255,255,.2)}.hpf-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#eefcf5;color:#067647;font-size:11px;font-weight:900}.hpf-badge.dark{background:rgba(255,255,255,.11);color:#fff}.hpf-badge.gold{background:#fff6dc;color:#8d5f00}.hpf-badge.blue{background:#eff8ff;color:#175cd3}.hpf-badge.gray{background:#f2f4f7;color:#475467}.hpf-section{padding:68px 0}.hpf-section.soft{background:#edf3f0}.hpf-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}.hpf-eyebrow{font-size:12px;letter-spacing:.13em;text-transform:uppercase;font-weight:900;color:var(--hpf-green)}.hpf-title{margin:6px 0 8px;font-size:clamp(31px,4vw,52px);line-height:1.04;letter-spacing:-.035em}.hpf-lead{margin:0;color:var(--hpf-muted);max-width:760px;font-size:16px}.hpf-muted{color:var(--hpf-muted)}.hpf-card{background:#fff;border:1px solid rgba(11,24,32,.07);border-radius:var(--hpf-radius);box-shadow:var(--hpf-soft-shadow)}
/* Marketplace */
.hpf-market-hero{padding:72px 0 52px;background:radial-gradient(circle at 86% 10%,rgba(114,242,189,.20),transparent 25%),radial-gradient(circle at 15% 0%,rgba(0,173,114,.14),transparent 24%),linear-gradient(135deg,var(--hpf-dark),#0a2119 65%,#123326);color:#fff;overflow:hidden}.hpf-market-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:34px;align-items:center}.hpf-market-hero h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-.05em;margin:14px 0 18px;max-width:12ch}.hpf-market-hero p{font-size:18px;color:rgba(255,255,255,.78);max-width:690px}.hpf-searchbar{display:grid;grid-template-columns:1fr auto;margin-top:25px;max-width:700px;background:#fff;padding:6px;border-radius:18px}.hpf-searchbar input{border:0;outline:0;padding:13px 14px;font:inherit;min-width:0}.hpf-searchbar button{border:0;background:var(--hpf-green);color:#fff;border-radius:13px;padding:0 20px;font-weight:900}.hpf-hero-panel{padding:24px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:30px;backdrop-filter:blur(16px)}.hpf-hero-statgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.hpf-hero-stat{padding:19px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:19px}.hpf-hero-stat strong{display:block;font-size:27px}.hpf-hero-stat span{font-size:12px;color:rgba(255,255,255,.68)}.hpf-creator-hero{display:grid;grid-template-columns:84px 1fr;gap:18px;align-items:center}.hpf-avatar{width:84px;height:84px;border-radius:24px;background:linear-gradient(135deg,#d1fae5,#a7f3d0);display:grid;place-items:center;color:#066b46;font-size:32px;font-weight:950;border:1px solid rgba(255,255,255,.2)}.hpf-creator-hero h2{margin:0;font-size:30px}.hpf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.hpf-tabs a{color:#fff;text-decoration:none;padding:9px 13px;border:1px solid rgba(255,255,255,.14);border-radius:999px;font-size:12px;font-weight:850}.hpf-tabs a.active{background:#fff;color:var(--hpf-dark)}.hpf-topic-strip{display:flex;gap:10px;overflow:auto;padding:15px 0 4px;scrollbar-width:none}.hpf-topic-strip::-webkit-scrollbar{display:none}.hpf-topic-strip a{white-space:nowrap;text-decoration:none;color:#344054;padding:10px 14px;background:#fff;border:1px solid var(--hpf-line);border-radius:999px;font-size:12px;font-weight:850}.hpf-filterbar{padding:18px;display:grid;grid-template-columns:2fr repeat(4,1fr) auto;gap:10px;align-items:end}.hpf-field label{display:block;font-size:11px;font-weight:900;color:#667085;margin:0 0 6px;text-transform:uppercase;letter-spacing:.06em}.hpf-input{width:100%;height:46px;border:1px solid var(--hpf-line);border-radius:12px;padding:0 12px;background:#fff;font:inherit;color:var(--hpf-ink);outline:none}.hpf-input:focus{border-color:#7dd3b0;box-shadow:0 0 0 3px rgba(7,150,95,.08)}.hpf-course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hpf-course-card{overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:.18s ease}.hpf-course-card:hover{transform:translateY(-4px);box-shadow:var(--hpf-shadow)}.hpf-course-media{display:block;position:relative;aspect-ratio:16/9;background:#dfe9e4;overflow:hidden}.hpf-course-media img{width:100%;height:100%;object-fit:cover;transition:.3s ease}.hpf-course-card:hover img{transform:scale(1.025)}.hpf-course-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(4,16,12,.62));pointer-events:none}.hpf-course-badges{position:absolute;left:12px;top:12px;display:flex;gap:7px;flex-wrap:wrap}.hpf-preview-play{position:absolute;right:12px;bottom:12px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0b1820;font-weight:950;box-shadow:0 8px 24px rgba(0,0,0,.18)}.hpf-course-body{padding:19px;display:flex;flex-direction:column;flex:1}.hpf-course-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;color:#667085;font-weight:800}.hpf-course-card h3{font-size:20px;line-height:1.18;letter-spacing:-.02em;margin:10px 0 8px}.hpf-course-card h3 a{text-decoration:none;color:var(--hpf-ink)}.hpf-course-desc{color:#667085;font-size:13px;margin:0 0 12px}.hpf-instructor-link{font-size:12px;font-weight:850;color:#475467;text-decoration:none}.hpf-course-foot{margin-top:auto;padding-top:15px;border-top:1px solid #edf0ef;display:flex;justify-content:space-between;align-items:end;gap:12px}.hpf-price{font-size:21px;font-weight:950}.hpf-old{font-size:11px;text-decoration:line-through;color:#98a2b3;margin-left:6px}.hpf-rating{font-size:12px;color:#667085;text-align:right}.hpf-card-progress{margin-top:11px}.hpf-progress-track{height:7px;border-radius:99px;background:#e9efec;overflow:hidden}.hpf-progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--hpf-green),#36d399);border-radius:99px}.hpf-progress-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#667085;margin-top:6px;font-weight:800}.hpf-creators{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.hpf-creator-card{padding:18px;text-decoration:none;color:inherit;display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center}.hpf-creator-card .hpf-avatar{width:54px;height:54px;border-radius:16px;font-size:20px}.hpf-creator-card strong{display:block}.hpf-creator-card span{font-size:12px;color:#667085}.hpf-pagination{display:flex;justify-content:center;gap:8px;margin-top:28px}.hpf-pagination a,.hpf-pagination span{min-width:40px;height:40px;padding:0 12px;display:grid;place-items:center;border:1px solid var(--hpf-line);border-radius:11px;background:#fff;text-decoration:none;color:#344054;font-weight:850}.hpf-pagination .current{background:var(--hpf-green);color:#fff;border-color:var(--hpf-green)}
/* Course storefront */
.hpf-course-hero{background:linear-gradient(135deg,#071711,#0d2b20);color:#fff;padding:42px 0 54px}.hpf-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:rgba(255,255,255,.65);margin-bottom:20px}.hpf-breadcrumbs a{color:inherit;text-decoration:none}.hpf-store-grid{display:grid;grid-template-columns:minmax(0,1.1fr) 390px;gap:34px;align-items:start}.hpf-store-main h1{font-size:clamp(38px,5vw,62px);line-height:1.02;letter-spacing:-.045em;margin:14px 0 16px}.hpf-store-sub{font-size:18px;color:rgba(255,255,255,.82);max-width:760px}.hpf-store-meta{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.hpf-store-meta span{padding:8px 11px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:999px;font-size:12px;font-weight:800}.hpf-store-author{font-size:13px;color:rgba(255,255,255,.75)}.hpf-store-author a{color:#fff;font-weight:900}.hpf-buybox{overflow:hidden;background:#fff;color:var(--hpf-ink);border-radius:26px;box-shadow:0 24px 70px rgba(0,0,0,.22);position:sticky;top:20px}.hpf-buymedia{aspect-ratio:16/9;background:#0b1820;position:relative;overflow:hidden;cursor:pointer}.hpf-buymedia img{width:100%;height:100%;object-fit:cover}.hpf-buymedia:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.58))}.hpf-buyplay{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#fff;color:#0b1820;font-size:20px;font-weight:950}.hpf-buycaption{position:absolute;z-index:2;left:0;right:0;bottom:14px;text-align:center;color:#fff;font-size:12px;font-weight:900}.hpf-buybody{padding:22px}.hpf-buyprice{font-size:32px;font-weight:950;letter-spacing:-.03em}.hpf-buyold{text-decoration:line-through;color:#98a2b3;font-size:13px;margin-left:8px}.hpf-buylist{list-style:none;padding:14px 0 0;margin:16px 0 0;border-top:1px solid var(--hpf-line);display:grid;gap:9px}.hpf-buylist li{font-size:13px;color:#475467;display:flex;gap:9px}.hpf-store-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;margin-top:28px}.hpf-store-section{padding:27px;margin-bottom:19px}.hpf-store-section h2{font-size:27px;margin:0 0 16px;letter-spacing:-.025em}.hpf-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:11px}.hpf-outcome{padding:13px;border:1px solid var(--hpf-line);border-radius:14px;background:#fbfdfc;font-size:13px;display:flex;gap:9px}.hpf-curr-summary{display:flex;gap:10px;flex-wrap:wrap;color:#667085;font-size:12px;margin-bottom:14px}.hpf-module{border:1px solid var(--hpf-line);border-radius:16px;overflow:hidden;margin-bottom:10px}.hpf-module summary{list-style:none;cursor:pointer;padding:14px 16px;background:#f8fbf9;display:flex;justify-content:space-between;gap:15px;font-weight:900}.hpf-module summary::-webkit-details-marker{display:none}.hpf-module-lessons{border-top:1px solid var(--hpf-line)}.hpf-curr-lesson{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 15px;border-top:1px solid #f0f3f2;text-decoration:none;color:#344054;font-size:13px}.hpf-curr-lesson:first-child{border-top:0}.hpf-curr-icon{width:22px;height:22px;border-radius:7px;background:#edf8f2;display:grid;place-items:center;font-size:11px;font-weight:950;color:#067647}.hpf-curr-lesson strong{display:block}.hpf-curr-sub{font-size:11px;color:#98a2b3}.hpf-lock{font-size:11px;color:#667085;font-weight:850;white-space:nowrap}.hpf-lock.preview{color:#175cd3}.hpf-lock.done{color:#067647}.hpf-sidecard{padding:20px;margin-bottom:16px}.hpf-sidecard h3{margin:0 0 12px;font-size:17px}.hpf-sidecard ul{padding-left:18px;color:#667085;font-size:13px}.hpf-review{padding:16px 0;border-top:1px solid var(--hpf-line)}.hpf-review:first-child{border-top:0}.hpf-stars{color:#d99a00;letter-spacing:1px}.hpf-modal{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}.hpf-modal.open{display:flex}.hpf-modal-dialog{width:min(980px,100%);background:#07120f;border-radius:24px;overflow:hidden;color:#fff;box-shadow:0 35px 100px rgba(0,0,0,.5)}.hpf-modal-head{height:58px;display:flex;justify-content:space-between;align-items:center;padding:0 18px}.hpf-modal-close{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff}.hpf-modal-body{aspect-ratio:16/9;background:#000;display:grid;place-items:center}.hpf-modal-fallback{padding:40px;text-align:center}
/* Learner */
body.hpf-learn-body{margin:0;background:#f5f7f6;color:var(--hpf-ink);font-family:Inter,Arial,sans-serif}.hpf-learn-top{height:64px;background:#091b15;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;position:sticky;top:0;z-index:80}.hpf-learn-brand{font-weight:950;text-decoration:none;color:#fff}.hpf-learn-course{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c8d5d0;font-size:13px}.hpf-top-progress{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:850}.hpf-top-progress .hpf-progress-track{width:130px;background:#2a4439}.hpf-learn-layout{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:calc(100vh - 64px)}.hpf-learn-side{background:#fff;border-right:1px solid var(--hpf-line);height:calc(100vh - 64px);position:sticky;top:64px;overflow:auto}.hpf-side-intro{padding:18px;border-bottom:1px solid var(--hpf-line)}.hpf-side-intro strong{display:block}.hpf-side-intro span{font-size:12px;color:#667085}.hpf-learn-module{border-bottom:1px solid var(--hpf-line)}.hpf-learn-module h3{margin:0;padding:12px 15px;background:#f8faf9;font-size:12px;letter-spacing:.02em}.hpf-learn-link{display:grid;grid-template-columns:24px 1fr auto;gap:9px;align-items:start;padding:11px 14px;border-top:1px solid #f1f3f2;text-decoration:none;color:#344054;font-size:12px}.hpf-learn-link:hover{background:#f7faf8}.hpf-learn-link.active{background:#ecfdf3;color:#067647}.hpf-learn-link.locked{opacity:.63;cursor:not-allowed}.hpf-learn-link .meta{font-size:10px;color:#98a2b3}.hpf-learn-main{min-width:0;padding:24px}.hpf-lesson-shell{max-width:1100px;margin:auto}.hpf-lesson-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:16px}.hpf-lesson-head h1{font-size:clamp(28px,4vw,44px);line-height:1.06;letter-spacing:-.035em;margin:5px 0 8px}.hpf-lesson-type{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--hpf-green);font-weight:950}.hpf-media-card{background:#07120f;border-radius:22px;overflow:hidden;box-shadow:var(--hpf-shadow);position:relative}.hpf-video-stage{aspect-ratio:16/9;background:#000}.hpf-native-video{width:100%;height:100%;display:block;background:#000}.hpf-protected-media{-webkit-user-select:none;user-select:none}.hpf-audio-card{background:linear-gradient(135deg,#0b221a,#154936);padding:30px;color:#fff;border-radius:22px}.hpf-audio-art{width:84px;height:84px;border-radius:22px;background:linear-gradient(135deg,#62eeb7,#00ad72);display:grid;place-items:center;color:#063c2a;font-size:31px;margin-bottom:20px}.hpf-audio-controls{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center}.hpf-audio-play{width:52px;height:52px;border:0;border-radius:50%;background:#fff;color:#092116;font-size:18px}.hpf-audio-seek,.hpf-yt-seek{width:100%}.hpf-audio-time{font-size:11px;color:#d7e4df}.hpf-article{padding:34px 42px;background:#fff;border:1px solid var(--hpf-line);border-radius:22px;box-shadow:var(--hpf-soft-shadow);font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.82}.hpf-article h2,.hpf-article h3{font-family:Inter,Arial,sans-serif;line-height:1.2}.hpf-article p{max-width:760px}.hpf-pdf{background:#222;border-radius:22px;overflow:hidden}.hpf-pdf-toolbar{display:flex;gap:8px;align-items:center;justify-content:center;padding:10px;background:#0d1c17;color:#fff}.hpf-pdf-toolbar button{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:9px;padding:7px 10px}.hpf-pdf-stage{height:min(72vh,820px);overflow:auto;background:#d8ddda;padding:20px;text-align:center}.hpf-pdf-stage canvas{max-width:100%;height:auto!important;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.18)}.hpf-pdf-fallback{width:100%;height:min(72vh,820px);border:0;background:#fff}.hpf-lock-panel{padding:48px 28px;text-align:center;background:#fff;border:1px solid var(--hpf-line);border-radius:24px}.hpf-lock-panel .lockicon{width:64px;height:64px;margin:0 auto 16px;border-radius:20px;background:#fff4e5;color:#b54708;display:grid;place-items:center;font-size:28px}.hpf-lesson-content{margin-top:22px}.hpf-lesson-copy{background:#fff;border:1px solid var(--hpf-line);border-radius:20px;padding:24px}.hpf-lesson-copy p:first-child{margin-top:0}.hpf-resource-list{display:grid;gap:10px}.hpf-resource{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border:1px solid var(--hpf-line);border-radius:14px;background:#fff}.hpf-resource strong{display:block;font-size:13px}.hpf-resource span{font-size:11px;color:#98a2b3}.hpf-lesson-nav{display:flex;justify-content:space-between;gap:10px;margin:24px 0}.hpf-complete-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.hpf-complete-note{font-size:12px;color:#667085}.hpf-quiz,.hpf-assignment{padding:24px;background:#fff;border:1px solid var(--hpf-line);border-radius:20px}.hpf-question{padding:16px 0;border-top:1px solid var(--hpf-line)}.hpf-question:first-child{border-top:0}.hpf-question label{display:block;padding:7px 0;font-size:13px}.hpf-question input[type=text],.hpf-assignment textarea,.hpf-assignment input[type=url],.hpf-assignment input[type=file]{width:100%;padding:12px;border:1px solid var(--hpf-line);border-radius:11px;font:inherit}.hpf-assignment textarea{min-height:140px;resize:vertical}.hpf-transcript{padding:22px;background:#fff;border:1px solid var(--hpf-line);border-radius:18px;margin-top:18px}.hpf-transcript summary{cursor:pointer;font-weight:900}.hpf-session-status{font-size:11px;color:#98a2b3}.hpf-mobile-curriculum{display:none}.hpf-yt{position:relative;aspect-ratio:16/9;background:#000;color:#fff}.hpf-yt-stage,.hpf-yt-mount,.hpf-yt-stage iframe{position:absolute;inset:0;width:100%;height:100%}.hpf-yt-stage iframe{pointer-events:none!important}.hpf-yt-overlay{position:absolute;inset:0;z-index:4;border:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.36));color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:950}.hpf-yt-overlay span{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#111;box-shadow:0 12px 34px rgba(0,0,0,.3)}.hpf-yt-controls{position:absolute;z-index:5;left:0;right:0;bottom:0;display:grid;grid-template-columns:42px 1fr auto auto 42px;gap:9px;align-items:center;padding:11px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82))}.hpf-yt-btn{height:36px;border:0;border-radius:9px;background:rgba(255,255,255,.12);color:#fff}.hpf-yt-time{font-size:10px;white-space:nowrap}.hpf-yt-speed{height:32px;background:#18231f;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:8px}
@media(max-width:1100px){.hpf-market-grid,.hpf-store-grid{grid-template-columns:1fr}.hpf-buybox{position:relative;top:auto;max-width:650px}.hpf-filterbar{grid-template-columns:repeat(3,1fr)}.hpf-course-grid{grid-template-columns:repeat(2,1fr)}.hpf-store-body{grid-template-columns:1fr}.hpf-creators{grid-template-columns:repeat(2,1fr)}}@media(max-width:860px){.hpf-learn-layout{grid-template-columns:1fr}.hpf-learn-side{display:none}.hpf-learn-main{padding:14px}.hpf-mobile-curriculum{display:block;margin-bottom:15px}.hpf-top-progress .hpf-progress-track{width:80px}.hpf-article{padding:24px;font-size:17px}.hpf-outcomes{grid-template-columns:1fr}.hpf-filterbar{grid-template-columns:1fr 1fr}.hpf-store-main h1{font-size:42px}}@media(max-width:640px){.hpf-wrap{width:min(100% - 22px,var(--hpf-max))}.hpf-section{padding:46px 0}.hpf-course-grid,.hpf-creators,.hpf-filterbar{grid-template-columns:1fr}.hpf-market-hero{padding-top:44px}.hpf-market-hero h1{font-size:44px}.hpf-searchbar{grid-template-columns:1fr}.hpf-searchbar button{height:44px}.hpf-head{align-items:start;flex-direction:column}.hpf-learn-top{padding:0 10px}.hpf-learn-course{display:none}.hpf-top-progress{margin-left:auto}.hpf-lesson-head{flex-direction:column}.hpf-article{padding:20px 18px}.hpf-pdf-stage{padding:10px;height:65vh}.hpf-yt-controls{grid-template-columns:40px 1fr auto 40px}.hpf-yt-speed{display:none}.hpf-yt-time{display:none}.hpf-curr-lesson{grid-template-columns:22px 1fr}.hpf-lock{grid-column:2}.hpf-audio-controls{grid-template-columns:48px 1fr}.hpf-audio-time{grid-column:2}.hpf-store-main h1{font-size:36px}}
.hpf-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0 2px}.hpf-card-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--hpf-line);color:#344054;background:#fff;text-decoration:none;font-size:11px;font-weight:900}.hpf-card-link.primary{background:#eefcf5;color:#067647;border-color:#ccebdc}


/* ==========================================================================\n   Course storefront + public creator hub v3.1\n   ========================================================================== */
.hpf-course-v31{background:#f7f8f7}.hpf-course-hero-v31{padding-bottom:58px;background:radial-gradient(circle at 18% 10%,rgba(19,117,84,.20),transparent 30%),linear-gradient(135deg,#071a14 0%,#0a3024 58%,#082119 100%)}
.hpf-badge-row{display:flex;gap:8px;flex-wrap:wrap}.hpf-course-proof{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0 16px;color:#d9e7e1;font-size:12px}.hpf-course-proof>span{padding-right:14px;border-right:1px solid rgba(255,255,255,.18)}.hpf-course-proof>span:last-child{border-right:0}.hpf-proof-rating{display:inline-flex;align-items:center;gap:7px;color:#ffe08a;text-decoration:none}.hpf-proof-rating u{color:#d9e7e1}.hpf-creator-inline{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none;padding:7px 10px 7px 7px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.055)}.hpf-creator-inline img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.55)}.hpf-creator-inline span{display:grid}.hpf-creator-inline small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#93aea3}.hpf-creator-inline strong{font-size:12px}.hpf-creator-inline em{font-size:10px;font-style:normal;color:#abc1b8}.hpf-hero-progress{max-width:540px;margin-top:20px}.hpf-owner-previewbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:10px 13px;border-radius:12px;background:#fff4d8;color:#604710;font-size:11px}.hpf-owner-previewbar strong{font-size:12px}.hpf-owner-previewbar span{flex:1}.hpf-owner-previewbar a{color:#604710;font-weight:900}.hpf-buybox-v31{border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.28)}.hpf-price-line{display:flex;align-items:baseline;gap:9px}.hpf-buy-actions{display:grid;gap:9px;margin-top:15px}.hpf-buy-primary{min-height:50px;font-size:15px}.hpf-owner-state{display:grid;gap:3px;background:#eefbf5;border:1px solid #c9eadb;padding:10px 12px;border-radius:11px;margin-top:12px}.hpf-owner-state strong{font-size:11px;color:#066847}.hpf-owner-state span,.hpf-buy-note{font-size:10px;line-height:1.5;color:#667085}.hpf-buy-note{display:block;margin-top:8px;text-align:center}.hpf-btn-disabled{opacity:.82;cursor:default;pointer-events:none}.hpf-includes-title{font-size:13px;margin:19px 0 8px}.hpf-buylist li{display:grid;grid-template-columns:18px 1fr;gap:7px;align-items:start}.hpf-buylist li span{font-weight:900;color:#087a55}.hpf-course-anchorbar{position:sticky;top:0;z-index:45;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--hpf-line)}.hpf-course-anchorbar .hpf-wrap{display:flex;gap:4px;overflow:auto}.hpf-course-anchorbar a{padding:14px 16px;text-decoration:none;color:#475467;font-size:11px;font-weight:900;white-space:nowrap;border-bottom:2px solid transparent}.hpf-course-anchorbar a:hover{color:#067647;border-color:#0bac77}.hpf-course-includes-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:24px;margin-bottom:24px;background:#dfe7e3;border:1px solid #dfe7e3;border-radius:17px;overflow:hidden}.hpf-course-includes-strip>div{background:#fff;padding:17px 19px}.hpf-course-includes-strip strong{display:block;font-size:18px}.hpf-course-includes-strip span{font-size:10px;color:#667085}.hpf-section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.hpf-text-link{font-size:11px;color:#067647;font-weight:900;text-decoration:underline;text-underline-offset:3px}.hpf-curr-empty{padding:18px;color:#98a2b3;font-size:12px}.hpf-rich-copy{font-size:14px;line-height:1.8}.hpf-rich-copy p{margin:0 0 16px}.hpf-clean-list{padding-left:20px;line-height:1.8}.hpf-instructor-grid{display:grid;grid-template-columns:118px 1fr;gap:22px;align-items:start}.hpf-instructor-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;box-shadow:0 10px 28px rgba(15,23,42,.12);border:4px solid #fff;outline:1px solid #dfe7e3}.hpf-instructor-name{font-size:20px;font-weight:950;color:#087a55;text-decoration:underline;text-underline-offset:3px}.hpf-instructor-headline{margin:4px 0 10px;color:#475467;font-size:12px}.hpf-instructor-stats{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 13px}.hpf-instructor-stats span{font-size:10px;padding:7px 9px;background:#f4f7f6;border-radius:999px;color:#475467}.hpf-instructor-stats strong{color:#101828}.hpf-review-summary{display:grid;text-align:right}.hpf-review-summary strong{font-size:28px;line-height:1}.hpf-review-summary small{font-size:9px;color:#98a2b3}.hpf-creator-side{text-align:center}.hpf-creator-side>img{width:78px;height:78px;border-radius:50%;object-fit:cover;margin:0 auto 12px;border:3px solid #fff;box-shadow:0 6px 20px rgba(15,23,42,.1)}.hpf-more-section{padding:26px 0 68px}.hpf-more-section h2{margin:4px 0 0}.hpf-more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.hpf-more-card{overflow:hidden;text-decoration:none;color:inherit}.hpf-more-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.hpf-more-card>div{padding:16px}.hpf-more-card span{font-size:9px;color:#067647;text-transform:uppercase;font-weight:900}.hpf-more-card h3{margin:7px 0;font-size:16px}.hpf-more-card p{font-size:11px;color:#667085;line-height:1.6}
/* Creator public storefront */
.hpf-creator-page{background:#f6f8f7}.hpf-public-creator-hero{position:relative;padding:86px 0 58px;background:#071a14;overflow:hidden}.hpf-public-creator-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,24,18,.97),rgba(5,24,18,.84),rgba(5,24,18,.63)),var(--hpf-creator-cover) center/cover no-repeat;opacity:1}.hpf-creator-hero-card{position:relative;z-index:1;display:grid;grid-template-columns:170px 1fr;gap:28px;align-items:center;color:#fff}.hpf-creator-avatar-xl{width:160px;height:160px;border-radius:50%;object-fit:cover;border:6px solid rgba(255,255,255,.92);box-shadow:0 18px 55px rgba(0,0,0,.34)}.hpf-creator-identity h1{font-size:clamp(38px,5vw,62px);line-height:.97;letter-spacing:-.045em;margin:4px 0 10px}.hpf-verified{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#0bac77;color:#fff;font-size:13px;vertical-align:middle}.hpf-creator-handle{font-size:12px;color:#b8cbc3}.hpf-creator-identity>p{max-width:780px;font-size:14px;line-height:1.7;color:#dbe8e2}.hpf-creator-meta,.hpf-social-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.hpf-creator-meta span,.hpf-social-links a{padding:7px 10px;border:1px solid rgba(255,255,255,.15);border-radius:999px;color:#dceae4;font-size:10px;text-decoration:none}.hpf-social-links a:hover{background:#fff;color:#073326}.hpf-creator-tabs{position:sticky;top:0;z-index:44;background:#fff;border-bottom:1px solid var(--hpf-line)}.hpf-creator-tabs .hpf-wrap{display:flex;gap:4px;overflow:auto}.hpf-creator-tabs a{padding:14px 13px;color:#475467;text-decoration:none;font-size:11px;font-weight:900;white-space:nowrap}.hpf-creator-tabs a span{margin-left:4px;padding:2px 6px;background:#eef5f1;border-radius:999px;font-size:9px}.hpf-creator-main{padding:30px 0 78px}.hpf-creator-statgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.hpf-creator-statgrid .hpf-card{padding:16px}.hpf-creator-statgrid strong{display:block;font-size:24px}.hpf-creator-statgrid span{font-size:9px;color:#667085}.hpf-creator-section{padding-top:52px}.hpf-creator-section h2{font-size:30px;margin:5px 0 0;letter-spacing:-.03em}.hpf-offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.hpf-offer-card{overflow:hidden;text-decoration:none;color:inherit;transition:.2s}.hpf-offer-card:hover{transform:translateY(-3px);box-shadow:0 18px 45px rgba(10,37,29,.11)}.hpf-offer-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#e8eeeb}.hpf-offer-card>div{padding:17px}.hpf-offer-type{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#087a55;font-weight:950}.hpf-offer-card h3{margin:8px 0;font-size:17px;line-height:1.25}.hpf-offer-card p{min-height:36px;margin:0 0 14px;color:#667085;font-size:11px;line-height:1.6}.hpf-offer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #eef2f0;padding-top:12px}.hpf-offer-foot strong{font-size:14px}.hpf-offer-foot span{font-size:9px;color:#98a2b3}.hpf-empty-creator{padding:45px;text-align:center}.hpf-creator-cta{margin-top:60px;padding:34px;background:linear-gradient(135deg,#09241b,#0c4331);color:#fff;border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.hpf-creator-cta h2{margin:5px 0 8px;font-size:30px}.hpf-creator-cta p{margin:0;color:#bdd0c8;font-size:12px}
@media(max-width:1050px){.hpf-more-grid,.hpf-offer-grid{grid-template-columns:repeat(2,1fr)}.hpf-creator-statgrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.hpf-course-includes-strip{grid-template-columns:repeat(2,1fr)}.hpf-instructor-grid{grid-template-columns:82px 1fr}.hpf-instructor-avatar{width:78px;height:78px}.hpf-public-creator-hero{padding:58px 0 38px}.hpf-creator-hero-card{grid-template-columns:1fr;text-align:center}.hpf-creator-avatar-xl{width:124px;height:124px;margin:auto}.hpf-creator-meta,.hpf-social-links{justify-content:center}.hpf-creator-identity>p{margin-left:auto;margin-right:auto}.hpf-creator-statgrid{grid-template-columns:repeat(2,1fr)}.hpf-offer-grid,.hpf-more-grid{grid-template-columns:1fr}.hpf-creator-cta{display:block}.hpf-creator-cta .hpf-btn{margin-top:18px}.hpf-course-proof>span{border-right:0;padding-right:0}.hpf-section-title-row{align-items:flex-start}.hpf-review-summary{display:none}}

.hpf-creator-card-avatar{width:54px;height:54px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 5px 16px rgba(15,23,42,.1)}

.hpf-owner-buyer-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:10px 12px;border-radius:11px;background:#0a3527;color:#fff}.hpf-owner-buyer-preview span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#9ed7c0}.hpf-owner-buyer-preview strong{font-size:12px}

/* ========================================================================== */
/* Hubpile Course Front v3.2.0 - presentation hardening and professional UI  */
/* ========================================================================== */

body.hpf-body{overflow-x:hidden;background:#f6f8f7;color:#101828}
body.hpf-body .hpf-wrap{width:min(1180px,calc(100% - 40px))}
body.hpf-body .hpf-card{border-radius:18px;border-color:#e5ebe8;box-shadow:0 10px 32px rgba(16,24,40,.055)}
body.hpf-body .hpf-btn{border-radius:10px;font-weight:800;letter-spacing:-.005em}
body.hpf-body .hpf-btn.primary{background:#079a63;box-shadow:none}
body.hpf-body .hpf-btn.primary:hover{background:#057a50}
body.hpf-body img{max-width:100%}

/* Marketplace */
body.hpf-catalog-v32 .hpf-market-hero{padding:64px 0 58px;background:radial-gradient(circle at 88% 22%,rgba(54,211,153,.14),transparent 28%),linear-gradient(135deg,#071912 0%,#0a291e 60%,#10392b 100%)}
body.hpf-catalog-v32 .hpf-market-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.72fr);gap:56px}
body.hpf-catalog-v32 .hpf-market-hero h1{font-size:clamp(46px,5.6vw,68px);max-width:11ch;line-height:.97}
body.hpf-catalog-v32 .hpf-market-hero p{max-width:650px;font-size:16px;line-height:1.65}
body.hpf-catalog-v32 .hpf-hero-panel{border-radius:20px;padding:22px;box-shadow:inset 0 1px rgba(255,255,255,.08)}
body.hpf-catalog-v32 .hpf-hero-stat{border-radius:14px;padding:17px}
body.hpf-catalog-v32 .hpf-searchbar{border-radius:12px;padding:5px;box-shadow:0 10px 30px rgba(0,0,0,.12)}
body.hpf-catalog-v32 .hpf-searchbar button{border-radius:9px}
body.hpf-catalog-v32 .hpf-topic-strip{padding-top:4px;margin-bottom:12px}
body.hpf-catalog-v32 .hpf-filterbar{grid-template-columns:minmax(220px,1.55fr) repeat(5,minmax(105px,1fr));padding:16px;border-radius:18px;gap:10px}
body.hpf-catalog-v32 .hpf-filterbar>.hpf-btn{grid-column:1 / span 2;justify-self:start;min-width:180px}
body.hpf-catalog-v32 .hpf-course-grid{grid-template-columns:repeat(auto-fit,minmax(290px,360px));gap:22px;justify-content:start;align-items:stretch}
body.hpf-catalog-v32 .hpf-course-card{width:100%;max-width:360px;border-radius:17px}
body.hpf-catalog-v32 .hpf-course-body{padding:17px}
body.hpf-catalog-v32 .hpf-course-card h3{font-size:18px;line-height:1.24;margin-top:8px}
body.hpf-catalog-v32 .hpf-course-desc{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.hpf-catalog-v32 .hpf-course-foot{padding-top:13px}
body.hpf-catalog-v32 .hpf-course-media{border-radius:0}
body.hpf-catalog-v32 .hpf-section{padding:56px 0}
body.hpf-catalog-v32 .hpf-title{font-size:clamp(32px,3.2vw,46px)}
body.hpf-catalog-v32 .hpf-creators{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
body.hpf-catalog-v32 .hpf-creator-card{min-height:96px;padding:16px 18px;grid-template-columns:64px 1fr;border-radius:16px;overflow:hidden}
body.hpf-catalog-v32 .hpf-creator-card-avatar{display:block!important;width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;border:1px solid #dde7e2;box-shadow:0 5px 16px rgba(15,23,42,.09)}
body.hpf-catalog-v32 .hpf-creator-card strong{font-size:15px;line-height:1.25}
body.hpf-catalog-v32 .hpf-creator-card span{display:block;margin-top:4px;font-size:11px;line-height:1.45}
body.hpf-catalog-v32 .hpf-section.soft{background:#eef5f2}

/* Course sales page */
body.hpf-course-v32 .hpf-course-hero-v31{padding:34px 0 48px;background:radial-gradient(circle at 10% 0%,rgba(32,183,124,.14),transparent 30%),linear-gradient(135deg,#071912 0%,#0a281e 60%,#0d3326 100%)}
body.hpf-course-v32 .hpf-breadcrumbs{margin-bottom:16px;font-size:11px}
body.hpf-course-v32 .hpf-store-grid{grid-template-columns:minmax(0,1fr) 360px;gap:42px}
body.hpf-course-v32 .hpf-store-main{max-width:760px}
body.hpf-course-v32 .hpf-store-main h1{font-size:clamp(38px,4.2vw,56px);line-height:1.01;margin:12px 0 12px}
body.hpf-course-v32 .hpf-store-sub{font-size:16px;line-height:1.65;max-width:700px}
body.hpf-course-v32 .hpf-course-proof{margin:14px 0 13px;font-size:11px;gap:10px}
body.hpf-course-v32 .hpf-store-meta{margin:14px 0;gap:7px}
body.hpf-course-v32 .hpf-store-meta span{font-size:10px;padding:6px 9px}
body.hpf-course-v32 .hpf-creator-inline{display:inline-flex!important;align-items:center!important;gap:10px!important;max-width:420px!important;padding:6px 10px 6px 6px!important;border-radius:12px!important}
body.hpf-course-v32 .hpf-creator-inline img{display:block!important;width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
body.hpf-course-v32 .hpf-creator-inline span{min-width:0}
body.hpf-course-v32 .hpf-creator-inline strong{font-size:12px;white-space:normal}
body.hpf-course-v32 .hpf-buybox{position:sticky;top:18px;border-radius:17px;box-shadow:0 20px 60px rgba(0,0,0,.24)}
body.hpf-course-v32 .hpf-buybody{padding:19px}
body.hpf-course-v32 .hpf-buyprice{font-size:29px}
body.hpf-course-v32 .hpf-buy-actions .hpf-btn{min-height:44px}
body.hpf-course-v32 .hpf-buylist{gap:7px;margin-top:14px;padding-top:12px}
body.hpf-course-v32 .hpf-buylist li{font-size:11px;line-height:1.45}
body.hpf-course-v32 .hpf-course-anchorbar{top:0;box-shadow:0 4px 14px rgba(15,23,42,.035)}
body.hpf-course-v32 .hpf-course-anchorbar a{font-size:11px;padding:12px 16px}
body.hpf-course-v32 .hpf-course-includes-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:22px auto 24px!important;border-radius:15px!important;box-shadow:0 7px 24px rgba(15,23,42,.04)}
body.hpf-course-v32 .hpf-course-includes-strip>div{padding:15px 17px!important}
body.hpf-course-v32 .hpf-course-includes-strip strong{font-size:17px}
body.hpf-course-v32 .hpf-course-includes-strip span{font-size:10px}
body.hpf-course-v32 .hpf-store-body{grid-template-columns:minmax(0,1fr) 285px;gap:22px;margin-top:0}
body.hpf-course-v32 .hpf-store-section{padding:24px;margin-bottom:16px}
body.hpf-course-v32 .hpf-store-section h2{font-size:24px;margin-bottom:14px}
body.hpf-course-v32 .hpf-outcomes{gap:9px}
body.hpf-course-v32 .hpf-outcome{padding:11px 12px;border-radius:11px;font-size:12px;line-height:1.5}
body.hpf-course-v32 .hpf-module{border-radius:12px;margin-bottom:8px}
body.hpf-course-v32 .hpf-module summary{padding:12px 14px;font-size:12px}
body.hpf-course-v32 .hpf-curr-lesson{padding:10px 13px;font-size:12px}
body.hpf-course-v32 .hpf-rich-copy{font-size:13px;line-height:1.82;color:#344054}
body.hpf-course-v32 .hpf-clean-list{font-size:13px;color:#344054}
body.hpf-course-v32 .hpf-sidecard{padding:17px;border-radius:15px}
body.hpf-course-v32 .hpf-sidecard h3{font-size:15px}
body.hpf-course-v32 .hpf-sidecard ul{font-size:11px;line-height:1.65}
body.hpf-course-v32 .hpf-creator-side{padding:18px;text-align:center}
body.hpf-course-v32 .hpf-creator-side>img{display:block!important;width:72px!important;height:72px!important;min-width:72px!important;max-width:72px!important;aspect-ratio:1/1!important;margin:0 auto 10px!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
body.hpf-course-v32 .hpf-creator-side p{font-size:11px;line-height:1.55}
body.hpf-course-v32 .hpf-instructor-panel{overflow:hidden}
body.hpf-course-v32 .hpf-instructor-grid{grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:start}
body.hpf-course-v32 .hpf-instructor-grid>a{display:block;width:96px;height:96px}
body.hpf-course-v32 .hpf-instructor-avatar{display:block!important;width:96px!important;height:96px!important;min-width:96px!important;max-width:96px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;margin:0!important}
body.hpf-course-v32 .hpf-instructor-name{font-size:18px;text-decoration:none}
body.hpf-course-v32 .hpf-instructor-headline{font-size:11px}
body.hpf-course-v32 .hpf-instructor-stats{gap:7px;margin:7px 0 11px}
body.hpf-course-v32 .hpf-instructor-stats span{font-size:9px;padding:6px 8px}
body.hpf-course-v32 .hpf-instructor-panel .hpf-muted{font-size:12px;line-height:1.65;margin-top:8px}
body.hpf-course-v32 .hpf-more-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}

/* Public creator hub */
body.hpf-creator-v32 .hpf-public-creator-hero{padding:70px 0 50px}
body.hpf-creator-v32 .hpf-creator-hero-card{grid-template-columns:150px minmax(0,1fr);gap:25px}
body.hpf-creator-v32 .hpf-creator-avatar-xl{display:block!important;width:144px!important;height:144px!important;min-width:144px!important;max-width:144px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
body.hpf-creator-v32 .hpf-creator-identity h1{font-size:clamp(36px,4.4vw,56px)}
body.hpf-creator-v32 .hpf-creator-identity>p{font-size:13px;max-width:720px}
body.hpf-creator-v32 .hpf-creator-statgrid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
body.hpf-creator-v32 .hpf-offer-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
body.hpf-creator-v32 .hpf-offer-card{border-radius:16px}
body.hpf-creator-v32 .hpf-offer-card>img{display:block!important;width:100%!important;max-width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important}

@media(max-width:1100px){
  body.hpf-catalog-v32 .hpf-filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.hpf-catalog-v32 .hpf-filterbar>.hpf-btn{grid-column:auto;justify-self:stretch}
  body.hpf-course-v32 .hpf-store-grid{grid-template-columns:minmax(0,1fr) 330px;gap:28px}
  body.hpf-course-v32 .hpf-store-body{grid-template-columns:minmax(0,1fr) 250px}
}
@media(max-width:900px){
  body.hpf-catalog-v32 .hpf-market-grid{grid-template-columns:1fr;gap:30px}
  body.hpf-catalog-v32 .hpf-market-hero h1{max-width:13ch}
  body.hpf-course-v32 .hpf-store-grid{grid-template-columns:1fr}
  body.hpf-course-v32 .hpf-buybox{position:relative;top:auto;max-width:620px}
  body.hpf-course-v32 .hpf-store-body{grid-template-columns:1fr}
  body.hpf-course-v32 aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}
}
@media(max-width:700px){
  body.hpf-body .hpf-wrap{width:min(100% - 24px,1180px)}
  body.hpf-catalog-v32 .hpf-market-hero{padding:46px 0}
  body.hpf-catalog-v32 .hpf-market-hero h1{font-size:43px}
  body.hpf-catalog-v32 .hpf-filterbar{grid-template-columns:1fr 1fr}
  body.hpf-catalog-v32 .hpf-filterbar>.hpf-field:first-child{grid-column:1/-1}
  body.hpf-catalog-v32 .hpf-course-grid{grid-template-columns:1fr}
  body.hpf-catalog-v32 .hpf-course-card{max-width:none}
  body.hpf-course-v32 .hpf-store-main h1{font-size:36px}
  body.hpf-course-v32 .hpf-course-includes-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.hpf-course-v32 .hpf-outcomes{grid-template-columns:1fr}
  body.hpf-course-v32 aside{grid-template-columns:1fr}
  body.hpf-course-v32 .hpf-instructor-grid{grid-template-columns:76px minmax(0,1fr);gap:14px}
  body.hpf-course-v32 .hpf-instructor-grid>a{width:76px;height:76px}
  body.hpf-course-v32 .hpf-instructor-avatar{width:76px!important;height:76px!important;min-width:76px!important;max-width:76px!important}
  body.hpf-creator-v32 .hpf-creator-hero-card{grid-template-columns:1fr;text-align:center}
  body.hpf-creator-v32 .hpf-creator-avatar-xl{margin:auto}
}
@media(max-width:480px){
  body.hpf-catalog-v32 .hpf-filterbar{grid-template-columns:1fr}
  body.hpf-catalog-v32 .hpf-filterbar>.hpf-field:first-child{grid-column:auto}
  body.hpf-course-v32 .hpf-course-includes-strip{grid-template-columns:1fr 1fr!important}
  body.hpf-course-v32 .hpf-store-section{padding:19px}
}

/* ============================================================
   HUBPILE RATINGS & REVIEWS v3.3
   ============================================================ */
.hpf-stars{color:#f59e0b;letter-spacing:.06em;white-space:nowrap}.hpf-mini-rating{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:8px 0 2px;font-size:12px}.hpf-mini-rating small{color:var(--hpf-muted)}
.hpf-ratings-section{scroll-margin-top:76px}.hpf-rating-flash{padding:12px 14px;border-radius:12px;margin:0 0 16px;font-size:13px;font-weight:750;border:1px solid}.hpf-rating-flash.success{background:#ecfdf3;color:#067647;border-color:#abefc6}.hpf-rating-flash.error{background:#fef3f2;color:#b42318;border-color:#fecdca}
.hpf-rating-overview{display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;align-items:center;padding:20px;margin:6px 0 20px;background:#fbfcfc;border:1px solid var(--hpf-line);border-radius:15px;box-shadow:none}.hpf-rating-big{text-align:center}.hpf-rating-big strong{display:block;font-size:44px;line-height:1;font-weight:950;letter-spacing:-.05em}.hpf-rating-big .hpf-stars{display:block;margin:8px 0 3px;font-size:17px}.hpf-rating-big small{color:var(--hpf-muted);font-weight:750}.hpf-rating-bars{display:grid;gap:7px}.hpf-rating-bars>div{display:grid;grid-template-columns:50px 1fr 38px;gap:9px;align-items:center;font-size:11px;color:#667085}.hpf-rating-bars i{height:8px;border-radius:99px;background:#e7eeeb;overflow:hidden}.hpf-rating-bars b{display:block;height:100%;background:#f59e0b;border-radius:99px}.hpf-rating-bars em{font-style:normal;text-align:right}
.hpf-rating-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.hpf-rating-form{padding:18px;border:1px solid var(--hpf-line);border-radius:15px;background:#fff}.hpf-rating-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.hpf-rating-kicker{display:block;color:var(--hpf-green);text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:900}.hpf-rating-form h3{margin:3px 0 0;font-size:18px}.hpf-rating-saved{padding:5px 8px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:10px;font-weight:900}.hpf-star-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px;margin:12px 0 10px}.hpf-star-input input{position:absolute;opacity:0;pointer-events:none}.hpf-star-input label{font-size:30px;line-height:1;color:#d7dedb;cursor:pointer;transition:.12s ease}.hpf-star-input label:hover,.hpf-star-input label:hover~label,.hpf-star-input input:checked~label{color:#f59e0b}.hpf-star-input input:focus-visible+label{outline:2px solid #07965f;outline-offset:3px;border-radius:4px}.hpf-rating-form textarea{width:100%;resize:vertical;min-height:104px;max-height:260px;border:1px solid var(--hpf-line);border-radius:12px;padding:12px 13px;font:inherit;font-size:13px;line-height:1.55;color:var(--hpf-ink);background:#fff;outline:0}.hpf-rating-form textarea:focus{border-color:#79c9a8;box-shadow:0 0 0 3px rgba(7,150,95,.08)}.hpf-rating-form-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}.hpf-rating-form-foot small{max-width:330px;color:var(--hpf-muted);font-size:10px;line-height:1.45}.hpf-rating-form-foot .hpf-btn{min-height:40px;padding:0 13px;font-size:11px;white-space:nowrap}
.hpf-public-reviews{margin-top:18px;border-top:1px solid var(--hpf-line);padding-top:18px}.hpf-public-reviews>h3{font-size:17px;margin:0 0 8px}.hpf-review{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:15px 0;border-bottom:1px solid #edf1ef}.hpf-review:last-child{border-bottom:0}.hpf-review>img{width:42px!important;height:42px!important;max-width:42px!important;border-radius:50%!important;object-fit:cover!important;background:#e8efec}.hpf-review-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.hpf-review-head strong{font-size:13px}.hpf-review p{margin:6px 0 4px;font-size:12px;line-height:1.65;color:#475467}.hpf-review small{font-size:10px;color:#98a2b3}.hpf-no-reviews{padding:16px;background:#f8faf9;border:1px dashed #d9e5df;border-radius:13px;display:flex;gap:5px;flex-direction:column}.hpf-no-reviews strong{font-size:13px}.hpf-no-reviews span{font-size:11px;color:var(--hpf-muted)}
.hpf-creator-rating-pill{color:#ffdf8a!important}.hpf-creator-rating-stat strong{color:#8b5c00}.hpf-creator-reviews-section{scroll-margin-top:84px}.hpf-creator-reviews-section>.hpf-rating-overview{box-shadow:var(--hpf-soft-shadow)}.hpf-creator-rating-form{max-width:780px;margin:18px 0}.hpf-creator-public-reviews{padding:20px;background:#fff;border:1px solid var(--hpf-line);border-radius:16px;box-shadow:var(--hpf-soft-shadow)}.hpf-creator-public-reviews .hpf-review small a{color:var(--hpf-green);font-weight:800;text-decoration:none}
@media(max-width:800px){.hpf-rating-form-grid{grid-template-columns:1fr}.hpf-rating-overview{grid-template-columns:120px minmax(0,1fr)}.hpf-rating-form-foot{align-items:flex-start;flex-direction:column}.hpf-rating-form-foot .hpf-btn{width:100%}}
@media(max-width:520px){.hpf-rating-overview{grid-template-columns:1fr}.hpf-rating-big{text-align:left}.hpf-rating-big .hpf-stars{display:inline-block;margin-left:8px}.hpf-review-head{align-items:flex-start;flex-direction:column;gap:3px}.hpf-star-input label{font-size:28px}}
.hpf-rating-saved.moderated{background:#fffaeb;color:#b54708}
.hpf-learn-rate{display:inline-flex;align-items:center;gap:5px;color:#ffd166;text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap}
@media(max-width:760px){.hpf-learn-rate{font-size:0}.hpf-learn-rate:before{content:'★';font-size:18px}}
