.pfc-wrap{--sage:#E1E8E5;--green:#0c5a43;--green2:#137a5a;--ink:#1d2924;--line:#d4ded9;--muted:#6f7b76;width:100%;max-width:1100px;margin:0 auto;color:var(--ink);font-family:Sukhumvit Set,Sukhumvit,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}.pfc-wrap *{box-sizing:border-box}.pfc-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#fff,rgba(255,255,255,.65));border:1px solid var(--line);border-radius:18px;padding:28px 30px;box-shadow:0 8px 28px rgba(33,63,51,.05)}.pfc-kicker{font-size:12px;letter-spacing:.12em;font-weight:700;color:var(--green2)}.pfc-hero h1,.pfc-lesson-card h1{margin:6px 0 8px;font-size:38px;line-height:1.15}.pfc-hero p{margin:0;color:var(--muted)}.pfc-score{min-width:120px;text-align:center;background:var(--green);color:#fff;border-radius:16px;padding:16px}.pfc-score span{display:block;font-size:13px;opacity:.8}.pfc-score strong{font-size:34px}.pfc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 28px}.pfc-stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px 20px}.pfc-stat span{display:block;color:var(--muted);font-size:13px}.pfc-stat strong{display:block;font-size:30px;margin-top:4px;color:var(--green)}.pfc-section-head{display:flex;justify-content:space-between;align-items:end;margin:6px 2px 14px}.pfc-section-head h2{margin:0;font-size:25px}.pfc-section-head p{margin:3px 0 0;color:var(--muted)}.pfc-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pfc-course-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 8px 24px rgba(33,63,51,.035)}.pfc-course-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px}.pfc-pill{background:#edf7f3;color:var(--green);border:1px solid #d3e9e0;border-radius:999px;padding:5px 10px;font-weight:700}.pfc-course-card h3{font-size:23px;margin:12px 0 4px}.pfc-course-card>p{margin:0 0 15px;color:var(--muted)}.pfc-progress{height:8px;background:#edf1ef;border-radius:999px;overflow:hidden;margin:14px 0 18px}.pfc-progress i{display:block;height:100%;background:var(--green2);border-radius:inherit}.pfc-lessons{border-top:1px solid #edf0ef}.pfc-lesson-row{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf0ef;text-decoration:none!important;color:var(--ink)!important}.pfc-lesson-row:hover .pfc-lesson-title b{color:var(--green2)}.pfc-lesson-no{width:28px;height:28px;border-radius:50%;background:#f2f5f4;display:grid;place-items:center;font-size:12px}.pfc-lesson-title b,.pfc-lesson-title small{display:block}.pfc-lesson-title small{color:var(--muted);margin-top:2px;font-size:12px}.pfc-status{justify-self:end;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f2f5f4}.pfc-completed{background:#dff2e9;color:var(--green);font-weight:700}.pfc-submitted,.pfc-reviewing{background:#fff3d9;color:#956500}.pfc-empty,.pfc-login{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.pfc-back{display:inline-block;margin-bottom:15px;color:var(--green)!important;text-decoration:none!important;font-weight:700}.pfc-lesson-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;max-width:980px;margin:0 auto}.pfc-lesson-meta{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 24px}.pfc-lesson-meta span{background:#f3f6f5;padding:7px 11px;border-radius:999px;font-size:13px}.pfc-content{font-size:16px;line-height:1.8}.pfc-assignment{margin-top:30px;border-top:1px solid var(--line);padding-top:24px}.pfc-assignment textarea{width:100%;min-height:150px;border:1px solid #c9d5cf;border-radius:12px;padding:14px;font:inherit;resize:vertical}.pfc-assignment button{margin-top:12px;border:0;background:var(--green);color:#fff;border-radius:10px;padding:11px 20px;font:inherit;font-weight:700;cursor:pointer}.pfc-feedback{margin-top:24px;background:#f2f8f5;border-left:4px solid var(--green2);border-radius:10px;padding:16px 18px}.pfc-feedback p{margin:6px 0 0}.pfc-complete-box{margin-top:26px;background:#e2f4ea;color:var(--green);border-radius:12px;padding:16px;font-weight:700}@media(max-width:800px){.pfc-wrap{width:100%;max-width:1100px;margin:0 auto}.pfc-hero{align-items:flex-start;flex-direction:column}.pfc-score{width:100%}.pfc-stats,.pfc-course-grid{grid-template-columns:1fr}.pfc-hero h1,.pfc-lesson-card h1{font-size:30px}.pfc-lesson-card{padding:22px}}
body.page .pfc-wrap{min-height:520px}
.pfc-guest{display:grid;place-items:center;min-height:560px}
.pfc-guest-card{width:min(920px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:42px;box-shadow:0 12px 34px rgba(33,63,51,.06)}
.pfc-guest-card h1{font-size:44px;line-height:1.1;margin:8px 0 12px}
.pfc-guest-card>p{max-width:720px;color:var(--muted);font-size:17px;line-height:1.75;margin:0 0 26px}
.pfc-guest-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 26px}
.pfc-guest-features>div{background:#f6faf8;border:1px solid #dce8e2;border-radius:14px;padding:18px}
.pfc-guest-features b,.pfc-guest-features span{display:block}
.pfc-guest-features b{color:var(--green);font-size:16px;margin-bottom:5px}
.pfc-guest-features span{color:var(--muted);font-size:13px;line-height:1.55}
.pfc-login-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff!important;text-decoration:none!important;border-radius:12px;padding:12px 20px;font-weight:700}
.pfc-empty-course{grid-column:1/-1;display:flex;flex-direction:column;gap:5px}
.pfc-empty-course b{font-size:18px;color:var(--green)}
.pfc-empty-course span{color:var(--muted)}
@media(max-width:800px){.pfc-guest{min-height:440px}.pfc-guest-card{padding:26px 20px}.pfc-guest-card h1{font-size:34px}.pfc-guest-features{grid-template-columns:1fr}}


/* v1.0.6 — Match Buy Credits page layout */
body.pf-classroom-page-bg,
body.pf-classroom-page-bg #page,
body.pf-classroom-page-bg .site,
body.pf-classroom-page-bg .site-content,
body.pf-classroom-page-bg main,
body.pf-classroom-page-bg .elementor-location-single,
body.pf-classroom-page-bg .elementor-location-archive,
body.pf-classroom-page-bg .elementor,
body.pf-classroom-page-bg .elementor-section-wrap{background:#E1E8E5!important;}
body.pf-classroom-page-bg{min-height:100vh;}
/* Break out of narrow theme content just like the Buy Credits 1100px canvas. */
body.pf-classroom-page-bg .pfc-wrap{
  width:min(1100px,calc(100vw - 40px))!important;
  max-width:1100px!important;
  margin-left:50%!important;
  margin-right:0!important;
  transform:translateX(-50%);
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
}
/* Remove theme-added page spacing around Classroom only. */
body.pf-classroom-page-bg .entry-content:has(.pfc-wrap),
body.pf-classroom-page-bg .wp-block-post-content:has(.pfc-wrap){
  margin-top:0!important;
  padding-top:0!important;
}
@media(max-width:560px){
  body.pf-classroom-page-bg .pfc-wrap{width:calc(100vw - 28px)!important;}
  .pfc-hero{padding:24px 20px;}
}


/* v1.0.7 — Classroom header matches Community / site dark hero */
.pfc-hero{
  background:#171918 !important;
  border-color:#171918 !important;
  color:#fff !important;
  box-shadow:none !important;
}
.pfc-hero .pfc-kicker{color:rgba(255,255,255,.72) !important;}
.pfc-hero h1{color:#fff !important;}
.pfc-hero p{color:rgba(255,255,255,.78) !important;}
.pfc-hero .pfc-score{
  background:#fff !important;
  color:#171918 !important;
}
.pfc-hero .pfc-score span{color:#171918 !important;opacity:.65 !important;}
.pfc-hero .pfc-score strong{color:#171918 !important;}

/* Logged-out Classroom uses the same dark header treatment at the top. */
.pfc-guest-card{
  background:#171918 !important;
  border-color:#171918 !important;
  color:#fff !important;
}
.pfc-guest-card .pfc-kicker{color:rgba(255,255,255,.72) !important;}
.pfc-guest-card h1{color:#fff !important;}
.pfc-guest-card>p{color:rgba(255,255,255,.78) !important;}
.pfc-guest-features>div{
  background:rgba(255,255,255,.07) !important;
  border-color:rgba(255,255,255,.13) !important;
}
.pfc-guest-features b{color:#fff !important;}
.pfc-guest-features span{color:rgba(255,255,255,.72) !important;}
.pfc-login-btn{
  background:#fff !important;
  color:#171918 !important;
}


/* v1.0.8 — Numerically match Community v2.7.1 hero */
.pfc-hero{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:24px !important;
  margin-bottom:18px !important;
  padding:30px 32px !important;
  border:0 !important;
  border-radius:22px !important;
  background:linear-gradient(145deg,#272727,#4a443e) !important;
  color:#fff !important;
  box-shadow:none !important;
}
.pfc-hero .pfc-kicker{
  margin-bottom:8px !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:.16em !important;
  line-height:normal !important;
  color:rgba(255,255,255,.58) !important;
}
.pfc-hero h1{
  margin:0 !important;
  font-size:clamp(34px,4vw,48px) !important;
  line-height:1.05 !important;
  color:#fff !important;
}
.pfc-hero p{
  margin:7px 0 0 !important;
  color:rgba(255,255,255,.68) !important;
  font-size:12px !important;
  line-height:normal !important;
}
.pfc-hero .pfc-score{
  min-width:112px !important;
  min-height:40px !important;
  padding:7px 16px !important;
  border:1px solid #fff !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#292929 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  text-align:center !important;
}
.pfc-hero .pfc-score span{
  display:inline !important;
  margin:0 !important;
  color:#292929 !important;
  opacity:1 !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1 !important;
}
.pfc-hero .pfc-score strong{
  display:inline !important;
  margin:0 !important;
  color:#292929 !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1 !important;
}

/* Keep mobile geometry aligned with Community's compact hero behavior. */
@media(max-width:700px){
  .pfc-hero{
    align-items:flex-start !important;
    flex-direction:column !important;
    gap:16px !important;
    padding:24px 20px !important;
  }
}


/* v1.2.0 — Classroom activities + timed knowledge quiz */
.pfc-activity-head{margin-top:28px}
.pfc-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:30px}
.pfc-quiz-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 8px 24px rgba(33,63,51,.035)}
.pfc-quiz-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pfc-quiz-type{font-size:10px;font-weight:900;letter-spacing:.15em;color:#64736c}
.pfc-quiz-best{font-size:12px;background:#edf5f1;border:1px solid #d7e5de;border-radius:999px;padding:6px 10px;color:#315a4b}
.pfc-quiz-card h3{margin:13px 0 5px;font-size:25px;line-height:1.15}
.pfc-quiz-card>p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.pfc-quiz-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}
.pfc-quiz-meta span{background:#f6f8f7;border:1px solid #e3e9e6;border-radius:12px;padding:10px 11px;font-size:11px;color:#738079}
.pfc-quiz-meta b{display:block;color:#222f29;font-size:17px;margin-bottom:1px}
.pfc-quiz-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:2px}
.pfc-quiz-card-bottom small{color:#7a8781;font-size:11px}
.pfc-start-quiz{border:0;background:#222725;color:#fff;border-radius:11px;padding:10px 18px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
.pfc-start-quiz:hover{background:#0d5a43}

.pfc-quiz-open{overflow:hidden!important}
.pfc-quiz-modal{position:fixed;inset:0;z-index:999999}
.pfc-quiz-backdrop{position:absolute;inset:0;background:rgba(18,22,20,.72);backdrop-filter:blur(4px)}
.pfc-quiz-shell{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(860px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;background:#f7f9f8;border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.30);font-family:Sukhumvit Set,Sukhumvit,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d2924}
.pfc-quiz-header{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(145deg,#272727,#4a443e);color:#fff;padding:22px 24px;border-radius:24px 24px 0 0}
.pfc-quiz-live-label{display:block;font-size:9px;font-weight:900;letter-spacing:.16em;color:rgba(255,255,255,.58);margin-bottom:4px}
.pfc-quiz-header h2{margin:0;color:#fff;font-size:22px;line-height:1.15}
.pfc-quiz-header-right{display:flex;align-items:center;gap:12px}
.pfc-quiz-timer{min-width:82px;border:1px solid rgba(255,255,255,.28);border-radius:13px;padding:7px 12px;text-align:center;background:rgba(255,255,255,.08)}
.pfc-quiz-timer span{display:block;font-size:8px;letter-spacing:.14em;color:rgba(255,255,255,.58)}
.pfc-quiz-timer b{display:block;font-size:22px;line-height:1;margin-top:2px;color:#fff}
.pfc-quiz-timer.is-low{background:#fff;color:#222}
.pfc-quiz-timer.is-low span,.pfc-quiz-timer.is-low b{color:#222}
.pfc-quiz-close{width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:transparent;color:#fff;font:inherit;font-size:24px;line-height:1;cursor:pointer}
.pfc-quiz-progress-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:14px 24px;background:#fff;border-bottom:1px solid #e5ebe8;font-size:11px;color:#6e7b75}
.pfc-quiz-progress{height:5px;background:#e9eeec;border-radius:999px;overflow:hidden}
.pfc-quiz-progress i{display:block;height:100%;width:0;background:#167556;border-radius:inherit;transition:width .18s ease}
.pfc-quiz-stage{padding:30px 32px 34px;min-height:410px}
.pfc-quiz-loading{min-height:330px;display:grid;place-items:center;color:#68766f;font-weight:700}
.pfc-quiz-category{font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#497364;margin-bottom:10px}
.pfc-quiz-question{font-size:clamp(23px,3vw,31px);font-weight:850;line-height:1.32;margin:0 0 24px;min-height:82px}
.pfc-quiz-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pfc-choice{appearance:none;width:100%;min-height:68px;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #d9e2de;background:#fff;border-radius:15px;padding:12px 14px;font:inherit;color:#27332e;cursor:pointer;transition:.12s ease}
.pfc-choice:hover{border-color:#8db4a5;transform:translateY(-1px);box-shadow:0 5px 16px rgba(33,63,51,.06)}
.pfc-choice:disabled{cursor:default}
.pfc-choice>span{flex:0 0 34px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#edf2ef;font-size:12px;font-weight:900;color:#52645c}
.pfc-choice>b{font-size:14px;line-height:1.45;font-weight:750}
.pfc-choice.is-picked{border-color:#1d6d53;background:#edf7f3}
.pfc-choice.is-picked>span{background:#1d6d53;color:#fff}
.pfc-quiz-hint{text-align:center;color:#98a39e;font-size:10px;margin-top:16px}
.pfc-quiz-result{text-align:center;padding:28px 10px}
.pfc-result-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.16em;color:#6e7c76}
.pfc-result-score{display:flex;justify-content:center;align-items:flex-end;gap:8px;margin:10px 0 4px}
.pfc-result-score>b{font-size:72px;line-height:.95;color:#1d6d53}
.pfc-result-score>small{font-size:13px;color:#6f7b76;margin-bottom:9px}
.pfc-quiz-result p{margin:12px 0;color:#627069}
.pfc-result-best{display:inline-flex;gap:6px;background:#fff;border:1px solid #dce5e1;border-radius:999px;padding:8px 14px;font-size:13px}
.pfc-result-added{margin:14px auto 0;font-size:12px;color:#76827d}
.pfc-result-added.is-added{color:#0d6a4d;font-weight:800}
.pfc-quiz-retry{margin-top:22px;border:0;border-radius:11px;background:#222725;color:#fff;padding:11px 22px;font:inherit;font-weight:800;cursor:pointer}

@media(max-width:800px){
  .pfc-activity-grid{grid-template-columns:1fr}
  .pfc-quiz-meta{grid-template-columns:1fr 1fr 1fr}
  .pfc-quiz-shell{width:calc(100vw - 18px);max-height:calc(100vh - 18px);border-radius:18px}
  .pfc-quiz-header{padding:17px 16px;border-radius:18px 18px 0 0}
  .pfc-quiz-header h2{font-size:17px}
  .pfc-quiz-timer{min-width:68px;padding:6px 8px}
  .pfc-quiz-progress-row{padding:11px 16px;gap:9px}
  .pfc-quiz-stage{padding:22px 16px 26px}
  .pfc-quiz-question{font-size:23px;min-height:0}
  .pfc-quiz-choices{grid-template-columns:1fr}
  .pfc-choice{min-height:58px}
}

/* v1.2.1 reliability */
.pfc-quiz-modal[hidden]{display:none!important}
.pfc-quiz-modal:not([hidden]){display:block}

/* v1.2.2 — Quiz leaderboard; remove summary stat area */
.pfc-activity-grid{display:block!important;margin-top:0}
.pfc-quiz-row{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:18px;align-items:stretch;margin-bottom:22px}
.pfc-quiz-row .pfc-quiz-card{margin:0}
.pfc-leaderboard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 18px 14px;box-shadow:0 8px 24px rgba(33,63,51,.035)}
.pfc-leaderboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:0 2px 12px;border-bottom:1px solid #e8eeeb}
.pfc-leaderboard-head span{display:block;font-size:9px;font-weight:900;letter-spacing:.16em;color:#66756e;margin-bottom:2px}
.pfc-leaderboard-head h3{margin:0;font-size:18px;line-height:1.15}
.pfc-leaderboard-head small{font-size:10px;color:#89958f;padding-bottom:2px}
.pfc-leaderboard-list{padding-top:5px}
.pfc-leader-row{display:grid;grid-template-columns:24px 34px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;border-bottom:1px solid #f0f3f2}
.pfc-leader-row:last-child{border-bottom:0}
.pfc-leader-rank{font-size:12px;font-weight:900;color:#738079;text-align:center}
.pfc-leader-avatar img{display:block;width:34px!important;height:34px!important;border-radius:50%!important;object-fit:cover}
.pfc-leader-row strong{font-size:12px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pfc-leader-row>b{font-size:17px;color:#11684d}
.pfc-leader-empty{padding:30px 10px;text-align:center;color:#78857f;font-size:13px}
.pfc-leader-empty small{color:#9aa49f;font-size:10px}
@media(max-width:800px){
  .pfc-quiz-row{grid-template-columns:1fr}
}

/* v1.2.3 — keep selected Profile Frame visible on leaderboard avatars */
.pfc-leader-avatar{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  overflow:visible;
}
.pfc-leader-avatar .avatar,
.pfc-leader-avatar .pfc-leader-avatar-img{
  display:block;
  width:34px!important;
  height:34px!important;
  object-fit:cover;
}

/* v1.2.4 — simplified quiz card + daily play policy */
.pfc-quiz-card-top{justify-content:flex-end}
.pfc-quiz-card h3{margin-top:20px}
.pfc-quiz-card-bottom{margin-top:30px;padding-top:18px;border-top:1px solid #e8eeeb}
.pfc-quiz-play-policy{display:flex;flex-direction:column;gap:2px;min-width:0}
.pfc-quiz-play-policy strong{font-size:12px;color:#245d49}
.pfc-quiz-play-policy small{font-size:10px;color:#83908a}
@media(max-width:600px){
  .pfc-quiz-card-bottom{align-items:stretch;flex-direction:column}
  .pfc-start-quiz{width:100%}
}

/* v1.2.6 — Quiz title/best alignment + larger second description line */
.pfc-quiz-card{
  position:relative;
}
.pfc-quiz-card-top{
  position:absolute!important;
  top:22px;
  right:22px;
  margin:0!important;
}
.pfc-quiz-card h3{
  margin-top:0!important;
  padding-top:0!important;
  padding-right:120px;
  line-height:1.15;
}
.pfc-quiz-description-extra{
  display:inline-block;
  margin-top:3px;
  font-size:1.08em;
  line-height:1.5;
}
@media(max-width:600px){
  .pfc-quiz-card-top{
    position:static!important;
    display:flex!important;
    justify-content:flex-end!important;
    margin-bottom:12px!important;
  }
  .pfc-quiz-card h3{
    padding-right:0;
  }
}

/* v1.2.7 — keep quiz modal/result fully inside viewport */
.pfc-quiz-shell{
  width:min(860px,calc(100vw - 28px))!important;
  height:min(760px,calc(100dvh - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}

.pfc-quiz-header{
  flex:0 0 auto!important;
  padding:16px 20px!important;
}

.pfc-quiz-progress-row{
  flex:0 0 auto!important;
  padding:10px 20px!important;
}

.pfc-quiz-stage{
  flex:1 1 auto!important;
  min-height:0!important;
  padding:18px 24px 20px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:stretch!important;
}

.pfc-quiz-loading{
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  place-items:center!important;
}

.pfc-quiz-question-view{
  width:100%!important;
  min-height:0!important;
  overflow:auto!important;
  padding-right:2px!important;
}

.pfc-quiz-result{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  padding:8px 8px 10px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}

.pfc-result-kicker{
  margin:0!important;
}

.pfc-result-score{
  margin:6px 0 2px!important;
}

.pfc-result-score>b{
  font-size:58px!important;
}

.pfc-result-score>small{
  margin-bottom:6px!important;
}

.pfc-quiz-result p{
  margin:7px 0!important;
  font-size:15px!important;
  line-height:1.35!important;
}

.pfc-result-best{
  padding:6px 12px!important;
  font-size:12px!important;
}

.pfc-result-added{
  margin-top:8px!important;
  font-size:11px!important;
}

.pfc-quiz-retry{
  margin-top:12px!important;
  padding:9px 20px!important;
}

@media(max-height:760px){
  .pfc-quiz-shell{
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
  }
  .pfc-quiz-header{
    padding:11px 16px!important;
  }
  .pfc-quiz-header h2{
    font-size:17px!important;
  }
  .pfc-quiz-timer{
    padding:5px 8px!important;
  }
  .pfc-quiz-timer b{
    font-size:18px!important;
  }
  .pfc-quiz-progress-row{
    padding:7px 16px!important;
  }
  .pfc-quiz-stage{
    padding:10px 16px 12px!important;
  }
  .pfc-result-score>b{
    font-size:50px!important;
  }
  .pfc-quiz-result p{
    font-size:13px!important;
    margin:5px 0!important;
  }
  .pfc-quiz-retry{
    margin-top:9px!important;
    padding:8px 18px!important;
  }
}

@media(max-width:800px){
  .pfc-quiz-shell{
    width:calc(100vw - 12px)!important;
    height:calc(100dvh - 12px)!important;
    max-height:calc(100dvh - 12px)!important;
  }
}

/* v1.2.9 — real viewport modal fix
   The modal is moved to <body> by JS, so these fixed dimensions are viewport-based. */
.pfc-quiz-modal{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  z-index:999999!important;
}

.pfc-quiz-modal [hidden]{
  display:none!important;
}

.pfc-quiz-modal:not([hidden]){
  display:block!important;
}

.pfc-quiz-shell{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  width:min(860px,calc(100vw - 24px))!important;
  height:auto!important;
  max-height:calc(100dvh - 24px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}

.pfc-quiz-stage{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.pfc-quiz-question-view:not([hidden]){
  display:block!important;
}

.pfc-quiz-loading:not([hidden]){
  display:grid!important;
}

.pfc-quiz-result:not([hidden]){
  display:flex!important;
}

/* Result must always fit; if an unusually short viewport remains, scroll only inside stage. */
.pfc-quiz-result{
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
}

@media(max-height:700px){
  .pfc-quiz-shell{
    max-height:calc(100dvh - 12px)!important;
  }
  .pfc-quiz-header{
    padding:9px 14px!important;
  }
  .pfc-quiz-progress-row{
    padding:6px 14px!important;
  }
  .pfc-quiz-stage{
    padding:8px 14px 10px!important;
  }
  .pfc-result-score>b{
    font-size:44px!important;
  }
  .pfc-quiz-result p{
    margin:4px 0!important;
    font-size:12px!important;
  }
  .pfc-result-added{
    margin-top:5px!important;
  }
  .pfc-quiz-retry{
    margin-top:7px!important;
  }
}

/* v1.3.0 — Quiz + Leaderboard inside one shared card */
.pfc-quiz-row{
  display:grid!important;
  grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr)!important;
  gap:0!important;
  align-items:stretch!important;
  margin-bottom:22px!important;
  background:#fff!important;
  border:1px solid var(--line)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 8px 24px rgba(33,63,51,.035)!important;
}

.pfc-quiz-row .pfc-quiz-card,
.pfc-quiz-row .pfc-leaderboard{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  margin:0!important;
}

.pfc-quiz-row .pfc-quiz-card{
  padding:28px 30px!important;
}

.pfc-quiz-row .pfc-leaderboard{
  padding:28px 28px 20px!important;
  border-left:1px solid #e5ebe8!important;
}

@media(max-width:800px){
  .pfc-quiz-row{
    grid-template-columns:1fr!important;
  }
  .pfc-quiz-row .pfc-leaderboard{
    border-left:0!important;
    border-top:1px solid #e5ebe8!important;
  }
}

/* v1.3.1 */
.pfc-quiz-row .pfc-quiz-card{padding:0 30px 28px!important}
.pfc-quiz-card-top{position:absolute!important;top:0!important;right:30px!important;height:64px!important;display:flex!important;align-items:center!important;z-index:2!important}
.pfc-quiz-card h3{margin:0 -30px!important;padding:0 170px 0 30px!important;height:64px!important;display:flex!important;align-items:center!important;box-sizing:border-box!important;background:#eef1f0!important;border-bottom:1px solid #dde4e1!important;font-size:24px!important;line-height:1.15!important}
.pfc-quiz-card>p{margin-top:26px!important}
.pfc-quiz-best{background:#fff!important;border:1px solid #d4ddda!important;white-space:nowrap!important}
@media(max-width:600px){.pfc-quiz-card-top{right:16px!important;height:58px!important;margin:0!important}.pfc-quiz-card h3{margin:0 -30px!important;padding:0 135px 0 20px!important;height:58px!important;font-size:19px!important}}

/* v1.3.2 — darker quiz title bar + compact free/credit status */
.pfc-quiz-card h3{
  background:#d8dddb!important;
  border-bottom-color:#c7cfcc!important;
}
.pfc-quiz-play-policy strong{
  font-size:13px!important;
  font-weight:800!important;
}

/* v1.3.3 — short anti-random-tap reading window */
.pfc-choice.is-locked{
  opacity:.58!important;
  cursor:default!important;
  transform:none!important;
  box-shadow:none!important;
}

/* v1.4.0 Fretboard Note Quiz */
.pfc-fretboard-preview{position:relative;height:90px;margin:18px 0;border:1px solid #aa8f69;border-radius:12px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 14px,rgba(55,50,44,.55) 15px),repeating-linear-gradient(to right,transparent 0,transparent calc(8.333% - 1px),rgba(70,70,70,.35) calc(8.333% - 1px),rgba(70,70,70,.35) 8.333%),linear-gradient(90deg,#c9aa7d,#e5c99b)}
.pfc-fretboard-preview span{position:absolute;left:47%;top:44%;width:16px;height:16px;border-radius:50%;background:#202523;border:3px solid #fff}
.pfc-fretboard-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:1000000!important;background:rgba(20,24,22,.72);padding:12px;box-sizing:border-box;place-items:center}
.pfc-fretboard-modal[hidden]{display:none!important}.pfc-fretboard-modal:not([hidden]){display:grid!important}
.pfc-fretboard-shell{width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;border-radius:20px}
.pfc-fretboard-head{display:grid;grid-template-columns:1fr auto 44px;gap:16px;align-items:center;padding:15px 20px;background:#d8dddb;border-bottom:1px solid #c7cfcc}.pfc-fretboard-head h2{margin:0;font-size:22px}.pfc-fretboard-head small{color:#65706c}.pfc-fretboard-stats{display:flex;gap:8px}.pfc-fretboard-stats span{background:#fff;border:1px solid #c5cecb;border-radius:999px;padding:7px 10px;font-size:12px}.pfc-fretboard-close{width:40px;height:40px;border:0;border-radius:10px;background:#fff;font-size:26px}
.pfc-fretboard-game{padding:24px}.pfc-fretboard-scroll{overflow-x:auto;padding:4px}.pfc-fretboard-board{position:relative;min-width:760px;height:245px;margin-left:32px;background:linear-gradient(90deg,#c7a677,#e4c794);border:1px solid #927a58}.pfc-fretboard-board:before{content:"1  E\A 2  B\A 3  G\A 4  D\A 5  A\A 6  E";white-space:pre;position:absolute;right:calc(100% + 12px);top:0;font:700 14px/3.02 sans-serif;color:#555}.pfc-fretboard-nut{position:absolute;left:4%;top:0;bottom:0;width:5px;background:#f3eee2;z-index:3}.pfc-fret-line{position:absolute;top:0;bottom:0;width:2px;background:rgba(75,75,75,.45)}.pfc-string{position:absolute;left:0;right:0;background:#4b4b4b;z-index:2}.pfc-string[data-string="0"]{top:8.5%;height:3px}.pfc-string[data-string="1"]{top:25.1%;height:2.6px}.pfc-string[data-string="2"]{top:41.7%;height:2.2px}.pfc-string[data-string="3"]{top:58.3%;height:1.8px}.pfc-string[data-string="4"]{top:74.9%;height:1.4px}.pfc-string[data-string="5"]{top:91.5%;height:1px}.pfc-note-dot{position:absolute;width:22px;height:22px;border-radius:50%;background:#202523;border:4px solid #fff;box-shadow:0 2px 7px rgba(0,0,0,.35);transform:translate(-50%,-50%);z-index:5;transition:left .12s,top .12s}.pfc-fret-numbers{min-width:760px;margin:7px 0 0 32px;display:grid;grid-template-columns:repeat(13,1fr);text-align:center;font-size:11px;color:#66706d}.pfc-fretboard-feedback{text-align:center;min-height:26px;margin:16px 0 12px;font-weight:700}.pfc-note-buttons{display:grid;grid-template-columns:repeat(12,1fr);gap:6px}.pfc-note-buttons button{min-height:48px;border:1px solid #cbd3d0;background:#fff;border-radius:10px;font-weight:800;font-size:15px}.pfc-note-buttons button:disabled{opacity:.5}
@media(max-width:760px){.pfc-fretboard-head{grid-template-columns:1fr 40px}.pfc-fretboard-stats{grid-column:1/-1;grid-row:2;flex-wrap:wrap}.pfc-fretboard-close{grid-column:2;grid-row:1}.pfc-fretboard-game{padding:12px}.pfc-note-buttons{grid-template-columns:repeat(6,1fr)}}

/* v1.4.1 — fret position markers + string 1 on top / string 6 on bottom */
.pfc-fret-marker{
  position:absolute;
  z-index:1;
  width:16px;
  height:16px;
  border-radius:50%;
  background:rgba(255,255,255,.42);
  border:1px solid rgba(255,255,255,.32);
  transform:translate(-50%,-50%);
  pointer-events:none;
}
.pfc-fret-marker[data-marker="3"]{left:24%;top:50%}
.pfc-fret-marker[data-marker="5"]{left:40%;top:50%}
.pfc-fret-marker[data-marker="7"]{left:56%;top:50%}
.pfc-fret-marker[data-marker="9"]{left:72%;top:50%}
.pfc-fret-marker-double-a{left:96%;top:34%}
.pfc-fret-marker-double-b{left:96%;top:66%}

/* Match the same markers in the small Classroom card preview */
.pfc-fretboard-preview:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20.8% 50%,rgba(255,255,255,.42) 0 6px,transparent 7px),
    radial-gradient(circle at 37.5% 50%,rgba(255,255,255,.42) 0 6px,transparent 7px),
    radial-gradient(circle at 54.2% 50%,rgba(255,255,255,.42) 0 6px,transparent 7px),
    radial-gradient(circle at 70.8% 50%,rgba(255,255,255,.42) 0 6px,transparent 7px),
    radial-gradient(circle at 95.7% 34%,rgba(255,255,255,.42) 0 6px,transparent 7px),
    radial-gradient(circle at 95.7% 66%,rgba(255,255,255,.42) 0 6px,transparent 7px);
  pointer-events:none;
}

/* v1.4.2 — Mobile fretboard: show all frets 0–12 with proportional scaling, no horizontal scroll */
@media(max-width:760px){
  .pfc-fretboard-shell{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    max-height:calc(100dvh - 16px)!important;
    border-radius:16px!important;
  }
  .pfc-fretboard-head{
    padding:12px 14px!important;
    gap:8px!important;
  }
  .pfc-fretboard-head h2{font-size:20px!important}
  .pfc-fretboard-head small{font-size:13px!important}
  .pfc-fretboard-stats{gap:6px!important}
  .pfc-fretboard-stats span{padding:6px 9px!important;font-size:11px!important}
  .pfc-fretboard-game{
    padding:12px 10px 14px!important;
    overflow:hidden!important;
  }
  .pfc-fretboard-scroll{
    overflow:visible!important;
    width:100%!important;
    padding:0!important;
  }

  /* Keep the board's natural fret/string proportions while fitting it to the phone width. */
  .pfc-fretboard-board{
    min-width:0!important;
    width:calc(100% - 34px)!important;
    height:auto!important;
    aspect-ratio:2.75 / 1!important;
    margin:0 0 0 34px!important;
    box-sizing:border-box!important;
  }
  .pfc-fretboard-board:before{
    right:calc(100% + 7px)!important;
    top:1%!important;
    height:98%!important;
    font-size:11px!important;
    line-height:2.62!important;
  }
  .pfc-fret-numbers{
    min-width:0!important;
    width:calc(100% - 34px)!important;
    margin:5px 0 0 34px!important;
    font-size:9px!important;
  }
  .pfc-note-dot{
    width:17px!important;
    height:17px!important;
    border-width:3px!important;
  }
  .pfc-fret-marker{
    width:11px!important;
    height:11px!important;
  }
  .pfc-fretboard-feedback{
    margin:13px 0 9px!important;
    min-height:22px!important;
    font-size:14px!important;
  }
  .pfc-note-buttons{
    width:100%!important;
    min-width:0!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .pfc-note-buttons button{
    min-width:0!important;
    min-height:44px!important;
    padding:5px 2px!important;
    font-size:14px!important;
  }
}

/* Landscape phones: still fit all 12 frets, but use a wider/shorter proportional board. */
@media(max-width:950px) and (orientation:landscape){
  .pfc-fretboard-shell{
    width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 12px)!important;
  }
  .pfc-fretboard-head{
    grid-template-columns:1fr auto 40px!important;
    padding:8px 12px!important;
  }
  .pfc-fretboard-head h2{font-size:18px!important}
  .pfc-fretboard-stats{
    grid-column:auto!important;
    grid-row:auto!important;
    flex-wrap:nowrap!important;
  }
  .pfc-fretboard-game{padding:8px 12px 10px!important}
  .pfc-fretboard-board{
    width:calc(100% - 32px)!important;
    margin-left:32px!important;
    aspect-ratio:4.6 / 1!important;
  }
  .pfc-fretboard-board:before{
    font-size:10px!important;
    line-height:1.72!important;
  }
  .pfc-fret-numbers{
    width:calc(100% - 32px)!important;
    margin-left:32px!important;
    margin-top:3px!important;
  }
  .pfc-fretboard-feedback{margin:6px 0!important;font-size:13px!important}
  .pfc-note-buttons{
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    gap:5px!important;
  }
  .pfc-note-buttons button{
    min-height:38px!important;
    font-size:12px!important;
  }
}

/* v1.4.4 — fix fretboard string labels; real CSS, exact line coordinates */
.pfc-fretboard-board:before{
  content:none!important;
  display:none!important;
}

.pfc-string-labels{
  position:absolute!important;
  inset:0!important;
  z-index:7!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.pfc-string-labels span{
  position:absolute!important;
  left:auto!important;
  right:calc(100% + 12px)!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  white-space:nowrap!important;
  font:700 14px/1 sans-serif!important;
  color:#555!important;
  text-align:right!important;
}
.pfc-string-labels [data-string-label="0"]{top:8.5%!important}
.pfc-string-labels [data-string-label="1"]{top:25.1%!important}
.pfc-string-labels [data-string-label="2"]{top:41.7%!important}
.pfc-string-labels [data-string-label="3"]{top:58.3%!important}
.pfc-string-labels [data-string-label="4"]{top:74.9%!important}
.pfc-string-labels [data-string-label="5"]{top:91.5%!important}

@media(max-width:760px){
  .pfc-string-labels span{
    right:calc(100% + 7px)!important;
    font-size:11px!important;
  }
}
@media(max-width:950px) and (orientation:landscape){
  .pfc-string-labels span{
    right:calc(100% + 7px)!important;
    font-size:10px!important;
  }
}

/* v1.4.5 — Fretboard card reuses Basic Music Quiz play-policy and Start Quiz button styles. */

/* v1.4.8 — use the exact Community page-shell top-spacing rules.
   No estimated negative margin. */
body.pf-classroom-page-bg main,
body.pf-classroom-page-bg .entry-content,
body.pf-classroom-page-bg .wp-block-post-content{
  margin-block-start:0!important;
  padding-block-start:0!important;
}
body.pf-classroom-page-bg .wp-block-post-content > :first-child{
  margin-block-start:0!important;
}

/* Same ancestor-chain reset used by PickFingerstyle Community v2.7.1. */
body.pf-classroom-page-bg main > :has(.pfc-wrap),
body.pf-classroom-page-bg main :where(.is-layout-flow,.is-layout-constrained) > :has(.pfc-wrap),
body.pf-classroom-page-bg .entry-content > :has(.pfc-wrap),
body.pf-classroom-page-bg .wp-block-post-content > :has(.pfc-wrap){
  margin-block-start:0!important;
  padding-block-start:0!important;
}

/* Community itself uses margin:0 auto; keep Classroom horizontal breakout,
   but top margin is exactly zero rather than a guessed offset. */
body.pf-classroom-page-bg .pfc-wrap{
  margin-top:0!important;
}

/* v1.4.9 — Classroom total score uses Buy Credits wallet presentation */
.pfc-hero .pfc-score{
  min-width:160px!important;
  width:auto!important;
  text-align:left!important;
  padding:10px 13px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
}
.pfc-hero .pfc-score small{
  display:block!important;
  margin:0!important;
  font-size:9px!important;
  line-height:1.2!important;
  font-weight:400!important;
  letter-spacing:0!important;
  color:rgba(255,255,255,.58)!important;
}
.pfc-hero .pfc-score strong{
  display:block!important;
  margin-top:2px!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#fff!important;
}
.pfc-hero .pfc-score strong span{
  display:inline!important;
  font-size:inherit!important;
  color:inherit!important;
  opacity:1!important;
}
@media(max-width:800px){
  .pfc-hero .pfc-score{
    width:100%!important;
    min-width:0!important;
  }
}

/* v1.5.0 — free-play notification dots */
.pfc-free-status-row{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.pfc-quiz-free-dot{
  display:inline-block;
  flex:0 0 auto;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#e53935;
  box-shadow:0 0 0 2px rgba(229,57,53,.10);
}
.pfc-quiz-free-dot[hidden]{display:none!important}

/* v1.7.0 — Classroom Lesson hub: Rhythm / Solo / Fingerstyle */
.pfc-lesson-hub{margin-top:34px}.pfc-lesson-hub-head{margin-bottom:14px}.pfc-section-kicker{display:block;margin-bottom:4px;font-size:10px;font-weight:900;letter-spacing:.16em;color:#6f7b76}.pfc-lesson-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pfc-lesson-category{position:relative;min-height:190px;display:flex;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink)!important;text-decoration:none!important;box-shadow:0 8px 24px rgba(33,63,51,.035);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.pfc-lesson-category-no{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f1f5f3;color:#6d7974;font-size:11px;font-weight:900}.pfc-lesson-category-copy{margin-top:auto}.pfc-lesson-category-copy>span{font-size:9px;font-weight:900;letter-spacing:.13em;color:#89938f}.pfc-lesson-category-copy h3{margin:4px 0 4px;font-size:27px;line-height:1.05}.pfc-lesson-category-copy p{margin:0;padding-right:34px;color:var(--muted);font-size:12px;line-height:1.45}.pfc-lesson-category-arrow{position:absolute;right:18px;bottom:18px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#171918;color:#fff;font-size:18px}.pfc-lesson-category-active:hover{transform:translateY(-2px);border-color:#b9c9c2;box-shadow:0 12px 28px rgba(33,63,51,.08)}.pfc-lesson-category-disabled{opacity:.58}.pfc-lesson-category-state{position:absolute;right:16px;top:16px;padding:5px 9px;border-radius:999px;background:#f2f4f3;color:#7b8581;font-size:10px;font-weight:800}.pfc-legacy-courses[hidden]{display:none!important}@media(max-width:800px){.pfc-lesson-category-grid{grid-template-columns:1fr}.pfc-lesson-category{min-height:150px}}

/* v1.7.1 Lesson video thumbnails */
.pfc-lesson-category{overflow:hidden;padding-top:132px;min-height:290px}.pfc-lesson-thumb{position:absolute;left:0;right:0;top:0;height:118px;background:#d8dfdc;overflow:hidden}.pfc-lesson-thumb video,.pfc-lesson-thumb img{display:block;width:100%;height:100%;object-fit:cover}.pfc-lesson-thumb-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#74807b;background:linear-gradient(135deg,#edf2f0,#dce5e1)}.pfc-lesson-thumb-placeholder span{font-size:10px;font-weight:900;letter-spacing:.13em}.pfc-lesson-thumb-placeholder small{font-size:9px;opacity:.8}.pfc-lesson-category-state{top:130px}.pfc-lesson-category-no{position:relative;z-index:1}.pfc-lesson-category-disabled .pfc-lesson-thumb{filter:saturate(.75)}
@media(max-width:800px){.pfc-lesson-category{min-height:260px;padding-top:132px}.pfc-lesson-thumb{height:118px}}


/* v1.7.2 — Lesson / Quiz top tabs; Lesson is default */
.pfc-classroom-tabs{display:flex;gap:8px;margin:24px 0 18px;padding:5px;width:max-content;max-width:100%;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.58)}
.pfc-classroom-tab{appearance:none;border:0;border-radius:10px;background:transparent;color:#69746f;padding:10px 28px;font:inherit;font-size:12px;font-weight:900;letter-spacing:.08em;cursor:pointer;transition:.15s ease}
.pfc-classroom-tab:hover{background:#f3f6f5;color:var(--ink)}
.pfc-classroom-tab.is-active{background:#171918;color:#fff;box-shadow:0 3px 10px rgba(23,25,24,.14)}
.pfc-classroom-pane[hidden]{display:none!important}
.pfc-classroom-pane-lesson .pfc-lesson-hub{margin-top:0}
@media(max-width:600px){.pfc-classroom-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%}.pfc-classroom-tab{padding:10px 16px}}

/* v1.7.3 — Fingerstyle internal Exercise / 50 Levels flow */
.pfc-fs-view{margin-top:0}.pfc-fs-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;font-size:11px;font-weight:800;color:#7a8580}.pfc-fs-breadcrumb a{color:#53605a;text-decoration:none}.pfc-fs-breadcrumb b{color:var(--ink)}.pfc-fs-view-head{margin-bottom:18px}.pfc-fs-view-head>span,.pfc-fs-level-head>span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#78837e}.pfc-fs-view-head h2,.pfc-fs-level-head h2{margin:4px 0 5px;font-size:30px;line-height:1.1}.pfc-fs-view-head p,.pfc-fs-level-head p{margin:0;color:var(--muted)}.pfc-fs-exercise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pfc-fs-exercise-card{position:relative;display:flex;align-items:center;gap:15px;min-height:130px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink)!important;text-decoration:none!important}.pfc-fs-exercise-card>span{margin-left:auto;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#171918;color:#fff}.pfc-fs-exercise-no{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#edf2f0;font-weight:900}.pfc-fs-exercise-card small{font-size:9px;font-weight:900;letter-spacing:.12em;color:#87918d}.pfc-fs-exercise-card h3{margin:3px 0;font-size:20px}.pfc-fs-exercise-card p{margin:0;color:var(--muted);font-size:12px}.pfc-fs-exercise-card.is-coming{opacity:.55}.pfc-fs-exercise-card em{position:absolute;right:14px;top:14px;font-style:normal;font-size:9px;font-weight:900;color:#7c8782}.pfc-fs-level-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.pfc-fs-level-tile{display:flex;min-height:112px;flex-direction:column;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink)!important;text-decoration:none!important;transition:.15s ease}.pfc-fs-level-tile:hover{transform:translateY(-2px);border-color:#b9c9c2}.pfc-fs-level-tile small{font-size:8px;font-weight:900;letter-spacing:.14em;color:#8a948f}.pfc-fs-level-tile strong{font-size:27px;margin-top:3px}.pfc-fs-level-tile span{margin-top:auto;font-size:10px;color:#707b76}.pfc-fs-level-card{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}.pfc-fs-video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:340px;margin:20px 0;border-radius:16px;background:linear-gradient(135deg,#edf2f0,#dce5e1);color:#68746f}.pfc-fs-video-placeholder span{font-size:12px;font-weight:900;letter-spacing:.14em}.pfc-fs-video-placeholder small{margin-top:5px}.pfc-fs-instruction{padding:4px 2px 18px}.pfc-fs-instruction h3{margin:0 0 6px}.pfc-fs-instruction p{margin:0;color:var(--muted);line-height:1.65}.pfc-fs-level-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.pfc-fs-level-nav>a{color:var(--ink);font-size:11px;font-weight:800;text-decoration:none}.pfc-fs-level-nav>a:last-child{text-align:right}.pfc-fs-all-levels{padding:8px 12px;border-radius:9px;background:#171918;color:#fff!important}@media(max-width:800px){.pfc-fs-exercise-grid{grid-template-columns:1fr}.pfc-fs-level-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pfc-fs-video-placeholder{min-height:210px}}@media(max-width:480px){.pfc-fs-level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.7.4 Fingerstyle YouTube lesson */
.pfc-fs-youtube{position:relative;width:100%;aspect-ratio:16/9;background:#111;border-radius:16px;overflow:hidden;margin:18px 0}
.pfc-fs-youtube iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pfc-fs-level-tile.is-disabled{opacity:.55}

/* v1.7.5 — final Level structure: Video + details / full-width Tab Player */
.pfc-fs-level-card{padding:22px}.pfc-fs-section{margin-top:22px}.pfc-fs-section-title{display:flex;align-items:center;gap:9px;margin-bottom:10px}.pfc-fs-section-title>span{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#171918;color:#fff;font-size:9px;font-weight:900}.pfc-fs-section-title h3{margin:0;font-size:13px;letter-spacing:.08em}.pfc-fs-video-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:22px;align-items:start}.pfc-fs-video-col{min-width:0}.pfc-fs-youtube{margin:0;border-radius:14px}.pfc-fs-video-placeholder{margin:0;min-height:0;aspect-ratio:16/9;border-radius:14px}.pfc-fs-instruction{padding:4px 2px}.pfc-fs-instruction h3{margin:0 0 9px;font-size:18px}.pfc-fs-instruction p{margin:0 0 10px;color:var(--muted);line-height:1.7}.pfc-fs-tab-shell{width:100%;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.pfc-fs-tab-toolbar{display:flex;justify-content:space-between;gap:8px;padding:9px 10px;border-bottom:1px solid var(--line);background:#f7f9f8}.pfc-fs-tab-toolbar button{appearance:none;border:1px solid #d8dfdc;border-radius:9px;background:#fff;padding:8px 12px;font-size:11px;font-weight:800;cursor:pointer}.pfc-fs-tab-toolbar button:hover{background:#eef3f1}.pfc-fs-alphatab{width:100%;min-height:360px;overflow:auto}.pfc-fs-tab-shell:fullscreen{background:#fff;border:0;border-radius:0;display:flex;flex-direction:column;width:100vw;height:100vh}.pfc-fs-tab-shell:fullscreen .pfc-fs-alphatab{flex:1;min-height:0;overflow:auto}.pfc-fs-tab-placeholder{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #cbd5d1;border-radius:16px;background:#f7f9f8;color:#6f7a75}.pfc-fs-tab-placeholder strong{font-size:12px;letter-spacing:.1em}.pfc-fs-tab-placeholder span{margin-top:5px;font-size:11px}.pfc-fs-level-nav{margin-top:22px}
@media(max-width:800px){.pfc-fs-video-layout{grid-template-columns:1fr;gap:14px}.pfc-fs-instruction{padding:0 2px}.pfc-fs-alphatab{min-height:300px}}

/* v1.7.7 lesson detail refinements */
.pfc-fs-instruction h3{font-size:15px}
.pfc-fs-instruction,.pfc-fs-instruction p{font-size:12px;line-height:1.6}
.pfc-fs-exercise-card-cover{padding-top:150px;overflow:hidden}
.pfc-fs-exercise-cover{position:absolute;left:0;right:0;top:0;height:132px;overflow:hidden;background:#e6ece9;pointer-events:none}
.pfc-fs-exercise-cover iframe,.pfc-fs-exercise-cover>video,.pfc-fs-exercise-cover>img,.pfc-fs-exercise-cover .pfc-lesson-thumb video,.pfc-fs-exercise-cover .pfc-lesson-thumb img{width:100%;height:100%;border:0;object-fit:cover;display:block}
.pfc-fs-exercise-cover .pfc-lesson-thumb{position:absolute!important;inset:0!important;height:100%!important}
@media(max-width:800px){.pfc-fs-exercise-card-cover{padding-top:145px}.pfc-fs-exercise-cover{height:128px}}


/* v1.7.8 — each Level owns its own video/image cover */
.pfc-fs-level-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pfc-fs-level-tile-media{padding:0;min-height:0;overflow:hidden}
.pfc-fs-level-cover{position:relative;width:100%;aspect-ratio:16/9;background:#e5ebe8;overflow:hidden;pointer-events:none}
.pfc-fs-level-cover iframe,.pfc-fs-level-cover img{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;display:block}
.pfc-fs-level-cover-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#edf2f0,#dce5e1);color:#76817c}
.pfc-fs-level-cover-empty span{font-size:8px;font-weight:900;letter-spacing:.14em}.pfc-fs-level-cover-empty b{font-size:26px}
.pfc-fs-level-copy{display:flex;flex-direction:column;gap:4px;padding:11px 12px 13px}
.pfc-fs-level-copy small{font-size:8px;font-weight:900;letter-spacing:.12em;color:#87918d}.pfc-fs-level-copy strong{font-size:13px;line-height:1.3}
/* cancel the misplaced Exercise cover styling from v1.7.7 */
.pfc-fs-exercise-card-cover{padding-top:18px}.pfc-fs-exercise-cover{display:none}
@media(max-width:800px){.pfc-fs-level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.pfc-fs-level-grid{grid-template-columns:1fr}}


/* v1.7.11 — stable 3-column gallery + locked lesson overlay. Do not touch central Player DOM. */
.pfc-fs-level-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.pfc-fs-level-tile.is-disabled{opacity:1!important}
.pfc-fs-level-tile.is-disabled .pfc-fs-level-cover iframe,
.pfc-fs-level-tile.is-disabled .pfc-fs-level-cover img{filter:brightness(.22) saturate(.55)!important}
.pfc-fs-level-tile.is-disabled .pfc-fs-level-cover-empty{filter:brightness(.45)!important}
.pfc-fs-level-lock{position:absolute!important;inset:0!important;z-index:999!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:12px!important;text-align:center!important;color:#fff!important;background:rgba(0,0,0,.48)!important;pointer-events:none!important;visibility:visible!important;opacity:1!important}
.pfc-fs-level-lock strong{display:block!important;color:#fff!important;font-size:14px!important;line-height:1.25!important;font-weight:800!important;margin:0 0 7px!important}
.pfc-fs-level-lock span{display:block!important;color:#fff!important;font-size:12px!important;line-height:1.55!important;font-weight:600!important}
.pfc-fs-level-copy strong{font-weight:800!important}
@media(max-width:800px){.pfc-fs-level-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.pfc-fs-level-grid{grid-template-columns:1fr!important}}

/* v1.7.13 level gallery metadata + softer locked overlay */
.pfc-fs-level-lock{background:rgba(0,0,0,.32)!important}
.pfc-fs-level-lock strong{font-size:16px!important;margin-bottom:9px!important}
.pfc-fs-level-lock span{font-size:12px!important;font-weight:700!important}
.pfc-fs-level-lock span.is-done{color:#62d98b!important}
.pfc-fs-level-meta{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:8px!important}
.pfc-fs-level-meta>strong{font-weight:900!important;text-align:left}
.pfc-fs-level-meta>.pfc-fs-complete{font-size:12px!important;font-weight:900!important;color:#2fa866!important;text-align:center;min-width:62px}
.pfc-fs-level-meta>b{font-size:12px!important;font-weight:800!important;text-align:right;white-space:nowrap}

/* v1.7.14 — compact aligned unlock steps */
.pfc-fs-unlock-steps{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;text-align:left!important;margin:0 auto!important;width:max-content!important;max-width:94%!important}
.pfc-fs-unlock-steps span{margin:0!important;line-height:1.35!important;white-space:nowrap!important}
.pfc-fs-unlock-steps span.is-done{color:#62d98b!important}
